CN112416394A - Service upgrading method and device, storage medium and electronic equipment - Google Patents

Service upgrading method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112416394A
CN112416394A CN202011294544.5A CN202011294544A CN112416394A CN 112416394 A CN112416394 A CN 112416394A CN 202011294544 A CN202011294544 A CN 202011294544A CN 112416394 A CN112416394 A CN 112416394A
Authority
CN
China
Prior art keywords
service
upgrade
upgrading
information
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011294544.5A
Other languages
Chinese (zh)
Other versions
CN112416394B (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.)
Ubtech Robotics Corp
Original Assignee
Ubtech Robotics Corp
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 Ubtech Robotics Corp filed Critical Ubtech Robotics Corp
Priority to CN202011294544.5A priority Critical patent/CN112416394B/en
Publication of CN112416394A publication Critical patent/CN112416394A/en
Application granted granted Critical
Publication of CN112416394B publication Critical patent/CN112416394B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The embodiment of the application discloses a service upgrading method and device, a storage medium and electronic equipment. The method comprises the following steps: responding to the submitting operation of the user service upgrading information, and acquiring the service upgrading information; analyzing the service upgrading information to obtain service key field parameters; writing the service key field parameters into a preset script to be executed to obtain a target script; and executing the target script to obtain an execution result and finish the service upgrade. According to the technical scheme, the service can be upgraded based on the service name selected by the user and the imported related parameters under the condition that the service is deployed on the local end, and the operation difficulty of the user is reduced.

Description

Service upgrading method and device, storage medium and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a service upgrading method, a service upgrading device, a storage medium and electronic equipment.
Background
With the development of science and technology and the advancement of society, more and more industries rely on computer languages.
An Electronic Computer Service (ECS) is a computing Service with simplicity, high efficiency, safety, reliability, and flexible processing capability, and can be used to store Service codes. For some users, it is undesirable to place core service code on a common cloud server.
The micro-service and the database need to be managed by using the server of the micro-service upgrading system, so that the whole service upgrading process is completed. The technical requirement is high and the difficulty is high in the upgrading process.
Disclosure of Invention
The embodiment of the application provides a service upgrading method, a service upgrading device, a storage medium and electronic equipment, which can upgrade services based on service names selected by users and imported related parameters under the condition that the services are deployed at a local end, and reduce the operation difficulty of the users. In a first aspect, an embodiment of the present application provides a service upgrade method, where the method includes:
responding to the submitting operation of the user service upgrading information, and acquiring the service upgrading information;
analyzing the service upgrading information to obtain service key field parameters;
writing the service key field parameters into a preset script to be executed to obtain a target script;
and executing the target script to obtain an execution result and finish the service upgrade.
In a second aspect, an embodiment of the present application provides a service upgrade apparatus, where the apparatus includes:
the service upgrading information obtaining unit is used for responding to the submitting operation of the user service upgrading information and obtaining the service upgrading information;
a service key field parameter obtaining unit, configured to analyze the service upgrade information to obtain a service key field parameter;
a target script obtaining unit, configured to write the service key field parameter into a preset script to be executed, so as to obtain a target script;
and the service upgrading completion unit is used for executing the target script, obtaining an execution result and completing service upgrading.
In a third aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements a service upgrade method according to an embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides an electronic device, which includes a memory, a processor, and a computer program stored on the memory and executable by the processor, where the processor executes the computer program to implement the service upgrade method according to the embodiment of the present application.
According to the technical scheme provided by the embodiment of the application, the service upgrading information is obtained in response to the submitting operation of the user service upgrading information; analyzing the service upgrading information to obtain service key field parameters; writing the service key field parameters into a preset script to be executed to obtain a target script; and executing the target script to obtain an execution result and finish the service upgrade. According to the technical scheme, the service can be upgraded based on the service name selected by the user and the imported related parameters under the condition that the service is deployed on the local end, and the operation difficulty of the user is reduced.
Drawings
Fig. 1 is a flowchart of a service upgrade method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a service upgrade process provided in the second embodiment of the present application;
FIG. 3 is a service upgrade interface provided in the second embodiment of the present application;
FIG. 4 is a deployment service list interface provided in the second embodiment of the present application;
fig. 5 is a schematic structural diagram of a service upgrading apparatus provided in the third embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. It should be further noted that, for the convenience of description, only some of the structures related to the present application are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the steps as a sequential process, many of the steps can be performed in parallel, concurrently or simultaneously. In addition, the order of the steps may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
Example one
Fig. 1 is a flowchart of a service upgrade method provided in an embodiment of the present application, where the present embodiment is applicable to a micro service upgrade situation, and the method may be executed by a service upgrade apparatus provided in the embodiment of the present application, where the apparatus may be implemented by software and/or hardware, and may be integrated in a device such as an intelligent terminal for micro service upgrade.
As shown in fig. 1, the service upgrade method includes:
s110, responding to the user service upgrading information submitting operation, and obtaining the service upgrading information.
In this embodiment, the service upgrade information may be information for micro-service upgrade. The service upgrade information may be a service name, a current version, an upgrade type, a deployment file, and the like. The service name may be a microservice used to determine that an upgrade is needed. The micro-service is to divide an application of a single architecture into programs, i.e., services, which run independently according to services. The system adopting the micro-service architecture is a distributed system, is divided into independent service units according to services, solves the defects of a single system, and simultaneously meets the more and more complex service requirements. The current version may be a current configuration version of the service system, and the upgraded version may be a version of the service system after the configuration is changed. The upgrade type may be the kind of service upgrade that needs to be performed. For example, the container package may be upgraded, or the database may be upgraded. The deployment file may be a file that requires a service upgrade.
In this embodiment, when the user submits the service upgrade information, the system will respond to the user service upgrade information submission operation, and start an asynchronous thread to acquire the service upgrade information. The thread is the smallest unit that the operating system can perform operation scheduling.
In this embodiment, after obtaining the service upgrade information, the deployment file in the service upgrade information is saved to a specified directory, and is used for addressing a specified path in the service upgrade process.
And S120, analyzing the service upgrading information to obtain the service key field parameters.
In this embodiment, the business key field parameter may be a service name, a current version, an upgrade version parameter, and the like.
In this embodiment, the analyzing the service upgrade information may be that an analyzer in the system analyzes the service upgrade information, and extracts a specific field or information in a specific form, that is, a service key field parameter, in the service upgrade information. It can be understood that the obtained service upgrade information is analyzed to obtain the service key field parameter, and the parameter can be used in the service upgrade execution process.
In this technical solution, optionally, the service upgrade information further includes deployment information;
correspondingly, before analyzing the service upgrading information and obtaining the service key field parameters, the method further comprises:
and displaying the deployment information for the user to check.
In this embodiment, the deployment information may be a service name, version information, deployment time, running state, and the like. The version information is an identification number of the version. Each operating system has a revision identification number. The version identification number enables the user to know whether the operating system being used is the latest version and the functions and facilities it provides. Wherein the initial operating state is in the process of upgrading.
It can be understood that, in the service upgrading process, a certain time is required to complete the service upgrading, the deployment information is displayed, and the user can check the service upgrading process according to the requirement.
And S130, writing the service key field parameters into a preset script to be executed to obtain a target script.
In this embodiment, a script is an executable file written according to a certain format using a specific descriptive language. The script to be executed may be a script that pre-configures the service upgrade. Preferably, the script to be executed may be a shell script. The shell script is a program file which is put into a file in advance by various commands and is convenient to execute at one time, and is mainly convenient for an administrator to set or manage. It is more efficient than programs edited with other programming programs, using commands under Linux or Unix.
In this embodiment, the service key field parameter is written into a preset script to be executed, so that the script to be executed can be configured, and a configured target script is obtained.
In the present technical solution, optionally, the service upgrade information includes an upgrade type;
correspondingly, writing the service key field parameter into a preset script to be executed to obtain a target script, including:
and writing the service key field parameters into a preset script to be executed matched with the upgrading type to obtain a target script.
In this embodiment, the preset script to be executed may have a plurality of scripts, and each script is matched with the upgrade type. After the upgrade type is obtained, the service key field parameters can be written into the script to be executed matched with the upgrade type according to the upgrade type. For example, when the upgrade type is a container service upgrade type, the service key field parameter needs to be written into the container service upgrade script. The matching relation between the upgrading type and the script to be executed is preset.
By determining the upgrading type, the service key field parameters can be written into a preset script to be executed matched with the upgrading type, and different types of services can be upgraded.
In this technical solution, optionally, the upgrade type includes a docker container service upgrade type and a Mysql database file upgrade type.
In this embodiment, the docker container is an open-source application container engine, so that developers can package their applications and dependency packages in a unified manner into a portable container, and then publish the package to any server on which the docker engine is installed, thereby also implementing virtualization. It can be understood that the docker container service upgrade type is upgrading a docker container.
In this embodiment, the upgrading process of the docker container includes that the system kernel finds an upgraded star. After waiting for a period of time, the upgrade status of the service name is checked to determine whether the upgrade of the service name is successful.
In this embodiment, the Mysql database is an open source relational database management system that uses the most common database management language, the structured query language, for database management.
In this embodiment, the upgrading process of the Mysql database file includes first finding a Mysql mirror service in the docker container, and performing a backup operation on the mirror. The new Mysql mirroring service is then stopped and installed. And starting the Mysql mirror image, and if the Mysql mirror image is normally started, upgrading is successful. If the starting fails, a rollback method is called, and the updating fails when the image files backed up before are rolled back.
And S140, executing the target script to obtain an execution result and finish service upgrading.
In the present embodiment, the execution result may be success or failure. I.e. success or failure of the upgrade to the service. The system will represent the execution result in the form of 0 or 1, where 0 can represent success and 1 can represent failure. Starting a bottom layer process to execute the target script, and monitoring stream data information of the target script execution result in the target script execution process so as to obtain the execution result.
It can be understood that after the target script is obtained, a bottom layer process is started to execute the target script, and the execution result of the target script is monitored in the execution process. If the upgrade process is successfully executed, the execution result is successful, and at this time, the service layer will update the state of the service upgrade information to be successful, and identify the old service version as the disabled state. If the upgrading process is not smooth, the obtained execution result is failure, the service layer can find the old version mirror image according to the access reference old version number, rollback operation is carried out, and the state of the service upgrading information is identified as failure.
In this technical solution, optionally, after executing the target script, obtaining an execution result, and completing service upgrade, the method further includes:
and displaying the execution result and deleting the service upgrading information.
In this embodiment, after the service upgrade is completed, if the service upgrade is successful, the service upgrade information is stored in the container in a mirrored manner, the service upgrade information in the system is deleted, and the memory is reduced; and if the service upgrading fails, the service upgrading information has a problem, and the service upgrading information is deleted.
In this embodiment, the execution result, the deployment information, and the upgrade type may be displayed together, and the user may query the service upgrade information corresponding to the service name according to the requirement.
By displaying the execution result and deleting the service upgrading information, the system memory can be reduced, the user can conveniently check the service upgrading information, and the method is simple and convenient.
According to the technical scheme provided by the embodiment of the application, the service upgrading information is obtained in response to the submitting operation of the user service upgrading information; analyzing the service upgrading information to obtain service key field parameters; writing the service key field parameters into a preset script to be executed to obtain a target script; and executing the target script to obtain an execution result and finish the service upgrade. By executing the technical scheme, the service can be upgraded based on the service name selected by the user and the imported related parameters under the condition that the service is deployed at the local end, and the operation difficulty of the user is reduced.
Example two
Fig. 2 is a schematic diagram of a service upgrade process provided in the second embodiment of the present application, and the second embodiment is further optimized based on the first embodiment. The concrete optimization is as follows: before obtaining the service upgrade file in response to a service upgrade file submission operation of a user, the method further includes: and responding to the service upgrading request operation of the user, and displaying a service upgrading interface for the user to fill in the service upgrading information. The details which are not described in detail in this embodiment are shown in the first embodiment. As shown in fig. 2, the method comprises the steps of:
and S210, responding to the service upgrading request operation of the user, and displaying a service upgrading interface for the user to fill in the service upgrading information.
In this embodiment, the user service upgrade request operation may be a click operation or an input operation. Preferably, it may be a click operation.
It can be understood that when the user sends the service upgrade request, the service upgrade interface is displayed in response to the service upgrade request operation of the user, and the user can perform operation according to the service upgrade interface prompt to complete the filling of the service upgrade information.
Fig. 3 is a service upgrade interface provided in the second embodiment of the present application, and as shown in fig. 3, a service name, a current version, an upgrade version, a type, and a deployment package selection box are provided on the service upgrade interface, and a user may fill in service upgrade information according to a service upgrade requirement.
Fig. 4 is a deployment service list interface provided in the second embodiment of the present application, and as shown in fig. 4, a service name, a current version, a previous version, a deployment time, a running state, an upgrade type list, and a service upgrade unit are shown in the deployment service list interface. The user can check the service upgrading information corresponding to the service name in the deployment service list interface, and can click the service upgrading module to fill in the service upgrading information. In the drawings, the unclear parts are irrelevant to the scheme and can be ignored.
In this technical solution, optionally, before responding to a service upgrade request operation of a user and displaying a service upgrade interface for the user to fill in service upgrade information, the method further includes:
responding to the user login request operation, and displaying a deployment service list interface;
and responding to the input operation of the user service name, displaying the service operation information matched with the service name in the deployment service list interface, and displaying a service upgrading module for the user to perform service upgrading request operation.
In this embodiment, the user may perform a login request operation through an account and a password.
In this embodiment, a service name input operation selection box is provided in the deployment service list interface, and a user can check service operation information matched with a service name according to requirements. And the service can be upgraded according to the requirement.
Through the display and deployment service list interface, a user can check service operation information matched with the service name according to requirements, and can also perform service upgrade on the service name, so that the operation is simple and convenient, and the user experience is improved.
S220, responding to the user service upgrading information submitting operation, and obtaining the service upgrading information.
And S230, analyzing the service upgrading information to obtain the service key field parameters.
And S240, writing the service key field parameter into a preset script to be executed to obtain a target script.
And S250, executing the target script to obtain an execution result and finish service upgrading.
According to the technical scheme provided by the embodiment of the application, the service upgrading interface is displayed in response to the user service upgrading request operation, and the service upgrading information is obtained in response to the user service upgrading information submitting operation; analyzing the service upgrading information to obtain service key field parameters; writing the service key field parameters into a preset script to be executed to obtain a target script; and executing the target script to obtain an execution result and finish the service upgrade. By executing the technical scheme, the service can be upgraded based on the service name selected by the user and the imported related parameters under the condition that the service is deployed at the local end, and the operation difficulty of the user is reduced.
EXAMPLE III
Fig. 5 is a schematic structural diagram of a service upgrading apparatus provided in the third embodiment of the present application, and as shown in fig. 5, the service upgrading apparatus includes:
a service upgrade information obtaining unit 510, configured to obtain service upgrade information in response to a user service upgrade information submission operation;
a service key field parameter obtaining unit 520, configured to analyze the service upgrade information to obtain a service key field parameter;
a target script obtaining unit 530, configured to write the service key field parameter into a preset script to be executed, so as to obtain a target script;
and a service upgrade completing unit 540, configured to execute the target script, obtain an execution result, and complete service upgrade.
In this technical solution, optionally, the apparatus further includes:
and the service upgrading information filling unit is used for responding to the service upgrading request operation of the user, displaying a service upgrading interface and allowing the user to fill in the service upgrading information.
In this technical solution, optionally, the apparatus further includes:
the deployment service list interface display unit is used for responding to the user login request operation and displaying a deployment service list interface;
and the deployment service list interface information display unit is used for responding to the input operation of the user service name, displaying the service operation information matched with the service name in the deployment service list interface, and displaying the service upgrading module for the user to carry out service upgrading request operation.
In the present technical solution, optionally, the service upgrade information includes an upgrade type;
correspondingly, the target script obtaining unit 530 is specifically configured to:
and writing the service key field parameters into a preset script to be executed matched with the upgrading type to obtain a target script.
In this technical solution, optionally, the upgrade type includes a docker container service upgrade type and a Mysql database file upgrade type.
In this technical solution, optionally, the service upgrade information further includes deployment information;
correspondingly, the device further comprises:
and the deployment information display unit is used for displaying the deployment information for the user to check.
In this technical solution, optionally, the apparatus further includes:
and the execution result display unit is used for displaying the execution result and deleting the service upgrading information.
The product can execute the method provided by the embodiment of the application, and has the corresponding functional modules and beneficial effects of the execution method.
Example four
A fourth embodiment of the present application further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, perform a service upgrade method, including:
responding to the submitting operation of the user service upgrading information, and acquiring the service upgrading information;
analyzing the service upgrading information to obtain service key field parameters;
writing the service key field parameters into a preset script to be executed to obtain a target script;
and executing the target script to obtain an execution result and finish the service upgrade.
Storage medium-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk, or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, Lanbas (Rambus) RAM, etc.; non-volatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the computer system in which the program is executed, or may be located in a different second computer system connected to the computer system through a network (such as the internet). The second computer system may provide the program instructions to the computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations, such as in different computer systems that are connected by a network. The storage medium may store program instructions (e.g., embodied as a computer program) that are executable by one or more processors.
Of course, the storage medium provided in the embodiments of the present application contains computer-executable instructions, and the computer-executable instructions are not limited to the service upgrade operation described above, and may also perform related operations in the service upgrade method provided in any embodiment of the present application.
EXAMPLE five
Fifth, an electronic device is provided, and the service upgrading apparatus provided in the embodiment of the present application may be integrated in the electronic device. Fig. 6 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present application. As shown in fig. 6, the present embodiment provides an electronic device 600, which includes: one or more processors 620; the storage device 610 is configured to store one or more programs, and when the one or more programs are executed by the one or more processors 620, the one or more processors 620 are enabled to implement the service upgrade method provided in the embodiment of the present application, the method includes:
responding to the submitting operation of the user service upgrading information, and acquiring the service upgrading information;
analyzing the service upgrading information to obtain service key field parameters;
writing the service key field parameters into a preset script to be executed to obtain a target script;
and executing the target script to obtain an execution result and finish the service upgrade.
Of course, those skilled in the art can understand that the processor 620 also implements the technical solution of the service upgrade method provided in any embodiment of the present application.
The electronic device 600 shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 6, the electronic device 600 includes a processor 620, a storage device 610, an input device 630, and an output device 640; the number of the processors 620 in the electronic device may be one or more, and one processor 620 is taken as an example in fig. 6; the processor 620, the storage device 610, the input device 630, and the output device 640 in the electronic apparatus may be connected by a bus or other means, and are exemplified by being connected by a bus 650 in fig. 6.
The storage device 610 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and module units, such as program instructions corresponding to the service upgrading method in the embodiment of the present application.
The storage device 610 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. In addition, the storage 610 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the storage 610 may further include memory located remotely from the processor 620, which may be connected via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input means 630 may be used to receive input numbers, character information, or voice information, and to generate key signal inputs related to user settings and function control of the electronic device. The output device 640 may include a display screen, a speaker, and other electronic devices.
The electronic equipment provided by the embodiment of the application can achieve the purpose of upgrading the service according to the service name selected by the user.
The service upgrading device, the storage medium and the electronic device provided in the above embodiments may execute the service upgrading method provided in any embodiment of the present application, and have corresponding functional modules and beneficial effects for executing the method. For technical details that are not described in detail in the above embodiments, reference may be made to a service upgrade method provided in any embodiment of the present application.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present application and the technical principles employed. It will be understood by those skilled in the art that the present application is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the application. Therefore, although the present application has been described in more detail with reference to the above embodiments, the present application is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the appended claims.

Claims (10)

1. A method for upgrading a service, comprising:
responding to the submitting operation of the user service upgrading information, and acquiring the service upgrading information;
analyzing the service upgrading information to obtain service key field parameters;
writing the service key field parameters into a preset script to be executed to obtain a target script;
and executing the target script to obtain an execution result and finish the service upgrade.
2. The method of claim 1, wherein prior to obtaining the service upgrade file in response to a user service upgrade file submission operation, the method further comprises:
and responding to the service upgrading request operation of the user, and displaying a service upgrading interface for the user to fill in the service upgrading information.
3. The method of claim 2, wherein before presenting a service upgrade interface for a user to fill in service upgrade information in response to a user service upgrade request operation, the method further comprises:
responding to the user login request operation, and displaying a deployment service list interface;
and responding to the input operation of the user service name, displaying the service operation information matched with the service name in the deployment service list interface, and displaying a service upgrading module for the user to perform service upgrading request operation.
4. The method of claim 1, wherein the service upgrade information comprises an upgrade type;
correspondingly, writing the service key field parameter into a preset script to be executed to obtain a target script, including:
and writing the service key field parameters into a preset script to be executed matched with the upgrading type to obtain a target script.
5. The method of claim 4, wherein the upgrade types comprise a docker container service upgrade type and a Mysql database file upgrade type.
6. The method of claim 5, wherein the service upgrade information further comprises deployment information;
correspondingly, before analyzing the service upgrading information and obtaining the service key field parameters, the method further comprises:
and displaying the deployment information for the user to check.
7. The method of claim 1, wherein after executing the target script, obtaining an execution result, and completing a service upgrade, the method further comprises:
and displaying the execution result and deleting the service upgrading information.
8. A service upgrade apparatus, comprising:
the service upgrading information obtaining unit is used for responding to the submitting operation of the user service upgrading information and obtaining the service upgrading information;
a service key field parameter obtaining unit, configured to analyze the service upgrade information to obtain a service key field parameter;
a target script obtaining unit, configured to write the service key field parameter into a preset script to be executed, so as to obtain a target script;
and the service upgrading completion unit is used for executing the target script, obtaining an execution result and completing service upgrading.
9. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the service upgrade method according to any one of claims 1-7.
10. 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 service upgrade method according to any one of claims 1-7 when executing the computer program.
CN202011294544.5A 2020-11-18 2020-11-18 Service upgrading method and device, storage medium and electronic equipment Active CN112416394B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011294544.5A CN112416394B (en) 2020-11-18 2020-11-18 Service upgrading method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011294544.5A CN112416394B (en) 2020-11-18 2020-11-18 Service upgrading method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112416394A true CN112416394A (en) 2021-02-26
CN112416394B CN112416394B (en) 2023-10-10

Family

ID=74774448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011294544.5A Active CN112416394B (en) 2020-11-18 2020-11-18 Service upgrading method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112416394B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114153858A (en) * 2021-11-26 2022-03-08 泰康保险集团股份有限公司 Method and device for automatically updating tenant in MySQL table space

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026424A (en) * 2019-12-10 2020-04-17 中国银行股份有限公司 Service updating method and device
CN111538519A (en) * 2020-04-30 2020-08-14 深圳前海微众银行股份有限公司 Version upgrading method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026424A (en) * 2019-12-10 2020-04-17 中国银行股份有限公司 Service updating method and device
CN111538519A (en) * 2020-04-30 2020-08-14 深圳前海微众银行股份有限公司 Version upgrading method and device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114153858A (en) * 2021-11-26 2022-03-08 泰康保险集团股份有限公司 Method and device for automatically updating tenant in MySQL table space

Also Published As

Publication number Publication date
CN112416394B (en) 2023-10-10

Similar Documents

Publication Publication Date Title
EP3842948B1 (en) Method and apparatus for testing edge computing, device, and readable storage medium
CN107491329B (en) Docker mirror image construction method, device, storage medium and electronic device
CN110673936B (en) Breakpoint continuous operation method and device for arrangement service, storage medium and electronic equipment
US9983988B1 (en) Resuming testing after a destructive event
CN111538659B (en) Interface testing method, system, electronic equipment and storage medium of business scene
CN115202686A (en) Virtualization system upgrading method and device, electronic equipment and storage medium
CN114003644B (en) Distributed transaction processing method, device, medium and database system
CN110727575B (en) Information processing method, system, device and storage medium
CN112416394B (en) Service upgrading method and device, storage medium and electronic equipment
US8739146B2 (en) Systems and methods for generating and distributing executable procedures for technical desk-side support
CN111782236A (en) System software upgrading method and device, storage medium and all-in-one machine equipment
CN113656063A (en) System version replacing method, device, equipment and computer readable medium
CN113609014A (en) Interface field checking method and device, storage medium and electronic equipment
CN112988192A (en) Version updating method and device, electronic equipment and storage medium
CN113986385A (en) Item font library loading method and device, electronic equipment and storage medium
CN112083939A (en) Batch upgrading method, device, system and medium
CN113010189B (en) Database installation method, device, equipment and storage medium
CN110197067B (en) File searching and killing method, device and storage medium
CN112486631B (en) Method for constructing virtual machine mirror image
US11983519B2 (en) Abort installation of firmware bundles
CN117130987B (en) Flight control management method for large-scale unmanned aerial vehicle cluster
JP2019133509A (en) Container accommodation apparatus, system, container accommodation method and program
CN114443582B (en) File system mounting method, device, equipment and medium on operating system
CN115421785B (en) Method, device and medium for transplanting application program
JPH0926940A (en) Distributed system construction 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
GR01 Patent grant
GR01 Patent grant