Communication abnormality processing method, master node, indoor distribution system and storage medium

By detecting and processing abnormal communication behavior of slave nodes in the indoor distribution system, releasing handshake information and node identification, and realizing an automatic re-handshake process, it solves the problem of stability and reliability of communication interaction between master and slave nodes, and improves troubleshooting efficiency and signaling. coverage, reducing the construction and maintenance costs of 5G networks.

CN116016140BActive Publication Date: 2024-09-17SPREADTRUM SEMICON(CHENGDU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211634967.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-10
Publication Date
2024-09-17
Estimated Expiration
2040-07-10

AI Technical Summary

Technical Problem

In indoor distribution systems, communication abnormalities between the master node and slave nodes are difficult to automatically detect and resolve, resulting in abnormal system operation and the need for manual troubleshooting. The efficiency is low and the complexity increases in the 5G network environment, affecting signal coverage and maintenance. cost.

Method used

Detect abnormal communication behavior through the handshake process, release the handshake information and node identification of the abnormal slave node, send a re-handshake message to reconnect, and reassign the node identification after the slave node responds, realizing automatic detection and resolution of communication abnormalities, and improving master-slave node interaction stability and reliability.

Benefits of technology

No manual troubleshooting is required, communication anomalies are automatically detected and resolved, troubleshooting efficiency is improved, normal communication behavior is restored from nodes, communication risks are reduced, and 5G network construction and maintenance costs are reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116016140B
    Figure CN116016140B
Patent Text Reader

Abstract

The embodiment of the present invention provides a communication anomaly processing method, a master node, an indoor distribution system and a storage medium, wherein the communication anomaly processing method includes: determining a slave node with abnormal communication behavior based on a preset communication behavior matching condition; triggering an abnormal slave node release instruction, deleting the handshake information of the slave node with abnormal communication behavior, and releasing the node identifier of the slave node with abnormal communication behavior; sending a first re-handshake message to the slave node with abnormal communication behavior; waiting to receive a second re-handshake message sent by the slave node with abnormal communication behavior in response to the first re-handshake message. The embodiment of the present invention can handle the abnormal communication behavior of the slave node in a timely manner, and improve the stability and reliability of the communication interaction between the master and slave nodes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of communication technology, and in particular to a communication exception processing method, a master node, an indoor distribution system and a storage medium. Background Art

[0002] In indoor environments such as large buildings, underground shopping malls, and underground parking lots, mobile communication signals are weak, which easily forms blind spots and shadow areas for mobile communication, causing mobile phones and other terminals that use mobile communication signals to be unable to function normally. At present, indoor distribution systems can be used to improve mobile communication signals in indoor environments. Indoor distribution systems can be used to evenly distribute mobile communication signals from signal sources (such as base stations) in every corner of the room, thereby ensuring ideal signal coverage in indoor environments.

[0003] The indoor distribution system mainly includes a master node and multiple slave nodes connected to the master node. The master node is connected to the signal source and can send the mobile communication signal of the signal source to the slave node. The slave node can process the received mobile communication signal and send it to the air interface to complete the coverage of the mobile communication signal in the indoor environment.

[0004] During the operation of the indoor distribution system, the master node can communicate and interact with multiple slave nodes, which may cause various communication anomalies and cause system operation abnormalities. In order to ensure the normal operation of the system, it is necessary to promptly discover and resolve communication anomalies. Therefore, how to provide a communication anomaly handling solution has become a technical problem that technical personnel in this field urgently need to solve. Summary of the invention

[0005] In view of this, an embodiment of the present invention provides a communication exception handling method, a master node, an indoor distribution system and a storage medium, which can promptly handle the abnormal communication behavior of the slave node and improve the stability and reliability of the communication interaction between the master and slave nodes.

[0006] To achieve the above objectives, the embodiments of the present invention provide the following technical solutions:

[0007] A communication exception handling method is applied to a master node, wherein the master node establishes a communication connection with a slave node through a handshake process, and the communication exception handling method comprises:

[0008] Based on preset communication behavior matching conditions, determine the slave nodes with abnormal communication behavior;

[0009] Triggering an abnormal slave node release instruction, deleting the handshake information of the slave node with abnormal communication behavior, and releasing the node identifier of the slave node with abnormal communication behavior;

[0010] Sending a first re-handshake message to the slave node having the abnormal communication behavior;

[0011] Waiting to receive a second re-handshake message sent by the slave node with abnormal communication behavior in response to the first re-handshake message.

[0012] An embodiment of the present invention further provides a communication exception handling method, which is applied to an indoor distribution system, wherein the indoor distribution system includes a master node and a slave node, and the master node establishes a communication connection with the slave node through a handshake process. The communication exception handling method includes:

[0013] The master node determines the slave node having abnormal communication behavior based on a preset communication behavior matching condition;

[0014] The master node triggers a release instruction of the abnormal slave node, and deletes the handshake information of the slave node with abnormal communication behavior;

[0015] The master node sends a first re-handshake message to the slave node with abnormal communication behavior;

[0016] The slave node with abnormal communication behavior enters an access state in response to a first re-handshake message sent by the master node, and sends a second re-handshake message to the master node to re-initiate a handshake process.

[0017] The embodiment of the present invention further provides a master node, including:

[0018] A handshake module is used to execute the handshake process to establish a communication connection with the slave node;

[0019] The abnormal slave node detection module is used to determine the slave nodes with abnormal communication behavior according to the preset communication behavior matching conditions;

[0020] An abnormal slave node release module is used to delete the handshake information of the slave node with abnormal communication behavior and release the node identifier of the slave node with abnormal communication behavior according to the triggered abnormal slave node release instruction;

[0021] A message sending module, used for sending a first re-handshake message to the slave node having abnormal communication behavior;

[0022] The message receiving module is used to receive a second re-handshake message sent by the slave node with abnormal communication behavior in response to the first re-handshake message.

[0023] An embodiment of the present invention further provides an indoor distribution system, comprising a master node and a slave node, wherein the master node establishes a communication connection with the slave node through a handshake process, wherein:

[0024] The master node is used to determine the slave node with abnormal communication behavior based on a preset communication behavior matching condition, trigger an abnormal slave node release instruction, delete the handshake information of the slave node with abnormal communication behavior, and send a first re-handshake message to the slave node with abnormal communication behavior, and wait to receive a second re-handshake message sent by the slave node with abnormal communication behavior in response to the first re-handshake message;

[0025] The slave node is used to send a second re-handshake message to the master node in response to the first re-handshake message sent by the master node, so as to re-initiate the handshake process.

[0026] An embodiment of the present invention further provides a master node, comprising: a memory and a processor, wherein the memory stores one or more computer executable instructions, and the processor calls the one or more computer executable instructions to execute the communication exception handling method as described above.

[0027] An embodiment of the present invention further provides an indoor distribution system, comprising a plurality of slave nodes and the master node as described above, wherein the master node establishes a communication connection with the slave nodes through a handshake process.

[0028] An embodiment of the present invention further provides a storage medium, wherein the storage medium stores one or more computer executable instructions, and the one or more computer executable instructions are used to execute the communication exception processing method as described above.

[0029] The communication exception handling method provided in the embodiment of the present invention can delete the handshake information of the slave node with abnormal communication behavior by triggering the abnormal slave node release instruction after determining the slave node with abnormal communication behavior according to the preset communication behavior matching condition, thereby releasing the node identifier of the slave node with abnormal communication behavior, and canceling the binding relationship between the node identifier and the slave node with communication abnormality. The master node disconnects the communication connection with the slave node with abnormal communication behavior, and sends a first re-handshake message to the slave node with abnormal communication behavior to request the slave node with abnormal communication behavior to re-initiate the handshake process, and wait for the slave node with abnormal communication behavior to respond to the first re-handshake message, so that the slave node with abnormal communication behavior can be re-accessed through the handshake process to ensure that the slave node resumes normal communication behavior. It can be seen that by adopting the above method, in the communication interaction process between the master node and the slave node, the problem of communication abnormality can be automatically detected and solved without manual troubleshooting, thereby improving the troubleshooting efficiency, timely handling the abnormal communication behavior of the slave node, and effectively ensuring the stability and reliability of the communication interaction between the master and slave nodes. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.

[0031] Figure 1 A block diagram of an indoor distribution system provided by an embodiment of the present invention;

[0032] Figure 2 An example diagram of the communication status of an indoor distribution system provided by an embodiment of the present invention;

[0033] Figure 3 A flow chart of a method for handling communication anomalies provided by an embodiment of the present invention;

[0034] Figure 4 A flowchart of another communication abnormality processing method provided by an embodiment of the present invention;

[0035] Figure 5 A flowchart of another communication abnormality processing method provided by an embodiment of the present invention;

[0036] Figure 6 A block diagram of a master node provided by an embodiment of the present invention;

[0037] Figure 7 A block diagram of another master node provided by an embodiment of the present invention;

[0038] Figure 8 A block diagram of another master node provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0039] At present, the coverage of 4G (fourth generation mobile communication technology) networks, such as LTE (Long Term Evolution) networks, is relatively complete. In urban application environments, due to the rapid increase in users and the increase in high-rise buildings, the traffic density and coverage requirements are also increasing. In order to avoid blind spots and shadow areas of mobile communications, indoor environments such as large buildings, underground shopping malls, and underground parking lots are generally deployed with indoor distribution systems for improving mobile communication signals.

[0040] However, with the advancement of 5G (fifth generation mobile communication technology) network construction, the wireless signal characteristics of the 5G network itself have put forward higher requirements for the coverage of mobile communication signals in indoor environments. Under the 5G network, the indoor distribution system may have more slave nodes and perform more complex wireless communications. Therefore, in the field of improving mobile communication signals in indoor environments, how to make full use of the existing indoor distribution system, reduce the construction and maintenance costs of 5G networks, and improve the coverage of 5G networks in indoor environments has become a major issue. In this issue, how to discover and solve communication anomalies is an urgent problem to be solved.

[0041] like Figure 1 As shown, the indoor distribution system may include a master node 10 and multiple slave nodes 21-2N, where N is a natural number not less than 1.

[0042] The master node 10 connects to the information source and sends the mobile communication signal of the information source to at least one of the slave nodes 21-2N. At least one of the slave nodes 21-2N processes the received mobile communication signal and sends it to the air interface, thereby completing the coverage of the mobile communication signal in the indoor environment.

[0043] In order to coordinate the work of the master node and the slave node, when the slave node requests to access the master node, the master node and the slave node need to perform a handshake process. In order to identify different slave nodes in the indoor distribution system and realize the identification and management of the slave nodes by the master node, the handshake process needs to be implemented based on the node identifier of the slave node (such as the node number). Currently, when installing the slave node, a non-conflicting fixed node identifier is set for each slave node of the indoor distribution system. This process requires manual setting of the fixed node identifier, so that the master node and the slave node perform a handshake process based on the fixed node identifier set in advance by the slave node.

[0044] After completing the handshake process, the master node and the slave node establish a communication connection. Since the master node can communicate and interact with multiple slave nodes, various communication anomalies may occur, causing system operation abnormalities. At this time, the communication abnormality equipment can only be located and repaired through manual troubleshooting. In order not to affect the work of other normal nodes, the communication interaction between the communication abnormal node and the normal node cannot be stopped during the detection of the communication abnormal node. In addition, the large number of nodes in the 5G network environment will increase the complexity of manual troubleshooting, greatly increase the workload, reduce troubleshooting efficiency, and increase communication risks.

[0045] To solve the above problems, an embodiment of the present invention provides a communication exception handling solution, which can automatically detect and solve communication anomalies during the communication interaction between the master node and the slave node, without the need for manual troubleshooting, thereby improving troubleshooting efficiency, promptly handling abnormal communication behaviors of the slave node, and effectively ensuring the stability and reliability of the communication interaction between the master and slave nodes.

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] In an optional implementation, after the indoor distribution system completes the cell search, its communication status can be as follows: Figure 2 Examples include:

[0048] Initialization state (Init State): when the indoor distribution system is started and the network search is completed, the master node and the slave node enter the initialization state and complete the necessary initialization operations;

[0049] Master Boot State: After the master node completes initialization, it enters the master boot state. The master boot state mainly handles some restart operations of the master node without the knowledge of the slave node, and broadcasts to notify the master node that it has restarted;

[0050] Waiting for the downlink heartbeat state (Wait DL Heart State). After the slave node completes initialization, it enters the waiting for the downlink heartbeat state to wait for the heartbeat message of the master node;

[0051] Access state (RACH State), in which the slave node requests to access the master node. In this state, the embodiment of the present invention can perform a handshake process to implement a handshake between the master node and the slave node, and adaptively allocate a node identifier to the slave node;

[0052] Normal working state (Normal State), in this state, the master node broadcasts a heartbeat message to the slave node and completes the handshake process; after the slave node completes the handshake process in the access state, it enters the normal working state; after both the master and slave nodes enter the normal working state, the indoor distribution system works normally.

[0053] pass Figure 2 It can be seen from the communication status of the example that when the slave node receives the heartbeat message from the master node, it enters the access state and performs the handshake process with the master node. When the handshake is successful, the slave node obtains the assigned node identifier and the master node establishes a communication connection with the slave node, and the indoor distribution system enters normal working state.

[0054] It should be noted that the heartbeat message of the master node is only an optional message form that triggers the slave node to enter the access state. The embodiment of the present invention can also be arranged that the slave node receives a master handshake message specific to the master node after initialization to enter the access state. The heartbeat message of the master node is only an optional form of the master handshake message. The embodiment of the present invention does not limit other forms of the master handshake message.

[0055] In an optional implementation, in an embodiment of the present invention, the master node may detect the communication behavior of the slave node in a normal working state, and after finding that the communication behavior of the slave node is abnormal, the communication abnormality processing may be performed. Optionally, Figure 3 The flowchart of the communication abnormality processing method provided by the embodiment of the present invention is shown. After the master node establishes a communication connection with the slave node through the handshake process, the following can be executed: Figure 3 The process of the communication exception handling method shown may specifically include:

[0056] Step S30: Based on the preset communication behavior matching condition, determine the slave node with abnormal communication behavior.

[0057] Optionally, in actual operation, a node close to a signal source may be selected as a master node, and a node far from the signal source may be selected as a slave node, and the indoor distribution system may include multiple master nodes and multiple slave nodes connected to each master node.

[0058] In one example, a preset distance threshold may be used to determine whether the distance between the node and the information source is less than the distance threshold. If so, the node may serve as a master node, otherwise, the node may serve as a slave node.

[0059] In another example, by comparing the distances between each node and the information source, X nodes with the smallest distances are selected as master nodes, and the other nodes are selected as slave nodes, where X is a natural number not less than 1.

[0060] Step S31, triggering an abnormal slave node release instruction, deleting the handshake information of the slave node with abnormal communication behavior, and releasing the node identifier of the slave node with abnormal communication behavior.

[0061] In one example, when the master node and the slave node perform a handshake process, the master node can select a node identifier for the slave node. If the selected node identifier is not occupied, the selected node identifier can be used as the available node identifier, and a handshake confirmation message can be sent to the slave node, and the handshake confirmation message includes the available node identifier. In addition, the master node can also store handshake information of the handshake process with the slave node in a preset storage area, and the handshake information can include the node identifier record information of the slave node, and the node identifier record information can record the available node identifier currently selected by the master node for the slave node.

[0062] After triggering the abnormal slave node release instruction, the handshake information of the slave node with abnormal communication behavior is deleted, and the node identification of the slave node with abnormal communication behavior is released. Specifically, it can include: deleting the node identification record information of the slave node with abnormal communication behavior, and setting the node identification of the slave node with abnormal communication behavior to be unoccupied. Therefore, when the master node selects a node identification for other slave nodes, if the node identification is selected, since the node identification is set to be unoccupied, the node identification can be allocated to other slave nodes as an available node identification.

[0063] For example, the node identifier of slave node A with abnormal communication behavior is a, and node identifier a is set to be unoccupied. When the master node shakes hands with slave node B, node identifier a can be allocated to slave node B as an available node identifier.

[0064] Therefore, whether the node identifier is available is determined by the occupation state of the node identifier, so that there is no fixed binding between the node identifier and the slave node, thereby realizing flexible reuse of the node identifier.

[0065] Step S32: Send a first re-handshake message to the slave node with abnormal communication behavior.

[0066] Step S33: Wait to receive a second re-handshake message sent by the slave node with abnormal communication behavior in response to the first re-handshake message.

[0067] In one example, the slave node sends a second re-handshake message to the master node in response to the first re-handshake message, thereby re-initiating the handshake process with the master node. After receiving the second re-handshake message sent by the slave node with abnormal communication behavior, the master node re-selects a node identifier for the slave node in response to the received second re-handshake message. If the re-selected node identifier is not occupied, the re-selected node identifier can be used as the available node identifier, thereby successfully re-allocating an available node identifier for the slave node with abnormal communication behavior, and sending a re-handshake confirmation message to the slave node with abnormal communication behavior.

[0068] The re-handshake confirmation message includes a successfully reallocated available node identifier, and the available node identifier is used to reset the node identifier of the slave node with abnormal communication behavior.

[0069] It is understood that the prefixes such as "first" and "second" in the embodiments of the present invention are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, features defined by terms such as "first" and "second" may explicitly or implicitly include one or more of the features. Moreover, terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or indicate importance. And, the terms used in this way are interchangeable where appropriate, so that the embodiments of the present specification described herein can be implemented in an order other than those illustrated or described herein.

[0070] By adopting the above scheme, after determining the slave node with abnormal communication behavior according to the preset communication behavior matching condition, the handshake information of the slave node with abnormal communication behavior can be deleted by triggering the abnormal slave node release instruction, thereby releasing the node identifier of the slave node with abnormal communication behavior, and canceling the binding relationship between the node identifier and the slave node with communication abnormality. The master node disconnects the communication connection with the slave node with abnormal communication behavior, and sends a first re-handshake message to the slave node with abnormal communication behavior to request the slave node with abnormal communication behavior to re-initiate the handshake process, and wait for the slave node with abnormal communication behavior to respond to the first re-handshake message, so that the slave node with abnormal communication behavior can be re-accessed through the handshake process to ensure that the slave node resumes normal communication behavior. Therefore, in the communication interaction process between the master node and the slave node, the communication abnormality problem can be automatically detected and solved without manual troubleshooting, thereby improving the troubleshooting efficiency, timely handling the abnormal communication behavior of the slave node, and effectively ensuring the stability and reliability of the communication interaction between the master and slave nodes.

[0071] In an optional implementation, nodes communicate with each other through communication behaviors such as receiving behaviors and sending behaviors. In order to prevent conflicts between the communication interactions of the master and slave nodes, the communication behaviors of the master and slave nodes can be time-planned, and the master node sending time period, the master node receiving time period, the slave node sending time period, and the slave node receiving time period can be set. Through the preset communication behavior time period planning or the communication behavior time period planning by the master node, it can be determined which communication behavior the master and slave nodes perform.

[0072] As an optional example, the master node can plan the communication behavior time period by a preset superframe number, and the superframe number is counted in a preset basic unit, for example, the preset basic unit can be milliseconds. The master node selects the low M bits of the superframe number to determine whether the master slave node performs receiving behavior or sending behavior, and selects the high L bits of the superframe number to match the stored handshake information to determine the slave node specified by the master node receiving time period. Wherein, M and L are both non-zero natural numbers. In addition, when the master node performs a handshake process with the slave node, the superframe number can be sent to the corresponding slave node for synchronization, so that the slave node has the same superframe number as the master node. The slave node can determine whether the slave node performs receiving behavior or sending behavior by selecting the low M bits of the synchronized superframe number. Selecting the high L bits of the superframe number and matching the handshake information stored by the slave node can determine whether to perform sending behavior during the slave node sending period.

[0073] The node identification record information in the handshake information may be matched with the high L bits of the superframe number.

[0074] As an optional example, the preset communication behavior time period planning can set the communication behavior performed by each master node and each slave node in each time period.

[0075] Optionally, the communication behavior time period planning of the master and slave nodes can overlap. For example, the master node sending time period overlaps with the slave node receiving time period. In this case, the master node can send master node messages and the slave node can receive master node messages; the master node receiving time period overlaps with the slave node sending time period. The slave node can send slave node messages and the master node can receive slave node messages.

[0076] According to the communication behavior time period planning, it is possible to detect whether the communication behavior of the slave node is abnormal. Specifically, the determining of the slave node with abnormal communication behavior based on the preset communication behavior matching condition may include at least one of the following:

[0077] 1) During the master node receiving period, no slave node message sent by the corresponding slave node is received, and the slave node is determined to be a slave node with abnormal communication behavior.

