CN105389191A - Software upgrading method, apparatus and system based on local area network - Google Patents

Software upgrading method, apparatus and system based on local area network Download PDF

Info

Publication number
CN105389191A
CN105389191A CN201510921117.8A CN201510921117A CN105389191A CN 105389191 A CN105389191 A CN 105389191A CN 201510921117 A CN201510921117 A CN 201510921117A CN 105389191 A CN105389191 A CN 105389191A
Authority
CN
China
Prior art keywords
upgraded
software
version information
functional module
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510921117.8A
Other languages
Chinese (zh)
Other versions
CN105389191B (en
Inventor
李鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qianxin Technology Group Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Beijing Qianxin Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Beijing Qianxin Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510921117.8A priority Critical patent/CN105389191B/en
Publication of CN105389191A publication Critical patent/CN105389191A/en
Application granted granted Critical
Publication of CN105389191B publication Critical patent/CN105389191B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44536Selecting among different versions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data

Abstract

Embodiments of the present invention provide a software upgrading method, apparatus and system based on a local area network. The method particularly comprises: receiving a first upgrade request from a user terminal, wherein the first update request comprises current version information of software; according to the first update request, obtaining index information corresponding to a to-be-upgraded function module, wherein the to-be-upgraded function module is a function module which needs to be updated from a current version of the software to a target version of the software, and the index information comprises target version information of a function file corresponding to the function module to be upgraded and a download address corresponding to the target version information; and sending the index information to the user terminal. According to the embodiments of the present invention, a volume of data which needs to be upgraded can be greatly reduced, so that network resources required for software upgrade can be effectively reduced and software upgrade efficiency can be effectively improved.

Description

A kind of method for upgrading software based on LAN (Local Area Network), device and system
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of method for upgrading software based on LAN (Local Area Network), a kind of software updating apparatus based on LAN (Local Area Network) and a kind of software update system based on LAN (Local Area Network).
Background technology
Computer software is the program performing certain function in conjunction with computer hardware.For computer software provider, need to constantly update upgrade computer software to be supplied to the more function of user.
Existing software upgrade process is specially, software supplier by the software respective upgrades deposit data of latest edition on the server, the user of client adopts HTTP (HTML (Hypertext Markup Language) by internet, HypertextTransferProtocol) or the mode of FTP (file transfer protocol (FTP), FileTransferProtocol) directly download required upgrade data from server.
But for the LAN (Local Area Network) such as enterprise network, the software in this LAN (Local Area Network) on each computing machine has upgrade requirement; Like this, when adopting above-mentioned software upgrade process to carry out software upgrading, the user of each computing machine need respectively with server interaction to obtain corresponding upgrade data.Like this, when upgrade user is more, multiple stage computing machine is connection server downloading data simultaneously, the data of these repeated downloads will occupy network egress bandwidth, cause the congested of network, increase the burden of server, and other normal network operations are affected, as browsed webpage, sending Email etc.
In addition, the software respective upgrades data of latest edition are generally the upgrade file of software, and like this, when the upgrade file of software is larger, in LAN (Local Area Network), the software upgrading of multiple stage computing machine is by the Internet resources of at substantial.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or a kind of method for upgrading software based on LAN (Local Area Network) solved the problem at least in part, a kind of software updating apparatus based on LAN (Local Area Network) and a kind of software update system based on LAN (Local Area Network).
According to one aspect of the present invention, provide a kind of method for upgrading software based on LAN (Local Area Network), be applied to control terminal, comprise:
Receive the first upgrade request of user terminal; Wherein, described first upgrade request comprises: the current version information of software;
According to described first upgrade request, obtain the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Described index information is sent to described user terminal.
Alternatively, functional module to be upgraded corresponding to described first upgrade request is obtained as follows:
Determine the target version information of the corresponding software of described first upgrade request;
According to described current version information and described target version information, search in the mapping relations between the prototype version information set up in advance, target version information and functional module to be upgraded, to obtain corresponding functional module to be upgraded.
Alternatively, described method also comprises:
The second upgrade request is sent to server; Wherein, described second upgrade request comprises: the current version information of software;
Receive index information that described server sends according to described second upgrade request, functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Current version information corresponding to the current version information of target version information that comprised by described index information, function file and software and described functional module to be upgraded, function file compares;
When comparative result is inconsistent, according to the download address that described target version information is corresponding, download corresponding function file.
Alternatively, current version information corresponding to the current version information of software and described functional module to be upgraded, function file is obtained as follows:
Current version information corresponding to the current version information of software and described functional module to be upgraded, function file is obtained from the default memory module of this locality; Or
Current version information corresponding to the current version information of software and described functional module to be upgraded, function file is downloaded from server.
According to a further aspect in the invention, provide a kind of method for upgrading software based on LAN (Local Area Network), be applied to user terminal, comprise:
Upgrade request is sent to control terminal; Wherein, described upgrade request comprises: the current version information of software;
Receive the index information of functional module that described control terminal sends according to described upgrade request, to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Current version information corresponding to the current version information of target version information that comprised by described index information, function file and software and described functional module to be upgraded, function file compares;
When comparative result is inconsistent, according to the download address that described target version information is corresponding, download corresponding function file.
In accordance with a further aspect of the present invention, provide a kind of method for upgrading software based on LAN (Local Area Network), be applied to server, comprise:
Receive the upgrade request from control terminal; Wherein, described upgrade request comprises: the current version information of software;
According to described upgrade request, obtain the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Described index information is sent to described control terminal.
According to another aspect of the invention, provide a kind of software updating apparatus based on LAN (Local Area Network), be applied to control terminal, comprise:
Request receiving module, for receiving the first upgrade request of user terminal; Wherein, described first upgrade request comprises: the current version information of software;
Index acquisition module, for according to described first upgrade request, obtains the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information; And
Index sending module, for sending described index information to described user terminal.
According to an aspect of the present invention, provide a kind of software updating apparatus based on LAN (Local Area Network), be applied to user terminal, comprise:
First sending module, for sending upgrade request to control terminal; Wherein, described upgrade request comprises: the current version information of software; And
Receiver module, for receiving the index information of functional module that described control terminal sends according to described upgrade request, to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Comparison module, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares; And
Download module, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file.
According to a further aspect in the invention, provide a kind of software updating apparatus based on LAN (Local Area Network), be applied to server, comprise:
Receiver module, for receiving the upgrade request from control terminal; Wherein, described upgrade request comprises: the current version information of software;
Acquisition module, for according to described upgrade request, obtains the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information; And
Sending module, for sending described index information to described control terminal.
According to another aspect of the invention, provide a kind of software update system based on LAN (Local Area Network), comprising: user terminal and control terminal;
Wherein, described user terminal, comprising:
First sending module, for sending the first upgrade request to control terminal; Wherein, described first upgrade request comprises: the current version information of software; And
First receiver module, for receiving index information that described control terminal sends according to described first upgrade request, functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
First comparison module, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares; And
First download module, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file;
Described control terminal, comprising:
Second receiver module, for receiving the first upgrade request of user terminal;
First acquisition module, for according to described first upgrade request, obtains the index information of corresponding functional module to be upgraded; And
Second sending module, for sending described index information to described user terminal.
According to a kind of method for upgrading software based on LAN (Local Area Network) of the embodiment of the present invention, device and system, upgrade to needing the partial function file of part functional module to be upgraded and this functional module to be upgraded upgraded in software, wherein, this module to be upgraded is specially the functional module to be upgraded that the target version being upgraded to software from the current version of software needs to upgrade, the partial function file of this functional module to be upgraded be specially target version to should be different from current version in all functions file of functional module to be upgraded function file; Like this, to upgrade whole software relative to existing scheme, because the data volume of the partial function file of part functional module to be upgraded and this functional module to be upgraded is much smaller than the data volume of whole software, therefore, the embodiment of the present invention can reduce the data volume needing upgrading greatly, thus the Internet resources that can effectively reduce needed for software upgrading, and effectively can improve software updating efficiency;
And, relative to the situation of the simultaneously connection server downloading data of multiple stage computing machine in existing scheme, the embodiment of the present invention is software upgrade between control terminal and user terminal, like this, the embodiment of the present invention can by means of only control terminal from the upgrade data needed for the upgrading of server downloading software, and because the quantity of control terminal is much smaller than the quantity of user terminal in LAN (Local Area Network), therefore, the embodiment of the present invention can greatly reduce taking for LAN (Local Area Network) outlet bandwidth, and can alleviate the burden of server.Further, the software upgrading in the embodiment of the present invention between control terminal and user terminal is all carried out in LAN (Local Area Network) inside, and message transmission rate is very fast, therefore, it is possible to improve the efficiency of software upgrading further.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of instructions, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
Accompanying drawing explanation
By reading the detailed description of hereafter Alternate embodiments, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of Alternate embodiments, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows a kind of according to an embodiment of the invention steps flow chart schematic diagram of the method for upgrading software based on LAN (Local Area Network);
Fig. 2 shows a kind of according to an embodiment of the invention steps flow chart schematic diagram of the method for upgrading software based on LAN (Local Area Network);
Fig. 3 shows a kind of according to an embodiment of the invention steps flow chart schematic diagram of the method for upgrading software based on LAN (Local Area Network);
Fig. 4 shows a kind of according to an embodiment of the invention steps flow chart schematic diagram of the method for upgrading software based on LAN (Local Area Network);
Fig. 5 shows a kind of according to an embodiment of the invention steps flow chart schematic diagram of the method for upgrading software based on LAN (Local Area Network);
Fig. 6 shows a kind of according to an embodiment of the invention steps flow chart schematic diagram of the method for upgrading software based on LAN (Local Area Network);
Fig. 7 shows a kind of according to an embodiment of the invention structural representation of the software updating apparatus based on LAN (Local Area Network);
Fig. 8 shows a kind of according to an embodiment of the invention structural representation of the software updating apparatus based on LAN (Local Area Network);
Fig. 9 shows a kind of according to an embodiment of the invention structural representation of the software updating apparatus based on LAN (Local Area Network); And
Figure 10 shows a kind of according to an embodiment of the invention structural representation of the software update system based on LAN (Local Area Network).
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
With reference to Fig. 1, show a kind of according to an embodiment of the invention flow chart of steps of the method for upgrading software based on LAN (Local Area Network), be applied to user terminal, specifically can comprise the steps:
Step 101, to control terminal send upgrade request; Wherein, described upgrade request specifically can comprise: the current version information of software;
The embodiment of the present invention can be applied in the LAN (Local Area Network) such as enterprise network, government's net, campus network; In above-mentioned LAN (Local Area Network), described control terminal refers to the terminal of carrying out software upgrading in LAN (Local Area Network) for controlling other user terminal, described user terminal refers to the instruction of response limiting terminal in LAN (Local Area Network), the terminal of data interaction is carried out with control terminal, it can the instruction of response limiting terminal, also can send instruction to control terminal.
In actual applications, can at control terminal deployment server proxy module, at user terminal deployment software client modules, with the framework of similar C/S (client/server), to realize in LAN (Local Area Network) control terminal to the controlling functions of user terminal, and, the control response of user terminal and communication function.Wherein, can be communicated between above-mentioned control terminal and above-mentioned user terminal by standard agreement or proprietary protocol, wherein, proprietary protocol has closure and the high advantage of security; Be appreciated that the embodiment of the present invention is not limited for the concrete communication mode between control terminal and user terminal.
In the embodiment of the present invention, can between control terminal and user terminal software upgrade, like this, relative to the situation of the simultaneously connection server downloading data of multiple stage computing machine in existing scheme, the embodiment of the present invention can by means of only control terminal from the upgrade data needed for the upgrading of server downloading software, and because the quantity of control terminal is much smaller than the quantity of user terminal in LAN (Local Area Network), therefore, the embodiment of the present invention can greatly reduce taking for LAN (Local Area Network) outlet bandwidth, and can alleviate the burden of server.。
In actual applications, user terminal when there is upgrade requirement, can send upgrade request to control terminal; Also according to the upgrade tip of control terminal or server, upgrade request can be sent to control terminal; Wherein, this upgrade tip can be the prompting to user terminal propelling movement when there is redaction of control terminal or server.Be appreciated that the embodiment of the present invention is not limited for the concrete execution sending upgrade request to control terminal opportunity.
In addition, the current version Information Availability of software is in the version information representing software to be upgraded in user terminal.Be appreciated that, except the current version information of software, user terminal can also carry out of Memory in upgrade request, as software identification, dbase etc., the embodiment of the present invention is not limited for specifying information entrained in upgrade request.
Step 102, receive the index information of functional module that described control terminal sends according to described upgrade request, to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Step 103, described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares;
Step 104, when comparative result is inconsistent, according to the download address that described target version information is corresponding, download corresponding function file.
In the embodiment of the present invention, functional module can be used for representing in software for realize specific function, the module of concrete independence, according to the independence of functional module, functional module can stand-alone development, renewal and standalone upgrade, and the upgrading of a functional module can not have an impact to other functional module.
For a functional module, its specific function also can be subdivided into corresponding several independently subfunction, is that granularity is developed and upgrades to make developer with subfunction; Then function file can be used for the file for realizing these subfunctions of presentation function module.Such as, a software has M functional module, and the functional module being numbered i has Ni function file, then developer is in the process of update software, can upgrade according to practical application request to any function file in arbitrary functional module; Wherein, M, i, Ni are the natural number being more than or equal to 1,1≤i≤M.
Based on the above-mentioned functions module of software and the independence of function file, the embodiment of the present invention can not be upgraded to whole software, but to needing the partial function file of part functional module to be upgraded and this functional module to be upgraded upgraded to upgrade in software, particularly, the functional module to be upgraded that the target version needs being upgraded to software from the current version of software upgrade can be selected, and select the function file different from current version from the function file of functional module to be upgraded; Like this, to upgrade whole software relative to existing scheme, because the data volume of the partial function file of part functional module to be upgraded and this functional module to be upgraded is much smaller than the data volume of whole software, therefore, the embodiment of the present invention can reduce the data volume needing upgrading greatly, thus the Internet resources that can effectively reduce needed for software upgrading, and effectively can improve software updating efficiency.
In a kind of application example 1 of the present invention, suppose that current version is 1000, target version is 1001, wherein, target version 1001 have updated the functional module being numbered 3 relative to current version 1000, and in the functional module being numbered 3, have updated the function file being numbered 8, then user terminal can receive the index information of the functional module being numbered 3, can record the target version information of all functions file of the functional module being numbered 3 and download address corresponding to target version information in this index information; And user terminal can exist inconsistent phenomenon by comparing the function file obtaining being numbered 8, therefore corresponding function file can be downloaded according to the download address of the function file being numbered 8.
In a kind of application example 2 of the present invention, suppose that current version is 1000, target version is 1002, wherein, target version 1002 relative to current version 1000 have updated be numbered 3 and be numbered 5 functional module, and have updated in the functional module being numbered 3 be numbered 8 and be numbered 10 function file, in the functional module being numbered 5, have updated the function file being numbered 9; Then user terminal can receive be numbered 3 and be numbered 5 the index information of functional module, wherein, be numbered the target version information of all functions file that can record the functional module being numbered 3 in the index information of the functional module of 3 and download address corresponding to target version information, and user terminal can obtain being numbered in the functional module of 3 by comparing, being numbered 8 and there is inconsistent phenomenon with the function file being numbered 10, therefore can download corresponding function files according to being numbered 8 with the download address of the function file being numbered 10; In like manner, user terminal can also obtain being numbered in the functional module of 5, and the function file being numbered 9 exists inconsistent phenomenon, and carries out the download of corresponding function file.
Can find out, the embodiment of the present invention not only can realize adjacent version, and (current version is 1000, target version is 1001) upgrading, also can realize the upgrading of cross-version (current version is 1000, and target version is 1002 even more highest versions).
It should be noted that, in the embodiment of the present invention, user terminal directly can receive the index information of functional module to be upgraded, determine that the operation of the index information of functional module to be upgraded can be performed by control terminal or server, like this, the advantage that control terminal hardware performance is high can be played, or, the advantage that server operation resource and system resource are abundant can be played, meanwhile, the operand of user terminal can be reduced, and improve the efficiency of software upgrading.
And, from the function file of functional module to be upgraded, select the operation of the function file different from current version can be performed by user terminal, this reports the current version of all functions file of functional module to be upgraded number, to make control terminal compare accordingly, can save corresponding data interaction resource to control terminal relative to user terminal.
In actual applications, described index information can be recorded in index file, wherein, the download address of function file, target version number and correspondence can be recorded, in the form of fields as above-mentioned field specifically can comprise: function file field, target version field and download address field etc.; The download address of function file, target version number and correspondence also can by record in order, the content of record can be: the target version of function file 1, function file No. 1, the download address of function file 1, separator, function file 2 ... wherein, above-mentioned separator can be used for splitting different function files.Be appreciated that the embodiment of the present invention is not limited for the physical record mode of above-mentioned index information.
The embodiment of the present invention can obtain current version information corresponding to the current version information of software and described functional module to be upgraded, function file in the following way:
Current version information corresponding to mode 1, the current version information obtaining software from the default memory module of this locality and described functional module to be upgraded, function file; Or
Current version information corresponding to mode 2, the current version information downloading software from control terminal or server and described functional module to be upgraded, function file.
Wherein, default memory module can be used for storing current version information corresponding to current version information and described functional module to be upgraded, function file.In actual applications, can in conjunction with employing mode 1 and mode 2, wherein, when the failure of obtaining information from the default memory module of this locality, then mode 2 is adopted to obtain current version information corresponding to current version information and described functional module to be upgraded, function file.Be appreciated that the embodiment of the present invention for corresponding to current version information and described functional module to be upgraded, the concrete obtain manner of the current version information of function file do not limited.
It should be noted that, after step 104 downloads corresponding function file, the embodiment of the present invention can also carry out software upgrading according to institute's download function file; Particularly, by running institute download function file by institute's download function files loading in software, wherein, can carry out corresponding loading after download function file, also can carry out corresponding loading after having downloaded all functions file, can software upgrading be realized thus; Be appreciated that the embodiment of the present invention is not limited for the detailed process of carrying out software upgrading according to institute's download function file.
To sum up, embodiment of the present invention tool has the following advantages:
First, to upgrade whole software relative to existing scheme, because the data volume of the partial function file of part functional module to be upgraded and this functional module to be upgraded is much smaller than the data volume of whole software, therefore, the embodiment of the present invention can reduce the data volume needing upgrading greatly, thus the Internet resources that can effectively reduce needed for software upgrading, and effectively can improve software updating efficiency;
And, relative to the situation of the simultaneously connection server downloading data of multiple stage computing machine in existing scheme, the embodiment of the present invention is software upgrade between control terminal and user terminal, like this, the embodiment of the present invention can by means of only control terminal from the upgrade data needed for the upgrading of server downloading software, and because the quantity of control terminal is much smaller than the quantity of user terminal in LAN (Local Area Network), therefore, the embodiment of the present invention can greatly reduce taking for LAN (Local Area Network) outlet bandwidth, and can alleviate the burden of server.Further, the software upgrading in the embodiment of the present invention between control terminal and user terminal is all carried out in LAN (Local Area Network) inside, and message transmission rate is very fast, therefore, it is possible to improve the efficiency of software upgrading further.
With reference to Fig. 2, show a kind of according to an embodiment of the invention flow chart of steps of the method for upgrading software based on LAN (Local Area Network), be applied to user terminal, specifically can comprise the steps:
Step 201, to control terminal send upgrade request; Wherein, described upgrade request specifically can comprise: the current version information of software;
Step 202, receive the index information of functional module that described control terminal sends according to described upgrade request, to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Step 203, described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares;
Step 204, when comparative result is inconsistent, according to the download address that described target version information is corresponding, download corresponding function file;
Step 205, send the index information of described functional module to be upgraded to other user terminals.
Relative to embodiment illustrated in fig. 1, active user's terminal of the present embodiment can also send the index information of described functional module to be upgraded to other user terminals; The above-mentioned mode transmitting index information between the ues, can alleviate the pressure of control terminal.Here, in other user terminals, the current version number of software can be number identical with the current version of active user's terminal software, completes the upgrading from current version to target version to make other user terminals according to above-mentioned index information.Such as, the current version of active user's terminal 1 is 1000, then other user terminals that can be 1000 to current version send index information.
In actual applications, other user terminals can, for belonging to the terminal of same group with active user's terminal, also can be the terminal nearest apart from active user's terminal, or, can also for active user's terminal use the terminal etc. that LAN (Local Area Network) account is identical; It should be noted that, the embodiment of the present invention is not limited for other concrete user terminals.
With reference to Fig. 3, show a kind of according to an embodiment of the invention flow chart of steps of the method for upgrading software based on LAN (Local Area Network), be applied to control terminal, comprise:
Step 301, reception carry out the upgrade request of user terminal; Wherein, described upgrade request specifically can comprise: the current version information of software;
Step 302, according to described upgrade request, obtain the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Step 303, send described index information to described user terminal.
In a kind of embodiment of the present invention, the functional module to be upgraded that described upgrade request is corresponding can be obtained as follows:
Step S1, determine the target version information of the corresponding software of described upgrade request;
Step S2, according to described current version information and described target version information, to search in the mapping relations between the prototype version information set up in advance, target version information and functional module to be upgraded, to obtain corresponding functional module to be upgraded.
In the embodiment of the present invention, described target version information can be the latest version information of the corresponding software of described upgrade request, or described target version information also can be the preset version information of the corresponding software of described upgrade request and respective user terminal thereof.Wherein, above-mentioned preset version information can be the version information arranged specific user terminal according to local area network management requirement, such as, can according to the user authority setting that user terminal is corresponding above-mentioned preset version information, the preset version information that the user terminal of higher authority is corresponding is higher, and for example, above-mentioned preset version information can be set according to the hardware configuration of user terminal, the preset version information that the user terminal that hardware configuration is higher is corresponding is more high, and the embodiment of the present invention is not limited for the concrete set-up mode of preset version information.
In a kind of application example of the present invention, set up prototype version information in advance, the process of the mapping relations between target version information and functional module to be upgraded can be: for certain software, obtain its all version information, select target version information from all version informations, the prototype version information lower than this target version information is selected from all version informations, and for the current functional module of software, this current functional module corresponding function file of prototype version information and target version information is compared, if comparative result is different, then using current functional module as functional module to be upgraded.Be appreciated that said process just exemplarily, in fact, the embodiment of the present invention is not limited for the detailed process of the mapping relations set up in advance between prototype version information, target version information and functional module to be upgraded.
Be appreciated that, above-mentioned steps S1-step S2 is just as a kind of embodiment obtaining functional module to be upgraded corresponding to described upgrade request, in fact, those skilled in the art can also according to practical application request, other modes are adopted to obtain functional module to be upgraded corresponding to described upgrade request, such as, other modes specifically can comprise: the current version information of upgrade request being carried is as prototype version information, can and for the current functional module of software, this current functional module corresponding function file of prototype version information and target version information is compared, if comparative result is different, then using current functional module as functional module to be upgraded etc.
In the embodiment of the present invention, can according to functional module to be upgraded and target version information, set up corresponding index information in advance, index information as corresponding with the functional module being numbered 3 in target version 1002 is recorded in index file 1, the index information that target version 1003 is corresponding with the functional module being numbered 3 is recorded in index file 2, the index information that target version 1002 is corresponding with the functional module being numbered 5 is recorded in index literary composition 3, then after obtaining functional module to be upgraded corresponding to described upgrade request, can according to the mapping relations between index information and functional module, or, according to the name of index file, obtain the index information of functional module to be upgraded.
In a kind of embodiment of the present invention, above-mentioned according to functional module to be upgraded and target version information, the process setting up corresponding index information in advance can be, by recording functional module to be upgraded and all functions file corresponding to target version information and version information thereof and download address, obtain above-mentioned index information.Such as, in index information, the download address of function file, target version number and correspondence can be recorded, in the form of fields as above-mentioned field specifically can comprise: function file field, target version field and download address field etc.And for example, the download address of function file, target version number and correspondence also can by record in order, the content of record can be: the target version of function file 1, function file No. 1, the download address of function file 1, separator, function file 2 ... wherein, above-mentioned separator can be used for splitting different function files.Be appreciated that the embodiment of the present invention is not limited for the physical record mode of above-mentioned index information.
With reference to Fig. 4, show a kind of according to an embodiment of the invention flow chart of steps of the method for upgrading software based on LAN (Local Area Network), be applied to control terminal, comprise:
Step 401, reception carry out the first upgrade request of user terminal; Wherein, described first upgrade request specifically can comprise: the current version information of software;
Step 402, according to described first upgrade request, obtain the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Step 403, send described index information to described user terminal;
Step 404, send the second upgrade request to server; Wherein, described second upgrade request specifically can comprise: the current version information of software;
Step 405, receive described server sends according to described second upgrade request, the index information of functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Step 406, described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares;
Step 407, when comparative result is inconsistent, according to the download address that described target version information is corresponding, download corresponding function file.
Relative to embodiment illustrated in fig. 3, the control terminal of the present embodiment can also mutual by between server, obtain the functional module to be upgraded and the function file thereof that are upgraded to the target version needs renewal of software from the current version of software from server, thus control terminal can be made to obtain the latest edition of software.
In actual applications, control terminal when there is upgrade requirement or the demand of analysis, can send upgrade request to server; Also according to the upgrade tip of server, upgrade request can be sent to server.Such as, obtain the latest edition of software in order to ensure control terminal, server, when there is the latest edition of software, can push upgrade tip to control terminal, downloads function file corresponding to latest edition to make control terminal.
Be appreciated that, the upgrade request of control terminal for software can be mounted software in control terminal, also can be uninstalled software in control terminal, the object that control terminal sends upgrade request to server can be analyze the latest function file of the software obtained, and the embodiment of the present invention was not limited for the concrete execution opportunity and object sending upgrade request to server.
It should be noted that, to obtain the latest edition of software from server at control terminal after, can analyze all versions of software, to obtain the index information of the corresponding functional module to be upgraded of various target version information.Or, control terminal can also obtain the index information of the corresponding functional module to be upgraded of various target version information from server, the index information of the corresponding functional module to be upgraded of various target version information of the concrete mode embodiment of the present invention obtains to(for) control terminal is not limited.
It should be noted that, in the embodiment of the present invention, the first upgrade request can for identical software with the second upgrade request, also can for different software, and the first upgrade request can be identical or different with the current version information of carrying in the second upgrade request, the embodiment of the present invention is not limited for the concrete contact between the first upgrade request and the second upgrade request.
The embodiment of the present invention can obtain current version information corresponding to the current version information of software and described functional module to be upgraded, function file in the following way:
Current version information corresponding to mode 1, the current version information obtaining software from the default memory module of this locality and described functional module to be upgraded, function file; Or
Current version information corresponding to mode 2, the current version information downloading software from server and described functional module to be upgraded, function file.
Wherein, default memory module can be used for storing current version information corresponding to current version information and described functional module to be upgraded, function file.In actual applications, can in conjunction with employing mode 1 and mode 2, wherein, when the failure of obtaining information from the default memory module of this locality, then mode 2 is adopted to obtain current version information corresponding to current version information and described functional module to be upgraded, function file.Be appreciated that the embodiment of the present invention for corresponding to current version information and described functional module to be upgraded, the concrete obtain manner of the current version information of function file do not limited.
For step 404-step 407, control terminal due to its correspondence obtains from server the process of function file and middle user terminal embodiment illustrated in fig. 1 that need to upgrade, and to obtain the process of the function file needing to upgrade from control terminal similar, and therefore not to repeat here, cross-referenced.
With reference to Fig. 5, show a kind of according to an embodiment of the invention flow chart of steps of the method for upgrading software based on LAN (Local Area Network), specifically can comprise the steps:
Step 501, user terminal send upgrade request to control terminal; Wherein, described upgrade request specifically can comprise: the current version information of software;
Step 502, control terminal, after the upgrade request receiving user terminal, according to described upgrade request, obtain the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Step 503, control terminal send described index information to described user terminal;
Step 504, user terminal receive the index information of functional module that described control terminal sends according to described upgrade request, to be upgraded;
Current version information corresponding to that described index information comprises by step 505, user terminal, the target version information of function file and the current version information of software and described functional module to be upgraded, function file compares;
Step 506, when comparative result is inconsistent, user terminal, according to download address corresponding to described target version information, downloads corresponding function file.
It should be noted that, control terminal is according to described upgrade request, before obtaining the index information of corresponding functional module to be upgraded, first the consistance of current version information and target version information entrained by upgrade request can be judged, if the two is consistent, then can send the prompting of similar " current version has been target version " to user terminal; If the two is inconsistent, then step 502 can be performed.
With reference to Fig. 6, show a kind of according to an embodiment of the invention flow chart of steps of the method for upgrading software based on LAN (Local Area Network), be applied to server, specifically can comprise:
Step 601, receive upgrade request from control terminal; Wherein, described upgrade request specifically can comprise: the current version information of software;
Step 602, according to described upgrade request, obtain the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Step 603, send described index information to described control terminal.
In a kind of embodiment of the present invention, the functional module to be upgraded that described upgrade request is corresponding can be obtained as follows: the target version information determining the corresponding software of described upgrade request; According to described current version information and described target version information, search in the mapping relations between the prototype version information set up in advance, target version information and functional module to be upgraded, to obtain corresponding functional module to be upgraded.
For embodiment illustrated in fig. 6, due to implementation and implementation embodiment illustrated in fig. 3 similar, and therefore not to repeat here, cross-referenced.
For embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the embodiment of the present invention is not by the restriction of described sequence of movement, because according to the embodiment of the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in instructions all belongs to embodiment, and involved action might not be that the embodiment of the present invention is necessary.
With reference to Fig. 7, show a kind of according to an embodiment of the invention structured flowchart of the software updating apparatus based on LAN (Local Area Network), be applied to control terminal, specifically can comprise as lower module:
Request receiving module 701, for receiving the first upgrade request of user terminal; Wherein, described first upgrade request specifically can comprise: the current version information of software;
Index acquisition module 702, for according to described first upgrade request, obtains the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information; And
Index sending module 703, for sending described index information to described user terminal.
In a kind of embodiment of the present invention, described index acquisition module 702, specifically can comprise:
First obtains submodule, for obtaining functional module to be upgraded corresponding to described first upgrade request:
Wherein, described first obtains submodule, specifically can comprise:
Determining unit, for determining the target version information of the corresponding software of described first upgrade request; And
Search unit, for according to described current version information and described target version information, search in the mapping relations between the prototype version information set up in advance, target version information and functional module to be upgraded, to obtain corresponding functional module to be upgraded.
In another kind of embodiment of the present invention, described device can also comprise:
Request sending module, for sending the second upgrade request to server; Wherein, described second upgrade request specifically can comprise: the current version information of software;
Index receiver module, for receiving index information that described server sends according to described second upgrade request, functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Comparison module, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares;
Download module, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file.
In another embodiment of the present invention, described device can also comprise:
Version acquisition module, for obtaining current version information corresponding to the current version information of software and described functional module to be upgraded, function file;
Wherein, described version acquisition module, specifically can comprise:
Second obtains submodule, for obtaining current version information corresponding to the current version information of software and described functional module to be upgraded, function file from the default memory module of this locality; Or
3rd obtains submodule, for downloading current version information corresponding to the current version information of software and described functional module to be upgraded, function file from server.
In another embodiment of the present invention, described target version information can be the latest version information of the corresponding software of described upgrade request, or described target version information also can be the preset version information of the corresponding software of described upgrade request and respective user terminal thereof.
With reference to Fig. 8, show a kind of according to an embodiment of the invention structured flowchart of the software updating apparatus based on LAN (Local Area Network), be applied to user terminal, specifically can comprise as lower module:
First sending module 801, for sending upgrade request to control terminal; Wherein, described upgrade request specifically can comprise: the current version information of software; And
Receiver module 802, for receiving the index information of functional module that described control terminal sends according to described upgrade request, to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Comparison module 803, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares; And
Download module 804, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file.
In a kind of embodiment of the present invention, described device can also comprise:
Second sending module, for sending the index information of described functional module to be upgraded to other user terminals.
With reference to Fig. 9, show a kind of according to an embodiment of the invention structured flowchart of the software updating apparatus based on LAN (Local Area Network), be applied to server, specifically can comprise as lower module:
Receiver module 901, for receiving the upgrade request from control terminal; Wherein, described upgrade request specifically can comprise: the current version information of software;
Acquisition module 902, for according to described upgrade request, obtains the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information; And
Sending module 903, for sending described index information to described control terminal.
With reference to Figure 10, show a kind of according to an embodiment of the invention structured flowchart of the software update system based on LAN (Local Area Network), specifically can comprise: user terminal 1001 and control terminal 1002;
Wherein, described user terminal 1001, specifically can comprise:
First sending module 1011, for sending the first upgrade request to control terminal; Wherein, described first upgrade request specifically can comprise: the current version information of software; And
First receiver module 1012, for receiving index information that described control terminal sends according to described first upgrade request, functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information specifically can comprise: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
First comparison module 1013, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares; And
First download module 1014, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file;
Described control terminal 1002, specifically can comprise:
Second receiver module 1021, for receiving the first upgrade request of user terminal; Wherein, described first upgrade request comprises: the current version information of software;
First acquisition module 1022, for according to described first upgrade request, obtains the index information of corresponding functional module to be upgraded; And
Second sending module 1023, for sending described index information to described user terminal.
In a kind of embodiment of the present invention, described system can also comprise: server;
Described control terminal 1002 can also comprise:
3rd sending module, for sending the second upgrade request to server; Wherein, described second upgrade request comprises: the current version information of software;
3rd receiver module, for receiving index information that described server sends according to described second upgrade request, functional module to be upgraded;
Second comparison module, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares;
Second download module, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file;
Described server, specifically can comprise:
4th receiver module, for receiving the second upgrade request from control terminal;
Second acquisition module, for according to described second upgrade request, obtains the index information of corresponding functional module to be upgraded; And
4th sending module, for sending described index information to described control terminal.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, relevant part illustrates see the part of embodiment of the method.
Intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with display at this algorithm provided.Various general-purpose system also can with use based on together with this teaching.According to description above, the structure constructed required by this type systematic is apparent.In addition, the present invention is not also for any certain programmed language.It should be understood that and various programming language can be utilized to realize content of the present invention described here, and the description done language-specific is above to disclose preferred forms of the present invention.
In instructions provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this instructions (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in the following claims, the one of any of embodiment required for protection can use with arbitrary array mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions of the some or all parts in the method for upgrading software based on LAN (Local Area Network), device and the system that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from Internet platform and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computing machine of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
The invention discloses A1, a kind of method for upgrading software based on LAN (Local Area Network), be applied to control terminal, comprise:
Receive the first upgrade request of user terminal; Wherein, described first upgrade request comprises: the current version information of software;
According to described first upgrade request, obtain the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Described index information is sent to described user terminal.
A2, method as described in A1, obtain the functional module to be upgraded that described first upgrade request is corresponding as follows:
Determine the target version information of the corresponding software of described first upgrade request;
According to described current version information and described target version information, search in the mapping relations between the prototype version information set up in advance, target version information and functional module to be upgraded, to obtain corresponding functional module to be upgraded.
A3, method as described in A1 or A2, described method also comprises:
The second upgrade request is sent to server; Wherein, described second upgrade request comprises: the current version information of software;
Receive index information that described server sends according to described second upgrade request, functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Current version information corresponding to the current version information of target version information that comprised by described index information, function file and software and described functional module to be upgraded, function file compares;
When comparative result is inconsistent, according to the download address that described target version information is corresponding, download corresponding function file.
A4, method as described in A3, obtain current version information corresponding to the current version information of software and described functional module to be upgraded, function file as follows:
Current version information corresponding to the current version information of software and described functional module to be upgraded, function file is obtained from the default memory module of this locality; Or
Current version information corresponding to the current version information of software and described functional module to be upgraded, function file is downloaded from server.
A5, method as described in A2, described target version information is the latest version information of the corresponding software of described upgrade request, or described target version information is the preset version information of the corresponding software of described upgrade request and respective user terminal thereof.
The invention discloses B6, a kind of method for upgrading software based on LAN (Local Area Network), be applied to user terminal, comprise:
Upgrade request is sent to control terminal; Wherein, described upgrade request comprises: the current version information of software;
Receive the index information of functional module that described control terminal sends according to described upgrade request, to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Current version information corresponding to the current version information of target version information that comprised by described index information, function file and software and described functional module to be upgraded, function file compares;
When comparative result is inconsistent, according to the download address that described target version information is corresponding, download corresponding function file.
B7, method as described in B6, described method also comprises:
The index information of described functional module to be upgraded is sent to other user terminals.
B8, method as described in B6 or B7, obtain current version information corresponding to the current version information of software and described functional module to be upgraded, function file as follows:
Current version information corresponding to the current version information of software and described functional module to be upgraded, function file is obtained from the default memory module of this locality; Or
Current version information corresponding to the current version information of software and described functional module to be upgraded, function file is downloaded from control terminal or server.
The invention discloses C9, a kind of method for upgrading software based on LAN (Local Area Network), be applied to server, comprise:
Receive the upgrade request from control terminal; Wherein, described upgrade request comprises: the current version information of software;
According to described upgrade request, obtain the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Described index information is sent to described control terminal.
C10, method as described in C9, obtain the functional module to be upgraded that described upgrade request is corresponding as follows:
Determine the target version information of the corresponding software of described upgrade request;
According to described current version information and described target version information, search in the mapping relations between the prototype version information set up in advance, target version information and functional module to be upgraded, to obtain corresponding functional module to be upgraded.
D11, a kind of software updating apparatus based on LAN (Local Area Network), be applied to control terminal, comprise:
Request receiving module, for receiving the first upgrade request of user terminal; Wherein, described first upgrade request comprises: the current version information of software;
Index acquisition module, for according to described first upgrade request, obtains the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information; And
Index sending module, for sending described index information to described user terminal.
D12, device as described in D11, described index acquisition module, comprising:
First obtains submodule, for obtaining functional module to be upgraded corresponding to described first upgrade request:
Wherein, described first obtains submodule, comprising:
Determining unit, for determining the target version information of the corresponding software of described first upgrade request; And
Search unit, for according to described current version information and described target version information, search in the mapping relations between the prototype version information set up in advance, target version information and functional module to be upgraded, to obtain corresponding functional module to be upgraded.
D13, device as described in D11 or D12, described device also comprises:
Request sending module, for sending the second upgrade request to server; Wherein, described second upgrade request comprises: the current version information of software;
Index receiver module, for receiving index information that described server sends according to described second upgrade request, functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Comparison module, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares;
Download module, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file.
D14, device as described in D13, described device also comprises:
Version acquisition module, for obtaining current version information corresponding to the current version information of software and described functional module to be upgraded, function file;
Wherein, described version acquisition module, comprising:
Second obtains submodule, for obtaining current version information corresponding to the current version information of software and described functional module to be upgraded, function file from the default memory module of this locality; Or
3rd obtains submodule, for downloading current version information corresponding to the current version information of software and described functional module to be upgraded, function file from server.
D15, device as described in D12, described target version information is the latest version information of the corresponding software of described upgrade request, or described target version information is the preset version information of the corresponding software of described upgrade request and respective user terminal thereof.
The invention discloses E16, a kind of software updating apparatus based on LAN (Local Area Network), be applied to user terminal, comprise:
First sending module, for sending upgrade request to control terminal; Wherein, described upgrade request comprises: the current version information of software; And
Receiver module, for receiving the index information of functional module that described control terminal sends according to described upgrade request, to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Comparison module, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares; And
Download module, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file.
E17, device as described in E16, described device also comprises:
Second sending module, for sending the index information of described functional module to be upgraded to other user terminals.
The invention discloses F18, a kind of software updating apparatus based on LAN (Local Area Network), be applied to server, comprise:
Receiver module, for receiving the upgrade request from control terminal; Wherein, described upgrade request comprises: the current version information of software;
Acquisition module, for according to described upgrade request, obtains the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information; And
Sending module, for sending described index information to described control terminal.
The invention discloses G19, a kind of software update system based on LAN (Local Area Network), comprising: user terminal and control terminal;
Wherein, described user terminal, comprising:
First sending module, for sending the first upgrade request to control terminal; Wherein, described first upgrade request comprises: the current version information of software; And
First receiver module, for receiving index information that described control terminal sends according to described first upgrade request, functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
First comparison module, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares; And
First download module, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file;
Described control terminal, comprising:
Second receiver module, for receiving the first upgrade request of user terminal;
First acquisition module, for according to described first upgrade request, obtains the index information of corresponding functional module to be upgraded; And
Second sending module, for sending described index information to described user terminal.
G20, system as described in G19, described system also comprises: server;
Described control terminal also comprises:
3rd sending module, for sending the second upgrade request to server; Wherein, described second upgrade request comprises: the current version information of software;
3rd receiver module, for receiving index information that described server sends according to described second upgrade request, functional module to be upgraded;
Second comparison module, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares;
Second download module, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file;
Described server, comprising:
4th receiver module, for receiving the second upgrade request from control terminal;
Second acquisition module, for according to described second upgrade request, obtains the index information of corresponding functional module to be upgraded; And
4th sending module, for sending described index information to described control terminal.

Claims (10)

1. based on a method for upgrading software for LAN (Local Area Network), be applied to control terminal, comprise:
Receive the first upgrade request of user terminal; Wherein, described first upgrade request comprises: the current version information of software;
According to described first upgrade request, obtain the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Described index information is sent to described user terminal.
2. the method for claim 1, is characterized in that, obtains the functional module to be upgraded that described first upgrade request is corresponding as follows:
Determine the target version information of the corresponding software of described first upgrade request;
According to described current version information and described target version information, search in the mapping relations between the prototype version information set up in advance, target version information and functional module to be upgraded, to obtain corresponding functional module to be upgraded.
3. method as claimed in claim 1 or 2, it is characterized in that, described method also comprises:
The second upgrade request is sent to server; Wherein, described second upgrade request comprises: the current version information of software;
Receive index information that described server sends according to described second upgrade request, functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Current version information corresponding to the current version information of target version information that comprised by described index information, function file and software and described functional module to be upgraded, function file compares;
When comparative result is inconsistent, according to the download address that described target version information is corresponding, download corresponding function file.
4. method as claimed in claim 3, is characterized in that, obtains current version information corresponding to the current version information of software and described functional module to be upgraded, function file as follows:
Current version information corresponding to the current version information of software and described functional module to be upgraded, function file is obtained from the default memory module of this locality; Or
Current version information corresponding to the current version information of software and described functional module to be upgraded, function file is downloaded from server.
5. based on a method for upgrading software for LAN (Local Area Network), be applied to user terminal, comprise:
Upgrade request is sent to control terminal; Wherein, described upgrade request comprises: the current version information of software;
Receive the index information of functional module that described control terminal sends according to described upgrade request, to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Current version information corresponding to the current version information of target version information that comprised by described index information, function file and software and described functional module to be upgraded, function file compares;
When comparative result is inconsistent, according to the download address that described target version information is corresponding, download corresponding function file.
6. based on a method for upgrading software for LAN (Local Area Network), be applied to server, comprise:
Receive the upgrade request from control terminal; Wherein, described upgrade request comprises: the current version information of software;
According to described upgrade request, obtain the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Described index information is sent to described control terminal.
7. based on a software updating apparatus for LAN (Local Area Network), be applied to control terminal, comprise:
Request receiving module, for receiving the first upgrade request of user terminal; Wherein, described first upgrade request comprises: the current version information of software;
Index acquisition module, for according to described first upgrade request, obtains the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information; And
Index sending module, for sending described index information to described user terminal.
8. based on a software updating apparatus for LAN (Local Area Network), be applied to user terminal, comprise:
First sending module, for sending upgrade request to control terminal; Wherein, described upgrade request comprises: the current version information of software; And
Receiver module, for receiving the index information of functional module that described control terminal sends according to described upgrade request, to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
Comparison module, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares; And
Download module, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file.
9. based on a software updating apparatus for LAN (Local Area Network), be applied to server, comprise:
Receiver module, for receiving the upgrade request from control terminal; Wherein, described upgrade request comprises: the current version information of software;
Acquisition module, for according to described upgrade request, obtains the index information of corresponding functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information; And
Sending module, for sending described index information to described control terminal.
10. based on a software update system for LAN (Local Area Network), comprising: user terminal and control terminal;
Wherein, described user terminal, comprising:
First sending module, for sending the first upgrade request to control terminal; Wherein, described first upgrade request comprises: the current version information of software; And
First receiver module, for receiving index information that described control terminal sends according to described first upgrade request, functional module to be upgraded; Wherein, described functional module to be upgraded is the functional module that the target version being upgraded to software from the current version of software needs to upgrade, and described index information comprises: the target version information of described functional module corresponding function file to be upgraded and download address corresponding to described target version information;
First comparison module, for described index information is comprised, corresponding to the target version information of function file and the current version information of software and described functional module to be upgraded, the current version information of function file compares; And
First download module, during for being inconsistent at comparative result, according to the download address that described target version information is corresponding, downloads corresponding function file;
Described control terminal, comprising:
Second receiver module, for receiving the first upgrade request of user terminal;
First acquisition module, for according to described first upgrade request, obtains the index information of corresponding functional module to be upgraded; And
Second sending module, for sending described index information to described user terminal.
CN201510921117.8A 2015-12-11 2015-12-11 A kind of method for upgrading software based on LAN, device and system Active CN105389191B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510921117.8A CN105389191B (en) 2015-12-11 2015-12-11 A kind of method for upgrading software based on LAN, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510921117.8A CN105389191B (en) 2015-12-11 2015-12-11 A kind of method for upgrading software based on LAN, device and system

Publications (2)

Publication Number Publication Date
CN105389191A true CN105389191A (en) 2016-03-09
CN105389191B CN105389191B (en) 2018-11-02

Family

ID=55421498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510921117.8A Active CN105389191B (en) 2015-12-11 2015-12-11 A kind of method for upgrading software based on LAN, device and system

Country Status (1)

Country Link
CN (1) CN105389191B (en)

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020843A (en) * 2016-05-31 2016-10-12 乐视控股(北京)有限公司 System function updating method and system, terminal device and server
CN106201552A (en) * 2016-07-22 2016-12-07 北京智能管家科技有限公司 A kind of method for upgrading software, client, server and system
CN106254440A (en) * 2016-07-29 2016-12-21 杭州迪普科技有限公司 The upgrade method of a kind of AP and device
CN106339248A (en) * 2016-10-09 2017-01-18 大道网络(上海)股份有限公司 Remote software upgrading method and remote software upgrading system
CN106878812A (en) * 2017-02-22 2017-06-20 深圳创维-Rgb电子有限公司 A kind of method and apparatus of upgrade-system
CN107015818A (en) * 2017-06-06 2017-08-04 北京洋浦伟业科技发展有限公司 Outside covering update method and device that the non-body part of application updates
CN107193602A (en) * 2017-05-24 2017-09-22 郑州云海信息技术有限公司 A kind of method of software upgrading, apparatus and system
CN107483241A (en) * 2017-08-08 2017-12-15 聚好看科技股份有限公司 A kind of method and apparatus that upgrade image version is downloaded during network element updating
CN107544785A (en) * 2017-06-28 2018-01-05 新华三技术有限公司 A kind of application program update method and device
CN107783777A (en) * 2016-08-29 2018-03-09 深圳市中兴微电子技术有限公司 A kind of upgrade method, equipment and the system of vehicle-mounted integral machine
CN108491214A (en) * 2018-02-08 2018-09-04 北京中科江南信息技术股份有限公司 The management method and management system of application system upgrading deployment
CN108650287A (en) * 2018-03-15 2018-10-12 百度在线网络技术(北京)有限公司 Upgrade method, equipment and the computer-readable medium of terminal device in Internet of Things
CN110147246A (en) * 2019-05-10 2019-08-20 上海擎感智能科技有限公司 Version checking method and device, storage medium and the terminal of space download technology
CN111367545A (en) * 2020-02-13 2020-07-03 北京三快在线科技有限公司 Terminal upgrading method and device, server, terminal equipment and readable storage medium
CN111611006A (en) * 2020-04-09 2020-09-01 西安万像电子科技有限公司 Version switching method and device
WO2021022713A1 (en) * 2019-08-05 2021-02-11 平安科技(深圳)有限公司 Distributed module update method, device, and storage medium
CN112532664A (en) * 2019-09-18 2021-03-19 北京国双科技有限公司 Data upgrading method and device
WO2023231725A1 (en) * 2022-05-31 2023-12-07 中兴通讯股份有限公司 Information transmission method and apparatus, storage medium, and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080037450A (en) * 2006-10-26 2008-04-30 웹싱크 주식회사 System and method for processing update software run on mobile terminal platform
CN102055785A (en) * 2009-11-09 2011-05-11 杭州华三通信技术有限公司 Online upgrade method for distributed system, distributed system and equipment
CN103763354A (en) * 2014-01-06 2014-04-30 北京奇虎科技有限公司 Method and device for downloading upgrading data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20080037450A (en) * 2006-10-26 2008-04-30 웹싱크 주식회사 System and method for processing update software run on mobile terminal platform
CN102055785A (en) * 2009-11-09 2011-05-11 杭州华三通信技术有限公司 Online upgrade method for distributed system, distributed system and equipment
CN103763354A (en) * 2014-01-06 2014-04-30 北京奇虎科技有限公司 Method and device for downloading upgrading data

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106020843A (en) * 2016-05-31 2016-10-12 乐视控股(北京)有限公司 System function updating method and system, terminal device and server
CN106201552A (en) * 2016-07-22 2016-12-07 北京智能管家科技有限公司 A kind of method for upgrading software, client, server and system
CN106254440B (en) * 2016-07-29 2019-12-06 杭州迪普科技股份有限公司 AP upgrading method and device
CN106254440A (en) * 2016-07-29 2016-12-21 杭州迪普科技有限公司 The upgrade method of a kind of AP and device
CN107783777A (en) * 2016-08-29 2018-03-09 深圳市中兴微电子技术有限公司 A kind of upgrade method, equipment and the system of vehicle-mounted integral machine
CN106339248A (en) * 2016-10-09 2017-01-18 大道网络(上海)股份有限公司 Remote software upgrading method and remote software upgrading system
CN106878812A (en) * 2017-02-22 2017-06-20 深圳创维-Rgb电子有限公司 A kind of method and apparatus of upgrade-system
CN107193602A (en) * 2017-05-24 2017-09-22 郑州云海信息技术有限公司 A kind of method of software upgrading, apparatus and system
CN107015818A (en) * 2017-06-06 2017-08-04 北京洋浦伟业科技发展有限公司 Outside covering update method and device that the non-body part of application updates
CN107544785A (en) * 2017-06-28 2018-01-05 新华三技术有限公司 A kind of application program update method and device
CN107483241A (en) * 2017-08-08 2017-12-15 聚好看科技股份有限公司 A kind of method and apparatus that upgrade image version is downloaded during network element updating
CN107483241B (en) * 2017-08-08 2020-12-01 聚好看科技股份有限公司 Method and device for downloading upgrade mirror image version in network element upgrading process
CN108491214A (en) * 2018-02-08 2018-09-04 北京中科江南信息技术股份有限公司 The management method and management system of application system upgrading deployment
CN108650287A (en) * 2018-03-15 2018-10-12 百度在线网络技术(北京)有限公司 Upgrade method, equipment and the computer-readable medium of terminal device in Internet of Things
CN110147246A (en) * 2019-05-10 2019-08-20 上海擎感智能科技有限公司 Version checking method and device, storage medium and the terminal of space download technology
WO2021022713A1 (en) * 2019-08-05 2021-02-11 平安科技(深圳)有限公司 Distributed module update method, device, and storage medium
CN112532664A (en) * 2019-09-18 2021-03-19 北京国双科技有限公司 Data upgrading method and device
CN111367545A (en) * 2020-02-13 2020-07-03 北京三快在线科技有限公司 Terminal upgrading method and device, server, terminal equipment and readable storage medium
CN111611006A (en) * 2020-04-09 2020-09-01 西安万像电子科技有限公司 Version switching method and device
WO2023231725A1 (en) * 2022-05-31 2023-12-07 中兴通讯股份有限公司 Information transmission method and apparatus, storage medium, and electronic device

Also Published As

Publication number Publication date
CN105389191B (en) 2018-11-02

Similar Documents

Publication Publication Date Title
CN105389191A (en) Software upgrading method, apparatus and system based on local area network
CN103150513B (en) The method of the implantation information in interception application program and device
JP2020531976A (en) A device that provides a set of cryptographically protected, filtered, and sorted transaction datasets for blockchain links.
CN109391509A (en) A kind of method, system and the application server of more new application
CN111083722A (en) Model pushing method, model requesting method, model pushing device, model requesting device and storage medium
CN104067276B (en) Client-side minimum is downloaded and the page navigation feature of simulation
CN104754062A (en) Internet based information popularization method, server and user terminal
CN105337787A (en) Multi-server monitoring method, device and system
CN104836843A (en) Client application program updating method and device
CN109391673A (en) A kind of method, system and the terminal device of management update file
CN105515900A (en) Method and device for acquiring on-line state of terminal
US20220231926A1 (en) Standardized format for containerized applications
CN110147241A (en) Program configures update method, electronic device, computer equipment and storage medium
CN104572968A (en) Page updating method and device
CN103034540A (en) Distributed information system, device and coordinating method thereof
CN104038520A (en) Multi-version distributed resource management method and multi-version distributed resource management system
CN103595770A (en) Method and device for achieving file downloading through SDK
CN105208108A (en) File uploading/downloading method and system in Web environment, server and client end
CN102446100B (en) For the type of data type and the abstract system and method for length
CN104580267A (en) A resource downloading method, device, server and corresponding system
CN105260421A (en) Webpage loading method and apparatus
CN112702195A (en) Gateway configuration method, electronic device and computer readable storage medium
US20130254758A1 (en) Application Construction for Execution on Diverse Computing Infrastructures
CN109145236A (en) Page file processing method, apparatus and system
CN105100224A (en) Data transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Co-patentee after: Qianxin Technology Group Co., Ltd.

Patentee after: Beijing Qihu Technology Co., Ltd.

Address before: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Co-patentee before: BEIJING QI'ANXIN SCIENCE & TECHNOLOGY CO., LTD.

Patentee before: Beijing Qihu Technology Co., Ltd.