[go: up one dir, main page]

WO2025222886A1 - Failed node determination method and apparatus, and related product - Google Patents

Failed node determination method and apparatus, and related product

Info

Publication number
WO2025222886A1
WO2025222886A1 PCT/CN2024/139326 CN2024139326W WO2025222886A1 WO 2025222886 A1 WO2025222886 A1 WO 2025222886A1 CN 2024139326 W CN2024139326 W CN 2024139326W WO 2025222886 A1 WO2025222886 A1 WO 2025222886A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
faulty
detection
nodes
time period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2024/139326
Other languages
French (fr)
Chinese (zh)
Inventor
许沛
楼林辉
游望秋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Publication of WO2025222886A1 publication Critical patent/WO2025222886A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults

Definitions

  • This disclosure relates to the field of communication technology, and in particular to a method, apparatus and related products for determining fault nodes.
  • Communication networks typically include multiple communication nodes. For example, in an edge computing-based video transmission network, multiple lightweight edge nodes are included. These edge nodes provide video caching services, which can reduce the download cost and improve the download efficiency of video data. Since communication nodes in a communication network may fail, leading to a decrease in the network's communication success rate, a technical solution is needed to accurately identify faulty communication nodes in the network.
  • This disclosure provides a method, apparatus, and related products for determining faulty nodes, which can accurately identify faulty communication nodes in a communication network.
  • embodiments of this disclosure provide a method for determining a fault node, including:
  • the communication status information of communication nodes in the communication network is obtained for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.
  • each set of faulty communication nodes in the communication network is determined in each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold in the detection period;
  • At least one first faulty communication node of the communication network is determined within the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period.
  • a fault node determination device comprising:
  • a status acquisition unit is used to acquire communication status information of communication nodes in the communication network for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.
  • the first determining unit is configured to determine, based on the communication status information, at least one set of faulty communication nodes in the communication network during each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is a communication node that causes the communication success rate of the communication network to be lower than a success rate threshold during the detection period.
  • the second determining unit is configured to determine at least one first faulty communication node of the communication network in the first detection time period based on the set of faulty communication nodes of the communication network in each detection cycle of the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes in the first detection time period.
  • embodiments of this disclosure provide an electronic device, including: a processor; and a memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the steps of the method described in the first aspect above.
  • embodiments of this disclosure provide a computer-readable storage medium for storing computer-executable instructions that, when executed by a processor, implement the steps of the method described in the first aspect.
  • embodiments of this disclosure provide a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect above.
  • communication status information of communication nodes in the communication network for each detection cycle within a first detection time period is obtained.
  • the communication status information is used to represent the communication status between communication nodes within the detection cycle.
  • at least one set of faulty communication nodes in the communication network for each detection cycle is determined.
  • Each set of faulty communication nodes includes at least one faulty communication node.
  • the faulty communication node is a communication node that causes the communication success rate of the communication network to be lower than the success rate threshold within the detection cycle.
  • At least one first faulty communication node in the communication network within the first detection time period is determined.
  • the first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period.
  • Figure 1 is a flowchart illustrating a method for determining fault nodes provided in some embodiments of this disclosure
  • Figure 2 is a schematic diagram of the communication status provided in some embodiments of this disclosure.
  • Figure 3 is a flowchart illustrating the process of determining a set of faulty communication nodes according to some embodiments of this disclosure
  • Figure 4 is a flowchart illustrating the process of determining a faulty communication node according to some embodiments of this disclosure
  • Figure 5 is a schematic diagram illustrating the principle of determining faulty communication nodes according to some embodiments of this disclosure
  • Figure 6 is a schematic diagram of the structure of a fault node determination device provided in some embodiments of this disclosure.
  • Figure 7 is a schematic diagram of the structure of an electronic device provided in some embodiments of this disclosure.
  • a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information.
  • This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.
  • sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format.
  • the pop-up window can also include a selection control allowing the user to choose "agree” or “disagree” to provide personal information to the electronic device.
  • This disclosure provides a method for determining faulty nodes, which can accurately identify faulty communication nodes in a communication network.
  • Step S102 Obtain the communication status information of the communication nodes in the communication network for each detection period within the first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection period.
  • Step S104 Based on the communication status information, determine at least one set of faulty communication nodes in the communication network for each detection period; each set of faulty communication nodes includes at least one faulty communication node; a faulty communication node is a communication node that causes the communication success rate of the communication network to be lower than the success rate threshold within the detection period.
  • the communication status information of the communication nodes in the communication network for each detection cycle within the first detection time period is obtained.
  • the communication status information is used to represent the communication status between the communication nodes within the detection cycle.
  • at least one set of faulty communication nodes in the communication network for each detection cycle is determined.
  • Each set of faulty communication nodes includes at least one faulty communication node.
  • the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold within the detection cycle.
  • at least one first faulty communication node in the communication network within the first detection time period is determined.
  • the first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period.
  • each set of faulty communication nodes includes at least one faulty communication node, and the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold during the detection period, each set of faulty communication nodes represents a fault condition of the communication network during the detection period. Therefore, it achieves the effect of determining the first faulty communication node of the communication network in the first detection period based on at least one fault condition of the communication network in each detection period.
  • This first faulty communication node is the communication node with a continuous fault in the communication network during the first detection period.
  • At least one persistently faulty edge node within the first detection time period is determined. Combining the fault status of the communication network across multiple detection cycles, the persistently faulty edge nodes in the communication network are accurately identified, improving the accuracy of faulty edge node determination.
  • the method flow in Figure 1 can be applied to the server side and executed by the server.
  • the method flow in Figure 1 can be executed periodically according to a preset detection period. For example, if the preset detection period is 30 seconds, then the method flow in Figure 1 will be executed once every 30 seconds.
  • the method flow in Figure 1 will be described in detail below.
  • step S102 the communication status information of the communication nodes in the communication network for each detection period within the first detection time period is obtained.
  • the communication status information is used to represent the communication status between the communication nodes within the detection period.
  • the communication status information of the communication nodes in the communication network is acquired within the detection period.
  • the detection period can be a time range of 30 seconds prior to the current time.
  • the communication status information is used to represent the communication status between communication nodes within the detection period.
  • the communication status information includes the communication connection relationship between communication nodes during the detection period, as well as communication success information and/or communication failure information between communication nodes.
  • the communication status information includes the communication connection relationships between communication nodes during the detection period, as well as communication success information between communication nodes during the detection period.
  • the communication status information includes the communication connection relationships between communication nodes during the detection period, as well as communication failure information between communication nodes during the detection period.
  • the communication status information includes the communication connection relationships between communication nodes during the detection period, as well as communication success and communication failure information between communication nodes during the detection period.
  • nodes 1, 2, 3, 4, and 5 the communication connections between the nodes can be illustrated as follows: nodes 1, 2, 3, and 4 are each connected to node 5.
  • Successful communication information can be represented by the number of successful communications between the two nodes, and failed communication information can be represented by the number of failed communications between the two nodes.
  • failed communication information can be represented by the number of failed communications between the two nodes.
  • one node successfully establishes a communication connection with the other e.g., data transmission is successful
  • it can be recorded as one successful communication between the two nodes.
  • one node fails to establish a communication connection with the other e.g., data transmission fails
  • it can be recorded as one failed communication between the two nodes.
  • obtaining the communication status information of communication nodes in the communication network for each detection cycle within a first detection time period includes:
  • a communication status diagram of the communication nodes in the communication network for each detection cycle within the first detection time period is created as communication status information.
  • the communication connection relationships between communication nodes in the communication network and the number of successful and/or failed communication transactions between communication nodes are obtained within the detection period.
  • the communication connection relationships between communication nodes in the communication network within the detection period are obtained as follows: communication nodes 1, 2, 3, and 4 are respectively connected to communication node 5.
  • the number of successful communication transactions between communication nodes in the communication network within the detection period includes: communication node 1 and communication node 5 communicated successfully 2 times, communication node 2 and communication node 5 communicated successfully 2 times, communication node 3 and communication node 5 communicated successfully 2 times, and communication node 4 and communication node 5 communicated successfully 1 time.
  • the number of failed communication transactions between communication nodes in the communication network within the detection period includes: communication node 4 and communication node 5 failed to communicate once.
  • FIG. 2 is a schematic diagram of the communication status diagram provided in some embodiments of this disclosure.
  • a communication status diagram as shown in Figure 2 can be created as communication status information.
  • the communication connection relationship between communication nodes in the communication network, the number of successful communication between communication nodes, and the number of communication failures within the detection cycle are recorded.
  • the communication connection relationship between communication nodes in the communication network and the number of successful and/or failed communications between communication nodes in each detection cycle of the first detection time period can be obtained. Based on the obtained information, a communication status diagram of the communication nodes in the communication network in each detection cycle can be efficiently and quickly created as communication status information.
  • step S104 above based on the communication status information, at least one set of faulty communication nodes in the communication network is determined in each detection period.
  • Each set of faulty communication nodes includes at least one faulty communication node.
  • the faulty communication node in each set of faulty communication nodes is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold in the detection period.
  • the communication success rate of the communication network in the detection period can meet the communication success rate requirement, such as being greater than the success rate threshold.
  • each set of faulty communication nodes in the communication network is determined for each detection period. For example, if two sets of faulty communication nodes are determined for a certain detection period, each set includes two faulty communication nodes. Since the faulty communication nodes in each set are those that cause the communication success rate of the communication network to fall below the success rate threshold during the detection period, each set of faulty communication nodes represents a fault condition of the communication network during the detection period. Therefore, this embodiment can determine various fault conditions of the communication network during the detection period.
  • the communication status information includes the communication connection relationship between communication nodes during the detection period, as well as communication success information and/or communication failure information between communication nodes. Based on this, in one embodiment, the communication status information is used to determine at least one set of faulty communication nodes in the communication network during each detection period, including:
  • At least one problematic communication node is selected as the target object from among the communication nodes whose corresponding communication success information does not meet the success information requirements or whose corresponding communication failure information meets the failure information requirements. For example, if the communication status information includes communication success information between communication nodes within the detection period, such as the number of successful communications, then based on the communication status information, at least one problematic communication node whose corresponding number of successful communications is not greater than the success number threshold is selected as the target object.
  • the communication status information includes communication failure information between communication nodes within the detection period, such as the number of communication failures. If based on the communication status information, at least one problematic communication node whose corresponding number of communication failures is greater than the failure number threshold is selected as the target object.
  • the communication success information corresponding to a communication node refers to the successful communication information between that communication node and any other communication node with which it communicates.
  • the communication failure information corresponding to a communication node refers to the communication failure information between that communication node and any other communication node with which it communicates.
  • the communication node is determined to be a problematic communication node based on the successful or failed communication information between the communication node and any other communication node with which it communicates. For example, if a communication node A communicates with multiple communication nodes, and there is a communication failure between communication node A and any of these communication nodes, then communication node A is determined to be a problematic communication node.
  • a problem communication node is taken as a target object.
  • the communication state diagram in Figure 2 shows multiple communication nodes in the communication network. Taking any detection period as an example, it shows the communication connection relationship between communication nodes in the communication network, the number of successful communication between communication nodes, and the number of communication failures during the detection period.
  • at least one problematic communication node with a communication failure count greater than 0 is selected as the target object.
  • 6 target objects communication nodes 1-6.
  • communication node 1 has the following communication failure counts: 5 failures with communication node 5, 5 failures with communication node 6, and 10 failures with communication node 2.
  • Communication node 2 has the following communication failure counts: 10 failures with communication node 1 and 10 failures with communication node 3.
  • Communication node 3 has the following communication failure counts: 10 failures with communication node 2 and 3 failures with communication node 4.
  • Communication node 4 has the following communication failure counts: 3 failures with communication node 3.
  • Communication node 5 has the following communication failure counts: 5 failures with communication node 1.
  • Communication node 6 has the following communication failure counts: 5 failures with communication node 1.
  • the communication success rate of the communication network in the detection cycle after the target object is removed from the communication network is obtained.
  • the calculation process of the communication success rate of the communication network in the detection cycle will be described in detail below.
  • At least one problematic communication node whose corresponding communication success information does not meet the success information requirements or whose corresponding communication failure information meets the failure information requirements can be selected as the target object.
  • the communication success rate of the communication network in the detection cycle after the target object is removed from the communication network includes:
  • all communication connections related to the problematic communication node represented by the target object are removed. For example, if the problematic communication node represented by the target object is communication node 1, and communication node 1 is connected to communication nodes 2 and 3, then communication node 1 is removed from the communication network, as are the communication connections between communication node 1 and communication node 2, and the communication connection between communication node 1 and communication node 3.
  • Removing a target object from the communication network can be operated by removing the target object and its associated communication connections from communication state information, such as a communication state diagram.
  • the communication status information includes the number of successful and failed communication transactions between communication nodes during the detection period, these can be directly obtained from the communication status information.
  • the number of successful communication transactions between the remaining communication nodes refers to the number of successful communication transactions between any two remaining interconnected communication nodes
  • the number of failed communication transactions refers to the number of failed communication transactions between any two remaining interconnected communication nodes.
  • the communication success rate of the communication network during the detection period after removing the target object from the communication network is determined.
  • the sum of the number of successful communications between the remaining communication nodes in the communication network during the detection period after removing the target object can be calculated, as well as the sum of the number of communication failures between the remaining communication nodes in the communication network during the detection period after removing the target object.
  • the sum of the number of successful communications and the sum of the number of failed communications is then calculated.
  • the communication success rate of the communication network during the detection period after removing the target object is equal to the sum of the number of successful communications divided by the sum of the numbers.
  • the communication success rate of the communication network in the detection period after removing the target object can be equal to the sum of the S values of each edge divided by the sum of the S values of each edge and the F values of each edge.
  • the target objects are communication nodes 1-6.
  • the communication success rate of the communication network during the detection period after removing the target objects from the communication network is shown in Table 1 below.
  • this embodiment it is possible to obtain the number of successful and failed communications between the remaining communication nodes in the communication network during the detection period after the target object is removed from the communication network. Based on the number of failed and successful communications corresponding to the target object, the communication success rate of the communication network during the detection period after the target object is removed from the communication network can be accurately determined.
  • determining the set of at least one faulty communication node in the communication network during the detection period for each detection period within the first detection time period, based on the obtained communication success rate and the communication success rate requirement includes:
  • a set of faulty communication nodes in the communication network during the detection period is generated based on the problematic communication node represented by the first object; the first object is the target object that causes the communication success rate of the communication network to fail to meet the communication success rate requirement during the detection period.
  • the target object is updated to generate an updated target object, and the step of obtaining the communication success rate of the communication network in the detection period after removing the target object from the communication network is repeated until the set of faulty communication nodes is determined.
  • the first object is the target object that causes the communication success rate of the communication network in the detection period to not meet the communication success rate requirement. Therefore, the first object refers to the target object that, after being removed from the communication network, has a communication success rate that meets the communication success rate requirement in the detection period. For example, the target object that, after being removed from the communication network, has a communication success rate greater than the success rate threshold in the detection period.
  • a set of faulty communication nodes for the communication network during the detection period is generated based on the problematic communication node represented by the first object.
  • one or more sets of faulty communication nodes represent one or more fault conditions of the communication network during the detection period. It can be understood that when a problematic communication node is considered a target object, each set of faulty communication nodes includes that problematic communication node. When there are multiple sets of faulty communication nodes, removing any one set from the communication network can effectively improve the communication success rate of the network.
  • the target objects are updated to generate updated target objects, and the steps of obtaining the communication success rate of the communication network in the detection period after removing the target objects from the communication network and determining at least one set of faulty communication nodes in the communication network in the detection period based on the obtained communication success rate and the communication success rate requirement are repeated until at least one set of faulty communication nodes in the communication network in the detection period is determined.
  • a first object can be selected from various target objects. If it is selected, a set of faulty communication nodes in the communication network during the detection period is generated based on the problem communication node represented by the first object. If it is not selected, the target object is updated and the previous steps are repeated until at least one set of faulty communication nodes in the communication network during the detection period is determined, thereby improving the accuracy of determining the set of faulty communication nodes and ensuring that the set of faulty communication nodes can be determined.
  • updating the target object to generate an updated target object includes:
  • a second object is identified among the target objects.
  • a second object is determined from among the target objects. For example, based on the communication success rate of the communication network during the detection period after removing each target object, the target objects are sorted, and the target objects with the highest communication success rates are selected as the second objects. The selected target object is then used as a single second object. Then, based on each second object and each problematic communication node, an updated target object is generated.
  • a second object can be determined from the target objects based on the communication success rate of the communication network during the detection period after the target object is removed from the communication network.
  • An updated target object is generated based on the second object and the problematic communication node. Since the second object is obtained by filtering based on the communication success rate, generating an updated target object based on the second object can effectively improve the communication success rate of the communication network after removing the updated target object from the communication network, thereby increasing the probability of determining the set of faulty communication nodes based on the updated target object.
  • generating an updated target object based on the second object and the problem communication node includes:
  • the second object is combined with the other problem communication nodes in the problem communication node list, excluding the problem communication node represented by the second object, to obtain the updated target object.
  • the problem communication node represented by the second object is determined.
  • One or more problem communication nodes included in the second object are the problem communication nodes represented by the second object.
  • the second object is combined with each other problem communication node except the problem communication node represented by the second object.
  • Each combination with one other problem communication node results in an updated target object, thereby obtaining each updated target object.
  • the second object has three problem communication nodes 1-3.
  • the problem communication nodes also include problem communication nodes 4-6.
  • problem communication node 1 problem communication node 1 is combined with problem communication nodes 2-6 respectively to obtain five updated target objects, namely 1+2, 1+3, 1+4, 1+5, and 1+6.
  • the second object can be combined with each other problem communication node in the problem communication node except for the problem communication node represented by the second object.
  • an updated target object is obtained, thereby obtaining each updated target object, and the updating of the target object is achieved efficiently and quickly.
  • the communication status information of the communication network shown in Figure 2 is obtained during the detection period. Based on the communication status information, the communication success rate of the communication network during the detection period is determined to be 0.7911, which is lower than the success rate threshold of 0.99. Therefore, the operation of determining the set of faulty communication nodes corresponding to the detection period is executed.
  • the communication success rate of the communication network during the detection period is equal to the sum of all successful communication counts between all communication nodes within the detection period divided by the sum of all communication counts.
  • At least one problematic communication node is selected from the communication nodes whose corresponding communication success information does not meet the success information requirements or whose corresponding communication failure information meets the failure information requirements as the target object.
  • 6 target objects can be obtained, namely communication nodes 1-6.
  • the target objects are updated to generate updated target objects.
  • the specific process is as follows: Based on the data in Table 1, target objects 1-6 are sorted. The three target objects with the highest communication success rates are selected as second objects in this sorting, which are problem communication nodes 1-3. Then, for problem communication node 1, problem communication node 1 is expanded according to problem communication nodes 1-6 to obtain five updated target objects, namely problem communication nodes 1+2, 1+3, 1+4, 1+5, and 1+6.
  • problem communication node 1 is expanded according to problem communication nodes 1-6 to obtain five updated target objects, namely problem communication nodes 2+1, 2+3, 2+4, 2+5, and 2+6.
  • problem communication node 3 is expanded according to problem communication nodes 1-6 to obtain five updated target objects, namely problem communication nodes 3+1, 3+2, 3+4, 3+5, and 3+6.
  • the success rate threshold is 0.99, it is determined that there is a first object among the target objects.
  • the first object includes communication node 1 and communication node 3. Therefore, it is determined that there is one set of faulty communication nodes in the communication network during the detection period, which includes communication node 1 and communication node 3.
  • problem communication node 1+3 is selected as the second object, and the second object is expanded according to problem communication nodes 1-6 to obtain four updated target objects, namely problem communication node 1+2+3, problem communication node 1+3+4, problem communication node 1+3+5, and problem communication node 1+3+6.
  • Figure 3 is a flowchart illustrating the process of determining a set of faulty communication nodes according to some embodiments of this disclosure. As shown in Figure 3, taking any detection cycle within the first detection time as an example, the process includes:
  • Step S302 Obtain the communication status information of the communication network during the detection period
  • Step S304 Based on the communication status information, determine whether the communication success rate of the communication network during the detection period is greater than the success rate threshold.
  • Step S306 Based on the communication status information, select at least one problematic communication node among the communication nodes whose corresponding communication failure information meets the failure information requirements as the target object.
  • Step S308 Obtain the communication success rate of the communication network during the detection period after the target object is removed from the communication network;
  • Step S310 Determine whether the first object exists in the target object; after removing the first object from the communication network, the communication success rate of the communication network in the detection period meets the communication success rate requirement, such as being greater than the success rate threshold;
  • Step S312 Generate a set of faulty communication nodes in the communication network during the detection period based on the problem communication node represented by the first object;
  • Step S314 Based on the communication success rate of the communication network during the detection period after the target object is removed from the communication network, determine the second object among the target objects;
  • Step S316 For each second object, combine the second object with other problem communication nodes in the problem communication nodes other than the problem communication node represented by the second object to obtain the updated target object.
  • the communication network does not have a set of faulty communication nodes in any detection period within the first detection time period, meaning the communication success rate of the communication network meets the requirements in that detection period, then it is determined that the communication network does not have any persistent faulty communication nodes within the first detection time period, and the operation of determining at least one first faulty communication node in the communication network within the first detection time period is not performed. If the communication network has a set of faulty communication nodes in every detection period within the first detection time period, then it is determined that the communication network has persistent faulty communication nodes within the first detection time period, and the operation of determining at least one first faulty communication node in the communication network within the first detection time period is performed.
  • determining at least one first faulty communication node of the communication network during the first detection period based on the set of faulty communication nodes in each detection cycle of the communication network during the first detection period includes:
  • the set of faulty communication nodes in the first detection period is filtered; the first detection cycle has multiple sets of faulty communication nodes; the number of sets of faulty communication nodes in the first detection cycle is reduced after filtering.
  • At least one first faulty communication node of the communication network is determined within the first detection time period.
  • the first detection period is a detection period with multiple sets of faulty communication nodes within a first detection time period, and each set of faulty communication nodes includes one or more communication nodes. Based on the set of faulty communication nodes in the last detection period of the communication network within the first detection time period, each set of faulty communication nodes in the first detection period is filtered to ensure that at least one set of faulty communication nodes is retained in each first detection period. Thus, after filtering, if each detection period within the first detection time period has one set of faulty communication nodes, at least one first faulty communication node in the communication network within the first detection time period is determined based on the set of faulty communication nodes in each detection period within the first detection time period.
  • the set of faulty communication nodes in the first detection period within the first detection time period can be filtered based on the set of faulty communication nodes in the last detection cycle within the first detection time period. Then, after filtering, at least one first faulty communication node in the communication network within the first detection time period can be accurately determined based on the set of faulty communication nodes in each detection cycle within the first detection time period.
  • the set of faulty communication nodes in the first detection period within the first detection time period is filtered based on the set of faulty communication nodes in the last detection cycle of the first detection time period, including:
  • the set of faulty communication nodes in the first detection period is filtered based on the set of faulty communication nodes that appear most frequently.
  • the last detection cycle within the first detection time period may have one set of faulty communication nodes or multiple sets of faulty communication nodes. The number of occurrences of each set of faulty communication nodes in the last detection cycle within the first detection time period is determined.
  • each detection cycle includes the last detection cycle.
  • the faulty communication node set in the first detection period is filtered based on this set of faulty communication nodes that appear most frequently.
  • the last detection cycle has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3).
  • the first detection cycle within the first detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3).
  • the second detection cycle within the first detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (4,3).
  • the third detection cycle within the first detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2). This can be represented by the following table.
  • the number of faulty communication node sets that appear most frequently in the last detection period is one, which is the faulty communication node set (1,3). Therefore, the faulty communication node sets in the first detection period are filtered based on the faulty communication node set (1,3).
  • the first detection period includes the first, second, third, and fourth detection periods of the first detection time period. That is, when there are multiple faulty communication node sets in the last detection period, the faulty communication node set that appears most frequently in the last detection period is also used to filter each faulty communication node set in the last detection period.
  • the occurrence frequency of each set of faulty communication nodes in the last detection cycle within the first detection time period can be determined. If the number of faulty communication nodes with the highest occurrence frequency is one, then the set of faulty communication nodes in the first detection cycle is filtered based on the set of faulty communication nodes with the highest occurrence frequency. This utilizes the characteristic that the set of faulty communication nodes in the last detection cycle can reflect the latest fault status of the communication network, thereby improving the accuracy of filtering the set of faulty communication nodes in the first detection cycle.
  • the set of faulty communication nodes for the first detection period is filtered based on the set of faulty communication nodes that appear most frequently, including:
  • the set of faulty communication nodes in the first detection period is filtered based on the degree of overlap between the set of faulty communication nodes that appears most frequently and the set of faulty communication nodes in the first detection period.
  • each set of faulty communication nodes in the first detection period is filtered.
  • the overlap of communication nodes between two sets of faulty communication nodes is equal to the number of identical nodes between the two sets of faulty communication nodes divided by the maximum number of nodes in both sets of faulty communication nodes.
  • the overlap of communication nodes between the faulty communication node set (1,2,3) and the faulty communication node set (1,2) is 2/3
  • the overlap of communication nodes between the faulty communication node set (1,2,3) and the faulty communication node set (3,4) is 1/3.
  • the faulty communication node set with the highest overlap in each first detection period is retained, so that one faulty communication node set is retained in each first detection period, and one faulty communication node set is retained in each detection period within the first detection time period.
  • the scheme is considered complete, and it is determined that there are no continuously faulty communication nodes in the communication network during the first detection period.
  • the overlap of communication nodes between the set of faulty communication nodes that appears most frequently and the set of faulty communication nodes in the first detection period is calculated.
  • the calculation results can be represented by the following table.
  • the set of faulty communication nodes in the first detection period can be screened based on the degree of overlap between the set of faulty communication nodes that appear most frequently and the set of faulty communication nodes in the first detection period, thereby reducing the number of faulty communication nodes in the first detection period and preparing for the subsequent determination of the first faulty communication node.
  • At least one first faulty communication node of the communication network in the first detection time period is determined based on the set of faulty communication nodes in each detection cycle within the first detection time period.
  • the set of faulty communication nodes includes at least one faulty communication node; determining at least one first faulty communication node of the communication network in the first detection period based on the set of faulty communication nodes for each detection cycle within the first detection period includes:
  • the communication node included in the faulty communication node set in each detection cycle is determined as the first faulty communication node of the communication network in the first detection time period.
  • the communication nodes included in the faulty communication node set of each detection cycle are determined as the first faulty communication node of the communication network in the first detection time period.
  • the first faulty communication node of the communication network in the first detection time period includes communication node 1 and communication node 3, both of which are continuously faulty.
  • the communication nodes included in the faulty communication node set of each detection cycle are determined as the first faulty communication node of the communication network in the first detection time period, thereby achieving the effect of accurately determining the communication nodes that are continuously faulty in the communication network during the first detection time period.
  • At least one second faulty communication node of the communication network in the second detection time period is determined based on the faulty communication node set of each detection cycle of the communication network in the second detection time period.
  • the second faulty communication node is located in at least one faulty communication node set in the second detection time period.
  • the end time of the second detection time period is the same as the end time of the first detection time period, and the duration of the second detection time period is greater than the duration of the first detection time period.
  • the first detection time period can be 2 minutes. Every 30 seconds, the process in Figure 1 is executed once to determine the set of faulty communication nodes corresponding to the detection period. Furthermore, based on the set of faulty communication nodes of the four detection periods prior to the current time, at least one first faulty communication node in the communication network within these two minutes is determined. If, during the determination process, the number of the set of faulty communication nodes that appears most frequently in each detection period of the last detection period within the first detection time period is not one, then the second detection time period is set to 4 minutes. Based on the set of faulty communication nodes of the eight detection periods prior to the current time, at least one second faulty communication node in the communication network within these four minutes is determined.
  • At least one second faulty communication node of the communication network in the second detection period can be determined based on the faulty communication node set of each detection cycle in the second detection period.
  • determining at least one second faulty communication node of the communication network during the second detection period based on the set of faulty communication nodes in each detection cycle of the communication network during the second detection period includes:
  • the set of faulty communication nodes in the second detection period is filtered; the second detection cycle has multiple sets of faulty communication nodes; the number of sets of faulty communication nodes in the second detection cycle is reduced after filtering.
  • At least one second faulty communication node of the communication network is determined during the second detection time period.
  • the second detection period is a detection period containing multiple sets of faulty communication nodes within the second detection time period, and each set of faulty communication nodes includes one or more communication nodes. Based on the set of faulty communication nodes in the last detection period of the communication network within the second detection time period, each set of faulty communication nodes in the second detection time period is filtered to ensure that at least one set of faulty communication nodes is retained in each second detection period. Thus, after filtering, if each detection period within the second detection time period contains one set of faulty communication nodes, at least one second faulty communication node in the communication network within the second detection time period is determined based on the set of faulty communication nodes in each detection period within the second detection time period.
  • the set of faulty communication nodes in the second detection period can be filtered based on the set of faulty communication nodes in the last detection cycle of the second detection period. Then, after filtering, at least one second faulty communication node of the communication network in the second detection period can be accurately determined based on the set of faulty communication nodes in each detection cycle of the second detection period.
  • the set of faulty communication nodes in the second detection period within the second detection time period is filtered based on the set of faulty communication nodes in the last detection cycle of the second detection time period, including:
  • the set of faulty communication nodes for the second detection period is filtered based on the set of faulty communication nodes that appear most frequently.
  • the last detection period within the second detection time period may have one set of faulty communication nodes or multiple sets of faulty communication nodes. The number of times each set of faulty communication nodes appears in each detection period within the second detection time period is determined. Each detection period includes the last detection period. Then, based on the set of faulty communication nodes that appears most frequently, the sets of faulty communication nodes in each of the second detection periods are filtered.
  • the last detection cycle has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3).
  • the first detection cycle within the second detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3)
  • the second detection cycle within the second detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3)
  • the third detection cycle within the second detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3).
  • the second detection period includes the first, second, third, and fourth detection periods of the second detection time period. That is, when there are multiple faulty communication node sets in the last detection period, the faulty communication node set appearing most frequently in the last detection period is also used to filter the faulty communication node sets in the last detection period.
  • the number of occurrences of each set of faulty communication nodes in the last detection cycle within the second detection time period can be determined. Based on the set of faulty communication nodes that occur most frequently, the set of faulty communication nodes in the second detection cycle can be filtered. This utilizes the characteristic that the set of faulty communication nodes in the last detection cycle can reflect the latest fault situation of the communication network, thereby improving the accuracy of filtering the set of faulty communication nodes in the second detection cycle.
  • the set of faulty communication nodes for the second detection period is filtered based on the set of faulty communication nodes that appear most frequently, including:
  • the most frequently occurring faulty communication node set is used as the target communication node set. If the number of the most frequently occurring faulty communication node set is not one, then a faulty communication node set is randomly selected from the most frequently occurring faulty communication node set as the target communication node set.
  • the set of faulty communication nodes for the second detection period is filtered.
  • the most frequently occurring faulty communication node set is selected as the target communication node set. If the number of the most frequently occurring faulty communication node set is not one, then a faulty communication node set is randomly selected from the most frequently occurring faulty communication node sets using a consistent hashing random algorithm as the target communication node set. Next, based on the target communication node set, the faulty communication node sets for each second detection period are filtered.
  • a set of faulty communication nodes can be randomly selected from the faulty communication node sets (1,3) and (2,3) using a consistent hashing random algorithm as the target communication node set. Based on the target communication node set, the faulty communication node sets for each second detection period can be filtered.
  • this embodiment enables the screening of the set of faulty communication nodes in the second detection cycle under various circumstances, making the solution applicable to various scenarios.
  • the set of faulty communication nodes in the second detection period is filtered according to the target set of communication nodes, including:
  • the set of faulty communication nodes in the second detection period is filtered based on the degree of overlap between the target set of communication nodes and the set of faulty communication nodes in the second detection period.
  • the second detection period has multiple sets of faulty communication nodes.
  • the overlap degree of communication nodes between the target set of communication nodes and each set of faulty communication nodes in the second detection period is calculated. Based on the overlap degree of communication nodes, each set of faulty communication nodes in the second detection period is filtered.
  • the overlap of communication nodes between two sets of faulty communication nodes is equal to the number of identical nodes between the two sets of faulty communication nodes divided by the maximum number of nodes in both sets of faulty communication nodes.
  • the overlap of communication nodes between the faulty communication node set (1,2,3) and the faulty communication node set (1,2) is 2/3
  • the overlap of communication nodes between the faulty communication node set (1,2,3) and the faulty communication node set (3,4) is 1/3.
  • the faulty communication node set with the highest overlap in each second detection period is retained, so that one faulty communication node set is retained in each second detection period, and one faulty communication node set is retained in each detection period within the second detection time period.
  • the scheme is considered complete, and it is determined that there are no continuously faulty communication nodes in the communication network during the second detection period.
  • (1,3) can be selected as the target communication node set from the fault communication node sets (1,3) and (2,3).
  • the overlap of communication nodes between the target communication node set and each fault communication node set in the second detection period can be calculated.
  • the calculation results can be represented by the following table.
  • the sets of faulty communication nodes in the second detection period can be screened based on the overlap of communication nodes between the target set of communication nodes and the sets of faulty communication nodes in the second detection period, thereby reducing the number of faulty communication nodes in the second detection period and preparing for the subsequent determination of the second faulty communication nodes.
  • At least one second faulty communication node of the communication network in the second detection time period is determined based on the set of faulty communication nodes in each detection cycle within the second detection time period.
  • the set of faulty communication nodes includes at least one faulty communication node. Determining at least one second faulty communication node in the communication network during the second detection period, based on the set of faulty communication nodes for each detection cycle within the second detection period, includes:
  • the communication nodes included in the faulty communication node set in each detection cycle are determined as the second faulty communication nodes of the communication network in the second detection time period.
  • the communication nodes included in the faulty communication node sets of each detection cycle are determined as the second faulty communication nodes of the communication network in the second detection time period.
  • the second faulty communication nodes of the communication network in the second detection time period include communication node 1 and communication node 3, both of which are continuously faulty.
  • the communication nodes included in the faulty communication node set in each detection cycle are determined as the second faulty communication nodes of the communication network in the second detection time period, thereby achieving the effect of accurately determining the communication nodes that are continuously faulty in the communication network during the second detection time period.
  • Figure 4 is a flowchart illustrating the process of determining a faulty communication node according to some embodiments of this disclosure. As shown in Figure 4, the process includes:
  • Step S402 Determine the set of each faulty communication node in the last detection cycle within the first detection time period, and the number of times it occurs in each detection cycle within the first detection time period;
  • Step S404 Determine whether the number of the set of faulty communication nodes that appears most frequently is one;
  • step S406 If yes, proceed to step S406; otherwise, proceed to step S414.
  • Step S406 Calculate the overlap of communication nodes between the set of faulty communication nodes that appears most frequently and the set of faulty communication nodes in the first detection period within the first detection time period.
  • the first detection cycle has a set of multiple faulty communication nodes
  • Step S408 Determine whether the set of faulty communication nodes with the highest overlap in each first detection cycle is unique
  • step S410 If yes, proceed to step S410; otherwise, proceed to step S426.
  • Step S410 Retain the set of faulty communication nodes with the highest overlap in each first detection cycle
  • Step S412 The communication node included in the set of faulty communication nodes in each detection cycle of the first detection time period is determined as the first faulty communication node of the communication network in the first detection time period.
  • the number of faulty communication node sets in each detection cycle of the first detection time period is one.
  • Step S414 Expand the time window and determine the set of each faulty communication node in the last detection cycle within the second detection time period, and the number of times it occurs in each detection cycle within the second detection time period.
  • Step S416 Determine the target communication node set based on the set of faulty communication nodes that appear most frequently;
  • the most frequently occurring faulty communication node set is used as the target communication node set. If the number of the most frequently occurring faulty communication node set is not one, then a faulty communication node set is randomly selected from the most frequently occurring faulty communication node set as the target communication node set.
  • Step S418 Calculate the overlap of communication nodes between the target set of communication nodes and the set of faulty communication nodes in the second detection period within the second detection time period.
  • the second detection cycle has multiple sets of faulty communication nodes
  • Step S420 Determine whether the set of faulty communication nodes with the highest overlap in each second detection cycle is unique
  • step S422 If yes, proceed to step S422; otherwise, proceed to step S426.
  • Step S422 Retain the set of faulty communication nodes with the highest overlap in each second detection cycle
  • Step S424 The communication nodes included in the set of faulty communication nodes in each detection cycle of the second detection time period are identified as the second faulty communication nodes of the communication network in the second detection time period.
  • the number of faulty communication node sets in each detection cycle within the second detection time period is one.
  • Step S426 Determine that there are no faulty communication nodes.
  • the communication network involved in the various embodiments of this disclosure can be an edge computing-based communication network.
  • the communication nodes in the network can be edge nodes, such as edge data centers.
  • Each edge data center includes one or more edge servers.
  • Real-Time Communication (RTC) can be performed between the edge nodes.
  • RTC Real-Time Communication
  • each edge node When transmitting audio and video data, each edge node has a media engine, and the edge nodes are cascaded through the media engine, thus establishing a communication connection.
  • This embodiment enables efficient and accurate identification of at least one set of faulty edge nodes in each detection cycle when there are a large number of edge nodes and when edge node failures occur.
  • At least one persistently faulty edge node in the second detection time period is identified.
  • Figure 5 is a schematic diagram illustrating the principle of determining faulty communication nodes according to some embodiments of this disclosure.
  • the original cascaded index data includes the communication connection relationship between each communication node, the number of successful communication attempts, and the number of communication failures.
  • the scheme in this embodiment can use 30 seconds as a detection cycle. Based on the communication state diagram corresponding to each detection cycle, at least one set of faulty communication nodes for each detection cycle can be obtained.
  • a solution in Figure 5 represents a set of faulty communication nodes.
  • the communication node with a continuous failure is determined as node A, and the operation of taking node A offline is executed, thereby improving the communication success rate of the communication network.
  • the communication status information, the set of faulty communication nodes for each detection cycle, and the final set of faulty communication nodes can also be output for analysis by relevant personnel.
  • the above embodiments can be applied to the field of edge nodes, have strong universality, and can accurately and efficiently identify faulty edge nodes, thereby improving the communication success rate of edge node networks.
  • Figure 6 is a schematic diagram of the structure of a fault node determination device provided in some embodiments of this disclosure. As shown in Figure 6, the device includes:
  • the status acquisition unit 61 is used to acquire communication status information of communication nodes in the communication network for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.
  • the first determining unit 62 is configured to determine, based on the communication status information, at least one set of faulty communication nodes in the communication network during each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is a communication node that causes the communication success rate of the communication network to be lower than a success rate threshold during the detection period.
  • the second determining unit 63 is configured to determine at least one first faulty communication node of the communication network in the first detection time period based on the set of faulty communication nodes of the communication network in each detection cycle of the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes in the first detection time period.
  • the communication status information includes the communication connection relationship between the communication nodes during the detection period, as well as communication success information and/or communication failure information between the communication nodes; the first determining unit 62 is specifically used for:
  • At least one problematic communication node is selected as the target object from the communication nodes whose corresponding communication success information does not meet the success information requirements or whose corresponding communication failure information meets the failure information requirements.
  • the first determining unit 62 is further specifically used for:
  • the number of successful communication attempts and the number of failed communication attempts between the remaining communication nodes in the communication network during the detection period are obtained.
  • the communication success rate of the communication network in the detection period after removing the target object from the communication network is determined.
  • the first determining unit 62 is further specifically used for:
  • a set of faulty communication nodes of the communication network in the detection period is generated based on the problematic communication node represented by the first object; the first object is the target object that causes the communication success rate of the communication network in the detection period to fail to meet the communication success rate requirement.
  • the target object is updated to generate the updated target object, and the step of obtaining the communication success rate of the communication network in the detection period after removing the target object from the communication network is repeated until the set of faulty communication nodes is determined.
  • the first determining unit 62 is further specifically used for:
  • a second object is determined from the target objects
  • an updated target object is generated.
  • the first determining unit 62 is further specifically used for:
  • the second object is combined with the other problem communication nodes in the problem communication nodes other than the problem communication node represented by the second object to obtain the updated target object.
  • the second determining unit 63 is specifically used for:
  • the set of faulty communication nodes in the first detection period is filtered; the first detection period has multiple sets of faulty communication nodes; the number of sets of faulty communication nodes in the first detection period after filtering is reduced.
  • At least one first faulty communication node of the communication network in the first detection time period is determined.
  • the second determining unit 63 is further specifically used for:
  • the faulty communication node set in the first detection period is filtered based on the most frequently occurring faulty communication node set.
  • the second determining unit 63 is further specifically used for:
  • the set of faulty communication nodes in the first detection period is filtered based on the degree of overlap between the set of faulty communication nodes that appears most frequently and the set of faulty communication nodes in the first detection period.
  • the second determining unit 63 is further specifically used for:
  • the communication node included in the faulty communication node set in each detection cycle is determined as the first faulty communication node of the communication network in the first detection time period.
  • it also includes a third determining unit, used for:
  • the number of the most frequently occurring faulty communication node set is not one, then based on the faulty communication node set of each detection cycle in the second detection time period, at least one second faulty communication node of the communication network in the second detection time period is determined; the second faulty communication node is located in at least one of the faulty communication node sets in the second detection time period; the end time of the second detection time period is the same as the end time of the first detection time period and the duration of the second detection time period is greater than the duration of the first detection time period.
  • the third determining unit is specifically used for:
  • the set of faulty communication nodes in the second detection period is filtered; the second detection period has multiple sets of faulty communication nodes; the number of sets of faulty communication nodes in the first detection period is reduced after filtering.
  • At least one second faulty communication node of the communication network during the second detection time period is determined.
  • the third determining unit is also specifically used for:
  • the set of faulty communication nodes for the second detection period is filtered based on the set of faulty communication nodes that appear most frequently.
  • the third determining unit is also specifically used for:
  • the most frequently occurring faulty communication node set is taken as the target communication node set; if the number of the most frequently occurring faulty communication node set is not one, then a faulty communication node set is randomly selected from the most frequently occurring faulty communication node set as the target communication node set.
  • the set of faulty communication nodes for the second detection period is filtered.
  • the third determining unit is also specifically used for:
  • the set of faulty communication nodes in the second detection period is filtered based on the overlap between the target set of communication nodes and the set of faulty communication nodes in the second detection period.
  • the set of faulty communication nodes includes at least one faulty communication node; the third determining unit is further specifically used for:
  • the communication nodes included in the faulty communication node set in each detection cycle are determined as the second faulty communication nodes of the communication network in the second detection time period.
  • the fault node determination device in this embodiment can implement the various processes of the above-described fault node determination method embodiment and achieve the same effect and function, which will not be repeated here.
  • Figure 7 is a schematic diagram of the structure of an electronic device provided in some embodiments of this disclosure. As shown in Figure 7, the electronic device can vary considerably due to differences in configuration or performance. It may include one or more processors 701 and a memory 702.
  • the memory 702 may store one or more application programs or data.
  • the memory 702 may be temporary or persistent storage.
  • the application programs stored in the memory 702 may include one or more modules (not shown in the figure), each module may include a series of computer-executable instructions in the electronic device.
  • the processor 701 may be configured to communicate with the memory 702 and execute the series of computer-executable instructions in the memory 702 on the electronic device.
  • the electronic device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input or output interfaces 705, one or more keyboards 706, etc.
  • the electronic device includes a processor; and a memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the following process:
  • the communication status information of communication nodes in the communication network is obtained for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.
  • each set of faulty communication nodes in the communication network is determined in each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold in the detection period;
  • At least one first faulty communication node of the communication network is determined within the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period.
  • the electronic device in this embodiment can implement the various processes of the above-described fault node determination method embodiment and achieve the same effect and function, which will not be repeated here.
  • the communication status information of communication nodes in the communication network is obtained for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.
  • each set of faulty communication nodes in the communication network is determined in each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold in the detection period;
  • At least one first faulty communication node of the communication network is determined within the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period.
  • the storage medium in this embodiment can implement the various processes of the above-described fault node determination method embodiment and achieve the same effect and function, which will not be repeated here.
  • the communication status information of communication nodes in the communication network is obtained for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.
  • each set of faulty communication nodes in the communication network is determined in each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold in the detection period;
  • At least one first faulty communication node of the communication network is determined within the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period.
  • the computer program product in this disclosure embodiment can implement the various processes of the above-described fault node determination method embodiment and achieve the same effect and function, which will not be repeated here.
  • the computer-readable storage medium includes read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc.
  • PLD Programmable Logic Device
  • FPGA Field Programmable Gate Array
  • HDL Hardware Description Language
  • Hardware description languages such as Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language) are commonly used, with VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog being the most prevalent currently.
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog Verilog
  • the controller can be implemented in any suitable manner.
  • it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers.
  • computer-readable program code e.g., software or firmware
  • ASICs application-specific integrated circuits
  • controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320.
  • a memory controller can also be implemented as part of the control logic of the memory.
  • controller in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, ASICs, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.
  • a typical implementation device is a computer.
  • a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
  • each unit can be implemented in one or more software and/or hardware.
  • one or more embodiments of this disclosure can be provided as a method, system, or computer program product. Therefore, one or more embodiments of this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this disclosure can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
  • computer-usable storage media including, but not limited to, disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and/or one or more block diagrams.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and/or one or more block diagrams.
  • One or more embodiments of this disclosure can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer.
  • program modules include routines, programs, objects, components, data structures, etc., that perform a particular task or implement a particular abstract data type.
  • One or more embodiments of this disclosure can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network.
  • program modules can reside in local and remote computer storage media, including storage devices.

Landscapes

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

Abstract

Embodiments of the present disclosure provide a failed node determination method and apparatus, and a related product. The method comprises: acquiring communication state information of communication nodes in a communication network during each detection cycle within a first detection time period, the communication state information being used for indicating a communication state between the communication nodes during the detection cycle; on the basis of the communication state information, determining at least one failed communication node set of the communication network during each detection cycle, each failed communication node set comprising at least one failed communication node, and the failed communication node being a communication node that causes the communication success rate of the communication network to be lower than a success rate threshold during the detection cycle; and on the basis of the failed communication node set of the communication network during each detection cycle within the first detection time period, determining at least one first failed communication node in the communication network within the first detection time period, the first failed communication node being located in the at least one failed communication node set within the first detection time period.

Description

故障节点确定方法、装置及相关产品Fault Node Identification Methods, Devices, and Related Products

相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS

本公开要求于2024年04月25日提交的、标题为“故障节点确定方法、装置及相关产品”的中国专利申请第202410509819.4号的优先权,该申请的公开内容通过引用被全部合并于此。This disclosure claims priority to Chinese Patent Application No. 202410509819.4, filed on April 25, 2024, entitled “Method, Apparatus and Related Products for Determining Fault Nodes”, the entire disclosure of which is incorporated herein by reference.

技术领域Technical Field

本公开涉及通信技术领域,尤其涉及一种故障节点确定方法、装置及相关产品。This disclosure relates to the field of communication technology, and in particular to a method, apparatus and related products for determining fault nodes.

背景技术Background Technology

通信网络中通常包括多个通信节点,例如,在基于边缘计算的视频传输网络中,包括多个轻量级的边缘节点,通过这些边缘节点提供视频缓存服务,能够降低视频数据的下载成本并提高视频数据的下载效率。由于通信网络中的通信节点可能发生故障,导致通信网络的通信成功率下降,因此,需要提供一种技术方案,以准确确定通信网络中的故障通信节点。Communication networks typically include multiple communication nodes. For example, in an edge computing-based video transmission network, multiple lightweight edge nodes are included. These edge nodes provide video caching services, which can reduce the download cost and improve the download efficiency of video data. Since communication nodes in a communication network may fail, leading to a decrease in the network's communication success rate, a technical solution is needed to accurately identify faulty communication nodes in the network.

发明内容Summary of the Invention

本公开实施例提供了一种故障节点确定方法、装置及相关产品,能够准确确定通信网络中的故障通信节点。This disclosure provides a method, apparatus, and related products for determining faulty nodes, which can accurately identify faulty communication nodes in a communication network.

第一方面,本公开实施例提供了一种故障节点确定方法,包括:In a first aspect, embodiments of this disclosure provide a method for determining a fault node, including:

获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息;所述通信状态信息用于表示在所述检测周期内所述通信节点之间的通信状态;The communication status information of communication nodes in the communication network is obtained for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.

根据所述通信状态信息,确定所述通信网络在每个所述检测周期的至少一个故障通信节点集合;每个所述故障通信节点集合均包括至少一个故障通信节点;所述故障通信节点为导致所述通信网络在所述检测周期内通信成功率低于成功率阈值的通信节点;Based on the communication status information, at least one set of faulty communication nodes in the communication network is determined in each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold in the detection period;

根据所述通信网络在所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点;所述第一故障通信节点位于所述第一检测时间段内的至少一个所述故障通信节点集合中。Based on the set of faulty communication nodes of the communication network in each detection cycle within the first detection time period, at least one first faulty communication node of the communication network is determined within the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period.

第二方面,本公开实施例提供了一种故障节点确定装置,包括:Secondly, embodiments of this disclosure provide a fault node determination device, comprising:

状态获取单元,用于获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息;所述通信状态信息用于表示在所述检测周期内所述通信节点之间的通信状态;A status acquisition unit is used to acquire communication status information of communication nodes in the communication network for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.

第一确定单元,用于根据所述通信状态信息,确定所述通信网络在每个所述检测周期的至少一个故障通信节点集合;每个所述故障通信节点集合均包括至少一个故障通信节点;所述故障通信节点为导致所述通信网络在所述检测周期内通信成功率低于成功率阈值的通信节点;The first determining unit is configured to determine, based on the communication status information, at least one set of faulty communication nodes in the communication network during each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is a communication node that causes the communication success rate of the communication network to be lower than a success rate threshold during the detection period.

第二确定单元,用于根据所述通信网络在所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点;所述第一故障通信节点位于所述第一检测时间段内的至少一个所述故障通信节点集合中。The second determining unit is configured to determine at least one first faulty communication node of the communication network in the first detection time period based on the set of faulty communication nodes of the communication network in each detection cycle of the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes in the first detection time period.

第三方面,本公开实施例提供了一种电子设备,包括:处理器;以及,被配置为存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器实现上述第一方面所述的方法的步骤。Thirdly, embodiments of this disclosure provide an electronic device, including: a processor; and a memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the steps of the method described in the first aspect above.

第四方面,本公开实施例提供了一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机可执行指令,所述计算机可执行指令在被处理器执行时实现上述第一方面所述的方法的步骤。Fourthly, embodiments of this disclosure provide a computer-readable storage medium for storing computer-executable instructions that, when executed by a processor, implement the steps of the method described in the first aspect.

第五方面,本公开实施例提供了一种计算机程序产品,所述计算机程序产品包括计算机程序,所述计算机程序被处理器执行时实现上述第一方面所述的方法的步骤。Fifthly, embodiments of this disclosure provide a computer program product, the computer program product including a computer program, which, when executed by a processor, implements the steps of the method described in the first aspect above.

在本公开一个或多个实施例中,首先,获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息,通信状态信息用于表示在检测周期内通信节点之间的通信状态,然后,根据通信状态信息,确定通信网络在每个检测周期的至少一个故障通信节点集合,每个故障通信节点集合均包括至少一个故障通信节点,故障通信节点为导致通信网络在检测周期内通信成功率低于成功率阈值的通信节点,最后,根据通信网络在第一检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第一检测时间段的至少一个第一故障通信节点,第一故障通信节点位于第一检测时间段内的至少一个故障通信节点集合中。In one or more embodiments of this disclosure, firstly, communication status information of communication nodes in the communication network for each detection cycle within a first detection time period is obtained. The communication status information is used to represent the communication status between communication nodes within the detection cycle. Then, based on the communication status information, at least one set of faulty communication nodes in the communication network for each detection cycle is determined. Each set of faulty communication nodes includes at least one faulty communication node. The faulty communication node is a communication node that causes the communication success rate of the communication network to be lower than the success rate threshold within the detection cycle. Finally, based on the set of faulty communication nodes in the communication network for each detection cycle within the first detection time period, at least one first faulty communication node in the communication network within the first detection time period is determined. The first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period.

附图说明Attached Figure Description

为了更清楚地说明本公开一个或多个实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本公开中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图;To more clearly illustrate the technical solutions in one or more embodiments of this disclosure or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

图1为本公开的一些实施例提供的故障节点确定方法的流程示意图;Figure 1 is a flowchart illustrating a method for determining fault nodes provided in some embodiments of this disclosure;

图2为本公开的一些实施例提供的通信状态图的示意图;Figure 2 is a schematic diagram of the communication status provided in some embodiments of this disclosure;

图3为本公开的一些实施例提供的确定故障通信节点集合的流程示意图;Figure 3 is a flowchart illustrating the process of determining a set of faulty communication nodes according to some embodiments of this disclosure;

图4为本公开的一些实施例提供的确定故障通信节点的流程示意图;Figure 4 is a flowchart illustrating the process of determining a faulty communication node according to some embodiments of this disclosure;

图5为本公开的一些实施例提供的确定故障通信节点的原理示意图;Figure 5 is a schematic diagram illustrating the principle of determining faulty communication nodes according to some embodiments of this disclosure;

图6为本公开的一些实施例提供的故障节点确定装置的结构示意图;Figure 6 is a schematic diagram of the structure of a fault node determination device provided in some embodiments of this disclosure;

图7为本公开的一些实施例提供的电子设备的结构示意图。Figure 7 is a schematic diagram of the structure of an electronic device provided in some embodiments of this disclosure.

具体实施方式Detailed Implementation

为了使本技术领域的人员更好地理解本公开一个或多个实施例中的技术方案,下面将结合本公开一个或多个实施例中的附图,对本公开一个或多个实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开的一部分实施例,而不是全部的实施例。基于本公开一个或多个实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本公开的保护范围。To enable those skilled in the art to better understand the technical solutions in one or more embodiments of this disclosure, the technical solutions in one or more embodiments of this disclosure will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of the embodiments. Based on one or more embodiments of this disclosure, all other embodiments obtained by those skilled in the art without creative effort should fall within the protection scope of this disclosure.

可以理解的是,在使用本公开各实施例公开的技术方案之前,均应当依据相关法律法规通过恰当的方式对本公开所涉及个人信息的类型、使用范围、使用场景等告知用户并获得用户的授权。It is understood that before using the technical solutions disclosed in the various embodiments of this disclosure, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this disclosure in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.

例如,在响应于接收到用户的主动请求时,向用户发送提示信息,以明确地提示用户,其请求执行的操作将需要获取和使用到用户的个人信息。从而,使得用户可以根据提示信息来自主地选择是否向执行本公开技术方案的操作的电子设备、应用程序、服务器或存储介质等软件或硬件提供个人信息。For example, upon receiving a user's active request, a prompt message is sent to the user to explicitly inform them that the requested operation will require the acquisition and use of the user's personal information. This allows the user to independently choose whether to provide personal information to the software or hardware, such as the electronic device, application, server, or storage medium performing the operations of this disclosed technical solution, based on the prompt message.

作为一种可选的但非限定性的实现方式,响应于接收到用户的主动请求,向用户发送提示信息的方式例如可以是弹窗的方式,弹窗中可以以文字的方式呈现提示信息。此外,弹窗中还可以承载供用户选择“同意”或者“不同意”向电子设备提供个人信息的选择控件。As an optional but non-limiting implementation, in response to a user's active request, sending a prompt message to the user can be done via a pop-up window, where the prompt message can be presented in text format. Furthermore, the pop-up window can also include a selection control allowing the user to choose "agree" or "disagree" to provide personal information to the electronic device.

可以理解的是,上述通知和获取用户授权过程仅是示意性的,不对本公开的实现方式构成限定,其它满足相关法律法规的方式也可应用于本公开的实现方式中。It is understood that the above notification and user authorization process are merely illustrative and do not constitute a limitation on the implementation of this disclosure. Other methods that comply with relevant laws and regulations may also be applied to the implementation of this disclosure.

本公开实施例提供了一种故障节点确定方法,能够准确确定通信网络中的故障通信节点。This disclosure provides a method for determining faulty nodes, which can accurately identify faulty communication nodes in a communication network.

图1为本公开的一些实施例提供的故障节点确定方法的流程示意图,如图1所示,该流程包括:Figure 1 is a flowchart illustrating a fault node determination method provided in some embodiments of this disclosure. As shown in Figure 1, the process includes:

步骤S102,获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息;通信状态信息用于表示在检测周期内通信节点之间的通信状态;Step S102: Obtain the communication status information of the communication nodes in the communication network for each detection period within the first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection period.

步骤S104,根据通信状态信息,确定通信网络在每个检测周期的至少一个故障通信节点集合;每个故障通信节点集合均包括至少一个故障通信节点;故障通信节点为导致通信网络在检测周期内通信成功率低于成功率阈值的通信节点;Step S104: Based on the communication status information, determine at least one set of faulty communication nodes in the communication network for each detection period; each set of faulty communication nodes includes at least one faulty communication node; a faulty communication node is a communication node that causes the communication success rate of the communication network to be lower than the success rate threshold within the detection period.

步骤S106,根据通信网络在第一检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第一检测时间段的至少一个第一故障通信节点;第一故障通信节点位于第一检测时间段内的至少一个故障通信节点集合中。Step S106: Based on the set of faulty communication nodes in each detection cycle of the communication network during the first detection time period, determine at least one first faulty communication node of the communication network during the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes during the first detection time period.

本实施例中,首先,获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息,通信状态信息用于表示在检测周期内通信节点之间的通信状态,然后,根据通信状态信息,确定通信网络在每个检测周期的至少一个故障通信节点集合,每个故障通信节点集合均包括至少一个故障通信节点,故障通信节点为导致通信网络在检测周期内通信成功率低于成功率阈值的通信节点,最后,根据通信网络在第一检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第一检测时间段的至少一个第一故障通信节点,第一故障通信节点位于第一检测时间段内的至少一个故障通信节点集合中。可见,通过本实施例,由于每个故障通信节点集合均包括至少一个故障通信节点,故障通信节点为导致通信网络在检测周期内通信成功率低于成功率阈值的通信节点,因此每个故障通信节点集合表示了通信网络在检测周期的一种故障情况,因此达到了根据通信网络在第一检测时间段内的每个检测周期的至少一种故障情况,确定通信网络在第一检测时间段内的第一故障通信节点的效果,该第一故障通信节点即为通信网络在第一检测时间段内的持续故障的通信节点,从而结合通信网络在多个检测周期的故障情况,准确确定通信网络中的持续故障的通信节点,提高确定故障通信节点的准确性。In this embodiment, firstly, the communication status information of the communication nodes in the communication network for each detection cycle within the first detection time period is obtained. The communication status information is used to represent the communication status between the communication nodes within the detection cycle. Then, based on the communication status information, at least one set of faulty communication nodes in the communication network for each detection cycle is determined. Each set of faulty communication nodes includes at least one faulty communication node. The faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold within the detection cycle. Finally, based on the set of faulty communication nodes in the communication network for each detection cycle within the first detection time period, at least one first faulty communication node in the communication network within the first detection time period is determined. The first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period. As can be seen, through this embodiment, since each set of faulty communication nodes includes at least one faulty communication node, and the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold during the detection period, each set of faulty communication nodes represents a fault condition of the communication network during the detection period. Therefore, it achieves the effect of determining the first faulty communication node of the communication network in the first detection period based on at least one fault condition of the communication network in each detection period. This first faulty communication node is the communication node with a continuous fault in the communication network during the first detection period. Thus, by combining the fault conditions of the communication network in multiple detection periods, the communication node with a continuous fault in the communication network can be accurately determined, thereby improving the accuracy of determining the faulty communication node.

本公开各个实施例中涉及到的通信网络,可以为基于边缘计算的通信网络,通信网络中的通信节点,可以为边缘节点,例如边缘机房,每个边缘机房中包括一个或多个边缘服务器,各个边缘节点之间可以进行RTC(Real-Time Communication,实时通信),在各个边缘节点用于传输音视频数据时,每个边缘节点中均具有媒体引擎,各个边缘节点之间通过媒体引擎产生级联,也即产生通信连接。通过本实施例,能够在边缘节点数量众多的情况下,在边缘节点出现故障时,高效准确的确定得到每个检测周期的至少一个故障边缘节点集合,根据在第一检测时间段内的每个检测周期的故障边缘节点集合,确定在第一检测时间段的至少一个持续故障的故障边缘节点,结合通信网络在多个检测周期的故障情况,准确确定通信网络中的持续故障的故障边缘节点,提高确定故障边缘节点的准确性。The communication network involved in the various embodiments of this disclosure can be an edge computing-based communication network. The communication nodes in the network can be edge nodes, such as edge data centers. Each edge data center includes one or more edge servers. Real-Time Communication (RTC) can be performed between the edge nodes. When transmitting audio and video data, each edge node has a media engine, and the edge nodes are cascaded through the media engine, thus establishing a communication connection. This embodiment enables efficient and accurate determination of at least one set of faulty edge nodes in each detection cycle when there are a large number of edge nodes and when edge node failures occur. Based on the set of faulty edge nodes in each detection cycle within a first detection time period, at least one persistently faulty edge node within the first detection time period is determined. Combining the fault status of the communication network across multiple detection cycles, the persistently faulty edge nodes in the communication network are accurately identified, improving the accuracy of faulty edge node determination.

图1中的方法流程能够应用在服务器端,由服务器端执行。在一个实施例中,图1中的方法流程能够按照预设的检测周期周期性执行,例如,预设的检测周期为30s,则每隔30s,执行一次图1中的方法流程。下面对图1中的方法流程进行详细介绍。The method flow in Figure 1 can be applied to the server side and executed by the server. In one embodiment, the method flow in Figure 1 can be executed periodically according to a preset detection period. For example, if the preset detection period is 30 seconds, then the method flow in Figure 1 will be executed once every 30 seconds. The method flow in Figure 1 will be described in detail below.

上述步骤S102中,获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息,通信状态信息用于表示在检测周期内通信节点之间的通信状态。In step S102 above, the communication status information of the communication nodes in the communication network for each detection period within the first detection time period is obtained. The communication status information is used to represent the communication status between the communication nodes within the detection period.

以预设的检测周期为30s为例,每隔30s,获取通信网络中的通信节点在检测周期的通信状态信息,检测周期可以为当前时间之前的30s这一时间范围。通信状态信息用于表示在检测周期内通信节点之间的通信状态。Taking a preset detection period of 30 seconds as an example, every 30 seconds, the communication status information of the communication nodes in the communication network is acquired within the detection period. The detection period can be a time range of 30 seconds prior to the current time. The communication status information is used to represent the communication status between communication nodes within the detection period.

本实施例中,通信状态信息包括在检测周期内通信节点之间的通信连接关系以及通信节点之间的通信成功信息和/或通信失败信息。In this embodiment, the communication status information includes the communication connection relationship between communication nodes during the detection period, as well as communication success information and/or communication failure information between communication nodes.

在一个示例中,通信状态信息包括在检测周期内通信节点之间的通信连接关系,还包括在检测周期内通信节点之间的通信成功信息。在另一个示例中,通信状态信息包括在检测周期内通信节点之间的通信连接关系,还包括在检测周期内通信节点之间的通信失败信息。在又一个示例中,通信状态信息包括在检测周期内通信节点之间的通信连接关系,还包括在检测周期内通信节点之间的通信成功信息和通信失败信息。In one example, the communication status information includes the communication connection relationships between communication nodes during the detection period, as well as communication success information between communication nodes during the detection period. In another example, the communication status information includes the communication connection relationships between communication nodes during the detection period, as well as communication failure information between communication nodes during the detection period. In yet another example, the communication status information includes the communication connection relationships between communication nodes during the detection period, as well as communication success and communication failure information between communication nodes during the detection period.

在一个实施例中,以通信网络共具有5个通信节点,分别为通信节点1、2、3、4、5为例,通信节点之间的通信连接关系可以举例为:通信节点1、2、3、4分别与通信节点5通信连接,通信节点之间的通信成功信息可以举例为相互通信的两个通信节点之间的通信成功次数,通信节点之间的通信失败信息可以举例为相互通信的两个通信节点之间的通信失败次数。在一个示例中,对于相互通信连接的两个通信节点,其中的一个通信节点与另一个通信节点建立通信连接成功例如数据发送成功,即可记录这两个通信节点之间通信成功一次,其中的一个通信节点与另一个通信节点建立通信连接失败例如数据发送失败,即可记录这两个通信节点之间通信失败一次。In one embodiment, taking a communication network with five communication nodes (nodes 1, 2, 3, 4, and 5) as an example, the communication connections between the nodes can be illustrated as follows: nodes 1, 2, 3, and 4 are each connected to node 5. Successful communication information can be represented by the number of successful communications between the two nodes, and failed communication information can be represented by the number of failed communications between the two nodes. In one example, for two interconnected communication nodes, if one node successfully establishes a communication connection with the other (e.g., data transmission is successful), it can be recorded as one successful communication between the two nodes. Conversely, if one node fails to establish a communication connection with the other (e.g., data transmission fails), it can be recorded as one failed communication between the two nodes.

在一个实施例中,获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息,包括:In one embodiment, obtaining the communication status information of communication nodes in the communication network for each detection cycle within a first detection time period includes:

获取在第一检测时间段的每个检测周期内通信网络中的通信节点之间的通信连接关系以及通信节点之间的通信成功次数和/或通信失败次数;Obtain the communication connection relationship between communication nodes in the communication network and the number of successful and/or failed communication between communication nodes in each detection period of the first detection time period;

根据获取的信息,创建通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态图作为通信状态信息。Based on the acquired information, a communication status diagram of the communication nodes in the communication network for each detection cycle within the first detection time period is created as communication status information.

本实施例中,对于第一检测时间段内的每个检测周期,获取在检测周期内通信网络中的通信节点之间的通信连接关系以及通信节点之间的通信成功次数和/或通信失败次数。例如,获取在检测周期内通信网络中的通信节点之间的通信连接关系为:通信节点1、2、3、4分别与通信节点5通信连接,根据通信网络在检测周期的通信情况,获取在检测周期内通信网络中的通信节点之间的通信成功次数包括:通信节点1与通信节点5通信成功2次,通信节点2与通信节点5通信成功2次,通信节点3与通信节点5通信成功2次,通信节点4与通信节点5通信成功1次,获取在检测周期内通信网络中的通信节点之间的通信失败次数包括:通信节点4与通信节点5通信失败1次。In this embodiment, for each detection period within the first detection time period, the communication connection relationships between communication nodes in the communication network and the number of successful and/or failed communication transactions between communication nodes are obtained within the detection period. For example, the communication connection relationships between communication nodes in the communication network within the detection period are obtained as follows: communication nodes 1, 2, 3, and 4 are respectively connected to communication node 5. Based on the communication status of the communication network during the detection period, the number of successful communication transactions between communication nodes in the communication network within the detection period includes: communication node 1 and communication node 5 communicated successfully 2 times, communication node 2 and communication node 5 communicated successfully 2 times, communication node 3 and communication node 5 communicated successfully 2 times, and communication node 4 and communication node 5 communicated successfully 1 time. The number of failed communication transactions between communication nodes in the communication network within the detection period includes: communication node 4 and communication node 5 failed to communicate once.

接着,根据获取的信息,创建通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态图作为通信状态信息。图2为本公开的一些实施例提供的通信状态图的示意图,如图2所示,以第一检测时间段内的任意一个检测周期为例,以获取到检测周期内通信网络中的通信节点之间的通信连接关系、通信节点之间的通信成功次数和通信失败次数为例,可以创建如图2所示的通信状态图作为通信状态信息,图2中,记录了在检测周期内,通信网络中的通信节点之间的通信连接关系、通信节点之间的通信成功次数和通信失败次数。Next, based on the acquired information, a communication status diagram of the communication nodes in the communication network for each detection cycle within the first detection time period is created as communication status information. Figure 2 is a schematic diagram of the communication status diagram provided in some embodiments of this disclosure. As shown in Figure 2, taking any detection cycle within the first detection time period as an example, and taking the acquisition of the communication connection relationship between communication nodes in the communication network, the number of successful communication between communication nodes, and the number of communication failures within the detection cycle as an example, a communication status diagram as shown in Figure 2 can be created as communication status information. In Figure 2, the communication connection relationship between communication nodes in the communication network, the number of successful communication between communication nodes, and the number of communication failures within the detection cycle are recorded.

可见,通过本实施例,能够获取在第一检测时间段的每个检测周期内通信网络中的通信节点之间的通信连接关系以及通信节点之间的通信成功次数和/或通信失败次数,根据获取的信息,高效快速地创建通信网络中的通信节点在每个检测周期的通信状态图作为通信状态信息。As can be seen, through this embodiment, the communication connection relationship between communication nodes in the communication network and the number of successful and/or failed communications between communication nodes in each detection cycle of the first detection time period can be obtained. Based on the obtained information, a communication status diagram of the communication nodes in the communication network in each detection cycle can be efficiently and quickly created as communication status information.

上述步骤S104中,根据通信状态信息,确定通信网络在每个检测周期的至少一个故障通信节点集合,每个故障通信节点集合均包括至少一个故障通信节点,每个故障通信节点集合中的故障通信节点为导致通信网络在检测周期内通信成功率低于成功率阈值的通信节点,每个故障通信节点集合从通信网络中移除后均能够使得通信网络在检测周期的通信成功率满足通信成功率要求如大于成功率阈值。In step S104 above, based on the communication status information, at least one set of faulty communication nodes in the communication network is determined in each detection period. Each set of faulty communication nodes includes at least one faulty communication node. The faulty communication node in each set of faulty communication nodes is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold in the detection period. After each set of faulty communication nodes is removed from the communication network, the communication success rate of the communication network in the detection period can meet the communication success rate requirement, such as being greater than the success rate threshold.

本步骤中,根据通信网络在每个检测周期对应的通信状态信息,确定通信网络在每个检测周期的至少一个故障通信节点集合。举例而言,确定得到通信网络在某一个检测周期的故障通信节点集合共有2个,每个故障通信节点集合均包括两个故障通信节点。由于每个故障通信节点集合中的故障通信节点为导致通信网络在检测周期内通信成功率低于成功率阈值的通信节点,因此每个故障通信节点集合表示了通信网络在检测周期的一种故障情况,因此通过本实施例能够确定得到通信网络在检测周期的各种故障情况。In this step, based on the communication status information of the communication network in each detection period, at least one set of faulty communication nodes in the communication network is determined for each detection period. For example, if two sets of faulty communication nodes are determined for a certain detection period, each set includes two faulty communication nodes. Since the faulty communication nodes in each set are those that cause the communication success rate of the communication network to fall below the success rate threshold during the detection period, each set of faulty communication nodes represents a fault condition of the communication network during the detection period. Therefore, this embodiment can determine various fault conditions of the communication network during the detection period.

如前所述,本实施例中,通信状态信息包括在检测周期内通信节点之间的通信连接关系以及通信节点之间的通信成功信息和/或通信失败信息,基于此,在一个实施例中,根据通信状态信息,确定通信网络在每个检测周期的至少一个故障通信节点集合,包括:As mentioned above, in this embodiment, the communication status information includes the communication connection relationship between communication nodes during the detection period, as well as communication success information and/or communication failure information between communication nodes. Based on this, in one embodiment, the communication status information is used to determine at least one set of faulty communication nodes in the communication network during each detection period, including:

根据通信状态信息,在通信节点中选择对应的通信成功信息不满足成功信息要求或者对应的通信失败信息满足失败信息要求的至少一个问题通信节点作为目标对象;Based on the communication status information, select at least one problematic communication node from the communication nodes whose corresponding communication success information does not meet the success information requirements or whose corresponding communication failure information meets the failure information requirements as the target object.

获取从通信网络中移除目标对象之后通信网络在检测周期的通信成功率;Obtain the communication success rate of the communication network during the detection period after the target object is removed from the communication network;

根据获取的通信成功率和通信成功率要求,确定通信网络在检测周期的至少一个故障通信节点集合。Based on the obtained communication success rate and communication success rate requirements, determine at least one set of faulty communication nodes in the communication network during the detection period.

本实施例中,对于第一检测时间段内的每个检测周期,首先,根据通信状态信息,在通信节点中选择对应的通信成功信息不满足成功信息要求或者对应的通信失败信息满足失败信息要求的至少一个问题通信节点作为目标对象。例如,通信状态信息包括在检测周期内通信节点之间的通信成功信息如通信成功次数,则根据通信状态信息,在通信节点中选择对应的通信成功次数不大于成功次数阈值的至少一个问题通信节点作为目标对象。又如,通信状态信息包括在检测周期内通信节点之间的通信失败信息如通信失败次数,则根据通信状态信息,在通信节点中选择对应的通信失败次数大于失败次数阈值的至少一个问题通信节点作为目标对象。In this embodiment, for each detection period within the first detection time period, firstly, based on the communication status information, at least one problematic communication node is selected as the target object from among the communication nodes whose corresponding communication success information does not meet the success information requirements or whose corresponding communication failure information meets the failure information requirements. For example, if the communication status information includes communication success information between communication nodes within the detection period, such as the number of successful communications, then based on the communication status information, at least one problematic communication node whose corresponding number of successful communications is not greater than the success number threshold is selected as the target object. Similarly, if the communication status information includes communication failure information between communication nodes within the detection period, such as the number of communication failures, then based on the communication status information, at least one problematic communication node whose corresponding number of communication failures is greater than the failure number threshold is selected as the target object.

本实施例中,通信节点对应的通信成功信息,指的是该通信节点与相互通信的任意一个通信节点之间的通信成功信息,通信节点对应的通信失败信息,指的是该通信节点与相互通信的任意一个通信节点之间的通信失败信息,本实施例中,根据通信节点与相互通信的任意一个通信节点之间的通信成功信息或通信失败信息,判断该通信节点是否为问题通信节点。例如,某个通信节点A与多个通信节点通信,若该通信节点A与任意一个通信节点之间存在通信失败,在将该通信节点A确定为问题通信节点。In this embodiment, the communication success information corresponding to a communication node refers to the successful communication information between that communication node and any other communication node with which it communicates. The communication failure information corresponding to a communication node refers to the communication failure information between that communication node and any other communication node with which it communicates. In this embodiment, the communication node is determined to be a problematic communication node based on the successful or failed communication information between the communication node and any other communication node with which it communicates. For example, if a communication node A communicates with multiple communication nodes, and there is a communication failure between communication node A and any of these communication nodes, then communication node A is determined to be a problematic communication node.

本实施例中,一个问题通信节点作为一个目标对象。参见图2,图2中的通信状态图显示了通信网络中的多个通信节点,并以任意一个检测周期为例,显示了在检测周期内通信网络中的通信节点之间的通信连接关系、在检测周期内通信节点之间的通信成功次数和通信失败次数。在一个示例中,基于图2所示的例子,根据通信状态信息,在通信节点中选择对应的通信失败次数大于0的至少一个问题通信节点作为目标对象,则可以得到6个目标对象,分别是通信节点1-6,其中,通信节点1对应的通信失败次数为:与通信节点5通信失败5次,与通信节点6通信失败5次,与通信节点2通信失败10次,通信节点2对应的通信失败次数为:与通信节点1通信失败10次,与通信节点3通信失败10次,通信节点3对应的通信失败次数为:与通信节点2通信失败10次,与通信节点4通信失败3次,通信节点4对应的通信失败次数为:与通信节点3通信失败3次,通信节点5对应的通信失败次数为:与通信节点1通信失败5次,通信节点6对应的通信失败次数为:与通信节点1通信失败5次。In this embodiment, a problem communication node is taken as a target object. Referring to Figure 2, the communication state diagram in Figure 2 shows multiple communication nodes in the communication network. Taking any detection period as an example, it shows the communication connection relationship between communication nodes in the communication network, the number of successful communication between communication nodes, and the number of communication failures during the detection period. In one example, based on the example shown in Figure 2, according to the communication status information, at least one problematic communication node with a communication failure count greater than 0 is selected as the target object. This results in 6 target objects: communication nodes 1-6. Specifically, communication node 1 has the following communication failure counts: 5 failures with communication node 5, 5 failures with communication node 6, and 10 failures with communication node 2. Communication node 2 has the following communication failure counts: 10 failures with communication node 1 and 10 failures with communication node 3. Communication node 3 has the following communication failure counts: 10 failures with communication node 2 and 3 failures with communication node 4. Communication node 4 has the following communication failure counts: 3 failures with communication node 3. Communication node 5 has the following communication failure counts: 5 failures with communication node 1. Communication node 6 has the following communication failure counts: 5 failures with communication node 1.

接着,本实施例中,对于第一检测时间段内的每个检测周期,获取从通信网络中移除目标对象之后通信网络在检测周期的通信成功率,下文将详细描述通信网络在检测周期的通信成功率的计算过程。Next, in this embodiment, for each detection cycle within the first detection time period, the communication success rate of the communication network in the detection cycle after the target object is removed from the communication network is obtained. The calculation process of the communication success rate of the communication network in the detection cycle will be described in detail below.

最后,对于第一检测时间段内的每个检测周期,根据从通信网络中移除目标对象之后通信网络在检测周期的通信成功率和通信成功率要求,确定通信网络在检测周期的至少一个故障通信节点集合。Finally, for each detection cycle within the first detection time period, based on the communication success rate and communication success rate requirement of the communication network in the detection cycle after the target object is removed from the communication network, at least one set of faulty communication nodes in the communication network in the detection cycle is determined.

可见,通过本实施例,能够在通信节点中选择对应的通信成功信息不满足成功信息要求或者对应的通信失败信息满足失败信息要求的至少一个问题通信节点作为目标对象,根据从通信网络中移除目标对象之后通信网络在检测周期的通信成功率和通信成功率要求,确定通信网络在检测周期的至少一个故障通信节点集合,达到准确快速的确定故障通信节点集合的效果。As can be seen, through this embodiment, at least one problematic communication node whose corresponding communication success information does not meet the success information requirements or whose corresponding communication failure information meets the failure information requirements can be selected as the target object. Based on the communication success rate and communication success rate requirements of the communication network in the detection period after removing the target object from the communication network, at least one set of faulty communication nodes in the communication network in the detection period can be determined, thereby achieving the effect of accurately and quickly determining the set of faulty communication nodes.

在一个实施例中,针对第一检测时间段内的每个检测周期,获取从通信网络中移除目标对象之后通信网络在检测周期的通信成功率,包括:In one embodiment, for each detection cycle within a first detection time period, the communication success rate of the communication network in the detection cycle after the target object is removed from the communication network includes:

获取从通信网络中移除目标对象之后,在检测周期内通信网络中剩余的通信节点之间的通信成功次数和通信失败次数;After removing the target object from the communication network, obtain the number of successful and failed communications between the remaining communication nodes in the communication network within the detection period;

根据目标对象所对应的通信失败次数和通信成功次数,确定从通信网络中移除目标对象之后通信网络在检测周期的通信成功率。Based on the number of communication failures and successes corresponding to the target object, determine the communication success rate of the communication network during the detection period after removing the target object from the communication network.

本实施例中,从通信网络中移除目标对象时,移出与目标对象所表示的问题通信节点有关的所有通信连接关系,例如,目标对象所表示的问题通信节点为通信节点1,通信节点1与通信节点2和3通信连接,则从通信网络中移除通信节点1,以及,移除通信节点1和通信节点2之间的通信连接关系,移除通信节点1与通信节点3之间的通信连接关系。从通信网络中移除目标对象,可以操作为从通信状态信息例如通信状态图中移除目标对象和相关的通信连接关系。In this embodiment, when removing a target object from the communication network, all communication connections related to the problematic communication node represented by the target object are removed. For example, if the problematic communication node represented by the target object is communication node 1, and communication node 1 is connected to communication nodes 2 and 3, then communication node 1 is removed from the communication network, as are the communication connections between communication node 1 and communication node 2, and the communication connection between communication node 1 and communication node 3. Removing a target object from the communication network can be operated by removing the target object and its associated communication connections from communication state information, such as a communication state diagram.

接着,获取从通信网络中移除目标对象之后,在检测周期内通信网络中剩余的通信节点之间的通信成功次数和通信失败次数。在通信状态信息中包括检测周期内通信节点之间的通信成功次数和通信失败次数时,可以直接从通信状态信息中获取在检测周期内通信网络中剩余的通信节点之间的通信成功次数和通信失败次数。剩余的通信节点之间的通信成功次数指的是剩余的相互通信连接的每两个通信节点之间的通信成功次数,剩余的通信节点之间的通信失败次数指的是剩余的相互通信连接的每两个通信节点之间的通信失败次数。Next, after removing the target object from the communication network, obtain the number of successful and failed communication transactions between the remaining communication nodes in the network during the detection period. When the communication status information includes the number of successful and failed communication transactions between communication nodes during the detection period, these can be directly obtained from the communication status information. The number of successful communication transactions between the remaining communication nodes refers to the number of successful communication transactions between any two remaining interconnected communication nodes, and the number of failed communication transactions refers to the number of failed communication transactions between any two remaining interconnected communication nodes.

最后,根据目标对象所对应的通信失败次数和通信成功次数,确定从通信网络中移除目标对象之后通信网络在检测周期的通信成功率。本实施例中,可以统计从通信网络中移除目标对象之后,在检测周期内通信网络中剩余的通信节点之间的通信成功次数之和,以及,统计从通信网络中移除目标对象之后,在检测周期内通信网络中剩余的通信节点之间的通信失败次数之和,并计算该通信成功次数之和与该通信失败次数之和的总和值,则从通信网络中移除目标对象之后通信网络在检测周期的通信成功率,等于上述的通信成功次数之和除以上述的总和值。Finally, based on the number of communication failures and successes corresponding to the target object, the communication success rate of the communication network during the detection period after removing the target object from the communication network is determined. In this embodiment, the sum of the number of successful communications between the remaining communication nodes in the communication network during the detection period after removing the target object can be calculated, as well as the sum of the number of communication failures between the remaining communication nodes in the communication network during the detection period after removing the target object. The sum of the number of successful communications and the sum of the number of failed communications is then calculated. The communication success rate of the communication network during the detection period after removing the target object is equal to the sum of the number of successful communications divided by the sum of the numbers.

在一个示例中,假设从通信网络中移除目标对象之后,通信网络中剩余多个通信节点,在通信状态图中相互通信连接的通信节点之间具有一条边,根据检测周期内通信节点之间的通信情况,该边具有通信成功次数S和通信失败次数F,则从通信网络中移除目标对象之后通信网络在检测周期的通信成功率可以等于,各个边的S之和除以各个边的S与各个边的F的和值。In one example, suppose that after removing the target object from the communication network, there are multiple communication nodes remaining in the communication network. There is an edge between the communication nodes that are connected to each other in the communication state diagram. According to the communication status between the communication nodes in the detection period, this edge has the number of successful communication S and the number of communication failures F. Then, the communication success rate of the communication network in the detection period after removing the target object can be equal to the sum of the S values of each edge divided by the sum of the S values of each edge and the F values of each edge.

参考图2,假设从图2中移除通信节点1,则同步移除通信节点1与通信节点2、5、6、7之间的通信连接关系,并统计图2中移除通信节点1之后,剩余的通信节点之间的通信成功次数之和为112,以及,统计图2中移除通信节点1之后,剩余的通信节点之间的通信失败次数之和为13,并计算该通信成功次数之和与该通信失败次数之和的总和值为125,利用统计的通信成功次数之和112除以上述的总和值125,得到从通信网络中移除通信节点1之后通信网络在检测周期的通信成功率为0.8960。Referring to Figure 2, assuming that communication node 1 is removed from Figure 2, the communication connections between communication node 1 and communication nodes 2, 5, 6, and 7 are simultaneously removed. The sum of the number of successful communications between the remaining communication nodes after removing communication node 1 is calculated to be 112, and the sum of the number of failed communications between the remaining communication nodes after removing communication node 1 is calculated to be 13. The total sum of these two sums is 125. By dividing the total sum of successful communications (112) by the total sum (125), the communication success rate of the communication network during the detection period after removing communication node 1 is found to be 0.8960.

以图2为例,目标对象分别是通信节点1-6,计算得到从通信网络中移除目标对象之后通信网络在检测周期的通信成功率参见下表1所示。Taking Figure 2 as an example, the target objects are communication nodes 1-6. The communication success rate of the communication network during the detection period after removing the target objects from the communication network is shown in Table 1 below.

表1
Table 1

可见,通过本实施例,能够获取从通信网络中移除目标对象之后,在检测周期内通信网络中剩余的通信节点之间的通信成功次数和通信失败次数,根据目标对象所对应的通信失败次数和通信成功次数,准确确定得到从通信网络中移除目标对象之后通信网络在检测周期的通信成功率。As can be seen, through this embodiment, it is possible to obtain the number of successful and failed communications between the remaining communication nodes in the communication network during the detection period after the target object is removed from the communication network. Based on the number of failed and successful communications corresponding to the target object, the communication success rate of the communication network during the detection period after the target object is removed from the communication network can be accurately determined.

在获取到从通信网络中移除目标对象之后通信网络在检测周期的通信成功率之后,针对第一检测时间段内的每个检测周期,根据获取的通信成功率和通信成功率要求,确定通信网络在检测周期的至少一个故障通信节点集合。在一个实施例中,针对第一检测时间段内的每个检测周期,根据获取的通信成功率和通信成功率要求,确定通信网络在检测周期的至少一个故障通信节点集合,包括:After obtaining the communication success rate of the communication network during the detection period after removing the target object from the communication network, for each detection period within the first detection time period, based on the obtained communication success rate and the communication success rate requirement, a set of at least one faulty communication node in the communication network during the detection period is determined. In one embodiment, determining the set of at least one faulty communication node in the communication network during the detection period for each detection period within the first detection time period, based on the obtained communication success rate and the communication success rate requirement, includes:

若目标对象中存在第一对象,则根据第一对象所表示的问题通信节点生成通信网络在检测周期的故障通信节点集合;第一对象为导致通信网络在检测周期的通信成功率不满足通信成功率要求的目标对象;If a first object exists among the target objects, then a set of faulty communication nodes in the communication network during the detection period is generated based on the problematic communication node represented by the first object; the first object is the target object that causes the communication success rate of the communication network to fail to meet the communication success rate requirement during the detection period.

若目标对象中不存在第一对象,则对目标对象进行更新,生成更新后的目标对象,并返回获取从通信网络中移除目标对象之后通信网络在检测周期的通信成功率的步骤重复执行,直至确定得到故障通信节点集合。If the first object does not exist in the target object, the target object is updated to generate an updated target object, and the step of obtaining the communication success rate of the communication network in the detection period after removing the target object from the communication network is repeated until the set of faulty communication nodes is determined.

本实施例中,判断目标对象中是否存在第一对象,第一对象为导致通信网络在检测周期的通信成功率不满足通信成功率要求的目标对象,因此,第一对象指的是从通信网络中移除之后,通信网络在检测周期的通信成功率满足通信成功率要求的目标对象,例如,从通信网络中移除之后,通信网络在检测周期的通信成功率大于成功率阈值的目标对象。In this embodiment, it is determined whether there is a first object among the target objects. The first object is the target object that causes the communication success rate of the communication network in the detection period to not meet the communication success rate requirement. Therefore, the first object refers to the target object that, after being removed from the communication network, has a communication success rate that meets the communication success rate requirement in the detection period. For example, the target object that, after being removed from the communication network, has a communication success rate greater than the success rate threshold in the detection period.

若确定目标对象中存在第一对象,则根据第一对象所表示的问题通信节点生成通信网络在检测周期的故障通信节点集合,第一对象的数量为一个或多个,将每个第一对象都作为一个故障通信节点集合,从而通过一个或多个故障通信节点集合表示通信网络在检测周期的一种或多种故障情况。能够理解,在一个问题通信节点作为一个目标对象时,每个故障通信节点集合中包括一个问题通信节点,在故障通信节点集合的数量为多个时,从通信网络中移出任意一个故障通信节点集合,均可以有效提高通信网络的通信成功率。If a first object is identified among the target objects, a set of faulty communication nodes for the communication network during the detection period is generated based on the problematic communication node represented by the first object. There can be one or more first objects, and each first object is treated as a set of faulty communication nodes. Thus, one or more sets of faulty communication nodes represent one or more fault conditions of the communication network during the detection period. It can be understood that when a problematic communication node is considered a target object, each set of faulty communication nodes includes that problematic communication node. When there are multiple sets of faulty communication nodes, removing any one set from the communication network can effectively improve the communication success rate of the network.

若确定目标对象中不存在第一对象,也即,分别移出每个目标对象后,通信网络在检测周期的通信成功率均不满足通信成功率要求,则对目标对象进行更新,生成更新后的目标对象,并重复执行获取从通信网络中移除目标对象之后通信网络在检测周期的通信成功率的步骤和根据获取的通信成功率和通信成功率要求,确定通信网络在检测周期的至少一个故障通信节点集合的步骤,直至确定得到通信网络在检测周期的至少一个故障通信节点集合。If it is determined that the first object does not exist in the target objects, that is, after removing each target object, the communication success rate of the communication network in the detection period does not meet the communication success rate requirement, then the target objects are updated to generate updated target objects, and the steps of obtaining the communication success rate of the communication network in the detection period after removing the target objects from the communication network and determining at least one set of faulty communication nodes in the communication network in the detection period based on the obtained communication success rate and the communication success rate requirement are repeated until at least one set of faulty communication nodes in the communication network in the detection period is determined.

可见,通过本实施例,能够在各个目标对象中筛选第一对象,若筛选到,则根据第一对象所表示的问题通信节点生成通信网络在检测周期的故障通信节点集合,若筛选不到,则更新目标对象并返回之前的步骤重复执行,直至确定得到通信网络在检测周期的至少一个故障通信节点集合,从而提高确定故障通信节点集合的精准性,保证能够确定得到故障通信节点集合。As can be seen, through this embodiment, a first object can be selected from various target objects. If it is selected, a set of faulty communication nodes in the communication network during the detection period is generated based on the problem communication node represented by the first object. If it is not selected, the target object is updated and the previous steps are repeated until at least one set of faulty communication nodes in the communication network during the detection period is determined, thereby improving the accuracy of determining the set of faulty communication nodes and ensuring that the set of faulty communication nodes can be determined.

在一个实施例中,对目标对象进行更新,生成更新后的目标对象,包括:In one embodiment, updating the target object to generate an updated target object includes:

根据目标对象对应的从通信网络中移除目标对象之后通信网络在检测周期的通信成功率,在目标对象中确定第二对象;Based on the communication success rate of the communication network during the detection period after the target object is removed from the communication network, a second object is identified among the target objects.

根据第二对象和问题通信节点,生成更新后的目标对象。Based on the second object and the problem communication node, generate the updated target object.

本实施例中,首先,根据每个目标对象对应的从通信网络中移除该目标对象之后通信网络在检测周期的通信成功率,在各个目标对象中确定第二对象,例如,根据每个目标对象对应的从通信网络中移除该目标对象之后通信网络在检测周期的通信成功率,对各个目标对象进行排序,在该排序中,选择通信成功率最高的多个目标对象作为第二对象,其中,选择出来的一个目标对象作为一个第二对象。然后,根据各个第二对象和各个问题通信节点,生成更新后的目标对象。In this embodiment, firstly, based on the communication success rate of the communication network during the detection period after removing each target object from the network, a second object is determined from among the target objects. For example, based on the communication success rate of the communication network during the detection period after removing each target object, the target objects are sorted, and the target objects with the highest communication success rates are selected as the second objects. The selected target object is then used as a single second object. Then, based on each second object and each problematic communication node, an updated target object is generated.

可见,通过本实施例,能够根据目标对象对应的从通信网络中移除目标对象之后通信网络在检测周期的通信成功率,在目标对象中确定第二对象,根据第二对象和问题通信节点,生成更新后的目标对象,由于第二对象根据通信成功率筛选得到,因此基于第二对象生成更新后的目标对象,能够使得从通信网络中移除更新后的目标对象之后可以有效提高通信网络的通信成功率,从而提高基于更新后的目标对象确定得到故障通信节点集合的可能性。As can be seen, through this embodiment, a second object can be determined from the target objects based on the communication success rate of the communication network during the detection period after the target object is removed from the communication network. An updated target object is generated based on the second object and the problematic communication node. Since the second object is obtained by filtering based on the communication success rate, generating an updated target object based on the second object can effectively improve the communication success rate of the communication network after removing the updated target object from the communication network, thereby increasing the probability of determining the set of faulty communication nodes based on the updated target object.

在一个实施例中,根据第二对象和问题通信节点,生成更新后的目标对象,包括:In one embodiment, generating an updated target object based on the second object and the problem communication node includes:

将第二对象与问题通信节点中除第二对象所表示的问题通信节点以外的其他问题通信节点分别进行组合,得到更新后的目标对象。The second object is combined with the other problem communication nodes in the problem communication node list, excluding the problem communication node represented by the second object, to obtain the updated target object.

本实施例中,确定第二对象所表示的问题通信节点,第二对象中包括的一个或多个问题通信节点,即为第二对象所表示的问题通信节点。对于每个第二对象,将该第二对象与问题通信节点中除该第二对象所表示的问题通信节点以外的每个其他问题通信节点分别进行组合,每次与一个其他问题通信节点进行组合,得到一个更新后的目标对象,从而得到各个更新后的目标对象。In this embodiment, the problem communication node represented by the second object is determined. One or more problem communication nodes included in the second object are the problem communication nodes represented by the second object. For each second object, the second object is combined with each other problem communication node except the problem communication node represented by the second object. Each combination with one other problem communication node results in an updated target object, thereby obtaining each updated target object.

例如,第二对象有3个分别为问题通信节点1-3,问题通信节点中除第二对象所表示的问题通信节点以外,还包括问题通信节点4-6。本实施例中,对于问题通信节点1这一第二对象,将问题通信节点1与问题通信节点2-6分别进行组合,得到5个更新后的目标对象,分别为1+2、1+3、1+4、1+5、1+6。For example, the second object has three problem communication nodes 1-3. In addition to the problem communication node represented by the second object, the problem communication nodes also include problem communication nodes 4-6. In this embodiment, for the second object, problem communication node 1, problem communication node 1 is combined with problem communication nodes 2-6 respectively to obtain five updated target objects, namely 1+2, 1+3, 1+4, 1+5, and 1+6.

可见,通过本实施例,对于每个第二对象,能够将该第二对象与问题通信节点中除该第二对象所表示的问题通信节点以外的每个其他问题通信节点分别进行组合,每次与一个其他问题通信节点进行组合,得到一个更新后的目标对象,从而得到各个更新后的目标对象,高效快速的实现目标对象的更新。As can be seen, through this embodiment, for each second object, the second object can be combined with each other problem communication node in the problem communication node except for the problem communication node represented by the second object. Each time it is combined with another other problem communication node, an updated target object is obtained, thereby obtaining each updated target object, and the updating of the target object is achieved efficiently and quickly.

下面结合图2中的例子和上面的表1,以第一检测时间段内的任意一个检测周期为例,完整的介绍确定通信网络在检测周期的至少一个故障通信节点集合的过程。The following section, using the example in Figure 2 and Table 1 above, takes any detection cycle within the first detection time period as an example to fully describe the process of determining at least one set of faulty communication nodes in the communication network during the detection cycle.

首先,获取在检测周期如图2所示的通信网络的通信状态信息,根据通信状态信息,确定在检测周期通信网络的通信成功率为0.7911,低于成功率阈值0.99,则执行确定检测周期对应的故障通信节点集合的操作。其中,检测周期通信网络的通信成功率等于检测周期内,各个通信节点之间的所有通信成功次数之和除以所有的通信次数之和。First, the communication status information of the communication network shown in Figure 2 is obtained during the detection period. Based on the communication status information, the communication success rate of the communication network during the detection period is determined to be 0.7911, which is lower than the success rate threshold of 0.99. Therefore, the operation of determining the set of faulty communication nodes corresponding to the detection period is executed. The communication success rate of the communication network during the detection period is equal to the sum of all successful communication counts between all communication nodes within the detection period divided by the sum of all communication counts.

接着,根据通信状态信息,在通信节点中选择对应的通信成功信息不满足成功信息要求或者对应的通信失败信息满足失败信息要求的至少一个问题通信节点作为目标对象,根据前面的描述可知,基于图2所示的例子,根据通信状态信息,在通信节点中选择对应的通信失败次数大于0的至少一个问题通信节点作为目标对象,则可以得到6个目标对象,分别是通信节点1-6。Next, based on the communication status information, at least one problematic communication node is selected from the communication nodes whose corresponding communication success information does not meet the success information requirements or whose corresponding communication failure information meets the failure information requirements as the target object. As described above, based on the example shown in Figure 2, by selecting at least one problematic communication node with a corresponding communication failure count greater than 0 from the communication nodes according to the communication status information, 6 target objects can be obtained, namely communication nodes 1-6.

接着,获取每个目标对象对应的从通信网络中移除目标对象之后通信网络在检测周期的通信成功率,得到如上表1所示的结果。Next, the communication success rate of the communication network during the detection period is obtained after the target object is removed from the communication network for each target object, and the results are shown in Table 1 above.

接着,获取成功率阈值为0.99,则确定各个目标对象中不存在第一对象,则对目标对象进行更新,生成更新后的目标对象,具体过程为:基于表1中的数据,对目标对象1-6进行排序,在该排序中选择对应的通信成功率最高的3个目标对象作为第二对象,得到第二对象分别为问题通信节点1-3,然后,对于问题通信节点1,根据问题通信节点1-6对问题通信节点1进行扩展,得到五个更新后的目标对象,分别为问题通信节点1+2、1+3、1+4、1+5、1+6,对问题通信节点2,根据问题通信节点1-6对问题通信节点1进行扩展,得到五个更新后的目标对象,分别为问题通信节点2+1、2+3、2+4、2+5、2+6,对于问题通信节点3,根据问题通信节点1-6对问题通信节点3进行扩展,得到五个更新后的目标对象,分别为问题通信节点3+1、3+2、3+4、3+5、3+6。Next, if the success rate threshold is 0.99, it is determined that there is no first object among the target objects. Therefore, the target objects are updated to generate updated target objects. The specific process is as follows: Based on the data in Table 1, target objects 1-6 are sorted. The three target objects with the highest communication success rates are selected as second objects in this sorting, which are problem communication nodes 1-3. Then, for problem communication node 1, problem communication node 1 is expanded according to problem communication nodes 1-6 to obtain five updated target objects, namely problem communication nodes 1+2, 1+3, 1+4, 1+5, and 1+6. For problem communication node 2, problem communication node 1 is expanded according to problem communication nodes 1-6 to obtain five updated target objects, namely problem communication nodes 2+1, 2+3, 2+4, 2+5, and 2+6. For problem communication node 3, problem communication node 3 is expanded according to problem communication nodes 1-6 to obtain five updated target objects, namely problem communication nodes 3+1, 3+2, 3+4, 3+5, and 3+6.

接着,重复获取从通信网络中移除每个目标对象之后,通信网络在检测周期的通信成功率,得到如下表2所示的数据。Next, after repeatedly obtaining the communication success rate of the communication network during the detection period after removing each target object from the communication network, the data is shown in Table 2 below.

表2
Table 2

接着,获取成功率阈值为0.99,则确定各个目标对象中存在第一对象,第一对象包括通信节点1和通信节点3,因此,确定得到通信网络在检测周期的故障通信节点集合有一个,该集合中包括通信节点1和通信节点3。Next, if the success rate threshold is 0.99, it is determined that there is a first object among the target objects. The first object includes communication node 1 and communication node 3. Therefore, it is determined that there is one set of faulty communication nodes in the communication network during the detection period, which includes communication node 1 and communication node 3.

当然,若表2中的数据表示各个目标对象中没有第一对象,则继续更新目标对象,例如,选择问题通信节点1+3作为第二对象,并根据问题通信节点1-6对第二对象进行扩展,得到四个更新后的目标对象,分别为问题通信节点1+2+3、问题通信节点1+3+4、问题通信节点1+3+5、问题通信节点1+3+6。Of course, if the data in Table 2 indicates that there is no first object among the target objects, then the target objects are updated. For example, problem communication node 1+3 is selected as the second object, and the second object is expanded according to problem communication nodes 1-6 to obtain four updated target objects, namely problem communication node 1+2+3, problem communication node 1+3+4, problem communication node 1+3+5, and problem communication node 1+3+6.

图3为本公开的一些实施例提供的确定故障通信节点集合的流程示意图,如图3所示,以第一检测时间内的任意一个检测周期为例,该流程包括:Figure 3 is a flowchart illustrating the process of determining a set of faulty communication nodes according to some embodiments of this disclosure. As shown in Figure 3, taking any detection cycle within the first detection time as an example, the process includes:

步骤S302,获取通信网络在检测周期的通信状态信息;Step S302: Obtain the communication status information of the communication network during the detection period;

步骤S304,根据通信状态信息,判断通信网络在检测周期的通信成功率是否大于成功率阈值;Step S304: Based on the communication status information, determine whether the communication success rate of the communication network during the detection period is greater than the success rate threshold.

若是,则结束流程,若否,则执行步骤S306。If yes, the process ends; otherwise, proceed to step S306.

步骤S306,根据通信状态信息,在通信节点中选择对应的通信失败信息满足失败信息要求的至少一个问题通信节点作为目标对象;Step S306: Based on the communication status information, select at least one problematic communication node among the communication nodes whose corresponding communication failure information meets the failure information requirements as the target object.

步骤S308,获取从通信网络中移除目标对象之后通信网络在检测周期的通信成功率;Step S308: Obtain the communication success rate of the communication network during the detection period after the target object is removed from the communication network;

步骤S310,判断目标对象中是否存在第一对象;从通信网络中移除第一对象之后,通信网络在检测周期的通信成功率满足通信成功率要求如大于成功率阈值;Step S310: Determine whether the first object exists in the target object; after removing the first object from the communication network, the communication success rate of the communication network in the detection period meets the communication success rate requirement, such as being greater than the success rate threshold;

若存在,执行步骤S312,否则,执行步骤S314。If it exists, proceed to step S312; otherwise, proceed to step S314.

步骤S312,根据第一对象所表示的问题通信节点生成通信网络在检测周期的故障通信节点集合;Step S312: Generate a set of faulty communication nodes in the communication network during the detection period based on the problem communication node represented by the first object;

步骤S314,根据目标对象对应的从通信网络中移除目标对象之后通信网络在检测周期的通信成功率,在目标对象中确定第二对象;Step S314: Based on the communication success rate of the communication network during the detection period after the target object is removed from the communication network, determine the second object among the target objects;

步骤S316,针对每个第二对象,将第二对象与问题通信节点中除第二对象所表示的问题通信节点以外的其他问题通信节点分别进行组合,得到更新后的目标对象。Step S316: For each second object, combine the second object with other problem communication nodes in the problem communication nodes other than the problem communication node represented by the second object to obtain the updated target object.

接着,返回步骤S308循环执行,直至确定得到故障通信节点集合。Next, return to step S308 and repeat the process until a set of faulty communication nodes is determined.

通过上面的流程,能够确定通信网络在第一检测时间段的各个检测周期的至少一个故障通信节点集合,接着,上述步骤S106中,根据通信网络在第一检测时间段内的各个检测周期的故障通信节点集合,确定通信网络在第一检测时间段的至少一个第一故障通信节点。该第一故障通信节点位于第一检测时间段内的至少一个故障通信节点集合中。在检测周期为30s时,第一检测时间段可以为2分钟,每隔30s,执行一次图1中的流程,确定检测周期对应的故障通信节点集合,并且,根据当前时刻之前的4个检测周期的故障通信节点集合,确定通信网络在这两分钟内的至少一个第一故障通信节点。Through the above process, at least one set of faulty communication nodes in each detection cycle of the communication network during the first detection time period can be determined. Then, in step S106, based on the set of faulty communication nodes in each detection cycle of the communication network during the first detection time period, at least one first faulty communication node in the communication network during the first detection time period is determined. This first faulty communication node is located within the set of at least one faulty communication node in the first detection time period. When the detection cycle is 30 seconds, the first detection time period can be 2 minutes. Every 30 seconds, the process in Figure 1 is executed once to determine the set of faulty communication nodes corresponding to the detection cycle. Furthermore, based on the set of faulty communication nodes from the four detection cycles prior to the current moment, at least one first faulty communication node in the communication network within these two minutes is determined.

在一个实施例中,若通信网络在第一检测时间段内的任意一个检测周期中,不存在故障通信节点集合,也即通信网络在该检测周期的通信成功率满足要求,则确定通信网络在第一检测时间段内不存在持续的故障通信节点,不执行确定通信网络在第一检测时间段的至少一个第一故障通信节点的操作。若通信网络在第一检测时间段内的每个检测周期中,均存在故障通信节点集合,则确定通信网络在第一检测时间段内存在持续的故障通信节点,执行确定通信网络在第一检测时间段的至少一个第一故障通信节点的操作。In one embodiment, if the communication network does not have a set of faulty communication nodes in any detection period within the first detection time period, meaning the communication success rate of the communication network meets the requirements in that detection period, then it is determined that the communication network does not have any persistent faulty communication nodes within the first detection time period, and the operation of determining at least one first faulty communication node in the communication network within the first detection time period is not performed. If the communication network has a set of faulty communication nodes in every detection period within the first detection time period, then it is determined that the communication network has persistent faulty communication nodes within the first detection time period, and the operation of determining at least one first faulty communication node in the communication network within the first detection time period is performed.

在一个实施例中,根据通信网络在第一检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第一检测时间段的至少一个第一故障通信节点,包括:In one embodiment, determining at least one first faulty communication node of the communication network during the first detection period based on the set of faulty communication nodes in each detection cycle of the communication network during the first detection period includes:

根据通信网络在第一检测时间段内的最后一个检测周期的故障通信节点集合,对第一检测时间段内的第一检测周期的故障通信节点集合进行筛选;第一检测周期具有多个故障通信节点集合;筛选后的第一检测周期所具有的故障通信节点集合的数量变少;Based on the set of faulty communication nodes in the last detection cycle of the first detection period, the set of faulty communication nodes in the first detection period is filtered; the first detection cycle has multiple sets of faulty communication nodes; the number of sets of faulty communication nodes in the first detection cycle is reduced after filtering.

在筛选后,根据第一检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第一检测时间段的至少一个第一故障通信节点。After screening, based on the set of faulty communication nodes in each detection cycle within the first detection time period, at least one first faulty communication node of the communication network is determined within the first detection time period.

本实施例中,第一检测周期为第一检测时间段内具有多个故障通信节点集合的检测周期,每个故障通信节点集合包括一个或多个通信节点。根据通信网络在第一检测时间段内的最后一个检测周期的故障通信节点集合,对第一检测时间段内的第一检测周期的各个故障通信节点集合进行筛选,使得每个第一检测周期尽可能保留一个故障通信节点集合,从而在筛选后,在第一检测时间段内的每个检测周期都具有一个故障通信节点集合的情况下,根据第一检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第一检测时间段的至少一个第一故障通信节点。In this embodiment, the first detection period is a detection period with multiple sets of faulty communication nodes within a first detection time period, and each set of faulty communication nodes includes one or more communication nodes. Based on the set of faulty communication nodes in the last detection period of the communication network within the first detection time period, each set of faulty communication nodes in the first detection period is filtered to ensure that at least one set of faulty communication nodes is retained in each first detection period. Thus, after filtering, if each detection period within the first detection time period has one set of faulty communication nodes, at least one first faulty communication node in the communication network within the first detection time period is determined based on the set of faulty communication nodes in each detection period within the first detection time period.

可见,通过本实施例,能够根据通信网络在第一检测时间段内的最后一个检测周期的故障通信节点集合,对第一检测时间段内的第一检测周期的故障通信节点集合进行筛选,然后,在筛选后,根据第一检测时间段内的每个检测周期的故障通信节点集合,准确确定得到通信网络在第一检测时间段的至少一个第一故障通信节点。As can be seen, through this embodiment, the set of faulty communication nodes in the first detection period within the first detection time period can be filtered based on the set of faulty communication nodes in the last detection cycle within the first detection time period. Then, after filtering, at least one first faulty communication node in the communication network within the first detection time period can be accurately determined based on the set of faulty communication nodes in each detection cycle within the first detection time period.

在一个实施例中,根据通信网络在第一检测时间段内的最后一个检测周期的故障通信节点集合,对第一检测时间段内的第一检测周期的故障通信节点集合进行筛选,包括:In one embodiment, the set of faulty communication nodes in the first detection period within the first detection time period is filtered based on the set of faulty communication nodes in the last detection cycle of the first detection time period, including:

确定第一检测时间段内的最后一个检测周期的每个故障通信节点集合,在第一检测时间段内的各个检测周期的出现次数;Determine the set of each faulty communication node in the last detection cycle within the first detection time period, and the number of times it occurs in each detection cycle within the first detection time period;

若出现次数最多的故障通信节点集合的数量为一,则根据出现次数最多的故障通信节点集合,对第一检测周期的故障通信节点集合进行筛选。If the number of faulty communication nodes that appear most frequently is one, then the set of faulty communication nodes in the first detection period is filtered based on the set of faulty communication nodes that appear most frequently.

本实施例中,第一检测时间段内的最后一个检测周期可能具有一个故障通信节点集合也可能具有多个故障通信节点集合,确定第一检测时间段内的最后一个检测周期的每个故障通信节点集合,在第一检测时间段内的各个检测周期的出现次数。这里的各个检测周期包括该最后一个检测周期。In this embodiment, the last detection cycle within the first detection time period may have one set of faulty communication nodes or multiple sets of faulty communication nodes. The number of occurrences of each set of faulty communication nodes in the last detection cycle within the first detection time period is determined. Here, each detection cycle includes the last detection cycle.

接着,若最后一个检测周期的出现次数最多的故障通信节点集合的数量为一,则根据该出现次数最多的故障通信节点集合,对第一检测周期的故障通信节点集合进行筛选。Next, if the number of faulty communication nodes that appear most frequently in the last detection period is one, then the faulty communication node set in the first detection period is filtered based on this set of faulty communication nodes that appear most frequently.

一个示例中,第一检测时间段内具有四个检测周期,最后一个检测周期具有两个故障通信节点集合,以通信节点的序号表示,分别为(1,3)、(2,3),此外,第一检测时间段内的第一个检测周期具有两个故障通信节点集合,以通信节点的序号表示,分别为(1,3)、(2,3),第一检测时间段内的第二个检测周期具有两个故障通信节点集合,以通信节点的序号表示,分别为(1,3)、(4,3),第一检测时间段内的第三个检测周期具有两个故障通信节点集合,以通信节点的序号表示,分别为(1,3)、(2),通过表格可以表示如下。In one example, there are four detection cycles within the first detection time period. The last detection cycle has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3). In addition, the first detection cycle within the first detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3). The second detection cycle within the first detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (4,3). The third detection cycle within the first detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2). This can be represented by the following table.

表3
Table 3

则能够确定,最后一个检测周期的一个故障通信节点集合(1,3)在第一检测时间段内的各个检测周期的出现次数为4次,最后一个检测周期的一个故障通信节点集合(2,3)在第一检测时间段内的各个检测周期的出现次数为1次。It can be determined that the set of faulty communication nodes (1,3) in the last detection cycle appears 4 times in each detection cycle of the first detection time period, and the set of faulty communication nodes (2,3) in the last detection cycle appears 1 time in each detection cycle of the first detection time period.

可见,最后一个检测周期的出现次数最多的故障通信节点集合的数量为一,为故障通信节点集合(1,3),则根据故障通信节点集合(1,3),对第一检测周期的故障通信节点集合进行筛选。本示例中,第一检测周期包括第一检测时间段的第一、第二、第三、第四个检测周期,也即,在最后一个检测周期具有多个故障通信节点集合时,还利用最后一个检测周期的出现次数最多的故障通信节点集合,对最后一个检测周期的各个故障通信节点集合进行筛选。As can be seen, the number of faulty communication node sets that appear most frequently in the last detection period is one, which is the faulty communication node set (1,3). Therefore, the faulty communication node sets in the first detection period are filtered based on the faulty communication node set (1,3). In this example, the first detection period includes the first, second, third, and fourth detection periods of the first detection time period. That is, when there are multiple faulty communication node sets in the last detection period, the faulty communication node set that appears most frequently in the last detection period is also used to filter each faulty communication node set in the last detection period.

可见,通过本实施例,能够确定第一检测时间段内的最后一个检测周期的每个故障通信节点集合,在第一检测时间段内的各个检测周期的出现次数,若出现次数最多的故障通信节点集合的数量为一,则根据出现次数最多的故障通信节点集合,对第一检测周期的故障通信节点集合进行筛选,从而利用最后一个检测周期的故障通信节点集合能够反映通信网络的最新故障情况的特点,提高对第一检测周期的故障通信节点集合进行筛选的准确度。As can be seen, through this embodiment, the occurrence frequency of each set of faulty communication nodes in the last detection cycle within the first detection time period can be determined. If the number of faulty communication nodes with the highest occurrence frequency is one, then the set of faulty communication nodes in the first detection cycle is filtered based on the set of faulty communication nodes with the highest occurrence frequency. This utilizes the characteristic that the set of faulty communication nodes in the last detection cycle can reflect the latest fault status of the communication network, thereby improving the accuracy of filtering the set of faulty communication nodes in the first detection cycle.

在一个实施例中,根据出现次数最多的故障通信节点集合,对第一检测周期的故障通信节点集合进行筛选,包括:In one embodiment, the set of faulty communication nodes for the first detection period is filtered based on the set of faulty communication nodes that appear most frequently, including:

根据出现次数最多的故障通信节点集合与第一检测周期的故障通信节点集合之间的通信节点重合度,对第一检测周期的故障通信节点集合进行筛选。The set of faulty communication nodes in the first detection period is filtered based on the degree of overlap between the set of faulty communication nodes that appears most frequently and the set of faulty communication nodes in the first detection period.

本实施例中,该出现次数最多的故障通信节点集合有且仅有一个,计算该故障通信节点集合与第一检测周期的各个故障通信节点集合之间的通信节点重合度,根据该通信节点重合度,对第一检测周期的各个故障通信节点集合进行筛选。In this embodiment, there is only one set of faulty communication nodes that appears most frequently. The overlap of communication nodes between this set of faulty communication nodes and each set of faulty communication nodes in the first detection period is calculated. Based on the overlap of communication nodes, each set of faulty communication nodes in the first detection period is filtered.

本实施例中,两个故障通信节点集合之间的通信节点重合度=两个故障通信节点集合之间的相同节点的数量/两个故障通信节点集合所包括的节点数量的最大值。例如:故障通信节点集合(1,2,3)与故障通信节点集合(1,2)之间的通信节点重合度为2/3,故障通信节点集合(1,2,3)与故障通信节点集合(3,4)之间的通信节点重合度为1/3。In this embodiment, the overlap of communication nodes between two sets of faulty communication nodes is equal to the number of identical nodes between the two sets of faulty communication nodes divided by the maximum number of nodes in both sets of faulty communication nodes. For example, the overlap of communication nodes between the faulty communication node set (1,2,3) and the faulty communication node set (1,2) is 2/3, and the overlap of communication nodes between the faulty communication node set (1,2,3) and the faulty communication node set (3,4) is 1/3.

若经过通信节点重合度计算,确定每个第一检测周期的通信节点重合度最高的故障通信节点集合的数量均为一,则保留每个第一检测周期的该通信节点重合度最高的故障通信节点集合,使得每个第一检测周期保留一个故障通信节点集合,使得第一检测时间段内的各个检测周期都保留一个故障通信节点集合。If, after calculating the overlap of communication nodes, it is determined that the number of faulty communication nodes with the highest overlap in each first detection period is one, then the faulty communication node set with the highest overlap in each first detection period is retained, so that one faulty communication node set is retained in each first detection period, and one faulty communication node set is retained in each detection period within the first detection time period.

若经过通信节点重合度计算,确定任意一个第一检测周期的通信节点重合度最高的故障通信节点集合的数量为多个,则确定方案结束,确定通信网络在第一检测时间段内不存在持续的故障通信节点。If, after calculating the overlap of communication nodes, it is determined that there are multiple sets of faulty communication nodes with the highest overlap in any first detection period, then the scheme is considered complete, and it is determined that there are no continuously faulty communication nodes in the communication network during the first detection period.

基于上述表3的例子,计算上述出现次数最多的故障通信节点集合与第一检测周期的各个故障通信节点集合之间的通信节点重合度,计算结果可以通过下表表示。Based on the examples in Table 3 above, the overlap of communication nodes between the set of faulty communication nodes that appears most frequently and the set of faulty communication nodes in the first detection period is calculated. The calculation results can be represented by the following table.

表4
Table 4

接着,根据通信节点重合度,上面表4所示的例子,经过筛选后可以变为如下表5所示。Next, based on the overlap of communication nodes, the examples shown in Table 4 above can be filtered and transformed into Table 5 as shown below.

表5
Table 5

可见,通过本实施例,能够根据出现次数最多的故障通信节点集合与第一检测周期的故障通信节点集合之间的通信节点重合度,对第一检测周期的故障通信节点集合进行筛选,减少第一检测周期的故障通信节点的数量,为后续确定第一故障通信节点做准备。As can be seen, through this embodiment, the set of faulty communication nodes in the first detection period can be screened based on the degree of overlap between the set of faulty communication nodes that appear most frequently and the set of faulty communication nodes in the first detection period, thereby reducing the number of faulty communication nodes in the first detection period and preparing for the subsequent determination of the first faulty communication node.

本实施例中,在筛选后,在第一检测时间段内的每个检测周期都具有一个故障通信节点集合的情况下,根据第一检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第一检测时间段的至少一个第一故障通信节点。In this embodiment, after screening, if there is a set of faulty communication nodes in each detection cycle within the first detection time period, at least one first faulty communication node of the communication network in the first detection time period is determined based on the set of faulty communication nodes in each detection cycle within the first detection time period.

