A bus data transmission management system and method based on the Internet of Things
By obtaining the device connection set, monitoring data transmission abnormal points and analyzing risk interference values, a troubleshooting route is generated, which solves the problem of difficulty in locking abnormal bus data transmission in the existing technology, achieving the effect of quickly locking fault points and improving management efficiency.
Patent Information
- Application Number
- CN202311854787.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-29
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2043-12-29
AI Technical Summary
When the bus data transmission is abnormal, the existing bus data transmission management system based on the Internet of Things adopts a census method, which is time-consuming and laborious, and cannot quickly lock the abnormal points, affecting the normality of data transmission.
By obtaining device connection sets, collecting location information, monitoring data transmission abnormal points, analyzing transmission abnormal risk interference values, generating troubleshooting routes and selecting the best routes, it assists administrators in making decisions and quickly locates fault points.
It achieves rapid locking of bus transmission abnormal points, reduces the impact of faults on data transmission, and improves management efficiency.
Smart Images

Figure CN117792879B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of bus data transmission management, and in particular to a bus data transmission management system and method based on the Internet of Things. Background Art
[0002] A bus is a common path to which multiple devices are connected in parallel. In a computer system, it is a shared high-speed path to which multiple computers are connected in parallel, which can be used to transmit data between these computers at will, but only one device can send data at the same time.
[0003] In the existing bus data transmission management system and method based on the Internet of Things, when abnormal bus data transmission occurs, a census is usually used to gradually screen the bus and the equipment connected to the bus. This method is not only time-consuming and labor-intensive, but also delays the rapid locking of the abnormal points of bus transmission, affecting the normal transmission of bus data. Therefore, people are in urgent need of a bus data transmission management system and method based on the Internet of Things. Summary of the invention
[0004] The purpose of the present invention is to provide a bus data transmission management system and method based on the Internet of Things to solve the problems raised in the above background technology.
[0005] In order to solve the above technical problems, the present invention provides the following technical solutions: a bus data transmission management method based on the Internet of Things, the method comprising the following steps:
[0006] S1. Acquire the devices connected to the bus to be tested and construct a device connection set of the bus to be tested; collect the location information of the connection points between the devices corresponding to each element in the device connection set of the bus to be tested and the bus to be tested, and bind the collected location information to the corresponding devices;
[0007] S2. Acquire abnormal transmission data in the data transmission process of the bus to be tested within a unit time based on the current time, and lock the transmission abnormality monitoring interval of the bus to be tested; acquire the line transmission environment characteristics of the transmission abnormality monitoring interval of the bus to be tested, and generate a bus line abnormality monitoring node set;
[0008] S3. Collect monitoring data of the corresponding positions of each element in the bus line abnormal monitoring node set through sensors, and analyze the transmission abnormality risk interference value of the bus line abnormal monitoring node corresponding to each element in the bus line abnormal monitoring node set in combination with the position information of the connection between the device and the bus to be tested;
[0009] S4. Sort the elements in the bus line abnormality monitoring node set in descending order of transmission abnormality risk interference values to obtain a first risk sequence; generate a fault troubleshooting route corresponding to each combination scheme according to different combination schemes constructed by all elements in the first risk sequence;
[0010] S5. According to the complexity of the troubleshooting route, the obtained combination schemes are screened to obtain the best troubleshooting route for the bus transmission fault, and the optimal route is fed back to the administrator to assist the administrator in making bus data transmission management decisions.
[0011] Furthermore, each element in the device connection set of the bus to be tested in S1 corresponds to a data interaction device connected to the bus to be tested, and each data interaction device can send or receive data through the bus to be tested.
[0012] Furthermore, the method for locking the transmission abnormality monitoring interval of the bus to be tested in S2 comprises the following steps:
[0013] S201, obtaining abnormal transmission data in the process of bus data transmission under test within a unit time based on the current time, recorded as an abnormal transmission reference data set; the abnormal transmission includes data corresponding to a transmission delay exceeding a first preset delay and data with errors or missing phenomena in the transmission result; the duration corresponding to the unit time is a constant preset in the database;
[0014] S202, extracting characteristic information of each abnormal transmission data in the abnormal transmission reference data set, the characteristic information including the start time of data transmission, the data interaction device corresponding to the data sender in the data transmission process, the data interaction device corresponding to the data receiver in the data transmission process, and the transmission section, the transmission section being the section between the data interaction device corresponding to the data sender on the bus to be tested and the data interaction device corresponding to the data receiver in the corresponding data transmission process;
[0015] S203, obtaining a heterogeneous interference chain corresponding to each abnormal transmission data in the abnormal transmission reference data set;
[0016] When obtaining the heterogeneous interference chain corresponding to the abnormal transmission data, select any abnormal transmission data in the abnormal transmission reference data set, recorded as A, obtain the set consisting of all abnormal transmission data and A whose interval duration between the corresponding data transmission start time in the abnormal transmission reference data set and the data transmission start time corresponding to A is less than or equal to the first preset duration; obtain the intersection of the transmission segments corresponding to all elements in AC, recorded as the first intersection segment corresponding to A; obtain the union of the transmission segments corresponding to all elements in AC, recorded as the first union segment corresponding to A;
[0017] If the first intersection segment corresponding to A is not an empty set, and among all the transmission data whose corresponding data transmission start time and the interval duration between the data transmission start time corresponding to A is less than or equal to the first preset duration, there is normal transmission data whose corresponding transmission segment belongs to the first union segment, then it is determined that the elements in AC are interfered by network fluctuations, and all elements in AC except A are branch nodes on the heterogeneous interference chain corresponding to A, and A is the main node on the heterogeneous interference chain corresponding to A; otherwise, it is determined that the heterogeneous interference chain corresponding to A is an empty set;
[0018] S204, obtaining the union of the elements in the heterogeneous interference chain corresponding to each abnormal transmission data in the abnormal transmission reference data set, recorded as the first heterogeneous interference element; and removing all elements contained in the first heterogeneous interference element from the abnormal transmission reference data set, and recording the abnormal transmission reference data set after the elements are removed as the calibration reference set;
[0019] S205, taking the union of the transmission abnormality sections corresponding to the elements in the calibration reference set as the transmission abnormality monitoring section of the bus to be tested;
[0020] The method for generating a bus line abnormal monitoring node set in S2 comprises the following steps:
[0021] S211, obtaining the connection points between each data exchange device and the bus to be tested in the transmission abnormality monitoring section of the bus to be tested, and taking the midpoint of each connection point as a first abnormality type monitoring node;
[0022] S212, obtaining each line section disturbed by human activities in the transmission abnormality monitoring interval of the bus to be tested, and taking the midpoint of each line section disturbed by human activities as a second abnormality type monitoring node;
[0023] The line section disturbed by human activities is a line section in the transmission abnormality monitoring interval of the bus to be tested, in which human activities exist within a first unit radius around the corresponding line and which is not covered by the wiring tube in the previous unit time based on the current time; the first unit radius is a constant preset in the database;
[0024] S213: Take the obtained set consisting of all the first abnormal type monitoring nodes and the second abnormal type monitoring nodes as the bus line abnormal monitoring node set.
[0025] When the present invention locks the transmission abnormality monitoring interval of the bus to be tested, the abnormal transmission data in the data transmission process of the bus to be tested is used to achieve preliminary locking of the position of the transmission abnormal point of the bus to be tested in the bus to be tested, providing data reference for further locking the abnormal position in the bus to be tested in the step.
[0026] Furthermore, when the monitoring data of the corresponding position of each element in the bus line abnormal monitoring node set is collected by the sensor in S3, the types of monitoring data collected include: the camera monitoring screen that is closest and monitors the corresponding position, the bus line abnormal monitoring node adjacent to the corresponding position, and the line length between the adjacent bus line abnormal monitoring node and the corresponding position;
[0027] In the present invention, there are one or two bus line abnormality monitoring nodes adjacent to the corresponding position; when the bus line abnormality monitoring node corresponding to the monitoring data is a first abnormality type monitoring node or a monitoring node at the end of the transmission abnormality monitoring interval of the bus to be tested, there is one bus line abnormality monitoring node adjacent to the corresponding position.
[0028] The method for analyzing the transmission abnormality risk interference value of the bus line abnormality monitoring node corresponding to each element in the bus line abnormality monitoring node set in S3 comprises the following steps:
[0029] S31, obtaining monitoring data of the corresponding position of each element in the bus line abnormal monitoring node set; recording the monitoring data of the corresponding position of the i-th element in the bus line abnormal monitoring node set as Qi; obtaining historical fault troubleshooting data of the bus to be tested in the database;
[0030] S32, obtaining the transmission anomaly risk interference value of the bus line abnormality monitoring node corresponding to the i-th element in the bus line abnormality monitoring node set, denoted as Gi,
[0031]
[0032] Wherein, Ni represents the number of times a person identified by the camera monitoring screen with the closest distance in Qi and monitoring the corresponding position contacts the busbar to be tested within a unit time based on the current time; β represents the interference conversion coefficient and β is a constant preset in the database;
[0033] Li represents the number of historical monitoring nodes in the historical fault troubleshooting data of the bus to be tested that overlap with the line section corresponding to the position of the i-th element in the bus line abnormal monitoring node set;
[0034] Zi represents the number of historical monitoring nodes in the historical fault troubleshooting data of the bus to be tested that overlap with the line section corresponding to the i-th element in the bus line abnormal monitoring node set, and the number of historical monitoring nodes in the fault troubleshooting results, where the fault source is the historical fault troubleshooting data of the bus to be tested that overlaps with the line section corresponding to the i-th element in the bus line abnormal monitoring node set;
[0035] Hi represents the sum of the number of times a person contacts the bus to be tested, as identified by the camera monitoring screen that is closest to the corresponding position and monitors the corresponding position, in the monitoring data of each bus line abnormality monitoring node adjacent to the corresponding position of the i-th element in the bus line abnormality monitoring node set within a unit time based on the current time;
[0036] dm represents the line length between the bus line abnormality monitoring node corresponding to the mth personnel contact with the bus to be tested in Hi and the corresponding position of the i-th element in the bus line abnormality monitoring node set, and dm>0; b represents the distance interference conversion coefficient and b is a constant preset in the database.
[0037] The present invention analyzes the transmission anomaly risk interference value of the bus line abnormal monitoring node corresponding to each element in the bus line abnormal monitoring node set, in order to evaluate the risk of fault abnormal points existing at different bus line abnormal monitoring node positions in the bus to be tested. The larger the corresponding transmission anomaly risk interference value, the greater the probability of abnormality at the corresponding bus line abnormal monitoring node position, and thus the higher the inspection demand at the corresponding position; in the present invention, the bus line abnormal monitoring node is taken as the inspection and analysis object, because when the bus is transmitting data and a transmission anomaly occurs, it is mainly caused by interference from the external environment during use, and then by locking the position of each monitoring node for troubleshooting, the fault position can be quickly locked.
[0038] Furthermore, when different combination schemes are constructed according to all elements in the first risk sequence in S4, each constructed combination scheme includes all elements in the first risk sequence and each element has only one;
[0039] When generating the troubleshooting route corresponding to each combination scheme, the shortest route between two adjacent elements in the corresponding combination scheme is generated by the navigation software as a troubleshooting route segment, and the obtained troubleshooting route segments are connected in sequence, and the obtained connection result is the troubleshooting route corresponding to the corresponding combination scheme.
[0040] Furthermore, when the complexity of the troubleshooting route is obtained in S5, the complexity of the j-th troubleshooting route is recorded as Fj;
[0041]
[0042] Wherein, Ri represents the conversion coefficient corresponding to the execution requirement priority of the i-th element in the first risk sequence in the preset table of the database, and the execution requirement priority of the element in the first risk sequence is equal to the numerical value of the sequence number of the corresponding element in the first risk sequence; i1 represents the total number of elements in the first risk sequence; Dj iIt represents the length of the route from the first element position in the corresponding combination scheme to the i-th element position in the first risk sequence in the j-th fault troubleshooting route; if the first element position in the corresponding combination scheme to the i-th element position in the first risk sequence are the same, the distance between the two element positions is determined to be 0;
[0043] The optimal bus transmission fault troubleshooting route is the least complex troubleshooting route.
[0044] A bus data transmission management system based on the Internet of Things, the system includes the following modules:
[0045] A bus information acquisition module, wherein the bus information acquisition module acquires devices connected to the bus to be tested, constructs a device connection set of the bus to be tested, acquires location information of the connection points between the devices corresponding to each element in the device connection set of the bus to be tested and the bus to be tested, and binds the acquired location information to the corresponding device;
[0046] A transmission anomaly feature extraction module, wherein the transmission anomaly feature extraction module obtains abnormal transmission data in the data transmission process of the bus to be tested within a unit time based on the current time, locks the transmission anomaly monitoring interval of the bus to be tested; obtains the line transmission environment characteristics of the transmission anomaly monitoring interval of the bus to be tested, and generates a bus line anomaly monitoring node set;
[0047] A transmission risk analysis module, wherein the transmission risk analysis module collects monitoring data of corresponding positions of each element in the bus line abnormality monitoring node set through sensors, and analyzes the transmission abnormality risk interference value of the bus line abnormality monitoring node corresponding to each element in the bus line abnormality monitoring node set in combination with the position information of the connection between the device and the bus to be tested;
[0048] A troubleshooting solution generation module, wherein the troubleshooting solution generation module sorts the elements in the bus line abnormality monitoring node set in descending order of transmission abnormality risk interference value to obtain a first risk sequence; and generates a fault troubleshooting route corresponding to each combination scheme according to different combination schemes constructed by all elements in the first risk sequence;
[0049] The transmission anomaly troubleshooting management module screens the various combination schemes obtained according to the complexity of the troubleshooting route, obtains the best troubleshooting route for bus transmission faults, and feeds back to the administrator to assist the administrator in making bus data transmission management decisions.
[0050] Furthermore, the transmission anomaly feature extraction module includes an interval locking unit and a monitoring node extraction unit.
[0051] The interval locking unit acquires abnormal transmission data in the data transmission process of the bus to be tested within a unit time based on the current time, and locks the transmission abnormality monitoring interval of the bus to be tested;
[0052] The monitoring node extraction unit obtains the line transmission environment characteristics of the transmission anomaly monitoring section of the bus to be tested, and generates a bus line anomaly monitoring node set.
[0053] Compared with the prior art, the beneficial effects achieved by the present invention are as follows: the present invention can realize dynamic screening of the range to which the fault position in the bus belongs by monitoring the abnormal transmission data that occurs when the bus to be tested is performing data transmission recently; and lock the bus line abnormal monitoring node in combination with the bus surrounding environmental information within the dynamic screening interval; and then generate the best bus transmission fault troubleshooting route in combination with historical fault troubleshooting data and environmental information around each bus line abnormal monitoring node, assist the administrator in making bus data transmission management decisions, quickly lock the fault point in the bus, and reduce the impact of bus faults on data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0055] Figure 1 It is a flow chart of a bus data transmission management method based on the Internet of Things of the present invention;
[0056] Figure 2 It is a structural schematic diagram of a bus data transmission management system based on the Internet of Things of the present invention. DETAILED DESCRIPTION
[0057] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0058] See also Figure 1 The present invention provides a technical solution: a bus data transmission management method based on the Internet of Things, the method comprising the following steps:
[0059] S1. Acquire the devices connected to the bus to be tested and construct a device connection set of the bus to be tested; collect the location information of the connection points between the devices corresponding to each element in the device connection set of the bus to be tested and the bus to be tested, and bind the collected location information to the corresponding devices;
[0060] Each element in the device connection set of the bus to be tested in S1 corresponds to a data interaction device connected to the bus to be tested, and each data interaction device can send or receive data through the bus to be tested.
[0061] S2. Acquire abnormal transmission data in the data transmission process of the bus to be tested within a unit time based on the current time, and lock the transmission abnormality monitoring interval of the bus to be tested; acquire the line transmission environment characteristics of the transmission abnormality monitoring interval of the bus to be tested, and generate a bus line abnormality monitoring node set;
[0062] The method for locking the transmission abnormality monitoring interval of the bus to be tested in S2 comprises the following steps:
[0063] S201, obtaining abnormal transmission data in the process of bus data transmission under test within a unit time based on the current time, recorded as an abnormal transmission reference data set; the abnormal transmission includes data corresponding to a transmission delay exceeding a first preset delay and data with errors or missing phenomena in the transmission result; the duration corresponding to the unit time is a constant preset in the database;
[0064] S202, extracting characteristic information of each abnormal transmission data in the abnormal transmission reference data set, the characteristic information including the start time of data transmission, the data interaction device corresponding to the data sender in the data transmission process, the data interaction device corresponding to the data receiver in the data transmission process, and the transmission section, the transmission section being the section between the data interaction device corresponding to the data sender on the bus to be tested and the data interaction device corresponding to the data receiver in the corresponding data transmission process;
[0065] S203, obtaining a heterogeneous interference chain corresponding to each abnormal transmission data in the abnormal transmission reference data set;
[0066] When obtaining the heterogeneous interference chain corresponding to the abnormal transmission data, select any abnormal transmission data in the abnormal transmission reference data set, recorded as A, obtain the set consisting of all abnormal transmission data and A whose interval duration between the corresponding data transmission start time in the abnormal transmission reference data set and the data transmission start time corresponding to A is less than or equal to the first preset duration; obtain the intersection of the transmission segments corresponding to all elements in AC, recorded as the first intersection segment corresponding to A; obtain the union of the transmission segments corresponding to all elements in AC, recorded as the first union segment corresponding to A;
[0067] If the first intersection segment corresponding to A is not an empty set, and among all the transmission data whose corresponding data transmission start time and the interval duration between the data transmission start time corresponding to A is less than or equal to the first preset duration, there is normal transmission data whose corresponding transmission segment belongs to the first union segment, then it is determined that the elements in AC are interfered by network fluctuations, and all elements in AC except A are branch nodes on the heterogeneous interference chain corresponding to A, and A is the main node on the heterogeneous interference chain corresponding to A; otherwise, it is determined that the heterogeneous interference chain corresponding to A is an empty set;
[0068] S204, obtaining the union of the elements in the heterogeneous interference chain corresponding to each abnormal transmission data in the abnormal transmission reference data set, recorded as the first heterogeneous interference element; and removing all elements contained in the first heterogeneous interference element from the abnormal transmission reference data set, and recording the abnormal transmission reference data set after the elements are removed as the calibration reference set;
[0069] S205, taking the union of the transmission abnormality sections corresponding to the elements in the calibration reference set as the transmission abnormality monitoring section of the bus to be tested;
[0070] The method for generating a bus line abnormal monitoring node set in S2 comprises the following steps:
[0071] S211, obtaining the connection points between each data exchange device and the bus to be tested in the transmission abnormality monitoring section of the bus to be tested, and taking the midpoint of each connection point as a first abnormality type monitoring node;
[0072] S212, obtaining each line section disturbed by human activities in the transmission abnormality monitoring interval of the bus to be tested, and taking the midpoint of each line section disturbed by human activities as a second abnormality type monitoring node;
[0073] The line section disturbed by human activities is a line section in the transmission abnormality monitoring interval of the bus to be tested, in which human activities exist within a first unit radius around the corresponding line and which is not covered by the wiring tube in the previous unit time based on the current time; the first unit radius is a constant preset in the database;
[0074] S213: Take the obtained set consisting of all the first abnormal type monitoring nodes and the second abnormal type monitoring nodes as the bus line abnormal monitoring node set.
[0075] S3. Collect monitoring data of the corresponding positions of each element in the bus line abnormal monitoring node set through sensors, and analyze the transmission abnormality risk interference value of the bus line abnormal monitoring node corresponding to each element in the bus line abnormal monitoring node set in combination with the position information of the connection between the device and the bus to be tested;
[0076] When the monitoring data of the corresponding position of each element in the bus line abnormal monitoring node set is collected by the sensor in S3, the types of monitoring data collected include: the camera monitoring screen that is closest and monitors the corresponding position, the bus line abnormal monitoring node adjacent to the corresponding position, and the line length between the adjacent bus line abnormal monitoring node and the corresponding position;
[0077] The method for analyzing the transmission abnormality risk interference value of the bus line abnormality monitoring node corresponding to each element in the bus line abnormality monitoring node set in S3 comprises the following steps:
[0078] S31, obtaining monitoring data of the corresponding position of each element in the bus line abnormal monitoring node set; recording the monitoring data of the corresponding position of the i-th element in the bus line abnormal monitoring node set as Qi; obtaining historical fault troubleshooting data of the bus to be tested in the database;
[0079] S32, obtaining the transmission anomaly risk interference value of the bus line abnormality monitoring node corresponding to the i-th element in the bus line abnormality monitoring node set, denoted as Gi,
[0080]
[0081] Wherein, Ni represents the number of times a person identified by the camera monitoring screen with the closest distance in Qi and monitoring the corresponding position contacts the busbar to be tested within a unit time based on the current time; β represents the interference conversion coefficient and β is a constant preset in the database;
[0082] Li represents the number of historical monitoring nodes in the historical fault troubleshooting data of the bus to be tested that overlap with the line section corresponding to the position of the i-th element in the bus line abnormal monitoring node set;
[0083] Zi represents the number of historical monitoring nodes in the historical fault troubleshooting data of the bus to be tested that overlap with the line section corresponding to the i-th element in the bus line abnormal monitoring node set, and the number of historical monitoring nodes in the fault troubleshooting results, where the fault source is the historical fault troubleshooting data of the bus to be tested that overlaps with the line section corresponding to the i-th element in the bus line abnormal monitoring node set;
[0084] Hi represents the sum of the number of times a person contacts the bus to be tested, as identified by the camera monitoring screen that is closest to the corresponding position and monitors the corresponding position, in the monitoring data of each bus line abnormality monitoring node adjacent to the corresponding position of the i-th element in the bus line abnormality monitoring node set within a unit time based on the current time;
[0085] dm represents the line length between the bus line abnormality monitoring node corresponding to the mth personnel contact with the bus to be tested in Hi and the corresponding position of the i-th element in the bus line abnormality monitoring node set, and dm>0; b represents the distance interference conversion coefficient and b is a constant preset in the database.
[0086] S4. Sort the elements in the bus line abnormality monitoring node set in descending order of transmission abnormality risk interference values to obtain a first risk sequence; generate a fault troubleshooting route corresponding to each combination scheme according to different combination schemes constructed by all elements in the first risk sequence;
[0087] When different combination schemes are constructed according to all elements in the first risk sequence in S4, each constructed combination scheme includes all elements in the first risk sequence and each element has only one;
[0088] When generating the troubleshooting route corresponding to each combination scheme, the shortest route between two adjacent elements in the corresponding combination scheme is generated by the navigation software as a troubleshooting route segment, and the obtained troubleshooting route segments are connected in sequence, and the obtained connection result is the troubleshooting route corresponding to the corresponding combination scheme.
[0089] S5. According to the complexity of the troubleshooting route, the obtained combination schemes are screened to obtain the best troubleshooting route for the bus transmission fault, and the optimal route is fed back to the administrator to assist the administrator in making bus data transmission management decisions.
[0090] When the complexity of the troubleshooting route is obtained in S5, the complexity of the j-th troubleshooting route is recorded as Fj;
[0091]
[0092] Wherein, Ri represents the conversion coefficient corresponding to the execution requirement priority of the i-th element in the first risk sequence in the preset table of the database, and the execution requirement priority of the element in the first risk sequence is equal to the numerical value of the sequence number of the corresponding element in the first risk sequence (in this embodiment, the execution requirement priority corresponding to the first element in the first risk sequence is level one, and similarly, the execution requirement priority corresponding to the g-th element in the first risk sequence is level g); i1 represents the total number of elements in the first risk sequence; Dj i It represents the length of the route from the first element position in the corresponding combination scheme to the i-th element position in the first risk sequence in the j-th fault troubleshooting route; if the first element position in the corresponding combination scheme to the i-th element position in the first risk sequence are the same, the distance between the two element positions is determined to be 0;
[0093] In this embodiment, if a certain fault-checking line has four bus line abnormality monitoring nodes, namely A, B, C and D, and the order of appearance of these four elements in the combination scheme corresponding to the fault-checking line is {A, B, C, D};
[0094] If the order of the four elements A, B, C and D in the first risk sequence is {B, C, A, D};
[0095] The distance between A and B in the fault-finding line is recorded as P1, the distance between B and C is recorded as P2, and the distance between C and D is recorded as P3;
[0096] In the first risk sequence, the execution demand priority of B is level one. If the conversion coefficient corresponding to the execution demand priority level one in the database preset table is recorded as R1;
[0097] In the first risk sequence, the execution demand priority of C is level 2. If the conversion coefficient corresponding to the execution demand priority level 2 in the database preset table is recorded as R2;
[0098] In the first risk sequence, the execution requirement priority of A is level 3. If the conversion coefficient corresponding to the execution requirement priority level 3 in the database preset table is recorded as R3;
[0099] In the first risk sequence, the execution requirement priority of D is level 4. If the conversion coefficient corresponding to the execution requirement priority level 4 in the database preset table is recorded as R4;
[0100] Then D1=P1; D2=P1+P2; D3=0; D4=P1+P2+P3;
[0101] The complexity of the troubleshooting route is denoted as F=R1·D1+R2·D2+R3·D3+R4·D4.
[0102] The optimal bus transmission fault troubleshooting route is the least complex troubleshooting route.
[0103] like Figure 2 As shown, a bus data transmission management system based on the Internet of Things, the system includes the following modules:
[0104] A bus information acquisition module, wherein the bus information acquisition module acquires devices connected to the bus to be tested, constructs a device connection set of the bus to be tested, acquires location information of the connection points between the devices corresponding to each element in the device connection set of the bus to be tested and the bus to be tested, and binds the acquired location information to the corresponding device;
[0105] A transmission anomaly feature extraction module, wherein the transmission anomaly feature extraction module obtains abnormal transmission data in the data transmission process of the bus to be tested within a unit time based on the current time, locks the transmission anomaly monitoring interval of the bus to be tested; obtains the line transmission environment characteristics of the transmission anomaly monitoring interval of the bus to be tested, and generates a bus line anomaly monitoring node set;
[0106] A transmission risk analysis module, wherein the transmission risk analysis module collects monitoring data of corresponding positions of each element in the bus line abnormality monitoring node set through sensors, and analyzes the transmission abnormality risk interference value of the bus line abnormality monitoring node corresponding to each element in the bus line abnormality monitoring node set in combination with the position information of the connection between the device and the bus to be tested;
[0107] A troubleshooting solution generation module, wherein the troubleshooting solution generation module sorts the elements in the bus line abnormality monitoring node set in descending order of transmission abnormality risk interference value to obtain a first risk sequence; and generates a fault troubleshooting route corresponding to each combination scheme according to different combination schemes constructed by all elements in the first risk sequence;
[0108] The transmission anomaly troubleshooting management module screens the various combination schemes obtained according to the complexity of the troubleshooting route, obtains the best troubleshooting route for bus transmission faults, and feeds back to the administrator to assist the administrator in making bus data transmission management decisions.
[0109] The transmission anomaly feature extraction module includes an interval locking unit and a monitoring node extraction unit.
[0110] The interval locking unit acquires abnormal transmission data in the data transmission process of the bus to be tested within a unit time based on the current time, and locks the transmission abnormality monitoring interval of the bus to be tested;
[0111] The monitoring node extraction unit obtains the line transmission environment characteristics of the transmission anomaly monitoring section of the bus to be tested, and generates a bus line anomaly monitoring node set.
[0112] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0113] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A bus data transmission management method based on the Internet of Things, characterized in that: The method comprises the following steps: S1. Acquire the devices connected to the bus to be tested and construct a device connection set of the bus to be tested; collect the location information of the connection points between the devices corresponding to each element in the device connection set of the bus to be tested and the bus to be tested, and bind the collected location information to the corresponding devices; S2. Acquire abnormal transmission data in the data transmission process of the bus to be tested within a unit time based on the current time, and lock the transmission abnormality monitoring interval of the bus to be tested; acquire the line transmission environment characteristics of the transmission abnormality monitoring interval of the bus to be tested, and generate a bus line abnormality monitoring node set; S3. Collect monitoring data of the corresponding positions of each element in the bus line abnormal monitoring node set through sensors, and analyze the transmission abnormality risk interference value of the bus line abnormal monitoring node corresponding to each element in the bus line abnormal monitoring node set in combination with the position information of the connection between the device and the bus to be tested; S4. Sort the elements in the bus line abnormality monitoring node set in descending order of transmission abnormality risk interference values to obtain a first risk sequence; generate a fault troubleshooting route corresponding to each combination scheme according to different combination schemes constructed by all elements in the first risk sequence; S5. Screen the obtained combination schemes according to the complexity of the fault troubleshooting route, obtain the best bus transmission fault troubleshooting route, and feed it back to the administrator to assist the administrator in making bus data transmission management decisions; The method for locking the transmission abnormality monitoring interval of the bus to be tested in S2 comprises the following steps: S201, obtaining abnormal transmission data in the process of bus data transmission under test within a unit time based on the current time, recorded as an abnormal transmission reference data set; the abnormal transmission includes data corresponding to a transmission delay exceeding a first preset delay and data with errors or missing phenomena in the transmission result; the duration corresponding to the unit time is a constant preset in the database; S202, extracting characteristic information of each abnormal transmission data in the abnormal transmission reference data set, the characteristic information including the start time of data transmission, the data interaction device corresponding to the data sender in the data transmission process, the data interaction device corresponding to the data receiver in the data transmission process, and the transmission section, the transmission section being the section between the data interaction device corresponding to the data sender on the bus to be tested and the data interaction device corresponding to the data receiver in the corresponding data transmission process; S203, obtaining a heterogeneous interference chain corresponding to each abnormal transmission data in the abnormal transmission reference data set; When obtaining the heterogeneous interference chain corresponding to the abnormal transmission data, select any abnormal transmission data in the abnormal transmission reference data set, recorded as A, obtain the set consisting of all abnormal transmission data and A whose interval duration between the corresponding data transmission start time in the abnormal transmission reference data set and the data transmission start time corresponding to A is less than or equal to the first preset duration; obtain the intersection of the transmission segments corresponding to all elements in AC, recorded as the first intersection segment corresponding to A; obtain the union of the transmission segments corresponding to all elements in AC, recorded as the first union segment corresponding to A; If the first intersection segment corresponding to A is not an empty set, and among all the transmission data whose corresponding data transmission start time and the interval duration between the data transmission start time corresponding to A is less than or equal to the first preset duration, there is normal transmission data whose corresponding transmission segment belongs to the first union segment, then it is determined that the elements in AC are interfered by network fluctuations, and all elements in AC except A are branch nodes on the heterogeneous interference chain corresponding to A, and A is the main node on the heterogeneous interference chain corresponding to A; otherwise, it is determined that the heterogeneous interference chain corresponding to A is an empty set; S204, obtaining the union of the elements in the heterogeneous interference chain corresponding to each abnormal transmission data in the abnormal transmission reference data set, recorded as the first heterogeneous interference element; and removing all elements contained in the first heterogeneous interference element from the abnormal transmission reference data set, and recording the abnormal transmission reference data set after the elements are removed as the calibration reference set; S205, taking the union of the transmission abnormality sections corresponding to the elements in the calibration reference set as the transmission abnormality monitoring section of the bus to be tested; The method for generating a bus line abnormal monitoring node set in S2 comprises the following steps: S211, obtaining the connection points between each data exchange device and the bus to be tested in the transmission abnormality monitoring section of the bus to be tested, and taking the midpoint of each connection point as a first abnormality type monitoring node; S212, obtaining each line section disturbed by human activities in the transmission abnormality monitoring interval of the bus to be tested, and taking the midpoint of each line section disturbed by human activities as a second abnormality type monitoring node; The line section disturbed by human activities is a line section in the transmission abnormality monitoring interval of the bus to be tested, in which human activities exist within a first unit radius around the corresponding line and which is not covered by the wiring tube in the previous unit time based on the current time; the first unit radius is a constant preset in the database; S213, taking the obtained set consisting of all the first abnormal type monitoring nodes and the second abnormal type monitoring nodes as the bus line abnormal monitoring node set; When the monitoring data of the corresponding position of each element in the bus line abnormal monitoring node set is collected by the sensor in S3, the types of monitoring data collected include: the camera monitoring screen that is closest and monitors the corresponding position, the bus line abnormal monitoring node adjacent to the corresponding position, and the line length between the adjacent bus line abnormal monitoring node and the corresponding position; The method for analyzing the transmission abnormality risk interference value of the bus line abnormality monitoring node corresponding to each element in the bus line abnormality monitoring node set in S3 comprises the following steps: S31, obtaining monitoring data of the corresponding position of each element in the bus line abnormal monitoring node set; recording the monitoring data of the corresponding position of the i-th element in the bus line abnormal monitoring node set as Qi; obtaining historical fault troubleshooting data of the bus to be tested in the database; S32, obtaining the transmission anomaly risk interference value of the bus line abnormality monitoring node corresponding to the i-th element in the bus line abnormality monitoring node set, denoted as Gi, Wherein, Ni represents the number of times a person identified by the camera monitoring screen with the closest distance in Qi and monitoring the corresponding position contacts the busbar to be tested within a unit time based on the current time; β represents the interference conversion coefficient and β is a constant preset in the database; Li represents the number of historical monitoring nodes in the historical fault troubleshooting data of the bus to be tested that overlap with the line section corresponding to the position of the i-th element in the bus line abnormal monitoring node set; Zi represents the number of historical monitoring nodes in the historical fault troubleshooting data of the bus to be tested that overlap with the line section corresponding to the i-th element in the bus line abnormal monitoring node set, and the number of historical monitoring nodes in the fault troubleshooting results, where the fault source is the historical fault troubleshooting data of the bus to be tested that overlaps with the line section corresponding to the i-th element in the bus line abnormal monitoring node set; Hi represents the sum of the number of times a person contacts the bus to be tested, as identified by the camera monitoring screen that is closest to the corresponding position and monitors the corresponding position, in the monitoring data of each bus line abnormality monitoring node adjacent to the corresponding position of the i-th element in the bus line abnormality monitoring node set within a unit time based on the current time; dm represents the line length between the bus line abnormality monitoring node corresponding to the mth personnel contact with the bus to be tested in Hi and the corresponding position of the i-th element in the bus line abnormality monitoring node set, and dm>0; b represents the distance interference conversion coefficient and b is a constant preset in the database.
2. According to a bus data transmission management method based on the Internet of Things according to claim 1, it is characterized in that: Each element in the device connection set of the bus to be tested in S1 corresponds to a data interaction device connected to the bus to be tested, and each data interaction device can send or receive data through the bus to be tested.
3. The bus data transmission management method based on the Internet of Things according to claim 1 is characterized in that: When different combination schemes are constructed according to all elements in the first risk sequence in S4, each constructed combination scheme includes all elements in the first risk sequence and each element has only one; When generating the troubleshooting route corresponding to each combination scheme, the shortest route between two adjacent elements in the corresponding combination scheme is generated by the navigation software as a troubleshooting route segment, and the obtained troubleshooting route segments are connected in sequence, and the obtained connection result is the troubleshooting route corresponding to the corresponding combination scheme.
4. A bus data transmission management method based on the Internet of Things according to claim 3, characterized in that: When the complexity of the troubleshooting route is obtained in S5, the complexity of the j-th troubleshooting route is recorded as Fj; Wherein, Ri represents the conversion coefficient corresponding to the execution requirement priority of the i-th element in the first risk sequence in the preset table of the database, and the execution requirement priority of the element in the first risk sequence is equal to the numerical value of the sequence number of the corresponding element in the first risk sequence; i1 represents the total number of elements in the first risk sequence; Dj i It represents the length of the route from the first element position in the corresponding combination scheme to the i-th element position in the first risk sequence in the j-th fault troubleshooting route; if the first element position in the corresponding combination scheme to the i-th element position in the first risk sequence are the same, the distance between the two element positions is determined to be 0; The optimal bus transmission fault troubleshooting route is the least complex troubleshooting route.
5. A bus data transmission management system based on the Internet of Things, the system is implemented by applying a bus data transmission management method based on the Internet of Things as described in any one of claims 1 to 4, characterized in that: The system includes the following modules: A bus information acquisition module, wherein the bus information acquisition module acquires devices connected to the bus to be tested, constructs a device connection set of the bus to be tested, acquires location information of the connection points between the devices corresponding to each element in the device connection set of the bus to be tested and the bus to be tested, and binds the acquired location information to the corresponding device; A transmission anomaly feature extraction module, wherein the transmission anomaly feature extraction module obtains abnormal transmission data in the data transmission process of the bus to be tested within a unit time based on the current time, locks the transmission anomaly monitoring interval of the bus to be tested; obtains the line transmission environment characteristics of the transmission anomaly monitoring interval of the bus to be tested, and generates a bus line anomaly monitoring node set; A transmission risk analysis module, wherein the transmission risk analysis module collects monitoring data of corresponding positions of each element in the bus line abnormality monitoring node set through sensors, and analyzes the transmission abnormality risk interference value of the bus line abnormality monitoring node corresponding to each element in the bus line abnormality monitoring node set in combination with the position information of the connection between the device and the bus to be tested; A troubleshooting solution generation module, wherein the troubleshooting solution generation module sorts the elements in the bus line abnormality monitoring node set in descending order of transmission abnormality risk interference value to obtain a first risk sequence; and generates a fault troubleshooting route corresponding to each combination scheme according to different combination schemes constructed by all elements in the first risk sequence; The transmission anomaly troubleshooting management module screens the various combination schemes obtained according to the complexity of the troubleshooting route, obtains the best troubleshooting route for bus transmission faults, and feeds back to the administrator to assist the administrator in making bus data transmission management decisions.
6. The bus data transmission management system based on the Internet of Things according to claim 5 is characterized in that: The transmission anomaly feature extraction module includes an interval locking unit and a monitoring node extraction unit. The interval locking unit acquires abnormal transmission data in the data transmission process of the bus to be tested within a unit time based on the current time, and locks the transmission abnormality monitoring interval of the bus to be tested; The monitoring node extraction unit obtains the line transmission environment characteristics of the transmission anomaly monitoring section of the bus to be tested, and generates a bus line anomaly monitoring node set.
