CN111367552B - Automatic upgrading method and device for application system - Google Patents

Automatic upgrading method and device for application system Download PDF

Info

Publication number
CN111367552B
CN111367552B CN202010138564.7A CN202010138564A CN111367552B CN 111367552 B CN111367552 B CN 111367552B CN 202010138564 A CN202010138564 A CN 202010138564A CN 111367552 B CN111367552 B CN 111367552B
Authority
CN
China
Prior art keywords
parameters
upgrading
application
instruction
application system
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010138564.7A
Other languages
Chinese (zh)
Other versions
CN111367552A (en
Inventor
余振
葛朝诞
张建荣
陈骏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Industrial and Commercial Bank of China Ltd ICBC
Original Assignee
Industrial and Commercial Bank of China Ltd ICBC
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 Industrial and Commercial Bank of China Ltd ICBC filed Critical Industrial and Commercial Bank of China Ltd ICBC
Priority to CN202010138564.7A priority Critical patent/CN111367552B/en
Publication of CN111367552A publication Critical patent/CN111367552A/en
Application granted granted Critical
Publication of CN111367552B publication Critical patent/CN111367552B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]

Abstract

The embodiment of the application provides an automatic upgrading method and device for an application system, wherein the method comprises the following steps: receiving an application system upgrading request, storing the local modification parameters, isolating a target application according to the local modification parameters after the application system obtains the local modification parameters, and upgrading the target application; receiving an application system upgrade completion notification, updating the local modification parameters according to the upgrade completion notification so that the application system obtains updated modification parameters, and performing isolation release on the target application according to the updated modification parameters; the application can effectively improve the reliability of an application system, reduce the cost of operation and maintenance of production labor by an automatic means and reduce the risk of operation and manual operation of production.

Description

Automatic upgrading method and device for application system
Technical Field
The application relates to the field of data processing, in particular to an automatic upgrading method and device for an application system.
Background
In face of vigorous market competition and vigorous research and development demands, urgent needs are realized to realize research and development transformation centering on products, the iterative updating speed of the products is continuously accelerated, and the capability of rapid delivery of business values is improved. There are also many challenges in one step where the commissioning upgrade of the system is the most important.
First, while most application systems employ multiple deployments, alternate upgrades of policies. For example, an application system is deployed in AB two parks, and when a park is down for upgrading, the network layer resolves all domain names into IP for B parks. At this time, all the services are carried by the B park, and the fact that the production upgrading cannot be carried out in the service peak period is determined.
Secondly, due to the existence of cache data in the internet domain name resolution service, when the a-campus is stopped and upgraded, due to the existence of DNS cache, part of requests do not resolve the domain name again, but continue to use the last resolved a-campus IP access, and the problem that the service of the longest minute level is not available exists. Meanwhile, frequent production upgrades increase the workload of operation and maintenance personnel.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides the automatic upgrading method and the device for the application system, which can effectively improve the reliability of the application system, reduce the cost of the operation and maintenance of the production by an automatic means and reduce the risk of the operation and maintenance of the production.
In order to solve at least one of the problems, the application provides the following technical scheme:
in a first aspect, the present application provides an automatic upgrade method for an application system, including:
receiving an application system upgrading request, storing the local modification parameters, isolating a target application according to the local modification parameters after the application system obtains the local modification parameters, and upgrading the target application;
And receiving an upgrade completion notice of the application system, updating the local modification parameters according to the upgrade completion notice so that the application system obtains the updated modification parameters, and performing isolation release on the target application according to the updated modification parameters.
Further, the method further comprises the following steps:
and obtaining isolation parameters or isolation release parameters according to the received upgrading request or the upgrading completion notification, and releasing the parameters to the application system so as to enable the application system to carry out parameter configuration and hot reload.
Further, the method further comprises the following steps:
and sending an upgrading instruction, a capacity expanding instruction or a capacity shrinking instruction to the application system according to the received upgrading request, so that the application system executes corresponding upgrading operation, capacity expanding operation or capacity shrinking operation on the target application according to the received upgrading instruction, capacity expanding instruction or capacity shrinking instruction.
In a second aspect, the present application provides an automatic upgrade method for an application system, including:
obtaining local modification parameters of a support system, isolating a target application according to the local modification parameters, and upgrading the target application, wherein the local modification parameters are stored locally after the support system receives an application system upgrading request;
And acquiring updated modification parameters of the support system, and isolating and releasing the target application according to the updated modification parameters, wherein the support system updates the local modification parameters according to the upgrade completion notification after receiving the upgrade completion notification of the application system.
Further, the method further comprises the following steps:
and carrying out parameter configuration and hot reloading according to the received isolation parameters or isolation release parameters, wherein the isolation parameters or the isolation release parameters are obtained and released by the support system according to the received upgrading request or upgrading completion notification.
Further, the method further comprises the following steps:
and executing corresponding upgrading operation, capacity expansion operation or capacity contraction operation on the target application according to the received upgrading instruction, capacity expansion instruction or capacity contraction instruction, wherein the upgrading instruction, the capacity expansion instruction or the capacity contraction instruction is sent by the support system according to the received upgrading request.
In a third aspect, the present application provides an automatic upgrade apparatus for an application system, including:
the system comprises a modification parameter determining module, a target application updating module and a modification parameter updating module, wherein the modification parameter determining module is used for receiving an application system updating request and storing the local modification parameter so that the application system can isolate a target application according to the local modification parameter after acquiring the local modification parameter and update the target application;
And the modification parameter updating module is used for receiving an application system upgrade completion notification, updating the local modification parameter according to the upgrade completion notification so that the application system obtains the updated modification parameter, and carrying out isolation release on the target application according to the updated modification parameter.
Further, the method further comprises the following steps:
and the parameter release unit is used for obtaining the isolation parameters or the isolation release parameters according to the received upgrading request or the upgrading completion notification and releasing the parameters to the application system so as to enable the application system to carry out parameter configuration and hot reload.
Further, the method further comprises the following steps:
and the instruction issuing unit is used for sending an upgrading instruction, a capacity expansion instruction or a capacity shrinkage instruction to the application system according to the received upgrading request, so that the application system executes corresponding upgrading operation, capacity expansion operation or capacity shrinkage operation on the target application according to the received upgrading instruction, capacity expansion instruction or capacity shrinkage instruction.
In a fourth aspect, the present application provides an automatic upgrade apparatus for an application system, including:
the system comprises a modification parameter acquisition module, a modification parameter updating module and a modification parameter updating module, wherein the modification parameter acquisition module is used for acquiring local modification parameters of a support system, isolating a target application according to the local modification parameters and updating the target application, wherein the local modification parameters are stored to the local after the support system receives an application system updating request;
The system comprises an updating parameter acquisition module, a modification parameter updating module and a modification parameter updating module, wherein the updating parameter acquisition module is used for acquiring updated modification parameters of the supporting system and isolating and releasing the target application according to the updated modification parameters, and the supporting system updates the local modification parameters according to the upgrading completion notification after receiving the application system upgrading completion notification.
Further, the method further comprises the following steps:
and the release parameter receiving unit is used for carrying out parameter configuration and hot reloading according to the received isolation parameters or isolation release parameters, wherein the isolation parameters or the isolation release parameters are obtained and released by the support system according to the received upgrading request or upgrading completion notification.
Further, the method further comprises the following steps:
and the issuing instruction receiving unit is used for executing corresponding upgrading operation, capacity expansion operation or capacity contraction operation on the target application according to the received upgrading instruction, capacity expansion instruction or capacity contraction instruction, wherein the upgrading instruction, the capacity expansion instruction or the capacity contraction instruction is sent by the support system according to the received upgrading request.
In a fifth aspect, the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the steps of the method for automatically upgrading an application system when executing the program.
In a sixth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method for automatically upgrading an application system.
As can be seen from the above technical solution, the present application provides an automatic upgrade method and apparatus for an application system, where a support system is set to receive an upgrade request of the application system, and the upgrade request is stored in a local modification parameter, so that after the application system obtains the local modification parameter, a target application is isolated according to the local modification parameter, and the target application is upgraded; the support system can also receive an application system upgrade completion notification, update the local modification parameters according to the upgrade completion notification, so that the application system obtains updated modification parameters, and isolate and release the target application according to the updated modification parameters.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of an automatic upgrade method of an application system according to an embodiment of the present application;
FIG. 2 is a second flowchart of an automatic upgrade method of an application system according to an embodiment of the present application;
FIG. 3 is a block diagram of an automatic upgrade apparatus for an application system according to an embodiment of the present application;
FIG. 4 is a second block diagram of an automatic upgrade apparatus for an application system according to an embodiment of the present application;
FIG. 5 is a schematic diagram of an application system and support system deployment in an embodiment of the present application;
FIG. 6 is a schematic diagram of a production process according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In consideration of the problem that the service of the longest minute cannot be used when the domain name is not re-resolved due to the existence of cache data in the domain name resolution service of the Internet and when the domain A is stopped and upgraded, part of requests are not re-resolved due to the existence of DNS cache, but the last resolved domain A is continuously used for IP access, the application provides an automatic upgrading method and device of an application system, which are used for receiving an upgrading request of the application system by setting a supporting system and storing the upgrading request to a local modification parameter, so that after the local modification parameter is acquired by the application system, a target application is isolated according to the local modification parameter and the target application is upgraded; the support system can also receive an application system upgrade completion notification, update the local modification parameters according to the upgrade completion notification, so that the application system obtains updated modification parameters, and isolate and release the target application according to the updated modification parameters.
In order to effectively improve the reliability of an application system, reduce the operation cost of production labor and the operation risk of production labor through an automation means, the application provides an embodiment of an automatic upgrading method of the application system, an execution main body is a supporting system, and referring to fig. 1 and 5, the automatic upgrading method of the application system specifically comprises the following contents:
step S101: and receiving an application system upgrading request, storing the local modification parameters, isolating a target application according to the local modification parameters after the application system acquires the local modification parameters, and upgrading the target application.
Optionally, the application can respectively set an application system and a support system based on a B/S architecture, and specifically, the application system can comprise two parts of a gray scale cluster and a common cluster, wherein the clusters are divided into a WEB cluster and an APP cluster according to server responsibilities. And the WEB cluster and the APP cluster are routed through soft load balancing. In a normal state, soft load balancing routes gray level WEB traffic to gray level APP and common WEB traffic to common APP. The routing policy may be configurable by parameters. The supporting system comprises an automatic scheduling system, a parameter management system and an on-cloud container management system. The automatic scheduling system provides timing task execution capability; the parameter management system provides parameter hot pushing capability; the on-cloud container management system provides container upgrade and telescoping capabilities. On the basis, the function of isolating APP production upgrades one by one is realized by realizing a WEB cluster flow routing control module.
Optionally, when isolating the target application, the scheduling system initiates a request for modifying the parameter to the parameter management system, the parameter management system issues the modified parameter to the WEB container cluster, and after receiving the parameter, the WEB container traffic routing control module adjusts the WEB container configuration and reloads the configuration.
Optionally, isolating the target application refers to letting the load balancing no longer distribute the newly received request to the target application, making the target application no longer accept the network request, and making the target application logically in a state of disconnecting the network connection.
Step S102: and receiving an upgrade completion notice of the application system, updating the local modification parameters according to the upgrade completion notice so that the application system obtains the updated modification parameters, and performing isolation release on the target application according to the updated modification parameters.
Optionally, when the isolation of the target application is released, the scheduling system initiates a request for modifying the parameters to the parameter management system, the parameter management system issues the modified parameters to the WEB container cluster, and after receiving the parameters, the WEB container traffic routing control module adjusts the WEB container configuration and reloads the configuration.
Optionally, the target application is subjected to isolation release, which is a reverse process of isolation, and the newly received request can be distributed to the target application by load balancing, so that the target application resumes accepting the network request.
As can be seen from the above description, in the method for automatically upgrading an application system according to the embodiment of the present application, a support system is configured to receive an application system upgrade request, and store the upgrade request to a local modification parameter, so that after the local modification parameter is obtained by an application system, a target application is isolated according to the local modification parameter, and the target application is upgraded; the support system can also receive an application system upgrade completion notification, update the local modification parameters according to the upgrade completion notification, so that the application system obtains updated modification parameters, and isolate and release the target application according to the updated modification parameters.
In order to ensure stability of the target application during upgrade, in an embodiment of the automatic upgrade method of an application system of the present application, the method may further specifically include the following:
and obtaining isolation parameters or isolation release parameters according to the received upgrading request or the upgrading completion notification, and releasing the parameters to the application system so as to enable the application system to carry out parameter configuration and hot reload.
Alternatively, the upgrade request and the upgrade completion notification may be sent by the application system to the support system, and the support system may also receive the upgrade request and the upgrade completion notification sent from the third party system.
Optionally, the isolation parameter and the isolation release parameter may include identification information of a target application that needs to be isolated or needs to be released.
In order to accurately execute various processing operations on the target application, in an embodiment of the automatic upgrading method of the application system of the present application, the following may be further specifically included:
and sending an upgrading instruction, a capacity expanding instruction or a capacity shrinking instruction to the application system according to the received upgrading request, so that the application system executes corresponding upgrading operation, capacity expanding operation or capacity shrinking operation on the target application according to the received upgrading instruction, capacity expanding instruction or capacity shrinking instruction.
Optionally, the scheduling system initiates an upgrade request to the container management system, and the container management system performs rolling upgrade on the gray scale APP cluster according to the request parameters.
Optionally, the scheduling system initiates a capacity expansion request to the container management system, and the container management system expands the gray scale APP cluster according to the request parameters.
Optionally, the scheduling system initiates a capacity expansion request to the container management system, and the container management system performs capacity reduction on the gray scale APP cluster according to the request parameters.
In order to effectively improve the reliability of an application system, reduce the operation cost of production labor and operation and reduce the risk of production labor and operation by an automation means, the application provides an embodiment of an automatic upgrading method of an application system, wherein an execution main body is an application system, and referring to fig. 2 and 5, the automatic upgrading method of the application system specifically comprises the following contents:
step S201: and acquiring local modification parameters of the support system, isolating the target application according to the local modification parameters, and upgrading the target application, wherein the local modification parameters are stored locally after the support system receives an application system upgrading request.
Step S202: and acquiring updated modification parameters of the support system, and isolating and releasing the target application according to the updated modification parameters, wherein the support system updates the local modification parameters according to the upgrade completion notification after receiving the upgrade completion notification of the application system.
As can be seen from the above description, in the method for automatically upgrading an application system according to the embodiment of the present application, a support system is configured to receive an application system upgrade request, and store the upgrade request to a local modification parameter, so that after the local modification parameter is obtained by an application system, a target application is isolated according to the local modification parameter, and the target application is upgraded; the support system can also receive an application system upgrade completion notification, update the local modification parameters according to the upgrade completion notification, so that the application system obtains updated modification parameters, and isolate and release the target application according to the updated modification parameters.
In order to effectively improve the reliability of an application system, reduce the cost of operation and maintenance of production labor and reduce the risk of operation and manual operation by an automation means, the application provides an embodiment of an automatic upgrading device for an application system for realizing all or part of the content of the automatic upgrading method of the application system, which specifically comprises a supporting system, and referring to fig. 3, the automatic upgrading device for the application system specifically comprises the following contents:
and the modification parameter determining module 10 is configured to receive an application system upgrade request, store the upgrade request to a local modification parameter, isolate a target application according to the local modification parameter after the local modification parameter is acquired by an application system, and upgrade the target application.
And the modification parameter updating module 20 is configured to receive an application system upgrade completion notification, update the local modification parameter according to the upgrade completion notification, so that the application system obtains the updated modification parameter, and perform isolation release on the target application according to the updated modification parameter.
As can be seen from the above description, the automatic upgrade device for an application system provided by the embodiment of the present application can receive an upgrade request of the application system by setting a support system, and store the upgrade request to a local modification parameter, so that after the application system obtains the local modification parameter, a target application is isolated according to the local modification parameter, and the target application is upgraded; the support system can also receive an application system upgrade completion notification, update the local modification parameters according to the upgrade completion notification, so that the application system obtains updated modification parameters, and isolate and release the target application according to the updated modification parameters.
In order to ensure the stability of the target application during upgrading, in an embodiment of the automatic upgrading device for an application system of the present application, the automatic upgrading device further specifically includes the following:
and the parameter release unit is used for obtaining the isolation parameters or the isolation release parameters according to the received upgrading request or the upgrading completion notification and releasing the parameters to the application system so as to enable the application system to carry out parameter configuration and hot reload.
In order to accurately execute various processing operations on the target application, in an embodiment of the automatic upgrading device for an application system of the present application, the automatic upgrading device further specifically includes the following:
and the instruction issuing unit is used for sending an upgrading instruction, a capacity expansion instruction or a capacity shrinkage instruction to the application system according to the received upgrading request, so that the application system executes corresponding upgrading operation, capacity expansion operation or capacity shrinkage operation on the target application according to the received upgrading instruction, capacity expansion instruction or capacity shrinkage instruction.
In order to effectively improve the reliability of an application system, reduce the cost of operation and maintenance of production labor and reduce the risk of operation and manual operation by an automation means, the application provides an embodiment of an automatic upgrading device for an application system for realizing all or part of the content of the automatic upgrading method for the application system, which specifically comprises an application system, and referring to fig. 4, the automatic upgrading device for the application system specifically comprises the following contents:
And the modification parameter acquisition module 30 is configured to acquire a local modification parameter of the support system, isolate a target application according to the local modification parameter, and upgrade the target application, where the local modification parameter is stored locally after the support system receives an application system upgrade request.
And the update parameter obtaining module 40 is configured to obtain updated modification parameters of the support system, and perform quarantine removal on the target application according to the updated modification parameters, where the support system updates the local modification parameters according to the upgrade completion notification after receiving the application system upgrade completion notification.
In order to ensure the stability of the target application during upgrading, in an embodiment of the automatic upgrading device for an application system of the present application, the automatic upgrading device further specifically includes the following:
and the release parameter receiving unit is used for carrying out parameter configuration and hot reloading according to the received isolation parameters or isolation release parameters, wherein the isolation parameters or the isolation release parameters are obtained and released by the support system according to the received upgrading request or upgrading completion notification.
In order to accurately execute various processing operations on the target application, in an embodiment of the automatic upgrading device for an application system of the present application, the automatic upgrading device further specifically includes the following:
And the issuing instruction receiving unit is used for executing corresponding upgrading operation, capacity expansion operation or capacity contraction operation on the target application according to the received upgrading instruction, capacity expansion instruction or capacity contraction instruction, wherein the upgrading instruction, the capacity expansion instruction or the capacity contraction instruction is sent by the support system according to the received upgrading request.
In order to further explain the scheme, the application also provides a specific application example for implementing the automatic upgrading method of the application system by applying the automatic upgrading device of the application system, and the specific application example is shown in fig. 6, and specifically comprises the following contents:
step 1, isolating gray scale APP. The scheduling system initiates a request for modifying parameters to the parameter management system (1.1 in fig. 6), the parameter management system issues the modified parameters to the WEB container cluster (1.2 in fig. 6), and after receiving the parameters, the WEB cluster traffic routing control module adjusts the WEB container configuration and reloads the configuration (1.3 in fig. 6).
And step 2, upgrading the gray level APP. The dispatch system initiates an upgrade request to the container management system (2.1 in fig. 6), and the container management system performs rolling upgrade to the gray scale APP cluster according to the request parameters (2.2 in fig. 6).
And step 3, upgrading the gray level WEB. The dispatch system initiates an upgrade request to the container management system (3.1 in fig. 6), and the container management system performs rolling upgrade on the gray scale WEB cluster according to the request parameters (3.2 in fig. 6).
And 4, removing gray scale APP isolation. The scheduling system initiates a request for modifying parameters to the parameter management system (4.1 in fig. 6), the parameter management system issues the modified parameters to the WEB container cluster (4.2 in fig. 6), and after receiving the parameters, the WEB cluster traffic routing control module adjusts the WEB container configuration and reloads the configuration (4.3 in fig. 6).
And 5, gray scale APP capacity expansion. The scheduling system initiates a capacity expansion request to the container management system (5.1 in fig. 6), and the container management system expands the gray scale APP cluster according to the request parameters (5.2 in fig. 6).
And step 6, upgrading the ordinary WEB. The dispatch system initiates an upgrade request to the container management system (6.1 in fig. 6), and the container management system performs rolling upgrade on the ordinary WEB cluster according to the request parameters (6.2 in fig. 6).
And 7, isolating the common APP. The scheduling system initiates a request for modifying parameters to the parameter management system (7.1 in fig. 6), the parameter management system issues the modified parameters to the WEB container cluster (7.2 in fig. 6), and after receiving the parameters, the WEB cluster traffic routing control module adjusts the WEB container configuration and reloads the configuration (7.3 in fig. 6).
And 8, upgrading the common APP. The dispatch system initiates an upgrade request to the container management system (8.1 in fig. 6), which performs a rolling upgrade to the common APP cluster according to the request parameters (8.2 in fig. 6).
And 9, removing the isolation of the common APP. The scheduling system initiates a request for modifying parameters to the parameter management system (9.1 in fig. 6), the parameter management system issues the modified parameters to the WEB container cluster (9.2 in fig. 6), and after receiving the parameters, the WEB cluster traffic routing control module adjusts the WEB container configuration and reloads the configuration (9.3 in fig. 6).
Step 10, gray scale APP shrinking. The scheduling system initiates a capacity expansion request to the container management system (10.1 in fig. 6), and the container management system performs capacity reduction on the gray scale APP cluster according to the request parameters (10.2 in fig. 6).
From the above description, the present application can achieve at least the following technical effects:
and the capability of quickly delivering the service value is improved. In the rapid product iteration process, the system service is ensured to be available for 7 times 24 hours, the production artificial operation and maintenance cost is reduced by an automatic means, and the production artificial operation risk is reduced.
In order to effectively improve the reliability of an application system and reduce the operation cost and the risk of operation by automation, and the hardware level, the application provides an embodiment of an electronic device for realizing all or part of the content in the automatic upgrading method of the application system, wherein the electronic device specifically comprises the following contents:
A processor (processor), a memory (memory), a communication interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete communication with each other through the bus; the communication interface is used for realizing information transmission between the automatic upgrading device of the application system and related equipment such as a core service system, a user terminal, a related database and the like; the logic controller may be a desktop computer, a tablet computer, a mobile terminal, etc., and the embodiment is not limited thereto. In this embodiment, the logic controller may refer to an embodiment of the automatic upgrade method of the application system and an embodiment of the automatic upgrade device of the application system, and the contents thereof are incorporated herein, and are not repeated here.
It is understood that the user terminal may include a smart phone, a tablet electronic device, a network set top box, a portable computer, a desktop computer, a Personal Digital Assistant (PDA), a vehicle-mounted device, a smart wearable device, etc. Wherein, intelligent wearing equipment can include intelligent glasses, intelligent wrist-watch, intelligent bracelet etc..
In practical applications, part of the automatic upgrade method of the application system may be performed on the electronic device side as described above, or all operations may be performed in the client device. Specifically, the selection may be made according to the processing capability of the client device, and restrictions of the use scenario of the user. The application is not limited in this regard. If all operations are performed in the client device, the client device may further include a processor.
The client device may have a communication module (i.e. a communication unit) and may be connected to a remote server in a communication manner, so as to implement data transmission with the server. The server may include a server on the side of the task scheduling center, and in other implementations may include a server of an intermediate platform, such as a server of a third party server platform having a communication link with the task scheduling center server. The server may include a single computer device, a server cluster formed by a plurality of servers, or a server structure of a distributed device.
Fig. 7 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 7, the electronic device 9600 may include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 7 is exemplary; other types of structures may also be used in addition to or in place of the structures to implement telecommunications functions or other functions.
In one embodiment, the application system auto-upgrade method functionality may be integrated into the central processor 9100. The central processor 9100 may be configured to perform the following control:
Step S101: and receiving an application system upgrading request, storing the local modification parameters, isolating a target application according to the local modification parameters after the application system acquires the local modification parameters, and upgrading the target application.
Step S102: and receiving an upgrade completion notice of the application system, updating the local modification parameters according to the upgrade completion notice so that the application system obtains the updated modification parameters, and performing isolation release on the target application according to the updated modification parameters.
As can be seen from the above description, in the electronic device provided by the embodiment of the present application, a support system is configured to receive an application system upgrade request, and store the upgrade request to a local modification parameter, so that after the local modification parameter is obtained by an application system, a target application is isolated according to the local modification parameter, and the target application is upgraded; the support system can also receive an application system upgrade completion notification, update the local modification parameters according to the upgrade completion notification, so that the application system obtains updated modification parameters, and isolate and release the target application according to the updated modification parameters.
In another embodiment, the automatic upgrade apparatus of the application system may be configured separately from the central processing unit 9100, for example, the automatic upgrade apparatus of the application system may be configured as a chip connected to the central processing unit 9100, and the automatic upgrade method function of the application system is implemented under the control of the central processing unit.
As shown in fig. 7, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 need not include all of the components shown in fig. 7; in addition, the electronic device 9600 may further include components not shown in fig. 7, and reference may be made to the related art.
As shown in fig. 7, the central processor 9100, sometimes referred to as a controller or operational control, may include a microprocessor or other processor device and/or logic device, which central processor 9100 receives inputs and controls the operation of the various components of the electronic device 9600.
The memory 9140 may be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information about failure may be stored, and a program for executing the information may be stored. And the central processor 9100 can execute the program stored in the memory 9140 to realize information storage or processing, and the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. The power supply 9170 is used to provide power to the electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, but not limited to, an LCD display.
The memory 9140 may be a solid state memory such as Read Only Memory (ROM), random Access Memory (RAM), SIM card, etc. But also a memory which holds information even when powered down, can be selectively erased and provided with further data, an example of which is sometimes referred to as EPROM or the like. The memory 9140 may also be some other type of device. The memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 storing application programs and function programs or a flow for executing operations of the electronic device 9600 by the central processor 9100.
The memory 9140 may also include a data store 9143, the data store 9143 for storing data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers of the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, address book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. A communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, as in the case of conventional mobile communication terminals.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, etc., may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and to receive audio input from the microphone 9132 to implement usual telecommunications functions. The audio processor 9130 can include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100 so that sound can be recorded locally through the microphone 9132 and sound stored locally can be played through the speaker 9131.
The embodiment of the present application further provides a computer readable storage medium capable of implementing all the steps in the automatic upgrade method of an application system in which the execution subject is a server or a client in the above embodiment, the computer readable storage medium storing a computer program thereon, the computer program implementing all the steps in the automatic upgrade method of an application system in which the execution subject is a server or a client in the above embodiment when executed by a processor, for example, the processor implementing the following steps when executing the computer program:
Step S101: and receiving an application system upgrading request, storing the local modification parameters, isolating a target application according to the local modification parameters after the application system acquires the local modification parameters, and upgrading the target application.
Step S102: and receiving an upgrade completion notice of the application system, updating the local modification parameters according to the upgrade completion notice so that the application system obtains the updated modification parameters, and performing isolation release on the target application according to the updated modification parameters.
As can be seen from the above description, the computer readable storage medium provided by the embodiments of the present application receives an application system upgrade request by setting a support system, and stores the upgrade request to a local modification parameter, so that after the application system obtains the local modification parameter, a target application is isolated according to the local modification parameter, and the target application is upgraded; the support system can also receive an application system upgrade completion notification, update the local modification parameters according to the upgrade completion notification, so that the application system obtains updated modification parameters, and isolate and release the target application according to the updated modification parameters.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (devices), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principles and embodiments of the present invention have been described in detail with reference to specific examples, which are provided to facilitate understanding of the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (6)

1. An automatic upgrade method for an application system, applied to a support system, the support system being connected to the application system, the method comprising:
receiving an application system upgrading request, storing the local modification parameters, isolating a target application according to the local modification parameters after the application system obtains the local modification parameters, and upgrading the target application;
receiving an application system upgrade completion notification, updating the local modification parameters according to the upgrade completion notification so that the application system obtains updated modification parameters, and performing isolation release on the target application according to the updated modification parameters;
obtaining isolation parameters or isolation release parameters according to the received upgrading request or the upgrading completion notification, and releasing the parameters to the application system so as to enable the application system to perform parameter configuration and hot reload;
and sending an upgrading instruction, a capacity expanding instruction or a capacity shrinking instruction to the application system according to the received upgrading request, so that the application system executes corresponding upgrading operation, capacity expanding operation or capacity shrinking operation on the target application according to the received upgrading instruction, capacity expanding instruction or capacity shrinking instruction.
2. An automatic upgrade method for an application system, wherein the method is applied to the application system, the application system is connected with a support system, and the method comprises:
obtaining local modification parameters of a support system, isolating a target application according to the local modification parameters, and upgrading the target application, wherein the local modification parameters are stored locally after the support system receives an application system upgrading request;
acquiring updated modification parameters of the support system, and isolating and releasing the target application according to the updated modification parameters, wherein the support system updates the local modification parameters according to the upgrade completion notification after receiving the upgrade completion notification of the application system;
receiving parameters sent by the support system, and carrying out parameter configuration and thermal reloading according to the parameters, wherein the parameters are issued after the support system obtains isolation parameters or isolation release parameters according to the received upgrading request or upgrading completion notification;
and receiving an upgrade instruction, a capacity expansion instruction or a capacity contraction instruction sent by the support system, and executing corresponding upgrade operation, capacity expansion operation or capacity contraction operation on the target application according to the received upgrade instruction, capacity expansion instruction or capacity contraction instruction, wherein the upgrade instruction, the capacity expansion instruction or the capacity contraction instruction are sent by the support system according to the received upgrade request.
3. An automatic upgrade apparatus for an application system, comprising:
the system comprises a modification parameter determining module, a target application updating module and a modification parameter updating module, wherein the modification parameter determining module is used for receiving an application system updating request and storing the local modification parameter so that the application system can isolate a target application according to the local modification parameter after acquiring the local modification parameter and update the target application;
the modification parameter updating module is used for receiving an application system upgrade completion notification, updating the local modification parameter according to the upgrade completion notification so that the application system obtains the updated modification parameter, and carrying out isolation release on the target application according to the updated modification parameter;
the parameter release unit is used for obtaining isolation parameters or isolation release parameters according to the received upgrading request or the upgrading completion notification and releasing the parameters to the application system so as to enable the application system to carry out parameter configuration and hot reload;
and the instruction issuing unit is used for sending an upgrading instruction, a capacity expansion instruction or a capacity shrinkage instruction to the application system according to the received upgrading request, so that the application system executes corresponding upgrading operation, capacity expansion operation or capacity shrinkage operation on the target application according to the received upgrading instruction, capacity expansion instruction or capacity shrinkage instruction.
4. An automatic upgrade apparatus for an application system, comprising:
the system comprises a modification parameter acquisition module, a modification parameter updating module and a modification parameter updating module, wherein the modification parameter acquisition module is used for acquiring local modification parameters of a support system, isolating a target application according to the local modification parameters and updating the target application, wherein the local modification parameters are stored to the local after the support system receives an application system updating request;
the system comprises an updating parameter acquisition module, a modification parameter updating module and a modification parameter updating module, wherein the updating parameter acquisition module is used for acquiring updated modification parameters of the supporting system and isolating and releasing the target application according to the updated modification parameters, and the supporting system updates the local modification parameters according to the upgrading completion notification after receiving the application system upgrading completion notification;
the release parameter receiving unit is used for carrying out parameter configuration and hot reloading according to the received isolation parameters or isolation release parameters, wherein the isolation parameters or the isolation release parameters are obtained and released by the support system according to the received upgrade request or upgrade completion notification;
and the issuing instruction receiving unit is used for executing corresponding upgrading operation, capacity expansion operation or capacity contraction operation on the target application according to the received upgrading instruction, capacity expansion instruction or capacity contraction instruction, wherein the upgrading instruction, the capacity expansion instruction or the capacity contraction instruction is sent by the support system according to the received upgrading request.
5. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method for automatically upgrading an application system according to claim 1 when executing the program.
6. A computer readable storage medium having stored thereon a computer program, characterized in that the computer program when executed by a processor realizes the steps of the method for automatically upgrading an application system according to claim 1.
CN202010138564.7A 2020-03-03 2020-03-03 Automatic upgrading method and device for application system Active CN111367552B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010138564.7A CN111367552B (en) 2020-03-03 2020-03-03 Automatic upgrading method and device for application system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010138564.7A CN111367552B (en) 2020-03-03 2020-03-03 Automatic upgrading method and device for application system

Publications (2)

Publication Number Publication Date
CN111367552A CN111367552A (en) 2020-07-03
CN111367552B true CN111367552B (en) 2023-09-19

Family

ID=71208423

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010138564.7A Active CN111367552B (en) 2020-03-03 2020-03-03 Automatic upgrading method and device for application system

Country Status (1)

Country Link
CN (1) CN111367552B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7865952B1 (en) * 2007-05-01 2011-01-04 Symantec Corporation Pre-emptive application blocking for updates
CN102148709A (en) * 2011-02-25 2011-08-10 中兴通讯股份有限公司 Method and device for realizing main-standby monolithic board upgrading
CN107493190A (en) * 2017-08-07 2017-12-19 东软集团股份有限公司 Node upgrade method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7865952B1 (en) * 2007-05-01 2011-01-04 Symantec Corporation Pre-emptive application blocking for updates
CN102148709A (en) * 2011-02-25 2011-08-10 中兴通讯股份有限公司 Method and device for realizing main-standby monolithic board upgrading
CN107493190A (en) * 2017-08-07 2017-12-19 东软集团股份有限公司 Node upgrade method and device

Also Published As

Publication number Publication date
CN111367552A (en) 2020-07-03

Similar Documents

Publication Publication Date Title
CN111786885B (en) Distributed full-link gray level routing method and device
CN106095458A (en) The management method of plug-in unit and device in a kind of application program
CN105813232B (en) Mobile terminal and network share method
CN108513145B (en) Control method and device for live broadcast with wheat
WO2019219059A1 (en) Method, apparatus and system for storing data, and method for reading data, apparatus, and system
CN105204816A (en) Method and device for controlling audios in multisystem
CN103634336A (en) File collaborative download system, apparatus and method
CN111796838A (en) MPP database automatic deployment method and device
KR20150000024A (en) Method for joint applications service and apparatus applied to the same
KR20110023480A (en) Data operation method, apparatus and system thereof
CN111858050A (en) Server cluster mixed deployment method, cluster management node and related system
CN102664929A (en) Mobile terminal and method for managing mass storage device
CN111367552B (en) Automatic upgrading method and device for application system
CN112612851B (en) Multi-center data synchronization method and device
CN105453518A (en) Metered network synchronization
CN113268272B (en) Application delivery method, device and system based on private cloud
CN116185755A (en) Data processing method and device for distributed load balancing system
CN115562898A (en) Distributed payment system exception handling method and device
CN111930624B (en) Test link message data processing method and device
CN113934437A (en) Method and system for installing application in cloud mobile phone and client cloud mobile phone
CN112949326B (en) Information query method, device, equipment and computer readable medium
CN113452776A (en) PaaS platform service scheduling method and device and PaaS platform
CN112445574B (en) Application container multi-cluster migration method and device
CN112650623A (en) Data processing method and device in service system switching process
CN113342501B (en) System fault processing method and device

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
GR01 Patent grant
GR01 Patent grant