CN113031987A - Method, system and device for upgrading client - Google Patents

Method, system and device for upgrading client Download PDF

Info

Publication number
CN113031987A
CN113031987A CN202110326082.9A CN202110326082A CN113031987A CN 113031987 A CN113031987 A CN 113031987A CN 202110326082 A CN202110326082 A CN 202110326082A CN 113031987 A CN113031987 A CN 113031987A
Authority
CN
China
Prior art keywords
client
upgraded
upgrading
upgrade
upgrade package
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110326082.9A
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.)
Shandong Yingxin Computer Technology Co Ltd
Original Assignee
Shandong Yingxin Computer 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 Shandong Yingxin Computer Technology Co Ltd filed Critical Shandong Yingxin Computer Technology Co Ltd
Priority to CN202110326082.9A priority Critical patent/CN113031987A/en
Publication of CN113031987A publication Critical patent/CN113031987A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/142Reconfiguring to eliminate the error
    • G06F11/143Reconfiguring to eliminate the error with loss of software functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method, a system and a device for upgrading a client, wherein the scheme utilizes an upgrading packet to upgrade the client to be upgraded, prompts the client to upgrade successfully when the upgrade is successful, and restores the client which fails to upgrade to the version before the upgrade when the upgrade fails, so that the client which fails to upgrade can also process a service instruction which can be processed by the version before the upgrade, and certain requirements of the client are ensured.

Description

Method, system and device for upgrading client
Technical Field
The present invention relates to the field of electronic information technologies, and in particular, to a method, a system, and an apparatus for upgrading a client.
Background
The distributed storage system comprises a plurality of clients, a plurality of storage systems and a monitoring system, wherein each client can perform information interaction with a client after being connected to a network so as to receive a storage service instruction of the client and send the storage service instruction to the monitoring system, the monitoring system judges the storage service instruction and sends the storage service instruction to the corresponding storage system so that the corresponding storage system sends information corresponding to the storage service instruction to the monitoring system, and the monitoring system sends the information corresponding to the storage service instruction to the client receiving the storage service instruction so that the client feeds the information back to the client. In addition, the monitoring system can also monitor the running conditions of the client and the storage system. For example, a client inputs a term to be searched from a certain client, the client receiving the term sends the term to a monitoring module, the monitoring module analyzes the term and sends the term to a corresponding storage system, the storage system feeds back information corresponding to the term to the monitoring module, and the monitoring module sends the information to the corresponding client to feed back the information to the client, so that the client obtains the information corresponding to the term.
With the continuous development of various technologies, the distributed storage system needs to be continuously upgraded to meet the requirements of the clients, wherein after the storage system in the distributed storage system is upgraded, the clients need to be correspondingly upgraded, so that the functions of the clients correspond to the storage system. For example, after the storage system is upgraded, information corresponding to a client after scanning a corresponding two-dimensional code is added, and at this time, each client needs to be upgraded, so that the client also has a corresponding code scanning port, and corresponds to the storage system. However, in the prior art, when the client is upgraded, if the client fails to be upgraded, the client which fails to be upgraded cannot be processed, and the client cannot acquire information through the client which fails to be upgraded, so that the client is inconvenient to use
Disclosure of Invention
The invention aims to provide a method, a system and a device for upgrading a client, which are used for restoring the client with failed upgrade to a version before upgrade when the upgrade fails, so that the client with failed upgrade can process a service instruction which can be processed by the version before upgrade, and certain requirements of a client are met.
In order to solve the above technical problem, the present invention provides a method for upgrading a client, including:
upgrading the client to be upgraded by utilizing the upgrade package;
judging whether the client to be upgraded is successfully upgraded or not;
if yes, prompting the customer that the upgrade is successful;
if not, the client side which fails in upgrading is restored to the version before upgrading.
Preferably, before the upgrading of the client to be upgraded by using the upgrade package, the method further includes:
judging whether a client to be upgraded set by a client and an upgrade package corresponding to the client to be upgraded meet an upgrade condition or not;
if yes, the step of upgrading the client to be upgraded by using the upgrade package is carried out;
if not, prompting the client.
Preferably, the determining whether the client to be upgraded set by the client and the upgrade package corresponding to the client to be upgraded satisfy the upgrade condition includes:
judging whether a client to be upgraded set by a client and an upgrade package corresponding to the client to be upgraded meet the upgrade conditions or not, wherein the judging comprises the following steps:
receiving information of the client to be upgraded set by a client;
judging whether the client side allows upgrading or not based on the information of the client side to be upgraded;
if yes, judging whether the upgrade package selected by the client and corresponding to the client to be upgraded is complete;
and if the client to be upgraded and the upgrading packet corresponding to the client to be upgraded which are set by the client meet the upgrading conditions, judging that the client to be upgraded and the upgrading packet corresponding to the client to be upgraded meet the upgrading conditions.
Preferably, the determining whether the upgrade package selected by the client and corresponding to the client to be upgraded is complete includes:
and carrying out information-summary algorithm MD5 check on the upgrade package selected by the client and corresponding to the client to be upgraded to judge whether the upgrade package is complete.
Preferably, before the upgrading of the client to be upgraded by using the upgrade package, the method further includes:
pre-storing the configuration information and the version information before the client to be upgraded is upgraded;
restoring the client with the failed upgrade to the version before the upgrade, including:
and restoring the client side with the failed upgrade to the version before the upgrade based on the configuration information and the version information of the client side with the failed upgrade before the upgrade.
Preferably, upgrading the client to be upgraded by using the upgrade package includes:
and upgrading the client to be upgraded by using the upgrading packet, and prompting the upgrading progress of the client to be upgraded to the client through a prompting device.
Preferably, the number of the clients to be upgraded is multiple;
upgrading the client to be upgraded by utilizing the upgrade package, comprising the following steps:
grouping the clients to be upgraded;
setting the sequence of each group;
and upgrading the client to be upgraded by utilizing the upgrading packets according to the sequence of each group.
Preferably, when the client to be upgraded is upgraded by using the upgrade package, the method further includes:
judging whether the client receives a storage service instruction sent by a client in the upgrading process;
if yes, controlling the client to store the storage service instruction in the upgrading process;
after the client to be upgraded is upgraded by using the upgrade package, the method further comprises the following steps:
and controlling the client to process the storage service instruction.
In order to solve the above technical problem, the present invention provides an upgrade system for a client, including:
the upgrading unit is used for upgrading the client to be upgraded by utilizing the upgrading packet;
the judging unit is used for judging whether the client to be upgraded is upgraded successfully;
the prompting unit is used for prompting the client that the upgrade is successful when the client to be upgraded is judged to be successful;
and the rollback unit is used for restoring the client with the failed upgrade to the version before the upgrade when the upgrade failure of the client to be upgraded is judged.
In order to solve the above technical problem, the present invention provides an upgrade apparatus for a client, including:
a memory for storing a computer program;
and the processor is used for realizing the steps of the upgrading method of the client when executing the computer program.
The scheme utilizes the upgrade package to upgrade the client to be upgraded, prompts the client to upgrade successfully when the upgrade is successful, and restores the client which fails to upgrade to the version before the upgrade when the upgrade is failed, so that the client which fails to upgrade can process the service instruction which can be processed by the version before the upgrade, and certain requirements of the client are met.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flow chart of an upgrading method for a client according to the present invention;
fig. 2 is a schematic structural diagram of an upgrade system of a client according to the present invention;
fig. 3 is a schematic structural diagram of an upgrading apparatus of a client according to the present invention.
Detailed Description
The core of the invention is to provide a method, a system and a device for upgrading a client, which are used for restoring the client which fails to be upgraded to the version before being upgraded when the upgrading fails, so that the client which fails to be upgraded can process the service instruction which can be processed by the version before being upgraded, and certain requirements of the client are ensured.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of an upgrading method for a client according to the present invention, where the method includes:
s11: upgrading the client to be upgraded by utilizing the upgrade package;
the applicant considers that in the prior art, when a client to be upgraded is upgraded, the situation of upgrading failure may exist, and the client which fails to be upgraded cannot be correspondingly processed, that is, the client cannot receive a storage service instruction of the client when the client fails to be upgraded, and the client cannot acquire information corresponding to the storage service instruction, so that the normal use of the client by the client is influenced.
In order to solve the technical problem, the upgrading method in the application firstly upgrades the clients to be upgraded based on the upgrade package, wherein in the application, a plurality of clients to be upgraded can be upgraded simultaneously, and only one client to be upgraded can be upgraded at each time.
It should be noted that the client may be a mobile phone, the client searches for information corresponding to an expected entry through the mobile phone, the expected entry is a storage service instruction, the client receives the expected entry and then sends the expected entry to the monitoring system, the monitoring system sends the expected entry to the corresponding storage system according to the content of the expected entry, so that the storage system sends the information corresponding to the expected entry back to the monitoring system, and the monitoring system feeds back the information corresponding to the expected entry to the client through the client.
S12: judging whether the client to be upgraded is successfully upgraded, if so, entering S13, and if not, entering S14;
after the client to be upgraded is upgraded, judging whether the client to be upgraded is successfully upgraded or not so as to prompt the client to normally use the successfully upgraded client when the client to be upgraded is successfully upgraded; and processing when the client to be upgraded fails to be upgraded so that the client can still normally use the client.
S13: prompting the customer that the upgrade is successful;
and when the client to be upgraded is successfully upgraded, prompting the client so that the client can normally use the successfully upgraded client.
Wherein, need explain that, can point out through display screen, loudspeaker or pilot lamp when pointing out the customer in this application, this application does not limit to this, can realize the suggestion to the customer can.
S14: and restoring the client with the failed upgrade to the version before the upgrade.
When the client to be upgraded fails to be upgraded, the client which fails to be upgraded is restored to the version before being upgraded, namely, the version of the client is rolled back. Although the client cannot use the function after the client is upgraded, the function before the client is upgraded can be used, and compared with the defect that the client cannot use the client when the client is upgraded in the prior art, the method and the device for upgrading the client ensure certain use requirements of the client.
In the present application, a processor for executing the flow program may be provided outside the distributed storage system, or the monitoring system in the distributed storage system may execute the flow program, which is not limited in the present application.
In conclusion, the client to be upgraded is upgraded by the upgrading packet, the successful upgrading of the client is prompted when the upgrading is successful, and the client which fails to be upgraded is restored to the version before upgrading when the upgrading is failed, so that the client which fails to be upgraded can process the service instruction which can be processed by the version before upgrading, and certain requirements of the client are met.
On the basis of the above-described embodiment:
as a preferred embodiment, before upgrading a client to be upgraded by using an upgrade package, the method further includes:
judging whether a client to be upgraded set by a client and an upgrade package corresponding to the client to be upgraded meet an upgrade condition or not;
if yes, the step of upgrading the client to be upgraded by using the upgrade package is carried out;
if not, prompting the client.
The applicant considers that when the client is upgraded, the situation that the client to be upgraded set by the client does not exist or the client does not allow the upgrade may exist, but the upgrade processing cannot be performed without judgment, that is, the requirement of the client cannot be met. In addition, the upgrade package corresponding to the client to be upgraded may also be incomplete, which may not ensure the normal operation of the upgrade process, and may result in failed upgrade of the client.
In order to solve the technical problem, before the client is upgraded, whether the client set by a client and the corresponding upgrade package meet the upgrade condition is judged, and when both the client and the upgrade package meet the upgrade condition, the client to be upgraded is upgraded by using the upgrade package. When the client and the upgrade package do not meet the upgrade condition, namely any one of the client to be upgraded and the upgrade package does not meet the upgrade condition, prompting is carried out on the client so that the client can replace the client to be upgraded or replace the upgrade package, and therefore the client can be upgraded normally in the follow-up process.
It should be noted that, when prompting the customer in this application, the prompt can be performed through a display screen or a loudspeaker, and this application does not limit this, and the prompt to the customer can be realized.
As a preferred embodiment, the determining whether the client to be upgraded set by the client and the upgrade package corresponding to the client to be upgraded satisfy the upgrade condition includes:
judging whether the client to be upgraded set by the client and the upgrade package corresponding to the client to be upgraded meet the upgrade conditions or not, wherein the judging step comprises the following steps:
receiving information of a client to be upgraded set by a client;
judging whether the client side allows upgrading or not based on the information of the client side to be upgraded;
if yes, judging whether the upgrade package selected by the client and corresponding to the client to be upgraded is complete;
and if the upgrade package is complete, judging that the client to be upgraded set by the client and the upgrade package corresponding to the client to be upgraded meet the upgrade condition.
In practical application, when a client wants to upgrade the client, the client to be upgraded is usually determined first, and information of the client to be upgraded is sent to the processor, after the processor judges that the client to be upgraded allows upgrading, the processor prompts the client to select an upgrade package corresponding to the client to be upgraded, so that the processor judges whether the upgrade package set by the client is complete, and only when the upgrade package is complete, the client to be upgraded can be upgraded, so that the accuracy of the upgrading process is ensured.
It should be noted that after the client to be upgraded set by the client and the upgrade package corresponding to the client to be upgraded are judged to meet the upgrade condition, an option for confirming the upgrade can be sent to the client, and the client to be upgraded is upgraded after the client selects to confirm the upgrade, so that the upgrade error caused by the mistaken touch of the client is avoided, and the time for confirming whether the upgrade is performed again is provided for the client.
As a preferred embodiment, the determining whether the upgrade package selected by the client and corresponding to the client to be upgraded is complete includes:
the upgrade package corresponding to the client to be upgraded selected by the client is checked by MD5(Message-Digest Algorithm 5) to determine whether the upgrade package is complete.
The applicant considers that each upgrade package has a corresponding MD5, that is, a "fingerprint" corresponding to the upgrade package, and if the upgrade package is modified, a different MD5 is generated, so in this embodiment, when determining whether the upgrade package selected by a client is complete, the MD5 check is performed on the upgrade package, so as to determine whether the upgrade package is modified, and if the upgrade package is not modified, the client to be upgraded can be upgraded based on the upgrade package, thereby avoiding the upgrade failure of the client due to the abnormality of the upgrade package.
As a preferred embodiment, before upgrading a client to be upgraded by using an upgrade package, the method further includes:
pre-storing configuration information and version information before upgrading of a client to be upgraded;
restoring the client with the failed upgrade to the version before the upgrade, which comprises the following steps:
and restoring the client side with the failed upgrade to the version before the upgrade based on the configuration information and the version information of the client side with the failed upgrade before the upgrade.
In the embodiment, before the client is upgraded, the configuration information and the version information before the client to be upgraded is upgraded are stored, so that the client to be upgraded can be restored to the version before the client is upgraded when the client to be upgraded fails to be upgraded, the client can have the function before the client is upgraded, and certain requirements of the client are met.
In addition, if the client to be upgraded is successfully upgraded, the client may also be configured based on the configuration information before the upgrade, for example, the font type set by the client before the upgrade of the client to be upgraded, so as to meet the requirements of the client.
As a preferred embodiment, upgrading a client to be upgraded by using an upgrade package includes:
and upgrading the client to be upgraded by using the upgrading packet, and prompting the upgrading progress of the client to be upgraded to the client through a prompting device.
In the embodiment, in the process of upgrading the client to be upgraded, the upgrading progress of the client is prompted to the client through the prompting device, so that the client can obtain the upgrading condition of the client in real time, that is, the client can know whether the client fails to be upgraded in time, and the requirements of the client are met.
As a preferred embodiment, there are a plurality of clients to be upgraded;
upgrading the client to be upgraded by utilizing the upgrade package, comprising the following steps:
grouping all clients to be upgraded;
setting the sequence of each group;
and upgrading each client to be upgraded by using each upgrading packet according to the sequence of each group.
The applicant considers that when a plurality of clients are deployed into a cluster, each client in the cluster needs to be upgraded, and the applicant considers that if only one client is upgraded each time, the time required for upgrading all the clients in the whole cluster is longer; and the client cannot process the storage service instruction sent by the client in the upgrading process, namely the current requirement of the client cannot be met.
In order to solve the above technical problem, in the present application, when the number of the clients to be upgraded is large, the clients to be upgraded are grouped, each group has a plurality of clients to be upgraded, for example, 10 clients to be upgraded are provided in each group, and the groups are set in sequence, and the clients to be upgraded in each group are sequentially upgraded in sequence, for example, the clients to be upgraded are respectively upgraded by using each upgrade package in the first group, after the clients to be upgraded in the first group are upgraded, the clients to be upgraded are respectively upgraded by using each upgrade package in the second group, and so on, the clients to be upgraded are all upgraded to meet the requirements of the clients.
When the client to be upgraded in a certain group is upgraded, the client to be upgraded in the group which is not upgraded can still process the storage service instruction sent by the client, so that the problem that all the clients to be upgraded cannot process the storage service instruction of the client when all the clients to be upgraded are upgraded simultaneously is avoided; and the time for upgrading all the clients to be upgraded when only one client to be upgraded is upgraded every time is also reduced, so that the requirements of the clients are further met.
It should be noted that, after the client selects the upgrade package corresponding to the client to be upgraded, the processor sends each upgrade package to the corresponding client to be upgraded, so that each client to be upgraded is upgraded by using each upgrade package.
In addition, when there is a client with failed upgrade, the client with failed upgrade is restored to the version before upgrade, and information of the client with failed upgrade needs to be fed back to the client to prompt the client that the upgrade of the client fails.
As a preferred embodiment, when the client to be upgraded is upgraded by using the upgrade package, the method further includes:
judging whether the client receives a storage service instruction sent by a client in the upgrading process;
if yes, controlling the client to store the storage service instruction in the upgrading process;
after the client to be upgraded is upgraded by using the upgrade package, the method further comprises the following steps:
and the control client processes the storage service instruction.
In the prior art, when a client to be upgraded is upgraded, the client in the upgrading process cannot process a received storage service instruction, and the client to be upgraded can restart to process the storage service instruction after the upgrading is finished. Therefore, after the client sends the storage service instruction to the client in the upgrading process, the client cannot obtain corresponding information in time, and the client after upgrading is restarted needs to send the storage service instruction again to receive the corresponding information, so that the client is inconvenient to use.
In order to solve the technical problems, when a client to be upgraded is upgraded, the client in the upgrading process is controlled to store a storage service instruction when receiving the storage service instruction, the storage service instruction is immediately processed after the upgrading is finished without restarting or sending the storage service instruction again by a client, although the time for sending corresponding information to the client is longer, the uninterrupted processing of the storage service instruction is ensured, namely the smooth upgrading or online upgrading of the client is ensured, and the reliability and stability of the client are improved.
It should be noted that, in the present application, when the client to be upgraded is upgraded, the online upgrade module may be invoked to ensure that the storage service instruction can be processed without restarting after the client is upgraded, and in addition, the online upgrade instruction needs to be sent to the client to be upgraded, so as to ensure that the client can store the storage service instruction sent by the client during the upgrade process.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an upgrade system of a client according to the present invention, the system including:
the upgrading unit 1 is used for upgrading the client to be upgraded by utilizing the upgrading packet;
the judging unit 2 is used for judging whether the client to be upgraded is upgraded successfully;
the prompting unit 3 is used for prompting the client that the upgrade is successful when the client to be upgraded is judged to be successful;
and the rollback unit 4 is used for restoring the client with failed upgrade to the version before upgrade when judging that the client with failed upgrade is failed.
For the introduction of the upgrade system of the client provided by the present invention, please refer to the above method embodiment, and the present invention is not described herein again.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an upgrading apparatus for a client according to the present invention, the apparatus includes:
a memory 5 for storing a computer program;
and a processor 6 for implementing the steps of the upgrading method of the client when executing the computer program.
For the introduction of the upgrade apparatus for a client according to the present invention, please refer to the above method embodiment, which is not described herein again.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for upgrading a client is characterized by comprising the following steps:
upgrading the client to be upgraded by utilizing the upgrade package;
judging whether the client to be upgraded is successfully upgraded or not;
if yes, prompting the customer that the upgrade is successful;
if not, the client side which fails in upgrading is restored to the version before upgrading.
2. The method for upgrading a client according to claim 1, wherein before upgrading the client to be upgraded by using the upgrade package, the method further comprises:
judging whether a client to be upgraded set by a client and an upgrade package corresponding to the client to be upgraded meet an upgrade condition or not;
if yes, the step of upgrading the client to be upgraded by using the upgrade package is carried out;
if not, prompting the client.
3. The method for upgrading a client according to claim 2, wherein determining whether the client to be upgraded set by the client and the upgrade package corresponding to the client to be upgraded satisfy the upgrade condition comprises:
judging whether a client to be upgraded set by a client and an upgrade package corresponding to the client to be upgraded meet the upgrade conditions or not, wherein the judging comprises the following steps:
receiving information of the client to be upgraded set by a client;
judging whether the client side allows upgrading or not based on the information of the client side to be upgraded;
if yes, judging whether the upgrade package selected by the client and corresponding to the client to be upgraded is complete;
and if the client to be upgraded and the upgrading packet corresponding to the client to be upgraded which are set by the client meet the upgrading conditions, judging that the client to be upgraded and the upgrading packet corresponding to the client to be upgraded meet the upgrading conditions.
4. The method for upgrading a client according to claim 3, wherein determining whether the upgrade package selected by the client corresponding to the client to be upgraded is complete comprises:
and carrying out information-summary algorithm MD5 check on the upgrade package selected by the client and corresponding to the client to be upgraded to judge whether the upgrade package is complete.
5. The method for upgrading a client according to claim 1, wherein before upgrading the client to be upgraded by using the upgrade package, the method further comprises:
pre-storing the configuration information and the version information before the client to be upgraded is upgraded;
restoring the client with the failed upgrade to the version before the upgrade, including:
and restoring the client side with the failed upgrade to the version before the upgrade based on the configuration information and the version information of the client side with the failed upgrade before the upgrade.
6. The client upgrading method according to claim 1, wherein upgrading the client to be upgraded with an upgrade package comprises:
and upgrading the client to be upgraded by using the upgrading packet, and prompting the upgrading progress of the client to be upgraded to the client through a prompting device.
7. The client upgrading method according to claim 1, wherein the number of the clients to be upgraded is plural;
upgrading the client to be upgraded by utilizing the upgrade package, comprising the following steps:
grouping the clients to be upgraded;
setting the sequence of each group;
and upgrading the client to be upgraded by utilizing the upgrading packets according to the sequence of each group.
8. The client upgrading method according to any one of claims 1 to 7, when upgrading the client to be upgraded by using the upgrade package, further comprising:
judging whether the client receives a storage service instruction sent by a client in the upgrading process;
if yes, controlling the client to store the storage service instruction in the upgrading process;
after the client to be upgraded is upgraded by using the upgrade package, the method further comprises the following steps:
and controlling the client to process the storage service instruction.
9. An upgrade system for a client, comprising:
the upgrading unit is used for upgrading the client to be upgraded by utilizing the upgrading packet;
the judging unit is used for judging whether the client to be upgraded is upgraded successfully;
the prompting unit is used for prompting the client that the upgrade is successful when the client to be upgraded is judged to be successful;
and the rollback unit is used for restoring the client with the failed upgrade to the version before the upgrade when the upgrade failure of the client to be upgraded is judged.
10. An upgrade apparatus for a client, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method of upgrading a client as claimed in any one of claims 1 to 8 when executing the computer program.
CN202110326082.9A 2021-03-26 2021-03-26 Method, system and device for upgrading client Pending CN113031987A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110326082.9A CN113031987A (en) 2021-03-26 2021-03-26 Method, system and device for upgrading client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110326082.9A CN113031987A (en) 2021-03-26 2021-03-26 Method, system and device for upgrading client

Publications (1)

Publication Number Publication Date
CN113031987A true CN113031987A (en) 2021-06-25

Family

ID=76474337

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110326082.9A Pending CN113031987A (en) 2021-03-26 2021-03-26 Method, system and device for upgrading client

Country Status (1)

Country Link
CN (1) CN113031987A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697133A (en) * 2009-10-26 2010-04-21 中兴通讯股份有限公司 Software upgrading method, software upgrading system and client
CN106339248A (en) * 2016-10-09 2017-01-18 大道网络(上海)股份有限公司 Remote software upgrading method and remote software upgrading system
CN108521452A (en) * 2018-03-23 2018-09-11 烽火通信科技股份有限公司 The method and system of auto upgrading are carried out to business release
CN108768758A (en) * 2018-08-31 2018-11-06 郑州云海信息技术有限公司 Distributed memory system online upgrading method, apparatus, equipment and storage medium
US20180331918A1 (en) * 2017-05-15 2018-11-15 Citrix Systems, Inc. Upgrade/downtime scheduling using end user session launch data
CN109189431A (en) * 2018-09-18 2019-01-11 郑州云海信息技术有限公司 A kind of client side upgrading method, device, equipment and readable storage medium storing program for executing
CN109375933A (en) * 2018-09-25 2019-02-22 郑州云海信息技术有限公司 A kind of method and apparatus of client upgrading
CN111124465A (en) * 2019-11-28 2020-05-08 武汉虹信技术服务有限责任公司 Cross-network C/S program remote upgrading method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101697133A (en) * 2009-10-26 2010-04-21 中兴通讯股份有限公司 Software upgrading method, software upgrading system and client
CN106339248A (en) * 2016-10-09 2017-01-18 大道网络(上海)股份有限公司 Remote software upgrading method and remote software upgrading system
US20180331918A1 (en) * 2017-05-15 2018-11-15 Citrix Systems, Inc. Upgrade/downtime scheduling using end user session launch data
CN108521452A (en) * 2018-03-23 2018-09-11 烽火通信科技股份有限公司 The method and system of auto upgrading are carried out to business release
CN108768758A (en) * 2018-08-31 2018-11-06 郑州云海信息技术有限公司 Distributed memory system online upgrading method, apparatus, equipment and storage medium
CN109189431A (en) * 2018-09-18 2019-01-11 郑州云海信息技术有限公司 A kind of client side upgrading method, device, equipment and readable storage medium storing program for executing
CN109375933A (en) * 2018-09-25 2019-02-22 郑州云海信息技术有限公司 A kind of method and apparatus of client upgrading
CN111124465A (en) * 2019-11-28 2020-05-08 武汉虹信技术服务有限责任公司 Cross-network C/S program remote upgrading method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
何航校等: "一种改进的通用客户端自动升级模型及实现", 兰州交通大学学报, vol. 24, no. 04 *

Similar Documents

Publication Publication Date Title
CN113347037B (en) Data center access method and device
CN111698558A (en) Television software upgrading method, television terminal and computer readable storage medium
CN106897166A (en) A kind of mobile terminal and its restorative procedure
CN111338656A (en) Method and device for installing software package to target host and computer equipment
CN111752577B (en) Upgrading method and equipment for system version
CN113703942A (en) Script execution method and device and computer equipment
CN106204031B (en) Card application processing method and device
CN113031987A (en) Method, system and device for upgrading client
CN114237722B (en) System starting method, device, equipment and engineering vehicle
CN112882871B (en) Host conflict detection method, device, equipment and storage medium
CN113703804A (en) System upgrading method, system, device and storage medium
CN115390861A (en) Resource deployment method, device and equipment and storage medium
CN111694516B (en) Version online upgrading method and terminal of distributed block storage system
US20120257251A1 (en) Control apparatus and processing method therefor
CN112463208A (en) Version management method and device, electronic equipment and storage medium
CN105278993A (en) Linux system based drive module upgrading method and apparatus
CN110688126A (en) Big data platform deployment method and device
CN114064086B (en) Multi-stage processor system and upgrading method thereof
CN116501339B (en) Application deployment method, device, electronic equipment and computer readable storage medium
CN115344327B (en) Application module switching method and device, electronic equipment and readable storage medium
CN115578160B (en) Temporary order receiving method and device
CN116107603B (en) Firmware upgrading method and device, storage medium and electronic equipment
CN109683924B (en) Application software upgrading method, system, equipment and computer readable storage medium
JP4045447B2 (en) System identification method and server monitoring system
CN107291503B (en) Application program upgrading device, device and method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210625