CN103179019B - A kind of method and device realizing plug-in unit upgrading based on instant communication software - Google Patents

A kind of method and device realizing plug-in unit upgrading based on instant communication software Download PDF

Info

Publication number
CN103179019B
CN103179019B CN201110441057.1A CN201110441057A CN103179019B CN 103179019 B CN103179019 B CN 103179019B CN 201110441057 A CN201110441057 A CN 201110441057A CN 103179019 B CN103179019 B CN 103179019B
Authority
CN
China
Prior art keywords
software
client
upgraded
basic element
software package
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
Application number
CN201110441057.1A
Other languages
Chinese (zh)
Other versions
CN103179019A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110441057.1A priority Critical patent/CN103179019B/en
Priority to BR112014015623A priority patent/BR112014015623A8/en
Priority to SG11201403582PA priority patent/SG11201403582PA/en
Priority to PCT/CN2012/086526 priority patent/WO2013097610A1/en
Priority to KR1020147021147A priority patent/KR101570701B1/en
Publication of CN103179019A publication Critical patent/CN103179019A/en
Priority to US14/314,063 priority patent/US20140310699A1/en
Application granted granted Critical
Publication of CN103179019B publication Critical patent/CN103179019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of method and device realizing plug-in unit upgrading based on instant communication software.The method includes: obtain the basic element of the called version of IM software package to be upgraded;Scanning client-side, obtains the basic element of client IM software;Mate described IM software package to be upgraded respectively and call the basic element of version and the same type basic element of client IM software, obtain the client that the basic element with described the called version of IM software package to be upgraded matches;IM software package to be upgraded is issued to the described client IM software matched.The application present invention, can improve the service coverage rate of IM software, simplify the operating process obtaining new Internet service.

Description

A kind of method and device realizing plug-in unit upgrading based on instant communication software
Technical field
The present invention relates to instant messaging (IM, Instant Messaging) technology, particularly to one based on instant messaging Software realizes the method and device of plug-in unit upgrading.
Background technology
Along with sending out of computer networking technology and 3G (Third Generation) Moblie (3G, 3rd Generation) Internet technology Exhibition, the instant IM software tool application linked up realized on the Internet by point-to-point technology is more and more universal, IM software Instrument has been accepted by most user and has become in the exchanges and communication of user's daily life, work requisite one Part.And popularizing along with IM software, the Internet service of chat feature single in IM software tool in early days the most can not Meeting the diversified demand of user, increasing operator starts to pay attention to loading various charge or free on IM software Internet service meets the diversified demand of user in the way of forming the plug-in unit of IM software, branches out simultaneously, Yong Hutong Cross the plug-in unit installing the IM software existed with binary system dynamic link library (DLL, Dynamic Link Library) form, permissible Its Internet service provided by IM software (business) is provided.Such as, in IM software, to push away as each business of company of Tengxun For the QQ software of Guangping platform, QQ software carrying substantial amounts of Internet service and entrance, such as, QQ membership function, QQ are yellow Bore function, a key enters QQ mailbox entrance and QQ space entry etc..These functions and entrance, exist for company of Consumer's Experience Tengxun The every Internet service provided on QQ software provides conveniently.
The various charges carried on existing IM software or free Internet service, the i.e. plug-in unit of IM software, be packaged in IM In software, it is downloaded and is used by user installation in company with IM software, if operator needs to rise the plug-in unit of IM software Level, such as, expands new charge or free Internet service, then needs again the plug-in unit of upgrading to be packaged in original IM soft In the IM software of part or upgrading, then release.So, if user is in order to experience new Internet service, send out obtaining After the plug-in unit of the IM software of cloth, by downloading the plug-in unit of IM software carrying new Internet service, and after successfully installing, can be with body Test the Internet service of IM software carrying.
From above-mentioned, the existing method realizing plug-in unit upgrading based on IM software, need the plug-in unit of upgrading is packaged in IM In software, user, by installing the plug-in unit of IM software, could experience the Internet service of carrying on this IM software, thus, even if It is for same IM software, as long as the Internet service of its carrying is upgraded, it is necessary to the IM re-downloading this packing is soft The plug-in unit of part, the service coverage rate not only making same IM software is relatively low, the operation that obtains new Internet service is relatively complicated, also Making user network flow relatively big, user cost rises.
Summary of the invention
In view of this, present invention is primarily targeted at a kind of side realizing plug-in unit upgrading based on instant communication software of proposition Method, improves the service coverage rate of IM software, simplifies the operating process obtaining new Internet service.
Another object of the present invention is to propose a kind of device realizing plug-in unit upgrading based on instant communication software, improve IM The service coverage rate of software, simplification obtain the operating process of new Internet service.
For reaching above-mentioned purpose, the invention provides a kind of method realizing plug-in unit upgrading based on instant communication software, should Method includes:
Obtain the basic element of the called version of IM software package to be upgraded;
Scanning client-side, obtains the basic element of client IM software;
Mate described IM software package to be upgraded respectively and call the basic element of version and the same type of client IM software Basic element, obtains the client that the basic element with described the called version of IM software package to be upgraded matches;
IM software package to be upgraded is issued to the described client IM software matched.
Described basic element includes: derive function, interface, enumerated value and structure.
The basic element of described acquisition IM to be upgraded the called version of software package includes:
Scanning server, obtains the dynamic link library (DLL) file in IM software;
Resolve the structure of portable and executable file in dll file, extract the derived table information in structure, obtain and derive Function;
Utilize Microsoft's data terminating Equipment automation interface in server, the All Files in scanning server IM software, Obtain interface, enumerated value and structure respectively.
By calling the dll file in scanning function scanning server, obtain the dynamic link library (DLL) in described IM software File;
Source scan function, all literary compositions in scanning IM software are called by Microsoft's data terminating Equipment automation interface Part, obtains described interface, enumerated value and structure respectively.
After the basic element of described acquisition client IM software, farther include:
The basic element of the client IM software of acquisition is stored with corresponding client identification information.
Described mate described IM software package to be upgraded respectively and call the basic element of version and the same of client IM software Type basic element, obtains the client bag that the basic element with described the called version of IM software package to be upgraded matches Include:
Derivation function in the basic element of the IM software obtaining the called version of plug-in unit to be upgraded, interface, enumerated value and Structure, respectively with the derivation in the basic element of the IM software of the same type of described the called version of IM software package to be upgraded Function, interface, enumerated value and structure mate, and the match is successful to determine derivation function, interface, enumerated value and structure, root According to the IM software of the same type matched with the IM software calling version, obtain corresponding client-side information.
Described determine derivation function the match is successful includes:
Coupling is called described IM software package to be upgraded and is derived the function name of function, return in client IM software respectively Value, number of parameters and type, if the two all parameter deriving function is the most identical, then the match is successful to derive function.
Described determine that Interface Matching successfully includes:
Coupling calls described IM software package to be upgraded and the interface name of interface in client IM software, if interface famous prime minister With, then the member function of matched interfaces, if the member function of the two interface is identical, determine Interface Matching success.
Described determine enumerated value the match is successful include:
Coupling enumerates the position of member in calling the enumerated value of described IM software package to be upgraded and client IM software respectively Putting and be worth, if the two position enumerating member is the most identical with value, the match is successful to determine enumerated value.
Described determine structure the match is successful include:
Coupling calls described IM software package to be upgraded and the type of structure member of client IM software, member respectively Name, position, if the type of the two structure member, member name, position are the most identical, the match is successful to determine structure.
Described to the described client IM software matched issue plug-in unit to be upgraded include:
IM software package information to be upgraded is exported to the described client matched;
Receive the confirmation upgrading IM software package information that client returns;
By IM software package to be upgraded output to the described client returning confirmation IM software package information to be upgraded.
A kind of based on instant communication software realize plug-in unit upgrading device, this device includes: scan module, matching module with And release module, wherein,
Acquisition module, for obtaining the basic element of instant messaging the called version of IM software package to be upgraded;
Scan module, is used for scanning each client, obtains the basic element of client IM software;
Matching module, mate respectively described IM software package to be upgraded call version basic element and with described client The same type basic element of IM software, obtains what the basic element with described the called version of IM software package to be upgraded matched Client;
Release module, issues IM software package to be upgraded to the described client IM software matched.
Farther include:
Memory module, use MySQL database store the called version of IM software package to be upgraded basic element, with And, with same type basic element and the corresponding client identification information of described client IM software.
Described scan module includes: the first scanning element and the second scanning element, wherein,
First scanning element, respectively scanning server and client, obtain the dll file in IM software, resolves DLL literary composition The structure of PE file in part, extracts the derived table information in structure, obtains and derives function.
Second scanning element, utilizes Microsoft DTE automation interface, traversal server and client in server, scanning All Files in IM software, obtains interface, enumerated value and structure respectively.
Described matching module includes: derive function matching unit, Interface Matching unit, enumerated value matching unit, structure Matching unit and matching result processing unit, wherein,
Derive function matching unit, from memory module, obtain the basic of the called version of IM software package to be upgraded respectively Derivation function in element and, and the derivation function in the same type basic element of described client IM software, carry out Join, derive function matching result information to the output of matching result processing unit;
Interface Matching unit, obtains the basic element of the called version of IM software package to be upgraded from memory module respectively In interface and, the interface with the same type basic element of described client IM software, mate, to matching result Processing unit output interface matching result information;
Enumerated value matching unit, obtains the unit substantially of the called version of IM software package to be upgraded from memory module respectively Enumerated value in element and, the enumerated value with the same type basic element of described client IM software, mate, to Join result treatment unit output enumerated value matching result information;
Structure matching unit, obtains the unit substantially of the called version of IM software package to be upgraded from memory module respectively Structure in element and, the structure with the same type basic element of described client IM software, mate, to Join result treatment unit export structure body matching result information;
Matching result processing unit, determines that the matching result information of reception is all coupling, according to memory module storage with Same type basic element and the corresponding client identification information of described client IM software, obtains matching result information corresponding Client identification information, output is to release module.
As seen from the above technical solutions, the one that the embodiment of the present invention provides realizes plug-in unit liter based on instant communication software The method and device of level, obtains the basic element of the called version of IM software package to be upgraded;Scanning client-side, obtains client The basic element of end IM software;Mate the basic element that described IM software package to be upgraded calls version respectively soft with client IM The same type basic element of part, obtains the client that the basic element with described the called version of IM software package to be upgraded matches End;IM software package to be upgraded is issued to the described client IM software matched.So, user can realize not installing up-to-date Version IM software, it is also possible to experience the up-to-date business of IM software, simplifies the operating process obtaining new Internet service, improves The service coverage rate of IM software.
Accompanying drawing explanation
Fig. 1 is the positionality schematic diagram of embodiment of the present invention plug-in unit and IM software platform.
Fig. 2 is that the embodiment of the present invention realizes the method flow schematic diagram of plug-in unit upgrading based on instant communication software.
Fig. 3 is that the embodiment of the present invention realizes the apparatus structure schematic diagram of plug-in unit upgrading based on instant communication software.
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.
The existing method realizing plug-in unit upgrading based on instant communication software, needs new charge or free the Internet clothes The new business functions such as business are carried on and update or issue in the IM software of upgrading, and user needs to download and carries new Internet service IM software latest edition and install after, could experience carry Internet service, so, not only make the business of IM software The operation that coverage rate is relatively low, obtain new Internet service is relatively complicated, and, if new Internet service is bundled to IM software In latest edition, still using the user of early version, on the premise of redaction not being installed, it is impossible to experience new interconnection by causing Net service.
In order to solve this problem, in the embodiment of the present invention, it is proposed that the concept of the plug-in unit upgrading of IM software, i.e. plug-in unit can With not with the IM software issue of latest edition, business (Internet service, plug-in unit) is pushed directly to standalone insert DLL form On the IM software of the early version externally issued, say, that for the new Internet service of (upgrading) to be released, it is not necessary to packing In the IM software of redaction, can directly introduce to the market in the most issued early version IM software as standalone insert.
As previously mentioned, it is contemplated that the plug-in unit of IM software is presented in binary system DLL, by calling the offer of IM software Common base service realize various Internet service, and be supplied to user and use.Each plug-in unit is functionally independent of one another, IM The common base service that software provides, including data structure, network service, file system, is mapped on code and is presented as leading Go out function, interface, enumerated value, the calling of structure basic element, by the data structure that different types of IM software is provided, The statistical analysis of network service and file system obtains: different types of IM software, its derive function, interface, enumerated value with And in structure code, do not have corresponding identical code, with the IM software of type, corresponding code is the most identical.Citing For, the derivation function of type-A IM software will not be with, and its interface, enumerated value and structure the most respectively will not be soft with B type IM The interface of part, enumerated value and structure are identical.
Fig. 1 is the positionality schematic diagram of embodiment of the present invention plug-in unit and IM software platform.Seeing Fig. 1, each plug-in unit passes through Calling the data structure of IM software platform offer, network service, file system, wherein, data structure is mapped on code embodiment For deriving calling of function, network service to code is presented as be mapped on code and is presented as calling of interface, file system It is mapped on code and is presented as the calling, so, eventually through deriving function call, interface accordingly of enumerated value and structure Call, enumerated value calls and structure calls, it is possible to achieve the Internet service that plug-in unit provides.
So, if Internet service is carried on same type of IM software, then call the unit substantially that IM software provides Element is the most identical, thus, in the embodiment of the present invention, if the IM software of the called version of Internet service plug-in unit to be upgraded is basic Element is compared with the basic element of the IM software of released version and is not changed, then plug-in unit can be upgraded to this and issue On the IM software of version so that user is not required to install the IM software of latest edition, it is also possible to experience these new Internet services, Thus improve the service coverage rate of IM software, it is not necessary to packing plug-in unit to be upgraded, user is without downloading IM software Plug-in unit, simplifies the operating process obtaining new Internet service.
Fig. 2 is that the embodiment of the present invention realizes the method flow schematic diagram of plug-in unit upgrading based on instant communication software.See figure 2, this flow process includes:
Step 201, obtains the basic element of the called version of IM software package to be upgraded;
In this step, operator determine according to actual needs carry out plug-in unit upgrading and determine carrying upgrading plug-in unit IM soft Part, after i.e. determining the IM software of the called version of plug-in unit to be upgraded, server obtains the called version of IM software package to be upgraded Basic element.
In actual application, it is also possible to be packaged in the IM software of latest edition by plug-in unit to be upgraded, form IM software package For subsequent applications.
Basic element includes: derives function, interface, enumerated value and structure, wherein, derives function and binary system DLL phase Close, and interface, enumerated value are relevant to source code with structure these three basic element.Wherein,
The derivation function obtained in basic element includes:
A1, scanning server obtain the dll file in IM software;
In this step, by calling scanning function (SnapExpFun) scanning dll file.
In A2, parsing dll file, the structure of transplantable execution body (PE, Portable Execute) file, extracts knot Derived table information in structure, obtains and derives function.
The interface, enumerated value and the structure that obtain in basic element include:
Utilize Microsoft's data terminating Equipment in server (DTE, Data Terminal Equipment) automation interface, All Files in scanning server IM software, obtains interface, enumerated value and structure respectively.
In this step, by calling the All Files in source scan (SnapAddin) function traverse scanning IM software, Obtain interface, enumerated value and structure respectively.
After obtaining basic element, farther include: the basic element of acquisition is stored, such as, be stored in data In storehouse.
Step 202, scans client-side, obtains the basic element of client IM software;
In this step, according to IM software package information to be upgraded, all clients that traversal is connected with server, obtain each The basic element of client IM software, the method for acquisition is identical with step 201, does not repeats them here.
Similarly, after the basic element obtaining client IM software, by the basic element of the client IM software of acquisition Store with corresponding client identification information.
Step 203, mates described IM software package to be upgraded respectively and calls basic element and the client IM software of version Same type basic element, obtain the client matched with the basic element of described the called version of IM software package to be upgraded End;
In this step, the object of coupling, it is simply that the basic element of the called version of IM software package to be upgraded and outgoing The IM software basic element of version mates.Specifically, by obtaining the IM software that IM software package to be upgraded is relied on Four big basic elements: derive function, interface, enumerated value and structure, respectively with the derivation letter of the IM software of outgoing version Number, interface, enumerated value and structure mate accordingly, if all basic elements do not have any change, then may determine that this IM software package to be upgraded can realize cross-version upgrading, according to the outgoing matched with the IM software to be upgraded calling version The IM software of version, obtains corresponding client-side information, then can start IM software package upgrading flow process on the client.
As previously described, because the basic element information carrying out mating has been saved in lane database, reading database is waited rise The basic element of level the called version of IM software package, the basic element with the IM software of each client mates respectively, Join algorithm by: as long as the arbitrary basic element found in the basic element of the called version of IM software package to be upgraded there occurs change Become, do not allow for this IM software package to be upgraded and upgrade in the client of the IM software of the installation outgoing version matched, If all basic elements are the most identical, agree 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, issues plug-in unit to be upgraded to the described client IM software matched.
In this step, issue plug-in unit to be upgraded to the described client IM software matched and include:
IM software package information to be upgraded is exported to the described client matched;
Receive the confirmation IM to be upgraded software package information that client returns, IM software package to be upgraded is exported extremely Return the client of IM software package information to be upgraded.
In this step, only IM software package to be upgraded is exported to client, it is to avoid IM software package to be upgraded needs With the plug-in unit that IM Software package forms IM software, client needs to reinstall the operating process of the plug-in unit of IM software.
Certainly, in actual application, it is also possible to directly IM software package to be upgraded is exported to the client matched, thus Realize the issue of IM software package to be upgraded.
Further, for the client that the match is successful, export IM software package to be upgraded installation to this client and carry Show information, download the plug-in unit of IM software to point out user to need from server, and be updated answering to the IM software installed With this IM software package to be upgraded.
Fig. 3 is that the embodiment of the present invention realizes the apparatus structure schematic diagram of plug-in unit upgrading based on instant communication software.See figure 3, this device can be issue Internet service (plug-in unit) server, including: acquisition module, scan module, matching module with And release module, wherein,
Acquisition module, for obtaining the basic element of the called version of IM software package to be upgraded;
Scan module, is used for scanning each client, obtains the basic element of client IM software;
In the embodiment of the present invention, scan module is by calling source scan (SnapAddin) and scanning (SnapExpFun) function, is realized sweeping the interface in basic element, enumerated value and structure by SnapAddin function Retouch, SnapExpFun function realize the scanning deriving function in basic element.
Matching module, mate respectively described IM software package to be upgraded call version basic element and with described client The same type basic element of IM software, obtains what the basic element with described the called version of IM software package to be upgraded matched Client;
In the embodiment of the present invention, read, by calling adaptation function (CodeReporter), the unit substantially that scan module obtains Element, completes to analyze coupling, and exports last result mail, i.e. basic with described the called version of IM software package to be upgraded The client-side information that element matches.
Release module, issues IM software package to be upgraded to the described client IM software matched.
Farther include:
Memory module, use MySQL database store the called version of IM software package to be upgraded basic element, with And, with basic element and the corresponding client identification information of the same type of described client IM software.
Scan module includes: the first scanning element and the second scanning element, wherein,
First scanning element, respectively scanning server and client, obtain the dll file in IM software, resolves DLL literary composition The structure of PE file in part, extracts the derived table information in structure, obtains and derives function.
Second scanning element, utilizes Microsoft DTE automation interface, traversal server and client in server, scanning All Files in IM software, obtains interface, enumerated value and structure respectively.
Matching module includes: derive function matching unit, Interface Matching unit, enumerated value matching unit, structure coupling Unit and matching result processing unit, wherein,
Derive function matching unit, from memory module, obtain the basic of the called version of IM software package to be upgraded respectively Derivation function in element and, and the derivation function in the same type basic element of described client IM software, carry out Join, derive function matching result information to the output of matching result processing unit;
Interface Matching unit, obtains the basic element of the called version of IM software package to be upgraded from memory module respectively In interface and, the interface with the same type basic element of described client IM software, mate, to matching result Processing unit output interface matching result information;
Enumerated value matching unit, obtains the unit substantially of the called version of IM software package to be upgraded from memory module respectively Enumerated value in element and, the enumerated value with the same type basic element of described client IM software, mate, to Join result treatment unit output enumerated value matching result information;
Structure matching unit, obtains the unit substantially of the called version of IM software package to be upgraded from memory module respectively Structure in element and, the structure with the same type basic element of described client IM software, mate, to Join result treatment unit export structure body matching result information;
Matching result processing unit, determines that the matching result information of reception is all coupling, according to memory module storage with Same type basic element and the corresponding client identification information of described client IM software, obtains matching result information corresponding Client identification information, output is to release module.
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 the basic element of basic element and the released version IM software obtaining the called version of IM software package to be upgraded, and carry out Coupling, when the match is successful, exports IM software package to be upgraded to the client belonging to released version IM software.So, The plug-in unit making IM software is capable of cross-version upgrading, and user can realize not installing latest edition IM software, it is also possible to body Test the up-to-date business of IM software, simplify the operating process obtaining new Internet service, thus accelerate the general of Internet service And speed, enable users to faster and better experience every up-to-date Internet service, significantly improve the Internet of IM software Service coverage rate;Simultaneously as plug-in unit is without downloading with IM Software package, effectively reduces user network flow, saved use Family 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 (10)

