CN110493247B - Power distribution terminal communication detection method, system, equipment and computer medium - Google Patents

Power distribution terminal communication detection method, system, equipment and computer medium Download PDF

Info

Publication number
CN110493247B
CN110493247B CN201910809637.8A CN201910809637A CN110493247B CN 110493247 B CN110493247 B CN 110493247B CN 201910809637 A CN201910809637 A CN 201910809637A CN 110493247 B CN110493247 B CN 110493247B
Authority
CN
China
Prior art keywords
power distribution
communication
distribution terminal
detection result
module
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
Application number
CN201910809637.8A
Other languages
Chinese (zh)
Other versions
CN110493247A (en
Inventor
简淦杨
蔡田田
索思亮
匡晓云
习伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CSG Electric Power Research Institute
China Southern Power Grid Co Ltd
Original Assignee
CSG Electric Power Research Institute
China Southern Power Grid Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CSG Electric Power Research Institute, China Southern Power Grid Co Ltd filed Critical CSG Electric Power Research Institute
Priority to CN201910809637.8A priority Critical patent/CN110493247B/en
Publication of CN110493247A publication Critical patent/CN110493247A/en
Application granted granted Critical
Publication of CN110493247B publication Critical patent/CN110493247B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload

Abstract

The application discloses a power distribution terminal communication detection method, a system, equipment and a computer medium, which are applied to a CPU (central processing unit) of a power distribution terminal, detect whether a communication link between encryption modules connected with the power distribution terminal is normal or not, and generate a first detection result; detecting whether a communication link between a communication module of the power distribution terminal and the power distribution automation master station is normal or not, and generating a second detection result; and displaying the first detection result and the second detection result. The utility model provides a distribution terminal communication detection method for the external world can definitely learn distribution terminal's communication state according to the testing result that CPU shows, with communicate with distribution automation master station under the unable circumstances of communicating of distribution terminal, compare with prior art, can improve the communication reliability between distribution terminal and the distribution automation master station, promote fortune dimension efficiency. The power distribution terminal communication detection system, the power distribution terminal communication detection equipment and the computer readable storage medium solve the corresponding technical problems.

Description

Power distribution terminal communication detection method, system, equipment and computer medium
Technical Field
The present application relates to the field of power distribution network communication technologies, and more particularly, to a power distribution terminal communication detection method, system, device, and computer medium.
Background
In the electric power distribution network, in order to make the automatic master station of distribution realize the management to distribution network line, can settle distribution terminal at distribution network line, realize the signal acquisition to distribution network line with the help of distribution terminal, line switch control, and detect and handle functions such as to the trouble, and through corresponding encryption means and mechanism, information to above-mentioned in-process is encrypted, the deciphering, improve the security of information interaction between distribution terminal and the automatic master station of distribution, at this in-process, can realize the encryption of distribution terminal to information with the help of encryption module, the deciphering.
However, during the information interaction between the power distribution terminal and the power distribution automation master station, situations such as communication connection failure, weak communication signals, and intermittent communication connection may occur due to poor communication conditions, problems in communication media, and abnormal encryption modules. However, an effective method for detecting the reason of the abnormal encryption communication is lacking at present, and corresponding processing cannot be performed according to different situations.
In summary, how to automatically detect the abnormal reason of the encrypted communication of the power distribution terminal and inform the operation and maintenance personnel to improve the operation and maintenance efficiency is an urgent problem to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a power distribution terminal communication detection method which can solve the technical problem of how to automatically detect the reason of abnormal encrypted communication of a power distribution terminal to improve operation and maintenance efficiency to a certain extent. The application also provides a power distribution terminal communication detection system, equipment and a computer readable storage medium.
In order to achieve the above purpose, the present application provides the following technical solutions:
a communication detection method of a power distribution terminal is applied to a CPU of the power distribution terminal and comprises the following steps:
detecting whether a communication link between encryption modules connected with the power distribution terminal is normal or not, and generating a first detection result;
detecting whether a communication link between a communication module of the power distribution terminal and a power distribution automation master station is normal or not, and generating a second detection result;
and displaying the first detection result and the second detection result.
Preferably, the detecting whether a communication link between encryption modules connected to the power distribution terminal is normal and generating a first detection result includes:
sending a first test message to the encryption module;
judging whether a first response message corresponding to the first test message returned by the encryption module is received or not, if so, generating a first detection result indicating that a communication link between the encryption module and the first test message is normal; and if not, generating a first detection result indicating that the encryption module is abnormal.
Preferably, the determining whether the first response packet corresponding to the first test packet returned by the encryption module is received includes:
starting a first timer, wherein the duration of the first timer is a preset duration;
judging whether the first response message is received within the timing duration of the first timer;
if the first response message is not received within the timing duration of the first timer, accumulating the real-time times of not receiving the first response message;
judging whether the real-time times are more than or equal to preset times or not;
if the real-time times are less than the preset times, returning to the step of sending the first test message to the encryption module;
and if the real-time times are more than or equal to the preset times, judging that the first response message corresponding to the first test message returned by the encryption module is not received.
Preferably, after generating the first detection result indicating that the cryptographic module is abnormal, the method further includes:
and sending the first detection result to the distribution automation main station.
Preferably, the detecting whether a communication link between the communication module of the power distribution terminal and the power distribution automation master station is normal and generating a second detection result includes:
sending a connection command with the master station to the encryption module;
and judging whether connection success information returned by the encryption module is received within a first duration, if so, generating a second detection result indicating that a communication link between the communication module of the power distribution terminal and the power distribution automation master station is normal, and if not, generating a second detection result indicating that the communication link between the communication module of the power distribution terminal and the power distribution automation master station is abnormal.
Preferably, before the determining whether the connection success information returned by the encryption module is received within the first duration, the method further includes:
and acquiring the signal strength of the communication module, and determining the first time length based on the signal strength.
Preferably, the generating a second detection result indicating that a communication link between the communication module of the power distribution terminal and the power distribution automation master station is abnormal includes:
testing whether the communication connection between the communication module and the distribution automation main station is normal directly through a test command;
if the communication connection between the communication module and the distribution automation master station is normal and the signal intensity is smaller than a preset value, generating a second detection result indicating that the signal intensity of the communication module is weak;
and if the communication connection between the communication module and the distribution automation master station is normal and the signal intensity is greater than or equal to a preset value, generating a second detection result indicating that the encryption module is abnormal.
A power distribution terminal communication detection system is applied to a CPU of the power distribution terminal, and comprises:
the first detection module is used for detecting whether a communication link between the encryption modules connected with the power distribution terminal is normal or not and generating a first detection result;
the second detection module is used for detecting whether a communication link between the communication module of the power distribution terminal and the power distribution automation master station is normal or not and generating a second detection result;
and the first display module is used for displaying the first detection result and the second detection result.
A power distribution terminal communication detection device, comprising:
a memory for storing a computer program;
a processor configured to implement the steps of the power distribution terminal communication detection method as described in any of the above when the computer program is executed.
A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the power distribution terminal communication detection method as described in any one of the above.
The power distribution terminal communication detection method is applied to a CPU of a power distribution terminal, detects whether a communication link between encryption modules connected with the power distribution terminal is normal or not, and generates a first detection result; detecting whether a communication link between a communication module of the power distribution terminal and the power distribution automation master station is normal or not, and generating a second detection result; and displaying the first detection result and the second detection result. The utility model provides a distribution terminal communication detection method, whether the CPU of distribution terminal active detection and the communication link between the encryption module that the distribution terminal is connected are normal, and whether the communication link between the communication module that detects the distribution terminal and the distribution automation master station is normal, obtain corresponding testing result, and show testing result, make the external world can definitely learn the communication state of distribution terminal according to the testing result that CPU shows, in order to communicate with the distribution automation master station under the unable circumstances of communicating of distribution terminal, compared with the prior art, can the abnormal reason of automatic detection distribution terminal encryption communication and inform the external world in order to promote fortune dimension efficiency. The power distribution terminal communication detection system, the power distribution terminal communication detection equipment and the computer readable storage medium solve the corresponding technical problems.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a first flowchart of a power distribution terminal communication detection method according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram of communication between a power distribution terminal and a power distribution automation master;
fig. 3 is a schematic diagram illustrating generation of a first detection result provided in the embodiment of the present application in practical application;
fig. 4 is a schematic diagram illustrating generation of a second detection result provided in the embodiment of the present application in practical application;
fig. 5 is a schematic structural diagram of a power distribution terminal communication detection system according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a power distribution terminal communication detection device according to an embodiment of the present disclosure;
fig. 7 is another schematic structural diagram of a power distribution terminal communication detection device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a first flowchart of a power distribution terminal communication detection method according to an embodiment of the present disclosure.
The power distribution terminal communication detection method provided by the embodiment of the application is applied to a CPU of a power distribution terminal, and can comprise the following steps:
step S101: whether a communication link between encryption modules connected with the power distribution terminal is normal or not is detected, and a first detection result is generated.
In practical application, when the power distribution terminal performs information interaction with the power distribution automation main station, a Central Processing Unit (CPU) of the power distribution terminal can send data to the encryption module first, the encryption module sends the data to the communication module, the communication module sends the data to the power distribution automation main station, so that when the power distribution terminal cannot communicate with the power distribution automation main station, problems may occur in the encryption module connected with the power distribution terminal, problems may occur in the communication module of the power distribution terminal, and the like, so that whether a communication link between the encryption modules connected with the power distribution terminal is normal or not can be detected first, and a corresponding first detection result is generated. The type of the encryption module can be determined according to actual needs, for example, it can be a security chip or the like. Referring to fig. 2, fig. 2 is a schematic diagram of communication between a power distribution terminal and a power distribution automation master station.
Step S102: and detecting whether a communication link between a communication module of the power distribution terminal and the power distribution automation master station is normal or not, and generating a second detection result.
In practical application, after the CPU of the power distribution terminal generates the first detection result, it may detect whether the communication link between the communication module of the power distribution terminal and the power distribution automation master station is normal, and generate the second detection result. The type of the communication module may be determined according to a specific application scenario, for example, the communication module may be a wireless communication module, a wired communication module, and the like, and the application is not limited in this respect.
Step S103: and displaying the first detection result and the second detection result.
In practical application, after the CPU of the power distribution terminal generates the first detection result and the second detection result, the first detection result and the second detection result may be displayed, so that a user and the like can determine the communication state of the power distribution terminal according to the first detection result and the second detection result, and then adjust the power distribution terminal according to the first detection result and the second detection result.
The power distribution terminal communication detection method is applied to a CPU of a power distribution terminal, detects whether a communication link between encryption modules connected with the power distribution terminal is normal or not, and generates a first detection result; detecting whether a communication link between a communication module of the power distribution terminal and the power distribution automation master station is normal or not, and generating a second detection result; and displaying the first detection result and the second detection result. The utility model provides a distribution terminal communication detection method, whether the CPU of distribution terminal active detection and the communication link between the encryption module that the distribution terminal is connected are normal, and whether the communication link between the communication module that detects the distribution terminal and the distribution automation master station is normal, obtain corresponding testing result, and show testing result, make the external world can definitely learn the communication state of distribution terminal according to the testing result that CPU shows, in order to communicate with the distribution automation master station under the unable circumstances of communicating of distribution terminal, compared with the prior art, can the abnormal reason of automatic detection distribution terminal encryption communication and inform the external world in order to promote fortune dimension efficiency.
According to the power distribution terminal communication detection method, when a CPU of a power distribution terminal detects whether a communication link between encryption modules connected with the power distribution terminal is normal and generates a first detection result, a first test message can be sent to the encryption modules; judging whether a first response message corresponding to the first test message returned by the encryption module is received or not, if so, generating a first detection result indicating that a communication link between the encryption module and the encryption module is normal; if not, generating a first detection result indicating that the encryption module is abnormal.
In a specific application scenario, time is required for the encryption module to return the first response message, whether the encryption module can return the first response message can be influenced by other factors and the like, the first response message cannot be acquired by the CPU at the first time under the conditions, and then the CPU generates a first detection result indicating the fault of the encryption module; judging whether a first response message is received within the timing duration of a first timer; if the first response message is not received within the timing duration of the first timer, accumulating the real-time times of not receiving the first response message; judging whether the real-time times are more than or equal to the preset times or not; if the real-time times are less than the preset times, returning to the step of sending the first test message to the encryption module; and if the real-time times are more than or equal to the preset times, judging that the first response message corresponding to the first test message returned by the encryption module is not received. That is, the generation accuracy of the first detection result is improved by prolonging the time length required by the CPU to receive the first reply message and increasing the number of times that the CPU allows the encryption module to not send the first reply message in time, the time length of the first timer may be determined according to actual needs, such as 1 minute, and the preset number of times may also be determined according to actual needs, such as 3 times.
In a specific application scenario, after the CPU generates a first detection result representing the abnormity of the encryption module, the CPU can also directly send the first detection result to the distribution automation master station, so that distribution automation operators can know the working information of the encryption module anytime and anywhere through the distribution automation master station.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating generation of a first detection result according to an embodiment of the present application in practical applications.
In the power distribution terminal communication detection method provided by the embodiment of the present application, a process of generating a first detection result by a CPU of the power distribution terminal may include the following steps:
step S201: and sending the first test message to the encryption module.
Step S202: the first timer is started and the number of times of non-recovery is set to 0.
Step S203: and judging whether the first response message is received within 1 minute, if not, executing the step S204, and if so, executing the step S207.
Step S204: add 1 to the number of non-replies and clear 0 the first timer.
Step S205: and judging whether the number of times of non-reply is less than or equal to 3, if so, returning to the step S201, and if not, executing the step S206.
Step S206: the encryption module works abnormally, and a first detection result representing the abnormity of the encryption module is generated.
Step S207: the CPU is successfully communicated with the encryption module, the number of times of non-reply is clear 0, the first timer is clear 0, and a first detection result indicating that the encryption module is normal is generated.
According to the power distribution terminal communication detection method, when a CPU detects whether a communication link between a communication module of a power distribution terminal and a power distribution automation main station is normal and generates a second detection result, a connection command with the main station can be sent to an encryption module; and judging whether the connection success information returned by the encryption module is received within the first duration, if so, generating a second detection result indicating that a communication link between the communication module of the power distribution terminal and the power distribution automation master station is normal, and if not, generating a second detection result indicating that the communication link between the communication module of the power distribution terminal and the power distribution automation master station is abnormal.
In a specific application scenario, because the signal strength of the communication module affects the time length required for the CPU to receive the connection success information, the CPU may further obtain the signal strength of the communication module before determining whether the connection success information returned by the encryption module is received within the first time length, and determine the first time length based on the signal strength. Correspondingly, when a second detection result indicating that the communication link between the communication module of the power distribution terminal and the power distribution automation master station is abnormal is generated, whether the communication connection between the communication module and the power distribution automation master station is normal can be directly tested through the test command; if the communication connection between the communication module and the power distribution automation master station is normal and the signal intensity is smaller than a preset value, generating a second detection result indicating that the signal intensity of the communication module is weak; and if the communication connection between the communication module and the power distribution automation master station is normal and the signal intensity is greater than or equal to the preset value, generating a second detection result indicating that the encryption module is abnormal.
Referring to fig. 4, fig. 4 is a schematic diagram illustrating generation of a second detection result according to an embodiment of the present application in practical applications.
In practical application, in the power distribution terminal communication detection method provided by the present application, the process of generating the second detection result by the CPU may include the following steps:
step S301: and sending a connection command with the master station to the encryption module, and detecting the signal strength of the communication module.
Step S302: and determining the timing duration of the second timer according to the signal strength and starting the second timer.
Step S303: and judging whether the connection is successful within the timing duration, if not, executing the step S304, and if so, executing the step S307.
Step S304: and judging whether the encrypted communication is abnormal, and testing whether the communication connection between the communication module and the distribution automation master station is normal.
Step S305: and if the communication connection between the communication module and the distribution automation master station is normal but the signal strength is weak, generating a second detection result indicating that the signal strength of the communication module is weak.
Step S306: and if the communication connection between the communication module and the distribution automation master station is abnormal and the signal intensity is strong, generating a second detection result indicating that the encryption module is abnormal.
Step S307: and judging that the power distribution terminal can normally communicate with the power distribution automation main station.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a power distribution terminal communication detection system according to an embodiment of the present disclosure.
The power distribution terminal communication detection system provided by the embodiment of the application is applied to a CPU of a power distribution terminal, and can comprise:
the first detection module 101 is used for detecting whether a communication link between encryption modules connected with the power distribution terminal is normal or not and generating a first detection result;
the second detection module 102 is configured to detect whether a communication link between the communication module of the power distribution terminal and the power distribution automation master station is normal, and generate a second detection result;
and the first display module 103 is configured to display the first detection result and the second detection result.
The power distribution terminal communication detection system provided by the embodiment of the application is applied to a CPU of a power distribution terminal, and the first detection module can comprise:
the first sending submodule is used for sending the first test message to the encryption module;
the first judgment sub-module is used for judging whether a first response message which is returned by the encryption module and corresponds to the first test message is received or not, and if so, generating a first detection result which indicates that a communication link between the encryption module and the first test message is normal; if not, generating a first detection result indicating that the encryption module is abnormal.
The power distribution terminal communication detection system provided by the embodiment of the application is applied to a CPU of a power distribution terminal, and the first judgment submodule can comprise:
the first starting unit is used for starting a first timer, and the duration of the first timer is preset duration;
the first judging unit is used for judging whether the first response message is received within the timing duration of the first timer; if the first response message is not received within the timing duration of the first timer, accumulating the real-time times of not receiving the first response message;
the second judging unit is used for judging whether the real-time times are more than or equal to the preset times; if the real-time times are less than the preset times, prompting the first sending submodule to execute the step of sending the first test message to the encryption module; and if the real-time times are more than or equal to the preset times, judging that the first response message corresponding to the first test message returned by the encryption module is not received.
The power distribution terminal communication detection system provided by the embodiment of the application is applied to a CPU of a power distribution terminal, and can further comprise:
and the first sending unit is used for sending the first detection result to the distribution automation master station after the second judging unit generates the first detection result representing the abnormity of the encryption module.
The power distribution terminal communication detection system provided by the embodiment of the application is applied to a CPU of a power distribution terminal, and the second detection module can comprise:
the second sending submodule is used for sending a connection command with the main station to the encryption module;
and the second judgment submodule is used for judging whether the connection success information returned by the encryption module is received within the first duration, if so, generating a second detection result indicating that a communication link between the communication module of the power distribution terminal and the power distribution automation master station is normal, and if not, generating a second detection result indicating that the communication link between the communication module of the power distribution terminal and the power distribution automation master station is abnormal.
The power distribution terminal communication detection system provided by the embodiment of the application is applied to a CPU of a power distribution terminal, and can further comprise:
and the first obtaining submodule is used for obtaining the signal intensity of the communication module before the second judging submodule judges whether the connection success information returned by the encryption module is received in the first time length, and determining the first time length based on the signal intensity.
The power distribution terminal communication detection system that this application embodiment provided is applied to power distribution terminal's CPU, and the second judges submodule piece can include:
the first testing unit is used for directly testing whether the communication connection between the communication module and the distribution automation master station is normal or not through a testing command; if the communication connection between the communication module and the power distribution automation master station is normal and the signal intensity is smaller than a preset value, generating a second detection result indicating that the signal intensity of the communication module is weak; and if the communication connection between the communication module and the power distribution automation master station is normal and the signal intensity is greater than or equal to the preset value, generating a second detection result indicating that the encryption module is abnormal.
The application also provides a power distribution terminal communication detection device and a computer readable storage medium, which have corresponding effects of the power distribution terminal communication detection method provided by the embodiment of the application. Referring to fig. 6, fig. 6 is a schematic structural diagram of a power distribution terminal communication detection device according to an embodiment of the present disclosure.
The power distribution terminal communication detection device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps:
detecting whether a communication link between encryption modules connected with a power distribution terminal is normal or not, and generating a first detection result;
detecting whether a communication link between a communication module of the power distribution terminal and the power distribution automation master station is normal or not, and generating a second detection result;
and displaying the first detection result and the second detection result.
The power distribution terminal communication detection device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: sending the first test message to an encryption module; judging whether a first response message corresponding to the first test message returned by the encryption module is received or not, if so, generating a first detection result indicating that a communication link between the encryption module and the encryption module is normal; if not, generating a first detection result indicating that the encryption module is abnormal.
The power distribution terminal communication detection device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: starting a first timer, wherein the duration of the first timer is a preset duration; judging whether a first response message is received within the timing duration of a first timer; if the first response message is not received within the timing duration of the first timer, accumulating the real-time times of not receiving the first response message; judging whether the real-time times are more than or equal to the preset times or not; if the real-time times are less than the preset times, returning to the step of sending the first test message to the encryption module; and if the real-time times are more than or equal to the preset times, judging that the first response message corresponding to the first test message returned by the encryption module is not received.
The power distribution terminal communication detection device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: and after generating a first detection result representing the abnormity of the encryption module, sending the first detection result to the power distribution automation master station.
The power distribution terminal communication detection device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: sending a connection command with the master station to the encryption module; and judging whether the connection success information returned by the encryption module is received within the first duration, if so, generating a second detection result indicating that a communication link between the communication module of the power distribution terminal and the power distribution automation master station is normal, and if not, generating a second detection result indicating that the communication link between the communication module of the power distribution terminal and the power distribution automation master station is abnormal.
The power distribution terminal communication detection device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: and acquiring the signal intensity of the communication module before judging whether the connection success information returned by the encryption module is received in the first time length, and determining the first time length based on the signal intensity.
The power distribution terminal communication detection device provided by the embodiment of the application comprises a memory 201 and a processor 202, wherein a computer program is stored in the memory 201, and the processor 202 executes the computer program to realize the following steps: directly testing whether the communication connection between the communication module and the distribution automation main station is normal or not through a test command; if the communication connection between the communication module and the power distribution automation main station is normal and the signal intensity is smaller than a preset value, generating a second detection result indicating that the signal intensity of the communication module is weak; and if the communication connection between the communication module and the power distribution automation master station is normal and the signal intensity is greater than or equal to the preset value, generating a second detection result indicating that the encryption module is abnormal.
Referring to fig. 7, another power distribution terminal communication detection device provided in the embodiment of the present application may further include: an input port 203 connected to the processor 202, for transmitting externally input commands to the processor 202; a display unit 204 connected to the processor 202, for displaying the processing result of the processor 202 to the outside; and the communication module 205 is connected with the processor 202 and is used for realizing the communication between the power distribution terminal communication detection equipment and the outside. The display unit 204 may be a display panel, a laser scanning display, or the like; the communication method adopted by the communication module 205 includes, but is not limited to, mobile high definition link technology (HML), Universal Serial Bus (USB), High Definition Multimedia Interface (HDMI), and wireless connection: wireless fidelity technology (WiFi), bluetooth communication technology, bluetooth low energy communication technology, ieee802.11s based communication technology.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps:
detecting whether a communication link between encryption modules connected with a power distribution terminal is normal or not, and generating a first detection result;
detecting whether a communication link between a communication module of the power distribution terminal and the power distribution automation master station is normal or not, and generating a second detection result;
and displaying the first detection result and the second detection result.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: sending the first test message to an encryption module; judging whether a first response message corresponding to the first test message returned by the encryption module is received or not, if so, generating a first detection result indicating that a communication link between the encryption module and the encryption module is normal; if not, generating a first detection result indicating that the encryption module is abnormal.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: starting a first timer, wherein the duration of the first timer is a preset duration; judging whether a first response message is received within the timing duration of a first timer; if the first response message is not received within the timing duration of the first timer, accumulating the real-time times of not receiving the first response message; judging whether the real-time times are more than or equal to the preset times or not; if the real-time times are less than the preset times, returning to the step of sending the first test message to the encryption module; and if the real-time times are more than or equal to the preset times, judging that the first response message corresponding to the first test message returned by the encryption module is not received.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: and after generating a first detection result representing the abnormity of the encryption module, sending the first detection result to the power distribution automation master station.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: sending a connection command with the master station to the encryption module; and judging whether the connection success information returned by the encryption module is received within the first duration, if so, generating a second detection result indicating that a communication link between the communication module of the power distribution terminal and the power distribution automation master station is normal, and if not, generating a second detection result indicating that the communication link between the communication module of the power distribution terminal and the power distribution automation master station is abnormal.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: and acquiring the signal intensity of the communication module before judging whether the connection success information returned by the encryption module is received in the first time length, and determining the first time length based on the signal intensity.
A computer-readable storage medium is provided in an embodiment of the present application, in which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the following steps: directly testing whether the communication connection between the communication module and the distribution automation main station is normal or not through a test command; if the communication connection between the communication module and the power distribution automation master station is normal and the signal intensity is smaller than a preset value, generating a second detection result indicating that the signal intensity of the communication module is weak; and if the communication connection between the communication module and the power distribution automation master station is normal and the signal intensity is greater than or equal to the preset value, generating a second detection result indicating that the encryption module is abnormal.
The computer-readable storage media to which this application relates include Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage media known in the art.
For a description of a relevant part in a power distribution terminal communication detection system, a device and a computer readable storage medium provided in the embodiments of the present application, reference is made to detailed descriptions of a corresponding part in a power distribution terminal communication detection method provided in the embodiments of the present application, and details are not repeated herein. In addition, parts of the above technical solutions provided in the embodiments of the present application, which are consistent with the implementation principles of corresponding technical solutions in the prior art, are not described in detail so as to avoid redundant description.
It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A communication detection method for a power distribution terminal is characterized in that a CPU applied to the power distribution terminal comprises the following steps:
detecting whether a communication link between encryption modules connected with the power distribution terminal is normal or not, and generating a first detection result;
detecting whether a communication link between a communication module of the power distribution terminal and a power distribution automation master station is normal or not, and generating a second detection result;
and displaying the first detection result and the second detection result.
2. The method of claim 1, wherein detecting whether a communication link between encryption modules connected to the power distribution terminal is normal and generating a first detection result comprises:
sending a first test message to the encryption module;
judging whether a first response message corresponding to the first test message returned by the encryption module is received or not, if so, generating a first detection result indicating that a communication link between the encryption module and the first test message is normal; and if not, generating a first detection result indicating that the encryption module is abnormal.
3. The method according to claim 2, wherein the determining whether the first response packet corresponding to the first test packet returned by the encryption module is received comprises:
starting a first timer, wherein the duration of the first timer is a preset duration;
judging whether the first response message is received within the timing duration of the first timer;
if the first response message is not received within the timing duration of the first timer, accumulating the real-time times of not receiving the first response message;
judging whether the real-time times are more than or equal to preset times or not;
if the real-time times are less than the preset times, returning to the step of sending the first test message to the encryption module;
and if the real-time times are more than or equal to the preset times, judging that the first response message corresponding to the first test message returned by the encryption module is not received.
4. The method of claim 3, wherein after generating the first detection result indicating the cryptographic module is abnormal, further comprising:
and sending the first detection result to the distribution automation main station.
5. The method of claim 1, wherein detecting whether a communication link between a communication module of the power distribution terminal and a power distribution automation master station is normal and generating a second detection result comprises:
sending a connection command with the master station to the encryption module;
and judging whether connection success information returned by the encryption module is received within a first duration, if so, generating a second detection result indicating that a communication link between the communication module of the power distribution terminal and the power distribution automation master station is normal, and if not, generating a second detection result indicating that the communication link between the communication module of the power distribution terminal and the power distribution automation master station is abnormal.
6. The method according to claim 5, wherein before determining whether the connection success information returned by the cryptographic module is received within the first duration, the method further comprises:
and acquiring the signal strength of the communication module, and determining the first time length based on the signal strength.
7. The method of claim 6, wherein generating a second detection result indicating that a communication link between a communication module of the power distribution terminal and the power distribution automation master station is abnormal comprises:
testing whether the communication connection between the communication module and the distribution automation main station is normal directly through a test command;
if the communication connection between the communication module and the distribution automation master station is normal and the signal intensity is smaller than a preset value, generating a second detection result indicating that the signal intensity of the communication module is weak;
and if the communication connection between the communication module and the distribution automation master station is normal and the signal intensity is greater than or equal to a preset value, generating a second detection result indicating that the encryption module is abnormal.
8. A power distribution terminal communication detection system is characterized in that a CPU applied to the power distribution terminal comprises:
the first detection module is used for detecting whether a communication link between the encryption modules connected with the power distribution terminal is normal or not and generating a first detection result;
the second detection module is used for detecting whether a communication link between the communication module of the power distribution terminal and the power distribution automation master station is normal or not and generating a second detection result;
and the first display module is used for displaying the first detection result and the second detection result.
9. A power distribution terminal communication detection device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the power distribution terminal communication detection method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out the steps of the power distribution terminal communication detection method according to any one of claims 1 to 7.
CN201910809637.8A 2019-08-29 2019-08-29 Power distribution terminal communication detection method, system, equipment and computer medium Active CN110493247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910809637.8A CN110493247B (en) 2019-08-29 2019-08-29 Power distribution terminal communication detection method, system, equipment and computer medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910809637.8A CN110493247B (en) 2019-08-29 2019-08-29 Power distribution terminal communication detection method, system, equipment and computer medium

Publications (2)

Publication Number Publication Date
CN110493247A CN110493247A (en) 2019-11-22
CN110493247B true CN110493247B (en) 2022-08-02

Family

ID=68555089

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910809637.8A Active CN110493247B (en) 2019-08-29 2019-08-29 Power distribution terminal communication detection method, system, equipment and computer medium

Country Status (1)

Country Link
CN (1) CN110493247B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113890647B (en) * 2021-09-09 2024-02-06 国网上海市电力公司 Communication detection method and system for anti-theft data of electric energy meter

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135070A (en) * 2014-07-14 2014-11-05 国家电网公司 Diagnosis method for pre-channel fault of power distribution automation system
CN108318754A (en) * 2017-01-17 2018-07-24 中国电力科学研究院 A kind of the automatic detection platform and detection method of distribution power automation terminal

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103903187A (en) * 2014-03-07 2014-07-02 国家电网公司 Fast detection method for potential safety hazards of power distribution automation system information
CN104079579A (en) * 2014-07-14 2014-10-01 国家电网公司 Power distribution terminal communication encryption protocol detecting method
CN105763542A (en) * 2016-02-02 2016-07-13 国家电网公司 Device and method of encryption and authentication for distribution terminal serial port communication
US10089178B2 (en) * 2016-02-29 2018-10-02 International Business Machines Corporation Developing an accurate dispersed storage network memory performance model through training
CN106059827A (en) * 2016-07-11 2016-10-26 积成电子股份有限公司 Method for keeping double network interface connections synchronous
CN206177367U (en) * 2016-11-14 2017-05-17 国家电网公司 Transmission of electricity device condition monitoring system based on NRSEC3000
CN106603499A (en) * 2016-11-18 2017-04-26 国网甘肃省电力公司电力科学研究院 Safety communication reconstruction method and system for power distribution terminal
CN106850271B (en) * 2016-12-30 2020-07-28 国网天津市电力公司 Power distribution master station and terminal communication network fault studying and judging method
CN207039299U (en) * 2017-08-22 2018-02-23 安徽迪万科技有限公司 A kind of encryption POWER SYSTEM STATE monitoring system for power distribution cabinet
CN107566170B (en) * 2017-08-24 2020-07-14 广东电网有限责任公司珠海供电局 Rule base-based automatic detection method for distribution network automatic telecontrol channel
CN208353362U (en) * 2018-06-27 2019-01-08 山西晟视汇智科技有限公司 A kind of distribution automation coded communication tester
CN108973739A (en) * 2018-08-01 2018-12-11 芜湖雪影实业有限公司 A kind of charge control station
CN109475012A (en) * 2018-11-20 2019-03-15 广西电网有限责任公司南宁供电局 A kind of double card bilateral safe distribution of electric power communication terminal, system and its communication means

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135070A (en) * 2014-07-14 2014-11-05 国家电网公司 Diagnosis method for pre-channel fault of power distribution automation system
CN108318754A (en) * 2017-01-17 2018-07-24 中国电力科学研究院 A kind of the automatic detection platform and detection method of distribution power automation terminal

Also Published As

Publication number Publication date
CN110493247A (en) 2019-11-22

Similar Documents

Publication Publication Date Title
CN105788227B (en) Fault diagnosis equipment for electricity consumption information acquisition system
CN111372232A (en) Method and system for first connection pairing of electric energy meter and Bluetooth circuit breaker
CN113839712B (en) Optical module-based signal transmission monitoring method, equipment, storage medium and device
CN110493247B (en) Power distribution terminal communication detection method, system, equipment and computer medium
CN102413008B (en) Based on method of testing and the system of electric power 104 stipulations
CN115002168A (en) Safety detection method for vehicle remote control and vehicle-mounted system
CN108738059B (en) WIFI module testing method and device
CN110399150B (en) Bios upgrading method, system, device and computer storage medium
CN111341063A (en) Intelligent control system, method and device for safety early warning and monitoring of electric equipment and terminal equipment
CN110399103A (en) A kind of condition detection method, system, equipment and computer readable storage medium
CN106604363B (en) A kind of Wireless Fidelity Wi-Fi scan method, mobile terminal and storage medium
CN112583617B (en) Fault determination method, server, control terminal and storage medium
CN108333449A (en) Substation equipment on-line monitoring method and device
CN113013992B (en) Method and device for monitoring functions of information-protecting master station
CN107205241B (en) Wireless communication detection method and equipment thereof
CN108427044B (en) Method, device, equipment and storage medium for testing fault protection function
CN108650019B (en) Beidou short message terminal detection method, device, equipment and storage medium
CN111740881B (en) Network card link detection method, system, equipment and computer storage medium
CN116225804A (en) PCIe link detection method, system, equipment and storage medium
CN104767995A (en) Method for recording electronic product test data and recording module
CN115933591A (en) Controller diagnosis method, device, equipment and storage medium
CN115623464A (en) Fault processing method and device for Bluetooth module of electric energy meter and electric energy meter
CN112306871A (en) Data processing method, device, equipment and storage medium
CN112362985A (en) System and method for detecting multi-compartment system-level protection function of intelligent substation
CN105044552A (en) Fault diagnosis method, system and device for distribution network automation system

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