Detection method, device and system

By establishing a distributed system between communication nodes and using the coordinated work of multiple slave nodes, the problem of low detection accuracy of existing communication nodes is solved, and a higher accuracy detection result is achieved.

CN119716769APending Publication Date: 2025-03-28HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311294313.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-09-28
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

The detection accuracy of existing communication nodes is low, making it difficult to achieve high-precision detection in multipath and interference environments.

Method used

By establishing a distributed system between the master node and the slave node, the master node controls multiple slave nodes for detection, obtains multiple single-point detection results, and determines the global detection results by summarizing these results, thereby improving the detection accuracy.

Benefits of technology

Through the coordinated work of multiple slave nodes, the global detection results obtained have higher accuracy compared to single-point detection results, and can achieve more accurate detection in complex environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119716769A_ABST
    Figure CN119716769A_ABST
Patent Text Reader

Abstract

A detection method, device and system belong to the technical field of communication. The method comprises the following steps: after a master node respectively sends information of corresponding detection time periods to a first slave node and a second slave node, receiving single-point detection results obtained by the first slave node and the second slave node in a detection mode, and determining a global detection result according to the single-point detection results obtained by the first slave node and the second slave node. Wherein; the first slave node and the second slave node are in a detection mode in the corresponding detection time period, and are in a communication mode in a time period except the corresponding detection time period. The problem that the detection accuracy of the communication node is low can be solved, and the method and the device are used for information detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a detection method, device and system. Background Art

[0002] With the development of communication technology, communication nodes can detect targets by sending and receiving signals. For example, the communication node can first send a detection signal, then receive the detection signal reflected by the target, and obtain the detection result of the target based on the received detection signal.

[0003] At present, communication nodes are mainly used for communication, and communication nodes can realize communication functions and detection functions through time division multiplexing. For example, the communication node transmits service data in the first period to realize the communication function; and the communication node performs detection in the second period to realize the detection function.

[0004] However, the detection accuracy of communication nodes is currently low. Summary of the invention

[0005] The present application provides a detection method, device and system, which can solve the problem of low detection accuracy of communication nodes. The technical solution is as follows:

[0006] In the first aspect, the present application provides a detection method, which is executed by a master node, the master node is connected to a first slave node and a second slave node, and the method includes: after the master node sends the information of the corresponding detection period to the first slave node and the second slave node respectively, the master node receives the single-point detection results obtained by the first slave node and the second slave node in the detection mode, and determines the global detection result according to the single-point detection results obtained by the first slave node and the second slave node. Wherein; the first slave node and the second slave node are in the detection mode in the corresponding detection period, and are in the communication mode in the period outside the corresponding detection period. In the embodiment of the present application, the communication mode is taken as an example of a mode of communication based on an optical fiber communication protocol, and the communication mode can also be a mode of communication based on other protocols (such as wireless fidelity (WiFi)) that are unrelated to the optical fiber communication protocol. The above-mentioned optical fiber communication protocol can be a passive optical network (PON) protocol or other optical fiber communication protocols.

[0007] In the present application, the master node can control multiple slave nodes to detect and obtain multiple single-point detection results, and obtain a global detection result based on these single-point detection results. Since the global detection result is obtained based on multiple single-point detection results, the global detection result has a higher accuracy than the single-point detection result.

[0008] Furthermore, the slave node can receive a second detection signal sent by the detection target in the detection mode, and obtain a single-point detection result based on the second detection signal. Optionally, at least one of the first slave node and the second slave node can also send a first detection signal (also called a detection frame) in the detection mode, so that the detection target sends a second detection signal (also called a feedback frame) based on the received first detection signal. The second detection signal can be a signal obtained by reflecting the first detection signal from the detection target, or the second detection signal can be a signal sent by the detection target after signal processing of the first detection signal. The embodiment of the present application does not limit the relationship between the first detection signal and the second detection signal.

[0009] The following three examples will be used to illustrate the operations performed by the first slave node and the second slave node in the detection mode.

[0010] Example 1: The first slave node sends a first detection signal in the detection mode, and the first slave node and the second slave node both receive a second detection signal in the detection mode.

[0011] In Example 1, the detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a receiving type period, and the detection period corresponding to the first slave node also includes a sending type period; the first slave node sends a first detection signal in the sending type period in the corresponding detection period; the first slave node and the second slave node receive the second detection signal in the receiving type period in the corresponding detection period.

[0012] Example 2: The first slave node and the second slave node both send the first detection signal and receive the second detection signal in the detection mode. It can be seen that based on Example 1, the second slave node also sends the first detection signal in the detection mode.

[0013] In Example 2, the detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a sending period and a receiving period; the first slave node and the second slave node send a first detection signal in a sending period in the corresponding detection period, and receive a second detection signal in a receiving period in the corresponding detection period, and obtain a single-point detection result based on the second detection signal, where the second detection signal is a signal sent by the detection target based on the first detection signal.

[0014] It can be understood that, in Example 2, the detection target may send a second detection signal based on the first detection signal sent by the first slave node, and the detection target may also send a second detection signal based on the first detection signal sent by the second slave node. The second detection signal received by the first slave node may be the second detection signal sent by the detection target based on the first detection signal sent by the first slave node, or may be the second detection signal sent by the detection target based on the first detection signal sent by the second slave node.

[0015] Example 3: The first slave node and the second slave node both receive the second detection signal in the detection mode, and the multiple slave nodes connected to the master node include a third slave node in addition to the first slave node and the second slave node, and the third slave node sends the first detection signal in the detection mode.

[0016] In Example 3, the master node also needs to send the corresponding detection period information to the third slave node; the detection period corresponding to the third slave node includes a sending period but does not include a receiving period, so the detection period corresponding to the third slave node can also be called the sending period corresponding to the third slave node.

[0017] The third slave node sends a first detection signal in a detection mode during a corresponding sending time period; the third slave node is in a communication mode during a time period outside the corresponding sending time period; the detection time period corresponding to the first slave node and the detection time period corresponding to the second slave node both include a receiving time period; the first slave node and the second slave node receive a second detection signal during a receiving time period in the corresponding detection time period, and obtain a single-point detection result based on the second detection signal, where the second detection signal is a signal sent by the detection target based on the first detection signal sent by the third slave node.

[0018] Optionally, the multiple slave nodes connected to the master node include, in addition to the first slave node, the second slave node and the third slave node, a fourth slave node. The fourth slave node may not participate in detection but is only used for communication. In this case, the master node may also send indication information to the fourth slave node indicating that the fourth node is in the communication mode. In this way, the fourth slave node can always be in the communication mode to maintain the normal communication function of the distributed system.

[0019] Optionally, the information of the detection period corresponding to the first slave node and the second slave node is sent through a detection signaling frame; wherein the detection signaling frame includes: signaling fields corresponding to the first slave node and the second slave node respectively; the signaling field corresponding to the first slave node includes the information of the detection period corresponding to the first slave node, and the signaling field corresponding to the second slave node includes the information of the detection period corresponding to the second slave node. In the case where the information of the detection period corresponding to the first slave node and the second slave node is sent through a detection signaling frame, the first slave node can not only receive the information of the detection period corresponding to the first slave node, but also receive the information of the detection period corresponding to the second slave node. Similarly, the second slave node can not only receive the information of the detection period corresponding to the second slave node, but also receive the information of the detection period corresponding to the first slave node. It can be understood that the information of the detection period corresponding to the first slave node and the second slave node respectively may not be sent through a detection signaling frame, for example, the master node can send the information of the detection period corresponding to the first slave node to the first slave node, and does not send the information of the detection period corresponding to the second slave node to the first slave node. The master node can send the information of the detection period corresponding to the second slave node to the second slave node, and does not send the information of the detection period corresponding to the first slave node to the second slave node.

[0020] Optionally, the single-point detection results of the first slave node and the second slave node may also be specified by the master node. For example, the master node may also send information to be detected to the first slave node and the second slave node, and the single-point detection results include the value of the information to be detected.

[0021] Furthermore, the detection parameters of at least one slave node in the detection mode can be specified by the master node. In this case, the master node can also send the detection parameters in the detection mode to at least one connected slave node. For example, the detection parameters include: at least one parameter of the frequency, type and number of the detection signals sent. The at least one slave node can be all slave nodes or part of the slave nodes, which is not limited in the embodiments of the present application.

[0022] In the second aspect, the present application also provides a detection method, which is executed by a target slave node, and the target slave node is any slave node among multiple slave nodes connected to a master node; the method includes: when the target slave node receives information about the detection period corresponding to the target slave node sent by the master node, the target slave node is in a communication mode in a period outside the detection period corresponding to the target slave node, and is in a detection mode in the detection period corresponding to the target slave node to obtain a single-point detection result, and sends the single-point detection result to the master node.

[0023] Optionally, the slave node can receive a second detection signal sent by the detection target in the detection mode, and obtain a single-point detection result based on the second detection signal. Optionally, at least one of the multiple slave nodes can also send a first detection signal (also called a detection frame) in the detection mode, so that the detection target sends a second detection signal (also called a feedback frame) based on the received first detection signal. The second detection signal can be a signal obtained by reflecting the first detection signal from the detection target, or the second detection signal can be a signal sent by the detection target after signal processing of the first detection signal. The embodiment of the present application does not limit the relationship between the first detection signal and the second detection signal.

[0024] The detection period corresponding to the target slave node includes at least one of a sending type period and a receiving type period. Therefore, the target slave node can send a first detection signal in the sending type period when the detection period corresponding to the target slave node includes a sending type period; and, when the detection period corresponding to the target slave node includes a receiving type period, receive a second detection signal in the receiving type period, and obtain the single-point detection result based on the second detection signal; the second detection signal is a signal sent by the detection target based on the first detection signal.

[0025] Optionally, the multiple slave nodes connected to the master node may include slave nodes that are not used for detection. When the target slave node is a slave node that is not used for detection, the target slave node may also be in the communication mode when receiving indication information sent by the master node for indicating that the target slave node is in the communication mode. In this way, the target slave node can always be in the communication mode to maintain the normal communication function of the distributed system.

[0026] Optionally, the information of the detection period corresponding to the target slave node is sent via a detection signaling frame; wherein the detection signaling frame includes: a signaling field corresponding to the target slave node; the signaling field corresponding to the target slave node includes the detection period corresponding to the target slave node.

[0027] Optionally, the single-point detection result of the target slave node can also be specified by the master node. For example, when receiving the information of the detection period corresponding to the target slave node sent by the master node, the target slave node can also receive the information to be detected sent by the master node, and the single-point detection result includes the value of the information to be detected.

[0028] Furthermore, the detection parameters of at least one slave node in the detection mode can be specified by the master node. In this case, when receiving the information of the detection time period corresponding to the target slave node sent by the master node, the target slave node can also receive the detection parameters in the detection mode sent by the master node; the target slave node can be in the detection mode in the detection time period corresponding to the target slave node according to the detection parameters to obtain a single-point detection result.

[0029] Optionally, the detection parameter includes: at least one parameter of the frequency, type and number of the sent detection signals.

