CN111836329B - Data transmission method and related device - Google Patents
Data transmission method and related device Download PDFInfo
- Publication number
- CN111836329B CN111836329B CN201910320246.XA CN201910320246A CN111836329B CN 111836329 B CN111836329 B CN 111836329B CN 201910320246 A CN201910320246 A CN 201910320246A CN 111836329 B CN111836329 B CN 111836329B
- Authority
- CN
- China
- Prior art keywords
- data transmission
- link
- relay
- data
- link information
- 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.)
- Expired - Fee Related
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 334
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000004891 communication Methods 0.000 claims description 33
- 238000012545 processing Methods 0.000 claims description 21
- 238000004590 computer program Methods 0.000 claims description 17
- 238000012163 sequencing technique Methods 0.000 claims 15
- 230000009286 beneficial effect Effects 0.000 abstract 1
- 238000012546 transfer Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 108010003272 Hyaluronate lyase Proteins 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008521 reorganization Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/12—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality
- H04W40/14—Communication route or path selection, e.g. power-based or shortest path routing based on transmission quality or channel quality based on stability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W40/00—Communication routing or communication path finding
- H04W40/02—Communication route or path selection, e.g. power-based or shortest path routing
- H04W40/22—Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域technical field
本申请涉及电子设备技术领域,具体涉及一种数据传输方法和相关装置。The present application relates to the technical field of electronic equipment, and in particular, to a data transmission method and related apparatus.
背景技术Background technique
随着电子设备的发展,现行的数据传输系统已可通过不同的电子设备之间的互动与沟通。以物联网(IOT)的概念来说,物联网允许电子装置之间相互进行点对点(Peer-to-Peer)联机。随着端点的种类越来越多,端点与端点之间所处的网络环境也越来越复杂。现有技术中,通过收集中继节点信息,找到最佳路由来发送报文。而当整个链路质量较差时,即使是使用最佳路由也难以保证报文的正确发送。With the development of electronic devices, the current data transmission system has been able to interact and communicate with different electronic devices. In terms of the concept of the Internet of Things (IOT), the Internet of Things allows peer-to-peer (Peer-to-Peer) connections between electronic devices. With more and more types of endpoints, the network environment between endpoints is also more and more complex. In the prior art, messages are sent by collecting relay node information to find the best route. However, when the quality of the entire link is poor, it is difficult to ensure the correct sending of packets even if the optimal route is used.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种数据传输方法及相关装置,以期提高数据传输的成功率和稳定性。Embodiments of the present application provide a data transmission method and a related device, so as to improve the success rate and stability of data transmission.
第一方面,本申请实施例提供一种数据传输方法,应用于电子设备,所述电子设备包括无线收发模块,所述方法包括:In a first aspect, an embodiment of the present application provides a data transmission method, which is applied to an electronic device, where the electronic device includes a wireless transceiver module, and the method includes:
获取需要向目标节点发送的至少一个数据传输任务,所述目标节点为所述电子设备通过所述无线收发模块接入的第一局域网络中的设备,所述第一局域网络包括所述电子设备、所述目标节点和至少一个中继设备;Obtain at least one data transmission task that needs to be sent to a target node, where the target node is a device in a first local area network accessed by the electronic device through the wireless transceiver module, and the first local area network includes the electronic device , the target node and at least one relay device;
在检测到第一传输链路无法满足所述至少一个数据传输任务的传输需求时,获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,所述第一传输链路为所述电子设备与所述目标节点之间的直连通信链路;When it is detected that the first transmission link cannot meet the transmission requirement of the at least one data transmission task, obtain at least one relay link in the first local area network and link information of each relay link, and The first transmission link is a direct communication link between the electronic device and the target node;
根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路;according to the at least one data transmission task and the link information of each relay link, selecting a plurality of relay links for transmitting the at least one data transmission task;
通过所述多条中继链路传输所述至少一个数据传输任务。The at least one data transmission task is transmitted over the plurality of relay links.
第二方面,本申请实施例提供一种数据传输装置,应用于电子设备,所述电子设备包括无线收发模块,所述数据传输装置包括处理单元和通信单元,其中,In a second aspect, an embodiment of the present application provides a data transmission device, which is applied to an electronic device, where the electronic device includes a wireless transceiver module, and the data transmission device includes a processing unit and a communication unit, wherein,
所述处理单元用于获取需要向目标节点发送的至少一个数据传输任务,所述目标节点为所述电子设备通过所述无线收发模块接入的第一局域网络中的设备,所述第一局域网络包括所述电子设备、所述目标节点和至少一个中继设备;以及在检测到第一传输链路无法满足所述至少一个数据传输任务的传输需求时,通过所述通信单元获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,所述第一传输链路为所述电子设备与所述目标节点之间的直连通信链路;以及根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路;通过所述多条中继链路传输所述至少一个数据传输任务。The processing unit is configured to acquire at least one data transmission task that needs to be sent to a target node, where the target node is a device in the first local area network accessed by the electronic device through the wireless transceiver module, and the first local area network The network includes the electronic device, the target node and at least one relay device; and when it is detected that the first transmission link cannot meet the transmission requirement of the at least one data transmission task, obtain the first transmission link through the communication unit. At least one relay link in a local area network and link information of each relay link, the first transmission link is a direct communication link between the electronic device and the target node; and According to the at least one data transmission task and the link information of each relay link, select multiple relay links for transmitting the at least one data transmission task; The at least one data transfer task is transmitted.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面任一方法中的步骤的指令。In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above-mentioned processing The above program includes instructions for executing steps in any method of the first aspect of the embodiments of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the computer program as described in the first embodiment of the present application. In one aspect some or all of the steps described in any method.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in any method of the first aspect. The computer program product may be a software installation package.
可以看出,本申请实施例中,电子设备获取需要向目标节点发送的至少一个数据传输任务,所述目标节点为所述电子设备通过所述无线收发模块接入的第一局域网络中的设备,所述第一局域网络包括所述电子设备、所述目标节点和至少一个中继设备;在检测到第一传输链路无法满足所述至少一个数据传输任务的传输需求时,获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,所述第一传输链路为所述电子设备与所述目标节点之间的直连通信链路;根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路;通过所述多条中继链路传输所述至少一个数据传输任务。可见,电子设备能够根据在直连通信链路不满足传输需求时,获取多条中继链路,根据多条中继链路的链路信息和待传输的数据传输任务选择用于传输的中继链路,提高了数据传输的成功率和稳定性。It can be seen that, in this embodiment of the present application, the electronic device acquires at least one data transmission task that needs to be sent to a target node, and the target node is a device in the first local area network to which the electronic device accesses through the wireless transceiver module , the first local area network includes the electronic device, the target node and at least one relay device; when it is detected that the first transmission link cannot meet the transmission requirement of the at least one data transmission task, obtain the first At least one relay link in a local area network and link information of each relay link, the first transmission link is a direct communication link between the electronic device and the target node; according to For the at least one data transmission task and the link information of each relay link, select multiple relay links for transmitting the at least one data transmission task; and transmit the data through the multiple relay links the at least one data transfer task. It can be seen that the electronic device can obtain multiple relay links when the direct communication link does not meet the transmission requirements, and select the medium for transmission according to the link information of the multiple relay links and the data transmission task to be transmitted. Following the link, the success rate and stability of data transmission are improved.
附图说明Description of drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following briefly introduces the accompanying drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without any creative effort.
图1是本申请实施例提供的数据传输的中继网络结构示意图;1 is a schematic structural diagram of a relay network for data transmission provided by an embodiment of the present application;
图2是本申请实施例提供的一种数据传输方法的流程示意图;2 is a schematic flowchart of a data transmission method provided by an embodiment of the present application;
图3是本申请实施例提供的另一种数据传输方法的流程示意图;3 is a schematic flowchart of another data transmission method provided by an embodiment of the present application;
图4是本申请实施例提供的一种电子设备的结构示意图;4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图5是本申请实施例提供的一种数据传输装置的功能单元组成框图。FIG. 5 is a block diagram of functional units of a data transmission apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, 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. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
本申请实施例所涉及到的电子设备可以是具备屏下指纹模组的电子设备,该电子设备可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。The electronic device involved in the embodiments of the present application may be an electronic device with an off-screen fingerprint module, and the electronic device may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or devices connected to wireless communication functions. Other processing equipment of the modem, as well as various forms of user equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal equipment (terminal device) and so on.
下面对本申请实施例进行详细介绍。The embodiments of the present application will be described in detail below.
中继是高级国际移动通信(IMT-Advanced,International MobileTelecommunication-Advanced)系统中可能使用到的一项重要技术,主要用于增加系统覆盖或增加容量。当在网络中引入中继节点(RS,Relay Station)后,接入网侧的无线链路将被分为两类,即:接入链路(Access-Link)和中继链路(Relay-Link)。其中,接入链路是指开始于或终结于移动终端(MS,Mobile Station)的无线链路;中继链路是指基站(BS,BaseStation)和RS之间的无线链路或RS和RS之间的无线链路。Relay is an important technology that may be used in an International Mobile Telecommunication-Advanced (IMT-Advanced, International Mobile Telecommunication-Advanced) system, and is mainly used to increase system coverage or increase capacity. When a relay node (RS, Relay Station) is introduced into the network, the wireless links on the access network side will be divided into two categories, namely: an access link (Access-Link) and a relay link (Relay-Link). Link). Wherein, the access link refers to the wireless link that starts or ends with the mobile terminal (MS, Mobile Station); the relay link refers to the wireless link between the base station (BS, BaseStation) and the RS or the RS and the RS wireless link between.
如图1所示,本申请所述电子设备A可以通过无线收发模块接入至少一个中继节点(RS,Relay Station)a、b、c……和目标设备B。所述电子设备A包括无线收发模块,所述无线收发模块至少包括Transceiver(收发器),其中,常见的一些组合(1)有Transceiver:BaseBand信号由外部处理IC提供和接收,(2)MCU+Transceiver:BaseBand信号由MCU生成和接收,(3)Modem+Transceiver:BaseBand信号由Modem生成和接收,(4)Transceiver+PA+LNA:BaseBand信号由外部处理IC提供和接收,PA和LNA用于提高射频性能。As shown in FIG. 1 , the electronic device A described in this application can access at least one relay node (RS, Relay Station) a, b, c . . . and the target device B through a wireless transceiver module. The electronic device A includes a wireless transceiver module, and the wireless transceiver module includes at least a Transceiver (transceiver), and some common combinations (1) include Transceiver: BaseBand signals are provided and received by an external processing IC, (2) MCU+ Transceiver: BaseBand signal is generated and received by MCU, (3) Modem+Transceiver: BaseBand signal is generated and received by Modem, (4) Transceiver+PA+LNA: BaseBand signal is provided and received by external processing IC, PA and LNA are used to improve RF performance.
请参阅图2,图2是本申请实施例提供了一种数据传输方法的流程示意图,应用于电子设备,所述电子设备包括无线收发模块,如图所示,本数据传输方法包括:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a data transmission method provided by an embodiment of the present application, which is applied to an electronic device. The electronic device includes a wireless transceiver module. As shown in the figure, the data transmission method includes:
S201,电子设备获取需要向目标节点发送的至少一个数据传输任务,所述目标节点为所述电子设备通过所述无线收发模块接入的第一局域网络中的设备,所述第一局域网络包括所述电子设备、所述目标节点和至少一个中继设备;S201, an electronic device acquires at least one data transmission task to be sent to a target node, where the target node is a device in a first local area network accessed by the electronic device through the wireless transceiver module, and the first local area network includes the electronic device, the target node, and at least one relay device;
其中,所述至少一个数据传输任务为一种或多种数据类型。所述无线收发模块包括但不限于LORA模块。Wherein, the at least one data transmission task is one or more data types. The wireless transceiver module includes but is not limited to a LORA module.
S202,所述电子设备在检测到第一传输链路无法满足所述至少一个数据传输任务的传输需求时,获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,所述第一传输链路为所述电子设备与所述目标节点之间的直连通信链路;S202: When detecting that the first transmission link cannot meet the transmission requirement of the at least one data transmission task, the electronic device acquires at least one relay link and each relay link in the first local area network The link information, the first transmission link is a direct communication link between the electronic device and the target node;
其中,所述链路信息为能够体现每条中继链路的负载传输能力的链路信息参数。所述直连通信链路无法满足传输需求,可能是传输距离受限或传输链路的质量不好等。The link information is a link information parameter that can reflect the load transmission capability of each relay link. The directly connected communication link cannot meet the transmission requirements, which may be due to limited transmission distance or poor quality of the transmission link.
S203,所述电子设备根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路;S203, the electronic device selects, according to the at least one data transmission task and the link information of each relay link, multiple relay links for transmitting the at least one data transmission task;
其中,所述电子设备可以根据每条中继链路的带宽负载能力对需要传输的数据进行分流,或复用多条中继链路进行相同数据的并发传输,或对传输数据进行分组,打上链路标记和时间戳,再选择链路标记对应的链路进行传输。The electronic device can divide the data to be transmitted according to the bandwidth load capacity of each relay link, or multiplex multiple relay links for concurrent transmission of the same data, or group the transmitted data and mark the Link tag and time stamp, and then select the link corresponding to the link tag for transmission.
S204,所述电子设备通过所述多条中继链路传输所述至少一个数据传输任务。S204, the electronic device transmits the at least one data transmission task through the multiple relay links.
具体实现中,对所述至少一个数据传输任务的传输可以是根据选择的中继链路进行单次传输或多次重复传输等。In a specific implementation, the transmission of the at least one data transmission task may be a single transmission or multiple repeated transmissions, etc. according to the selected relay link.
可以看出,本申请实施例中,电子设备获取需要向目标节点发送的至少一个数据传输任务,所述目标节点为所述电子设备通过所述无线收发模块接入的第一局域网络中的设备,所述第一局域网络包括所述电子设备、所述目标节点和至少一个中继设备;在检测到第一传输链路无法满足所述至少一个数据传输任务的传输需求时,获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,所述第一传输链路为所述电子设备与所述目标节点之间的直连通信链路;根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路;通过所述多条中继链路传输所述至少一个数据传输任务。可见,电子设备能够根据在直连通信链路不满足传输需求时,获取多条中继链路,根据多条中继链路的链路信息和待传输的数据传输任务选择用于传输的中继链路,提高了数据传输的成功率和稳定性。It can be seen that, in this embodiment of the present application, the electronic device acquires at least one data transmission task that needs to be sent to a target node, and the target node is a device in the first local area network to which the electronic device accesses through the wireless transceiver module , the first local area network includes the electronic device, the target node and at least one relay device; when it is detected that the first transmission link cannot meet the transmission requirement of the at least one data transmission task, obtain the first At least one relay link in a local area network and link information of each relay link, the first transmission link is a direct communication link between the electronic device and the target node; according to For the at least one data transmission task and the link information of each relay link, select multiple relay links for transmitting the at least one data transmission task; and transmit the data through the multiple relay links the at least one data transfer task. It can be seen that the electronic device can obtain multiple relay links when the direct communication link does not meet the transmission requirements, and select the medium for transmission according to the link information of the multiple relay links and the data transmission task to be transmitted. Following the link, the success rate and stability of data transmission are improved.
在一个可能的示例中,所述获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,包括:所述至少一个数据传输任务包括所述至少一个传输任务对应的预设参数,根据所述预设参数获取所述中继链路的至少一种链路信息,所述预设参数包括以下至少一种:数据类型、数据量、数据重要性和实时性要求,所述链路信息包括:当前带宽、数据率、丢包率和时延;或,查询所述链路信息的历史获取次数,获取所述历史获取次数最多的所述至少一种链路信息;或,根据预设置的获取策略获取所述至少一种链路信息。In a possible example, the acquiring at least one relay link and link information of each relay link in the first local area network includes: the at least one data transmission task includes the at least one Preset parameters corresponding to the transmission task, obtain at least one link information of the relay link according to the preset parameters, and the preset parameters include at least one of the following: data type, data amount, data importance and Real-time requirements, the link information includes: current bandwidth, data rate, packet loss rate, and delay; or, query the historical acquisition times of the link information, and acquire the at least one with the largest historical acquisition times link information; or, acquiring the at least one type of link information according to a preset acquisition policy.
其中,所述带宽(band width)又叫频宽,是指在固定的时间可传输的资料数量,即在传输管道中可以传递数据的能力。所述数据率即数据传输速率(Data transfer rate)。在含扩频系统中,扩频因子越大,带宽越大,但是在LoRa调制中,数据率并非越高,反而可能会变低。所述丢包率是指测试中所丢失数据包数量占所发送数据包的比率,一般来说,数据率越高,丢包率越大。所述时延是指从数据发射到接收并成功处理的时间。The bandwidth is also called bandwidth, which refers to the amount of data that can be transmitted at a fixed time, that is, the ability to transmit data in a transmission pipeline. The data rate is the data transfer rate. In a system with spread spectrum, the larger the spreading factor, the larger the bandwidth, but in LoRa modulation, the data rate is not higher, but may become lower. The packet loss rate refers to the ratio of the number of lost data packets to the transmitted data packets in the test. Generally speaking, the higher the data rate, the greater the packet loss rate. The latency refers to the time from data transmission to reception and successful processing.
其中,所述至少一种数据传输任务可以包括传输数据和预设参数,所述预设参数可以是所述传输数据的传输要求等参数。当所述预设参数为数据类型时,获取所述每条中继链路的数据率;当所述预设参数为数据量时,获取所述每条中继链路的数据率或当前带宽;当所述预设参数为数据重要性时,获取所述每条中继链路的丢包率;当所述预设参数为实时性要求时,获取所述每条中继链路的时延。获取所述每条中继链路的链路信息可以是一种链路信息,也可以是多种链路信息,例如,所述预设参数为数据量和实时性要求时,获取所述每条中继链路的数据率和时延等。The at least one data transmission task may include transmission data and preset parameters, and the preset parameters may be parameters such as transmission requirements of the transmission data. When the preset parameter is the data type, obtain the data rate of each relay link; when the preset parameter is the data amount, obtain the data rate or current bandwidth of each relay link ; When the preset parameter is data importance, obtain the packet loss rate of each relay link; when the preset parameter is a real-time requirement, obtain the time of each relay link extension. The link information obtained for each relay link may be one type of link information or multiple types of link information. For example, when the preset parameters are data volume and real-time requirements, obtain the link information. data rate and delay of each trunk link.
具体实现中,电子设备获取预设参数对应的中继链路信息,还可以在用户对数据传输任务没有预设参数时,即没有传输要求等参数时,查询历史获取次数最多的链路信息并获取;获取根据用户预设置的获取策略获取链路信息,预设置的获取策略可以是获取其中一种链路信息,也可以是获取多种链路信息的组合,例如获取每条中继链路的全部链路信息,再对全部链路信息进行比较处理。In the specific implementation, the electronic device obtains the relay link information corresponding to the preset parameters, and can also query the link information that has been obtained the most times in history when the user has no preset parameters for the data transmission task, that is, when there are no parameters such as transmission requirements. Acquire; acquire link information according to the acquisition strategy preset by the user. The preset acquisition strategy can be to acquire one kind of link information, or a combination of multiple link information, such as acquiring each relay link All link information, and then compare and process all link information.
可见,本示例中,电子设备能够基于需要发送的至少一个数据传输任务的预设参数获取每条中继链路对应的链路信息,节约获取和处理链路信息的时间,提高了数据传输的速率。It can be seen that in this example, the electronic device can obtain the link information corresponding to each relay link based on the preset parameters of at least one data transmission task to be sent, which saves the time for obtaining and processing link information and improves the efficiency of data transmission. rate.
在一个可能的示例中,所述根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路,包括:根据所述至少一种链路信息对所述每条中继链路进行优先级排序,得到所述至少一种链路信息对应的第一优先级序列;根据所述至少一种链路信息对所述至少一个数据传输任务进行分组排序,得到第一数据传输任务分组;根据所述第一优先级序列和所述第一数据传输任务分组选择用于传输所述至少一个数据传输任务的多条中继链路。In a possible example, selecting multiple relay links for transmitting the at least one data transmission task according to the at least one data transmission task and the link information of each relay link, The method includes: prioritizing each relay link according to the at least one type of link information to obtain a first priority sequence corresponding to the at least one type of link information; The information performs grouping sorting on the at least one data transmission task to obtain a first data transmission task group; according to the first priority sequence and the first data transmission task grouping, a Multiple trunk links.
其中,将所述每条中继链路的至少一种链路信息进行比较,链路信息包括当前带宽、数据率、时延、丢包率等,得到每条中继链路的链路传输能力,根据链路传输能力将每条中继链路从优到劣依次排序。Wherein, at least one link information of each relay link is compared, and the link information includes current bandwidth, data rate, delay, packet loss rate, etc., to obtain the link transmission of each relay link Each relay link is ranked from good to bad according to the link transmission capacity.
具体实现中,所述链路信息为当前带宽时,比较各个中继设备到目标节点的带宽信息,按当前带宽从大到小排序,当前带宽越大,优先级越高,则当前带宽对应的中继链路的优先级序列依次为中继a-终端B、中继b-终端B、中继c-终端B等;根据当前带宽将所述至少一个数据传输任务按照数据重要性进行分组,得到数据重要性从高到低为数据1、数据2、数据3等的第一数据传输任务分组;根据中继a-终端B、中继b-终端B和中继c-终端B等以及数据1、数据2、数据3等选择用于传输的多条中继链路。具体的,还可以根据通信系统特性进行分类,例如在lora调制的系统中,带宽越宽,可靠性会提高,所述至少一个数据传输任务可以根据数据重要性从高到低分为数据1、数据2、数据3等;在普通的FSK调制系统中,带宽越宽,数据率越高,所述至少一个数据传输任务可以根据数据量大小从大到小分为数据1、数据2、数据3等;然后根据中继a-终端B、中继b-终端B和中继c-终端B等以及数据1、数据2、数据3等选择用于传输的多条中继链路。In the specific implementation, when the link information is the current bandwidth, the bandwidth information from each relay device to the target node is compared, and the current bandwidth is sorted in descending order. The priority sequence of the relay link is relay a-terminal B, relay b-terminal B, relay c-terminal B, etc.; according to the current bandwidth, the at least one data transmission task is grouped according to data importance, Obtain the first data transmission task grouping of data 1, data 2, data 3, etc. from high to low data importance; according to relay a-terminal B, relay b-terminal B, relay c-terminal B, etc. and data 1. Data 2, Data 3, etc. select multiple relay links for transmission. Specifically, it can also be classified according to the characteristics of the communication system. For example, in a Lora-modulated system, the wider the bandwidth, the higher the reliability. The at least one data transmission task can be classified into data 1, Data 2, Data 3, etc.; in a common FSK modulation system, the wider the bandwidth, the higher the data rate, and the at least one data transmission task can be divided into data 1, data 2, and data 3 from large to small according to the amount of data. etc.; then multiple relay links for transmission are selected according to relay a-terminal B, relay b-terminal B, relay c-terminal B, etc., and data 1, data 2, data 3, etc.
所述链路信息为数据率时,比较各个中继设备到目标节点的数据率信息,按数据率从大到小排序,数据率越大,优先级越高,则数据率对应的中继链路的优先级序列依次为中继a-终端B、中继b-终端B、中继c-终端B等;根据数据率信息将所述至少一个数据传输任务按照数据量行分组,得到数据量大小从大到小为数据1、数据2、数据3等的数据传输任务分组,然后根据中继a-终端B、中继b-终端B和中继c-终端B等以及数据1、数据2、数据3等选择用于传输的多条中继链路。When the link information is the data rate, compare the data rate information from each relay device to the target node, and sort them in descending order of the data rate. The priority sequence of the route is relay a-terminal B, relay b-terminal B, relay c-terminal B, etc.; according to the data rate information, the at least one data transmission task is grouped according to the data volume to obtain the data volume The size is from large to small as data transmission task grouping of data 1, data 2, data 3, etc., and then according to relay a-terminal B, relay b-terminal B and relay c-terminal B, etc. and data 1, data 2 , Data3, etc. to select multiple relay links for transmission.
所述链路信息为丢包率时,比较各个中继设备到目标节点的丢包率信息,按丢包率从小到大排序,丢包率越小,优先级越高,丢包率对应的链路优先级序列依次为中继a-终端B、中继b-终端B、中继c-终端B等;根据所述丢包率将所述至少一个数据传输任务按照数据重要性进行分组,得到数据重要性从大到小为数据1、数据2、数据3等的数据传输任务分组,然后根据中继a-终端B、中继b-终端B和中继c-终端B等以及数据1、数据2、数据3等选择用于传输的多条中继链路。When the link information is the packet loss rate, compare the packet loss rate information from each relay device to the target node, and sort the packet loss rate from small to large. The smaller the packet loss rate, the higher the priority, and the corresponding packet loss rate. The link priority sequence is relay a-terminal B, relay b-terminal B, relay c-terminal B, etc.; according to the packet loss rate, the at least one data transmission task is grouped according to data importance, Obtain the data transmission task groupings of data importance from large to small as data 1, data 2, data 3, etc., and then according to relay a-terminal B, relay b-terminal B and relay c-terminal B, etc. and data 1 , Data 2, Data 3, etc. to select multiple relay links for transmission.
所述链路信息为时延时,比较各个中继设备到目标节点的时延信息,按时延从小到大排序,时延越小,优先级越高,时延对应的链路优先级序列依次为中继a-终端B、中继b-终端B、中继c-终端B等。根据所述时延将所述至少一个数据传输任务按照实时性要求进行分组,得到实时性要求从大到小为数据1、数据2、数据3等的数据传输任务分组,然后根据中继a-终端B、中继b-终端B和中继c-终端B等以及数据1、数据2、数据3等选择用于传输的多条中继链路。The link information is the time delay, compare the delay information from each relay device to the target node, and sort the delay from the smallest to the largest. Relay a-terminal B, relay b-terminal B, relay c-terminal B, etc. According to the delay, the at least one data transmission task is grouped according to the real-time requirements, and the data transmission task groups with the real-time requirements from large to small are data 1, data 2, data 3, etc., and then according to the relay a- Terminal B, relay b-terminal B, relay c-terminal B, etc., and data 1, data 2, data 3, etc., select multiple relay links for transmission.
具体实现中,所述链路信息为多种链路信息的组合,例如所述链路信息可以为时延和丢包率、数据率和时延或丢包率和时延等。所述链路信息为时延和丢包率时,所述至少一个数据传输任务按照数据重要性和实时性要求将所述至少一个数据传输任务按照数据重要性和实时性要求进行分组,在根据链路优先级序列和分组选择用于传输的中继链路。In specific implementation, the link information is a combination of multiple types of link information, for example, the link information may be delay and packet loss rate, data rate and delay, or packet loss rate and delay. When the link information is delay and packet loss rate, the at least one data transmission task groups the at least one data transmission task according to the data importance and real-time requirements according to the data importance and real-time requirements. The link priority sequence and packet selects the relay link for transmission.
可见,本示例中,由于电子设备能够基于链路信息进行中继链路的优先级排序和将所述至少一个数据传输任务进行分组,再根据优先级排序和分组选择传输所述至少一个数据传输任务的多条中继链路,确保数据的准确发送,提高了数据传输的成功率和稳定性。It can be seen that, in this example, since the electronic device can prioritize the relay links and group the at least one data transmission task based on the link information, and then select and transmit the at least one data transmission task according to the priority ordering and grouping. Multiple relay links for tasks ensure accurate data transmission and improve the success rate and stability of data transmission.
在一个可能的示例中,所述根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路,包括:根据所述至少一种链路信息对所述每条中继链路进行优先级排序,得到所述至少一种链路信息对应的第二优先级序列;根据所述第二优先级序列和所述至少一个数据传输任务的数据量对所述至少一个数据传输任务进行分组排序,得到数据量由大到小的第二数据传输任务分组;将所述第二数据传输任务分组标记时间戳,以及根据所述第二优先级序列将所述第二数据传输任务分组标记链路标记;根据所述时间戳和所述链路标记选择用于传输所述至少一个数据传输任务的多条中继链路。In a possible example, selecting multiple relay links for transmitting the at least one data transmission task according to the at least one data transmission task and the link information of each relay link, The method includes: prioritizing each relay link according to the at least one type of link information to obtain a second priority sequence corresponding to the at least one type of link information; according to the second priority sequence grouping and sorting the at least one data transmission task with the data volume of the at least one data transmission task to obtain a second data transmission task grouping from large to small data volume; marking the second data transmission task grouping with a timestamp , and marking the second data transmission task grouping with a link mark according to the second priority sequence; selecting a plurality of links for transmitting the at least one data transmission task according to the time stamp and the link mark follow the link.
具体实现中,所述链路信息为数据率时,比较各个中继设备到目标节点的数据率,按数据率从大到小排序,例如依次为中继a-终端B、中继b-终端B、中继c-终端B等。将要发送的至少一个数据传输任务进行分类,并打上时间戳,比如分为数据1、数据2、数据3等,其中数据1的数据量≥数据2的数据量≥数据3的数据量,将数据1标记上中继a-终端B的链路标记,将数据2标记上中继b-终端B的链路标记,将数据3标记上中继c终端B的链路标记等,然后将数据1按中继a-终端B的中继链路进行发送,将数据2按中继b-终端B的中继链路进行发送,将数据3按中继c-终端B的中继链路进行发送等。例如设备A和目标节点B点对点LORA连接场景中,设备A发起视频通话请求,AB基于位置关系等确定当前视频功能需要通过中继链路传输数据,设备A获取中继链路,当多条中继链路的数据率均不足,即通过某一条中继链路不能支持数据的传输,则将视频流数据包分组,打上链路标记和时间戳,分别通过不同的中继链路进行分组传输和聚合重组。其中,视频流数据包的分组包括但不限于根据链路带宽进行等比例分配。In the specific implementation, when the link information is the data rate, the data rates from each relay device to the target node are compared, and the data rates are sorted in descending order, for example, relay a-terminal B, relay b-terminal B. Relay c-terminal B, etc. At least one data transmission task to be sent is classified and time stamped, such as data 1, data 2, data 3, etc., where the data volume of data 1 ≥ the data volume of data 2 ≥ the data volume of data 3, the data 1 is marked with the link mark of relay a-terminal B, data 2 is marked with the link mark of relay b-terminal B, data 3 is marked with the link mark of relay c terminal B, etc., and then the data 1 is marked Send according to the relay link of relay a-terminal B, send data 2 according to the relay link of relay b-terminal B, send data 3 according to the relay link of relay c-terminal B Wait. For example, in the point-to-point LORA connection scenario between device A and target node B, device A initiates a video call request, AB determines that the current video function needs to transmit data through the relay link based on the location relationship, and device A obtains the relay link. The data rate of the relay link is insufficient, that is, the data transmission cannot be supported through a certain relay link, then the video stream data packets are grouped, marked with link marks and time stamps, and transmitted through different relay links respectively. and aggregate reorganization. The grouping of video stream data packets includes, but is not limited to, allocation in equal proportions according to link bandwidth.
其中,所述链路信息还可以包括时延等。按时延从小到大排序,例如依次为中继a-终端B、中继b-终端B、中继c-终端B等,要发送的至少一个数据传输任务进行分类,并打上时间戳,比如分为数据1、数据2、数据3等,其中数据1的数据量≥数据2的数据量≥数据3的数据量,将数据1标记上中继a-终端B的链路标记,将数据2标记上中继b-终端B的链路标记,将数据3标记上中继c终端B的链路标记等,然后将数据1按中继a-终端B的中继链路进行发送,将数据2按中继b-终端B的中继链路进行发送,将数据3按中继c-终端B的中继链路进行发送等。Wherein, the link information may further include time delay and the like. Sort by delay from small to large, for example, relay a-terminal B, relay b-terminal B, relay c-terminal B, etc., at least one data transmission task to be sent is classified, and timestamped, such as For data 1, data 2, data 3, etc., where the data amount of data 1 ≥ the data amount of data 2 ≥ the data amount of data 3, mark data 1 on the link mark of relay a-terminal B, mark data 2 On the link label of relay b-terminal B, mark data 3 on the link label of relay c terminal B, etc., and then send data 1 according to the relay link of relay a-terminal B, and send data 2 It transmits by the relay link of relay b-terminal B, and transmits the data 3 by the relay link of relay c-terminal B, etc.
可见,本示例中,电子设备可以基于根据链路信息对所述至少一个数据传输任务进行分组,将分组打上链路标记和时间戳,根据链路标记对应的中继链路传输对应的数据分组,提高了数据传输的可靠性和稳定性。It can be seen that in this example, the electronic device can group the at least one data transmission task based on the link information, mark the packet with a link mark and a time stamp, and transmit the corresponding data packet according to the relay link corresponding to the link mark , which improves the reliability and stability of data transmission.
在一个可能的示例中,所述根据所述至少一种链路信息对所述至少一个数据传输任务进行分组排序,得到第一数据传输任务分组,包括:根据所述至少一种链路信息获取所述至少一个数据传输任务对应的预设分组条件,所述预设分组条件包括分组数量和分组类型;根据所述预设分组条件对所述至少一个数据传输任务进行分组排序,得到第一数据传输任务分组。In a possible example, the performing grouping sorting on the at least one data transmission task according to the at least one type of link information to obtain a first data transmission task group includes: acquiring according to the at least one type of link information a preset grouping condition corresponding to the at least one data transmission task, where the preset grouping condition includes a number of groups and a grouping type; the at least one data transmission task is grouped and sorted according to the preset grouping condition to obtain the first data Transfer task groupings.
其中,链路信息和预设分组类型的对应关系包括,当链路信息为当前带宽时,分组类型为数据重要性或数据量大小,当链路信息为数据率时,分组类型为数据类型或数据量大小,当链路信息为丢包率时,分组类型为数据重要性,当链路信息为时延时,分组类型为数据实时性要求。分组数量可以根据链路优先级序列进行分组,例如可以根据链路优先级的优先级高的4条链路数据,分为对应的4组第一数据传输任务分组;还可以选择满足传输要求的几条中继链路对数据进行分组,还可以根据每一条中继链路对至少一个数据传输任务进行分组。Wherein, the correspondence between the link information and the preset packet type includes: when the link information is the current bandwidth, the packet type is the data importance or the size of the data volume; when the link information is the data rate, the packet type is the data type or The size of the data volume. When the link information is the packet loss rate, the packet type is the data importance. When the link information is the time delay, the packet type is the data real-time requirement. The number of groups can be grouped according to the link priority sequence. For example, it can be divided into corresponding 4 groups of first data transmission task groups according to the data of the 4 links with high priority of the link priority; it is also possible to select the ones that meet the transmission requirements. Several relay links group data, and at least one data transmission task may also be grouped according to each relay link.
在一种可能的示例中,所述通过所述多条中继链路传输所述至少一个数据传输任务,包括:通过所述优先级序列中优先级由高到低的多条中继链路依次传输所述多个数据传输任务分组。In a possible example, the transmitting the at least one data transmission task through the multiple relay links includes: passing through multiple relay links with descending priorities in the priority sequence The plurality of data transmission task packets are sequentially transmitted.
具体实现中,通过优先级越高的中继链路依次传输所述多个数据传输任务分组,例如第一序列中优先级由高到低依次为中继a-终端B、中继b-终端B、中继c-终端B等,第一数据传输任务分组的数据重要性从高到低为数据1、数据2、数据3等;将数据1按中继a-终端B的中继链路进行发送,将数据2按中继b-终端B的中继链路进行发送,将数据3按中继c-终端B的中继链路进行发送等。In a specific implementation, the multiple data transmission task packets are sequentially transmitted through a relay link with a higher priority. For example, in the first sequence, the priority from high to low is relay a-terminal B, relay b-terminal B. Relay c-terminal B, etc. The data importance of the first data transmission task grouping from high to low is data 1, data 2, data 3, etc.; For transmission, the data 2 is transmitted on the relay link of the relay b-terminal B, the data 3 is transmitted on the relay link of the relay c-terminal B, and the like.
在一种可能的示例中,所述通过所述多条中继链路传输所述至少一个数据传输任务,包括:当所述每条中继链路都不满足传输要求时,将每个数据传输任务分组通过所述多条中继链路传输。In a possible example, the transmitting the at least one data transmission task through the multiple relay links includes: when each of the relay links does not meet the transmission requirement, transferring each data The transmission task packet is transmitted through the plurality of relay links.
其中,所述每条中继链路的传输情况都不佳时,将所述至少一个数据传输任务的每个数据传输任务分组通过多条中继链路依次发送。Wherein, when the transmission condition of each relay link is not good, each data transmission task group of the at least one data transmission task is sent sequentially through multiple relay links.
具体实现中,当检测到每条中继链路的传输状况都比较差时,例如当前带宽小于预设带宽时,可以先根据当前各个中继终端到目标节点B的链路信息,进行优先级排序,比如链路情况从优到劣依次为中继a-终端B、中继b-终端B、中继c-终端等,将要所述数据传输任务分组数据1按中继a-终端B、中继b-终端B进行发送、中继c-终端B等进行发送,数据2按中继a-终端B、中继b-终端B、中继c-终端B等进行发送……所述目标节点接收到数据后,对接收的数据进行对比处理,丢弃相同的数据,恢复为所述至少一个数据传输任务的数据。In the specific implementation, when it is detected that the transmission status of each relay link is relatively poor, for example, when the current bandwidth is less than the preset bandwidth, the priority can be determined according to the current link information from each relay terminal to the target node B. Sort, for example, the link conditions from good to bad are relay a-terminal B, relay b-terminal B, relay c-terminal, etc. The data transmission task is to be grouped into data 1 according to relay a-terminal B, middle Relay b-terminal B is sent, relay c-terminal B, etc. are sent, and data 2 is sent according to relay a-terminal B, relay b-terminal B, relay c-terminal B, etc... The target node After the data is received, a comparison process is performed on the received data, the same data is discarded, and the data is restored to the data of the at least one data transmission task.
与上述图2所示的实施例一致的,请参阅图3,图3是本申请实施例提供的一种数据传输方法的流程示意图,应用于电子设备,所述电子设备包括无线收发模块,如图所示,本数据传输方法包括:Consistent with the embodiment shown in FIG. 2 above, please refer to FIG. 3 . FIG. 3 is a schematic flowchart of a data transmission method provided by an embodiment of the present application, which is applied to an electronic device. The electronic device includes a wireless transceiver module, such as As shown in the figure, the data transmission method includes:
S301,电子设备获取需要向目标节点发送的至少一个数据传输任务,所述目标节点为所述电子设备通过所述无线收发模块接入的第一局域网络中的设备,所述第一局域网络包括所述电子设备、所述目标节点和至少一个中继设备;S301, the electronic device acquires at least one data transmission task that needs to be sent to a target node, where the target node is a device in a first local area network accessed by the electronic device through the wireless transceiver module, and the first local area network includes the electronic device, the target node, and at least one relay device;
S302,所述电子设备在检测到第一传输链路无法满足所述至少一个数据传输任务的传输需求时,获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,所述第一传输链路为所述电子设备与所述目标节点之间的直连通信链路;S302: When detecting that the first transmission link cannot meet the transmission requirement of the at least one data transmission task, the electronic device acquires at least one relay link and each relay link in the first local area network The link information, the first transmission link is a direct communication link between the electronic device and the target node;
S303,所述电子设备根据所述至少一种链路信息对所述每条中继链路进行优先级排序,得到所述至少一种链路信息对应的第一优先级序列;S303, the electronic device prioritizes each relay link according to the at least one type of link information, and obtains a first priority sequence corresponding to the at least one type of link information;
S304,所述电子设备根据所述至少一种链路信息对所述至少一个数据传输任务进行分组排序,得到第一数据传输任务分组;S304, the electronic device groups and sorts the at least one data transmission task according to the at least one link information, to obtain a first data transmission task group;
S305,所述电子设备根据所述第一优先级序列和所述第一数据传输任务分组选择用于传输所述至少一个数据传输任务的多条中继链路;S305, the electronic device selects multiple relay links for transmitting the at least one data transmission task according to the first priority sequence and the first data transmission task grouping;
S306,所述电子设备通过所述多条中继链路传输所述至少一个数据传输任务。S306, the electronic device transmits the at least one data transmission task through the multiple relay links.
可以看出,本申请实施例中,电子设备获取需要向目标节点发送的至少一个数据传输任务,所述目标节点为所述电子设备通过所述无线收发模块接入的第一局域网络中的设备,所述第一局域网络包括所述电子设备、所述目标节点和至少一个中继设备;在检测到第一传输链路无法满足所述至少一个数据传输任务的传输需求时,获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,所述第一传输链路为所述电子设备与所述目标节点之间的直连通信链路;根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路;通过所述多条中继链路传输所述至少一个数据传输任务。可见,电子设备能够根据在直连通信链路不满足传输需求时,获取多条中继链路,根据多条中继链路的链路信息和待传输的数据传输任务选择用于传输的中继链路,提高了数据传输的成功率和稳定性。It can be seen that, in this embodiment of the present application, the electronic device acquires at least one data transmission task that needs to be sent to a target node, and the target node is a device in the first local area network to which the electronic device accesses through the wireless transceiver module , the first local area network includes the electronic device, the target node and at least one relay device; when it is detected that the first transmission link cannot meet the transmission requirement of the at least one data transmission task, obtain the first At least one relay link in a local area network and link information of each relay link, the first transmission link is a direct communication link between the electronic device and the target node; according to For the at least one data transmission task and the link information of each relay link, select multiple relay links for transmitting the at least one data transmission task; and transmit the data through the multiple relay links the at least one data transfer task. It can be seen that the electronic device can obtain multiple relay links when the direct communication link does not meet the transmission requirements, and select the medium for transmission according to the link information of the multiple relay links and the data transmission task to be transmitted. Following the link, the success rate and stability of data transmission are improved.
此外,电子设备能够基于链路信息进行中继链路的优先级排序和将所述至少一个数据传输任务进行分组,再根据优先级排序和分组选择传输所述至少一个数据传输任务的多条中继链路,确保数据的准确发送,提高了数据传输的成功率和稳定性。In addition, the electronic device can prioritize the relay links and group the at least one data transmission task based on the link information, and then select and transmit the at least one data transmission task according to the priority ordering and grouping. Follow the link to ensure the accurate transmission of data and improve the success rate and stability of data transmission.
与上述图2、图3所示的实施例一致的,请参阅图4,图4是本申请实施例提供的一种电子设备400的结构示意图,如图所示,所述电子设备400包括应用处理器410、存储器420、通信接口430以及一个或多个程序421,其中,所述一个或多个程序421被存储在上述存储器420中,并且被配置由上述应用处理器410执行,所述一个或多个程序421包括用于执行以下步骤的指令;Consistent with the embodiments shown in FIGS. 2 and 3 above, please refer to FIG. 4 . FIG. 4 is a schematic structural diagram of an electronic device 400 provided by an embodiment of the present application. As shown in the figure, the electronic device 400 includes an application A processor 410, a memory 420, a
获取需要向目标节点发送的至少一个数据传输任务,所述目标节点为所述电子设备通过所述无线收发模块接入的第一局域网络中的设备,所述第一局域网络包括所述电子设备、所述目标节点和至少一个中继设备;Obtain at least one data transmission task that needs to be sent to a target node, where the target node is a device in a first local area network accessed by the electronic device through the wireless transceiver module, and the first local area network includes the electronic device , the target node and at least one relay device;
在检测到第一传输链路无法满足所述至少一个数据传输任务的传输需求时,获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,所述第一传输链路为所述电子设备与所述目标节点之间的直连通信链路;When it is detected that the first transmission link cannot meet the transmission requirement of the at least one data transmission task, obtain at least one relay link in the first local area network and link information of each relay link, and The first transmission link is a direct communication link between the electronic device and the target node;
根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路;according to the at least one data transmission task and the link information of each relay link, selecting a plurality of relay links for transmitting the at least one data transmission task;
通过所述多条中继链路传输所述至少一个数据传输任务。The at least one data transmission task is transmitted over the plurality of relay links.
可以看出,本申请实施例中,电子设备获取需要向目标节点发送的至少一个数据传输任务,所述目标节点为所述电子设备通过所述无线收发模块接入的第一局域网络中的设备,所述第一局域网络包括所述电子设备、所述目标节点和至少一个中继设备;在检测到第一传输链路无法满足所述至少一个数据传输任务的传输需求时,获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,所述第一传输链路为所述电子设备与所述目标节点之间的直连通信链路;根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路;通过所述多条中继链路传输所述至少一个数据传输任务。可见,电子设备能够根据在直连通信链路不满足传输需求时,获取多条中继链路,根据多条中继链路的链路信息和待传输的数据传输任务选择用于传输的中继链路,提高了数据传输的成功率和稳定性。It can be seen that, in this embodiment of the present application, the electronic device acquires at least one data transmission task that needs to be sent to a target node, and the target node is a device in the first local area network to which the electronic device accesses through the wireless transceiver module , the first local area network includes the electronic device, the target node and at least one relay device; when it is detected that the first transmission link cannot meet the transmission requirement of the at least one data transmission task, obtain the first At least one relay link in a local area network and link information of each relay link, the first transmission link is a direct communication link between the electronic device and the target node; according to For the at least one data transmission task and the link information of each relay link, select multiple relay links for transmitting the at least one data transmission task; and transmit the data through the multiple relay links the at least one data transfer task. It can be seen that the electronic device can obtain multiple relay links when the direct communication link does not meet the transmission requirements, and select the medium for transmission according to the link information of the multiple relay links and the data transmission task to be transmitted. Following the link, the success rate and stability of data transmission are improved.
在一个可能的示例中,在所述获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息方面,所述程序中的指令具体用于执行以下操作:所述至少一个数据传输任务包括所述至少一个传输任务对应的预设参数,根据所述预设参数获取所述中继链路的至少一种链路信息,所述预设参数包括以下至少一种:数据类型、数据量、数据重要性和实时性要求,所述链路信息包括:当前带宽、数据率、丢包率和时延;或,查询所述链路信息的历史获取次数,获取所述历史获取次数最多的所述至少一种链路信息;或,根据预设置的获取策略获取所述至少一种链路信息。In a possible example, in the aspect of acquiring at least one relay link in the first local area network and link information of each relay link, the instructions in the program are specifically used to perform the following operations : The at least one data transmission task includes a preset parameter corresponding to the at least one transmission task, and at least one link information of the relay link is obtained according to the preset parameter, and the preset parameter includes at least the following: One: data type, data volume, data importance and real-time requirements, the link information includes: current bandwidth, data rate, packet loss rate and delay; or, query the historical acquisition times of the link information, Acquire the at least one type of link information with the largest number of historical acquisitions; or, acquire the at least one type of link information according to a preset acquisition policy.
在一个可能的示例中,在所述根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路方面,所述程序中的指令具体用于执行以下操作:根据所述至少一种链路信息对所述每条中继链路进行优先级排序,得到所述至少一种链路信息对应的第一优先级序列;根据所述至少一种链路信息对所述至少一个数据传输任务进行分组排序,得到第一数据传输任务分组;根据所述第一优先级序列和所述第一数据传输任务分组选择用于传输所述至少一个数据传输任务的多条中继链路。In a possible example, selecting a plurality of relay links for transmitting the at least one data transmission task according to the at least one data transmission task and the link information of each relay link In one aspect, the instructions in the program are specifically configured to perform the following operations: prioritize each of the relay links according to the at least one type of link information, and obtain the first link corresponding to the at least one type of link information. a priority sequence; the at least one data transmission task is grouped and sorted according to the at least one link information to obtain a first data transmission task group; according to the first priority sequence and the first data transmission task The grouping selects a plurality of relay links for transmitting the at least one data transmission task.
在一个可能的示例中,在所述根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路方面,所述程序中的指令具体用于执行以下操作:根据所述至少一种链路信息对所述每条中继链路进行优先级排序,得到所述至少一种链路信息对应的第二优先级序列;根据所述第二优先级序列和所述至少一个数据传输任务的数据量对所述至少一个数据传输任务进行分组排序,得到数据量由大到小的第二数据传输任务分组;将所述第二数据传输任务分组标记时间戳,以及根据所述第二优先级序列将所述第二数据传输任务分组标记链路标记;根据所述时间戳和所述链路标记选择用于传输所述至少一个数据传输任务的多条中继链路。In a possible example, selecting a plurality of relay links for transmitting the at least one data transmission task according to the at least one data transmission task and the link information of each relay link In one aspect, the instructions in the program are specifically configured to perform the following operations: prioritize each of the relay links according to the at least one type of link information, and obtain the first link corresponding to the at least one type of link information. Two-priority sequence; according to the second priority sequence and the data volume of the at least one data transmission task, perform grouping sorting on the at least one data transmission task, and obtain a second data transmission task grouping from large to small data volume ; Mark the second data transmission task grouping with a time stamp, and mark the second data transmission task grouping with a link mark according to the second priority sequence; According to the time stamp and the link mark, select a a plurality of relay links for transmitting the at least one data transmission task.
在一个可能的示例中,在所述根据所述至少一种链路信息对所述至少一个数据传输任务进行分组排序,得到第一数据传输任务分组方面,所述程序中的指令具体用于执行以下操作:根据所述至少一种链路信息获取所述至少一个数据传输任务对应的预设分组条件,所述预设分组条件包括分组数量和分组类型;根据所述预设分组条件对所述至少一个数据传输任务进行分组排序,得到第一数据传输任务分组。In a possible example, in the aspect of grouping and sorting the at least one data transmission task according to the at least one link information to obtain a first data transmission task group, the instructions in the program are specifically used to execute The following operations: obtain a preset grouping condition corresponding to the at least one data transmission task according to the at least one type of link information, where the preset grouping condition includes a number of groups and a grouping type; At least one data transmission task is grouped and sorted to obtain a first data transmission task group.
在一个可能的示例中,在所述通过所述多条中继链路传输所述至少一个数据传输任务方面,所述程序中的指令具体用于执行以下操作:通过所述优先级序列中优先级由高到低的多条中继链路依次传输所述多个数据传输任务分组。In a possible example, in the aspect of transmitting the at least one data transmission task through the plurality of relay links, the instructions in the program are specifically configured to perform the following operations: prioritized through the priority sequence The plurality of relay links with levels from high to low sequentially transmit the plurality of data transmission task packets.
在一个可能的示例中,在所述通过所述多条中继链路传输所述至少一个数据传输任务方面,所述程序中的指令具体用于执行以下操作:当所述每条中继链路都不满足传输要求时,将每个数据传输任务分组通过所述多条中继链路传输。In a possible example, in the aspect of transmitting the at least one data transmission task through the plurality of relay links, the instructions in the program are specifically configured to perform the following operations: when each relay chain When the transmission requirements are not met by any of the channels, each data transmission task is grouped and transmitted through the plurality of relay links.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of the method-side execution process. It can be understood that, in order to realize the above-mentioned functions, the electronic device includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in combination with the units and algorithm steps of each example described in the embodiments provided herein. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
本申请实施例可以根据上述方法示例对电子设备进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本申请实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。In this embodiment of the present application, the electronic device may be divided into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division, and other division methods may be used in actual implementation.
图5是本申请实施例中所涉及的数据传输装置500的功能单元组成框图。该数据传输装置500应用于电子设备,所述电子设备包括无线收发模块,所述装置包括处理单元501和通信单元502,其中,FIG. 5 is a block diagram of functional units of the
所述处理单元501,用于获取需要向目标节点发送的至少一个数据传输任务,所述目标节点为所述电子设备通过所述无线收发模块接入的第一局域网络中的设备,所述第一局域网络包括所述电子设备、所述目标节点和至少一个中继设备;以及在检测到第一传输链路无法满足所述至少一个数据传输任务的传输需求时,通过所述通信单元502获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,所述第一传输链路为所述电子设备与所述目标节点之间的直连通信链路;以及根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路;通过所述多条中继链路传输所述至少一个数据传输任务。The
其中,所述数据传输装置500还可以包括存储单元503,用于存储电子设备的程序代码和数据。所述处理单元501可以是处理器,所述通信单元502可以是触控显示屏或者收发器,存储单元503可以是存储器。Wherein, the
可以看出,本申请实施例中,电子设备获取需要向目标节点发送的至少一个数据传输任务,所述目标节点为所述电子设备通过所述无线收发模块接入的第一局域网络中的设备,所述第一局域网络包括所述电子设备、所述目标节点和至少一个中继设备;在检测到第一传输链路无法满足所述至少一个数据传输任务的传输需求时,获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息,所述第一传输链路为所述电子设备与所述目标节点之间的直连通信链路;根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路;通过所述多条中继链路传输所述至少一个数据传输任务。可见,电子设备能够根据在直连通信链路不满足传输需求时,获取多条中继链路,根据多条中继链路的链路信息和待传输的数据传输任务选择用于传输的中继链路,提高了数据传输的成功率和稳定性。It can be seen that, in this embodiment of the present application, the electronic device acquires at least one data transmission task that needs to be sent to a target node, and the target node is a device in the first local area network to which the electronic device accesses through the wireless transceiver module , the first local area network includes the electronic device, the target node and at least one relay device; when it is detected that the first transmission link cannot meet the transmission requirement of the at least one data transmission task, obtain the first At least one relay link in a local area network and link information of each relay link, the first transmission link is a direct communication link between the electronic device and the target node; according to For the at least one data transmission task and the link information of each relay link, select multiple relay links for transmitting the at least one data transmission task; and transmit the data through the multiple relay links the at least one data transfer task. It can be seen that the electronic device can obtain multiple relay links when the direct communication link does not meet the transmission requirements, and select the medium for transmission according to the link information of the multiple relay links and the data transmission task to be transmitted. Following the link, the success rate and stability of data transmission are improved.
在一个可能的示例中,在所述获取所述第一局域网络中的至少一条中继链路和每条中继链路的链路信息方面,所述处理单元501具体用于:所述至少一个数据传输任务包括所述至少一个传输任务对应的预设参数,根据所述预设参数获取所述中继链路的至少一种链路信息,所述预设参数包括以下至少一种:数据类型、数据量、数据重要性和实时性要求,所述链路信息包括:当前带宽、数据率、丢包率和时延;或,查询所述链路信息的历史获取次数,获取所述历史获取次数最多的所述至少一种链路信息;或,根据预设置的获取策略获取所述至少一种链路信息。In a possible example, in the aspect of acquiring at least one relay link in the first local area network and link information of each relay link, the
在一个可能的示例中,在所述根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路方面,所述处理单元501具体用于:根据所述至少一种链路信息对所述每条中继链路进行优先级排序,得到所述至少一种链路信息对应的第一优先级序列;根据所述至少一种链路信息对所述至少一个数据传输任务进行分组排序,得到第一数据传输任务分组;根据所述第一优先级序列和所述第一数据传输任务分组选择用于传输所述至少一个数据传输任务的多条中继链路。In a possible example, selecting a plurality of relay links for transmitting the at least one data transmission task according to the at least one data transmission task and the link information of each relay link In one aspect, the
在一个可能的示例中,在所述根据所述至少一个数据传输任务和所述每条中继链路的链路信息,选择用于传输所述至少一个数据传输任务的多条中继链路方面,所述处理单元501具体用于:根据所述至少一种链路信息对所述每条中继链路进行优先级排序,得到所述至少一种链路信息对应的第二优先级序列;根据所述第二优先级序列和所述至少一个数据传输任务的数据量对所述至少一个数据传输任务进行分组排序,得到数据量由大到小的第二数据传输任务分组;将所述第二数据传输任务分组标记时间戳,以及根据所述第二优先级序列将所述第二数据传输任务分组标记链路标记;根据所述时间戳和所述链路标记选择用于传输所述至少一个数据传输任务的多条中继链路。In a possible example, selecting a plurality of relay links for transmitting the at least one data transmission task according to the at least one data transmission task and the link information of each relay link In one aspect, the
在一个可能的示例中,在所述根据所述至少一种链路信息对所述至少一个数据传输任务进行分组排序,得到第一数据传输任务分组方面,所述处理单元501具体用于:根据所述至少一种链路信息获取所述至少一个数据传输任务对应的预设分组条件,所述预设分组条件包括分组数量和分组类型;根据所述预设分组条件对所述至少一个数据传输任务进行分组排序,得到第一数据传输任务分组。In a possible example, in the aspect of grouping the at least one data transmission task according to the at least one type of link information to obtain a first data transmission task group, the
在一个可能的示例中,在所述通过所述多条中继链路传输所述至少一个数据传输任务方面,所述处理单元501具体用于:通过所述优先级序列中优先级由高到低的多条中继链路依次传输所述多个数据传输任务分组。In a possible example, in the aspect of transmitting the at least one data transmission task through the multiple relay links, the
在一个可能的示例中,在所述通过所述多条中继链路传输所述至少一个数据传输任务方面,所述处理单元501具体用于:当所述每条中继链路都不满足传输要求时,将每个数据传输任务分组通过所述多条中继链路传输。In a possible example, in the aspect of transmitting the at least one data transmission task through the multiple relay links, the
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。Embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute part or all of the steps of any method described in the above method embodiments , the above computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。Embodiments of the present application further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the method embodiments described above. some or all of the steps of the method. The computer program product may be a software installation package, and the computer includes an electronic device.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or concurrently. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the device embodiments described above are only illustrative. For example, the division of the above-mentioned units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and components shown as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above-mentioned methods in the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application have been introduced in detail above, and the principles and implementations of the present application are described in this paper by using specific examples. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.
Claims (9)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910320246.XA CN111836329B (en) | 2019-04-19 | 2019-04-19 | Data transmission method and related device |
PCT/CN2020/083514 WO2020211682A1 (en) | 2019-04-19 | 2020-04-07 | Data transmission method and related apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910320246.XA CN111836329B (en) | 2019-04-19 | 2019-04-19 | Data transmission method and related device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111836329A CN111836329A (en) | 2020-10-27 |
CN111836329B true CN111836329B (en) | 2022-04-22 |
Family
ID=72837727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910320246.XA Expired - Fee Related CN111836329B (en) | 2019-04-19 | 2019-04-19 | Data transmission method and related device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN111836329B (en) |
WO (1) | WO2020211682A1 (en) |
Families Citing this family (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112399484B (en) * | 2020-11-13 | 2023-09-12 | Oppo广东移动通信有限公司 | Data transmission method and device, storage medium and electronic equipment |
CN112422420A (en) * | 2020-11-18 | 2021-02-26 | 迈普通信技术股份有限公司 | Link display method and device, electronic equipment and readable storage medium |
CN112600748B (en) * | 2020-12-02 | 2022-06-24 | 广东中兴新支点技术有限公司 | VPN tunnel-oriented multi-link aggregation method, system and storage medium |
CN113301096B (en) * | 2020-12-16 | 2023-03-14 | 阿里巴巴集团控股有限公司 | Method, system and node equipment for data transmission between nodes in content distribution network |
CN115150907B (en) * | 2021-03-31 | 2025-05-23 | 维沃移动通信有限公司 | Relay processing method and device, terminal and readable storage medium |
CN113365310B (en) * | 2021-05-31 | 2023-03-24 | 浙江大华技术股份有限公司 | Data transmission method and device, storage medium and electronic device |
CN113609056B (en) * | 2021-06-25 | 2023-08-25 | 曙光信息产业(北京)有限公司 | Data transmission testing method, device, equipment and storage medium |
CN115767664A (en) * | 2021-09-02 | 2023-03-07 | 中移(苏州)软件技术有限公司 | Data transmission method, device, equipment and storage medium |
CN113852941B (en) * | 2021-09-03 | 2024-06-21 | 深圳优地科技有限公司 | Multi-robot communication method, multi-robot system and robot |
CN113904977A (en) * | 2021-10-13 | 2022-01-07 | 中国电信股份有限公司 | Multilink gateway data transmission method and device, electronic equipment and readable medium |
CN114125772A (en) * | 2021-11-22 | 2022-03-01 | 广州极飞科技股份有限公司 | Link selection method, system, operation equipment and storage medium |
CN114157558B (en) * | 2021-11-29 | 2025-02-18 | 中国电信股份有限公司 | Industrial gateway implementation method, device, network equipment and storage medium |
CN114286416B (en) * | 2021-12-23 | 2024-11-12 | 中国电信股份有限公司 | Communication control method and device, electronic device, and storage medium |
CN114698047B (en) * | 2022-03-30 | 2024-08-27 | 深圳市信锐网科技术有限公司 | Data transmission method, device, equipment and computer readable storage medium |
CN115038125A (en) * | 2022-06-21 | 2022-09-09 | 美的集团股份有限公司 | Data transmission method, device, electronic device and storage medium |
CN115348610B (en) * | 2022-10-18 | 2023-03-24 | 成都市以太节点科技有限公司 | Millimeter wave multilink self-adaptive communication method, electronic equipment and storage medium |
CN115361333B (en) * | 2022-10-19 | 2023-03-24 | 中国电子科技集团公司第二十八研究所 | Network cloud fusion information transmission method based on QoS edge self-adaption |
CN115942265B (en) * | 2022-12-28 | 2024-11-01 | 深圳创维数字技术有限公司 | Asymmetric link data transmission method and device, electronic equipment and storage medium |
CN116634589B (en) * | 2023-07-25 | 2023-10-20 | 杭州微联智控科技有限公司 | Method for receiving and transmitting reliable messages of half-duplex LoRa network |
CN117135191B (en) * | 2023-10-26 | 2024-01-16 | 江西云绿科技有限公司 | Method and system for transmitting terminal data of Internet of things |
CN118199967B (en) * | 2024-03-18 | 2025-04-22 | 北京卫达信息技术有限公司 | A network dynamic defense method and system |
CN118433895B (en) * | 2024-05-06 | 2025-05-13 | 中国电子科技集团公司第十五研究所 | A multi-channel information transmission method and device for vehicle-mounted platforms |
Citations (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607750A (en) * | 2013-11-25 | 2014-02-26 | 南京邮电大学 | Relay selection method based on terminal straight-through communication in next-generation cellular system |
CN103716853A (en) * | 2013-10-22 | 2014-04-09 | 南京邮电大学 | Self-adaption multiple-relay selection method in terminal through communication system |
WO2015063619A1 (en) * | 2013-10-29 | 2015-05-07 | Sony Corporation | Enhanced proximity services discovery with radio access status indicator |
CN104640167A (en) * | 2013-11-06 | 2015-05-20 | 中兴通讯股份有限公司 | Millimeter wave directional link switching method and device for realizing link switching |
CN105144829A (en) * | 2013-05-02 | 2015-12-09 | 高通股份有限公司 | Method and apparatus for device to device relay selection |
CN105472742A (en) * | 2014-08-29 | 2016-04-06 | 中国电信股份有限公司 | Resource allocation method, device and system in LTE multi-hop network |
CN105554816A (en) * | 2015-12-14 | 2016-05-04 | 西安邮电大学 | Load balancing method based on D2D (Device-to-Device) communication mechanism under heterogeneous network |
CN105580437A (en) * | 2013-09-23 | 2016-05-11 | 三菱电机株式会社 | Discovering stable routes in wireless networks |
CN105979562A (en) * | 2016-04-13 | 2016-09-28 | 东北大学 | Relay node selection method capable of ensuring global bit error rate performance in cooperative communication |
CN106464841A (en) * | 2014-05-28 | 2017-02-22 | 株式会社理光 | Transmission control system, transmission system, relay device selecting method, computer program product, and maintenance system |
CN106550485A (en) * | 2015-09-21 | 2017-03-29 | 海能达通信股份有限公司 | A kind of method and relevant device for obtaining user equipment information |
CN106797644A (en) * | 2014-08-06 | 2017-05-31 | 交互数字专利控股公司 | Device-to-device(D2D)Preemption and Access Control |
CN107211432A (en) * | 2015-02-10 | 2017-09-26 | 高通股份有限公司 | Relaying signaling between UE and network |
CN107211297A (en) * | 2014-11-07 | 2017-09-26 | 交互数字专利控股公司 | Trunking traffic optimizes |
CN107295459A (en) * | 2016-03-30 | 2017-10-24 | 财团法人工业技术研究院 | Communication system, communication device, base station and method for D2D communication |
CN107360635A (en) * | 2017-07-18 | 2017-11-17 | 广东欧珀移动通信有限公司 | A data transmission method, device, terminal and computer-readable storage medium |
CN107637161A (en) * | 2015-05-14 | 2018-01-26 | 英特尔公司 | Reduce trunk subscriber equipment(UE)In and signaling |
CN107771398A (en) * | 2015-06-23 | 2018-03-06 | 交互数字专利控股公司 | Priority processing for adjacent service communication |
EP3361761A1 (en) * | 2017-02-14 | 2018-08-15 | Samsung Electronics Co., Ltd. | Device for performing communication in wireless communication system and method thereof |
CN108683444A (en) * | 2018-07-31 | 2018-10-19 | Oppo广东移动通信有限公司 | Data transmission method and related product |
CN109246787A (en) * | 2018-10-22 | 2019-01-18 | 电子科技大学 | A kind of relay selection method of combination PREDICTIVE CONTROL |
CN109274596A (en) * | 2018-08-23 | 2019-01-25 | Oppo广东移动通信有限公司 | Data transmission method and related device |
CN109587827A (en) * | 2019-01-18 | 2019-04-05 | 哈尔滨工业大学 | The multipair D2D communication means of multimode and system |
CN109618372A (en) * | 2019-01-11 | 2019-04-12 | Oppo广东移动通信有限公司 | Data transmission method and related device |
CN109618373A (en) * | 2019-01-15 | 2019-04-12 | Oppo广东移动通信有限公司 | Link selection method and related device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100112178A1 (en) * | 2008-10-31 | 2010-05-06 | Fillmore Daniel T | High protein crispy food product and method for preparing the same |
CN101990325B (en) * | 2009-07-31 | 2013-04-24 | 华为技术有限公司 | Method, device and system for determining and maintaining QoS (Quality of Service) parameters of multi-hop network |
DE102015122353A1 (en) * | 2015-12-21 | 2017-06-22 | Intel IP Corporation | COMMUNICATION DEVICE AND METHOD FOR SELECTING A CLOSED SUBSCRIBER GROUP |
CN106533956A (en) * | 2016-11-08 | 2017-03-22 | 中国电子科技集团公司第七研究所 | Scheduling control method and system for plurality of relay links among communication nodes |
-
2019
- 2019-04-19 CN CN201910320246.XA patent/CN111836329B/en not_active Expired - Fee Related
-
2020
- 2020-04-07 WO PCT/CN2020/083514 patent/WO2020211682A1/en active Application Filing
Patent Citations (25)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105144829A (en) * | 2013-05-02 | 2015-12-09 | 高通股份有限公司 | Method and apparatus for device to device relay selection |
CN105580437A (en) * | 2013-09-23 | 2016-05-11 | 三菱电机株式会社 | Discovering stable routes in wireless networks |
CN103716853A (en) * | 2013-10-22 | 2014-04-09 | 南京邮电大学 | Self-adaption multiple-relay selection method in terminal through communication system |
WO2015063619A1 (en) * | 2013-10-29 | 2015-05-07 | Sony Corporation | Enhanced proximity services discovery with radio access status indicator |
CN104640167A (en) * | 2013-11-06 | 2015-05-20 | 中兴通讯股份有限公司 | Millimeter wave directional link switching method and device for realizing link switching |
CN103607750A (en) * | 2013-11-25 | 2014-02-26 | 南京邮电大学 | Relay selection method based on terminal straight-through communication in next-generation cellular system |
CN106464841A (en) * | 2014-05-28 | 2017-02-22 | 株式会社理光 | Transmission control system, transmission system, relay device selecting method, computer program product, and maintenance system |
CN106797644A (en) * | 2014-08-06 | 2017-05-31 | 交互数字专利控股公司 | Device-to-device(D2D)Preemption and Access Control |
CN105472742A (en) * | 2014-08-29 | 2016-04-06 | 中国电信股份有限公司 | Resource allocation method, device and system in LTE multi-hop network |
CN107211297A (en) * | 2014-11-07 | 2017-09-26 | 交互数字专利控股公司 | Trunking traffic optimizes |
CN107211432A (en) * | 2015-02-10 | 2017-09-26 | 高通股份有限公司 | Relaying signaling between UE and network |
CN107637161A (en) * | 2015-05-14 | 2018-01-26 | 英特尔公司 | Reduce trunk subscriber equipment(UE)In and signaling |
CN107771398A (en) * | 2015-06-23 | 2018-03-06 | 交互数字专利控股公司 | Priority processing for adjacent service communication |
CN106550485A (en) * | 2015-09-21 | 2017-03-29 | 海能达通信股份有限公司 | A kind of method and relevant device for obtaining user equipment information |
CN105554816A (en) * | 2015-12-14 | 2016-05-04 | 西安邮电大学 | Load balancing method based on D2D (Device-to-Device) communication mechanism under heterogeneous network |
CN107295459A (en) * | 2016-03-30 | 2017-10-24 | 财团法人工业技术研究院 | Communication system, communication device, base station and method for D2D communication |
CN105979562A (en) * | 2016-04-13 | 2016-09-28 | 东北大学 | Relay node selection method capable of ensuring global bit error rate performance in cooperative communication |
EP3361761A1 (en) * | 2017-02-14 | 2018-08-15 | Samsung Electronics Co., Ltd. | Device for performing communication in wireless communication system and method thereof |
CN107360635A (en) * | 2017-07-18 | 2017-11-17 | 广东欧珀移动通信有限公司 | A data transmission method, device, terminal and computer-readable storage medium |
CN108683444A (en) * | 2018-07-31 | 2018-10-19 | Oppo广东移动通信有限公司 | Data transmission method and related product |
CN109274596A (en) * | 2018-08-23 | 2019-01-25 | Oppo广东移动通信有限公司 | Data transmission method and related device |
CN109246787A (en) * | 2018-10-22 | 2019-01-18 | 电子科技大学 | A kind of relay selection method of combination PREDICTIVE CONTROL |
CN109618372A (en) * | 2019-01-11 | 2019-04-12 | Oppo广东移动通信有限公司 | Data transmission method and related device |
CN109618373A (en) * | 2019-01-15 | 2019-04-12 | Oppo广东移动通信有限公司 | Link selection method and related device |
CN109587827A (en) * | 2019-01-18 | 2019-04-05 | 哈尔滨工业大学 | The multipair D2D communication means of multimode and system |
Non-Patent Citations (4)
Title |
---|
"S2-166019 was 5541_EPS bearer release for ProSe UE-to-Network Relay".《3GPP tsg_sa\WG2_Arch》.2016, * |
"S2-166020 was 5541_EPS bearer release for ProSe UE-to-Network Relay".《3GPP tsg_sa\WG2_Arch》.2016, * |
Unsupervised Long-Term Evolution Device-to-Device;Laurent Gallo;《IEEE XPLORE》;20170624;全文 * |
基于D2D的中继选择算法研究;顾闻;《中国优秀硕士学位论文全文数据库(电子期刊)信息科技辑》;20130314;全文 * |
Also Published As
Publication number | Publication date |
---|---|
WO2020211682A1 (en) | 2020-10-22 |
CN111836329A (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111836329B (en) | Data transmission method and related device | |
WO2020147627A1 (en) | Link selection method and related apparatus | |
US11696207B2 (en) | Data transmission method, electronic device, and computer readable storage medium | |
WO2020207229A1 (en) | Data transmission method and related apparatus | |
CN109618372B (en) | Data transmission method and related device | |
CN112399484B (en) | Data transmission method and device, storage medium and electronic equipment | |
CN109729602B (en) | A link data processing method, device and computer storage medium | |
CN109842556B (en) | Bandwidth determination method, router and terminal equipment | |
CN106559840A (en) | A kind of multi-protocols mixed communication method and system | |
CN112105058B (en) | Link connection method and related device | |
CN114189938B (en) | Carrier wave determining method, communication device and storage medium | |
CN109151967B (en) | A kind of uplink multi-beam power control method and terminal | |
CN114900205A (en) | Adaptive frequency hopping method, device, storage medium and electronic equipment | |
CN111405534A (en) | Information transmission method, first terminal and computer storage medium | |
WO2018170921A1 (en) | Communication resource management method, apparatus, and system | |
JP2023528913A (en) | Link selection method and apparatus, and computer readable storage medium | |
CN112866125B (en) | Downlink data transmission method and device | |
CN115835387A (en) | Bandwidth resource allocation method, electronic device and storage medium | |
CN114125936B (en) | A resource scheduling method, device and storage medium | |
CN114040510B (en) | Data transmission method and related device | |
WO2020031682A1 (en) | Communication device | |
CN108513728B (en) | System information sending method, system information receiving method and device | |
CN111278163B (en) | Channel access method for solving problem of hidden terminal of short-distance wireless Internet of things | |
JP2009049588A (en) | Wireless environment monitoring apparatus and program for monitoring time occupation ratio of wireless environment | |
CN112332953B (en) | Data sending method and related device |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220422 |
|
CF01 | Termination of patent right due to non-payment of annual fee |