CN109495532A - Client update method and device - Google Patents

Client update method and device Download PDF

Info

Publication number
CN109495532A
CN109495532A CN201710822515.3A CN201710822515A CN109495532A CN 109495532 A CN109495532 A CN 109495532A CN 201710822515 A CN201710822515 A CN 201710822515A CN 109495532 A CN109495532 A CN 109495532A
Authority
CN
China
Prior art keywords
client
program
latest edition
server
updated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710822515.3A
Other languages
Chinese (zh)
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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710822515.3A priority Critical patent/CN109495532A/en
Publication of CN109495532A publication Critical patent/CN109495532A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0843Configuration by using pre-existing information, e.g. using templates or copying from other elements based on generic templates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/085Retrieval of network configuration; Tracking network configuration history
    • H04L41/0853Retrieval of network configuration; Tracking network configuration history by actively collecting configuration information or by backing up configuration information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

This application discloses client update method and devices.One specific embodiment of this method includes: to send inquiry request to server is updated at interval of preset duration by client;It receives and updates the update related information that server returns, and judge whether to meet preset condition, preset condition includes: that instruction information indicates that permission client is updated and the version identifier of the latest edition of the program of the version identifier of the current version of the program of client and client is inconsistent;When meeting preset condition, from the program for the client for updating server downloading latest edition.It realizes without being supported by dedicated server, complete by the program of latest edition client automatically dispose, the expense of deployment process is saved, and deployment scenario of the program in all clients of latest edition can be monitored in real time, comprehensively monitors deployment process.

Description

Client update method and device
Technical field
This application involves computer fields, and in particular to network technique field more particularly to client update method and dress It sets.
Background technique
In the system of such as distributed system, it is often necessary to by the program deployment of latest edition on the server i.e. to clothes The program run on business device is updated.Currently, generalling use the monitoring of dedicated management tool and completing the program of latest edition Deployment process.
However, when monitoring and completing the deployment process of program of latest edition by dedicated management tool, due to needing Dedicated server is supported and needs personal management, and development cost is excessively high.
Summary of the invention
This application provides client update method and devices, ask for solving technology existing for above-mentioned background technology part Topic.
In a first aspect, this application provides client update method, this method comprises: client at interval of preset duration to It updates server and sends inquiry request, wherein update the program of the client of server storage latest edition, inquiry request packet It includes: the mark of client;It receives and updates the update related information that server returns, and judge whether to meet preset condition, more New related information includes: the version identifier of the latest edition of the program of client, indicates whether that client is allowed to be updated Indicate that information, preset condition include: that instruction information instruction allows client to be updated and the current version of the program of client The version identifier of the latest edition of the program of version identifier originally and client is inconsistent;When meeting preset condition, from update Server downloads the program of the client of latest edition.
Second aspect, this application provides client updating device, which includes: transmission unit, is configured to every Inquiry request is sent to server is updated every preset duration, wherein the program of the client of server storage latest edition is updated, Inquiry request includes: the mark of client;Processing unit is configured to receive the update related information for updating server return, And judge whether to meet preset condition, it updates the version identifier of the latest edition for the program that related information includes: client, refer to Show that the instruction information for whether allowing client to be updated, preset condition include: that instruction information instruction allows client to carry out more New and the latest edition of the program of the version identifier and client of the current version of the program of client version identifier is different It causes;Updating unit is configured to when meeting preset condition, from the program for the client for updating server downloading latest edition.
Client update method provided by the present application and device, by client at interval of preset duration to update server Send inquiry request, wherein update the program of the client of server storage latest edition, inquiry request includes: client Mark;It receives and updates the update related information that server returns, and judge whether to meet preset condition, update related information packet Include: the version identifier of the latest edition of the program of client indicates whether the instruction information for allowing client to be updated, and presets Condition include: instruction information instruction allow client be updated and the version identifier of the current version of the program of client with The version identifier of the latest edition of the program of client is inconsistent;When meeting preset condition, from updating, server downloading is newest The program of the client of version.It realizes without being supported by dedicated server, completes latest edition Program saves the expense of deployment process in the automatically dispose of client, and can monitor the program of latest edition in real time and exist The deployment scenario of all clients comprehensively monitors deployment process.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other Feature, objects and advantages will become more apparent upon:
Fig. 1 shows the exemplary system architecture figure that can be applied to the client update method according to the application;
Fig. 2 shows the flow charts according to one embodiment of the client update method of the application;
Fig. 3 shows an exemplary process diagram for updating server monitoring all clients;
Fig. 4 shows an exemplary process diagram of the program of the client of the latest edition of verification client downloads;
Fig. 5 show client from update server downloading latest edition client program an exemplary flow Figure;
Fig. 6 shows the structural schematic diagram of one embodiment of the client updating device according to the application;
Fig. 7 shows the client for being suitable for being used to realize the embodiment of the present application or updates the knot of the computer system of server Structure schematic diagram.
Specific embodiment
The application is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining related invention, rather than the restriction to the invention.It also should be noted that in order to Convenient for description, part relevant to related invention is illustrated only in attached drawing.
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase Mutually combination.The application is described in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
Referring to FIG. 1, it illustrates the exemplary system framves that can be applied to the client update method according to the application Composition.
As shown in Figure 1, system architecture may include updating server 101, network 102, multiple servers 103.Server 103 can be the server of operation business in distributed system, and updating server 101 can be cloud storage service device.Update clothes Business device 101 can store the program of operation on a server 103, such as update the storage of server 101 operation on a server 103 Online service program.Network 102 can be cable network.
In this application, a side of the program for downloading latest edition can be referred to as client.The program of client can To refer to the program of operation on the client.For example, server 103 can be from the fortune for updating the downloading latest edition of server 101 Server 103 then can be referred to as client by the program of row on a server 103.
Referring to FIG. 2, it illustrates the flow charts according to one embodiment of the client update method of the application.The party Method can be executed by client (server 103 of example as shown in figure 1), and correspondingly, client updating device can be set in client It holds in (server 103 of example as shown in figure 1).Method includes the following steps:
Step 201, client sends inquiry request to server is updated at interval of preset duration.
In the present embodiment, the program of the client of server storage latest edition is updated.For example, developer is developing It, can be by terminal that developer uses by the journey of the client of latest edition out after the program of the client of latest edition Sequence is uploaded to update server and is stored.
In the present embodiment, client can send inquiry request to server is updated at interval of preset duration, and inquiry is asked Ask include: client mark.The mark of client can be the title of client.For example, when client is distributed system In server when, then client mark can be the server title.
In some optional implementations of the present embodiment, client is sent at interval of preset duration to server is updated It can also include: the version identifier of the current version of the IP address of client, the program of client in inquiry request.Client The current version of program can refer to the version for being currently operating at the program of client.It updates server and is receiving multiple clients Hold the version of the IP address of the client in the inquiry request sent at interval of preset duration, the current version of the program of client It, can be by the mark of each client and the IP address of the client, the current version of the program of the client after mark Version identifier be stored as one record.It is thus possible to be monitored to multiple client, long-time nothing can be checked in time Method successfully downloads the client of the program of the client of latest edition.
Referring to FIG. 3, it illustrates an exemplary process diagrams for updating server monitoring all clients.
The timing of each client with for example sending the IP of the mark of client, client at interval of 5 minutes to server Location, client the data such as the version number of current version of program.The IP for the client that server sends each client Address, the mark of client, the version number of the current version of the program of client, final updating time carry out as a record Storage.To which during the program of the client of latest edition is deployed to client, updating server can supervise in real time The deployment scenario for controlling all clients, monitors the current version of the program of each client.Updating server can will own The mark of client, the version number of the current version of the IP address of client, the program of client, last renewal time send The terminal used to O&M engineer.It is thus possible to which discovery in time is for a long time for a long time not by client without deployment success Currently running program is updated to the client of the program of the client of latest edition, and is handled.
Step 202, it receives and updates the update related information that server returns, and judge whether to meet preset condition.
In the present embodiment, update to after updating server transmission inquiry request, can receive by step 201 The update related information that server returns.Update the version mark of the latest edition for the program that related information may include: client Know, indicate whether the instruction information for allowing client to be updated.It can decide whether to meet preset condition.Preset condition packet It includes: indicating whether to allow the instruction information that is updated of client to indicate that permission client is updated and the program of client Current version version identifier and client program latest edition version identifier it is inconsistent.When meeting preset condition When, it can be from the program for the client for updating server downloading latest edition.
In some optional implementations of the present embodiment, the instruction that the update server that client receives is sent is The no instruction information for allowing client to be updated can be regular expression, and regular expression may include: expression client Mark field, indicate whether the field for allowing the corresponding client of the client identification to be updated.When permission client When being updated, the regular expression can be generated on updating server.Client is judging to indicate whether information indicates to permit Perhaps when the client is updated, the field of the mark of the expression client in regular expression can be extracted and indicated whether The field for allowing the client to be updated.When the field of the mark and the mark of the expression client extracted of client Match, can be based on the field for indicating whether to allow the client to be updated extracted, it is determined whether allow the client into Row updates.
Step 203, when meeting preset condition, from the program for the client for updating server downloading latest edition.
In the present embodiment, when by step 202 judge to meet preset condition when, that is, indicate whether allow client into Row update instruction information instruction allow client be updated and the version identifier of the current version of the program of client and It, can be from the client for updating server downloading latest edition when the version identifier of the latest edition of the program of client is inconsistent Program, client is updated using the program of the client of latest edition.
In some optional implementations of the present embodiment, it is contemplated that update the newest of the client stored on server The case where program of version may be tampered, client can receive the client for updating the latest edition that server is sent Program after, can also receive server transmission original encryption information.Original encryption information can be latest edition The program of client is uploaded to update server after utilize predetermined encryption algorithm to the program of the client of latest edition into Row is encrypted and is generated.It can use predetermined encryption algorithm to encrypt the program of the latest edition of the client of downloading, obtain Current crypto information.It is whether consistent with original encryption information that current crypto information can be compared, in other words, compare the newest of downloading The program of the client of version updates the program such as developer of the client of latest edition of server with being initially uploaded to Terminal be uploaded to update server latest edition client program it is whether consistent.
As the client of the program and the latest edition for being initially uploaded to update server of the client of the latest edition of downloading When the program at end is consistent, the program of the client of the latest edition of downloading can be run, when the client of the latest edition of downloading Program be initially uploaded to update server latest edition client program it is inconsistent when, downloading can be deleted most The program of the client of new version, the program that notice updates the client of server latest edition are tampered.It can be taken updating The program of the current latest edition being tampered is updated to the program of the client of correct latest edition by business device, thus, visitor Family end can download to the program of the client of correct latest edition.
By taking predetermined encryption algorithm is MD5 (Message Digest 5) algorithm as an example, client is receiving update server hair After the program of the client for the latest edition sent, the client for updating the latest edition that server is sent can also be received Program, which is uploaded to, updates the original encryption information i.e. original that server encrypts the program of the client of latest edition Beginning MD5 value.Client, can be to the newest visitor of downloading after the program of client for updating server downloading latest edition The program at family end is encrypted, and the i.e. current MD5 value of current crypto information is obtained.It is then possible to judge current MD5 value with it is original Whether MD5 value is consistent.If current MD5 value is consistent with original MD5 value, it can determine that the terminal of developer is uploaded to more new demand servicing The program of the client of the latest edition of device is not tampered with, then can determine the program success of the client of downloading latest edition. If current MD5 value and original MD5 value are inconsistent, it can determine that the terminal of developer is uploaded to the latest edition for updating server The program of client be tampered, the program of the client of the latest edition of downloading can be deleted, can notify to update server The program of the client of latest edition is tampered.Can update server by the program of the current latest edition being tampered more It is newly the program of the client of correct latest edition, thus, client can download to the client of correct latest edition Program.
Referring to FIG. 4, one it illustrates the program of the client of the latest edition of verification client downloads is exemplary Flow chart.
The program of the client for the latest edition that the terminal that update server can store developer uploads.It is taken updating It can use predetermined encryption algorithm MD5 algorithm on business device the program of the client of latest edition is encrypted, be added The MD5 value can be referred to as original MD5 value by confidential information, that is, MD5 value.Client downloads the visitor of latest edition from server is updated After the program at family end, it can use predetermined encryption algorithm MD5 algorithm and the program of the client of the latest edition of downloading carried out Computations obtain MD5 value, which can be referred to as to current MD5 value.It may determine that current MD5 value and original MD5 value It is whether consistent.The program of the current MD5 value client that can determine downloading latest edition consistent with original MD5 value successfully, can be with The program of the client of the latest edition of downloading is run, current MD5 value and original MD5 value are inconsistent, update server storage The program of the client of latest edition is tampered, and the program for the client for updating server latest edition can be notified to be tampered. The program from the client for updating server downloading latest edition can be again attempted to, is usurped when in update server by current When the program of the latest edition changed is updated to the program of the client of correct latest edition, client can be downloaded to correctly The program of the client of latest edition.
Referring to FIG. 5, it illustrates clients from one of program of the client for updating server downloading latest edition Exemplary process diagram.
The program of the client of latest edition is uploaded to update server and stored by the terminal of developer.Client Timing request updates the version number of the latest edition of the program of server acquisition client and indicates whether that client is allowed to upgrade Regular expression.Client can determine whether that client is updated based on regular expression.When permission client When being updated, the version number of the latest edition of the version number of the current version of the program of client and the program of client is judged It is whether consistent.If consistent, can determine without being disposed i.e. without the client from update server downloading latest edition The program at end.The program of the client of latest edition is downloaded if inconsistent.After the program for downloading the client of latest edition The terminal of program and developer that the client of the latest edition of downloading can be verified uploads to the latest edition for updating server The consistency of the program of this client is updated successfully in the unanimous circumstances client that sends a notice, and closing is currently operating at client The program at end is to close the program of the client of current version, runs the program of the client of the latest edition of downloading.
Referring to FIG. 6, this application provides a kind of client updating devices as the realization to method shown in above-mentioned each figure One embodiment, the Installation practice is corresponding with embodiment of the method shown in Fig. 2.
As shown in fig. 6, the client updating device of the present embodiment includes: transmission unit 601, processing unit 602 updates single Member 603.Wherein, transmission unit 601 is configured to send inquiry request to server is updated at interval of preset duration, wherein more New demand servicing device stores the program of the client of latest edition, and inquiry request includes: the mark of client;Processing unit 602 configures The update related information returned for receiving update server, and judge whether to meet preset condition, update related information packet Include: the version identifier of the latest edition of the program of client indicates whether the instruction information for allowing client to be updated, and presets Condition include: instruction information instruction allow client be updated and the version identifier of the current version of the program of client with The version identifier of the latest edition of the program of client is inconsistent;Updating unit 603 is configured to when meeting preset condition, from The program of the client of server downloading latest edition is updated, to be updated to client.
In some optional implementations of the present embodiment, inquiry request further include: IP address, the client of client Program current version.
In some optional implementations of the present embodiment, the instruction information for allowing client to be updated is indicated whether For regular expression, regular expression includes: the field of the mark of expression client, indicates whether that client is allowed to be updated Field.
In some optional implementations of the present embodiment, processing unit includes: expression processing subelement, and configuration is used In when the instruction information for indicating whether that client is allowed to be updated is regular expression, the table in regular expression is extracted Show the field of the mark of client and indicates whether the field for allowing client to be updated;In response to client mark with mention The fields match of the mark of the expression client of taking-up, based on the word for indicating whether that client is allowed to be updated extracted Section, it is determined whether client is allowed to be updated.
In some optional implementations of the present embodiment, client updating device further include: verification unit, configuration are used After Yu Cong updates the program of the client of server downloading latest edition, receives and update the original encryption letter that server is sent Breath, the program of client of the original encryption information based on latest edition, which is uploaded to, utilizes predetermined encryption algorithm when updating server The program of the client of latest edition is encrypted and is generated;Using predetermined encryption algorithm to the client of the latest edition of downloading The program at end is encrypted, and current crypto information is obtained;Judge whether current crypto information is consistent with original encryption information;If It is to run the program of the client of latest edition of downloading, and more by the version identifier of the current version of the program of client The version identifier of the latest edition of the new program for client;If it is not, deleting the program of the client of the latest edition of downloading.
In some optional implementations of the present embodiment, client is the server in distributed system, updates clothes Business device is cloud storage service device.
Fig. 7 shows the client for being suitable for being used to realize the embodiment of the present application or updates the knot of the computer system of server Structure schematic diagram.
It, can be according to being stored in read-only storage as shown in fig. 7, computer system includes central processing unit (CPU) 701 Program in device (ROM) 702 is executed from the program that storage section 708 is loaded into random access storage device (RAM) 703 Various movements appropriate and processing.In RAM703, it is also stored with various programs and data needed for computer system operation. CPU 701, ROM 702 and RAM 703 are connected with each other by bus 704.Input/output (I/O) interface 705 is also connected to always Line 704.
I/O interface 705: importation 706 is connected to lower component;Output par, c 707;Storage section including hard disk etc. 708;And the communications portion 709 of the network interface card including LAN card, modem etc..Communications portion 709 is via all As the network of internet executes communication process.Driver 710 is also connected to I/O interface 705 as needed.Detachable media 711, Such as disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 710, in order to from thereon The computer program of reading is mounted into storage section 708 as needed.
Particularly, process described in embodiments herein may be implemented as computer program.For example, the application Embodiment includes a kind of computer program product comprising carries computer program on a computer-readable medium, the calculating Machine program includes the instruction for method shown in execution flow chart.The computer program can be by communications portion 709 from net It is downloaded and installed on network, and/or is mounted from detachable media 711.In the computer program by central processing unit (CPU) When 701 execution, the above-mentioned function of limiting in the present processes is executed.
Present invention also provides a kind of computer-readable medium, which can be included in server 's;It is also possible to individualism, without in supplying server.Above-mentioned computer-readable medium carries one or more journey Sequence, when one or more program is executed by server, so that server: being sent at interval of preset duration to server is updated Inquiry request, wherein update the program of the client of server storage latest edition, inquiry request includes: the mark of client; It receives and updates the update related information that server returns, and judge whether to meet preset condition, updating related information includes: visitor The version identifier of the latest edition of the program at family end indicates whether the instruction information for allowing client to be updated, preset condition It include: that instruction information instruction allows client to be updated and the version identifier of the current version of the program of client and client The version identifier of the latest edition of the program at end is inconsistent;When meeting preset condition, latest edition is downloaded from server is updated Client program.
It should be noted that computer-readable medium described herein can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example may include but unlimited In the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or device, or any above combination.Computer can The more specific example for reading storage medium can include but is not limited to: electrical connection, portable meter with one or more conducting wires Calculation machine disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or The above-mentioned any appropriate combination of person.In this application, computer readable storage medium can be it is any include or storage program Tangible medium, which can be commanded execution system, device or device use or in connection.And in this Shen Please in, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal, In carry computer-readable program.The data-signal of this propagation can take various forms, including but not limited to electromagnetism Signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be computer-readable storage Any computer-readable medium other than medium, the computer-readable medium can send, propagate or transmit for by instructing Execution system, device or device use or program in connection.The program for including on computer-readable medium can To transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned any appropriate Combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the application, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module of table, program segment or program, a part of the module, program segment or program include one or more use The executable instruction of the logic function as defined in realizing.It should also be noted that in some implementations as replacements, being marked in box The function of note can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are actually It can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it to infuse Meaning, the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart can be with holding The dedicated hardware based system of functions or operations as defined in row is realized, or can use specialized hardware and computer instruction Combination realize.
Being described in unit involved in the embodiment of the present application can be realized by way of software, can also be by hard The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet Include transmission unit, processing unit, updating unit.Wherein, the title of these units is not constituted under certain conditions to the unit The restriction of itself, for example, transmission unit is also described as " for sending inquiry to server is updated at interval of preset duration The unit of request ".
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Those skilled in the art Member is it should be appreciated that invention scope involved in the application, however it is not limited to technology made of the specific combination of above-mentioned technical characteristic Scheme, while should also cover in the case where not departing from inventive concept, it is carried out by above-mentioned technical characteristic or its equivalent feature any Other technical solutions of combination and formation.Such as features described above and (but being not limited to) disclosed herein have similar functions Technical characteristic is replaced mutually and the technical solution that is formed.

