Automatic startup and shutdown management method for terminal

By generating control instructions and automatically issuing target control instructions according to the urgency and timing, the problem that the system terminal cannot automatically start and stop in time is solved, reducing the cost of manual intervention and error risks, and improving the stability and self-regulation ability of the system.

CN118963849APending Publication Date: 2024-11-15浙江众合科技股份有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410879631.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-02
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

Existing system terminals cannot automatically start and stop according to the control timing, resulting in frequent errors in start and stop, and the cost of manual intervention is high and the risk of errors is high.

Method used

By generating control instructions and generating business numbers based on the relationship between the software terminal and the system terminal, converting them into update status values, analyzing and evaluating the urgency level to generate control timing, and automatically issuing target control instructions to achieve the timing startup and shutdown of the system software.

Benefits of technology

It greatly reduces the risk of startup errors, improves the safety and stability of system startup, reduces the cost of manual intervention, and improves control accuracy and self-regulation ability of system operation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118963849A_ABST
    Figure CN118963849A_ABST
Patent Text Reader

Abstract

The invention discloses an automatic startup and shutdown management method for a terminal, which belongs to the technical field of terminal management, and comprises the following steps of: issuing a control instruction, analyzing a service demand, generating a service number according to a relationship between a software terminal and a system terminal, converting the control instruction into an update state value according to the service number, and updating the update state value. A target control instruction is generated based on the update state value and the service number, the emergency degree of each software terminal is analyzed and evaluated to generate a control time sequence, and the target control instruction is issued to the software terminal according to the control time sequence for control, so that a plurality of system software programs can be automatically and cooperatively started according to the control time sequence; the labor cost is reduced, the starting error risk caused by manual intervention is greatly reduced, and the starting safety of the system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of terminal management, and in particular to a method for managing automatic power on and off of a terminal. Background Art

[0002] In the existing control of complex system terminals, the general system software operation needs to rely on manual click-to-start method to open the software. This software opening method requires manual click-to-start one by one, which is inefficient and also comes with the risk of clicking the wrong start error. In addition, many system software startups also have timing requirements. When multiple system software programs need to be started in chronological order, the cost of manual communication is relatively high and it is easy to make mistakes. After the system software is turned on, there are still situations where it is closed for some reason or is closed by mistake. When this happens, it needs to be restarted manually. It requires manual intervention in the system startup and it is impossible to determine whether the system software is closed due to a fault. Therefore, a method for automatic power on and off management applied to complex system terminals is needed, which aims to efficiently control the opening and closing of system software according to the standardized process of system software through system control. At the same time, it is necessary to add a system software operation status monitoring function so that the system can automatically start when the system software is disconnected under abnormal conditions.

[0003] Chinese patent, publication number: CN107632219A, publication date: January 26, 2018, discloses an automatic power on / off test system and its test method, which are mainly composed of an automatic power on / off test device, a networking device, and a device under test. The automatic power on / off test device is composed of a data storage module, a control signal input module, a working status output and test result analysis module, a processing module and a variable voltage output module; the networking device is composed of a switch or a serial port server and a socket strip, which can complete long-term and multiple automatic power on / off tests, free the hands of the tester, and efficiently verify the performance of the product, but it is impossible to control the system switch according to the timing requirements, it is impossible to completely free the manual labor, and there is a risk of startup errors. Summary of the invention

[0004] The present invention aims at the problem that the existing system terminals cannot automatically start and stop according to the control sequence, thus resulting in frequent start and stop errors. The present invention proposes a terminal automatic power on and off management method, which sends out control instructions and analyzes business needs, generates a business number according to the relationship between the software terminal and the system terminal, converts the control instruction into an update status value according to the business number, generates a target control instruction based on the update status value and the business number, analyzes and evaluates the urgency of each software terminal to generate a control sequence, and sends the target control instruction to the software terminal according to the control sequence for control. This allows multiple system software programs to automatically start in coordination according to the control sequence, greatly reducing the risk of startup errors caused by manual intervention and improving the safety of system startup.

[0005] In a first aspect, a technical solution provided in an embodiment of the present invention is: a terminal automatic power on / off management method, comprising the following steps: S1. The system control terminal generates control instructions according to business needs and sends the control instructions to the main management service terminal; S2. The main management service terminal parses the control instruction to generate a corresponding service number, and sends the service number and control instruction to the storage service terminal; S3, the storage service terminal stores the initial state values ​​of all system terminals and / or software terminals, and updates the initial state values ​​according to the received control instruction combined with the service number to obtain updated state values; S4. Obtain an update status value from the management client terminal, and send the update status value to the system terminal and / or the software terminal; S5. The system terminal analyzes the received update status value to obtain the target control instruction, generates a control sequence according to the urgency of each software terminal, and sends the target control instruction to the corresponding software terminal according to the control sequence; S6. The software terminal receives the target control instruction and executes the corresponding action, and generates an execution log and feeds it back to the management client terminal.

[0006] In this solution, in order to realize automatic start and stop of a system with multiple software terminals according to a control sequence, the system control terminal generates control information with system terminals and / or software terminals to be controlled and integrates it into control instructions, and the main management service terminal is responsible for communicating with the system control terminal, parsing the control instructions to generate corresponding business numbers, and sending the business numbers and control instructions to the storage service terminal; in order to reduce the interface and message forwarding frequency between management terminals, the storage service terminal is not only responsible for connecting the data interaction between the main management service terminal and the slave management client terminal, but also used as a storage space for the management terminal to store the initial state values ​​of all system terminals and / or software terminals. The storage service terminal analyzes and processes the control instructions to generate updated state values ​​that are easy for the system terminals and / or software terminals to identify, and stores the updated state values, so as to facilitate the control of multiple software Terminal is controlled; the update status value is sent from the management client terminal to the system terminal and / or the software terminal, in order to reduce the number of software terminals managed at the same time, and to alleviate the system burden of managing too many software at the same time; based on the update status value and the business number, the target control instruction is generated, and the urgency of each software terminal is analyzed and evaluated to generate a control sequence, and the target control instruction is sent to the software terminal according to the control sequence for control, and an execution log is generated to detect the control result, so that when multiple system software programs need to be started in chronological order, there is no need to control them through human communication, which reduces the control cost, is less prone to mistakes, and improves the control accuracy. When the system software is turned on and is still closed for some reason or is closed by mistake, the status information can be obtained in time, and adjustments can be made in time, which effectively improves the operation stability of the system.

[0007] Preferably, in S1, the system control terminal generates a control instruction according to the business demand and sends the control instruction to the main management service terminal, including the following steps: The system control terminal analyzes business requirements and determines the types of business requirements, including: active control according to the daily software checklist and active start and stop management of software terminals according to business scenarios; Generate control instructions based on the analysis results and send the control instructions to the main management service terminal.

[0008] In this solution, in order to judge the purpose of terminal control, the business needs are analyzed. Common business needs include active control according to the daily software troubleshooting table. This business is to control and check some software one by one according to the software troubleshooting table, find abnormal software terminals and mark them, which will not affect the work of the overall terminal system and play an inspection role. Another need is to actively start and stop the software terminal according to the business scenario. This business is to start and stop all software terminals in the terminal system according to actual work needs. It is necessary to change the original working mode of the terminal system and transform it into a working state that meets the business. The two business needs use different types of control instructions. Therefore, the business needs need to be confirmed before generating control instructions to avoid system failures when controlling software terminals and cause economic losses.

[0009] Preferably, in S2, the main management service terminal parses the control instruction to generate a corresponding service number, and sends the service number and the control instruction to the storage service terminal, including the following steps: The main management service terminal parses the control instruction and determines the relationship between the software terminal and the system terminal, wherein the relationship between the software terminal and the system terminal includes distributed deployment and centralized deployment; If the relationship between the software terminal and the system terminal is distributed deployment, the software terminal is encoded based on the type and quantity of the software terminal to obtain a service number; If the relationship between the software terminal and the system terminal is centralized deployment, the system terminal is encoded based on the type of the system terminal to obtain a service number; Send the service number and control instructions to the storage service terminal.

[0010] In this solution, since the different deployment methods between the software terminal and the system terminal will affect the generation of the service number, it is necessary to first determine the relationship between the software terminal and the system terminal before sending the control instruction to the storage service terminal, and then encode the software terminal and / or the system terminal based on the relationship between the software terminal and the system terminal to obtain the service number, and package the service number and the control instruction together and send them to the storage service terminal. The service number is obtained by determining the relationship between the software terminal and the system terminal, which facilitates the subsequent interpretation and storage of the control instruction. No human intervention is required, and fully automatic recognition is achieved. The labor cost is low, the efficiency of system startup and shutdown is improved, and the error rate is extremely low, which improves the stability of system operation.

[0011] Preferably, in S3, the storage service terminal stores the initial state values ​​of all system terminals and / or software terminals, and updates the initial state values ​​according to the received control instruction in combination with the service number to obtain the updated state value, including the following steps: the storage service terminal stores the initial state values ​​of all system terminals and / or software terminals, and the initial state value is "0" or "1"; based on the service number, the coding information of all system terminals and / or software terminals is obtained, and based on the control instruction and the coding information, the updated state values ​​of the corresponding codes of all system terminals and / or software terminals are obtained; The storage service terminal is divided according to the code to obtain divided sub-storage units, and the update state values ​​are respectively stored in the divided sub-storage units corresponding to the code.

[0012] In this scheme, in order to enable quick access to the information stored in the storage service terminal, the coding information of all system terminals and / or software terminals is obtained by analyzing the business number, and the storage service terminal is segmented according to the coding to obtain segmented sub-storage units, each segmented sub-storage unit is associated with the coding of each system terminal and / or software terminal, and the initial state values ​​and updated state values ​​of all system terminals and / or software terminals are stored in the segmented sub-storage unit with the corresponding code. When the state value of the system terminal and / or software terminal changes, the initial state value is updated to the current state value and saved. In this way, the control of the system terminal and / or software terminal can be facilitated, the burden of managing too many software terminals on the system can be alleviated, the management efficiency of the system can be improved, and the speed of accessing information in the storage service terminal can be improved.

[0013] Preferably, in S4, obtaining the update status value from the management client terminal and sending the update status value to the system terminal and / or the software terminal includes the following steps: Based on the coding information of the system terminal and / or software terminal, the management client terminal obtains the corresponding update status value from the segmented sub-storage unit of the storage service terminal, and sends the update status value to the corresponding coded system terminal and / or software terminal.

[0014] In this solution, since there are too many types and numbers of software terminals and / or system terminals that need to be controlled, it is difficult to control all software terminals and / or system terminals through one piece of data. Therefore, the management client terminal obtains the corresponding update status value from the segmented sub-storage unit of the storage service terminal based on the coding information of the system terminal and / or software terminal, and sends the updated status value to the corresponding coded system terminal and / or software terminal, so that the software terminal and / or system terminal that needs to be controlled automatically obtains the control information from the corresponding segmented sub-storage unit according to the coding, prevents the problem of instruction issuance errors caused by too complicated data, improves control accuracy, reduces the resources occupied by terminal system instruction transmission, and improves the response speed of the terminal system.

[0015] Preferably, in S5, the system terminal analyzes the received update status value to obtain the target control instruction, including the following steps: The system terminal analyzes the update status value based on the coding information to obtain the type and quantity of software terminals that need to be controlled; Interpret the update status value, generate a start instruction when the update status value is "1", and generate a close instruction when the update status value is "0", and associate the start instruction and the close instruction with the coding of the software terminal to obtain the target control instruction.

[0016] In this scheme, since the control instruction is converted into an update status value, but the update status value itself does not have control capability, it is necessary to interpret the information contained in the update status value, and associate the interpreted information with the encoding of the software terminal to generate a target control instruction with target directionality and control capability, thereby achieving directional control of a variety of and a large number of software terminals. Since the target control instruction corresponds one-to-one to the corresponding software terminal it controls, the interference of other information on the control instruction when it is issued is reduced, which can effectively reduce information loss during control instruction transmission and improve the control accuracy of the software terminal.

[0017] Preferably, in S5, generating a control sequence according to the urgency of each software terminal includes the following steps: The system terminal shall evaluate the urgency of each software terminal at least based on the scope of historical faults of each software terminal, fault repair time, fault rate and the start-stop dependency relationship of each software terminal; A control sequence is generated based on the urgency of each software terminal.

