CN106911525B - State detection method and DCU - Google Patents

State detection method and DCU Download PDF

Info

Publication number
CN106911525B
CN106911525B CN201510955348.0A CN201510955348A CN106911525B CN 106911525 B CN106911525 B CN 106911525B CN 201510955348 A CN201510955348 A CN 201510955348A CN 106911525 B CN106911525 B CN 106911525B
Authority
CN
China
Prior art keywords
dcu
master station
connection
timestamp
abnormal
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
CN201510955348.0A
Other languages
Chinese (zh)
Other versions
CN106911525A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510955348.0A priority Critical patent/CN106911525B/en
Publication of CN106911525A publication Critical patent/CN106911525A/en
Application granted granted Critical
Publication of CN106911525B publication Critical patent/CN106911525B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/02Details
    • H04B3/46Monitoring; Testing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B3/00Line transmission systems
    • H04B3/54Systems for transmission via power distribution lines
    • H04B3/542Systems for transmission via power distribution lines the information being in digital form

Abstract

The embodiment of the application discloses a state detection method and a DCU (distributed channel Unit), which are used for detecting the state of a main station under the condition that no additional equipment is added, and reducing the cost of the main station. The method in the embodiment of the application comprises the following steps: when a first data concentration unit DCU fails to be connected with a master station, the first DCU sends a connection abnormal message to a second DCU, and the second DCU and the first DCU are in the same communication range covered by the master station; the first DCU judges whether the second DCU is successfully connected with the master station or not; if the second DCU fails to be connected with the master station, the first DCU determines that the master station is abnormal; and the first DCU sends first reporting information, wherein the first reporting information is used for indicating that the master station is abnormal.

Description

State detection method and DCU
Technical Field
The present application relates to the field of communications, and in particular, to a status detection method and a Data Concentrator Unit (DCU).
Background
In a meter reading system deployed by an Advanced Metering Infrastructure (AMI), if Data of a Power Line Communication (PLC) electric meter needs to be collected, mutual Communication among a master station, a Data Concentrator Unit (DCU) and the PLC electric meter is required. DCUs communicate with the PLC electric meter by adopting a PLC power carrier protocol, and similarly, the DCUs communicate with each other through the PLC. The state of the master station needs to be detected at any time in the process of maintaining the AMI system, so that operation and maintenance personnel can timely restore the system when the master station has problems.
In the existing AMI meter reading scheme, a monitoring machine room is deployed in a different place to continuously query the state of a master station for detecting the abnormality of the master station, and a short message is sent to operation and maintenance personnel through a short message gateway when the master station is abnormal.
However, the deployment of the monitoring machine room and the short message gateway requires additional cost to purchase and install the equipment, which results in high cost of the detection master station.
Disclosure of Invention
The embodiment of the application provides a state detection method and a DCU, which are used for detecting the state of a main station under the condition that no additional equipment is added, and reducing the cost of detecting the main station.
In a first aspect, an embodiment of the present application provides a state detection method, including:
when a first DCU fails to connect with a master station, the first DCU sends a connection abnormal message to a second DCU, and the second DCU and the first DCU are in the same communication range covered by the master station; the first DCU judges whether the second DCU is successfully connected with the master station after sending the connection abnormal message, if the second DCU is determined to be failed to be connected with the master station, the first DCU determines that the master station is abnormal and sends first reporting information, wherein the first reporting information is used for indicating that the master station is abnormal.
In the technical scheme provided by the application, the DCU in the AMI system sends a connection request to the master station, when the DCU finds that the connection is abnormal, the DCU sends a connection abnormal message to other DCUs in the same communication range, the DCU determines whether the other DCUs are abnormal-connection DCUs or not through the feedback conditions of the other DCUs, when the other DCUs are abnormal-connection DCUs, the DCU determines that the master station is abnormal and sends first reported information, no additional device is added in the whole detection process, and the cost for detecting the master station is reduced.
Optionally, in an implementation of the present application, before the sending, by the first DCU, the connection exception message to the second DCU, the method further includes: when the first DCU determines that the connection to the master station fails, the first DCU records the current time as a first timestamp. The first DCU generates a connection exception message that includes the first timestamp and a connection status of the first DCU, where the connection status indicates that the first DCU is not connected to the master station. In the technical scheme provided by the application, the first DCU records the first timestamp when determining that the first DCU is not connected with the master station successfully and allows the connection exception message to carry the first timestamp, thereby being beneficial to other DCUs to know the time when the first DCU is connected with the master station and fails.
Optionally, in this embodiment of the application, after determining that the second DCU is successfully connected to the master station, the first DCU may send second report information, where the second report information includes an identifier of the first DCU, an identifier of the second DCU, a connection status of the first DCU, and a connection status of the second DCU.
Optionally, in this embodiment of the application, the first DCU determines whether the second DCU is successfully connected to the master station according to the feedback condition of the second DCU, where the following possible implementation manners are specifically provided:
one implementation is as follows: the second DCU acquires the connection state of the main station connected with the second DCU after being connected with the main station, generates a response message according to the connection state and sends the response message to the first DCU, wherein the response message comprises the connection state of the second DCU. And the first DCU decodes the response message to obtain the connection state of the second DCU. The first DCU detects the connection state of the second DCU, and if the connection state of the second DCU shows that the second DCU is not connected with the master station, the first DCU determines that the second DCU fails to connect the master station; and if the connection state of the second DCU shows that the second DCU is connected with the master station, the first DCU determines that the second DCU is successfully connected with the master station. In the technical solution provided by the application, the first DCU may obtain the connection state of the second DCU by reading information in the response message sent by the second DCU, so that it may be directly and simply determined whether the second DCU is successfully connected to the master station.
Optionally, in this embodiment of the application, when the second DCU sends the response message to the first DCU, and when the connection state of the second DCU is unconnected, that is, when the second DCU fails to connect to the master station, the second DCU may record a time when it is determined that the master station fails to connect as the second timestamp, and the response message sent by the second DCU to the first DCU may include the second timestamp. The first DCU may obtain the second timestamp and determine whether the second timestamp is earlier than the first timestamp when analyzing the response message, and if not, trigger an action of sending the first report information by the first DCU. In the technical scheme provided by the application, the second DCU records the second timestamp when the connection with the master station fails, so that the first DCU can know the time of the response message, and meanwhile, the first DCU can be facilitated to determine the DCU device for sending the first report information, so that the report information can be effectively prevented from being sent for many times, and the waste of communication resources is avoided.
The other realization mode is as follows: the first DCU starts a second timer when sending a connection abnormal message to the second DCU; the first DCU judges whether a feedback message sent by the second DCU is received before the second timer is overtime; and judging whether the second DCU fails to connect to the master station according to preset conditions, wherein the preset conditions can be as follows: if the first DCU receives the feedback message sent by the second DCU, the first DCU determines that the second DCU is successfully connected with the master station; and if the first DCU does not receive the feedback message sent by the second DCU, the first DCU determines that the second DCU fails to connect the master station. The preset conditions may also be: if the first DCU receives the feedback message sent by the second DCU, the first DCU determines that the second DCU fails to connect the master station; and if the first DCU does not receive the feedback message sent by the second DCU, the first DCU determines that the second DCU is successfully connected with the master station. In the technical scheme provided by the application, the second DCU judges whether to send the feedback message according to the preset condition, so that the second DCU does not need to generate the feedback message for each connection state, and the workload of the second DCU can be effectively reduced.
Optionally, in an implementation of the present application, the first DCU may send the first reporting information or the second reporting information to a network management platform through a mobile communication network by using a Subscriber Identity Module (SIM) of the first DCU. In the scheme of the application, the first DCU uses the mobile communication network to send the first reported information or the second reported information, so that the setting of short message gateway equipment is omitted, and the cost of the state detection of the master station is reduced.
In a second aspect, an embodiment of the present application provides a first DCU, where the first DCU has a function of implementing the first DCU in the foregoing method. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above.
In one possible implementation, the first DCU includes:
a sending module, configured to send a connection exception message to a second DCU when a first DCU fails to connect to a master station, where the second DCU and the first DCU are in a same communication range covered by the master station;
the processing module is used for judging whether the second DCU is successfully connected with the master station; if the second DCU is judged to be failed to connect the master station, determining that the master station is abnormal;
the sending module is further configured to send first reporting information, where the first reporting information is used to indicate that the master station is abnormal.
In another possible implementation manner, the first DCU includes a transceiver and a processor in its structure;
the processor is configured to send a connection exception message to a second DCU through the transceiver when the first DCU fails to connect to the master station, where the second DCU and the DCU are in a same communication range covered by the master station; and judging whether the second DCU is successfully connected with the master station, if the second DCU is determined to be unsuccessfully connected with the master station, determining that the master station is abnormal, and sending first reporting information through the transceiver, wherein the first reporting information is used for indicating that the master station is abnormal.
In a third aspect, a computer storage medium is provided, having program code stored therein for instructing execution of the method of the first aspect.
In a fourth aspect, a condition detection system is provided, comprising: a master station, a first DCU and a second DCU;
the first DCU is used for sending a connection abnormal message to a second DCU, and the second DCU and the first DCU are in the same communication range covered by the master station; the first DCU judges whether the second DCU is successfully connected with the master station after sending the connection abnormal message, if the second DCU is determined to be failed to be connected with the master station, the first DCU determines that the master station is abnormal and sends first reporting information, wherein the first reporting information is used for indicating that the master station is abnormal. According to the technical scheme, the embodiment of the application has the following advantages:
the DCU in the AMI system sends a connection request to the master station, when the DCU finds that the connection is abnormal, the DCU sends a connection abnormal message to other DCUs in the same communication range, the DCU determines whether the other DCUs are abnormal DCUs or not through the connection feedback states of the other DCUs, when the other DCUs are abnormal DCUs, the DCU determines that the master station is abnormal and sends first reported information, no additional equipment is added in the whole detection process, and the cost of detecting the master station is reduced.
Drawings
FIG. 1 is a block diagram of a status detection system according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an embodiment of a state detection method in an embodiment of the present application;
FIG. 3 is a schematic diagram of another embodiment of a state detection method in the embodiment of the present application;
FIG. 4 is a schematic diagram of an embodiment of a first DCU in an embodiment of the present application;
fig. 5 is a schematic diagram of another embodiment of the first DCU in the embodiment of the present application.
Detailed Description
The embodiment of the application provides a state detection method and a DCU (distributed channel Unit), which can detect the state of a main station under the condition of not adding additional equipment and reduce the cost of detecting the main station.
References in the specification and claims of this application and in the above-described drawings to "first," "second," "third," "fourth" (if any), etc. are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In a meter reading system deployed by adopting AMI, if data of a PLC electric meter are to be acquired, mutual communication among a master station, a DCU and the PLC electric meter is required. DCUs communicate with the PLC electric meter by adopting a PLC power carrier protocol, and similarly, the DCUs communicate with each other through the PLC.
The application provides a state detection method, which can automatically realize state detection of a main station through a DCU (digital Subscriber Identity Module), a Subscriber Identity Module (SIM) is inserted in the DCU, can support Packet Radio Service (GPRS) communication, and can timely inform operation and maintenance personnel when detecting the abnormality of the main station.
Referring to the meter reading system shown in fig. 1, in the embodiment of the present application, a first DCU sends a connection request to a master station, the master station sends a connection response to the first DCU, and a process of a second DCU connecting to the master station is the same as a process of the first DCU connecting to the master station. The first DCU and the second DCU can communicate with each other through a PLC. The first DCU is any one DCU in the meter reading system. Although only the first DCU and the second DCU are shown in the meter reading system shown in fig. 1, the system may further include other DCUs, which is not limited in this application.
In order to solve the problem that the cost of the detection master station is high, the embodiment of the application provides the following technical scheme: when a first DCU fails to connect with a master station, the first DCU sends a connection abnormal message to a second DCU, and the second DCU and the first DCU are in the same communication range covered by the master station; the first DCU judges whether the second DCU is successfully connected with the master station; if the first DCU determines that the second DCU fails to connect the master station, the first DCU determines that the master station is abnormal; the first DCU sends first reporting information, wherein the first reporting information is used for indicating that the master station is abnormal.
In the present application, the first DCU determining whether the second DCU is successfully connected to the master station includes two possible implementation manners, which are shown in fig. 2 and fig. 3, respectively.
Referring to fig. 2, one possible implementation manner for the first DCU to determine whether the second DCU is successfully connected to the master station is as follows: the first DCU can determine whether the second DCU is successfully connected with the master station or not by reading the content in the response message fed back by the second DCU; the method specifically comprises the following steps:
201. the first DCU generates a connection exception message
In the process of detecting the state of the master station by the first DCU, the first DCU sends a connection request to the master station and starts a first timer; the first DCU inquires whether a connection response of the master station is received in real time before the first timer is overtime; when the first DCU does not receive the connection response of the master station before the first timer is overtime, the first DCU determines that the connection of the master station fails; the first DCU generates a connection exception message.
Optionally, when the first DCU determines that it fails to connect to the master station, the first DCU may record the current time as the first timestamp. Meanwhile, the connection exception message generated by the first DCU may include the first timestamp and a connection status of the first DCU. For example, when the first DCU has a flag of 01, a connection status is unconnected, and a timestamp of 11:30 and a broadcast address of FFFFFFFFFFFF, PLC has a header of hhhhhh, the connection exception message is shown in table 1.
Figure BDA0000881794430000061
TABLE 1
The connection request may be sent by the first DCU to query the status of the master station, or may be sent when the first DCU and the master station perform data interaction, as long as the first DCU can send the connection request to the master station, which is not limited herein.
Optionally, when the first DCU receives the connection response from the master station, it indicates that the first DCU is successfully connected to the master station, and the first DCU may directly perform data interaction with the master station or prepare to perform a next query action; or, the first DCU sends the state generation broadcast message with successful connection to other DCUs in the same communication range, so that the other DCUs query the state of the master station with reference.
202. The first DCU sends a connection abnormal message to the second DCU;
and the first DCU sends the abnormal connection message to the second DCU through the power carrier protocol PLC.
It should be noted that the second DCU and the first DCU are in the same communication range covered by the master station, and normal communication can be performed between the two DCUs.
203. The first DCU receives a response message sent by the second DCU;
the second DCU acquires the connection state of the main station connected with the second DCU after being connected with the main station, generates a response message according to the connection state and sends the response message to the first DCU, wherein the response message comprises the second timestamp and the connection state of the second DCU.
It should be noted that, before the second DCU sends the feedback response message to the first DCU, the second DCU needs to connect to the master station, and the process is the same as the process in which the first DCU sends the connection request to the master station, and is not described herein again.
The second DCU generates the response message after receiving the connection exception message sent by the first DCU, or before receiving the connection exception message sent by the first DCU, which is not limited herein.
204. The first DCU parses the response message.
And the first DCU decodes the response message to obtain the second timestamp and the connection state of the second DCU.
205. The first DCU determines whether the second DCU fails to connect to the master station, if the second DCU fails to connect to the master station, step 206 is executed, and if the second DCU succeeds in connecting to the master station, step 207 is executed
The first DCU detects the connection state of the second DCU, and if the connection state of the second DCU shows that the second DCU is not connected with the master station, the first DCU determines that the second DCU fails to be connected with the master station; and if the connection state of the second DCU shows that the second DCU is connected with the master station, the first DCU determines that the second DCU is successfully connected with the master station.
After the first DCU determines that the second DCU fails to connect to the master station, the first DCU may further determine whether the first timestamp is earlier than the second timestamp, and if the first timestamp is later than the second timestamp, the first DCU selects the second DCU to send the first report message without the first DCU performing processing.
206. The first DCU determines that the master station is abnormal and sends first reporting information.
And after the first DCU determines that the second DCU fails to be connected with the master station, determining that the master station is abnormal. The first DCU generates first reporting information after determining that the master station is abnormal, wherein the first reporting information mainly indicates that the master station needs to be maintained when the master station is abnormal and sends the first reporting information to operation and maintenance personnel.
The first DCU may send the first report information in various manners, for example, the first DCU sends the first report information to a network management platform through a mobile communication network or a short message, which is not limited herein.
207. And the first DCU sends the second reporting information.
And the first DCU sends second reporting information to the operation and maintenance personnel, wherein the second reporting information comprises the identifier of the first DCU, the identifier of the second DCU, the connection state of the first DCU, the connection state of the second DCU and a timestamp for determining the connection state of the first DCU and the connection state of the second DCU. Such as: when the connection state of the first DCU is unconnected and the serial number is 01, determining that the moment of the disconnection is 11: 30; the connection status of the second DCU is connected, the serial number is 02, and if the time of connection is 11:31, the content of the second report information is shown in table 2.
Time of occurrence 11:30
Normal list {02}
Exception lists {01}
TABLE 2
In the technical solution provided in the present application, when the first DCU finds that the connection is abnormal, the first DCU sends a connection abnormal message to the second DCU within the same communication range, and the first DCU can obtain the connection state of the second DCU through a response message sent by the second DCU, so that it can be determined more directly and more simply whether the second DCU is successfully connected to the master station. When the second DCU is a DCU with abnormal connection, the DCU determines that the master station is abnormal and the first DCU judges the time to select the DCU device sending the first report information, so that the first report information can be effectively prevented from being sent for many times, and the waste of communication resources is avoided. Meanwhile, the first DCU sends the first report information of the first report information by using a mobile communication network, so that the setting of short message gateway equipment is omitted, no additional equipment is added in the whole detection process, and the cost of the detection master station is reduced.
Referring to fig. 3, another possible implementation manner for the first DCU to determine whether the second DCU is successfully connected to the master station is as follows: the first DCU determines whether the second DCU is successfully connected with the master station or not by judging whether a response message fed back by the second DCU is received or not within a preset time; the method specifically comprises the following steps:
301. the first DCU generates a connection exception message
In the process of detecting the state of the master station by the first DCU, the first DCU sends a connection request to the master station and starts a first timer; the first DCU inquires whether a connection response of the master station is received in real time before the first timer is overtime; when the first DCU does not receive the connection response of the master station before the first timer is overtime, the first DCU determines that the connection of the master station fails; the first DCU generates a connection exception message.
Optionally, when the first DCU determines that it fails to connect to the master station, the first DCU may record the current time as the first timestamp. Meanwhile, the connection exception message generated by the first DCU may include the first timestamp and a connection status of the first DCU. For example, when the identifier of the first DCU is 01, the connection status is unconnected, and the timestamp is 11:30, the broadcast address is FFFFFFFFFFFF, PLC, and the header is hhhhhhh, the connection exception message is shown in table 3:
Figure BDA0000881794430000091
TABLE 3
The connection request may be sent by the first DCU to query the status of the master station, or may be sent when the first DCU and the master station perform data interaction, as long as the first DCU can send the connection request to the master station, which is not limited herein.
Optionally, when the first DCU receives the connection response from the master station, it indicates that the first DCU is successfully connected to the master station, and the first DCU may directly perform data interaction with the master station or prepare to perform a next query action; or, the first DCU sends the state generation broadcast message with successful connection to other DCUs in the same communication range, so that the other DCUs query the state of the master station with reference.
302. The first DCU sends a connection exception message to the second DCU and starts a second timer.
And the first DCU sends the abnormal connection message to the second DCU through the power carrier protocol PLC and starts a second timer.
It should be noted that the second DCU and the first DCU are in the same communication range covered by the master station, and normal communication can be performed between the two DCUs.
303. The first DCU determines whether the second DCU fails to connect to the master station, if the second DCU fails to connect to the master station, step 304 is performed, and if the second DCU succeeds in connecting to the master station, step 305 is performed.
The first DCU judges whether a feedback message sent by the second DCU is received before the second timer is overtime, wherein the feedback message is; and judging whether the second DCU fails to be connected with the master station according to preset conditions.
It should be noted that the preset condition may be as follows:
one possible scenario is: if so, the first DCU determines that the second DCU is successfully connected with the master station; if not, the first DCU determines that the second DCU fails to connect to the master station.
Another possible scenario is: if so, the first DCU determines that the second DCU fails to connect the master station; if not, the first DCU determines that the second DCU successfully connects to the master station.
The preset condition is set manually, as long as it can be determined correctly whether the second DCU is successfully connected to the master station, and this is not limited herein.
Before the first DCU determines whether the feedback message sent by the second DCU is received before the second timer times out, the second DCU needs to connect to the master station, and the process of connecting the second DCU to the master station is the same as the process of connecting the first DCU to the master station, which is not described herein again.
304. The first DCU determines that the master station is abnormal and sends first reporting information.
And after the first DCU determines that the second DCU fails to be connected with the master station, determining that the master station is abnormal. The first DCU generates first reporting information after determining that the master station is abnormal, wherein the first reporting information mainly indicates that the master station needs to be maintained when the master station is abnormal and sends the first reporting information to operation and maintenance personnel.
The first DCU may send the first report information in various manners, for example, the first DCU sends the first report information to a network management platform through a mobile communication network or a short message, which is not limited herein.
305. And the first DCU sends the second reporting information.
And the first DCU sends second reporting information to the operation and maintenance personnel, wherein the second reporting information comprises the identifier of the first DCU, the identifier of the second DCU, the connection state of the first DCU, the connection state of the second DCU and a timestamp for determining the connection state of the first DCU and the connection state of the second DCU. Such as: when the connection state of the first DCU is unconnected, the mark is 01, and the moment of the unconnected is determined to be 11: 30; the connection status of the second DCU is connected, the identifier is 02, and the time of connection is 11:31, so the content of the second report information is shown in table 4:
time of occurrence 11:30
Normal list {02}
Exception lists {01}
TABLE 4
In this implementation, when the first DCU finds that the connection master station is abnormal, the first DCU sends a connection abnormal message to the second DCU within the same communication range, the first DCU can obtain the connection state of the second DCU by whether the second DCU sends a feedback message, and the second DCU judges whether to send the feedback message according to a preset condition, so that the second DCU does not need to generate a feedback message for each connection state, and the workload of the second DCU can be effectively reduced. When the second DCU is the abnormal connection DCU, the first DCU sends the first report information by using the mobile communication network or when the second DCU is the normal connection DCU, the first DCU sends the first report information by using the mobile communication network, so that the setting of short message gateway equipment is omitted, no additional equipment is added in the whole detection process, and the cost of the detection master station is reduced.
The above describes the state detection method in the embodiment of the present application, and the DCU in the embodiment of the present application is described below.
Referring to fig. 4, an embodiment of a first DCU in the embodiment of the present application includes: a sending module 401, a processing module 402, a receiving module 403;
the sending module 401 is configured to send a connection exception message to a second DCU when the first DCU fails to connect to the master station, where the second DCU and the first DCU are in the same communication range covered by the master station;
the processing module 402 is configured to determine whether the second DCU is successfully connected to the master station; if the second DCU is judged to be failed to connect the master station, determining that the master station is abnormal;
the sending module 401 is further configured to send first reporting information, where the first reporting information is used to indicate that the master station is abnormal.
With reference to the foregoing embodiment, the sending module 401 is further configured to send a connection request to the master station before sending the connection exception message; and sending a second report message when the second DCU determines that the connection with the master station is successful.
With reference to the foregoing embodiment, the receiving module 403 is configured to receive a response message of the second DCU or a feedback message generated by the second DCU under a preset condition.
With reference to the foregoing embodiment, after the sending module 401 sends the connection request, the processing module 402 is further configured to determine whether a connection response sent by the primary station is received before the first timer expires; when the connection response is not received, recording the current time as a first timestamp; generating the connection exception message, the connection exception message including the first timestamp and a connection status of the first DCU.
With reference to the foregoing embodiment, when the receiving module 403 receives the response message of the second DCU, the processing module 402 is further configured to analyze the response message of the second DCU to obtain a connection state of the second DCU, and determine whether the second DCU is successfully connected to the master station according to the connection state of the second DCU; and judging whether the first time stamp is earlier than the second time stamp, if so, triggering the step of sending the first reporting information.
With reference to the foregoing embodiment, the processing module 402 is further configured to start a second timer, determine whether a feedback message sent by the second DCU is received before the second timer expires, and determine whether the second DCU is successfully connected to the master station according to a preset condition.
Referring to fig. 5, another embodiment of the first DCU in the embodiment of the present application includes: a transceiver 501 and a processor 502; the transceiver 501 and the processor 502 are connected to each other by a bus 503;
the processor 502 is configured to send a connection exception message to a second DCU through the transceiver 501 when the first DCU fails to connect to the master station, where the second DCU and the DCU are in the same communication range covered by the master station; judging whether the second DCU is successfully connected with the master station; if it is determined that the second DCU fails to connect to the master station, it is determined that the master station is abnormal, and first report information is sent through the transceiver 501, where the first report information is used to indicate that the master station is abnormal.
Optionally, the transceiver 501 comprises a radio frequency module and an antenna. In this application, the transceiver 501 includes, in addition to the rf module and the antenna, other transceivers for communicating with the master station and the second DCU, which is not limited herein.
The rf module can be connected to the processor 502 via the bus 503; the radio frequency module and the antenna are used for sending the first reporting information. In the application, under the condition that the connection between the first DCU and the master station is abnormal, the first reported information is sent through a mobile communication network or a short message, for example, an operation and maintenance person is timely notified that the master station is abnormal by sending a short message including the first reported information.
The bus 503 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 5, but this is not intended to represent only one bus or type of bus.
Optionally, the transceiver 501 is further configured to send a connection request to the master station before sending the connection exception message; and sending the second report information when the second DCU determines that the connection with the master station is successful, where in the application, the first DCU may send the connection request to the master station by wire or in other manners, and this is not limited here.
Optionally, the transceiver 501 is further configured to receive a response message of the second DCU or a feedback message generated by the second DCU under a preset condition.
The processor 502 is specifically configured to: after the transceiver 501 receives the response message of the second DCU, the response message fed back by the second DCU is analyzed to obtain the connection state of the second DCU, and whether the second DCU is successfully connected to the master station is determined according to the connection state of the second DCU; and judging whether the first time stamp is earlier than the second time stamp, if so, triggering the step of sending the first reporting information.
Or, the processor 502 is specifically configured to: after the transceiver 501 sends the connection exception message, it starts a second timer, and determines whether the feedback message sent by the second DCU is received before the second timer expires, and determines whether the second DCU is successfully connected to the master station according to a preset condition.
Optionally, the processor 502 is further configured to determine, after the transceiver 501 sends the connection request, whether a connection response sent by the master station is received before the first timer expires; when the connection response is not received, recording the current time as a first timestamp; generating the connection exception message, the connection exception message including the first timestamp and a connection status of the first DCU.
The processor 502 may be a Central Processing Unit (CPU), a Network Processor (NP), or a combination of a CPU and an NP.
The processor 502 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a Programmable Logic Device (PLD), or a combination thereof. The PLD may be a Complex Programmable Logic Device (CPLD), a field-programmable gate array (FPGA), a General Array Logic (GAL), or any combination thereof.
Referring to fig. 5, the first DCU may further include a memory 504; the memory 504 is used for storing the first time stamp and the second time stamp.
The memory 504 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), a Hard Disk Drive (HDD) or a solid-state drive (SSD); the memory 605 may also comprise a combination of memories of the kind described above.
Optionally, the memory 605 may also be used to store program instructions, and the processor 603 calls the program instructions stored in the memory 605, and may perform one or more steps in the embodiments shown in fig. 2 or fig. 3, or an alternative implementation thereof, to implement the function of the first DCU behavior in the above method.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (13)

