CN114698047B - Data transmission method, device, equipment and computer readable storage medium - Google Patents

Data transmission method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN114698047B
CN114698047B CN202210332178.0A CN202210332178A CN114698047B CN 114698047 B CN114698047 B CN 114698047B CN 202210332178 A CN202210332178 A CN 202210332178A CN 114698047 B CN114698047 B CN 114698047B
Authority
CN
China
Prior art keywords
terminal
access point
communication link
communication
determining
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
Application number
CN202210332178.0A
Other languages
Chinese (zh)
Other versions
CN114698047A (en
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 Sundray Technologies Co ltd
Original Assignee
Shenzhen Sundray 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 Sundray Technologies Co ltd filed Critical Shenzhen Sundray Technologies Co ltd
Priority to CN202210332178.0A priority Critical patent/CN114698047B/en
Publication of CN114698047A publication Critical patent/CN114698047A/en
Application granted granted Critical
Publication of CN114698047B publication Critical patent/CN114698047B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/12Discovery or management of network topologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/165Performing reselection for specific purposes for reducing network power consumption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices
    • H04W88/10Access point devices adapted for operation in multiple networks, e.g. multi-mode access points

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a data transmission method, which comprises the following steps: establishing a first multi-hop network based on a plurality of terminals; determining a second terminal from nodes of the first multihop network based on a target position of the first terminal relative to the first access point; wherein the plurality of terminals includes a first terminal and a second terminal; establishing a second communication link between the first terminal and the first access point through the second terminal; controlling the first terminal and the first access point to communicate through a second communication link under the condition that the first communication link between the first terminal and the first access point is abnormal; wherein the communication quality of the second communication link is better than the communication quality of the first communication link. The embodiment of the application also discloses a data transmission device, equipment and a computer readable storage medium.

Description

Data transmission method, device, equipment and computer readable storage medium
Technical Field
The present application relates to communication technologies in the field of communications, and in particular, to a data transmission method, apparatus, device, and computer readable storage medium.
Background
The automated guided vehicle (Automated Guided Vehicle, AGV) is a transport vehicle equipped with an automatic navigation device, capable of traveling along a predetermined navigation path, having safety protection and various transfer functions, and is widely used in the fields of logistics, manufacturing, and the like. The AGVs execute tasks by scheduling through an AGV scheduling system; the AGV needs to carry out real-time communication in the execution task process, and the AGV establishes communication connection with the dispatch system through a wireless access point generally, but when the antenna on the AGV is sheltered from for when the communication link between AGV and the wireless access point is unusual, the AGV communicates with the wireless access point and can have data loss and delay problem.
Disclosure of Invention
In order to solve the technical problems, the embodiment of the application expects to provide a data transmission method, a device, equipment and a computer readable storage medium, which solve the problems of data loss and delay caused by communication between an AGV and a wireless access point when the communication link between the AGV and the wireless access point is abnormal.
The technical scheme of the application is realized as follows:
a method of data transmission, the method comprising:
establishing a first multi-hop network based on a plurality of terminals;
Determining a second terminal from nodes of the first multi-hop network based on a target position of the first terminal relative to a first access point; wherein the plurality of terminals includes the first terminal and the second terminal;
establishing a second communication link between the first terminal and the first access point through the second terminal;
Controlling the first terminal and the first access point to communicate through the second communication link under the condition that the first communication link between the first terminal and the first access point is abnormal; wherein the communication quality of the second communication link is better than the communication quality of the first communication link.
In the above solution, the determining, based on the target location of the first terminal relative to the first access point, the second terminal from the nodes of the first multihop network includes:
determining a plurality of third terminals from nodes of the first multi-hop network based on the target location;
determining a plurality of first paths for communication between the first access point and the first terminal based on the plurality of third terminals, the first access point and the first terminal; wherein, each first path is provided with at least one third terminal;
And determining the second terminal based on the plurality of first paths.
In the above solution, the determining, based on the plurality of first paths, the second terminal includes:
Determining a second path from the plurality of first paths based on the number of nodes of each first path, the length of each first path, and the communication quality of each first path;
And determining the second terminal based on the node on the second path.
In the above solution, before controlling the first terminal and the first access point to communicate through the second communication link under the condition that it is determined that there is an abnormality in the first communication link between the first terminal and the first access point, the method further includes:
determining a link quality parameter of the first communication link;
And determining that the first communication link is abnormal under the condition that the link quality parameter does not meet the target communication quality.
In the above solution, the controlling, when determining that there is an abnormality in the first communication link between the first terminal and the first access point, the first terminal and the first access point to communicate through the second communication link includes:
Controlling the first terminal to switch from a first mode to a second mode under the condition that the first terminal is in the first mode and the first communication link is abnormal; wherein the first mode characterization is capable of communicating with the first access point; the second mode characterization is capable of communicating with a terminal;
And controlling the first terminal and the first access point to communicate through the second communication link under the condition that the first terminal is in the second mode.
In the above scheme, the method further comprises:
In the case that it is determined that there is no abnormality in a first communication link between a first terminal and the first access point, determining a target communication link from the first communication link and the second communication link based on the communication quality of the first communication link and the communication quality of the second communication link;
And controlling the first terminal and the first access point to communicate through the target communication link.
In the above scheme, the method further comprises:
Establishing a third communication link between the first terminal and a second access point through a fourth terminal in the second multi-hop network by adopting a virtual access point technology under the condition that the first terminal is in the second mode and the first terminal moves to the second multi-hop network outside the first multi-hop network;
And controlling the first terminal and the first access point to communicate through the third communication link.
A data transmission apparatus, the apparatus comprising:
An establishing unit, configured to establish a first multi-hop network based on a plurality of terminals;
A determining unit, configured to determine a second terminal from nodes of the first multihop network based on a target position of the first terminal relative to the first access point; wherein the plurality of terminals includes the first terminal and the second terminal;
The establishing unit is further configured to establish, through the second terminal, a second communication link for communication between the first terminal and the first access point;
a transmission unit, configured to control the first terminal and the first access point to communicate through the second communication link when it is determined that there is an abnormality in a first communication link between the first terminal and the first access point; wherein the communication quality of the second communication link is better than the communication quality of the first communication link.
A data transmission apparatus, the data transmission apparatus comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
The processor is configured to execute a data transmission program stored in the memory, so as to implement the steps of the data transmission method.
A computer-readable storage medium storing one or more programs executable by one or more processors to implement the steps of the data transmission method described above.
The embodiment of the application provides a seed data transmission method, a device, equipment and a computer readable storage medium, which are used for establishing a first multi-hop network based on a plurality of terminals; determining a second terminal from nodes of the first multihop network based on a target position of the first terminal relative to the first access point; wherein the plurality of terminals includes a first terminal and a second terminal; establishing a second communication link between the first terminal and the first access point through the second terminal; controlling the first terminal and the first access point to communicate through a second communication link under the condition that the first communication link between the first terminal and the first access point is abnormal; wherein the communication quality of the second communication link is better than the communication quality of the first communication link; therefore, when the first terminal is shielded to enable the first communication link to be abnormal, the first terminal and the first access point can be controlled to communicate by adopting the second communication link, so that the problem that data loss and time delay still exist when the first terminal and the first access point communicate through the first communication link when the first communication link is abnormal is avoided, and the reliability and timeliness when the first terminal and the first access point communicate are improved.
Drawings
Fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present application;
fig. 2 is a flow chart of another data transmission method according to an embodiment of the present application;
Fig. 3 is a schematic diagram of a scenario of a data transmission method according to an embodiment of the present application;
fig. 4 is a flow chart of another data transmission method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a data transmission device according to an embodiment of the present application;
Fig. 6 is a schematic structural diagram of a data transmission device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
An embodiment of the present application provides a data transmission method, which is applied to a data transmission device, and is shown with reference to fig. 1, and the method includes the following steps:
step 101, a first multi-hop network is established based on a plurality of terminals.
In the embodiment of the application, each terminal is provided with a reliable industrial gateway (Trustworthy Industrial Gateway, TIG) network communication module, and the TIG network communication modules can be used for networking to establish a first multi-hop network among the terminals. The TIG network communication module may have the capability of (ap+sta), so that the terminal may not only provide wireless access, but also connect to other Access Points (APs) to continue providing the internet function.
In one possible implementation, the first multi-hop network may be a wireless Mesh network; the plurality of terminals may be a plurality of AGVs.
Step 102, determining a second terminal from the nodes of the first multi-hop network based on the target position of the first terminal relative to the first access point.
Wherein the plurality of terminals includes a first terminal and a second terminal;
In the embodiment of the application, the position of the first terminal and the position of the first access point can be detected in real time or periodically, so that the target position of the first terminal relative to the first access point can be determined according to the position of the first terminal and the position of the first access point, and then the second terminal can be determined from the nodes of the first multi-hop network according to the target position; wherein the first terminal and the second terminal are different; wherein the number of the second terminals may be at least one; the first access point may specifically be a first wireless access point.
Step 103, a second communication link between the first terminal and the first access point is established through the second terminal.
Wherein the first communication link and the second communication link are different.
In the embodiment of the application, the data transmission device may send an establishment request for establishing the second communication link to the first access point, the second terminal and the first terminal, so as to establish the second communication link.
And 104, controlling the first terminal and the first access point to communicate through the second communication link under the condition that the first communication link between the first terminal and the first access point is abnormal.
Wherein the communication quality of the second communication link is better than that of the first communication link, and the second communication link is not abnormal.
It should be noted that whether or not there is an abnormality in the first communication link is determined by the communication quality of the first communication link and the target communication quality; the presence of an anomaly in the first communication link may refer to a poor communication quality of the first communication link; the communication quality of the first communication link may be determined by a probe signal transmitted over the first communication link.
In the embodiment of the application, the data transmitted when the first terminal and the first access point communicate are the data to be transmitted, and the data to be transmitted is transmitted through the second communication link, so that incomplete data to be transmitted received by the receiving end can be avoided due to the fact that the data to be transmitted is missing in the transmission process, and the accuracy of the data to be transmitted received by the receiving end is improved; moreover, the problem of delay can be avoided, and the timeliness and reliability of the receiving end for receiving the data to be transmitted are improved. The data to be transmitted can be state data of the first terminal, the second terminal can receive the state data sent by the first terminal, and forward the state data to the first access point, so that the first access point can transmit the state data to the scheduling system; the data to be transmitted can also be a scheduling instruction or task information sent by a scheduling system received by the first access point, and the second terminal can receive the scheduling instruction or task information sent by the first access point and forward the scheduling instruction or task information to the first terminal.
In one possible implementation, the first terminal and the second terminal may be AGVs, and the scheduling system may be an AGV scheduling system.
The data transmission method provided by the embodiment of the application establishes a first multi-hop network based on a plurality of terminals; determining a second terminal from nodes of the first multihop network based on a target position of the first terminal relative to the first access point; wherein the plurality of terminals includes a first terminal and a second terminal; establishing a second communication link between the first terminal and the first access point through the second terminal; controlling the first terminal and the first access point to communicate through a second communication link under the condition that the first communication link between the first terminal and the first access point is abnormal; wherein the communication quality of the second communication link is better than the communication quality of the first communication link; therefore, when the first terminal is shielded to enable the first communication link to be abnormal, the first terminal and the first access point can be controlled to communicate by adopting the second communication link, so that the problem that data loss and time delay still exist when the first terminal and the first access point communicate through the first communication link when the first communication link is abnormal is avoided, and the reliability and timeliness when the first terminal and the first access point communicate are improved.
Based on the foregoing embodiments, an embodiment of the present application provides a data transmission method, referring to fig. 2, including the following steps:
Step 201, the data transmission device establishes a first multi-hop network based on a plurality of terminals.
Step 202, the data transmission device determines a plurality of third terminals from the nodes of the first multi-hop network based on the target location.
In the embodiment of the application, the target distance between the first access point and the first terminal can be determined according to the target position, the target area is determined from the area covered by the first multi-hop network according to the target distance and the target position, and the third terminal is determined according to a plurality of nodes in the target area.
In a possible implementation manner, a to-be-selected area centered on the first access point may be determined according to the target distance and the target position, an intersection area of the area covered by the first multi-hop network and the to-be-selected area may be determined, and the intersection area may be taken as the target area, so as to obtain a terminal corresponding to a node in the target area, and a terminal other than the first terminal may be determined from terminals corresponding to the node in the target area, so as to obtain the third terminal.
Step 203, the data transmission device determines a plurality of first paths for communication between the first access point and the first terminal based on the plurality of third terminals, the first access point and the first terminal.
Wherein each first path has at least one third terminal thereon.
In the embodiment of the application, a plurality of paths for the first access point to communicate with the first terminal can be determined through a plurality of third terminals.
In one possible implementation, the first access point is denoted by a, the first terminal is denoted by B, and the first path may be a-C-B or a-D-E-B. Wherein C, D and E each represent a third terminal corresponding to a node in the target area.
Step 204, the data transmission device determines the second terminal based on the plurality of first paths.
In the embodiment of the application, the communication quality of each first path can be detected, and the first paths are screened according to the communication quality of the first paths, so that the second terminal is determined according to the second paths obtained by screening. The second path may be understood as an optimal path determined from the plurality of first paths.
It should be noted that step 204 may be implemented by steps a1-a 2:
Step a1, the data transmission device determines a second path from the plurality of first paths based on the number of nodes of each first path, the length of each first path, and the communication quality of each first path.
In the embodiment of the application, based on the number of nodes in each first path and the length of each first path, a path with the number of nodes meeting the number of target nodes and the length meeting the target length can be determined from a plurality of first paths as a third path, and a path with the best communication quality can be determined from the third path as a second path. Wherein the target length is used to represent the communication distance.
In one possible implementation, the number of target nodes may be 4, the target length may be 50m, when the number of nodes of the first path is less than or equal to 4, the number of nodes of the first path is determined to satisfy the target number, and when the length of the first path is less than or equal to 50m, the length of the first path is determined to satisfy the target length. The nodes of the first path include a node corresponding to the first terminal and a node corresponding to the first access point, and when the number of target nodes is 4, the number of third terminals between the first terminal and the first access point may be 1 or 2.
It should be noted that, the first path is screened by the number of target nodes and the target length, so as to ensure the reliability of multiple hops, and further improve the reliability of the determined second path.
And a2, the data transmission equipment determines a second terminal based on the node on the second path.
In the embodiment of the application, the terminal corresponding to the node on the second path except the node corresponding to the first terminal and the node corresponding to the first access point can be used as the second terminal.
In one possible implementation manner, if the second path is a-C-B, the node a and the node B respectively correspond to the first access point and the first terminal, and the terminal corresponding to the node C may be used as the second terminal; if the second path is A-D-E-B, the terminals corresponding to D and E can be used as the second terminal.
Step 205, the data transmission device establishes a second communication link between the first terminal and the first access point through the second terminal.
Step 206, the data transmission device determines a link quality parameter of the first communication link.
In the embodiment of the application, the detection signal transmitted on the first communication link can be detected, and the detection signal is analyzed to determine the link quality parameter; the link quality parameters at least comprise signal strength, packet loss rate and retransmission rate of the detection signal. The detection signal is used for detecting whether the receiving end exists or not and is also used for determining whether a communication link between the sending end and the receiving end is abnormal or not.
It should be noted that, the probe signal may be a signal sent by the first access point to the first terminal; but also signals transmitted by the first terminal to the first access point.
Step 207, the data transmission device determines that the first communication link is abnormal if the link quality parameter does not meet the target communication quality.
In the embodiment of the application, the target communication quality can be determined by analyzing a large number of historical link quality parameters in advance, wherein the target communication quality can comprise target signal strength, target packet loss rate and target retransmission rate. The link quality parameter can be compared with the target communication quality, and when the signal intensity of the received detection signal is smaller than the target signal intensity, the packet loss rate is larger than the target packet loss rate, and the retransmission rate is larger than the target retransmission rate, the link quality parameter is determined to not meet the target communication quality, and the first communication link is determined to be abnormal; and when the signal intensity of the received detection signal is larger than or equal to the target signal intensity, the packet loss rate is smaller than or equal to the target packet loss rate, the retransmission rate is smaller than or equal to the target retransmission rate, the link quality parameter is determined to meet the target communication quality, and the first communication link is determined to have no abnormality.
It should be noted that, the value representing the communication quality of the first communication link may be determined according to the link quality parameter, and if the value is smaller than the target value, it is determined that the first communication link is abnormal; wherein the target value is used to represent a target communication quality; the values may be calculated from a plurality of parameters of the link quality parameters, wherein each parameter corresponds to a different weight.
In a possible implementation manner, the weight of the signal strength is a first weight, the weight of the packet loss rate is a second weight, the weight of the retransmission rate is a third weight, a first value can be obtained by multiplying the acquired signal strength of the detection signal by the first weight, a second value can be obtained by multiplying the packet loss rate determined by the detection signal by the second weight, a third value can be obtained by multiplying the retransmission rate determined by the detection signal by the third weight, the first value, the second value and the third value are summed to obtain the value, and the first communication link is determined to be abnormal under the condition that the value is smaller than the target value.
Step 208, the data transmission device controls the first terminal to switch from the first mode to the second mode when the first terminal is in the first mode and the first communication link is abnormal.
Wherein the first mode characterization is capable of communicating with the first access point; the second mode characterization is capable of communicating with the terminal.
It should be noted that, the first mode may specifically be a client mode, also referred to as a STA (Station) mode, where the first terminal only communicates with the first access point when the first terminal is in the STA mode, and does not allow access of other wireless devices, and specifically, it may be understood that the first terminal does not allow communication with other terminals, and when the first terminal is in the STA mode, the network in which communication is performed between the first terminal and the first access point is a single hop network. The second mode may specifically be a Mesh mode, in which the first terminal may communicate with other terminals.
In the embodiment of the application, when the first terminal is in the first mode and the first communication link is abnormal, in order to ensure the communication quality between the first terminal and the first access point, the first terminal can be controlled to switch the communication mode to the second mode so as to communicate with other terminals when the first terminal is in the second mode.
Step 209, the data transmission device controls the first terminal and the first access point to communicate through the second communication link when the first terminal is in the second mode.
In the embodiment of the present application, when the first terminal is in the second mode, that is, when the first terminal allows other terminals to communicate (it can also be understood that the first terminal allows other wireless devices to access), the first terminal may send data to be transmitted to the second terminal based on the second communication link, and forward the data to the first access point by the second terminal; the first access point may also receive the data to be transmitted sent by the scheduling system, and transmit the data to be transmitted to the first terminal through the second terminal.
Based on the foregoing embodiment, in other embodiments of the present application, the data transmission method may further include the steps of:
in step 210, the data transmission device determines, in a case where it is determined that there is no abnormality in the first communication link between the first terminal and the first access point, a target communication link from the first communication link and the second communication link based on the communication quality of the first communication link and the communication quality of the second communication link.
In the embodiment of the application, under the condition that the first communication link is determined not to have abnormality, the communication quality of the first communication link and the communication quality of the second communication link can be compared to determine the target communication link with the best link quality from the first communication link and the second communication link.
The priority of the first communication link is higher than the priority of the second communication link, that is, when the communication quality of the first communication link and the communication quality of the second communication link are the same, the first communication link is preferable as the target communication link.
Step 211, the data transmission device controls the first terminal and the first access point to communicate through the target communication link.
In the embodiment of the application, the second terminal can receive the data to be transmitted sent by the first terminal based on the target communication link, and forward the data to be transmitted to the first access point so as to send the data to be transmitted to the scheduling system through the first access point; of course, the first access point may receive the data to be transmitted sent by the scheduling system, and send the data to be transmitted to the second terminal, so as to forward the data to be transmitted to the first terminal through the second terminal.
In step 212, the data transmission device establishes a third communication link between the first terminal and the second access point through a fourth terminal in the second multi-hop network by using the virtual access point technology when the first terminal is in the second mode and the first terminal moves to the second multi-hop network outside the first multi-hop network.
In the embodiment of the application, communication between the first multi-hop network and the second multi-hop network can be realized through a virtual access point (Virtual Access Point, VAP) technology, and in the case that the first terminal moves to the second multi-hop network outside the first multi-hop network, at the moment, because the communication quality is poor too far from the first multi-hop network, the communication can be carried out through the first terminal and a fourth terminal in the second multi-hop network, the fourth terminal forwards data to be transmitted to the second access point, and the second access point sends the data to be transmitted to a dispatching system; of course, the second access point may send the data to be transmitted to the first access point, and the first access point may send the data to be transmitted to the scheduling system after receiving the data to be transmitted. The process of determining the fourth terminal from the second multi-hop network is similar to the process of determining the second terminal from the first multi-hop network, and the embodiments of the present application will not be repeated.
The first multi-hop network communicates with the scheduling system through the first access point, and the second multi-hop network communicates with the scheduling system through the second access point.
Step 213, the data transmission device controls the first terminal and the first access point to communicate through the third communication link.
It should be noted that, the implementation process of step 213 is similar to that of step 211, and the embodiment of the present application will not be described again.
The data transmission method provided in the embodiment of the present application is explained in detail below with reference to an application scenario in which a first terminal transmits data to be transmitted to a first access point.
As shown in fig. 3, when the first terminal is the first AGV, the first access point is the first wireless access point, and the warehouse shelf shields the first AGV, so that the antenna installed on the first AGV is also shielded, and further, the first communication link between the first AGV and the first wireless access point is abnormal, in this case, the data transmission device can control the working mode of the first AGV to be a Mesh mode, so that the first AGV can send data to be transmitted to the second AGV based on the second communication link, and the second AGV forwards the data to be transmitted to the first wireless access point. Wherein, all have TIG network communication module on first AGV and the second AGV, realize that first AGV communicates with the second AGV through TIG network communication module. The number of the first wireless access points can be set according to the route of the AGV when the AGV works.
It should be noted that, through the TIG network communication module, not only the first terminal may support the first mode and the second mode, but also the first terminal may support the third mode; the third mode is an AP mode, and when the first terminal is in the AP mode, the first terminal may be regarded as a wireless access point, so as to bridge with the first wireless access point through the first terminal, so as to implement communication between the first terminal and the first wireless access point. Wherein the fourth communication link established when the first terminal and the first wireless access point are bridged is different from the first communication link.
In the embodiment of the application, the data transmission equipment is operated with the network management software, and the Mesh networking topological graph can be drawn based on the positions of the plurality of terminals relative to the first wireless access point through the network management software, so that a plurality of first paths for communication between the first access point and the first terminal are determined based on the Mesh networking topological graph, and the communication quality, the network connection state and the traffic load of the plurality of first paths can be centrally managed and remotely monitored in real time, so that a second communication link can be determined, and the connection between the plurality of terminals can be controlled.
The following describes the data transmission method provided in the embodiment of the present application in detail in conjunction with an application scenario, where the data to be transmitted is transmitted to the first terminal by using the scheduling system.
As shown in fig. 4, when the AGV scheduling system issues data to be transmitted to the first terminal through the first wireless access point, the data transmission device may first determine a second path from the multiple first paths, determine a second terminal according to a node on the second path, establish a second communication link between the first wireless access point and the first terminal through the second terminal, determine a target communication link with the best communication quality from the first communication link and the second communication link based on the communication quality of the first communication link and the communication quality of the second communication link, and transmit the data to be transmitted to the first terminal based on the target communication link. Wherein, in order to ensure the reliability of the multi-hop, when determining the second communication link, the second communication link is limited to be within 3 hops, and the transmission distance of the second communication link is limited to be about 50 m.
It should be noted that, in this embodiment, the descriptions of the same steps and the same content as those in other embodiments may refer to the descriptions in other embodiments, and are not repeated here.
According to the data transmission method provided by the embodiment of the application, when the first terminal is shielded to cause the first communication link to be abnormal, the first terminal and the first access point can be controlled to communicate by adopting the second communication link, so that the problems of data deletion and time delay caused by the fact that the first terminal and the first access point still communicate through the first communication link when the first communication link is abnormal are avoided, and the reliability and timeliness of the communication between the first terminal and the first access point are improved. Moreover, the first multi-hop network is established among the plurality of terminals to establish the second communication link, so that the reliability of the industrial network is enhanced.
Based on the foregoing embodiments, an embodiment of the present application provides a data transmission device, which is applied to the data transmission method provided in the corresponding embodiment of fig. 1 to 2, and referring to fig. 5, the data transmission device 3 may include a setup unit 31, a determination unit 32, and a transmission unit 33, where:
an establishing unit 31 for establishing a first multihop network based on a plurality of terminals;
a determining unit 32, configured to determine, based on the target location of the first terminal relative to the first access point, a second terminal from the nodes of the first multihop network; wherein the plurality of terminals includes a first terminal and a second terminal;
an establishing unit 31, configured to establish, by means of the second terminal, a second communication link for communication between the first terminal and the first access point;
A transmission unit 33 configured to control, in a case where it is determined that there is an abnormality in a first communication link between the first terminal and the first access point, the first terminal and the first access point to communicate through a second communication link; wherein the communication quality of the second communication link is better than the communication quality of the first communication link.
In an embodiment of the present application, the determining unit 32 is further configured to perform the following steps:
determining a plurality of third terminals from the nodes of the first multi-hop network based on the target locations;
Determining a plurality of first paths for communication between the first access point and the first terminal based on the plurality of third terminals, the first access point and the first terminal; wherein, each first path is provided with at least one third terminal;
the second terminal is determined based on the plurality of first paths.
In an embodiment of the present application, the determining unit 32 is further configured to perform the following steps:
Determining a second path from the plurality of first paths based on the number of nodes of each first path, the length of each first path, and the communication quality of each first path;
A second terminal is determined based on the nodes on the second path.
In an embodiment of the present application, the determining unit 32 is further configured to perform the following steps:
determining a link quality parameter of the first communication link;
In the case where the link quality parameter does not satisfy the target communication quality, it is determined that there is an abnormality in the first communication link.
In the embodiment of the present application, the transmission unit 33 is further configured to perform the following steps:
controlling the first terminal to switch from the first mode to the second mode under the condition that the first terminal is in the first mode and the first communication link is abnormal; wherein the first mode characterization is capable of communicating with the first access point; the second mode characterization is capable of communicating with the terminal;
And controlling the first terminal and the first access point to communicate through a second communication link under the condition that the first terminal is in the second mode.
In the embodiment of the present application, the transmission unit 33 is further configured to perform the following steps:
In the case that it is determined that there is no abnormality in the first communication link between the first terminal and the first access point, determining a target communication link from the first communication link and the second communication link based on the communication quality of the first communication link and the communication quality of the second communication link;
the first terminal and the first access point are controlled to communicate over the target communication link.
In the embodiment of the present application, the transmission unit 33 is further configured to perform the following steps:
Under the condition that the first terminal is in a second mode and moves to a second multi-hop network outside the first multi-hop network, a virtual access point technology is adopted to establish a third communication link for communication between the first terminal and the second access point through a fourth terminal in the second multi-hop network;
the first terminal and the first access point are controlled to communicate through a third communication link.
It should be noted that, the specific implementation process of the steps executed by each unit in this embodiment may refer to the implementation process in the data transmission method provided in the corresponding embodiment of fig. 1-2, which is not described herein again.
According to the data transmission device provided by the embodiment of the application, when the first terminal is shielded to enable the first communication link to be abnormal, the first terminal and the first access point can be controlled to communicate by adopting the second communication link, so that the problems of data deletion and time delay caused by the fact that the first terminal and the first access point still communicate through the first communication link when the first communication link is abnormal are avoided, and the reliability and timeliness of the communication between the first terminal and the first access point are improved.
Based on the foregoing embodiments, the embodiments of the present application provide a data transmission device, which may be applied to the data transmission method provided in the corresponding embodiment of fig. 1 to 2, and referring to fig. 6, the data transmission device 4 may include: a memory 41, a processor 42 and a communication bus 43; wherein:
a communication bus 43 for enabling a communication connection between the processor 42 and the memory 41;
The processor 42 is configured to execute a data transmission program stored in the memory 41 to implement the steps of:
establishing a first multi-hop network based on a plurality of terminals;
determining a second terminal from nodes of the first multihop network based on a target position of the first terminal relative to the first access point; wherein the plurality of terminals includes a first terminal and a second terminal;
establishing a second communication link between the first terminal and the first access point through the second terminal;
Controlling the first terminal and the first access point to communicate through a second communication link under the condition that the first communication link between the first terminal and the first access point is abnormal; wherein the communication quality of the second communication link is better than the communication quality of the first communication link.
In other embodiments of the present application, the processor 42 is configured to determine the second terminal from the nodes of the first multihop network based on the target location of the first terminal with respect to the first access point in the data transmission program in the memory 41, so as to implement the following steps:
determining a plurality of third terminals from the nodes of the first multi-hop network based on the target locations;
Determining a plurality of first paths for communication between the first access point and the first terminal based on the plurality of third terminals, the first access point and the first terminal; wherein, each first path is provided with at least one third terminal;
the second terminal is determined based on the plurality of first paths.
In other embodiments of the present application, the processor 42 is configured to execute the second terminal based on the plurality of first paths in the data transmission program in the memory 41, so as to implement the following steps:
Determining a second path from the plurality of first paths based on the number of nodes of each first path, the length of each first path, and the communication quality of each first path;
A second terminal is determined based on the nodes on the second path.
In other embodiments of the present application, the processor 42 is configured to execute a data transmission program in the memory 41 to implement the following steps:
determining a link quality parameter of the first communication link;
In the case where the link quality parameter does not satisfy the target communication quality, it is determined that there is an abnormality in the first communication link.
In other embodiments of the present application, the processor 42 is configured to control the first terminal and the first access point to communicate through the second communication link in the case where it is determined that there is an abnormality in the first communication link between the first terminal and the first access point in the data transmission program in the memory 41, so as to implement the following steps:
controlling the first terminal to switch from the first mode to the second mode under the condition that the first terminal is in the first mode and the first communication link is abnormal; wherein the first mode characterization is capable of communicating with the first access point; the second mode characterization is capable of communicating with the terminal;
And controlling the first terminal and the first access point to communicate through a second communication link under the condition that the first terminal is in the second mode.
In other embodiments of the present application, the processor 42 is configured to execute a data transmission program in the memory 41 to implement the following steps:
In the case that it is determined that there is no abnormality in the first communication link between the first terminal and the first access point, determining a target communication link from the first communication link and the second communication link based on the communication quality of the first communication link and the communication quality of the second communication link;
the first terminal and the first access point are controlled to communicate over the target communication link.
In other embodiments of the present application, the processor 42 is configured to execute a data transmission program in the memory 41 to implement the following steps:
Under the condition that the first terminal is in a second mode and moves to a second multi-hop network outside the first multi-hop network, a virtual access point technology is adopted to establish a third communication link for communication between the first terminal and the second access point through a fourth terminal in the second multi-hop network;
the first terminal and the first access point are controlled to communicate through a third communication link.
It should be noted that, the specific implementation process of the steps executed by the processor in this embodiment may refer to the implementation process in the data transmission method provided in the corresponding embodiment of fig. 1-2, which is not described herein again.
According to the data transmission equipment provided by the embodiment of the application, when the first terminal is shielded to enable the first communication link to be abnormal, the first terminal and the first access point can be controlled to communicate by adopting the second communication link, so that the problems of data deletion and time delay caused by the fact that the first terminal and the first access point still communicate through the first communication link when the first communication link is abnormal are avoided, and the reliability and timeliness of the communication between the first terminal and the first access point are improved.
Based on the foregoing embodiments, embodiments of the present application provide a computer-readable storage medium storing one or more programs executable by one or more processors to implement the steps of the data transmission method provided by the corresponding embodiments of fig. 1-2.
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
The computer readable storage medium may be a Read Only Memory (ROM), a programmable Read Only Memory (Programmable Read-Only Memory, PROM), an erasable programmable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable programmable Read Only Memory (ELECTRICALLY ERASABLE PROGRAMMABLE READ-Only Memory, EEPROM), a magnetic random access Memory (Ferromagnetic Random Access Memory, FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a compact disk Read Only Memory (Compact Disc Read-Only Memory, CD-ROM), or the like; but may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the application, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (9)

1. A method of data transmission, the method comprising:
establishing a first multi-hop network based on a plurality of terminals;
Determining a second terminal from nodes of the first multi-hop network based on a target position of the first terminal relative to a first access point; wherein the plurality of terminals includes the first terminal and the second terminal;
establishing a second communication link between the first terminal and the first access point through the second terminal;
Controlling the first terminal and the first access point to communicate through the second communication link under the condition that the first communication link between the first terminal and the first access point is abnormal; wherein the communication quality of the second communication link is better than the communication quality of the first communication link;
Wherein determining, based on the target location of the first terminal relative to the first access point, a second terminal from the nodes of the first multihop network comprises:
determining a target distance between the first access point and the first terminal based on the target location;
Determining a region to be selected with the first access point as a center based on the target distance and the target position, determining an intersection region of the region covered by the first multi-hop network and the region to be selected, and taking the intersection region as a target region to obtain a terminal corresponding to a node in the target region;
Determining terminals except the first terminal from terminals corresponding to the nodes in the target area to obtain a plurality of third terminals;
determining a plurality of first paths for communication between the first access point and the first terminal based on the plurality of third terminals, the first access point and the first terminal; wherein, each first path is provided with at least one third terminal;
And determining the second terminal based on the plurality of first paths.
2. The method of claim 1, wherein the determining the second terminal based on the plurality of first paths comprises:
Determining a second path from the plurality of first paths based on the number of nodes of each first path, the length of each first path, and the communication quality of each first path;
And determining the second terminal based on the node on the second path.
3. The method of claim 1, wherein in the event that a first communication link between a first terminal and a first access point is determined to be anomalous, the method further comprises, prior to controlling the first terminal and the first access point to communicate over the second communication link:
determining a link quality parameter of the first communication link;
And determining that the first communication link is abnormal under the condition that the link quality parameter does not meet the target communication quality.
4. The method of claim 1, wherein controlling the first terminal and the first access point to communicate over the second communication link in the event that a determination is made that there is an anomaly in the first communication link between the first terminal and the first access point comprises:
Controlling the first terminal to switch from a first mode to a second mode under the condition that the first terminal is in the first mode and the first communication link is abnormal; wherein the first mode characterization is capable of communicating with the first access point; the second mode characterization is capable of communicating with a terminal;
and controlling the first terminal and the first access point to communicate through the second communication link under the condition that the first terminal is in the second mode.
5. The method according to claim 1, wherein the method further comprises:
In the case that it is determined that there is no abnormality in a first communication link between a first terminal and the first access point, determining a target communication link from the first communication link and the second communication link based on the communication quality of the first communication link and the communication quality of the second communication link;
And controlling the first terminal and the first access point to communicate through the target communication link.
6. The method according to claim 4, wherein the method further comprises:
Establishing a third communication link between the first terminal and a second access point through a fourth terminal in the second multi-hop network by adopting a virtual access point technology under the condition that the first terminal is in the second mode and the first terminal moves to the second multi-hop network outside the first multi-hop network;
And controlling the first terminal and the first access point to communicate through the third communication link.
7. A data transmission apparatus, the apparatus comprising:
An establishing unit, configured to establish a first multi-hop network based on a plurality of terminals;
A determining unit, configured to determine a second terminal from nodes of the first multihop network based on a target position of the first terminal relative to the first access point; wherein the plurality of terminals includes the first terminal and the second terminal;
The establishing unit is further configured to establish, through the second terminal, a second communication link for communication between the first terminal and the first access point;
A transmission unit, configured to control the first terminal and the first access point to communicate through the second communication link when it is determined that there is an abnormality in a first communication link between the first terminal and the first access point; wherein the communication quality of the second communication link is better than the communication quality of the first communication link;
wherein, the determining unit is specifically configured to:
determining a target distance between the first access point and the first terminal based on the target location;
Determining a region to be selected with the first access point as a center based on the target distance and the target position, determining an intersection region of the region covered by the first multi-hop network and the region to be selected, and taking the intersection region as a target region to obtain a terminal corresponding to a node in the target region;
Determining terminals except the first terminal from terminals corresponding to the nodes in the target area to obtain a plurality of third terminals;
determining a plurality of first paths for communication between the first access point and the first terminal based on the plurality of third terminals, the first access point and the first terminal; wherein, each first path is provided with at least one third terminal;
And determining the second terminal based on the plurality of first paths.
8. A data transmission apparatus, characterized in that the data transmission apparatus comprises: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute a data transmission program stored in the memory to implement the steps of the data transmission method according to any one of the preceding claims 1 to 6.
9. A computer-readable storage medium storing one or more programs executable by one or more processors to implement the steps of the data transmission method of any one of claims 1 to 6.
CN202210332178.0A 2022-03-30 2022-03-30 Data transmission method, device, equipment and computer readable storage medium Active CN114698047B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210332178.0A CN114698047B (en) 2022-03-30 2022-03-30 Data transmission method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210332178.0A CN114698047B (en) 2022-03-30 2022-03-30 Data transmission method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN114698047A CN114698047A (en) 2022-07-01
CN114698047B true CN114698047B (en) 2024-08-27

Family

ID=82141962

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210332178.0A Active CN114698047B (en) 2022-03-30 2022-03-30 Data transmission method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN114698047B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472742A (en) * 2014-08-29 2016-04-06 中国电信股份有限公司 Resource allocation method, device and system in LTE multi-hop network
CN105515974A (en) * 2015-12-08 2016-04-20 河南许继仪表有限公司 Relay selection method in power line communication network
CN111162954A (en) * 2020-01-22 2020-05-15 厦门网宿有限公司 Path planning method, system and central server
WO2021031022A1 (en) * 2019-08-16 2021-02-25 Oppo广东移动通信有限公司 Link switching method and communication device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104735744B (en) * 2015-03-23 2019-03-05 南京邮电大学 A kind of design method of the multi-hop relay routing based on terminal direct connection communication
KR20200118602A (en) * 2019-04-08 2020-10-16 넥서스텍(주) System and method for establishing route path in a multiple hop newwork
CN111836329B (en) * 2019-04-19 2022-04-22 Oppo广东移动通信有限公司 Data transmission method and related device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105472742A (en) * 2014-08-29 2016-04-06 中国电信股份有限公司 Resource allocation method, device and system in LTE multi-hop network
CN105515974A (en) * 2015-12-08 2016-04-20 河南许继仪表有限公司 Relay selection method in power line communication network
WO2021031022A1 (en) * 2019-08-16 2021-02-25 Oppo广东移动通信有限公司 Link switching method and communication device
CN111162954A (en) * 2020-01-22 2020-05-15 厦门网宿有限公司 Path planning method, system and central server

Also Published As

Publication number Publication date
CN114698047A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
US7974658B2 (en) Method and system for subterranean wireless data transmission between at least one mobile station and a fixed network by means of a radio network
EP2683199B1 (en) Determination of communication routes in a wireless communication network
CN109672730A (en) Long-range control method, device, equipment and computer readable storage medium
CN108592920A (en) A kind of paths planning method and system of robot
EP2953384B1 (en) Mobile communication apparatus, mobile communication method and program
CN113696183B (en) Robot control method based on chain communication, robot and storage medium
CN109347520B (en) Communication method, system and computer readable storage medium for dual-mode communication network
CN114207682B (en) Method for operating a mobile system and an alarm gateway as subscribers in a wireless network
CN114698047B (en) Data transmission method, device, equipment and computer readable storage medium
CN113115383B (en) Signal management method, device and computer readable storage medium
CN112333798B (en) Control method and device of intelligent equipment
JP2012147090A (en) Radio communication system, base station and server
CN112866909A (en) Device interaction method, system, electronic device and storage medium
US20060067286A1 (en) Wireless asset monitoring system and method having designations of logical place
CN114446006B (en) Hazardous article transportation monitoring method and system based on 5G era track monitoring
CN115551031B (en) Method for connecting 5G and self-organizing network combined networking
US20230174109A1 (en) Method of Detecting an Interference Source in an Industrial Facility
EP3941002A1 (en) Method of avoiding jamming in a wireless network in an industrial facility
EP3917046A1 (en) Method of communicating in a wireless network in an industrial facility
CN117768868B (en) Wireless emergency communication method, device and storage medium
US11838934B2 (en) Communications network system managing communications policies based on detected state of communication environment, and communications network method
JP7422363B2 (en) Communication system and communication method
CN117880318B (en) Communication scheduling method and system for mining vehicle
WO2024202949A1 (en) Communication system
CN115209344B (en) Unmanned aerial vehicle edge communication method and 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