在一个实施例中,故障通信节点集合包括至少一个故障通信节点;根据第一检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第一检测时间段的至少一个第一故障通信节点,包括:In one embodiment, the set of faulty communication nodes includes at least one faulty communication node; determining at least one first faulty communication node of the communication network in the first detection period based on the set of faulty communication nodes for each detection cycle within the first detection period includes:

若第一检测时间段内的每个检测周期的故障通信节点集合的数量均为一,则将每个检测周期的故障通信节点集合中均包含的通信节点,确定为通信网络在第一检测时间段的第一故障通信节点。If the number of faulty communication nodes in each detection cycle within the first detection time period is one, then the communication node included in the faulty communication node set in each detection cycle is determined as the first faulty communication node of the communication network in the first detection time period.

本实施例中,若经过前面的筛选过程,第一检测时间段内的每个检测周期的故障通信节点集合的数量均为一,则将每个检测周期的故障通信节点集合中均包含的通信节点,确定为通信网络在第一检测时间段的第一故障通信节点。参见表5的例子,可以确定通信网络在第一检测时间段的第一故障通信节点包括通信节点1和通信节点3,这两个通信节点持续故障。In this embodiment, if, after the preceding screening process, the number of faulty communication nodes in each detection cycle within the first detection time period is one, then the communication nodes included in the faulty communication node set of each detection cycle are determined as the first faulty communication node of the communication network in the first detection time period. Referring to the example in Table 5, it can be determined that the first faulty communication node of the communication network in the first detection time period includes communication node 1 and communication node 3, both of which are continuously faulty.

可见,通过本实施例,能够在第一检测时间段内的每个检测周期的故障通信节点集合的数量均为一时,将每个检测周期的故障通信节点集合中均包含的通信节点,确定为通信网络在第一检测时间段的第一故障通信节点,达到准确确定通信网络在第一检测时间段的持续故障的通信节点的效果。As can be seen, through this embodiment, when the number of faulty communication nodes in each detection cycle within the first detection time period is the same, the communication nodes included in the faulty communication node set of each detection cycle are determined as the first faulty communication node of the communication network in the first detection time period, thereby achieving the effect of accurately determining the communication nodes that are continuously faulty in the communication network during the first detection time period.

本实施例中,若第一检测时间段内的最后一个检测周期的在第一检测时间段内的各个检测周期的出现次数最多的故障通信节点集合的数量不为一,则根据通信网络在第二检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第二检测时间段的至少一个第二故障通信节点,第二故障通信节点位于第二检测时间段内的至少一个故障通信节点集合中;第二检测时间段结束时间与第一检测时间段结束时间相同且第二检测时间段的时间长度大于第一检测时间段的时间长度。In this embodiment, if the number of faulty communication nodes that appear most frequently in each detection cycle of the last detection period within the first detection time period is not one, then at least one second faulty communication node of the communication network in the second detection time period is determined based on the faulty communication node set of each detection cycle of the communication network in the second detection time period. The second faulty communication node is located in at least one faulty communication node set in the second detection time period. The end time of the second detection time period is the same as the end time of the first detection time period, and the duration of the second detection time period is greater than the duration of the first detection time period.

在一个示例中,在检测周期为30s时,第一检测时间段可以为2分钟,每隔30s,执行一次图1中的流程,确定检测周期对应的故障通信节点集合,并且,根据当前时刻之前的4个检测周期的故障通信节点集合,确定通信网络在这两分钟内的至少一个第一故障通信节点,若在确定过程中,第一检测时间段内的最后一个检测周期的在第一检测时间段内的各个检测周期的出现次数最多的故障通信节点集合的数量不为一,则设置第二检测时间段为4分钟,根据当前时刻之前的8个检测周期的故障通信节点集合,确定通信网络在这四分钟内的至少一个第二故障通信节点。In one example, when the detection period is 30 seconds, the first detection time period can be 2 minutes. Every 30 seconds, the process in Figure 1 is executed once to determine the set of faulty communication nodes corresponding to the detection period. Furthermore, based on the set of faulty communication nodes of the four detection periods prior to the current time, at least one first faulty communication node in the communication network within these two minutes is determined. If, during the determination process, the number of the set of faulty communication nodes that appears most frequently in each detection period of the last detection period within the first detection time period is not one, then the second detection time period is set to 4 minutes. Based on the set of faulty communication nodes of the eight detection periods prior to the current time, at least one second faulty communication node in the communication network within these four minutes is determined.

可见,通过本实施例,能够在上述出现次数最多的故障通信节点集合的数量不为一时,则根据通信网络在第二检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第二检测时间段的至少一个第二故障通信节点,通过扩大时间窗口的方式,提高确定通信网络的故障通信节点的准确性。As can be seen, through this embodiment, when the number of the most frequently occurring faulty communication nodes is not one, at least one second faulty communication node of the communication network in the second detection period can be determined based on the faulty communication node set of each detection cycle in the second detection period. By expanding the time window, the accuracy of determining the faulty communication nodes of the communication network is improved.

在一个实施例中,根据通信网络在第二检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第二检测时间段的至少一个第二故障通信节点,包括:In one embodiment, determining at least one second faulty communication node of the communication network during the second detection period based on the set of faulty communication nodes in each detection cycle of the communication network during the second detection period includes:

根据通信网络在第二检测时间段内的最后一个检测周期的故障通信节点集合,对第二检测时间段内的第二检测周期的故障通信节点集合进行筛选;第二检测周期具有多个故障通信节点集合;筛选后的第二检测周期所具有的故障通信节点集合的数量变少;Based on the set of faulty communication nodes in the last detection cycle of the second detection period, the set of faulty communication nodes in the second detection period is filtered; the second detection cycle has multiple sets of faulty communication nodes; the number of sets of faulty communication nodes in the second detection cycle is reduced after filtering.

在筛选后,根据第二检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第二检测时间段的至少一个第二故障通信节点。After screening, based on the set of faulty communication nodes in each detection cycle within the second detection time period, at least one second faulty communication node of the communication network is determined during the second detection time period.

本实施例中,第二检测周期为第二检测时间段内具有多个故障通信节点集合的检测周期,每个故障通信节点集合包括一个或多个通信节点。根据通信网络在第二检测时间段内的最后一个检测周期的故障通信节点集合,对第二检测时间段内的第二检测周期的各个故障通信节点集合进行筛选,使得每个第二检测周期尽可能保留一个故障通信节点集合,从而在筛选后,在第二检测时间段内的每个检测周期都具有一个故障通信节点集合的情况下,根据第二检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第二检测时间段的至少一个第二故障通信节点。In this embodiment, the second detection period is a detection period containing multiple sets of faulty communication nodes within the second detection time period, and each set of faulty communication nodes includes one or more communication nodes. Based on the set of faulty communication nodes in the last detection period of the communication network within the second detection time period, each set of faulty communication nodes in the second detection time period is filtered to ensure that at least one set of faulty communication nodes is retained in each second detection period. Thus, after filtering, if each detection period within the second detection time period contains one set of faulty communication nodes, at least one second faulty communication node in the communication network within the second detection time period is determined based on the set of faulty communication nodes in each detection period within the second detection time period.

可见,通过本实施例,能够根据通信网络在第二检测时间段内的最后一个检测周期的故障通信节点集合,对第二检测时间段内的第二检测周期的故障通信节点集合进行筛选,然后,在筛选后,根据第二检测时间段内的每个检测周期的故障通信节点集合,准确确定得到通信网络在第二检测时间段的至少一个第二故障通信节点。As can be seen, through this embodiment, the set of faulty communication nodes in the second detection period can be filtered based on the set of faulty communication nodes in the last detection cycle of the second detection period. Then, after filtering, at least one second faulty communication node of the communication network in the second detection period can be accurately determined based on the set of faulty communication nodes in each detection cycle of the second detection period.

在一个实施例中,根据通信网络在第二检测时间段内的最后一个检测周期的故障通信节点集合,对第二检测时间段内的第二检测周期的故障通信节点集合进行筛选,包括:In one embodiment, the set of faulty communication nodes in the second detection period within the second detection time period is filtered based on the set of faulty communication nodes in the last detection cycle of the second detection time period, including:

确定第二检测时间段内的最后一个检测周期的每个故障通信节点集合,在第二检测时间段内的各个检测周期的出现次数;Determine the set of each faulty communication node in the last detection cycle within the second detection time period, and the number of times it occurs in each detection cycle within the second detection time period;

根据出现次数最多的故障通信节点集合,对第二检测周期的故障通信节点集合进行筛选。The set of faulty communication nodes for the second detection period is filtered based on the set of faulty communication nodes that appear most frequently.

本实施例中,第二检测时间段内的最后一个检测周期可能具有一个故障通信节点集合也可能具有多个故障通信节点集合,确定第二检测时间段内的最后一个检测周期的每个故障通信节点集合,在第二检测时间段内的各个检测周期的出现次数。这里的各个检测周期包括该最后一个检测周期。接着,根据出现次数最多的故障通信节点集合,对第二检测周期的各个故障通信节点集合进行筛选。In this embodiment, the last detection period within the second detection time period may have one set of faulty communication nodes or multiple sets of faulty communication nodes. The number of times each set of faulty communication nodes appears in each detection period within the second detection time period is determined. Each detection period includes the last detection period. Then, based on the set of faulty communication nodes that appears most frequently, the sets of faulty communication nodes in each of the second detection periods are filtered.

一个示例中,第二检测时间段内具有四个检测周期,最后一个检测周期具有两个故障通信节点集合,以通信节点的序号表示,分别为(1,3)、(2,3),此外,第二检测时间段内的第一个检测周期具有两个故障通信节点集合,以通信节点的序号表示,分别为(1,3)、(2,3),第二检测时间段内的第二个检测周期具有两个故障通信节点集合,以通信节点的序号表示,分别为(1,3)、(2,3),第二检测时间段内的第三个检测周期具有两个故障通信节点集合,以通信节点的序号表示,分别为(1,3)、(2,3),通过表格可以表示如下。In one example, there are four detection cycles within the second detection time period. The last detection cycle has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3). In addition, the first detection cycle within the second detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3), the second detection cycle within the second detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3), and the third detection cycle within the second detection time period has two sets of faulty communication nodes, represented by their serial numbers (1,3) and (2,3). This can be represented by the following table.

表6
Table 6

则能够确定,最后一个检测周期的一个故障通信节点集合(1,3)在第二检测时间段内的各个检测周期的出现次数为4次,最后一个检测周期的一个故障通信节点集合(2,3)在第二检测时间段内的各个检测周期的出现次数为4次。It can be determined that the set of faulty communication nodes (1,3) in the last detection cycle appears 4 times in each detection cycle during the second detection time period, and the set of faulty communication nodes (2,3) in the last detection cycle appears 4 times in each detection cycle during the second detection time period.

可见,最后一个检测周期的出现次数最多的故障通信节点集合的数量为二,为故障通信节点集合(1,3)和(2,3),则根据故障通信节点集合(1,3)和(2,3),对各个第二检测周期的故障通信节点集合进行筛选。本示例中,第二检测周期包括第二检测时间段的第一、第二、第三、第四个检测周期,也即,在最后一个检测周期具有多个故障通信节点集合时,还利用最后一个检测周期的出现次数最多的故障通信节点集合,对最后一个检测周期的各个故障通信节点集合进行筛选。It is evident that the number of faulty communication node sets appearing most frequently in the last detection period is two, namely faulty communication node sets (1,3) and (2,3). Therefore, based on faulty communication node sets (1,3) and (2,3), the faulty communication node sets in each second detection period are filtered. In this example, the second detection period includes the first, second, third, and fourth detection periods of the second detection time period. That is, when there are multiple faulty communication node sets in the last detection period, the faulty communication node set appearing most frequently in the last detection period is also used to filter the faulty communication node sets in the last detection period.

可见,通过本实施例,能够确定第二检测时间段内的最后一个检测周期的每个故障通信节点集合,在第二检测时间段内的各个检测周期的出现次数,根据出现次数最多的故障通信节点集合,对第二检测周期的故障通信节点集合进行筛选,从而利用最后一个检测周期的故障通信节点集合能够反映通信网络的最新故障情况的特点,提高对第二检测周期的故障通信节点集合进行筛选的准确度。As can be seen, through this embodiment, the number of occurrences of each set of faulty communication nodes in the last detection cycle within the second detection time period can be determined. Based on the set of faulty communication nodes that occur most frequently, the set of faulty communication nodes in the second detection cycle can be filtered. This utilizes the characteristic that the set of faulty communication nodes in the last detection cycle can reflect the latest fault situation of the communication network, thereby improving the accuracy of filtering the set of faulty communication nodes in the second detection cycle.

在一个实施例中,根据出现次数最多的故障通信节点集合,对第二检测周期的故障通信节点集合进行筛选,包括:In one embodiment, the set of faulty communication nodes for the second detection period is filtered based on the set of faulty communication nodes that appear most frequently, including:

若出现次数最多的故障通信节点集合的数量为一,则将出现次数最多的故障通信节点集合作为目标通信节点集合,若出现次数最多的故障通信节点集合的数量不为一,则在出现次数最多的故障通信节点集合中随机选择一个故障通信节点集合作为目标通信节点集合;If the number of the most frequently occurring faulty communication node set is one, then the most frequently occurring faulty communication node set is used as the target communication node set. If the number of the most frequently occurring faulty communication node set is not one, then a faulty communication node set is randomly selected from the most frequently occurring faulty communication node set as the target communication node set.

根据目标通信节点集合,对第二检测周期的故障通信节点集合进行筛选。Based on the target set of communication nodes, the set of faulty communication nodes for the second detection period is filtered.

本实施例中,若出现次数最多的故障通信节点集合的数量为一,则将出现次数最多的故障通信节点集合作为目标通信节点集合,若出现次数最多的故障通信节点集合的数量不为一,则通过一致性哈希随机算法,在出现次数最多的故障通信节点集合中随机选择一个故障通信节点集合作为目标通信节点集合。接着,根据目标通信节点集合,对各个第二检测周期的故障通信节点集合进行筛选。In this embodiment, if the number of the most frequently occurring faulty communication node set is one, then the most frequently occurring faulty communication node set is selected as the target communication node set. If the number of the most frequently occurring faulty communication node set is not one, then a faulty communication node set is randomly selected from the most frequently occurring faulty communication node sets using a consistent hashing random algorithm as the target communication node set. Next, based on the target communication node set, the faulty communication node sets for each second detection period are filtered.

参考表6的例子,可以在故障通信节点集合(1,3)和(2,3)中,通过一致性哈希随机算法随机选择一个故障通信节点集合作为目标通信节点集合,根据目标通信节点集合,对各个第二检测周期的故障通信节点集合进行筛选。Referring to the example in Table 6, a set of faulty communication nodes can be randomly selected from the faulty communication node sets (1,3) and (2,3) using a consistent hashing random algorithm as the target communication node set. Based on the target communication node set, the faulty communication node sets for each second detection period can be filtered.

可见,通过本实施例,能够在各种情况下,均可以对第二检测周期的故障通信节点集合进行筛选,使得方案适用于各种场景。As can be seen, this embodiment enables the screening of the set of faulty communication nodes in the second detection cycle under various circumstances, making the solution applicable to various scenarios.

在一个实施例中,根据目标通信节点集合,对第二检测周期的故障通信节点集合进行筛选,包括:In one embodiment, the set of faulty communication nodes in the second detection period is filtered according to the target set of communication nodes, including:

根据目标通信节点集合与第二检测周期的故障通信节点集合之间的通信节点重合度,对第二检测周期的故障通信节点集合进行筛选。The set of faulty communication nodes in the second detection period is filtered based on the degree of overlap between the target set of communication nodes and the set of faulty communication nodes in the second detection period.

本实施例中,第二检测周期具有多个故障通信节点集合,计算目标通信节点集合与第二检测周期的各个故障通信节点集合之间的通信节点重合度,根据该通信节点重合度,对第二检测周期的各个故障通信节点集合进行筛选。In this embodiment, the second detection period has multiple sets of faulty communication nodes. The overlap degree of communication nodes between the target set of communication nodes and each set of faulty communication nodes in the second detection period is calculated. Based on the overlap degree of communication nodes, each set of faulty communication nodes in the second detection period is filtered.

本实施例中,两个故障通信节点集合之间的通信节点重合度=两个故障通信节点集合之间的相同节点的数量/两个故障通信节点集合所包括的节点数量的最大值。例如:故障通信节点集合(1,2,3)与故障通信节点集合(1,2)之间的通信节点重合度为2/3,故障通信节点集合(1,2,3)与故障通信节点集合(3,4)之间的通信节点重合度为1/3。In this embodiment, the overlap of communication nodes between two sets of faulty communication nodes is equal to the number of identical nodes between the two sets of faulty communication nodes divided by the maximum number of nodes in both sets of faulty communication nodes. For example, the overlap of communication nodes between the faulty communication node set (1,2,3) and the faulty communication node set (1,2) is 2/3, and the overlap of communication nodes between the faulty communication node set (1,2,3) and the faulty communication node set (3,4) is 1/3.

若经过通信节点重合度计算,确定每个第二检测周期的通信节点重合度最高的故障通信节点集合的数量均为一,则保留每个第二检测周期的该通信节点重合度最高的故障通信节点集合,使得每个第二检测周期保留一个故障通信节点集合,使得第二检测时间段内的各个检测周期都保留一个故障通信节点集合。If, after calculating the overlap of communication nodes, it is determined that the number of faulty communication nodes with the highest overlap in each second detection period is one, then the faulty communication node set with the highest overlap in each second detection period is retained, so that one faulty communication node set is retained in each second detection period, and one faulty communication node set is retained in each detection period within the second detection time period.

若经过通信节点重合度计算,确定任意一个第二检测周期的通信节点重合度最高的故障通信节点集合的数量为多个,则确定方案结束,确定通信网络在第二检测时间段内不存在持续的故障通信节点。If, after calculating the overlap of communication nodes, it is determined that there are multiple sets of faulty communication nodes with the highest overlap in any second detection period, then the scheme is considered complete, and it is determined that there are no continuously faulty communication nodes in the communication network during the second detection period.

参考表6的例子,可以在故障通信节点集合(1,3)和(2,3)中选择(1,3)作为目标通信节点集合,计算目标通信节点集合与第二检测周期的各个故障通信节点集合之间的通信节点重合度,计算结果可以通过下表表示。Referring to the example in Table 6, (1,3) can be selected as the target communication node set from the fault communication node sets (1,3) and (2,3). The overlap of communication nodes between the target communication node set and each fault communication node set in the second detection period can be calculated. The calculation results can be represented by the following table.

表7
Table 7

接着,根据通信节点重合度,上面表7所示的例子,经过筛选后可以变为如下表8所示。Next, based on the overlap of communication nodes, the examples shown in Table 7 above can be filtered and transformed into Table 8 as shown below.

表8
Table 8

可见,通过本实施例,能够根据目标通信节点集合与第二检测周期的各个故障通信节点集合之间的通信节点重合度,对第二检测周期的各个故障通信节点集合进行筛选,减少第二检测周期的故障通信节点的数量,为后续确定第二故障通信节点做准备。As can be seen, through this embodiment, the sets of faulty communication nodes in the second detection period can be screened based on the overlap of communication nodes between the target set of communication nodes and the sets of faulty communication nodes in the second detection period, thereby reducing the number of faulty communication nodes in the second detection period and preparing for the subsequent determination of the second faulty communication nodes.

本实施例中,在筛选后,在第二检测时间段内的每个检测周期都具有一个故障通信节点集合的情况下,根据第二检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第二检测时间段的至少一个第二故障通信节点。In this embodiment, after screening, if there is a set of faulty communication nodes in each detection cycle within the second detection time period, at least one second faulty communication node of the communication network in the second detection time period is determined based on the set of faulty communication nodes in each detection cycle within the second detection time period.

在一个实施例中,故障通信节点集合包括至少一个故障通信节点,根据第二检测时间段内的每个检测周期的故障通信节点集合,确定通信网络在第二检测时间段的至少一个第二故障通信节点,包括:In one embodiment, the set of faulty communication nodes includes at least one faulty communication node. Determining at least one second faulty communication node in the communication network during the second detection period, based on the set of faulty communication nodes for each detection cycle within the second detection period, includes:

若第二检测时间段内的每个检测周期的故障通信节点集合的数量均为一,则将每个检测周期的故障通信节点集合中均包含的通信节点,确定为通信网络在第二检测时间段的第二故障通信节点。If the number of faulty communication nodes in each detection cycle within the second detection time period is one, then the communication nodes included in the faulty communication node set in each detection cycle are determined as the second faulty communication nodes of the communication network in the second detection time period.

本实施例中,若经过前面的筛选过程,第二检测时间段内的每个检测周期的故障通信节点集合的数量均为一,则将每个检测周期的故障通信节点集合中均包含的通信节点,确定为通信网络在第二检测时间段的第二故障通信节点。参见表8的例子,可以确定通信网络在第二检测时间段的第二故障通信节点包括通信节点1和通信节点3,这两个通信节点持续故障。In this embodiment, if, after the preceding screening process, the number of faulty communication node sets in each detection cycle within the second detection time period is one, then the communication nodes included in the faulty communication node sets of each detection cycle are determined as the second faulty communication nodes of the communication network in the second detection time period. Referring to the example in Table 8, it can be determined that the second faulty communication nodes of the communication network in the second detection time period include communication node 1 and communication node 3, both of which are continuously faulty.

可见,通过本实施例,能够在第二检测时间段内的每个检测周期的故障通信节点集合的数量均为一时,将每个检测周期的故障通信节点集合中均包含的通信节点,确定为通信网络在第二检测时间段的第二故障通信节点,达到准确确定通信网络在第二检测时间段的持续故障的通信节点的效果。As can be seen, through this embodiment, when the number of faulty communication node sets in each detection cycle within the second detection time period is one, the communication nodes included in the faulty communication node set in each detection cycle are determined as the second faulty communication nodes of the communication network in the second detection time period, thereby achieving the effect of accurately determining the communication nodes that are continuously faulty in the communication network during the second detection time period.

图4为本公开的一些实施例提供的确定故障通信节点的流程示意图,如图4所示,该流程包括:Figure 4 is a flowchart illustrating the process of determining a faulty communication node according to some embodiments of this disclosure. As shown in Figure 4, the process includes:

步骤S402,确定第一检测时间段内的最后一个检测周期的每个故障通信节点集合,在第一检测时间段内的各个检测周期的出现次数;Step S402: Determine the set of each faulty communication node in the last detection cycle within the first detection time period, and the number of times it occurs in each detection cycle within the first detection time period;

步骤S404,判断出现次数最多的故障通信节点集合的数量是否为一;Step S404: Determine whether the number of the set of faulty communication nodes that appears most frequently is one;

若是,执行步骤S406,否则,执行步骤S414。If yes, proceed to step S406; otherwise, proceed to step S414.

步骤S406,计算出现次数最多的故障通信节点集合与第一检测时间段内的第一检测周期的各个故障通信节点集合之间的通信节点重合度;Step S406: Calculate the overlap of communication nodes between the set of faulty communication nodes that appears most frequently and the set of faulty communication nodes in the first detection period within the first detection time period.

其中,第一检测周期具有多个故障通信节点集合;The first detection cycle has a set of multiple faulty communication nodes;

步骤S408,判断每个第一检测周期的上述重合度最高的故障通信节点集合是否唯一;Step S408: Determine whether the set of faulty communication nodes with the highest overlap in each first detection cycle is unique;

若是,执行步骤S410,否则,执行步骤S426。If yes, proceed to step S410; otherwise, proceed to step S426.