Claims (14)

1. a kind of client update method, which is characterized in that the described method includes:
Client sends inquiry request to server is updated at interval of preset duration, wherein the update server storage is newest The program of the client of version, the inquiry request include: the mark of client;
It receives and updates the update related information that server returns, and judge whether to meet preset condition, the update association letter Breath includes: the version identifier of the latest edition of the program of client, indicates whether to allow the instruction information that is updated of client, The preset condition includes: that instruction information instruction allows client to be updated and the current version of the program of client Version identifier and client program latest edition version identifier it is inconsistent;
When meeting the preset condition, from the program of the client of the update server downloading latest edition.
2. the method according to claim 1, wherein the inquiry request further include: the IP address of client, visitor The current version of the program at family end.
3. according to the method described in claim 2, it is characterized in that, the instruction for indicating whether that client is allowed to be updated Information is regular expression, and regular expression includes: the field of the mark of expression client, indicates whether that client is allowed to carry out The field of update.
4. according to the method described in claim 3, judging whether that meeting preset condition includes:
It extracts the field of the mark of the expression client in the regular expression and indicates whether that client is allowed to carry out more New field;
In response to the fields match of the mark and the mark of the expression client extracted of the client, based on the table extracted The field for whether allowing client to be updated shown, it is determined whether the client is allowed to be updated.
5. according to the method described in claim 4, it is characterized in that, in the client from the update server downloading latest edition After the program at end, the method also includes:
Receive the original encryption information that the update server is sent, the client of the original encryption information based on latest edition Program be uploaded to when updating server encrypted using program of the predetermined encryption algorithm to the client of latest edition and It generates;
It is encrypted using program of the predetermined encryption algorithm to the client of the latest edition of downloading, obtains current crypto letter Breath;
Judge whether the current crypto information and original encryption information are consistent;
If so, the program of the client of the latest edition of operation downloading, and by the version of the current version of the program of client Mark is updated to the version identifier of the latest edition of the program of client;
If it is not, deleting the program of the client of the latest edition of downloading.
6. method described in one of -5 according to claim 1, which is characterized in that the client is the service in distributed system Device, update server are cloud storage service device.
7. a kind of client updating device, which is characterized in that described device includes:
Transmission unit is configured to send inquiry request to server is updated at interval of preset duration, wherein the more new demand servicing Device stores the program of the client of latest edition, and the inquiry request includes: the mark of client;
Processing unit is configured to receive the update related information for updating server return, and judges whether to meet default item Part, it is described update related information include: client program latest edition version identifier, indicate whether allow client into The instruction information that row updates, the preset condition include: that instruction information instruction permission client is updated and client The version identifier of the latest edition of the program of the version identifier and client of the current version of the program at end is inconsistent;
Updating unit is configured to when meeting the preset condition, from the client of the update server downloading latest edition The program at end.
8. device according to claim 7, which is characterized in that the inquiry request further include: the IP address of client, visitor The current version of the program at family end.
9. device according to claim 8, which is characterized in that the instruction for indicating whether that client is allowed to be updated Information is regular expression, and regular expression includes: the field of the mark of expression client, indicates whether that client is allowed to carry out The field of update.
10. device according to claim 9, which is characterized in that processing unit includes:
Expression processing subelement, be configured to extract the mark of the expression client in the regular expression field and Indicate whether the field for allowing client to be updated;Mark in response to the client and the expression client that extracts The fields match of mark, based on the field for indicating whether that client is allowed to be updated extracted, it is determined whether described in permission Client is updated.
11. device according to claim 10, which is characterized in that described device further include:
Verification unit is configured to after the program from the client of the update server downloading latest edition, receives institute It states and updates the original encryption information that server is sent, in the program of the original encryption information based on the client of latest edition It reaches and is encrypted and generated using program of the predetermined encryption algorithm to the client of latest edition when updating server;Using institute It states predetermined encryption algorithm to encrypt the program of the client of the latest edition of downloading, obtains current crypto information;Judge institute It is whether consistent with original encryption information to state current crypto information;If so, the program of the client of the latest edition of operation downloading, with And the version identifier of the current version of the program of client is updated to the version identifier of the latest edition of the program of client;If It is no, delete the program of the client of the latest edition of downloading.
12. the device according to one of claim 7-11, which is characterized in that the client is the clothes in distributed system Business device, update server are cloud storage service device.
13. a kind of client characterized by comprising
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors Realize such as method as claimed in any one of claims 1 to 6.
14. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor Such as method as claimed in any one of claims 1 to 6 is realized when execution.
CN201710822515.3A 2017-09-13 2017-09-13 Client update method and device Pending CN109495532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710822515.3A CN109495532A (en) 2017-09-13 2017-09-13 Client update method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710822515.3A CN109495532A (en) 2017-09-13 2017-09-13 Client update method and device

