CN103297479B - A kind of Distributed Detection method and device of plug-in unit upgrading - Google Patents
A kind of Distributed Detection method and device of plug-in unit upgrading Download PDFInfo
- Publication number
- CN103297479B CN103297479B CN201210054780.9A CN201210054780A CN103297479B CN 103297479 B CN103297479 B CN 103297479B CN 201210054780 A CN201210054780 A CN 201210054780A CN 103297479 B CN103297479 B CN 103297479B
- Authority
- CN
- China
- Prior art keywords
- software
- unit
- plug
- upgrading
- basic element
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 43
- 238000000034 method Methods 0.000 claims abstract description 41
- 230000008569 process Effects 0.000 claims abstract description 31
- 230000008878 coupling Effects 0.000 claims description 13
- 238000010168 coupling process Methods 0.000 claims description 13
- 238000005859 coupling reaction Methods 0.000 claims description 13
- 230000001360 synchronised effect Effects 0.000 claims description 11
- 238000012544 monitoring process Methods 0.000 claims description 8
- 238000009795 derivation Methods 0.000 claims description 7
- 239000000203 mixture Substances 0.000 claims description 4
- 238000009826 distribution Methods 0.000 claims description 3
- 230000013011 mating Effects 0.000 claims 1
- 230000008859 change Effects 0.000 abstract description 3
- 238000000354 decomposition reaction Methods 0.000 description 7
- 229910002056 binary alloy Inorganic materials 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000000576 coating method Methods 0.000 description 2
- 230000000875 corresponding effect Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000003860 storage Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 239000011248 coating agent Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
- 238000012857 repacking Methods 0.000 description 1
- 230000007480 spreading Effects 0.000 description 1
- 238000003892 spreading Methods 0.000 description 1
- 238000007619 statistical method Methods 0.000 description 1
- 238000010408 sweeping Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses the Distributed Detection method and device of a kind of plug-in unit upgrading, in plug-in unit escalation process, when scanning the basic element of the currently employed IM software of client, the detection tool device that server side is arranged uses parallel mode to be scanned, will the process of the existing basic element scanning the currently employed IM software of client with file for unit serial successively, change to the process of the basic element of the IM software currently employed for unit parallel scan client with subtask, each subtask is made up of at least one file in the currently employed IM software of client.So, just improve the speed of the basic element of the currently employed IM software of scanning client, thus improve the efficiency of network side release upgrade plug-in unit, the iteratively faster demand for upgrading plug-in unit is cleared away the obstacles.
Description
Technical field
The present invention relates to instant messaging (IM, Instant Messaging) technology, particularly to dividing that a kind of plug-in unit is upgraded
Cloth detection method and device.
Background technology
Along with sending out of computer networking technology and 3G (Third Generation) Moblie (3G, 3rd Generation) Internet technology
Exhibition, instant messaging (IM) the software tool application on the Internet is more and more universal, and IM software tool is by most user
Accepted and become a requisite part in the exchanges and communication of user's daily life, work.Along with popularizing of IM software,
Chat feature single in IM software tool in early days can not meet the diversified demand of user, increasing operator the most
Starting to pay attention to loading various Internet service on IM software, in order to form the plug-in unit mode of IM software, to meet user diversified
Demand, user is by installing the IM software existed with binary system dynamic link library (DLL, Dynamic Link Library) form
Plug-in unit, its various Internet services provided by IM software can be provided.
At present, the plug-in unit of IM software, it is packaged in IM software, is downloaded in company with IM software and is used by user installation,
If operator needs to upgrade the plug-in unit of IM software, such as, expand new charge or free Internet service, need
Again the plug-in unit of upgrading is packaged in the IM software of original IM software or upgrading, then releases.So, if user
In order to experience new Internet service, by downloading the IM software carrying new Internet service, after successfully installing, can be experienced this
The new Internet service of IM software carrying.
The above-mentioned method realizing plug-in unit upgrading, the upgrading of plug-in unit each time, it is required for repacking the plug-in unit of upgrading
IM software is issued, even with same IM software, as long as the plug-in unit of its packing to be upgraded, it is necessary to inserting upgrading again
Part carries out being packaged in this IM software, is distributed to user and reinstalls, and this not only makes the service coverage rate of identical IM software relatively
Process low, server updating plug-in unit is loaded down with trivial details and increases cost, and the operation that user obtains new Internet service is relatively complicated, also
Making user network flow relatively big, user cost rises.
In order to overcome this problem, detection tool device, the IM software that monitoring upgrading plug-in unit is relied on are set at network side
Basic element, the basic element of the IM software that scanning client is currently employed, it is determined whether coupling, to the described visitor matched
Family end issues plug-in unit to be upgraded, described in the client that matches just can be directly based upon currently employed IM software and install and upgrade
Plug-in unit.Wherein, the basic element of IM software includes: derive function, interface, enumerated value and structure.Adopt and enter in this way
During the upgrading of row plug-in unit, network side needs to scan the basic element of the currently employed IM software of client, and scanning can expend in a large number
Time, directly affect the efficiency of network side release upgrade plug-in unit, hamper upgrading plug-in unit iteratively faster demand.
Summary of the invention
In view of this, the present invention proposes the Distributed Detection method of a kind of plug-in unit upgrading, and the method can be upgraded at plug-in unit
During improve the speed of basic element of the scanning currently employed IM software of client, improve network side release upgrade plug-in unit
Efficiency, for upgrading plug-in unit iteratively faster demand clear away the obstacles.
The invention allows for the distribution detection device of a kind of plug-in unit upgrading, this device can be in plug-in unit escalation process
Improve the speed of the basic element of the currently employed IM software of scanning client, improve the effect of network side release upgrade plug-in unit
Rate, the iteratively faster demand for upgrading plug-in unit is cleared away the obstacles.
For reaching above-mentioned purpose, the technical scheme is that and be achieved in that:
A kind of Distributed Detection method of plug-in unit upgrading, the method includes:
The basic element of the IM software of upgrading the called version of plug-in unit is obtained by the detection tool device arranged;
Access client, obtains the IM software of client;
The task of scanning the IM software of described client is divided into multiple subtask, many height that parallel scan is divided
Task;
The basic element of the IM software of acquisition and upgrading the called version of plug-in unit is with the basic element of the IM software of type;
Obtain the client that the basic element of the IM software with described the called version of upgrading plug-in unit matches, to coupling
Client release upgrade software.
The process of the basic element of the described IM software obtaining upgrading the called version of plug-in unit is:
The task of scanning the IM software of described the called version of upgrading plug-in unit is divided into multiple subtask, parallel scan institute
The multiple subtasks divided, obtain the basic element of the IM software of described the called version of upgrading plug-in unit.
Described subtask uses synchronous regime mark and label, when described subtask is not scanned, and its synchronous regime mark mark
Will is for being not fully complete, and after described subtask has been scanned, its synchronous regime mark and label is for completing;
When all of described subtask status indicator has been,
The scan task of the IM software of described client completes;Or, the IM software of described the called version of upgrading plug-in unit
Scan task completes.
Described division subtask is that the service processes of the detection tool device arranged by server side completes;
Multiple subtasks that described parallel scan is divided are performed body by multiple physics and have worked in coordination with, each physics
Execution body calls source scan function and performs at least one subtask, and described physics performs body and supervised by set monitoring process
Control.
The basic element of the IM software of described acquisition and upgrading the called version of plug-in unit is with the unit substantially of the IM software of type
Element, including: interface, enumerated value and structure;
In described basic element in the file of the IM software that also included derivation element is resolved client-side by server side
The structure performing body PE file obtains.
A kind of distribution detection device of plug-in unit upgrading, this device also includes scan module, matching module and release module,
Wherein,
Scan module, for obtaining the basic element of the IM software of upgrading the called version of plug-in unit, access client, obtains
The IM software of client;The task of scanning the IM software of described client is divided into multiple subtask, and parallel scan is divided
Multiple subtasks;The basic element of the IM software of acquisition and upgrading the called version of plug-in unit is with the unit substantially of the IM software of type
Element;
Matching module, for obtaining the visitor that the basic element of the IM software with described the called version of upgrading plug-in unit matches
Family end;
For the client release upgrade software obtained to described matching module.
In described scan module, also include the IM software scans submodule of upgrading the called version of plug-in unit, for scanning
The task of the IM software of described the called version of upgrading plug-in unit is divided into multiple subtask, and many height that parallel scan is divided are appointed
Business, obtains the basic element of the IM software of described the called version of upgrading plug-in unit.
Also include relevant database, for storing multiple subtasks that scan module is divided, store and upgrade plug-in unit
The basic element of the IM software of called version is with the basic element of the IM software of type;
Described scan module also including, multiple physics performs body, is drawn for getting respectively from relevant database
Point multiple subtasks, be scanned respectively, obtain and the same type of basic element of IM software of upgrading the called version of plug-in unit
The basic element of IM software, store in relevant database;
Described matching module, is additionally operable to, when coupling, obtain upgrading the called version of plug-in unit from relevant database
The basic element of IM software is with the basic element of the IM software of type.
The plurality of physics performs body, includes monitoring module respectively, has not in monitor and detection to relevant database
During the subtask scanned, self call this subtask;And monitor the process of other physics execution swept-volume subtask.
From such scheme it can be seen that the present invention is plug-in unit escalation process, at the IM that scanning client is currently employed
During the basic element of software, the detection tool device that server side is arranged uses parallel mode to be scanned, will existing with
File is the process that unit serial scans the basic element of the currently employed IM software of client successively, changes to subtask
For the process of the basic element of the currently employed IM software of unit parallel scan client, each subtask is current by client
At least one file in the IM software used is constituted.So, the IM that just improve scanning client currently employed is soft
The speed of the basic element of part, thus improve the efficiency of network side release upgrade plug-in unit, the iteratively faster for upgrading plug-in unit needs
Ask and clear away the obstacles.
Accompanying drawing explanation
Fig. 1 is the subtask decomposition chart of the IM software of embodiment of the present invention client;
The detection method flow chart of the plug-in unit upgrading that Fig. 2 provides for the embodiment of the present invention;
The method flow diagram of the IM software of the scanning client that Fig. 3 provides for the embodiment of the present invention;
The structure of the detecting device figure of the plug-in unit upgrading that Fig. 4 provides for the embodiment of the present invention;
The server-side architecture schematic diagram that Fig. 5 provides for the embodiment of the present invention.
Detailed description of the invention
For making the object, technical solutions and advantages of the present invention clearer, the most right
The present invention is described in further detail.
In prior art, detection tool device is set at network side and upgrades during plug-in unit carrying out, the most long
Reason is exactly long in the time of the basic element scanning the currently employed IM software of client.In prior art, sweeping
The process of the basic element retouching the currently employed IM software of client is: scans client with file successively for unit serial and works as
The basic element of front used IM software.
In order to overcome this problem, the present invention is in plug-in unit escalation process, and the IM currently employed in scanning client is soft
During the basic element of part, the detection tool device that server side is arranged uses parallel mode to be scanned, will be existing with literary composition
Part is the process that unit serial scans the basic element of the currently employed IM software of client successively, change to subtask be
The process of the basic element of the IM software that unit parallel scan client is currently employed, each subtask is by the current institute of client
At least one file in the IM software used is constituted.
So, just improve the speed of the basic element of the currently employed IM software of scanning client, thus improve
The efficiency of network side release upgrade plug-in unit, the iteratively faster demand for upgrading plug-in unit is cleared away the obstacles.
In embodiments of the present invention, the upgrading plug-in unit of IM software is presented in binary system DLL, by calling IM software
The common base service document provided realizes various Internet service, and is supplied to client use.Each upgrading plug-in unit is in function
Upper independent of one another.The common base service document that IM software provides, including data structure, network service and file system, maps
On the source code of IM software, it is presented as calling the basic element deriving function, interface, enumerated value and structure etc., passes through
The statistical analysis of data structure, network service and file system that different types of IM software provides is obtained: dissimilar
IM software, it is derived in the source code of function, interface, enumerated value and structure, does not haves corresponding identical source code,
With the IM software of type, corresponding source code is the most identical.For example, the derivation function of type-A IM software will not be with B class
The derivation function of type IM software is identical, and interface, enumerated value and the structure of type-A IM software the most respectively will not be with B type IM
The interface of software, enumerated value and structure are identical.
When the detection tool device of server side carries out the detection of plug-in unit upgrading, scanning step therein and coupling step are
Two committed steps, scanning step therein is the topmost time-consuming point in server side, for the upgrading of a plug-in software, its
Average time-consuming at about 20 hours.This time-consuming expense, it is clear that cannot meet the needs of quickly upgrading of multiple plug-in unit, therefore,
It is accomplished by reducing the time-consuming duration of scanning step.
Therefore, the embodiment of the present invention, during the basic element scanning the currently employed IM software of client, services
The detection tool device of device side uses parallel form to be scanned, i.e. with subtask for the current institute of unit parallel scan client
The basic element of the IM software used, each subtask is made up of at least one file in the IM software of client.
In this manner it is possible to the time-consuming expense allowing to carry out the detection process of plug-in unit upgrading is greatly improved, control
Within 2 hours, fully meet the needs of quickly upgrading of multiple plug-in unit.
Specifically, it is simply that the currently employed IM software of client includes multiple file, and these multiple files include all
As derived the same type of basic element of function, interface, enumerated value and structure etc. and the IM software of upgrading version that plug-in unit calls
Basic element, derivation function therein uses binary system DLL to represent, time-consuming in scanning process, so the present invention implements
Example to focus on interface, enumerated value and structure etc. similar with the basic element of IM software of upgrading the called version of plug-in unit
In the scanning of the basic element of type, these basic elements are all to there is the task of IM software in client with source code form
In.
When scanning the basic element of the currently employed IM software of client, least unit is file, at least one literary composition
One subtask of part composition, multiple subtasks constitute a root task, as it is shown in figure 1, Fig. 1 is embodiment of the present invention client
The subtask decomposition chart of IM software.Owing to each subtask is relatively independent, obtain and upgrading the called version of plug-in unit in scanning
Conflict will not be produced when the basic element of this IM software is with the basic element of type, so at the IM software of scanning client
During basic element, it is possible to carry out the decomposition parallel scan of the IM software of client in units of subtask, subtask is distributed
Perform to be scanned on body to the different physics of the detection tool device of server side, owing to detection tool device is provided with double-core
Or four core central processing units (CPU), in order to make full use of the resource of detection tool device, can be on same detection tool device
Carry out two subtasks (for the detection tool device of double-core CPU) or four subtask (detection tool coatings for four core CPU
Put) it is scanned.
During the subtask of the IM software decomposition to client is scanned, it is ensured that synchronize, therefore, each decomposition
Subtask all use synchronous regime to identify, when subtask complete scanning after, then synchronous regime mark and label is for completing, when root is appointed
All subtasks under Wu synchronous regime mark be all masked as after, the synchronous regime mark and label of root task for completing,
When all of described subtask status indicator has been, the scan task of the IM software of described client completes;Or, described
The scan task of the IM software of upgrading the called version of plug-in unit completes.Obtain from the IM software of client and adjusted with plug-in unit of upgrading
With the basic element of the IM software of version with the basic element of type.In embodiments of the present invention, for the ease of server side
Detection tool device performs the multiple stage physics of scanning subtask and performs the collaborative inquiry carrying out subtask synchronous regime on body, at clothes
The detection tool device of business device side is provided with relevant database based on SQL (SQL), such as MYSQL data
Storehouse, this data base supports network and distributed transaction, and the execution detecting tool device in server side scans subtask
Multiple stage physics performs body introducing monitoring process and is monitored scanning subtask, is responsible for this physics and performs the subtask scanner uni of body
With the cooperative working process that other physics performs swept-volume subtask.
In embodiments of the present invention, the basic element of the IM software that server side obtains upgrading the called version of plug-in unit also may be used
Process in the way of using parallel scan, it is simply that the file in the IM software of upgrading the called version of plug-in unit is decomposed into many height
After task, performed the multiple subtask of body parallel scan by the physics of server side respectively, obtain the called version of plug-in unit of upgrading
The basic element of IM software.
The detection method flow chart of the plug-in unit upgrading that Fig. 2 provides for the embodiment of the present invention, it concretely comprises the following steps:
Step 201, the detection tool device of server side obtain the unit substantially of the IM software of upgrading the called version of plug-in unit
Element;
Basic element includes: derives function, interface, enumerated value and structure, wherein, derives function and adjusted with upgrading plug-in unit
It is correlated with the binary system DLL of the IM software of version, and interface, enumerated value and structure these three basic element and source code phase
Close, be saved in source code file;
Step 202, access client, get the IM software of client, the file in IM software is divided into many height
Task, multiple subtasks that parallel scan is divided, obtain the basic element of IM software with the called version of plug-in unit of upgrading together
The basic element of the IM software of type;
In this step, the detection tool device of the server side of the embodiment of the present invention can directly resolve the IM of client
The structure of transplantable execution body (PE, the Portable Execute) file of software, extracts the derived table information in structure, obtains
Take the derivation function in basic element;
For the interface in basic element, enumerated value and structure, owing to being included in the IM software of client, using will
File in IM software is divided into multiple subtask, multiple subtasks that parallel scan is divided, and obtains in this basic element
Interface, enumerated value and structure;
Step 203, the basic element of the IM software of coupling upgrading the called version of plug-in unit is same with the IM software calling version
The basic element of the IM software of type, the basic element of the IM software of acquisition and described the called version of upgrading plug-in unit matches
Client;
Matching algorithm by: as long as find in the basic element of the IM software of upgrading the called version of plug-in unit is arbitrary substantially first
Element there occurs change, does not allows for this upgrading plug-in unit and rises in the client of the IM software of the installation outgoing version matched
Level, if all basic elements are the most identical, agrees to upgrading;
In the embodiment of the present invention, matching algorithm is closely related with the type of basic element:
For deriving function, the function name of function, return value, number of parameters can be derived by two version IM softwares
Determining whether that the match is successful with the coupling of type, if all parameters deriving function are the most identical, then the match is successful to derive function;
For interface, can first matched interfaces name, if the interface name in two version IM softwares is identical, then can enter one
The member function of step matched interfaces, if the member function of interface is identical, Interface Matching success;
For enumerated value, then can be determined whether by the position and value enumerating member in two version IM software
Joining, if the position enumerating member is the most identical with value, the match is successful for enumerated value;
For structure, then can by the type of structure member in two version IM softwares, member name, position this three
Individual parameter determines whether coupling, if the type of structure member, member name, position are the most identical, the match is successful for structure;
In the embodiment of the present invention, can deposit by calling in adaptation function (CodeReporter) reading MySQL database
The basic element of storage completes to analyze coupling;
Step 204, to the described client release upgrade plug-in unit matched.
In step 202., the detection tool device of server side arranges server processes, by set server processes
Perform, detailed process as it is shown on figure 3, the method flow diagram of the IM software of scanning client that provides for the embodiment of the present invention of Fig. 3,
It concretely comprises the following steps:
Step 301, server processes carry out subtask decomposition, and the son that will decompose to the file in the IM software of client
Task is written to the MYSQL database arranged;
Here, file refers to source code file;
Step 302, server side physics perform body self arrange monitoring process detect MYSQL database has by
The subtask do not scanned decomposed, then call the subtask do not scanned from MYSQL database;
After step 303, physics perform the scanning that body completes subtask, obtain basic element, be stored in MYSQL database;
In this step, arranging source scan function (SnapAddin), physics performs body and calls this SnapAddin pair
Subtask is scanned;
After all subtasks being decomposed all are scanned in step 304, MYSQL database, collect and obtain all units substantially
Element.
The structure of the detecting device figure of the plug-in unit upgrading that Fig. 4 provides for the embodiment of the present invention.This device can be to issue interconnection
The detection tool device of the server side of net service (plug-in unit), including: scan module, matching module and release module, wherein,
Scan module, for obtaining the basic element of the IM software of upgrading the called version of plug-in unit, access client, by institute
The task of the currently employed IM software of client obtained is divided into multiple subtask, and many height that parallel scan is divided are appointed
Business, obtains the basic element of IM software with the called version of plug-in unit of upgrading with the basic element of the IM software of type;
Matching module, mates the basic element of the IM software of upgrading the called version of plug-in unit and is adjusted with described upgrading plug-in unit
With the IM software of version with the basic element of the IM software of type, obtain IM software with described the called version of upgrading plug-in unit
The client that basic element matches;
Release module, the client release upgrade plug-in unit obtained to described matching module.
In scan module, still further comprising the IM software scans submodule of upgrading the called version of plug-in unit, being used for will
The IM software of upgrading the called version of plug-in unit of described scanning is divided into multiple subtask, and many height that parallel scan is divided are appointed
Business, obtains the basic element of the IM software of upgrading the called version of plug-in unit.
In the apparatus, also include relevant database, for storing multiple subtasks that scan module is divided, storage
With the basic element of the IM software of upgrading the called version of plug-in unit with the basic element of the IM software of type;
Described scan module also including, multiple physics performs body, is drawn for getting respectively from relevant database
Point multiple subtasks, be scanned respectively, obtain and the same type of basic element of IM software of upgrading the called version of plug-in unit
The basic element of IM software, store in relevant database;
Described matching module, is additionally operable to, when coupling, obtain upgrading the called version of plug-in unit from relevant database
The basic element of IM software is with the basic element of the IM software of type.
In the apparatus,
The plurality of physics performs body, includes monitoring module respectively, has not in monitor and detection to relevant database
During the subtask scanned, self call this subtask;And monitor the process of other physics execution swept-volume subtask.
The server-side architecture schematic diagram that Fig. 5 provides for the embodiment of the present invention, as it can be seen, in the detection work of server side
In tool device, it is provided with service processes, for the file in the IM software of client being carried out subtask decomposition, and by decomposition
Subtask is written to MYSQL database;The service processes of server side directly invokes code and derives function (SnapExpFun) solution
The structure of the PE file in the task of the IM software of analysis client, obtains the derivation function in basic element;Server side each
Individual physics performs body and calls SnapAddin respectively, gets the subtask do not scanned from MYSQL database, is scanned place
After reason, by connecing of the IM software of client identical for the basic element type with the IM software that upgrading plug-in unit is called obtained
The basic element of mouth, enumerated value and structure is saved in MYSQL database;Finally, in the detection tool device of server side
Service processes carry out upgrading the basic element of IM software that plug-in unit called and the base of IM software that called with upgrading plug-in unit
The basic element coupling of the IM software of the client that this element type is identical, obtains the IM with described the called version of upgrading plug-in unit
The client that the basic element of software matches, and to these client release upgrade plug-in units.
From above-mentioned, the method and device realizing plug-in unit upgrading based on instant communication software of the embodiment of the present invention, logical
Cross basic element and the basic element of released version IM software obtaining upgrading plug-in unit called version IM software, and carry out
Join, when the match is successful, upgrading plug-in unit is exported to the client that released version IM software is called.Obtaining upgrading plug-in unit
The basic element of the basic element of called version IM software and released version IM software, by the detection tool coating of server side
Put parallel processing, so so that the plug-in unit of IM software is capable of cross-version upgrading, and user can realize not installing latest edition
IM software, it is also possible to experience the up-to-date business of IM software, simplifies the operating process obtaining new Internet service, thus accelerates
The spreading speed of Internet service, enables users to faster and better experience every up-to-date Internet service, significantly improves
The Internet service coverage rate of IM software;Simultaneously as plug-in unit is without downloading with IM Software package, effectively reduce user network
Flow, has saved user cost.
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit protection scope of the present invention.All
Within the spirit and principles in the present invention, any amendment, equivalent and the improvement etc. made, should be included in the guarantor of the present invention
Within the scope of protecting.
Claims (7)
1. the Distributed Detection method of a plug-in unit upgrading, it is characterised in that the method includes:
The basic element of the IM software of upgrading the called version of plug-in unit is obtained by the detection tool device arranged;
Access client, obtains the IM software of client;
The task of scanning the IM software of described client is divided into multiple subtask, and many height that parallel scan is divided are appointed
Business;
The basic element of the IM software of acquisition and upgrading the called version of plug-in unit is with the basic element of the IM software of type;
The basic element of IM software of coupling upgrading the called version of plug-in unit and soft with the IM of described the called version of upgrading plug-in unit
Part with the basic element of the IM software of type, obtains the basic element phase of IM software with described the called version of upgrading plug-in unit
The client joined, to the client release upgrade software of coupling;
Described division subtask is that the service processes of the detection tool device arranged by server side completes;
Multiple subtasks that described parallel scan is divided are performed body by multiple physics and have worked in coordination with, and each physics performs
Body calls source scan function and performs at least one subtask, and described physics performs body and monitored by set monitoring process.
2. the method for claim 1, it is characterised in that the base of the IM software of described acquisition upgrading the called version of plug-in unit
The process of this element is:
The task of scanning the IM software of described the called version of upgrading plug-in unit is divided into multiple subtask, and parallel scan is divided
Multiple subtasks, obtain the basic element of the IM software of described the called version of upgrading plug-in unit.
3. method as claimed in claim 1 or 2, it is characterised in that described subtask uses synchronous regime mark and label, works as institute
Stating subtask when not scanning, its synchronous regime mark and label is for being not fully complete, after described subtask has been scanned, and its synchronous regime
Mark and label is for completing;
When all of described subtask status indicator has been,
The scan task of the IM software of described client completes;Or, the scanning of the IM software of described the called version of upgrading plug-in unit
Task completes.
4. method as claimed in claim 1 or 2, it is characterised in that described acquisition is soft with the IM of upgrading the called version of plug-in unit
The basic element of part is with the basic element of the IM software of type, including interface, enumerated value and structure;
In described basic element, also included derivation element is resolved the execution body PE literary composition of the IM software of client-side by server side
The structure of part obtains.
5. the distribution detection device of plug-in unit upgrading, it is characterised in that this device also include scan module, matching module and
Release module, wherein,
Scan module, for obtaining the basic element of the IM software of upgrading the called version of plug-in unit, access client, obtains client
The IM software of end;The task of scanning the IM software of described client is divided into multiple subtask, and parallel scan is divided many
Individual subtask;The basic element of the IM software of acquisition and upgrading the called version of plug-in unit is with the basic element of the IM software of type;
Matching module, for mating the basic element of the IM software of upgrading the called version of plug-in unit and being adjusted with described upgrading plug-in unit
With the IM software of version with the basic element of the IM software of type, obtain IM software with described the called version of upgrading plug-in unit
The client that basic element matches;
Release module, for the client release upgrade software obtained to described matching module;
Also include relevant database, for storing multiple subtasks that scan module is divided, store and adjusted with plug-in unit of upgrading
With the basic element of the IM software of version with the basic element of the IM software of type;
Described scan module also including, multiple physics performs body, is divided for getting respectively from relevant database
Multiple subtasks, are scanned respectively, obtain the basic element of IM software with upgrading the called version of plug-in unit with the IM of type
The basic element of software, stores in relevant database;
Described matching module, is additionally operable to when coupling, and the IM obtaining upgrading the called version of plug-in unit from relevant database is soft
The basic element of part is with the basic element of the IM software of type.
6. device as claimed in claim 5, it is characterised in that in described scan module, also includes the called version of plug-in unit of upgrading
This IM software scans submodule, the task for the IM software by scanning described the called version of upgrading plug-in unit is divided into multiple
Subtask, multiple subtasks that parallel scan is divided, obtain the unit substantially of the IM software of described the called version of upgrading plug-in unit
Element.
7. device as claimed in claim 6, it is characterised in that the plurality of physics performs body, includes monitoring module respectively, uses
When having, in monitor and detection to relevant database, the subtask do not scanned, self call this subtask;And monitor other physics
Perform the process of swept-volume subtask.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210054780.9A CN103297479B (en) | 2012-03-05 | 2012-03-05 | A kind of Distributed Detection method and device of plug-in unit upgrading |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210054780.9A CN103297479B (en) | 2012-03-05 | 2012-03-05 | A kind of Distributed Detection method and device of plug-in unit upgrading |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103297479A CN103297479A (en) | 2013-09-11 |
CN103297479B true CN103297479B (en) | 2017-01-04 |
Family
ID=49097791
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210054780.9A Active CN103297479B (en) | 2012-03-05 | 2012-03-05 | A kind of Distributed Detection method and device of plug-in unit upgrading |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103297479B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108170488B (en) * | 2016-12-07 | 2021-11-26 | 杭州海康威视数字技术股份有限公司 | Method and device for upgrading plug-in |
CN107943532A (en) * | 2017-11-06 | 2018-04-20 | 北京潘达互娱科技有限公司 | Live software upgrade package dissemination method, device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545363A (en) * | 2003-11-14 | 2004-11-10 | 中兴通讯股份有限公司 | A method for downloading software from server side on client side in distributed system |
CN101540201A (en) * | 2009-04-22 | 2009-09-23 | 华为技术有限公司 | Testing method and device for multi-bank flash-memory |
CN101566954A (en) * | 2009-05-31 | 2009-10-28 | 珠海金山软件股份有限公司 | Method and device for managing plug-in |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070240134A1 (en) * | 2006-02-28 | 2007-10-11 | Joydeep Buragohain | Software packaging model supporting multiple entity types |
-
2012
- 2012-03-05 CN CN201210054780.9A patent/CN103297479B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1545363A (en) * | 2003-11-14 | 2004-11-10 | 中兴通讯股份有限公司 | A method for downloading software from server side on client side in distributed system |
CN101540201A (en) * | 2009-04-22 | 2009-09-23 | 华为技术有限公司 | Testing method and device for multi-bank flash-memory |
CN101566954A (en) * | 2009-05-31 | 2009-10-28 | 珠海金山软件股份有限公司 | Method and device for managing plug-in |
Also Published As
Publication number | Publication date |
---|---|
CN103297479A (en) | 2013-09-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8171492B2 (en) | Systems and/or methods for end-to-end business process management, business event management, and/or business activity monitoring | |
US8630969B2 (en) | Systems and methods for implementing business rules designed with cloud computing | |
US9015651B2 (en) | Gateway data distribution engine | |
CN105471968B (en) | A kind of method for interchanging data, system and data platform server | |
CN112632566A (en) | Vulnerability scanning method and device, storage medium and electronic equipment | |
CN107807815A (en) | The method and apparatus of distributed treatment task | |
CN102208081A (en) | Method for making business process management (BPM) application to be suitable for being used by multi-tenancy (MT) usages and apparatus thereof | |
CN107704256A (en) | The method that Python relies on system library automation installation is realized on a kind of Ubuntu | |
CN110795139A (en) | Client batch packaging method and device, computer equipment and storage medium | |
CN113326030A (en) | Service request processing method and device | |
CN103297479B (en) | A kind of Distributed Detection method and device of plug-in unit upgrading | |
CN116414370A (en) | Platform construction method and device based on low codes, medium and electronic equipment | |
CN105005481A (en) | Method and system for processing workflow to-do task | |
CN109710263A (en) | Compilation Method, device, storage medium and the electronic equipment of code | |
CN108845864A (en) | A kind of JVM rubbish recovering method and device based on spring frame | |
CN107679198B (en) | Information query method and device | |
CN112818026A (en) | Data integration method and device | |
KR101570701B1 (en) | Method and device for implementing plugin upgrade based on instant messaging software | |
CN112650598B (en) | Multi-application access method for workflow system | |
CN202077062U (en) | Application service platform system | |
US20070185882A1 (en) | Method and system for selective tracking of semantic web data using distributed update events | |
CN113468446A (en) | Method, system and equipment for supporting identification of third-party two-dimensional code data | |
CN101442503B (en) | Method and computer program for mediation processing node to update message | |
CN113055243B (en) | DPI interface data processing method and device | |
CN103179019B (en) | A kind of method and device realizing plug-in unit upgrading based on instant communication software |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20240111 Address after: 518057, 35th Floor, Tencent Building, Keji Middle Road, High tech Zone, Shenzhen, Guangdong Province Patentee after: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. Patentee after: TENCENT CLOUD COMPUTING (BEIJING) Co.,Ltd. Address before: 2, 518044, East 403 room, SEG science and Technology Park, Zhenxing Road, Shenzhen, Guangdong, Futian District Patentee before: TENCENT TECHNOLOGY (SHENZHEN) Co.,Ltd. |