Multi-service application program operation and maintenance management method and system based on low-voltage intelligent circuit breaker
By building an operation and maintenance management platform on low-voltage intelligent circuit breakers and unified management of multi-service APPs, the problem that APPs cannot be unified scheduling and management is solved, and the security and efficiency of data interaction are improved.
Patent Information
- Application Number
- CN202510007257.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-05-06
- Estimated Expiration
- 2045-01-03
AI Technical Summary
Multi-service APPs in low-voltage intelligent circuit breakers cannot be uniformly scheduled and managed, which makes it difficult to ensure the security and efficiency of data interaction.
By building an operation and maintenance management platform on a low-voltage intelligent circuit breaker, receiving registration applications for smart devices, evaluating and allocating resources, installing and setting the isolation operation status of the APP, verifying and activating applications, unisolating the isolation status and allocating pipeline keys, safe data interaction between APPs is realized.
It realizes unified scheduling and management of multi-service APPs, improves the security and efficiency of data interaction, and avoids data interference, loss and leakage.
Smart Images

Figure CN119938074A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a multi-service application program operation and maintenance management method and system based on a low-voltage intelligent circuit breaker. Background Art
[0002] In recent years, circuit breakers (switches) used in low-voltage distribution networks have been developing towards intelligence. Based on the original intelligent switch measurement, communication, and topology identification, the technical route of the fusion terminal has been inherited and further extended to realize the "hardware platformization and software APPization" of low-voltage circuit breakers. However, the APPization of application software business functions also brings the following problems:
[0003] (1) Business apps are highly coupled to each other, and there is a lack of effective supervision on their loading and operation. When adding new apps, they can only be managed manually by users or developers. On the one hand, there are security risks. Once an unknown app is installed privately or by mistake, it may cause abnormal operation or even crash of the smart circuit breaker. On the other hand, due to the mutual coupling between businesses, adding a new app may involve the modification of some existing apps, which leads to insufficient scalability. As the number of business apps increases, management becomes very inconvenient.
[0004] (2) Different business apps need to establish communication with each other to achieve data exchange. As the number of apps increases, the occupation of system resources will increase exponentially. At the same time, due to the lack of unified scheduling, multiple apps are prone to interfere with each other when exchanging data at the same time, resulting in data loss and leakage, and the security of data exchange between apps is difficult to guarantee.
[0005] The operation and maintenance management issues when multiple business APPs coexist on low-voltage intelligent circuit breakers currently rely mainly on manual management by users, which makes it impossible to carry out overall business operation scheduling management and ensure the security and efficiency of data interaction. Summary of the invention
[0006] The present invention provides a multi-service application operation and maintenance management method and system based on a low-voltage intelligent circuit breaker to solve the problem that multiple service APPs in the low-voltage intelligent circuit breaker cannot be uniformly scheduled and managed, and improve the security and efficiency of data interaction.
[0007] According to one aspect of the present invention, a multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker is provided, which is applied to an operation and maintenance management platform, where the operation and maintenance management platform runs on an operating system, and the operating system is deployed on a low-voltage intelligent circuit breaker. The method includes:
[0008] Receive a registration application for a newly added application sent by a smart device, wherein the registration application includes feature information of the newly added application;
[0009] If the registration application is evaluated as passed, resources are allocated to the newly added application, and the allocated resource information is fed back to the smart device so that the smart device can obtain the installation package of the newly added application generated by the configuration update according to the resource information, and the allocated resources include: system resources and communication channels;
[0010] Receive an installation package of the newly added application sent by the smart device, install the newly added application according to the installation package, and set the state of the newly added application to an isolated running state;
[0011] Receive the activation application reported by the newly added application, verify the activation application according to the registration application, if the verification passes, release the isolated running state of the newly added application, and allocate a pipeline key to the newly added application to perform secure data interaction between applications.
[0012] According to another aspect of the present invention, there is provided a multi-service application operation and maintenance management system based on a low-voltage intelligent circuit breaker, comprising: an operation and maintenance management platform and an application, the operation and maintenance management platform and the application running on an operating system, and the operating system being deployed on the low-voltage intelligent circuit breaker;
[0013] The operation and maintenance management platform is used to receive a registration application for a newly added application sent by a smart device, wherein the registration application includes feature information of the newly added application; if the registration application is evaluated to be passed, resources are allocated to the newly added application, and the allocated resource information is fed back to the smart device, so that the smart device obtains an installation package of the newly added application generated by performing configuration update according to the resource information, wherein the allocated resources include: system resources and communication channels; receiving the installation package of the newly added application sent by the smart device, installing the newly added application according to the installation package, and setting the state of the newly added application to an isolated running state;
[0014] The newly added application is used to report an activation application to the operation and maintenance management platform;
[0015] The operation and maintenance management platform is used to receive the activation application reported by the newly added application, verify the activation application according to the registration application, and if the verification passes, release the isolated running state of the newly added application and allocate a pipeline key to the newly added application to enable secure data interaction between applications.
[0016] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0017] at least one processor, and a memory communicatively coupled to the at least one processor;
[0018] In which, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the multi-business application operation and maintenance management method based on the low-voltage intelligent circuit breaker described in any embodiment of the present invention.
[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker described in any embodiment of the present invention when executed.
[0020] According to another aspect of the present invention, a computer program product is provided, which includes a computer program. When the computer program is executed by a processor, it implements the multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker described in any embodiment of the present invention.
[0021] The technical solution of the embodiment of the present invention is to perform operation and maintenance management on the multi-service application of the low-voltage intelligent circuit breaker through the operation and maintenance management platform, the operation and maintenance management platform receives the registration application of the newly added application sent by the intelligent device, the registration application includes the characteristic information of the newly added application; if the registration application is evaluated and passed, resources are allocated to the newly added application, and the allocated resource information is fed back to the intelligent device, so that the intelligent device can obtain the installation package of the newly added application generated by the configuration update according to the resource information, and the allocated resources include: system resources and communication channels; receive the installation package of the newly added application sent by the intelligent device, install the newly added application according to the installation package, and set the status of the newly added application to the isolated running state; receive the activation application reported by the newly added application, verify the activation application according to the registration application, and if the verification passes, release the newly added application The isolated running state of the application program is set, and a pipeline key is allocated to the newly added application program to perform secure data interaction between the applications, which solves the problem that multiple business APPs in the low-voltage intelligent circuit breaker cannot be uniformly scheduled and managed. The operation and maintenance management platform manages the applications in a unified manner. When a new application program is added to the low-voltage intelligent circuit breaker, a registration application is sent to the operation and maintenance management platform through an intelligent device. The operation and maintenance management platform evaluates the registration application, and allocates resources after the evaluation is passed to install the newly added application program. After the installation, the newly added application program is set to an isolated running state, and an activation application reported by the newly added application program is received and after the verification is passed, the isolated running state is released. At this time, the application program can operate normally, and information is exchanged with other applications through the operation and maintenance management platform. To ensure data security, a pipeline key is allocated to the newly added application program, and the application program is uniformly managed through the operation and maintenance management platform, which effectively improves the security and efficiency of data interaction.
[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0024] Figure 1 This is a flow chart of a multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker provided according to the first embodiment of the present invention;
[0025] Figure 2 is an architecture diagram of a low-voltage intelligent circuit breaker provided according to Embodiment 1 of the present invention;
[0026] Figure 3 This is a flow chart of a multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker provided according to Embodiment 2 of the present invention;
[0027] Figure 4 is a schematic diagram of data interaction management provided according to Embodiment 2 of the present invention;
[0028] Figure 5 This is a schematic diagram of a process for monitoring the operating conditions and handling exceptions of an application program provided in accordance with a second embodiment of the present invention;
[0029] Figure 6 2 is a structural diagram of a multi-service application operation and maintenance management system based on a low-voltage intelligent circuit breaker provided according to a third embodiment of the present invention;
[0030] Figure 7 It is a structural schematic diagram of an electronic device for implementing the multi-service application program operation and maintenance management method based on a low-voltage intelligent circuit breaker according to an embodiment of the present invention. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0032] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0033] Embodiment 1
[0034] Figure 1This is a flowchart of a method for operation and maintenance management of a multi-service application based on a low-voltage intelligent circuit breaker provided in the first embodiment of the present invention. This embodiment is applicable to the case of operation and maintenance management of a multi-service application of a low-voltage intelligent circuit breaker. The method can be executed by an operation and maintenance management platform, which runs on an operating system, and the operating system is deployed on a low-voltage intelligent circuit breaker. For example, Figure 2 Provided is an architecture diagram of a low-voltage intelligent circuit breaker. An embedded APP comprehensive operation and maintenance management platform 12 is created based on the software operating system 11 of the low-voltage intelligent circuit breaker. The kernel allocates resources and opens interface call permissions to realize function calls and information interaction between the operation and maintenance management platform 12 and the operating system 11. Each application 13 only retains necessary interface call permissions such as peripherals and file systems. The operation and maintenance management platform 12 performs unified authentication and operation management, and provides security for the operating conditions of each APP and data interaction between them. The operation and maintenance management platform 12 can interact with users / superior devices 14 through external interfaces.
[0035] like Figure 1 As shown, the method includes:
[0036] S101: Receive a registration application for a newly added application sent by a smart device, where the registration application includes feature information of the newly added application.
[0037] In this embodiment, the smart device can be any electronic device with data processing capabilities, such as a smart phone, a computer, and a tablet computer. The registration application can be understood as a request for applying to the operation and maintenance management platform for application installation. The characteristic information can be understood as information used to describe the operating information, identification and other characteristics of the application. The application can be an application that performs corresponding business in the low-voltage smart circuit breaker, and the operation and maintenance management platform can manage different business applications.
[0038] When a new application needs to be loaded, the low-voltage intelligent circuit breaker first determines the feature information of the newly added application and establishes a communication connection with the operation and maintenance management platform through the intelligent device. The feature information of the newly added application can be manually input by the user on the intelligent device, or it can be pre-saved in a file and the feature information of the newly added application can be obtained by reading the file through the intelligent device. After determining the feature information of the newly added application, the intelligent device generates a registration application based on the feature information of the application and sends the registration application to the operation and maintenance management platform.
[0039] The operation and maintenance management platform has the function of business APP security loading management, and is responsible for the information authentication, resource allocation and operation management of all business APPs. If a low-voltage intelligent circuit breaker needs to load a new business APP, it is necessary to first establish communication with the operation and maintenance management platform inside the circuit breaker through an intelligent device (for example, a client or a master station). The communication needs to be authenticated by hierarchical permissions, including three permissions: administrator, debugger, and auditor. The administrator has the highest authority and can create new debugger and auditor accounts; the debugger has the authority to read the circuit breaker operation information and modify the equipment setting parameters; the auditor has the authority to read and query the circuit breaker event records and operation logs. The account login passwords are all default values before leaving the factory. After the user's modification takes effect, the operation and maintenance management platform will form a new login whitelist. The registration application can be initiated by any account, and the account that initiates the registration application can also be controlled by setting rights. For example, only the administrator account has the authority to initiate the registration application.
[0040] Optionally, the characteristic information includes at least one of the following: application name, occupied memory resources, and number of threads.
[0041] S102. If the registration application is evaluated to be successful, resources are allocated to the newly added application, and the allocated resource information is fed back to the smart device so that the smart device can obtain the installation package of the newly added application generated by the configuration update based on the resource information. The allocated resources include: system resources and communication channels.
[0042] The registration application is evaluated, and the remaining resources of the operating system in the low-voltage intelligent circuit breaker are judged according to the characteristic information of the newly added application to support the installation of the newly added application. If so, it is determined that the registration application evaluation is passed; otherwise, it is determined that the registration application evaluation is not passed and the application cannot be installed. If the registration application evaluation is passed, resources are allocated to the newly added application, and system resources and communication pipelines are allocated to the newly added application, wherein the system resources can be the starting address and size of the memory space, the application ID code, etc., and the communication pipeline is a channel for completing data transmission. Feedback the allocated resource information to the smart device, and the smart device can obtain the installation package of the newly added application generated by the configuration update based on the resource information. After receiving the allocated resource information, the smart device can update the configuration of the newly added application according to the allocated resource information and generate an installation package, or the smart device sends the resource information to other devices, and the other devices update the configuration of the newly added application according to the resource information and generate an installation package, and then feed the installation package back to the smart device, and install the application to the operating system through the smart device so that the newly added application can be installed normally. For example, if the allocated processor FLASH starting address is 0x08050000 and the size is 64k, the loading domain configuration of the newly added application will be modified accordingly, and so on.
[0043] After the operation and maintenance management platform evaluates and identifies the registration application, if the registration application passes the evaluation, the registration application can be added to the APP registration information list. This list contains the registration time and account for traceability and supports administrator permission to read. After the new APP is updated with the configuration based on the information, dynamic distributed loading can be achieved based on the operating system.
[0044] S103: Receive an installation package of a newly added application sent by the smart device, install the newly added application according to the installation package, and set the state of the newly added application to an isolated running state.
[0045] In this embodiment, the isolated running state can be understood as a running state of an application program, in which the application program cannot exchange information with other applications.
[0046] After the newly added application updates the configuration and generates the installation package, the installation package is sent to the operation and maintenance management platform through the smart device. The operation and maintenance management platform receives the installation package of the newly added application and installs the newly added application based on the installation package of the application. For example, the operation and maintenance management platform can call the system interface to burn and install the newly added application. The application is installed in the operating system. Since the operating system is deployed on the low-voltage intelligent circuit breaker, the application can eventually run on the low-voltage intelligent circuit breaker. After the application is installed, the status of the newly installed application is set to the isolated running state.
[0047] S104. Receive an activation application reported by a newly added application, verify the activation application according to the registration application, and if the verification passes, release the isolated running state of the newly added application, and allocate a pipeline key to the newly added application to perform secure data interaction between applications.
[0048] In this embodiment, the pipeline key can be understood as a key used to encrypt data when the application and the operation and maintenance management platform interact with each other through the communication pipeline.
[0049] The operation and maintenance management platform calls the system interface to monitor the running information of the newly added application, and waits for the application to report the activation application in the allocated communication channel. The newly added application can actively report the activation application, or set the reporting conditions, and generate and report the activation application after the reporting conditions are met. The reporting conditions can be that a certain running information of the application meets certain conditions, or the running time exceeds a certain threshold, etc. The operation and maintenance management platform receives the activation application reported by the newly added application through the communication channel allocated to the newly added application. The activation application can carry relevant information of the application. After receiving the activation application, the operation and maintenance management platform verifies the activation application according to the registration request to determine whether the application is installed according to the registration request. If so, it determines that the verification is passed; otherwise, the verification fails. If the verification is passed, the isolated running state of the newly added application is released, and the newly added application can normally exchange data with other applications through the operation and maintenance management platform. The operation and maintenance management platform allocates pipeline keys to the newly added applications. For example, the pipeline keys are randomly generated and sent to the newly added applications. Alternatively, the operation and maintenance management platform and the newly added applications both pre-store the same key table, which includes the keys and their corresponding identifiers. The operation and maintenance management platform indicates the identifier of the newly added application key, and the newly added application queries the corresponding key from the key table according to the identifier of the key, and uses this key as the pipeline key. When data is exchanged between the application and the operation and maintenance management platform, the data is encrypted according to the pipeline key to ensure data security.
[0050] The embodiment of the present invention provides an operation and maintenance management method for multi-service applications based on a low-voltage intelligent circuit breaker, which solves the problem that multi-service APPs in a low-voltage intelligent circuit breaker cannot be uniformly scheduled and managed. The operation and maintenance management platform uniformly manages the applications. When a new application is added to the low-voltage intelligent circuit breaker, a registration application is sent to the operation and maintenance management platform through an intelligent device. The operation and maintenance management platform evaluates the registration application, and after the evaluation is passed, resources are allocated to install the new application. The installation of the new application is achieved by allocating system resources, and data transmission is achieved by allocating communication pipelines, so as to avoid data interference when multiple applications perform data interaction at the same time, avoid data loss and leakage, and ensure the security of data interaction; after the new application is installed, it is set to an isolated running state, and an activation application reported by the new application is received and after verification is passed, the isolated running state is released. At this time, the application can run normally, and information is exchanged with other applications through the operation and maintenance management platform. To ensure data security, a pipeline key is allocated to the new application, and the application is uniformly managed through the operation and maintenance management platform, which effectively improves the security and efficiency of data interaction.
[0051] Embodiment 2
[0052] Figure 3 This is a flowchart of a multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker provided in the second embodiment of the present invention. This embodiment is refined on the basis of the above embodiment. Figure 3 As shown, the method includes:
[0053] S201: Receive a registration application for a newly added application sent by a smart device, where the registration application includes feature information of the newly added application.
[0054] S202. If the registration application is evaluated to be successful, resources are allocated to the newly added application, and the allocated resource information is fed back to the smart device so that the smart device can obtain the installation package of the newly added application generated by the configuration update based on the resource information. The allocated resources include: system resources and communication channels.
[0055] S203: Receive an installation package of a newly added application sent by the smart device, install the newly added application according to the installation package, and set the state of the newly added application to an isolated running state.
[0056] S204: Receive an activation application reported by a newly added application, encrypt the characteristic information in the registration application according to a preset encryption algorithm, and obtain a ciphertext to be verified.
[0057] Optionally, the activation application includes: ciphertext obtained by encrypting characteristic information of the newly added application;
[0058] The newly added application encrypts the characteristic information used for registration to obtain the corresponding ciphertext, and sends the ciphertext as an activation application to the operation and maintenance management platform through the assigned communication channel. When encrypting the characteristic information, a set algorithm can be used for encryption. For example, an irreversible Hash algorithm is used to encrypt the characteristic information into 16-byte data.
[0059] In this embodiment, the ciphertext to be verified can be understood as the ciphertext that needs to be verified. After receiving the activation application, the operation and maintenance management platform uses a preset encryption algorithm to encrypt the characteristic information carried in the registration application. The preset encryption algorithm is consistent with the algorithm used when encrypting the newly added application, and the encryption algorithm can be agreed in advance. By encrypting the characteristic information, the ciphertext to be verified is obtained.
[0060] S205: Determine whether the ciphertext in the activation application is consistent with the ciphertext to be verified. If not, execute S206; if so, execute S207.
[0061] The operation and maintenance management platform compares the ciphertext in the activation application with the ciphertext to be verified to ensure the consistency of the newly added application and the registration information.
[0062] S206: Determine whether the activation application verification has failed.
[0063] If the activation application verification fails, the operation and maintenance management platform will directly kill the newly added application, and the application needs to re-apply for registration. The operation and maintenance management platform can deregister the application in the registration information list.
[0064] S207: Determine whether the activation application verification has passed.
[0065] S208: Release the isolated running state of the newly added application.
[0066] After the activation verification is passed, confirm that the application is installed correctly and release the isolated running state of the newly added application.
[0067] S209. Randomly generate a set number of address numbers, each address number corresponding to one byte of feature information.
[0068] In this embodiment, the set number can be pre-set according to the byte length of the characteristic information. For example, if the byte length of the characteristic information is 16 bytes, the set number is 16. The address number indicates the address where the key information is stored.
[0069] Determine the byte length of the characteristic information, determine the set number according to the byte length; randomly generate the set number of numbers, use the generated numbers as address numbers, and indicate the key storage address through the address numbers, wherein each address number corresponds to one byte of the characteristic information.
[0070] S210. Generate pipeline key information according to each address number, where the pipeline key information is used to indicate the pipeline key.
[0071] In this embodiment, the pipeline key information can be understood as information used to describe the pipeline key, and the pipeline key can be determined by the pipeline key information. The pipeline key information is generated based on each address number, for example, each address number is sorted in sequence, and the obtained value is the pipeline key information.
[0072] The operation and maintenance management platform sends the pipeline key information to the newly added application through the communication pipeline. After receiving the pipeline key information, the newly added application sequentially takes out the corresponding values from the feature information according to the address numbers indicated in the pipeline key information to form the pipeline key.
[0073] After the newly added APP is activated and running, it will receive the pipeline key information automatically created and sent by the operation and maintenance management platform. For example, the pipeline key information is a 16-byte exclusive key address, and each byte represents a randomly generated address number, which corresponds to the byte address of the characteristic information content of the APP. The actual value is taken from the corresponding address to form the final pipeline key exclusive to this application. For example, the address numbers are 01, 05, 08, and 07, respectively, and the corresponding values are taken from address 01, address 05, address 08, and address 07 to form the pipeline key. Since the APP characteristic information is only known to the APP itself and the operation and maintenance management platform, the privacy of the key can be guaranteed. At the same time, in order to take into account both communication security and efficiency, the interactive message of the business APP adopts a symmetric key block encryption algorithm, with a key length of 16 bytes, a block word length of 32 bits, and a number of encryption rounds of 6. Data encryption is achieved through group multi-round mixed bit operations. Each group of pipelines is paired with a unique key to realize the encryption and decryption of interactive messages. The operation and maintenance management platform is responsible for the management of the exclusive keys of each group of pipelines.
[0074] As an optional embodiment, this optional embodiment is further optimized to include steps A1-A4:
[0075] A1. Receive first data to be transmitted sent by the first application through a communication channel between the first application. The first data to be transmitted is generated by the first application according to a set communication protocol format and encrypted according to a channel key corresponding to the first application.
[0076] In this embodiment, the first data to be transmitted can be understood as a type of data that needs to be transmitted, which can be operating data generated during the operation of the application, data interacting with the user during the operation of the application, or data generated by processing the data interacting with the user, and so on. The first application and the second application are applications managed by the operation and maintenance management platform. The first application and the second application first apply for registration on the operation and maintenance management platform, and then they are installed after passing the registration. Then the operation and maintenance management platform assigns them a pipeline key, and the application can transmit and interact data according to the pipeline key. Any application managed by the operation and maintenance management platform can send data as the first application, and can also receive data as the second application.
[0077] The first application generates the first data to be transmitted after the conditions for data transmission are met. For example, the first application obtains data of a set type to determine that the conditions for data transmission are met. After obtaining the data, the first application determines that the data exceeds a certain threshold to determine that the conditions for data transmission are met, and so on. When generating the first data to be transmitted, the first application first determines the data to be transmitted, and then processes the data according to the set communication protocol format to generate data in a specific format. For example, the set communication protocol format defines the format of the data, and the data needs to include a sender and a receiver; the generated data in a specific format is encrypted according to the pipeline key corresponding to the first application to obtain the first data to be transmitted. The first application sends the first data to be transmitted to the operation and maintenance management platform through the communication pipeline between the first application and the operation and maintenance management platform, and the operation and maintenance management platform receives the first data to be transmitted sent by the first application through the communication pipeline between the first application and the first application.
[0078] The first data to be transmitted may include at least one of the following information: a receiving identification code, a sending identification code, a data length, and a data Payload. The Payload is composed of one or more of a control code, data, and a check code.
[0079] A2. Decrypt the first data to be transmitted according to the pipeline key corresponding to the first application, and verify the decrypted first data to be transmitted. If the verification passes, determine the second application as the data recipient.
[0080] Determine the pipeline key corresponding to the first application. The operation and maintenance management platform manages one or more applications, and each application corresponds to a pipeline key. The operation and maintenance management platform can store the pipeline key corresponding to each application in a data table or other form. After receiving the first data to be transmitted sent by the first application, determine the pipeline key corresponding to the first application by querying the data table or other means. Decrypt the first data to be transmitted according to the pipeline key, and verify the decrypted first data to be transmitted. For example, the plaintext data corresponding to the first data to be transmitted includes verification parameters such as a verification code. After decryption, the plaintext data obtained after decryption is verified according to the verification parameters. If the verification passes, determine the data recipient based on the information carried by the decrypted first data to be transmitted, and then determine the data recipient as the second application.
[0081] Illustratively, Table 1 provides a communication protocol format that defines the format of data transmission.
[0082] Table 1
[0083] Frame Header Send identification code Receive identification code Frame number Data length Data Payload Frame end 0x68 1 Byte 1 Byte 1 Byte 2Byte Indefinite length 0x16
[0084] The message is framed with the low byte first and the high byte last. Among them: the sending identification code is the identity code of the message sender APP, and the receiving identification code is the identity code of the message receiver APP, which is assigned by the operation and maintenance management platform when the APP registration is completed. The frame sequence number is used to synchronize the request frame and the response frame, which can improve the communication reliability. It is maintained by the message requester. The frame sequence number used by adjacent frames is self-incrementing, with a minimum value of 1 and a maximum of 0xFF. The data length indicates the length of the payload that follows. The payload consists of a control code, data, and a check code. The control code identifies the data feature and is used by the receiver to identify the purpose of the frame message. The check code is the binary arithmetic sum of all bytes from the first byte of the payload to the check code (excluding overflow values exceeding 256), which is used to identify transmission errors in the data part. The verification of interactive data mainly includes: frame header and frame tail identification judgment, sending and receiving identification code legitimacy judgment, data length verification, verification code calculation and comparison, etc. The operation and maintenance management platform will perform verification when the data is transferred. If the verification finds an abnormality, the frame data will be discarded, and the sender APP will be directly replied with an alarm notification of data abnormality, reminding the APP to self-check and resend the message.
[0085] A3. Encrypt the decrypted first data to be transmitted according to the pipeline key corresponding to the second application to obtain second data to be transmitted.
[0086] In this embodiment, the second data to be transmitted can be understood as data that needs to be transmitted to the second application. After determining that the recipient is the second application, the operation and maintenance management platform determines the pipeline key corresponding to the second application by querying the data table, etc., and encrypts the decrypted first data to be transmitted according to the pipeline key, and the obtained ciphertext data is the second data to be transmitted.
[0087] A4. Send the second data to be transmitted to the second application through the communication channel between the second application, so that the second application decrypts the second data to be transmitted according to the corresponding channel key to obtain the transmitted data.
[0088] The operation and maintenance management platform sends the second data to be transmitted to the second application through the communication channel between the second application. After receiving the second data to be transmitted, the second application can decrypt the second data to be transmitted according to the corresponding channel key to obtain plaintext data, which is the data transmitted by the first application.
[0089] For example, Figure 4 A schematic diagram of data interaction management is provided. The data interaction process of business APP is as follows Figure 4As shown: when the first application APP1 needs to send data to the second application APP2, it is first framed into plain text according to the communication protocol format, and encrypted by the exclusive pipeline key A (the data obtained at this time is the first data to be transmitted), and then sent to the operation and maintenance management platform via an independent communication pipeline. After receiving the ciphertext, the operation and maintenance management platform will first select the paired pipeline key A for decryption and data verification to ensure the reliability of the frame information, and then query the recipient as APP2 through the message identification code, select the paired pipeline key B to re-encrypt the forwarded data (the data obtained at this time is the second data to be transmitted), and send the encrypted message to the destination through the independent communication pipeline of APP2. After receiving the ciphertext, APP2 uses the exclusive pipeline key B to decrypt and obtain the required data, and vice versa. Since the data in each APP communication pipeline is in an encrypted state during the interaction process, and the key is exclusive and cannot be shared, the security and reliability of the communication data can be effectively ensured: even if the data is stolen by a third party, it cannot be decrypted to obtain plain text; even if the data is tampered with, it cannot be received incorrectly through verification.
[0090] The method provided in the embodiment of the present application cancels the interface for direct external communication of the APP for management and security considerations, and the operation and maintenance management platform is responsible for the unified data reading and writing or command control between the user or the upper-level equipment, and the external communication of the business APP must be transferred by the platform.
[0091] As an optional embodiment, this optional embodiment further optimizes and includes B1-B2:
[0092] B1. Periodically sending online inquiry requests to each application through the communication channel of at least one managed application, and determining the running status of the application according to the reply to the online inquiry request.
[0093] In this embodiment, the online inquiry request can be understood as a request for determining whether the application is running normally. The online inquiry request may carry information or may not carry information, and only instruct the application to respond. The running status of the application may be normal, abnormal, etc.
[0094] The operation and maintenance management platform determines each application it manages, and for each application, periodically generates an online inquiry request according to a set period, and periodically sends the generated online inquiry request to the application through the communication channel corresponding to this application. The period for sending online inquiry requests to each application can be the same, or can be set to be different. For example, each application is divided according to type, and the period for applications of the same type is the same. For the convenience of management, the period for sending online inquiry requests for each application can be set to the same period. After receiving the online inquiry request, each application replies, and the operation and maintenance management platform analyzes the received replies and determines the running status of the application based on whether the application has replied. For example, if a reply from the application is received, the running status of the application is determined to be normal, and if no reply from the application is received, the running status of the application is determined to be abnormal.
[0095] As an optional embodiment, this optional embodiment further optimizes determining the running state of the application according to the reply to the online inquiry request, including C1-C2:
[0096] C1. If a response to the online inquiry request from the application is received within a preset time, it is determined that the running status of the application is normal.
[0097] In this embodiment, the preset time can be set according to demand, for example, the preset time is 1s, 5s, etc. The preset time can be set according to the sending period of the online inquiry request, and the preset time is less than the sending period of the online inquiry request, for example, the preset time = 0.5*period.
[0098] For each application, a timer starts after an online inquiry request is sent to it to determine whether the application returns a corresponding response within a preset time; if a response to the online inquiry request from the application is received within the preset time, it is determined that the running status of the application is normal.
[0099] C2. If no response to the online inquiry request from the application is received within a preset time, the operating system interface is called to read the running information of the application, and the running status of the application is determined according to the running information.
[0100] If no response is received from the application to the online inquiry request within the preset time, the operating system interface is called to read the application's running information. The running information may be thread ID, name, running status, CPU occupancy, stack space and stack pointer, etc. The running status of the application is determined by analyzing the running information. For example, when the CPU occupancy of the application is too high, the running status of the application is determined to be abnormal; if the running information of the application is normal, the running status of the application is determined to be normal.
[0101] B2. If the running status of the application is abnormal for a preset number of consecutive times, call the system interface to restart the application with the abnormal running status.
[0102] When the running status of the application is abnormal for a preset number of consecutive times after sending online query requests to the application multiple times, the system interface is called to restart the application with abnormal running status. After the application is restarted, the online query request is continued to be sent periodically to detect the running status of the application.
[0103] As an optional embodiment, this optional embodiment is further optimized to include: if the number of consecutive restarts of an application whose running status is abnormal reaches a preset threshold, and the running status of the application is still abnormal, calling a system restart interface to restart the operating system.
[0104] In this embodiment, the preset number threshold can be set as required, for example, 3, 4, etc. After restarting an application whose running state is abnormal, the number of restarts of the application is recorded, and the running state of the application is continuously detected. If the running state of the application detected for consecutive preset times is still abnormal, the application is continuously restarted. If the number of consecutive restarts of the application reaches the preset number threshold, the running state of the detected application is still abnormal at this time, and the system restart interface is called to restart the operating system. Restarting the operating system may be a soft restart of the operating system.
[0105] If the running state of the application returns to normal, the recorded restart times are cleared; after the operating system is restarted, the recorded restart times of the application can also be cleared.
[0106] The operation and maintenance management platform in the embodiment of the present application also has the functions of APP operation condition management and rapid exception handling, which is used to monitor whether there are any abnormalities in the operation of each business APP and make early warning processing. Figure 5 A flowchart of application operation status monitoring and exception handling is provided. The operation and maintenance management platform monitors the application operation status and handles exceptions. The operation status monitoring and exception handling principles of each application are the same. Figure 5 Taking the monitoring of the operating conditions of an application and handling of exceptions as an example, the specific implementation steps include:
[0107] S1. Broadcast an online inquiry request to the communication channel of the APP.
[0108] During the operation of the low-voltage intelligent circuit breaker, the operation and maintenance management platform will periodically broadcast online inquiry requests to the communication channels of each APP. The cycle time T can be set, and the default value is 20s. The business APP needs to reply within 0.5*T time after receiving the request to indicate that it is still in online operation.
[0109] S2. Determine whether there is an APP that has not responded / has responded for a timeout. If so, execute S3; if not, execute S11.
[0110] S3. Call the operating system interface to read the running information of the APP.
[0111] Among them, the running information of the APP includes at least one of the following: thread ID, name, running status, CPU occupancy, stack space and stack pointer; by reading the running information, it is determined whether there are abnormal situations such as thread exit, high CPU occupancy, stack out of bounds, etc., and an operation alarm record is made.
[0112] S4. Determine the running status of the APP according to the running information. If it is abnormal, execute S5; if it is normal, execute S11.
[0113] S5. Accumulate the abnormal count of the APP.
[0114] The abnormality count accumulation may be increased by a preset value, for example, by 1.
[0115] S6. Determine whether the abnormal count of the APP is greater than the preset number. If so, execute S7; otherwise, execute S11.
[0116] S7. Call the system interface to restart the corresponding APP.
[0117] S8. Accumulate the number of restarts of the APP.
[0118] The restart times accumulation may be increased by a preset value, for example, by 1.
[0119] S9. Determine whether the number of restarts of the APP is greater than a preset number threshold. If so, execute S10; otherwise, execute S12.
[0120] S10. Call the system restart interface to restart the operating system, and execute S12.
[0121] S11. Clear the APP exception count and restart times.
[0122] S12, end.
[0123] For example, if the abnormal phenomenon of the APP still persists after three consecutive query requests, the operation and maintenance management platform calls the system interface to restart the corresponding APP. If the problem is not solved after restarting the APP three times in a row, the operation and maintenance management platform calls the system restart interface to implement a soft restart of the operating system.
[0124] As an optional embodiment, this optional embodiment is further optimized to include: executing the hardware watchdog feeding operation according to a preset period, so that the watchdog monitoring circuit controls the operating system to restart after failing to detect that the operation and maintenance management platform executes the feeding operation within a preset time range.
[0125] The operation and maintenance management platform feeds the watchdog at preset intervals. When the dog feeding operation is not performed within the preset time range, the watchdog monitoring circuit will determine that the operation and maintenance management platform is abnormal and control the operating system to restart.
[0126] In order to ensure the reliable operation of the operation and maintenance management platform itself, an independent hardware watchdog monitoring circuit is designed. The operation and maintenance management platform needs to send a feeding signal to the watchdog monitoring circuit regularly during operation. If the operation and maintenance management platform does not send a feeding signal within the preset time range, the operation and maintenance management platform is judged to be abnormal, and the watchdog monitoring circuit will reset the main chip to restart the operating system. The main chip is the hardware foundation for the entire software operation, and the operating system runs on the main chip. For example, the operation and maintenance management platform feeds the dog regularly every 10 seconds. When it is not executed for 20 consecutive seconds, the watchdog monitoring circuit will determine the abnormality and reset the main control chip to restart the operating system to ensure that the intelligent circuit breaker itself can respond and handle abnormalities in the first time when the operation occurs, instead of relying solely on manual maintenance.
[0127] As the hub of multi-business APP operation and maintenance management, the operation and maintenance management platform also has functions such as APP upgrade management, APP business traffic monitoring management, APP access object statistics management, APP software version management, circuit breaker cumulative operating time and operation event record management.
[0128] The embodiment of the present invention provides a multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker, which solves the problem that multiple service APPs in low-voltage intelligent circuit breakers cannot be uniformly scheduled and managed. By building an independent operation and maintenance management platform inside the low-voltage intelligent circuit breaker, the interaction with the operating system is realized, the communication with the user or the upper device is realized externally, and the operation and maintenance management of each APP is realized downward, which can effectively improve the operation reliability and operation and maintenance efficiency of the circuit breaker, reduce the input of manual management, and also facilitate the expansion of new service APPs or functional requirements, and have a better level of intelligence. The APP security loading management function of the operation and maintenance management platform can realize the information authentication, resource allocation, security loading and operation management of the new service APP, with stronger security, more flexible resource allocation mode and higher management efficiency. At the same time, with the help of the system's dynamic distributed loading technology, the operation and expansion of the service APP can be made more independent and convenient. The data interaction management function of the operation and maintenance management platform can realize the communication decoupling and security encryption management of data interaction between service APPs, taking into account the characteristics of simplicity, speed, safety and reliability, and can effectively solve the problem of insufficient communication security between current multi-service APPs, and improve the confidentiality and integrity of interactive data. The APP operating condition management function of the operation and maintenance management platform can rely on the current software architecture to more conveniently realize real-time monitoring of the operating conditions of subordinate business APPs, and has the advantages of rapid identification and autonomous processing of abnormal conditions, which can further improve the operating reliability of circuit breakers and reduce operation and maintenance management costs.
[0129] Embodiment 3
[0130] Figure 6 This is a schematic diagram of the structure of a multi-service application operation and maintenance management system based on a low-voltage intelligent circuit breaker provided in the third embodiment of the present invention. Figure 6 As shown, the system includes: an operation and maintenance management platform 31 and an application 32. The operation and maintenance management platform 31 and the application 32 run on an operating system, and the operating system is deployed on a low-voltage intelligent circuit breaker.
[0131] The operation and maintenance management platform 31 is used to receive a registration application for a newly added application 32 sent by a smart device, wherein the registration application includes feature information of the newly added application 32; if the registration application is evaluated to be passed, resources are allocated to the newly added application 32, and the allocated resource information is fed back to the smart device, so that the smart device can obtain an installation package of the newly added application generated by performing configuration updates according to the resource information, and the allocated resources include: system resources and communication channels; receive the installation package of the newly added application sent by the smart device, install the newly added application 32 according to the installation package, and set the state of the newly added application 32 to an isolated running state;
[0132] The newly added application 32 is used to report an activation application to the operation and maintenance management platform 31;
[0133] The operation and maintenance management platform 31 is used to receive the activation application reported by the newly added application 32, verify the activation application according to the registration application, and if the verification passes, release the isolated running state of the newly added application 32, and allocate a pipeline key to the newly added application 32 to enable secure data interaction between applications.
[0134] A multi-service application operation and maintenance management system based on a low-voltage intelligent circuit breaker usually includes one or more applications, and each application is centrally managed by an operation and maintenance management platform. When the system is first deployed, the number of applications may be 0. During use, new applications are continuously deployed through the method provided in the embodiment of the present application, and the number of applications in the system increases. Figure 4 Take multiple applications as an example.
[0135] The embodiment of the present invention provides a multi-service application operation and maintenance management system based on a low-voltage intelligent circuit breaker, which solves the problem that multi-service APPs in low-voltage intelligent circuit breakers cannot be uniformly scheduled and managed. The operation and maintenance management platform uniformly manages the application. When a new application is added to the low-voltage intelligent circuit breaker, a registration application is sent to the operation and maintenance management platform through an intelligent device. The operation and maintenance management platform evaluates the registration application, and after the evaluation is passed, resources are allocated to install the new application. The installation of the new application is achieved by allocating system resources, and data transmission is achieved by allocating communication pipelines, so as to avoid data interference when multiple applications perform data interaction at the same time, avoid data loss and leakage, and ensure the security of data interaction; after the new application is installed, it is set to an isolated running state, and the activation application reported by the new application is received and after verification, the isolated running state is released. At this time, the application can run normally, and information is exchanged with other applications through the operation and maintenance management platform. To ensure data security, a pipeline key is allocated to the new application, and the application is uniformly managed through the operation and maintenance management platform, which effectively improves the security and efficiency of data interaction.
[0136] Optionally, the characteristic information includes at least one of the following: application name, occupied memory resources, and number of threads.
[0137] Optionally, the activation application includes: ciphertext obtained by encrypting the characteristic information of the newly added application;
[0138] Accordingly, the operation and maintenance management platform 31 includes:
[0139] A characteristic information encryption module, used to encrypt the characteristic information in the registration application according to a preset encryption algorithm and key to obtain a ciphertext to be verified;
[0140] The verification module is used to compare whether the ciphertext in the activation application is consistent with the ciphertext to be verified. If they are consistent, it is determined that the activation application verification has passed; otherwise, it is determined that the activation application verification has failed.
[0141] Optionally, the operation and maintenance management platform 31 includes:
[0142] An address number generating module, used for randomly generating a set number of address numbers according to the characteristic information, each of the address numbers corresponding to one byte;
[0143] The pipeline key generation module is used to generate pipeline key information according to each of the address numbers, and the pipeline key information is used to indicate the pipeline key.
[0144] Optionally, the first application 31 is used to generate first data to be transmitted according to a set communication protocol format and encrypt it according to a pipeline key corresponding to the first application, and send the first data to be transmitted to the operation and maintenance management platform through the communication pipeline between the first application and the operation and maintenance management platform 31;
[0145] The operation and maintenance management platform 31 is used to decrypt the first data to be transmitted according to the pipeline key corresponding to the first application, verify the decrypted first data to be transmitted, and if the verification passes, determine the second application as the data receiver; encrypt the decrypted first data to be transmitted according to the pipeline key corresponding to the second application to obtain the second data to be transmitted; and send the second data to be transmitted to the second application through the communication pipeline between the second application;
[0146] The second application is used to decrypt the second data to be transmitted according to the corresponding pipeline key to obtain the transmitted data.
[0147] Optionally, the operation and maintenance management platform 31 includes:
[0148] A running status determination module, configured to periodically send an online inquiry request to each of the managed applications through a communication channel of at least one application, and determine the running status of the application according to a reply to the online inquiry request;
[0149] The application restart module is used to call the system interface to restart the application with abnormal running status if the running status of the application is abnormal for a preset number of consecutive times.
[0150] Optionally, the operating status determination module includes:
[0151] an operation status determination unit, configured to determine that the operation status of the application is normal if a response to the online inquiry request from the application is received within a preset time;
[0152] The operation information determination unit is used to call the operating system interface to read the operation information of the application if no response to the online inquiry request from the application is received within a preset time, and determine the operation status of the application according to the operation information.
[0153] Optionally, the operation and maintenance management platform 31 further includes:
[0154] The system restart module is used to call the system restart interface to restart the operating system if the number of consecutive restarts of the application program with abnormal running status reaches a preset number threshold and the running status of the application program is still abnormal.
[0155] Optionally, the operation and maintenance management platform 31 is further used for:
[0156] The hardware watchdog feeding operation is performed according to a preset period, so that the watchdog monitoring circuit controls the operating system to restart after failing to detect that the operation and maintenance management platform performs the feeding operation within a preset time range.
[0157] The multi-business application operation and maintenance management system based on low-voltage intelligent circuit breakers provided in an embodiment of the present invention can execute the multi-business application operation and maintenance management method based on low-voltage intelligent circuit breakers provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0158] Embodiment 4
[0159] Figure 7 A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0160] like Figure 7As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.
[0161] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0162] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as a multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker.
[0163] In some embodiments, the multi-service application operation and maintenance management method based on the low-voltage intelligent circuit breaker can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the multi-service application operation and maintenance management method based on the low-voltage intelligent circuit breaker described above can be executed. Alternatively, in other embodiments, the processor 41 can be configured to execute the multi-service application operation and maintenance management method based on the low-voltage intelligent circuit breaker in any other appropriate manner (for example, by means of firmware).
[0164] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0165] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0166] An embodiment of the present invention provides a computer program product, which includes a computer program. When the computer program is executed by a processor, it implements the multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker described in any embodiment of the present invention.
[0167] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0168] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0169] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0170] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0171] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0172] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker, characterized in that: Applied to an operation and maintenance management platform, the operation and maintenance management platform runs on an operating system, and the operating system is deployed on a low-voltage intelligent circuit breaker. The method includes: Receive a registration application for a newly added application sent by a smart device, wherein the registration application includes feature information of the newly added application; If the registration application is evaluated as passed, resources are allocated to the newly added application, and the allocated resource information is fed back to the smart device so that the smart device can obtain the installation package of the newly added application generated by the configuration update according to the resource information, and the allocated resources include: system resources and communication channels; Receive the installation package of the newly added application sent by the smart device, install the newly added application according to the installation package, and set the state of the newly added application to an isolated running state; Receive the activation application reported by the newly added application, verify the activation application according to the registration application, if the verification passes, release the isolated running state of the newly added application, and allocate a pipeline key to the newly added application to perform secure data interaction between applications.
2. The method according to claim 1, characterized in that: The characteristic information includes at least one of the following: application name, occupied memory resources, and number of threads.
3. The method according to claim 1, characterized in that The activation application includes: ciphertext obtained by encrypting the characteristic information of the newly added application; Accordingly, the verifying the activation application according to the registration application includes: Encrypting the characteristic information in the registration application according to a preset encryption algorithm to obtain a ciphertext to be verified; It is determined whether the ciphertext in the activation application is consistent with the ciphertext to be verified. If they are consistent, it is determined that the activation application verification has passed; otherwise, it is determined that the activation application verification has failed.
4. The method according to claim 1, characterized in that The allocating a pipeline key to the newly added application comprises: Randomly generate a set number of address numbers, each of which corresponds to one byte of characteristic information; Pipeline key information is generated according to each of the address numbers, and the pipeline key information is used to indicate a pipeline key.
5. The method according to claim 1, characterized in that Also includes: Receiving first data to be transmitted sent by the first application through a communication channel between the first application, where the first data to be transmitted is generated by the first application according to a set communication protocol format and encrypted according to a channel key corresponding to the first application; decrypting the first data to be transmitted according to the pipeline key corresponding to the first application, verifying the decrypted first data to be transmitted, and determining the second application as the data receiver if the verification passes; Encrypting the decrypted first data to be transmitted according to the pipeline key corresponding to the second application to obtain second data to be transmitted; The second data to be transmitted is sent to the second application via a communication channel between the second application, so that the second application decrypts the second data to be transmitted according to a corresponding channel key to obtain the transmitted data.
6. The method according to claim 1, characterized in that Also includes: Periodically sending an online inquiry request to each of the applications through a communication channel of at least one managed application, and determining the running status of the application according to a reply to the online inquiry request; If the running status of the application is abnormal for a preset number of consecutive times, a system interface is called to restart the application with the abnormal running status.
7. The method according to claim 6, characterized in that Determining the running status of the application according to the reply to the online inquiry request includes: If a response to the online inquiry request from the application is received within a preset time, determining that the running status of the application is normal; If no response to the online inquiry request is received from the application within a preset time, the operating system interface is called to read the running information of the application, and the running status of the application is determined according to the running information.
8. The method according to claim 6, characterized in that Also includes: If the number of consecutive restarts of the application program whose running status is abnormal reaches a preset number threshold, and the running status of the application program is still abnormal, a system restart interface is called to restart the operating system.
9. The method according to claim 1, characterized in that: Also includes: The hardware watchdog feeding operation is performed according to a preset period, so that the watchdog monitoring circuit controls the operating system to restart after failing to detect that the operation and maintenance management platform performs the feeding operation within a preset time range.
10. A multi-service application operation and maintenance management system based on low-voltage intelligent circuit breakers, characterized in that: include: An operation and maintenance management platform and an application program, wherein the operation and maintenance management platform and the application program run on an operating system, and the operating system is deployed on a low-voltage intelligent circuit breaker; The operation and maintenance management platform is used to receive a registration application for a newly added application sent by a smart device, wherein the registration application includes feature information of the newly added application; If the registration application is evaluated as passed, resources are allocated to the newly added application, and the allocated resource information is fed back to the smart device, so that the smart device can obtain the installation package of the newly added application generated by the configuration update according to the resource information, and the allocated resources include: system resources and communication channels; receiving the installation package of the newly added application sent by the smart device, installing the newly added application according to the installation package, and setting the state of the newly added application to an isolated running state; The newly added application is used to report an activation application to the operation and maintenance management platform; The operation and maintenance management platform is used to receive the activation application reported by the newly added application, verify the activation application according to the registration application, and if the verification passes, release the isolated running state of the newly added application and allocate a pipeline key to the newly added application to enable secure data interaction between applications.
11. The system according to claim 10, characterized in that The activation application includes: ciphertext obtained by encrypting the characteristic information of the newly added application; Accordingly, the operation and maintenance management platform includes: A characteristic information encryption module, used to encrypt the characteristic information in the registration application according to a preset encryption algorithm to obtain a ciphertext to be verified; The verification module is used to compare whether the ciphertext in the activation application is consistent with the ciphertext to be verified. If they are consistent, it is determined that the activation application verification has passed; otherwise, it is determined that the activation application verification has failed.
12. The system according to claim 10, characterized in that The operation and maintenance management platform includes: An address number generating module, used for randomly generating a set number of address numbers according to the characteristic information, each of the address numbers corresponding to one byte; The pipeline key generation module is used to generate pipeline key information according to each of the address numbers, and the pipeline key information is used to indicate the pipeline key.
13. The system according to claim 10, characterized in that A first application is used to generate first data to be transmitted according to a set communication protocol format and encrypt the data according to a pipeline key corresponding to the first application, and send the first data to be transmitted to the operation and maintenance management platform through a communication pipeline between the first application and the operation and maintenance management platform; The operation and maintenance management platform is used to decrypt the first data to be transmitted according to the pipeline key corresponding to the first application, verify the decrypted first data to be transmitted, and determine the second application as the data recipient if the verification passes; Encrypting the decrypted first data to be transmitted according to the pipeline key corresponding to the second application to obtain second data to be transmitted; and sending the second data to be transmitted to the second application through the communication pipeline between the second application; The second application is used to decrypt the second data to be transmitted according to the corresponding pipeline key to obtain the transmitted data.
14. The system according to claim 10, characterized in that The operation and maintenance management platform includes: A running status determination module, configured to periodically send an online inquiry request to each of the managed applications through a communication channel of at least one application, and determine the running status of the application according to a reply to the online inquiry request; The application restart module is used to call the system interface to restart the application with abnormal running status if the running status of the application is abnormal for a preset number of consecutive times.
15. The system according to claim 14, characterized in that The operating status determination module comprises: an operation status determination unit, configured to determine that the operation status of the application is normal if a response to the online inquiry request from the application is received within a preset time; The operation information determination unit is used to call the operating system interface to read the operation information of the application if no response to the online inquiry request from the application is received within a preset time, and determine the operation status of the application according to the operation information.
16. The system according to claim 14, characterized in that The operation and maintenance management platform further includes: The system restart module is used to call the system restart interface to restart the operating system if the number of consecutive restarts of the application program with abnormal running status reaches a preset number threshold and the running status of the application program is still abnormal.
17. The system according to claim 10, characterized in that The operation and maintenance management platform is also used for: The hardware watchdog feeding operation is performed according to a preset period, so that the watchdog monitoring circuit controls the operating system to restart after failing to detect that the operation and maintenance management platform performs the feeding operation within a preset time range.
18. An electronic device, characterized in that: The electronic device comprises: at least one processor, and a memory communicatively coupled to the at least one processor; In which, the memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the multi-business application operation and maintenance management method based on the low-voltage intelligent circuit breaker as described in any one of claims 1-9.
19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker according to any one of claims 1 to 9 when executed.
20. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker according to any one of claims 1 to 9.
Citation Information
Patent Citations
Smart switch, host registration method thereof and smart control network
CN104298176A
An equipment group authentication method and system based on multivariate identities
CN109936509A
Message interaction device and method for low-voltage intelligent circuit breaker
CN116191665A
Intelligent switch control unit, hardware architecture, function implementation method and intelligent switch
CN116723235A
Application program updating method and device, computer equipment and storage medium
CN118860433A