CN113261249A - Data transmission method, related equipment and computer storage medium - Google Patents

Data transmission method, related equipment and computer storage medium Download PDF

Info

Publication number
CN113261249A
CN113261249A CN201980073521.0A CN201980073521A CN113261249A CN 113261249 A CN113261249 A CN 113261249A CN 201980073521 A CN201980073521 A CN 201980073521A CN 113261249 A CN113261249 A CN 113261249A
Authority
CN
China
Prior art keywords
network node
transmission path
data
transmission
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201980073521.0A
Other languages
Chinese (zh)
Inventor
李军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Royole Technologies Co Ltd
Original Assignee
Shenzhen Royole Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Royole Technologies Co Ltd filed Critical Shenzhen Royole Technologies Co Ltd
Publication of CN113261249A publication Critical patent/CN113261249A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/12Shortest path evaluation

Abstract

The application provides a data transmission method, related equipment and a computer storage medium. The method comprises the following steps: when data transmission needs to be performed between the first network node and the second network node, by acquiring a transmission path which is currently available for data transmission between the first network node and the second network node, selecting one of the transmission paths with the highest transmission efficiency as a target transmission path, and controlling data transmission through the target transmission path. By using the data transmission method, the related equipment and the computer storage medium provided by the application, the transmission path can be dynamically adjusted according to the application scene, and the data transmission method, the related equipment and the computer storage medium have higher bandwidth utilization rate and stronger network self-healing capability.

Description

Data transmission method, related equipment and computer storage medium Technical Field
The present application relates to the field of communications, and in particular, to a data transmission method, a related device, and a computer storage medium.
Background
With the development of a new generation of wireless broadband communication technology and the development of an industrialization process, handheld multimedia terminals centering on PDAs, multimedia mobile phones, tablet computers and the like are widely applied, will become a unified platform for popularization and application of information technology, can support various rich and varied information applications, and are rapidly developed in various industries such as industry, agriculture, medical treatment, education, family and personal communication.
Data transmission is one of the key technologies, when the range of data transmission is limited and the number of connections of network devices is limited, a commonly used network structure is a star network structure as shown in fig. 1, in which, a user device is used as an edge node, and forms a micro network with a routing device in a master-slave mode, and the routing device and a master control device form the whole network topology in the master-slave mode. Based on the networking technology of the star network topology, when a routing node fails, user equipment connected with the routing node is affected, the self-healing capability of the network is weak, the user equipment can only use a fixed path for forwarding, the transmission path cannot be dynamically adjusted according to the traffic use condition of a channel, and the bandwidth utilization rate is low.
Disclosure of Invention
The application provides a data transmission method, related equipment and a computer storage medium, which can dynamically adjust a transmission path according to an application scene, and have higher bandwidth utilization rate and stronger network self-healing capability.
In a first aspect, a data transmission method is provided, which is applied to a data transmission system, where the data transmission system includes a first network node and a second network node, and is characterized in that the network transmission system further establishes multiple transmission paths between the first network node and the second network node, each transmission path includes one or more intermediate network nodes, and multiple intermediate network nodes in each transmission path are in direct communication connection in sequence; the method comprises the following steps: when data transmission needs to be carried out between the first network node and the second network node, acquiring a transmission path which can be used for transmitting data currently between the first network node and the second network node; selecting one transmission path with the highest transmission efficiency from the transmission paths as a target transmission path; and controlling data transmission through the target transmission path.
In a second aspect, a network terminal device is provided, which is disposed on a first network node of a data transmission system, where the data transmission system includes the first network node and a second network node, the network transmission system further establishes a plurality of transmission paths between the first network node and the second network node, each transmission path includes one or more intermediate network nodes, and the plurality of intermediate network nodes in each transmission path are in direct communication connection in sequence; the network terminal device comprises a processor and a communication interface, wherein the processor is used for: when data transmission is required to be carried out between the first network node and the second network node, acquiring a transmission path which can be used for transmitting data currently between the first network node and the second network node; selecting one transmission path with the highest transmission efficiency from the transmission paths as a target transmission path; and controlling the communication interface to transmit data through the target transmission path.
In a third aspect, there is provided a computer readable storage medium storing a computer program comprising program instructions which, when executed by a processor, cause the processor to perform the method of the first aspect described above.
Based on the data transmission method, the related device and the computer storage medium provided by the application, when data transmission needs to be performed between the first network node and the second network node, by acquiring a transmission path which is currently available for data transmission between the first network node and the second network node, one of the transmission paths with the highest transmission efficiency is selected as a target transmission path, and data transmission is performed through the target transmission path. Because the network structure provided by the application is not a traditional star network structure in a master-slave mode, and each network node is not only an edge node but also has the forwarding function of a router, the data transmission method, the related equipment and the computer storage medium provided by the application can dynamically adjust a transmission path aiming at an application scene, and have higher bandwidth utilization rate and stronger network self-healing capability.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a conventional star network topology;
fig. 2 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 3 is a topology diagram of a data transmission network structure according to an embodiment of the present application;
fig. 4 is a topology diagram of a data transmission network structure according to an embodiment of the present application;
fig. 5 is a topology diagram of a data transmission network structure according to an embodiment of the present application;
fig. 6 is a schematic view of an interaction flow between a first network node a and an intermediate network node B in an application scenario according to an embodiment of the present application;
fig. 7 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 8a is a schematic diagram of a network framework of a data transmission system according to an embodiment of the present application;
fig. 8b is a schematic structural diagram of a network terminal device according to an embodiment of the present application.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
The present application will be described in further detail below with reference to the accompanying drawings by way of specific embodiments. In the following description, numerous details are set forth in order to provide a better understanding of the present application. However, those skilled in the art will readily recognize that some of the features may be omitted in different instances or may be replaced by other methods. In some instances, certain operations related to the present application have not been shown or described in the specification, in order not to obscure the core portions of the present application with excessive description. It is not necessary for those skilled in the art to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the field.
It will be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is to be understood that the terminology used in the embodiments of the present application is for the purpose of describing particular embodiments only, and is not intended to be limiting of the application. As used in the examples of this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
Fig. 2 is a data transmission method provided in the present application, where the data transmission method is applied to a data transmission system, where the data transmission system includes a first network node and a second network node, and the network transmission system further establishes a plurality of transmission paths between the first network node and the second network node, where each of the transmission paths includes one or more intermediate network nodes, and the plurality of intermediate network nodes in each of the transmission paths are in direct communication connection in sequence; the method comprises the following steps:
s101: when data transmission needs to be carried out between the first network node and the second network node, a transmission path which can be used for transmitting data currently between the first network node and the second network node is obtained.
In one embodiment, the first network node and the intermediate network node are terminal devices including a bluetooth module, which are disposed on each network node in the data transmission system. The second network node is a server or a central control node. It is to be understood that, in other embodiments, the second network node may also be a terminal device including a bluetooth module on each network node disposed in the data transmission system. The terminal device including the Bluetooth module may specifically be a Bluetooth Low Energy (BLE) 4.0 device, and taking the conference system as an example, the first network node and the intermediate network node may be handheld electronic devices supporting a Bluetooth function, such as a tablet, a mobile phone terminal, and a smart watch, and the second network node may be a central control device of the conference system. The first data transmitted between the first network node and the second network node may be data sent to the first network node by another network node, or may be data generated or stored by the first network node itself. For example, when the first network node is a tablet a1 used by a user a in the conference system, the first data may be data generated by the user a using a tablet a1, or data connected to a1 and generated for a tablet B1 used by the user B and transmitted to the tablet a 1. It should be understood that the foregoing examples are merely illustrative, and the data transmission method provided in this application may be used in any network environment where the range of data transmission is limited or the number of connections of network devices is limited, and the conference system is only one application scenario, and this application is not limited specifically.
In one embodiment, the intermediate network node is a terminal device including a bluetooth module for directly forwarding data transmitted by other network nodes through a network, and includes: and the intermediate network node positioned in the transmission range of the first network node is used for receiving the data sent by the first network node, wherein the first network node is directly connected with the intermediate network node. The first intermediate network node which receives the data sent by the first network node transmits the data sequentially through a plurality of intermediate network nodes according to the connection sequence of the transmission paths until the data are transmitted to the intermediate network node which is directly connected with the second network node, and the intermediate network node which is directly connected with the second network node sends the data to the second network node. That is, the conventional star network structure includes a central node, a routing node and an edge node, wherein the routing node is a slave device of the central node and a master device of the edge node. With the data transmission system provided by the present application, when the second network node is a server, the data transmission system only includes a central node (server) and a plurality of network nodes (including an intermediate network node and a first network node), the central node is a master device of the plurality of network nodes, and there is no master-slave relationship between the plurality of network nodes. For example, fig. 3 is a topological diagram of a data transmission network provided in the present application, where the dark color network node 0 may be a central control node as a second network node, the light color network node is a first network node and an intermediate network node, and after data generated by the first network node is sent to the second network node through a transmission path, the second network node performs corresponding processing on the data. It will be appreciated that each network node acting as a bluetooth device may establish a connection directly with the second network node, for example, the network node 10 in fig. 3 may also establish a connection directly with the second network node 0 for data transmission. However, because bluetooth is a short-distance communication mode, and each network node can only establish bluetooth connection with less than seven other network nodes according to the bluetooth protocol, when the first network node is far away from the second network node or the connection number of the second network node reaches the maximum upper limit, data can be sent to other intermediate network nodes for multiple times of forwarding, so as to reach the second network node. It should be understood that fig. 3 is only used for illustration, and the data transmission network provided in the present application may further include more central control nodes, more first network nodes, and more intermediate network nodes, which are not specifically limited herein.
S102A: and selecting one transmission path with the highest transmission efficiency from the transmission paths as a target transmission path, and controlling data transmission through the target transmission path.
In an embodiment, the transmission path includes one or more intermediate network nodes. For example, fig. 4 is a topology diagram of a bluetooth networking structure provided in the present application, where the dark-color network node 0 is a second network node, and the light-color network node is a first network node and an intermediate network node. It is understood that each first network node may have one or more transmission paths to the second network node, for example, the network node 9 is a first network node, and for the first network node 9, there are three transmission paths, which may be forwarded sequentially through the network nodes 9, 3, 2, 1, and 0 to reach the second network node, may be forwarded sequentially through the network nodes 9, 10, 4, 1, and 0 to reach the second network node, and may be forwarded sequentially through the network nodes 9, 3, 11, 7, 6, 2, 1, and 0 to reach the second network node. When the network node 8 is the first network node, it only forwards the data via the network nodes 8, 5, 1, and 0 in sequence, so that each intermediate network node may have one or more transmission paths. It should be understood that the above examples are illustrative only and are not to be construed as being particularly limiting.
In an embodiment, the transmission path with the highest transmission efficiency is the transmission path with the least number of intermediate network nodes. Still taking fig. 4 as an example, when the network node 11 is a first network node, the first network node 11 has two transmission paths, where the first transmission path includes 6 network nodes, which are 11, 7, 6, 2, 1, and 0, respectively, and the second transmission path includes 5 network nodes, which are 11, 3, 2, 1, and 0, respectively, so that the first network node 11 selects to use the second transmission path as a target transmission path for transmitting the first data. It will be appreciated that the fewer intermediate network nodes the selected target transmission path contains, the faster the first data can reach the second network node 0. It should be understood that the above examples are illustrative only and are not to be construed as being particularly limiting.
In an embodiment, the transmission path with the highest transmission efficiency is the transmission path with the largest number of idle network nodes, where the idle network nodes are network nodes that do not need to send data. Still taking fig. 4 as an example, when the network node 9 is a first network node, the first network node 9 has two transmission paths, wherein the first transmission path includes the network nodes 9, 3, 2, 1, 0, the second transmission path includes the network nodes 9, 10, 4, 1, 0, and the third transmission path includes the network nodes 9, 3, 11, 7, 6, 2, 1, 0. Since the network nodes are all terminal devices including bluetooth modules, the bluetooth modules may send broadcasts that are currently in an idle state to the surrounding directly connected network nodes, and assume that the current network nodes 2, 3, and 4 send broadcasts that are currently in an idle state to the surrounding, at this time, the first transmission path includes 2 idle network nodes, the second transmission path includes 1 idle network node, and the third transmission path includes 2 idle network nodes, therefore, the transmission path with the highest transmission efficiency at this time is the first transmission path and the third transmission path, and the first network node 9 may select to use the first transmission path or the third transmission path as a target transmission path to send the first data to the second network node. It will be appreciated that the more idle nodes the selected target path contains, the faster the first data can reach the second network node 0 and the higher the transmission efficiency. It should be understood that the above examples are illustrative only and are not to be construed as being particularly limiting.
In one embodiment, the obtaining a transmission path currently available for transmitting data between the first network node and the second network node includes: when idle state information sent by an idle network node is received, one or more transmission paths containing the idle network node are obtained; the selecting one of the transmission paths with the highest transmission efficiency as a target transmission path includes: and selecting one transmission path with the least number of intermediate network nodes in the transmission paths containing the idle network nodes as a target transmission path.
For example, still taking fig. 4 as an example, when the network node 9 is a first network node, the first network node 9 has two transmission paths, where the first transmission path includes 5 network nodes, respectively 9, 3, 2, 1, and 0, the second transmission path includes 5 network nodes, respectively 9, 10, 4, 1, and 0, and the third transmission path includes 8 network nodes, respectively 9, 3, 11, 7, 6, 2, 1, and 0. Suppose that the current network nodes 2 and 3 send broadcasts of their current idle states to the surroundings, at this time, the first and second transmission paths both include 5 network nodes, the third transmission path includes 8 network nodes, the first and third transmission paths both include 2 idle network nodes, and the second transmission path includes 0 idle network node, therefore, the transmission path with the highest transmission efficiency at this time is a transmission path including the idle network nodes and the minimum number of intermediate network nodes as a target transmission path, that is, the first transmission path, and the first network node 9 selects the first transmission path as the target transmission path to send the first data to the second network node. It can be understood that the data communication method provided by the application can dynamically perform network shunting according to the current network condition, and send data to another path with short path, idle network and less blocking, thereby improving the efficiency of data transmission. It should be understood that the above examples are illustrative only and are not to be construed as being particularly limiting.
In an embodiment, the obtaining a transmission path currently available for transmitting data between the first network node and the second network node further includes: when receiving idle state information sent by an idle network node directly connected with the first network node, determining a target idle network node closest to the first network node, wherein the idle state information comprises positioning information of each idle node; acquiring one or more transmission paths containing the target idle network node; the selecting one of the transmission paths with the highest transmission efficiency as a target transmission path includes: and selecting one transmission path with the least number of intermediate network nodes in the transmission paths containing the target idle network nodes as a target transmission path.
For example, still taking fig. 4 as an example, the first network node 9 has three transmission paths, the directly connected network nodes of the first network node 9 may be the intermediate network node 3 and the intermediate network node 10, assuming that the intermediate network node 3 is in an idle state, the intermediate network node 3 may send a broadcast of its current idle state to the surrounding directly connected network nodes, the first network node 9 sends the first data to the intermediate network node 3 when receiving the broadcast, the intermediate network node 3 obtains one or more transmission paths from the intermediate network node 3 to the second network node 0, and at this time, only one transmission path is present, that is, the transmission paths are sequentially forwarded through the intermediate network nodes 3, 2, 1, and 0. It can be understood that, in the conventional star network structure, since the path is fixed, dynamic adjustment cannot be performed, and only the central control device can be used to reserve a channel bandwidth for each routing node in advance, so that the channel resources are wasted when an individual edge node is suspended for use and data is not generated. By acquiring the idle states of the surrounding nodes, the data transmission method can dynamically adjust the path by taking the idle nodes as the intermediate network nodes of the relay, thereby dynamically carrying out network shunting and sending the data to another potential path with less blockage.
In an embodiment, the method further comprises: and under the condition that the intermediate network node in the transmission path has a fault, taking the previous intermediate network node directly connected with the middle network node with the fault as the first network node, and executing the data transmission method again. That is, if an intermediate network node in the target transmission path of the first network node fails, the first network node may re-perform steps S101 to S102, thereby selecting a new target transmission path without a failed node. Therefore, compared with the traditional method, the data transmission method provided by the application can dynamically adjust the path according to various requirements, and has higher flexibility and network self-healing capability.
In an embodiment, the method further comprises: when the transmission paths with the highest transmission efficiency in the transmission paths have two or more, acquiring the positioning information of each intermediate network node in each transmission path, wherein the positioning information of the intermediate network nodes comprises the distance between each intermediate network node and other directly connected network nodes; and selecting the transmission path with the shortest distance as a target transmission path by using a Dijkstra algorithm according to the positioning information. It will be appreciated that bluetooth devices have position calculation capabilities and accuracy can be up to 0.5 meters or less. Therefore, alternatively, the positioning information may be a distance between each intermediate network node and a node where a connection is established, which is calculated and stored when the intermediate network node establishes a bluetooth connection with another directly connected network node, and when the number of intermediate network nodes in the transmission path is the same, the shortest transmission path may be calculated as the target path according to the distance between the nodes, which is stored in advance.
For example, in the network structure shown in fig. 5, the first network node 9 has three transmission paths, wherein the first transmission path includes 5 intermediate network nodes, respectively 9, 3, 2, 1, and 0, the second transmission path includes 5 intermediate network nodes, respectively 9, 10, 4, 1, and 0, and the third transmission path includes 8 transmission nodes, respectively 9, 3, 11, 7, 6, 2, 1, and 0, wherein the number of the intermediate network nodes included in the first transmission path and the second transmission path is 5, and therefore, the first network node 9 obtains the positioning information of the nodes on the two transmission paths, so as to obtain that the distance between the first network node 9 and the intermediate network node 3 is 2m, the distance between the intermediate network node 3 and the intermediate network node 2 is 1.5m, the distance between the intermediate network node 2 and the intermediate network node 1 is 1.2m, the distance between the intermediate network node 1 and the intermediate network node 0 is 1m, the distance between the first network node 9 and the intermediate network node 10 is 1.5m, the distance between the intermediate network node 10 and the intermediate network node 4 is 1m, and the distance between the intermediate network node 4 and the intermediate network node 1 is 4.5m, so that the transmission path with the shortest distance can be selected as the first transmission path by using the Dijkstra algorithm, that is, the path including the first network nodes 9, 3, 2, 1 and 0. It should be understood that the above examples are illustrative only and are not to be construed as being particularly limiting.
In an embodiment, before the obtaining of the transmission path currently available for transmitting data between the first network node and the second network node, the method further includes: when first data needing data transmission comprises command data, preferentially sending the first data comprising the command data, and suspending sending other first data not comprising the command data, wherein the command data is used for controlling an intermediate network node on a target transmission path to carry out data transmission; and when receiving the command confirmation data, resuming to send the other first data which does not contain the command data. That is, the first network node may also control data transmission over a target transmission path.
In one embodiment, the command data may be command data sent by a first network node to a second network node, for example, in a conference system, when tablet a is the first network node and the central control device is the second network node, tablet a may transmit data to the central control device using target transmission path a 1. Assuming that the current tablet a has two types of data to be sent to the second network node, one type is text data generated by the user using the tablet a, and the other type is command data for the tablet a to confirm that the target transmission path a1 can transmit data to the second network node, at this time, the tablet a will send the command data to the second network node first, suspend sending the text data (cache the text data in the tablet a), the second network node sends a command confirmation message to the first network node after receiving the command data, and the tablet a sends the text data by using the target transmission path a1 after receiving the command confirmation message. The embodiment is used for confirming whether the target transmission path can successfully transmit data.
In another embodiment, the command data may also be command data sent by the first network node to the intermediate network node, and still taking the above example as an example, after the tablet a receives the command confirmation message sent by the second network node for data transmission using the target transmission path a1, tablet a will use target transmission path a1 for the transmission of text data, so tablet a will generate new command data, the command data is used to inform all the intermediate network nodes in the target transmission path a1 of the data sent by the tablet a, assuming that the target transmission path a1 includes the intermediate network nodes B, C and D, the tablet a will first send the new command data to the intermediate network nodes B, C and D, after receiving the command confirmation messages of the intermediate network nodes B, C and D, the text data buffered in the tablet a is transmitted using the target transmission path a 1.
In another embodiment, the command data may also be data of other control classes, for example, in a certain conference system shown in fig. 6, where tablet a is a first network node, and when tablet a sends data to the central control device, the first data may be text data generated by writing with tablet a by a user, and the first data containing the command data may be command data for controlling the brightness of the projector lamp by using tablet a by the user, and after receiving the two kinds of data, tablet B may preferentially send a command data message for controlling the brightness of the projector lamp to the central control device, and after receiving an Acknowledgement receiving message containing an Acknowledgement Character (ACK) returned by the central control device, send the text message again. It can be understood that, by using the ACK acknowledgement message, stability of sending and receiving the command type message can be ensured, thereby improving user experience. The above examples are merely illustrative and are not to be construed as being particularly limiting.
Referring to fig. 7, fig. 7 is a schematic flowchart of a data transmission method according to an embodiment of the present application, for further describing the data transmission method provided in the present application. In this embodiment, after the intermediate network node acquires the first data, it first determines whether the first data includes command data, if the first data includes command data, the first data including command data is preferentially sent, and other first data not including command data is stored in the intermediate network node, and then it is determined whether there is an idle node around the intermediate network node; if not, directly judging whether idle nodes exist around. Acquiring all transmission paths from the intermediate network node to the first and second network nodes under the condition that no idle nodes exist around the intermediate network node; and under the condition that the surrounding idle nodes exist, the first data message is sent to the idle nodes, and then all transmission paths from the idle nodes to the first network node and the second network node are obtained. And selecting one transmission path with the minimum number of intermediate network nodes as a target transmission path from all the transmission paths, and under the condition that the transmission path with the minimum number of intermediate network nodes is more than one, calculating the shortest path as the target transmission path by using a Dijkstra algorithm according to the distance information between every two intermediate network nodes, so that the intermediate network nodes use the target transmission path to send the first data to the second network node.
According to the data transmission method provided by the application, when data transmission needs to be carried out between the first network node and the second network node, a transmission path which can be used for transmitting data currently between the first network node and the second network node is obtained, one transmission path with the highest transmission efficiency in the transmission paths is selected as a target transmission path, and data transmission is carried out through the target transmission path. Because the network structure provided by the application is not a traditional star network structure in a master-slave mode, and each network node is not only an edge node but also has the forwarding function of a router, the data transmission method provided by the application can dynamically adjust a transmission path aiming at an application scene, and has higher bandwidth utilization rate and stronger network self-healing capability.
Fig. 8a is a schematic block diagram of a data transmission system provided in the present application, where the data transmission system 800 may include one or more first network nodes 810, one or more second network nodes 820, and one or more intermediate network nodes 830, the network transmission system further establishes a plurality of transmission paths between the first network nodes 810 and the second network nodes 820, each of the transmission paths includes one or more intermediate network nodes 830, and the plurality of intermediate network nodes 820 in each transmission path are in direct communication connection in sequence.
Fig. 8b is a schematic structural diagram of a network termination device provided in the present application, wherein the network termination device is disposed on a first network node 810 of the data transmission system shown in fig. 8a, and as can be seen from fig. 8b, the network termination device includes a processor 811 and a communication interface 812, wherein,
the processor 811 is configured to, when data transmission between the first network node 810 and the second network node 820 is required, obtain a transmission path currently available for data transmission between the first network node 810 and the second network node 820;
the processor 811 is configured to select one of the transmission paths with the highest transmission efficiency as a target transmission path; and
the processor 811 is configured to control the communication interface 812 to perform data transmission through the target transmission path.
Optionally, a memory 813 may also be included in the first network node 810. The memory 813 is used for storing program codes and data of the first network node 810. Accordingly, the processor 812 may invoke the program code in the memory 813 to implement some of the implementation steps that are subject to execution by the first network node 810 as described in any of the method embodiments above and/or other steps that perform the techniques described herein.
In one embodiment, the first network node 810 and the intermediate network node 830 are terminal devices including a bluetooth module, which are disposed on each network node in the data transmission system. The second network node 820 is a server or a central control node. It is understood that, in other embodiments, the second network node 820 may also be a terminal device including a bluetooth module on each network node disposed in the data transmission system. The terminal device including the Bluetooth module may specifically be a Bluetooth Low Energy (BLE) 4.0 device, and taking the conference system as an example, the first network node and the intermediate network node may be handheld electronic devices supporting a Bluetooth function, such as a tablet, a mobile phone terminal, and a smart watch, and the second network node may be a central control device of the conference system. The first data transmitted between the first network node and the second network node may be data sent to the first network node by another network node, or may be data generated or stored by the first network node itself. For example, when the first network node is a tablet a1 used by a user a in the conference system, the first data may be data generated by the user a using a tablet a1, or data connected to a1 and generated for a tablet B1 used by the user B and transmitted to the tablet a 1. It should be understood that the foregoing examples are merely illustrative, and the data transmission method provided in this application may be used in any network environment where the range of data transmission is limited or the number of connections of network devices is limited, and the conference system is only one application scenario, and this application is not limited specifically.
In one embodiment, the communication interface 812 includes a bluetooth module, and a terminal device including the bluetooth module is disposed on each network node in the data transmission system. That is, the network node is a terminal device including a bluetooth module for directly forwarding data transmitted by other network nodes through a network, and includes: the intermediate network node 830 located within the transmission range of the first network node 810 is configured to receive the data transmitted by the first network node 810, wherein the first network node 810 is directly connected to the intermediate network node 830. The first intermediate network node 830 receiving the data sent by the first network node 810 sequentially passes the data through a plurality of intermediate network nodes according to the connection sequence of the transmission paths until the data is transmitted to the intermediate network node 830 directly connected to the second network node 820, and the intermediate network node 830 directly connected to the second network node 820 sends the data to the second network node 820. That is, the conventional star network structure includes a central node, a routing node and an edge node, wherein the routing node is a slave device of the central node and a master device of the edge node. With the data transmission system provided in the present application, when the second network node 820 is a server, the data transmission system only includes a central node (server) and a plurality of network nodes (including an intermediate network node and a first network node), the central node is a master device of the plurality of network nodes, and there is no master-slave relationship between the plurality of network nodes. For example, fig. 3 is a topological diagram of a data transmission network provided in the present application, where the dark color network node 0 may be a central control node as a second network node, the light color network node is a first network node and an intermediate network node, and after data generated by the first network node and the intermediate network node is sent to the second network node through a transmission path, the second network node performs corresponding processing on the data. It will be appreciated that each intermediate network node acting as a bluetooth device may establish a connection directly with the second network node, for example, the network node 10 in fig. 3 may also establish a connection directly with the second network node 0 for data transmission. However, because bluetooth is a short-distance communication mode, and each network node can only establish bluetooth connection with less than seven other network nodes according to the bluetooth protocol, when the first network node is far away from the second network node or the connection number of the second network node reaches the maximum upper limit, data can be sent to other intermediate network nodes for multiple times of forwarding, so as to reach the second network node. It should be understood that fig. 3 is only used for illustration, and the data transmission network provided in the present application may further include more central control nodes, more first network nodes, and more intermediate network nodes, which are not specifically limited herein.
In an embodiment, the transmission path includes one or more intermediate network nodes 830. For example, fig. 4 is a topology diagram of a bluetooth networking structure provided in the present application, where the dark-color network node 0 is a second network node, and the light-color network node is a first network node and an intermediate network node. It is understood that each first network node may have one or more transmission paths to the second network node, for example, the network node 9 is a first network node, and for the first network node 9, there are three transmission paths, which may be forwarded sequentially through the network nodes 9, 3, 2, 1, and 0 to reach the second network node, may be forwarded sequentially through the network nodes 9, 10, 4, 1, and 0 to reach the second network node, and may be forwarded sequentially through the network nodes 9, 3, 11, 7, 6, 2, 1, and 0 to reach the second network node. If the network node 8 is the first network node, it is only forwarded via the network nodes 8, 5, 1, 0 in sequence, so that each intermediate network node may have one or more transmission paths. It should be understood that the above examples are illustrative only and are not to be construed as being particularly limiting.
In an embodiment, the transmission path with the highest transmission efficiency is the transmission path with the least number of intermediate network nodes 830. Still taking fig. 4 as an example, when the network node 11 is a first network node, the first network node 11 has two transmission paths, where the first transmission path includes 6 network nodes, which are 11, 7, 6, 2, 1, and 0, respectively, and the second transmission path includes 5 network nodes, which are 11, 3, 2, 1, and 0, respectively, so that the first network node 11 selects to use the second transmission path as a target transmission path for transmitting the first data. It will be appreciated that the fewer intermediate network nodes the selected target transmission path contains, the faster the first data can reach the second network node 0. It should be understood that the above examples are illustrative only and are not to be construed as being particularly limiting.
In an embodiment, the transmission path with the highest transmission efficiency is the transmission path with the largest number of idle network nodes, where the idle network nodes are network nodes that do not need to send data. Still taking fig. 4 as an example, when the network node 9 is a first network node, the first network node 9 has two transmission paths, wherein the first transmission path includes the network nodes 9, 3, 2, 1, 0, the second transmission path includes the network nodes 9, 10, 4, 1, 0, and the third transmission path includes the network nodes 9, 3, 11, 7, 6, 2, 1, 0. Since the network nodes are all terminal devices including bluetooth modules, the bluetooth modules may send broadcasts that are currently in an idle state to the surrounding directly connected network nodes, and assume that the current network nodes 2, 3, and 4 send broadcasts that are currently in an idle state to the surrounding, at this time, the first transmission path includes 2 idle network nodes, the second transmission path includes 1 idle network node, and the third transmission path includes 2 idle network nodes, therefore, the transmission path with the highest transmission efficiency at this time is the first transmission path and the third transmission path, and the first network node 9 may select to use the first transmission path or the third transmission path as a target transmission path to send the first data to the second network node. It will be appreciated that the more idle nodes the selected target path contains, the faster the first data can reach the second network node 0 and the higher the transmission efficiency. It should be understood that the above examples are illustrative only and are not to be construed as being particularly limiting.
In an embodiment, the processor 811 is configured to, when receiving idle state information sent by an idle network node through the communication interface, obtain one or more transmission paths including the idle network node; the processor 811 is configured to select one of the transmission paths including the idle network node with the smallest number of intermediate network nodes as a target transmission path.
For example, still taking fig. 4 as an example, when the network node 9 is a first network node, the first network node 9 has two transmission paths, where the first transmission path includes 5 network nodes, respectively 9, 3, 2, 1, and 0, the second transmission path includes 5 network nodes, respectively 9, 10, 4, 1, and 0, and the third transmission path includes 8 network nodes, respectively 9, 3, 11, 7, 6, 2, 1, and 0. Suppose that the current network nodes 2 and 3 send broadcasts of their current idle states to the surroundings, at this time, the first and second transmission paths both include 5 network nodes, the third transmission path includes 8 network nodes, the first and third transmission paths both include 2 idle network nodes, and the second transmission path includes 0 idle network node, therefore, the transmission path with the highest transmission efficiency at this time is a transmission path including the idle network nodes and the minimum number of intermediate network nodes as a target transmission path, that is, the first transmission path, and the first network node 9 selects the first transmission path as the target transmission path to send the first data to the second network node. It can be understood that the data communication method provided by the application can dynamically perform network shunting according to the current network condition, and send data to a path with short path, idle network and less blockage, thereby improving the efficiency of data transmission. It should be understood that the above examples are illustrative only and are not to be construed as being particularly limiting.
In an embodiment, the processor 811 is further configured to determine, when receiving idle state information sent by an idle network node directly connected to the first network node through the communication interface, a target idle network node closest to the first network node, where the idle state information includes location information of each idle node; the processor 811 is further configured to obtain one or more transmission paths including the target idle network node; the processor 811 is configured to select, as a target transmission path, one of the transmission paths including the target idle network node, where the number of intermediate network nodes is the least.
For example, still taking fig. 4 as an example, the first network node 9 has three transmission paths, the directly connected network nodes of the first network node 9 may be the intermediate network node 3 and the intermediate network node 10, assuming that the intermediate network node 3 is in an idle state, the intermediate network node 3 may send a broadcast of its current idle state to the surrounding directly connected nodes, the first network node 9 sends the first data to the intermediate network node 3 when receiving the broadcast, the intermediate network node 3 further obtains one or more transmission paths from the intermediate network node 3 to the second network node 0, and at this time, only one transmission path is present, that is, the transmission paths are sequentially forwarded through the intermediate network nodes 3, 2, 1, and 0. It can be understood that, in the conventional star network structure, since the path is fixed, dynamic adjustment cannot be performed, and only the central control device can be used to reserve a channel bandwidth for each routing node in advance, so that the channel resources are wasted when an individual edge node is suspended for use and data is not generated. By acquiring the idle states of the surrounding nodes, the data transmission method can dynamically adjust the path by taking the idle nodes as the intermediate network nodes of the relay, thereby dynamically carrying out network shunting and sending the data to another potential path with less blockage.
In an embodiment, the processor 811 is further configured to, in a case that the intermediate network node 830 in the transmission path has a fault, use a previous intermediate network node directly connected to the faulty intermediate network node as the first network node, and re-acquire a target transmission path and perform data transmission through the target transmission path. That is, if an intermediate network node in the target transmission path of the first network node 810 fails, the first network node 810 may re-perform steps S101 to S102, thereby selecting a new target transmission path without a failed node. Therefore, compared with the traditional method, the data transmission method provided by the application can dynamically adjust the path according to various requirements, and has higher flexibility and network self-healing capability.
In one embodiment, the processor 811 is further configured to obtain the positioning information of each intermediate network node in each transmission path when there are two or more transmission paths with the highest transmission efficiency in the transmission paths, where the positioning information of the intermediate network node includes a distance between each intermediate network node and another directly connected network node; the processor 811 is further configured to select a transmission path with the shortest distance as a target transmission path by using Dijkstra (Dijkstra) algorithm according to the positioning information. It will be appreciated that bluetooth devices have position calculation capabilities and accuracy can be up to 0.5 meters or less. Therefore, alternatively, the positioning information may be a distance between each intermediate network node and a node where a connection is established, which is calculated and stored when the intermediate network node establishes a bluetooth connection with another directly connected network node, and when the number of intermediate network nodes in the transmission path is the same, the shortest transmission path may be calculated as the target path according to the distance between the nodes, which is stored in advance.
For example, in the network structure shown in fig. 5, the first network node 9 has three transmission paths, wherein the first transmission path includes 5 intermediate network nodes, respectively 9, 3, 2, 1, and 0, the second transmission path includes 5 intermediate network nodes, respectively 9, 10, 4, 1, and 0, and the third transmission path includes 8 transmission nodes, respectively 9, 3, 11, 7, 6, 2, 1, and 0, wherein the number of the intermediate network nodes included in the first transmission path and the second transmission path is 5, and therefore, the first network node 9 obtains the positioning information of the nodes on the two transmission paths, so as to obtain that the distance between the first network node 9 and the intermediate network node 3 is 2m, the distance between the intermediate network node 3 and the intermediate network node 2 is 1.5m, the distance between the intermediate network node 2 and the intermediate network node 1 is 1.2m, the distance between the intermediate network node 1 and the intermediate network node 0 is 1m, the distance between the first network node 9 and the intermediate network node 10 is 1.5m, the distance between the intermediate network node 10 and the intermediate network node 4 is 1m, and the distance between the intermediate network node 4 and the intermediate network node 1 is 4.5m, so that the transmission path with the shortest distance can be selected as the first transmission path by using the Dijkstra algorithm, that is, the path including the first network nodes 9, 3, 2, 1 and 0. It should be understood that the above examples are illustrative only and are not to be construed as being particularly limiting.
In an embodiment, the processor 811 is further configured to, before the acquiring of the transmission path currently available for data transmission between the first network node and the second network node, preferentially control the communication interface to send the first data including command data when the first data that needs to be subjected to data transmission includes command data, and suspend sending other first data that does not include the command data, where the command data is used for controlling an intermediate network node on a target transmission path to perform data transmission; the processor 811 is further configured to resume sending the other first data not containing command data when the communication interface receives command confirmation data. That is, the first network node may also control data transmission over a target transmission path.
In one embodiment, the command data may be command data sent by the first network node 810 to the second network node 820, for example, in a conference system, when the tablet a is the first network node and the central control device is the second network node, the tablet a may transmit data to the central control device by using the target transmission path a 1. Assuming that the current tablet a has two types of data to be sent to the second network node, one type is text data generated by the user using the tablet a, and the other type is command data for the tablet a to confirm that the target transmission path a1 can transmit data to the second network node, at this time, the tablet a will send the command data to the second network node first, suspend sending the text data (cache the text data in the tablet a), the second network node sends a command confirmation message to the first network node after receiving the command data, and the tablet a sends the text data by using the target transmission path a1 after receiving the command confirmation message. The embodiment is used for confirming whether the target transmission path can successfully transmit data.
In another embodiment, the command data may also be the command data sent by the first network node 810 to the intermediate network node 820, and still taking the above example as an example, after the tablet a receives the command confirmation message sent by the second network node for data transmission using the target transmission path a1, tablet a will use target transmission path a1 for the transmission of text data, so tablet a will generate new command data, the command data is used to inform all the intermediate network nodes in the target transmission path a1 of the data sent by the tablet a, assuming that the target transmission path a1 includes the intermediate network nodes B, C and D, the tablet a will first send the new command data to the intermediate network nodes B, C and D, after receiving the command confirmation messages of the intermediate network nodes B, C and D, the text data buffered in the tablet a is transmitted using the target transmission path a 1.
In another embodiment, the command data may also be data of other control classes, for example, in a certain conference system shown in fig. 6, where tablet a is a first network node, and when tablet a sends data to the central control device, the first data may be text data generated by writing with tablet a by a user, and the first data containing the command data may be command data for controlling the brightness of the projector lamp by using tablet a by the user, and after receiving the two kinds of data, tablet B may preferentially send a command data message for controlling the brightness of the projector lamp to the central control device, and after receiving an Acknowledgement receiving message containing an Acknowledgement Character (ACK) returned by the central control device, send the text message again. It can be understood that, by using the ACK acknowledgement message, stability of sending and receiving the command type message can be ensured, thereby improving user experience. The above examples are merely illustrative and are not to be construed as being particularly limiting.
Referring to fig. 7, fig. 7 is a schematic flowchart of a data transmission method according to an embodiment of the present application, for further describing the data transmission method provided in the present application. In this embodiment, after the intermediate network node acquires the first data, it first determines whether the first data includes command data, if the first data includes command data, the first data including command data is preferentially sent, and other first data not including command data is stored in the intermediate network node, and then it is determined whether there is an idle node around the intermediate network node; if not, directly judging whether idle nodes exist around. Acquiring all transmission paths from the intermediate network node to the first and second network nodes under the condition that no idle nodes exist around the intermediate network node; and under the condition that the surrounding idle nodes exist, the first data message is sent to the idle nodes, and then all transmission paths from the idle nodes to the first network node and the second network node are obtained. And selecting one transmission path with the minimum number of intermediate network nodes as a target transmission path from all the transmission paths, and under the condition that the transmission path with the minimum number of intermediate network nodes is more than one, calculating the shortest path as the target transmission path by using a Dijkstra algorithm according to the distance information between every two intermediate network nodes, so that the intermediate network nodes use the target transmission path to send the first data to the second network node.
In an embodiment, the first network node 810 may further comprise a bus 814. Wherein the communication interface 811, the processor 812, and the memory 813 may be connected to each other by a bus 814; the bus 814 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus 814 may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 8b, but this does not indicate only one bus or one type of bus.
Alternatively, processor 812 may be comprised of one or more general-purpose processors, such as a Central Processing Unit (CPU). The processor may be adapted to run a program of processing functions in the associated program code. That is, the processor 812 may be used to execute the relevant program code in the memory 813 to implement the functions of the processor 812 and/or to perform other steps of the techniques described herein.
In one embodiment, the communication interface 811 may be a wired interface (e.g., an ethernet interface) or a wireless interface (e.g., a cellular network interface or using a wireless local area network interface) for communicating with other modules or devices. For example, the communication interface 811 in the embodiment of the present application may be specifically configured to send the first data to the second network node 820.
In one embodiment, Memory 813 may include Volatile Memory (Volatile Memory), such as Random Access Memory (RAM); the Memory may also include a Non-Volatile Memory (Non-Volatile Memory), such as a Read-Only Memory (ROM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, HDD), or a Solid-State Drive (SSD); the memory may be configured to store a set of program codes, so that the processor may call the program codes stored in the memory to implement the functions of the communication interface and/or the processor in the embodiments of the present application, which are not limited in the embodiments of the present application.
Based on the network terminal device, when data transmission needs to be performed between the first network node and the second network node, by acquiring a transmission path which is currently available for data transmission between the first network node and the second network node, one of the transmission paths with the highest transmission efficiency is selected as a target transmission path, and data transmission is controlled to be performed through the target transmission path. Because the network structure provided by the application is not a traditional star network structure in a master-slave mode, and each network node is not only an edge node but also has the forwarding function of a router, the network terminal equipment provided by the application can dynamically adjust a transmission path aiming at an application scene, and has higher bandwidth utilization rate and stronger network self-healing capability.
In another embodiment of the present application, a computer-readable storage medium is provided, where a computer program is stored, where the computer program includes program instructions, and the program instructions, when executed by a processor, implement the implementation manner described in any embodiment of the data transmission method provided in the present application, and are not described herein again.
The computer readable storage medium may be an internal storage unit of the terminal according to any of the foregoing embodiments, for example, a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit and an external storage device of the terminal. The computer-readable storage medium is used for storing the computer program and other programs and data required by the terminal. The computer readable storage medium may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the order of acts described, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (20)

  1. A data transmission method is applied to a data transmission system, the data transmission system comprises a first network node and a second network node, the network transmission system is characterized in that a plurality of transmission paths are also established between the first network node and the second network node, each transmission path comprises one or a plurality of intermediate network nodes, and the plurality of intermediate network nodes in each transmission path are sequentially and directly connected in a communication way; the method comprises the following steps:
    when data transmission needs to be carried out between the first network node and the second network node, acquiring a transmission path which can be used for transmitting data currently between the first network node and the second network node;
    selecting one transmission path with the highest transmission efficiency from the transmission paths as a target transmission path; and the number of the first and second groups,
    and controlling data transmission through the target transmission path.
  2. The method of claim 1, wherein the transmission path with the highest transmission efficiency is the transmission path with the least number of intermediate network nodes.
  3. The method according to claim 2, wherein the transmission path with the highest transmission efficiency is the transmission path with the largest number of idle network nodes, and wherein the idle network nodes are network nodes which do not need to transmit data.
  4. The method of claim 1, wherein the network node is a terminal device including a bluetooth module disposed on each network node in the data transmission system.
  5. The method of claim 1, further comprising, prior to said obtaining a transmission path currently available for transmitting data between the first network node and the second network node:
    when first data needing data transmission comprises command data, preferentially sending the first data comprising the command data, and suspending sending other first data not comprising the command data, wherein the command data is used for controlling an intermediate network node on a target transmission path to carry out data transmission;
    and when receiving the command confirmation data, resuming to send the other first data which does not contain the command data.
  6. The method of claim 5, wherein obtaining the transmission path currently available for transmitting data between the first network node and the second network node comprises:
    when idle state information sent by an idle network node is received, one or more transmission paths containing the idle network node are obtained;
    the selecting one of the transmission paths with the highest transmission efficiency as a target transmission path includes: and selecting one transmission path with the least number of intermediate network nodes in the transmission paths containing the idle network nodes as a target transmission path.
  7. The method of claim 5, wherein obtaining the transmission path currently available for transmitting data between the first network node and the second network node further comprises:
    when receiving idle state information sent by an idle network node directly connected with the first network node, determining a target idle network node closest to the first network node, wherein the idle state information comprises positioning information of each idle node;
    acquiring one or more transmission paths containing the target idle network node;
    the selecting one of the transmission paths with the highest transmission efficiency as a target transmission path includes: and selecting one transmission path with the least number of intermediate network nodes in the transmission paths containing the target idle network nodes as a target transmission path.
  8. The method of claim 2, further comprising:
    when the number of the transmission paths with the minimum number of the intermediate network nodes in the transmission paths is two or more, acquiring the positioning information of each intermediate network node in each transmission path, wherein the positioning information of the intermediate network nodes comprises the distance between each intermediate network node and other directly connected network nodes;
    and selecting the transmission path with the shortest distance as a target transmission path by using a Dijkstra algorithm according to the positioning information.
  9. The method according to any of claims 2 to 6, further comprising:
    and under the condition that the intermediate network node in the transmission path has a fault, taking the previous intermediate network node directly connected with the middle network node with the fault as the first network node, and executing the data transmission method again.
  10. The method of claim 1, wherein the second network node is a server.
  11. A network terminal device, wherein the network terminal device is disposed on a first network node of a data transmission system, wherein the data transmission system includes the first network node and a second network node, the network transmission system further establishes a plurality of transmission paths between the first network node and the second network node, each transmission path includes one or more intermediate network nodes, and the plurality of intermediate network nodes in each transmission path are sequentially and directly connected in a communication manner; the network terminal device comprises a processor and a communication interface, wherein the processor is used for:
    when data transmission needs to be carried out between the first network node and the second network node, acquiring a transmission path which can be used for transmitting data currently between the first network node and the second network node;
    selecting one transmission path with the highest transmission efficiency from the transmission paths as a target transmission path; and
    and controlling the communication interface to transmit data through the target transmission path.
  12. The apparatus of claim 11, wherein the transmission path with the highest transmission efficiency is the transmission path with the least number of intermediate network nodes.
  13. The apparatus according to claim 11, wherein the transmission path with the highest transmission efficiency is the transmission path with the largest number of idle network nodes, and wherein the idle network nodes are network nodes that do not need to transmit data.
  14. The apparatus according to claim 11, wherein the communication interface comprises a bluetooth module, and a terminal device comprising the bluetooth module is disposed on each network node in the data transmission system.
  15. The apparatus according to claim 11, wherein the processor is further configured to, before the obtaining of the transmission path currently available for data transmission between the first network node and the second network node, when first data to be transmitted includes command data, preferentially control the communication interface to send the first data including the command data, and suspend sending other first data not including the command data, where the command data is used to control an intermediate network node on a target transmission path to perform data transmission;
    the processor is further configured to resume sending the other first data not containing the command data when the communication interface receives the command confirmation data.
  16. The apparatus of claim 11,
    the processor is used for acquiring one or more transmission paths containing the idle network nodes when receiving idle state information sent by the idle network nodes through the communication interface;
    the processor is configured to select one of the transmission paths including the idle network node, where the number of intermediate network nodes is the least, as a target transmission path.
  17. The apparatus of claim 16,
    the processor is further configured to determine a target idle network node closest to the first network node when receiving idle state information sent by an idle network node directly connected to the first network node through the communication interface, where the idle state information includes location information of each idle node;
    the processor is further configured to obtain one or more transmission paths including the target idle network node;
    the processor is configured to select, as a target transmission path, one of the transmission paths including the target idle network node, where the number of intermediate network nodes is the smallest.
  18. The apparatus of claim 12, wherein the processor is further configured to obtain location information of each intermediate network node in each transmission path when there are two or more transmission paths with the minimum number of intermediate network nodes in the transmission path, wherein the location information of the intermediate network node includes a distance between each intermediate network node and other directly connected network nodes;
    and the processor is also used for selecting the transmission path with the shortest distance as a target transmission path by using a Dijkstra algorithm according to the positioning information.
  19. The apparatus according to any of claims 12 to 17, wherein the processor is further configured to, in case of a failure of an intermediate network node in the transmission path, take a previous intermediate network node directly connected to the failed intermediate network node as the first network node, and re-acquire a target transmission path and perform data transmission through the target transmission path.
  20. A computer storage medium, in which a computer program is stored, which computer program, when being executed by a processor, carries out the method of claims 1 to 10.
CN201980073521.0A 2019-01-17 2019-01-17 Data transmission method, related equipment and computer storage medium Pending CN113261249A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/072215 WO2020147081A1 (en) 2019-01-17 2019-01-17 Data transmission method, related device, and computer storage medium

Publications (1)

Publication Number Publication Date
CN113261249A true CN113261249A (en) 2021-08-13

Family

ID=71613253

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201980073521.0A Pending CN113261249A (en) 2019-01-17 2019-01-17 Data transmission method, related equipment and computer storage medium

Country Status (2)

Country Link
CN (1) CN113261249A (en)
WO (1) WO2020147081A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002025A (en) * 2022-07-21 2022-09-02 东营国图信息科技有限公司 Data security transmission method and system and cloud platform
CN115297192A (en) * 2022-06-17 2022-11-04 浙江大华技术股份有限公司 Mesh network data transmission method, mesh network node and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1843005A (en) * 2004-03-05 2006-10-04 西门子公司 Probabilistic link selection in routing algorithm
WO2011110110A1 (en) * 2010-08-02 2011-09-15 华为技术有限公司 Method, system and node device for establishing label switch path
US20130003730A1 (en) * 2011-06-30 2013-01-03 Fujitsu Limited Path search program, path search apparatus and path search method
CN104796334A (en) * 2015-04-30 2015-07-22 无锡市崇安区科技创业服务中心 Data transmission path selection method
CN109039899A (en) * 2018-08-07 2018-12-18 深圳三角形科技有限公司 Data transmission method, system and computer readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9253077B2 (en) * 2012-11-30 2016-02-02 International Business Machines Corporation Parallel top-K simple shortest paths discovery
CN105744549B (en) * 2016-02-03 2019-06-11 宇龙计算机通信科技(深圳)有限公司 A kind of switching method of transmission path, terminal and system
CN106714265B (en) * 2017-01-05 2019-09-24 清华大学 Network node prediction technique and device based on DTN algorithm

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1843005A (en) * 2004-03-05 2006-10-04 西门子公司 Probabilistic link selection in routing algorithm
WO2011110110A1 (en) * 2010-08-02 2011-09-15 华为技术有限公司 Method, system and node device for establishing label switch path
US20130003730A1 (en) * 2011-06-30 2013-01-03 Fujitsu Limited Path search program, path search apparatus and path search method
CN104796334A (en) * 2015-04-30 2015-07-22 无锡市崇安区科技创业服务中心 Data transmission path selection method
CN109039899A (en) * 2018-08-07 2018-12-18 深圳三角形科技有限公司 Data transmission method, system and computer readable storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297192A (en) * 2022-06-17 2022-11-04 浙江大华技术股份有限公司 Mesh network data transmission method, mesh network node and storage medium
CN115297192B (en) * 2022-06-17 2024-03-12 浙江大华技术股份有限公司 Mesh network data transmission method, mesh network node and storage medium
CN115002025A (en) * 2022-07-21 2022-09-02 东营国图信息科技有限公司 Data security transmission method and system and cloud platform