1. the method realizing plug-in unit upgrading based on instant messaging IM software, it is characterised in that the method includes:
Obtain the basic element of the called version of IM software package to be upgraded;Described basic element includes: derive function, interface, Enumerated value and structure;
Scanning client-side, obtains the basic element of client IM software;Described scanning client-side, obtains client IM software Basic element farther include according to IM software package information to be upgraded, all clients that traversal is connected with server, obtain Take the basic element of each client IM software;
The basic element of the client IM software of acquisition is stored with corresponding client identification information;
Mating described IM software package to be upgraded respectively, to call the basic element of version basic with the same type of client IM software Element, obtains the client that the basic element with described the called version of IM software package to be upgraded matches;Described difference Join described IM software package to be upgraded and call the basic element of version and the same type basic element of client IM software, obtain with The client that the basic element of described the called version of IM software package to be upgraded matches includes: obtains plug-in unit to be upgraded and is adjusted With derivation function, interface, enumerated value and structure in the basic element of the IM software of version, soft with described IM to be upgraded respectively Derivation function, interface, enumerated value and structure in the basic element of the IM software of the same type of the called version of part plug-in unit enter Row coupling, the match is successful to determine derivation function, interface, enumerated value and structure, matches according to the IM software calling version The IM software of same type, obtain corresponding client-side information;
Described IM software package to be upgraded is issued to the described client IM software matched.
2. the method for claim 1, it is characterised in that the base of described acquisition IM to be upgraded the called version of software package This element includes:
Scanning server, obtains the dynamic link library (DLL) file in IM software;
Resolve the structure of portable and executable file in dll file, extract the derived table information in structure, obtain and derive letter Number;
Utilize Microsoft's data terminating Equipment automation interface in server, the All Files in scanning server IM software, difference Obtain interface, enumerated value and structure.
3. method as claimed in claim 2, it is characterised in that
By calling the dll file in scanning function scanning server, obtain the dynamic link library (DLL) literary composition in described IM software Part;
Call source scan function by Microsoft's data terminating Equipment automation interface, scan the All Files in IM software, Obtain described interface, enumerated value and structure respectively.
4. the method for claim 1, it is characterised in that described determine derivation function the match is successful includes:
Respectively coupling derive in calling described IM software package to be upgraded and client IM software the function name of function, return value, Number of parameters and type, if the two all parameter deriving function is the most identical, then the match is successful to derive function.
5. the method for claim 1, it is characterised in that described determine that Interface Matching successfully includes:
Coupling calls described IM software package to be upgraded and the interface name of interface in client IM software, if interface name is identical, The member function of matched interfaces again, if the member function of the two interface is identical, determines Interface Matching success.
6. the method for claim 1, it is characterised in that described determine enumerated value the match is successful include:
Respectively coupling enumerate in calling the enumerated value of described IM software package to be upgraded and client IM software member position and Value, if the two position enumerating member is the most identical with value, the match is successful to determine enumerated value.
7. the method for claim 1, it is characterised in that described determine structure the match is successful include:
Respectively coupling call described IM software package to be upgraded and the type of structure member of client IM software, member name, Position, if the type of the two structure member, member name, position are the most identical, the match is successful to determine structure.
8. the method for claim 1, it is characterised in that described issue to the described client IM software matched waits to rise Level plug-in unit includes:
IM software package information to be upgraded is exported to the described client matched;
Receive the confirmation upgrading IM software package information that client returns;
By IM software package to be upgraded output to the described client returning confirmation IM software package information to be upgraded.
9. the device realizing plug-in unit upgrading based on instant communication software, it is characterised in that this device includes: acquisition module, Scan module, matching module and release module, wherein,
Acquisition module, for obtaining the basic element of instant messaging the called version of IM software package to be upgraded;
Scan module, is used for scanning each client, obtains the basic element of client IM software;Described scan module is used further According to IM software package information to be upgraded, all clients that traversal is connected with server, obtain each client IM software Basic element;
Memory module, uses MySQL database to store the basic element of the called version of IM software package to be upgraded and described visitor The same type basic element of family end IM software and the client identification information of correspondence;
Matching module, mates described IM software package to be upgraded respectively and calls the basic element of version and soft with described client IM The same type basic element of part, obtains the client that the basic element with described the called version of IM software package to be upgraded matches End;
Described matching module includes: derive function matching unit, Interface Matching unit, enumerated value matching unit, structure coupling Unit and matching result processing unit, wherein,
Derive function matching unit, from memory module, obtain the basic element of the called version of IM software package to be upgraded respectively In derivation function and, the derivation function with the same type basic element of described client IM software, mate, to Function matching result information is derived in the output of matching result processing unit;
Interface Matching unit, obtains in the basic element of the called version of IM software package to be upgraded from memory module respectively Interface and, the interface with the same type basic element of described client IM software, mate, to matching result process Unit output interface matching result information;
Enumerated value matching unit, obtains in the basic element of the called version of IM software package to be upgraded from memory module respectively Enumerated value and, the enumerated value with the same type basic element of described client IM software, mate, to coupling knot Really processing unit output enumerated value matching result information;
Structure matching unit, obtains in the basic element of the called version of IM software package to be upgraded from memory module respectively Structure and, the structure with the same type basic element of described client IM software, mate, to coupling knot Really processing unit export structure body matching result information;
Matching result processing unit, determines that the matching result information of reception is all coupling, according to memory module storage with described Same type basic element and the corresponding client identification information of client IM software, obtains the client that matching result information is corresponding End identification information, output is to release module;
Release module, issues described IM software package to be upgraded to the described client IM software matched.
10. device as claimed in claim 9, it is characterised in that described scan module includes: the first scanning element and second Scanning element, wherein,
First scanning element, respectively scanning server and client, obtain the dll file in IM software, resolves in dll file The structure of PE file, extracts the derived table information in structure, obtains and derives function;
Second scanning element, utilizes Microsoft DTE automation interface, traversal server and client in server, and IM is soft in scanning All Files in part, obtains interface, enumerated value and structure respectively.
CN201110441057.1A 2011-12-26 2011-12-26 A kind of method and device realizing plug-in unit upgrading based on instant communication software Active CN103179019B (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CN201110441057.1A CN103179019B (en) 2011-12-26 A kind of method and device realizing plug-in unit upgrading based on instant communication software
BR112014015623A BR112014015623A8 (en) 2011-12-26 2012-12-13 method and apparatus for adding an app-based extension for instant messaging
SG11201403582PA SG11201403582PA (en) 2011-12-26 2012-12-13 Method and Apparatus for Upgrading a Plug-in Based on anInstant Messaging Application
PCT/CN2012/086526 WO2013097610A1 (en) 2011-12-26 2012-12-13 Method and device for implementing plugin upgrade based on instant messaging software
KR1020147021147A KR101570701B1 (en) 2011-12-26 2012-12-13 Method and device for implementing plugin upgrade based on instant messaging software
US14/314,063 US20140310699A1 (en) 2011-12-26 2014-06-25 Method And Apparatus For Upgrading A Plug-In Based On An Instant Messaging Application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110441057.1A CN103179019B (en) 2011-12-26 A kind of method and device realizing plug-in unit upgrading based on instant communication software

Publications (2)

Publication Number Publication Date
CN103179019A CN103179019A (en) 2013-06-26
CN103179019B true CN103179019B (en) 2016-12-14

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566954A (en) * 2009-05-31 2009-10-28 珠海金山软件股份有限公司 Method and device for managing plug-in
CN101931636A (en) * 2009-06-25 2010-12-29 李冰 Method for establishing Internet client running in peer-to-peer mode

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101566954A (en) * 2009-05-31 2009-10-28 珠海金山软件股份有限公司 Method and device for managing plug-in
CN101931636A (en) * 2009-06-25 2010-12-29 李冰 Method for establishing Internet client running in peer-to-peer mode

Similar Documents

Publication Publication Date Title
CN105100223B (en) Sharing files method, apparatus and system based on cloud storage
US6453352B1 (en) Integrated electronic commerce system and method
CN103188328A (en) Mobile terminal application program sharing method, server and system
CN107395574A (en) Message identification, information request and offer method and apparatus, storage medium and equipment
ATE463793T1 (en) METHOD AND SYSTEM FOR OBTAINING APPLICATION PROTOCOL CHARACTERISTICS.
WO1995033236B1 (en) Computer-implemented transport of electronic information objects
CN107911483A (en) A kind of information transferring method and device
US20110320286A1 (en) System And Method For Integrating An Ad Banner With A Calling Application
CN106605231B (en) Account's control
CN110266517A (en) External service call method, device and terminal device based on gateway
CN104461567A (en) Method and system for releasing software package
CN104022945A (en) Method and device for realizing instant communication in client end
CN110134457A (en) Plug-in loading method and device
CN106897153A (en) Call the method and system of API
CN111160825B (en) Method, device and system for extracting articles in self-extracting cabinet
CN109471620A (en) A kind of automatic generation method of APP, device, terminal device and readable storage medium storing program for executing
CN110457289A (en) Advertisement promotion channel interconnection method, system, electronic equipment and readable storage medium storing program for executing
CN104639669A (en) Method and device for configuring electronic mail box
CN103957234A (en) Method for sending download files in browser and browser device
CN103179019B (en) A kind of method and device realizing plug-in unit upgrading based on instant communication software
CN106485520A (en) Across channel communicating control method and server
CN104184773B (en) A kind of data download method and system
US7707222B2 (en) Method and apparatus for providing access to information systems via e-mail
KR101570701B1 (en) Method and device for implementing plugin upgrade based on instant messaging software
CN103297479B (en) A kind of Distributed Detection method and device of plug-in unit upgrading

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant