Reset and state detection system and method of power distribution terminal encryption device
By introducing a system of hardware reset module and serial port data detection unit into the power distribution terminal encryption device, the problem of high reset cost for operation and maintenance personnel is solved, automatic reset and state detection of the power distribution terminal encryption device is realized, and the stability and response speed of the power system are improved.
Patent Information
- Application Number
- CN202411706897.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-26
- Publication Date
- 2025-03-14
AI Technical Summary
In the existing plan, the cost of operation and maintenance personnel to reset the power distribution terminal encryption device is high, resulting in low operation and maintenance efficiency.
A reset and state detection system for a power distribution terminal encryption device is provided, the system including a hardware reset module and a serial port data detection unit. The hardware reset module controls the on-off state of the switching device through a timer circuit, realizing power management and automatic reset of the power distribution terminal encryption device. The serial port data detection unit passively monitors the RS232 serial port of the power distribution terminal encryption device through physical wiring, detects the data transmission status to judge the working status of the equipment, and decides whether to trigger the reset operation.
This system can effectively prevent equipment stagnation caused by software failure or abnormality, ensure that the encryption device of the distribution terminal can automatically resume operation in an unattended power network environment, improve the overall stability and response speed of the power system, and reduce operation and maintenance costs.
Smart Images

Figure CN119621428A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of power distribution terminal encryption, and in particular to a reset and status detection system, method, medium, product and electronic device for a power distribution terminal encryption device. Background Art
[0002] At present, due to the uneven level of equipment of distribution terminal encryption devices, the "pseudo-death" state is often encountered during the operation and maintenance of the distribution terminal encryption devices, and the operation and maintenance personnel need to go to the site to reset (re-power on) the distribution terminal encryption devices. Since the distribution terminal encryption devices are deployed together with the distribution terminals (such as FTU) in outdoor environments such as outdoor ring network cabinets and distribution line overhead lines, the equipment deployment distribution shows a "sparse" feature. The cost of resetting the distribution terminal encryption devices by the operation and maintenance personnel is high, resulting in low operation and maintenance efficiency.
[0003] In the existing solution, the cost for operation and maintenance personnel to reset the encryption device of the power distribution terminal is high, resulting in low operation and maintenance efficiency. Summary of the invention
[0004] The main purpose of this application is to provide a reset and status detection system, method, medium, product and electronic device for a distribution terminal encryption device, so as to at least solve the problem that the cost of resetting the distribution terminal encryption device by operation and maintenance personnel in the existing solution is high, resulting in low operation and maintenance efficiency.
[0005] In order to achieve the above object, according to one aspect of the present application, a reset and status detection system for a power distribution terminal encryption device is provided, the system comprising:
[0006] A hardware reset module, wherein the hardware reset module comprises a timer circuit and a switch device, wherein the timer circuit is used to control the on-off state of the switch device to achieve power management of the power distribution terminal encryption device, thereby automatically performing a reset operation;
[0007] A serial port data detection unit, which passively monitors the RS232 serial port of the power distribution terminal encryption device by means of physical wiring, and is used to detect data transmission of the serial port to determine the working state of the power distribution terminal encryption device;
[0008] The serial port data detection unit is connected to the hardware reset module, and determines whether to trigger the hardware reset module to reset the power distribution terminal encryption device according to the detected serial port data status.
[0009] Optionally, the switching device is a relay or an electronic switch.
[0010] Optionally, the model of the encryption chip of the power distribution terminal encryption device is a model that meets the requirements of data encryption protection and two-way identity authentication.
[0011] Optionally, the serial port data detection unit includes a serial port conversion and protection circuit for isolating and protecting data signals.
[0012] Optionally, the system further comprises a dog feeding signal detection module, and the watchdog configuration message receiving and decoding module detected by the dog feeding signal detection module identifies and processes the configuration message by means of data receiving and decoding to control the turning on or off of the watchdog function.
[0013] Optionally, the system further comprises a dog feeding signal detection module, which is implemented by a corresponding logic circuit or software algorithm and is used to monitor the state of the dog feeding signal in real time. When the dog feeding signal is abnormal for a set time, a reset operation is triggered.
[0014] According to another aspect of the present application, a method for resetting and detecting a state of a power distribution terminal encryption device applied to any one of the above-mentioned systems is provided, the method comprising:
[0015] The on / off state of the relay is controlled by a timer circuit to achieve power management of the power distribution terminal encryption device, thereby performing an automatic reset operation;
[0016] Passively monitoring the RS232 serial port of the power distribution terminal encryption device by physical wiring, detecting the data transmission of the serial port, and determining the working status of the power distribution terminal encryption device;
[0017] The serial port data detection unit is used to determine whether to trigger the hardware reset module to perform a reset operation according to the detected serial port data state.
[0018] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, a device where the computer-readable storage medium is located is controlled to execute the method described.
[0019] According to another aspect of the present application, a computer program product is provided. The computer program product comprises a computer program. When the computer program is executed by a processor, the method described above is implemented.
[0020] According to another aspect of the present application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include means for executing the described method.
[0021] By applying the technical solution of the present application, the serial port data detection unit is connected to the hardware reset module, and a decision is made whether to trigger the hardware reset module to reset the distribution terminal encryption device according to the detected serial port data status, so that the system can effectively prevent equipment stagnation caused by software failure or abnormality, ensure that the distribution terminal encryption device can automatically resume operation in an unattended power network environment, and improve the overall stability and response speed of the power system, thereby solving the problem of high cost for operation and maintenance personnel to reset the distribution terminal encryption device in the existing solution, resulting in low operation and maintenance efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0023] Figure 1 A schematic diagram showing a principle of a reset and status detection system for a power distribution terminal encryption device provided in an embodiment of the present application is shown;
[0024] Figure 2 A schematic flow chart of a method for resetting and detecting a state of a power distribution terminal encryption device provided in accordance with an embodiment of the present application is shown;
[0025] Figure 3 A structural block diagram of a reset and status detection device for a power distribution terminal encryption device provided according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0026] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0027] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0029] As introduced in the background technology, due to the uneven equipment levels of the power distribution terminal encryption devices, the "pseudo-death" state is often encountered during the operation and maintenance of the power distribution terminal encryption devices, and the operation and maintenance personnel are required to go to the site to reset (re-power on) the power distribution terminal encryption devices. Since the power distribution terminal encryption devices are deployed together with the power distribution terminals (such as FTU) in outdoor environments such as outdoor ring network cabinets and overhead lines of distribution lines, the equipment deployment distribution shows a "sparse" feature. The cost of resetting the power distribution terminal encryption devices by the operation and maintenance personnel is high, resulting in low operation and maintenance efficiency. In order to solve the problem that the cost of resetting the power distribution terminal encryption devices by the operation and maintenance personnel in the existing solutions is high, resulting in low operation and maintenance efficiency, the embodiments of the present application provide a reset and status detection system, method, medium, product and electronic device for a power distribution terminal encryption device.
[0030] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0031] The present application provides a reset and status detection system for a power distribution terminal encryption device, the system comprising:
[0032] A hardware reset module, wherein the hardware reset module comprises a timer circuit and a switch device, wherein the timer circuit is used to control the on-off state of the switch device to achieve power management of the power distribution terminal encryption device, thereby automatically performing a reset operation;
[0033] A serial port data detection unit, wherein the serial port data detection unit passively monitors the RS232 serial port of the power distribution terminal encryption device by means of physical wiring, and is used to detect data transmission of the serial port to determine the working status of the power distribution terminal encryption device;
[0034] The serial port data detection unit is connected to the hardware reset module, and determines whether to trigger the hardware reset module to reset the power distribution terminal encryption device according to the detected serial port data status.
[0035] In the above system, the serial port data detection unit is connected to the hardware reset module, and whether to trigger the hardware reset module to reset the distribution terminal encryption device is determined according to the detected serial port data status, so that the system can effectively prevent equipment stagnation caused by software failure or abnormality, ensure that the distribution terminal encryption device can automatically resume operation in an unattended power network environment, and improve the overall stability and response speed of the power system, thereby solving the problem of high cost of resetting the distribution terminal encryption device by operation and maintenance personnel in the existing solution, resulting in low operation and maintenance efficiency.
[0036] In one embodiment of the present application, the switch device is a relay or an electronic switch. The use of the electronic switch can not only reduce the volume and weight of the system, but also improve the accuracy and speed of the reset operation, and is suitable for high-load environments that require frequent reset operations, such as monitoring centers of large power facilities.
[0037] In one embodiment of the present application, the model of the encryption chip of the above-mentioned power distribution terminal encryption device is a model that meets the requirements of data encryption protection and two-way identity authentication. It ensures that the system can respond quickly to various abnormal situations, while supporting communication with external devices, facilitating remote monitoring and maintenance, and is suitable for remote monitoring and automated management scenarios of power networks. For example, the TEE chip, the TEE (Trusted Execution Environment) chip is a hardware environment for executing trusted code and protecting sensitive data, usually integrated in mobile devices, IoT devices, etc., to provide secure data storage and communication functions.
[0038] In one embodiment of the present application, the serial port data detection unit includes a serial port conversion and protection circuit for isolating and protecting data signals.
[0039] The serial port conversion and protection circuit can realize the function of serial port data detection. The specific implementation method is as follows:
[0040] Serial port conversion: First, the serial port signal needs to be converted into a level signal suitable for processing. Generally speaking, the serial port signal is a TTL level signal (0-5V), while the microcontroller or other devices may need to use a different level signal. Therefore, a conversion chip (such as MAX232) can be used to convert the serial port signal into an RS232 level signal or other required level signal.
[0041] Serial port protection: In the process of converting levels, it is necessary to protect the serial port signal from external interference or damage. You can use components such as resistors, capacitors, and TVS tubes to protect the serial port signal to prevent the influence of electrostatic discharge, electromagnetic interference, etc. on the serial port signal.
[0042] Data detection: In the conversion and protection circuit, a data detection circuit can be added to detect the transmission of serial port data. For example, the integrity of the data can be verified by detecting the data bit, check bit and other information, or the baud rate, start bit and other information can be detected to confirm whether the data transmission is normal.
[0043] In one embodiment of the present application, the system further includes a dog feeding signal detection module, and the watchdog configuration message receiving and decoding module detected by the dog feeding signal detection module identifies and processes the configuration message through data receiving and decoding to control the opening or closing of the watchdog function. This enables the system to dynamically adjust the watchdog function according to actual needs, which is suitable for flexible management of the operating status of equipment in the power network.
[0044] In one embodiment of the present application, the system further includes a dog feeding signal detection module, which is implemented using a corresponding logic circuit or software algorithm and is used to monitor the state of the dog feeding signal in real time. When the dog feeding signal is abnormal for a set time, a reset operation is triggered. The real-time monitoring mechanism can quickly identify equipment failures and reduce fault recovery time, and is suitable for scenarios in power networks that have high requirements for equipment failure response speed.
[0045] To detect the dog feeding signal, you can use a logic circuit or a software algorithm. The following are two methods:
[0046] Logic circuit implementation:
[0047] Digital logic circuits can be used to detect the dog feeding signal. A common method is to use a counter to count the frequency of the dog feeding signal. If the dog feeding signal is not received for more than a certain time interval, it is considered that the system has failed. Logic elements such as gate circuits and triggers can be used to implement this function.
[0048] Software algorithm implementation:
[0049] It is also a common method to use the software of a single-chip microcomputer or embedded system to detect the dog feeding signal. The status of the dog feeding signal can be monitored by writing a timer interrupt program. If the dog feeding signal is not received for a certain period of time, the corresponding fault handling program is triggered. The timeout time of the dog feeding signal can be defined in the software algorithm and adjusted according to the actual situation.
[0050] The RS232 serial port uses ADM3251EARWZ, which has the function of isolating input and output data signals, and uses air discharge tubes GDT1, GDT2, GDT3, thermistors PPTC1, PPTC2 and transient suppression diodes (TVS-SMBJ12CA) D4, D5, D6 on the data line, which can effectively suppress external interference to the system.
[0051] The reset and status detection system of the power distribution terminal encryption device includes a watchdog configuration message receiving module for receiving watchdog configuration messages, a watchdog configuration message decoding module for decoding the watchdog configuration message, a watchdog reset generator for sending a reset signal, and a dog feeding signal detection module for detecting a dog feeding signal, wherein the watchdog configuration message receiving module is a one-way communication mode; the watchdog configuration message decoding module sends a command to turn on or off the watchdog function to the watchdog reset generator; the watchdog configuration message receiving module and the watchdog configuration message decoding module receive and decode the watchdog configuration message using the method of steps S1 to S6. The watchdog reset generator 4 is provided with a watchdog status register, a counter, a reset signal module 7 and a power-on reset register 8. The dog feeding signal detection module is provided with a status register and a signal detection submodule.
[0052] Specific steps:
[0053] Step S0, start;
[0054] Step S1, receiving a watchdog configuration message, including converting the configuration message into parallel data, and identifying the data in the watchdog configuration message by a maximum likelihood decision method;
[0055] Step S2, decoding of watchdog configuration message data, specifically including S3 to S6;
[0056] Step S3, determining whether the watchdog configuration message data in step S2 is a frame start bit, if yes, proceeding to step S4; if no, continuing to determine whether the watchdog configuration message data in step S2 is a frame start bit;
[0057] Step S4, storing the watchdog configuration message data, storing the watchdog configuration message in a register;
[0058] Step S5, determining whether the data in the storage process of step S4 is a frame end bit; it should be noted that steps S4 and S5 are not sequential, that is, it is possible to first determine whether it is a frame end bit, and then store the watchdog configuration message data;
[0059] Step S6, determining whether the data in the watchdog configuration message of the current frame corresponds to a command for disabling the watchdog function;
[0060] Step S7, if step S6 parses that there is no command to turn off the watchdog function in the current frame watchdog configuration message, execute to turn on the watchdog function; otherwise, execute S8;
[0061] Step S8, turning off the watchdog function;
[0062] Step S9, determining whether the dog feeding signal meets the reset condition, if yes, executing step S10, if no, continuing to detect and determine whether the dog feeding signal meets the reset condition;
[0063] Step S10, sending a reset signal to the relay.
[0064] A first register and a second register are set in the dog feeding signal detection module, the value in the first register lags behind the dog feeding signal by one clock, and the value in the second register lags behind the first register by one clock; if it is detected at the same time that the value in the first register and the value in the second register are different, the counter in the reset signal generator starts timing.
[0065] After the counter in the reset signal generator starts timing, the timing time of the counter in the reset signal generator is determined; if the time meets the watchdog change time, the status register in the feeding signal detection module is set to the watchdog signal is in a normal state; if the time does not meet the watchdog change time, the status register in the feeding signal detection module is set to the watchdog signal is in an abnormal state. Considering that the general master station call cycle is 15 minutes, the reset time of the reset timer is designed to be 30 minutes.
[0066] The reset signal output is connected to the relay, and the watchdog configuration message input is monitored by the serial port.
[0067] The specific principle of the reset and status detection system of the power distribution terminal encryption device is as follows Figure 1 As shown, I will not elaborate on it here.
[0068] In this embodiment, a method for resetting and detecting the status of a distribution terminal encryption device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0069] Figure 2 1 is a flow chart of a method for resetting and detecting a state of a power distribution terminal encryption device according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:
[0070] Step S201, controlling the on / off state of the relay through a timer circuit to achieve power management of the power distribution terminal encryption device, and then performing an automatic reset operation;
[0071] Step S202, passively monitoring the RS232 serial port of the power distribution terminal encryption device by physical wiring, detecting the data transmission of the serial port, and determining the working state of the power distribution terminal encryption device;
[0072] Step S203: The serial port data detection unit is used to determine whether to trigger the hardware reset module to perform a reset operation according to the detected serial port data state.
[0073] In the above steps, the on and off state of the relay is controlled by a timer circuit, the RS232 serial port of the above-mentioned distribution terminal encryption device is passively monitored by physical wiring, the data transmission of the above-mentioned serial port is detected, and the working state of the above-mentioned distribution terminal encryption device is judged, which can effectively prevent equipment stagnation caused by software failure or abnormality, ensure that the distribution terminal encryption device can automatically resume operation in an unattended power network environment, improve the overall stability and response speed of the power system, and thus solve the problem of high cost of resetting the distribution terminal encryption device by operation and maintenance personnel in the existing solution, resulting in low operation and maintenance efficiency.
[0074] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0075] The embodiment of the present application also provides a reset and status detection device for a power distribution terminal encryption device. It should be noted that the reset and status detection device for a power distribution terminal encryption device of the embodiment of the present application can be used to execute the reset and status detection method for a power distribution terminal encryption device provided by the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and those that have been described will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.
[0076] The following introduces the reset and status detection device of the power distribution terminal encryption device provided in the embodiment of the present application.
[0077] Figure 3 1 is a structural block diagram of a reset and status detection device for a power distribution terminal encryption device provided according to an embodiment of the present application. Figure 3 As shown, the device comprises:
[0078] The first processing unit 31 is used to control the on / off state of the relay through the timer circuit to achieve power management of the power distribution terminal encryption device, and then perform an automatic reset operation;
[0079] The second processing unit 32 is used to passively monitor the RS232 serial port of the power distribution terminal encryption device by physical wiring, detect the data transmission of the serial port, and determine the working state of the power distribution terminal encryption device;
[0080] The third processing unit 33 is used to use the serial port data detection unit to determine whether to trigger the hardware reset module to perform a reset operation according to the detected serial port data state.
[0081] In the above-mentioned device, the on-off state of the relay is controlled by a timer circuit, and the RS232 serial port of the above-mentioned distribution terminal encryption device is passively monitored by physical wiring. The data transmission of the above-mentioned serial port is detected, and the working state of the above-mentioned distribution terminal encryption device is judged. This can effectively prevent equipment stagnation caused by software failure or abnormality, ensure that the distribution terminal encryption device can automatically resume operation in an unattended power network environment, and improve the overall stability and response speed of the power system, thereby solving the problem of high cost of resetting the distribution terminal encryption device by operation and maintenance personnel in the existing solution, resulting in low operation and maintenance efficiency.
[0082] The reset and status detection device of the power distribution terminal encryption device includes a processor and a memory. The first processing unit, the second processing unit and the third processing unit are stored in the memory as program units, and the processor executes the program units stored in the memory to realize the corresponding functions. The modules are all located in the same processor; or, the modules are located in different processors in any combination.
[0083] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the problem of high cost for operation and maintenance personnel to reset the encryption device of the power distribution terminal in the existing solution, resulting in low operation and maintenance efficiency.
[0084] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0085] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the reset and status detection method of the power distribution terminal encryption device.
[0086] An embodiment of the present invention provides a processor, which is used to run a program, wherein the reset and status detection method of the power distribution terminal encryption device is executed when the program is running.
[0087] The embodiment of the present invention provides a device, which includes a processor, a memory, and a program stored in the memory and can be run on the processor. When the processor executes the program, at least the following steps are implemented: the on-off state of the relay is controlled by a timer circuit to realize the power management of the power distribution terminal encryption device, and then perform an automatic reset operation; the RS232 serial port of the power distribution terminal encryption device is passively monitored by a physical wiring method, the data transmission of the serial port is detected, and the working state of the power distribution terminal encryption device is determined; the serial port data detection unit is used to determine whether to trigger the hardware reset module to perform a reset operation according to the detected serial port data state. The device in this article can be a server, PC, PAD, mobile phone, etc.
[0088] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps: controlling the on and off state of a relay through a timer circuit to achieve power management of the power distribution terminal encryption device, and then performing an automatic reset operation; passively monitoring the RS232 serial port of the above-mentioned power distribution terminal encryption device through a physical wiring method, detecting the data transmission of the above-mentioned serial port, and judging the working state of the above-mentioned power distribution terminal encryption device; and using a serial port data detection unit to decide whether to trigger a hardware reset module to perform a reset operation according to the detected serial port data state.
[0089] The present application also provides an electronic device, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include methods for executing the above method. By controlling the on-off state of the relay through a timer circuit, passively monitoring the RS232 serial port of the above distribution terminal encryption device by physical wiring, detecting the data transmission of the above serial port, and judging the working state of the above distribution terminal encryption device, it can effectively prevent equipment stagnation caused by software failure or abnormality, ensure that the distribution terminal encryption device can automatically resume operation in an unattended power network environment, and improve the overall stability and response speed of the power system, thereby solving the problem of high cost of resetting the distribution terminal encryption device by operation and maintenance personnel in the existing solution, resulting in low operation and maintenance efficiency.
[0090] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.
[0091] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0092] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0093] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0094] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0095] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0096] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0097] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0098] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0099] From the above description, it can be seen that the above embodiments of the present application achieve the following technical effects:
[0100] 1) The reset and status detection system of the power distribution terminal encryption device of the present application is connected to the above-mentioned hardware reset module through the above-mentioned serial port data detection unit, and determines whether to trigger the above-mentioned hardware reset module to reset the above-mentioned power distribution terminal encryption device according to the detected serial port data status, so that the system can effectively prevent equipment stagnation caused by software failure or abnormality, ensure that the power distribution terminal encryption device can automatically resume operation in an unattended power network environment, improve the overall stability and response speed of the power system, thereby solving the problem of high cost of resetting the distribution terminal encryption device by operation and maintenance personnel in the existing solution, resulting in low operation and maintenance efficiency.
[0101] 2) The reset and status detection method of the distribution terminal encryption device of the present application controls the on-off state of the relay through a timer circuit, passively monitors the RS232 serial port of the above-mentioned distribution terminal encryption device through physical wiring, detects the data transmission of the above-mentioned serial port, and determines the working state of the above-mentioned distribution terminal encryption device. It can effectively prevent equipment stagnation caused by software failure or abnormality, ensure that the distribution terminal encryption device can automatically resume operation in an unattended power network environment, improve the overall stability and response speed of the power system, thereby solving the problem of high cost of resetting the distribution terminal encryption device by operation and maintenance personnel in the existing solution, resulting in low operation and maintenance efficiency.
[0102] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims
1. A reset and status detection system for a power distribution terminal encryption device, characterized in that: include: A hardware reset module, wherein the hardware reset module comprises a timer circuit and a switch device, wherein the timer circuit is used to control the on-off state of the switch device to achieve power management of the power distribution terminal encryption device, thereby automatically performing a reset operation; A serial port data detection unit, which passively monitors the RS232 serial port of the power distribution terminal encryption device by means of physical wiring, and is used to detect data transmission of the serial port to determine the working state of the power distribution terminal encryption device; The serial port data detection unit is connected to the hardware reset module, and determines whether to trigger the hardware reset module to reset the power distribution terminal encryption device according to the detected serial port data status.
2. The system according to claim 1, characterized in that The switch device is a relay or an electronic switch.
3. The system according to claim 1, characterized in that The model of the encryption chip of the power distribution terminal encryption device is a model that meets the requirements of data encryption protection and two-way identity authentication.
4. The system according to claim 1, characterized in that The serial port data detection unit includes a serial port conversion and protection circuit for isolating and protecting data signals.
5. The system according to claim 1, characterized in that The system also includes a dog feeding signal detection module. The watchdog configuration message receiving and decoding module detected by the dog feeding signal detection module identifies and processes the configuration message through data receiving and decoding to control the opening or closing of the watchdog function.
6. The system according to claim 1, characterized in that The system also includes a dog feeding signal detection module, which is implemented using a corresponding logic circuit or software algorithm and is used to monitor the state of the dog feeding signal in real time. When the dog feeding signal is abnormal for a set time, a reset operation is triggered.
7. A method for resetting and detecting the state of a power distribution terminal encryption device applied to the system according to any one of claims 1 to 6, characterized in that: include: The on / off state of the relay is controlled by a timer circuit to achieve power management of the power distribution terminal encryption device, thereby performing an automatic reset operation; Passively monitoring the RS232 serial port of the power distribution terminal encryption device by physical wiring, detecting the data transmission of the serial port, and determining the working status of the power distribution terminal encryption device; The serial port data detection unit is used to determine whether to trigger the hardware reset module to perform a reset operation according to the detected serial port data state.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to claim 7.
9. A computer program product, characterized in that The computer program product comprises a computer program, which implements the method according to claim 7 when executed by a processor.
10. An electronic device, characterized in that: include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for executing the method of claim 7.