[0078] Optionally, during the master node reception period, according to a preset communication behavior period planning or communication behavior period planning performed by the master node, the slave node expected to send the slave node message during the master node reception period and the expected slave node identifier can be determined. Among them, the slave node expected to send the slave node message during the master node reception period can be a slave node specified by the preset communication behavior period planning or the master node, or can be any slave node that completes the handshake process with the master node when the preset communication behavior period planning or the master node does not specify the slave node.

[0079] If, during the master node reception period, based on the expected node identifier, it is determined that the slave node message sent by the expected slave node is not received, the corresponding slave node is regarded as a slave node with abnormal communication behavior.

[0080] In one example, during a master node sending period, the master node sends a master node message to a designated slave node. Within one or more preset master node receiving periods, based on the node identifier of the designated slave node, the master node determines that the slave node message sent by the designated slave node is not received, thereby determining that the slave node is a slave node with abnormal communication behavior.

[0081] 2) During the master node receiving period, a slave node message sent by a slave node is received, and the validity of the information included in the slave node message is checked. After checking that error information exists in the slave node message, the slave node is determined to be a slave node with abnormal communication behavior.

[0082] Optionally, the slave node message may include a slave node identifier. According to a preset communication behavior time period planning or communication behavior time period planning through the master node, the slave node that sends the slave node message during the expected master node receiving time period and the expected slave node identifier can be determined. If a slave node message sent by the slave node is received during the master node receiving time period, the node identifier included in the slave node message can be matched with the expected node identifier. If the node identifier carried in the slave node message is inconsistent with the expected node identifier, it can be determined that the slave node sending the slave node message is a slave node with abnormal communication behavior.

[0083] In one example, during a master node sending period, the master node sends a master node message to a designated slave node. Within a preset one or more master node receiving periods, the master node receives a slave node message sent by the slave node. The master node can match the node identifier included in the slave node message with the node identifier of the designated slave node. If they are inconsistent, it can be determined that the slave node sending the slave node message is a slave node with abnormal communication behavior.

[0084] In another example, during the master node sending period, the master node receives a slave node message sent by a slave node, and can match the node identifier included in the slave node message with the recorded node identifier of the slave node. If they are inconsistent, it can be determined that the slave node sending the slave node message is a slave node with abnormal communication behavior.

[0085] Optionally, the slave node message may further include: a message header identifier, a message type identifier, message data and a message verification identifier. Therefore, a validity check may also be performed on at least one of the message header identifier, message type identifier, message data and message verification identifier included in the slave node message.

[0086] In one example, by judging whether the message header identifier included in the slave node message matches the preset message header identifier, it can be determined whether there is error information in the slave node message. Specifically, the preset message header identifier can be the character segment "01", that is, the starting position of the slave node message is the character segment "01". If the message header identifier of the received slave node message is the character segment "02", it is judged that the message header identifier included in the slave node message does not match the preset message header identifier, and there is error information in the slave node message.

[0087] In another example, by judging whether the message type identifier included in the slave node message matches the preset message type identifier, it can be determined whether there is error information in the slave node message. Specifically, in order to be able to distinguish the type of slave node message, and thereby determine the content contained in the slave node message according to the type of the slave node message, different types of messages can be distinguished by the preset message type identifier. And according to the preset communication behavior time period planning or the communication behavior time period planning through the master node, the content that the slave node is expected to send can be determined. If according to the preset message type identifier, in this master node receiving period, the content that the slave node is expected to send corresponds to the message type identifier P, but the message type identifier included in the received slave node message is Q, then it is judged that the message type identifier included in the slave node message does not match the preset message type identifier, and there is error information in the slave node message.

[0088] In another example, it is determined whether the message data included in the slave node message matches the included message type identifier, and whether there is error information in the slave node message. Specifically, the message data of the slave node message is the message content transmitted from the slave node to the master node. The content contained in the slave node message can be determined according to the type of the slave node message. Therefore, there is a one-to-one correspondence between the message data and the message type identifier. The message data included in the slave node message corresponds to the message type identifier P, but the message type identifier included in the slave node message is Q. Then the message type identifier included in the slave node message does not match the preset message type identifier, and there is error information in the slave node message, and at least one of the two is error information.

[0089] In another example, by verifying the message verification identifier included in the slave node message, it can be determined whether there is error information in the slave node message. Specifically, by verifying the message verification identifier, it can be determined whether the received slave node message is complete and accurate. If the verification result is an error, there is error information in the slave node message.

[0090] Furthermore, the message check identifier may be a message check bit such as CRC (Cyclic Redundancy Check). The master node checks the slave node identification message through the message check information carried in the slave node identification message, thereby determining whether the received slave node identification information is complete and accurate, thereby ensuring the security and accuracy of the communication interaction.

[0091] 3) During the master node receiving period, slave node messages sent by multiple slave nodes with the same node identifier are received, and the slave nodes with the same node identifier are determined to be slave nodes with abnormal communication behaviors.

[0092] In one example, during the master node sending period, the master node receives slave node messages sent by multiple slave nodes, and determines through the node identifiers included in the slave node messages that the node identifiers of the multiple slave nodes are the same, then the multiple slave nodes can be regarded as slave nodes with abnormal communication behaviors.

[0093] 4) During the non-master node reception period, a slave node message sent by a slave node is received, and the slave node is determined to be a slave node with abnormal communication behavior.

[0094] In one example, during the master node sending period, if the master node receives a slave node message sent by a slave node, it can be determined that the slave node is a slave node with abnormal communication behavior.

[0095] By using the above method to detect the communication behavior of slave nodes, slave nodes with abnormal communication behavior can be automatically detected, the tedious process caused by manual troubleshooting can be reduced, slave nodes with abnormal communication behavior can be discovered in time, and the troubleshooting and positioning efficiency can be improved.

[0096] In an optional implementation, the master node can allocate an available node identifier to the slave node during the handshake process, and after the slave node feedbacks that the available node identifier is successfully set, the available node identifier is recorded as the node identifier of the slave node. However, when multiple slave nodes simultaneously perform the handshake process, multiple slave nodes may be allocated the same available node identifier, resulting in repeated identification of the communication object, and the slave node that is actually communicating cannot be accurately located through the node identifier.

[0097] Currently, the solutions that can be adopted are:

[0098] 1) Troubleshoot the equipment through manual troubleshooting.

[0099] 2) Modify the existing indoor distribution system, for example, add identity document (ID) recognition equipment, increase communication channels or use a longer identity recognition sequence.

[0100] However, all of the above solutions have flaws. If the first solution is adopted, in order not to affect the work of other normal nodes, the communication interaction between abnormal nodes and normal nodes cannot be stopped during the process of detecting node identifier allocation conflicts. The large number of nodes in the 5G network environment will increase the complexity of manual troubleshooting, greatly increase the workload, reduce troubleshooting efficiency, and increase communication risks.

[0101] If the second solution is adopted, the hardware architecture of the indoor distribution system needs to be modified. For indoor distribution systems with limited communication capacity, there are often limitations on communication rate, amplitude modulation technology, and power-on handshake time. Complex operations such as scrambling and spread spectrum cannot be performed, and it is not easy to implement hardware modifications.

[0102] In order to solve the above problem, after completing the handshake process and accessing the master node, the slave node can send a slave node message to the master node. The slave node message includes a random node identifier randomly generated by the slave node and a node identifier set through the handshake process. The master node obtains the random node identifier included in the slave node message and saves the random node identifier (that is, saves the random node identifier initially reported by the slave node).

[0103] Therefore, when sending a slave node message, the slave node can report the node identifier used (that is, the node identifier assigned to the slave node by the master node in the handshake process) and the random node identifier from time to time, and by matching the random node identifier included in the slave node message with the previously recorded random node identifier, it is determined whether the random node identifier included in the slave node message is the same as the recorded random node identifier. If the matching result is different, the master node can request the corresponding slave node to re-perform the handshake process, thereby ensuring that the node identifiers used by the slave nodes are different.

[0104] Among them, the random node identifier can be in the form of a random sequence, such as a random number, and the number of bits of the random node identifier can be more than the number of bits of the available node identifier to reduce the probability of duplication of the random node identifier. The embodiment of the present invention does not limit the generation method and bit number of the random node identifier.

[0105] It can be understood that in order to distinguish the handshake confirmation message sent by the master node and the handshake confirmation message sent by the slave node, "first" and "second" can be used for distinction. For example, the handshake confirmation message sent by the master node is the first handshake confirmation message, and the handshake confirmation message sent by the slave node is the second handshake confirmation message.

[0106] By adopting the above scheme, without changing the hardware architecture of the indoor distribution system, the software part can be modified to realize automatic detection of handshake node identification conflicts. It can also be widely applied to various indoor distribution systems, and can promptly discover the phenomenon that multiple slave nodes are assigned the same handshake node identification, thereby avoiding communication confusion and improving the stability and reliability of communication interaction between master and slave nodes.

[0107] In an optional implementation, if the slave node has not reported a randomly generated node identifier after completing the handshake process, then when judging whether the node identifier included in the slave node message is consistent with the recorded node identifier of the slave node, it can be determined by judging whether the node identifier included in the slave node message matches the available node identifier assigned during the handshake process. When it is determined that the node identifier included in the slave node message does not match the available node identifier assigned during the handshake process, the slave node is a slave node with abnormal communication behavior.

[0108] In another optional implementation, if the slave node has reported a randomly generated random node identifier after completing the handshake process, then when judging whether the node identifier included in the slave node message is consistent with the recorded node identifier of the slave node, it can be determined by judging whether the random node identifier included in the slave node message matches the random node identifier reported for the first time. When it is determined that the random node identifier included in the slave node message does not match the random node identifier reported for the first time, the slave node is a slave node with abnormal communication behavior.

[0109] By matching the random node identifier included in the slave node message with the random node identifier reported initially, it is possible to avoid the situation where multiple slave nodes use the same available node identifier as the node identifier, thereby accurately locating the slave node actually communicating through the random node identifier.

[0110] In an optional implementation, before triggering the abnormal slave node release instruction, the method may further include: determining whether the number of abnormal communication behaviors of the slave node with abnormal communication behaviors meets a preset number threshold.

[0111] Optional, such as Figure 4 As shown, it is a flowchart of another communication exception handling method provided by an embodiment of the present invention, which may specifically include:

[0112] Step S40: Based on the preset communication behavior matching condition, determine the slave nodes with abnormal communication behavior.

[0113] Step S41, determine whether the number of abnormal communication behaviors of the slave node with abnormal communication behaviors meets a preset number threshold, if yes, proceed to step S42, otherwise return to the above step S40.

[0114] Optionally, after determining that the slave node has abnormal communication behavior, the number of times the slave node has abnormal communication behavior may be accumulated or decremented. The embodiment of the present invention does not limit the method for calculating the number of times the abnormal communication behavior has existed.

[0115] Step S42, triggering an abnormal slave node release instruction, deleting the handshake information of the slave node with abnormal communication behavior, and releasing the node identifier of the slave node with abnormal communication behavior;

[0116] Step S43: sending a first re-handshake message to the slave node with abnormal communication behavior;

[0117] Step S44: Wait to receive a second re-handshake message sent by the slave node with abnormal communication behavior in response to the first re-handshake message.

[0118] By adopting the above solution and setting a number threshold for the slave node, the probability of misjudgment of abnormal communication behavior of the slave node can be reduced, and the number of times the master and slave nodes re-perform the handshake process can be reduced.

[0119] In an optional implementation, if the abnormal communication behavior of the slave node is sporadic, the number of abnormal communication behaviors of the slave node will become redundant data. Therefore, the number of abnormal communication behaviors of the slave node can be reset. For example, during the master node receiving period, a slave node message sent by the corresponding slave node is received, and the validity of the information included in the slave node message is checked, and it is determined that there is no error information in the slave node message, then the number of abnormal communication behaviors of the slave node is reset to the initial value.

[0120] As an optional example, the master node can use a watchdog counter to count the number of abnormal communication behaviors (also known as a dog feeding operation) to detect whether the communication behavior of the slave node is normal and determine whether the slave node needs to re-handshake. When the master node receives a slave node message sent by a normal slave node, the value of the watchdog counter of the corresponding slave node is reset to a fixed value N, where N is any natural number greater than 0, for example, N can be equal to 4.

[0121] When the master node determines the slave node with abnormal communication behavior based on the preset communication behavior matching condition, the value of the watchdog counter corresponding to the slave node is cumulatively reduced, such as by 1. When the value of the corresponding watchdog counter is reduced to the preset number of times threshold, it is considered that the watchdog counter has timed out, and the subsequent steps are performed. When the value of the corresponding watchdog counter is reduced to the preset number of times threshold, the slave node with abnormal communication behavior is further determined. The preset number of times threshold is an integer less than N, for example, the preset number of times threshold can be 0.

[0122] The watchdog counter may be implemented by software simulation or by a hardware circuit composed of components. The embodiment of the present invention does not impose any specific restrictions on the implementation of the watchdog counter.

[0123] It should be noted that the above scheme can only perform the dog feeding operation on the master node, but not on the slave node, thereby reducing communication overhead. The master node determines whether the slave node has sent the slave node message normally during the corresponding slave node sending period, and then determines whether to perform the dog feeding operation.

[0124] In order to facilitate those skilled in the art to understand and implement the embodiments of the present invention, Figure 5 The flowchart of the communication exception handling method of the embodiment of the present invention is shown, and the communication interaction between the master and slave nodes may specifically include:

[0125] Step S50: the master node determines a slave node having abnormal communication behavior based on a preset communication behavior matching condition;

[0126] Step S51, the master node triggers an abnormal slave node release instruction, and deletes the handshake information of the slave node with abnormal communication behavior;

[0127] Step S52: the master node sends a first re-handshake message to the slave node with abnormal communication behavior;

[0128] Step S53: The slave node with abnormal communication behavior sends a second re-handshake message to the master node in response to the first re-handshake message sent by the master node to re-initiate the handshake process.

[0129] By adopting the above scheme, after the master node determines the slave node with abnormal communication behavior according to the preset communication behavior matching condition, it can delete the handshake information of the slave node with abnormal communication behavior by triggering the abnormal slave node release instruction, thereby releasing the node identifier of the slave node with abnormal communication behavior, and canceling the binding relationship between the node identifier and the slave node with communication abnormality. The master node disconnects the communication connection with the slave node with abnormal communication behavior, and sends a first re-handshake message to the slave node with abnormal communication behavior to request the slave node with abnormal communication behavior to re-initiate the handshake process, and wait for the slave node with abnormal communication behavior to respond to the first re-handshake message, so that the slave node with abnormal communication behavior can be re-accessed through the handshake process to ensure that the slave node resumes normal communication behavior. Therefore, in the communication interaction process between the master node and the slave node, the communication abnormality problem can be automatically detected and solved without manual troubleshooting, thereby improving the troubleshooting efficiency, timely handling the abnormal communication behavior of the slave node, and effectively ensuring the stability and reliability of the communication interaction between the master and slave nodes.

[0130] Further optional, such as Figure 5 As shown, the communication interaction between the master and slave nodes may also include the following steps:

[0131] S54. In response to the received second re-handshake message, if the master node successfully reallocates an available node identifier for the slave node with abnormal communication behavior, the master node sends a re-handshake confirmation message to the slave node with abnormal communication behavior, and the re-handshake message at least includes the successfully reallocated available node identifier.

[0132] S55. The slave node with abnormal communication behavior resets the node identifier based on the available node identifier.

[0133] Optionally, the abnormal communication behaviors determined by different matching conditions can be graded according to the severity of the abnormalities, thereby obtaining multiple levels of abnormal communication behaviors. For example, if the abnormal communication behaviors determined by the number of times the abnormal communication behaviors occur are more serious than the abnormal communication behaviors determined by matching the node identifier included in the slave node message with the node identifier of the designated slave node, then the level of abnormal communication behaviors determined by the number of times the abnormal communication behaviors occur is higher than the level of abnormal communication behaviors determined by matching the node identifier included in the slave node message with the node identifier of the designated slave node.

[0134] In addition, abnormal communication behaviors determined by different matching conditions may correspond to the same abnormal communication behavior level. For example, the abnormal communication behavior level determined by the number of times the abnormal communication behavior occurs is equal to the abnormal communication behavior level determined by matching the node identifier included in the slave node message with a random node identifier.

[0135] Optionally, different abnormal communication behavior levels and corresponding error codes may be set by software located at the upper layer of the master node.

[0136] Then, a corresponding error code may be set for each abnormal communication behavior level, so that different error codes may be used to represent abnormal communication behavior levels of different severity.

[0137] Based on the preset abnormal communication behavior level, the master node can determine the abnormal communication behavior level corresponding to the slave node with abnormal communication behavior; based on the preset abnormal communication behavior level, determine the abnormal communication behavior level corresponding to the slave node with abnormal communication behavior, and based on the abnormal communication behavior level, obtain the corresponding error code, when the master node sends a first re-handshake message to the slave node with abnormal communication behavior, the first re-handshake message includes the obtained error code. Optionally, the error code can be included in the message data of the first re-handshake message.

[0138] After receiving the first re-handshake message, the slave node determines that it has abnormal communication behavior. According to the error code included in the first re-handshake message, the slave node can select a corresponding degree of communication abnormality recovery operation according to the level of abnormal communication behavior represented by the error code. For example, according to the level of abnormal communication behavior represented by the error code from light to heavy, the following corresponding order of communication abnormality recovery operations can be selected:

[0139] 1) Enter the access state and re-handshake with the master node;

[0140] 2) After re-searching the network and receiving the heartbeat message sent by the master node, enter the access state and re-shake hands with the master node;

[0141] 3) After restarting, searching the network again, and receiving the heartbeat message sent by the master node, it enters the access state and re-shakes hands with the master node;

[0142] 4) After restoring the factory settings, restarting, re-searching the network, and receiving the heartbeat message sent by the master node, enter the access state and re-shake hands with the master node.

[0143] As an optional example, the slave node with abnormal communication behavior responds to the first re-handshake message sent by the master node, and determines whether to re-search the network, restart or restore the factory settings based on the error code included in the first re-handshake message; after re-searching the network, restarting or restoring the factory settings, or after determining not to re-search the network, restart and restore the factory settings, a second re-handshake message is sent to the master node to re-initiate the handshake process.

[0144] The above describes multiple implementation schemes provided by the embodiments of the present invention. The various optional methods introduced in each implementation scheme can be combined and cross-referenced with each other without conflict, thereby extending a variety of possible implementation schemes, which can all be considered as implementation schemes disclosed and open in the embodiments of the present invention.

[0145] The embodiment of the present invention further provides a master node corresponding to the above communication exception handling method. In order to enable those skilled in the art to better understand and implement the embodiment of the present invention, it is described in detail below through specific embodiments with reference to the accompanying drawings.

[0146] Reference Figure 6 The figure shows an optional block diagram of a master node in an embodiment of the present invention. In the embodiment of this specification, the master node 60 may include:

[0147] A handshake module 61 is used to execute a handshake process to establish a communication connection with a slave node;

[0148] The abnormal slave node detection module 62 is used to determine the slave nodes with abnormal communication behavior according to the preset communication behavior matching conditions;

[0149] The abnormal slave node release module 63 is used to delete the handshake information of the slave node with abnormal communication behavior and release the node identifier of the slave node with abnormal communication behavior according to the triggered abnormal slave node release instruction;

[0150] A message sending module 64 is used to send a first re-handshake message to the slave node with abnormal communication behavior;

[0151] The message receiving module 65 is configured to receive a second re-handshake message sent by the slave node with abnormal communication behavior in response to the first re-handshake message.

[0152] By adopting the above scheme, after the master node determines the slave node with abnormal communication behavior according to the preset communication behavior matching condition, it can delete the handshake information of the slave node with abnormal communication behavior by triggering the abnormal slave node release instruction, thereby releasing the node identifier of the slave node with abnormal communication behavior, and canceling the binding relationship between the node identifier and the slave node with communication abnormality. The master node disconnects the communication connection with the slave node with abnormal communication behavior, and sends a first re-handshake message to the slave node with abnormal communication behavior to request the slave node with abnormal communication behavior to re-initiate the handshake process, and wait for the slave node with abnormal communication behavior to respond to the first re-handshake message, so that the slave node with abnormal communication behavior can be re-accessed through the handshake process to ensure that the slave node resumes normal communication behavior. Therefore, in the communication interaction process between the master node and the slave node, the communication abnormality problem can be automatically detected and solved without manual troubleshooting, thereby improving the troubleshooting efficiency, timely handling the abnormal communication behavior of the slave node, and effectively ensuring the stability and reliability of the communication interaction between the master and slave nodes.

[0153] Optionally, according to the above communication behavior time period planning, it can be detected whether the communication behavior of the slave node is abnormal, and the master node can adopt the method described in the relevant embodiment of the communication anomaly handling method to determine the slave node with abnormal communication behavior.

