CN111526071A - Detection method and detection device of encrypted communication device and storage medium - Google Patents

Detection method and detection device of encrypted communication device and storage medium Download PDF

Info

Publication number
CN111526071A
CN111526071A CN202010420631.4A CN202010420631A CN111526071A CN 111526071 A CN111526071 A CN 111526071A CN 202010420631 A CN202010420631 A CN 202010420631A CN 111526071 A CN111526071 A CN 111526071A
Authority
CN
China
Prior art keywords
communication device
message data
distribution network
encrypted communication
message
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.)
Pending
Application number
CN202010420631.4A
Other languages
Chinese (zh)
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.)
Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Original Assignee
Meizhou Power Supply Bureau of Guangdong 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 Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd filed Critical Meizhou Power Supply Bureau of Guangdong Power Grid Co Ltd
Priority to CN202010420631.4A priority Critical patent/CN111526071A/en
Publication of CN111526071A publication Critical patent/CN111526071A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a detection method, a detection device and a storage medium of an encrypted communication device, wherein the detection method applied to the encrypted communication device comprises the steps of receiving first message data sent by a distribution network master station; caching first message data and detecting whether a self-loop function is configured; if the detection result is positive, copying the first message data to obtain second message data; and returning the second message data serving as a response message to the distribution network main station so that the distribution network main station determines whether the communication state of the encrypted communication device is normal or not according to the received response message. The communication state is judged by setting the self-loop function for the encryption communication device, the communication state of the encryption communication device can be automatically detected, the purpose of detecting the communication state without changing the serial port wiring of the encryption communication device on site is achieved, the working efficiency of operation and maintenance personnel is effectively improved, the working time is saved, and the operation and maintenance cost is saved.

Description

Detection method and detection device of encrypted communication device and storage medium
Technical Field
The embodiment of the invention relates to the technical field of detection, in particular to a detection method, a detection device and a storage medium of an encrypted communication device.
Background
The automatic communication of current power distribution network has fused multiple communication modes such as wireless, optic fibre, carrier wave, big dipper, and distribution terminal is also more and more intelligent, and the real-time requirement to whole distribution network automation system control also is higher and higher, consequently has also proposed higher requirement to field debugging and later stage fortune dimension.
In order to ensure the electric power safety, a distribution network automation system is additionally provided with a plurality of safety devices, such as a distribution network main station safety protection device, a distribution network terminal safety protection device, a transverse isolation device and the like, the encryption communication device on the distribution network terminal side is the device with the largest quantity, the widest distribution and the highest operation and maintenance difficulty, and the normal operation and stable operation of the encryption communication device are limited by various factors, such as the site environment, the personnel technical level, an auxiliary means and the like, so that how to improve the site debugging efficiency and the operation and maintenance efficiency of the encryption communication device is the problem that the electric power distribution network automation needs to be considered when moving to lean management.
Disclosure of Invention
The invention provides a detection method, a detection device and a storage medium of an encryption communication device, which can realize the automatic detection of the communication state of the encryption communication device, achieve the aim of detecting the communication state without changing the serial port wiring of the encryption communication device on site, and realize the technical effects of effectively improving the working efficiency of operation and maintenance personnel, saving the working time and saving the operation and maintenance cost.
The embodiment of the invention provides a detection method of an encryption communication device, which is applied to the encryption communication device and comprises the following steps:
receiving first message data sent by a distribution network master station;
caching the first message data and detecting whether a self-loop function is configured;
if the detection result is yes, copying the first message data to obtain second message data;
and returning the second message data as a response message to the distribution network main station so that the distribution network main station determines whether the communication state of the encrypted communication device is normal or not according to the received response message.
Further, before the receiving the first message data sent by the distribution network master station, the detection method further includes:
sending dialing request information to encryption equipment on the network distribution main station side to establish a communication tunnel;
and initiating a TCP connection request to the front-end equipment of the distribution network main station to establish TCP connection.
Further, after the caching the first packet data, the detection method further includes:
and transmitting the first message data to a device to be protected through a serial port.
Further, the detection method further comprises:
and if the detection result is negative, only transmitting the received first message data to a device to be protected through a serial port, and not returning the response message to the distribution network master station.
The embodiment of the invention also provides a detection method of the encrypted communication device, which is applied to the distribution network main station, and the detection method comprises the following steps:
transmitting first message data to the encryption communication device;
receiving a response message returned by the encrypted communication device, wherein the response message is second message data obtained after the encrypted communication device copies the first message data;
and determining whether the communication state of the encryption communication device is normal or not based on the received response message.
Further, the determining whether the communication state of the encrypted communication apparatus is normal based on the received response message includes:
comparing whether the first message data and the response message are completely consistent;
and if the communication states are consistent, determining that the communication state of the encryption communication device is normal.
The embodiment of the invention also provides a detection device of the encryption communication device, which is applied to the encryption communication device, and the detection device comprises:
the first data sending module is used for receiving first message data sent by the distribution network master station;
the detection module is used for caching the first message data and detecting whether the self-loop function is configured;
the data copying module is used for copying the first message data to obtain second message data if the detection result is positive;
and the first data returning module is used for returning the second message data serving as a response message to the distribution network master station so that the distribution network master station determines whether the communication state of the encrypted communication device is normal or not according to the received response message.
Further, the detection device further comprises:
the communication establishing module is used for sending dialing request information to the encryption equipment at the network distribution main station side so as to establish a communication tunnel;
and the protocol establishing module is used for initiating a TCP connection request to the front-end equipment of the distribution network main station so as to establish TCP connection.
The embodiment of the invention also provides a detection device of the encrypted communication device, which is applied to a distribution network main station, and the detection device comprises:
the second data sending module is used for sending the first message data to the encryption communication device;
a data receiving module, configured to receive a response message returned by the encrypted communication device, where the response message is second message data obtained after the encrypted communication device copies the first message data;
and the judging module is used for determining whether the communication state of the encrypted communication device is normal or not based on the received response message.
The embodiment of the invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method for detecting the encrypted communication device applied to the encrypted communication device according to any embodiment of the invention is implemented, or the method for detecting the encrypted communication device applied to the intelligent lock of the distribution network master station according to any embodiment of the invention is implemented.
The invention discloses a detection method, a detection device and a storage medium of an encrypted communication device, wherein the detection method applied to the encrypted communication device comprises the steps of receiving first message data sent by a distribution network master station; caching first message data and detecting whether a self-loop function is configured; if the detection result is positive, copying the first message data to obtain second message data; and returning the second message data serving as a response message to the distribution network main station so that the distribution network main station determines whether the communication state of the encrypted communication device is normal or not according to the received response message. The communication state is judged by setting the self-loop function for the encryption communication device, the technical problem that the communication state detection is realized by changing the serial port wiring mode of the encryption communication device which is installed at a position where the encryption communication device is difficult to wire when the encryption communication device arrives at the site in the prior art is solved, the communication state of the encryption communication device can be automatically detected, the purpose of detecting the communication state without changing the serial port wiring of the encryption communication device on the site is achieved, the technical effects of effectively improving the working efficiency of operation and maintenance personnel, saving the working time and saving the operation and maintenance cost are realized.
Drawings
Fig. 1 is a flowchart of a detection method of an encrypted communication apparatus according to an embodiment of the present invention;
fig. 2 is a flowchart of a detection method for an encrypted communication apparatus according to another embodiment of the present invention;
fig. 3 is a flowchart of another detection method for an encrypted communication apparatus according to an embodiment of the present invention;
fig. 4 is a structural diagram of a detection device of an encryption communication device according to an embodiment of the present invention;
fig. 5 is a block diagram of another detection apparatus for an encrypted communication apparatus according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Also, unless explicitly described, the word "comprise" and variations such as "comprises" or "comprising", will be understood to imply the inclusion of stated elements but not the exclusion of any other elements.
It should be noted that the terms "first", "second", and the like in the description and claims of the present invention and the accompanying drawings are used for distinguishing different objects, and are not used for limiting a specific order. The following embodiments of the present invention may be implemented individually, or in combination with each other, and the embodiments of the present invention are not limited in this respect.
In addition, the following embodiments of the present invention may be implemented individually, or may be implemented in combination with each other, and the embodiments of the present invention are not limited in this respect.
The first embodiment is as follows:
fig. 1 is a flowchart of a detection method for an encrypted communication apparatus according to an embodiment of the present invention. The detection method of the encryption communication device is applied to the encryption communication device, and as shown in fig. 1, the detection method of the encryption communication device comprises the following steps:
step S101, receiving first message data sent by a distribution network main station.
Step S102, caching the first message data and detecting whether the self-loop function is configured.
Specifically, after receiving a data packet (i.e., the first message data) sent by the distribution network master station, the encryption communication device sends the data packet to an encryption chip built in the encryption communication device to decrypt the data packet, caches the decrypted message, and detects whether the encryption communication device is configured with a self-loop function. The data packet sent by the distribution network master station to the encryption communication device is generally a 101 message.
And step S103, if the detection result is yes, copying the first message data to obtain second message data.
And step S104, returning the second message data as a response message to the distribution network main station, so that the distribution network main station determines whether the communication state of the encrypted communication device is normal or not according to the received response message.
Specifically, if the detection result is yes, indicating that the self-loop function of the encryption communication apparatus is turned on, it is necessary to verify whether the communication state of the encryption communication apparatus is normal, the encryption communication device will send the decrypted first message data to the distribution automation terminal connected with the encryption communication device through the serial port RS232, such as a DTU (Data Transfer Unit), a TTU (distribution Transformer monitoring Terminal), an FTU (Feeder monitoring Terminal), etc., meanwhile, the encryption communication device can copy the first message data just sent by the data transmission terminal TX of the serial port RS232 to obtain the second message data, and the second message data is encrypted by the encryption chip and then returned to the distribution network main station as a response message, so that the distribution network master station determines whether the communication state of the encrypted communication device is normal or not according to the received response message.
After the distribution network master station receives the response message, the first message data and the response message can be compared by a worker at the side of the distribution network master station, or the first message data and the response message can be automatically compared by the distribution network master station, and whether the communication state of the encryption communication device is normal or not is determined according to the comparison result.
It should be noted that, in the process of actually detecting the communication state of the encryption communication device, a worker on the encryption communication device side to some extent may also determine whether the communication state of the encryption communication device is normal by determining whether the encryption communication device can receive the first message data sent by the distribution network master station and successfully returning the response message to the distribution network master station, which is not described herein again.
In the embodiment of the invention, because the encryption communication device is usually arranged in a high tower and other places with inconvenient wiring, once a fault occurs, a worker needs to arrive at the site to change the serial port wiring mode of the encryption communication device to realize the detection of the communication state of the encryption communication device, and the serial port wiring of the encryption communication device is more, so that a certain time is needed for finding the corresponding wiring and changing the corresponding wiring. By using the detection method of the encrypted communication device provided by the invention, for the communication encryption device which is installed on the site, the communication state can be detected by the method as long as the communication connecting line is connected to the encrypted communication device on the site, and for the encrypted communication device which is installed on the site, the encrypted communication device can be detected in advance by using the method under the environment of stable indoor network, and then the detected encrypted communication device is brought to the site for installation, so that the problem that the detection is not facilitated due to environmental factors such as unstable network and the like under the outdoor environment is avoided, meanwhile, the working efficiency of workers is improved, the working time is saved, a certain operation and maintenance cost is saved, and the problem that equipment needs to be replaced by working to and fro at the site when the fault is detected on the site is avoided.
The communication state is judged by setting the self-loop function for the encryption communication device, the technical problem that the encryption communication device arranged at a position difficult to be connected is disassembled to be detected when the encryption communication device arrives at the site in the prior art is solved, the communication state of the encryption communication device can be automatically detected, the purpose of detecting the communication state without changing the serial port connection of the encryption communication device on the site is achieved, and the technical effects of effectively improving the working efficiency of operation and maintenance personnel, saving the working time and saving the operation and maintenance cost are realized.
Optionally, in step S101, before receiving the first message data sent by the distribution network master station, the detection method further includes:
sending dialing request information to encryption equipment on a network distribution main station side to establish a communication tunnel;
and initiating a TCP connection request to the front-end equipment of the distribution network main station to establish TCP connection.
Specifically, the encryption communication device obtains an IP address through dial-up networking, and then is connected with encryption equipment on the network distribution main station side to establish an encryption communication tunnel; then, the encryption communication device initiates a Transmission Control Protocol (TCP) connection to the front-end device of the distribution network main station, so as to establish a TCP connection with the front-end device of the distribution network main station; and finally, realizing data transmission between the distribution network main station and the encryption communication device through the established TCP protocol connection and the encryption communication tunnel.
Optionally, in step S102, after the first packet data is cached, the detection method further includes:
and transmitting the first message data to a device to be protected through a serial port.
Specifically, the serial port may be a common serial interface such as RS232, and the device to be protected refers to a distribution network automation terminal connected to the encryption communication device, such as a DTU, a TTU, a FTU, and the like, and the communication connection between the distribution network automation terminal and the distribution network master station needs to be transferred through encryption or decryption by the encryption communication device.
Optionally, the detection method further includes:
if the detection result is negative, only the received first message data is transmitted to the device to be protected through the serial port, and no response message is returned to the distribution network master station.
Specifically, if the result that whether the encryption communication device detects that the self-loop function is configured is negative, it indicates that whether the communication state of the encryption communication device is normal does not need to be verified currently, and therefore the self-loop function of the encryption communication device is not started, the encryption communication device only needs to decrypt the received first message data transmitted by the distribution network master station and transmit the decrypted first message data to the device to be protected connected with the encryption communication device through the serial port, and does not return a response message to the distribution network master station.
Fig. 2 is a flowchart of another method for detecting an encrypted communication device according to an embodiment of the present invention, and the method for detecting an encrypted communication device is specifically described below with a specific embodiment.
Illustratively, referring to fig. 2, the detection method of the encrypted communication device implements the following specific steps:
step S201, the encryption communication device dials up to the network to obtain an IP address, connects with the encryption equipment at the network distribution main station side, and establishes an encryption communication tunnel.
And S202, the encryption communication device initiates TCP connection, connects the preposed equipment of the distribution network main station and establishes TCP connection.
Step S203, the encryption communication apparatus receives the 101 message (i.e. the first message data) transmitted by the distribution network master station, writes the received 101 message into the cache, and checks whether the self-loop function is enabled.
Step S204, if the detection result is that the self-loop function is started, the message 101 is sent to the distribution network automation terminal through the serial port, and a copy of the message (namely, the second message data) sent to the distribution network automation terminal through the serial port is encrypted by the encryption chip and then sent to the distribution network master station.
Step S205, if the detection result is that the self-loop function is not enabled, only the 101 message is sent to the distribution automation terminal through the serial port, and no response message (i.e. the second message data) is returned to the distribution network master station.
In step S206, the operation and maintenance personnel determines whether the communication state of the encryption communication device is normal according to whether the message received by the encryption communication device (i.e. the message sent by the distribution network master station to the encryption communication device) is completely consistent with the message returned by the encryption communication device received by the distribution network master station.
Step S207, if the messages are completely consistent, the configuration and operation of the communication channel and the encryption communication device are normal.
Step S208, if the messages are not consistent, the configuration of the communication channel or the encryption communication device is abnormal.
Example two:
fig. 3 is a flowchart of another method for detecting an encrypted communication device according to an embodiment of the present invention. The detection method of the encryption communication device is applied to a distribution network main station, and as shown in fig. 3, the detection method of the encryption communication device specifically comprises the following steps:
step S301, the first message data is sent to the encryption communication apparatus.
Specifically, after the encryption device on the side of the distribution network master station receives the dialing request information sent by the encryption communication device and establishes a communication tunnel with the dialing request information, and the front-end device of the distribution network master station receives the TCP connection request sent by the encryption communication device and establishes a TCP connection with the TCP connection request, the distribution network master station sends first message data to the encryption communication device.
Step S302, receiving a response message returned by the encrypted communication device, where the response message is second message data obtained after the encrypted communication device copies the first message data.
Specifically, after the encryption communication device receives the first message data, if it is necessary to verify whether the communication state of the decryption communication device is normal, that is, the self-loop function of the encryption communication device is started, the encryption communication device copies the first message data to obtain the second message data, and returns the second message data to the distribution network master station as a response message.
Step S303 determines whether the communication state of the encrypted communication apparatus is normal based on the received response message.
Optionally, the step S303 of determining whether the communication state of the encrypted communication apparatus is normal based on the received response message includes:
comparing whether the first message data and the response message are completely consistent;
if the communication state is consistent with the preset communication state, the communication state of the encryption communication device is determined to be normal.
Specifically, after the distribution network master station receives the response message, whether the first message data and the response message are completely consistent or not is compared, if so, it is proved that the configuration operation of the communication channel of the encryption communication device and the configuration operation of the encryption communication device are normal, and if not, it is proved that the configuration operation of the communication channel of the encryption communication device or the configuration operation of the encryption communication device is abnormal. It should be noted that the comparison between the first message data and the response message may also be performed manually by a worker at the network distribution master station side, so as to determine that the communication state of the encrypted communication device is normal.
The communication state is judged by setting the self-loop function for the encryption communication device, the technical problem that the encryption communication device which is arranged at a position difficult to be connected is disassembled to be detected when the encryption communication device arrives at the site in the prior art is solved, the communication state of the encryption communication device can be automatically detected, the technical effect that the encryption communication device is not required to be disassembled to be detected on the site is realized, and the working efficiency of operation and maintenance personnel is effectively improved.
Example three:
the embodiment of the present invention further provides a detection apparatus for an encrypted communication apparatus, where the detection apparatus is applied to an encrypted communication apparatus, and is configured to execute the detection method for an encrypted communication apparatus applied to an encrypted communication apparatus provided in the embodiment of the present invention, and the detection apparatus provided in the embodiment of the present invention is specifically described below.
Fig. 4 is a structural diagram of a detection device of an encryption communication device according to an embodiment of the present invention, and as shown in fig. 4, the detection device of the encryption communication device mainly includes: a first data sending module 41, a detecting module 42, a data copying module 43, and a first data returning module 44, wherein:
the first data sending module 41 is configured to receive first message data sent by the distribution network master station.
The detecting module 42 is configured to cache the first packet data, and detect whether the self-loop function is configured.
And the data copying module 43 is configured to copy the first message data to obtain the second message data if the detection result is yes.
The first data returning module 44 is configured to return the second message data to the distribution network master station as a response message, so that the distribution network master station determines whether the communication state of the encrypted communication device is normal according to the received response message.
By using the detection device of the encryption communication device provided by the embodiment of the invention, the technical effect that the communication state of the encryption communication device can be automatically detected without disassembling the encryption communication device on site for detection is realized, and the working efficiency of operation and maintenance personnel is effectively improved.
Optionally, the detection apparatus further comprises:
and the communication establishing module is used for sending dialing request information to the encryption equipment at the network distribution main station side so as to establish a communication tunnel.
And the protocol establishing module is used for initiating a TCP connection request to the front-end equipment of the distribution network main station so as to establish TCP connection.
Optionally, the detection apparatus further comprises:
and the third data sending module is used for transmitting the first message data to the device to be protected through the serial port.
Optionally, the detection apparatus further comprises:
and the second data return module is used for transmitting the received first message data to the device to be protected through the serial port only and not returning a response message to the distribution network master station if the detection result is negative.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
The detection method of the encrypted communication device applied to the encrypted communication device provided by the embodiment of the invention has the same technical characteristics as the detection device of the encrypted communication device applied to the encrypted communication device provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Example four:
the embodiment of the invention also provides a detection device of the encrypted communication device, the control device is applied to the distribution network main station and used for executing the detection method of the encrypted communication device applied to the distribution network main station provided by the second embodiment of the invention, and the detection device of the encrypted communication device applied to the distribution network main station provided by the embodiment of the invention is specifically introduced below.
Fig. 5 is a structural diagram of another detection device for an encrypted communication device according to an embodiment of the present invention, and as shown in fig. 5, the detection device mainly includes: a second data sending module 51, a data receiving module 52, and a determining module 53, wherein:
and a second data sending module 51, configured to send the first message data to the encryption communication apparatus.
The data receiving module 52 is configured to receive a response message returned by the encrypted communication device, where the response message is second message data obtained after the encrypted communication device copies the first message data.
And a judging module 53, configured to determine whether the communication state of the encrypted communication apparatus is normal based on the received response message.
Optionally, the determining module 53 includes:
and the comparison submodule is used for comparing whether the first message data is completely consistent with the response message.
And the determining submodule is used for determining that the communication state of the encryption communication device is normal if the judgment result is consistent.
The device provided by the embodiment of the present invention has the same implementation principle and technical effect as the method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the method embodiments without reference to the device embodiments.
The detection method for the encrypted communication device applied to the distribution network main station provided by the embodiment of the invention has the same technical characteristics as the detection device for the encrypted communication device applied to the distribution network main station provided by the embodiment, so that the same technical problems can be solved, and the same technical effect can be achieved.
Example five:
embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for detecting an encrypted communication apparatus applied to an encrypted communication apparatus and a method for detecting an encrypted communication apparatus applied to a distribution network master station.
Specifically, the detection method of the encryption communication apparatus applied to the encryption communication apparatus includes:
receiving first message data sent by a distribution network master station;
caching first message data and detecting whether a self-loop function is configured;
if the detection result is positive, copying the first message data to obtain second message data;
and returning the second message data serving as a response message to the distribution network main station so that the distribution network main station determines whether the communication state of the encrypted communication device is normal or not according to the received response message.
Specifically, the detection method applied to the encrypted communication device of the distribution network main station comprises the following steps:
transmitting first message data to the encryption communication device;
receiving a response message returned by the encryption communication device, wherein the response message is second message data obtained after the encryption communication device copies the first message data;
it is determined whether the communication state of the encrypted communication apparatus is normal based on the received response message.
Of course, the storage medium containing the computer-executable instructions provided by the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the detection method applied to the encrypted communication apparatus or the encrypted communication apparatus applied to the distribution network master station provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the above search apparatus, each included unit and module are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Finally, it should be noted that the above-mentioned embodiments are only preferred embodiments of the present invention and the technical principles applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A detection method of an encrypted communication device, applied to the encrypted communication device, the detection method comprising:
receiving first message data sent by a distribution network master station;
caching the first message data and detecting whether a self-loop function is configured;
if the detection result is yes, copying the first message data to obtain second message data;
and returning the second message data as a response message to the distribution network main station so that the distribution network main station determines whether the communication state of the encrypted communication device is normal or not according to the received response message.
2. The detection method according to claim 1, wherein before the receiving the first message data sent by the distribution network master station, the detection method further comprises:
sending dialing request information to encryption equipment on the network distribution main station side to establish a communication tunnel;
and initiating a TCP connection request to the front-end equipment of the distribution network main station to establish TCP connection.
3. The method of claim 1, wherein after the buffering the first packet data, the method further comprises:
and transmitting the first message data to a device to be protected through a serial port.
4. The detection method according to claim 1, further comprising:
and if the detection result is negative, only transmitting the received first message data to a device to be protected through a serial port, and not returning the response message to the distribution network master station.
5. A detection method of an encrypted communication device is applied to a distribution network main station, and comprises the following steps:
transmitting first message data to the encryption communication device;
receiving a response message returned by the encrypted communication device, wherein the response message is second message data obtained after the encrypted communication device copies the first message data;
and determining whether the communication state of the encryption communication device is normal or not based on the received response message.
6. The detection method according to claim 5, wherein the determining whether the communication state of the encrypted communication apparatus is normal based on the received response message includes:
comparing whether the first message data and the response message are completely consistent;
and if the communication states are consistent, determining that the communication state of the encryption communication device is normal.
7. A detection apparatus for an encrypted communication apparatus, the detection apparatus being applied to the encrypted communication apparatus, the detection apparatus comprising:
the first data sending module is used for receiving first message data sent by the distribution network master station;
the detection module is used for caching the first message data and detecting whether the self-loop function is configured;
the data copying module is used for copying the first message data to obtain second message data if the detection result is positive;
and the first data returning module is used for returning the second message data serving as a response message to the distribution network master station so that the distribution network master station determines whether the communication state of the encrypted communication device is normal or not according to the received response message.
8. The detection device according to claim 7, further comprising:
the communication establishing module is used for sending dialing request information to the encryption equipment at the network distribution main station side so as to establish a communication tunnel;
and the protocol establishing module is used for initiating a TCP connection request to the front-end equipment of the distribution network main station so as to establish TCP connection.
9. A detection device of an encrypted communication device is applied to a distribution network main station, and comprises:
the second data sending module is used for sending the first message data to the encryption communication device;
a data receiving module, configured to receive a response message returned by the encrypted communication device, where the response message is second message data obtained after the encrypted communication device copies the first message data;
and the judging module is used for determining whether the communication state of the encrypted communication device is normal or not based on the received response message.
10. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 4 for detecting an encrypted communication device applied to an encrypted communication device, or is adapted to carry out the method of any one of claims 5 to 6 for detecting an encrypted communication device applied to a smart lock of a distribution network master station.
CN202010420631.4A 2020-05-18 2020-05-18 Detection method and detection device of encrypted communication device and storage medium Pending CN111526071A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010420631.4A CN111526071A (en) 2020-05-18 2020-05-18 Detection method and detection device of encrypted communication device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010420631.4A CN111526071A (en) 2020-05-18 2020-05-18 Detection method and detection device of encrypted communication device and storage medium

Publications (1)

Publication Number Publication Date
CN111526071A true CN111526071A (en) 2020-08-11

Family

ID=71909059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010420631.4A Pending CN111526071A (en) 2020-05-18 2020-05-18 Detection method and detection device of encrypted communication device and storage medium

Country Status (1)

Country Link
CN (1) CN111526071A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114186266A (en) * 2022-02-16 2022-03-15 国家超级计算天津中心 Big data security and privacy computing control method in super computing and cloud computing environment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035692A (en) * 2009-09-30 2011-04-27 中兴通讯股份有限公司 Method and device for detecting quality of link
JP2014007609A (en) * 2012-06-25 2014-01-16 Hitachi Ltd Virtualization system, communication device and network failure monitoring method
CN110262930A (en) * 2019-07-19 2019-09-20 广东电网有限责任公司 A kind of intelligent safety protection terminal, system and method
CN110611602A (en) * 2019-08-13 2019-12-24 烽火通信科技股份有限公司 Two-layer point-to-point channel state monitoring method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035692A (en) * 2009-09-30 2011-04-27 中兴通讯股份有限公司 Method and device for detecting quality of link
JP2014007609A (en) * 2012-06-25 2014-01-16 Hitachi Ltd Virtualization system, communication device and network failure monitoring method
CN110262930A (en) * 2019-07-19 2019-09-20 广东电网有限责任公司 A kind of intelligent safety protection terminal, system and method
CN110611602A (en) * 2019-08-13 2019-12-24 烽火通信科技股份有限公司 Two-layer point-to-point channel state monitoring method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张青等: "通讯管理机与能量管理系统通信故障分析与处理", 《江苏电机工程》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114186266A (en) * 2022-02-16 2022-03-15 国家超级计算天津中心 Big data security and privacy computing control method in super computing and cloud computing environment
CN114186266B (en) * 2022-02-16 2022-05-13 国家超级计算天津中心 Big data security and privacy computing control method in super computing and cloud computing environment

Similar Documents

Publication Publication Date Title
CN102104565B (en) Modem, and method for saving power
CN101826984A (en) Log information processing method and device thereof
EP2237587A1 (en) Radio communication system, base station device, gateway device, and radio communication method
CN101931982A (en) Network failure positioning method and device
EP2892274B1 (en) Fault recovery method of operation and maintenance channel and network management terminal
CN109040295B (en) Method and device for determining abnormal disconnection, terminal and storage medium
CN102083023A (en) Method, system and equipment for restarting remote control equipment
CN105323790A (en) Wireless router and control method thereof
CN103414575A (en) Method, system and device for network wakeup
CN112040463A (en) Wireless communication network networking method and system based on LoRa equipment
JP2019511861A (en) Basic service set identifier BSSID update
CN113473465A (en) Private network fine-grained access control method and system based on wireless converged network distribution
CN112270020A (en) Terminal equipment safety encryption device based on safety chip
CN111526071A (en) Detection method and detection device of encrypted communication device and storage medium
CN101800677B (en) Processing device and method of bidirectional forwarding detection (BFD) messages
CN104486226A (en) Message processing method and device
CN115914164A (en) Tunnel connection method and device, electronic equipment and storage medium
CN104536853A (en) Method for guaranteeing continuous availability of resources of dual-controller storage equipment
US11146550B2 (en) Communication line mutual authentication system in IP network
CN102480375A (en) Method for processing log information
CN103150243A (en) Monitoring method for application program of mobile terminal
CN104869118A (en) Method and system for achieving DDoS defense based on technology of dynamic tunnels
CN105163335A (en) Network access management method, network access server, mobile terminal and network access management system
CN108712782B (en) Tunnel establishment method and device, electronic equipment and readable storage medium
CN112448929A (en) Dynamic side protection method and platform for communication network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200811

RJ01 Rejection of invention patent application after publication