CN112583715B - Equipment node connection adjustment method and device - Google Patents
Equipment node connection adjustment method and device Download PDFInfo
- Publication number
- CN112583715B CN112583715B CN202011425812.2A CN202011425812A CN112583715B CN 112583715 B CN112583715 B CN 112583715B CN 202011425812 A CN202011425812 A CN 202011425812A CN 112583715 B CN112583715 B CN 112583715B
- Authority
- CN
- China
- Prior art keywords
- node
- equipment
- nodes
- determining
- transmission path
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/12—Shortest path evaluation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The embodiment of the invention discloses a method and a device for adjusting equipment node connection, wherein the method comprises the following steps: determining communication transmission time delay and data error rate between every two adjacent equipment nodes; determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes; determining an optimal data transmission path of each node according to the path transmission delay and the average bit error rate, and determining whether equipment nodes to be optimized exist or not; if the equipment node to be optimized exists, optimizing the transmission path of the equipment node to be optimized according to the optimal data transmission path; and adjusting the connection information of the nodes of the topological network according to the optimized connection relation of the nodes of the equipment. According to the scheme, the communication path of the equipment node is optimized, and the data transmission efficiency is improved.
Description
Technical Field
The embodiment of the application relates to the technical field of internet of things, in particular to a method and a device for adjusting equipment node connection.
Background
Along with popularization of internet of things technology and powerful functions of intelligent equipment, the intelligent internet of things equipment is applied to various fields, and along with increase of the number of equipment nodes, the requirement for communication among the equipment nodes is higher and higher.
The existing communication connection mode of the equipment nodes is generally that a topological graph is constructed purely according to the high quality of channels among the nodes, and communication connection among the nodes is established according to the topological graph.
Disclosure of Invention
The embodiment of the invention provides a method and a device for adjusting equipment node connection, which optimize a communication path of an equipment node and improve data transmission efficiency.
In a first aspect, an embodiment of the present invention provides a method for adjusting device node connection, where the method includes:
determining communication transmission time delay and data error rate between every two adjacent equipment nodes;
determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes;
determining an optimal data transmission path of each node according to the path transmission delay and the average bit error rate, and determining whether equipment nodes to be optimized exist or not;
if the equipment node to be optimized exists, optimizing the transmission path of the equipment node to be optimized according to the optimal data transmission path;
and adjusting the connection information of the nodes of the topological network according to the optimized connection relation of the nodes of the equipment.
Optionally, the determining the communication transmission delay and the data error rate between every two adjacent device nodes includes:
and determining the communication transmission delay and the data error rate between the equipment nodes with the communication connection relation according to the connection information of the topological network nodes.
Optionally, before determining the communication transmission delay and the data error rate between each two adjacent device nodes, the method further includes:
and after the equipment node establishes network communication connection with other equipment nodes, recording and counting communication transmission delay and data error rate in real time.
Optionally, the recording and counting the communication transmission delay in real time includes:
and calculating the average transmission time delay of the data packets according to the sending time stamps recorded in the received large number of data packets and the current system time stamp.
Optionally, the determining an optimal data transmission path of each node according to the path transmission delay and the average bit error rate includes:
acquiring the sending data of each node, and determining a time delay weight and an error rate weight according to the function type of each node and the content of the sending data;
calculating the selection score of each transmission path containing the current node according to the time delay weight and the error rate weight, and sequencing the selection scores;
and determining the transmission path with the lowest selection score as the optimal data transmission path.
Optionally, after adjusting the connection information of the topology network node according to the optimized connection relationship of the device node, the method further includes:
monitoring equipment nodes in the optimal data transmission path;
and if the data transmission is determined to be carried out on the equipment node of the optimal data transmission path, the optimal data transmission path is used as the transmission path of the equipment node for carrying out data transmission.
Optionally, after adjusting the connection information of the topology network node according to the optimized connection relationship of the device node, the method further includes:
when detecting that a new equipment node is added into a networking which is established with connection, determining the function type of the new equipment node;
determining the network connection relation of the new equipment node according to the function type and the selected and determined transmission path;
and adjusting the connection information of the topological network nodes according to the network connection relation, and correspondingly establishing the network connection between the new equipment node and other equipment nodes.
In a second aspect, an embodiment of the present invention further provides an apparatus for adjusting node connection, where the apparatus includes:
the parameter determining module is used for determining communication transmission delay and data error rate between every two adjacent equipment nodes;
the parameter statistical module is used for determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes;
the node determining module is used for determining the optimal data transmission path of each node according to the path transmission delay and the average bit error rate and determining whether the equipment node to be optimized exists or not;
the node path processing module is used for optimizing the transmission path of the equipment node to be optimized according to the optimal data transmission path if the equipment node to be optimized exists;
and the information adjusting module is used for adjusting the connection information of the nodes of the topological network according to the connection relation of the nodes of the equipment after the optimization processing.
In a third aspect, an embodiment of the present invention further provides an apparatus for adjusting node connection, where the apparatus includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for adjusting device node connection according to the embodiment of the present invention.
In a fourth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for adjusting device node connection according to the present invention.
In the embodiment of the invention, communication transmission delay and data error rate between every two adjacent equipment nodes are determined; determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes; determining an optimal data transmission path of each node according to the path transmission delay and the average bit error rate, and determining whether equipment nodes to be optimized exist or not; if the equipment node to be optimized exists, optimizing the transmission path of the equipment node to be optimized according to the optimal data transmission path; and adjusting the connection information of the nodes of the topological network according to the optimized connection relation of the nodes of the equipment. According to the scheme, the communication path of the equipment node is optimized, and the data transmission efficiency is improved.
Drawings
Fig. 1 is a flowchart of a method for adjusting a device node connection according to an embodiment of the present invention;
FIG. 1a is a schematic diagram of a network including a plurality of nodes according to an embodiment of the present invention;
FIG. 1b is a diagram illustrating exemplary topology information according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for adjusting device node connection according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for adjusting device node connection according to an embodiment of the present invention;
fig. 4 is a block diagram of a device node connection adjusting apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
Fig. 1 is a flowchart of an apparatus node connection adjustment method according to an embodiment of the present invention, which is applicable to adjustment of an apparatus node communication path in the internet of things. The scheme of one embodiment of the application specifically comprises the following steps:
step S101, determining communication transmission time delay and data error rate between every two adjacent equipment nodes.
In one embodiment, a plurality of device nodes are included in an internet of things network, and data communication transmission can be performed between the device nodes after communication connection is established. Exemplarily, as shown in fig. 1a, fig. 1a is a schematic diagram of a plurality of nodes included in a networking network according to an embodiment of the present invention, and as can be seen from the diagram, the networking network includes 10 nodes, which are respectively node 1, node 2, node 3, node 4, node 5, node 6, node 7, node 8, node 9, and node 10. Illustratively, taking the node 2 as an example, and the adjacent nodes thereof are 1 and 4, the communication transmission delay and the data error rate between the node 2 and the node 1 are calculated, and the communication transmission delay and the data error rate between the node 2 and the node 4 are calculated, respectively.
The transmission delay refers to a time required for a node to transmit data from the node to another node, for example, a time from the node 1 transmitting data to the node 2 receiving data is a transmission delay from the node 1 to the node 2, and a time from the node 2 transmitting data to the node 4 receiving data is a transmission delay from the node 2 to the node 4. The data error rate may refer to a probability that the receiving node receives incorrect data, for example, if the node 2 receives 100 data packets sent by the node 1, where the number of data packets with missing data integrity is 2, the error rate is 2%.
And step S102, determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes.
In an embodiment, each node in the group network is preset with corresponding topology network node connection information, where the topology network node connection information records a network connection relationship between each device node, as shown in fig. 1b, and fig. 1b is an exemplary topology information schematic diagram provided in an embodiment of the present invention. As can be seen from the right diagram, data transmission from the device node 1 to the device node 8 includes three paths, which are respectively node 1-node 2-node 6-node 8, node 1-node 3-node 7-node 8, and node 1-node 4-node 5-node 8.
In one embodiment, after the communication transmission delay and the data error rate between every two adjacent device nodes are determined in the previous steps, the path transmission delay and the average error rate of each transmission path are determined according to the topology network node connection information.
Illustratively, taking three data transmission paths of node 1-node 2-node 6-node 8, node 1-node 3-node 7-node 8, and node 1-node 4-node 5-node 8 as an example, the transmission delay and the average bit error rate of the path corresponding to each transmission path are respectively calculated, wherein the path delay may be the sum of the communication transmission delays between each node, the average bit error rate may be the average of the data bit error rates between each node, taking path node 1-node 3-node 7-node 8 as an example, the error rate of node 1-node 3 is 1%, the error rate of node 3-node 7 is 3%, the error rate of node 7-node 8 is 2%, the average bit error rate of the path node 1-node 3-node 7-node 8 is 2%.
Step S103, determining the optimal data transmission path of each node according to the path transmission delay and the average bit error rate, and determining whether the equipment node to be optimized exists.
In one embodiment, for each node, the transmission delay and the bit error rate under different paths are calculated and counted to obtain corresponding statistical scores, and the transmission path with the minimum statistical score is selected as the optimal path of the node. Illustratively, taking a node 1 as an example, the node 1 includes 3 transmission paths, which are respectively a node 1, a node 2, a node 6, a node 8, a node 1, a node 3, a node 7, a node 8, and a node 1, a node 4, a node 5, and a node 8, specifically, the score calculation method may be dividing the transmission delay into different delay levels, for example, into 10 levels, where the higher the level is, the larger the delay is, and each level corresponds to a respective score value, for example, 1 to 10; similarly, the average bit error rate also corresponds to 1-10 points, and the higher the fraction is, the higher the bit error rate is represented.
Supposing that 5 points corresponding to the nodes 1, 2, 6 and 8 are obtained through final calculation; node 1-node 3-node 7-node 8 correspond to 2 points; the node 1, the node 4, the node 5 and the node 8 correspond to 10 points; node 1-node 3-node 7-node 8 are determined to be the optimal path for node 1.
In one embodiment, after the optimal path of each node is determined, it is correspondingly determined whether the device node to be optimized exists in the current networking. The specific determination method may be to perform path traversal based on the device node, calculate each adjacent connectable device node, and determine the device node as a device node to be optimized if the delay and error rate (i.e., the calculated fraction value) of the connected transmission path are lower than those of the transmission path in the current optimal path of the node.
Taking fig. 1b as an example, under the current topology networking, the optimal path of the node 4 is assumed to be the node 4-node 5-node 8, and at this time, the score values of the node 5-node 8, the node 6-node 8 and the node 7-node 8 are traversed to reach the node 8 respectively, if the score value of the node 5-node 8 is 4, the score value of the node 6-node 8 is 3, and the score value of the node 7-node 8 is 6, the score value of the node 6-node 8 is lower than the score value of the node 5-node 8, and the device node 4 is correspondingly determined to be the node to be optimized.
And step S104, if the equipment node to be optimized exists, optimizing the transmission path of the equipment node to be optimized according to the optimal data transmission path.
In an embodiment, after determining that the node to be optimized exists, as in the node 4 in the previous example, the transmission path of the device node to be optimized is optimized according to the optimal data transmission path, that is, the node is optimized and adjusted to be the node 4-the node 6-the node 8 according to the original optimal transmission path node 4-the node 5-the node 8.
And S105, adjusting the connection information of the nodes of the topological network according to the connection relation of the nodes of the equipment after the optimization processing.
In one embodiment, after the connection relationship of the device node in the networking is changed, the corresponding update is performed in the topology network node connection information so as to refer to the execution when the device accesses the network again to establish the connection with other node devices.
Therefore, the communication transmission delay and the data error rate between every two adjacent equipment nodes are determined; determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes; determining an optimal data transmission path of each node according to the path transmission delay and the average bit error rate, and determining whether equipment nodes to be optimized exist or not; if the equipment node to be optimized exists, optimizing the transmission path of the equipment node to be optimized according to the optimal data transmission path; and adjusting the connection information of the nodes of the topological network according to the optimized connection relation of the nodes of the equipment. According to the scheme, the communication path of the equipment node is optimized, and the data transmission efficiency is improved.
Fig. 2 is a flowchart of another method for adjusting device node connection according to an embodiment of the present invention. On the basis of the above technical solution, the determining of the communication transmission delay and the data error rate between every two adjacent device nodes includes: and determining the communication transmission delay and the data error rate between the equipment nodes with the communication connection relation according to the connection information of the topological network nodes. The method specifically comprises the following steps:
step S201, determining communication transmission time delay and data error rate between equipment nodes with communication connection relation according to the topology network node connection information.
In one embodiment, the communication transmission delay and the data error rate between the device nodes with the communication connection relationship are determined according to the topology network node connection information, rather than determining the communication transmission delay and the data error rate of every two adjacent nodes.
Step S202, determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes.
Step S203, determining the optimal data transmission path of each node according to the path transmission delay and the average bit error rate, and determining whether the equipment node to be optimized exists.
And step S204, if the equipment node to be optimized exists, optimizing the transmission path of the equipment node to be optimized according to the optimal data transmission path.
And S205, adjusting the connection information of the nodes of the topological network according to the connection relation of the optimized equipment nodes.
Therefore, the communication transmission delay and the data error rate between the equipment nodes with the communication connection relation are determined according to the connection information of the topological network nodes, so that the data calculation amount is reduced, and the efficiency of adjusting the equipment nodes is improved.
Fig. 3 is a flowchart of another method for adjusting device node connection according to an embodiment of the present invention. On the basis of the above technical solution, before determining the communication transmission delay and the data error rate between every two adjacent device nodes, the method further includes: and after the equipment node establishes network communication connection with other equipment nodes, recording and counting communication transmission delay and data error rate in real time. The method specifically comprises the following steps:
step S301, after the device node establishes network communication connection with other device nodes, recording and counting communication transmission delay and data error rate in real time.
In one embodiment, after the communication connection is established, for each device node, the record statistics of the communication transmission delay and the data error rate are correspondingly performed, for example, the record is recorded in the created database table.
Step S302, determining communication transmission time delay and data error rate between equipment nodes with communication connection relation according to the topology network node connection information.
Step S303, determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes.
Step S304, determining the optimal data transmission path of each node according to the path transmission delay and the average bit error rate, and determining whether the equipment node to be optimized exists.
Step S305, if the device node to be optimized exists, optimizing the transmission path of the device node to be optimized according to the optimal data transmission path.
And S306, adjusting the connection information of the nodes of the topological network according to the connection relation of the optimized equipment nodes.
Therefore, after the equipment nodes establish network communication connection with other equipment nodes, communication transmission delay and data error rate are recorded and counted in real time, the adjustment and optimization speed of the equipment nodes can be remarkably improved, and the scheme aim is achieved with low calculation time.
On the basis of the above technical solution, the determining an optimal data transmission path for each node according to the path transmission delay and the average bit error rate includes: acquiring the sending data of each node, and determining a time delay weight and an error rate weight according to the function type of each node and the content of the sending data; calculating the selection score of each transmission path containing the current node according to the time delay weight and the error rate weight, and sequencing the selection scores; and determining the transmission path with the lowest selection score as the optimal data transmission path.
In one embodiment, when a node sends data, a direct random path selection mode is not adopted, but the data content of the sent data and the function type of the current node are determined first, illustratively, different device nodes have different functions, and the different functions represent the data type of the sent data to a great extent, such as whether the data is data with high real-time requirement, whether the requirement on efficient and accurate transmission of the data is high, and the like. Meanwhile, the data content of the specific sending data, such as program installation data, is considered, which has relatively low real-time requirements, such as control instruction data, which needs relatively high response speed, and which has relatively high real-time requirements.
In one embodiment, taking the example that the node 1 sends data, the node 1 function type is a data acquisition type, for example, if the data delay requirement of each type of temperature sensing device node is relatively low, a smaller weight, for example, 0.2, is assigned, and the corresponding bit error rate weight is 0.8.
In one embodiment, the selection scores of each transmission path including the current node are calculated according to the determined delay weight and the average bit error rate, and the selection scores are sorted. Also taking node 1 as an example, the selection scores of 3 paths are calculated according to the time delay weight of 0.2 and the error rate weight of 0.8. Specifically, the delay weight is multiplied by the path transmission delay, the error rate weight is multiplied by the average error rate, the results are added to obtain the score of the path, the scores of the 3 paths are calculated in the same way and then sorted, and the exemplary scores are respectively 10, 20 and 15.
The selected score represents the overall situation of the transmission delay and the bit error rate of the path, and the lower the score is, the better the transmission effect of the comprehensive path is.
On the basis of the above technical solution, after adjusting the connection information of the topology network node according to the optimized connection relationship of the device node, the method further includes: monitoring equipment nodes in the optimal data transmission path; and if the data transmission is determined to be carried out on the equipment node of the optimal data transmission path, the optimal data transmission path is used as the transmission path of the equipment node for carrying out data transmission.
In one embodiment, when the optimal path is determined again for a certain device node, it is correspondingly determined whether the optimal path is already an intermediate node in the aforementioned selected transmission path, and if so, data transmission is performed according to the selected transmission path.
On the basis of the above technical solution, after adjusting the connection information of the topology network node according to the optimized connection relationship of the device node, the method further includes: when a new equipment node is detected to be added into a networking which is already established at present, determining the function type of the new equipment node; determining the network connection relation of the new equipment node according to the function type and the selected and determined transmission path; and adjusting the connection information of the topological network nodes according to the network connection relation, and correspondingly establishing the network connection between the new equipment node and other equipment nodes. Therefore, network connection can be quickly established and corresponding topology information can be updated aiming at the newly added equipment nodes.
Fig. 4 is a block diagram of a device node connection adjustment apparatus according to an embodiment of the present invention, where the apparatus is configured to execute the device node connection adjustment method according to the data receiving end embodiment, and has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 4, the apparatus specifically includes: a parameter determination module 101, a parameter statistics module 102, a node determination module 103, a node path processing module 104, and an information adjustment module 105, wherein,
a parameter determining module 101, configured to determine a communication transmission delay and a data error rate between every two adjacent device nodes;
the parameter statistical module 102 is configured to determine a path transmission delay and an average bit error rate of each transmission path according to the connection information of the topology network nodes;
the node determining module 103 is configured to determine an optimal data transmission path of each node according to the path transmission delay and the average bit error rate, and determine whether a device node to be optimized exists;
a node path processing module 104, configured to, if the to-be-optimized device node exists, perform optimization processing on the transmission path of the to-be-optimized device node according to the optimal data transmission path;
and the information adjusting module 105 is configured to adjust the connection information of the topology network nodes according to the optimized connection relationship of the device nodes.
According to the scheme, the communication transmission time delay and the data error rate between every two adjacent equipment nodes are determined; determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes; determining an optimal data transmission path of each node according to the path transmission delay and the average bit error rate, and determining whether equipment nodes to be optimized exist or not; if the equipment node to be optimized exists, optimizing the transmission path of the equipment node to be optimized according to the optimal data transmission path; and adjusting the connection information of the nodes of the topological network according to the optimized connection relation of the nodes of the equipment. According to the scheme, the communication path of the equipment node is optimized, and the data transmission efficiency is improved.
In a possible embodiment, the parameter determining module 101 is specifically configured to:
and determining communication transmission time delay and data error rate between equipment nodes with communication connection relation according to the connection information of the topological network nodes.
In one possible embodiment, the parameter statistics module 102 is further configured to:
before determining the communication transmission delay and the data error rate between every two adjacent equipment nodes, after the equipment nodes establish network communication connection with other equipment nodes, the communication transmission delay and the data error rate are recorded and counted in real time.
In a possible embodiment, the parameter statistics module 102 is specifically configured to:
and calculating the average transmission time delay of the data packets according to the sending time stamps recorded in the received large number of data packets and the current system time stamp.
In a possible embodiment, the node determining module 103 is specifically configured to:
acquiring the sending data of each node, and determining a time delay weight and an error rate weight according to the function type of each node and the content of the sending data;
calculating the selection score of each transmission path containing the current node according to the time delay weight and the error rate weight, and sequencing the selection scores;
and determining the transmission path with the lowest selection score as the optimal data transmission path.
In a possible embodiment, the node path processing module 104 is further configured to:
after the connection information of the topological network nodes is adjusted according to the connection relation of the optimized equipment nodes, monitoring the equipment nodes in the optimal data transmission path;
and if the data transmission is determined to be carried out on the equipment node of the optimal data transmission path, the optimal data transmission path is used as the transmission path of the equipment node for carrying out data transmission.
In one possible embodiment, the node path processing module 104 is further configured to:
after adjusting the connection information of the topological network nodes according to the connection relation of the optimized equipment nodes, determining the function type of a new equipment node when the new equipment node is detected to be added into the networking which is already established with the connection;
determining the network connection relation of the new equipment node according to the function type and the selected and determined transmission path;
and adjusting the connection information of the topological network nodes according to the network connection relation, and correspondingly establishing the network connection between the new equipment node and other equipment nodes.
Fig. 5 is a schematic structural diagram of an apparatus node connection adjustment apparatus according to an embodiment of the present invention, as shown in fig. 5, the apparatus includes a processor 201, a memory 202, an input device 203, and an output device 204; the number of the processors 201 in the device may be one or more, and one processor 201 is taken as an example in fig. 5; the processor 201, the memory 202, the input device 203 and the output device 204 in the apparatus may be connected by a bus or other means, and fig. 5 illustrates the connection by a bus as an example. The memory 202 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the device node connection adjustment method in the embodiment of the present invention. The processor 201 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 202, that is, implements the device node connection adjustment method described above. The input device 203 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the apparatus. The output device 204 may include a display device such as a display screen.
Embodiments of the present invention also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for device node connection adjustment, the method including:
determining communication transmission time delay and data error rate between every two adjacent equipment nodes;
determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes;
determining an optimal data transmission path of each node according to the path transmission delay and the average bit error rate, and determining whether equipment nodes to be optimized exist or not;
if the equipment node to be optimized exists, optimizing the transmission path of the equipment node to be optimized according to the optimal data transmission path;
and adjusting the connection information of the nodes of the topological network according to the optimized connection relation of the nodes of the equipment.
From the above description of the embodiments, it is obvious for those skilled in the art that the embodiments of the present invention can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better implementation in many cases. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to make a computer device (which may be a personal computer, a service, or a network device) perform the methods described in the embodiments of the present invention.
It should be noted that, in the embodiment of the device node connection adjustment apparatus, each included unit and module are only divided according to functional logic, but are not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
It should be noted that the foregoing is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will appreciate that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.
Claims (8)
1. The method for adjusting the connection of the equipment node is characterized by comprising the following steps:
determining communication transmission time delay and data error rate between every two adjacent equipment nodes;
determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes;
determining an optimal data transmission path of each node according to the path transmission delay and the average bit error rate, and determining whether an equipment node to be optimized exists;
if the equipment node to be optimized exists, optimizing the transmission path of the equipment node to be optimized according to the optimal data transmission path;
adjusting the connection information of the nodes of the topological network according to the optimized connection relation of the nodes of the equipment;
monitoring equipment nodes in the optimal data transmission path; if the data transmission is determined to be carried out on the equipment node of the optimal data transmission path, the optimal data transmission path is used as the transmission path of the equipment node for carrying out data transmission;
when a node sends data, firstly determining the data content of the sent data and the function type of the current node, when a new device node is detected to be added into a networking which is established with connection, determining the function type of the new device node, determining the network connection relation of the new device node according to the function type and the selected and determined transmission path, adjusting the connection information of the topological network node according to the network connection relation, and correspondingly establishing the network connection between the new device node and other device nodes.
2. The method for adjusting device node connectivity according to claim 1, wherein the determining the communication transmission delay and the data error rate between each two adjacent device nodes comprises:
and determining communication transmission time delay and data error rate between equipment nodes with communication connection relation according to the connection information of the topological network nodes.
3. The method of adjusting device node connectivity according to claim 1, further comprising, before determining a communication transmission delay and a data error rate between each two neighboring device nodes:
and after the equipment node establishes network communication connection with other equipment nodes, recording and counting communication transmission delay and data error rate in real time.
4. The method for adjusting device node connection according to claim 3, wherein the recording and counting communication transmission delay in real time includes:
and calculating the average transmission time delay of the data packets according to the sending time stamps recorded in the received large number of data packets and the current system time stamp.
5. The method for adjusting device node connection according to any one of claims 1 to 4, wherein the determining an optimal data transmission path for each node according to the path transmission delay and the average bit error rate includes:
acquiring the sending data of each node, and determining a time delay weight and an error rate weight according to the function type of each node and the content of the sending data;
calculating the selection score of each transmission path containing the current node according to the time delay weight and the error rate weight, and sequencing the selection scores;
and determining the transmission path with the lowest selection score as the optimal data transmission path.
6. Equipment node connection adjusting device, its characterized in that includes:
the parameter determining module is used for determining communication transmission delay and data error rate between every two adjacent equipment nodes;
the parameter statistical module is used for determining the path transmission delay and the average bit error rate of each transmission path according to the connection information of the topological network nodes;
the node determining module is used for determining the optimal data transmission path of each node according to the path transmission delay and the average bit error rate and determining whether the equipment node to be optimized exists or not;
the node path processing module is used for optimizing the transmission path of the equipment node to be optimized according to the optimal data transmission path and monitoring the equipment node in the optimal data transmission path if the equipment node to be optimized exists; if the data transmission is determined to be carried out on the equipment node of the optimal data transmission path, the optimal data transmission path is used as the transmission path of the equipment node for carrying out data transmission;
the information adjusting module is used for adjusting the connection information of the topological network nodes according to the connection relationship of the optimized equipment nodes, firstly determining the data content of the sent data and the function type of the current node when the nodes send data, determining the function type of the new equipment nodes when the new equipment nodes are detected to be added into the networking which is finished by the current connection establishment, determining the network connection relationship of the new equipment nodes according to the function type and the selected and determined transmission path, adjusting the connection information of the topological network nodes according to the network connection relationship, and correspondingly establishing the network connection between the new equipment nodes and other equipment nodes.
7. A device node connection adjustment device, the device comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the device node connection adjustment method of any one of claims 1-5.
8. A storage medium containing computer executable instructions for performing the device node connection adjustment method of any one of claims 1-5 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011425812.2A CN112583715B (en) | 2020-12-08 | 2020-12-08 | Equipment node connection adjustment method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011425812.2A CN112583715B (en) | 2020-12-08 | 2020-12-08 | Equipment node connection adjustment method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112583715A CN112583715A (en) | 2021-03-30 |
CN112583715B true CN112583715B (en) | 2022-05-27 |
Family
ID=75127766
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011425812.2A Active CN112583715B (en) | 2020-12-08 | 2020-12-08 | Equipment node connection adjustment method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112583715B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114338386B (en) * | 2022-03-14 | 2022-08-05 | 北京天维信通科技有限公司 | Network configuration method and device, electronic equipment and storage medium |
CN115996176B (en) * | 2023-03-24 | 2023-05-30 | 广州世炬网络科技有限公司 | Node topology structure adjusting method and device |
CN116033503B (en) * | 2023-03-27 | 2023-06-23 | 广州世炬网络科技有限公司 | Internetwork node switching method and device based on networking performance |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103826280A (en) * | 2014-03-10 | 2014-05-28 | 广州银禾网络通信有限公司 | Mobile communication network route optimizing method and system |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7096281B2 (en) * | 2001-08-15 | 2006-08-22 | International Business Machines Corporation | Efficient connectivity between multiple topology subnets via common connection network |
US8149707B2 (en) * | 2003-02-12 | 2012-04-03 | Rockstar Bidco, LP | Minimization of radio resource usage in multi-hop networks with multiple routings |
US20090122753A1 (en) * | 2007-10-01 | 2009-05-14 | Hughes Timothy J | Dynamic data link segmentation and reassembly |
US9288143B2 (en) * | 2013-10-14 | 2016-03-15 | Hewlett Packard Enterprise Development Lp | Data flow path determination |
-
2020
- 2020-12-08 CN CN202011425812.2A patent/CN112583715B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103826280A (en) * | 2014-03-10 | 2014-05-28 | 广州银禾网络通信有限公司 | Mobile communication network route optimizing method and system |
Also Published As
Publication number | Publication date |
---|---|
CN112583715A (en) | 2021-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112583715B (en) | Equipment node connection adjustment method and device | |
CN112543145A (en) | Method and device for selecting communication path of equipment node for sending data | |
US11463511B2 (en) | Model-based load balancing for network data plane | |
CN101459618B (en) | Data packet forwarding method and device for virtual machine network | |
CN111654402B (en) | Network topology creation method, device, equipment and storage medium | |
CN113315700A (en) | Computing resource scheduling method, device and storage medium | |
CN101243653A (en) | Information communication system, information communication method, node device included in information communication system, and recording medium having information processing program recorded on it | |
CN111835579B (en) | Method and system for testing effectiveness of network traffic scheduling simulation | |
CN108718258B (en) | Quality detection method and equipment for inter-board link | |
CN112600753B (en) | Equipment node communication path selection method and device according to equipment access amount | |
KR20220029142A (en) | Sdn controller server and method for analysing sdn based network traffic usage thereof | |
CN112995036A (en) | Network traffic scheduling method and device | |
CN105791113B (en) | A kind of multilink delay equalization method and system based on SDN | |
CN113179428B (en) | Method, equipment, system and storage medium for optimizing streaming media transmission link | |
CN114338267A (en) | Maintenance method, device, equipment, bus network and medium for multiple management nodes | |
CN116708304B (en) | Switching method and device of data transmission paths, storage medium and electronic equipment | |
CN116723136B (en) | Network data detection method applying FCM clustering algorithm | |
CN106790693A (en) | The analysis method and system of a kind of network packet | |
Pereira et al. | A framework for robust traffic engineering using evolutionary computation | |
CN117729602A (en) | Link switching control method and device | |
US11736370B2 (en) | Field data transmission method, device and system, and computer-readable medium | |
CN109495178B (en) | Method and device for constructing FTTx network topology link | |
Mikhailenko et al. | Analysis of the adaptive neural network router | |
CN111641698B (en) | Data statistical method, system, equipment and storage medium | |
CN113923166B (en) | Load balancing method and distributed cluster system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |