5G industrial application fault positioning method, device, equipment and medium
By using 5G industrial application simulator and fault diagnosis decision tree in 5G industrial application scenarios, the problem of low fault positioning efficiency in 5G industrial applications is solved, and the effect of automatic, accurate positioning and economic loss reduction is achieved.
Patent Information
- Application Number
- CN202411637387.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-15
- Publication Date
- 2025-02-18
AI Technical Summary
In 5G industrial applications, application failures caused by network problems or terminal equipment problems are difficult to quickly locate, resulting in reduced fault positioning efficiency and economic losses.
By implanting a 5G industrial application simulator in 5G industrial application scenarios, confirm whether the 5G port successfully obtains IP, and locates the faulty equipment and fault type based on the result of obtaining IP, and finally locates the cause of the fault based on the fault diagnosis decision tree.
It realizes automatic and accurate positioning of 5G industrial application failures, improves fault positioning efficiency, reduces the requirements for administrator professional skills, and reduces economic losses.
Smart Images

Figure CN119484258A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of fault location technology, and in particular to a 5G industrial application fault location method, device, equipment, and medium. Background Art
[0002] In different usage scenarios of 5G industrial applications, it is often difficult to make quick decisions on application failures caused by network problems or terminal devices, which will lead to reduced fault location efficiency and unnecessary economic losses.
[0003] Currently, a commonly used fault location method is manual diagnosis, in which system administrators manually analyze system logs, events, warnings and performance data, combined with network topology diagrams and configuration information, to determine the fault point and cause.
[0004] This method combines professional knowledge and experience to make judgments, is time-consuming, and requires high professional skills from the administrator. Summary of the invention
[0005] 1. Technical issues to be resolved
[0006] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides a 5G industrial application fault locating method, device, equipment, and medium, which solves the problem that the prior art combines professional knowledge and experience for judgment, which is time-consuming and requires high professional skills of the administrator.
[0007] (II) Technical solution
[0008] In order to achieve the above object, the main technical solutions adopted by the present invention include:
[0009] In a first aspect, an embodiment of the present invention provides a 5G industrial application fault location method, including:
[0010] After a fault occurs, a 5G industrial application simulator is implanted in the SIM card in the 5G industrial application scenario;
[0011] After the 5G module in the 5G industrial application simulator takes effect, confirm whether the 5G port successfully obtains the IP address;
[0012] Locate the faulty device and fault type based on the confirmation result of whether the 5G port successfully obtains the IP address.
[0013] Based on the faulty equipment and fault type, locate the fault cause according to the 5G industrial application fault diagnosis decision tree.
[0014] Optionally, based on the confirmation result of whether the 5G port successfully obtains the IP address, locate the faulty device and the fault type, including:
[0015] If the confirmation result is that the 5G port successfully obtains the IP, a ping command is sent to the preset IP in the core network through the 5G industrial application simulator;
[0016] The device where the 5G industrial application simulator that meets the network fault condition is located is located as a faulty device, and the fault type is a network fault type; wherein the network fault condition is that the confirmation result is that the 5G port fails to obtain an IP, or the ping command fails to be sent, or the ping command is sent successfully but there is no echo, or the ping command is sent successfully but the echo packet loss rate is 100%;
[0017] The device where the 5G industrial application simulator that meets the interference fault condition is located is located as a faulty device, and the fault type is an interference fault type; wherein the interference fault condition is that the ping command is sent successfully but is unstable, and the echo packet loss rate is within the interval [preset packet loss rate threshold, 100%);
[0018] The device where the 5G industrial application simulator that meets the terminal failure conditions is located is located as a faulty device, and the failure type is a terminal failure type; the terminal failure condition is that the ping command is sent successfully and stably, and at the same time, the echo packet loss rate is in the interval [0%, preset packet loss rate threshold).
[0019] Optionally, based on the faulty device and fault type, locate the fault cause according to the 5G industrial application fault diagnosis decision tree, including:
[0020] For faulty devices with network fault types, when the fault types of all faulty devices in the 5G industrial application scenario are network fault types, locate the fault cause based on the 5G industrial application fault diagnosis decision tree and the device status in the 5G network corresponding to the 5G industrial application scenario; otherwise, locate the fault cause based on the 5G industrial application fault diagnosis decision tree and the configuration and SIM card unbinding status of the faulty device with network fault types;
[0021] For a faulty device with an interference fault type, in the area where the faulty device with an interference fault type is located, troubleshoot the interference source according to the 5G industrial application fault diagnosis decision tree, and locate the cause of the fault based on the troubleshooting results;
[0022] When the fault types of all faulty devices in the 5G industrial application scenario are terminal fault types, a simulated local area network is built through the 5G industrial application simulator, business data is configured, and simulation tests are performed in the simulated local area network based on the business data. The cause of the fault is located according to the 5G industrial application fault diagnosis decision tree and simulation test results.
[0023] Optionally, the 5G industrial application simulator follows the network time protocol for time calibration.
[0024] Optionally, according to the confirmation result of whether the 5G port successfully obtains the IP, after locating the faulty device and the fault type, the following is further included:
[0025] If there is a faulty device of the network fault type, obtain the operating indicator value of each device in the 5G network corresponding to the 5G industrial application scenario;
[0026] Determine the faulty subnet based on the operating indicator values and the device-indicator topology diagram.
[0027] The device-indicator topology graph is composed of a device topology subgraph and an indicator topology subgraph;
[0028] The device topology subgraph is the topology graph of the 5G network. Each point in the device topology subgraph uniquely corresponds to a device in the 5G network. If there is a communication connection between two devices in the 5G network, there is an edge between the two corresponding points in the device topology subgraph. Each point in the device topology subgraph has point attributes, and the point attribute value i1 is the point identifier in the device topology sub-map, is the point attribute of point i1 in the device topology subgraph, trd is the sum of the downlink and uplink data volumes of the device corresponding to point i1 in the device topology subgraph within the preset time period. 1 It is the sum of the downlink and uplink data volumes of all devices in the 5G network within a preset time period. is the duration of the device corresponding to point i1 in the device topology subgraph in the preset time period that is in a fault state, and ΔT is the duration of the preset time period; each edge in the device topology subgraph has an edge attribute, and the edge attribute value j1 is the edge identifier in the device topology subgraph, is the edge attribute of edge j1 in the device topology subgraph, j1(1) and j1(2) are the two points connected by edge j1, is the total amount of data interacted between the devices corresponding to point j1(1) and point j1(2) in the device topology subgraph within a preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(1) in the device topology subgraph within the preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(2) in the device topology subgraph within the preset time period, ε0 is the preset minimum value, and max{·} is the maximum value function;
[0029] The indicator topology subgraph is constructed based on the running indicators. Each point in the indicator topology subgraph uniquely corresponds to one running indicator. If there is a correlation between two running indicators, there is an edge between the two corresponding points in the indicator topology subgraph. Each point in the indicator topology subgraph has point attributes, and the point attribute value of any point i2 is the preset weight of the indicator corresponding to point i2 in the indicator topology subgraph, i2 is the point identifier in the indicator topology subgraph; each edge in the indicator topology subgraph has an edge attribute, and the edge attribute value of any edge j2 is It is the preset correlation degree between the indicators corresponding to the two points connected by edge j2, and j2 is the edge identifier in the indicator topology subgraph.
[0030] Optionally, the faulty subnet is determined based on the operating indicator value and the device-indicator topology diagram, including:
[0031] According to the operating index value of each device, determine the abnormality degree between each device and the corresponding operating index; wherein, if the operating index value of any operating index of any device meets the normal condition, the abnormality degree between any device and any operating index is 0, otherwise, the abnormality degree is 1;
[0032] In the device-index topology graph, establish a fault edge between the point corresponding to each device and the point corresponding to its operating index; the fault edge has an edge attribute, and the edge attribute value of any fault edge j3 is is the abnormality degree between the device corresponding to the point in the device topology subgraph connected to the fault edge j2 and the operating index corresponding to the point in the index topology subgraph, and j3 is the fault edge identifier;
[0033] Determine the fault degree of each point in the device topology subgraph according to the edge attribute of the fault edge;
[0034] Determine a point in the device topology sub-map whose fault degree is greater than a preset fault threshold as a basic point;
[0035] Obtain the link starting from the base point in the device topology submap;
[0036] Determine the shear value of each edge in each link; where, for any edge in any link u like As a basic point otherwise u is the link identifier, is the edge identifier in link u, For edge The connected point closest to the starting point of any link u, For edge The point farthest from the starting point of any link u is connected. For point The failure rate, For point The failure rate, For point The weighted average of the edge attribute values between the starting point of any link u, For point The weighted average of the edge attribute values between any link u and the starting point, ε1 is the preset maximum value;
[0037] For each link starting from the starting point, the edge where the cutting value is less than the preset cutting threshold for the first time is determined as the cutting edge, and the point of the cutting edge closest to the starting point of the link is determined as the cutting end point of the link, and the link between the starting point and the cutting end point is used as the post-cut link;
[0038] The network formed by all the cut links is determined as the faulty subnet.
[0039] Optionally, determining the fault degree of each point in the device topology subgraph according to the edge attribute of the fault edge includes:
[0040] For a fault point, its fault degree is determined as (the sum of the edge attribute values of all fault edges + the sum of the abnormality of the target edge of the fault point) / (the total number of points in the indicator topology subgraph + the sum of the edge attributes of all edges in the indicator topology subgraph); where the fault point is a point in the device topology subgraph with a fault edge; the target edge is an edge in the indicator topology subgraph, and one of the two points connected by the target edge has a fault edge with the fault point and the edge attribute value of the fault edge is non-0, the other point has a fault edge with the fault point and the edge attribute value of the fault edge is 0, or the other point does not have a fault edge with the fault point; the abnormality of the target edge is the edge attribute value of the target edge × the average of the point attribute values of the two points connected by the target edge;
[0041] For a point in the device topology subgraph that does not have a fault edge, its fault degree is determined as the average of the fault degrees of all fault points that have direct or indirect edges with it.
[0042] In a second aspect, an embodiment of the present invention provides a 5G industrial application fault locating device, including:
[0043] A processing module is used to implant a 5G industrial application simulator into the SIM card in the 5G industrial application scenario after a fault occurs;
[0044] The confirmation module is used to confirm whether the 5G port has successfully obtained the IP after the 5G module in the 5G industrial application simulator takes effect;
[0045] The first positioning module is used to locate the faulty device and the fault type according to the confirmation result of whether the 5G port successfully obtains the IP;
[0046] The second positioning module is used to locate the cause of the fault based on the faulty device and fault type according to the 5G industrial application fault diagnosis decision tree.
[0047] In a third aspect, an embodiment of the present invention provides an electronic device, including:
[0048] Memory;
[0049] Multi-core processors; and
[0050] Computer programs;
[0051] Wherein, the multi-core processor includes a plurality of idle processing cores;
[0052] The computer program is stored in the memory and is configured to execute a 5G industrial application fault location method as described in the first aspect above.
[0053] In a fourth aspect, an embodiment of the present invention provides a computer-readable medium having computer executable instructions stored thereon, and when the executable instructions are executed by a processor, a 5G industrial application fault locating method as described in the first aspect above is implemented.
[0054] (III) Beneficial effects
[0055] The beneficial effects of the present invention are as follows: the present invention relates to a 5G industrial application fault location method, device, equipment, and medium. After a fault occurs, a 5G industrial application simulator is implanted in a sim card in a 5G industrial application scenario; after the 5G module in the 5G industrial application simulator takes effect, it is confirmed whether the 5G port successfully obtains the IP; based on the confirmation result of whether the 5G port successfully obtains the IP, the faulty device and the fault type are located; based on the faulty device and the fault type, the cause of the fault is located according to the 5G industrial application fault diagnosis decision tree. The method of the present invention is based on the 5G industrial application fault diagnosis decision tree, and is combined with the 5G industrial application simulator to locate the 5G industrial application fault, so as to realize the automatic and accurate location of the 5G industrial application fault. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 A flowchart of a 5G industrial application fault locating method provided by the present invention;
[0057] Figure 2 A schematic diagram of locating the cause of a network fault type provided by the present invention;
[0058] Figure 3 A schematic diagram of a 5G industrial application fault diagnosis decision tree provided by the present invention;
[0059] Figure 4 A schematic diagram of a time delay data spectrum provided by the present invention;
[0060] Figure 5 A schematic diagram of a synchronization accuracy value jitter line graph provided by the present invention;
[0061] Figure 6 A schematic diagram of a normal distribution diagram of synchronization accuracy values provided by the present invention;
[0062] Figure 7 A schematic diagram of a device-indicator topology diagram provided by the present invention;
[0063] Figure 8 A structural schematic diagram of a 5G industrial application fault locating device provided by the present invention;
[0064] Fig. 9 The present invention provides a schematic structural diagram of an electronic device. DETAILED DESCRIPTION
[0065] In order to better explain the present invention and facilitate understanding, the present invention is described in detail below through specific implementation modes in conjunction with the accompanying drawings.
[0066] Currently, a common fault location method is manual diagnosis, where system administrators manually analyze system logs, events, warnings, and performance data, combined with network topology and configuration information, to determine the fault point and cause. This method is based on professional knowledge and experience, is time-consuming, and requires high professional skills of administrators.
[0067] Based on this, the present invention relates to a 5G industrial application fault location method, device, equipment, and medium. After a fault occurs in the method, a 5G industrial application simulator is implanted in a sim card in a 5G industrial application scenario; after the 5G module in the 5G industrial application simulator takes effect, it is confirmed whether the 5G port successfully obtains the IP; according to the confirmation result of whether the 5G port successfully obtains the IP, the faulty device and the fault type are located; based on the faulty device and the fault type, the cause of the fault is located according to the 5G industrial application fault diagnosis decision tree. The method of the present invention is based on the 5G industrial application fault diagnosis decision tree, and is combined with the 5G industrial application simulator to locate the 5G industrial application fault, so as to realize the automatic and accurate location of the 5G industrial application fault.
[0068] See also Figure 1 This embodiment provides a 5G industrial application fault location method, and the implementation process of the method is as follows:
[0069] 101. After the fault occurs, a 5G industrial application simulator is implanted in the SIM card in the 5G industrial application scenario.
[0070] Among them, the 5G industrial application simulator is a test device that uses a 5G simulation gateway integrated with OPC UA (OPC Unified Architecture) technology to meet the needs of low latency, multi-access, and large bandwidth. The hardware platform of the 5G industrial application simulator uses the LS1046A of the NXP 64-bit Arm Cortex-A72 architecture as the main processor, supports 2 10 / 100M / 1000M adaptive industrial Ethernet, 4 RS232 / 485 serial communication interfaces, Zigbee, LORA, WIFI, etc., and supports 5G communication. The industrial network protocol adaptation of the 5G industrial application simulator adopts multi-protocol driver model mapping technology, and realizes the rapid access and data acquisition application of multi-protocol devices through the rapid configuration and adaptation of software definition and hardware drivers.
[0071] OPC UA is an open international standard communication protocol developed for safe and reliable data exchange in industries such as industrial automation. It can cross the barriers of device types, operating systems, and manufacturers to safely and reliably exchange data. The OPC UA 5G simulator is a gateway simulator that supports 5G cellular network communications to meet the requirements of low latency, multi-access, and large bandwidth in industrial 5G environment testing.
[0072] The 5G industrial application simulator follows NTP (Network Time Protocol) for time calibration. NTP is an application layer protocol in the TCP / IP protocol family, which is used to synchronize the clocks between the client and the server and provide high-precision time correction. The NTP server receives accurate Coordinated Universal Time (UTC) from an authoritative clock source (such as an atomic clock, GPS), and the client requests and receives time from the server. NTP is transmitted based on UDP messages, and the UDP port number used is 123. NTP is a protocol for synchronizing computer system clocks, which can ensure that each computer in the network achieves high-precision time synchronization. The advantage of NTP is its high accuracy. In a local area network with a stable network, the accuracy can reach the microsecond level, which is sufficient for the ms-level network performance parameter accuracy of wireless networks. Moreover, NTP is suitable for network environments of all sizes, from small local area networks to large Internet. At the same time, NTP adopts a hierarchical time source structure with high reliability and stability.
[0073] The 5G industrial application simulator can unify the clock synchronization between devices through time calibration, avoiding the drawback of only presenting results but not viewing the process in the industrial environment. After adding a high-precision timestamp, the entire industrial process can be monitored, thereby realizing fault location and diagnosis corresponding to abnormal network status that occurs during operation.
[0074] 102. After the 5G module in the 5G industrial application simulator takes effect, confirm whether the 5G port successfully obtains the IP.
[0075] 103. According to the confirmation result of whether the 5G port successfully obtains the IP, locate the faulty device and fault type.
[0076] In step 103, if the confirmation result is that the 5G port successfully obtains the IP, a ping command is sent to the preset IP in the core network through the 5G industrial application simulator. For example, if the confirmation result is that the 5G port successfully obtains the IP, a ping command is sent to the core network specified IP address through the 5G industrial application simulator to determine the network access status. Then, the faulty device and fault type are located based on the sending of the ping command.
[0077] Among them, there are three types of faults, namely network fault type, interference fault type, and terminal fault type.
[0078] 1. Network fault type
[0079] The device where the 5G industrial application simulator that meets the network fault conditions is located is located as a faulty device, and the fault type is a network fault type.
[0080] The network failure condition is that the confirmation result is that the 5G port fails to obtain the IP, or the ping command fails to be sent, or the ping command is sent successfully but there is no echo, or the ping command is sent successfully but the echo packet loss rate is 100%.
[0081] For example, if a 5G industrial application simulator cannot obtain the 5G port IP (i.e., the confirmation result is that the 5G port has not successfully obtained the IP), or the ping command fails to send, or the ping command always has no successful echo (i.e., the ping command is sent successfully but there is no echo), or the ping command is sent successfully but the echo packet loss rate is 100%, it can be proved that the device where the 5G industrial application simulator is located has failed to access the network in the current environment. At this time, it is considered that the 5G industrial application simulator meets the network failure condition. The device where the 5G industrial application simulator that meets the network failure condition is located is located as a faulty device, and the fault type is a network fault type.
[0082] 2. Interference fault type
[0083] The device where the 5G industrial application simulator that meets the interference fault conditions is located is located as a faulty device, and the fault type is an interference fault type.
[0084] The interference fault condition is that the ping command is sent successfully but unstable, and the echo packet loss rate is within the interval [preset packet loss rate threshold, 100%).
[0085] For example, if a 5G industrial application simulator has an unstable ping command status during network access testing, sometimes succeeding and sometimes failing, and packet loss occurs frequently (i.e., the ping command is sent successfully but unstable, and the echo packet loss rate is within the interval [preset packet loss rate threshold, 100%)), the current 5G network is subject to more wireless interference, resulting in unstable network status and degraded performance. At this time, the 5G industrial application simulator is considered to meet the interference fault condition. The device where the 5G industrial application simulator that meets the interference fault condition is located is located as a faulty device, and the fault type is the interference fault type.
[0086] 3. Terminal failure type
[0087] The device where the 5G industrial application simulator that meets the terminal fault conditions is located is located as a faulty device, and the fault type is a terminal fault type.
[0088] The terminal failure condition is that the ping command is sent successfully and stably, and at the same time, the echo packet loss rate is within the interval [0%, preset packet loss rate threshold).
[0089] For example, if a 5G industrial application simulator successfully accesses the network and the ping command is successfully echoed, and the displayed latency and other values are consistent with the current environment networking target (i.e., the ping command is sent successfully and stably, and the echoed packet loss rate is within the interval [0%, preset packet loss rate threshold)), then the fault is considered to be caused by the original device in the scene, and the 5G industrial application simulator is considered to meet the terminal fault condition. The device where the 5G industrial application simulator that meets the terminal fault condition is located is located as a faulty device, and the fault type is a terminal fault type.
[0090] 104. Based on the faulty equipment and fault type, locate the fault cause according to the 5G industrial application fault diagnosis decision tree.
[0091] The implementation process of step 104 may vary depending on the type of fault, as follows:
[0092] 1. Network fault type
[0093] For faulty devices with a network fault type, if the fault type of all faulty devices in the 5G industrial application scenario is a network fault type, it means that all devices have network access problems, that is, the current phenomenon is caused by a pure network fault. At this time, the cause of the fault can be located based on the 5G industrial application fault diagnosis decision tree and the device status in the 5G network corresponding to the 5G industrial application scenario. Otherwise, the cause of the fault can be located based on the 5G industrial application fault diagnosis decision tree and the configuration and SIM card unbinding status of the faulty device with a network fault type.
[0094] For example, based on the networking mode of the 5G network corresponding to the 5G industrial application scenario (where the 5G network includes multiple devices such as the core network, transmission network, and base stations), the location and root cause of a simple network failure can be located by checking each node separately according to the 5G industrial application fault diagnosis decision tree.
[0095] The root causes include 5G core network reasons, 5G network tunnel / transmission network reasons, 5G private network card reasons, etc.
[0096] 1) 5G core network reasons
[0097] In 5G+ industrial application scenarios, industrial communication traffic often needs to be forwarded from the on-site OT network to the enterprise / public IT network via the operator's 5G network, which involves AAA authentication, routing interconnection, subnet division, tunnel penetration, firewall security policies and other heterogeneous system security interconnection issues. Therefore, the cause of the fault can be located based on the 5G industrial application fault diagnosis decision tree and the device status in the 5G network corresponding to the 5G industrial application scenario.
[0098] For example, according to the 5G industrial application fault diagnosis decision tree, each node needs to be checked one by one to determine whether it is working normally, and then determine whether the cause of the fault is due to the 5G core network.
[0099] 2) 5G network tunnel / transmission network reasons
[0100] Network tunnels are often used for heterogeneous system intercommunication. When the routing of all topology nodes is stable and reachable but the services cannot communicate, the cause of the fault can be located based on the 5G industrial application fault diagnosis decision tree and the configuration of the faulty device whose fault type is a network fault type.
[0101] For example, based on the 5G industrial application fault diagnosis decision tree and combined with the actual situation of the 5G industrial application site, the connectivity and stability of the tunnel are checked, and it is confirmed that the routing policies of the devices at both ends of the tunnel have been configured to realize the transfer of traffic, so as to locate whether the cause of the fault is due to the 5G network tunnel / transmission network.
[0102] However, in specific implementation, it is necessary to avoid overlapping of wired network and 5G Layer 2 network topology, which would cause loops and network storms.
[0103] 3) Reasons for using 5G private network card
[0104] After being enabled, the cause of the fault can be located based on the 5G industrial application fault diagnosis decision tree and the SIM card unbinding status of the faulty device whose fault type is a network fault.
[0105] For example, based on the 5G industrial application fault diagnosis decision tree, confirm whether the machine-card binding is turned on, whether the 5G private network card rules match the conventional UPF support strategy, whether the IP address assigned by the 5G network is obtained, and whether the private network card traffic is exhausted, and then locate whether the cause of the fault is the 5G private network card.
[0106] The diagram of network fault type fault cause location is as follows Figure 2 If the above network failure causes occur, you need to communicate with the network service provider to troubleshoot and repair the problem, which is often impossible to solve quickly by yourself.
[0107] 2. Interference fault type
[0108] For faulty equipment with interference fault type, in the area where the faulty equipment with interference fault type is located, check the interference source according to the 5G industrial application fault diagnosis decision tree, and locate the cause of the fault based on the checking results.
[0109] Interference in 5G wireless networks can be caused by a variety of factors, such as frequency band selection and signal overlap, industrial equipment interference, environmental factors, and insufficient network configuration and optimization.
[0110] 1) Frequency band selection and signal overlap
[0111] 5G networks use higher frequency bands, such as n77, n78, and n79, which may overlap with other wireless communication devices or systems, causing interference. In addition, there may be multiple wireless communication systems in an industrial environment, such as Wi-Fi, Bluetooth, and Zigbee, which share spectrum resources with 5G networks, increasing the possibility of interference.
[0112] Therefore, in the area where the faulty equipment with interference fault type is located, the interference source of shared spectrum resources is checked according to the 5G industrial application fault diagnosis decision tree, and the cause of the fault is located based on the investigation results to see whether it is the frequency band selection and signal overlap.
[0113] 2) Industrial equipment interference
[0114] There are a large number of metal structures, mechanical equipment and electronic equipment in the industrial environment, which may generate electromagnetic radiation and interfere with 5G signals. In particular, high-power motors, inverters and other equipment may generate strong electromagnetic interference when working.
[0115] Therefore, in the area where the faulty equipment with interference fault type is located, the interference sources that may generate electromagnetic radiation are checked according to the 5G industrial application fault diagnosis decision tree, and the cause of the fault is located based on the investigation results to determine whether it is industrial equipment interference.
[0116] 3) Environmental factors
[0117] Obstacles in industrial environments (such as walls, metal pipes, etc.) may hinder the propagation of 5G signals, causing signal attenuation and interference. Complex terrain and building structures may also affect signal coverage and stability.
[0118] Therefore, in the area where the faulty equipment with interference fault type is located, the interference sources that may hinder the propagation of 5G signals are checked according to the 5G industrial application fault diagnosis decision tree, and the cause of the fault is located based on the investigation results to determine whether it is an environmental factor.
[0119] 4) Insufficient network configuration and optimization
[0120] Improper configuration and optimization of 5G networks may cause signal interference. For example, unreasonable base station site selection, improper channel planning, inaccurate power control, etc. may affect network performance. The network topology in industrial environments is complex, and there may be multiple base stations and access points, which may cause signal interference.
[0121] Therefore, in the area where the faulty equipment with interference fault type is located, the interference sources that may cause signal interference are checked according to the 5G industrial application fault diagnosis decision tree, and the cause of the fault is located based on the troubleshooting results to determine whether it is insufficient network configuration and optimization.
[0122] The above-mentioned causes of interference fault types involve frequency band selection, equipment optimization, network optimization configuration, and improvement of environment and shielding. If the above-mentioned causes of interference fault types occur, the frequency band needs to be carefully selected to avoid signal overlap with other wireless communication devices or systems. Reduce interference between adjacent base stations or access points. Investigate and manage electromagnetic interference sources in industrial environments, such as adjusting equipment locations and adding shielding measures. Use advanced network optimization algorithms and technologies to improve network stability and anti-interference capabilities. Shield key equipment and areas to reduce interference of electromagnetic radiation on 5G signals. Regularly conduct security inspections and assessments on communication systems to promptly identify and address potential safety hazards.
[0123] 3. Terminal failure type
[0124] When the fault types of all faulty devices in the 5G industrial application scenario are terminal fault types, a simulated local area network is built through the 5G industrial application simulator, business data is configured, and simulation tests are performed in the simulated local area network based on the business data. The cause of the fault is located according to the 5G industrial application fault diagnosis decision tree and simulation test results.
[0125] For example, a simulated local area network is constructed through a 5G industrial application simulator, business data is configured, and a simulation test is performed in the simulated local area network based on the business data. The process of locating the cause of the fault according to the 5G industrial application fault diagnosis decision tree and the simulation test results is as follows:
[0126] According to the 5G industrial application fault diagnosis decision tree, first confirm whether the device is properly connected to the power supply and the battery is fully charged. Check whether the power adapter and charging cable are working properly.
[0127] After confirming that the device is powered on normally, try restarting the device to eliminate problems caused by software or system abnormalities. If restarting does not work, check the device's hardware connections, such as interfaces and antennas. Use the diagnostic tools or software provided by the device manufacturer to determine the specific cause of the fault.
[0128] Check the network settings of the device to ensure that the APN (access point name), network mode and other configurations are correct, and troubleshoot the problem of being unable to connect to the 5G network due to incorrect network configuration of the device.
[0129] If the fault still exists after eliminating the influence of all physical devices, it should be considered that it is caused by the device performance not meeting the requirements of the current application scenario. For example, the original terminal device cannot transmit the data required to be transmitted in the industrial process; the response time of the terminal device cannot be coupled with the delay state under the current network; the device cannot stably transmit data for a long time and in large quantities; the data transmission frequency required by the industrial application scenario is higher than the data transmission frequency supported by the terminal device; the terminal device does not support or supports but low-precision time synchronization, resulting in the failure of multi-device collaborative operation in the industrial scenario. Therefore, a simulated local area network is constructed through a 5G industrial application simulator (the simulated local area network has the ability to deeply simulate the current 5G industrial application scenario, and can completely reproduce the network usage status to determine that when the network environment supports the current industrial application scenario, the insufficient capacity or lack of function of the device hinders the complete industrial process), by configuring business data, and conducting simulation tests in the simulated local area network based on business data, according to the 5G industrial application fault diagnosis decision tree and simulation test results.
[0130] If the above fault causes of terminal fault types occur, corresponding repair measures can be taken according to the results of troubleshooting. For example, replace damaged hardware components, update the operating system or application software, adjust the network configuration, etc. In the field of industrial applications, equipment failure usually requires contacting the equipment manufacturer for professional repair, and immigration introduces unknown and unpredictable new faults.
[0131] Among them, Figure 3As shown in the figure, the 5G industrial application fault diagnosis decision tree is a model that applies the decision tree logic architecture to the field of network fault diagnosis. It predicts or classifies data by recursively splitting features and constructing a tree-like structure. In locating the cause of the fault, the 5G industrial application fault diagnosis decision tree can help quickly locate and solve the fault. The 5G industrial application fault diagnosis decision tree includes a root node, internal nodes, and leaf nodes. The root node represents the starting point of network fault diagnosis and usually contains some basic network status information, such as network connection status, network adapter status, etc. The internal node represents a further judgment of the network fault characteristics. Each internal node divides the data into different subsets according to specific conditions (such as IP address configuration, network adapter settings, etc.). The leaf node represents the possible cause or solution of the network failure, and each leaf node corresponds to a specific network failure condition.
[0132] In step 104, the 5G industrial application fault diagnosis decision tree is used as the overall decision guide. Through the operation methods marked in the tree and all the devices in the 5G industrial application scenario as a reference for judgment, the fault scope can be quickly located. Different diagnostic measures can also be taken according to different sub-nodes and leaf nodes.
[0133] In addition, the 5G industrial application fault location method provided in this embodiment uses a 5G industrial application simulator to efficiently and imperceptibly locate the fault location, providing a practical reference for the next steps and improvements.
[0134] The 5G industrial application fault location method provided in this embodiment is a fault location method based on high-precision time synchronization between devices in a local area network. The implementation process of the method provided in this embodiment is described again below:
[0135] 1. Configure the code accordingly.
[0136] For example, the configurable items in the C language source code are configured accordingly (data packet size, sending interval, NTP time synchronization frequency) according to the corresponding test conditions.
[0137] 2. After the fault occurs, implant a 5G industrial application simulator in the SIM card in the 5G industrial application scenario. After the 5G module in the 5G industrial application simulator takes effect, confirm whether the 5G port successfully obtains the IP.
[0138] For example, confirm that all simulators participating in the test can successfully access the 5G private network, and then use the ping command to verify that all simulators can communicate with each other through the 5G private network. If all are confirmed to be successful, use ntpdate <client IP> to verify that NTP synchronization can run normally on both server ends (except for two-way delay test).
[0139] 3. If the IP is successfully obtained, send a ping command to the preset IP in the core network through the 5G industrial application simulator.
[0140] 4. If the IP is not obtained successfully, or the ping command fails to be sent, or the ping command is sent successfully but there is no echo, or the ping command is sent successfully but the echo packet loss rate is 100%, determine whether all devices have network access problems. If all devices have network access problems, locate the cause of the fault based on the 5G industrial application fault diagnosis decision tree and the device status in the 5G network corresponding to the 5G industrial application scenario. If not all devices have network access problems, locate the cause of the fault based on the 5G industrial application fault diagnosis decision tree and the configuration and SIM card unbinding status of the faulty device with the fault type being a network fault.
[0141] 5. If the ping command is sent successfully but is unstable, and the echo packet loss rate is within the range of [preset packet loss rate threshold, 100%), then in the area, check the interference source according to the 5G industrial application fault diagnosis decision tree, and locate the cause of the fault based on the troubleshooting results.
[0142] 6. If the ping command is sent successfully and stably, and the echo packet loss rate is within the interval [0%, preset packet loss rate threshold), when the fault types of all faulty devices in the 5G industrial application scenario are terminal fault types, a simulated local area network is constructed through the 5G industrial application simulator, business data is configured, and simulation tests are performed in the simulated local area network based on the business data. The cause of the fault is located according to the 5G industrial application fault diagnosis decision tree and the simulation test results.
[0143] In addition, in the process of executing the 5G industrial application fault locating method provided in this embodiment, the analysis process of the relevant data may be:
[0144] For example, the analysis of two-way delay, one-way delay, maximum value, minimum value, average value, jitter value, packet loss rate, etc. can be used to determine whether there is a maximum value point in the current network through the maximum value. By comparing it with the average value and the minimum value, if there is an order of magnitude difference with the maximum value, it means that the network state is unstable during network transmission, resulting in congestion or signal loss during transmission, causing individual data packets to freeze and wait during transmission. The average value can reflect the general performance status of the current 5G industrial application network, and it can be used to determine whether the current network meets the needs of industrial scenarios. The minimum value not only reflects the best state of the current network, but also can be used to determine whether the current test data is credible. For example, if the minimum value is less than 5ms after testing in a network environment with a networking target delay of 15ms, it should be suspected that the current test data is incorrect or the test execution process is wrong, resulting in test failure.
[0145] You can also analyze data through the driving display of the map, such as Figure 4 The latency data graph shown in the figure can more intuitively show the time when the network problem occurs and the problem status.
[0146] Depend on Figure 4 It can be seen that there are a large number of abnormal data points between 3500-4000 data points, which means that there is a sudden network congestion at this point, indicating that the current network is unstable. However, this phenomenon only occurred once in 10,000 tests, which shows that this phenomenon is a special case and not a periodic phenomenon. If you want to dig deeper, you can perform multiple groups of tests, or configure 100,000 tests for the next step.
[0147] like Figure 5 The jitter line graph of the synchronization accuracy value shown in the figure shows that the data are mirror-symmetric with y=0 as the center, indicating that the jitter is relatively convergent, which is in line with the expected results. However, there are three large jitters, indicating that the signal is unstable, which may be caused by model interference.
[0148] Figure 6 The normal distribution diagram of synchronization accuracy value is shown. This diagram shows the distribution of synchronization accuracy value in a pictographic way, and can clearly show the concentration point of synchronization accuracy value and the weight of each part value. It can help users quickly draw diagnostic conclusions. As shown in the current figure, the data is distributed in a mirror-symmetrical manner around the far point, and the data volume is the largest at the origin; the weight is the highest, which means that the synchronization effect of the current network environment is good, the interference between each channel is low, and the network resource distribution is relatively uniform.
[0149] In addition, after executing step 104 and locating the faulty device and the fault type based on the confirmation result of whether the 5G port successfully obtains the IP, if there is a faulty device of the network fault type, the 5G industrial application fault locating method provided in this embodiment will also confirm the status of the equipment involved in the fault, which can appear in the form of a faulty subnet.
[0150] Among them, the fault subnet includes all faulty devices in the 5G network corresponding to the 5G industrial application scenario and the communication connection relationships between them.
[0151] The fault subnet can assist relevant personnel in subsequent work such as fault repair.
[0152] The process of determining the faulty subnet is as follows:
[0153] 201. If there is a faulty device of the network fault type, obtain the operating indicator value of each device in the 5G network corresponding to the 5G industrial application scenario.
[0154] The operating indicators here are pre-set, and the operating indicators of different devices can be the same or different, depending on the purpose of the device, etc., and are not limited here.
[0155] Operational indicators such as bandwidth, latency, etc.
[0156] 202, determine the faulty subnet according to the operating indicator value and the device-indicator topology diagram.
[0157] The device-indicator topology graph is composed of the device topology sub-graph and the indicator topology sub-graph. Figure 7 As shown, the white circles constitute the device topology subgraph, and the black circles constitute the indicator topology subgraph.
[0158] 1. Device topology sub-map
[0159] The device topology sub-map is the topology map of the 5G network.
[0160] Each point in the device topology subgraph uniquely corresponds to a device in the 5G network. If there is a communication connection between two devices in the 5G network, there is an edge between the two corresponding points in the device topology subgraph.
[0161] If there are five devices in the 5G network, namely device 1, device 2, device 3, device 4 and device 5, then the device topology subgraph is as follows: Figure 7 As shown, device 1 corresponds to point 1, device 2 corresponds to point 2, device 3 corresponds to point 3, device 4 corresponds to point 4, and device 5 corresponds to point 5. If there is a communication connection between device 2 and device 3, then there is an edge between point 2 and point 3. If there is a communication connection between device 3 and device 4, then there is an edge between point 3 and point 4. If there is a communication connection between device 4 and device 5, then there is an edge between point 4 and point 5.
[0162] Each point in the device topology submap has point attributes, and the point attribute value
[0163] Among them, i1 is the point identifier in the device topology sub-map, is the point attribute of point i1 in the device topology subgraph, trd is the sum of the downlink and uplink data volumes of the device corresponding to point i1 in the device topology subgraph within the preset time period. 1 It is the sum of the downlink and uplink data volumes of all devices in the 5G network within a preset time period. is the duration that the device corresponding to point i1 in the device topology subgraph is in a fault state within the preset time period, and ΔT is the duration of the preset time period.
[0164] For example, for Figure 7Any point (point 1) in the device topology subgraph shown, then i1 is point 1, then the point attribute of point 1 is Among them, trd 点1 is the sum of all uplink data and downlink data of device 1 within a preset time period (e.g., one month), trd 1 It is the sum of all uplink and downlink data volumes of device 1 in one month + the sum of all uplink and downlink data volumes of device 2 in one month + the sum of all uplink and downlink data volumes of device 3 in one month + the sum of all uplink and downlink data volumes of device 4 in one month + the sum of all uplink and downlink data volumes of device 5 in one month. 点1 The duration that device 1 is in a fault state within a month is the sum of the fault times of all faults within a month. The fault time of any fault is the time between the occurrence of the fault and the recovery of the fault. ΔT is one month.
[0165] In this way, the point attributes represent the traffic and fault conditions of the corresponding device in the 5G network. It represents the traffic situation. The larger the value is, the more data the device corresponding to the point sends and receives in the network, and the more important it is in the network. Characterizes the fault condition. The larger the value, the longer the fault time of the device corresponding to the point is, and the more likely the device is to fail. It represents the probability that the equipment is not prone to failure, that is, the health of the equipment. The larger the value, the healthier the device. The value of the equipment is represented by the importance and health status of the corresponding equipment. The more important and healthier the equipment, the greater its value.
[0166] Each edge in the device topology subgraph has an edge attribute, and the edge attribute value
[0167] Where j1 is the edge identifier in the device topology subgraph, is the edge attribute of edge j1 in the device topology subgraph, j1(1) and j1(2) are the two points connected by edge j1, is the total amount of data interacted between the devices corresponding to point j1(1) and point j1(2) in the device topology subgraph within a preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(1) in the device topology subgraph within the preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(2) in the device topology subgraph within a preset time period, ε0 is a preset minimum value (used to avoid the edge attribute being 0), and max{·} is the maximum value function.
[0168] For example, for Figure 7 Any edge (edge 1) in the device topology subgraph shown, then j1 is edge 1, and edge 1 connects point 2 and point 3. If j1(1) is point 2 and j1(2) is point 3, then the edge attribute of edge 1 is Among them, trd 点2-点3 It is the sum of the amount of data sent from point 2 to point 3 and the amount of data sent from point 3 to point 2 within a preset time period (such as one month). 点2 is the sum of all uplink data and downlink data of device 2 within a preset time period (e.g., one month), trd 点3 It is the sum of all uplink data volume and downlink data volume of device 2 within a preset time period (such as one month), and ε0 is a preset minimum value (used to avoid the edge attribute being 0, because as long as a communication connection is established, there must be a demand for interactive data between the two. Although there is no interaction within the preset time, it does not mean that there is no such demand. Therefore, a minimum value ε0 is assigned to represent this situation).
[0169] In this way, the edge attribute represents the importance of the edge to the two connected points. It represents the ratio of the traffic between the device corresponding to point j1(1) and the device corresponding to point j1(2) to the total traffic of the device corresponding to point j1(1). The larger the value, the more data interaction there is between the device corresponding to point j1(1) and the device corresponding to point j1(2), and the more important the device corresponding to point j1(2) is to the device corresponding to point j1(1). It represents the importance of the device corresponding to point j1(1) to the device corresponding to point j1(2). The largest of them is taken as the edge weight of the edge, so that the edge attribute represents the importance of the edge to the two connected points.
[0170] 2. Indicator topology subgraph
[0171] The indicator topology subgraph is constructed based on the running indicators.
[0172] Each point in the indicator topology subgraph uniquely corresponds to an operating indicator. If there is an association relationship between two operating indicators (the association relationship is pre-configured by relevant personnel), there is an edge between the two corresponding points in the indicator topology subgraph.
[0173] The operating index here is the union of all operating indexes, that is, the operating indexes of all devices correspond to a point in the index topology subgraph, but it does not mean that each device needs to obtain its index value in step 201.
[0174] For example, in step 201, device 1 obtains the index value of index D, device 2 does not obtain the index value, device 3 obtains the index value of index D, device 4 obtains the index values of index A and index B, and device 4 obtains the index values of index A, index B, and index C. There are four indicators involved, namely index A, index B, index C, and index D. The index topology subgraph is as follows: Figure 7 As shown, indicator A corresponds to point A, indicator B corresponds to point B, indicator C corresponds to point C, and indicator D corresponds to point D. If there is an association relationship between indicator A and indicator B, then there is an edge between indicator A and indicator B.
[0175] Each point in the indicator topology subgraph has a point attribute, and the point attribute value of any point i2 is the preset weight of the indicator corresponding to point i2 in the indicator topology subgraph (the weight is pre-configured by relevant personnel, and the value represents the effect of the indicator corresponding to the point on fault location. The higher the value, the greater the effect). i2 is the point identifier in the indicator topology subgraph.
[0176] Each edge in the indicator topology subgraph has an edge attribute, and the edge attribute value of any edge j2 It is the preset correlation between the indicators corresponding to the two points connected by edge j2 (the weight is pre-configured by relevant personnel, and the value represents the correlation between the two indicators. The larger the value, the higher the correlation, and the greater the possibility that one is abnormal and the other is also abnormal). j2 is the edge identifier in the indicator topology subgraph.
[0177] The implementation process of step 202 is:
[0178] 1. According to the operating index value of each device, determine the degree of abnormality between each device and the corresponding operating index.
[0179] Among them, if the operating index value of any operating index of any device meets the normal condition, the abnormality degree between any device and any operating index is 0, otherwise, the abnormality degree is 1.
[0180] Before the 5G industrial application fault location method provided in this embodiment, the normal value of each indicator (or the interval in which the normal value is located) will be set by relevant personnel. For any device (such as device 4), if in step 201, the value of indicator A of device 4 is a normal value (or is within the interval in which the normal value is located), then it is determined that the indicator value of indicator A of device 4 meets the normal condition and the abnormality degree is 0. If in step 201, the value of indicator B of device 4 is an abnormal value (or is outside the interval in which the normal value is located), then it is determined that the indicator value of indicator B of device 4 does not meet the normal condition and the abnormality degree is 1.
[0181] 2. In the device-index topology diagram, establish the fault edge between the corresponding point of each device and the corresponding point of its operating index.
[0182] Among them, the fault edge has edge attributes, and the edge attribute value of any fault edge j3 It is the abnormality degree between the device corresponding to the point in the device topology subgraph connected by the fault edge j2 and the operating index corresponding to the changed point in the index topology subgraph, and j3 is the fault edge identifier.
[0183] like Figure 7 In the figure, the dashed edge is the fault edge, then the fault edges between point 4 and point A, point 4 and point B are established, and the fault edge between point 4 and point A (i.e. Figure 7 The edge attribute of edge A in is 0, and the fault edge between point 4 and point B (i.e. Figure 7 The edge attribute of edge B in is 1. (In order to make the subsequent steps clear, the other fault edges in Figure 7 Omitted and not shown).
[0184] 3. Determine the fault degree of each point in the device topology subgraph based on the edge attributes of the fault edge.
[0185] 1) For a fault point, its fault degree is determined as (the sum of the edge attribute values of all fault edges that exist + the sum of the abnormality degrees of the target edges of the fault point) / (the total number of points in the indicator topology subgraph + the sum of the edge attributes of all edges in the indicator topology subgraph).
[0186] Among them, the fault point is the point where there is a fault edge in the device topology subgraph.
[0187] The target edge is an edge in the indicator topology subgraph, and one of the two points connected by the target edge has a fault edge with the fault point and the edge attribute value of the fault edge is non-0, the other point has a fault edge with the fault point and the edge attribute value of the fault edge is 0, or the other point does not have a fault edge with the fault point.
[0188] That is to say, first, the target edge is the edge in the indicator topology subgraph, not the edge in the device topology subgraph or the fault edge. Based on this, the target edge must be the edge that connects two attribute corresponding points (such as Figure 7 Second, a point connected by the target edge (such as Figure 7 Point B in the device topology subgraph must be connected to a fault edge, that is, the point must be connected to a point in the device topology subgraph (such as Figure 7 4) in the target edge, and the edge attribute of the fault edge it is connected to is not 0, that is, the device corresponding to the point in the connected device topology subgraph has an abnormal indicator value corresponding to the indicator at this point. Finally, the other point connected by the target edge can be connected to a fault edge or not, such as Figure 7 Point C in the graph. If the other point connected to the target edge is connected to a fault edge, then the edge attribute value of the fault edge is 0, that is, the device corresponding to the point in the device topology subgraph connected to the fault edge has a normal indicator value at the point.
[0189] That is to say, the target edge is obtained from the fault edge. The indicator topology subgraph connected to all fault edges with non-0 edge attributes is expanded outward by one edge, and the points connected in the expanded edge are points in the indicator topology subgraph, or the points connected in the expanded edge are points in a device topology subgraph with normal indicator values. Then the included edge (that is, the expanded edge) is the target edge.
[0190] The abnormality degree of the target edge is the edge attribute value of the target edge × the average of the point attribute values of the two points connected by the target edge.
[0191] For example, at the fault point (point 4), the fault edges at point 4 are edge A and edge B, the edge attribute value of edge A is 0, and the edge attribute value of edge B is 1. Then the sum of the edge attribute values of all fault edges at point 4 is 0+1=1. The target edge of point 4 is edge C, and the abnormality of edge C is edge attribute value of edge C×(point attribute value of point B+point attribute value of point C) / 2. The total number of points in the indicator topology subgraph is 4, and the sum of the edge attributes of all edges in the indicator topology subgraph is the edge attribute of the edge between point A and point B+edge attribute of edge C. Therefore, the fault degree of point 4 is (1+sum of abnormality degrees of target edges of the fault point) / (4+sum of edge attributes of all edges in the indicator topology subgraph).
[0192] The fault degree characterizes the abnormal situation of the fault point.
[0193] 2) For a point in the device topology subgraph that does not have a fault edge, its fault degree is determined as the average of the fault degrees of all fault points that have direct or indirect edges with it.
[0194] For example, for point 2 in Table 7, there is no fault point with a direct edge to point 2 (that is, there is no edge directly connecting point 2 and a fault point), but there is a fault point with an indirect edge (that is, point 2 and the fault point are on the same link), that is, point 2 has an indirect edge to the fault point (point 4) through point 3, then the fault degree of point 2 is the average of the fault degrees of all fault points with direct or indirect edges to point 2 (because Figure 7 Among all the fault points that have direct or indirect edges with point 2, the only one is point 4, so the fault degree of point 2 is the fault degree of point 4).
[0195] The fault degree characterizes the abnormal situation that the point without fault edge may be affected by the fault point in the link.
[0196] 4. The points in the device topology submap whose fault degree is greater than the preset fault threshold are determined as the basic points.
[0197] Among them, the fault threshold is an empirical value, which can be determined by existing methods, such as a value obtained by analyzing a large amount of sample data through an intelligent analysis model.
[0198] The base point is a point of the device topology subgraph with a large fault degree, and the base point is considered to be the point where the fault occurs.
[0199] 5. Obtain the link starting from the base point in the device topology submap.
[0200] like Figure 7 In the example, the base point is point 4, so there are two links starting from point 4, namely: point 4-point 5, point 4-point 3-point 2.
[0201] 6. Determine the shear value of each edge in each link.
[0202] For any edge of any link u like As a basic point otherwise
[0203] u is the link identifier, is the edge identifier in link u, For edge The connected point closest to the starting point of any link u, For edge The point farthest from the starting point of any link u is connected. For point The failure rate, For point The failure rate, For point The weighted average of the edge attribute values between the starting point of any link u, For point The weighted average of the edge attribute values of the edges between any link u and the starting point, ε1 is the preset maximum value.
[0204] When weighted averaging is performed, the weight of any edge is the number of edges between the point of the edge far away from the starting point of the link and the starting point.
[0205] For example, for edge 2 from point 4 to point 5, then is edge 2, and the two points connected by edge 2 are point 4 and point 5. The point connected by edge 2 that is closest to the starting point of the link point 4-point 5 (that is, the point closest to point 4, which is point 4). The point connected by edge 2 is the farthest point from the starting point of the link point 4-point 5 (that is, the point farthest from point 4, which is point 5). ) is the base point, then the shear value C of edge 2 边2 =ω1, indicating that the edge belongs to the faulty subnet and should not be cut off.
[0206] For another example, for edge 3 from point 3 to point 2 in point 4-point 3-point 2, It is edge 3. The two points connected by edge 3 are point 3 and point 2. The point connected by edge 3 that is closest to the starting point of the link point 4-point 3-point 2 (that is, the point closest to point 4 is point 3). The point connected by edge 3 is the farthest point from the starting point of the link point 4-point 3-point 2 (that is, the point farthest from point 4, which is point 2). ) is a non-basic point, then the shear value C of edge 3 边3 =(fd 点3 +fd 点2 )×max{ne 点3 ,ne 点2}.
[0207] Among them, fd 点3 is the fault degree of point 3, fd 点2 is the fault degree of point 2. 点3 is the weighted average of the edge attribute values between point 4 and point 3, where the weight is the number of edges between the point (point 3) away from the starting point (point 4) of the link (point 4) and the starting point (point 4) of the edge (point 2) (the number of edges between point 4 and point 3 is 1). 点3 The edge attribute of edge 3 × 1. 点2 is the weighted average of the edge attribute values of the edge between point 4 and point 2. At this time, there are two edges, one is edge 1 and the other is edge 3. When weighted averaging, the weight of edge 1 is the number of edges between the point (point 2) far away from the starting point (point 4) of the link and the starting point (point 4) of the edge (i.e., edge 1) (i.e., the number of edges between point 4 and point 2 is 2). The weight of edge 3 is the number of edges between the point (point 3) far away from the starting point (point 4) of the link and the starting point (point 4) of the edge (i.e., edge 3) (i.e., the number of edges between point 4 and point 3 is 1). Therefore, ne 点2 It is (edge attribute of edge 3 × 1 + edge attribute of edge 1 × 2) / 2.
[0208] The cut value represents the possibility that the edge belongs to the faulty subnet. The larger the value, the greater the possibility.
[0209] 7. For each link starting from the starting point, the edge where the cutting value is less than the preset cutting threshold for the first time is determined as the cutting edge, and the point of the cutting edge closest to the starting point of the link is determined as the cutting end point of the link, and the link between the starting point and the cutting end point is used as the post-cutting link.
[0210] The clipping threshold is an empirical value and can be determined using existing methods, such as a value obtained by analyzing a large amount of sample data using an intelligent analysis model.
[0211] For example, for point 4-point 3-point 2, starting from point 4, check edge 3 and edge 1 in turn, and determine the edge where the cutting value is less than the preset cutting threshold for the first time as the cutting edge. If edge 1 is less than the preset cutting threshold first, then edge 1 is the cutting edge, and the point of edge 1 closest to the starting point of the link (i.e. point 4) (i.e. point 3) is determined as the cutting end point of the link, and the link between the starting point (i.e. point 4) and the cutting end point (i.e. point 3) (i.e. point 4-point 3) is the link after cutting.
[0212] This is because when an edge with a clipping value less than the preset clipping threshold appears for the first time, it means that the edge does not belong to the fault subnet, so the edge will be removed, that is, the points on the edge far from the starting point will not appear in the fault subnet, and the points close to the starting point will appear in the fault subnet.
[0213] 8. The network formed by all the cut links is identified as the faulty subnet.
[0214] In this way, the probability of fault occurrence will be high, and the points in the fault will be considered to constitute a fault subnet. The fault will provide a precise processing range for subsequent processing, effectively improving the accuracy and efficiency of subsequent processing.
[0215] The method provided in this embodiment can efficiently locate 5G industrial application faults in the industrial field. For example, when a problem occurs in a 5G industrial application deployed in a factory, the 5G industrial application fault location method provided in this embodiment can be implemented based on the basic principle of not affecting the normal operation of the factory and not causing unnecessary economic losses to the factory. It is not allowed to directly connect the diagnostic equipment to the production line process or control the production line equipment as a network terminal for idling operation for the purpose of network diagnosis.
[0216] The 5G industrial application fault location method provided in this embodiment, after a fault occurs, a 5G industrial application simulator is implanted in the SIM card in the 5G industrial application scenario; after the 5G module in the 5G industrial application simulator takes effect, it is confirmed whether the 5G port successfully obtains the IP; based on the confirmation result of whether the 5G port successfully obtains the IP, the faulty device and the fault type are located; based on the faulty device and the fault type, the cause of the fault is located according to the 5G industrial application fault diagnosis decision tree. This method is based on the 5G industrial application fault diagnosis decision tree, combined with the 5G industrial application simulator to locate the 5G industrial application fault, and can realize the automatic and accurate location of the 5G industrial application fault.
[0217] Based on the same inventive concept of the 5G industrial application fault location method, this embodiment provides a 5G industrial application fault location device, such as Figure 8 As shown, the device comprises:
[0218] The processing module 801 is used to implant a 5G industrial application simulator into a SIM card in a 5G industrial application scenario after a fault occurs;
[0219] A confirmation module 802 is used to confirm whether the 5G port successfully obtains the IP after the 5G module in the 5G industrial application simulator takes effect;
[0220] The first positioning module 803 is used to locate the faulty device and the fault type according to the confirmation result of whether the 5G port successfully obtains the IP;
[0221] The second positioning module 804 is used to locate the cause of the fault based on the faulty device and the fault type according to the 5G industrial application fault diagnosis decision tree.
[0222] Among them, the first positioning module 803 is used to send a ping command to the preset IP in the core network through the 5G industrial application simulator if the confirmation result is that the 5G port successfully obtains the IP.
[0223] The device where the 5G industrial application simulator that meets the network fault condition is located is located as a faulty device, and the fault type is a network fault type. The network fault condition is that the confirmation result is that the 5G port fails to obtain an IP, or the ping command fails to be sent, or the ping command is sent successfully but there is no echo, or the ping command is sent successfully but the echo packet loss rate is 100%.
[0224] The device where the 5G industrial application simulator that meets the interference fault condition is located is located as a faulty device, and the fault type is an interference fault type. Among them, the interference fault condition is that the ping command is sent successfully but unstable, and the echo packet loss rate is within the interval [preset packet loss rate threshold, 100%).
[0225] The device where the 5G industrial application simulator that meets the terminal fault condition is located is located as a faulty device, and the fault type is a terminal fault type. The terminal fault condition is that the ping command is sent successfully and stably, and at the same time, the echo packet loss rate is within the interval [0%, preset packet loss rate threshold).
[0226] Among them, the second positioning module 804 is used for locating the cause of the fault for the faulty device whose fault type is a network fault type, according to the 5G industrial application fault diagnosis decision tree and the device status in the 5G network corresponding to the 5G industrial application scenario when the fault type of all faulty devices in the 5G industrial application scenario is a network fault type. Otherwise, the cause of the fault is located according to the 5G industrial application fault diagnosis decision tree and the configuration and SIM card unbinding status of the faulty device whose fault type is a network fault type.
[0227] For faulty equipment with interference fault type, in the area where the faulty equipment with interference fault type is located, check the interference source according to the 5G industrial application fault diagnosis decision tree, and locate the cause of the fault based on the checking results.
[0228] When the fault types of all faulty devices in the 5G industrial application scenario are terminal fault types, a simulated local area network is built through the 5G industrial application simulator, business data is configured, and simulation tests are performed in the simulated local area network based on the business data. The cause of the fault is located according to the 5G industrial application fault diagnosis decision tree and simulation test results.
[0229] Among them, the 5G industrial application simulator follows the network time protocol for time calibration.
[0230] The device further includes: a subnet generation module, which is used to obtain the operating index value of each device in the 5G network corresponding to the 5G industrial application scenario if there is a faulty device of the network fault type. According to the operating index value and the device-index topology map, the faulty subnet is determined.
[0231] The device-indicator topology graph is composed of a device topology subgraph and an indicator topology subgraph.
[0232] The device topology subgraph is the topology graph of the 5G network. Each point in the device topology subgraph uniquely corresponds to a device in the 5G network. If there is a communication connection between two devices in the 5G network, there is an edge between the two corresponding points in the device topology subgraph. Each point in the device topology subgraph has point attributes, and the point attribute value i1 is the point identifier in the device topology sub-map, is the point attribute of point i1 in the device topology subgraph, trd is the sum of the downlink and uplink data volumes of the device corresponding to point i1 in the device topology subgraph within the preset time period. 1 It is the sum of the downlink and uplink data volumes of all devices in the 5G network within a preset time period. is the duration of the device corresponding to point i1 in the device topology subgraph in the preset time period that is in a fault state, and ΔT is the duration of the preset time period. Each edge in the device topology subgraph has an edge attribute, and the edge attribute value j1 is the edge identifier in the device topology subgraph, is the edge attribute of edge j1 in the device topology subgraph, j1(1) and j1(2) are the two points connected by edge j1, is the total amount of data interacted between the devices corresponding to point j1(1) and point j1(2) in the device topology subgraph within a preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(1) in the device topology subgraph within the preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(2) in the device topology subgraph within a preset time period, ε0 is the preset minimum value, and max{·} is the maximum value function.
[0233] The indicator topology subgraph is constructed based on the running indicators. Each point in the indicator topology subgraph uniquely corresponds to one running indicator. If there is a correlation between two running indicators, there is an edge between the two corresponding points in the indicator topology subgraph. Each point in the indicator topology subgraph has point attributes, and the point attribute value of any point i2 is the preset weight of the indicator corresponding to point i2 in the indicator topology subgraph, and i2 is the point identifier in the indicator topology subgraph. Each edge in the indicator topology subgraph has an edge attribute, and the edge attribute value of any edge j2 is It is the preset correlation degree between the indicators corresponding to the two points connected by edge j2, and j2 is the edge identifier in the indicator topology subgraph.
[0234] Among them, according to the operation index value and the device-index topology diagram, the fault subnet is determined, including:
[0235] According to the operation index value of each device, the abnormality degree between each device and the corresponding operation index is determined. If the operation index value of any operation index of any device meets the normal condition, the abnormality degree between any device and any operation index is 0, otherwise, the abnormality degree is 1.
[0236] In the device-index topology graph, establish the fault edge between the corresponding point of each device and the corresponding point of its operating index. Among them, the fault edge has edge attributes, and the edge attribute value of any fault edge j3 It is the abnormality degree between the device corresponding to the point in the device topology subgraph connected by the fault edge j2 and the operating index corresponding to the changed point in the index topology subgraph, and j3 is the fault edge identifier.
[0237] The fault degree of each point in the device topology subgraph is determined according to the edge attributes of the fault edge.
[0238] The points in the device topology sub-map whose fault degree is greater than a preset fault threshold are determined as basic points.
[0239] Get the link starting from the base point in the device topology submap.
[0240] Determine the shear value of each edge in each link. like As a basic point otherwise u is the link identifier, is the edge identifier in link u, For edge The connected point closest to the starting point of any link u, For edge The point farthest from the starting point of any link u is connected. For point The failure rate, For point The failure rate, For point The weighted average of the edge attribute values between the starting point of any link u, For point The weighted average of the edge attribute values of the edges between any link u and the starting point, ε1 is the preset maximum value.
[0241] For each link starting from the starting point, the edge where the cutting value is less than the preset cutting threshold for the first time is determined as the cutting edge, and the point of the cutting edge closest to the starting point of the link is determined as the cutting end point of the link, and the link between the starting point and the cutting end point is used as the post-cut link.
[0242] The network formed by all the cut links is determined as the faulty subnet.
[0243] The fault degree of each point in the device topology subgraph is determined according to the edge attribute of the fault edge, including:
[0244] For a fault point, its fault degree is determined as (the sum of the edge attribute values of all fault edges + the sum of the abnormality of the target edge of the fault point) / (the total number of points in the indicator topology subgraph + the sum of the edge attributes of all edges in the indicator topology subgraph). Among them, the fault point is a point in the device topology subgraph with a fault edge. The target edge is an edge in the indicator topology subgraph, and one of the two points connected by the target edge has a fault edge with the fault point and the edge attribute value of the fault edge is non-0, the other point has a fault edge with the fault point and the edge attribute value of the fault edge is 0, or the other point does not have a fault edge with the fault point. The abnormality of the target edge is the edge attribute value of the target edge × the average of the point attribute values of the two points connected by the target edge.
[0245] For a point in the device topology subgraph that does not have a fault edge, its fault degree is determined as the average of the fault degrees of all fault points that have direct or indirect edges with it.
[0246] The device provided in this embodiment is based on the 5G industrial application fault diagnosis decision tree, and is combined with a 5G industrial application simulator to locate 5G industrial application faults, thereby realizing automatic and accurate positioning of 5G industrial application faults.
[0247] Based on the same inventive concept of the 5G industrial application fault location method, this embodiment provides an electronic device, such as Fig. 9As shown, it includes: a memory 901, a processor 902, and a computer program.
[0248] Among them, the computer program is stored in the memory 901 and is configured to be executed by the processor 902 to implement the above-mentioned 5G industrial application fault location method.
[0249] Specifically,
[0250] After a fault occurs, a 5G industrial application simulator is implanted in the SIM card in the 5G industrial application scenario.
[0251] After the 5G module in the 5G industrial application simulator takes effect, confirm whether the 5G port successfully obtains the IP.
[0252] Based on the confirmation result of whether the 5G port successfully obtains the IP address, locate the faulty device and fault type.
[0253] Based on the faulty equipment and fault type, locate the fault cause according to the 5G industrial application fault diagnosis decision tree.
[0254] Optionally, based on the confirmation result of whether the 5G port successfully obtains the IP address, locate the faulty device and the fault type, including:
[0255] If the confirmation result is that the 5G port successfully obtains the IP, a ping command is sent to the preset IP in the core network through the 5G industrial application simulator.
[0256] The device where the 5G industrial application simulator that meets the network fault condition is located is located as a faulty device, and the fault type is a network fault type. The network fault condition is that the confirmation result is that the 5G port fails to obtain an IP, or the ping command fails to be sent, or the ping command is sent successfully but there is no echo, or the ping command is sent successfully but the echo packet loss rate is 100%.
[0257] The device where the 5G industrial application simulator that meets the interference fault condition is located is located as a faulty device, and the fault type is an interference fault type. Among them, the interference fault condition is that the ping command is sent successfully but unstable, and the echo packet loss rate is within the interval [preset packet loss rate threshold, 100%).
[0258] The device where the 5G industrial application simulator that meets the terminal fault condition is located is located as a faulty device, and the fault type is a terminal fault type. The terminal fault condition is that the ping command is sent successfully and stably, and at the same time, the echo packet loss rate is within the interval [0%, preset packet loss rate threshold).
[0259] Optionally, based on the faulty device and fault type, locate the fault cause according to the 5G industrial application fault diagnosis decision tree, including:
[0260] For faulty devices with network fault types, when the fault types of all faulty devices in the 5G industrial application scenario are network fault types, locate the fault cause based on the 5G industrial application fault diagnosis decision tree and the device status in the 5G network corresponding to the 5G industrial application scenario. Otherwise, locate the fault cause based on the 5G industrial application fault diagnosis decision tree and the configuration and SIM card unbinding status of the faulty device with network fault types.
[0261] For faulty equipment with interference fault type, in the area where the faulty equipment with interference fault type is located, check the interference source according to the 5G industrial application fault diagnosis decision tree, and locate the cause of the fault based on the checking results.
[0262] When the fault types of all faulty devices in the 5G industrial application scenario are terminal fault types, a simulated local area network is built through the 5G industrial application simulator, business data is configured, and simulation tests are performed in the simulated local area network based on the business data. The cause of the fault is located according to the 5G industrial application fault diagnosis decision tree and simulation test results.
[0263] Optionally, the 5G industrial application simulator follows the network time protocol for time calibration.
[0264] Optionally, according to the confirmation result of whether the 5G port successfully obtains the IP, after locating the faulty device and the fault type, the following is further included:
[0265] If there is a faulty device of the network fault type, obtain the operating indicator value of each device in the 5G network corresponding to the 5G industrial application scenario.
[0266] Determine the faulty subnet based on the operating indicator values and the device-indicator topology diagram.
[0267] The device-indicator topology graph is composed of a device topology subgraph and an indicator topology subgraph.
[0268] The device topology subgraph is the topology graph of the 5G network. Each point in the device topology subgraph uniquely corresponds to a device in the 5G network. If there is a communication connection between two devices in the 5G network, there is an edge between the two corresponding points in the device topology subgraph. Each point in the device topology subgraph has point attributes, and the point attribute value i1 is the point identifier in the device topology sub-map, is the point attribute of point i1 in the device topology subgraph, trd is the sum of the downlink and uplink data volumes of the device corresponding to point i1 in the device topology subgraph within the preset time period. 1 It is the sum of the downlink and uplink data volumes of all devices in the 5G network within a preset time period. is the duration of the device corresponding to point i1 in the device topology subgraph in the preset time period that is in a fault state, and ΔT is the duration of the preset time period. Each edge in the device topology subgraph has an edge attribute, and the edge attribute value j1 is the edge identifier in the device topology subgraph, is the edge attribute of edge j1 in the device topology subgraph, j1(1) and j1(2) are the two points connected by edge j1, is the total amount of data interacted between the devices corresponding to point j1(1) and point j1(2) in the device topology subgraph within a preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(1) in the device topology subgraph within the preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(2) in the device topology subgraph within a preset time period, ε0 is the preset minimum value, and max{·} is the maximum value function.
[0269] The indicator topology subgraph is constructed based on the running indicators. Each point in the indicator topology subgraph uniquely corresponds to one running indicator. If there is a correlation between two running indicators, there is an edge between the two corresponding points in the indicator topology subgraph. Each point in the indicator topology subgraph has point attributes, and the point attribute value of any point i2 is the preset weight of the indicator corresponding to point i2 in the indicator topology subgraph, and i2 is the point identifier in the indicator topology subgraph. Each edge in the indicator topology subgraph has an edge attribute, and the edge attribute value of any edge j2 is It is the preset correlation degree between the indicators corresponding to the two points connected by edge j2, and j2 is the edge identifier in the indicator topology subgraph.
[0270] Optionally, the faulty subnet is determined based on the operating indicator value and the device-indicator topology diagram, including:
[0271] According to the operation index value of each device, the abnormality degree between each device and the corresponding operation index is determined. If the operation index value of any operation index of any device meets the normal condition, the abnormality degree between any device and any operation index is 0, otherwise, the abnormality degree is 1.
[0272] In the device-index topology graph, establish the fault edge between the corresponding point of each device and the corresponding point of its operating index. Among them, the fault edge has edge attributes, and the edge attribute value of any fault edge j3 It is the abnormality degree between the device corresponding to the point in the device topology subgraph connected by the fault edge j2 and the operating index corresponding to the changed point in the index topology subgraph, and j3 is the fault edge identifier.
[0273] The fault degree of each point in the device topology subgraph is determined according to the edge attributes of the fault edge.
[0274] The points in the device topology sub-map whose fault degree is greater than a preset fault threshold are determined as basic points.
[0275] Get the link starting from the base point in the device topology submap.
[0276] Determine the shear value of each edge in each link. like As a basic point otherwise u is the link identifier, is the edge identifier in link u, For edge The connected point closest to the starting point of any link u, For edge The point farthest from the starting point of any link u is connected. For point The failure rate, For point The failure rate, For point The weighted average of the edge attribute values between the starting point of any link u, For point The weighted average of the edge attribute values of the edges between any link u and the starting point, ε1 is the preset maximum value.
[0277] For each link starting from the starting point, the edge where the cutting value is less than the preset cutting threshold for the first time is determined as the cutting edge, and the point of the cutting edge closest to the starting point of the link is determined as the cutting end point of the link, and the link between the starting point and the cutting end point is used as the post-cut link.
[0278] The network formed by all the cut links is determined as the faulty subnet.
[0279] Optionally, determining the fault degree of each point in the device topology subgraph according to the edge attribute of the fault edge includes:
[0280] For a fault point, its fault degree is determined as (the sum of the edge attribute values of all fault edges + the sum of the abnormality of the target edge of the fault point) / (the total number of points in the indicator topology subgraph + the sum of the edge attributes of all edges in the indicator topology subgraph). Among them, the fault point is a point in the device topology subgraph with a fault edge. The target edge is an edge in the indicator topology subgraph, and one of the two points connected by the target edge has a fault edge with the fault point and the edge attribute value of the fault edge is non-0, the other point has a fault edge with the fault point and the edge attribute value of the fault edge is 0, or the other point does not have a fault edge with the fault point. The abnormality of the target edge is the edge attribute value of the target edge × the average of the point attribute values of the two points connected by the target edge.
[0281] For a point in the device topology subgraph that does not have a fault edge, its fault degree is determined as the average of the fault degrees of all fault points that have direct or indirect edges with it.
[0282] The electronic device provided in this embodiment, on which the computer program is executed by the processor based on the 5G industrial application fault diagnosis decision tree, combined with the 5G industrial application simulator to locate the 5G industrial application fault, can realize the automatic and accurate positioning of the 5G industrial application fault.
[0283] Based on the same inventive concept of the 5G industrial application fault location method, this embodiment provides a computer-readable storage medium, and a computer program is stored thereon. The computer program is executed by a processor to implement the above-mentioned 5G industrial application fault location method.
[0284] Specifically,
[0285] After a fault occurs, a 5G industrial application simulator is implanted in the SIM card in the 5G industrial application scenario.
[0286] After the 5G module in the 5G industrial application simulator takes effect, confirm whether the 5G port successfully obtains the IP.
[0287] Based on the confirmation result of whether the 5G port successfully obtains the IP address, locate the faulty device and fault type.
[0288] Based on the faulty equipment and fault type, locate the fault cause according to the 5G industrial application fault diagnosis decision tree.
[0289] Optionally, based on the confirmation result of whether the 5G port successfully obtains the IP address, locate the faulty device and the fault type, including:
[0290] If the confirmation result is that the 5G port successfully obtains the IP, a ping command is sent to the preset IP in the core network through the 5G industrial application simulator.
[0291] The device where the 5G industrial application simulator that meets the network fault condition is located is located as a faulty device, and the fault type is a network fault type. The network fault condition is that the confirmation result is that the 5G port fails to obtain an IP, or the ping command fails to be sent, or the ping command is sent successfully but there is no echo, or the ping command is sent successfully but the echo packet loss rate is 100%.
[0292] The device where the 5G industrial application simulator that meets the interference fault condition is located is located as a faulty device, and the fault type is an interference fault type. Among them, the interference fault condition is that the ping command is sent successfully but unstable, and the echo packet loss rate is within the interval [preset packet loss rate threshold, 100%).
[0293] The device where the 5G industrial application simulator that meets the terminal fault condition is located is located as a faulty device, and the fault type is a terminal fault type. The terminal fault condition is that the ping command is sent successfully and stably, and at the same time, the echo packet loss rate is within the interval [0%, preset packet loss rate threshold).
[0294] Optionally, based on the faulty device and fault type, locate the fault cause according to the 5G industrial application fault diagnosis decision tree, including:
[0295] For faulty devices with network fault types, when the fault types of all faulty devices in the 5G industrial application scenario are network fault types, locate the fault cause based on the 5G industrial application fault diagnosis decision tree and the device status in the 5G network corresponding to the 5G industrial application scenario. Otherwise, locate the fault cause based on the 5G industrial application fault diagnosis decision tree and the configuration and SIM card unbinding status of the faulty device with network fault types.
[0296] For faulty equipment with interference fault type, in the area where the faulty equipment with interference fault type is located, check the interference source according to the 5G industrial application fault diagnosis decision tree, and locate the cause of the fault based on the checking results.
[0297] When the fault types of all faulty devices in the 5G industrial application scenario are terminal fault types, a simulated local area network is built through the 5G industrial application simulator, business data is configured, and simulation tests are performed in the simulated local area network based on the business data. The cause of the fault is located according to the 5G industrial application fault diagnosis decision tree and simulation test results.
[0298] Optionally, the 5G industrial application simulator follows the network time protocol for time calibration.
[0299] Optionally, according to the confirmation result of whether the 5G port successfully obtains the IP, after locating the faulty device and the fault type, the following is further included:
[0300] If there is a faulty device of the network fault type, obtain the operating indicator value of each device in the 5G network corresponding to the 5G industrial application scenario.
[0301] Determine the faulty subnet based on the operating indicator values and the device-indicator topology diagram.
[0302] The device-indicator topology graph is composed of a device topology subgraph and an indicator topology subgraph.
[0303] The device topology subgraph is the topology graph of the 5G network. Each point in the device topology subgraph uniquely corresponds to a device in the 5G network. If there is a communication connection between two devices in the 5G network, there is an edge between the two corresponding points in the device topology subgraph. Each point in the device topology subgraph has point attributes, and the point attribute value i1 is the point identifier in the device topology sub-map, is the point attribute of point i1 in the device topology subgraph, trd is the sum of the downlink and uplink data volumes of the device corresponding to point i1 in the device topology subgraph within the preset time period. 1 It is the sum of the downlink and uplink data volumes of all devices in the 5G network within a preset time period. is the duration of the device corresponding to point i1 in the device topology subgraph in the preset time period that is in a fault state, and ΔT is the duration of the preset time period. Each edge in the device topology subgraph has an edge attribute, and the edge attribute value j1 is the edge identifier in the device topology subgraph, is the edge attribute of edge j1 in the device topology subgraph, j1(1) and j1(2) are the two points connected by edge j1, is the total amount of data interacted between the devices corresponding to point j1(1) and point j1(2) in the device topology subgraph within a preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(1) in the device topology subgraph within the preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(2) in the device topology subgraph within a preset time period, ε0 is the preset minimum value, and max{·} is the maximum value function.
[0304] The indicator topology subgraph is constructed based on the running indicators. Each point in the indicator topology subgraph uniquely corresponds to one running indicator. If there is a correlation between two running indicators, there is an edge between the two corresponding points in the indicator topology subgraph. Each point in the indicator topology subgraph has point attributes, and the point attribute value of any point i2 is the preset weight of the indicator corresponding to point i2 in the indicator topology subgraph, and i2 is the point identifier in the indicator topology subgraph. Each edge in the indicator topology subgraph has an edge attribute, and the edge attribute value of any edge j2 is It is the preset correlation degree between the indicators corresponding to the two points connected by edge j2, and j2 is the edge identifier in the indicator topology subgraph.
[0305] Optionally, the faulty subnet is determined based on the operating indicator value and the device-indicator topology diagram, including:
[0306] According to the operation index value of each device, the abnormality degree between each device and the corresponding operation index is determined. If the operation index value of any operation index of any device meets the normal condition, the abnormality degree between any device and any operation index is 0, otherwise, the abnormality degree is 1.
[0307] In the device-index topology graph, establish the fault edge between the corresponding point of each device and the corresponding point of its operating index. Among them, the fault edge has edge attributes, and the edge attribute value of any fault edge j3 It is the abnormality degree between the device corresponding to the point in the device topology subgraph connected by the fault edge j2 and the operating index corresponding to the point in the index topology subgraph, and h3 is the fault edge identifier.
[0308] The fault degree of each point in the device topology subgraph is determined according to the edge attributes of the fault edge.
[0309] The points in the device topology sub-map whose fault degree is greater than a preset fault threshold are determined as basic points.
[0310] Get the link starting from the base point in the device topology submap.
[0311] Determine the shear value of each edge in each link. like As a basic point otherwise u is the link identifier, is the edge identifier in link u, For edge The connected point closest to the starting point of any link u, For edge The point farthest from the starting point of any link u is connected. For point The failure rate, For point The failure rate, For point The weighted average of the edge attribute values between the starting point of any link u, For point The weighted average of the edge attribute values of the edges between any link u and the starting point, ε1 is the preset maximum value.
[0312] For each link starting from the starting point, the edge where the cutting value is less than the preset cutting threshold for the first time is determined as the cutting edge, and the point of the cutting edge closest to the starting point of the link is determined as the cutting end point of the link, and the link between the starting point and the cutting end point is used as the post-cut link.
[0313] The network formed by all the cut links is determined as the faulty subnet.
[0314] Optionally, determining the fault degree of each point in the device topology subgraph according to the edge attribute of the fault edge includes:
[0315] For a fault point, its fault degree is determined as (the sum of the edge attribute values of all fault edges + the sum of the abnormality of the target edge of the fault point) / (the total number of points in the indicator topology subgraph + the sum of the edge attributes of all edges in the indicator topology subgraph). Among them, the fault point is a point in the device topology subgraph with a fault edge. The target edge is an edge in the indicator topology subgraph, and one of the two points connected by the target edge has a fault edge with the fault point and the edge attribute value of the fault edge is non-0, the other point has a fault edge with the fault point and the edge attribute value of the fault edge is 0, or the other point does not have a fault edge with the fault point. The abnormality of the target edge is the edge attribute value of the target edge × the average of the point attribute values of the two points connected by the target edge.
[0316] For a point in the device topology subgraph that does not have a fault edge, its fault degree is determined as the average of the fault degrees of all fault points that have direct or indirect edges with it.
[0317] The computer-readable storage medium provided in this embodiment has a computer program executed by a processor to locate 5G industrial application faults based on a 5G industrial application fault diagnosis decision tree and in combination with a 5G industrial application simulator, thereby achieving automatic and accurate positioning of 5G industrial application faults.
[0318] Since the system / device described in the above embodiments of the present invention is a system / device used to implement the method of the above embodiments of the present invention, a person skilled in the art can understand the specific structure and deformation of the system / device based on the method described in the above embodiments of the present invention, and thus will not be described in detail here. All systems / devices used in the method of the above embodiments of the present invention belong to the scope of protection of the present invention.
[0319] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may 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.
[0320] The present invention is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present invention. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions.
[0321] It should be noted that in the claims, any reference numerals placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The invention may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In the claims enumerating several means, several of these means may be embodied by the same hardware. The use of the words first, second, third, etc., is for convenience of expression only and does not indicate any order. These words may be understood as part of the component name.
[0322] In addition, it should be noted that, in the description of this specification, the description of the terms "one embodiment", "some embodiments", "embodiment", "example", "specific example" or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, unless they are contradictory.
[0323] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments after knowing the basic creative concept. Therefore, the claims should be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.
[0324] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include these modifications and variations.
Claims
1. A 5G industrial application fault location method, characterized in that: include: After a fault occurs, a 5G industrial application simulator is implanted in the SIM card in the 5G industrial application scenario; After the 5G module in the 5G industrial application simulator takes effect, confirm whether the 5G port successfully obtains the IP; Locate the faulty device and fault type based on the confirmation result of whether the 5G port successfully obtains the IP address. Based on the faulty equipment and fault type, locate the fault cause according to the 5G industrial application fault diagnosis decision tree.
2. The method according to claim 1, characterized in that The method of locating the faulty device and the fault type according to the confirmation result of whether the 5G port successfully obtains the IP includes: If the confirmation result is that the 5G port successfully obtains the IP, a ping command is sent to the preset IP in the core network through the 5G industrial application simulator; The device where the 5G industrial application simulator that meets the network fault condition is located is located as a faulty device, and the fault type is a network fault type; wherein the network fault condition is that the confirmation result is that the 5G port fails to obtain an IP, or the ping command fails to be sent, or the ping command is sent successfully but there is no echo, or the ping command is sent successfully but the echo packet loss rate is 100%; The device where the 5G industrial application simulator that meets the interference fault condition is located is located as a faulty device, and the fault type is an interference fault type; wherein the interference fault condition is that the ping command is sent successfully but is unstable, and the echo packet loss rate is within the interval [preset packet loss rate threshold, 100%); The device where the 5G industrial application simulator that meets the terminal failure conditions is located is located as a faulty device, and the failure type is a terminal failure type; the terminal failure condition is that the ping command is sent successfully and stably, and at the same time, the echo packet loss rate is in the interval [0%, preset packet loss rate threshold).
3. The method according to claim 2, characterized in that The fault cause is located based on the fault device and fault type according to the 5G industrial application fault diagnosis decision tree, including: For faulty devices with network fault types, when the fault types of all faulty devices in the 5G industrial application scenario are network fault types, locate the fault cause based on the 5G industrial application fault diagnosis decision tree and the device status in the 5G network corresponding to the 5G industrial application scenario; otherwise, locate the fault cause based on the 5G industrial application fault diagnosis decision tree and the configuration and SIM card unbinding status of the faulty device with network fault types; For a faulty device with an interference fault type, in the area where the faulty device with an interference fault type is located, troubleshoot the interference source according to the 5G industrial application fault diagnosis decision tree, and locate the cause of the fault based on the troubleshooting results; When the fault types of all faulty devices in the 5G industrial application scenario are terminal fault types, a simulated local area network is constructed through a 5G industrial application simulator, business data is configured, and simulation tests are performed in the simulated local area network based on the business data. The cause of the fault is located according to the 5G industrial application fault diagnosis decision tree and the simulation test results.
4. The method according to claim 1, characterized in that The 5G industrial application simulator follows the network time protocol for time calibration.
5. The method according to claim 2, characterized in that: After locating the faulty device and the fault type according to the confirmation result of whether the 5G port successfully obtains the IP, the method further includes: If there is a faulty device of the network fault type, obtain the operating indicator value of each device in the 5G network corresponding to the 5G industrial application scenario; Determine the faulty subnet based on the operating indicator values and the device-indicator topology diagram. Wherein, the device-indicator topology graph is composed of a device topology subgraph and an indicator topology subgraph; The device topology subgraph is a topology graph of the 5G network; each point in the device topology subgraph uniquely corresponds to a device in the 5G network. If there is a communication connection between two devices in the 5G network, there is an edge between the two corresponding points in the device topology subgraph; each point in the device topology subgraph has a point attribute, and the point attribute value i1 is the point identifier in the device topology subgraph, is the point attribute of point i1 in the device topology subgraph, is the sum of the downlink and uplink data volumes of the device corresponding to point i1 in the device topology subgraph within a preset time period, trd 1 It is the sum of the downlink and uplink data volumes of all devices in the 5G network within a preset time period. is the duration of the device corresponding to point i1 in the device topology subgraph in the preset time period that is in a fault state, and ΔT is the duration of the preset time period; each edge in the device topology subgraph has an edge attribute, and the edge attribute value j1 is the edge identifier in the device topology subgraph, is the edge attribute of edge j1 in the device topology subgraph, j1(1) and j1(2) are the two points connected by edge j1, is the total amount of data interacted between the devices corresponding to point j1(1) and point j1(2) in the device topology subgraph within a preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(1) in the device topology subgraph within a preset time period, is the sum of the downlink and uplink data volumes of the device corresponding to point j1(2) in the device topology subgraph within a preset time period, ε0 is a preset minimum value, and max{·} is a maximum value function; The indicator topology subgraph is constructed according to the operation indicator. Each point in the indicator topology subgraph uniquely corresponds to an operation indicator. If there is an association relationship between two operation indicators, there is an edge between the two corresponding points in the indicator topology subgraph. Each point in the indicator topology subgraph has a point attribute, and the point attribute value of any point i2 is the preset weight of the indicator corresponding to point i2 in the indicator topology subgraph, i2 is the point identifier in the indicator topology subgraph; each edge in the indicator topology subgraph has an edge attribute, and the edge attribute value of any edge j2 is is the preset correlation degree between the indicators corresponding to the two points connected by edge j2, and j2 is the edge identifier in the indicator topology subgraph.
6. The method according to claim 5, characterized in that Determining the faulty subnet according to the operating index value and the device-index topology diagram includes: According to the operating index value of each device, determine the abnormality degree between each device and the corresponding operating index; wherein, if the operating index value of any operating index of any device meets the normal condition, the abnormality degree between any device and any operating index is 0, otherwise, the abnormality degree is 1; In the device-index topology graph, establish a fault edge between the point corresponding to each device and the point corresponding to its operating index; the fault edge has an edge attribute, and the edge attribute value of any fault edge j3 is is the abnormality degree between the device corresponding to the point in the device topology subgraph connected to the fault edge j2 and the operating index corresponding to the point in the index topology subgraph, and j3 is the fault edge identifier; Determining the fault degree of each point in the device topology subgraph according to the edge attribute of the fault edge; Determine a point in the device topology subgraph whose fault degree is greater than a preset fault threshold as a basic point; Obtain the link starting from the base point in the device topology submap; Determine the shear value of each edge in each link; where, for any edge in any link u like As a basic point otherwise u is the link identifier, is the edge identifier in link u, For edge The connected point closest to the starting point of any link u, For edge The point farthest from the starting point of any link u is connected. For point The failure rate, For point The failure rate, For point The weighted average of the edge attribute values between the starting point of any link u, For point The weighted average of the edge attribute values between any link u and the starting point, ε1 is the preset maximum value; For each link starting from the starting point, the edge where the cutting value is less than the preset cutting threshold for the first time is determined as the cutting edge, and the point of the cutting edge closest to the starting point of the link is determined as the cutting end point of the link, and the link between the starting point and the cutting end point is used as the post-cut link; The network formed by all the cut links is determined as the faulty subnet.
7. The method according to claim 6, characterized in that Determining the fault degree of each point in the device topology subgraph according to the edge attribute of the fault edge includes: For a fault point, its fault degree is determined as (the sum of the edge attribute values of all fault edges existing therein + the sum of the abnormality degrees of the target edge of the fault point) / (the total number of points in the indicator topology subgraph + the sum of the edge attributes of all edges in the indicator topology subgraph); wherein, the fault point is a point in the device topology subgraph with a fault edge; the target edge is an edge in the indicator topology subgraph, and one of the two points connected by the target edge has a fault edge with the fault point and the edge attribute value of the fault edge is non-0, the other point has a fault edge with the fault point and the edge attribute value of the fault edge is 0, or the other point does not have a fault edge with the fault point; the abnormality degree of the target edge is the edge attribute value of the target edge × the average of the point attribute values of the two points connected by the target edge; For a point in the device topology subgraph that does not have a fault edge, its fault degree is determined as the average of the fault degrees of all fault points that have direct or indirect edges with it.
8. A 5G industrial application fault location device, characterized in that: include: A processing module is used to implant a 5G industrial application simulator into the SIM card in the 5G industrial application scenario after a fault occurs; A confirmation module, used to confirm whether the 5G port successfully obtains the IP after the 5G module in the 5G industrial application simulator takes effect; The first positioning module is used to locate the faulty device and the fault type according to the confirmation result of whether the 5G port successfully obtains the IP; The second positioning module is used to locate the cause of the fault based on the faulty device and fault type according to the 5G industrial application fault diagnosis decision tree.
9. An electronic device, characterized in that: include: Memory; Multi-core processors; as well as Computer programs; Wherein, the multi-core processor includes a plurality of idle processing cores; The computer program is stored in the memory and is configured to execute a 5G industrial application fault location method as described in any one of claims 1-7.
10. A computer-readable medium having computer-executable instructions stored thereon, characterized in that: When the executable instructions are executed by the processor, a 5G industrial application fault locating method as described in any one of claims 1-7 is implemented.