[0154] By using the above method to detect the communication behavior of slave nodes, slave nodes with abnormal communication behavior can be automatically detected, the tedious process caused by manual troubleshooting can be reduced, slave nodes with abnormal communication behavior can be discovered in time, and the troubleshooting and positioning efficiency can be improved.

[0155] Optional, such as Figure 7 As shown, the master node 60 may also include:

[0156] The times matching module 66 is used to determine whether the number of times the abnormal communication behavior of the slave node with abnormal communication behavior exists meets a preset times threshold before the triggering of the abnormal slave node release instruction.

[0157] Optionally, the number matching module 66 is also used to receive a slave node message sent by a corresponding slave node during a master node receiving period, and to perform a validity check on the information included in the slave node message, and after determining that there is no error information in the slave node message, reset the number of abnormal communication behaviors of the slave node to an initial value.

[0158] Optionally, the handshake module 61 is further configured to, in response to the received second re-handshake message, send the available node identifier to the message sending module 64 if the available node identifier is successfully reassigned to the slave node with abnormal communication behavior;

[0159] The message sending module 64 is also used to send a re-handshake confirmation message to the slave node with abnormal communication behavior, and the re-handshake confirmation message at least includes the successfully reallocated available node identifier, and the available node identifier is used to reset the node identifier of the slave node with abnormal communication behavior.

[0160] It should be noted that, in practical applications, each module included in the master node can be implemented using corresponding hardware circuits or devices, modules, etc. For example, the message sending module and the message receiving module can be implemented through corresponding buses, communication lines, transceiver devices, etc.; the handshake module and the abnormal node release module can be executed by single-chip microcomputers, FPGA and other data processing chips, and the abnormal slave node detection module can be implemented by corresponding detection circuits, detection devices or detection chips. These modules can be controlled by the same processing device or executed by different processing devices. The different processors can be distributed on the same hardware device or on different hardware devices.

[0161] The embodiment of the present invention further provides an indoor distribution system corresponding to the above communication anomaly processing method. In order to enable those skilled in the art to better understand and implement the embodiment of the present invention, a detailed introduction is given below through specific embodiments with reference to the accompanying drawings.

[0162] Combination Figure 1 As shown, the indoor distribution system may include a master node 10 and a plurality of slave nodes 21-2N, wherein:

[0163] The master node 10 is used to determine the slave node 2X with abnormal communication behavior based on a preset communication behavior matching condition, where X is any integer from 1 to N, and trigger an abnormal slave node release instruction, delete the handshake information of the slave node 2X with abnormal communication behavior, and send a first re-handshake message to the slave node 2X with abnormal communication behavior to request the slave node 2X with abnormal communication behavior to re-initiate the handshake process, and wait for receiving a second re-handshake message sent by the slave node 2X with abnormal communication behavior in response to the first re-handshake message;

[0164] The slave node 2X is used to send a second re-handshake message to the master node 10 in response to the first re-handshake message sent by the master node 10, so as to re-initiate the handshake process.

[0165] It can be understood that the above embodiments are only examples, and the master node and the slave node with abnormal communication behavior can be one or more, and the master node can determine the slave node with abnormal communication behavior in the manner described in the relevant embodiments of the communication anomaly handling method. For details, please refer to the above-mentioned relevant embodiments and will not be repeated again.

[0166] The embodiment of the present invention also provides a master node, such as Figure 8 As shown, the master node may include: a processor 81, a communication interface 82, a memory 83 and a communication bus 84;

[0167] In the embodiment of the present invention, the number of the processor 81, the communication interface 82, the memory 83, and the communication bus 84 is at least one, and the processor 81, the communication interface 82, and the memory 83 communicate with each other through the communication bus 84;

[0168] Optionally, the communication interface 82 may be an interface of a communication module for performing network communication;

[0169] Optionally, the processor 81 may be a CPU (central processing unit), a GPU (Graphics Processing Unit), an NPU (embedded neural network processor), an FPGA (Field Programmable Gate Array), a TPU (tensor processing unit), an AI chip, an application-specific integrated circuit ASIC (Application Specific Integrated Circuit), a baseband chip, or one or more integrated circuits configured to implement an embodiment of the present invention, etc.

[0170] The memory 83 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0171] The memory 83 stores one or more computer executable instructions, and the processor 81 calls the one or more computer executable instructions to execute the abnormal communication processing method provided by the embodiment of the present invention.

[0172] The embodiment of the present invention further provides an indoor distribution system, which may include multiple slave nodes and the master node described in any of the above embodiments. For details, please refer to the introduction of the above embodiments, which will not be repeated here.

[0173] The embodiment of the present invention further provides a storage medium, which can store one or more computer executable instructions, and the one or more computer executable instructions can be used to execute the abnormal communication processing method provided by any of the above embodiments of the present invention. For details, please refer to the above embodiments, which will not be repeated here.

[0174] Although the embodiments of the present invention are disclosed above, the present invention is not limited thereto. Any person skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.

Claims

1. A communication abnormality processing method, characterized in that: Applied to a master node, the master node establishes a communication connection with a slave node through a handshake process, and the master node and the slave node are located in an indoor distribution system; when the master node and the slave node perform the handshake process, the master node selects a node identifier for the slave node, and if the selected node identifier is not occupied, the selected node identifier is used as an available node identifier; The communication exception processing method comprises: Based on preset communication behavior matching conditions, determine the slave nodes with abnormal communication behavior; triggering an abnormal slave node release instruction, deleting the handshake information of the slave node with abnormal communication behavior, releasing the node identifier of the slave node with abnormal communication behavior, and setting the node identifier of the slave node with abnormal communication behavior to be unoccupied; Sending a first re-handshake message to the slave node having the abnormal communication behavior; Waiting to receive a second re-handshake message sent by the slave node with abnormal communication behavior in response to the first re-handshake message; The determining of the slave node with abnormal communication behavior based on the preset communication behavior matching condition includes: receiving a slave node message sent by the slave node during the master node receiving period, performing validity check on the information included in the slave node message, and determining that the slave node is a slave node with abnormal communication behavior after checking that error information exists in the slave node message; Among them, the validity check of the information included in the slave node message includes at least one of the following: determining whether the node identifier included in the slave node message matches the node identifier of the specified slave node; determining whether the node identifier included in the slave node message matches the recorded node identifier of the slave node.

2. The communication abnormality handling method according to claim 1, characterized in that: The checking of the validity of the information included in the slave node message further includes at least one of the following: Determine whether the message header identifier included in the slave node message matches a preset message header identifier; Determine whether the message type identifier included in the slave node message matches a preset message type identifier; Determining whether the message data included in the slave node message matches the message type identifier; The message verification identifier included in the slave node message is verified.

3. The communication abnormality handling method according to claim 1, characterized in that: The determining whether the node identifier included in the slave node message matches the recorded node identifier of the slave node includes at least one of the following: Determine whether the node identifier included in the slave node message matches the available node identifier allocated during the handshake process; It is determined whether the random node identifier included in the slave node message matches the random node identifier initially reported by the slave node.

4. The communication abnormality handling method according to claim 1, characterized in that: Before the triggering of the abnormal slave node release instruction, the method further includes: It is determined that the number of times the abnormal communication behavior of the slave node having the abnormal communication behavior exists meets a preset number threshold.

5. The communication abnormality handling method according to claim 4, characterized in that: Also includes: During the master node receiving period, a slave node message sent by the corresponding slave node is received, and the validity of the information included in the slave node message is checked. After determining that there is no error information in the slave node message, the number of abnormal communication behaviors of the slave node is reset to the initial value.

6. The communication abnormality handling method according to claim 3 or 4, characterized in that: The deleting the handshake information of the slave node with abnormal communication behavior and releasing the node identifier of the slave node with abnormal communication behavior includes: The node identification record information of the slave node with abnormal communication behavior is deleted, and the node identification of the slave node with abnormal communication behavior is set to be unoccupied.

7. The communication abnormality handling method according to claim 1, characterized in that: Before sending the first re-handshake message to the slave node with abnormal communication behavior, the method further includes: Based on a preset abnormal communication behavior level, determining the abnormal communication behavior level corresponding to the slave node having the abnormal communication behavior; Based on the abnormal communication behavior level, a corresponding error code is obtained and included in the first re-handshake message.

8. A communication abnormality processing method, characterized in that: Applied to an indoor distribution system, the indoor distribution system includes a master node and a slave node, the master node establishes a communication connection with the slave node through a handshake process, and the master node and the slave node are located in the indoor distribution system; when the master node and the slave node perform the handshake process, the master node selects a node identifier for the slave node, and if the selected node identifier is not occupied, the selected node identifier is used as an available node identifier; The communication exception processing method comprises: The master node determines the slave node having abnormal communication behavior based on a preset communication behavior matching condition; The master node triggers an abnormal slave node release instruction, deletes the handshake information of the slave node with abnormal communication behavior, and sets the node identifier of the slave node with abnormal communication behavior to be unoccupied; The master node sends a first re-handshake message to the slave node with abnormal communication behavior; The slave node with abnormal communication behavior sends a second re-handshake message to the master node in response to the first re-handshake message sent by the master node to re-initiate the handshake process; The determining of the slave node with abnormal communication behavior based on the preset communication behavior matching condition includes: receiving a slave node message sent by the slave node during the master node receiving period, performing validity check on the information included in the slave node message, and determining that the slave node is a slave node with abnormal communication behavior after checking that error information exists in the slave node message; Among them, the validity check of the information included in the slave node message includes at least one of the following: determining whether the node identifier included in the slave node message matches the node identifier of the specified slave node; determining whether the node identifier included in the slave node message matches the recorded node identifier of the slave node.

9. The communication abnormality handling method according to claim 8, characterized in that: The slave node with abnormal communication behavior sends a second re-handshake message to the master node in response to the first re-handshake message sent by the master node to re-initiate the handshake process, including: The slave node with abnormal communication behavior responds to the first re-handshake message sent by the master node, and determines whether to re-search the network, restart or restore the factory settings according to the error code included in the first re-handshake message; After re-searching the network, restarting or restoring the factory settings, or after determining not to re-search the network, restart or restore the factory settings, a second re-handshake message is sent to the master node to re-initiate the handshake process.

10. The communication abnormality processing method according to claim 8, characterized in that: Also includes: In response to the received second re-handshake message, if the available node identifier is successfully re-assigned to the slave node with abnormal communication behavior, the master node sends a re-handshake confirmation message to the slave node with abnormal communication behavior, wherein the re-handshake message includes the successfully re-assigned available node identifier; The slave node with abnormal communication behavior resets the node identifier based on the available node identifier.

11. A master node, characterized in that: The master node and the slave node are located in the indoor distribution system; when the master node and the slave node perform a handshake process, the master node selects a node identifier for the slave node, and if the selected node identifier is not occupied, the selected node identifier is used as an available node identifier; The master node includes: A handshake module is used to execute the handshake process to establish a communication connection with the slave node; The abnormal slave node detection module is used to determine the slave nodes with abnormal communication behavior according to the preset communication behavior matching conditions; An abnormal slave node release module is used to delete the handshake information of the slave node with abnormal communication behavior according to the triggered abnormal slave node release instruction, release the node identifier of the slave node with abnormal communication behavior, and set the node identifier of the slave node with abnormal communication behavior to be unoccupied; A message sending module, used for sending a first re-handshake message to the slave node having abnormal communication behavior; A message receiving module, configured to receive a second re-handshake message sent by the slave node with abnormal communication behavior in response to the first re-handshake message; The abnormal slave node detection module is used to receive a slave node message sent by a slave node during a master node reception period, perform validity check on the information included in the slave node message, and determine that the slave node is a slave node with abnormal communication behavior after checking that there is error information in the slave node message; Among them, the validity check of the information included in the slave node message includes at least one of the following: determining whether the node identifier included in the slave node message matches the node identifier of the specified slave node; determining whether the node identifier included in the slave node message matches the recorded node identifier of the slave node.

12. An indoor distribution system, characterized in that: The master node and the slave node are included. The master node establishes a communication connection with the slave node through a handshake process. When the master node and the slave node perform the handshake process, the master node selects a node identifier for the slave node. If the selected node identifier is not occupied, the selected node identifier is used as an available node identifier; wherein: The master node is used to determine the slave node with abnormal communication behavior based on a preset communication behavior matching condition, and trigger an abnormal slave node release instruction, delete the handshake information of the slave node with abnormal communication behavior, release the node identifier of the slave node with abnormal communication behavior, and set the node identifier of the slave node with abnormal communication behavior to be unoccupied; and send a first re-handshake message to the slave node with abnormal communication behavior, and wait to receive a second re-handshake message sent by the slave node with abnormal communication behavior in response to the first re-handshake message; The slave node is configured to send a second re-handshake message to the master node in response to the first re-handshake message sent by the master node, so as to re-initiate the handshake process; The master node is used to receive a slave node message sent by a slave node during a master node receiving period, perform validity check on information included in the slave node message, and determine that the slave node is a slave node with abnormal communication behavior after checking that error information exists in the slave node message; Among them, the validity check of the information included in the slave node message includes at least one of the following: determining whether the node identifier included in the slave node message matches the node identifier of the specified slave node; determining whether the node identifier included in the slave node message matches the recorded node identifier of the slave node.

13. A master node, characterized in that: include: A memory and a processor, wherein the memory stores one or more computer executable instructions, and the processor calls the one or more computer executable instructions to execute the communication exception handling method according to any one of claims 1 to 7.

14. An indoor distribution system, characterized in that: It comprises a plurality of slave nodes and a master node as claimed in claim 13, wherein the master node establishes a communication connection with the slave nodes through a handshake process.

15. A storage medium, characterized in that: The storage medium stores one or more computer executable instructions, and the one or more computer executable instructions are used to execute the communication exception handling method according to any one of claims 1 to 7.