CN119938074B - Multi-service application program operation and maintenance management method and system based on low-voltage intelligent circuit breaker - Google Patents
Multi-service application program operation and maintenance management method and system based on low-voltage intelligent circuit breakerInfo
- Publication number
- CN119938074B CN119938074B CN202510007257.8A CN202510007257A CN119938074B CN 119938074 B CN119938074 B CN 119938074B CN 202510007257 A CN202510007257 A CN 202510007257A CN 119938074 B CN119938074 B CN 119938074B
- Authority
- CN
- China
- Prior art keywords
- application program
- application
- newly
- maintenance management
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Storage Device Security (AREA)
Abstract
The invention discloses a multi-service application operation and maintenance management method and system based on a low-voltage intelligent circuit breaker, comprising the steps of receiving a registration application of an newly added application program sent by intelligent equipment; the method comprises the steps of carrying out resource allocation on a newly-added application program if a registration application evaluation passes, feeding back allocated resource information to the intelligent device, receiving an installation package of the newly-added application program sent by the intelligent device, installing the newly-added application program according to the installation package, setting the state of the newly-added application program to be an isolated running state, receiving an activation application reported by the newly-added application program, checking the activation application according to the registration application, and if the activation application passes, releasing the isolated running state of the newly-added application program, and distributing a pipeline key for the newly-added application program so as to carry out safe data interaction among the application programs. The problem that multiple APP cannot be uniformly scheduled and managed in the low-voltage intelligent circuit breaker is solved, application programs are uniformly managed, and safety and efficiency are improved.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a multi-service application program operation and maintenance management method and system based on a low-voltage intelligent circuit breaker.
Background
In recent years, the circuit breaker (switch) applied to the low-voltage distribution network is continuously developed towards the intelligent direction, and the technical route of a fusion terminal is inherited on the basis of the measurement, communication and topology identification of the original intelligent switch, so that the hardware platformization and the software APP formation of the low-voltage circuit breaker are realized by further extension and expansion. However, the following problems are caused after the application software service function is subjected to APP:
(1) The intelligent circuit breaker has the advantages that the service APP has strong mutual coupling, loading and running lack of effective supervision, and when the APP is newly added, management can be performed only by users or developers, on one hand, potential safety hazards exist, the unknown APP can cause abnormal operation or even dead halt of the intelligent circuit breaker once being privately installed or misinstalled, on the other hand, due to the mutual coupling among services, the APP is newly added, modification of part of existing APP can be related, expansibility is insufficient, and the management is very inconvenient along with the increase of the quantity of the service APP.
(2) Different services APP need to realize data interaction by establishing communication among the services APP, and as the number of the APP increases, the occupation of system resources can increase by times. Meanwhile, due to the lack of unified scheduling, multiple APP's are easy to interfere with each other when performing data interaction simultaneously, so that data is lost and leaked, and the safety of data interaction among the APP's is difficult to guarantee.
Aiming at the operation and maintenance management problem of the low-voltage intelligent breaker when the multi-service APP coexist, the management is mainly carried out manually by users at present, the whole service operation scheduling management can not be carried out, and the data interaction safety and efficiency can not be ensured.
Disclosure of Invention
The invention provides a multi-service application program operation and maintenance management method and system based on a low-voltage intelligent circuit breaker, which are used for solving the problem that multi-service APP in the low-voltage intelligent circuit breaker cannot be uniformly scheduled and managed and improving the safety and efficiency of data interaction.
According to an aspect of the present invention, there is provided a multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker, applied to an operation and maintenance management platform, the operation and maintenance management platform running on an operating system, the operating system being deployed on the low-voltage intelligent circuit breaker, the method comprising:
receiving a registration application of an newly added application program sent by intelligent equipment, wherein the registration application comprises characteristic information of the newly added application program;
If the registration application evaluation passes, performing resource allocation on the newly-added application program, and feeding back allocated resource information to the intelligent equipment so that the intelligent equipment acquires an installation package of the newly-added application program generated by configuration updating according to the resource information, wherein the allocated resources comprise system resources and a communication pipeline;
Receiving an installation package of the newly-added application program sent by the intelligent device, installing the newly-added application program according to the installation package, and setting the state of the newly-added application program to be an isolated running state;
and receiving an activation application reported by the newly-added application program, checking the activation application according to the registration application, and if the verification is passed, releasing the isolated running state of the newly-added application program and distributing a pipeline key for the newly-added application program so as to perform safe data interaction between the application programs.
According to another aspect of the invention, a multi-service application operation and maintenance management system based on a low-voltage intelligent circuit breaker is provided, comprising 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 the low-voltage intelligent circuit breaker;
The operation and maintenance management platform is used for receiving a registration application of a newly-added application program sent by an intelligent device, wherein the registration application comprises characteristic information of the newly-added application program, if the registration application is evaluated to pass, resource allocation is carried out on the newly-added application program, and the allocated resource information is fed back to the intelligent device, so that the intelligent device acquires an installation package of the newly-added application program generated by configuration updating according to the resource information, and the allocated resource comprises system resources and a communication pipeline;
the newly added application program is used for reporting an activation application to the operation and maintenance management platform;
And the operation and maintenance management platform is used for receiving the activation application reported by the newly-added application program, checking the activation application according to the registration application, and if the verification is passed, releasing the isolated running state of the newly-added application program and distributing a pipeline key for the newly-added application program so as to perform safe data interaction between the application programs.
According to another aspect of the present invention, there is provided an electronic apparatus including:
At least one processor, and a memory communicatively coupled to the at least one processor;
The memory stores a computer program executable by the at least one processor, so that the at least one processor can execute the multi-service application operation and maintenance management method based on the low-voltage intelligent circuit breaker according to any embodiment of the invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement the multi-service application operation and maintenance management method based on a low voltage intelligent breaker according to any embodiment of the present invention when executed.
According to another aspect of the present invention, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the multi-service application operation and maintenance management method based on a low voltage intelligent breaker according to any of the embodiments of the present invention.
According to the technical scheme, the operation and maintenance management platform is used for carrying out operation and maintenance management on the multi-service application program of the low-voltage intelligent circuit breaker, and the operation and maintenance management platform receives a registration application of the newly added application program sent by the intelligent equipment, wherein the registration application comprises characteristic information of the newly added application program; if the registration application evaluation passes, performing resource allocation on the newly-added application program, feeding back allocated resource information to the intelligent device so that the intelligent device acquires an installation package of the newly-added application program generated by configuration updating according to the resource information, wherein the allocated resource comprises system resources and a communication pipeline, the installation package of the newly-added application program sent by the intelligent device is received, the newly-added application program is installed according to the installation package, the state of the newly-added application program is set to be an isolated running state, an activation application reported by the newly-added application program is received, the activation application is checked according to the registration application, if the verification passes, the isolated running state of the newly-added application program is released, a pipeline key is allocated for the newly-added application program so as to perform safe data interaction between the application programs, the problem that multi-service APP in a low-voltage intelligent circuit breaker cannot be uniformly scheduled and managed is solved, when the newly-added application program is installed on the low-voltage intelligent circuit breaker, the newly-added application program is set to be an isolated running state through the intelligent device, the newly-added application program is set to be an isolated running state after the application program is installed, the application is evaluated by the intelligent device, and the application is set to be an isolated running state after the application is installed, and after the verification is passed, the application program in the isolation running state is released to normally run, the operation and maintenance management platform performs information interaction with other application programs, a pipeline key is distributed for ensuring the data security for the newly added application program, and the operation and maintenance management platform performs unified management on the application program, so that the safety and efficiency of data interaction are effectively improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker according to a first embodiment of the present invention;
fig. 2 is a schematic diagram of a low-voltage intelligent circuit breaker according to a first embodiment of the present invention;
fig. 3 is a flowchart of a multi-service application operation and maintenance management method based on a low-voltage intelligent breaker according to a second embodiment of the present invention;
FIG. 4 is a schematic diagram of data interaction management according to a second embodiment of the present invention;
FIG. 5 is a flow chart of monitoring and exception handling for an application according to a second embodiment of the present invention;
Fig. 6 is a schematic structural diagram of a multi-service application operation and maintenance management system based on a low-voltage intelligent breaker according to a third embodiment of the present invention;
Fig. 7 is a schematic structural diagram of an electronic device implementing a multi-service application operation and maintenance management method based on a low-voltage intelligent breaker according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements that are expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker according to an embodiment of the present invention, where the embodiment is applicable to a case of performing operation and maintenance management on a multi-service application of a low-voltage intelligent circuit breaker, the method may be executed by an operation and maintenance management platform, the operation and maintenance management platform operates on an operating system, and the operating system is deployed on the low-voltage intelligent circuit breaker. By way of example, fig. 2 provides an architecture diagram of a low-voltage intelligent circuit breaker, a software operating system 11 based on the low-voltage intelligent circuit breaker creates an embedded APP comprehensive operation and maintenance management platform 12, a kernel allocates resources and opens interface call permissions to implement function call and information interaction between the operation and maintenance management platform 12 and the operating system 11, and each application program 13 only retains necessary interface call permissions such as peripherals and file systems, so that the operation and maintenance management platform 12 performs unified authentication and operation management, and provides security for operation conditions of each APP and data interaction between each other. The operation and maintenance management platform 12 may interact with the user/superior device 14 through an external interface.
As shown in fig. 1, the method includes:
S101, receiving a registration application of the newly added application program sent by the intelligent device, wherein the registration application comprises characteristic information of the newly added application program.
In this embodiment, the smart device may be any electronic device with data processing capability, such as a smart phone, a computer, or a tablet computer. The registration application may be understood as a request for application installation of an application to the operation and maintenance management platform. The feature information may be understood as information describing characteristics of running information, identification, etc. of the application. The application program can be an application program for executing corresponding service in the low-voltage intelligent breaker, and the operation and maintenance management platform can manage different service application programs.
When a new application program needs to be loaded, the low-voltage intelligent circuit breaker firstly determines the characteristic information of the newly-added application program, and establishes communication connection with the operation and maintenance management platform through the intelligent equipment. The feature information of the newly added application program can be manually input by a user on the intelligent device, can be stored in a file in advance, and can be obtained by reading the file through the intelligent device. After determining the characteristic information of the newly added application program, the intelligent device generates a registration application according to the characteristic information of the application program and sends the registration application to the operation and maintenance management platform.
The operation and maintenance management platform has a service APP security loading management function and is responsible for information authentication, resource allocation and operation management of all service APPs. If a new service APP needs to be loaded in the low-voltage intelligent circuit breaker, communication needs to be established with an operation and maintenance management platform in the circuit breaker through intelligent equipment (such as a client or a master station), hierarchical authority authentication needs to be performed firstly for communication, wherein the low-voltage intelligent circuit breaker comprises three authorities including an administrator, a debugger and an auditor, the administrator has the highest authority and can create a new debugger and auditor account number, the debugger has the authority of reading the running information of the circuit breaker and modifying the fixed value parameter of the equipment, and the auditor has the authority of reading and inquiring the event record and the running log of the circuit breaker. The account login passwords before leaving the factory are all default values, and the operation and maintenance management platform forms a new login white list after user modification is effective. The registration application can be initiated by any account number, and the account number for initiating the registration application can also be controlled by a set rights item, for example, only the account number of the administrator has the right to initiate the registration application.
Optionally, the characteristic information at least comprises one of application program name, occupied memory resource and thread number.
S102, if the registration application evaluation passes, performing resource allocation on the newly-added application program, and feeding back the allocated resource information to the intelligent device, so that the intelligent device obtains an installation package of the newly-added application program generated by performing configuration updating according to the resource information, wherein the allocated resources comprise system resources and a communication pipeline.
And evaluating the registration application, judging whether the residual resources of the operating system in the low-voltage intelligent circuit breaker support the installation of the newly-added application program according to the characteristic information of the newly-added application program, if so, determining that the registration application evaluation passes, and if not, determining that the registration application evaluation fails, and the application program cannot be installed. If the registration application evaluation passes, the resource allocation is performed on the newly added application program, and system resources and communication pipelines are allocated for the newly added application program, wherein the system resources can be the starting address and the size of a memory space, the ID code of the application program and the like, and the communication pipelines are channels for completing data transmission. And feeding the allocated resource information back to the intelligent equipment, wherein the intelligent equipment can acquire an installation package of the newly-added application program generated by carrying out configuration updating according to the resource information. After the intelligent device receives the allocated resource information, the intelligent device can update the configuration of the newly-added application program according to the allocated resource information and generate an installation package, or the intelligent device sends the resource information to other devices, the other devices update the configuration of the newly-added application program according to the resource information and generate the installation package and then feed back the installation package to the intelligent device, and the intelligent device installs the application program to an operating system so that the newly-added application program can be normally installed. For example, if the assigned processor FLASH starting address is 0x08050000 and the size is 64k, the loading domain configuration of the newly added application program is correspondingly modified, and so on.
After the operation and maintenance management platform evaluates and identifies the registration application, if the registration application evaluation passes, the registration application can be added into an APP registration information list, and the list comprises registration time and account numbers so as to trace back and support manager authority reading. After the newly added APP is updated and configured according to the information, dynamic scattered loading can be realized based on an operating system.
S103, receiving an installation package of the newly-added application program sent by the intelligent device, installing the newly-added application program according to the installation package, and setting the state of the newly-added application program as an isolated running state.
In this embodiment, the isolated running state may be understood as a running state of an application program, in which the application program cannot interact information with other application programs.
And after updating the configuration and generating an installation package, the newly added application program sends the installation package to the operation and maintenance management platform through the intelligent equipment. The operation and maintenance management platform receives the installation package of the newly added application program, and installs the newly added application program based on the installation package of the application program, and the operation and maintenance management platform can call the system interface to burn and install the newly added application program. The application program is installed in the operating system, and since the operating system is deployed on the low-voltage intelligent circuit breaker, the application program can finally run on the low-voltage intelligent circuit breaker. After the application program is installed, the state of the newly-added application program installed at this time is set to be an isolated running state.
And S104, receiving an activation application reported by the newly-added application program, checking the activation application according to the registration application, and if the verification is passed, releasing the isolated running state of the newly-added application program and distributing a pipeline key for the newly-added application program so as to perform safe data interaction between the application programs.
In this embodiment, the pipeline key may be understood as a key used to encrypt data when an application program and an operation and maintenance management platform perform data interaction through a communication pipeline.
The operation and maintenance management platform calls a system interface to monitor the running information of the newly added application program, and waits for the application program to report an activation application on the distributed communication pipeline. The newly added application program can actively report the activation application, or can set a reporting condition, and generate and report the activation application after meeting the reporting condition. The reporting condition may be that a certain running information of the application program meets a certain condition, or that the running time exceeds a certain threshold, etc. And the operation and maintenance management platform receives an activation application reported by the newly-added application program through a communication pipeline distributed for the newly-added application program. The activation application can carry the related information of the application program, after the operation and maintenance management platform receives the activation application, the operation and maintenance management platform checks the activation application according to the registration request, judges whether the application program is the application program installed according to the registration request, if so, the application program passes the check, otherwise, the check fails. If the verification is passed, the isolation running state of the newly added application program is released, and the newly added application program can normally interact data with other application programs through the operation and maintenance management platform. The operation and maintenance management platform distributes a pipeline key for the newly-added application program, for example, the pipeline key is randomly generated and sent to the newly-added application program, or the operation and maintenance management platform and the newly-added application program both store the same key table in advance, the key table comprises the key and the corresponding identification thereof, the operation and maintenance management platform indicates the identification of the newly-added application program key, the newly-added application program inquires the corresponding key from the key table according to the identification of the key, the key is used as the pipeline key, and when the application program and the operation and maintenance management platform perform data interaction, the data is encrypted according to the pipeline key, so that the data security is ensured.
The embodiment of the invention provides a multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker, which solves the problem that multi-service APP in the low-voltage intelligent circuit breaker cannot be uniformly scheduled and managed, an operation and maintenance management platform uniformly manages application programs, when the application programs are newly added on the low-voltage intelligent circuit breaker, a registration application is sent to the operation and maintenance management platform through intelligent equipment, the operation and maintenance management platform evaluates the registration application, resource allocation is carried out after the evaluation is passed so as to install the newly added application programs, the installation of the newly added application programs is realized through allocation of system resources, the transmission of data is realized through allocation of communication pipelines, the condition that data interference occurs when the multi-application programs simultaneously carry out data interaction is avoided, the data is prevented from being lost and leaked, the safety of the data interaction is ensured, the newly added application programs are set into an isolated operation state after the installation of the application programs, the newly added application programs are released from being activated, the application programs at the moment can normally run after the verification is passed, the operation of the application programs can be carried out through the operation and the operation management platform, the operation of the operation management platform and other application programs are carried out information interaction, the system is used for ensuring that the data safety is the newly added application programs, the transmission is realized, and the safety of the unified key management is carried out through the operation and the operation management platform.
Example two
Fig. 3 is a flowchart of a multi-service application operation and maintenance management method based on a low-voltage intelligent circuit breaker according to a second embodiment of the present invention, where the present embodiment is refined on the basis of the foregoing embodiment. As shown in fig. 3, the method includes:
S201, receiving a registration application of the newly added application program sent by the intelligent device, wherein the registration application comprises characteristic information of the newly added application program.
S202, if the registration application evaluation passes, performing resource allocation on the newly-added application program, and feeding back the allocated resource information to the intelligent device, so that the intelligent device obtains an installation package of the newly-added application program generated by performing configuration updating according to the resource information, wherein the allocated resources comprise system resources and a communication pipeline.
S203, receiving an installation package of the newly-added application program sent by the intelligent device, installing the newly-added application program according to the installation package, and setting the state of the newly-added application program as an isolated running state.
S204, receiving an activation application reported by the newly added application program, and encrypting the characteristic information in the registration application according to a preset encryption algorithm to obtain a ciphertext to be verified.
Optionally, the activation application comprises a ciphertext obtained by encrypting the characteristic information of the newly added application program;
The newly added application program encrypts the characteristic information used for registration to obtain a corresponding ciphertext, and sends the ciphertext serving as an activation application to the operation and maintenance management platform through the distributed communication pipeline. The characteristic information may be encrypted by using a set algorithm, for example, an irreversible Hash algorithm is used to encrypt the characteristic information into 16 bytes of data.
In this embodiment, the ciphertext to be verified may be understood as the ciphertext that needs to be verified. After receiving the activation application, the operation and maintenance management platform encrypts the characteristic information carried in the registration application by adopting a preset encryption algorithm, wherein the preset encryption algorithm is consistent with an algorithm used when the newly added application program is encrypted, and can be pre-agreed with the encryption algorithm. And encrypting the characteristic information to obtain the ciphertext to be verified.
S205, judging whether the ciphertext in the activation application is consistent with the ciphertext to be verified, if not, executing S206, and if so, executing S207.
And the operation and maintenance management platform compares the ciphertext in the activation application with the ciphertext to be verified, and ensures the consistency of the newly added application program and the registration information.
S206, determining that the verification of the activation application is not passed.
If the verification of the activation application is not passed, the operation and maintenance management platform directly kills the newly added application program, and the application program needs to be applied for registration again. The operation and maintenance management platform can log off the application program in the registration information list.
S207, determining that the verification of the activation application passes.
S208, releasing the isolated running state of the newly added application program.
And after the activation verification is passed, determining that the application program is installed correctly, and releasing the isolated running state of the newly added application program.
S209, randomly generating a set number of address numbers, wherein each address number corresponds to one byte of the characteristic information.
In the present embodiment, the set number may be set in advance according to the byte length of the feature information, for example, the byte length of the feature information is 16 bytes, and the set number is 16. The address number indicates an address where the key information is stored.
The method comprises the steps of determining the byte length of characteristic information, determining the set number according to the byte length, randomly generating the number of the set number, taking the generated number as an address number, and indicating a key storage address through the address number. Wherein each address number corresponds to one byte of the characteristic information.
S210, generating pipeline key information according to each address number, wherein the pipeline key information is used for indicating the pipeline key.
In the present embodiment, the conduit key information may be understood as information describing a conduit key from which the conduit key may be determined. The pipeline key information is generated based on each address number, for example, each address number is sequentially ordered in order, and the obtained value is the pipeline key information.
And the operation and maintenance management platform sends the pipeline key information to the newly-added application program through the communication pipeline. And after receiving the pipeline key information, the newly added application program sequentially takes out corresponding values from the characteristic information according to each address number indicated in the pipeline key information to form the pipeline key.
After the newly added APP is activated and operated, the operation and maintenance management platform will receive the concurrent pipeline key information automatically created by, for example, the pipeline key information is a dedicated key address of 16 bytes, each byte represents a randomly generated address number, byte addresses corresponding to the characteristic information content of the APP respectively, the actual values are taken out from the corresponding addresses to form the final pipeline key dedicated to the application program, and for example, the address numbers are 01, 05, 08 and 07 respectively, and the corresponding values are taken out from address 01, address 05, address 08 and address 07 respectively to form the pipeline key. Because APP characteristic information only knows APP itself and fortune dimension management platform, so privacy that can ensure the secret key. Meanwhile, in order to consider communication safety and efficiency, the interactive message of the service APP adopts a symmetric key block encryption algorithm, the key length is 16 bytes, the block word length is 32 bits, the encryption round number is 6, and data encryption is realized through multi-round mixed bit operation of the block. Each group of pipelines is paired with a dedicated key for realizing encryption and decryption of the interactive message, and the operation and maintenance management platform is responsible for management of the dedicated keys of each group of pipelines.
As an alternative embodiment, this alternative embodiment further optimizes the steps comprising A1-A4:
a1, receiving first data to be transmitted sent by the first application program through a communication pipeline between the first application program and the first application program, wherein the first data to be transmitted is generated by the first application program according to a set communication protocol format and is obtained by encrypting according to a pipeline key corresponding to the first application program.
In this embodiment, the first data to be transmitted may be understood as data to be transmitted, which may be operation data generated during the operation of the application program, data interacted with a user during the operation of the application program, or data generated by processing data interacted with a user, and so on. The first application and the second application are one type of application managed by the operation and maintenance management platform. The first application program and the second application program firstly register application on the operation and maintenance management platform, are installed after passing, and then are distributed with pipeline keys by the operation and maintenance management platform, and the application programs can perform data transmission and interaction according to the pipeline keys. Any application program managed by the operation and maintenance management platform can be used as a first application program for data transmission and can also be used as a second application program for data reception.
The first application program generates first data to be transmitted after meeting the condition of data transmission, for example, the first application program obtains the data of a set type to confirm that the condition of data transmission is met, the first application program confirms that the data exceeds a certain threshold value to confirm that the condition of data transmission is met after obtaining the data, and the like. When the first application program generates first data to be transmitted, firstly determining the data to be transmitted, then processing the data according to a set communication protocol format to generate data with a specific format, for example, the set communication protocol format defines the format of the data, the data needs to comprise a sender and a receiver, and encrypting the generated data with the specific format according to a pipeline key corresponding to the first application program to obtain the first data to be transmitted. The first application program sends the first data to be transmitted to the operation and maintenance management platform through a communication pipeline between the first application program 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 program through the communication pipeline between the first application program and the operation and maintenance management platform.
The first data to be transmitted may include at least one of a reception identification code, a transmission identification code, a data length, and a data Payload. Payload is comprised of one or more of control code, data and check code.
And A2, decrypting the first data to be transmitted according to the pipeline key corresponding to the first application program, checking the decrypted first data to be transmitted, and if the first data to be transmitted passes the checking, determining a second application program serving as a data receiver.
And determining a pipeline key corresponding to the first application program, and managing one or more application programs by the operation and maintenance management platform, wherein each application program corresponds to one pipeline key. The operation and maintenance management platform can correspondingly store the pipeline key corresponding to each application program through a data table or other forms. After receiving the first data to be transmitted sent by the first application program, determining a pipeline key corresponding to the first application program by means of inquiring a data table and the like. Decrypting the first data to be transmitted according to the pipeline key, checking the decrypted first data to be transmitted, for example, checking parameters such as a check code are included in the plaintext data corresponding to the first data to be transmitted, and checking the decrypted plaintext data according to the checking parameters after decryption. If the verification is passed, a data receiver is determined according to the information carried by the decrypted first data to be transmitted, and then the data receiver is determined to be a second application program.
Illustratively, table 1 provides a communication protocol format defining the format of data transmission.
TABLE 1
| Frame header | Transmitting an identification code | Receiving an identification code | Frame number | Data length | Data Payload | Frame end |
| 0x68 | 1Byte | 1Byte | 1Byte | 2Byte | Length of indefinite length | 0x16 |
The message is framed according to the low byte before and the high byte after. The method comprises the steps of sending an identification code to be the identity code of a message sender APP, receiving the identification code to be the identity code of a message receiver APP, and distributing by an operation and maintenance management platform when APP registration is completed. The frame sequence number is used for synchronizing the request frame and the response frame, so that the communication reliability can be improved, the message requester maintains the frame sequence number used by the adjacent frame self-increases, the minimum value is 1, and the maximum value is 0xFF. The data length represents the immediately following Payload length, and the Payload is composed of a control code, data and a check code, wherein the control code identifies the data characteristic for the purpose of identifying the frame message by the receiver, and the check code is a binary arithmetic sum (without exceeding an overflow value of 256) of all bytes before the Payload first byte to the check code, and is used for screening the transmission error code of the data part. The verification of the interactive data mainly comprises the steps of judging the identification of the frame head and the frame tail, judging the validity of the sending and receiving identification codes, checking the data length, comparing and the like, and performing verification when the operation and maintenance management platform transfers the data, if the verification finds abnormality, discarding the frame data, and directly replying an alarm notice of the abnormality of the data to the sender APP to remind the APP of self-checking and retransmitting the message.
And A3, encrypting the decrypted first data to be transmitted according to the pipeline key corresponding to the second application program to obtain second data to be transmitted.
In this embodiment, the second data to be transmitted may be understood as data that needs to be transmitted to the second application program. After determining that the receiver is the second application program, the operation and maintenance management platform determines a pipeline key corresponding to the second application program by inquiring a data table and the like, encrypts the decrypted first data to be transmitted according to the pipeline key, and obtains ciphertext data which is the second data to be transmitted.
And A4, sending the second data to be transmitted to the second application program through a communication pipeline between the second application program and the second application program, so that the second application program decrypts the second data to be transmitted according to the corresponding pipeline key to obtain the transmitted data.
The operation and maintenance management platform sends the second data to be transmitted to the second application program through a communication pipeline between the operation and maintenance management platform and the second application program. After receiving the second data to be transmitted, the second application program can decrypt the second data to be transmitted according to the corresponding pipeline key to obtain plaintext data, wherein the plaintext data is the data transmitted by the first application program.
By way of example, FIG. 4 provides a schematic diagram of data interaction management. The data interaction process of the service APP is shown in fig. 4, when the first application APP1 needs to send data to the second application APP2, the data is firstly framed into plaintext according to the communication protocol format, and is encrypted by the dedicated pipeline key a (the obtained data is the first data to be transmitted at this time), and then sent to the operation and maintenance management platform through the independent communication pipeline. The operation and maintenance management platform firstly selects a pairing pipeline key A for decryption and data verification after receiving the ciphertext, ensures the reliability of frame information, inquires the receiver as APP2 through a message identification code, selects a pairing pipeline key B for re-encrypting forwarding data (the data obtained at the moment is second data to be transmitted), sends the encrypted message to a destination through an independent communication pipeline of the APP2, and the APP2 can obtain the required data by decrypting through the special pipeline key B after receiving the ciphertext, and vice versa. The data in each APP communication pipeline is in an encryption state in the interaction process, and the exclusive key can not be shared, so that the safety and reliability of communication data can be effectively ensured, the data can not be decrypted to obtain clear text even if the data is stolen by a third party, and the data can not be received by error through verification even if the data is tampered.
In the method provided by the embodiment of the application, the interface of the APP direct external communication is canceled in consideration of management and safety, and the operation and maintenance management platform is uniformly responsible for data read-write or instruction control with a user or superior equipment, so that the external communication of the service APP is transferred by the platform.
As an alternative embodiment, this alternative embodiment further optimizes the inclusion of B1-B2:
b1, periodically sending an online query request to each application program through the communication pipeline of the at least one managed application program, and determining the running state of the application program according to the reply of the online query request.
In this embodiment, an online query request may be understood as a request for determining whether an application program is operating normally. The online query request may or may not carry information, and only instructs the application to answer. The running state of the application may be normal, abnormal, etc.
The operation and maintenance management platform determines each managed application program, periodically generates an online query request according to a set period for each application program, and periodically transmits the generated online query request to the application program through a communication pipeline corresponding to the application program. The period of sending the online query request to each application may be the same or may be different, for example, the applications are divided by type, and the periods of the same type of application are the same. For convenience of management, the transmission period of the line query request of each application may be set to the same period. Each application program replies after receiving the online query request, the operation and maintenance management platform analyzes the received replies and determines the running state of the application program according to whether the application program replies, for example, the received replies of the application program determine that the running state of the application program is normal, and the received replies of the application program determine that the running state of the application program is abnormal.
As an alternative embodiment, the present alternative embodiment further optimizes determining the running state of the application based on the reply to the online query request, including C1-C2:
And C1, if the reply of the application program for the online query request is received within the preset time, determining that the running state of the application program is normal.
In this embodiment, the preset time may be set according to requirements, for example, the preset time is 1s, 5s, etc., and the preset time may be set according to a transmission period of the online query request, where the preset time is smaller than the transmission period of the online query request, for example, the preset time=0.5×period.
And starting timing after sending the online query request to each application program, judging whether the application program returns a corresponding reply or not within a preset time, and if the reply of the application program for the online query request is received within the preset time, determining that the running state of the application program is normal.
And C2, if the reply of the application program for the online query request is not received within the preset time, calling an operating system interface to read the running information of the application program, and determining the running state of the application program according to the running information.
If the reply of the application program for the online query request is not received within the preset time, the operating system interface is called to read the operating information of the application program, wherein the operating information can be a thread ID, a name, an operating state, a CPU occupancy rate, a stack space, a stack pointer and the like, the operating state of the application program is determined by analyzing the operating information, for example, when the CPU occupancy rate of the application program is too high, the operating state of the application program is determined to be abnormal, and if the operating information of the application program is normal, the operating state of the application program is determined to be normal.
And B2, if the running states of the application programs are abnormal in continuous preset times, calling the system interface to restart the application programs with abnormal running states.
And after the online query request is sent to the application program for multiple times, if the running states of the application program with the continuous preset times are abnormal, calling a system interface, and restarting the application program with the abnormal running states. After the application program is restarted, the on-line inquiry request is continuously and periodically sent, and the running state of the application program is detected.
As an optional embodiment, the further optimization of the optional embodiment includes that if the continuous restarting times of the application program with abnormal running state reach the preset times threshold, the running state of the application program is still abnormal, and a system restarting interface is called to restart the operating system.
In this embodiment, the preset number of times threshold may be set according to the requirement, for example, 3, 4, etc. After restarting the application program with abnormal running state, recording the restarting times of the application program, continuously detecting the running state of the application program, continuously restarting the application program if the running state of the application program detected by the continuous preset times is still abnormal, and calling a system restarting interface to restart the operating system if the continuous restarting times of the application program reaches the preset times threshold value. Restarting the operating system may be a soft restart of the operating system.
If the running state of the application program is recovered to be normal, resetting the recorded restarting times; after restarting the operating system, the number of restarts of the recorded application program may also be cleared.
The operation and maintenance management platform in the embodiment of the application also has APP operation condition management and rapid exception handling functions, and is used for monitoring whether the APP operation of each service is abnormal and performing early warning treatment. FIG. 5 provides a flow chart of monitoring and exception handling of an application program, wherein the operation and exception handling of the application program is monitored and performed by an operation and maintenance management platform. The operating condition monitoring and exception handling principles of each application are the same, and fig. 5 is an example of monitoring and exception handling of an operating condition of an application, and specifically includes the following implementation steps:
s1, broadcasting and sending an online query request to a communication pipeline of the APP.
In the running process of the low-voltage intelligent circuit breaker, the operation and maintenance management platform can periodically broadcast and send an online query request to the communication pipelines of all the APPs, the period time T can be set, and the default value is 20s. The service APP needs to reply within 0.5×t of the received request to indicate that the current state is still in online operation.
S2, judging whether the APP does not reply or replies with overtime, if so, executing S3, and if not, executing S11.
S3, calling an operating system interface to read the running information of the APP.
The APP operation information comprises at least one of thread ID, name, operation state, CPU occupancy rate, stack space and stack pointer, and judges whether abnormal conditions such as thread exit, CPU occupancy rate is too high, stack out-of-limit and the like occur or not by reading the operation information, and makes operation alarm records.
S4, determining the running state of the APP according to the running information, executing S5 if abnormal, and executing S11 if normal.
S5, accumulating the abnormal count of the APP.
The anomaly count increment may be an increment of a preset value, for example, an increment of 1.
S6, judging whether the anomaly count of the APP is larger than a preset number of times, if so, executing S7, otherwise, executing S11.
S7, calling a system interface to restart the corresponding APP.
S8, accumulating the restarting times of the APP.
The restart times accumulation may be an increase of a preset value, for example, an increase of 1.
S9, judging whether the restarting times of the APP is larger than a preset times threshold, if so, executing S10, otherwise, executing S12.
S10, calling a system restarting interface to restart the operating system, and executing S12.
S11, clearing the APP anomaly count and the restarting times.
S12, ending.
Illustratively, if the anomaly is still maintained after 3 consecutive query requests by the APP, the operation and maintenance management platform invokes the system interface to restart the corresponding APP. If the problem is not solved after the APP is restarted for 3 times continuously, the operation and maintenance management platform calls a system restarting interface to realize the soft restarting of the operating system.
As an optional embodiment, the optional embodiment further comprises executing the hardware watchdog feeding operation according to a preset period, so that the watchdog monitoring loop controls the operating system to restart after the watchdog monitoring loop does not detect that the operation and maintenance management platform executes the feeding operation within a preset time range.
The operation and maintenance management platform feeds dogs at regular intervals of a preset period, and when the dog feeding operation is not executed within a continuous preset time range, the watchdog monitoring loop judges that the operation and maintenance management platform is abnormal and controls the operating system to restart.
In order to ensure reliable operation of the operation and maintenance management platform, an independent hardware watchdog monitoring loop is designed, the operation and maintenance management platform needs to send a watchdog feeding signal to the watchdog monitoring loop at regular time during operation, when the operation and maintenance management platform is not detected to send the watchdog feeding signal within a preset time range, the operation and maintenance management platform is judged to be abnormal, the watchdog monitoring loop resets a main chip to restart an operating system, wherein the main chip is a hardware base of whole software operation, and the operating system is operated on the main chip. For example, the operation and maintenance management platform feeds dogs at intervals of 10 seconds, when the continuous 20 seconds are not executed, the watchdog monitoring loop can judge the abnormality and reset the main control chip to restart the operating system, so that the intelligent circuit breaker can respond and process at the first time when the abnormality occurs in operation, and the intelligent circuit breaker does not depend on manual maintenance only.
The operation and maintenance management platform is used as a central of multi-service APP operation and maintenance management, and further has functions of APP upgrade management, APP service flow monitoring management, APP access object statistics management, APP software version management, breaker accumulated running time, operation event record management and the like.
The embodiment of the invention provides a multi-service application program operation and maintenance management method based on a low-voltage intelligent circuit breaker, which solves the problem that multi-service APP cannot be uniformly scheduled and managed in the low-voltage intelligent circuit breaker, and realizes interaction with an operating system, communication with a user or superior equipment and operation and maintenance management of each APP on the upper side and the lower side on the lower side by constructing an independent operation and maintenance management platform in the low-voltage intelligent circuit breaker, so that the operation reliability and operation and maintenance efficiency of the circuit breaker can be effectively improved, the labor management investment is reduced, and the expansion of newly-added service APP or functional requirements is facilitated, and the method has a better intelligent level. The APP safe loading management function of the operation and maintenance management platform can realize information authentication, resource allocation, safe loading and operation management of the newly added service APP, has stronger safety, more flexible resource allocation mode and higher management efficiency, and can make operation and expansion of the service APP more independent and convenient by means of the dynamic decentralized loading technology of the system. The data interaction management function of the operation and maintenance management platform can realize communication decoupling and safe encryption management of data interaction among the service APPs, has the characteristics of simplicity, rapidness, safety and reliability, can effectively solve the problem of insufficient communication safety among the current multi-service APPs, and improves confidentiality and integrity of interaction data. The APP operation condition management function of the operation and maintenance management platform can realize real-time monitoring of the APP operation condition of each subordinate service more conveniently by means of the current software architecture, has the advantages of rapid identification and autonomous processing of abnormal conditions, can further improve the operation reliability of the circuit breaker, and reduces the operation and maintenance management cost.
Example III
Fig. 6 is a schematic structural diagram of a multi-service application operation and maintenance management system based on a low-voltage intelligent circuit breaker according to a third embodiment of the present invention. As shown in fig. 6, the system includes an operation and maintenance management platform 31 and an application program 32, and the operation and maintenance management platform 31 and the application program 32 run on an operating system, which is deployed on a low-voltage intelligent circuit breaker.
The operation and maintenance management platform 31 is configured to receive a registration application of a newly-added application program 32 sent by an intelligent device, where the registration application includes feature information of the newly-added application program 32, allocate resources to the newly-added application program 32 and feed back the allocated resource information to the intelligent device if the registration application is evaluated to pass, so that the intelligent device obtains an installation package of the newly-added application program generated by performing configuration update according to the resource information, where the allocated resources include a system resource and a communication pipeline;
The newly added application program 32 is configured to report an activation application to the operation and maintenance management platform 31;
the operation and maintenance management platform 31 is configured to receive an activation application reported by the newly-added application program 32, verify the activation application according to the registration application, and if the verification is passed, remove the isolated running state of the newly-added application program 32, and allocate a pipeline key to the newly-added application program 32, so as to perform secure data interaction between the application programs.
The multi-service application operation and maintenance management system based on the low-voltage intelligent circuit breaker generally comprises one or more application programs, each application program is uniformly managed by an operation and maintenance management platform, the number of the application programs can be 0 when the system is just deployed, new application programs are deployed continuously in the use process through the method provided by the embodiment of the application, and the number of the application programs in the system is increased. In fig. 4, a plurality of applications are exemplified.
The embodiment of the 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 APP in the low-voltage intelligent circuit breaker cannot be uniformly scheduled and managed, an operation and maintenance management platform uniformly manages application programs, when the application programs are newly added on the low-voltage intelligent circuit breaker, a registration application is sent to the operation and maintenance management platform through intelligent equipment, the operation and maintenance management platform evaluates the registration application, resource allocation is carried out after the evaluation is passed so as to install the newly added application programs, the installation of the newly added application programs is realized through allocation of system resources, the transmission of data is realized through allocation of communication pipelines, the condition that data interference occurs when the multi-application programs simultaneously carry out data interaction is avoided, the data is prevented from being lost and leaked, the safety of the data interaction is ensured, the newly added application programs are set into an isolated operation state after the installation of the newly added application programs, the application programs can normally run after the verification is passed, the application programs at the moment are released, the operation of the newly added application programs can be carried out through the operation of the operation and maintenance management platform, the operation of the operation management platform and other application programs are carried out information interaction, the system is used for ensuring that the data safety is the newly added application programs, the application programs are distributed through the operation management, the management platform, and the safety of the management platform is effectively interacted.
Optionally, the characteristic information at least comprises one of application program name, occupied memory resource and thread number.
Optionally, the activation application comprises a ciphertext obtained by encrypting the characteristic information of the newly added application program;
accordingly, the operation and maintenance management platform 31 includes:
the characteristic information encryption module is used for encrypting the characteristic information in the registration application according to a preset encryption algorithm and a key to obtain a ciphertext to be verified;
And the verification module is used for comparing whether the ciphertext in the activation application is consistent with the ciphertext to be verified, if so, determining that the verification of the activation application is passed, and if not, determining that the verification of the activation application is failed.
Optionally, the operation and maintenance management platform 31 includes:
The address number generation module is used for randomly generating a set number of address numbers according to the characteristic information, and each address number corresponds to one byte;
and the pipeline key generation module is used for generating pipeline key information according to each address number, and the pipeline key information is used for indicating the pipeline key.
Optionally, the first application 31 is configured to generate according to a set communication protocol format and encrypt to obtain first data to be transmitted 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 31;
The operation and maintenance management platform 31 is configured to decrypt the first data to be transmitted according to the pipeline key corresponding to the first application program, verify the decrypted first data to be transmitted, and if the verification is passed, determine a second application program serving as a data receiver; encrypting the decrypted first data to be transmitted according to the pipeline key corresponding to the second application program to obtain second data to be transmitted; transmitting the second data to be transmitted to the second application program through a communication pipeline between the second application program and the second application program;
and the second application program is used for decrypting the second data to be transmitted according to the corresponding pipeline key to obtain the transmitted data.
Optionally, the operation and maintenance management platform 31 includes:
The running state determining module is used for periodically sending an online query request to each application program through the communication pipeline of the at least one managed application program, and determining the running state of the application program according to the reply of the online query request;
and the application program restarting module is used for calling the system interface to restart the application program with the abnormal running state if the running state of the application program is abnormal continuously and preset times.
Optionally, the operation state determining module includes:
The running state determining unit is used for determining that the running state of the application program is normal if a reply of the application program for the online query request is received within a preset time;
And the operation information determining unit is used for calling an operating system interface to read the operation information of the application program if the reply of the application program for the online query request is not received within the preset time, and determining the operation state of the application program according to the operation information.
Optionally, the operation and maintenance management platform 31 further includes:
And the system restarting module is used for calling a system restarting interface to restart the operating system if the running state of the application program is abnormal and the running state of the application program is still abnormal after the continuous restarting times of the application program with the abnormal running state reach a preset time threshold.
Optionally, the operation and maintenance management platform 31 is further configured to:
And executing hardware watchdog feeding operation according to a preset period, so that the watchdog monitoring loop does not detect that the operation and maintenance management platform executes the watchdog feeding operation within a preset time range and then controls the operating system to restart.
The multi-service application operation and maintenance management system based on the low-voltage intelligent circuit breaker provided by the embodiment of the invention can execute the multi-service application operation and maintenance management method based on the low-voltage intelligent circuit breaker provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example IV
Fig. 7 shows a schematic diagram of an electronic device 40 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices (e.g., helmets, eyeglasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 7, the electronic device 40 includes at least one processor 41, and a memory communicatively connected to the at least one processor 41, such as a Read Only Memory (ROM) 42, a Random Access Memory (RAM) 43, etc., in which the memory stores a computer program executable by the at least one processor, and the processor 41 may perform various suitable 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 into the Random Access Memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 may also be stored. The processor 41, the ROM 42 and the RAM 43 are connected to each other via a bus 44. An input/output (I/O) interface 45 is also connected to bus 44.
Various components in the electronic device 40 are connected to the I/O interface 45, including an input unit 46, such as a keyboard, mouse, etc., an output unit 47, such as various types of displays, speakers, etc., a storage unit 48, such as a magnetic disk, optical disk, etc., and a communication unit 49, such as a network card, modem, wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 41 may be various general and/or special purpose processing components with processing and computing capabilities. Some examples of processor 41 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 41 performs the various methods and processes described above, such as the multi-service application operation and maintenance management method based on the low voltage intelligent circuit breaker.
In some embodiments, the low-voltage intelligent circuit breaker-based multi-service application operation and maintenance management method may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 48. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 40 via the ROM 42 and/or the communication unit 49. When the computer program is loaded into RAM 43 and executed by processor 41, one or more steps of the low voltage intelligent breaker based multi-service application operation and maintenance management method described above may be performed. Alternatively, in other embodiments, the processor 41 may be configured to perform the low voltage intelligent circuit breaker based multi-service application operation and maintenance management method in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be a special or general purpose programmable processor, operable to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out 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, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
An embodiment of the present invention provides a computer program product, where the computer program product includes a computer program, where the computer program when executed by a processor implements the multi-service application operation and maintenance management method based on the low-voltage intelligent circuit breaker according to any embodiment of the present invention.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, 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 disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can 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 a trackball) by which the user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user, for example, 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, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can 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.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.
Claims (18)
1. The multi-service application program operation and maintenance management method based on the low-voltage intelligent circuit breaker is characterized by being applied to an operation and maintenance management platform, wherein the operation and maintenance management platform operates on an operating system, the operating system is deployed on the low-voltage intelligent circuit breaker, and the method comprises the following steps:
receiving a registration application of an newly added application program sent by intelligent equipment, wherein the registration application comprises characteristic information of the newly added application program;
If the registration application evaluation passes, performing resource allocation on the newly-added application program, and feeding back allocated resource information to the intelligent equipment so that the intelligent equipment acquires an installation package of the newly-added application program generated by configuration updating according to the resource information, wherein the allocated resources comprise system resources and a communication pipeline;
Receiving an installation package of the newly-added application program sent by the intelligent device, installing the newly-added application program according to the installation package, and setting the state of the newly-added application program to be an isolated running state;
Receiving an activation application reported by the newly-added application program, checking the activation application according to the registration application, and if the verification is passed, releasing the isolated running state of the newly-added application program and distributing a pipeline key for the newly-added application program so as to perform safe data interaction between the application programs;
The assigning the pipeline key to the newly added application program comprises the following steps:
Randomly generating a set number of address numbers, wherein each address number corresponds to one byte of the characteristic information;
and generating pipeline key information according to each address number, wherein the pipeline key information is used for indicating a pipeline key.
2. The method of claim 1, wherein the characteristic information comprises at least one of an application name, occupied memory resources, and a number of threads.
3. The method of claim 1, wherein the activation application includes ciphertext obtained by encrypting the feature information of the newly added application;
correspondingly, 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;
Judging whether the ciphertext in the activation application is consistent with the ciphertext to be verified, if so, determining that the activation application passes the verification, otherwise, determining that the activation application fails the verification.
4. The method as recited in claim 1, further comprising:
Receiving first data to be transmitted sent by a first application program through a communication pipeline between the first application program and the first application program, wherein the first data to be transmitted is generated by the first application program according to a set communication protocol format and is obtained by encrypting according to a pipeline key corresponding to the first application program;
Decrypting the first data to be transmitted according to the pipeline key corresponding to the first application program, checking the decrypted first data to be transmitted, and if the first data to be transmitted passes the checking, determining a second application program serving as a data receiver;
encrypting the decrypted first data to be transmitted according to the pipeline key corresponding to the second application program to obtain second data to be transmitted;
and sending the second data to be transmitted to the second application program through a communication pipeline between the second application program and the second application program, so that the second application program decrypts the second data to be transmitted according to the corresponding pipeline key to obtain the transmitted data.
5. The method as recited in claim 1, further comprising:
periodically sending an online query request to each application program through a communication pipeline of at least one managed application program, and determining the running state of the application program according to the reply of the online query request;
and if the running states of the application programs are abnormal in continuous preset times, calling the system interface to restart the application programs with abnormal running states.
6. The method of claim 5, wherein determining the operating state of the application based on the reply to the online query request comprises:
if a reply of the application program for the online query request is received within a preset time, determining that the running state of the application program is normal;
and if the reply of the application program for the online query request is not received within the preset time, calling an operating system interface to read the running information of the application program, and determining the running state of the application program according to the running information.
7. The method as recited in claim 5, further comprising:
And if the continuous restarting times of the application program with abnormal running state reach the preset times threshold, the running state of the application program is still abnormal, and a system restarting interface is called to restart the operating system.
8. The method as recited in claim 1, further comprising:
And executing hardware watchdog feeding operation according to a preset period, so that the watchdog monitoring loop does not detect that the operation and maintenance management platform executes the watchdog feeding operation within a preset time range and then controls the operating system to restart.
9. The multi-service application program operation and maintenance management system based on the low-voltage intelligent circuit breaker is characterized by comprising 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 the low-voltage intelligent circuit breaker;
The operation and maintenance management platform is used for receiving a registration application of a newly-added application program sent by an intelligent device, wherein the registration application comprises characteristic information of the newly-added application program, if the registration application is evaluated to pass, resource allocation is carried out on the newly-added application program, and the allocated resource information is fed back to the intelligent device, so that the intelligent device acquires an installation package of the newly-added application program generated by configuration updating according to the resource information, and the allocated resource comprises system resources and a communication pipeline;
the newly added application program is used for reporting an activation application to the operation and maintenance management platform;
The operation and maintenance management platform is used for receiving an activation application reported by the newly-added application program, checking the activation application according to the registration application, and if the verification is passed, releasing the isolated running state of the newly-added application program and distributing a pipeline key for the newly-added application program so as to perform safe data interaction between the application programs;
The operation and maintenance management platform comprises:
The address number generation module is used for randomly generating a set number of address numbers according to the characteristic information, and each address number corresponds to one byte;
and the pipeline key generation module is used for generating pipeline key information according to each address number, and the pipeline key information is used for indicating the pipeline key.
10. The system of claim 9, wherein the activation application includes ciphertext obtained by encrypting the feature information of the newly added application;
correspondingly, the operation and maintenance management platform comprises:
the characteristic information encryption module is used for encrypting the characteristic information in the registration application according to a preset encryption algorithm to obtain a ciphertext to be verified;
And the verification module is used for comparing whether the ciphertext in the activation application is consistent with the ciphertext to be verified, if so, determining that the verification of the activation application is passed, and if not, determining that the verification of the activation application is failed.
11. The system of claim 9, wherein the system further comprises a controller configured to control the controller,
The first application program is used for generating according to a set communication protocol format and encrypting according to a pipeline key corresponding to the first application program to obtain first data to be transmitted, and sending the first data to be transmitted to the operation and maintenance management platform through a communication pipeline between the first application program and the operation and maintenance management platform;
The operation and maintenance management platform is used for decrypting the first data to be transmitted according to the pipeline key corresponding to the first application program, checking the decrypted first data to be transmitted, and determining a second application program serving as a data receiver if the first data to be transmitted passes the checking; encrypting the decrypted first data to be transmitted according to the pipeline key corresponding to the second application program to obtain second data to be transmitted; transmitting the second data to be transmitted to the second application program through a communication pipeline between the second application program and the second application program;
and the second application program is used for decrypting the second data to be transmitted according to the corresponding pipeline key to obtain the transmitted data.
12. The system of claim 9, wherein the operation and maintenance management platform comprises:
The running state determining module is used for periodically sending an online query request to each application program through the communication pipeline of the at least one managed application program, and determining the running state of the application program according to the reply of the online query request;
and the application program restarting module is used for calling the system interface to restart the application program with the abnormal running state if the running state of the application program is abnormal continuously and preset times.
13. The system of claim 12, wherein the operating state determination module comprises:
The running state determining unit is used for determining that the running state of the application program is normal if a reply of the application program for the online query request is received within a preset time;
And the operation information determining unit is used for calling an operating system interface to read the operation information of the application program if the reply of the application program for the online query request is not received within the preset time, and determining the operation state of the application program according to the operation information.
14. The system of claim 12, wherein the operation and maintenance management platform further comprises:
And the system restarting module is used for calling a system restarting interface to restart the operating system if the running state of the application program is abnormal and the running state of the application program is still abnormal after the continuous restarting times of the application program with the abnormal running state reach a preset time threshold.
15. The system of claim 9, wherein the operation and maintenance management platform is further configured to:
And executing hardware watchdog feeding operation according to a preset period, so that the watchdog monitoring loop does not detect that the operation and maintenance management platform executes the watchdog feeding operation within a preset time range and then controls the operating system to restart.
16. An electronic device, the electronic device comprising:
At least one processor, and a memory communicatively coupled to the at least one processor;
Wherein the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the low voltage intelligent circuit breaker based multi-service application operation and maintenance management method of any one of claims 1-8.
17. A computer readable storage medium, characterized in that the computer readable storage medium stores computer instructions for causing a processor to implement the low voltage intelligent circuit breaker based multi-service application operation and maintenance management method according to any one of claims 1-8 when executed.
18. A computer program product, characterized in that it comprises a computer program which, when executed by a processor, implements the low-voltage intelligent circuit breaker based multiservice application operation and maintenance management method according to any of claims 1-8.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202510007257.8A CN119938074B (en) | 2025-01-03 | 2025-01-03 | Multi-service application program operation and maintenance management method and system based on low-voltage intelligent circuit breaker |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202510007257.8A CN119938074B (en) | 2025-01-03 | 2025-01-03 | Multi-service application program operation and maintenance management method and system based on low-voltage intelligent circuit breaker |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN119938074A CN119938074A (en) | 2025-05-06 |
| CN119938074B true CN119938074B (en) | 2025-11-25 |
Family
ID=95536294
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202510007257.8A Active CN119938074B (en) | 2025-01-03 | 2025-01-03 | Multi-service application program operation and maintenance management method and system based on low-voltage intelligent circuit breaker |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN119938074B (en) |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116191665A (en) * | 2023-01-31 | 2023-05-30 | 国网上海能源互联网研究院有限公司 | A low-voltage intelligent circuit breaker message interaction device and method |
| CN116723235A (en) * | 2023-08-08 | 2023-09-08 | 北京智芯微电子科技有限公司 | Intelligent switch control unit, hardware architecture, function implementation method and intelligent switch |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6438146B1 (en) * | 1998-04-13 | 2002-08-20 | International Business Machines Corporation | Multiplexed asynchronous serial communication systems methods and computer program products |
| CN104298176B (en) * | 2013-07-08 | 2017-06-16 | 海尔集团公司 | The register method of intelligent switch and its main frame, intelligent control network |
| US9619222B2 (en) * | 2014-01-16 | 2017-04-11 | International Business Machines Corporation | System, method and apparatus for automatic device registration and secure application activation |
| CN104463492B (en) * | 2014-12-23 | 2017-12-26 | 国家电网公司 | A kind of operation management method of power system cloud emulation platform |
| CN109936509B (en) * | 2019-03-06 | 2021-09-10 | 西安电子科技大学 | Equipment group authentication method and system based on multi-identity |
| US11012523B2 (en) * | 2019-07-24 | 2021-05-18 | Cisco Technology, Inc. | Dynamic circuit breaker applications using a proxying agent |
| KR102097577B1 (en) * | 2019-09-24 | 2020-04-07 | 주식회사 단솔플러스 | System for controlling IoT gate using sound wave communication |
| CN118860433A (en) * | 2023-04-26 | 2024-10-29 | 腾讯科技(深圳)有限公司 | Application program updating method, device, computer equipment and storage medium |
-
2025
- 2025-01-03 CN CN202510007257.8A patent/CN119938074B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116191665A (en) * | 2023-01-31 | 2023-05-30 | 国网上海能源互联网研究院有限公司 | A low-voltage intelligent circuit breaker message interaction device and method |
| CN116723235A (en) * | 2023-08-08 | 2023-09-08 | 北京智芯微电子科技有限公司 | Intelligent switch control unit, hardware architecture, function implementation method and intelligent switch |
Non-Patent Citations (1)
| Title |
|---|
| 基于双芯模块化的低压智能断路器设计与实现;马晓昆等;电气技术;20220915(2022(09));69-75 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN119938074A (en) | 2025-05-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US11088903B2 (en) | Hybrid cloud network configuration management | |
| CN113645230B (en) | System and method for analyzing credibility value of node | |
| CN105530266B (en) | A kind of license passport management method, apparatus and system | |
| US10425475B2 (en) | Distributed data management | |
| CN107729213B (en) | Background task monitoring method and device | |
| CN105635320A (en) | Method and equipment for calling configuration information | |
| CN108134713B (en) | Communication method and device | |
| US10284631B2 (en) | Management-as-a-service for on-premises information-technology systems | |
| CN113014545B (en) | Data processing method and device, computer equipment and storage medium | |
| CN115883200B (en) | Log security management method, device, platform and medium | |
| CN119938074B (en) | Multi-service application program operation and maintenance management method and system based on low-voltage intelligent circuit breaker | |
| KR101506223B1 (en) | Automatic Reconnection System For Virtualization Service | |
| US9450906B2 (en) | Managing a messaging queue in an asynchronous messaging system | |
| US11140001B2 (en) | Method for providing data packets from a CAN bus, control device and system having a CAN bus | |
| US8924547B1 (en) | Systems and methods for managing network devices based on server capacity | |
| US20160261476A1 (en) | Message system for avoiding processing-performance decline | |
| CN115001863B (en) | Network security vulnerability detection method, device, medium and electronic equipment | |
| CN114189384B (en) | Service processing method, device, equipment and storage medium | |
| CN110071868B (en) | Link aggregation method, device and network equipment | |
| CN110928564B (en) | Method for safely updating application, service server, cluster and storage medium | |
| CN109120631B (en) | Function calling system, method, device and storage medium | |
| CN115484039A (en) | Security protection method and device, computer readable medium and electronic equipment | |
| CN119071154B (en) | Gateway collaborative management method, device, equipment and medium based on FTTR | |
| US20250392604A1 (en) | Remote recovery and re-establishment of identity for network devices with expired authentication via poisoned network services | |
| KR101757563B1 (en) | Apparatus and method for managing secret key in IoT environment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |