CN105389182A - Software upgrading method and apparatus - Google Patents
Software upgrading method and apparatus Download PDFInfo
- Publication number
- CN105389182A CN105389182A CN201510742303.5A CN201510742303A CN105389182A CN 105389182 A CN105389182 A CN 105389182A CN 201510742303 A CN201510742303 A CN 201510742303A CN 105389182 A CN105389182 A CN 105389182A
- Authority
- CN
- China
- Prior art keywords
- resource
- dll
- version
- date
- software
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44536—Selecting among different versions
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
Embodiments of the present invention disclose a software upgrading method and apparatus and solve the technical problem that client software in the prior art can only be used by a user after being downloaded via the internet and installed, thereby causing low upgrading and updating efficiency of the client software. The software upgrading method disclosed by the embodiments of the present invention comprises: sending a resource information request of client software to a server, and acquiring all latest dll resource versions corresponding to the resource information request and associated resource links, wherein all the latest dll resource versions and the associated resource links are returned by the server; comparing all the acquired latest dll resource versions with local dll resource versions of the client software; and if a latest dll resource version does not exist in the local dll resource versions, downloading latest resources corresponding to a dll by using the resource link associated with the latest dll resource version, and loading the dll.
Description
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of method for upgrading software and device.
Background technology
Software upgrading, refers to software from lowest version to the renewal of highest version.Because highest version usually repairs the part BUG of lowest version, so experienced by software upgrading, generally all can be better than the performance of original version, the effect be optimized, user also can have better experience.
The important form of the service that client software uses ISP to provide as user, owing to only having by web download and could be used by user after installing, so the size of its installation kit directly affects the wish that user downloads, thus cause the technical matters of the inefficiency that client terminal software updating upgrades.
Summary of the invention
Embodiments provide a kind of method for upgrading software and device, solve current client software, owing to only having by web download and could be used by user after installing, and the technical matters of the inefficiency that the client terminal software updating caused upgrades.
A kind of method for upgrading software that the embodiment of the present invention provides, comprising:
Send the resource information request of client software to server, and obtain the resource link that described server returns the up-to-date resource version of all dlls corresponding with described resource information request and be associated;
The all described dll up-to-date resource version got and described client software are compared at the dll resource version of this locality;
If there is not the up-to-date resource version of described dll, then by downloading up-to-date resource corresponding to dll with the described resource link that described dll up-to-date resource version is associated, and load described dll.
Preferably, send the resource information request of client software to server, and obtain described server and return the up-to-date resource version of all dlls corresponding with described resource information request and the resource link that is associated specifically comprises:
When described client software starts, described client sends described resource information request by adopting socket message to described server;
Get described server and return the Resources list bag corresponding with described resource information request, described the Resources list handbag draws together the up-to-date resource version information of all dll and the resource link url that is associated that arrange with tabular form.
Preferably, all described dll up-to-date resource version got and described client software compared at the dll resource version of this locality specifically comprise:
The all described dll resource version of all described resource version information successively with corresponding described client software under the preset functional module file of this locality of described the Resources list bag is compared.
Preferably, if there is not the up-to-date resource version of described dll, then by downloading up-to-date resource corresponding to dll with the described resource link that described dll up-to-date resource version is associated, and load described dll and specifically comprise:
If there is not the up-to-date resource version of described dll, then set up new folder according to the up-to-date resource version information of described dll;
By downloading picture file and text that up-to-date resource corresponding to dll comprise to described new folder with the described resource link that described dll up-to-date resource version is associated.
Preferably, described method for upgrading software also comprises:
If there is the up-to-date resource version of described dll, then run the dll resource file in the local file corresponding with described dll up-to-date resource version prestored.
A kind of software updating apparatus that the embodiment of the present invention provides, comprising:
Acquiring unit, for sending the resource information request of client software to server, and obtains the resource link that described server returns the up-to-date resource version of all dlls corresponding with described resource information request and be associated;
Comparing unit, for all described dll got up-to-date resource version and described client software being compared at the dll resource version of this locality, if there is not the up-to-date resource version of described dll, then triggers redaction loading unit;
Described redaction loading unit, for by downloading up-to-date resource corresponding to dll with the described resource link that described dll up-to-date resource version is associated, and loads described dll.
Preferably, acquiring unit specifically comprises:
Request sends subelement, and for when described client software starts, described client sends described resource information request by adopting socket message to described server;
Obtaining subelement, returning the Resources list bag corresponding with described resource information request for getting described server, described the Resources list handbag draws together the up-to-date resource version information of all dll and the resource link url that is associated that arrange with tabular form.
Preferably, comparing unit, specifically for comparing to all described dll resource version of all described resource version information successively with corresponding described client software under the preset functional module file of this locality of described the Resources list bag, if there is not the up-to-date resource version of described dll, then trigger described redaction loading unit, if there is the up-to-date resource version of described dll, then trigger the version loading unit that prestores.
Preferably, described redaction loading unit specifically comprises:
New folder sets up subelement, for setting up new folder according to the up-to-date resource version information of described dll;
Redaction adds subelements, for by downloading picture file and text that up-to-date resource corresponding to dll comprise to described new folder with the described resource link that described dll up-to-date resource version is associated.
Preferably, to prestore version loading unit, for running the dll resource file in the file corresponding with described dll up-to-date resource version that this locality prestores described in.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages:
A kind of method for upgrading software that the embodiment of the present invention provides and device, wherein, method for upgrading software comprises: send the resource information request of client software to server, and obtains the resource link that server returns the up-to-date resource version of all dlls corresponding with resource information request and be associated; Up-to-date for all dll got resource version and client software are compared at the dll resource version of this locality; If there is not the up-to-date resource version of dll, then by downloading up-to-date resource corresponding to dll with the resource link that dll up-to-date resource version is associated, and load dll.In the present embodiment, by first comparing at the dll resource version of this locality to the up-to-date resource version of all dll got and client software, when there is not the up-to-date resource version of dll, again by downloading up-to-date resource corresponding to dll with the resource link that dll up-to-date resource version is associated, and load dll, achieve without the need to all downloading dll resource file, only to the download needing the dll upgraded to carry out corresponding resource file, solve current client software, owing to only having by web download and could be used by user after installing, and the technical matters of the inefficiency that the client terminal software updating caused upgrades.
Reduce the size of client installation kit, make it possible to issue the resources such as the picture in redaction and renewable client simultaneously, select the resource such as picture and file to remove from installation kit and allow the resource that dynamic download in the operational process of client uses.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
The schematic flow sheet of an embodiment of a kind of method for upgrading software that Fig. 1 provides for the embodiment of the present invention;
The schematic flow sheet of another embodiment of a kind of method for upgrading software that Fig. 2 provides for the embodiment of the present invention;
The structural representation of an embodiment of a kind of software updating apparatus that Fig. 3 provides for the embodiment of the present invention;
The structural representation of another embodiment of a kind of software updating apparatus that Fig. 4 provides for the embodiment of the present invention.
Embodiment
Embodiments provide a kind of method for upgrading software and device, solve current client software, owing to only having by web download and could be used by user after installing, and the technical matters of the inefficiency that the client terminal software updating caused upgrades.
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, the embodiments described below are only the present invention's part embodiments, and the embodiment of not all.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The functional module of pc client carries out dividing in the form of dll file, the i.e. each independently functional template of client software corresponding dll file in the PC of user, if client needs to use specific function, then need the dll loading corresponding function.
Refer to Fig. 1, an embodiment of a kind of method for upgrading software that the embodiment of the present invention provides comprises:
101, send the resource information request of client software to server, and obtain the resource link that server returns the up-to-date resource version of all dlls corresponding with resource information request and be associated;
In the present embodiment, client software, especially the client software of network interaction use, usually need to carry out to upgrade, the renewal of version, often in the process of upgrading and upgrade, be only that single or multiple the carrying out of functional module upgrades and upgrade, first need the resource information request sending client software to server, and obtain the resource link that server returns the up-to-date resource version of all dlls corresponding with resource information request and be associated.
102, up-to-date for all dll got resource version and client software are compared at the dll resource version of this locality, if there is not the up-to-date resource version of dll, then perform step 103;
When sending the resource information request of client software to server, and obtain after server returns the up-to-date resource version of all dll corresponding with resource information request and the resource link that is associated, up-to-date for all dll got resource version and client software is needed to compare at the dll resource version of this locality, if there is not the up-to-date resource version of dll, then perform step 103.
103, by downloading up-to-date resource corresponding to dll with the resource link that dll up-to-date resource version is associated, and dll is loaded.
When up-to-date for all dll got resource version and client software are compared at the dll resource version of this locality, for there is not the up-to-date resource version of dll, then by downloading up-to-date resource corresponding to dll with the resource link that dll up-to-date resource version is associated, and load dll.
In the present embodiment, by first comparing at the dll resource version of this locality to the up-to-date resource version of all dll got and client software, when there is not the up-to-date resource version of dll, again by downloading up-to-date resource corresponding to dll with the resource link that dll up-to-date resource version is associated, and load dll, achieve without the need to all downloading dll resource file, only to the download needing the dll upgraded to carry out corresponding resource file, solve current client software, owing to only having by web download and could be used by user after installing, and the technical matters of the inefficiency that the client terminal software updating caused upgrades.
Reduce the size of client installation kit, make it possible to issue the resources such as the picture in redaction and renewable client simultaneously, select the resource such as picture and file to remove from installation kit and allow the resource that dynamic download in the operational process of client uses.
The above is described in detail the process of method for upgrading software, and will be described in detail process after comparison below, refer to Fig. 2, another embodiment of a kind of method for upgrading software that the embodiment of the present invention provides comprises:
201, when client software starts, client sends resource information request by adopting socket message to server;
In the present embodiment, client software, especially the client software of network interaction use, usually need to carry out to upgrade, the renewal of version, often in the process of upgrading and upgrade, be only that single or multiple the carrying out of functional module upgrades and upgrade, first when client software starts, client sends resource information request by adopting socket message to server.
202, get server and return the Resources list bag corresponding with resource information request, the Resources list handbag draws together the up-to-date resource version information of all dll and the resource link url that is associated that arrange with tabular form;
When client software starts, client is by adopting socket message to after server sends resource information request, need to get server and return the Resources list bag corresponding with resource information request, the Resources list handbag draws together the up-to-date resource version information of all dll and the resource link url that is associated that arrange with tabular form.
Such as when user starts and runs amusement template client, client can send by Web vector graphic socket message the request message obtaining client each dll resource version information to server, the opportunity that user starts, normally in client, such as, to double-click in YY client main panel and triggers after specific channel in channel list.Up-to-date resource version corresponding for each for client dll and download link url, after receiving this request, can be put into a list packing response to client by server according to the client release number sending request.
203, all dll resource versions of all resource version informations successively with corresponding client software under the preset functional module file of this locality of the Resources list bag are compared, if there is not the up-to-date resource version of dll, then perform step 204, if there is the up-to-date resource version of dll, then perform step 205;
The Resources list bag corresponding with resource information request is returned when getting server, after the up-to-date resource version information of all dll and the resource link url that is associated arranged with tabular form drawn together by the Resources list handbag, need to compare to all dll resource versions of all resource version informations successively with corresponding client software under the preset functional module file of this locality of the Resources list bag, if there is not the up-to-date resource version of dll, then perform step 204, if there is the up-to-date resource version of dll, then perform step 206.
It should be noted that, windows client each independently functional module representated by dll file, under the installation directory of namely client software, have multiple dll file, an independently function is responsible for by each dll file.Client loads corresponding dll, namely has the function that this dll is corresponding, if do not load, does not then have this function.Performed binary data after the specific code compiling of each module of packing in each dll, and required picture and text etc., namely be embodied in corresponding YY amusement template client is, for one thing, props.dll represents present functional template, and namecard.dll represents business card functional module etc.Except packing has present block code to compile except the executable binary data of gained in props.dll, also include self picture required for present business, the configuration file etc. that picture (pattern as in frame red in figure below) that such as each button etc. need and needing is used.
Such as store resource corresponding to each dll in this locality, entertainment modules client can create a special file dir in run local computing, and be called name with each dll create sub-folder in dir, such as the name of present dll catalogue is called props, each version of the resource that final each dll is corresponding can be that folder name creates folder name to store corresponding resource in each dll Resource TOC with version number, the catalogue that such as resource of the version that props module is the oldest is corresponding is dir/props/1, thereafter resource the release directory is that the rest may be inferred for dir/prop/2 etc.
204, new folder is set up according to the up-to-date resource version information of dll;
When comparing to all dll resource versions under preset functional module file successively with corresponding client software in this locality of all resource version informations of the Resources list bag, for there is not the up-to-date resource version of dll, then set up new folder according to the up-to-date resource version information of dll.
205, by downloading picture file and text that up-to-date resource corresponding to dll comprise to new folder with the resource link that dll up-to-date resource version is associated;
After setting up new folder according to the up-to-date resource version information of dll, need by downloading picture file and text that up-to-date resource corresponding to dll comprise to new folder with the resource link that dll up-to-date resource version is associated.
It should be noted that, all resources version is store resource corresponding to each dll in this locality, entertainment modules client can create a special file dir in run local computing, and be called name with each dll create sub-folder in dir, such as the name of present dll catalogue is called props, each version of the resource that final each dll is corresponding can be that folder name creates folder name to store corresponding resource in each dll Resource TOC with version number, the catalogue that such as resource of the version that props module is the oldest is corresponding is dir/props/1, thereafter resource the release directory is that the rest may be inferred for dir/prop/2 etc.
Such as because software upgrading and service needed, the resource file that dll is corresponding can be constantly updated, the unique version number that each more new capital correspondence one is new, the version number of version number's each redaction from 1 adds 1) dll resource version information refers to is namely the resource latest edition number that particular module uses, and the resource downloading url that version number is corresponding.Such as after the latest edition n getting present module and resource downloading address A, can find under present Resource TOC whether to have existed with n be the file of name, i.e. dir/props/n, if existed, resource is ready, continue to run other, otherwise, can be that name creates file dir/props/n with n, and from address A, resource file (be a compressed file, the inside comprises multiple picture and text) is downloaded and unzips in catalogue dir/props/n.
206, the dll resource file in the local file corresponding with dll up-to-date resource version prestored is run.
When comparing to all dll resource versions under preset functional module file successively with corresponding client software in this locality of all resource version informations of the Resources list bag, for there is the up-to-date resource version of dll, then run the dll resource file in the local file corresponding with dll up-to-date resource version prestored.
If such as the resource of corresponding dll is not ready, the i.e. local resource file not having specific dll, the up-to-date resource version that such as props is corresponding is 16, and this locality does not have dir/props/16 catalogue, then can use and download the resource that url removes download the 16th version, after having downloaded, then the resource that props is corresponding is ready, now can load the dll of props at once, otherwise this dll can not be loaded.
Client is after receiving the list that server sends over, namely can check that whether the resource of each dll is ready in order, for the dll that resource is ready, corresponding dll can be loaded at once, for the dll that resource is not ready, its resource downloading can be started at once, and at the ready rear dll loading correspondence of resource.
Should be noted that, the resource version information of each dll has certain coupled relation with corresponding dll, because the file in corresponding Resource TOC can be referred in dll, the props module of such as new client release can use picture a.png, now, need to comprise a.png in the resource version n of current use, namely there is file dir/props/n/a.png in this locality, and owing to not using a.png in old client props module, so do not have a.png in old resource bag, if the dll of new client goes to find in old resource bag, a.png necessarily can not find, so the props module of new client release needs the resource bag using redaction, and once in new and old resource bag each filename all identical, and just the content of each file is different, then use new and old resource bag all no problem in principle, because the picture used can find in new and old resource bag.
In the present embodiment, by first comparing at the dll resource version of this locality to the up-to-date resource version of all dll got and client software, when there is not the up-to-date resource version of dll, again by downloading up-to-date resource corresponding to dll with the resource link that dll up-to-date resource version is associated, and load dll, achieve without the need to all downloading dll resource file, only to the download needing the dll upgraded to carry out corresponding resource file, solve current client software, owing to only having by web download and could be used by user after installing, and the technical matters of the inefficiency that the client terminal software updating caused upgrades.
Further, reduce the size of client installation kit, make it possible to issue the resources such as the picture in redaction and renewable client simultaneously, select the resource such as picture and file to remove from installation kit and allow the resource that dynamic download in the operational process of client uses.
Refer to Fig. 3, another embodiment of a kind of software updating apparatus provided in the embodiment of the present invention comprises:
Acquiring unit 301, for sending the resource information request of client software to server, and obtains the resource link that server returns the up-to-date resource version of all dlls corresponding with resource information request and be associated;
Comparing unit 302, for up-to-date for all dll got resource version and client software being compared at the dll resource version of this locality, if there is not the up-to-date resource version of dll, then triggers redaction loading unit;
Redaction loading unit 303, for by downloading up-to-date resource corresponding to dll with the resource link that dll up-to-date resource version is associated, and loads dll.
In the present embodiment, first the up-to-date resource version of all dll got and client software are compared at the dll resource version of this locality by comparing unit 302, when there is not the up-to-date resource version of dll, redaction loading unit 303 is again by downloading up-to-date resource corresponding to dll with the resource link that dll up-to-date resource version is associated, and load dll, achieve without the need to all downloading dll resource file, redaction loading unit 303 is only to the download needing the dll upgraded to carry out corresponding resource file, solve current client software, owing to only having by web download and could be used by user after installing, and the technical matters of the inefficiency that the client terminal software updating caused upgrades.
The above is described in detail each unit of software updating apparatus, and will be described in detail each subelement and extra cell below, and refer to Fig. 4, another embodiment of a kind of software updating apparatus provided in the embodiment of the present invention comprises:
Acquiring unit 401, for sending the resource information request of client software to server, and obtains the resource link that server returns the up-to-date resource version of all dlls corresponding with resource information request and be associated;
Acquiring unit 401 specifically comprises:
Request sends subelement 4011, and for when client software starts, client sends resource information request by adopting socket message to server;
Obtaining subelement 4012, returning the Resources list bag corresponding with resource information request for getting server, the Resources list handbag draws together the up-to-date resource version information of all dll and the resource link url that is associated that arrange with tabular form.
Comparing unit 402, for up-to-date for all dll got resource version and client software are compared at the dll resource version of this locality, if there is not the up-to-date resource version of dll, then trigger redaction loading unit 403, comparing unit 402, specifically for comparing to all dll resource versions of all resource version informations successively with corresponding client software under the preset functional module file of this locality of the Resources list bag, if there is not the up-to-date resource version of dll, then trigger redaction loading unit, if there is the up-to-date resource version of dll, then trigger the version loading unit 404 that prestores.
Redaction loading unit 403, for by downloading up-to-date resource corresponding to dll with the resource link that dll up-to-date resource version is associated, and loads dll.
Redaction loading unit 403 specifically comprises:
New folder sets up subelement 4031, for setting up new folder according to the up-to-date resource version information of dll;
Redaction adds subelements 4032, for by downloading picture file and text that up-to-date resource corresponding to dll comprise to new folder with the resource link that dll up-to-date resource version is associated.
Prestore version loading unit 404, for running the dll resource file in the file corresponding with dll up-to-date resource version that this locality prestores.
In the present embodiment, first the up-to-date resource version of all dll got and client software are compared at the dll resource version of this locality by comparing unit 402, when there is not the up-to-date resource version of dll, redaction loading unit 403 is again by downloading up-to-date resource corresponding to dll with the resource link that dll up-to-date resource version is associated, and load dll, achieve without the need to all downloading dll resource file, redaction loading unit 403 is only to the download needing the dll upgraded to carry out corresponding resource file, solve current client software, owing to only having by web download and could be used by user after installing, and the technical matters of the inefficiency that the client terminal software updating caused upgrades.
Reduce the size of client installation kit, make it possible to issue the resources such as the picture in redaction and renewable client simultaneously, select the resource such as picture and file to remove from installation kit and allow the resource that dynamic download in the operational process of client uses.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
Claims (10)
1. a method for upgrading software, is characterized in that, comprising:
Send the resource information request of client software to server, and obtain the resource link that described server returns the up-to-date resource version of all dlls corresponding with described resource information request and be associated;
The all described dll up-to-date resource version got and described client software are compared at the dll resource version of this locality;
If there is not the up-to-date resource version of described dll, then by downloading up-to-date resource corresponding to dll with the described resource link that described dll up-to-date resource version is associated, and load described dll.
2. method for upgrading software according to claim 1, it is characterized in that, send the resource information request of client software to server, and obtain described server and return the up-to-date resource version of all dlls corresponding with described resource information request and the resource link that is associated specifically comprises:
When described client software starts, described client sends described resource information request by adopting socket message to described server;
Get described server and return the Resources list bag corresponding with described resource information request, described the Resources list handbag draws together the up-to-date resource version information of all dll and the resource link url that is associated that arrange with tabular form.
3. method for upgrading software according to claim 2, is characterized in that, all described dll up-to-date resource version got and described client software being compared at the dll resource version of this locality specifically comprises:
The all described dll resource version of all described resource version information successively with corresponding described client software under the preset functional module file of this locality of described the Resources list bag is compared.
4. method for upgrading software according to claim 3, it is characterized in that, if there is not the up-to-date resource version of described dll, then by downloading up-to-date resource corresponding to dll with the described resource link that described dll up-to-date resource version is associated, and load described dll and specifically comprise:
If there is not the up-to-date resource version of described dll, then set up new folder according to the up-to-date resource version information of described dll;
By downloading picture file and text that up-to-date resource corresponding to dll comprise to described new folder with the described resource link that described dll up-to-date resource version is associated.
5. method for upgrading software as claimed in any of claims 1 to 4, is characterized in that, described method for upgrading software also comprises:
If there is the up-to-date resource version of described dll, then run the dll resource file in the local file corresponding with described dll up-to-date resource version prestored.
6. a software updating apparatus, is characterized in that, comprising:
Acquiring unit, for sending the resource information request of client software to server, and obtains the resource link that described server returns the up-to-date resource version of all dlls corresponding with described resource information request and be associated;
Comparing unit, for all described dll got up-to-date resource version and described client software being compared at the dll resource version of this locality, if there is not the up-to-date resource version of described dll, then triggers redaction loading unit;
Described redaction loading unit, for by downloading up-to-date resource corresponding to dll with the described resource link that described dll up-to-date resource version is associated, and loads described dll.
7. software updating apparatus according to claim 6, is characterized in that, acquiring unit specifically comprises:
Request sends subelement, and for when described client software starts, described client sends described resource information request by adopting socket message to described server;
Obtaining subelement, returning the Resources list bag corresponding with described resource information request for getting described server, described the Resources list handbag draws together the up-to-date resource version information of all dll and the resource link url that is associated that arrange with tabular form.
8. software updating apparatus according to claim 7, it is characterized in that, comparing unit, specifically for comparing to all described dll resource version of all described resource version information successively with corresponding described client software under the preset functional module file of this locality of described the Resources list bag, if there is not the up-to-date resource version of described dll, then trigger described redaction loading unit, if there is the up-to-date resource version of described dll, then trigger the version loading unit that prestores.
9. software updating apparatus according to claim 8, is characterized in that, described redaction loading unit specifically comprises:
New folder sets up subelement, for setting up new folder according to the up-to-date resource version information of described dll;
Redaction adds subelements, for by downloading picture file and text that up-to-date resource corresponding to dll comprise to described new folder with the described resource link that described dll up-to-date resource version is associated.
10. software updating apparatus according to claim 9, is characterized in that, described in prestore version loading unit, for running the dll resource file in the file corresponding with described dll up-to-date resource version that this locality prestores.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510742303.5A CN105389182A (en) | 2015-11-02 | 2015-11-02 | Software upgrading method and apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510742303.5A CN105389182A (en) | 2015-11-02 | 2015-11-02 | Software upgrading method and apparatus |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105389182A true CN105389182A (en) | 2016-03-09 |
Family
ID=55421489
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510742303.5A Pending CN105389182A (en) | 2015-11-02 | 2015-11-02 | Software upgrading method and apparatus |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105389182A (en) |
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201552A (en) * | 2016-07-22 | 2016-12-07 | 北京智能管家科技有限公司 | A kind of method for upgrading software, client, server and system |
CN106293724A (en) * | 2016-08-04 | 2017-01-04 | 北京白鹭时代信息技术有限公司 | A kind of many game managements and edition control method and device |
CN107426146A (en) * | 2017-03-27 | 2017-12-01 | 武汉斗鱼网络科技有限公司 | User sends the system and method for displaying present banner after present in live application |
CN107885664A (en) * | 2017-12-26 | 2018-04-06 | 深圳市极致汇仪科技有限公司 | It is a kind of to produce the upgrade method for surveying software automatic updating installation and configuration |
CN108170491A (en) * | 2017-12-26 | 2018-06-15 | 五八有限公司 | Configuration method, terminal and the computer readable storage medium of APP dynamic link libraries |
CN108334364A (en) * | 2017-08-22 | 2018-07-27 | 广州久邦世纪科技有限公司 | It is a kind of that dynamic load is realized based on Lottie and updates the method and its system of animation |
CN108664554A (en) * | 2018-04-03 | 2018-10-16 | 微梦创科网络科技(中国)有限公司 | The method and device of webpage view is loaded in a kind of application program |
CN108809690A (en) * | 2018-04-08 | 2018-11-13 | 广州市海升信息科技有限责任公司 | The method and its system of device software version information automatic checking |
CN108845816A (en) * | 2018-06-22 | 2018-11-20 | 平安科技(深圳)有限公司 | Application program update method, system, computer equipment and storage medium |
CN108888951A (en) * | 2018-06-25 | 2018-11-27 | 网易(杭州)网络有限公司 | Game resource treating method and apparatus |
CN109491699A (en) * | 2018-10-26 | 2019-03-19 | 网易(杭州)网络有限公司 | Resource inspection method, device, equipment and the storage medium of application program |
CN109828770A (en) * | 2018-12-28 | 2019-05-31 | 维沃移动通信有限公司 | A kind of method for upgrading software, terminal device and server |
CN110177081A (en) * | 2019-04-18 | 2019-08-27 | 视联动力信息技术股份有限公司 | Script file acquisition methods and device |
CN110471837A (en) * | 2019-07-05 | 2019-11-19 | 平安证券股份有限公司 | Program detecting method, device and computer readable storage medium |
CN110515647A (en) * | 2019-08-28 | 2019-11-29 | 北京思维造物信息科技股份有限公司 | A kind of static resource management method, device, equipment and storage medium |
CN110764805A (en) * | 2019-10-28 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Method, device, terminal and storage medium for noninductive upgrade of client |
CN111427596A (en) * | 2020-03-12 | 2020-07-17 | 浙江大华技术股份有限公司 | Software upgrading method and device and terminal equipment |
CN111679842A (en) * | 2019-03-11 | 2020-09-18 | 阿里巴巴集团控股有限公司 | Application program hot update processing method, device and system |
CN111935271A (en) * | 2020-08-04 | 2020-11-13 | 青岛海信商用显示股份有限公司 | Data updating method, device and storage medium |
CN112256316A (en) * | 2020-11-13 | 2021-01-22 | 北京玩蟹科技有限公司 | Client application updating method and client |
CN112631252A (en) * | 2020-12-18 | 2021-04-09 | 广东嘉腾机器人自动化有限公司 | Updating method of production line equipment central control system, external updating module and storage medium |
CN113495737A (en) * | 2020-04-01 | 2021-10-12 | 腾讯科技(深圳)有限公司 | Software updating method and related equipment |
CN114286195A (en) * | 2021-12-23 | 2022-04-05 | 广州津虹网络传媒有限公司 | Live broadcast gift resource updating method and device, equipment, medium and product thereof |
CN114733204A (en) * | 2022-03-07 | 2022-07-12 | Oppo广东移动通信有限公司 | Game resource updating method and device, storage medium and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090132720A1 (en) * | 2006-11-13 | 2009-05-21 | Bally Gaming, Inc. | Method and system for providing download and configuration job progress tracking and display via host user interface |
CN101719073A (en) * | 2009-11-20 | 2010-06-02 | 浪潮集团山东通用软件有限公司 | Intelligent client-based on-demand downloading realization method |
CN102945182A (en) * | 2012-12-06 | 2013-02-27 | 北京奇虎科技有限公司 | Application program updating method and device |
CN103677937A (en) * | 2013-12-23 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Method and device for upgrading and running software |
CN104239497A (en) * | 2014-09-10 | 2014-12-24 | 珠海市君天电子科技有限公司 | Clean-up method and device for upgraded files |
-
2015
- 2015-11-02 CN CN201510742303.5A patent/CN105389182A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090132720A1 (en) * | 2006-11-13 | 2009-05-21 | Bally Gaming, Inc. | Method and system for providing download and configuration job progress tracking and display via host user interface |
CN101719073A (en) * | 2009-11-20 | 2010-06-02 | 浪潮集团山东通用软件有限公司 | Intelligent client-based on-demand downloading realization method |
CN102945182A (en) * | 2012-12-06 | 2013-02-27 | 北京奇虎科技有限公司 | Application program updating method and device |
CN103677937A (en) * | 2013-12-23 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Method and device for upgrading and running software |
CN104239497A (en) * | 2014-09-10 | 2014-12-24 | 珠海市君天电子科技有限公司 | Clean-up method and device for upgraded files |
Cited By (32)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106201552A (en) * | 2016-07-22 | 2016-12-07 | 北京智能管家科技有限公司 | A kind of method for upgrading software, client, server and system |
CN106293724A (en) * | 2016-08-04 | 2017-01-04 | 北京白鹭时代信息技术有限公司 | A kind of many game managements and edition control method and device |
CN107426146A (en) * | 2017-03-27 | 2017-12-01 | 武汉斗鱼网络科技有限公司 | User sends the system and method for displaying present banner after present in live application |
CN107426146B (en) * | 2017-03-27 | 2020-08-04 | 武汉斗鱼网络科技有限公司 | System and method for displaying gift banner after user sends gift in live broadcast application |
CN108334364A (en) * | 2017-08-22 | 2018-07-27 | 广州久邦世纪科技有限公司 | It is a kind of that dynamic load is realized based on Lottie and updates the method and its system of animation |
CN107885664A (en) * | 2017-12-26 | 2018-04-06 | 深圳市极致汇仪科技有限公司 | It is a kind of to produce the upgrade method for surveying software automatic updating installation and configuration |
CN108170491A (en) * | 2017-12-26 | 2018-06-15 | 五八有限公司 | Configuration method, terminal and the computer readable storage medium of APP dynamic link libraries |
CN108664554A (en) * | 2018-04-03 | 2018-10-16 | 微梦创科网络科技(中国)有限公司 | The method and device of webpage view is loaded in a kind of application program |
CN108809690A (en) * | 2018-04-08 | 2018-11-13 | 广州市海升信息科技有限责任公司 | The method and its system of device software version information automatic checking |
CN108845816A (en) * | 2018-06-22 | 2018-11-20 | 平安科技(深圳)有限公司 | Application program update method, system, computer equipment and storage medium |
CN108845816B (en) * | 2018-06-22 | 2021-09-10 | 平安科技(深圳)有限公司 | Application program updating method, system, computer device and storage medium |
CN108888951A (en) * | 2018-06-25 | 2018-11-27 | 网易(杭州)网络有限公司 | Game resource treating method and apparatus |
CN109491699A (en) * | 2018-10-26 | 2019-03-19 | 网易(杭州)网络有限公司 | Resource inspection method, device, equipment and the storage medium of application program |
CN109828770A (en) * | 2018-12-28 | 2019-05-31 | 维沃移动通信有限公司 | A kind of method for upgrading software, terminal device and server |
CN109828770B (en) * | 2018-12-28 | 2022-07-29 | 维沃移动通信有限公司 | Software upgrading method, terminal equipment and server |
CN111679842A (en) * | 2019-03-11 | 2020-09-18 | 阿里巴巴集团控股有限公司 | Application program hot update processing method, device and system |
CN111679842B (en) * | 2019-03-11 | 2023-06-23 | 阿里巴巴集团控股有限公司 | Application program hot update processing method, device and system |
CN110177081A (en) * | 2019-04-18 | 2019-08-27 | 视联动力信息技术股份有限公司 | Script file acquisition methods and device |
CN110471837A (en) * | 2019-07-05 | 2019-11-19 | 平安证券股份有限公司 | Program detecting method, device and computer readable storage medium |
CN110515647A (en) * | 2019-08-28 | 2019-11-29 | 北京思维造物信息科技股份有限公司 | A kind of static resource management method, device, equipment and storage medium |
CN110764805A (en) * | 2019-10-28 | 2020-02-07 | 腾讯科技(深圳)有限公司 | Method, device, terminal and storage medium for noninductive upgrade of client |
CN110764805B (en) * | 2019-10-28 | 2024-01-23 | 腾讯科技(深圳)有限公司 | Client non-inductive upgrading method, device, terminal and storage medium |
CN111427596A (en) * | 2020-03-12 | 2020-07-17 | 浙江大华技术股份有限公司 | Software upgrading method and device and terminal equipment |
CN111427596B (en) * | 2020-03-12 | 2023-04-14 | 浙江大华技术股份有限公司 | Software upgrading method and device and terminal equipment |
CN113495737A (en) * | 2020-04-01 | 2021-10-12 | 腾讯科技(深圳)有限公司 | Software updating method and related equipment |
CN113495737B (en) * | 2020-04-01 | 2024-05-03 | 腾讯科技(深圳)有限公司 | Software updating method and related equipment |
CN111935271A (en) * | 2020-08-04 | 2020-11-13 | 青岛海信商用显示股份有限公司 | Data updating method, device and storage medium |
CN112256316A (en) * | 2020-11-13 | 2021-01-22 | 北京玩蟹科技有限公司 | Client application updating method and client |
CN112631252A (en) * | 2020-12-18 | 2021-04-09 | 广东嘉腾机器人自动化有限公司 | Updating method of production line equipment central control system, external updating module and storage medium |
CN114286195A (en) * | 2021-12-23 | 2022-04-05 | 广州津虹网络传媒有限公司 | Live broadcast gift resource updating method and device, equipment, medium and product thereof |
CN114286195B (en) * | 2021-12-23 | 2023-10-13 | 广州津虹网络传媒有限公司 | Live gift resource updating method and device, equipment, medium and product thereof |
CN114733204A (en) * | 2022-03-07 | 2022-07-12 | Oppo广东移动通信有限公司 | Game resource updating method and device, storage medium and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105389182A (en) | Software upgrading method and apparatus | |
CN102073512B (en) | JAVA cluster application system code loading and upgrading device and method | |
CN102722386B (en) | Generate the method and apparatus of radio firmware AKU | |
CN104375849B (en) | Load the method and device of kernel | |
CN102622241B (en) | A kind of method for upgrading software and device | |
US11068252B2 (en) | System and method for dynamically determining applicable updates | |
CN106610839B (en) | Method for issuing upgrade package, lightweight upgrade method, device and system | |
CN103838573A (en) | Application program generation method and device | |
CN105100191A (en) | Method, device and system for realizing Java application installation via cloud compilation | |
CN111966423B (en) | Method and equipment for realizing memory operating system | |
CN110597542A (en) | Automatic OTA (over the air) software upgrading method and device and electronic equipment | |
CN102937904A (en) | Multi-node firmware updating method and device | |
CN102231163B (en) | System and method for synchronously and preferentially updating specified file | |
CN106201577A (en) | A kind of method and device updating Lua file | |
US20150067668A1 (en) | Installation engine and package format | |
CN112149035A (en) | Website static resource processing method and device | |
CN105872842A (en) | Multi-desktop independent upgrade method and device | |
CN105049514A (en) | File downloading method and file downloading device | |
CN106569863B (en) | Resource and code modularization-based android app resource updating and repairing method | |
CN104699515A (en) | Android operating system based upgrading method and intelligent terminal | |
CN114385251A (en) | Operating system booting method, system, terminal and storage medium based on memory | |
CN105138352A (en) | Method and apparatus for installing application plugins | |
CN105119944A (en) | Application starting method and related device | |
CN103078805B (en) | Make the system and method reading the expansion of performance support level of Zookeeper | |
CN104461595A (en) | Application software upgrading roll-back method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 511442 floor 28 floor B1 of Wanda Plaza, Panyu District South Village, Guangzhou City, Guangdong Applicant after: Guangzhou Huaduo Network Technology Co., Ltd. Address before: 510665, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08, Applicant before: Guangzhou Huaduo Network Technology Co., Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20160309 |