Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for detecting compatibility of plug-in and host, and detection server

A detection method and server technology, applied in the field of information processing, can solve problems such as inability to identify, abnormal loading, and incompatibility, and achieve the effect of avoiding bloat and abnormal loading.

Active Publication Date: 2014-08-27
TENCENT TECH (SHENZHEN) CO LTD
View PDF3 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

One of the reasons for this appearance is that after the host program is updated, in order to maintain compatibility with the plug-ins of the old version of the host, the plug-ins are usually not deleted; however, in the actual application process, some plug-ins of the old version of the host are compatible with the new The host is incompatible, but since it is impossible to identify which plug-ins of the old version host are compatible with the new version host, which ones are incompatible, there is no way to delete the incompatible plug-ins
In addition, if a plug-in incompatible with the host is loaded during the loading of the host and the plug-in, it will cause loading exceptions, such as system crashes, etc.

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 for detecting compatibility of plug-in and host, and detection server
  • Method for detecting compatibility of plug-in and host, and detection server
  • Method for detecting compatibility of plug-in and host, and detection server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0087] Such as figure 1 As described above, this embodiment provides a method for detecting compatibility between a plug-in and a host, the method comprising:

[0088] Step S110: Obtain the first analysis result of the plug-in, and obtain at least one first call interface that the plug-in needs to use when called by the host according to the first analysis result;

[0089] Step S120: Obtain a second analysis result of the host, and obtain a second call interface used by the host to call the plug-in according to the second analysis result;

[0090] Step S130: judging whether each of the first call interfaces is included in the second call interface according to the first analysis result and the second analysis result, and forming a judgment result;

[0091] Step S140: Determine whether the plug-in is compatible with the host according to the judgment result.

[0092] Obtaining the first call interface in step S110 may be determined by analyzing the source code of the plug-in;...

Embodiment 2

[0104] Such as figure 1 As described above, this embodiment provides a method for detecting compatibility between a plug-in and a host, the method comprising:

[0105] Step S110: Obtain the first analysis result of the plug-in, and obtain at least one first calling interface that the plug-in needs to use when called by the host according to the first analysis result;

[0106] Step S120: Obtain a second analysis result of the host, and obtain a second call interface used by the host to call the plug-in according to the second analysis result;

[0107] Step S130: judging whether each of the first call interfaces is included in the second call interface according to the first analysis result and the second analysis result, and forming a judgment result;

[0108] Step S140: Determine whether the plug-in is compatible with the host according to the judgment result.

[0109] Obtaining the first call interface in step S110 may be determined by analyzing the source code of the plug-...

Embodiment 3

[0131] Such as figure 1 As described above, this embodiment provides a method for detecting compatibility between a plug-in and a host, the method comprising:

[0132] Step S110: Obtain the first analysis result of the plug-in, and obtain at least one first call interface that the plug-in needs to use when called by the host according to the first analysis result;

[0133] Step S120: Obtain a second analysis result of the host, and obtain a second call interface used by the host to call the plug-in according to the second analysis result;

[0134] Step S130: judging whether each of the first call interfaces is included in the second call interface according to the first analysis result and the second analysis result, and forming a judgment result;

[0135] Step S140: Determine whether the plug-in is compatible with the host according to the judgment result.

[0136] Obtaining the first call interface in step S110 may be determined by analyzing the source code of the plug-in;...

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 for detecting the compatibility of a plug-in and a host, and a detection server. The method includes the steps of firstly, obtaining a first analysis result of the plug-in, and obtaining at least one first calling interface which needs to be used when the plug-in is called by the host according to the first analysis result; secondly, obtaining a second analysis result of the host, and obtaining second calling interfaces which are used by the host for calling the plug-in according to the second analysis result; thirdly, judging whether each first calling interface is included in the second calling interfaces or not according to the first analysis result and the second analysis result to obtain the judgment result; fourthly, determining whether the plug-in is compatible with the host or not according to the judgment result.

Description

technical field [0001] The invention relates to a compatibility technology in the field of information processing, in particular to a detection method and a detection server for compatibility between a plug-in and a host. Background technique [0002] Host: It can also be called host environment or host code, which can call plug-ins to perform specified functions. The host may be a computer executable code such as a system or an application program. [0003] Plug-in: It is a program written according to a certain standard calling interface. Through the plug-in technology, after the host is released, the purpose of modifying the host can be achieved by updating the plug-in without releasing a new version of the entire application. [0004] If the plug-in can be called by the host, it is considered that the plug-in is compatible with the host, otherwise it is not compatible. Since both the plug-in and the host can be released independently, when a new version of the host pr...

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
Inventor 詹勋昌罗锦坚
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products