[0030] Optionally, the communication mode is a mode of communication based on an optical fiber communication protocol. The optical fiber communication protocol may be a PON protocol or other optical fiber communication protocols. It is understandable that the communication mode may not be a mode of communication based on an optical fiber communication protocol, for example, the communication mode is a mode of communication based on a wireless communication protocol.

[0031] In a third aspect, the present application provides a detection device belonging to a master node. The master node may be a master node in the above-mentioned distributed system, and the master node is connected to a first slave node and a second slave node. The detection device includes:

[0032] The first sending module is used to send information of the corresponding detection period to the first slave node and the second slave node respectively; the first slave node and the second slave node are in the detection mode during the corresponding detection period, and are in the communication mode during the period outside the corresponding detection period. Optionally, the communication mode is a mode of communication based on an optical fiber communication protocol. The optical fiber communication protocol may be a PON protocol or other optical fiber communication protocols. It is understandable that the communication mode may not be a mode of communication based on an optical fiber communication protocol, for example, the communication mode is a mode of communication based on a wireless communication protocol.

[0033] A receiving module, used for receiving the single-point detection results obtained by the first slave node and the second slave node in the detection mode;

[0034] A determination module is used to determine a global detection result according to the single-point detection results obtained by the first slave node and the second slave node.

[0035] Furthermore, the slave node can receive a second detection signal sent by the detection target in the detection mode, and obtain a single-point detection result based on the second detection signal. Optionally, at least one of the first slave node and the second slave node can also send a first detection signal (also called a detection frame) in the detection mode, so that the detection target sends a second detection signal (also called a feedback frame) based on the received first detection signal. The second detection signal can be a signal obtained by reflecting the first detection signal from the detection target, or the second detection signal can be a signal sent by the detection target after signal processing of the first detection signal. The embodiment of the present application does not limit the relationship between the first detection signal and the second detection signal.

[0036] The following three examples will be used to illustrate the operations performed by the first slave node and the second slave node in the detection mode.

[0037] Example 1: A first slave node sends a first detection signal in a detection mode, and both the first slave node and the second slave node receive a second detection signal in the detection mode. The detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a receiving period, and the detection period corresponding to the first slave node also includes a sending period; the first slave node sends a first detection signal in the sending period in the corresponding detection period; the first slave node and the second slave node receive a second detection signal in the receiving period in the corresponding detection period, and obtain the single-point detection result according to the second detection signal, and the second detection signal is a signal sent by the detection target based on the first detection signal.

[0038] Example 2: The first slave node and the second slave node both send the first detection signal and receive the second detection signal in the detection mode. It can be seen that, based on Example 1, the second slave node also sends the first detection signal in the detection mode. The detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a sending period and a receiving period; the first slave node and the second slave node send the first detection signal in the sending period of the corresponding detection period, and receive the second detection signal in the receiving period of the corresponding detection period, and obtain the single-point detection result according to the second detection signal, and the second detection signal is a signal sent by the detection target based on the first detection signal.

[0039] Example 3: The first slave node and the second slave node both receive the second detection signal in the detection mode, and the multiple slave nodes connected to the master node include a third slave node other than the first slave node and the second slave node, and the third slave node sends the first detection signal in the detection mode. The detection device also includes: a second sending module, used to send information of the corresponding sending class time period to the third slave node; the third slave node sends the first detection signal in the detection mode in the corresponding sending class time period; the third slave node is in the communication mode in the time period other than the corresponding sending class time period; the detection time period corresponding to the first slave node and the detection time period corresponding to the second slave node both include a receiving class time period; the first slave node and the second slave node receive the second detection signal in the receiving class time period in the corresponding detection time period, and obtain the single-point detection result according to the second detection signal, and the second detection signal is a signal sent by the detection target based on the first detection signal.

[0040] Optionally, the multiple slave nodes connected to the master node include, in addition to the first slave node, the second slave node and the third slave node, a fourth slave node. The fourth slave node may not participate in detection but is only used for communication. The detection device also includes: a third sending module, which is used to send indication information indicating that the fourth node is in the communication mode to the fourth slave node. In this way, the fourth slave node can always be in the communication mode to maintain the normal communication function of the distributed system.

[0041] Optionally, the information of the detection period corresponding to the first slave node and the second slave node is sent through a detection signaling frame; wherein the detection signaling frame includes: signaling fields corresponding to the first slave node and the second slave node respectively; the signaling field corresponding to the first slave node includes the information of the detection period corresponding to the first slave node, and the signaling field corresponding to the second slave node includes the information of the detection period corresponding to the second slave node. In the case where the information of the detection period corresponding to the first slave node and the second slave node is sent through a detection signaling frame, the first slave node can not only receive the information of the detection period corresponding to the first slave node, but also receive the information of the detection period corresponding to the second slave node. Similarly, the second slave node can not only receive the information of the detection period corresponding to the second slave node, but also receive the information of the detection period corresponding to the first slave node. It can be understood that the information of the detection period corresponding to the first slave node and the second slave node respectively may not be sent through a detection signaling frame, for example, the master node can send the information of the detection period corresponding to the first slave node to the first slave node, and does not send the information of the detection period corresponding to the second slave node to the first slave node. The master node can send the information of the detection period corresponding to the second slave node to the second slave node, and does not send the information of the detection period corresponding to the first slave node to the second slave node.

[0042] Optionally, the single-point detection results of the first slave node and the second slave node may also be specified by the master node. For example, the detection device also includes: a fourth sending module, used to send the information to be detected to the first slave node and the second slave node, and the single-point detection result includes the value of the information to be detected.

[0043] Furthermore, the detection parameters of at least one slave node in the detection mode can be specified by the master node. In this case, the detection device also includes: a fifth sending module, which is used to send the detection parameters in the detection mode to at least one connected slave node. For example, the detection parameters include: at least one parameter of the frequency, type and number of the detection signals sent. The at least one slave node can be all slave nodes or part of the slave nodes, which is not limited in the embodiments of the present application.

[0044] In a fourth aspect, the present application provides a detection device belonging to a target slave node, where the target slave node is any slave node among a plurality of slave nodes connected to a master node; the detection device comprises:

[0045] A first processing module is configured to, upon receiving information of the detection period corresponding to the target slave node sent by the master node, be in a communication mode in a period other than the detection period corresponding to the target slave node, and be in a detection mode in the detection period corresponding to the target slave node to obtain a single-point detection result;

[0046] The sending module is used to send the single point detection result to the master node.

[0047] Optionally, the slave node can receive a second detection signal sent by the detection target in the detection mode, and obtain a single-point detection result based on the second detection signal. Optionally, at least one of the multiple slave nodes can also send a first detection signal (also called a detection frame) in the detection mode, so that the detection target sends a second detection signal (also called a feedback frame) based on the received first detection signal. The second detection signal can be a signal obtained by reflecting the first detection signal from the detection target, or the second detection signal can be a signal sent by the detection target after signal processing of the first detection signal. The embodiment of the present application does not limit the relationship between the first detection signal and the second detection signal.

[0048] The detection period corresponding to the target slave node includes at least one of a sending period and a receiving period. The processing module is used to: when the detection period corresponding to the target slave node includes a sending period, send a first detection signal in the sending period; when the detection period corresponding to the target slave node includes a receiving period, receive a second detection signal in the receiving period, and obtain the single-point detection result according to the second detection signal; the second detection signal is a signal sent by the detection target based on the first detection signal.

[0049] Optionally, the multiple slave nodes connected to the master node may include slave nodes that are not used for detection. When the target slave node is a slave node that is not used for detection, the detection device further includes: a second processing module, which is used to be in the communication mode when receiving the indication information sent by the master node to indicate that the target slave node is in the communication mode. In this way, the target slave node can always be in the communication mode to maintain the normal communication function of the distributed system.

[0050] Optionally, the information of the detection period corresponding to the target slave node is sent via a detection signaling frame; wherein the detection signaling frame includes: a signaling field corresponding to the target slave node; the signaling field corresponding to the target slave node includes the detection period corresponding to the target slave node.

[0051] Optionally, the single-point detection result of the target slave node can also be specified by the master node. For example, when receiving the information of the detection time period corresponding to the target slave node sent by the master node, the detection device also includes: a first receiving module, used to receive the information to be detected sent by the master node, and the single-point detection result includes the value of the information to be detected.

[0052] Furthermore, the detection parameters of at least one slave node in the detection mode can be specified by the master node. In this case, when the information of the detection time period corresponding to the target slave node is received from the master node, the detection device also includes: a second receiving module, used to receive the detection parameters in the detection mode sent by the master node; the first processing module is used to: according to the detection parameters, be in the detection mode in the detection time period corresponding to the target slave node to obtain a single-point detection result.

[0053] Optionally, the detection parameter includes: at least one parameter of the frequency, type and number of the sent detection signals.

[0054] Optionally, the communication mode is a mode of communication based on an optical fiber communication protocol. The optical fiber communication protocol may be a PON protocol or other optical fiber communication protocols. It is understandable that the communication mode may not be a mode of communication based on an optical fiber communication protocol, for example, the communication mode is a mode of communication based on a wireless communication protocol.

[0055] In a fifth aspect, the present application further provides another detection device belonging to a target slave node, the target slave node being any slave node among a plurality of slave nodes connected to the master node, the detection device comprising: a first communication module, a detection module, and a second communication module;

[0056] The detection module is used for obtaining a single-point detection result by being in a detection mode in the detection period corresponding to the target slave node when the first communication module receives the information of the detection period corresponding to the target slave node sent by the master node; the detection module is also used for sending the single-point detection result to the master node;

[0057] The second communication module is configured to be in a communication mode in a time period outside the detection time period corresponding to the target slave node when the first communication module receives the detection time period corresponding to the target slave node sent by the master node.

[0058] Optionally, the detection device also includes a control module; the control module is used to control the detection module to be in detection mode during the detection period corresponding to the target slave node to obtain a single-point detection result when the first communication module receives information about the detection period corresponding to the target slave node sent by the master node; the control module is also used to control the detection module to send the single-point detection result to the master node; the control module is also used to control the second communication module to be in communication mode during a period outside the detection period corresponding to the target slave node when the first communication module receives information about the detection period corresponding to the target slave node sent by the master node.

[0059] Optionally, the first communication module is an optical communication module.

[0060] Optionally, the detection module is used to: when the detection period corresponding to the target slave node includes a sending period, send a first detection signal in the sending period; when the detection period corresponding to the target slave node includes a receiving period, receive a second detection signal in the receiving period, and obtain the single-point detection result according to the second detection signal; the second detection signal is a signal sent by the detection target based on the first detection signal.

[0061] Optionally, the second communication module is further used to: be in the communication mode when the first communication module receives indication information sent by the master node to indicate that the target slave node is in the communication mode.

[0062] Optionally, the information of the detection period corresponding to the target slave node is sent via a detection signaling frame; wherein the detection signaling frame includes: a signaling field corresponding to the target slave node; the signaling field corresponding to the target slave node includes the detection period corresponding to the target slave node.

[0063] Optionally, the first communication module is further used to receive the information to be detected sent by the master node when receiving the information of the detection period corresponding to the target slave node sent by the master node, and the single-point detection result includes the value of the information to be detected.

[0064] Optionally, the first communication module is also used to receive the detection parameters in the detection mode sent by the master node when receiving the information of the detection time period corresponding to the target slave node sent by the master node; the detection module is used to: according to the detection parameters, be in the detection mode in the detection time period corresponding to the target slave node to obtain a single-point detection result.

[0065] Optionally, the detection parameter includes: at least one parameter of the frequency, type and number of the sent detection signals.

[0066] Optionally, the communication mode is a mode of communication based on an optical fiber communication protocol. The optical fiber communication protocol may be a PON protocol or other optical fiber communication protocols. It is understandable that the communication mode may not be a mode of communication based on an optical fiber communication protocol, for example, the communication mode is a mode of communication based on a wireless communication protocol.

[0067] In a sixth aspect, the present application provides a detection device, which belongs to a master node, and the master node is connected to a first slave node and a second slave node. The detection device includes: a transceiver and a processor; the transceiver is used to perform the sending operation and the receiving operation in the detection method described in any design in the first aspect; the processor is used to perform the operations in the detection method described in any design in the first aspect except the sending operation and the receiving operation.

[0068] For example, the transceiver is used to send information of the corresponding detection period to the first slave node and the second slave node respectively; the first slave node and the second slave node are in the detection mode during the corresponding detection period, and are in the communication mode during the period outside the corresponding detection period; the transceiver is also used to receive the single-point detection results obtained by the first slave node and the second slave node in the detection mode; the processor is used to determine the global detection result based on the single-point detection results obtained by the first slave node and the second slave node.

[0069] The transceiver may include a receiver and a transmitter, the transmitter is used to perform a sending operation in the operation that the transceiver is used to perform, and the receiver is used to perform a receiving operation in the operation that the transceiver is used to perform. For example, the transmitter is used to send information of the corresponding detection period to the first slave node and the second slave node respectively; the receiver is used to receive the single-point detection results obtained by the first slave node and the second slave node in the detection mode.

[0070] In the seventh aspect, the present application provides a detection device, which belongs to a target slave node, and the target slave node is any slave node among multiple slave nodes connected to a master node; the detection device includes: a transceiver and a processor; the transceiver is used to perform the sending operation and the receiving operation in the detection method described in any design in the second aspect; the processor is used to perform the operations in the detection method described in any design in the second aspect except the sending operation and the receiving operation.

[0071] For example, when the transceiver receives information about the detection period corresponding to the target slave node sent by the master node, the processor is used to be in communication mode in a period outside the detection period corresponding to the target slave node, and to be in detection mode in the detection period corresponding to the target slave node to obtain a single-point detection result; the transceiver is used to send the single-point detection result to the master node.

[0072] The transceiver may include a receiver and a transmitter, the transmitter is used to perform a sending operation in the operation that the transceiver is used to perform, and the receiver is used to perform a receiving operation in the operation that the transceiver is used to perform. For example, the processor is used to be in a communication mode in a period outside the detection period corresponding to the target slave node, and in a detection mode in the detection period corresponding to the target slave node to obtain a single-point detection result when the receiver receives information about the detection period corresponding to the target slave node sent by the master node; the transmitter is used to send the single-point detection result to the master node.

[0073] In an eighth aspect, the present application further provides a chip, comprising a programmable logic circuit and / or program instructions, which, when the chip is running, is used to implement the detection method as described in any design in the first aspect or any design in the second aspect.

[0074] In a ninth aspect, the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions;

[0075] When the instructions are executed on a computer, the computer is caused to execute the detection method as described in any one of the designs in the first aspect or any one of the designs in the second aspect.

[0076] In the tenth aspect, the present application also provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the detection method as described in any design in the first aspect or any design in the second aspect.

[0077] In the eleventh aspect, the present application also provides a distributed system, including: a master node and multiple slave nodes, the master node is used to execute the detection method described in any design of the first aspect, and the slave nodes are used to execute the detection method described in any design of the second aspect.

[0078] The effects of the second to eleventh aspects mentioned above can refer to the effects of the corresponding designs in the first aspect, and this application will not elaborate on them here. BRIEF DESCRIPTION OF THE DRAWINGS

[0079] Figure 1 A schematic diagram of the structure of a distributed system provided in an embodiment of the present application;

[0080] Figure 2 A flow chart of a detection method provided in an embodiment of the present application;

[0081] Figure 3 A schematic diagram of the structure of a detection signaling frame provided in an embodiment of the present application;

[0082] Figure 4 A schematic diagram of a sending time period and a receiving time period provided in an embodiment of the present application;

[0083] Figure 5 A schematic diagram of another sending time period and receiving time period provided in an embodiment of the present application;

[0084] Figure 6 A schematic diagram of the structure of another detection signaling frame provided in an embodiment of the present application;

[0085] Figure 7 A schematic diagram of the structure of a detection management frame provided in an embodiment of the present application;

[0086] Figure 8 A schematic diagram of the structure of a target slave node provided in an embodiment of the present application;

[0087] Fig. 9 A schematic diagram of another detection method provided in an embodiment of the present application;

[0088] Fig.10 A schematic diagram of the structure of a detection device provided in an embodiment of the present application;

[0089] Fig.11 A schematic diagram of the structure of another detection device provided in an embodiment of the present application;

[0090] Fig.12 A schematic diagram of the structure of another detection device provided in an embodiment of the present application;

[0091] Fig.13 A schematic diagram of the structure of another detection device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0092] In order to make the principles and technical solutions of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0093] With the development of communication technology, the communication rate is getting higher and higher. Since communication and perception (also known as detection perception) complement each other, high-speed and reliable communication signals can be used to obtain information such as distance, angle, speed, etc., to achieve high-precision positioning, gesture perception, object detection and other detection operations, and realize the function of the network replacing sensors. For example, when a communication node has the function of detection perception, it can obtain the detection result of the detection target by detecting the detection target. If the detection target is an object, the detection result is the position, temperature, humidity, speed, etc. of the object; or, if the detection target is the environment, the detection result is the temperature, humidity, map, etc. of the environment. The detection results obtained by the communication node can assist the communication system in better algorithm optimization and improvement of communication quality.

[0094] Furthermore, the communication rate is related to spectrum resources. With the shortage of spectrum resources, the frequency band of the sixth-generation (6-generation, 6G) mobile communication system has gradually expanded from the traditional 6 gigahertz (GHz) or less (which can be expressed as Sub-6G) to millimeter waves and even terahertz. At present, the published millimeter-wave wireless fidelity (WiFi) spectrum resources are nearly 30 times that of Sub-6G, and the communication rate is nearly 7.5 times that of Sub-6G under the same multiple-in multipleout (MIMO) technical specifications. It can be seen that the millimeter wave band belongs to a higher frequency band, has a wider bandwidth, can carry a larger amount of information, and has a larger antenna array, making extremely low-latency communication and high-precision and high-resolution perception possible. Therefore, a variety of new vertical application scenarios derived from millimeter waves, such as smart medical care, smart transportation, smart manufacturing, and smart home, have become a global research hotspot.

[0095] In the related art, a communication node with synaesthesia (communication and perception) integrated function (which can be called a single-point synaesthesia integrated node) can first send a detection signal during detection, then receive the detection signal reflected by the detected target, and obtain the detection result of the detected target based on the received detection signal. In addition, the communication node can realize the communication function and the detection function by time division multiplexing. For example, the communication node transmits business data in the first time period to realize the communication function; and the communication node performs detection in the second time period to realize the detection function. However, the detection accuracy of the current communication node is low. In addition, due to the presence of multipath and interference in the environment, the quality of the detection signal received by the communication node is poor, so that the perception performance of the communication node cannot be guaranteed. In addition, the communication node cannot realize the communication function during the detection process, which will cause the communication service to be interrupted.

[0096] The embodiment of the present application provides a distributed system, which includes a master node and multiple slave nodes, and the master node can control multiple slave nodes to detect and obtain multiple single-point detection results, and the master node then summarizes these single-point detection results to obtain a global detection result with higher accuracy. Moreover, there are always slave nodes among the multiple slave nodes that obtain single-point detection results with higher accuracy, so the global detection result obtained by the master node summary is also higher.

[0097] For example, Figure 1 A schematic diagram of the structure of a distributed system provided in an embodiment of the present application. Figure 1 As shown, the distributed system includes a master node 01 and multiple slave nodes (such as a first slave node 021 and a second slave node 022). In the present application, the multiple slave nodes including the first slave node 021 and the second slave node 022 are taken as an example. It can be understood that the multiple slave nodes can also include other slave nodes in addition to the first slave node 021 and the second slave node 022.

[0098] The master node 01 and each of the multiple slave nodes can be devices such as gateways and routers, and each node can also be a part of these devices (such as an interface board, etc.). As an optional embodiment, the slave node can be an optical communication node that communicates based on optical signals. For example, the distributed system is a fiber to the room (FTTR) system, which can realize the arrangement of the master node in the living room and the setting of slave nodes in each room to provide gigabit coverage for each room; in this case, the master node can be called a master FTTR unit (MFU) and the slave node can be called a slave FTTR unit (SFU). The slave node can also be connected to an optical network terminal (ONT).

[0099] The master node 01 establishes a communication connection with the multiple slave nodes. The communication connection between the master node 01 and the slave nodes can be a wired communication connection or a wireless communication connection, which is not limited in the embodiment of the present application.

[0100] The following will further illustrate the functions of each node in the above distributed system through the detection method provided in the embodiment of the present application. Figure 2 A flow chart of a detection method provided in an embodiment of the present application, the detection method can be performed as follows Figure 1 The distributed system shown is executed as Figure 2 As shown, the detection method includes:

[0101] S101. A master node sends information of a corresponding detection period to a first slave node and a second slave node respectively.

[0102] In an embodiment of the present application, each of the first slave node and the second slave node has a detection mode and a communication mode, and each of the first slave node and the second slave node can detect the detection target in the detection mode to obtain a single-point detection result, and communicate in the communication mode. The detection mode can be a radar detection mode (such as a millimeter wave radar detection mode) or other detection modes. In the embodiment of the present application, the communication mode is taken as an example of a mode of communication based on an optical fiber communication protocol, and the communication mode can also be a mode of communication based on other protocols (such as WiFi). The optical fiber communication protocol can be a PON protocol or other optical fiber communication protocols.

[0103] When each of the first slave node and the second slave node enters the detection mode and when each of the slave nodes enters the communication mode is controlled by the master node. For example, the master node can send information of the corresponding detection period to the first slave node and the second slave node in S101 to indicate when each of the first slave node and the second slave node enters the detection mode and when each of the slave nodes enters the communication mode. The first slave node and the second slave node each have a corresponding detection period, and the first slave node and the second slave node are both in the detection mode during the corresponding detection period, and are in the communication mode during the period outside the corresponding detection period.

[0104] The information of the detection period corresponding to each slave node in the first slave node and the second slave node may be the detection period, or may be information different from the detection period and used to indicate the detection period, which is not limited in the embodiment of the present application.

[0105] Optionally, the information of the detection period corresponding to the first slave node and the second slave node is sent through a detection signaling frame (also called a beacon frame); wherein the detection signaling frame includes: signaling fields corresponding to the first slave node and the second slave node. The signaling field corresponding to the first slave node includes the information of the detection period corresponding to the first slave node, and the signaling field corresponding to the second slave node includes the information of the detection period corresponding to the second slave node. For example, Figure 3 As shown, the detection signaling frame includes a signaling field 1 corresponding to the first slave node, and a signaling field 2 corresponding to the second slave node, the signaling field 1 includes the information of the detection period 1 corresponding to the first slave node, and the signaling field 2 includes the information of the detection period 2 corresponding to the second slave node. In addition, the signaling field corresponding to the slave node in the detection signaling frame may also include: an identifier of the slave node (such as a service set identifier (SSID)) of the slave node. The slave node can identify the corresponding signaling field based on the identifier of the slave node. The signaling field corresponding to the slave node in the detection signaling frame may also not include the identifier of the slave node. In this case, the slave node can find the signaling field based on the position of its corresponding signaling field.

[0106] When the information of the detection period corresponding to the first slave node and the second slave node is sent through the detection signaling frame, the first slave node can not only receive the information of the detection period corresponding to the first slave node, but also receive the information of the detection period corresponding to the second slave node. Similarly, the second slave node can not only receive the information of the detection period corresponding to the second slave node, but also receive the information of the detection period corresponding to the first slave node.

[0107] It is understandable that the information of the detection period corresponding to the first slave node and the second slave node respectively may not be sent through the detection signaling frame. For example, the master node may send the information of the detection period corresponding to the first slave node to the first slave node, and not send the information of the detection period corresponding to the second slave node to the first slave node. The master node may send the information of the detection period corresponding to the second slave node to the second slave node, and not send the information of the detection period corresponding to the first slave node to the second slave node.

[0108] In addition, the detection period corresponding to the first slave node and the detection period corresponding to the second slave node may be the same or different, which is not limited in the embodiment of the present application.

[0109] S102: The first slave node is in a detection mode in a corresponding detection period to obtain a single-point detection result, and is in a communication mode in a period outside the corresponding detection period.

[0110] S103. The first slave node sends a single-point detection result to the master node.

[0111] S104: The second slave node is in a detection mode in a corresponding detection period to obtain a single-point detection result, and is in a communication mode in a period outside the corresponding detection period.

[0112] S105. The second slave node sends the single-point detection result to the master node.

[0113] After receiving the information of the detection period corresponding to the slave node, each of the first slave node and the second slave node can determine the detection period corresponding to the slave node according to the information, and be in the detection mode during the detection period, and be in the communication mode during the period outside the detection period.

[0114] When the slave node is in the detection mode, it can detect the detection target to obtain the detection result and send the detection result to the master node. The detection result can be called a single-point detection result.

[0115] When the slave node is in communication mode, it can perform operations related to communication, such as transmitting service data. The service data can be data exchanged between the slave node and the user terminal, or data forwarded by the slave node from the user terminal or for sending to the user terminal.

[0116] In addition, the first slave node and the second slave node may send the single point detection result to the master node at the same time or at different times. For example, when the master node communicates with the first slave node and the second slave node by wavelength division multiplexing, the time when the first slave node and the second slave node send the single point detection result to the master node may be the same or different; when the master node communicates with the first slave node and the second slave node by time division multiplexing, the time when the first slave node and the second slave node send the single point detection result to the master node is different.

[0117] S106: The master node determines a global detection result according to the single-point detection results obtained by the first slave node and the second slave node.

[0118] The master node receives the single-point detection results respectively sent by the first slave node and the second slave node, and can aggregate these single-point detection results to obtain a global detection result based on these single-point detection results.

[0119] In the embodiment of the present application, the master node controls the first slave node and the second slave node to be in the detection mode in the corresponding detection period, and to be in the communication mode in the period outside the detection period. It is understandable that the master node can also control more slave nodes (more than two slave nodes) to be in the detection mode in the corresponding detection period, and to be in the communication mode in the period outside the detection period.

[0120] In summary, in the embodiment of the present application, the master node can control multiple slave nodes to detect and obtain multiple single-point detection results, and obtain a global detection result based on these single-point detection results. Since the global detection result is obtained based on multiple single-point detection results, the global detection result has a higher accuracy than the single-point detection result.

[0121] Furthermore, the slave node can receive a second detection signal sent by the detection target in the detection mode, and obtain a single-point detection result based on the second detection signal. Optionally, at least one of the first slave node and the second slave node can also send a first detection signal (also called a detection frame) in the detection mode, so that the detection target sends a second detection signal (also called a feedback frame) based on the received first detection signal. The second detection signal can be a signal obtained by reflecting the first detection signal from the detection target, or the second detection signal can be a signal sent by the detection target after signal processing of the first detection signal. The embodiment of the present application does not limit the relationship between the first detection signal and the second detection signal.

[0122] The following three examples will be used to illustrate whether the first slave node and the second slave node send the first detection signal and receive the second detection signal in the detection mode.

[0123] Example 1: The first slave node sends a first detection signal in the detection mode, and the first slave node and the second slave node both receive a second detection signal in the detection mode.

[0124] In Example 1, the detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a receiving type period, and the detection period corresponding to the first slave node also includes a sending type period; the first slave node sends a first detection signal in the sending type period in the corresponding detection period; the first slave node and the second slave node both receive the second detection signal in the receiving type period in the corresponding detection period.

[0125] The sending period is before all the receiving period, so the sending period in the detection period corresponding to the first slave node is before the receiving period in the detection period corresponding to the first slave node, and before the receiving period in the detection period corresponding to the second slave node. In this way, it can be ensured that the first slave node sends the first detection signal first, and then the first slave node and the second slave node receive the second detection signal respectively.

[0126] The receiving class period in the detection period corresponding to the first slave node and the receiving class period in the detection period corresponding to the second slave node may be the same or different. When the receiving class period in the detection period corresponding to the first slave node and the receiving class period in the detection period corresponding to the second slave node are different, there may be an interval period between the two receiving class periods, or there may not be an interval period. In this case, the two receiving class periods partially overlap. There may be an interval period between the sending class period and the receiving class period in the detection period corresponding to the first slave node, or there may not be an interval period. The embodiments of the present application are not limited to this.

[0127] like Figure 4 As shown, the sending period in the detection period corresponding to the first slave node is period 1, the receiving period in the detection period corresponding to the first slave node is period 2, and the receiving period in the detection period corresponding to the second slave node is also period 2. Period 2 is after period 1. It can be seen that the first slave node sends the first detection signal in period 1, and both the first slave node and the second slave node receive the second detection signal in period 2.

[0128] Or, if Figure 5 As shown, the sending type period in the detection period corresponding to the first slave node is period 1, the receiving type period in the detection period corresponding to the first slave node is period 2, and the receiving type period in the detection period corresponding to the second slave node is period 3. Period 2 is after period 1, and period 3 is after period 2. It can be seen that the first slave node sends the first detection signal in period 1, the first slave node receives the second detection signal in period 2, and the second slave node receives the second detection signal in period 3.

[0129] Example 2: The first slave node and the second slave node both send the first detection signal and receive the second detection signal in the detection mode. It can be seen that based on Example 1, the second slave node also sends the first detection signal in the detection mode.

[0130] In Example 2, the detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a sending period and a receiving period; the first slave node and the second slave node both send a first detection signal in a sending period in the corresponding detection period, and receive a second detection signal in a receiving period in the corresponding detection period, and obtain a single-point detection result based on the second detection signal, where the second detection signal is a signal sent by the detection target based on the first detection signal.

[0131] It can be understood that, in Example 2, the detection target may send a second detection signal based on the first detection signal sent by the first slave node, and the detection target may also send a second detection signal based on the first detection signal sent by the second slave node. The second detection signal received by the first slave node may be the second detection signal sent by the detection target based on the first detection signal sent by the first slave node, or may be the second detection signal sent by the detection target based on the first detection signal sent by the second slave node.

[0132] For the sending period and receiving period in the detection period corresponding to the first slave node, and the sending period and receiving period in the detection period corresponding to the second slave node, at least one of the two sending periods is before the two receiving periods. In this way, it can be ensured that both the first slave node and the second slave node can receive the second detection signal.

[0133] The sending period in the detection period corresponding to the first slave node and the sending period in the detection period corresponding to the second slave node may be the same or different. The receiving period in the detection period corresponding to the first slave node and the receiving period in the detection period corresponding to the second slave node may be the same or different. Moreover, for two adjacent periods in the four periods, there may be an interval period between the two periods, or there may not be an interval period.

[0134] like Figure 4 As shown, the sending class period in the detection period corresponding to the first slave node is period 1 and the receiving class period is period 2, and the sending class period in the detection period corresponding to the second slave node is also period 1 and the receiving class period is also period 2. It can be seen that the first slave node and the second slave node both send the first detection signal in period 1, and both receive the second detection signal in period 2.

[0135] Example 3: The first slave node and the second slave node both receive the second detection signal in the detection mode, and the multiple slave nodes connected to the master node include a third slave node in addition to the first slave node and the second slave node, and the third slave node sends the first detection signal in the detection mode.

[0136] In Example 3, the master node also needs to send the corresponding detection period information to the third slave node; the detection period corresponding to the third slave node includes a sending period but does not include a receiving period, so the detection period corresponding to the third slave node can also be called the sending period corresponding to the third slave node.

[0137] The master node may send the corresponding detection period information to the third slave node in S101. In addition, when the detection period information corresponding to the first slave node and the second slave node is sent through the detection signaling frame, the detection period information corresponding to the third slave node may also be sent through the detection signaling frame. In this case, the detection signaling frame also includes a signaling field corresponding to the third slave node, and the signaling field includes the information of the transmission class period corresponding to the third slave node.

[0138] The third slave node sends a first detection signal in a detection mode during a corresponding sending period; the third slave node is in a communication mode during a period other than the corresponding sending period; the detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a receiving period; the first slave node and the second slave node both receive a second detection signal during a receiving period in the corresponding detection period, and obtain a single-point detection result based on the second detection signal, where the second detection signal is a signal sent by the detection target based on the first detection signal sent by the third slave node.

[0139] The sending period corresponding to the third slave node is before the receiving period in the detection period corresponding to the first slave node and the receiving period in the detection period corresponding to the second slave node, so as to ensure that both the first slave node and the second slave node can receive the second detection signal.

[0140] The receiving period in the detection period corresponding to the first slave node and the receiving period in the detection period corresponding to the second slave node may be the same or different. Furthermore, when the two periods are different, there may or may not be an interval between the two periods.

[0141] like Figure 4 As shown, the sending class period in the detection period corresponding to the third slave node is period 1, the receiving class period in the detection period corresponding to the first slave node is period 2, and the receiving class period in the detection period corresponding to the second slave node is also period 2. It can be seen that the third slave node sends the first detection signal in period 1, and the first slave node and the second slave node both receive the second detection signal in period 2.

[0142] According to the above content, it can be known that the detection period corresponding to the slave node may include a sending period or a receiving period. Optionally, if the information of the detection period corresponding to the slave node is sent through a detection signaling frame, then when the detection period includes a sending period, the signaling field corresponding to the slave node in the detection signaling frame includes: information of the sending period; when the detection period includes a receiving period, the signaling field corresponding to the slave node in the detection signaling frame includes: information of the receiving period. For example, the signaling field corresponding to the slave node in the detection signaling frame includes: a sending subfield and a receiving subfield, the sending subfield is used to include information of the sending period corresponding to the slave node, and the receiving subfield is used to include information of the receiving period corresponding to the slave node. When the detection period corresponding to a certain slave node does not include a sending period, the sending subfield in the signaling field corresponding to the slave node is empty (or a preset value); when the detection period corresponding to the slave node does not include a receiving period, the receiving subfield in the signaling field corresponding to the slave node is empty (or a preset value).

[0143] Optionally, there is at least one communication period in which each slave node is in communication mode, and the communication period is adjacent to two detection periods (corresponding to at least two slave nodes). In this way, each slave node is in communication mode during the communication period, and the communication performance of each slave node can be guaranteed when detection is implemented.

[0144] Optionally, the single-point detection results of the first slave node and the second slave node may also be specified by the master node. For example, the master node may also send information to be detected (such as distance, speed, angle, image, tracking result of the detection target, and identification result of the detection target, etc.) to the first slave node and the second slave node. Each of the first slave node and the second slave node may obtain a single-point detection result including the value of the information to be detected based on the information to be detected. The information to be detected may also be referred to as feedback information.

[0145] The information to be detected can be sent to the slave node together with the detection period corresponding to the slave node, or can be sent to the slave node separately from the detection period corresponding to the slave node. By way of example, the above detection signaling frame can also include a detection information field, and the detection information field includes the information to be detected. Each of the first slave node and the second slave node can read the content of the detection information field to obtain the information to be detected carried by the detection information field.

[0146] Optionally, the multiple slave nodes connected to the master node include, in addition to the first slave node, the second slave node and the third slave node, a fourth slave node. The fourth slave node may not participate in detection, but is only used for communication. In this way, the fourth slave node can always be in communication mode to maintain the normal communication function of the distributed system. In this case, the master node can send an indication message to the fourth slave node indicating that the fourth node is in communication mode. For example, the master node can send the indication message to the fourth slave node in the above S101.

[0147] Optionally, the master node may determine, based on the idle conditions of the plurality of slave nodes, an idle first slave node, a second slave node, and a third slave node for detection, and determine a non-idle fourth slave node for communication.

[0148] Optionally, when the information of the detection period corresponding to the first slave node and the second slave node is sent through the detection signaling frame, the indication information sent to the fourth slave node can also be sent through the detection signaling frame. Exemplarily, the detection signaling frame also includes a signaling field corresponding to the fourth slave node, and the signaling field includes indication information for indicating that the fourth slave node is in communication mode. For example, the signaling field corresponding to the fourth slave node also includes a sending subfield and a receiving subfield, and the sending subfield and the receiving subfield are both empty (or preset values) to indicate that the fourth node is in communication mode.

[0149] The following will be Figure 6 The detection signaling frame shown is used as an example for explanation.

[0150] Please refer to Figure 6 The detection signaling frame includes multiple signaling fields, and the multiple signaling fields correspond one-to-one to at least two slave nodes connected to the master node. The at least two slave nodes are all or part of the slave nodes connected to the master node.

[0151] The signaling field includes an identification subfield, a sending subfield, and a receiving subfield. The identification subfield includes the identification of the slave node corresponding to the signaling field. The sending subfield in the signaling field corresponding to each of the first slave node and the second slave node may be empty (or a preset value), or may include a sending class period in the detection period corresponding to the slave node; the receiving subfield in the signaling field corresponding to each of the first slave node and the second slave node includes: a receiving class period in the detection period corresponding to the slave node. When the multiple slave nodes include a third slave node, the sending subfield in the signaling field corresponding to the third slave node includes a sending class period corresponding to the third slave node, and the receiving subfield in the signaling field corresponding to the third slave node is empty (or a preset value). When the multiple slave nodes include a fourth slave node, the sending subfield and the receiving subfield in the signaling field corresponding to the fourth slave node are both empty (or preset values).

[0152] The detection signaling frame may further include a detection information field, where the detection signaling field includes information to be detected.

[0153] The detection signaling frame may further include a type field, wherein the type field includes a type identifier of the detection signaling frame. The slave node may determine that the currently received frame is a detection signaling frame according to the type identifier.

[0154] The detection signaling frame may also include a frame header, and the portion of the detection signaling frame other than the frame header may be referred to as the payload of the detection signaling frame, and the above-mentioned type field, signaling field, and detection information field may be included in the payload. The payload may also include other fields other than the type field, signaling field, and detection information field, such as a reserved field.

[0155] In addition, the time period in the present application may be a time slot or a time period of other duration, which is not limited in the embodiments of the present application. When the time period is a time slot, the transmission time period may be referred to as a transmission (transmit, TX) slot, and the reception time period may be referred to as a reception (receive, RX) slot.

[0156] Furthermore, the detection parameters of at least one slave node in the detection mode can be specified by the master node. In this case, the master node can also send the detection parameters in the detection mode to the at least one slave node. For example, the detection parameters include: at least one parameter of the frequency, type and number of the detection signal sent. The at least one slave node can be all slave nodes or part of the slave nodes, which is not limited in the embodiments of the present application. The detection signal can be a pulse signal, such as a frequency modulated continuous wave (FMCW) signal, a Barker code signal, etc.

[0157] The detection parameters of the at least one slave node in the detection mode can be sent through a detection management frame. For example, the master node can include the detection parameters of the at least one slave node in the detection mode in a detection management frame and send the detection management frame to the at least one slave node or all slave nodes.

[0158] The detection management frame may also include management fields corresponding to each slave node, and the management field corresponding to each slave node includes: at least part of the detection parameters of the slave node in the detection mode. In the case where some parameters of the detection parameters of multiple slave nodes in the detection mode are the same, these parameters may not be included in the management field. In this case, the detection management frame may also include a shared field, and the shared field includes these parameters.

[0159] The detection management frame may also include a frame header, and the portion other than the frame header is also referred to as a payload. In addition to the aforementioned management field and shared field, the payload may also include other fields, such as a reserved field. In addition, the payload may also include a mode field, which includes an identification of a detection mode. The slave node may also determine that the received frame is a detection management frame based on the indication of the detection mode.

[0160] The following will be Figure 7 The detection management frame shown is used as an example for explanation.

[0161] like Figure 7 As shown, the detection management frame includes: multiple management fields, and the management field includes: an identification subfield, a type subfield, and a number subfield. Among them, the identification subfield includes the identification of the slave node corresponding to the management field, the type subfield includes the type of the detection signal (such as the above-mentioned first detection signal) sent by the slave node corresponding to the management field in the detection mode, and the number subfield includes the number of detection signals sent by the slave node corresponding to the management field in the detection mode. The detection management frame also includes a shared field, including the frequency of the detection signal sent by the slave node in the detection mode. The detection management frame also includes a frame header, a mode field, and a reserved field.

[0162] According to the above content, it can be known that, assuming that any slave node connected to the master node is called a target slave node, then when the target slave node receives the information of the detection period corresponding to the target slave node sent by the master node, it will be in communication mode in the period outside the detection period corresponding to the target slave node, and in detection mode in the detection period corresponding to the target slave node to obtain a single-point detection result; the target slave node will also send the single-point detection result to the master node. When the target slave node receives the indication information sent by the master node to indicate that the target slave node is in communication mode, it is in communication mode.

[0163] Optionally, when the target slave node receives the information of the detection period corresponding to the target slave node sent by the master node, the target slave node also receives the information to be detected sent by the master node, and the single-point detection result includes the value of the information to be detected.

[0164] Optionally, when the target slave node receives information about the detection time period corresponding to the target slave node sent by the master node, the target slave node will also receive detection parameters under the detection mode sent by the master node; the target slave node can be in the detection mode in the detection time period corresponding to the target slave node according to the detection parameters to obtain single-point detection results.

[0165] For example, Figure 8As shown, the target slave node includes: a first communication module 801, a detection module 802, and a second communication module 803. The first communication module 801 is used to communicate with the master node to determine the period of time when the target slave node is in the communication mode and the period of time when the detection mode is. During the period when the target slave node is in the detection mode, the detection module 802 is in a working state for detection, and the second communication module 803 is in a non-working state at this time; during the period when the target slave node is in the communication mode, the second communication module 803 is in a working state, and the detection module 802 is in a non-working state at this time. In addition, the single-point detection result obtained by the detection module 802 in the working state can be transmitted to the master node through the first communication module 801.

[0166] Please refer to Figure 8 The first communication module 801 may include: an optical physical (oPHY), a parsing unit, a communication interface, a detection interface, a multiplexer (MUX), and a JESD204B interface (an interface for connecting a communication interface with an analog to digital converter (ADC) and a digital to analog converter (DAC), denoted as JESD204B).

[0167] The optical port connects the parsing unit and the master node, the parsing unit connects the communication interface and the detection interface, the communication interface connects the JESD204B interface through the MUX, and the JESD204B interface connects the DAC and ADC in the second communication module 803. The detection interface connects the detection module through the MUX. The optical port is used to receive the detection signaling frame and the detection management frame sent by the master node, and the parsing unit is used to parse these two frames, and determine the detection period corresponding to the target slave node according to the result of the analysis. In the period outside the detection period corresponding to the target slave node, the parsing unit will connect the second communication module through the communication interface, MUX, and JESD204B interface to control the second communication module to be in a working state. In the detection period corresponding to the target slave node, the parsing unit will connect the detection module through the detection interface and MUX to control the detection module to be in a working state. The above-mentioned detection interface (such as a register in the detection interface) can store a sequence of multiple types of signals, and the parsing unit can control the detection interface to send a sequence of this type of signal to the detection module according to the type of the first detection signal indicated by the detection management frame, so that the detection module sends this type of first detection signal according to the sequence.

[0168] The detection module 802 includes: a synthesizer, a transmitting antenna, a receiving antenna, a mixer, a low-pass (LP) filter, an ADC and a Fourier processor. Among them, the transmitting antenna, the synthesizer, and the MUX are connected in sequence, the receiving antenna, the mixer, the LP filter, the Fourier processor and the above-mentioned MUX are connected in sequence, and the synthesizer is also connected to the mixer. When the detection module 802 needs to transmit the first detection signal, the analysis module controls the synthesizer through the detection interface to synthesize the first detection signal, and the first detection signal is sent through the transmitting antenna. When the detection module 802 needs to receive the second detection signal, the receiving antenna receives the second detection signal, and the second detection signal is sequentially mixed by the mixer, filtered by the LP filter, converted into a digital signal by the ADC, and processed by the Fourier transform of the Fourier processor, and then transmitted to the analysis module through the detection interface. The analysis module then obtains a single-point detection result based on the second detection signal, and transmits the single-point detection result to the master node through the optical port. In addition, the detection interface is also connected to the transmitting antenna, receiving antenna, mixer, low-pass (LP) filter, and ADC in the detection module through MUX. The analysis module can also control the detection interface to set the frequency and number of the first detection signal emitted by the detection module through MUX.

[0169] The second communication module 803 includes: a transmitting part and a receiving part, the transmitting part is used to transmit communication signals, and the receiving part is used to receive communication signals. The transmitting part includes: a first DAC, a first filter, a first mixer, a second DAC, a second filter, a second mixer, a first phase shifter, a third filter, a power amplifier (PA) and a transmitting antenna. The receiving part includes: a first ADC, a first programmable gain amplifier (PGA), a fourth filter, a third mixer, a second ADC, a second PGA, a fifth filter, a fourth mixer, a second phase shifter, a low noise amplifier (LNA), and a receiving antenna. Among them, the first DAC, the first filter, the first mixer, and the third filter are connected in sequence, the second DAC, the second filter, the second mixer, and the third filter are connected in sequence, and the third filter, PA and the transmitting antenna are connected in sequence. The first ADC, the first PGA, the fourth filter, the third mixer, LNA, and the receiving antenna are connected in sequence, and the second ADC, the second PGA, the fifth filter, the fourth mixer, and the LNA are also connected in sequence. The second communication module further includes a frequency synthesizer, a first phase shifter is connected to the first mixer, the second mixer and the frequency synthesizer, and a second phase shifter is connected to the third mixer, the fourth mixer and the frequency synthesizer. The first DAC, the second DAC, the first ADC and the second ADC are all connected to the JESD204B interface.

[0170] The following will be combined Fig. 9 The method provided in the embodiments of the present application is further described.

[0171] like Fig. 9 As shown in Figure 1, the master node is connected to slave nodes 1, 2, 3, 4, 5, and 6. Before time t1, the master node sends detection signaling frames and detection management frames to slave nodes 1, 2, 3, 4, 5, and 6 ( Fig. 9 Afterwards, the slave nodes 1, 2, 3, 4, 5, 6 can be in the detection mode and / or communication mode according to the detection signaling frame and the detection management frame.

[0172] Slave nodes 1 and 2 are both first slave nodes, which are in detection mode during the time period between t1 and t4, and send a first detection signal during the time period between t1 and t2. The detection target receives the first detection signal during the time period between t1 and t2, and sends a second detection signal according to the first detection signal after t2. Slave nodes 1 and 2 receive the second detection signal during the time period between t2 and t3, and send a single-point detection result obtained according to the second detection signal to the master node during the time period between t3 and t4. Slave nodes 1 and 2 can also be in communication mode during the time period after t4.

[0173] Slave nodes 4, 5 and 6 are all second slave nodes, and slave nodes 4, 5 and 6 are in communication mode during the time period between t1 and t5, and in detection mode during the time period between t5 and t7, and receive the second detection signal during the time period between t5 and t6, and send the single-point detection results obtained according to the second detection signal to the master node during the time period between t6 and t7.

[0174] Slave node 3 is the fourth slave node mentioned above, and is continuously in the communication mode during the time period between time t1 and time t7.

[0175] According to this introduction, the detection periods corresponding to slave nodes 1 and 2 include a sending period and a receiving period, and the sending period is the period between t1 and t2, and the receiving period is the period between t2 and t4. Slave node 3 does not have a corresponding detection period. The detection periods corresponding to slave nodes 4, 5, and 6 include a receiving period, and the receiving period is the period between t4 and t7.

[0176] from Fig. 9It can be seen that the first detection signal is sent from nodes 1 and 2, and the second detection signal is received from nodes 1, 2, 4, 5 and 6, and each of them sends the single-point detection results obtained by each to the master node. The master node can obtain a more accurate global detection result based on the five single-point detection results sent from nodes 1, 2, 4, 5, and 6. In addition, during this process, slave node 3 is continuously in communication mode, which can ensure that the communication of the entire distributed system is not interrupted. Moreover, the detection period corresponding to slave nodes 1 and 2 is different from the detection period corresponding to slave nodes 4, 5, and 6. In this way, the number of slave nodes in communication mode in the same period can be increased, and the communication performance of the distributed system can be improved on the basis of achieving detection. In addition, the time period between time t4 and time t5 is the communication period. In this communication period, slave nodes 1, 2, 3, 4, 5, and 6 are all in communication mode. On the basis of achieving detection, the communication performance of the distributed system can be further improved.

[0177] In addition, after the above-mentioned time t7, the detection has been completed, so the slave nodes 1, 2, 3, 4, 5, and 6 can all enter the communication mode.

[0178] Based on the detection method provided by the present application, an embodiment of the present application provides a detection device belonging to a master node. The master node may be a master node in the above-mentioned distributed system, and the master node is connected to a first slave node and a second slave node. Fig.10 As shown, the detection device comprises:

[0179] The first sending module 1001 is used to send information of the corresponding detection period to the first slave node and the second slave node respectively; the first slave node and the second slave node are both in the detection mode in the corresponding detection period, and in the communication mode in the period outside the corresponding detection period; the operation performed by the first sending module 1001 can refer to S101 in the aforementioned embodiment, and the embodiments of the present application are not repeated here. In the embodiments of the present application, the communication mode is taken as an example of a mode of communication based on an optical fiber communication protocol, and the communication mode can also be a mode of communication based on other protocols (such as WiFi). The optical fiber communication protocol can be a PON protocol or other optical fiber communication protocols.

[0180] The receiving module 1002 is used to receive the single-point detection results obtained by the first slave node and the second slave node in the detection mode; the operations performed by the receiving module 1002 can refer to S103 and S105 in the aforementioned embodiments, and the embodiments of the present application are not repeated here.

[0181] The determination module 1003 is used to determine the global detection result according to the single point detection results obtained by the first slave node and the second slave node. The operation performed by the determination module 1003 can refer to S106 in the above embodiment, and the embodiment of the present application will not be described in detail here.

[0182] Furthermore, the slave node can receive a second detection signal sent by the detection target in the detection mode, and obtain a single-point detection result based on the second detection signal. Optionally, at least one of the first slave node and the second slave node can also send a first detection signal (also called a detection frame) in the detection mode, so that the detection target sends a second detection signal (also called a feedback frame) based on the received first detection signal. The second detection signal can be a signal obtained by reflecting the first detection signal from the detection target, or the second detection signal can be a signal sent by the detection target after signal processing of the first detection signal. The embodiment of the present application does not limit the relationship between the first detection signal and the second detection signal.

[0183] The following three examples will be used to illustrate the operations performed by the first slave node and the second slave node in the detection mode.

[0184] Example 1: A first slave node sends a first detection signal in a detection mode, and both the first slave node and the second slave node receive a second detection signal in the detection mode. The detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a receiving period, and the detection period corresponding to the first slave node also includes a sending period; the first slave node sends a first detection signal in the sending period in the corresponding detection period; the first slave node and the second slave node both receive the second detection signal in the receiving period in the corresponding detection period, and obtain the single-point detection result according to the second detection signal, and the second detection signal is a signal sent by the detection target based on the first detection signal.

[0185] Example 2: Both the first slave node and the second slave node send a first detection signal and receive a second detection signal in the detection mode. It can be seen that, based on Example 1, the second slave node also sends a first detection signal in the detection mode. The detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a sending period and a receiving period; both the first slave node and the second slave node send a first detection signal in the sending period in the corresponding detection period, and receive a second detection signal in the receiving period in the corresponding detection period, and obtain the single-point detection result according to the second detection signal, and the second detection signal is a signal sent by the detection target based on the first detection signal.

[0186] Example 3: The first slave node and the second slave node both receive the second detection signal in the detection mode, and the multiple slave nodes connected to the master node include a third slave node other than the first slave node and the second slave node, and the third slave node sends the first detection signal in the detection mode. The detection device also includes: a second sending module, used to send information of the corresponding sending class time period to the third slave node; the third slave node sends the first detection signal in the detection mode in the corresponding sending class time period; the third slave node is in the communication mode in the time period other than the corresponding sending class time period; the detection time period corresponding to the first slave node and the detection time period corresponding to the second slave node both include a receiving class time period; the first slave node and the second slave node both receive the second detection signal in the receiving class time period in the corresponding detection time period, and obtain the single-point detection result according to the second detection signal, and the second detection signal is a signal sent by the detection target based on the first detection signal.

[0187] Optionally, the multiple slave nodes connected to the master node include, in addition to the first slave node, the second slave node and the third slave node, a fourth slave node. The fourth slave node may not participate in detection but is only used for communication. The detection device also includes: a third sending module, which is used to send indication information indicating that the fourth node is in the communication mode to the fourth slave node. In this way, the fourth slave node can always be in the communication mode to maintain the normal communication function of the distributed system.

[0188] Optionally, the information of the detection period corresponding to the first slave node and the second slave node is sent through a detection signaling frame; wherein the detection signaling frame includes: signaling fields corresponding to the first slave node and the second slave node respectively; the signaling field corresponding to the first slave node includes the information of the detection period corresponding to the first slave node, and the signaling field corresponding to the second slave node includes the information of the detection period corresponding to the second slave node. In the case where the information of the detection period corresponding to the first slave node and the second slave node is sent through a detection signaling frame, the first slave node can not only receive the information of the detection period corresponding to the first slave node, but also receive the information of the detection period corresponding to the second slave node. Similarly, the second slave node can not only receive the information of the detection period corresponding to the second slave node, but also receive the information of the detection period corresponding to the first slave node. It can be understood that the information of the detection period corresponding to the first slave node and the second slave node respectively may not be sent through a detection signaling frame, for example, the master node can send the information of the detection period corresponding to the first slave node to the first slave node, and does not send the information of the detection period corresponding to the second slave node to the first slave node. The master node can send the information of the detection period corresponding to the second slave node to the second slave node, and does not send the information of the detection period corresponding to the first slave node to the second slave node.

[0189] Optionally, the single-point detection results of the first slave node and the second slave node may also be specified by the master node. For example, the detection device also includes: a fourth sending module, used to send the information to be detected to the first slave node and the second slave node, and the single-point detection result includes the value of the information to be detected.

[0190] Furthermore, the detection parameters of at least one slave node in the detection mode can be specified by the master node. In this case, the detection device also includes: a fifth sending module, which is used to send the detection parameters in the detection mode to at least one connected slave node. For example, the detection parameters include: at least one parameter of the frequency, type and number of the detection signals sent. The at least one slave node can be all slave nodes or part of the slave nodes, which is not limited in the embodiments of the present application.

[0191] Based on the detection method provided in the embodiment of the present application, the embodiment of the present application also provides a detection device belonging to a target slave node, where the target slave node is any slave node among multiple slave nodes connected to the master node; Fig.11 As shown, the detection device comprises:

[0192] The first processing module 1101 is configured to, upon receiving information of the detection period corresponding to the target slave node sent by the master node, be in a communication mode in a period other than the detection period corresponding to the target slave node, and be in a detection mode in the detection period corresponding to the target slave node to obtain a single-point detection result;

[0193] The sending module 1102 is used to send the single point detection result to the master node.

[0194] Optionally, the slave node can receive a second detection signal sent by the detection target in the detection mode, and obtain a single-point detection result based on the second detection signal. Optionally, at least one of the multiple slave nodes can also send a first detection signal (also called a detection frame) in the detection mode, so that the detection target sends a second detection signal (also called a feedback frame) based on the received first detection signal. The second detection signal can be a signal obtained by reflecting the first detection signal from the detection target, or the second detection signal can be a signal sent by the detection target after signal processing of the first detection signal. The embodiment of the present application does not limit the relationship between the first detection signal and the second detection signal.

[0195] The detection period corresponding to the target slave node includes at least one of a sending period and a receiving period. The processing module is used to: when the detection period corresponding to the target slave node includes a sending period, send a first detection signal in the sending period; when the detection period corresponding to the target slave node includes a receiving period, receive a second detection signal in the receiving period, and obtain the single-point detection result according to the second detection signal; the second detection signal is a signal sent by the detection target based on the first detection signal.

[0196] Optionally, the multiple slave nodes connected to the master node may include slave nodes that are not used for detection. When the target slave node is a slave node that is not used for detection, the detection device further includes: a second processing module, which is used to be in the communication mode when receiving the indication information sent by the master node to indicate that the target slave node is in the communication mode. In this way, the target slave node can always be in the communication mode to maintain the normal communication function of the distributed system.

[0197] Optionally, the information of the detection period corresponding to the target slave node is sent via a detection signaling frame; wherein the detection signaling frame includes: a signaling field corresponding to the target slave node; the signaling field corresponding to the target slave node includes the detection period corresponding to the target slave node.

[0198] Optionally, the single-point detection result of the target slave node can also be specified by the master node. For example, when receiving the information of the detection time period corresponding to the target slave node sent by the master node, the detection device also includes: a first receiving module, used to receive the information to be detected sent by the master node, and the single-point detection result includes the value of the information to be detected.

[0199] Furthermore, the detection parameters of at least one slave node in the detection mode can be specified by the master node. In this case, when the information of the detection time period corresponding to the target slave node is received from the master node, the detection device also includes: a second receiving module, used to receive the detection parameters in the detection mode sent by the master node; the first processing module is used to: according to the detection parameters, be in the detection mode in the detection time period corresponding to the target slave node to obtain a single-point detection result.

[0200] Optionally, the detection parameter includes: at least one parameter of the frequency, type and number of the sent detection signals.

[0201] In the embodiment of the present application, the communication mode is based on the optical fiber communication protocol as an example, and the communication mode can also be based on other protocols (such as WiFi). The optical fiber communication protocol can be a PON protocol or other optical fiber communication protocols.

[0202] Based on the detection method provided in the embodiment of the present application, the embodiment of the present application also provides another detection device belonging to a target slave node, where the target slave node is any slave node among multiple slave nodes connected to the master node; Fig.12 As shown, the detection device includes: a first communication module 1201, a detection module 1202 and a second communication module 1203;

[0203] The detection module 1202 is used for obtaining a single-point detection result by being in a detection mode in the detection period corresponding to the target slave node when the first communication module 1201 receives the information of the detection period corresponding to the target slave node sent by the master node; the detection module is also used for sending the single-point detection result to the master node;

[0204] The second communication module 1203 is configured to be in communication mode in a time period other than the detection time period corresponding to the target slave node when the first communication module 1201 receives the detection time period corresponding to the target slave node sent by the master node.

[0205] Optionally, the structure of the first communication module 1201 can refer to Figure 8 The structure of the first communication module 801 and the structure of the detection module 1202 can refer to Figure 8 The structure of the detection module 802 and the structure of the second communication module 1203 can refer to Figure 8 The structure of the second communication module 803 is not described in detail in this embodiment of the present application.

[0206] Optionally, the detection device further comprises a control module (attached Fig.12 not shown); the control module is used to control the detection module to be in detection mode during the detection period corresponding to the target slave node to obtain a single-point detection result when the first communication module receives information about the detection period corresponding to the target slave node sent by the master node; the control module is also used to control the detection module to send the single-point detection result to the master node; the control module is also used to control the second communication module to be in communication mode during a period other than the detection period corresponding to the target slave node when the first communication module receives information about the detection period corresponding to the target slave node sent by the master node.

[0207] Optionally, the first communication module 1201 is an optical communication module.

[0208] Optionally, the detection module is used to: when the detection period corresponding to the target slave node includes a sending period, send a first detection signal in the sending period; when the detection period corresponding to the target slave node includes a receiving period, receive a second detection signal in the receiving period, and obtain the single-point detection result according to the second detection signal; the second detection signal is a signal sent by the detection target based on the first detection signal.

[0209] Optionally, the second communication module is further used to: be in the communication mode when the first communication module receives indication information sent by the master node to indicate that the target slave node is in the communication mode.

[0210] Optionally, the information of the detection period corresponding to the target slave node is sent via a detection signaling frame; wherein the detection signaling frame includes: a signaling field corresponding to the target slave node; the signaling field corresponding to the target slave node includes the detection period corresponding to the target slave node.

[0211] Optionally, the first communication module is further used to receive the information to be detected sent by the master node when receiving the information of the detection period corresponding to the target slave node sent by the master node, and the single-point detection result includes the value of the information to be detected.

[0212] Optionally, the first communication module is also used to receive the detection parameters in the detection mode sent by the master node when receiving the information of the detection time period corresponding to the target slave node sent by the master node; the detection module is used to: according to the detection parameters, be in the detection mode in the detection time period corresponding to the target slave node to obtain a single-point detection result.

[0213] Optionally, the detection parameter includes: at least one parameter of the frequency, type and number of the sent detection signals.

[0214] In the embodiment of the present application, the communication mode is based on the optical fiber communication protocol as an example, and the communication mode can also be based on other protocols (such as WiFi). The optical fiber communication protocol can be a PON protocol or other optical fiber communication protocols.

[0215] Optionally, when an integrated unit is used, such as Fig.13As shown, the detection device belonging to the master node or the target slave node provided in the embodiment of the present application includes a transceiver 1301 and a processor 1302. The processor 1302 is a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The transceiver 1301 is used for communication between the detection device and other devices. The transceiver is used to perform the sending operation and the receiving operation in the detection method used to be performed by the detection device; the processor is used to perform the operations other than the sending operation and the receiving operation in the detection method used to be performed by the detection device. By way of example, in the detection device belonging to the master node, the transceiver is used to perform the operations performed by the master node in the above S101, S103, and S105, and the processor is used to perform the above S106. By way of example, in the detection device belonging to the first slave node, the transceiver is used to perform the above S101 and S103. As another example, in the detection device belonging to the second slave node, the transceiver is used to execute the operations performed by the second slave node in the above S101 and S105, and the processor is used to execute the above S104.

[0216] In a detection device belonging to a master node, a transceiver is used to send information of a corresponding detection period to a first slave node and a second slave node respectively; the first slave node and the second slave node are both in a detection mode during the corresponding detection period, and in a communication mode during a period outside the corresponding detection period; the transceiver is also used to receive single-point detection results obtained by the first slave node and the second slave node in the detection mode; and a processor is used to determine a global detection result based on the single-point detection results obtained by the first slave node and the second slave node.

[0217] The transceiver may include a receiver and a transmitter, the transmitter is used to perform a sending operation in the operation that the transceiver is used to perform, and the receiver is used to perform a receiving operation in the operation that the transceiver is used to perform. For example, the transmitter is used to send information of the corresponding detection period to the first slave node and the second slave node respectively; the receiver is used to receive the single-point detection results obtained by the first slave node and the second slave node in the detection mode.

[0218] The detection device can use a transceiver and a processor to execute the operations performed by the master node in any of the detection methods provided in the above embodiments.

[0219] Optionally, the detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a receiving period, and the detection period corresponding to the first slave node also includes a sending period; the first slave node sends a first detection signal in the sending period in the corresponding detection period; the first slave node and the second slave node both receive a second detection signal in the receiving period in the corresponding detection period, and obtain the single-point detection result based on the second detection signal, and the second detection signal is a signal sent by the detection target based on the first detection signal.

[0220] Optionally, the detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a sending type period and a receiving type period; the first slave node and the second slave node both send a first detection signal in the sending type period in the corresponding detection period, and receive a second detection signal in the receiving type period in the corresponding detection period, and obtain the single-point detection result based on the second detection signal, and the second detection signal is a signal sent by the detection target based on the first detection signal.

[0221] Optionally, the master node is also connected to a third slave node, and the transceiver is also used to send information of a corresponding sending time period to the third slave node; the third slave node sends a first detection signal in the detection mode during the corresponding sending time period; the third slave node is in a communication mode during a time period outside the corresponding sending time period; the detection time period corresponding to the first slave node and the detection time period corresponding to the second slave node both include a receiving time period; the first slave node and the second slave node both receive a second detection signal in the receiving time period in the corresponding detection time period, and obtain the single-point detection result based on the second detection signal, and the second detection signal is a signal sent by the detection target based on the first detection signal.

[0222] Optionally, the master node is also connected to a fourth slave node, and the transceiver is further used to: send indication information to the fourth slave node, indicating that the fourth node is in the communication mode.

[0223] Optionally, the information of the detection time period corresponding to the first slave node and the second slave node are both sent through a detection signaling frame; wherein the detection signaling frame includes: signaling fields corresponding to the first slave node and the second slave node respectively; the signaling field corresponding to the first slave node includes the information of the detection time period corresponding to the first slave node, and the signaling field corresponding to the second slave node includes the information of the detection time period corresponding to the second slave node.

[0224] Optionally, the transceiver is further configured to send information to be detected to the first slave node and the second slave node, and the single-point detection result includes a value of the information to be detected.

[0225] Optionally, optionally, the detection parameters in the detection mode are respectively sent to at least one connected slave node.

[0226] Optionally, the detection parameter includes: at least one parameter of the frequency, type and number of the sent detection signals.

[0227] Optionally, the communication mode is a mode based on PON protocol communication.

[0228] In a detection device belonging to a target slave node, the processor is used to be in a communication mode in a time period outside the detection time period corresponding to the target slave node, and to be in a detection mode in the detection time period corresponding to the target slave node to obtain a single-point detection result when the transceiver receives information about the detection time period corresponding to the target slave node sent by the master node; the transceiver is used to send the single-point detection result to the master node.

[0229] The transceiver may include a receiver and a transmitter, the transmitter is used to perform a sending operation in the operation that the transceiver is used to perform, and the receiver is used to perform a receiving operation in the operation that the transceiver is used to perform. For example, the processor is used to be in a communication mode in a period outside the detection period corresponding to the target slave node, and in a detection mode in the detection period corresponding to the target slave node to obtain a single-point detection result when the receiver receives information about the detection period corresponding to the target slave node sent by the master node; the transmitter is used to send the single-point detection result to the master node.

[0230] The detection device can use a transceiver and a processor to execute the detection method described in any design of the second aspect above.

[0231] Optionally, the processor is used to send a first detection signal in a sending-type time period when the detection time period corresponding to the target slave node includes a sending-type time period; receive a second detection signal in the receiving-type time period when the detection time period corresponding to the target slave node includes a receiving-type time period, and obtain the single-point detection result based on the second detection signal; the second detection signal is a signal sent by the detection target based on the first detection signal.

[0232] Optionally, the processor is further configured to be in the communication mode when the transceiver receives indication information sent by the master node to indicate that the target slave node is in the communication mode.

[0233] Optionally, the information of the detection period corresponding to the target slave node is sent via a detection signaling frame; wherein the detection signaling frame includes: a signaling field corresponding to the target slave node; the signaling field corresponding to the target slave node includes the detection period corresponding to the target slave node.

[0234] Optionally, when the transceiver receives the information of the detection period corresponding to the target slave node sent by the master node, the transceiver is also used to receive the information to be detected sent by the master node, and the single-point detection result includes the value of the information to be detected.

[0235] Optionally, when the transceiver receives information about the detection time period corresponding to the target slave node sent by the master node, the transceiver is also used to receive detection parameters in the detection mode sent by the master node; the processor is also used to be in detection mode in the detection time period corresponding to the target slave node according to the detection parameters to obtain single-point detection results.

[0236] Optionally, the detection parameter includes: at least one parameter of the frequency, type and number of the sent detection signals.

[0237] Optionally, the communication mode is a mode based on PON protocol communication.

[0238] Optionally, when an integrated unit is used, the detection device (such as Fig.13 ) also includes a memory ( Fig.13 The memory is connected to the processor, the memory stores a program, and the processor is used to execute the program stored in the memory to implement the operation performed by the master node or any slave node in the detection method provided in any embodiment of the present application.

[0239] An embodiment of the present application also provides a chip, which includes a programmable logic circuit and / or program instructions, and when the chip is running, it is used to implement the operations performed by the master node or any slave node in any detection method provided in the embodiment of the present application.

[0240] The embodiment of the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions;

[0241] When the instructions are executed on a computer, the computer is caused to execute operations performed by a master node or any slave node in any detection method provided in the embodiments of the present application.

[0242] The present application provides a computer program product comprising instructions. When the computer program product is run on a computer, the computer is enabled to execute the operations performed by a master node or any slave node in any detection method provided in the present application.

[0243] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product, and the computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, a computer, a server or a data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server, a data center, etc. that contains one or more available media integrated. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium, or a semiconductor medium (e.g., a solid-state hard disk), etc.

[0244] In this application, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The term "at least one" means one or more, and "plurality" means two or more, unless otherwise expressly limited. The term "and / or" is merely a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0245] The different types of embodiments such as the method embodiments and device embodiments provided in the embodiments of the present application can refer to each other, and the embodiments of the present application are not limited thereto. The sequence of operations of the method embodiments provided in the embodiments of the present application can be appropriately adjusted, and the operations can also be increased or decreased accordingly according to the circumstances. Any technician familiar with the technical field can easily think of the changed methods within the technical scope disclosed in the present application, and they should be included in the protection scope of the present application, so they will not be repeated.

[0246] In the corresponding embodiments provided in the present application, it should be understood that the disclosed systems and devices, etc. can be implemented by other configuration methods. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical or other forms.

[0247] The units described as separate components may or may not be physically separated, and the components described as units may or may not be physical units, and may be located in one place or distributed on multiple devices. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0248] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A detection method, characterized in that: The method is performed by a master node, the master node is connected to a first slave node and a second slave node, and the method comprises: Sending information of the corresponding detection period to the first slave node and the second slave node respectively; the first slave node and the second slave node are in the detection mode during the corresponding detection period, and are in the communication mode during the period outside the corresponding detection period; receiving single-point detection results obtained by the first slave node and the second slave node in the detection mode; A global detection result is determined according to the single-point detection results obtained by the first slave node and the second slave node.

2. The method according to claim 1, characterized in that The detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a receiving period, and the detection period corresponding to the first slave node also includes a sending period; The first slave node sends a first detection signal in the sending class time period in the corresponding detection time period; The first slave node and the second slave node receive a second detection signal in the receiving class time period in the corresponding detection time period, and obtain the single-point detection result according to the second detection signal, where the second detection signal is a signal sent by the detection target based on the first detection signal.

3. The method according to claim 1, characterized in that The detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a sending period and a receiving period; The first slave node and the second slave node send a first detection signal in the sending period of the corresponding detection period, and receive a second detection signal in the receiving period of the corresponding detection period, and obtain the single-point detection result according to the second detection signal, where the second detection signal is a signal sent by the detection target based on the first detection signal.

4. The method according to claim 1, characterized in that: The master node is also connected to a third slave node, and the method further comprises: Sending information of the corresponding sending class time period to the third slave node; the third slave node sends a first detection signal in the detection mode during the corresponding sending class time period; the third slave node is in the communication mode during the time period outside the corresponding sending class time period; The detection period corresponding to the first slave node and the detection period corresponding to the second slave node both include a receiving-type period; the first slave node and the second slave node receive a second detection signal in the receiving-type period in the corresponding detection period, and obtain the single-point detection result based on the second detection signal, and the second detection signal is a signal sent by the detection target based on the first detection signal.

5. The method according to any one of claims 1 to 4, characterized in that: The master node is further connected to a fourth slave node, and the method further comprises: Sending indication information to the fourth slave node for indicating that the fourth node is in the communication mode.

6. The method according to any one of claims 1 to 5, characterized in that: The information of the detection period corresponding to the first slave node and the second slave node is sent via a detection signaling frame; Among them, the detection signaling frame includes: signaling fields corresponding to the first slave node and the second slave node respectively; the signaling field corresponding to the first slave node includes information of the detection period corresponding to the first slave node, and the signaling field corresponding to the second slave node includes information of the detection period corresponding to the second slave node.

7. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: The information to be detected is sent to the first slave node and the second slave node, and the single-point detection result includes a value of the information to be detected.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: The detection parameters in the detection mode are respectively sent to at least one connected slave node.

9. The method according to claim 8, characterized in that The detection parameters include: at least one parameter of the frequency, type and number of the sent detection signals.

10. The method according to any one of claims 1 to 9, characterized in that: The communication mode is a mode based on passive optical network PON protocol communication.

11. A detection method, characterized in that: The method is performed by a target slave node, which is any slave node among a plurality of slave nodes connected to a master node; the method comprises: Upon receiving the information of the detection period corresponding to the target slave node sent by the master node, being in a communication mode in a period other than the detection period corresponding to the target slave node, and being in a detection mode in the detection period corresponding to the target slave node to obtain a single-point detection result; The single point detection result is sent to the master node.

12. The method according to claim 11, characterized in that The detection period corresponding to the target slave node is in detection mode to obtain a single-point detection result, including: When the detection period corresponding to the target slave node includes a sending period, sending a first detection signal in the sending period; When the detection period corresponding to the target slave node includes a receiving period, a second detection signal is received in the receiving period, and the single-point detection result is obtained according to the second detection signal; the second detection signal is a signal sent by the detection target based on the first detection signal.

13. The method according to claim 11 or 12, characterized in that: The method further comprises: When receiving indication information sent by the master node for indicating that the target slave node is in the communication mode, it is in the communication mode.

14. The method according to any one of claims 11 to 13, characterized in that: The information of the detection period corresponding to the target slave node is sent via a detection signaling frame; The detection signaling frame includes: a signaling field corresponding to the target slave node; and the signaling field corresponding to the target slave node includes the detection period corresponding to the target slave node.

15. The method according to any one of claims 11 to 14, characterized in that: When receiving the information of the detection period corresponding to the target slave node sent by the master node, the method further includes: The information to be detected sent by the master node is received, and the single-point detection result includes the value of the information to be detected.

16. The method according to any one of claims 11 to 15, characterized in that: When receiving the information of the detection period corresponding to the target slave node sent by the master node, the method further includes: Receiving detection parameters in the detection mode sent by the master node; The detection period corresponding to the target slave node is in detection mode to obtain a single-point detection result, including: According to the detection parameters, the detection mode is in the detection period corresponding to the target slave node to obtain a single-point detection result.

17. The method according to claim 16, characterized in that The detection parameters include: at least one parameter of the frequency, type and number of the sent detection signals.

18. The method according to any one of claims 11 to 17, characterized in that: The communication mode is a mode based on passive optical network PON protocol communication.

19. A detection device, characterized in that: The detection device belongs to a master node, the master node is connected to a first slave node and a second slave node, and the detection device includes: A first sending module, configured to send information of a corresponding detection period to the first slave node and the second slave node respectively; the first slave node and the second slave node are both in a detection mode during the corresponding detection period, and in a communication mode during a period outside the corresponding detection period; A receiving module, used for receiving the single-point detection results obtained by the first slave node and the second slave node in the detection mode; A determination module is used to determine a global detection result according to the single-point detection results obtained by the first slave node and the second slave node.

20. A detection device, characterized in that: The detection device belongs to a target slave node, and the target slave node is any slave node among a plurality of slave nodes connected to a master node; The detection device comprises: A first processing module is configured to, upon receiving information of the detection period corresponding to the target slave node sent by the master node, be in a communication mode in a period other than the detection period corresponding to the target slave node, and be in a detection mode in the detection period corresponding to the target slave node to obtain a single-point detection result; The sending module is used to send the single point detection result to the master node.

21. A detection device, characterized in that: The detection device belongs to a target slave node, and the target slave node is any slave node among a plurality of slave nodes connected to a master node. The detection device comprises: a first communication module, a detection module, and a second communication module; The detection module is used for obtaining a single-point detection result by being in a detection mode in the detection period corresponding to the target slave node when the first communication module receives the information of the detection period corresponding to the target slave node sent by the master node; the detection module is also used for sending the single-point detection result to the master node; The second communication module is configured to be in a communication mode in a time period outside the detection time period corresponding to the target slave node when the first communication module receives the detection time period corresponding to the target slave node sent by the master node.

22. The detection device according to claim 21, characterized in that The detection device also includes a control module; The control module is used for controlling the detection module to be in detection mode in the detection period corresponding to the target slave node to obtain a single-point detection result when the first communication module receives the information of the detection period corresponding to the target slave node sent by the master node; The control module is also used to control the detection module to send the single point detection result to the master node; The control module is further configured to control the second communication module to be in communication mode in a time period outside the detection time period corresponding to the target slave node when the first communication module receives the detection time period corresponding to the target slave node sent by the master node.

23. The detection device according to claim 21 or 22, characterized in that: The first communication module is an optical communication module.

24. A detection device, characterized in that: The detection device belongs to a master node, the master node is connected to a first slave node and a second slave node, and the detection device includes: a transceiver and a processor; The transceiver is used to perform the sending operation and the receiving operation in the detection method according to any one of claims 1 to 10; The processor is used to perform operations other than the sending operation and the receiving operation in the detection method according to any one of claims 1 to 10.

25. A detection device, characterized in that: The detection device belongs to a target slave node, and the target slave node is any slave node among a plurality of slave nodes connected to a master node; The detection device comprises: a transceiver and a processor; The transceiver is used to perform the sending operation and the receiving operation in the detection method according to any one of claims 11 to 18; The processor is used to perform operations other than the sending operation and the receiving operation in the detection method according to any one of claims 11 to 18.

26. A chip, characterized in that: The chip includes a programmable logic circuit and / or program instructions, which are used to implement the detection method described in any one of claims 1 to 10 when the chip is running; or, when the chip is running, it is used to implement the detection method described in any one of claims 11 to 18.

27. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions; When the instructions are executed on a computer, the computer executes the detection method according to any one of claims 1 to 10; or, when the instructions are executed on a computer, the computer executes the detection method according to any one of claims 11 to 18.

28. A distributed system, characterized in that: include: A master node and multiple slave nodes, the master node is used to execute the detection method described in any one of claims 1 to 10, and the slave nodes are used to execute the detection method described in any one of claims 11 to 18.