步骤S410,保留每个第一检测周期的上述重合度最高的故障通信节点集合;Step S410: Retain the set of faulty communication nodes with the highest overlap in each first detection cycle;

步骤S412,将第一检测时间段的每个检测周期的故障通信节点集合中均包含的通信节点,确定为通信网络在第一检测时间段的第一故障通信节点。Step S412: The communication node included in the set of faulty communication nodes in each detection cycle of the first detection time period is determined as the first faulty communication node of the communication network in the first detection time period.

该步骤中,第一检测时间段的每个检测周期的故障通信节点集合的数量均为一。In this step, the number of faulty communication node sets in each detection cycle of the first detection time period is one.

步骤S414,扩大时间窗口,确定第二检测时间段内的最后一个检测周期的每个故障通信节点集合,在第二检测时间段内的各个检测周期的出现次数;Step S414: Expand the time window and determine the set of each faulty communication node in the last detection cycle within the second detection time period, and the number of times it occurs in each detection cycle within the second detection time period.

步骤S416,根据出现次数最多的故障通信节点集合确定目标通信节点集合;Step S416: Determine the target communication node set based on the set of faulty communication nodes that appear most frequently;

若出现次数最多的故障通信节点集合的数量为一,则将出现次数最多的故障通信节点集合作为目标通信节点集合,若出现次数最多的故障通信节点集合的数量不为一,则在出现次数最多的故障通信节点集合中随机选择一个故障通信节点集合作为目标通信节点集合;If the number of the most frequently occurring faulty communication node set is one, then the most frequently occurring faulty communication node set is used as the target communication node set. If the number of the most frequently occurring faulty communication node set is not one, then a faulty communication node set is randomly selected from the most frequently occurring faulty communication node set as the target communication node set.

步骤S418,计算目标通信节点集合与第二检测时间段内的第二检测周期的各个故障通信节点集合之间的通信节点重合度;Step S418: Calculate the overlap of communication nodes between the target set of communication nodes and the set of faulty communication nodes in the second detection period within the second detection time period.

其中,第二检测周期具有多个故障通信节点集合;The second detection cycle has multiple sets of faulty communication nodes;

步骤S420,判断每个第二检测周期的上述重合度最高的故障通信节点集合是否唯一;Step S420: Determine whether the set of faulty communication nodes with the highest overlap in each second detection cycle is unique;

若是,执行步骤S422,否则,执行步骤S426。If yes, proceed to step S422; otherwise, proceed to step S426.

步骤S422,保留每个第二检测周期的上述重合度最高的故障通信节点集合;Step S422: Retain the set of faulty communication nodes with the highest overlap in each second detection cycle;

步骤S424,将第二检测时间段的每个检测周期的故障通信节点集合中均包含的通信节点,确定为通信网络在第二检测时间段的第二故障通信节点。Step S424: The communication nodes included in the set of faulty communication nodes in each detection cycle of the second detection time period are identified as the second faulty communication nodes of the communication network in the second detection time period.

该步骤中,第二检测时间段内的每个检测周期的故障通信节点集合的数量均为一。In this step, the number of faulty communication node sets in each detection cycle within the second detection time period is one.

步骤S426,确定没有故障通信节点。Step S426: Determine that there are no faulty communication nodes.

本公开各个实施例中涉及到的通信网络,可以为基于边缘计算的通信网络,通信网络中的通信节点,可以为边缘节点,例如边缘机房,每个边缘机房中包括一个或多个边缘服务器,各个边缘节点之间可以进行RTC(Real-Time Communication,实时通信),在各个边缘节点用于传输音视频数据时,每个边缘节点中均具有媒体引擎,各个边缘节点之间通过媒体引擎产生级联,也即产生通信连接。通过本实施例,能够在边缘节点数量众多的情况下,在边缘节点出现故障时,高效准确的确定得到每个检测周期的至少一个故障边缘节点集合,根据在第二检测时间段内的每个检测周期的故障边缘节点集合,确定在第二检测时间段的至少一个持续故障的故障边缘节点,结合通信网络在多个检测周期的故障情况,准确确定通信网络中的持续故障的故障边缘节点,提高确定故障边缘节点的准确性。The communication network involved in the various embodiments of this disclosure can be an edge computing-based communication network. The communication nodes in the network can be edge nodes, such as edge data centers. Each edge data center includes one or more edge servers. Real-Time Communication (RTC) can be performed between the edge nodes. When transmitting audio and video data, each edge node has a media engine, and the edge nodes are cascaded through the media engine, thus establishing a communication connection. This embodiment enables efficient and accurate identification of at least one set of faulty edge nodes in each detection cycle when there are a large number of edge nodes and when edge node failures occur. Based on the set of faulty edge nodes in each detection cycle within a second detection time period, at least one persistently faulty edge node in the second detection time period is identified. By combining the fault status of the communication network across multiple detection cycles, the persistently faulty edge nodes in the communication network are accurately identified, improving the accuracy of faulty edge node identification.

图5为本公开的一些实施例提供的确定故障通信节点的原理示意图,图5中,原始级联指标数据包括各个通信节点之间的通信连接关系、通信成功次数和通信失败次数。如图5所示,通过本实施例中的方案,能够以30s作为一个检测周期,根据各个检测周期对应的通信状态图,得到各个检测周期的至少一个故障通信节点集合,图5中的一个解表示一个故障通信节点集合,然后根据每个检测周期的至少一个故障通信节点集合,以2分钟为时间窗口,确定得到持续故障的通信节点为节点A,并执行下线节点A的操作,提高通信网络的通信成功率。Figure 5 is a schematic diagram illustrating the principle of determining faulty communication nodes according to some embodiments of this disclosure. In Figure 5, the original cascaded index data includes the communication connection relationship between each communication node, the number of successful communication attempts, and the number of communication failures. As shown in Figure 5, the scheme in this embodiment can use 30 seconds as a detection cycle. Based on the communication state diagram corresponding to each detection cycle, at least one set of faulty communication nodes for each detection cycle can be obtained. A solution in Figure 5 represents a set of faulty communication nodes. Then, based on at least one set of faulty communication nodes for each detection cycle, with a time window of 2 minutes, the communication node with a continuous failure is determined as node A, and the operation of taking node A offline is executed, thereby improving the communication success rate of the communication network.

本实施例中,还能够将通信状态信息、确定得到的每个检测周期的故障通信节点集合和最终得到的故障通信节点,输出出来,供相关人员分析使用。In this embodiment, the communication status information, the set of faulty communication nodes for each detection cycle, and the final set of faulty communication nodes can also be output for analysis by relevant personnel.

综上,通过上述各个实施例,能够应用在边缘节点领域中,普适性强,能够准确、高效的确定得到故障边缘节点,提高边缘节点网络的通信成功率。In summary, the above embodiments can be applied to the field of edge nodes, have strong universality, and can accurately and efficiently identify faulty edge nodes, thereby improving the communication success rate of edge node networks.

图6为本公开的一些实施例提供的故障节点确定装置的结构示意图,如图6所示,该装置包括:Figure 6 is a schematic diagram of the structure of a fault node determination device provided in some embodiments of this disclosure. As shown in Figure 6, the device includes:

状态获取单元61,用于获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息;所述通信状态信息用于表示在所述检测周期内所述通信节点之间的通信状态;The status acquisition unit 61 is used to acquire communication status information of communication nodes in the communication network for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.

第一确定单元62,用于根据所述通信状态信息,确定所述通信网络在每个所述检测周期的至少一个故障通信节点集合;每个所述故障通信节点集合均包括至少一个故障通信节点;所述故障通信节点为导致所述通信网络在所述检测周期内通信成功率低于成功率阈值的通信节点;The first determining unit 62 is configured to determine, based on the communication status information, at least one set of faulty communication nodes in the communication network during each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is a communication node that causes the communication success rate of the communication network to be lower than a success rate threshold during the detection period.

第二确定单元63,用于根据所述通信网络在所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点;所述第一故障通信节点位于所述第一检测时间段内的至少一个所述故障通信节点集合中。The second determining unit 63 is configured to determine at least one first faulty communication node of the communication network in the first detection time period based on the set of faulty communication nodes of the communication network in each detection cycle of the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes in the first detection time period.

可选地,所述通信状态信息包括在所述检测周期内所述通信节点之间的通信连接关系以及所述通信节点之间的通信成功信息和/或通信失败信息;第一确定单元62具体用于:Optionally, the communication status information includes the communication connection relationship between the communication nodes during the detection period, as well as communication success information and/or communication failure information between the communication nodes; the first determining unit 62 is specifically used for:

根据所述通信状态信息,在所述通信节点中选择对应的所述通信成功信息不满足成功信息要求或者对应的所述通信失败信息满足失败信息要求的至少一个问题通信节点作为目标对象;Based on the communication status information, at least one problematic communication node is selected as the target object from the communication nodes whose corresponding communication success information does not meet the success information requirements or whose corresponding communication failure information meets the failure information requirements.

获取从所述通信网络中移除所述目标对象之后所述通信网络在所述检测周期的通信成功率;Obtain the communication success rate of the communication network during the detection period after the target object is removed from the communication network;

根据获取的所述通信成功率和所述通信成功率要求,确定所述通信网络在所述检测周期的至少一个故障通信节点集合。Based on the obtained communication success rate and the communication success rate requirement, determine at least one set of faulty communication nodes in the communication network during the detection period.

可选地,第一确定单元62还具体用于:Optionally, the first determining unit 62 is further specifically used for:

获取从所述通信网络中移除所述目标对象之后,在所述检测周期内所述通信网络中剩余的所述通信节点之间的通信成功次数和通信失败次数;After the target object is removed from the communication network, the number of successful communication attempts and the number of failed communication attempts between the remaining communication nodes in the communication network during the detection period are obtained.

根据所述目标对象所对应的所述通信失败次数和所述通信成功次数,确定从所述通信网络中移除所述目标对象之后所述通信网络在所述检测周期的通信成功率。Based on the number of communication failures and the number of communication successes corresponding to the target object, the communication success rate of the communication network in the detection period after removing the target object from the communication network is determined.

可选地,第一确定单元62还具体用于:Optionally, the first determining unit 62 is further specifically used for:

若所述目标对象中存在第一对象,则根据所述第一对象所表示的问题通信节点生成所述通信网络在所述检测周期的故障通信节点集合;所述第一对象为导致所述通信网络在所述检测周期的通信成功率不满足所述通信成功率要求的目标对象;If a first object exists among the target objects, then a set of faulty communication nodes of the communication network in the detection period is generated based on the problematic communication node represented by the first object; the first object is the target object that causes the communication success rate of the communication network in the detection period to fail to meet the communication success rate requirement.

若所述目标对象中不存在第一对象,则对所述目标对象进行更新,生成更新后的所述目标对象,并返回获取从所述通信网络中移除所述目标对象之后所述通信网络在所述检测周期的通信成功率的步骤重复执行,直至确定得到所述故障通信节点集合。If the first object is not present in the target object, the target object is updated to generate the updated target object, and the step of obtaining the communication success rate of the communication network in the detection period after removing the target object from the communication network is repeated until the set of faulty communication nodes is determined.

可选地,第一确定单元62还具体用于:Optionally, the first determining unit 62 is further specifically used for:

根据所述目标对象对应的从所述通信网络中移除所述目标对象之后所述通信网络在所述检测周期的通信成功率,在所述目标对象中确定第二对象;Based on the communication success rate of the communication network in the detection period after the target object is removed from the communication network, a second object is determined from the target objects;

根据所述第二对象和所述问题通信节点,生成更新后的所述目标对象。Based on the second object and the problem communication node, an updated target object is generated.

可选地,第一确定单元62还具体用于:Optionally, the first determining unit 62 is further specifically used for:

将所述第二对象与所述问题通信节点中除所述第二对象所表示的问题通信节点以外的其他问题通信节点分别进行组合,得到更新后的所述目标对象。The second object is combined with the other problem communication nodes in the problem communication nodes other than the problem communication node represented by the second object to obtain the updated target object.

可选地,第二确定单元63具体用于:Optionally, the second determining unit 63 is specifically used for:

根据所述通信网络在所述第一检测时间段内的最后一个所述检测周期的所述故障通信节点集合,对所述第一检测时间段内的第一检测周期的所述故障通信节点集合进行筛选;所述第一检测周期具有多个所述故障通信节点集合;筛选后的所述第一检测周期所具有的所述故障通信节点集合的数量变少;Based on the set of faulty communication nodes in the last detection period of the first detection time period, the set of faulty communication nodes in the first detection period is filtered; the first detection period has multiple sets of faulty communication nodes; the number of sets of faulty communication nodes in the first detection period after filtering is reduced.

在筛选后,根据所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点。After screening, based on the set of faulty communication nodes in each detection cycle within the first detection time period, at least one first faulty communication node of the communication network in the first detection time period is determined.

可选地,第二确定单元63还具体用于:Optionally, the second determining unit 63 is further specifically used for:

确定所述第一检测时间段内的最后一个所述检测周期的每个所述故障通信节点集合,在所述第一检测时间段内的各个所述检测周期的出现次数;Determine the number of times each set of faulty communication nodes in the last detection cycle within the first detection time period occurs in each detection cycle within the first detection time period;

若出现次数最多的所述故障通信节点集合的数量为一,则根据出现次数最多的所述故障通信节点集合,对所述第一检测周期的所述故障通信节点集合进行筛选。If the number of the most frequently occurring faulty communication node set is one, then the faulty communication node set in the first detection period is filtered based on the most frequently occurring faulty communication node set.

可选地,第二确定单元63还具体用于:Optionally, the second determining unit 63 is further specifically used for:

根据出现次数最多的所述故障通信节点集合与所述第一检测周期的所述故障通信节点集合之间的通信节点重合度,对所述第一检测周期的所述故障通信节点集合进行筛选。The set of faulty communication nodes in the first detection period is filtered based on the degree of overlap between the set of faulty communication nodes that appears most frequently and the set of faulty communication nodes in the first detection period.

可选地,第二确定单元63还具体用于:Optionally, the second determining unit 63 is further specifically used for:

若所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合的数量均为一,则将每个所述检测周期的所述故障通信节点集合中均包含的通信节点,确定为所述通信网络在所述第一检测时间段的第一故障通信节点。If the number of faulty communication nodes in each detection cycle within the first detection time period is one, then the communication node included in the faulty communication node set in each detection cycle is determined as the first faulty communication node of the communication network in the first detection time period.

可选地,还包括第三确定单元,用于:Optionally, it also includes a third determining unit, used for:

若出现次数最多的所述故障通信节点集合的数量不为一,则根据所述通信网络在第二检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第二检测时间段的至少一个第二故障通信节点;所述第二故障通信节点位于所述第二检测时间段内的至少一个所述故障通信节点集合中;所述第二检测时间段结束时间与所述第一检测时间段结束时间相同且所述第二检测时间段的时间长度大于所述第一检测时间段的时间长度。If the number of the most frequently occurring faulty communication node set is not one, then based on the faulty communication node set of each detection cycle in the second detection time period, at least one second faulty communication node of the communication network in the second detection time period is determined; the second faulty communication node is located in at least one of the faulty communication node sets in the second detection time period; the end time of the second detection time period is the same as the end time of the first detection time period and the duration of the second detection time period is greater than the duration of the first detection time period.

可选地,第三确定单元具体用于:Optionally, the third determining unit is specifically used for:

根据所述通信网络在所述第二检测时间段内的最后一个所述检测周期的所述故障通信节点集合,对所述第二检测时间段内的第二检测周期的所述故障通信节点集合进行筛选;所述第二检测周期具有多个所述故障通信节点集合;筛选后的所述第一检测周期所具有的所述故障通信节点集合的数量变少;Based on the set of faulty communication nodes in the last detection period of the second detection time period, the set of faulty communication nodes in the second detection period is filtered; the second detection period has multiple sets of faulty communication nodes; the number of sets of faulty communication nodes in the first detection period is reduced after filtering.

在筛选后,根据所述第二检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第二检测时间段的至少一个第二故障通信节点。After screening, based on the set of faulty communication nodes in each detection cycle within the second detection time period, at least one second faulty communication node of the communication network during the second detection time period is determined.

可选地,第三确定单元还具体用于:Optionally, the third determining unit is also specifically used for:

确定所述第二检测时间段内的最后一个所述检测周期的每个所述故障通信节点集合,在所述第二检测时间段内的各个所述检测周期的出现次数;Determine the number of times each set of faulty communication nodes in the last detection cycle within the second detection time period occurs in each detection cycle within the second detection time period;

根据出现次数最多的所述故障通信节点集合,对所述第二检测周期的所述故障通信节点集合进行筛选。The set of faulty communication nodes for the second detection period is filtered based on the set of faulty communication nodes that appear most frequently.

可选地,第三确定单元还具体用于:Optionally, the third determining unit is also specifically used for:

若出现次数最多的所述故障通信节点集合的数量为一,则将出现次数最多的所述故障通信节点集合作为目标通信节点集合,若出现次数最多的所述故障通信节点集合的数量不为一,则在出现次数最多的所述故障通信节点集合中随机选择一个故障通信节点集合作为目标通信节点集合;If the number of the most frequently occurring faulty communication node set is one, then the most frequently occurring faulty communication node set is taken as the target communication node set; if the number of the most frequently occurring faulty communication node set is not one, then a faulty communication node set is randomly selected from the most frequently occurring faulty communication node set as the target communication node set.

根据所述目标通信节点集合,对所述第二检测周期的所述故障通信节点集合进行筛选。Based on the target set of communication nodes, the set of faulty communication nodes for the second detection period is filtered.

可选地,第三确定单元还具体用于:Optionally, the third determining unit is also specifically used for:

根据所述目标通信节点集合与所述第二检测周期的所述故障通信节点集合之间的通信节点重合度,对所述第二检测周期的所述故障通信节点集合进行筛选。The set of faulty communication nodes in the second detection period is filtered based on the overlap between the target set of communication nodes and the set of faulty communication nodes in the second detection period.

可选地,所述故障通信节点集合包括至少一个故障通信节点;第三确定单元还具体用于:Optionally, the set of faulty communication nodes includes at least one faulty communication node; the third determining unit is further specifically used for:

若所述第二检测时间段内的每个所述检测周期的所述故障通信节点集合的数量均为一,则将每个所述检测周期的所述故障通信节点集合中均包含的通信节点,确定为所述通信网络在所述第二检测时间段的第二故障通信节点。If the number of faulty communication nodes in each detection cycle within the second detection time period is one, then the communication nodes included in the faulty communication node set in each detection cycle are determined as the second faulty communication nodes of the communication network in the second detection time period.

本公开实施例中的故障节点确定装置可以实现上述的故障节点确定方法实施例的各个过程,并达到相同的效果和功能,这里不再重复。The fault node determination device in this embodiment can implement the various processes of the above-described fault node determination method embodiment and achieve the same effect and function, which will not be repeated here.

本公开的一些实施例还提供了一种电子设备,图7为本公开的一些实施例提供的电子设备的结构示意图,如图7所示,电子设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器701和存储器702,存储器702中可以存储有一个或一个以上应用程序或数据。其中,存储器702可以是短暂存储或持久存储。存储在存储器702的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括电子设备中的一系列计算机可执行指令。更进一步地,处理器701可以设置为与存储器702通信,在电子设备上执行存储器702中的一系列计算机可执行指令。电子设备还可以包括一个或一个以上电源703,一个或一个以上有线或无线网络接口704,一个或一个以上输入或输出接口705,一个或一个以上键盘706等。Some embodiments of this disclosure also provide an electronic device. Figure 7 is a schematic diagram of the structure of an electronic device provided in some embodiments of this disclosure. As shown in Figure 7, the electronic device can vary considerably due to differences in configuration or performance. It may include one or more processors 701 and a memory 702. The memory 702 may store one or more application programs or data. The memory 702 may be temporary or persistent storage. The application programs stored in the memory 702 may include one or more modules (not shown in the figure), each module may include a series of computer-executable instructions in the electronic device. Furthermore, the processor 701 may be configured to communicate with the memory 702 and execute the series of computer-executable instructions in the memory 702 on the electronic device. The electronic device may also include one or more power supplies 703, one or more wired or wireless network interfaces 704, one or more input or output interfaces 705, one or more keyboards 706, etc.

在一个具体的实施例中,电子设备包括有处理器;以及,被配置为存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器实现以下流程:In one specific embodiment, the electronic device includes a processor; and a memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the following process:

获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息;所述通信状态信息用于表示在所述检测周期内所述通信节点之间的通信状态;The communication status information of communication nodes in the communication network is obtained for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.

根据所述通信状态信息,确定所述通信网络在每个所述检测周期的至少一个故障通信节点集合;每个所述故障通信节点集合均包括至少一个故障通信节点;所述故障通信节点为导致所述通信网络在所述检测周期内通信成功率低于成功率阈值的通信节点;Based on the communication status information, at least one set of faulty communication nodes in the communication network is determined in each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold in the detection period;

根据所述通信网络在所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点;所述第一故障通信节点位于所述第一检测时间段内的至少一个所述故障通信节点集合中。Based on the set of faulty communication nodes of the communication network in each detection cycle within the first detection time period, at least one first faulty communication node of the communication network is determined within the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period.

本公开实施例中的电子设备可以实现上述的故障节点确定方法实施例的各个过程,并达到相同的效果和功能,这里不再重复。The electronic device in this embodiment can implement the various processes of the above-described fault node determination method embodiment and achieve the same effect and function, which will not be repeated here.

本公开另一些实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机可执行指令,所述计算机可执行指令在被处理器执行时实现以下流程:Other embodiments of this disclosure also provide a computer-readable storage medium for storing computer-executable instructions that, when executed by a processor, implement the following process:

获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息;所述通信状态信息用于表示在所述检测周期内所述通信节点之间的通信状态;The communication status information of communication nodes in the communication network is obtained for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.

根据所述通信状态信息,确定所述通信网络在每个所述检测周期的至少一个故障通信节点集合;每个所述故障通信节点集合均包括至少一个故障通信节点;所述故障通信节点为导致所述通信网络在所述检测周期内通信成功率低于成功率阈值的通信节点;Based on the communication status information, at least one set of faulty communication nodes in the communication network is determined in each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold in the detection period;

根据所述通信网络在所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点;所述第一故障通信节点位于所述第一检测时间段内的至少一个所述故障通信节点集合中。Based on the set of faulty communication nodes of the communication network in each detection cycle within the first detection time period, at least one first faulty communication node of the communication network is determined within the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period.

本公开实施例中的存储介质可以实现上述的故障节点确定方法实施例的各个过程,并达到相同的效果和功能,这里不再重复。The storage medium in this embodiment can implement the various processes of the above-described fault node determination method embodiment and achieve the same effect and function, which will not be repeated here.

本公开另一些实施例还提供了一种计算机程序产品,所述计算机程序产品包括计算机程序,所述计算机程序被处理器执行时实现以下流程:Other embodiments of this disclosure also provide a computer program product, the computer program product including a computer program that, when executed by a processor, implements the following process:

获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息;所述通信状态信息用于表示在所述检测周期内所述通信节点之间的通信状态;The communication status information of communication nodes in the communication network is obtained for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle.

根据所述通信状态信息,确定所述通信网络在每个所述检测周期的至少一个故障通信节点集合;每个所述故障通信节点集合均包括至少一个故障通信节点;所述故障通信节点为导致所述通信网络在所述检测周期内通信成功率低于成功率阈值的通信节点;Based on the communication status information, at least one set of faulty communication nodes in the communication network is determined in each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold in the detection period;

根据所述通信网络在所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点;所述第一故障通信节点位于所述第一检测时间段内的至少一个所述故障通信节点集合中。Based on the set of faulty communication nodes of the communication network in each detection cycle within the first detection time period, at least one first faulty communication node of the communication network is determined within the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes within the first detection time period.

本公开实施例中的计算机程序产品可以实现上述的故障节点确定方法实施例的各个过程,并达到相同的效果和功能,这里不再重复。The computer program product in this disclosure embodiment can implement the various processes of the above-described fault node determination method embodiment and achieve the same effect and function, which will not be repeated here.

本公开各个实施例中,所述的计算机可读存储介质包括只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。In various embodiments of this disclosure, the computer-readable storage medium includes read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc.

在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the methodology). However, with technological advancements, many methodological improvements today can be considered direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved methodology into the hardware circuit. Therefore, it cannot be said that a methodological improvement cannot be implemented using hardware physical modules. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user programming the device. Designers can program a digital system themselves to "integrate" it onto a PLD, without needing chip manufacturers to design and manufacture dedicated integrated circuit chips. Furthermore, nowadays, instead of manually manufacturing integrated circuit chips, this programming is mostly implemented using "logic compiler" software. Similar to the software compiler used in program development, the original code before compilation must be written in a specific programming language, called a Hardware Description Language (HDL). There is not just one type of HDL, but many, such as ABEL (Advanced Boolean Expression Language) and AHDL (Altera Hardware Description Language). Hardware description languages such as Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, and RHDL (Ruby Hardware Description Language) are commonly used, with VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog being the most prevalent currently. Those skilled in the art should also understand that by simply performing some logic programming on the method flow using one of these languages and then programming it into an integrated circuit, the hardware circuit implementing the logical method flow can be easily obtained.

控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller can be implemented in any suitable manner. For example, it can take the form of a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro)processor, logic gates, switches, application-specific integrated circuits (ASICs), programmable logic controllers, and embedded microcontrollers. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicon Labs C8051F320. A memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art will also recognize that, in addition to implementing the controller in purely computer-readable program code form, the same functionality can be achieved by logically programming the method steps to make the controller take the form of logic gates, switches, ASICs, programmable logic controllers, and embedded microcontrollers. Therefore, such a controller can be considered a hardware component, and the means included therein for implementing various functions can also be considered as structures within the hardware component. Alternatively, the means for implementing various functions can be considered as both software modules implementing the method and structures within the hardware component.

上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本公开实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For ease of description, the above apparatus is described by dividing it into various functional units. Of course, in implementing the embodiments of this disclosure, the functions of each unit can be implemented in one or more software and/or hardware.

本领域内的技术人员应明白,本公开一个或多个实施例可提供为方法、系统或计算机程序产品。因此,本公开一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本公开一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will understand that one or more embodiments of this disclosure can be provided as a method, system, or computer program product. Therefore, one or more embodiments of this disclosure can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of this disclosure can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

本公开是参照根据本公开实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。This disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this disclosure. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in one or more flowchart illustrations and/or one or more block diagrams.

这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means that implement the functions specified in one or more flowcharts and/or one or more block diagrams.

这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions, which execute on the computer or other programmable apparatus, provide steps for implementing the functions specified in one or more flowcharts and/or one or more block diagrams.

还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

本公开一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本公开的一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。One or more embodiments of this disclosure can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a particular task or implement a particular abstract data type. One or more embodiments of this disclosure can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In a distributed computing environment, program modules can reside in local and remote computer storage media, including storage devices.

本公开中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in this disclosure are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions of the method embodiments.

以上所述仅为本公开的实施例而已,并不用于限制本公开。对于本领域技术人员来说,本公开可以有各种更改和变化。凡在本公开的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本公开的权利要求范围之内。The above description is merely an embodiment of this disclosure and is not intended to limit the scope of this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of the claims of this disclosure.

Claims (20)

一种故障节点确定方法,包括:A method for determining a fault node, comprising: 获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息;所述通信状态信息用于表示在所述检测周期内所述通信节点之间的通信状态;The communication status information of communication nodes in the communication network is obtained for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle. 根据所述通信状态信息,确定所述通信网络在每个所述检测周期的至少一个故障通信节点集合;每个所述故障通信节点集合均包括至少一个故障通信节点;所述故障通信节点为导致所述通信网络在所述检测周期内通信成功率低于成功率阈值的通信节点;Based on the communication status information, at least one set of faulty communication nodes in the communication network is determined in each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is the communication node that causes the communication success rate of the communication network to be lower than the success rate threshold in the detection period; 根据所述通信网络在所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点;所述第一故障通信节点位于所述第一检测时间段内的至少一个所述故障通信节点集合中。Based on the set of faulty communication nodes in each detection cycle of the communication network during the first detection time period, at least one first faulty communication node of the communication network during the first detection time period is determined; the first faulty communication node is located in at least one set of faulty communication nodes during the first detection time period. 根据权利要求1所述的方法,其中,所述通信状态信息包括在所述检测周期内所述通信节点之间的通信连接关系以及所述通信节点之间的通信成功信息和通信失败信息中的至少一种;所述根据所述通信状态信息,确定所述通信网络在每个所述检测周期的至少一个故障通信节点集合,包括:According to the method of claim 1, the communication status information includes at least one of the communication connection relationship between the communication nodes during the detection period and communication success information and communication failure information between the communication nodes; determining at least one set of faulty communication nodes in the communication network in each detection period based on the communication status information includes: 根据所述通信状态信息,在所述通信节点中选择对应的所述通信成功信息不满足成功信息要求或者对应的所述通信失败信息满足失败信息要求的至少一个问题通信节点作为目标对象;Based on the communication status information, at least one problematic communication node is selected as the target object from the communication nodes whose corresponding communication success information does not meet the success information requirements or whose corresponding communication failure information meets the failure information requirements. 获取从所述通信网络中移除所述目标对象之后所述通信网络在所述检测周期的通信成功率;Obtain the communication success rate of the communication network during the detection period after the target object is removed from the communication network; 根据获取的所述通信成功率和通信成功率要求,确定所述通信网络在所述检测周期的至少一个故障通信节点集合。Based on the obtained communication success rate and communication success rate requirements, determine at least one set of faulty communication nodes in the communication network during the detection period. 根据权利要求2所述的方法,其中,所述获取从所述通信网络中移除所述目标对象之后所述通信网络在所述检测周期的通信成功率,包括:According to the method of claim 2, wherein obtaining the communication success rate of the communication network in the detection period after removing the target object from the communication network includes: 获取从所述通信网络中移除所述目标对象之后,在所述检测周期内所述通信网络中剩余的所述通信节点之间的通信成功次数和通信失败次数;After the target object is removed from the communication network, the number of successful communication attempts and the number of failed communication attempts between the remaining communication nodes in the communication network during the detection period are obtained. 根据所述目标对象所对应的所述通信失败次数和所述通信成功次数,确定从所述通信网络中移除所述目标对象之后所述通信网络在所述检测周期的通信成功率。Based on the number of communication failures and the number of communication successes corresponding to the target object, the communication success rate of the communication network in the detection period after removing the target object from the communication network is determined. 根据权利要求2所述的方法,其中,所述根据获取的所述通信成功率和通信成功率要求,确定所述通信网络在所述检测周期的至少一个故障通信节点集合,包括:According to the method of claim 2, wherein determining the set of at least one faulty communication node in the communication network during the detection period based on the acquired communication success rate and communication success rate requirement includes: 若所述目标对象中存在第一对象,则根据所述第一对象所表示的问题通信节点生成所述通信网络在所述检测周期的故障通信节点集合;所述第一对象为导致所述通信网络在所述检测周期的通信成功率不满足所述通信成功率要求的目标对象;If a first object exists among the target objects, then a set of faulty communication nodes of the communication network in the detection period is generated based on the problematic communication node represented by the first object; the first object is the target object that causes the communication success rate of the communication network in the detection period to fail to meet the communication success rate requirement. 若所述目标对象中不存在第一对象,则对所述目标对象进行更新,生成更新后的所述目标对象,并返回获取从所述通信网络中移除所述目标对象之后所述通信网络在所述检测周期的通信成功率的步骤重复执行,直至确定得到所述故障通信节点集合。If the first object is not present in the target object, the target object is updated to generate the updated target object, and the step of obtaining the communication success rate of the communication network in the detection period after removing the target object from the communication network is repeated until the set of faulty communication nodes is determined. 根据权利要求4所述的方法,其中,所述对所述目标对象进行更新,生成更新后的所述目标对象,包括:According to the method of claim 4, the step of updating the target object to generate the updated target object includes: 根据所述目标对象对应的从所述通信网络中移除所述目标对象之后所述通信网络在所述检测周期的通信成功率,在所述目标对象中确定第二对象;Based on the communication success rate of the communication network in the detection period after the target object is removed from the communication network, a second object is determined from the target objects; 根据所述第二对象和所述问题通信节点,生成更新后的所述目标对象。Based on the second object and the problem communication node, an updated target object is generated. 根据权利要求5所述的方法,其中,所述根据所述第二对象和所述问题通信节点,生成更新后的所述目标对象,包括:According to the method of claim 5, wherein generating the updated target object based on the second object and the problem communication node includes: 将所述第二对象与所述问题通信节点中除所述第二对象所表示的问题通信节点以外的其他问题通信节点分别进行组合,得到更新后的所述目标对象。The second object is combined with the other problem communication nodes in the problem communication nodes other than the problem communication node represented by the second object to obtain the updated target object. 根据权利要求1所述的方法,其中,所述根据所述通信网络在所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点,包括:According to the method of claim 1, wherein determining at least one first faulty communication node of the communication network in the first detection time period based on the set of faulty communication nodes of the communication network in each detection cycle of the first detection time period comprises: 根据所述通信网络在所述第一检测时间段内的最后一个所述检测周期的所述故障通信节点集合,对所述第一检测时间段内的第一检测周期的所述故障通信节点集合进行筛选;所述第一检测周期具有多个所述故障通信节点集合;筛选后的所述第一检测周期所具有的所述故障通信节点集合的数量变少;Based on the set of faulty communication nodes in the last detection period of the first detection time period, the set of faulty communication nodes in the first detection period is filtered; the first detection period has multiple sets of faulty communication nodes; the number of sets of faulty communication nodes in the first detection period after filtering is reduced. 在筛选后,根据所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点。After screening, based on the set of faulty communication nodes in each detection cycle within the first detection time period, at least one first faulty communication node of the communication network in the first detection time period is determined. 根据权利要求7所述的方法,其中,所述根据所述通信网络在所述第一检测时间段内的最后一个所述检测周期的所述故障通信节点集合,对所述第一检测时间段内的第一检测周期的所述故障通信节点集合进行筛选,包括:According to the method of claim 7, the step of filtering the set of faulty communication nodes in the first detection period within the first detection time period based on the set of faulty communication nodes in the last detection cycle of the communication network within the first detection time period includes: 确定所述第一检测时间段内的最后一个所述检测周期的每个所述故障通信节点集合,在所述第一检测时间段内的各个所述检测周期的出现次数;Determine the number of times each set of faulty communication nodes in the last detection cycle within the first detection time period occurs in each detection cycle within the first detection time period; 若出现次数最多的所述故障通信节点集合的数量为一,则根据出现次数最多的所述故障通信节点集合,对所述第一检测周期的所述故障通信节点集合进行筛选。If the number of the most frequently occurring faulty communication node set is one, then the faulty communication node set in the first detection period is filtered based on the most frequently occurring faulty communication node set. 根据权利要求8所述的方法,其中,所述根据出现次数最多的所述故障通信节点集合,对所述第一检测周期的所述故障通信节点集合进行筛选,包括:According to the method of claim 8, the step of filtering the set of faulty communication nodes in the first detection period based on the set of faulty communication nodes that appear most frequently includes: 根据出现次数最多的所述故障通信节点集合与所述第一检测周期的所述故障通信节点集合之间的通信节点重合度,对所述第一检测周期的所述故障通信节点集合进行筛选。The set of faulty communication nodes in the first detection period is filtered based on the degree of overlap between the set of faulty communication nodes that appears most frequently and the set of faulty communication nodes in the first detection period. 根据权利要求7所述的方法,其中,所述根据所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点,包括:According to the method of claim 7, wherein determining at least one first faulty communication node of the communication network in the first detection time period based on the set of faulty communication nodes in each detection cycle within the first detection time period comprises: 若所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合的数量均为一,则将每个所述检测周期的所述故障通信节点集合中均包含的通信节点,确定为所述通信网络在所述第一检测时间段的第一故障通信节点。If the number of faulty communication nodes in each detection cycle within the first detection time period is one, then the communication node included in the faulty communication node set in each detection cycle is determined as the first faulty communication node of the communication network in the first detection time period. 根据权利要求8所述的方法,其中,所述方法还包括:The method according to claim 8, wherein the method further comprises: 若出现次数最多的所述故障通信节点集合的数量不为一,则根据所述通信网络在第二检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第二检测时间段的至少一个第二故障通信节点;所述第二故障通信节点位于所述第二检测时间段内的至少一个所述故障通信节点集合中;所述第二检测时间段结束时间与所述第一检测时间段结束时间相同且所述第二检测时间段的时间长度大于所述第一检测时间段的时间长度。If the number of the most frequently occurring faulty communication node set is not one, then based on the faulty communication node set of each detection cycle in the second detection time period, at least one second faulty communication node of the communication network in the second detection time period is determined; the second faulty communication node is located in at least one of the faulty communication node sets in the second detection time period; the end time of the second detection time period is the same as the end time of the first detection time period and the duration of the second detection time period is greater than the duration of the first detection time period. 根据权利要求11所述的方法,其中,所述根据所述通信网络在第二检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第二检测时间段的至少一个第二故障通信节点,包括:According to the method of claim 11, wherein determining at least one second faulty communication node of the communication network in the second detection time period based on the set of faulty communication nodes of the communication network in each detection cycle of the second detection time period comprises: 根据所述通信网络在所述第二检测时间段内的最后一个所述检测周期的所述故障通信节点集合,对所述第二检测时间段内的第二检测周期的所述故障通信节点集合进行筛选;所述第二检测周期具有多个所述故障通信节点集合;筛选后的所述第一检测周期所具有的所述故障通信节点集合的数量变少;Based on the set of faulty communication nodes in the last detection period of the second detection time period, the set of faulty communication nodes in the second detection period is filtered; the second detection period has multiple sets of faulty communication nodes; the number of sets of faulty communication nodes in the first detection period is reduced after filtering. 在筛选后,根据所述第二检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第二检测时间段的至少一个第二故障通信节点。After screening, based on the set of faulty communication nodes in each detection cycle within the second detection time period, at least one second faulty communication node of the communication network in the second detection time period is determined. 根据权利要求12所述的方法,其中,所述根据所述通信网络在所述第二检测时间段内的最后一个所述检测周期的所述故障通信节点集合,对所述第二检测时间段内的第二检测周期的所述故障通信节点集合进行筛选,包括:According to the method of claim 12, the step of filtering the set of faulty communication nodes in the second detection period within the second detection time period based on the set of faulty communication nodes in the last detection period of the communication network within the second detection time period includes: 确定所述第二检测时间段内的最后一个所述检测周期的每个所述故障通信节点集合,在所述第二检测时间段内的各个所述检测周期的出现次数;Determine the number of times each set of faulty communication nodes in the last detection cycle within the second detection time period occurs in each detection cycle within the second detection time period; 根据出现次数最多的所述故障通信节点集合,对所述第二检测周期的所述故障通信节点集合进行筛选。The set of faulty communication nodes for the second detection period is filtered based on the set of faulty communication nodes that appear most frequently. 根据权利要求13所述的方法,其中,所述根据出现次数最多的所述故障通信节点集合,对所述第二检测周期的所述故障通信节点集合进行筛选,包括:According to the method of claim 13, the step of filtering the set of faulty communication nodes in the second detection period based on the set of faulty communication nodes that appear most frequently includes: 若出现次数最多的所述故障通信节点集合的数量为一,则将出现次数最多的所述故障通信节点集合作为目标通信节点集合,若出现次数最多的所述故障通信节点集合的数量不为一,则在出现次数最多的所述故障通信节点集合中随机选择一个故障通信节点集合作为目标通信节点集合;If the number of the most frequently occurring faulty communication node set is one, then the most frequently occurring faulty communication node set is taken as the target communication node set; if the number of the most frequently occurring faulty communication node set is not one, then a faulty communication node set is randomly selected from the most frequently occurring faulty communication node set as the target communication node set. 根据所述目标通信节点集合,对所述第二检测周期的所述故障通信节点集合进行筛选。Based on the target set of communication nodes, the set of faulty communication nodes for the second detection period is filtered. 根据权利要求14所述的方法,其中,所述根据所述目标通信节点集合,对所述第二检测周期的所述故障通信节点集合进行筛选,包括:According to the method of claim 14, the step of filtering the set of faulty communication nodes in the second detection period based on the target set of communication nodes includes: 根据所述目标通信节点集合与所述第二检测周期的所述故障通信节点集合之间的通信节点重合度,对所述第二检测周期的所述故障通信节点集合进行筛选。The set of faulty communication nodes in the second detection period is filtered based on the overlap between the target set of communication nodes and the set of faulty communication nodes in the second detection period. 根据权利要求12所述的方法,其中,所述根据所述第二检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第二检测时间段的至少一个第二故障通信节点,包括:According to the method of claim 12, wherein determining at least one second faulty communication node of the communication network in the second detection time period based on the set of faulty communication nodes in each detection cycle within the second detection time period comprises: 若所述第二检测时间段内的每个所述检测周期的所述故障通信节点集合的数量均为一,则将每个所述检测周期的所述故障通信节点集合中均包含的通信节点,确定为所述通信网络在所述第二检测时间段的第二故障通信节点。If the number of faulty communication nodes in each detection cycle within the second detection time period is one, then the communication nodes included in the faulty communication node set in each detection cycle are determined as the second faulty communication nodes of the communication network in the second detection time period. 一种故障节点确定装置,包括:A fault node determination device, comprising: 状态获取单元,用于获取通信网络中的通信节点在第一检测时间段内的每个检测周期的通信状态信息;所述通信状态信息用于表示在所述检测周期内所述通信节点之间的通信状态;A status acquisition unit is used to acquire communication status information of communication nodes in the communication network for each detection cycle within a first detection time period; the communication status information is used to represent the communication status between the communication nodes within the detection cycle. 第一确定单元,用于根据所述通信状态信息,确定所述通信网络在每个所述检测周期的至少一个故障通信节点集合;每个所述故障通信节点集合均包括至少一个故障通信节点;所述故障通信节点为导致所述通信网络在所述检测周期内通信成功率低于成功率阈值的通信节点;The first determining unit is configured to determine, based on the communication status information, at least one set of faulty communication nodes in the communication network during each detection period; each set of faulty communication nodes includes at least one faulty communication node; the faulty communication node is a communication node that causes the communication success rate of the communication network to be lower than a success rate threshold during the detection period. 第二确定单元,用于根据所述通信网络在所述第一检测时间段内的每个所述检测周期的所述故障通信节点集合,确定所述通信网络在所述第一检测时间段的至少一个第一故障通信节点;所述第一故障通信节点位于所述第一检测时间段内的至少一个所述故障通信节点集合中。The second determining unit is configured to determine at least one first faulty communication node of the communication network in the first detection time period based on the set of faulty communication nodes of the communication network in each detection cycle of the first detection time period; the first faulty communication node is located in at least one set of faulty communication nodes in the first detection time period. 一种电子设备,包括:An electronic device, comprising: 处理器;以及,Processor; and, 被配置为存储计算机可执行指令的存储器,所述计算机可执行指令在被执行时使所述处理器实现上述权利要求1-16任一项所述的方法的步骤。A memory configured to store computer-executable instructions, which, when executed, cause the processor to perform the steps of the method described in any one of claims 1-16. 一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机可执行指令,所述计算机可执行指令在被处理器执行时实现上述权利要求1-16任一项所述的方法的步骤。A computer-readable storage medium for storing computer-executable instructions that, when executed by a processor, implement the steps of the method according to any one of claims 1-16. 一种计算机程序产品,所述计算机程序产品包括计算机程序,所述计算机程序被处理器执行时实现上述权利要求1-16任一项所述的方法的步骤。A computer program product comprising a computer program that, when executed by a processor, implements the steps of the method described in any one of claims 1-16.
PCT/CN2024/139326 2024-04-25 2024-12-13 Failed node determination method and apparatus, and related product Pending WO2025222886A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410509819.4 2024-04-25
CN202410509819.4A CN120856536A (en) 2024-04-25 2024-04-25 Fault node determination method, device and related products

Publications (1)

Publication Number Publication Date
WO2025222886A1 true WO2025222886A1 (en) 2025-10-30

Family

ID=97407280

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2024/139326 Pending WO2025222886A1 (en) 2024-04-25 2024-12-13 Failed node determination method and apparatus, and related product

Country Status (2)

Country Link
CN (1) CN120856536A (en)
WO (1) WO2025222886A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9369360B1 (en) * 2014-05-12 2016-06-14 Google Inc. Systems and methods for fault detection in large scale networks
CN106685742A (en) * 2017-03-02 2017-05-17 北京邮电大学 Method and device for network fault diagnosis
CN111600769A (en) * 2020-07-27 2020-08-28 腾讯科技(深圳)有限公司 Site detection method and device and storage medium
CN113708987A (en) * 2020-05-22 2021-11-26 浙江大学 Network anomaly detection method and device
CN116132251A (en) * 2023-02-17 2023-05-16 山东海量信息技术研究院 Network traffic management method, device, equipment and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9369360B1 (en) * 2014-05-12 2016-06-14 Google Inc. Systems and methods for fault detection in large scale networks
CN106685742A (en) * 2017-03-02 2017-05-17 北京邮电大学 Method and device for network fault diagnosis
CN113708987A (en) * 2020-05-22 2021-11-26 浙江大学 Network anomaly detection method and device
CN111600769A (en) * 2020-07-27 2020-08-28 腾讯科技(深圳)有限公司 Site detection method and device and storage medium
CN116132251A (en) * 2023-02-17 2023-05-16 山东海量信息技术研究院 Network traffic management method, device, equipment and readable storage medium

Also Published As

Publication number Publication date
CN120856536A (en) 2025-10-28

Similar Documents

Publication Publication Date Title
TWI686709B (en) Method and device for business acceptance and consensus
CN107368507A (en) A blockchain-based consensus method and device
CN107402824A (en) A kind of method and device of data processing
CN107451175A (en) A kind of data processing method and equipment based on block chain
WO2023040364A1 (en) Consensus method and apparatus, and blockchain system
WO2014116527A1 (en) Method and system for using a recursive event listener on a node in hierarchical data structure
CN108762913A (en) service processing method and device
JP2017520845A (en) Identifying files for data write operations
CN109039695A (en) Business fault treatment method, device and equipment
WO2025222886A1 (en) Failed node determination method and apparatus, and related product
CN111432031A (en) Internet of things equipment identity information generation method and device and electronic equipment
CN117743472B (en) Storage task breakpoint synchronization method, device, medium and equipment
CN111046004B (en) Data file storage method, device, equipment and storage medium
CN119784389A (en) Data processing method, device and equipment
CN111371818B (en) Data request verification method, device and equipment
CN109857859B (en) News information processing method, device, equipment and storage medium
CN108463813A (en) A method and device for data processing
CN113420170B (en) Multithreading storage method, device, equipment and medium for big data image
CN116916396A (en) A network resource balancing method, device, equipment, terminal and storage medium
CN115904785A (en) Abnormal location method, device, equipment and readable storage medium
CN114327817A (en) A task segmentation method, device and electronic device
CN113010602A (en) Data synchronization method, device and system
CN112306664B (en) Service restarting method, system, equipment and medium
JP2018500650A (en) Method, apparatus and system for determining the presence of a data file
CN115344410B (en) Method and device for judging event execution sequence, storage medium and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 24936778

Country of ref document: EP

Kind code of ref document: A1