Method and device for packaging plug-in files, computing device and readable storage medium

A file package and file technology, which is applied in computing, program control devices, computer security devices, etc., can solve the problems of adding different machine environment adaptations, calling plug-in failures, and incomplete uploading of plug-ins, so as to solve multi-plug-in file dependencies, stress-reducing effect

Active Publication Date: 2022-03-18
UNIONTECH SOFTWARE TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the plug-in service cannot cope with multiple plug-in dependencies. For example, if the main plug-in depends on the system sub-plugin, it may fail to call and upload the sub-plugin, resulting in incomplete upload of the plug-in, and the browser will fail when calling the plug-in. , causing plugin initialization to fail
If you do plug-in dependency analysis, for example, users record the dependencies of each plug-in, parse the plug-in file and upload the relevant dependencies when uploading the plug-in file, it will increase the complexity of the plug-in warehouse, and the plug-in warehouse cannot be used simply for version control of the plug-in file. Additional adaptations to different machine environments will be added (and cannot be estimated, because the development environments of different developers will be different)

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for packaging plug-in files, computing device and readable storage medium
  • Method and device for packaging plug-in files, computing device and readable storage medium
  • Method and device for packaging plug-in files, computing device and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0018] Aiming at the fact that the existing plug-in uploading and loading technology cannot solve the problem of multi-plug-in dependence, the present invention provides a method and device for packaging plug-in files, a computing device and a readable storage medium, so that the scenario of multi-plug-in dependence can be solved, and the The part of plug-in verification and certificate verification is handled in the packaging tool ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method and device for packaging plug-in files, a computing device and a readable storage medium. The method includes: reading a configuration file to verify whether the directory is a directory to be packaged; reading the main plug-in file, Verify the legality of the interface of the main plug-in file; judge whether the main plug-in file depends on the sub-plug-in files outside the directory through the environment isolation algorithm, extract all the sub-plug-in files outside the directory that the main plug-in file depends on and put them into the directory; verify the user Whether the incoming private key matches the public key in the certificate; pack the main plug-in file, sub-plug-in file, certificate and static resource file in the directory, and press them into a compressed package. According to the technical scheme of the invention, the problem of dependence on multiple plug-in files during development by multiple developers is solved; the plug-in compressed package is guaranteed to be unforgeable; and the pressure on the WEB server of the plug-in warehouse is reduced.

Description

technical field [0001] The invention relates to the field of computer plug-in services, in particular to a method and device for packing plug-in files, computing equipment and a readable storage medium. Background technique [0002] In actual plug-in development, the main plug-in developed by the developer not only depends on the sub-plug-ins developed by the developer, but also depends on a large number of third-party libraries (system plug-ins in the LIB library). Sub-plug-in files are divided into two categories, one is the sub-plug-in files developed by the user and placed in a non-LIB library or the same directory (the developer knows the location), and the other is the sub-plug-in files in the LIB library. Sub-plug-in files are generally sub-plug-in files developed by well-known manufacturers, or system sub-plug-in files. Usually the main plug-in files developed by developers depend on these two types of sub-plug-in files. [0003] At present, the plug-in service can...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F21/60G06F21/62G06F21/64G06F9/445
CPCG06F21/602G06F21/6218G06F21/64G06F9/44526G06F2221/2107
Inventor 陈弘唯
Owner UNIONTECH SOFTWARE TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products