Also Published As

Publication number Publication date
WO2020147081A1 (en) 2020-07-23

Similar Documents

Publication Publication Date Title
US11240159B2 (en) Service link selection control method and device
JP7183416B2 (en) Time-dependent networking communication method and apparatus
CN102571587B (en) Method and equipment for forwarding messages
CN107949064A (en) Collocation method, device, base station and the computer-readable recording medium of channel
JP6729918B2 (en) SMS processing method, mobility management network element and computer program in Internet of Things
CN104243266A (en) Method and device for network access
CN112019363B (en) Method, device and system for determining service transmission requirement
CN115211225B (en) Satellite link information determining method and device
EP4109941A1 (en) Congestion control method, apparatus and system, device and medium
EP4280685A1 (en) Information transmission method and device thereof
KR101408745B1 (en) Service processing method and apparatus based on android system
WO2018053894A1 (en) Internet-of-things access point handover method and device based on transmission rate
US11166176B2 (en) Method for determining establishment reason, and terminal
CN113261249A (en) Data transmission method, related equipment and computer storage medium
CN112073997A (en) Communication method and device
CN111669322B (en) Relay bridging method and gateway
CN110856213B (en) Method and device for switching data transmission modes, storage medium and electronic equipment
CN108370500B (en) Optimized settings for wireless devices
CN105763463A (en) Method and device for transmitting link detection message
WO2019010799A1 (en) Internet of things terminal migration method and gateway
US10805838B2 (en) Method and device for obtaining resources and information of SDN networks of different operators
CN110708678A (en) Communication method and device
CN109600431B (en) Content increment transmission method facing mobile communication network and mobile communication system
CN111314272B (en) Task processing method and device
CN114124275A (en) Time synchronization method, device, equipment and storage medium

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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20210813