CN106155709A - Plug-in loading method, device and equipment - Google Patents
Plug-in loading method, device and equipment Download PDFInfo
- Publication number
- CN106155709A CN106155709A CN201510134588.4A CN201510134588A CN106155709A CN 106155709 A CN106155709 A CN 106155709A CN 201510134588 A CN201510134588 A CN 201510134588A CN 106155709 A CN106155709 A CN 106155709A
- Authority
- CN
- China
- Prior art keywords
- plug
- version
- unit
- main program
- interface
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000011068 loading method Methods 0.000 title claims abstract description 34
- 230000006978 adaptation Effects 0.000 claims abstract description 130
- 238000000034 method Methods 0.000 claims abstract description 30
- 238000012795 verification Methods 0.000 claims description 30
- 230000008859 change Effects 0.000 claims description 15
- 101100217298 Mus musculus Aspm gene Proteins 0.000 claims 1
- 230000008901 benefit Effects 0.000 description 4
- 238000012937 correction Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 239000013589 supplement Substances 0.000 description 2
- 230000003044 adaptive effect Effects 0.000 description 1
- 230000002155 anti-virotic effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000005096 rolling process Methods 0.000 description 1
- 230000002269 spontaneous effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The invention provides a kind of plug-in loading method, device and equipment, the method includes: in multiple plug-in versions of described plug-in unit, determines that described interface can be with the plug-in version of described main program adaptation after changing;When receiving the instruction loading described plug-in unit in described main program, obtain the current version of this plug-in unit already present in described main program;Described current version is compared with the plug-in version that described main program is adapted to, obtains comparison result;Selectively load described plug-in unit according to described comparison result.The technical scheme that the present invention provides ensure that plug-in version and main program version are adapted to, such that it is able to avoid in prior art because interface changes the plug-in unit causing or main program is not adapted to and the problems such as collapse occur.
Description
Technical field
The present invention relates to computer processing technology field, particularly a kind of plug-in loading method, device and equipment.
Background technology
In software development, for convenience Function Extension is carried out to software, plug-in unit mode can be used to open
Send out, by function package one by one to be realized for software in plug-in unit, finally each plug-in unit is integrated in soft
Part main program bag is together issued.
Normal mutual in order to ensure between plug-in unit and main program, need plug-in unit to be adapted to main program, correlation technique
In, come real by writing the one-to-one relationship between dead main program version and plug-in version in main program code
Existing.For example, main program is upgraded to version 2 from version 1, and now plug-in unit is also upgraded to version 2 from version 1,
Correlation technique can write in main program code the one-to-one relationship of main program version 2 and plug-in version 2
Ensure between the two is normal mutual.If the interface now between plug-in unit and main program change (as delete,
Modification etc.), then there will be plug-in unit is not adapted to main program, thus causes the problem such as plug-in unit or main program collapse.
Content of the invention
In view of the above problems, it is proposed that the present invention is to provide one to overcome the problems referred to above or at least in part
Solve plug-in loading method, device and the equipment of the problems referred to above.
According to one aspect of the present invention, provide a kind of plug-in loading method, the master being applied in client
The situation that interface between program and plug-in unit changes, comprising: in multiple plug-in versions of described plug-in unit,
Determine that described interface can be with the plug-in version of described main program adaptation after changing;When receiving described
When main program loads the instruction of described plug-in unit, obtain the current version of this plug-in unit already present in described main program
This;Described current version is compared with the plug-in version that described main program is adapted to, obtains comparison result;
Selectively load described plug-in unit according to described comparison result.
Alternatively, in multiple plug-in versions of described plug-in unit, determine that described interface can be with after changing
The plug-in version of described main program adaptation, comprising: obtain the minimum interface version that described main program can be supported by
The minimum interface version that can use with each plug-in version of highest interface version and described plug-in unit and the highest
Interface version;In each plug-in version of described plug-in unit, minimum interface version that it can be used and the highest
Interface version is respectively positioned on the interval of the minimum interface version that described main program can be supported by and highest interface version
In the range of plug-in version, being defined as after described interface changes can be with the plug-in unit of described main program adaptation
Version.
Alternatively, described current version is compared with the plug-in version that described main program is adapted to, comprising:
Obtain the version identifier of described current version and the version identifier of the plug-in version of described main program adaptation;Root
According to the version identifier of the plug-in version that version identifier and the described main program of described current version are adapted to, comparison
The plug-in version that described current version is adapted to described main program.
Alternatively, the plug-in version that the version identifier according to described current version and described main program are adapted to
Version identifier, current version described in comparison and the plug-in version of described main program adaptation, obtain comparison result,
Including: if the version identifier of the plug-in version of described main program adaptation exists the version mark of described current version
Know, then described comparison result is to there is described current version in the plug-in version that described main program is adapted to;If institute
The version identifier of the plug-in version stating main program adaptation does not exists the version identifier of described current version, then institute
State in the plug-in version that comparison result is described main program adaptation and there is not described current version.
Alternatively, described plug-in unit is selectively loaded according to described comparison result, comprising: if described comparison result
There is described current version in the plug-in version for described main program adaptation, it is determined that described main program is deposited
This plug-in unit and described main program be adapted to, it is not necessary to reload this plug-in unit;If described comparison result is described
The plug-in version of main program adaptation does not exists described current version, then the plug-in unit version from described main program adaptation
Choose any plug-in version in Ben, and then download corresponding plug-in unit according to the described any plug-in version chosen,
And load after the download is complete.
Alternatively, corresponding plug-in unit is downloaded according to the described any plug-in version chosen, comprising: build in advance
Vertical plug-in version is with plug-in unit URL's (Uniform Resource Locator, URL)
In corresponding relation, any plug-in version corresponding plug-in unit URL of choosing described in lookup;According to described lookup
Plug-in unit URL downloads corresponding plug-in unit.
Alternatively, described after the download is complete, before loading, also include: to download plug-in unit carry out
Verification, if verification is passed through, then loads the plug-in unit of described download;And if verification do not pass through, then output verification
Failed information.
Alternatively, described version identifier includes at least one following:
MD5 (Message Digest Algorithm5, the message digest algorithm 5) value of version;
SHA1 (Secure Hash Algorithm1, the Secure Hash Algorithm 1) value of version.
Alternatively, in multiple plug-in versions of described plug-in unit, determine that described interface can be with after changing
The plug-in version of described main program adaptation, comprising: after described interface changes, send out to cloud server
Send plug-in unit to obtain request, wherein, described cloud server prestores and includes being adapted to many with described main program
The plug-in unit list of individual plug-in version;Receive described cloud server returns and institute according to described plug-in unit list
State the plug-in version of main program adaptation.
Alternatively, described cloud server return according to described plug-in unit list and described main program adaptation
Plug-in version also carry at least one following: URL address, plug-in unit name, each plug-in version institute of plug-in unit
The minimum interface version that can use and highest interface version.
According to another aspect of the present invention, additionally provide a kind of plug-in unit charger, be applied in client
Main program and plug-in unit between interface situation about changing, comprising:
Determining module, is suitable in multiple plug-in versions of described plug-in unit, after determining that described interface changes
Can be with the plug-in version of described main program adaptation;
Acquisition module, is suitable to when receiving the instruction loading described plug-in unit in described main program, obtains institute
State the current version of this plug-in unit already present in main program;
Comparing module, is suitable to compare described current version with the plug-in version that described main program is adapted to,
Obtain comparison result;
Load-on module, is suitable to selectively load described plug-in unit according to described comparison result.
Alternatively, described determining module is further adapted for: obtain the minimum interface version that described main program can be supported by
The minimum interface version that can use with each plug-in version of highest interface version and described plug-in unit and the highest
Interface version;In each plug-in version of described plug-in unit, minimum interface version that it can be used and the highest
Interface version is respectively positioned on the interval of the minimum interface version that described main program can be supported by and highest interface version
In the range of plug-in version, being defined as after described interface changes can be with the plug-in unit of described main program adaptation
Version.
Alternatively, described comparing module is further adapted for: obtain the version identifier of described current version and described master
The version identifier of the plug-in version of program adaptation;Version identifier according to described current version and described main journey
The version identifier of plug-in version of sequence adaptation, the plug-in unit version of current version described in comparison and described main program adaptation
This.
Alternatively, described comparing module is further adapted for: if the version identifier of the plug-in version of described main program adaptation
The middle version identifier that there is described current version, then described comparison result is the plug-in unit version of described main program adaptation
There is described current version in Ben;If there is not institute in the version identifier of the plug-in version of described main program adaptation
State the version identifier of current version, then described comparison result is not deposit in the plug-in version that described main program is adapted to
At described current version.
Alternatively, described load-on module is further adapted for: if the plug-in unit that described comparison result is described main program adaptation
Version exists described current version, it is determined that this plug-in unit already present and described main program in described main program
Adaptation, it is not necessary to reload this plug-in unit;If in the plug-in version that described comparison result is described main program adaptation
There is not described current version, then from the plug-in version of described main program adaptation, choose any plug-in version,
And then download corresponding plug-in unit according to the described any plug-in version chosen, and add after the download is complete
Carry.
Alternatively, described load-on module is further adapted for: fixed with plug-in unit unified resource in the plug-in version pre-building
In the corresponding relation of position symbol URL, any plug-in version corresponding plug-in unit URL choosing described in lookup;Root
Download corresponding plug-in unit according to the plug-in unit URL of described lookup.
Alternatively, described device also includes:
Correction verification module, is suitable to after the download is complete, before loading, verifies the plug-in unit downloaded,
If verification is passed through, then load the plug-in unit of described download;And if verification do not pass through, then output verification failure
Information.
Alternatively, described version identifier includes at least one following:
The message digest algorithm MD5 value of version;
The Secure Hash Algorithm SHA1 value of version.
Alternatively, described determining module is further adapted for: after described interface changes, send out to cloud server
Send plug-in unit to obtain request, wherein, described cloud server prestores and includes being adapted to many with described main program
The plug-in unit list of individual plug-in version;Receive described cloud server returns and institute according to described plug-in unit list
State the plug-in version of main program adaptation.
Alternatively, described cloud server return according to described plug-in unit list and described main program adaptation
Plug-in version also carry at least one following: URL address, plug-in unit name, each plug-in version institute of plug-in unit
The minimum interface version that can use and highest interface version.
According to an additional aspect of the present invention, additionally provide a kind of terminal, including the dress described in any one above
Put.
The technical scheme that the present invention provides can apply the interface between main program and plug-in unit to change
Situation, in embodiments of the present invention, can determine that described interface occurs in multiple plug-in versions of plug-in unit
Can be with the plug-in version of main program adaptation after change.Owing to the present invention can directly determine that described interface occurs
With the plug-in version of main program adaptation, thus after described interface changes, can still can after change
Ensure that plug-in version is adapted to main program version, such that it is able to avoid leading because interface changes in prior art
The plug-in unit or the main program that cause are not adapted to and the problems such as collapse occur.Further, in the embodiment of the present invention, when
Receive the instruction loading plug-in unit in main program, and obtain the current version of this plug-in unit already present in main program
This when, current version can be compared with the plug-in version that main program is adapted to, compared in prior art
Being merely able to use fixing plug-in version, the present invention can improve the comparison rate of plug-in version.Further, since
When there is current version in the plug-in version of main program adaptation, the plug-in unit of current version is adapted to main program,
During without reloading, and there is not current version in the plug-in version of main program adaptation, need further exist for
Download the plug-in version with main program adaptation, and load after the download is complete, thus, the present invention is inserting
The number of times of download can be reduced in the case that the comparison rate of part version is higher, improve the utilization rate of resource, and carry
High treatment efficiency.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technology of the present invention
Means, and can being practiced according to the content of specification, and in order to allow above and other objects of the present invention,
Feature and advantage can become apparent, below the detailed description of the invention especially exemplified by the present invention.
According to below in conjunction with the detailed description to the specific embodiment of the invention for the accompanying drawing, those skilled in the art will
More understand above-mentioned and other purposes, the advantages and features of the present invention.
Brief description
By reading the detailed description of hereafter preferred embodiment, various other advantage and benefit for ability
Territory those of ordinary skill will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred embodiment, and simultaneously
It is not considered as limitation of the present invention.And it in whole accompanying drawing, is denoted by the same reference numerals identical
Parts.In the accompanying drawings:
Fig. 1 shows the flow chart of plug-in loading method according to an embodiment of the invention;
Fig. 2 shows plug-in version control schematic diagram according to an embodiment of the invention;
Fig. 3 shows the flow chart of plug-in loading method in accordance with another embodiment of the present invention;
Fig. 4 shows the structural representation of plug-in unit charger according to an embodiment of the invention;And
Fig. 5 shows the structural representation of plug-in unit charger in accordance with another embodiment of the present invention.
Detailed description of the invention
It is more fully described the exemplary embodiment of the disclosure below with reference to accompanying drawings.Although accompanying drawing shows
The exemplary embodiment of the disclosure, it being understood, however, that may be realized in various forms the disclosure and should be by
Embodiments set forth here is limited.On the contrary, these embodiments are provided to be able to be best understood from this
Open, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
For solving above-mentioned technical problem, the invention provides a kind of plug-in loading method, be applied to main program with
The situation that interface between plug-in unit changes.Fig. 1 shows that plug-in unit adds according to an embodiment of the invention
The flow chart of support method.As it is shown in figure 1, the method at least comprises the following steps S102 to step S108.
Step S102, in multiple plug-in versions of plug-in unit, determine that interface can be with main program after changing
The plug-in version of adaptation.
Step S104, when receiving the instruction loading plug-in unit in main program, obtain in main program and exist
The current version of this plug-in unit.
Step S106, current version is compared with the plug-in version that main program is adapted to, obtain comparison result.
Step S108, selectively load plug-in unit according to comparison result.
The technical scheme that the present invention provides can apply the interface between main program and plug-in unit to change
Situation, in embodiments of the present invention, can determine that described interface occurs in multiple plug-in versions of plug-in unit
Can be with the plug-in version of main program adaptation after change.Owing to the present invention can directly determine that described interface occurs
With the plug-in version of main program adaptation, thus after described interface changes, can still can after change
Ensure that plug-in version is adapted to main program version, such that it is able to avoid leading because interface changes in prior art
The plug-in unit or the main program that cause are not adapted to and the problems such as collapse occur.Further, in the embodiment of the present invention, when
Receive the instruction loading plug-in unit in main program, and obtain the current version of this plug-in unit already present in main program
This when, current version can be compared with the plug-in version that main program is adapted to, compared in prior art
Being merely able to use fixing plug-in version, the present invention can improve the comparison rate of plug-in version.Further, since
When there is current version in the plug-in version of main program adaptation, the plug-in unit of current version is adapted to main program,
During without reloading, and there is not current version in the plug-in version of main program adaptation, need further exist for
Download the plug-in version with main program adaptation, and load after the download is complete, thus, the present invention is inserting
The number of times of download can be reduced in the case that the comparison rate of part version is higher, improve the utilization rate of resource, and carry
High treatment efficiency.
Main program mentioned above, i.e. host program, such as 360 mobile phone bodyguards, 360 antivirus etc..Plug-in unit is
Refer to applets, such as " antitheft " plug-in unit in 360 mobile phone bodyguards, " start is accelerated " plug-in unit, " calendar "
Plug-in unit, etc..
With regard to above-mentioned steps S102, the embodiment of the present invention can realize by way of plug-in version controls,
I.e. obtain each plug-in unit version of the minimum interface version that can be supported by of main program and highest interface version and plug-in unit
Minimum interface version that this institute can use and highest interface version, subsequently in each plug-in version of plug-in unit, will
What its minimum interface version that can use and highest interface version were respectively positioned on that main program can be supported by minimum connects
Plug-in version in the interval range of mouth version and highest interface version, is defined as between main program and plug-in unit
Interface can be with the plug-in version of main program adaptation after changing.Described herein is slotting with what main program was adapted to
Part version, refers to that the interface between this plug-in version and main program can be carried out normal mutual.
Describe plug-in version control program below in conjunction with Fig. 2 in detail.In Fig. 2, (1) represents the evolution of version,
Version increasingly newer (or high) from left to right;(2) the minimum interface version that main program can be supported by is represented, again
Claiming compatible version, this information can be write in main program code or be recorded by other forms;(3) main journey is represented
The highest interface version that sequence can be supported by, also known as HOST (main frame) version, this information also can write on master
In program code or recorded by other forms;(4) the minimum interface version that indication plug unit can use, this letter
Breath can be write in the configuration information of plug-in unit or be recorded by other forms;(5) indication plug unit can use
High interface version, this information also can be write in the configuration information of plug-in unit or be recorded by other forms.
As in figure 2 it is shown, the minimum interface version that can use when plug-in unit and highest interface version all fall within main journey
In minimum interface version that sequence can be supported by and the interval range of highest interface version, it is also possible to equal, permissible
Assert that this plug-in version is effective, i.e. this plug-in version and main program version is adapted to.Specifically, in Fig. 2,<1>
For effective plug-in version, the minimum interface version that this plug-in version can use is identical with highest interface version,
And all in the range of the minimum interface version that main program can be supported by and highest interface version are interval, this is usual
Plug-in unit seldom relates to the situation revising interface.<2>being effective plug-in version, this plug-in version can use
Minimum interface version is different with highest interface version, but the minimum interface version that all can be supported by main program and
In the range of highest interface version is interval, it is considered that be that the interface to plug-in unit is adjusted, but to current master
Program does not affect, and meets the condition of plug-in unit and main program adaptation.<3>it is invalid plug-in version, i.e. plug-in unit
Version is not adapted to main program version, supplements a kind of situation of<2>, the highest interface that plug-in unit can use
Version is adjusted, and current main program version is no longer compatible.It is said that in general, adjust what plug-in unit can use
Highest interface version, is the new interface in order to use main program to provide, and at this time, if still using old
Main program, then there will be plug-in unit and be not adapted to main program.<4>it is invalid plug-in version, namely plug-in unit version
This is not adapted to main program version, supplements the another kind of situation of<2>here, if it is main to need plug-in unit to use
The new interface that program provides, or need to delete some excessively old main program interfaces, then have only to adjust
The minimum interface version that main program can be supported by, it is possible to allow " rolling off the production line " that the plug-in unit of some early versions is spontaneous,
And update to redaction.
In conjunction with the description above with respect to plug-in version control program, can be come specifically by a specific embodiment
The scheme of bright above step S102.Table 1 below lists the relevant information of plug-in unit, such as plug-in unit name, plug-in unit version
Minimum interface version that basis, the version identifier of plug-in unit, plug-in unit can use and highest interface version and plug-in unit
URL etc..It should be noted that the relevant information of plug-in unit is only enumerated in table 1, plug-in unit related
Information can also include the information such as plug-in unit size, brief introduction, so follow-up can in conjunction with plug-in version, insert
The information such as part size, brief introduction carry out choosing of plug-in version, meet diversified demand.
Table 1
If the minimum interface version that main program can be supported by is 1, highest interface version is 1, then Neng Gouyu
The plug-in version of main program adaptation is the version 1 of plug-in unit A.If the minimum interface version that main program can be supported by
Being 1, highest interface version is 2, then can be with the version that the plug-in version of main program adaptation is plug-in unit A
The version 1 of 1 and plug-in unit B.If the minimum interface version that main program can be supported by is 2, highest interface version
It is 3, then can be with the version 2 that the plug-in version of main program adaptation is plug-in unit A.
Using above plug-in version control program, step S102 determines that the interface between main program and plug-in unit is sent out
After the plug-in version can being adapted to main program after changing, step S104 is worked as to receive and is added in main program
When carrying the instruction of plug-in unit, obtain the current version of this plug-in unit already present in main program, later step S106
Current version is compared with the plug-in version that main program is adapted to, plug-in version can be directly utilized and compare
Right.If there is current version in the plug-in version that comparison result is main program adaptation, it is determined that in main program
This plug-in unit existing is adapted to main program, it is not necessary to reload this plug-in unit;If comparison result is main program adaptation
Plug-in version in there is not current version, then from main program adaptation plug-in version choose any plug-in unit version
This, and then download corresponding plug-in unit according to any plug-in version chosen, and load after the download is complete.
Here, the reason that the version identifier of the plug-in version of main program adaptation does not exists the version identifier of current version
Having multiple, the such as interface between main program and plug-in unit is revised;And for example in main program already present should
The current version of plug-in unit is very old, and it is normal mutual that it can not meet with main program.At this point it is possible to from master
Choosing any plug-in version in the plug-in version of program adaptation, wherein, the mode chosen has multiple, as chosen
Up-to-date plug-in version, and for example chooses according to the size of plug-in unit, for another example the user's evaluation information according to plug-in unit
Choose, etc..
Additionally, in an alternative embodiment of the invention, cloud server prestores and includes and main program adaptation
The plug-in unit list of multiple plug-in versions, cloud server have collected the various operating system being likely to occur also in advance
Characteristic information and corresponding plug-in version, in order to by receiving operating system platform information in advance with these
The characteristic information of collection carries out matching ratio relatively, finds the characteristic information with operating system platform information matches, with institute
State the corresponding plug-in unit of characteristic information and be the plug-in unit of applicable current operation system.Now, step S102 is permissible
It is embodied as after interface changes, send plug-in unit to cloud server and obtain request, then receive high in the clouds clothes
That business device returns according to plug-in unit list and main program adaptation plug-in version.Further, described behaviour is being obtained
After making the plug-in unit of system adaptation, plug-in download address can be returned to plug-in unit and load system by cloud server
System.For example, server can return the configuration structure of plug-in unit, which includes URL node, this URL
Node is the download address of this plug-in unit.Additionally, cloud server is also by each plug-in unit version of plug-in unit name, plug-in unit
Minimum interface version and highest interface version that this institute can use return to plug-in unit loading system, in order to after being used for
Continuous loading work.
Further, distort plug-in version cause comparison result inaccurate to solve malice that may be present
Problem, the present invention can also obtain the version identifier of current version and the version of the plug-in version of main program adaptation
This mark, and then the version mark of the plug-in version being adapted to according to version identifier and the main program of current version
Know, the plug-in version that comparison current version is adapted to main program.Here, version identifier can be plug-in version
MD5 value or SHA1 value etc..Concrete, the embodiment of the present invention calculate slotting by MD5 algorithm
Unique hash (Hash) value of part, i.e. MD5 value.Typical case's application of MD5 algorithm is to a segment information
(Message) informative abstract (Message-Digest) is produced, to prevent from being tampered.MD5 will be whole
File, as a big text message, by its irreversible character string mapping algorithm, creates this unique
MD5 informative abstract.Certainly, the embodiment of the present invention uses the calculating of other algorithms to hold according to actual conditions
The cryptographic Hash of style of writing part is all feasible, and for example with SHA1 etc., this is not limiting as by the present invention.
If the version identifier of the plug-in version of main program adaptation exists the version identifier of current version, then comparison
Result be main program adaptation plug-in version in there is current version, it may be determined that in main program already present should
Plug-in unit is adapted to main program, it is not necessary to reload this plug-in unit.If the version mark of the plug-in version of main program adaptation
There is not the version identifier of current version in knowledge, then comparison result is not deposit in the plug-in version that main program is adapted to
At current version, any plug-in version can be chosen from the plug-in version of main program adaptation, and then according to choosing
Any plug-in version taking downloads corresponding plug-in unit, and loads after the download is complete.Here, main program
The reason that the version identifier that there is not current version in the version identifier of the plug-in version of adaptation have multiple, for example
Interface between main program and plug-in unit is revised;This plug-in unit already present current in such as main program again
Version has damage, and its current version identifications (such as MD5 value) changes, and causes comparison failure;Example again
Current version such as this plug-in unit already present in main program is very old, and it is normal that it can not meet with main program
Alternately.At this point it is possible to choose any plug-in version from the plug-in version of main program adaptation, wherein, choose
Mode have multiple, as chosen up-to-date plug-in version, and for example choose according to the size of plug-in unit, for another example root
Choose according to user's evaluation information of plug-in unit, etc..
Further, download corresponding plug-in unit here according to any plug-in version chosen, the invention provides
A kind of preferred scheme, in this scenario, can right at the plug-in version pre-building and plug-in unit URL
In should being related to (corresponding relation as shown in table 1), search the corresponding plug-in unit of any plug-in version chosen
URL, and then download corresponding plug-in unit according to the plug-in unit URL searching.
In order to improve security, after plug-in download completes, before loading, can also be to the conjunction of plug-in unit
Method verifies, if verification pass through, then be loaded directly into download plug-in unit, and if verification do not pass through, then
The failed information of output verification.It is possible to further utilize version identifier to verify the plug-in unit downloaded,
I.e. obtain the version identifier of the plug-in unit of download, enter in the version identifier of the plug-in version of main program adaptation subsequently
, if there is the version mark of the plug-in unit of download in the version identifier of the plug-in version of main program adaptation in row comparison
Know, it is determined that verification is passed through, and can load the plug-in unit of download, otherwise, it is determined that verification is not passed through, output
Verify failed information.Here, after downloading and verify successfully, as originally downloaded early version plug-in unit, then
The plug-in unit that can utilize download directly covers early version plug-in unit.
It is described above multiple implementations of each link in the embodiment shown in Fig. 1, below by specifically in fact
Execute example and realize process is discussed in detail.
Fig. 3 shows the flow chart of plug-in loading method in accordance with another embodiment of the present invention.Such as Fig. 3 institute
Showing, the method at least comprises the following steps S302 to step S318.
Step S302, in multiple plug-in versions of plug-in unit, determine that interface between main program and plug-in unit occurs
Can be with the plug-in version of main program adaptation after change.
Step S304, when receiving the instruction loading plug-in unit in main program, obtain in main program and exist
The current version of this plug-in unit.
Step S306, the version identifier obtaining current version and the version of plug-in version with main program adaptation
Mark.
Step S308, the version mark of the plug-in version being adapted to according to version identifier and the main program of current version
Know, the plug-in version that comparison current version is adapted to main program, if the version of the plug-in version of main program adaptation
Mark exists the version identifier of current version, then continues executing with step S310;If the plug-in unit of main program adaptation
The version identifier of version does not exists the version identifier of current version, then continues executing with step S312.
Step S310, determine comparison result be main program adaptation plug-in version in there is current version, explanation
In main program, this plug-in unit already present and main program are adapted to, it is not necessary to reload this plug-in unit.
Step S312, determine comparison result be main program adaptation plug-in version in there is not current version, need
To choose any plug-in version from the plug-in version of main program adaptation, and then according to any plug-in unit version chosen
The corresponding plug-in unit of this download.
Step S314, the plug-in unit to download verify, if verification is passed through, then continue executing with step S316;
If verification is not passed through, then continue executing with step S318.
Step S316, the plug-in unit loading download.
The failed information of step S318, output verification, returns step S312.
In the embodiment of the present invention, can in multiple plug-in versions of plug-in unit, determine interface change after energy
The plug-in version that enough and main program is adapted to.Further, the plug-in version that current version and main program are adapted to is carried out
Comparison, if there is current version in the plug-in version that comparison result is main program adaptation, illustrates in main program
This plug-in unit existing is adapted to main program, it is not necessary to reload this plug-in unit;If comparison result is main program adaptation
Plug-in version in there is not current version, can from main program adaptation plug-in version choose any plug-in unit
Version, and then download corresponding plug-in unit according to any plug-in version chosen.Further, in plug-in download
After completing, before loading, the legitimacy of plug-in unit can be verified, add the security of system.
It should be noted that in actual application, above-mentioned all optional embodiments can use the mode of combination
Any combination, forms the alternative embodiment of the present invention, and this is no longer going to repeat them.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of plug-in unit charger, is applied to visitor
The situation that interface between main program on the end of family and plug-in unit changes.Fig. 4 shows according to the present invention one
The structural representation of the plug-in unit charger of individual embodiment.As shown in Figure 4, this device at least may include that
Determining module the 410th, acquisition module the 420th, comparing module 430 and load-on module 440.
Now introduce each composition of the plug-in unit charger of the embodiment of the present invention or the function of device and each several part
Between annexation:
Determining module 410, is suitable in multiple plug-in versions of plug-in unit, determines that interface can after changing
Plug-in version with main program adaptation;
Acquisition module 420, is coupled with determining module 410, is suitable to when receiving loading in main program slotting
During the instruction of part, obtain the current version of this plug-in unit already present in main program;
Comparing module 430, is coupled with acquisition module 420, is suitable to current version and main program adaptation
Plug-in version is compared, and obtains comparison result;
Load-on module 440, is coupled with comparing module 430, is suitable to selectively load according to comparison result insert
Part.
In one embodiment of the invention, above-mentioned determining module 410 is further adapted for:
Obtain each plug-in unit of the minimum interface version that can be supported by of main program and highest interface version and plug-in unit
Minimum interface version that version can use and highest interface version;
In each plug-in version of plug-in unit, minimum interface version and the highest interface version that can use it are equal
It is positioned at the plug-in unit version of the interval range of the minimum interface version that main program can be supported by and highest interface version
This, being defined as after interface changes can be with the plug-in version of main program adaptation.
In one embodiment of the invention, above-mentioned comparing module 430 is further adapted for:
Obtain the version identifier of current version and the version identifier of the plug-in version of main program adaptation;
The version identifier of the plug-in version of the version identifier according to current version and main program adaptation, comparison is worked as
The plug-in version that front version is adapted to main program.
In one embodiment of the invention, above-mentioned comparing module 430 is further adapted for:
If the version identifier of the plug-in version of main program adaptation exists the version identifier of current version, then comparison
Result is to there is current version in the plug-in version that main program is adapted to;
If the version identifier of the plug-in version of main program adaptation does not exists the version identifier of current version, then than
There is not current version in the plug-in version to result being main program adaptation.
In one embodiment of the invention, above-mentioned load-on module 440 is further adapted for:
If there is current version in the plug-in version that comparison result is main program adaptation, it is determined that in main program
This plug-in unit existing is adapted to main program, it is not necessary to reload this plug-in unit;
If there is not current version in the plug-in version that comparison result is main program adaptation, then from main program adaptation
Plug-in version in choose any plug-in version, and then download corresponding inserting according to any plug-in version chosen
Part, and load after the download is complete.
In one embodiment of the invention, above-mentioned load-on module 440 is further adapted for:
In the corresponding relation with plug-in unit uniform resource position mark URL for the plug-in version pre-building, search
Any plug-in version corresponding plug-in unit URL choosing;
Download corresponding plug-in unit according to the plug-in unit URL searching.
In one embodiment of the invention, Fig. 5 shows that plug-in unit adds in accordance with another embodiment of the present invention
Carry the structural representation put.As it is shown in figure 5, this device can also include: correction verification module 510, and add
Carry module 440 to be coupled, be suitable to after the download is complete, before loading, school is carried out to the plug-in unit downloaded
Test, if verification is passed through, then load the plug-in unit of download;And if verification do not pass through, then output verification failure
Information.
In one embodiment of the invention, version identifier includes at least one following:
The message digest algorithm MD5 value of version;
The Secure Hash Algorithm SHA1 value of version.
In one embodiment of the invention, above-mentioned determining module 410 is further adapted for: after interface changes,
Send plug-in unit to cloud server and obtain request, wherein, cloud server prestores and includes fitting with main program
The plug-in unit list of the multiple plug-in versions joined;Receive that cloud server returns and main journey according to plug-in unit list
The plug-in version of sequence adaptation.
In one embodiment of the invention, cloud server return according to plug-in unit list and main program fit
The plug-in version joined also carry at least one following: URL address, plug-in unit name, each plug-in unit version of plug-in unit
Minimum interface version that this institute can use and highest interface version.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of terminal, including any one institute above
The device stated.
According to the combination of any one preferred embodiment above-mentioned or multiple preferred embodiment, embodiment of the present invention energy
Enough reach following beneficial effect:
The technical scheme that the present invention provides can apply the interface between main program and plug-in unit to change
Situation, in embodiments of the present invention, can determine that described interface occurs in multiple plug-in versions of plug-in unit
Can be with the plug-in version of main program adaptation after change.Owing to the present invention can directly determine that described interface occurs
With the plug-in version of main program adaptation, thus after described interface changes, can still can after change
Ensure that plug-in version is adapted to main program version, such that it is able to avoid leading because interface changes in prior art
The plug-in unit or the main program that cause are not adapted to and the problems such as collapse occur.Further, in the embodiment of the present invention, when
Receive the instruction loading plug-in unit in main program, and obtain the current version of this plug-in unit already present in main program
This when, current version can be compared with the plug-in version that main program is adapted to, compared in prior art
Being merely able to use fixing plug-in version, the present invention can improve the comparison rate of plug-in version.Further, since
When there is current version in the plug-in version of main program adaptation, the plug-in unit of current version is adapted to main program,
During without reloading, and there is not current version in the plug-in version of main program adaptation, need further exist for
Download the plug-in version with main program adaptation, and load after the download is complete, thus, the present invention is inserting
The number of times of download can be reduced in the case that the comparison rate of part version is higher, improve the utilization rate of resource, and carry
High treatment efficiency.
In specification mentioned herein, illustrate a large amount of detail.It is to be appreciated, however, that this
Bright embodiment can be put into practice in the case of not having these details.In some instances, not in detail
Known method, structure and technology are shown, in order to do not obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure helping understand one of each inventive aspect or
Multiple, above in the description of the exemplary embodiment of the present invention, each feature of the present invention is sometimes by one
Rise and be grouped in single embodiment, figure or descriptions thereof.But, should be by the method for the disclosure
It is construed to reflect an intention that i.e. the present invention for required protection requires than institute in each claim clearly
The more feature of feature recorded.More precisely, as the following claims reflect, send out
Bright aspect is all features less than single embodiment disclosed above.Therefore, it then follows detailed description of the invention
Claims be thus expressly incorporated in this detailed description of the invention, the wherein conduct of each claim itself
The independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out adaptive to the module in the equipment in embodiment
Change to answering property and they are arranged in one or more equipment different from this embodiment.Can be reality
Execute the module in example or unit or assembly is combined into a module or unit or assembly, and in addition can be it
Be divided into multiple submodule or subelement or sub-component.Except in such feature and/or process or unit
Outside at least some excludes each other, any combination can be used (to include that adjoint right is wanted to this specification
Ask, make a summary and accompanying drawing) disclosed in all features and so disclosed any method or equipment all
Process or unit are combined.Unless expressly stated otherwise, this specification (include adjoint claim,
Summary and accompanying drawing) disclosed in each feature can be by the alternative features providing identical, equivalent or similar purpose
Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other
Some feature included in embodiment rather than further feature, but the combination meaning of the feature of different embodiment
Taste and is within the scope of the present invention and is formed different embodiments.For example, in detail in the claims,
One of arbitrarily can mode using in any combination of embodiment required for protection.
The all parts embodiment of the present invention can realize with hardware, or with at one or more processor
The software module of upper operation realizes, or realizes with combinations thereof.It will be understood by those of skill in the art that
Microprocessor or digital signal processor (DSP) can be used in practice to realize according to the present invention real
Execute the some or all functions of some or all parts in the plug-in unit charger of example.The present invention also may be used
To be embodied as part or all the equipment for performing method as described herein or device program
(for example, computer program and computer program).The program of such present invention of realization can store
On a computer-readable medium, or can have the form of one or more signal.Such signal can
Obtain to download on internet website, or provide on carrier signal, or carry with any other form
Supply.
The present invention will be described rather than limits the invention to it should be noted above-described embodiment, and
And those skilled in the art can design replacement enforcement without departing from the scope of the appended claims
Example.In the claims, any reference symbol that should not will be located between bracket is configured to claim
Limit.Word "comprising" does not excludes the presence of and does not arranges element in the claims or step.Be positioned at element it
Front word "a" or "an" does not excludes the presence of multiple such element.The present invention can be by means of bag
Include the hardware of some different elements and realize by means of properly programmed computer.Some listing
In the unit claim of device, several in these devices can be to be come specifically by same hardware branch
Embody.Word first, second and third use do not indicate that any order.Can be by these word solutions
It is interpreted as title.
So far, although those skilled in the art will appreciate that and detailed herein illustrate and describing the present invention's
Multiple exemplary embodiments, but, without departing from the spirit and scope of the present invention, still can be according to this
Disclosure of invention directly determines or derives other variations or modifications of many meeting the principle of the invention.Cause
This, the scope of the present invention is it is understood that and regard as covering other variations or modifications all these.
The invention also discloses: A1, a kind of plug-in loading method, the main program being applied in client with insert
The situation that interface between part changes, comprising:
In multiple plug-in versions of described plug-in unit, determine that described interface can be with described main journey after changing
The plug-in version of sequence adaptation;
When receiving the instruction loading described plug-in unit in described main program, obtain in described main program and deposit
The current version of this plug-in unit;
Described current version is compared with the plug-in version that described main program is adapted to, obtains comparison result;
Selectively load described plug-in unit according to described comparison result.
A2, the method according to A1, wherein, in multiple plug-in versions of described plug-in unit, determine institute
Stating can be with the plug-in version of described main program adaptation after interface changes, comprising:
Obtain the minimum interface version that described main program can be supported by and highest interface version and described plug-in unit
The minimum interface version that can use of each plug-in version and highest interface version;
In each plug-in version of described plug-in unit, the minimum interface version that it can be used and highest interface version
Originally it is respectively positioned in the interval range of the minimum interface version that described main program can be supported by and highest interface version
Plug-in version, being defined as after described interface changes can be with the plug-in version of described main program adaptation.
Described current version wherein, is fitted by A3, the method according to A1 or A2 with described main program
The plug-in version joined is compared, comprising:
Obtain the version identifier of described current version and the version mark of the plug-in version of described main program adaptation
Know;
The version mark of the plug-in version of the version identifier according to described current version and described main program adaptation
Know, the plug-in version that current version described in comparison is adapted to described main program.
A4, the method according to A3, wherein, version identifier according to described current version and described
The version identifier of plug-in version of main program adaptation, current version described in comparison is inserted with described main program adaptation
Part version, obtains comparison result, comprising:
If the version identifier of the plug-in version of described main program adaptation exists the version mark of described current version
Know, then described comparison result is to there is described current version in the plug-in version that described main program is adapted to;
If the version identifier of the plug-in version of described main program adaptation does not exists the version of described current version
Mark, then described comparison result is to there is not described current version in the plug-in version that described main program is adapted to.
A5, the method according to any one of A1-A4, wherein, add according to described comparison result selectivity
Carry described plug-in unit, comprising:
If there is described current version, then really in the plug-in version that described comparison result is described main program adaptation
In fixed described main program, this plug-in unit already present and described main program are adapted to, it is not necessary to reload this plug-in unit;
If there is not described current version, then in the plug-in version that described comparison result is described main program adaptation
Choose any plug-in version from the plug-in version of described main program adaptation, so according to described choose any
Plug-in version downloads corresponding plug-in unit, and loads after the download is complete.
A6, the method according to A5, wherein, download corresponding according to the described any plug-in version chosen
Plug-in unit, comprising:
In the corresponding relation with plug-in unit uniform resource position mark URL for the plug-in version pre-building, search
The described any plug-in version corresponding plug-in unit URL choosing;
Plug-in unit URL according to described lookup downloads corresponding plug-in unit.
A7, the method according to A5 or A6, wherein, described after the download is complete, carry out loading it
Before, also include:
The plug-in unit downloaded is verified, if verification is passed through, then loads the plug-in unit of described download;And
If verification is not passed through, then the failed information of output verification.
A8, the method according to any one of A3-A7, wherein, described version identifier include following at least
One of:
The message digest algorithm MD5 value of version;
The Secure Hash Algorithm SHA1 value of version.
A9, the method according to any one of A1-A8, wherein, in multiple plug-in versions of described plug-in unit
In, determine that described interface can be with the plug-in version of described main program adaptation after changing, comprising:
After described interface changes, send plug-in unit to cloud server and obtain request, wherein, described cloud
End server prestores the plug-in unit list including the multiple plug-in versions with described main program adaptation;
Receive the plug-in unit of that described cloud server returns and described main program adaptation according to described plug-in unit list
Version.
A10, the method according to A9, wherein, described cloud server returns according to described plug-in unit list
That return and the plug-in version of described main program adaptation also carry at least one following: URL address, insert
Minimum interface version that part name, each plug-in version of plug-in unit can use and highest interface version.
B11, a kind of plug-in unit charger, the interface being applied between the main program in client and plug-in unit is sent out
The situation of changing, comprising:
Determining module, is suitable in multiple plug-in versions of described plug-in unit, after determining that described interface changes
Can be with the plug-in version of described main program adaptation;
Acquisition module, is suitable to when receiving the instruction loading described plug-in unit in described main program, obtains institute
State the current version of this plug-in unit already present in main program;
Comparing module, is suitable to compare described current version with the plug-in version that described main program is adapted to,
Obtain comparison result;
Load-on module, is suitable to selectively load described plug-in unit according to described comparison result.
B12, the device according to B11, wherein, described determining module is further adapted for:
Obtain the minimum interface version that described main program can be supported by and highest interface version and described plug-in unit
The minimum interface version that can use of each plug-in version and highest interface version;
In each plug-in version of described plug-in unit, the minimum interface version that it can be used and highest interface version
Originally it is respectively positioned in the interval range of the minimum interface version that described main program can be supported by and highest interface version
Plug-in version, being defined as after described interface changes can be with the plug-in version of described main program adaptation.
B13, the device according to B11 or B12, wherein, described comparing module is further adapted for:
Obtain the version identifier of described current version and the version mark of the plug-in version of described main program adaptation
Know;
The version mark of the plug-in version of the version identifier according to described current version and described main program adaptation
Know, the plug-in version that current version described in comparison is adapted to described main program.
B14, the device according to B13, wherein, described comparing module is further adapted for:
If the version identifier of the plug-in version of described main program adaptation exists the version mark of described current version
Know, then described comparison result is to there is described current version in the plug-in version that described main program is adapted to;
If the version identifier of the plug-in version of described main program adaptation does not exists the version of described current version
Mark, then described comparison result is to there is not described current version in the plug-in version that described main program is adapted to.
B15, the device according to any one of B11-B14, wherein, described load-on module is further adapted for:
If there is described current version, then really in the plug-in version that described comparison result is described main program adaptation
In fixed described main program, this plug-in unit already present and described main program are adapted to, it is not necessary to reload this plug-in unit;
If there is not described current version, then in the plug-in version that described comparison result is described main program adaptation
Choose any plug-in version from the plug-in version of described main program adaptation, so according to described choose any
Plug-in version downloads corresponding plug-in unit, and loads after the download is complete.
B16, the device according to B15, wherein, described load-on module is further adapted for:
In the corresponding relation with plug-in unit uniform resource position mark URL for the plug-in version pre-building, search
The described any plug-in version corresponding plug-in unit URL choosing;
Plug-in unit URL according to described lookup downloads corresponding plug-in unit.
B17, the device according to B15 or B16, wherein, also include:
Correction verification module, is suitable to after the download is complete, before loading, verifies the plug-in unit downloaded,
If verification is passed through, then load the plug-in unit of described download;And if verification do not pass through, then output verification failure
Information.
B18, the device according to any one of B13-B17, wherein, described version identifier include following extremely
One of few:
The message digest algorithm MD5 value of version;
The Secure Hash Algorithm SHA1 value of version.
B19, the device according to any one of B11-B18, wherein, described determining module is further adapted for:
After described interface changes, send plug-in unit to cloud server and obtain request, wherein, described cloud
End server prestores the plug-in unit list including the multiple plug-in versions with described main program adaptation;
Receive the plug-in unit of that described cloud server returns and described main program adaptation according to described plug-in unit list
Version.
B20, the device according to B19, wherein, described cloud server returns according to described plug-in unit list
That return and the plug-in version of described main program adaptation also carry at least one following: URL address, insert
Minimum interface version that part name, each plug-in version of plug-in unit can use and highest interface version.
C21, a kind of terminal, comprising: the device described in any one of B11-B20.
Claims (10)
1. a plug-in loading method, the interface being applied between the main program in client and plug-in unit occurs
The situation of change, comprising:
In multiple plug-in versions of described plug-in unit, determine that described interface can be with described main journey after changing
The plug-in version of sequence adaptation;
When receiving the instruction loading described plug-in unit in described main program, obtain in described main program and deposit
The current version of this plug-in unit;
Described current version is compared with the plug-in version that described main program is adapted to, obtains comparison result;
Selectively load described plug-in unit according to described comparison result.
2. method according to claim 1, wherein, in multiple plug-in versions of described plug-in unit,
Determine that described interface can be with the plug-in version of described main program adaptation after changing, comprising:
Obtain the minimum interface version that described main program can be supported by and highest interface version and described plug-in unit
The minimum interface version that can use of each plug-in version and highest interface version;
In each plug-in version of described plug-in unit, the minimum interface version that it can be used and highest interface version
Originally it is respectively positioned in the interval range of the minimum interface version that described main program can be supported by and highest interface version
Plug-in version, being defined as after described interface changes can be with the plug-in version of described main program adaptation.
3. method according to claim 1 and 2, wherein, by described current version and described main journey
The plug-in version of sequence adaptation is compared, comprising:
Obtain the version identifier of described current version and the version mark of the plug-in version of described main program adaptation
Know;
The version mark of the plug-in version of the version identifier according to described current version and described main program adaptation
Know, the plug-in version that current version described in comparison is adapted to described main program.
4. method according to claim 3, wherein, version identifier according to described current version with
And the version identifier of the plug-in version of described main program adaptation, current version described in comparison is fitted with described main program
The plug-in version joined, obtains comparison result, comprising:
If the version identifier of the plug-in version of described main program adaptation exists the version mark of described current version
Know, then described comparison result is to there is described current version in the plug-in version that described main program is adapted to;
If the version identifier of the plug-in version of described main program adaptation does not exists the version of described current version
Mark, then described comparison result is to there is not described current version in the plug-in version that described main program is adapted to.
5. the method according to any one of claim 1-4, wherein, according to described comparison result selectivity
Load described plug-in unit, comprising:
If there is described current version, then really in the plug-in version that described comparison result is described main program adaptation
In fixed described main program, this plug-in unit already present and described main program are adapted to, it is not necessary to reload this plug-in unit;
If there is not described current version, then in the plug-in version that described comparison result is described main program adaptation
Choose any plug-in version from the plug-in version of described main program adaptation, so according to described choose any
Plug-in version downloads corresponding plug-in unit, and loads after the download is complete.
6. method according to claim 5, wherein, according under the described any plug-in version chosen
Carry corresponding plug-in unit, comprising:
In the corresponding relation with plug-in unit uniform resource position mark URL for the plug-in version pre-building, search
The described any plug-in version corresponding plug-in unit URL choosing;
Plug-in unit URL according to described lookup downloads corresponding plug-in unit.
7. the method according to claim 5 or 6, wherein, described after the download is complete, add
Before load, also include:
The plug-in unit downloaded is verified, if verification is passed through, then loads the plug-in unit of described download;And
If verification is not passed through, then the failed information of output verification.
8. the method according to any one of claim 3-7, wherein, described version identifier include following extremely
One of few:
The message digest algorithm MD5 value of version;
The Secure Hash Algorithm SHA1 value of version.
9. a plug-in unit charger, the interface being applied between the main program in client and plug-in unit occurs
The situation of change, comprising:
Determining module, is suitable in multiple plug-in versions of described plug-in unit, after determining that described interface changes
Can be with the plug-in version of described main program adaptation;
Acquisition module, is suitable to when receiving the instruction loading described plug-in unit in described main program, obtains institute
State the current version of this plug-in unit already present in main program;
Comparing module, is suitable to compare described current version with the plug-in version that described main program is adapted to,
Obtain comparison result;
Load-on module, is suitable to selectively load described plug-in unit according to described comparison result.
10. a terminal, comprising: the device described in claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510134588.4A CN106155709B (en) | 2015-03-25 | 2015-03-25 | Plug-in loading method, device and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510134588.4A CN106155709B (en) | 2015-03-25 | 2015-03-25 | Plug-in loading method, device and equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106155709A true CN106155709A (en) | 2016-11-23 |
CN106155709B CN106155709B (en) | 2019-10-01 |
Family
ID=57340570
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510134588.4A Active CN106155709B (en) | 2015-03-25 | 2015-03-25 | Plug-in loading method, device and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106155709B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391177A (en) * | 2017-06-28 | 2017-11-24 | 广州华多网络科技有限公司 | A kind of plug-in download check logic performance optimization method, equipment and computer system |
CN109284147A (en) * | 2018-09-06 | 2019-01-29 | 平安科技(深圳)有限公司 | A kind of plug-in unit adaptation method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101566954A (en) * | 2009-05-31 | 2009-10-28 | 珠海金山软件股份有限公司 | Method and device for managing plug-in |
CN102662703A (en) * | 2012-03-29 | 2012-09-12 | 奇智软件(北京)有限公司 | Method and device for loading application program plugins |
CN102830992A (en) * | 2012-07-31 | 2012-12-19 | 北京奇虎科技有限公司 | Plug-in loading method and system |
US20130188217A1 (en) * | 2012-01-20 | 2013-07-25 | Couponcabin Llc | System and method for online coupon printing |
CN103544013A (en) * | 2013-10-25 | 2014-01-29 | 优视科技有限公司 | Plug-in system and plug-in management method |
-
2015
- 2015-03-25 CN CN201510134588.4A patent/CN106155709B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101566954A (en) * | 2009-05-31 | 2009-10-28 | 珠海金山软件股份有限公司 | Method and device for managing plug-in |
US20130188217A1 (en) * | 2012-01-20 | 2013-07-25 | Couponcabin Llc | System and method for online coupon printing |
CN102662703A (en) * | 2012-03-29 | 2012-09-12 | 奇智软件(北京)有限公司 | Method and device for loading application program plugins |
CN102830992A (en) * | 2012-07-31 | 2012-12-19 | 北京奇虎科技有限公司 | Plug-in loading method and system |
CN103544013A (en) * | 2013-10-25 | 2014-01-29 | 优视科技有限公司 | Plug-in system and plug-in management method |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107391177A (en) * | 2017-06-28 | 2017-11-24 | 广州华多网络科技有限公司 | A kind of plug-in download check logic performance optimization method, equipment and computer system |
CN107391177B (en) * | 2017-06-28 | 2020-09-08 | 广州华多网络科技有限公司 | Method, equipment and computer system for optimizing logical performance of plug-in download verification |
CN109284147A (en) * | 2018-09-06 | 2019-01-29 | 平安科技(深圳)有限公司 | A kind of plug-in unit adaptation method and device |
CN109284147B (en) * | 2018-09-06 | 2024-02-09 | 平安科技(深圳)有限公司 | Plug-in adaptation method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106155709B (en) | 2019-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104699511B (en) | Plug-in unit upgrade method and device | |
US11606677B2 (en) | Method for sharing application between terminals, and terminal | |
CN104717301B (en) | Plug-in download method and device | |
CN105760184B (en) | A kind of method and apparatus of charging assembly | |
CN104714827B (en) | Update of plug-in method and device | |
CN105389191B (en) | A kind of method for upgrading software based on LAN, device and system | |
CN105446769B (en) | Image file upgrade processing method, device and terminal device | |
WO2016177061A1 (en) | Upgrade method and apparatus using over-the-air download technology | |
CN103678319B (en) | Resource file update method, device and system and server | |
CN111381858B (en) | Application program upgrading method, server and terminal equipment | |
CN109391509A (en) | A kind of method, system and the application server of more new application | |
CN106919843A (en) | Leak repair system, method and apparatus | |
CN103513998A (en) | Method and device for generating upgrade package and method and terminal for upgrading dynamic documents in difference mode | |
US20140129686A1 (en) | Mobile computing device configured to filter and detect application profiles, a method of manufacturing the same and an external source for delivering hierarchical filtered application profiles to mobile computing devices | |
CN104836843A (en) | Client application program updating method and device | |
CN105786549B (en) | Smart machine and its upgrade method | |
CN103559065B (en) | Method and system for OTA (Over-the-Air Technology) upgrade | |
CN104731623B (en) | Mastery routine starts the method and device of plug-in unit | |
CN104123149B (en) | Method for upgrading software, device, client and system | |
CN104133699B (en) | Device system software upgrade method and system | |
CN106921731A (en) | Leak restorative procedure and device | |
CN106371881A (en) | Method and system for updating program versions in servers | |
US11876676B2 (en) | Network node firmware update | |
CN110765394A (en) | So file loading method and device, storage medium and terminal equipment | |
CN106155709A (en) | Plug-in loading method, device and equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20190906 Address after: Room 201, 2nd floor, Building 2, Xijingkou No. 2, Shijingshan District, Beijing 100041 Applicant after: Beijing Shijie Xinghui Science and Technology Co., Ltd. Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park) Applicant before: Beijing Qihu Technology Co., Ltd. Applicant before: Qizhi Software (Beijing) Co., Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |