Micro-service program system upgrading and operation and maintenance management method

By dividing the program into main program and client program, establishing a management basic library and writing scripts, creating a resume and copy management library, and providing status monitoring, it solves the problems of time-consuming upgrades and difficult to master status in the microservice architecture, and achieves efficient operation and maintenance management and system stability, and adapts to rapidly changing business needs.

CN120469713APending Publication Date: 2025-08-12INSPUR TIANYUAN COMM INFORMATION SYST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510589016.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

In the microservice architecture of communication enterprises, system upgrades and operation and maintenance management have problems such as inefficiency, long upgrades, too long start-stop cycles, and difficulty in fully grasping the overall operating status of the system, resulting in increased risk of resource waste and business interruption, affecting system stability and operation and maintenance efficiency.

Method used

The program is divided into two parts: the main program and the client program, the basic library for program service management is established, the main program of microservices is unified, the start and stop scripts are written, the program history and copy management library is created, the log download and operation status monitoring is provided, the command issuance and execution is implemented through network communication, and the concurrent operation and permission management of multiple users is supported.

Benefits of technology

It significantly improves operation and maintenance efficiency, shortens system upgrade and start-stop time, provides global status monitoring capabilities, reduces troubleshooting and repair time costs, enhances system stability, supports rapid response to business needs, reduces resource waste, and ensures system continuity and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120469713A_ABST
    Figure CN120469713A_ABST
Patent Text Reader

Abstract

The invention particularly relates to a micro-service program system upgrading and operation and maintenance management method. According to the micro-service program system upgrading and operation and maintenance management method, a program is divided into a main program and a client program; establishing a program service management basic library, and performing unified management on the micro-service main program corresponding to each module; writing a start script and a stop script for each micro-service main program; creating a program resume, and recording the historical change condition of the micro-service main program; and establishing a program copy management library, a program updating program, a log downloading program, a process starting or stopping program and a running state monitoring program. The micro-service program system upgrading and operation and maintenance management method helps enterprises to shorten the system upgrading and start-stop time, effectively improves the system upgrading and operation and maintenance management efficiency of communication enterprise micro-service architecture, can provide more comprehensive and accurate system operation data support for decision making, ensures stable operation of the system, and improves the system upgrading and operation and maintenance management efficiency. Therefore, the method can better adapt to quickly changing business requirements and technical environments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of intelligent operation and maintenance of communication networks, and in particular to a microservice program system upgrade and operation and maintenance management method. Background Art

[0002] In the microservices architecture of telecommunications companies, system upgrades and operations management face numerous challenges. Traditional methods suffer from inefficiency, time-consuming upgrades, and lengthy startup and shutdown cycles. These methods waste resources and increase the risk of service interruptions, severely impacting system stability and operations efficiency.

[0003] In addition, the lack of comprehensive understanding of the overall operating status of the system makes it difficult for the operation and maintenance team to respond and make decisions quickly.

[0004] Based on the above situation, the present invention proposes a microservice program system upgrade and operation and maintenance management method, which aims to solve the problems of low efficiency, long upgrade time, long system start and stop cycle, and difficulty in fully grasping the overall operation status of the system in the existing technology by optimizing management processes and improving automation levels, thereby improving operation and maintenance efficiency and system stability and adapting to rapidly changing business needs. Summary of the Invention

[0005] In order to overcome the shortcomings of the prior art, the present invention provides a simple and efficient microservice program system upgrade and operation and maintenance management method.

[0006] The present invention is achieved through the following technical solutions:

[0007] A microservice program system upgrade and operation and maintenance management method includes the following steps:

[0008] Step S1, divide the program into two parts: the main program and the client program;

[0009] The main program is responsible for implementing basic information management of the program base library, basic information management of the copy program, change history management, status monitoring and issuance of operation and maintenance instructions;

[0010] The client program is responsible for receiving and executing instructions, cooperating with the main program to complete program backup, jar file acceptance, running status query and file assisted downloading;

[0011] Step S2: Establish a basic program service management library to uniformly manage the microservice main programs corresponding to each module, including adding, deleting, modifying and querying the microservice main programs;

[0012] Step S3: Customize a specific startup script (startServer.sh) and stop script (stopServer.sh) for each microservice main program to remotely start and stop the corresponding microservice;

[0013] Step S4: Create a program history to record the history of changes to the microservice main program. Each time a microservice main program is changed, a new piece of data is added to record the updater, update time, version, and file size.

[0014] Step S5: Establish a program copy management library to manage the host, location, update time, updater, and running status information of the copy program, and remotely manage (start, stop) and download logs of the copy program;

[0015] Step S6: Create a program update program, read the corresponding Jar file according to the selected target host, and write it to the target location in batches. If a historical version already exists, stop the original program first and then back it up;

[0016] Step S7: Create a log download program. To facilitate viewing the running logs of the corresponding program, download the relevant logs according to the directory and file address configured by the microservice main program.

[0017] Step S8: Create a process start or stop program and remotely run the start or stop script configured by the main program to facilitate remote operation by maintenance personnel;

[0018] Step S9: Create a running status monitoring program. To facilitate monitoring of the running status of each program, the process status is refreshed regularly by remotely checking whether the process exists or whether the port is online.

[0019] A microservice program system upgrade and operation and maintenance management system, including a main program, a client program, a program service management basic library, start and stop scripts, a program update program, a program history and program copy management library;

[0020] The main program is responsible for program base library management, copy program management, change history, status monitoring and operation and maintenance instruction issuance;

[0021] The client program is responsible for receiving and executing the main program instructions, completing program backup, file reception, status query and log download;

[0022] The program service management basic library is responsible for realizing the unified management of the microservice main program and supports the addition, deletion, modification and query of the program;

[0023] The start and stop scripts are responsible for remotely controlling the start and stop of microservices;

[0024] The program updater is responsible for reading the jar file according to the target host and writing it in batches. If there is a historical version, the original program is stopped first and then backed up;

[0025] The program history records the program change history, including the updater, time, version, and file size;

[0026] The program copy management library manages the running information of the copy program and supports remote management and log downloading.

[0027] The main program and the client program communicate through the network to implement the issuance and execution of instructions.

[0028] The program service management basic library supports multi-user concurrent operations and provides user authority management functions.

[0029] The program history supports the backtracking and comparison of historical versions of the program.

[0030] The program copy management library supports real-time status monitoring of the copy program and provides a fault alarm function.

[0031] It also includes a log downloader, a process start or stop program, and a running status monitoring program;

[0032] The log download program is responsible for downloading logs according to the configuration;

[0033] The process starts or stops the program, which is responsible for remotely running the startup script or stop script configured by the main program so that maintenance personnel can operate remotely;

[0034] The running status monitoring program is responsible for regularly refreshing the status by checking the process or port.

[0035] The beneficial effects of the present invention are: the microservice program system upgrade and operation and maintenance management method helps enterprises shorten system upgrade and start-up and shutdown time, effectively improves the system upgrade and operation and maintenance management efficiency of the microservice architecture of communication enterprises, and can provide more comprehensive and accurate system operation data support for decision-making, ensuring stable operation of the system, thereby better adapting to rapidly changing business needs and technical environments. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0037] Figure 1 Schematic diagram of the microservice program system upgrade and operation and maintenance management system of the present invention. DETAILED DESCRIPTION

[0038] In order to enable those skilled in the art to better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the embodiments of the present invention. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present invention.

[0039] The microservice program system upgrade and operation and maintenance management method includes the following steps:

[0040] Step S1, divide the program into two parts: the main program and the client program;

[0041] The main program is responsible for implementing basic information management of the program base library, basic information management of the copy program, change history management, status monitoring and issuance of operation and maintenance instructions;

[0042] The client program is responsible for receiving and executing instructions, cooperating with the main program to complete program backup, jar file acceptance, running status query and file assisted downloading;

[0043] Step S2: Establish a basic program service management library to uniformly manage the microservice main programs corresponding to each module, including adding, deleting, modifying and querying the microservice main programs;

[0044] Step S3: Customize a specific startup script (startServer.sh) and stop script (stopServer.sh) for each microservice main program to remotely start and stop the corresponding microservice;

[0045] Step S4: Create a program history to record the history of changes to the microservice main program. Each time a microservice main program is changed, a new piece of data is added to record the updater, update time, version, and file size.

[0046] Step S5: Establish a program copy management library to manage the host, location, update time, updater, and running status information of the copy program, and remotely manage (start, stop) and download logs of the copy program;

[0047] Step S6: Create a program update program, read the corresponding Jar file according to the selected target host, and write it to the target location in batches. If a historical version already exists, stop the original program first and then back it up;

[0048] Step S7: Create a log download program. To facilitate viewing the running logs of the corresponding program, download the relevant logs according to the directory and file address configured by the microservice main program.

[0049] Step S8: Create a process start or stop program and remotely run the start or stop script configured by the main program to facilitate remote operation by maintenance personnel;

[0050] Step S9: Create a running status monitoring program. To facilitate monitoring of the running status of each program, the process status is refreshed regularly by remotely checking whether the process exists or whether the port is online.

[0051] For example, run the command ps -ef | grep your_jar_name.jar or lsof -i:port_number or netstat -tuln | grep port_number, or perform remote port monitoring via telnet ip port.

[0052] The microservice program system upgrade and operation and maintenance management system includes the main program, client program, program service management basic library, start and stop scripts, program update program, program resume and program copy management library;

[0053] The main program is responsible for program base library management, copy program management, change history, status monitoring and operation and maintenance instruction issuance;

[0054] The client program is responsible for receiving and executing the main program instructions, completing program backup, file reception, status query and log download;

[0055] The program service management basic library is responsible for realizing the unified management of the microservice main program and supports the addition, deletion, modification and query of the program;

[0056] The start and stop scripts are responsible for remotely controlling the start and stop of microservices;

[0057] The program updater is responsible for reading the jar file according to the target host and writing it in batches. If there is a historical version, the original program is stopped first and then backed up;

[0058] The program history records the program change history, including the updater, time, version, and file size;

[0059] The program copy management library manages the running information of the copy program and supports remote management and log downloading.

[0060] The main program and the client program communicate through the network to implement the issuance and execution of instructions.

[0061] The program service management basic library supports multi-user concurrent operations and provides user authority management functions.

[0062] The program history supports the backtracking and comparison of historical versions of the program.

[0063] The program copy management library supports real-time status monitoring of the copy program and provides a fault alarm function.

[0064] It also includes a log downloader, a process start or stop program, and a running status monitoring program;

[0065] The log download program is responsible for downloading logs according to the configuration;

[0066] The process starts or stops the program, which is responsible for remotely running the startup script or stop script configured by the main program so that maintenance personnel can operate remotely;

[0067] The running status monitoring program is responsible for regularly refreshing the status by checking the process or port.

[0068] Compared with the existing technology, this microservice program system upgrade and operation and maintenance management method has the following features:

[0069] 1) Improved operation and maintenance efficiency

[0070] By optimizing the upgrade process and improving the level of automation, manual intervention can be significantly reduced and operational complexity can be lowered, thereby greatly improving the operation and maintenance management efficiency of the microservice architecture.

[0071] 2) Shortened upgrade and start-up and shutdown time

[0072] To address the issues of time-consuming upgrades and long system startup and shutdown cycles in traditional architectures, the present invention can effectively shorten the time of these key operations, reduce the risk of business interruption, and improve system availability.

[0073] 3) Global status monitoring is realized

[0074] It provides the ability to fully understand the overall operating status of the system, helping the operation and maintenance team to understand the system health status in real time, quickly locate problems, and reduce the time cost of troubleshooting and repair.

[0075] 4) Enhanced system stability

[0076] By optimizing the upgrade and operation and maintenance processes, the risk of system instability caused by human operational errors or lengthy processes is reduced, ensuring the continuity and reliability of the core business of communications companies.

[0077] 5) Support rapid response to business needs

[0078] While shortening upgrade and startup and shutdown time, combined with real-time monitoring and data analysis capabilities, the system can adapt to changes in business needs more quickly, providing technical support for the company's agile operations.

[0079] 6) Reduced resource waste

[0080] By reducing unnecessary waiting time and optimizing resource allocation, the waste of hardware, manpower and other resources is reduced, which can save enterprises a lot of operation and maintenance costs.

[0081] In summary, this microservice program system upgrade and operation and maintenance management method has brought significant improvements to the enterprise in terms of efficiency, stability, cost control and business adaptability, and has important practical value and economic benefits.

[0082] The embodiment described above is only one specific implementation of the present invention. Common changes and substitutions made by those skilled in the art within the scope of the technical solution of the present invention should be included in the protection scope of the present invention.

Claims

1. A microservice program system upgrade and operation and maintenance management method, characterized by: The following steps are involved: Step S1, divide the program into two parts: the main program and the client program; The main program is responsible for implementing basic information management of the program base library, basic information management of the copy program, change history management, status monitoring and issuance of operation and maintenance instructions; The client program is responsible for receiving and executing instructions, cooperating with the main program to complete program backup, jar file acceptance, running status query and file assisted downloading; Step S2: Establish a basic program service management library to uniformly manage the microservice main programs corresponding to each module, including adding, deleting, modifying and querying the microservice main programs; Step S3: Customize a specific start script and stop script for each microservice main program to remotely start and stop the corresponding microservice; Step S4: Create a program history to record the history of changes to the microservice main program. Each time a microservice main program is changed, a new piece of data is added to record the updater, update time, version, and file size. Step S5: Establish a program copy management library to manage the host, location, update time, updater, and running status information of the copy program, and remotely manage (start, stop) and download logs of the copy program; Step S6: Create a program update program, read the corresponding Jar file according to the selected target host, and write it to the target location in batches. If a historical version already exists, stop the original program first and then back it up; Step S7: Create a log download program. To facilitate viewing the running logs of the corresponding program, download the relevant logs according to the directory and file address configured by the microservice main program. Step S8: Create a process start or stop program and remotely run the start or stop script configured by the main program to facilitate remote operation by maintenance personnel; Step S9: Create a running status monitoring program. To facilitate monitoring of the running status of each program, the process status is refreshed regularly by remotely checking whether the process exists or whether the port is online.

2. A microservice program system upgrade and operation and maintenance management system, characterized by: Including main program, client program, Program service management basic library, start and stop scripts, program update program, program history and program copy management library; The main program is responsible for program base library management, copy program management, change history, status monitoring and operation and maintenance instruction issuance; The client program is responsible for receiving and executing the main program instructions, completing program backup, file reception, status query and log download; The program service management basic library is responsible for realizing the unified management of the microservice main program and supports the addition, deletion, modification and query of the program; The start and stop scripts are responsible for remotely controlling the start and stop of microservices; The program updater is responsible for reading the jar file according to the target host and writing it in batches, and backing up the historical version; The program history records the program change history, including the updater, time, version, and file size; The program copy management library manages the running information of the copy program and supports remote management and log downloading.

3. The microservice program system upgrade and operation and maintenance management system according to claim 2, characterized in that: The main program and the client program communicate through the network to implement the issuance and execution of instructions.

4. The microservice program system upgrade and operation and maintenance management system according to claim 2, characterized in that: The program service management basic library supports multi-user concurrent operations and provides user authority management functions.

5. The microservice program system upgrade and operation and maintenance management system according to claim 2, characterized in that: The program history supports the backtracking and comparison of historical versions of the program.

6. The microservice program system upgrade and operation and maintenance management system according to claim 2, characterized in that: The program copy management library supports real-time status monitoring of the copy program and provides a fault alarm function.

7. The microservice program system upgrade and operation and maintenance management system according to claim 2, characterized in that: The program update program is responsible for reading the corresponding Jar file according to the selected target host and writing it to the target location in batches. If a historical version already exists, the original program is stopped first and then the historical version is backed up.

8. The microservice program system upgrade and operation and maintenance management system according to claim 2, characterized in that: It also includes a log downloader, a process start or stop program, and a running status monitoring program; The log download program is responsible for downloading logs according to the configuration; The process starts or stops the program, which is responsible for remotely running the startup script or stop script configured by the main program so that maintenance personnel can operate remotely; The running status monitoring program is responsible for regularly refreshing the status by checking the process or port.