1. A method of condition detection, comprising:
when a first data concentration unit DCU fails to be connected with a master station, the first DCU sends a connection abnormal message to a second DCU, the second DCU and the first DCU are in the same communication range covered by the master station, and the first DCU and the second DCU communicate through a power carrier communication PLC;
the first DCU judges whether the second DCU is successfully connected with the master station or not;
if the first DCU determines that the second DCU fails to connect the master station, the first DCU determines that the master station is abnormal;
and the first DCU sends first reporting information, wherein the first reporting information is used for indicating that the master station is abnormal.
2. The status detection method according to claim 1, wherein before the first DCU sends the connection exception message to the second DCU, the method further comprises:
the first DCU sends a connection request to the master station and starts a first timer;
if the first DCU does not receive a connection response before the first timer is overtime, the first DCU records the current moment as a first timestamp;
the first DCU generates the connection exception message, wherein the connection exception message comprises the first timestamp and a connection state of the first DCU.
3. The status detection method according to claim 2, characterized in that the method further comprises:
and if the first DCU determines that the second DCU is successfully connected with the master station, the first DCU sends second reporting information, wherein the second reporting information comprises the identifier of the first DCU, the identifier of the second DCU, the connection state of the first DCU and the connection state of the second DCU.
4. The method according to any of claims 1 to 3, wherein the determining, by the first DCU, whether the second DCU successfully connects to the master station comprises:
the first DCU receives a response message sent by the second DCU, wherein the response message comprises the connection state of the second DCU;
if the connection state of the second DCU is connected, the first DCU determines that the second DCU is successfully connected with the master station;
and if the connection state of the second DCU is not connected, the first DCU determines that the second DCU fails to connect the master station.
5. The status detection method according to claim 4, wherein if the connection status of the second DCU is not connected, the response message further includes a second timestamp, and the second timestamp is recorded by the second DCU when it is determined that the connection to the master station fails.
6. The status detection method according to claim 5, wherein before the first DCU sends the first report message, the method comprises:
the first DCU determines that a first timestamp is earlier than a second timestamp, the first timestamp being recorded by the first DCU at a current time that a first timer times out, the first timer being started by the first DCU when sending a connection request to the master station.
7. A first data concentration unit, DCU, comprising:
the system comprises a sending module and a receiving module, wherein the sending module is used for sending a connection abnormal message to a second DCU when the first DCU fails to be connected with a master station, the second DCU and the first DCU are in the same communication range covered by the master station, and the first DCU and the second DCU are communicated through a power line carrier communication PLC;
the processing module is used for judging whether the second DCU is successfully connected with the master station; if the second DCU is determined to be failed to connect the master station, determining that the master station is abnormal;
the sending module is further configured to send first reporting information, where the first reporting information is used to indicate that the master station is abnormal.
8. The first DCU of claim 7, wherein the sending module is further configured to: sending a connection request to the master station and starting a first timer;
the processing module is specifically further configured to:
if the first DCU does not receive a connection response before the first timer is overtime, recording the current moment as a first timestamp;
generating the connection exception message, the connection exception message including the first timestamp and a connection status of the first DCU.
9. The first DCU of claim 8, wherein the sending module is further configured to: and when the second DCU is successfully connected with the master station, sending second reporting information, wherein the second reporting information comprises the identifier of the first DCU, the identifier of the second DCU, the connection state of the first DCU and the connection state of the second DCU.
10. The first DCU according to any of claims 7 to 9, further comprising a receiving module, configured to receive a response message sent by the second DCU;
the processing module is specifically further configured to:
analyzing the response message to obtain the connection state of the second DCU;
if the connection state of the second DCU is connected, determining that the second DCU is successfully connected with the master station;
and if the connection state of the second DCU is not connected, determining that the second DCU fails to connect the master station.
11. The first DCU of claim 10, wherein if the connection status of the second DCU is unconnected, the response message further includes a second timestamp, and wherein the second timestamp is recorded by the second DCU when it is determined that the connection to the master station failed.
12. The first DCU of claim 11, wherein the processing module is further configured to: determining that a first timestamp is earlier than a second timestamp, the first timestamp being recorded by the first DCU at a current time that a first timer times out, the first timer being started by the first DCU when sending a connection request to the master station.
13. A first data concentration unit, DCU, comprising a transceiver and a processor:
the processor is configured to send a connection exception message to a second DCU through the transceiver when the first DCU fails to connect to the master station, where the second DCU and the DCU are in the same communication range covered by the master station, and the first DCU and the second DCU communicate with each other through a power carrier communication PLC; judging whether the second DCU is successfully connected with the master station; and if determining that the second DCU fails to connect the master station, determining that the master station is abnormal, and sending first reporting information through the transceiver, wherein the first reporting information is used for indicating that the master station is abnormal.
CN201510955348.0A 2015-12-17 2015-12-17 State detection method and DCU Active CN106911525B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510955348.0A CN106911525B (en) 2015-12-17 2015-12-17 State detection method and DCU

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510955348.0A CN106911525B (en) 2015-12-17 2015-12-17 State detection method and DCU

Publications (2)

Publication Number Publication Date
CN106911525A CN106911525A (en) 2017-06-30
CN106911525B true CN106911525B (en) 2020-05-08

Family

ID=59200580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510955348.0A Active CN106911525B (en) 2015-12-17 2015-12-17 State detection method and DCU

Country Status (1)

Country Link
CN (1) CN106911525B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005010878A (en) * 2003-06-17 2005-01-13 Yaskawa Electric Corp Distributed concurrent processing programmable logic controller system
CN101626318A (en) * 2009-08-05 2010-01-13 上海可鲁系统软件有限公司 Multilevel communication system and communication detection method thereof

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101281214B (en) * 2007-04-02 2010-05-26 深圳市国电科技通信有限公司 Remote meter reading system heart-throb frame real-time detection method
CN101620775A (en) * 2009-07-23 2010-01-06 宁波三星电气股份有限公司 Method for communication between concentrator and primary station of remote meter reading system
CN102468690B (en) * 2010-11-19 2013-12-25 青岛世泽电子仪表有限公司 Distribution-transforming centralized meter-reading monitoring terminal
CN102394790A (en) * 2011-09-29 2012-03-28 航天科工深圳(集团)有限公司 On-line monitoring device and monitoring method of analog transmission line
CN103123484B (en) * 2012-12-26 2016-02-03 辽宁省电力有限公司电力科学研究院 Transformer station's Condition Monitoring Data standardization connecting system and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005010878A (en) * 2003-06-17 2005-01-13 Yaskawa Electric Corp Distributed concurrent processing programmable logic controller system
CN101626318A (en) * 2009-08-05 2010-01-13 上海可鲁系统软件有限公司 Multilevel communication system and communication detection method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
用电信息采集系统的故障分析与处理;邓桂平,李帆,夏水斌;《仪表技术》;20141231;全文 *

Also Published As

Publication number Publication date
CN106911525A (en) 2017-06-30

Similar Documents

Publication Publication Date Title
EP4061052A1 (en) Information reporting method, information receiving method, terminal and network device
KR101723930B1 (en) Wireless local area network (wlan) traffic load measurement provisioning to wireless cellular networks
CN103650569A (en) Fault diagnosis method and device of wireless network
CN111182531B (en) Associated information backfilling method, device, equipment and storage medium
CN107018526A (en) The method and apparatus of remote terminal Wi Fi fault diagnosises based on Android intelligent television
CN115858221A (en) Management method and device of storage equipment, storage medium and electronic equipment
CN101784060B (en) Parameter processing method, network diagnosis method, terminal, server and system
CN113794597A (en) Alarm information processing method, system, electronic device and storage medium
US8805321B2 (en) Geolocation data acquisition system
CN111586740A (en) Method for configuring minimization of drive tests and base station
US10140169B2 (en) Fault tracking in a telecommunications system
CN106911525B (en) State detection method and DCU
CN111010706A (en) Exception recovery method and device
CN111194050B (en) Method and device for identifying fault type
CN107645563B (en) Internet of things communication method and system of medical test equipment
CN112312376B (en) Method and system for remotely and interactively managing multifunctional electric meter
CN116137603A (en) Link fault detection method and device, storage medium and electronic device
CN111405589A (en) Information processing method, network side equipment and terminal
EP2988476A1 (en) Method and apparatus for processing operation on endpoint peripheral
CN113965447B (en) Online cloud diagnosis method, device, system, equipment and storage medium
CN105163335B (en) A kind of network access management method, server, mobile terminal and system
CN112306871A (en) Data processing method, device, equipment and storage medium
CN116669084B (en) Fault restoration method, device, equipment and storage medium based on cellular network
WO2017114171A1 (en) Paging counting method and device, and base station
CN115941028B (en) Ground station fault positioning method and device and electronic equipment

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