[0018] In this solution, since some software terminals and / or system terminals cannot be started or stopped at the same time in certain situations, and there is a start-stop dependency relationship between some software terminals and / or system terminals, the relationship between the software terminals and / or system terminals must be considered when generating the control sequence. For example, if a certain system terminal or software terminal is not started, other system terminals or software terminals cannot be started. Therefore, it is necessary to start the system terminal or software terminal first and arrange its control sequence before other software terminals or system terminals. In addition, the impact of each software terminal on the entire terminal system is different, which also needs to be considered when generating the control sequence. According to the historical fault coverage, fault repair time and fault rate of each software terminal, which will affect the operation of the terminal system, the urgency of each software terminal is evaluated according to the different degrees of impact. The control sequence generated by comprehensively considering the evaluation results and the start-stop dependency relationship can avoid the negative impact of control errors on the entire terminal system to the greatest extent and improve the fault tolerance rate of terminal system control.

[0019] Preferably, in S5, sending the target control instruction to the corresponding software terminal according to the control sequence includes the following steps: The system terminal determines whether it is necessary to synchronously send the target control instruction to the corresponding software terminal. If necessary, the number of channels is determined based on the number of target control instructions, and the resource ratio is determined based on the resource size of the target control instructions. The dedicated channel is determined based on the number of channels and the resource ratio, and the dedicated channel is associated with the target control instruction based on the coding, and the target control instruction is issued through the dedicated channel.

[0020] In this scheme, when issuing target control instructions, if the control instructions are issued sequentially only according to the control timing, there is no need to generate a dedicated channel. However, in order to improve the execution response speed of the control instructions, the target control instructions need to be synchronously issued to the corresponding software terminal to reduce the time occupied by the target instruction issuance. Therefore, it is necessary to generate channels, determine the number of channels based on the number of target control instructions, determine the resource ratio based on the resource size of the target control instructions, determine the dedicated channel based on the number of channels and the resource ratio, and associate the dedicated channel with the target control instruction through coding information, so that an exclusive channel is used to transmit the corresponding coded target control instruction, which can greatly reduce the time consumed in transmitting the target control instruction and improve the response speed of executing commands based on the control instruction.

[0021] Preferably, in S6, the software terminal receives the target control instruction and executes the corresponding action, and generates an execution log and feeds it back to the slave management client terminal, including the following steps: The software terminal receives the target control instruction and executes the corresponding action, and generates the current state value of all system terminals and / or software terminals and sends it to the slave management client; The current status value is compared with the updated status value from the management client terminal, and an alarm message is generated if it is judged that there is a difference.

[0022] In this solution, since it is impossible to completely eliminate control errors caused when controlling the software terminal, it is necessary to perform a status check on the software terminal or / and system terminal after executing the control instruction. By obtaining the current status values ​​of all system terminals or / and software terminals and sending them to the slave management client, the slave management client compares the current status value and the updated status value of each software terminal and / or system terminal, finds the code corresponding to the software terminal and / or system terminal with inconsistent status values, and performs troubleshooting on the software terminal and / or system terminal. If there is no fault, it is controlled according to the updated status value and its current status value is updated. If there is a fault, the staff is notified to handle it to eliminate the fault. The system software operation status monitoring function is realized. When the system software is disconnected under abnormal conditions, it can be automatically started and automatically troubleshooted, thereby improving the self-regulation ability of the terminal system during operation.

[0023] Preferably, the alarm information at least includes coding information of the abnormal system terminal and / or software terminal.

[0024] In this scheme, in order to control or process abnormal system terminals and / or software terminals in a timely manner, it is necessary to generate the coding information of the abnormal system terminals and / or software terminals, the cause of the fault and the location of the system terminal at the same time when generating the alarm information, so that the staff can quickly locate the abnormal system terminals and / or software terminals and process them in a timely manner.

[0025] The beneficial effects of the present invention are as follows: (1) The present invention manages the terminals, so that some complex systems including multiple software terminals can achieve accurate control of each software terminal, thereby reducing the probability of errors in controlling the terminals; (2) The present invention generates a control sequence according to the nature of the terminal and the degree of influence on the overall system, and controls the timing of software startup and shutdown based on the control sequence, thereby automatically starting and shutting down the software terminal and the system terminal without manual operation, thereby reducing labor costs; (3) The present invention generates a control sequence according to the urgency of each software terminal, fully considering the start-stop dependency relationship between the software terminals and the impact on the overall system, thereby greatly reducing the negative impact on the system caused by control errors.

[0026] The above invention content is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Other features, objects and advantages of the present invention will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings. The drawings are only for the purpose of illustrating preferred embodiments and are not to be considered as limiting the present invention. Also, the same reference symbols are used throughout the drawings to represent the same parts.

[0028] Figure 1 This is a flow chart of a terminal automatic power on / off management method of the present invention; Figure 2 A software central control system block diagram of a terminal automatic power on / off management method of the present invention; Figure 3 This is a schematic diagram of a terminal of an urban rail transit weak current equipment training system in Embodiment 1 of the present invention; Figure 4 This is a layout diagram of the automatic on / off machine of Embodiment 2 of the present invention; Figure 5 This is a system terminal startup flow chart of Embodiment 2 of the present invention; Figure 6 This is a layout diagram of the automatic on / off machine of Embodiment 3 of the present invention; Figure 7 This is a software terminal startup flow chart of Example 3 of the present invention. DETAILED DESCRIPTION

[0029] In order to make the objectives, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific implementation method described herein is only an optimal embodiment of the present invention, which is only used to explain the present invention and does not limit the scope of protection of the present invention. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0030] Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow charts describe the operations (or steps) as sequential processes, many of the operations (or steps) therein can be implemented in parallel, concurrently, or simultaneously. In addition, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but can also have additional steps not included in the drawings; the process can correspond to a method, function, procedure, subroutine, subprogram, etc.

[0031] Embodiment 1: In order to solve the problem that the existing system terminal with complex structure cannot automatically start and stop according to the control sequence, resulting in frequent start and stop errors, this embodiment proposes a terminal automatic power on and off management method, such as Figure 1 As shown, the following steps are included: S1: The system control terminal generates control instructions according to business needs and sends the control instructions to the main management service terminal. Figure 2 shown.

[0032] In this embodiment, the system control terminal generates a control instruction according to the business demand and sends the control instruction to the main management service terminal, including the following steps: The system control terminal analyzes business requirements and determines the types of business requirements, including: active control according to the daily software checklist and active start and stop management of software terminals according to business scenarios; Generate control instructions based on the analysis results and send the control instructions to the main management service terminal.

[0033] In order to determine the purpose of terminal control, this embodiment analyzes business needs. Common business needs include active control based on the daily software troubleshooting table. This business is to control and troubleshoot some software one by one according to the software troubleshooting table, find abnormal software terminals and mark them, which will not affect the work of the overall terminal system and play a checking role. Another need is to actively start and stop software terminals according to business scenarios. This business is to start and stop all software terminals in the terminal system according to actual work needs. It is necessary to change the original working mode of the terminal system and transform it into a working state that meets the business. The two business needs use different types of control instructions. Therefore, the business needs need to be confirmed before generating control instructions to avoid system failures when controlling software terminals and cause economic losses.

[0034] S2: The main management service terminal parses the control instruction to generate a corresponding service number, and sends the service number and the control instruction to the storage service terminal.

[0035] In this embodiment, the main management service terminal parses the control instruction to generate a corresponding service number, and sends the service number and the control instruction to the storage service terminal, including the following steps: The main management service terminal parses the control instruction and determines the relationship between the software terminal and the system terminal, wherein the relationship between the software terminal and the system terminal includes distributed deployment and centralized deployment; If the relationship between the software terminal and the system terminal is distributed deployment, the software terminal is encoded based on the type and quantity of the software terminal to obtain a service number; If the relationship between the software terminal and the system terminal is centralized deployment, the system terminal is encoded based on the type of the system terminal to obtain a service number; Send the service number and control instructions to the storage service terminal.

[0036] In this embodiment, since the different deployment methods between the software terminal and the system terminal will affect the generation of the service number, it is necessary to first determine the relationship between the software terminal and the system terminal before issuing the control instruction to the storage service terminal, and then encode the software terminal and / or the system terminal based on the relationship between the software terminal and the system terminal to obtain the service number, and package the service number and the control instruction together and send them to the storage service terminal. By determining the relationship between the software terminal and the system terminal to obtain the service number, the subsequent interpretation and storage of the control instruction is facilitated, and no human intervention is required, and fully automatic recognition is achieved, with low labor costs, improved efficiency of system start and stop, and extremely low error rate, thereby improving the stability of system operation.

[0037] S3: The storage service terminal stores the initial status values ​​of all system terminals and / or software terminals, and updates the initial status values ​​according to the received control instruction combined with the service number to obtain updated status values.

[0038] In this embodiment, the storage service terminal stores the initial state values ​​of all system terminals and / or software terminals, and updates the initial state values ​​according to the received control instruction combined with the service number to obtain the updated state value, including the following steps: The storage service terminal stores the initial state value of all system terminals and / or software terminals, where the initial state value is "0" or "1"; obtains the coding information of all system terminals and / or software terminals based on the service number, and obtains the updated state value of the corresponding coding of all system terminals and / or software terminals based on the control instruction and the coding information; The storage service terminal is divided according to the code to obtain divided sub-storage units, and the update state values ​​are respectively stored in the divided sub-storage units corresponding to the code.

[0039] In order to enable quick access to information stored in storage service terminals, this embodiment analyzes the service number to obtain coding information of all system terminals and / or software terminals, divides the storage service terminals according to the coding to obtain segmented sub-storage units, each segmented sub-storage unit is associated with the coding of each system terminal and / or software terminal, and stores initial status values ​​and updated status values ​​of all system terminals and / or software terminals in the segmented sub-storage units with the corresponding coding. When the status value of the system terminal and / or software terminal changes, the initial status value is updated to the current status value and saved. In this way, the control of the system terminals and / or software terminals can be facilitated, the burden of managing too many software terminals on the system can be alleviated, the management efficiency of the system can be improved, and the speed of accessing information in the storage service terminals can be improved.

[0040] S4: Obtaining an update status value from the management client terminal, and sending the update status value to the system terminal and / or the software terminal.

[0041] In this embodiment, obtaining the update status value from the management client terminal and sending the update status value to the system terminal and / or the software terminal includes the following steps: Based on the coding information of the system terminal and / or software terminal, the management client terminal obtains the corresponding update status value from the segmented sub-storage unit of the storage service terminal, and sends the update status value to the corresponding coded system terminal and / or software terminal.

[0042] In this embodiment, since there are too many types and numbers of software terminals and / or system terminals that need to be controlled, it is difficult to control all software terminals and / or system terminals through one piece of data. Therefore, based on the coding information of the system terminal and / or software terminal, the management client terminal obtains the corresponding update status value from the segmented sub-storage unit of the storage service terminal, and sends the updated status value to the corresponding coded system terminal and / or software terminal, so that the software terminal and / or system terminal that needs to be controlled automatically obtains the control information from the corresponding segmented sub-storage unit according to the coding, thereby preventing the occurrence of instruction issuance errors due to overly complex data, improving control accuracy, reducing the resources occupied by terminal system instruction transmission, and improving the response speed of the terminal system.

[0043] S5: The system terminal analyzes the received update status value to obtain the target control instruction, generates a control sequence according to the urgency of each software terminal, and sends the target control instruction to the corresponding software terminal according to the control sequence.

[0044] In this embodiment, the system terminal analyzes the received update status value to obtain the target control instruction, including the following steps: The system terminal analyzes the update status value based on the coding information to obtain the type and quantity of software terminals that need to be controlled; Interpret the update status value, generate a start instruction when the update status value is "1", and generate a close instruction when the update status value is "0", and associate the start instruction and the close instruction with the coding of the software terminal to obtain the target control instruction.

[0045] In this embodiment, the control instruction is converted into an update status value, but the update status value itself does not have control capability. Therefore, it is necessary to interpret the information contained in the update status value, and associate the interpreted information with the encoding of the software terminal to generate a target control instruction with target directionality and control capability, thereby achieving directional control of a variety of and a large number of software terminals. Since the target control instruction corresponds one-to-one to the software terminal it controls, the interference of other information when the control instruction is issued is reduced, which can effectively reduce information loss during control instruction transmission and improve the control accuracy of the software terminal.

[0046] In this embodiment, the control sequence is generated according to the urgency of each software terminal, including the following steps: The system terminal shall evaluate the urgency of each software terminal at least based on the scope of historical faults of each software terminal, fault repair time, fault rate and the start-stop dependency relationship of each software terminal; A control sequence is generated based on the urgency of each software terminal.

[0047] In this embodiment, since some software terminals and / or system terminals cannot be started or stopped at the same time in certain situations, and there is a start-stop dependency relationship between some software terminals and / or system terminals, the relationship between the software terminals and / or system terminals must be considered when generating the control sequence. For example, if a certain system terminal or software terminal is not started, other system terminals or software terminals cannot be started. Therefore, it is necessary to start the system terminal or software terminal first and arrange its control sequence before other software terminals or system terminals. In addition, the impact of each software terminal on the entire terminal system is different, which also needs to be considered when generating the control sequence. According to the historical fault scope, fault repair time and fault rate of each software terminal, which will affect the operation of the terminal system, the urgency of each software terminal is evaluated according to the different degrees of impact. The control sequence generated by comprehensively considering the evaluation results and the start-stop dependency relationship can avoid the negative impact of control errors on the entire terminal system to the greatest extent, and improve the fault tolerance rate of terminal system control.

[0048] In this embodiment, the target control instruction is sent to the corresponding software terminal according to the control timing, including the following steps: the system terminal determines whether it is necessary to send the target control instruction to the corresponding software terminal synchronously, and if necessary, determines the number of channels based on the number of target control instructions, and determines the resource proportion based on the resource size of the target control instruction; The dedicated channel is determined based on the number of channels and the resource ratio, and the dedicated channel is associated with the target control instruction based on the coding, and the target control instruction is issued through the dedicated channel.

[0049] In this embodiment, when issuing target control instructions, there is no need to generate a dedicated channel if the control instructions are only issued sequentially according to the control timing. However, in order to improve the execution response speed of the control instructions, the target control instructions need to be synchronously issued to the corresponding software terminal to reduce the time occupied by the target instruction issuance. Therefore, it is necessary to generate channels, determine the number of channels based on the number of target control instructions, determine the resource ratio based on the resource size of the target control instructions, determine the dedicated channel based on the number of channels and the resource ratio, and associate the dedicated channel with the target control instruction through coding information, so that a dedicated channel is used exclusively to transmit the corresponding coded target control instruction, which can greatly reduce the time consumed in transmitting the target control instruction and improve the response speed of executing commands based on the control instruction.

[0050] S6: The software terminal receives the target control instruction and executes the corresponding action, and generates an execution log to feed back to the management client terminal.

[0051] In this embodiment, the software terminal receives the target control instruction and executes the corresponding action, and generates an execution log and feeds it back to the slave management client terminal, including the following steps: The software terminal receives the target control instruction and executes the corresponding action, and generates the current state value of all system terminals and / or software terminals and sends it to the slave management client; The current status value is compared with the updated status value from the management client terminal, and an alarm message is generated if it is judged that there is a difference.

[0052] Since the present embodiment cannot completely eliminate the control errors generated when controlling the software terminal, it is necessary to perform a status check on the software terminal or / and system terminal after executing the control instruction. The current status values ​​of all system terminals or / and software terminals are obtained and sent to the slave management client. The slave management client compares the current status value and the updated status value of each software terminal and / or system terminal, finds the code corresponding to the software terminal and / or system terminal with inconsistent status values, and performs troubleshooting on the software terminal and / or system terminal. If there is no fault, it is controlled according to the updated status value and its current status value is updated. If there is a fault, the staff is notified to handle it to eliminate the fault. The system software operation status monitoring function is realized. When the system software is disconnected under abnormal conditions, it can be automatically started and automatically troubleshooted, thereby improving the self-regulation ability of the terminal system during operation.

[0053] In this embodiment, the alarm information at least includes the coding information of the abnormal system terminal and / or the software terminal.

[0054] In order to control or process abnormal system terminals and / or software terminals in a timely manner, this embodiment needs to generate coding information of the abnormal system terminal and / or software terminal, the cause of the fault, and the location of the system terminal when generating alarm information, so that staff can quickly locate the abnormal system terminal and / or software terminal and process it in a timely manner.

[0055] In order to realize that a system with multiple software terminals can be automatically started and stopped according to a control sequence, the present embodiment generates control information with system terminals and / or software terminals to be controlled by the system control terminal and integrates it into a control instruction, and the main management service terminal is responsible for communicating with the system control terminal, parsing the control instruction to generate a corresponding business number, and sending the business number and the control instruction to the storage service terminal; in order to reduce the interface and message forwarding frequency between management terminals, the storage service terminal is not only responsible for connecting the data interaction between the main management service terminal and the slave management client terminal, but also used as a storage space for the management terminal to store the initial state values ​​of all system terminals and / or software terminals. The storage service terminal analyzes and processes the control instruction to generate an updated state value that is convenient for the system terminal and / or software terminal to identify, and stores the updated state value, so as to facilitate the control of multiple software Terminal is controlled; the update status value is sent from the management client terminal to the system terminal and / or the software terminal, in order to reduce the number of software terminals managed at the same time, and to alleviate the system burden of managing too many software at the same time; based on the update status value and the business number, the target control instruction is generated, and the urgency of each software terminal is analyzed and evaluated to generate a control sequence, and the target control instruction is sent to the software terminal according to the control sequence for control, and an execution log is generated to detect the control result, so that when multiple system software programs need to be started in chronological order, there is no need to control them through human communication, which reduces the control cost, is less prone to mistakes, and improves the control accuracy. When the system software is turned on and is still closed for some reason or is closed by mistake, the status information can be obtained in time, and adjustments can be made in time, which effectively improves the operation stability of the system.

[0056] Embodiment 2: Embodiment 2 of the present invention takes the terminal of the urban rail transit weak current equipment training system as an example, and the terminal deployment mode is a centralized deployment mode as a specific implementation mode to further illustrate the present invention:

[0039] like Figure 3 As shown, in this embodiment, the urban rail transit weak current equipment training system terminal includes a simulation system terminal, an interlocking system terminal, a regional control system terminal, a vehicle-mounted system terminal and an ATS system terminal; The simulation system terminal consists of a master simulation software terminal and several slave simulation software terminals; The interlocking system terminal includes an interlocking lower computer system terminal and an interlocking upper computer system terminal. The interlocking lower computer system terminal is composed of several station interlocking lower computer software terminals and sends device information to the interlocking upper computer software terminal; the interlocking upper computer system terminal is composed of several station interlocking upper computer software terminals; The regional control system terminal is composed of several regional software control terminals, which are set according to the number of jurisdiction areas; The on-board system terminal is composed of several on-board software terminals, which are set according to the number of trains in the timetable; The ATS system terminal consists of several ATS software terminals, which are set according to the number of stations on the line.

[0057] Since this embodiment is to automatically manage and control the power on and off of the urban rail transit weak current training system, and the urban rail transit weak current training system is a complex system including multiple software terminals, in order to realize that one control terminal can automatically open and close all system software, multiple subsystem terminals are controlled by one system terminal, and corresponding target control instructions are allocated from the management client terminal according to the type and number of system terminals and / or software terminals, as well as the urgency of each software terminal, so that multiple system terminals and / or software terminals can synchronously receive the corresponding target control instructions, and can control the startup and shutdown of the software terminal according to the nature of the system, without human intervention, with low cost, improved efficiency of system startup and shutdown, and extremely low error rate, thereby improving the stability of system operation.

[0058] The system terminal of this embodiment is a terminal system proposed for the urban rail transit weak current equipment training system terminal, but does not include only this type of terminal system. It can also be other complex systems that include multiple software terminals, and the management system in this application can be used. The system terminal of the present invention includes a simulation system terminal, an interlocking system terminal, a regional control system terminal, a vehicle-mounted system terminal, and an ATS system terminal. Each system terminal can be divided into multiple software terminals. These system terminals and software terminals have a startup dependency relationship with each other. The workload of manual startup is too large and it is extremely easy to make mistakes. Therefore, it is necessary to manage the overall power on and off, which can reduce errors caused by manual control and improve the stability of system operation.

[0059] In this embodiment, the automatic on / off layout diagram of the centralized deployment method is as follows: Figure 4 As shown, the system control terminal and storage service terminal are deployed on one PC, and the main management service terminal, the slave management client terminal and the system terminal are deployed on another PC. Figure 4 It interactively controls the system automatic power on / off management process in the system, and is mainly used for one machine with multiple systems.

[0060] The start and stop dependencies of the simulation system terminal in this embodiment are as follows: When the simulation system terminal receives the start control instruction from the simulation software terminal, it queries the status information of the main simulation software terminal, and starts the slave simulation software terminal if the status of the main simulation software is the start status; If the main simulation software terminal state is the closed state, the startup of the slave simulation software terminal is delayed until the main simulation software state is the started state.

[0061] The start and stop dependency relationship of the interlocking system terminal in this embodiment is as follows: When the interlocking system terminal receives the start control instruction from the interlocking lower computer software terminal, it queries the status information of the slave simulation software terminal. If the slave simulation software status is the start status, the interlocking lower computer software terminal is started; If the slave simulation software terminal is in the closed state, the startup of the interlocking lower computer software terminal is delayed until the slave simulation software terminal state is in the started state; When the interlocking system terminal receives the start control instruction from the interlocking upper computer software terminal, it queries the status information of the interlocking lower computer software terminal. If the interlocking lower computer software terminal is in the start state, it receives the device information sent by the interlocking lower computer software terminal and starts the interlocking upper computer software terminal based on the device information. If the interlocking lower computer software terminal is in the closed state, the interlocking upper computer software terminal is started and controlled to be in the standby state until the device information sent from the lower computer software terminal is received.

[0062] The start and stop dependency relationship of the regional control system terminal in this embodiment is as follows: When the regional control system terminal receives the regional control software terminal start control instruction, it queries the status information of the slave simulation software terminal and the vehicle-mounted software terminal. If both the slave simulation software terminal and the vehicle-mounted software terminal are in the start state, the regional control software terminal is started; If the slave simulation software terminal is in the startup state and the vehicle-mounted software terminal is in the shutdown state, the startup of the regional software terminal is delayed until the vehicle-mounted software terminal is in the startup state; If the slave simulation software terminal is closed, the startup of the regional software terminal is delayed.

[0063] The start-stop dependency relationship of the vehicle-mounted system terminal in this embodiment is as follows: When the vehicle-mounted system terminal receives the vehicle-mounted software terminal startup control instruction, it queries the status information and train mode of the slave simulation software terminal. If the slave simulation software terminal is in the startup state, it queries the status information of the corresponding software terminal based on the train mode; if the software terminal corresponding to the train mode is in the startup state, it starts the vehicle-mounted software terminal; If the software terminal corresponding to the train mode is in the closed state, the startup of the onboard software terminal is delayed until the software terminal corresponding to the train mode is in the started state; If the slave simulation software terminal is in closed state, the vehicle software terminal will be started with a delay.

[0064] In this embodiment, the subsystem terminal start-stop priority hierarchy established according to the start-stop dependency relationship between various subsystem terminals is as follows: When the control command sent from the management service terminal is received from the system terminal, the simulation system terminal, the interlocking host system terminal and the ATS system terminal are started synchronously and the operation status is detected; When the management service terminal detects that the simulation system terminal is in operation, the interlocking lower computer software terminal and the regional control system terminal are started and the operation status is detected; When the management service terminal detects that the regional control system terminal and the interlocking system terminal are in operation, the vehicle-mounted system terminal is started and the operation status is detected.

[0065] In order to start the entire urban rail transit weak current equipment training system with one click without startup errors, this embodiment establishes a subsystem terminal start-stop priority hierarchy based on the constructed start-stop dependency relationship. Since the simulation system terminal, the interlocking upper computer system terminal and the ATS system terminal have no dependency in terms of startup relationship, when the management service terminal receives the push instruction sent by the storage service terminal, the three system terminals are directly started synchronously. Therefore, the first priority level is the simulation system terminal, the interlocking upper computer terminal and the ATS system terminal; since the startup relationship between the interlocking lower computer system terminal and the regional control system terminal depends on the simulation system Terminal, so when it is detected from the management server that the simulation system terminal in the first priority level is already in operation, the interlocking lower computer system terminal and the regional control system terminal will be started, so the second priority level is the interlocking lower computer system terminal and the regional control system terminal; since the startup of the vehicle-mounted system terminal depends on the simulation system terminal, and logically depends on the interlocking system terminal and the regional control system terminal, if the vehicle-mounted system is started before the interlocking system terminal and the regional control system terminal, there will be a phenomenon that the interlocking system terminal and the regional control system terminal judge the actual occupancy of the section inconsistently, so the vehicle-mounted system terminal is the third priority level.

[0066] The centralized deployment method of this embodiment includes the following steps: Step 1: The system control terminal sends control instructions to the main management service terminal according to business needs, including simulation system terminal start / stop instructions, interlocking upper computer, interlocking lower computer system terminal start / stop instructions, regional control system terminal start / stop instructions, on-board system terminal start / stop instructions for train numbers included in the timetable, and ATS system terminal start / stop instructions.

[0067] Step 2: The main management service terminal parses the control instruction, encodes the system terminal according to the type of the system terminal to obtain the service number, and sends the service number and the control instruction to the storage service terminal.

[0068] Step three: The storage service terminal stores the initial status values ​​of all system terminals. The storage service terminal stores the initial status values ​​of all system terminals, and the initial status value is "0" or "1". The coding information of all system terminals is obtained based on the business number, and the updated status values ​​of the corresponding codes of all system terminals are obtained based on the control instructions and coding information. The storage service terminal is divided according to the coding to obtain divided sub-storage units, and the updated status values ​​are stored in the divided sub-storage units of the corresponding codes respectively.

[0069] Step 4: Obtain the update status value from the management client terminal, and send the update status value to the system terminal and / or the software terminal.

[0070] Step 5: The system terminal analyzes the received update status value to obtain the target control instruction, and generates a control sequence based on the impact of each software terminal on the traffic weak current equipment training system terminal and the start-stop dependency relationship between each system terminal. According to the control sequence, the target control instruction is sent to the corresponding software terminal. The software terminal receives the target control instruction and executes the corresponding action, and generates an execution log to feed back to the management client terminal.

[0071] The dependency relationship between system terminals determines the startup control sequence of software terminals in a centralized deployment mode. The startup sequence is divided into three levels according to the logical order: L1, L2, and L3. Figure 5 As shown, Figure 5 The central storage service terminal sends the updated status value to the slave management service terminal, and the slave management service terminal sends the target control instructions to the simulation system terminal, interlocking upper computer system terminal, ATS system terminal, interlocking lower computer system terminal, regional control system terminal and vehicle system terminal according to the control sequence. At the same time, these system terminals also transmit their own system terminal operation status back in real time to achieve the effect of real-time monitoring and prevent the occurrence of start-stop errors.

[0072] Figure 5 In the L1 startup level: because the simulation system terminal, interlocking host system terminal, and ATS system terminal have no dependency in terms of startup relationship, when the startup instruction pushed by the storage service terminal is received from the management service end, the three system terminals are directly started synchronously, and the operating status of the three system terminals is synchronously detected from the management service terminal.

[0073] In the L2 startup level: because the startup relationship between the interlocking lower computer system terminal and the regional control system terminal depends on the simulation system terminal, when the management server detects that the simulation system terminal in the L1 level is already in operation, the interlocking lower computer system terminal and the regional control system terminal will be started.

[0074] In the L3 startup level: because the startup relationship of the vehicle-mounted system terminal depends on the simulation system terminal, and logically depends on the interlocking and regional control system terminal, if the vehicle-mounted system terminal is started before the interlocking and regional control system terminal, there will be a phenomenon that the interlocking and regional control system terminal judges that the actual occupancy of the section is inconsistent. Therefore, in order to prevent this error, the vehicle-mounted system terminal should be started after the interlocking and regional control system terminal.

[0075] Embodiment 3: This embodiment changes the system deployment mode, and the system deployment mode is deployed in a distributed deployment mode. The rest of the overall management process is the same. This embodiment takes the distributed deployment of the terminal in the urban rail transit weak current equipment training system as an example. Figure 6 As shown, this deployment method is to deploy the system control terminal, storage service terminal, and main management service terminal on different PC ends respectively, and the slave management client terminal and software terminal are set in a one-plus-one manner, in which a slave management client terminal plus a software terminal (slave simulation software terminal, interlocking host computer software terminal, etc.) is set on each PC end. Figure 1 The system automatic power on and off management process in the interactive control, each software terminal has several, Figure 6 Only one of each type is shown.

[0076] The distributed deployment method of this embodiment includes the following steps: Step 1: The system control terminal generates control instructions according to business needs and sends the control instructions to the main management service terminal; the control instructions include all simulation software terminal control instructions, all stations' interlocking upper computers, interlocking lower computer software terminal control instructions, all jurisdictions' regional control software terminal control instructions, train-mounted software terminal control instructions for the train numbers included in the timetable, and all stations' ATS software terminal control instructions. Compared with system terminals, each type of system terminal may have multiple software terminals, and the control instructions of this embodiment are for each software terminal.

[0077] Step 2: The main management service terminal parses the control instruction, encodes the software terminal based on the type and quantity of the software terminal to obtain a service number, and sends the service number and the control instruction to the storage service terminal.

[0078] Step three: The storage service terminal stores the initial status values ​​of all system terminals. The storage service terminal stores the initial status values ​​of all system terminals, and the initial status value is "0" or "1". The coding information of all software terminals is obtained based on the business number, and the updated status values ​​of the corresponding codes of all software terminals are obtained based on the control instructions and coding information. The storage service terminal is divided according to the coding to obtain divided sub-storage units, and the updated status values ​​are stored in the divided sub-storage units of the corresponding codes respectively.

[0079] Step 4: Obtain the update status value from the management client terminal, and send the update status value to the software terminal.

[0080] Step 5: Generate a control sequence based on the impact of each software terminal on the traffic weak current equipment training system terminal and the start-stop dependency relationship between each software terminal. According to the control sequence, send the target control instruction to the corresponding software terminal. The software terminal receives the target control instruction and executes the corresponding action, and generates an execution log to feed back to the management client terminal.

[0081] This embodiment determines the sequence and process of starting software terminals in a distributed deployment mode according to the dependency relationship between software terminals. The startup sequence is started according to the PC end according to the logical sequence, and the control sequence is divided into four layers of control sequence, such as Figure 7 As shown, Figure 7 All software terminals are divided into 9 PC terminals, and then the main management service terminal sends the software terminal control instructions involved in the control instructions to the storage service terminal. These include the main simulation software terminal, slave simulation software terminal 1-6, interlocking upper computer software terminal 1-2, interlocking lower computer software terminal 1-2, ATS software terminal 1-2, regional control software terminal 1-2, and vehicle-mounted software terminal 1-2 control instructions.

[0082] After the storage service terminal of this embodiment generates the update status value of the above instruction, it sends it to the PC terminals 1-9 where the slave management client terminals are located, which are bound to the above instruction. Pushing is performed according to the following four priorities: first priority: PC1 terminal; second priority: PC2 terminal, PC3 terminal, PC4 terminal, PC5 terminal; third priority: PC6 terminal, PC7 terminal; fourth priority: PC8 terminal, PC9 terminal.

[0083] In the above 4-layer control sequence of this embodiment, the internal priority of PC2, PC3, PC6, PC7, PC8 and PC9 is managed by the slave management client terminal, and the slave management software terminal manages according to the startup sequence of the software terminals by identifying the internal startup status of the PC. For example, the slave management software of PC2 manages the startup of the software terminal according to the following control sequence: first start the slave simulation software terminal 1 and the interlocking upper computer software terminal 1, and then start the interlocking lower computer software terminal.

[0084] In the process of issuing control instructions in this embodiment, the running status of each software terminal is transmitted back to the slave management service terminal, which is used to feedback the status of different PC terminals under control from the slave management service terminal, thereby strictly controlling the startup sequence of each software terminal to prevent errors.

[0085] According to the above embodiments, at least the following substantial effects are achieved: (1) The present invention manages the terminals, so that some complex systems including multiple software terminals can achieve accurate control of each software terminal, thereby reducing the probability of errors in controlling the terminals; (2) The present invention generates a control sequence according to the nature of the terminal and the degree of influence on the overall system, and controls the timing of software startup and shutdown based on the control sequence, thereby automatically starting and shutting down the software terminal and the system terminal without manual operation, thereby reducing labor costs; (3) The present invention generates a control sequence according to the urgency of each software terminal, fully considering the start-stop dependency relationship between the software terminals and the impact on the overall system, thereby greatly reducing the negative impact on the system caused by control errors.

[0086] The specific implementation described above is a preferred implementation of a system automatic power on / off management system and its management method of the present invention, and is not intended to limit the specific implementation scope of the present invention. The scope of the present invention includes but is not limited to this specific implementation. All equivalent changes made in accordance with the shape and structure of the present invention are within the protection scope of the present invention.

Claims

1. A terminal automatic power on / off management method, characterized in that: The following steps are involved: S1. The system control terminal generates control instructions according to business needs and sends the control instructions to the main management service terminal; S2. The main management service terminal parses the control instruction to generate a corresponding service number, and sends the service number and control instruction to the storage service terminal; S3, the storage service terminal stores the initial state values ​​of all system terminals and / or software terminals, and updates the initial state values ​​according to the received control instruction combined with the service number to obtain updated state values; S4. Obtain an update status value from the management client terminal, and send the update status value to the system terminal and / or the software terminal; S5. The system terminal analyzes the received update status value to obtain the target control instruction, generates a control sequence according to the urgency of each software terminal, and sends the target control instruction to the corresponding software terminal according to the control sequence; S6. The software terminal receives the target control instruction and executes the corresponding action, and generates an execution log to feed back to the slave management client terminal.

2. A terminal automatic power on / off management method according to claim 1, characterized in that: In S1, the system control terminal generates a control instruction according to the business requirements and sends the control instruction to the main management service terminal, including the following steps: The system control terminal analyzes business requirements and determines the types of business requirements, including: active control according to the daily software checklist and active start and stop management of software terminals according to business scenarios; A control instruction is generated based on the analysis result and sent to the main management service terminal.

3. A terminal automatic power on / off management method according to claim 1, characterized in that: In S2, the main management service terminal parses the control instruction to generate a corresponding service number, and sends the service number and the control instruction to the storage service terminal, including the following steps: The main management service terminal parses the control instruction and determines the relationship between the software terminal and the system terminal, wherein the relationship between the software terminal and the system terminal includes distributed deployment and centralized deployment; If the relationship between the software terminal and the system terminal is distributed deployment, the software terminal is encoded based on the type and quantity of the software terminal to obtain a service number; If the relationship between the software terminal and the system terminal is centralized deployment, the system terminal is encoded based on the type of the system terminal to obtain a service number; Send the service number and control instructions to the storage service terminal.

4. A terminal automatic power on / off management method according to claim 1, characterized in that: In S3, the storage service terminal stores the initial state values ​​of all system terminals and / or software terminals, and updates the initial state values ​​according to the received control instruction combined with the service number to obtain updated state values, including the following steps: The storage service terminal stores the initial state value of all system terminals and / or software terminals, where the initial state value is "0" or "1"; obtains the coding information of all system terminals and / or software terminals based on the service number, and obtains the updated state value of the corresponding coding of all system terminals and / or software terminals based on the control instruction and the coding information; The storage service terminal is divided according to the code to obtain divided sub-storage units, and the update state values ​​are respectively stored in the divided sub-storage units corresponding to the code.

5. A terminal automatic power on / off management method according to claim 1, characterized in that: In S4, the update status value is obtained from the management client terminal, and the update status value is sent to the system terminal and / or the software terminal, including the following steps: Based on the coding information of the system terminal and / or software terminal, the management client terminal obtains the corresponding update status value from the segmented sub-storage unit of the storage service terminal, and sends the update status value to the corresponding coded system terminal and / or software terminal.

6. A terminal automatic power on / off management method according to claim 1, characterized in that: In S5, the system terminal analyzes the received update status value to obtain the target control instruction, including the following steps: The system terminal analyzes the update status value based on the coding information to obtain the type and quantity of software terminals that need to be controlled; Interpret the update status value, generate a start instruction when the update status value is "1", and generate a close instruction when the update status value is "0", and associate the start instruction and the close instruction with the coding of the software terminal to obtain the target control instruction.

7. A terminal automatic power on / off management method according to claim 1, characterized in that: In S5, a control sequence is generated according to the urgency of each software terminal, including the following steps: The system terminal shall evaluate the urgency of each software terminal at least based on the scope of historical faults of each software terminal, fault repair time, fault rate and the start-stop dependency relationship of each software terminal; A control sequence is generated based on the urgency of each software terminal.

8. A terminal automatic power on / off management method according to claim 1, characterized in that: In S5, the target control instruction is sent to the corresponding software terminal according to the control sequence, including the following steps: The system terminal determines whether it is necessary to synchronously send the target control instruction to the corresponding software terminal. If necessary, the number of channels is determined based on the number of target control instructions, and the resource ratio is determined based on the resource size of the target control instructions. The dedicated channel is determined based on the number of channels and the resource ratio, and the dedicated channel is associated with the target control instruction based on the coding, and the target control instruction is issued through the dedicated channel.

9. A terminal automatic power on / off management method according to claim 1, characterized in that: In S6, the software terminal receives the target control instruction and executes the corresponding action, and generates an execution log and feeds it back to the slave management client terminal, including the following steps: The software terminal receives the target control instruction and executes the corresponding action, and generates the current state value of all system terminals and / or software terminals and sends it to the slave management client; The current status value is compared with the updated status value from the management client terminal, and an alarm message is generated if it is judged that there is a difference.

10. A terminal automatic power on / off management method according to claim 9, characterized in that: The alarm information at least includes coding information of the abnormal system terminal and / or software terminal.