Publications (1)

Publication Number Publication Date
CN109495532A true CN109495532A (en) 2019-03-19

Family

ID=65687413

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710822515.3A Pending CN109495532A (en) 2017-09-13 2017-09-13 Client update method and device

Country Status (1)

Country Link
CN (1) CN109495532A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113187A (en) * 2019-04-19 2019-08-09 北京奇艺世纪科技有限公司 A kind of configuration update method, device, configuration server and configuration system
CN110995793A (en) * 2019-11-19 2020-04-10 北京奇艺世纪科技有限公司 Information flow control element updating system, method and device
CN111399877A (en) * 2020-03-09 2020-07-10 网易(杭州)网络有限公司 Login method, device, electronic equipment and storage medium
CN111538514A (en) * 2020-04-17 2020-08-14 北京三快在线科技有限公司 Enterprise application updating method and device, storage medium and electronic equipment
CN111782242A (en) * 2020-06-29 2020-10-16 中国工商银行股份有限公司 Client dynamic release method and device in cloud environment
CN111935271A (en) * 2020-08-04 2020-11-13 青岛海信商用显示股份有限公司 Data updating method, device and storage medium
CN112015443A (en) * 2019-05-31 2020-12-01 百度在线网络技术(北京)有限公司 Upgrading method and device for electronic equipment, electronic equipment and storage medium
CN112199256A (en) * 2020-10-16 2021-01-08 济南浪潮数据技术有限公司 Deployment event monitoring method, device and equipment
CN112540783A (en) * 2020-12-18 2021-03-23 航天信息软件技术有限公司 Client upgrading method and device, storage medium and electronic equipment
CN112612485A (en) * 2020-12-25 2021-04-06 交控科技股份有限公司 Upgrading method for deploying tool client
CN112825036A (en) * 2019-11-21 2021-05-21 青岛海尔新能源电器有限公司 Program updating method and device, electronic equipment and storage medium
CN113656065A (en) * 2021-08-11 2021-11-16 杭州安恒信息技术股份有限公司 Software version monitoring method, system, computer and readable storage medium
CN115086726A (en) * 2022-05-30 2022-09-20 深圳市汇星数字技术有限公司 Method, system and storage medium for deploying application by set top box

Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1973255A (en) * 2003-12-15 2007-05-30 微软公司 System and method for managing and communicating software updates
CN101231622A (en) * 2007-12-27 2008-07-30 深圳华为通信技术有限公司 Data storage method and equipment base on flash memory, as well as data fetch method and apparatu
CN101308530A (en) * 2007-05-17 2008-11-19 三星电子株式会社 Method of installing software for using digital content and apparatus for playing digital content
CN101316221A (en) * 2007-05-30 2008-12-03 深圳华为通信技术有限公司 Notification message processing method and equipment
CN101576828A (en) * 2009-06-01 2009-11-11 中兴通讯股份有限公司 Software version upgrading method, device and server
CN102210123A (en) * 2008-09-12 2011-10-05 Lg电子株式会社 Communication method in wireless network
CN102291742A (en) * 2011-08-18 2011-12-21 中兴通讯股份有限公司 Method and device for updating version of wireless routing equipment
CN103279372A (en) * 2013-05-23 2013-09-04 青岛海信宽带多媒体技术有限公司 Set top box software upgrading method and set top box
WO2013185570A1 (en) * 2012-06-13 2013-12-19 腾讯科技(深圳)有限公司 Software update method, software update system and computer storage medium
CN103475664A (en) * 2013-09-18 2013-12-25 北京工业大学 Credible extraction method for digital evidence of Android
CN103902299A (en) * 2012-12-24 2014-07-02 航天信息股份有限公司 Software version updating method and system
CN103945263A (en) * 2014-04-25 2014-07-23 深圳市九洲电器有限公司 Set top box upgrading method and system
CN104065695A (en) * 2013-07-05 2014-09-24 腾讯科技(深圳)有限公司 Software update method, server, user end and system
CN104396183A (en) * 2012-05-29 2015-03-04 Abb技术股份公司 A method and system for transferring firmware or software to a plurality of devices
CN104539668A (en) * 2014-12-16 2015-04-22 北京新能源汽车股份有限公司 Method and system for remotely updating software programs in a vehicle
CN105404529A (en) * 2015-10-19 2016-03-16 北京奇虎科技有限公司 Popup method, device and system of operation system popup for reinstallation
CN105453127A (en) * 2014-07-31 2016-03-30 飞索科技有限公司 Method and system for document synchronization in a distributed server-client environment
CN105491062A (en) * 2015-12-30 2016-04-13 北京神州绿盟信息安全科技股份有限公司 Client software protection method and device, and client
EP3010187A1 (en) * 2014-10-16 2016-04-20 Xiaomi Inc. Method for upgrading and device and apparatus thereof
CN105763389A (en) * 2016-05-24 2016-07-13 重庆邮电大学 Electrical power monitoring and fault information management system based on Android platform
CN106201607A (en) * 2016-07-04 2016-12-07 乐视控股(北京)有限公司 The upgrade method of a kind of software version and equipment
CN106295407A (en) * 2016-08-22 2017-01-04 杭州华三通信技术有限公司 A kind of detect the method and device whether file is tampered
CN106469077A (en) * 2015-08-20 2017-03-01 青岛海信移动通信技术股份有限公司 A kind of OTA upgrade control method and device
CN106603713A (en) * 2016-12-29 2017-04-26 深圳Tcl新技术有限公司 Session management method and system
US20170230239A1 (en) * 2014-08-05 2017-08-10 Hewlett Packard Enterprise Development Lp Upgrading Of Controller Cluster
CN107038039A (en) * 2016-02-04 2017-08-11 腾讯科技(深圳)有限公司 Data-updating method and device

