CN104731623A - Method and device for starting plug-in in main program - Google Patents

Method and device for starting plug-in in main program Download PDF

Info

Publication number
CN104731623A
CN104731623A CN201510142838.9A CN201510142838A CN104731623A CN 104731623 A CN104731623 A CN 104731623A CN 201510142838 A CN201510142838 A CN 201510142838A CN 104731623 A CN104731623 A CN 104731623A
Authority
CN
China
Prior art keywords
plug
unit
mark
units
many
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
Application number
CN201510142838.9A
Other languages
Chinese (zh)
Other versions
CN104731623B (en
Inventor
宋照春
张炅轩
姚彤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510142838.9A priority Critical patent/CN104731623B/en
Publication of CN104731623A publication Critical patent/CN104731623A/en
Application granted granted Critical
Publication of CN104731623B publication Critical patent/CN104731623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention provides a method and device for starting a plug-in in a main program. The method comprises the steps of acquiring current plug-in identification of the plug-in to be started when receiving a plug-in startup command; in multiple plug-in identification of the corresponding plug-in which are all adaptive to the main program, searching for the plug-in identification matched with the current plug-in identification, and obtaining a search result; according to the search result, starting the corresponding plug-in. By means of the technical scheme of the method and device for starting the plug-in in the main program, the matching ratio of the plug-in identification can be raised, and the aims to be compatible with an old version and raise the processing efficiency can be achieved.

Description

Method and the device of plug-in unit is started in master routine
Technical field
The present invention relates to computer processing technology field, particularly in a kind of master routine, start method and the device of plug-in unit.
Background technology
In software development, conveniently carry out Function Extension to software, plug-in unit mode can be adopted to develop, each plug-in unit, in plug-in unit, is finally integrated in software main program bag and together issues by the function package one by one that will be realized by software.
Normal mutual in order to what ensure between plug-in unit and master routine, need plug-in unit and master routine adaptation, in correlation technique, realized by the one-to-one relationship write in main program code between dead master routine version and plug-in version.Such as, master routine is upgraded to version 2 from version 1, and now plug-in unit is also upgraded to version 2 from version 1, and it is alternately normal that the one-to-one relationship that can write master routine version 2 and plug-in version 2 in main program code in correlation technique ensures between the two.And although plug-in version 1 can adaptive master routine version 2, but write dead one-to-one relationship due to this, can think that when master routine calls plug-in version 1 is the plug-in unit of inefficacy and is not called by mistake, if also there is not the related data of plug-in version 2 in current master routine bag, so also need to download it, can treatment effeciency be reduced, cause the waste of resource.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of the overcoming method and the device that start plug-in unit in the problems referred to above or the master routine that solves the problem at least in part.
According to one aspect of the present invention, provide a kind of method starting plug-in unit in master routine, comprising: when receiving the enabled instruction of plug-in unit, what obtain plug-in unit to be launched works as anterior plug-in mark; In the plug-in unit of correspondence all identifies with many plug-in units of described master routine adaptation, search and identify with the described plug-in unit marking matched when anterior plug-in, obtain lookup result; Corresponding plug-in unit is started according to described lookup result.
Alternatively, start corresponding plug-in unit according to described lookup result, comprising: if described lookup result is find to identify with the described plug-in unit marking matched when anterior plug-in, then start described plug-in unit to be launched; If described lookup result is do not find to identify with the described plug-in unit marking matched when anterior plug-in, then from described many plug-in units mark, choose a plug-in unit mark, and then download corresponding plug-in unit according to the described plug-in unit mark chosen, and start after the download is complete.
Alternatively, from described many plug-in units mark, choose a plug-in unit mark, comprising: in the plug-in unit mark set up in advance with the corresponding relation of plug-in version, search each self-corresponding plug-in version of described many plug-in units mark; According to described plug-in version, from described many plug-in units mark, choose a plug-in unit mark.
Alternatively, if there is multiple package types in described many plug-in units mark, and often kind of corresponding one or more plug-in unit mark of package types; According to described plug-in version, from described many plug-in units mark, choose a plug-in unit mark, comprising: the typonym obtaining described plug-in unit to be launched; At least one plug-in unit mark that the typonym of described plug-in unit to be launched is corresponding is filtered out from described many plug-in units mark; According to described plug-in version, from described at least one plug-in unit mark, choose a plug-in unit mark.
Alternatively, according to described plug-in version, from described many plug-in units mark, choose a plug-in unit mark, comprising: from described many plug-in units mark, choose the plug-in unit mark that up-to-date plug-in version is corresponding.
Alternatively, download corresponding plug-in unit according to the described plug-in unit mark chosen, comprising: according to the described plug-in unit mark chosen, generate URL (Uniform Resource Locator, URL(uniform resource locator)); Corresponding plug-in unit is downloaded according to described URL.
Alternatively, after the download is complete described, before starting, also comprise: the plug-in unit downloaded is verified, if verification is passed through, then start the plug-in unit of described download; And if verification is not passed through, then the information of output verification failure.
Alternatively, the described plug-in unit to downloading verifies, and comprising: the target plug-in mark obtaining the plug-in unit of described download; In described many plug-in units mark, search the plug-in unit marking matched with described target plug-in and identify; If find, then determine that verification is passed through; If do not find, then determine that verification is not passed through.
Alternatively, described plug-in unit mark comprise following one of at least:
MD5 (Message Digest Algorithm5, the message digest algorithm 5) value of plug-in unit;
SHA1 (Secure Hash Algorithm1, the Secure Hash Algorithm 1) value of plug-in unit.
Alternatively, described method also comprises: catch backstage plug-in unit upgrade event, obtains the plug-in unit mark of carrying out the plug-in unit of upgrading; Plug-in unit according to the plug-in unit of described upgrading identifies, and upgrades described many plug-in units mark.
Alternatively, after the download is complete described, before starting, also comprise: the process traveling through all startups, judge whether that there is the process started belongs to the described plug-in unit when anterior plug-in mark; If exist, then kill the startup process of the described plug-in unit when anterior plug-in mark, and start new process to run the plug-in unit of described download.
According to another aspect of the present invention, additionally provide the device starting plug-in unit in a kind of master routine, comprising:
Acquisition module, is suitable for when receiving the enabled instruction of plug-in unit, and what obtain plug-in unit to be launched works as anterior plug-in mark;
Search module, be suitable in the plug-in unit of its correspondence all identifies with many plug-in units of described master routine adaptation, search and identify with the described plug-in unit marking matched when anterior plug-in, obtain lookup result;
Start module, be suitable for starting corresponding plug-in unit according to described lookup result.
Alternatively, described startup module is also suitable for: if described lookup result is find to identify with the described plug-in unit marking matched when anterior plug-in, then start described plug-in unit to be launched; If described lookup result is do not find to identify with the described plug-in unit marking matched when anterior plug-in, then from described many plug-in units mark, choose a plug-in unit mark, and then download corresponding plug-in unit according to the described plug-in unit mark chosen, and start after the download is complete.
Alternatively, described startup module is also suitable for: in the plug-in unit mark set up in advance with the corresponding relation of plug-in version, searches each self-corresponding plug-in version of described many plug-in units mark; According to described plug-in version, from described many plug-in units mark, choose a plug-in unit mark.
Alternatively, described startup module is also suitable for: if there is multiple package types in described many plug-in units mark, and often kind of corresponding one or more plug-in unit mark of package types; Obtain the typonym of described plug-in unit to be launched; At least one plug-in unit mark that the typonym of described plug-in unit to be launched is corresponding is filtered out from described many plug-in units mark; According to described plug-in version, from described at least one plug-in unit mark, choose a plug-in unit mark.
Alternatively, described startup module is also suitable for: from described many plug-in units mark, choose the plug-in unit mark that up-to-date plug-in version is corresponding.
Alternatively, described startup module is also suitable for: according to the described plug-in unit mark chosen, generate URL; Corresponding plug-in unit is downloaded according to described URL.
Alternatively, described device also comprises:
Correction verification module, described in being suitable for after the download is complete, before starting, verifies the plug-in unit downloaded, if verification is passed through, then starts the plug-in unit of described download; And if verification is not passed through, then the information of output verification failure.
Alternatively, described correction verification module is also suitable for: the target plug-in mark obtaining the plug-in unit of described download; In described many plug-in units mark, search the plug-in unit marking matched with described target plug-in and identify; If find, then determine that verification is passed through; If do not find, then determine that verification is not passed through.
Alternatively, described plug-in unit mark comprise following one of at least:
The MD5 value of plug-in unit;
The SHA1 value of plug-in unit.
Alternatively, described device also comprises:
Update module, is suitable for catching backstage plug-in unit upgrade event, obtains the plug-in unit mark of carrying out the plug-in unit of upgrading; Plug-in unit according to the plug-in unit of described upgrading identifies, and upgrades described many plug-in units mark.
Alternatively, after the download is complete described, before starting, described startup module is also suitable for: the process traveling through all startups, judges whether that there is the process started belongs to the described plug-in unit when anterior plug-in mark; If exist, then kill the startup process of the described plug-in unit when anterior plug-in mark, and start new process to run the plug-in unit of described download.
According to another aspect of the present invention, additionally provide a kind of terminal, comprising:
Storer;
One or more processor;
Wherein, described one or more processor is configured to perform following method:
When receiving the enabled instruction of plug-in unit, what obtain plug-in unit to be launched works as anterior plug-in mark;
In the plug-in unit of correspondence all identifies with many plug-in units of described master routine adaptation, search and identify with the described plug-in unit marking matched when anterior plug-in, obtain lookup result;
Corresponding plug-in unit is started according to described lookup result.
In the embodiment of the present invention, there are many plug-in unit marks, the plug-in unit (type of plug-in unit can be one or more) of its correspondence is all adaptive with master routine.When receiving the enabled instruction of plug-in unit, and get plug-in unit to be launched when anterior plug-in identifies, can search in many plug-in unit marks and identify with the plug-in unit marking matched when anterior plug-in, use fixing plug-in unit mark compared to being merely able in prior art, the technical scheme that the embodiment of the present invention provides can improve the matching rate of plug-in unit mark.Further, identify with the plug-in unit marking matched when anterior plug-in owing to finding, just plug-in unit to be launched can directly be started, search and identify less than with the plug-in unit marking matched when anterior plug-in, the further plug-in unit needing download and master routine adaptation, thus, the present invention can reduce the number of times of download when the marking matched rate of plug-in unit is higher, improves treatment effeciency.And, the plug-in unit mark of some early version plug-in units can be comprised in many plug-in units mark provided by the invention, when being early version plug-in unit for plug-in unit to be launched like this, the present invention still can search that the match is successful, thus solve in prior art can think by mistake when master routine calls early version plug-in unit be lost efficacy plug-in unit and be not called, cause the problems such as the wasting of resources, realize compatible early version, improve the object for the treatment of effeciency.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
According to hereafter by reference to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the process flow diagram starting the method for plug-in unit in master routine according to an embodiment of the invention;
Fig. 2 shows the process flow diagram starting the method for plug-in unit in master routine in accordance with another embodiment of the present invention;
Fig. 3 shows the process flow diagram of the method for backstage plug-in unit upgrading according to an embodiment of the invention;
Fig. 4 shows the structural representation starting the device of plug-in unit in master routine according to an embodiment of the invention; And
Fig. 5 shows the structural representation starting the device of plug-in unit in master routine in accordance with another embodiment of the present invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
For solving the problems of the technologies described above, the invention provides a kind of method starting plug-in unit in master routine.Fig. 1 shows the process flow diagram starting the method for plug-in unit in master routine according to an embodiment of the invention.As shown in Figure 1, the method at least comprises the following steps S102 to step S106.
Step S102, when receiving the enabled instruction of plug-in unit, obtain plug-in unit to be launched when anterior plug-in mark.
Step S104, in the plug-in unit of correspondence all identifies with many plug-in units of master routine adaptation, search and identify with when the marking matched plug-in unit of anterior plug-in, obtain lookup result.
Step S106, the plug-in unit corresponding according to lookup result startup.
In the embodiment of the present invention, there are many plug-in unit marks, the plug-in unit (type of plug-in unit can be one or more) of its correspondence is all adaptive with master routine.When receiving the enabled instruction of plug-in unit, and get plug-in unit to be launched when anterior plug-in identifies, can search in many plug-in unit marks and identify with the plug-in unit marking matched when anterior plug-in, use fixing plug-in unit mark compared to being merely able in prior art, the technical scheme that the embodiment of the present invention provides can improve the matching rate of plug-in unit mark.Further, identify with the plug-in unit marking matched when anterior plug-in owing to finding, just plug-in unit to be launched can directly be started, search and identify less than with the plug-in unit marking matched when anterior plug-in, the further plug-in unit needing download and master routine adaptation, thus, the present invention can reduce the number of times of download when the marking matched rate of plug-in unit is higher, improves treatment effeciency.And, the plug-in unit mark of some early version plug-in units can be comprised in many plug-in units mark provided by the invention, when being early version plug-in unit for plug-in unit to be launched like this, the present invention still can search that the match is successful, thus solve in prior art can think by mistake when master routine calls early version plug-in unit be lost efficacy plug-in unit and be not called, cause the problems such as the wasting of resources, realize compatible early version, improve the object for the treatment of effeciency.
Master routine mentioned above, i.e. host program, as 360 mobile phone bodyguards, 360 virus killings etc.Plug-in unit refers to applets, as " antitheft " plug-in unit in 360 mobile phone bodyguards, " start is accelerated " plug-in unit, " calendar " plug-in unit, etc.In addition, the plug-in unit mark mentioned in step S102 above can be the MD5 value or SHA1 value etc. of plug-in unit.Concrete, calculated unique hash (Hash) value of plug-in unit in the embodiment of the present invention by MD5 algorithm, i.e. MD5 value.The typical apply of MD5 algorithm produces informative abstract (Message-Digest) to a segment information (Message), to prevent from being tampered.Whole file is used as a Long Binary information by MD5, by its irreversible character string mapping algorithm, creates the MD5 informative abstract that this is unique.Certainly, the cryptographic hash that the embodiment of the present invention adopts other algorithms to calculate executable file according to actual conditions is all feasible, and such as adopt SHA1 etc., the present invention does not limit this.
Further, many plug-in unit marks mentioned in step S104 above, the plug-in unit of its correspondence is all adaptive with master routine, namely can be normally mutual between plug-in unit and master routine.Further, the plug-in unit mark of some early version plug-in units in many plug-in unit marks, can be comprised, meet normal mutual.In addition, many plug-in unit marks can write in main program code, and also can write in text, text file can be stored in this locality or Cloud Server.
Search in step S104 and identify with the plug-in unit marking matched when anterior plug-in, after obtaining lookup result, corresponding plug-in unit is started according to lookup result in step S106, namely according to the difference of lookup result, the scheme starting corresponding plug-in unit in the embodiment of the present invention is also different, is introduced respectively below.
First, if lookup result is find to identify with the plug-in unit marking matched when anterior plug-in, then plug-in unit to be launched is started.Such as, many plug-in unit mark is respectively mark 1,2 and 3, wherein identifying 1,2 is all early version plug-in units, mark 3 is latest edition plug-in units, when anterior plug-in is designated mark 2, now find in many plug-in units mark (mark 1,2 and 3) and identify the plug-in unit that (identify 2) mate when anterior plug-in and identify, can directly start when anterior plug-in identifies the plug-in unit to be launched of correspondence.And in prior art, it is normal mutual that the one-to-one relationship writing dead master routine version and latest edition plug-in unit (identifying 3) in main program code ensures between the two, now when anterior plug-in mark (mark 2) is not mated with latest edition plug-in unit (identifying 3), need to download latest edition plug-in unit, will treatment effeciency be reduced like this, cause the waste of resource.
Secondly, if lookup result is do not find to identify with the plug-in unit marking matched when anterior plug-in, then from many plug-in unit marks, choose a plug-in unit mark, and then download corresponding plug-in unit according to the plug-in unit mark chosen, and start after the download is complete.Here, search less than having multiple with reason identify when anterior plug-in marking matched plug-in unit, such as plug-in unit to be launched has damage, and it changes when anterior plug-in identifies (as MD5 value), causes that it fails to match.Such as the version of plug-in unit to be launched is very old again, and it is normal mutual that it can not meet with master routine, there is not this plug-in unit mark, thus search the plug-in unit mark less than coupling in many plug-in units marks, etc.Now, need to choose a plug-in unit mark from many plug-in unit marks, and then download corresponding plug-in unit according to the plug-in unit mark chosen, wherein, the mode choosing a plug-in unit mark from many plug-in units mark has multiple, and the size as identified corresponding plug-in unit according to plug-in unit is chosen, and the user's evaluation information and for example identifying corresponding plug-in unit according to plug-in unit is chosen, for another example the version information identifying corresponding plug-in unit according to plug-in unit is chosen, etc.
In a preferred embodiment of the invention, can in the plug-in unit mark set up in advance with the corresponding relation of plug-in version, search many each self-corresponding plug-in versions of plug-in unit mark, and then according to plug-in version, a plug-in unit mark is chosen from many plug-in unit marks, such as from many plug-in unit marks, choose the plug-in unit mark that up-to-date plug-in version is corresponding.Further, if there is multiple package types in many plug-in unit marks, and often kind of corresponding one or more plug-in unit mark of package types, then can obtain the typonym of plug-in unit to be launched, the at least one plug-in unit mark that the typonym of plug-in unit to be launched is corresponding is filtered out subsequently from many plug-in unit marks, and then according to plug-in version, from least one plug-in unit mark, choose a plug-in unit mark.Such as, there are two kinds of package types in many plug-in unit marks, be respectively plug-in unit A and plug-in unit B, as shown in table 1 below, the latest edition of plug-in unit A is 2, the version 1 of the adaptive plug-in unit A of master routine and version 2, the latest edition of plug-in unit B is 1, the version 1 of the adaptive plug-in unit B of master routine, plug-in unit mark (i.e. MD5 value) of two plug-in versions of plug-in unit A is respectively A111 and A222, and plug-in unit mark (i.e. MD5 value) of the version 1 of plug-in unit B is B111.
Table 1
The typonym of plug-in unit Plug-in version The MD5 value of plug-in unit
Plug-in unit A 1 A111
Plug-in unit A 2 A222
Plug-in unit B 1 B111
If the typonym of plug-in unit to be launched is plug-in unit A, then can identify A111 and A222 from plug-in unit and choose a plug-in unit mark, such as choose the plug-in unit mark A222 of up-to-date plug-in version 2 correspondence of plug-in unit A, and then download corresponding plug-in unit according to the plug-in unit mark chosen, and start after the download is complete.It should be noted that, plugin information in table 1 is only enumerated, the information such as plugin information can also comprise plug-in unit size, briefly introduce, and then choosing of plug-in unit mark can be carried out in conjunction with plug-in version, plug-in unit size, the information such as to briefly introduce, meet diversified demand.
Further, a plug-in unit mark according to choosing downloads corresponding plug-in unit, the invention provides a kind of preferred scheme, in this scenario, according to the plug-in unit mark chosen, can generate URL, and then download corresponding plug-in unit according to URL.To choose the plug-in unit mark A222 of up-to-date plug-in version 2 correspondence of plug-in unit A in table 1, assuming that its address prefix be http://a.360.cn/plgs/, want the up-to-date plug-in version 2 of download plug-in A, the URL address of first splicing be http://a.360.cn/plgs/PlgA-2.apk, wherein PlgA indication plug unit A ,-2 indication plug unit version 2s.Then, send request download to this URL, file is called " typonym+.apk.tmp of plug-in unit ", need not write plug-in version number, as the file " PlgA.apk.tmp " by name of plug-in unit A, for downloading successfully or failure, can carry out message notifying.
In order to increase security, after plug-in download completes, before starting, need to verify the legitimacy of plug-in unit, if verification pass through, then start the plug-in unit of download, and if verification do not pass through, then the information of output verification failure.Further, the plug-in unit that plug-in unit can be utilized to identify downloading verifies, namely obtain the target plug-in mark of the plug-in unit of download, subsequently in many plug-in unit marks, search the plug-in unit marking matched with target plug-in and identify, if find, then determine that verification is passed through, the plug-in unit of download can be started, if do not find, then determine that verification is not passed through, can the information of output verification failure.Here, download and after verification succeeds, the .tmp suffix in filename can being removed, as originally downloaded early version plug-in unit, then directly covering.
In addition, backstage plug-in unit upgrade event in the embodiment of the present invention, can also be caught, obtain the plug-in unit mark of carrying out the plug-in unit of upgrading, and then identify according to the plug-in unit of the plug-in unit of upgrading, upgrade many plug-in units marks, realize upgrading in time, improve the accuracy rate of searching coupling.In addition, the present invention can also according to many plug-in unit marks, plug-in unit in background update master routine, such as, the plug-in unit mark compared when anterior plug-in identifies with many plug-in units, if there is the plug-in unit marking matched with the plug-in unit when anterior plug-in in many plug-in unit marks to identify, then judge further, when whether anterior plug-in is the plug-in unit of latest edition, does not if so, then carry out renewals and upgrade, if not, then anterior plug-in is worked as according to the plug-in unit mark upgrading of the plug-in unit of latest edition.If there is not the plug-in unit marking matched with the plug-in unit when anterior plug-in in many plug-in unit marks to identify, then search the latest edition when anterior plug-in, and then download corresponding plug-in unit according to the plug-in unit mark of the plug-in unit of latest edition.
Be described above the multiple implementation of each link in the embodiment shown in Fig. 1, introduce implementation procedure in detail below by specific embodiment.
Embodiment one
Fig. 2 shows the process flow diagram starting the method for plug-in unit in master routine in accordance with another embodiment of the present invention.As shown in Figure 2, the method at least comprises the following steps S202 to step S214.
The enabled instruction of step S202, reception plug-in unit, what obtain plug-in unit to be launched works as anterior plug-in mark.
Step S204, in the plug-in unit of correspondence all identifies with many plug-in units of master routine adaptation, search and identify with the plug-in unit marking matched when anterior plug-in, obtain lookup result, if lookup result is find to identify with the plug-in unit marking matched when anterior plug-in, then continue to perform step S206; If lookup result is do not find to identify with the plug-in unit marking matched when anterior plug-in, then continue to perform step S208.
Step S206, start plug-in unit to be launched.
Step S208, from many plug-in units mark, choose a plug-in unit mark, and then download corresponding plug-in unit according to the plug-in unit mark chosen.
Step S210, to download plug-in unit verify, if verification pass through, then continue perform step S212; If verification is not passed through, then continue to perform step S214.
The plug-in unit that step S212, startup are downloaded.
Before starting the plug-in unit downloaded, all right killing process in the embodiment of the present invention, just starts if do not enter journey, and the plug-in unit of possible early version is also in operation, various unexpected problem may be there is, as Resource Manager (resource management) conflict etc.In an embodiment of the present invention, killing process can be realized by following steps A1-A2:
Steps A 1, travel through the process of all startups, judge whether to exist the process started and belong to plug-in unit when anterior plug-in mark, if exist, then continue to perform steps A 2; If do not exist, then continue to perform steps A 3.
Steps A 2, kill the startup process of plug-in unit when anterior plug-in mark, and start new process to run the plug-in unit of download.
In this step, directly can be judged by the state of STATE, if the process that there is startup belongs to the plug-in unit when anterior plug-in mark, then call killProcess and force this process to be killed, re-create it afterwards, can not conflict when guaranteeing that process is run.
Steps A 3, directly start new process to run the plug-in unit of download.
The information of step S214, output verification failure, returns and performs step S208.
In the embodiment of the present invention, search in many plug-in unit marks and identify with the plug-in unit marking matched when anterior plug-in, identify with the plug-in unit marking matched when anterior plug-in if find, just plug-in unit to be launched can directly be started, identify less than with the plug-in unit marking matched when anterior plug-in if search, then download the plug-in unit with master routine adaptation.Further, after plug-in download completes, before starting, the legitimacy of plug-in unit is verified, add the security of system.
Embodiment two
Backstage plug-in unit upgrade event can also be caught in the embodiment of the present invention, obtain the plug-in unit mark of carrying out the plug-in unit of upgrading, and then identify according to the plug-in unit of the plug-in unit of upgrading, upgrade many plug-in units marks, realize upgrading in time, improve the accuracy rate of searching coupling.Fig. 3 shows the process flow diagram of the method for backstage plug-in unit upgrading according to an embodiment of the invention.As shown in Figure 3, the method at least comprises the following steps S302 to step S314.
Step S302, catch backstage plug-in unit upgrade event, obtain the plug-in unit mark of plug-in unit to be upgraded.
Here, catching backstage plug-in unit upgrade event can realize in several ways, such as, pre-set update time or upgrade event that certain pre-sets is triggered etc.
The plug-in unit mark of step S304, plug-in unit more to be upgraded identifies with many plug-in units, judges whether the plug-in version of plug-in unit to be upgraded is latest edition, if so, then continues to perform step S306; If not, then continue to perform step S308.
Step S306, do not carry out updating operation, return step S302.
Step S308, from many plug-in units mark, choose the plug-in unit mark of the latest edition of corresponding plug-in unit, and then download corresponding plug-in unit according to the plug-in unit mark of latest edition.
Step S310, to download plug-in unit verify, if verification pass through, then continue perform step S312; If verification is not passed through, then continue to perform step S314.
The plug-in unit that step S312, utilization are downloaded carries out plug-in unit upgrading.
The information of step S314, output verification failure, returns and performs step S308.
In the embodiment of the present invention, according to many plug-in unit marks, the plug-in unit in background update master routine.Further, backstage plug-in unit upgrade event can also be caught, obtain the plug-in unit mark of carrying out the plug-in unit of upgrading, and then identify according to the plug-in unit of the plug-in unit of upgrading, upgrade many plug-in units marks, realize upgrading in time, improve the accuracy rate of searching coupling.
It should be noted that, in practical application, above-mentioned all Alternate embodiments can adopt the mode combination in any of combination, and form optional embodiment of the present invention, this is no longer going to repeat them.
Based on same inventive concept, the embodiment of the present invention additionally provides the device starting plug-in unit in a kind of master routine.Fig. 4 shows the structural representation starting the device of plug-in unit in master routine according to an embodiment of the invention.As shown in Figure 4, this device at least can comprise: acquisition module 410, search module 420 and start module 430.
Now introduce the annexation between each composition of the device starting plug-in unit in the master routine of the embodiment of the present invention or the function of device and each several part:
Acquisition module 410, is suitable for when receiving the enabled instruction of plug-in unit, and what obtain plug-in unit to be launched works as anterior plug-in mark;
Search module 420, be coupled with acquisition module 410, be suitable in the plug-in unit of its correspondence all identifies with many plug-in units of master routine adaptation, search and identify with the plug-in unit marking matched when anterior plug-in, obtain lookup result;
Start module 430, and search module 420 and be coupled, be suitable for starting corresponding plug-in unit according to lookup result.
Here, what acquisition module 410 obtained works as the MD5 value or SHA1 value etc. that anterior plug-in mark can be plug-in unit.Concrete, calculated unique hash (Hash) value of plug-in unit in the embodiment of the present invention by MD5 algorithm, i.e. MD5 value.The typical apply of MD5 algorithm produces informative abstract (Message-Digest) to a segment information (Message), to prevent from being tampered.Whole file is used as a Long Binary information by MD5, by its irreversible character string mapping algorithm, creates the MD5 informative abstract that this is unique.Certainly, the cryptographic hash that the embodiment of the present invention adopts other algorithms to calculate executable file according to actual conditions is all feasible, and such as adopt SHA1 etc., the present invention does not limit this.
Further, search many plug-in unit marks mentioned in module 420, the plug-in unit of its correspondence is all adaptive with master routine, namely can be normally mutual between plug-in unit and master routine.Further, the plug-in unit mark of some early version plug-in units in many plug-in unit marks, can be comprised, meet normal mutual.In addition, many plug-in unit marks can write in main program code, and also can write in text, text file can be stored in this locality or Cloud Server.
In one embodiment of the invention, above-mentioned startup module 430 is also suitable for: if lookup result is find to identify with the plug-in unit marking matched when anterior plug-in, then start plug-in unit to be launched; If lookup result is do not find to identify with the plug-in unit marking matched when anterior plug-in, then from many plug-in unit marks, choose a plug-in unit mark, and then download corresponding plug-in unit according to the plug-in unit mark chosen, and start after the download is complete.
In one embodiment of the invention, above-mentioned startup module 430 is also suitable for: in the plug-in unit mark set up in advance with the corresponding relation of plug-in version, searches many each self-corresponding plug-in versions of plug-in unit mark; According to plug-in version, from many plug-in unit marks, choose a plug-in unit mark.
In one embodiment of the invention, above-mentioned startup module 430 is also suitable for: if there is multiple package types in many plug-in unit marks, and often kind of corresponding one or more plug-in unit mark of package types; Obtain the typonym of plug-in unit to be launched; At least one plug-in unit mark that the typonym of plug-in unit to be launched is corresponding is filtered out from many plug-in unit marks; According to plug-in version, from least one plug-in unit mark, choose a plug-in unit mark.
In one embodiment of the invention, above-mentioned startup module 430 is also suitable for: from many plug-in unit marks, choose the plug-in unit mark that up-to-date plug-in version is corresponding.
In one embodiment of the invention, above-mentioned startup module 430 is also suitable for: according to the plug-in unit mark chosen, generate URL; Corresponding plug-in unit is downloaded according to URL.
In one embodiment of the invention, Fig. 5 shows the structural representation starting the device of plug-in unit in master routine in accordance with another embodiment of the present invention.As shown in Figure 5, this device can also comprise: correction verification module 510, is coupled, is suitable for after the download is complete with startup module 430, before starting, verifies the plug-in unit downloaded, if verification is passed through, then starts the plug-in unit of download; And if verification is not passed through, then the information of output verification failure.
In one embodiment of the invention, above-mentioned correction verification module 510 is also suitable for: the target plug-in mark obtaining the plug-in unit downloaded; In many plug-in unit marks, search the plug-in unit marking matched with target plug-in and identify; If find, then determine that verification is passed through; If do not find, then determine that verification is not passed through.
In one embodiment of the invention, plug-in unit mark comprise following one of at least:
The message digest algorithm MD5 value of plug-in unit;
The Secure Hash Algorithm SHA1 value of plug-in unit.
In one embodiment of the invention, the device shown in Fig. 5 can also comprise: update module 520, and searches module 420 and is coupled, and is suitable for catching backstage plug-in unit upgrade event, obtains the plug-in unit mark of carrying out the plug-in unit of upgrading; According to the plug-in unit mark of the plug-in unit of upgrading, upgrade many plug-in unit marks.
In one embodiment of the invention, after the download is complete, before starting, above-mentioned startup module 430 is also suitable for: the process traveling through all startups, judges whether that the process of existence startup belongs to the plug-in unit when anterior plug-in mark; If exist, then kill the startup process of the plug-in unit when anterior plug-in mark, and start new process to run the plug-in unit downloaded.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of terminal, comprising:
Storer;
One or more processor;
Wherein, described one or more processor is configured to perform following method:
When receiving the enabled instruction of plug-in unit, what obtain plug-in unit to be launched works as anterior plug-in mark;
In the plug-in unit of correspondence all identifies with many plug-in units of described master routine adaptation, search and identify with the described plug-in unit marking matched when anterior plug-in, obtain lookup result;
Corresponding plug-in unit is started according to described lookup result.
According to the combination of any one preferred embodiment above-mentioned or multiple preferred embodiment, the embodiment of the present invention can reach following beneficial effect:
In the embodiment of the present invention, there are many plug-in unit marks, the plug-in unit (type of plug-in unit can be one or more) of its correspondence is all adaptive with master routine.When receiving the enabled instruction of plug-in unit, and get plug-in unit to be launched when anterior plug-in identifies, can search in many plug-in unit marks and identify with the plug-in unit marking matched when anterior plug-in, use fixing plug-in unit mark compared to being merely able in prior art, the technical scheme that the embodiment of the present invention provides can improve the matching rate of plug-in unit mark.Further, identify with the plug-in unit marking matched when anterior plug-in owing to finding, just plug-in unit to be launched can directly be started, search and identify less than with the plug-in unit marking matched when anterior plug-in, the further plug-in unit needing download and master routine adaptation, thus, the present invention can reduce the number of times of download when the marking matched rate of plug-in unit is higher, improves treatment effeciency.And, the plug-in unit mark of some early version plug-in units can be comprised in many plug-in units mark provided by the invention, when being early version plug-in unit for plug-in unit to be launched like this, the present invention still can search that the match is successful, thus solve in prior art can think by mistake when master routine calls early version plug-in unit be lost efficacy plug-in unit and be not called, cause the problems such as the wasting of resources, realize compatible early version, improve the object for the treatment of effeciency.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in detail in the claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions starting the some or all parts in the device of plug-in unit in the master routine that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although multiple exemplary embodiment of the present invention is illustrate and described herein detailed, but, without departing from the spirit and scope of the present invention, still can directly determine or derive other modification many or amendment of meeting the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or amendments.
The invention also discloses: a kind of method starting plug-in unit in A1, master routine, comprising:
When receiving the enabled instruction of plug-in unit, what obtain plug-in unit to be launched works as anterior plug-in mark;
In the plug-in unit of correspondence all identifies with many plug-in units of described master routine adaptation, search and identify with the described plug-in unit marking matched when anterior plug-in, obtain lookup result;
Corresponding plug-in unit is started according to described lookup result.
A2, method according to A1, wherein, start corresponding plug-in unit according to described lookup result, comprising:
If described lookup result is find to identify with the described plug-in unit marking matched when anterior plug-in, then start described plug-in unit to be launched;
If described lookup result is do not find to identify with the described plug-in unit marking matched when anterior plug-in, then from described many plug-in units mark, choose a plug-in unit mark, and then download corresponding plug-in unit according to the described plug-in unit mark chosen, and start after the download is complete.
A3, method according to A2, wherein, from described many plug-in units mark, choose a plug-in unit mark, comprising:
In the plug-in unit mark set up in advance with the corresponding relation of plug-in version, search each self-corresponding plug-in version of described many plug-in units mark;
According to described plug-in version, from described many plug-in units mark, choose a plug-in unit mark.
A4, method according to A3, wherein, if there is multiple package types in described many plug-in units mark, and often kind of corresponding one or more plug-in unit mark of package types;
According to described plug-in version, from described many plug-in units mark, choose a plug-in unit mark, comprising:
Obtain the typonym of described plug-in unit to be launched;
At least one plug-in unit mark that the typonym of described plug-in unit to be launched is corresponding is filtered out from described many plug-in units mark;
According to described plug-in version, from described at least one plug-in unit mark, choose a plug-in unit mark.
A5, method according to A3 or A4, wherein, according to described plug-in version, from described many plug-in units mark, choose a plug-in unit mark, comprising:
From described many plug-in units mark, choose the plug-in unit mark that up-to-date plug-in version is corresponding.
A6, method according to any one of A2-A5, wherein, download corresponding plug-in unit according to the described plug-in unit mark chosen, comprising:
According to the described plug-in unit mark chosen, generate uniform resource position mark URL;
Corresponding plug-in unit is downloaded according to described URL.
A7, method according to any one of A2-A6, wherein, after the download is complete described, before starting, also comprise:
The plug-in unit downloaded is verified, if verification is passed through, then starts the plug-in unit of described download; And
If verification is not passed through, then the information of output verification failure.
A8, method according to A7, wherein, the described plug-in unit to downloading verifies, and comprising:
Obtain the target plug-in mark of the plug-in unit of described download;
In described many plug-in units mark, search the plug-in unit marking matched with described target plug-in and identify;
If find, then determine that verification is passed through;
If do not find, then determine that verification is not passed through.
A9, method according to any one of A1-A8, wherein, described plug-in unit mark comprise following one of at least:
The message digest algorithm MD5 value of plug-in unit;
The Secure Hash Algorithm SHA1 value of plug-in unit.
A10, method according to any one of A1-A9, wherein, also comprise:
Catch backstage plug-in unit upgrade event, obtain the plug-in unit mark of carrying out the plug-in unit of upgrading;
Plug-in unit according to the plug-in unit of described upgrading identifies, and upgrades described many plug-in units mark.
A11, method according to any one of A1-A10, wherein, after the download is complete described, before starting, also comprise:
Travel through the process of all startups, judge whether that there is the process started belongs to the described plug-in unit when anterior plug-in mark;
If exist, then kill the startup process of the described plug-in unit when anterior plug-in mark, and start new process to run the plug-in unit of described download.
Start the device of plug-in unit in B12, a kind of master routine, comprising:
Acquisition module, is suitable for when receiving the enabled instruction of plug-in unit, and what obtain plug-in unit to be launched works as anterior plug-in mark;
Search module, be suitable in the plug-in unit of its correspondence all identifies with many plug-in units of described master routine adaptation, search and identify with the described plug-in unit marking matched when anterior plug-in, obtain lookup result;
Start module, be suitable for starting corresponding plug-in unit according to described lookup result.
B13, device according to B12, wherein, described startup module is also suitable for:
If described lookup result is find to identify with the described plug-in unit marking matched when anterior plug-in, then start described plug-in unit to be launched;
If described lookup result is do not find to identify with the described plug-in unit marking matched when anterior plug-in, then from described many plug-in units mark, choose a plug-in unit mark, and then download corresponding plug-in unit according to the described plug-in unit mark chosen, and start after the download is complete.
B14, device according to B13, wherein, described startup module is also suitable for:
In the plug-in unit mark set up in advance with the corresponding relation of plug-in version, search each self-corresponding plug-in version of described many plug-in units mark;
According to described plug-in version, from described many plug-in units mark, choose a plug-in unit mark.
B15, device according to B14, wherein, described startup module is also suitable for:
If there is multiple package types in described many plug-in units mark, and often kind of corresponding one or more plug-in unit mark of package types;
Obtain the typonym of described plug-in unit to be launched;
At least one plug-in unit mark that the typonym of described plug-in unit to be launched is corresponding is filtered out from described many plug-in units mark;
According to described plug-in version, from described at least one plug-in unit mark, choose a plug-in unit mark.
B16, device according to B14 or B15, wherein, described startup module is also suitable for:
From described many plug-in units mark, choose the plug-in unit mark that up-to-date plug-in version is corresponding.
B17, device according to any one of B13-B16, wherein, described startup module is also suitable for:
According to the described plug-in unit mark chosen, generate uniform resource position mark URL;
Corresponding plug-in unit is downloaded according to described URL.
B18, device according to any one of B13-B17, wherein, also comprise:
Correction verification module, described in being suitable for after the download is complete, before starting, verifies the plug-in unit downloaded, if verification is passed through, then starts the plug-in unit of described download; And if verification is not passed through, then the information of output verification failure.
B19, device according to B18, wherein, described correction verification module is also suitable for:
Obtain the target plug-in mark of the plug-in unit of described download;
In described many plug-in units mark, search the plug-in unit marking matched with described target plug-in and identify;
If find, then determine that verification is passed through;
If do not find, then determine that verification is not passed through.
B20, device according to any one of B12-B19, wherein, described plug-in unit mark comprise following one of at least:
The message digest algorithm MD5 value of plug-in unit;
The Secure Hash Algorithm SHA1 value of plug-in unit.
B21, device according to any one of B12-B20, wherein, also comprise:
Update module, is suitable for catching backstage plug-in unit upgrade event, obtains the plug-in unit mark of carrying out the plug-in unit of upgrading; Plug-in unit according to the plug-in unit of described upgrading identifies, and upgrades described many plug-in units mark.
B22, device according to any one of B12-B21, wherein, after the download is complete described, before starting, described startup module is also suitable for:
Travel through the process of all startups, judge whether that there is the process started belongs to the described plug-in unit when anterior plug-in mark;
If exist, then kill the startup process of the described plug-in unit when anterior plug-in mark, and start new process to run the plug-in unit of described download.
C23, a kind of terminal, comprising:
Storer;
One or more processor;
Wherein, described one or more processor is configured to perform following method:
When receiving the enabled instruction of plug-in unit, what obtain plug-in unit to be launched works as anterior plug-in mark;
In the plug-in unit of correspondence all identifies with many plug-in units of described master routine adaptation, search and identify with the described plug-in unit marking matched when anterior plug-in, obtain lookup result;
Corresponding plug-in unit is started according to described lookup result.

Claims (10)

1. start a method for plug-in unit in master routine, comprising:
When receiving the enabled instruction of plug-in unit, what obtain plug-in unit to be launched works as anterior plug-in mark;
In the plug-in unit of correspondence all identifies with many plug-in units of described master routine adaptation, search and identify with the described plug-in unit marking matched when anterior plug-in, obtain lookup result;
Corresponding plug-in unit is started according to described lookup result.
2. method according to claim 1, wherein, starts corresponding plug-in unit according to described lookup result, comprising:
If described lookup result is find to identify with the described plug-in unit marking matched when anterior plug-in, then start described plug-in unit to be launched;
If described lookup result is do not find to identify with the described plug-in unit marking matched when anterior plug-in, then from described many plug-in units mark, choose a plug-in unit mark, and then download corresponding plug-in unit according to the described plug-in unit mark chosen, and start after the download is complete.
3. method according to claim 2, wherein, from described many plug-in units mark, choose a plug-in unit mark, comprising:
In the plug-in unit mark set up in advance with the corresponding relation of plug-in version, search each self-corresponding plug-in version of described many plug-in units mark;
According to described plug-in version, from described many plug-in units mark, choose a plug-in unit mark.
4. method according to claim 3, wherein, if there is multiple package types in described many plug-in units mark, and often kind of corresponding one or more plug-in unit mark of package types;
According to described plug-in version, from described many plug-in units mark, choose a plug-in unit mark, comprising:
Obtain the typonym of described plug-in unit to be launched;
At least one plug-in unit mark that the typonym of described plug-in unit to be launched is corresponding is filtered out from described many plug-in units mark;
According to described plug-in version, from described at least one plug-in unit mark, choose a plug-in unit mark.
5. the method according to claim 3 or 4, wherein, according to described plug-in version, from described many plug-in units mark, choose a plug-in unit mark, comprising:
From described many plug-in units mark, choose the plug-in unit mark that up-to-date plug-in version is corresponding.
6. the method according to any one of claim 2-5, wherein, download corresponding plug-in unit according to the described plug-in unit mark chosen, comprising:
According to the described plug-in unit mark chosen, generate uniform resource position mark URL;
Corresponding plug-in unit is downloaded according to described URL.
7. the method according to any one of claim 2-6, wherein, after the download is complete described, before starting, also comprise:
The plug-in unit downloaded is verified, if verification is passed through, then starts the plug-in unit of described download; And
If verification is not passed through, then the information of output verification failure.
8. method according to claim 7, wherein, the described plug-in unit to downloading verifies, and comprising:
Obtain the target plug-in mark of the plug-in unit of described download;
In described many plug-in units mark, search the plug-in unit marking matched with described target plug-in and identify;
If find, then determine that verification is passed through;
If do not find, then determine that verification is not passed through.
9. start a device for plug-in unit in master routine, comprising:
Acquisition module, is suitable for when receiving the enabled instruction of plug-in unit, and what obtain plug-in unit to be launched works as anterior plug-in mark;
Search module, be suitable in the plug-in unit of its correspondence all identifies with many plug-in units of described master routine adaptation, search and identify with the described plug-in unit marking matched when anterior plug-in, obtain lookup result;
Start module, be suitable for starting corresponding plug-in unit according to described lookup result.
10. a terminal, comprising:
Storer;
One or more processor;
Wherein, described one or more processor is configured to perform following method:
When receiving the enabled instruction of plug-in unit, what obtain plug-in unit to be launched works as anterior plug-in mark;
In the plug-in unit of correspondence all identifies with many plug-in units of described master routine adaptation, search and identify with the described plug-in unit marking matched when anterior plug-in, obtain lookup result;
Corresponding plug-in unit is started according to described lookup result.
CN201510142838.9A 2015-03-27 2015-03-27 Mastery routine starts the method and device of plug-in unit Active CN104731623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510142838.9A CN104731623B (en) 2015-03-27 2015-03-27 Mastery routine starts the method and device of plug-in unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510142838.9A CN104731623B (en) 2015-03-27 2015-03-27 Mastery routine starts the method and device of plug-in unit

Publications (2)

Publication Number Publication Date
CN104731623A true CN104731623A (en) 2015-06-24
CN104731623B CN104731623B (en) 2016-11-16

Family

ID=53455541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510142838.9A Active CN104731623B (en) 2015-03-27 2015-03-27 Mastery routine starts the method and device of plug-in unit

Country Status (1)

Country Link
CN (1) CN104731623B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487886A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Method and device for loading plugin
CN106021367A (en) * 2016-05-10 2016-10-12 腾讯科技(深圳)有限公司 Method for searching backup data, and terminal
CN106934272A (en) * 2017-02-09 2017-07-07 北京奇虎科技有限公司 The method of calibration and device of a kind of application message
CN107977410A (en) * 2017-11-21 2018-05-01 掌阅科技股份有限公司 Bookshelf management method and electronic equipment based on e-book application
CN109660684A (en) * 2017-10-10 2019-04-19 佳能株式会社 Image processing apparatus and its control method and storage medium
TWI724424B (en) * 2019-05-17 2021-04-11 英商鼎通盛股份有限公司 Method for accelerating verification process in a booting procedure and computer system thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699405A (en) * 2009-10-26 2010-04-28 中兴通讯股份有限公司 Method and device for interaction between host program and plug-in and interaction between plug-ins
US8667478B1 (en) * 2010-09-17 2014-03-04 Emc Corporation Backward-compatibility using a plugin architecture

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101699405A (en) * 2009-10-26 2010-04-28 中兴通讯股份有限公司 Method and device for interaction between host program and plug-in and interaction between plug-ins
US8667478B1 (en) * 2010-09-17 2014-03-04 Emc Corporation Backward-compatibility using a plugin architecture

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105487886A (en) * 2015-11-24 2016-04-13 小米科技有限责任公司 Method and device for loading plugin
CN106021367A (en) * 2016-05-10 2016-10-12 腾讯科技(深圳)有限公司 Method for searching backup data, and terminal
CN106934272A (en) * 2017-02-09 2017-07-07 北京奇虎科技有限公司 The method of calibration and device of a kind of application message
CN109660684A (en) * 2017-10-10 2019-04-19 佳能株式会社 Image processing apparatus and its control method and storage medium
CN109660684B (en) * 2017-10-10 2021-02-05 佳能株式会社 Image processing apparatus, control method thereof, and storage medium
US11176633B2 (en) 2017-10-10 2021-11-16 Canon Kabushiki Kaisha Image processing apparatus, method for controlling the same, and non-transitory computer-readable storage medium
CN107977410A (en) * 2017-11-21 2018-05-01 掌阅科技股份有限公司 Bookshelf management method and electronic equipment based on e-book application
TWI724424B (en) * 2019-05-17 2021-04-11 英商鼎通盛股份有限公司 Method for accelerating verification process in a booting procedure and computer system thereof

Also Published As

Publication number Publication date
CN104731623B (en) 2016-11-16

Similar Documents

Publication Publication Date Title
CN104731623A (en) Method and device for starting plug-in in main program
CN104731625B (en) A kind of method, apparatus and mobile terminal loading plug-in unit
CN107346252B (en) Application updating method and device
CN102830992B (en) Plug-in loading method and system
CN103647816A (en) Method and device for upgrading application software
CN104717301B (en) Plug-in download method and device
CN104699511A (en) Plug-in upgrading method and plug-in upgrading device
CN107748668B (en) Method and device for upgrading application program
US7665081B1 (en) System and method for difference-based software updating
CN102982258B (en) A kind of system of mobile applications being carried out to master verification
CN111381858B (en) Application program upgrading method, server and terminal equipment
CN104346167A (en) Method and device for generating application channel package
CN106815049B (en) Method and device for upgrading feature library
CN108540509B (en) Processing method and device of terminal browser, server and intelligent terminal
CN104683303A (en) APP (application) management method
CN111459511B (en) Application program downloading method and device and electronic equipment
CN110543324B (en) Plug-in increment updating method and device for application program
US11876676B2 (en) Network node firmware update
CN104715199A (en) Method and device for identifying viral APK (Android application package file)
CN110716786B (en) Page display method, system and storage medium
CN109710287B (en) Hot updating method, device and computer storage medium
CN113312073B (en) Installation package file processing method and related device
CN113791809B (en) Application exception handling method and device and computer readable storage medium
CN106155709B (en) Plug-in loading method, device and equipment
CN114296777A (en) Software upgrading method, device, server and computer readable storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220720

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right