Plug-in verification method, electronic equipment and computer storage medium

A verification method and technology of electronic equipment, applied in the computer field, can solve problems such as errors, affecting the normal operation of plug-ins and applications, and achieve the effects of saving testing work and improving development and optimization efficiency

Inactive Publication Date: 2018-06-22
ZHANGYUE TECH CO LTD
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of realizing the present invention, the inventor found that the prior art has the following defects: In order to meet the needs of users, it is necessary to continuously expand the functions of the host application program and the plug-in
During the development or optimization of the host application, editing operations such as adding, modifying, or deleting the content of the original host application may be performed. After the content of the original host application changes, it may cause plug-ins that depend on the original host application An error occurred when calling the required content to the original host program, affecting the normal operation of the plug-in and the application

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
  • Plug-in verification method, electronic equipment and computer storage medium
  • Plug-in verification method, electronic equipment and computer storage medium
  • Plug-in verification method, electronic equipment and computer storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0016] figure 1 It shows a flowchart of the plug-in verification method provided in the first embodiment of the present invention, which is used to detect the feasibility of the plug-in when the host application is updated. Such as figure 1 As shown, the method includes the following steps:

[0017] Step S101: Obtain a new library file generated according to the current host application, and obtain an old library file on which the plug-in to be verified is generated.

[0018] In the present invention, the host project corresponding to the host application refers to the main project that can control each functional module in the system platform or application software or call the functional module corresponding to the plug-in, and has the function of controlling and managing other programs (such as plug-ins). A plug-in refers to a plug-in project developed to achieve functions that the original pure system platform or application software platform does not have. Because the plug-in ...

Embodiment 2

[0030] figure 2 The flowchart of the plug-in verification method provided in the second embodiment of the present invention is shown. This embodiment is applied to the detection of plug-in feasibility when the host application is updated, such as figure 2 As shown, the method includes:

[0031] Step S201, if it is detected that the library file of the host application has changed, a plug-in verification event is generated.

[0032] In the present invention, since the plug-in is developed from the host project of the host application, the plug-in has a fixed dependency with a specific version of the host project. Correspondingly, the plug-in can only be loaded by the host project that matches it. To be able to operate normally. Therefore, when a change in the library file of the host application is detected, the feasibility of the plug-in needs to be checked. The plug-in at this time is the plug-in to be verified, and a plug-in verification event is generated. In addition, when ...

Embodiment 3

[0050] The third embodiment of the present invention also provides a non-volatile computer storage medium, the computer storage medium stores at least one executable instruction, and the computer executable instruction can execute the plug-in verification method in any of the foregoing method embodiments.

[0051] The executable instructions may be specifically used to cause the processor to perform the following operations:

[0052] Obtain the new library file generated based on the current host application, and obtain the old library file that the plug-in to be verified depends on when it is generated;

[0053] Determine whether the new library file contains the content of the old library file, and obtain a determination result;

[0054] The plug-in verification result is generated according to the determination result.

[0055] In an optional manner, the executable instruction further causes the processor to perform the following operations:

[0056] If a change in the library file of...

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 plug-in verification method, electronic equipment and a computer storage medium. The method comprises the steps that a new program library file generated according to a current host application program is acquired, and an old program library file which a to-be-verified plug-in depends on in generation is acquired; whether the new program library file contains content of the old program library file is determined, and a determination result is obtained; and a plug-in verification result is generated according to the determination result. Obviously, through the scheme,the realizability of the plug-in can be detected when the host application program which the plug-in depends on changes, test work of the plug-in by a tester in a later period is saved to a great extent, a developer can realize detection and modification of the matching relation between the plug-in and the host application program in the development process, and development and optimization efficiency of application software is improved.

Description

Technical field [0001] The invention relates to the field of computer technology, in particular to a plug-in verification method, electronic equipment and computer storage media. Background technique [0002] With the development of the Internet, various Internet applications are emerging one after another. As the needs of users increase, applications often need to provide new functions that meet the needs of users. In the application development process, the functions of the application can be extended through plug-in technology. A plug-in is a program written in accordance with a certain standard application program interface. Through the interaction with the application program, it replaces the application program to increase some specific functions needed. [0003] In the process of implementing the present invention, the inventor found that the prior art has the following defects: In order to meet user needs, the functions of host applications and plug-ins need to be continu...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/366G06F11/3664
Inventor 王肖曹新雨龚振
Owner ZHANGYUE 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