Patent Citations (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1973255A (en) * 2003-12-15 2007-05-30 微软公司 System and method for managing and communicating software updates
CN101308530A (en) * 2007-05-17 2008-11-19 三星电子株式会社 Method of installing software for using digital content and apparatus for playing digital content
CN101316221A (en) * 2007-05-30 2008-12-03 深圳华为通信技术有限公司 Notification message processing method and equipment
CN101231622A (en) * 2007-12-27 2008-07-30 深圳华为通信技术有限公司 Data storage method and equipment base on flash memory, as well as data fetch method and apparatu
CN102210123A (en) * 2008-09-12 2011-10-05 Lg电子株式会社 Communication method in wireless network
CN101576828A (en) * 2009-06-01 2009-11-11 中兴通讯股份有限公司 Software version upgrading method, device and server
CN102291742A (en) * 2011-08-18 2011-12-21 中兴通讯股份有限公司 Method and device for updating version of wireless routing equipment
CN104396183A (en) * 2012-05-29 2015-03-04 Abb技术股份公司 A method and system for transferring firmware or software to a plurality of devices
WO2013185570A1 (en) * 2012-06-13 2013-12-19 腾讯科技(深圳)有限公司 Software update method, software update system and computer storage medium
CN103902299A (en) * 2012-12-24 2014-07-02 航天信息股份有限公司 Software version updating method and system
CN103279372A (en) * 2013-05-23 2013-09-04 青岛海信宽带多媒体技术有限公司 Set top box software upgrading method and set top box
CN104065695A (en) * 2013-07-05 2014-09-24 腾讯科技(深圳)有限公司 Software update method, server, user end and system
CN103475664A (en) * 2013-09-18 2013-12-25 北京工业大学 Credible extraction method for digital evidence of Android
CN103945263A (en) * 2014-04-25 2014-07-23 深圳市九洲电器有限公司 Set top box upgrading method and system
CN105453127A (en) * 2014-07-31 2016-03-30 飞索科技有限公司 Method and system for document synchronization in a distributed server-client environment
US20170230239A1 (en) * 2014-08-05 2017-08-10 Hewlett Packard Enterprise Development Lp Upgrading Of Controller Cluster
EP3010187A1 (en) * 2014-10-16 2016-04-20 Xiaomi Inc. Method for upgrading and device and apparatus thereof
CN104539668A (en) * 2014-12-16 2015-04-22 北京新能源汽车股份有限公司 Method and system for remotely updating software programs in a vehicle
CN106469077A (en) * 2015-08-20 2017-03-01 青岛海信移动通信技术股份有限公司 A kind of OTA upgrade control method and device
CN105404529A (en) * 2015-10-19 2016-03-16 北京奇虎科技有限公司 Popup method, device and system of operation system popup for reinstallation
CN105491062A (en) * 2015-12-30 2016-04-13 北京神州绿盟信息安全科技股份有限公司 Client software protection method and device, and client
CN107038039A (en) * 2016-02-04 2017-08-11 腾讯科技(深圳)有限公司 Data-updating method and device
CN105763389A (en) * 2016-05-24 2016-07-13 重庆邮电大学 Electrical power monitoring and fault information management system based on Android platform
CN106201607A (en) * 2016-07-04 2016-12-07 乐视控股(北京)有限公司 The upgrade method of a kind of software version and equipment
CN106295407A (en) * 2016-08-22 2017-01-04 杭州华三通信技术有限公司 A kind of detect the method and device whether file is tampered
CN106603713A (en) * 2016-12-29 2017-04-26 深圳Tcl新技术有限公司 Session management method and system

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113187A (en) * 2019-04-19 2019-08-09 北京奇艺世纪科技有限公司 A kind of configuration update method, device, configuration server and configuration system
CN110113187B (en) * 2019-04-19 2022-03-04 北京奇艺世纪科技有限公司 Configuration updating method and device, configuration server and configuration system
CN112015443A (en) * 2019-05-31 2020-12-01 百度在线网络技术(北京)有限公司 Upgrading method and device for electronic equipment, electronic equipment and storage medium
CN110995793A (en) * 2019-11-19 2020-04-10 北京奇艺世纪科技有限公司 Information flow control element updating system, method and device
CN112825036A (en) * 2019-11-21 2021-05-21 青岛海尔新能源电器有限公司 Program updating method and device, electronic equipment and storage medium
CN111399877A (en) * 2020-03-09 2020-07-10 网易(杭州)网络有限公司 Login method, device, electronic equipment and storage medium
CN111399877B (en) * 2020-03-09 2024-05-17 网易(杭州)网络有限公司 Login method and device, electronic equipment and storage medium
CN111538514A (en) * 2020-04-17 2020-08-14 北京三快在线科技有限公司 Enterprise application updating method and device, storage medium and electronic equipment
CN111782242A (en) * 2020-06-29 2020-10-16 中国工商银行股份有限公司 Client dynamic release method and device in cloud environment
CN111782242B (en) * 2020-06-29 2024-05-17 中国工商银行股份有限公司 Client dynamic publishing method and device in cloud environment
CN111935271A (en) * 2020-08-04 2020-11-13 青岛海信商用显示股份有限公司 Data updating method, device and storage medium
CN112199256A (en) * 2020-10-16 2021-01-08 济南浪潮数据技术有限公司 Deployment event monitoring method, device and equipment
CN112540783A (en) * 2020-12-18 2021-03-23 航天信息软件技术有限公司 Client upgrading method and device, storage medium and electronic equipment
CN112540783B (en) * 2020-12-18 2024-05-24 航天信息软件技术有限公司 Client upgrading method and device, storage medium and electronic equipment
CN112612485A (en) * 2020-12-25 2021-04-06 交控科技股份有限公司 Upgrading method for deploying tool client
CN113656065A (en) * 2021-08-11 2021-11-16 杭州安恒信息技术股份有限公司 Software version monitoring method, system, computer and readable storage medium
CN115086726A (en) * 2022-05-30 2022-09-20 深圳市汇星数字技术有限公司 Method, system and storage medium for deploying application by set top box

Similar Documents

Publication Publication Date Title
CN109495532A (en) Client update method and device
CN106844137B (en) Server monitoring method and device
CN109561118B (en) Software upgrading method, device, system, storage medium, electronic equipment and vehicle
US8230222B2 (en) Method, system and computer program for deploying software packages with increased security
CN106843976B (en) Method and apparatus for generating image file
CN105468393B (en) Module release upgrade method and terminal installation
CN110912977A (en) Configuration file updating method, device, equipment and storage medium
CN109831464A (en) Method and apparatus for ciphertext data
CN103154956A (en) Method and apparatus for downloading digital rights management module
CN109391673A (en) A kind of method, system and the terminal device of management update file
KR20160122254A (en) Method of deploying a set of software application(s)
KR20130012929A (en) Method and system for efficient download of data package
CN109814889B (en) Method and apparatus for updating source code base
CN110162334B (en) Code management method, device and storage medium
CN112416396B (en) Application program updating method and system
CN111814131B (en) Method and device for equipment registration and configuration management
CN114429267B (en) Air control method, system and device for copyright of digital work and storage medium
CN111399867A (en) Software upgrading method, device, equipment and computer readable storage medium
CN111064723B (en) Over-the-air upgrading method and system based on backup system
CN110602133B (en) Intelligent contract processing method, block chain management device and storage medium
CN115190064B (en) Method, device, system and storage medium for implementing client dynamic routing
CN112528239B (en) Method and device for automatic authorization of software
CN114422358B (en) API gateway configuration updating method and equipment
US20230101077A1 (en) Verification device, verification system, verification method, and computer readable medium
CN109218452A (en) Method and apparatus for pushing nodal information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190319

RJ01 Rejection of invention patent application after publication