[go: up one dir, main page]

CN113923722B - Data transmission method, device and storage medium - Google Patents

Data transmission method, device and storage medium Download PDF

Info

Publication number
CN113923722B
CN113923722B CN202111183784.2A CN202111183784A CN113923722B CN 113923722 B CN113923722 B CN 113923722B CN 202111183784 A CN202111183784 A CN 202111183784A CN 113923722 B CN113923722 B CN 113923722B
Authority
CN
China
Prior art keywords
networks
network
data
access device
network access
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
CN202111183784.2A
Other languages
Chinese (zh)
Other versions
CN113923722A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202111183784.2A priority Critical patent/CN113923722B/en
Publication of CN113923722A publication Critical patent/CN113923722A/en
Application granted granted Critical
Publication of CN113923722B publication Critical patent/CN113923722B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/631Multimode Transmission, e.g. transmitting basic layers and enhancement layers of the content over different transmission paths or transmitting with different error corrections, different keys or with different transmission protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

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

Abstract

本申请提供数据传输方法、装置及存储介质。应用于网络接入装置,网络接入装置支持至少两种网络运营商的网络接入;该方法包括:网络接入装置接入N个网络;网络接入装置与用户终端建立通信连接;网络接入装置接收来自用户终端的待传输数据;待传输数据为用户终端向目的设备发送的数据;网络接入装置对待传输数据进行预处理,得到处理后的多个数据包,预处理包括复制或数据分包中的至少一种;网络接入装置通过N个网络中的M个网络并行向目的设备发送多个数据包这样,用于传输多个数据包的M个网络的网络状态均满足数据传输需求,且网络接入装置对待传输数据进行了复制或数据分包处理因而提高了数据传输的稳定性。

Figure 202111183784

The present application provides a data transmission method, device and storage medium. Applied to a network access device, the network access device supports network access of at least two network operators; the method includes: the network access device accesses N networks; the network access device establishes a communication connection with the user terminal; the network access device The input device receives the data to be transmitted from the user terminal; the data to be transmitted is the data sent by the user terminal to the destination device; the network access device performs preprocessing on the data to be transmitted, and obtains multiple processed data packets. The preprocessing includes copying or data At least one of the subpackages; the network access device sends multiple data packets to the destination device in parallel through M networks in the N networks. In this way, the network status of the M networks used to transmit multiple data packets all meet the data transmission requirements. Requirements, and the network access device replicates the data to be transmitted or divides the data into packets, thus improving the stability of data transmission.

Figure 202111183784

Description

数据传输方法、装置及存储介质Data transmission method, device and storage medium

技术领域technical field

本申请涉及通信技术领域,尤其涉及一种数据传输方法、装置及存储介质。The present application relates to the technical field of communications, and in particular to a data transmission method, device and storage medium.

背景技术Background technique

随着互联网技术的发展,网络的普及,人们的工作、学习或娱乐等活动均与网络息息相关,这些活动需要通过网络传输数据。例如,网络主播在直播过程中需要稳定的网络状态传输视频数据,游戏玩家在玩游戏的过程中,也需要稳定的网络状态传输数据使得游戏能够流畅运行等。With the development of Internet technology and the popularization of the network, people's work, study or entertainment activities are closely related to the network, and these activities need to transmit data through the network. For example, a network anchor needs a stable network state to transmit video data during a live broadcast, and a game player also needs a stable network state to transmit data during a game so that the game can run smoothly.

然而,当前网络主播在直播过程中可能出现卡顿,或者在游戏玩家玩游戏的过程中可能出现卡顿。However, current network anchors may freeze during the live broadcast, or game players may freeze during the game.

发明内容Contents of the invention

本申请提供数据传输方法、装置及存储介质,有助于提高数据传输的稳定性。The present application provides a data transmission method, device and storage medium, which help to improve the stability of data transmission.

第一方面,本申请实施例提供一种数据传输方法,应用于网络接入装置,网络接入装置支持至少两种网络运营商的网络接入;该方法包括:网络接入装置接入N个网络;N个网络分别由K个网络运营商提供;N为大于2的整数,K为大于0,且小于N的正整数;网络接入装置与用户终端建立通信连接;网络接入装置接收来自用户终端的待传输数据;待传输数据为用户终端向目的设备发送的数据;网络接入装置对待传输数据进行预处理,得到处理后的多个数据包,预处理包括复制或数据分包中的至少一种;网络接入装置通过N个网络中的M个网络并行向目的设备发送多个数据包,其中,M个网络的网络状态均满足数据传输需求,M为大于1,且小于N的整数。In the first aspect, the embodiment of the present application provides a data transmission method, which is applied to a network access device, and the network access device supports network access of at least two network operators; the method includes: the network access device accesses N network; N networks are respectively provided by K network operators; N is an integer greater than 2, K is a positive integer greater than 0 and less than N; the network access device establishes a communication connection with the user terminal; the network access device receives the The data to be transmitted of the user terminal; the data to be transmitted is the data sent by the user terminal to the destination device; the network access device preprocesses the data to be transmitted to obtain multiple processed data packets. At least one; the network access device sends multiple data packets to the destination device in parallel through M networks in the N networks, wherein the network status of the M networks all meet the data transmission requirements, and M is greater than 1 and less than N integer.

本申请实施例中网络接入装置可以通过至少两个不同的网络向目的设备发送用户终端的数据包,且该至少两个网络均满足数据传输需求,因而可以提高用户终端向目的设备传输数据的稳定性。In the embodiment of the present application, the network access device can send the data packet of the user terminal to the destination device through at least two different networks, and the at least two networks both meet the data transmission requirements, thus improving the data transmission efficiency of the user terminal to the destination device stability.

在一种可能的实现方式中,N个网络中包括M个优先使用网络,数据传输需求包括第一数据传输需求或第二数据传输需求;上述网络接入装置通过N个网络中的M个网络并行向目的设备发送多个数据包,包括:在M个优先使用网络的网络状态均满足第一数据传输需求的情况下,网络接入装置通过M个优先使用网络并行向目的设备发送多个数据包;在M个优先使用网络的网络状态中A个优先使用网络的网络状态不满足第一数据传输需求的情况下,网络接入装置从候选网络中获取网络状态满足第二数据传输需求的A个网络;A为大于1且小于M的正整数;候选网络为N个网络中除M个优先使用网络之外的网络以及A个优先使用网络;网络接入装置通过M个优先使用网络中网络状态满足第一数据传输需求的优先使用网络和A个网络并行向目的设备发送多个数据包;在M个优先使用网络的网络状态均不满足第一数据传输需求的情况下,网络接入装置从N个网络中获取网络状态满足第二数据传输需求的M个网络;网络接入装置通过满足第二数据传输需求的M个网络并行向目的设备发送多个数据包。In a possible implementation, the N networks include M priority networks, and the data transmission requirements include the first data transmission requirement or the second data transmission requirement; the above-mentioned network access device passes through the M networks in the N networks Sending multiple data packets to the destination device in parallel includes: when the network states of the M priority networks all meet the first data transmission requirement, the network access device sends multiple data packets to the destination device in parallel through the M priority networks packet; in the case that the network status of the A preferred network among the network statuses of the M preferred networks does not meet the first data transmission requirement, the network access device acquires the network status A that meets the second data transmission requirement from the candidate network A is a positive integer greater than 1 and less than M; the candidate network is a network other than the M preferential use network and A priority use network among the N networks; the network access device uses the network in the M priority use network The priority network whose state meets the first data transmission requirement and the A network send multiple data packets to the destination device in parallel; when the network status of the M priority networks does not meet the first data transmission requirement, the network access device Acquiring M networks whose network status meets the second data transmission requirement from the N networks; the network access device sends multiple data packets to the destination device in parallel through the M networks meeting the second data transmission requirement.

这样,用户终端可以通过用户的偏好优先选择用户设定的优先使用网络向目的设备发送数据。In this way, the user terminal can preferentially select the preferential network set by the user according to the user's preference to send data to the destination device.

另一种可能的实现方式中,N个网络中包括M个优先使用网络,数据传输需求包括第一数据传输需求或第二数据传输需求;上述网络接入装置通过N个网络中的M个网络并行向目的设备发送多个数据包,包括:网络接入装置获取N个网络中满足第一数据传输需求的L个网络;在L大于或等于M的情况下:在L个网络中包括M个优先使用网络的情况下,网络接入装置通过M个优先使用网络并行向目的设备发送多个数据包;或者,在L个网络中包括M个优先使用网络的A个优先使用网络的情况下,网络接入装置在候选网络中中选择M-A个网络,以及通过A个优先使用网络以及M-A个网络并行向目的设备发送多个数据包;候选网络为L个网络中除A个优先使用网络之外的网络,A为小于M的正整数;或者,在L个网络中不包括M个优先使用网络的情况下,网络接入装置在L个网络中选择M个网络,并通过L个网络中选择的M个网络并行向目的设备发送多个数据包。In another possible implementation, the N networks include M priority networks, and the data transmission requirements include the first data transmission requirement or the second data transmission requirement; the above-mentioned network access device passes through the M networks in the N networks Send multiple data packets to the destination device in parallel, including: the network access device acquires L networks that meet the first data transmission requirement among the N networks; when L is greater than or equal to M: include M in the L networks In the case of preferential use of the network, the network access device sends multiple data packets to the destination device in parallel through M priority use networks; or, in the case of A priority use network including M priority use networks in the L networks, The network access device selects M-A networks among the candidate networks, and sends multiple data packets to the destination device in parallel through the A priority networks and the M-A networks; the candidate network is the L network except the A priority network network, A is a positive integer less than M; or, in the case that the L networks do not include M priority networks, the network access device selects M networks from the L networks, and selects from the L networks The M networks in parallel send multiple data packets to the destination device.

另一种可能的实现方式中,上述网络接入装置包括第一天线、第二天线或网线接口中的至少两种;网络接入装置接入N个网络,包括:网络接入装置通过第一天线、第二天线或网络接口中的至少两种接入N个网络。In another possible implementation manner, the above-mentioned network access device includes at least two of the first antenna, the second antenna, or a network cable interface; the network access device accesses N networks, including: the network access device passes through the first At least two of the antenna, the second antenna, or the network interface are connected to N networks.

这样,网络接入装置能够提供的网络更具多样性,网络接入装置不仅可以接入无线网络还可以接入有线网络。In this way, the network access device can provide more diverse networks, and the network access device can access not only a wireless network but also a wired network.

另一种可能的实现方式中,上述网络接入装置包括LAN接口或wifi模块中的至少一种,网络接入装置与用户终端建立通信连接,包括:网络接入装置通过LAN接口与用户终端建立通信连接,或者,网络接入装置通过wifi模块与用户终端建立通信连接。In another possible implementation manner, the network access device includes at least one of a LAN interface or a wifi module, and establishing a communication connection between the network access device and the user terminal includes: establishing a communication connection between the network access device and the user terminal through the LAN interface A communication connection, or, the network access device establishes a communication connection with the user terminal through the wifi module.

这样,用户终端也可以自由选择通过LAN接口与网络接入装置建立连接,也可以通过wifi模块与网络接入装置建立连接。In this way, the user terminal can also freely choose to establish a connection with the network access device through the LAN interface, or establish a connection with the network access device through the wifi module.

另一种可能的实现方式中,上述网络接入装置对待传输数据进行预处理,得到处理后的多个数据包,包括:网络接入装置将待传输数据复制为M个数据包;网络接入装置通过M个网络并行向目的设备发送多个数据包,包括:网络接入装置通过第m个网络向目的设备发送第m个数据包;m为大于0,且小于或者等于M的正整数;第m个网络为M个网络中的任意一个网络。In another possible implementation, the above-mentioned network access device preprocesses the data to be transmitted to obtain a plurality of processed data packets, including: the network access device copies the data to be transmitted into M data packets; the network access The device sends multiple data packets to the destination device in parallel through M networks, including: the network access device sends the mth data packet to the destination device through the mth network; m is a positive integer greater than 0 and less than or equal to M; The mth network is any one of the M networks.

这样,复制后的数据包在不同的网络上向目的设备传输,即使M个网络中一个网络的数据发生了丢包,还有其他网络的数据可以作为备份,进一步提高了数据传输的稳定性。In this way, the copied data packets are transmitted to the destination device on different networks. Even if the data of one of the M networks is lost, the data of other networks can be used as a backup, which further improves the stability of data transmission.

另一种可能的实现方式中,上述网络接入装置对待传输数据进行预处理,得到处理后的多个数据包,包括:网络接入装置将待传输数据进行数据分包,得到Q个数据包;Q为大于0的正整数;Q个数据包包括第一数据包和第二数据包;网络接入装置复制Q个数据包,得到Q*P个数据包;Q*P个数据包包括第三数据包和第四数据包;第三数据包是第一数据包复制得到的数据包;第四数据包是第二数据包复制得到的数据包;P大于0,且小于M;网络接入装置通过M个网络并行向目的设备发送多个数据包,包括:网络接入装置通过M个网络中的第m个网络向目的设备发送第一数据包和第四数据包,并通过第n个网络向目的设备发送第二数据包和第三数据包;m与n均为大于0且小于或者等于M的整数,n不等于m。In another possible implementation, the network access device preprocesses the data to be transmitted to obtain multiple processed data packets, including: the network access device divides the data to be transmitted into packets to obtain Q data packets ; Q is a positive integer greater than 0; the Q data packets include the first data packet and the second data packet; the network access device copies the Q data packets to obtain Q*P data packets; the Q*P data packets include the first The third data packet and the fourth data packet; the third data packet is a data packet copied from the first data packet; the fourth data packet is a data packet copied from the second data packet; P is greater than 0 and less than M; network access The device sends multiple data packets to the destination device in parallel through M networks, including: the network access device sends the first data packet and the fourth data packet to the destination device through the m-th network of the M networks, and sends the first data packet and the fourth data packet to the destination device through the n-th network The network sends the second data packet and the third data packet to the destination device; both m and n are integers greater than 0 and less than or equal to M, and n is not equal to m.

这样,相较于M个网络中每个网络均传输待传输数据,该种方式中,每个网络均传输待传输数据的部分数据,M个网络中的数据包的总和为待传输数据的倍数。提高了数据传输的稳定性。In this way, compared to the fact that each of the M networks transmits the data to be transmitted, in this method, each network transmits part of the data to be transmitted, and the sum of the data packets in the M networks is a multiple of the data to be transmitted . Improved the stability of data transfer.

另一种可能的实现方式中,上述网络接入装置对待传输数据进行预处理,得到处理后的多个数据包,包括:网络接入装置将待传输数据进行数据分包,得到Q个数据包;Q为大于0的正整数。In another possible implementation, the network access device preprocesses the data to be transmitted to obtain multiple processed data packets, including: the network access device divides the data to be transmitted into packets to obtain Q data packets ; Q is a positive integer greater than 0.

这样,网络接入装置通过不同的网络并行向目的设备发送该Q个数据包,即使发生了数据包丢失也仅为待传输数据的少量数据,因而提高了数据传输的稳定性。In this way, the network access device sends the Q data packets to the destination device in parallel through different networks, even if a data packet is lost, it is only a small amount of data to be transmitted, thus improving the stability of data transmission.

第二方面,本申请实施例提供一种网络接入装置,网络接入装置支持至少两种网络运营商的网络接入;网络接入装置包括通信模块和处理模块,通信模块用于接入N个网络;N个网络分别由K个网络运营商提供;N为大于2的整数,K为大于0,且小于N的正整数;与用户终端建立通信连接;通信模块还用于接收来自用户终端的待传输数据;待传输数据为用户终端向目的设备发送的数据;处理模块用于对待传输数据进行预处理,得到处理后的多个数据包,预处理包括复制或数据分包中的至少一种;通信模块还用于通过N个网络中的M个网络并行向目的设备发送多个数据包,其中,M个网络的网络状态均满足数据传输需求,M为大于1,且小于N的整数。In the second aspect, the embodiment of the present application provides a network access device, the network access device supports network access of at least two network operators; the network access device includes a communication module and a processing module, and the communication module is used to access the network Networks; N networks are provided by K network operators; N is an integer greater than 2, K is a positive integer greater than 0 and less than N; establish a communication connection with the user terminal; the communication module is also used to receive data from the user terminal The data to be transmitted; the data to be transmitted is the data sent by the user terminal to the destination device; the processing module is used to preprocess the data to be transmitted to obtain a plurality of processed data packets, and the preprocessing includes at least one of copying or data packetization The communication module is also used to send multiple data packets to the destination device in parallel through M networks in the N networks, wherein, the network status of the M networks all meet the data transmission requirements, and M is an integer greater than 1 and less than N .

可选的,N个网络中包括M个优先使用网络,数据传输需求包括第一数据传输需求或第二数据传输需求;通信模块具体用于:在M个优先使用网络的网络状态均满足第一数据传输需求的情况下,通过M个优先使用网络并行向目的设备发送多个数据包;在M个优先使用网络的网络状态中A个优先使用网络的网络状态不满足第一数据传输需求的情况下,处理模块具体用于从候选网络中获取网络状态满足第二数据传输需求的A个网络;A为大于1且小于M的正整数;候选网络为N个网络中除M个优先使用网络之外的网络以及A个优先使用网络;通信模块具体用于通过M个优先使用网络中网络状态满足第一数据传输需求的优先使用网络和A个网络并行向目的设备发送多个数据包;在M个优先使用网络的网络状态均不满足第一数据传输需求的情况下,处理模块具体用于从N个网络中获取网络状态满足第二数据传输需求的M个网络;通信模块用于通过满足第二数据传输需求的M个网络并行向目的设备发送多个数据包。Optionally, the N networks include M priority networks, and the data transmission requirements include the first data transmission requirement or the second data transmission requirement; the communication module is specifically used for: the network states of the M priority networks all meet the first In the case of data transmission requirements, multiple data packets are sent in parallel to the destination device through M priority networks; among the network statuses of M priority networks, the network status of A priority network does not meet the first data transmission requirements Next, the processing module is specifically used to obtain A networks whose network status meets the second data transmission requirement from the candidate networks; A is a positive integer greater than 1 and less than M; the candidate network is one of the N networks except M priority networks The external network and A priority network; the communication module is specifically used to send a plurality of data packets to the destination device in parallel through the network status of the M priority network that meets the first data transmission requirement and the A network; In the case that the network states of the preferentially used networks do not meet the first data transmission requirement, the processing module is specifically used to obtain M networks whose network status meets the second data transmission requirement from the N networks; the communication module is used to satisfy the first data transmission requirement. Two M networks required for data transmission send multiple data packets to the destination device in parallel.

可选的,N个网络中包括M个优先使用网络,数据传输需求包括第一数据传输需求或第二数据传输需求;处理模块具体用于:获取N个网络中满足第一数据传输需求的L个网络;在L大于或等于M的情况下:在L个网络中包括M个优先使用网络的情况下,通信模块具体用于通过M个优先使用网络并行向目的设备发送多个数据包;或者,在L个网络中包括M个优先使用网络的A个优先使用网络的情况下,处理模块具体用于在候选网络中中选择M-A个网络,通信模块用于通过A个优先使用网络以及M-A个网络并行向目的设备发送多个数据包;候选网络为L个网络中除A个优先使用网络之外的网络,A为小于M的正整数;或者,在L个网络中不包括M个优先使用网络的情况下,处理模块用于在L个网络中选择M个网络,通信模块用于通过M个网络并行向目的设备发送多个数据包。Optionally, the N networks include M priority networks, and the data transmission requirements include the first data transmission requirement or the second data transmission requirement; the processing module is specifically used to: obtain L among the N networks that meet the first data transmission requirement; networks; in the case where L is greater than or equal to M: when the L networks include M priority networks, the communication module is specifically used to send multiple data packets to the destination device in parallel through the M priority networks; or , in the case of A priority networks including M priority networks among the L networks, the processing module is specifically used to select M-A networks among the candidate networks, and the communication module is used to pass A priority networks and M-A networks The network sends multiple data packets to the destination device in parallel; the candidate network is a network other than the A preferred network among the L networks, and A is a positive integer less than M; or, the M preferred use is not included in the L networks In the case of a network, the processing module is used to select M networks from the L networks, and the communication module is used to send multiple data packets to the destination device in parallel through the M networks.

可选的,网络接入装置包括第一天线、第二天线或网线接口中的至少两种;通信模块具体用于通过第一天线、第二天线或网络接口中的至少两种接入多个网络。Optionally, the network access device includes at least two of the first antenna, the second antenna, or a network cable interface; the communication module is specifically used to access multiple network.

可选的,通信模块包括LAN接口或wifi模块中的至少一种,通信模块具体用于:通过LAN接口与用户终端建立通信连接,或者,通过wifi模块与用户终端建立通信连接。Optionally, the communication module includes at least one of a LAN interface or a wifi module, and the communication module is specifically used to: establish a communication connection with the user terminal through the LAN interface, or establish a communication connection with the user terminal through the wifi module.

可选的,处理模块具体用于将待传输数据复制为M个数据包;通信模块具体用于通过第m个网络向目的设备发送第m个数据包;m为大于0,且小于或者等于M的正整数;第m个网络为M个网络中的任意一个网络。Optionally, the processing module is specifically used to copy the data to be transmitted into M data packets; the communication module is specifically used to send the mth data packet to the destination device through the mth network; m is greater than 0 and less than or equal to M A positive integer of ; the mth network is any one of the M networks.

可选的,处理模块具体用于:将待传输数据进行数据分包,得到Q个数据包;Q为大于0的正整数;Q个数据包包括第一数据包和第二数据包;复制Q个数据包,得到Q*P个数据包;Q*P个数据包包括第三数据包和第四数据包;第三数据包是第一数据包复制得到的数据包;第四数据包是第二数据包复制得到的数据包;P大于0,且小于M;通信模块具体用于通过M个网络中的第m个网络向目的设备发送第一数据包和第四数据包,并通过第n个网络向目的设备发送第二数据包和第三数据包;m与n均为大于0且小于或者等于M的整数,n不等于m。Optionally, the processing module is specifically used to: subpackage the data to be transmitted to obtain Q data packets; Q is a positive integer greater than 0; the Q data packets include the first data packet and the second data packet; copy Q data packets, get Q*P data packets; Q*P data packets include the third data packet and the fourth data packet; the third data packet is the data packet copied from the first data packet; the fourth data packet is the first data packet The data packet obtained by copying the second data packet; P is greater than 0 and less than M; the communication module is specifically used to send the first data packet and the fourth data packet to the destination device through the mth network of the M networks, and pass the nth network The network sends the second data packet and the third data packet to the destination device; both m and n are integers greater than 0 and less than or equal to M, and n is not equal to m.

可选的,处理模块具体用于将待传输数据进行数据分包,得到Q个数据包;Q为大于0的正整数。Optionally, the processing module is specifically configured to packetize the data to be transmitted to obtain Q data packets; Q is a positive integer greater than 0.

第三方面,本申请实施例提供一种电子设备,包括:处理器,以及与所述处理器通信连接的存储器;存储器存储计算机执行指令;所述处理器执行所述存储器存储的计算机执行指令,以实现如第一方面以及第一方面的任一种可能的实现方式所提供的数据传输方法。In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, To realize the data transmission method provided by the first aspect and any possible implementation manner of the first aspect.

第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如第一方面以及第一方面的任一种可能的实现方式所提供的数据传输方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to implement the first aspect and the second aspect when executed by a processor. A data transmission method provided in any possible implementation manner of one aspect.

第五方面,本申请实施例提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现如第一方面以及第一方面的任一种可能的实现方式所提供的数据传输方法。In the fifth aspect, the embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the data transmission method provided in the first aspect and any possible implementation manner of the first aspect .

应当理解的是,本申请的第二方面至第五方面与本申请的第一方面的技术方案相对应,各方面及对应的可行实施方式所取得的有益效果相似,不再赘述。It should be understood that the second aspect to the fifth aspect of the present application correspond to the technical solution of the first aspect of the present application, and the advantageous effects obtained by each aspect and the corresponding feasible implementation manners are similar, so details are not repeated here.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

图1为本申请实施例所提供的数据传输方法所适用的系统的架构示意图;FIG. 1 is a schematic structural diagram of a system to which the data transmission method provided in the embodiment of the present application is applicable;

图2为本申请实施例所提供的数据传输方法所适用的网络接入装置的结构示意图;FIG. 2 is a schematic structural diagram of a network access device to which the data transmission method provided in the embodiment of the present application is applicable;

图3为本申请实施例所提供的一种数据传输方法所适用的电子设备的结构示意图;FIG. 3 is a schematic structural diagram of an electronic device to which a data transmission method provided in an embodiment of the present application is applicable;

图4为本申请实施例所提供的一种数据传输方法的流程示意图;FIG. 4 is a schematic flow diagram of a data transmission method provided by an embodiment of the present application;

图5为本申请实施例所提供的一种网络接入装置的结构示意图。FIG. 5 is a schematic structural diagram of a network access device provided by an embodiment of the present application.

通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。By means of the above drawings, specific embodiments of the present application have been shown, which will be described in more detail hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the application in any way, but to illustrate the concept of the application for those skilled in the art by referring to specific embodiments.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.

在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。例如,第一芯片和第二芯片仅仅是为了区分不同的芯片,并不对其先后顺序进行限定。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。In the embodiments of the present application, words such as "first" and "second" are used to distinguish the same or similar items with basically the same function and effect. For example, the first chip and the second chip are only used to distinguish different chips, and their sequence is not limited. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit the difference.

需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that, in the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or descriptions. Any embodiment or design described herein as "exemplary" or "for example" is not to be construed as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.

本申请实施例中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In the embodiments of the present application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple .

网络主播在直播过程中需要直播设备接入网络,并通过网络传输音视频数据,游戏玩家在玩游戏的过程中也需要游戏终端接入网络,并通过网络传输数据。Network anchors need live broadcast equipment to connect to the network during live broadcast, and transmit audio and video data through the network. Game players also need game terminals to connect to the network and transmit data through the network during the process of playing games.

当前,网络主播在直播过程中可能出现卡顿,游戏玩家在玩游戏的过程中也可能出现卡顿。Currently, network anchors may experience freezes during live broadcasts, and gamers may also experience freezes during game play.

这是因为直播设备或游戏终端所接入网络单一,直播设备或游戏终端利用单一网络传输数据的稳定性差,在该网络的网络状态不满足数据传输需求的情况下,直播或游戏就可能出现卡顿。This is because the live broadcast device or game terminal is connected to a single network, and the data transmission stability of the live broadcast device or game terminal using a single network is poor. pause.

有鉴于此,本申请实施例提供数据传输方法,该方法通过能够接入多个不同网络的网络接入装置,使得终端设备(例如上述直播设备或游戏终端)可以并行从多个网络向目的设备发送数据,这样,在一个网络的网络状态不满足数据传输需求的情况下,网络接入装置可以选择网络状态能够满足数据传输需求的网络传输数据,从而提高了数据传输的稳定性。In view of this, the embodiment of the present application provides a data transmission method, which enables a terminal device (such as the above-mentioned live broadcast device or game terminal) to transfer from multiple networks to the destination device in parallel through a network access device capable of accessing multiple different networks. In this way, when the network status of a network does not meet the data transmission requirements, the network access device can select a network whose network status can meet the data transmission requirements to transmit data, thereby improving the stability of data transmission.

本申请实施例提供的数据传输方法,可以适用于图1所示的系统。如图1所示,该系统包括:用户终端10、网络接入装置20以及目的设备30。The data transmission method provided in the embodiment of the present application may be applicable to the system shown in FIG. 1 . As shown in FIG. 1 , the system includes: a user terminal 10 , a network access device 20 and a destination device 30 .

其中,用户终端10可以为手机、平板电脑、台式电脑、掌上电脑或车载终端中的任意一种终端设备。用户终端10可以通过wifi或LAN接口与网络接入装置20建立通信连接。Wherein, the user terminal 10 may be any terminal device in a mobile phone, a tablet computer, a desktop computer, a palmtop computer or a vehicle-mounted terminal. The user terminal 10 can establish a communication connection with the network access device 20 through a wifi or LAN interface.

网络接入装置20可以用于接收来自用户终端10的数据,并通过多个不同的网络并行向目的设备30发送接收到的数据。The network access device 20 can be used to receive data from the user terminal 10, and send the received data to the destination device 30 in parallel through multiple different networks.

目的设备30可以为任意一个服务器、服务器集群或终端设备。其中,终端设备可以为手机、平板电脑、台式电脑、掌上电脑或车载终端中的任意一种。The destination device 30 may be any server, server cluster or terminal device. Wherein, the terminal device may be any one of a mobile phone, a tablet computer, a desktop computer, a palmtop computer or a vehicle-mounted terminal.

如图2所示为本申请实施例所提供的网络接入装置的结构示意图,图2所示的网络接入装置20包括处理器201、存储器202、第一通信模块203、第二通信模块204、第三通信模块205、第四通信模块206、网络交换模块207以及供电模块208;处理器201与第一通信模块203、第二通信模块204和第三通信模块205可以通过MINI-PCIE接口连接来实现三网融合通信,第四通信模块206可以是wifi模块,处理器201与第四通信模块206可以通过网络数据接口连接,处理器201与网络交换模块207也可以通过网络数据接口相连接。Figure 2 is a schematic structural diagram of the network access device provided by the embodiment of the present application, the network access device 20 shown in Figure 2 includes a processor 201, a memory 202, a first communication module 203, and a second communication module 204 , the third communication module 205, the fourth communication module 206, the network switching module 207 and the power supply module 208; the processor 201 and the first communication module 203, the second communication module 204 and the third communication module 205 can be connected through the MINI-PCIE interface To realize triple play communication, the fourth communication module 206 may be a wifi module, the processor 201 and the fourth communication module 206 may be connected through a network data interface, and the processor 201 and the network switching module 207 may also be connected through a network data interface.

第一通信模块203所连接天线例如第一天线,第二通信模块204所连接天线例如第二天线,第三通信模块205所连接天线例如第三天线等可以采用电信频段、移动频段或联通频段中的任意一种。The antenna connected to the first communication module 203 is such as the first antenna, the antenna connected to the second communication module 204 is such as the second antenna, and the antenna connected to the third communication module 205 is such as the third antenna. any of the

本申请实施例中的网络交换模块207的LAN口可以让用户终端10通过网线接入该网络接入装置20实现上网、通信,网络交换模块207的WAN口可以通过网线连接让该网络接入装置20接入互联网。The LAN port of the network switching module 207 in the embodiment of the present application can allow the user terminal 10 to access the network access device 20 through a network cable to achieve Internet access and communication, and the WAN port of the network switching module 207 can be connected to the network access device through a network cable. 20 access to the Internet.

本申请实施例中的第四通信模块206可以通过Client模式接入无线网络,也可以开启AP热点供用户终端10接入使用。The fourth communication module 206 in the embodiment of the present application can access the wireless network through the client mode, and can also open an AP hotspot for the user terminal 10 to access and use.

供电模块208可以为处理器201、存储器202、第一通信模块203、第二通信模块204、第三通信模块205、第四通信模块206以及网络交换模块207供电。The power supply module 208 can supply power for the processor 201 , the memory 202 , the first communication module 203 , the second communication module 204 , the third communication module 205 , the fourth communication module 206 and the network switching module 207 .

本申请实施例所提供的网络接入装置20能够接入电信运营商的3G、4G、或5G网络、移动运营商的3G、4G、或5G网络和联通运营商的3G、4G、或5G网络,并利用预设算法选择通信状态满足数据传输需求的运营商网络进行数据传输,且在择优选取运营商网络的过程中保证选取、切换的连续性。The network access device 20 provided by the embodiment of the present application can access the 3G, 4G, or 5G network of the telecom operator, the 3G, 4G, or 5G network of the mobile operator, and the 3G, 4G, or 5G network of the China Unicom operator. , and use the preset algorithm to select the operator network whose communication status meets the data transmission requirements for data transmission, and ensure the continuity of selection and switching during the process of selecting the best operator network.

需要说明的是,本申请实施例示意的结构并不构成对网络接入装置20的具体限定;可以理解的是,网络接入装置20可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置;其中,图示的部件可以以硬件,软件或软件和硬件的组合实现。It should be noted that the structure shown in the embodiment of the present application does not constitute a specific limitation on the network access device 20; Certain components, some components are split, or different components are arranged; wherein, the illustrated components can be realized by hardware, software or a combination of software and hardware.

本申请实施例中用户终端10的功能以及目的设备30的功能均可以由图3所示的电子设备实现。In the embodiment of the present application, both the functions of the user terminal 10 and the functions of the destination device 30 can be realized by the electronic device shown in FIG. 3 .

图3是根据一示例性实施例示出的一种电子设备的结构示意图,该电子设备30可以包括以下一个或多个组件:处理组件301,存储器302,电源组件303,多媒体组件304,音频组件305,输入/输出(I/O)接口306,传感器组件307,以及通信组件308。3 is a schematic structural diagram of an electronic device according to an exemplary embodiment. The electronic device 30 may include one or more of the following components: a processing component 301, a memory 302, a power supply component 303, a multimedia component 304, and an audio component 305 , input/output (I/O) interface 306, sensor component 307, and communication component 308.

处理组件301通常控制电子设备30的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件301可以包括一个或多个处理器来执行指令,例如,处理器301A以完成上述的方法的全部或部分步骤。此外,处理组件301可以包括一个或多个模块,便于处理组件301和其他组件之间的交互。例如,处理组件301可以包括多媒体模块,以方便多媒体组件304和处理组件301之间的交互。The processing component 301 generally controls the overall operations of the electronic device 30, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 301 may include one or more processors to execute instructions, for example, the processor 301A to complete all or part of the steps of the above method. Additionally, processing component 301 may include one or more modules to facilitate interaction between processing component 301 and other components. For example, the processing component 301 may include a multimedia module to facilitate interaction between the multimedia component 304 and the processing component 301 .

存储器302被配置为存储各种类型的数据以支持在电子设备30的操作。这些数据的示例包括用于在电子设备30上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器302可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory 302 is configured to store various types of data to support operations at the electronic device 30 . Examples of such data include instructions for any application or method operating on the electronic device 30, contact data, phonebook data, messages, pictures, videos, and the like. The memory 302 can be implemented by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电源组件303为电子设备30的各种组件提供电力。电源组件303可以包括电源管理系统,一个或多个电源,及其他与为电子设备30生成、管理和分配电力相关联的组件。The power supply component 303 provides power to various components of the electronic device 30 . Power supply components 303 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for electronic device 30 .

多媒体组件304包括在所述电子设备30和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件304包括一个前置摄像头和/或后置摄像头。当电子设备30处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The multimedia component 304 includes a screen providing an output interface between the electronic device 30 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense a boundary of a touch or swipe action, but also detect duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 304 includes a front camera and/or a rear camera. When the electronic device 30 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件305被配置为输出和/或输入音频信号。例如,音频组件305包括一个麦克风(MIC),当电子设备30处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器302或经由通信组件308发送。在一些实施例中,音频组件305还包括一个扬声器,用于输出音频信号。The audio component 305 is configured to output and/or input audio signals. For example, the audio component 305 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 30 is in operation modes, such as calling mode, recording mode and voice recognition mode. Received audio signals may be further stored in memory 302 or sent via communication component 308 . In some embodiments, the audio component 305 also includes a speaker for outputting audio signals.

I/O接口306为处理组件301和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 306 provides an interface between the processing component 301 and a peripheral interface module, which may be a keyboard, a click wheel, a button, and the like. These buttons may include, but are not limited to: a home button, volume buttons, start button, and lock button.

传感器组件307包括一个或多个传感器,用于为电子设备30提供各个方面的状态评估。例如,传感器组件307可以检测到电子设备30的打开/关闭状态,组件的相对定位,例如所述组件为电子设备30的显示器和小键盘,传感器组件307还可以检测电子设备30或电子设备30一个组件的位置改变,用户与电子设备30接触的存在或不存在,电子设备30方位或加速/减速和电子设备30的温度变化。传感器组件307可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件307还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件307还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 307 includes one or more sensors for providing various aspects of status assessment for electronic device 30 . For example, the sensor component 307 can detect the open/close state of the electronic device 30, the relative positioning of components, such as the display and the keypad of the electronic device 30, the sensor component 307 can also detect the electronic device 30 or one of the electronic devices 30 The position of components changes, the presence or absence of user contact with the electronic device 30 , the electronic device 30 orientation or acceleration/deceleration and the temperature of the electronic device 30 change. The sensor assembly 307 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 307 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor component 307 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

通信组件308被配置为便于电子设备30和其他设备之间有线或无线方式的通信。电子设备30可以接入基于通信标准的无线网络,如wifi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件308经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件308还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。The communication component 308 is configured to facilitate wired or wireless communication between the electronic device 30 and other devices. The electronic device 30 can access a wireless network based on communication standards, such as wifi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 308 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 308 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

需要说明的是,本申请实施例示意的结构并不构成对电子设备30的具体限定;可以理解的是,电子设备30可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置;其中,图示的部件可以以硬件,软件或软件和硬件的组合实现。It should be noted that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 30; it can be understood that the electronic device 30 may include more or less components than those shown in the illustration, or combine certain components, Some components may be split or arranged differently; wherein, the illustrated components may be realized by hardware, software or a combination of software and hardware.

下面以具体地实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以独立实现,也可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments may be implemented independently, or may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

如图4所示为本申请实施例提供的一种数据传输方法的流程示意图,图4所示的数据传输方法适用于图1所示的系统,图4所示的数据传输方法包括如下步骤:As shown in Figure 4, it is a schematic flow diagram of a data transmission method provided by the embodiment of the present application. The data transmission method shown in Figure 4 is applicable to the system shown in Figure 1, and the data transmission method shown in Figure 4 includes the following steps:

S400:网络接入装置接入N个网络。S400: The network access device accesses N networks.

本申请实施例中,N个网络分别由K个网络运营商提供;N为大于2的整数,K为大于0,且小于N的正整数。In the embodiment of the present application, the N networks are respectively provided by K network operators; N is an integer greater than 2, and K is a positive integer greater than 0 and less than N.

示例性的,本申请实施例中网络接入装置20通过第一通信模块接入联通运营商网络,通过第二通信模块接入移动运行商网络,通过第三通信模块接入电信运营商网络。网络接入装置还可以通过网络交换模块的WAN口通过网线连接使得该网络接入装置接入有线网络。Exemplarily, in the embodiment of the present application, the network access device 20 accesses the Unicom operator network through the first communication module, accesses the mobile operator network through the second communication module, and accesses the telecom operator network through the third communication module. The network access device can also be connected with a network cable through the WAN port of the network switch module so that the network access device can access the wired network.

S401:网络接入装置与用户终端建立通信连接。S401: The network access device establishes a communication connection with the user terminal.

可能的实现方式中,网络接入装置接收用户终端的连接请求,与用户终端建立通信连接。In a possible implementation manner, the network access device receives a connection request from the user terminal, and establishes a communication connection with the user terminal.

示例性的,网络接入装置的wifi模块接收用户终端的连接请求,与用户终端建立通信连接。Exemplarily, the wifi module of the network access device receives a connection request from the user terminal, and establishes a communication connection with the user terminal.

S402:网络接入装置接收来自用户终端的待传输数据。S402: The network access device receives data to be transmitted from the user terminal.

本申请实施例中,待传输数据为用户终端向目的设备发送的数据。In the embodiment of the present application, the data to be transmitted is the data sent by the user terminal to the destination device.

S403:网络接入装置对待传输数据进行预处理,得到处理后的多个数据包。S403: The network access device preprocesses the data to be transmitted to obtain multiple processed data packets.

本申请实施例中,预处理包括复制或数据分包中的至少一种。In this embodiment of the present application, the preprocessing includes at least one of duplication or data packetization.

一种可能的实现方式中,网络接入装置将待传输数据复制为M个数据包。其中,M为大于1,且小于N的整数。In a possible implementation manner, the network access device copies the data to be transmitted into M data packets. Wherein, M is an integer greater than 1 and less than N.

另一种可能的实现方式中,网络接入装置将待传输数据进行数据分包,得到Q个数据包;Q为大于0的正整数;Q个数据包包括第一数据包和第二数据包;网络接入装置复制Q个数据包,得到Q*P个数据包;Q*P个数据包包括第三数据包和第四数据包;第三数据包是第一数据包复制得到的数据包;第四数据包是第二数据包复制得到的数据包;P大于0,且小于M。In another possible implementation, the network access device divides the data to be transmitted into packets to obtain Q data packets; Q is a positive integer greater than 0; the Q data packets include the first data packet and the second data packet ; The network access device copies Q data packets to obtain Q*P data packets; the Q*P data packets include the third data packet and the fourth data packet; the third data packet is the data packet obtained by duplicating the first data packet ; The fourth data packet is a data packet copied from the second data packet; P is greater than 0 and less than M.

另一种可能的实现方式中,网络接入装置将待传输数据进行数据分包,得到Q个数据包。In another possible implementation manner, the network access device divides the data to be transmitted into data packets to obtain Q data packets.

S404:网络接入装置通过N个网络中的M个网络并行向目的设备发送多个数据包。S404: The network access device sends multiple data packets to the destination device in parallel through M networks among the N networks.

本申请实施例中,M个网络的网络状态均满足数据传输需求。In the embodiment of the present application, the network states of the M networks all meet data transmission requirements.

一种可能的实现方式中,N个网络中包括M个优先使用网络。数据传输需求包括第一数据传输需求或第二数据传输需求。在该M个优先使用网络的网络状态均满足第一数据传输需求的情况下,网络接入装置确定该M个优先使用网络为向目的设备发送数据包的M个网络。In a possible implementation manner, the N networks include M preferentially used networks. The data transmission requirement includes a first data transmission requirement or a second data transmission requirement. When the network states of the M preferentially used networks all meet the first data transmission requirement, the network access device determines the M preferentially used networks as the M networks for sending data packets to the destination device.

需要说明的是,本申请实施例中的优先使用网络,可以是网络接入装置接收用户的配置指令,响应于该配置指令配置的。也可以是通过代码预置在网络接入装置中的。本申请实施例对此不进行限定。It should be noted that the preferential use of the network in the embodiment of the present application may be configured by the network access device receiving a user's configuration instruction and responding to the configuration instruction. It may also be preset in the network access device through codes. This embodiment of the present application does not limit it.

示例性的,在被确定网络状态的网络为无线网络的情况下,第一数传输需求包括参考信号接收功率(reference signal receiving power,RSRP)值大于-105dBm,信噪比(signal to interference plus noise ratio,SINR)值大于0db,平均速率大于10Mbps,平均时延小于100毫秒,平均丢包率大于0.5%。在被确定网络状态的网络为有线网络的情况下第一传输需求包括宽带平均速率大于10Mbps,平均时延小于100毫秒。Exemplarily, when the network whose network status is determined is a wireless network, the first number of transmission requirements includes a reference signal receiving power (reference signal receiving power, RSRP) value greater than -105dBm, a signal to noise ratio (signal to interference plus noise) ratio, SINR) value is greater than 0db, the average rate is greater than 10Mbps, the average delay is less than 100 milliseconds, and the average packet loss rate is greater than 0.5%. In the case that the network whose network status is determined is a wired network, the first transmission requirement includes that the average broadband rate is greater than 10 Mbps, and the average delay is less than 100 milliseconds.

另一种可能的实现方式中,在M个优先使用网络的网络状态中A个优先使用网络的网络状态不满足第一数据传输需求的情况下,网络接入装置从候选网络中获取网络状态满足第二数据传输需求的A个网络;A为大于1且小于M的正整数;候选网络为N个网络中除M个优先使用网络之外的网络以及A个优先使用网络。网络接入装置通过M个优先使用网络中网络状态满足第一数据传输需求的优先使用网络和A个网络并行向目的设备发送多个数据包。In another possible implementation, when the network status of the A preferred network among the network statuses of the M preferred networks does not meet the first data transmission requirement, the network access device obtains the network status from the candidate network that satisfies the first data transmission requirement. A network required for the second data transmission; A is a positive integer greater than 1 and less than M; the candidate network is a network other than the M preferential network and A preferential network among the N networks. The network access device sends multiple data packets to the destination device in parallel through the M priority networks whose network status meets the first data transmission requirement and the A network.

本申请实施例中,第二数据传输需求可以是候选网络中网络状态最优的A个网络。In this embodiment of the present application, the second data transmission requirement may be the A network with the best network state among the candidate networks.

示例性的,网络接入装置通过如下表1和/或表2所示的标准为各网络的网络状态评分:Exemplarily, the network access device scores the network status of each network according to the criteria shown in Table 1 and/or Table 2 below:

表1Table 1

Figure BDA0003298356060000111
Figure BDA0003298356060000111

Figure BDA0003298356060000121
Figure BDA0003298356060000121

表1Table 1

Figure BDA0003298356060000122
Figure BDA0003298356060000122

表1中X为RSRP值,Y为SINR值,Z为平均速率,B为平均时延,C为平均丢包率。在被评价网络为无线网络的情况下,该网络的评分标准参考表1所示的标准。例如:被评价网络中RSRP值X满足X≥-105dBm的情况下为1分,SINR值Y满足Y>=0dB的情况下评分为1分,平均速率Z满足Z>=10Mbps的情况下评分为3分,平均时延B满足B<50毫秒的情况下评分为3分,平均丢包率C满足C<0.5%的情况下评分为2分,那么该被评价网络的网络状态评分为1+1+3+3+2=10分。其余与此类似,不再赘述。In Table 1, X is the RSRP value, Y is the SINR value, Z is the average rate, B is the average delay, and C is the average packet loss rate. In the case that the evaluated network is a wireless network, refer to the standards shown in Table 1 for the scoring standard of the network. For example, if the RSRP value X in the evaluated network satisfies X≥-105dBm, it is 1 point; if the SINR value Y satisfies Y>=0dB, the score is 1 point; when the average rate Z satisfies Z>=10Mbps, the score is 3 points, the score is 3 points when the average delay B meets B<50 milliseconds, and the score is 2 points when the average packet loss rate C meets C<0.5%, then the network status score of the evaluated network is 1+ 1+3+3+2=10 points. The rest are similar to this and will not be repeated here.

表2Table 2

Figure BDA0003298356060000123
Figure BDA0003298356060000123

表2中,B为平均时延,C为平均丢包率。在被评价网络为有线网络的情况下,该网络的评分标准参考表2所示的标准。例如:该网络的平均时延B满足90毫秒<B<50毫秒,其对应评分为4.5,平均丢包率C满足1%>C>0.8%,其对应评分为3。那么,该有线网络的评分为4.5+3=7.5。In Table 2, B is the average delay, and C is the average packet loss rate. In the case that the evaluated network is a wired network, refer to the standards shown in Table 2 for the scoring standard of the network. For example: the average delay B of the network satisfies 90 milliseconds<B<50 milliseconds, and its corresponding score is 4.5, and the average packet loss rate C satisfies 1%>C>0.8%, and its corresponding score is 3. Then, the score of the wired network is 4.5+3=7.5.

网络接入装置可以对候选网络中的每个网络按照表1、表2所示的标准进行评分,并按照得到的评分对各个网络进行降序排序,然后,网络接入装置选择排名前A的网络作为满足第二数据传输需求的A个网络。The network access device can score each network in the candidate network according to the standards shown in Table 1 and Table 2, and sort each network in descending order according to the obtained scores, and then the network access device selects the top A network A network that meets the second data transmission requirement.

另一种可能的实现方式中,网络接入装置对N个网络中每个网络均按照表1、表2所示的标准进行评分,并按照得到的评分对各网络进行降序排序,然后,网络接入装置选择排名前M的网络作为满足第二数据传输需求的M个网络,并使用该M个网络并向向目的设备发送多个数据包。In another possible implementation, the network access device scores each of the N networks according to the standards shown in Table 1 and Table 2, and sorts the networks in descending order according to the obtained scores, and then, the network The access device selects the top M networks as the M networks that meet the second data transmission requirement, and uses the M networks to send multiple data packets to the destination device.

另一种可能的实现方式中,网络接入装置获取N个网络中满足第一数据传输需求的L个网络;在L大于或等于M的情况下:在L个网络中包括M个优先使用网络的情况下,网络接入装置通过M个优先使用网络并行向目的设备发送多个数据包。In another possible implementation, the network access device acquires L networks that meet the first data transmission requirement among the N networks; when L is greater than or equal to M: include M priority networks among the L networks In the case of , the network access device sends multiple data packets to the destination device in parallel through the M priority networks.

或者,在L个网络中包括M个优先使用网络的A个优先使用网络的情况下,网络接入装置在候选网络中选择M-A个网络,以及通过A个优先使用网络以及M-A个网络并行向目的设备发送多个数据包;候选网络为L个网络中除A个优先使用网络之外的网络,A为小于M的正整数。Or, in the case of A priority networks including M priority networks among the L networks, the network access device selects M-A networks among candidate networks, and uses A priority networks and M-A networks in parallel to target The device sends multiple data packets; the candidate network is a network other than the A preferred network among the L networks, and A is a positive integer less than M.

或者,在L个网络中不包括M个优先使用网络的情况下,网络接入装置在L个网络中选择M个网络,以及通过M个网络并行向目的设备发送多个数据包。Or, in the case that the M preferential networks are not included in the L networks, the network access device selects M networks from the L networks, and sends multiple data packets to the destination device in parallel through the M networks.

网络接入装置通过M个网络并行向目的设备发送多个数据包的实现方式包括如下几种:The implementation methods for the network access device to send multiple data packets to the destination device in parallel through M networks include the following:

一种可能的实现方式中,在网络接入装置将待传输数据复制为M个数据包的情况下,网络接入装置通过第m个网络向目的设备发送第m个数据包;m为大于0,且小于或者等于M的正整数;第m个网络为M个网络中的任意一个网络。In a possible implementation, when the network access device copies the data to be transmitted into M data packets, the network access device sends the mth data packet to the destination device through the mth network; m is greater than 0 , and a positive integer less than or equal to M; the mth network is any one of the M networks.

另一种可能的实现方式中,在网络接入装置获取Q*P个数据包的情况下,网络接入装置通过M个网络中的第m个网络向目的设备发送第一数据包和第四数据包,并通过第n个网络向目的设备发送第二数据包和第三数据包;m与n均为大于0且小于或者等于M的整数,n不等于m。In another possible implementation, when the network access device obtains Q*P data packets, the network access device sends the first data packet and the fourth data packet to the destination device through the m-th network among the M networks. data packet, and send the second data packet and the third data packet to the destination device through the nth network; both m and n are integers greater than 0 and less than or equal to M, and n is not equal to m.

另一种可能的实现方式中,在网络接入装置将待传输数据进行数据分包,得到Q个数据包的情况下,网络接入装置通过M个网络并向向目的设备发送该Q个数据包。In another possible implementation, when the network access device divides the data to be transmitted into packets to obtain Q data packets, the network access device sends the Q data packets to the destination device through M networks Bag.

需要说明的是,本申请实施例中网络接入装置可以根据预设周期从N个网络中确定M个满足数据传输需求的网络,并转换成一个wifi信号输出给用户终端,该wifi信号用于连接用户终端并接收用户终端发送的数据。It should be noted that in the embodiment of the present application, the network access device can determine M networks that meet the data transmission requirements from the N networks according to the preset period, and convert it into a wifi signal and output it to the user terminal. The wifi signal is used for Connect the user terminal and receive the data sent by the user terminal.

本申请实施例中,网络接入装置可以将用户终端的待传输数据进行预处理得到的多个数据包从选取的M个满足数据传输需求的网络中并行向目的设备发送,一方面所选的M个网络均满足数据传输需求,另一方面多个数据包并行通过M个网络向目的设备发送,即使丢失了少量的数据包也不会对用户终端的数据传输造成恶劣影响,例如表现在表象上用户终端中的直播或游戏更小概率发生卡顿,因而提高了用户终端数据传输的稳定性。In the embodiment of this application, the network access device can send multiple data packets obtained by preprocessing the data to be transmitted of the user terminal from the selected M networks that meet the data transmission requirements to the destination device in parallel. On the one hand, the selected M networks all meet the data transmission requirements. On the other hand, multiple data packets are sent to the destination device through M networks in parallel. Even if a small amount of data packets are lost, it will not have a bad impact on the data transmission of the user terminal, such as the appearance The live broadcast or game in the user terminal on the Internet is less likely to be stuck, thus improving the stability of the data transmission of the user terminal.

上面结合图4对本申请实施例提供的方法进行了说明,下面对本申请实施例提供的执行上述方法的装置进行描述。示例性的,图5为本申请实施例提供的一种网络接入装置50的结构示意图。该示例并不构成对本申请实施例的限定。网络接入装置50支持至少两种网络运营商的网络接入;图5所示的网络接入装置50包括通信模块501和处理模块502,通信模块501用于接入N个网络;N个网络分别由K个网络运营商提供;N为大于2的整数,K为大于0,且小于N的正整数;与用户终端建立通信连接;通信模块501还用于接收来自用户终端的待传输数据;待传输数据为用户终端向目的设备发送的数据;处理模块502用于对待传输数据进行预处理,得到处理后的多个数据包,预处理包括复制或数据分包中的至少一种;通信模块501还用于通过N个网络中的M个网络并行向目的设备发送多个数据包,其中,M个网络的网络状态均满足数据传输需求,M为大于1,且小于N的整数。例如:结合图4,通信模块501可以用于执行S400~S402,S404,处理模块502可用于执行S403。The method provided by the embodiment of the present application is described above with reference to FIG. 4 , and the device for performing the above method provided by the embodiment of the present application is described below. Exemplarily, FIG. 5 is a schematic structural diagram of a network access device 50 provided in an embodiment of the present application. This example does not constitute a limitation to the embodiment of the present application. The network access device 50 supports network access of at least two network operators; the network access device 50 shown in Figure 5 includes a communication module 501 and a processing module 502, and the communication module 501 is used to access N networks; N networks Provided by K network operators respectively; N is an integer greater than 2, K is a positive integer greater than 0 and less than N; establish a communication connection with the user terminal; the communication module 501 is also used to receive data to be transmitted from the user terminal; The data to be transmitted is the data sent by the user terminal to the destination device; the processing module 502 is used to preprocess the data to be transmitted to obtain a plurality of processed data packets, and the preprocessing includes at least one of copying or data packetization; the communication module 501 is also used to send multiple data packets to the destination device in parallel through M networks in the N networks, wherein the network status of the M networks all meet the data transmission requirements, and M is an integer greater than 1 and less than N. For example: referring to FIG. 4 , the communication module 501 may be used to execute S400-S402 and S404, and the processing module 502 may be used to execute S403.

可选的,N个网络中包括M个优先使用网络,数据传输需求包括第一数据传输需求或第二数据传输需求;通信模块501具体用于:在M个优先使用网络的网络状态均满足第一数据传输需求的情况下,通过M个优先使用网络并行向目的设备发送多个数据包;在M个优先使用网络的网络状态中A个优先使用网络的网络状态不满足第一数据传输需求的情况下,处理模块502具体用于从候选网络中获取网络状态满足第二数据传输需求的A个网络;A为大于1且小于M的正整数;候选网络为N个网络中除M个优先使用网络之外的网络以及A个优先使用网络;通信模块501具体用于通过M个优先使用网络中网络状态满足第一数据传输需求的优先使用网络和A个网络并行向目的设备发送多个数据包;在M个优先使用网络的网络状态均不满足第一数据传输需求的情况下,处理模块502具体用于从N个网络中获取网络状态满足第二数据传输需求的M个网络;通信模块501用于通过满足第二数据传输需求的M个网络并行向目的设备发送多个数据包。Optionally, the N networks include M priority networks, and the data transmission requirements include the first data transmission requirement or the second data transmission requirement; the communication module 501 is specifically used for: when the network states of the M priority networks all satisfy the first data transmission requirement or the second data transmission requirement; In the case of a data transmission requirement, multiple data packets are sent in parallel to the destination device through M priority networks; among the network states of the M priority networks, the network state of the A priority network does not meet the first data transmission requirement In this case, the processing module 502 is specifically used to acquire A networks whose network status meets the second data transmission requirement from the candidate networks; A is a positive integer greater than 1 and less than M; the candidate network is preferentially used except M among the N networks Networks other than the network and A priority networks; the communication module 501 is specifically configured to send multiple data packets to the destination device in parallel through the priority network and the A network whose network status meets the first data transmission requirement in the M priority networks ; When the network states of the M priority networks do not meet the first data transmission requirement, the processing module 502 is specifically used to acquire M networks whose network states meet the second data transmission requirement from the N networks; the communication module 501 It is used for sending multiple data packets to the destination device in parallel through the M networks that meet the second data transmission requirement.

可选的,N个网络中包括M个优先使用网络,数据传输需求包括第一数据传输需求或第二数据传输需求;处理模块502具体用于:获取N个网络中满足第一数据传输需求的L个网络;在L大于或等于M的情况下:在L个网络中包括M个优先使用网络的情况下,通信模块501具体用于通过M个优先使用网络并行向目的设备发送多个数据包;或者,在L个网络中包括M个优先使用网络的A个优先使用网络的情况下,处理模块502具体用于在候选网络中中选择M-A个网络,通信模块501用于通过A个优先使用网络以及M-A个网络并行向目的设备发送多个数据包;候选网络为L个网络中除A个优先使用网络之外的网络,A为小于M的正整数;或者,在L个网络中不包括M个优先使用网络的情况下,处理模块502用于在L个网络中选择M个网络,通信模块501用于通过M个网络并行向目的设备发送多个数据包。Optionally, the N networks include M priority networks, and the data transmission requirements include the first data transmission requirement or the second data transmission requirement; the processing module 502 is specifically configured to: acquire the network that satisfies the first data transmission requirement among the N networks L networks; when L is greater than or equal to M: when the L networks include M priority networks, the communication module 501 is specifically used to send multiple data packets to the destination device in parallel through the M priority networks or, in the case of A priority networks including M priority networks in the L networks, the processing module 502 is specifically used to select M-A networks among the candidate networks, and the communication module 501 is used to pass A priority use The network and the M-A networks send multiple data packets to the destination device in parallel; the candidate network is a network other than the A preferred network among the L networks, and A is a positive integer less than M; or, the L networks do not include In the case of M priority networks, the processing module 502 is used to select M networks from the L networks, and the communication module 501 is used to send multiple data packets to the destination device in parallel through the M networks.

可选的,网络接入装置包括第一天线、第二天线或网线接口中的至少两种;通信模块501具体用于通过第一天线、第二天线或网络接口中的至少两种接入多个网络。Optionally, the network access device includes at least two of the first antenna, the second antenna, or a network cable interface; the communication module 501 is specifically configured to access multiple network.

可选的,通信模块501包括LAN接口或wifi模块中的至少一种,通信模块501具体用于:通过LAN接口与用户终端建立通信连接,或者,通过wifi模块与用户终端建立通信连接。Optionally, the communication module 501 includes at least one of a LAN interface or a wifi module, and the communication module 501 is specifically configured to: establish a communication connection with the user terminal through the LAN interface, or establish a communication connection with the user terminal through the wifi module.

可选的,处理模块502具体用于将待传输数据复制为M个数据包;通信模块501具体用于通过第m个网络向目的设备发送第m个数据包;m为大于0,且小于或者等于M的正整数;第m个网络为M个网络中的任意一个网络。Optionally, the processing module 502 is specifically configured to copy the data to be transmitted into M data packets; the communication module 501 is specifically configured to send the mth data packet to the destination device through the mth network; m is greater than 0 and less than or A positive integer equal to M; the mth network is any one of the M networks.

可选的,处理模块502具体用于:将待传输数据进行数据分包,得到Q个数据包;Q为大于0的正整数;Q个数据包包括第一数据包和第二数据包;复制Q个数据包,得到Q*P个数据包;Q*P个数据包包括第三数据包和第四数据包;第三数据包是第一数据包复制得到的数据包;第四数据包是第二数据包复制得到的数据包;P大于0,且小于M;通信模块501具体用于通过M个网络中的第m个网络向目的设备发送第一数据包和第四数据包,并通过第n个网络向目的设备发送第二数据包和第三数据包;m与n均为大于0且小于或者等于M的整数,n不等于m。Optionally, the processing module 502 is specifically configured to: subpackage the data to be transmitted to obtain Q data packets; Q is a positive integer greater than 0; the Q data packets include the first data packet and the second data packet; copy Q data packets, get Q*P data packets; Q*P data packets include the third data packet and the fourth data packet; the third data packet is the data packet obtained by duplicating the first data packet; the fourth data packet is The data packet obtained by copying the second data packet; P is greater than 0 and less than M; the communication module 501 is specifically configured to send the first data packet and the fourth data packet to the destination device through the m-th network in the M networks, and pass The nth network sends the second data packet and the third data packet to the destination device; both m and n are integers greater than 0 and less than or equal to M, and n is not equal to m.

可选的,处理模块502具体用于将待传输数据进行数据分包,得到Q个数据包;Q为大于0的正整数。Optionally, the processing module 502 is specifically configured to packetize the data to be transmitted to obtain Q data packets; Q is a positive integer greater than 0.

在一个例子中,结合图2,处理模块502的功能可以由图2中处理器201调用存储器202中计算机指令实现,通信模块501可以由图2中第一通信模块203、第二通信模块204、第三通信模块205、第四通信模块206以及网络交换模块207实现。In one example, with reference to FIG. 2, the function of the processing module 502 can be implemented by calling the computer instructions in the memory 202 from the processor 201 in FIG. The third communication module 205, the fourth communication module 206 and the network switching module 207 are implemented.

在示例性实施例中,本申请实施例还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器202,上述指令可由网络接入装置20的处理器201执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, the embodiment of the present application also provides a non-transitory computer-readable storage medium including instructions, such as a memory 202 including instructions, and the above instructions can be executed by the processor 201 of the network access device 20 to complete the above method. For example, the non-transitory computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

一种非临时性计算机可读存储介质,当该存储介质中的指令由用户终端的处理器执行时,使得用户终端能够执行上述数据传输方法。A non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the user terminal, the user terminal can execute the above data transmission method.

本申请实施例提供一种电子设备,包括:处理器,以及与处理器通信连接的存储器;存储器存储计算机执行指令;处理器执行存储器存储的计算机执行指令,以实现上述数据传输方法。An embodiment of the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; and the processor executes the computer-executable instructions stored in the memory, so as to implement the above data transmission method.

本申请实施例提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现上述数据传输方法。An embodiment of the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, the foregoing data transmission method is implemented.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求书指出。Other embodiments of the present application will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the application, these modifications, uses or adaptations follow the general principles of the application and include common knowledge or conventional technical means in the technical field not disclosed in the application . The specification and examples are to be considered exemplary only, with a true scope and spirit of the application indicated by the following claims.

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。It should be understood that the present application is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (8)

1.一种数据传输方法,其特征在于,应用于网络接入装置,所述网络接入装置支持至少两种网络运营商的网络接入;所述方法包括:1. A data transmission method, characterized in that it is applied to a network access device, and the network access device supports network access of at least two network operators; the method includes: 所述网络接入装置接入N个网络;所述N个网络分别由K个网络运营商提供;N为大于2的整数,K为大于0,且小于N的正整数;The network access device accesses N networks; the N networks are respectively provided by K network operators; N is an integer greater than 2, and K is a positive integer greater than 0 and less than N; 所述网络接入装置与用户终端建立通信连接;The network access device establishes a communication connection with the user terminal; 所述网络接入装置接收来自所述用户终端的待传输数据;所述待传输数据为所述用户终端向目的设备发送的数据;The network access device receives data to be transmitted from the user terminal; the data to be transmitted is data sent by the user terminal to a destination device; 所述网络接入装置对所述待传输数据进行预处理,得到处理后的多个数据包,所述预处理包括复制或数据分包中的至少一种;The network access device preprocesses the data to be transmitted to obtain a plurality of processed data packets, and the preprocessing includes at least one of duplication or data packetization; 所述网络接入装置通过所述N个网络中的M个网络并行向所述目的设备发送所述多个数据包,其中,所述M个网络的网络状态均满足数据传输需求,M为大于1,且小于N的整数;The network access device sends the multiple data packets to the destination device in parallel through M networks among the N networks, wherein the network states of the M networks all meet data transmission requirements, and M is greater than 1, and an integer less than N; 所述N个网络中包括M个优先使用网络,所述数据传输需求包括第一数据传输需求或第二数据传输需求;所述网络接入装置通过所述N个网络中的M个网络并行向所述目的设备发送所述多个数据包,包括:The N networks include M priority networks, and the data transmission requirements include the first data transmission requirements or the second data transmission requirements; The destination device sends the multiple data packets, including: 在所述M个优先使用网络的网络状态均满足所述第一数据传输需求的情况下,所述网络接入装置通过所述M个优先使用网络并行向所述目的设备发送所述多个数据包;When the network states of the M priority networks all meet the first data transmission requirement, the network access device sends the plurality of data to the destination device in parallel through the M priority networks Bag; 在所述M个优先使用网络的网络状态中A个优先使用网络的网络状态不满足所述第一数据传输需求的情况下,所述网络接入装置从候选网络中获取网络状态满足所述第二数据传输需求的A个网络;A为大于1且小于M的正整数;所述候选网络为所述N个网络中除所述M个优先使用网络之外的网络以及所述A个优先使用网络;In a case where the network status of the A preferred network among the network statuses of the M preferred networks does not meet the first data transmission requirement, the network access device obtains from the candidate network that the network status satisfies the first data transmission requirement. Two A networks for data transmission requirements; A is a positive integer greater than 1 and less than M; the candidate network is a network other than the M preferential use network among the N networks and the A preferential use network network; 所述网络接入装置通过所述M个优先使用网络中网络状态满足所述第一数据传输需求的优先使用网络和所述A个网络并行向所述目的设备发送所述多个数据包;The network access device sends the plurality of data packets to the destination device in parallel through the priority network whose network status meets the first data transmission requirement among the M priority networks and the A network; 在所述M个优先使用网络的网络状态均不满足所述第一数据传输需求的情况下,所述网络接入装置从所述N个网络中获取网络状态满足所述第二数据传输需求的M个网络;所述网络接入装置通过所述满足所述第二数据传输需求的M个网络并行向所述目的设备发送所述多个数据包;In the case that none of the network states of the M preferentially used networks meets the first data transmission requirement, the network access device obtains from the N networks the network status that satisfies the second data transmission requirement M networks; the network access device sends the multiple data packets to the destination device in parallel through the M networks that meet the second data transmission requirement; 所述网络接入装置对所述待传输数据进行预处理,得到处理后的多个数据包,包括:The network access device preprocesses the data to be transmitted to obtain a plurality of processed data packets, including: 所述网络接入装置将所述待传输数据复制为M个数据包;The network access device copies the data to be transmitted into M data packets; 所述网络接入装置通过所述M个网络并行向所述目的设备发送所述多个数据包,包括:所述网络接入装置通过第m个网络向所述目的设备发送第m个数据包;m为大于0,且小于或者等于M的正整数;所述第m个网络为所述M个网络中的任意一个网络。The network access device sending the multiple data packets to the destination device in parallel through the M networks includes: the network access device sending the mth data packet to the destination device through the mth network ; m is a positive integer greater than 0 and less than or equal to M; the mth network is any one of the M networks. 2.根据权利要求1所述的方法,其特征在于,所述N个网络中包括M个优先使用网络,所述数据传输需求包括第一数据传输需求或第二数据传输需求;所述网络接入装置通过所述N个网络中的M个网络并行向所述目的设备发送所述多个数据包,包括:2. The method according to claim 1, wherein the N networks include M priority networks, and the data transmission requirements include a first data transmission requirement or a second data transmission requirement; The input device sends the multiple data packets to the destination device in parallel through the M networks in the N networks, including: 所述网络接入装置获取所述N个网络中满足所述第一数据传输需求的L个网络;obtaining, by the network access device, L networks satisfying the first data transmission requirement among the N networks; 在L大于或等于M的情况下:Where L is greater than or equal to M: 在所述L个网络中包括所述M个优先使用网络的情况下,所述网络接入装置通过所述M个优先使用网络并行向所述目的设备发送所述多个数据包;When the L networks include the M priority networks, the network access device sends the multiple data packets to the destination device in parallel through the M priority networks; 或者,在所述L个网络中包括所述M个优先使用网络的A个优先使用网络的情况下,所述网络接入装置在候选网络中选择M-A个网络,并通过所述A个优先使用网络以及所述M-A个网络并行向所述目的设备发送所述多个数据包;所述候选网络为所述L个网络中除所述A个优先使用网络之外的网络,A为小于M的正整数;Or, in the case that the L networks include the A priority network of the M priority networks, the network access device selects M-A networks among the candidate networks, and uses the A priority network The network and the M-A networks send the multiple data packets to the destination device in parallel; the candidate network is a network other than the A priority network among the L networks, and A is less than M positive integer; 或者,在所述L个网络中不包括所述M个优先使用网络的情况下,所述网络接入装置在所述L个网络中选择M个网络,并通过所述L个网络中选择的M个网络并行向所述目的设备发送所述多个数据包。Or, in the case that the M priority networks are not included in the L networks, the network access device selects M networks from the L networks, and selects M networks from the L networks The M networks send the multiple data packets to the destination device in parallel. 3.根据权利要求1所述的方法,其特征在于,所述网络接入装置包括第一天线、第二天线或网线接口中的至少两种;所述网络接入装置接入N个网络,包括:3. The method according to claim 1, wherein the network access device includes at least two of a first antenna, a second antenna, or a network cable interface; the network access device accesses N networks, include: 所述网络接入装置通过所述第一天线、所述第二天线或网络接口中的至少两种接入所述N个网络。The network access device accesses the N networks through at least two of the first antenna, the second antenna, or a network interface. 4.根据权利要求1所述的方法,其特征在于,所述网络接入装置包括LAN接口或wifi模块中的至少一种,所述网络接入装置与用户终端建立通信连接,包括:4. The method according to claim 1, wherein the network access device comprises at least one of a LAN interface or a wifi module, and the network access device establishes a communication connection with the user terminal, comprising: 所述网络接入装置通过所述LAN接口与所述用户终端建立通信连接,或者,所述网络接入装置通过所述wifi模块与所述用户终端建立通信连接。The network access device establishes a communication connection with the user terminal through the LAN interface, or, the network access device establishes a communication connection with the user terminal through the wifi module. 5.根据权利要求1-4任一项所述的方法,其特征在于,所述网络接入装置对所述待传输数据进行预处理,得到处理后的多个数据包,包括:5. The method according to any one of claims 1-4, wherein the network access device preprocesses the data to be transmitted to obtain a plurality of processed data packets, including: 所述网络接入装置将所述待传输数据进行数据分包,得到Q个数据包;Q为大于0的正整数;所述Q个数据包包括第一数据包和第二数据包;所述网络接入装置复制所述Q个数据包,得到Q*P个数据包;所述Q*P个数据包包括第三数据包和第四数据包;所述第三数据包是所述第一数据包复制得到的数据包;所述第四数据包是所述第二数据包复制得到的数据包;P大于0,且小于M;The network access device divides the data to be transmitted into data packets to obtain Q data packets; Q is a positive integer greater than 0; the Q data packets include a first data packet and a second data packet; the The network access device copies the Q data packets to obtain Q*P data packets; the Q*P data packets include a third data packet and a fourth data packet; the third data packet is the first A data packet obtained by duplicating the data packet; the fourth data packet is a data packet obtained by duplicating the second data packet; P is greater than 0 and less than M; 所述网络接入装置通过所述M个网络并行向所述目的设备发送所述多个数据包,包括:所述网络接入装置通过所述M个网络中的第m个网络向所述目的设备发送所述第一数据包和所述第四数据包,并通过第n个网络向所述目的设备发送所述第二数据包和所述第三数据包;m与n均为大于0且小于或者等于M的整数,n不等于m。The network access device sending the multiple data packets to the destination device in parallel through the M networks includes: the network access device sending the data packets to the destination device through the m-th network among the M networks The device sends the first data packet and the fourth data packet, and sends the second data packet and the third data packet to the destination device through the nth network; m and n are both greater than 0 and An integer less than or equal to M, and n is not equal to m. 6.根据权利要求1-4任一项所述的方法,其特征在于,所述网络接入装置对所述待传输数据进行预处理,得到处理后的多个数据包,包括:6. The method according to any one of claims 1-4, wherein the network access device preprocesses the data to be transmitted to obtain a plurality of processed data packets, including: 所述网络接入装置将所述待传输数据进行数据分包,得到Q个数据包;Q为大于0的正整数。The network access device divides the data to be transmitted into data packets to obtain Q data packets; Q is a positive integer greater than 0. 7.一种电子设备,包括:处理器,以及与所述处理器通信连接的存储器;7. An electronic device, comprising: a processor, and a memory communicatively connected to the processor; 所述存储器存储计算机执行指令;the memory stores computer-executable instructions; 所述处理器执行所述存储器存储的计算机执行指令,以实现如权利要求1-6中任一项所述的数据传输方法。The processor executes the computer-executed instructions stored in the memory, so as to implement the data transmission method according to any one of claims 1-6. 8.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如权利要求1至6中任一项所述的数据传输方法。8. A computer-readable storage medium, characterized in that, computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are used to implement any one of claims 1 to 6 when executed by a processor. The data transfer method described in the item.
CN202111183784.2A 2021-10-11 2021-10-11 Data transmission method, device and storage medium Active CN113923722B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111183784.2A CN113923722B (en) 2021-10-11 2021-10-11 Data transmission method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111183784.2A CN113923722B (en) 2021-10-11 2021-10-11 Data transmission method, device and storage medium

Publications (2)

Publication Number Publication Date
CN113923722A CN113923722A (en) 2022-01-11
CN113923722B true CN113923722B (en) 2023-06-13

Family

ID=79239170

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111183784.2A Active CN113923722B (en) 2021-10-11 2021-10-11 Data transmission method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113923722B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449672A (en) * 2022-02-09 2022-05-06 上海移远通信技术股份有限公司 Service data transmission method, terminal, wireless access system and storage medium
CN116600268A (en) * 2023-05-17 2023-08-15 中国人民解放军海军工程大学 Self-adaptive service gateway based on ship formation heterogeneous wireless network and control method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0020255A1 (en) * 1979-06-01 1980-12-10 Thomson-Csf Telephone Switching level of an operator for a packet-switched digital data network
CN1425257A (en) * 2000-05-15 2003-06-18 索马网络公司 Communication structure for multiplexed links
CN101052004A (en) * 2007-05-18 2007-10-10 清华大学 Multicast transmission method based on virtual distribution net in network
CN101646205A (en) * 2008-08-05 2010-02-10 华为技术有限公司 Node, method and system for accessing mobile network to public network at high speed
CN101702667A (en) * 2009-11-19 2010-05-05 杭州竞天数码科技有限公司 Multi-channel synchronous working method based on multiple network modes
EP2267950A1 (en) * 2004-06-18 2010-12-29 Agere System Inc. Method and apparatus for per-service fault protection and restoration in a packet network
CN102427589A (en) * 2012-01-01 2012-04-25 洛阳普天通信科技有限公司 Method and system for binding a plurality of wireless networks to transmit large-traffic data
CN111404747A (en) * 2020-03-16 2020-07-10 广东技术师范大学 Method, device and storage medium for parallel processing of adaptive service function chain
CN111491290A (en) * 2020-04-14 2020-08-04 深圳市沃特沃德股份有限公司 Method, device and computer equipment for parallel transmission of network voice and PS domain data
CN112398754A (en) * 2020-11-13 2021-02-23 Oppo广东移动通信有限公司 Data transmission method, device, medium, electronic equipment and network access equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8908523B2 (en) * 2012-04-23 2014-12-09 Apple Inc. Apparatus and methods for improved packet flow mobility

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0020255A1 (en) * 1979-06-01 1980-12-10 Thomson-Csf Telephone Switching level of an operator for a packet-switched digital data network
CN1425257A (en) * 2000-05-15 2003-06-18 索马网络公司 Communication structure for multiplexed links
EP2267950A1 (en) * 2004-06-18 2010-12-29 Agere System Inc. Method and apparatus for per-service fault protection and restoration in a packet network
CN101052004A (en) * 2007-05-18 2007-10-10 清华大学 Multicast transmission method based on virtual distribution net in network
CN101646205A (en) * 2008-08-05 2010-02-10 华为技术有限公司 Node, method and system for accessing mobile network to public network at high speed
CN101702667A (en) * 2009-11-19 2010-05-05 杭州竞天数码科技有限公司 Multi-channel synchronous working method based on multiple network modes
CN102427589A (en) * 2012-01-01 2012-04-25 洛阳普天通信科技有限公司 Method and system for binding a plurality of wireless networks to transmit large-traffic data
CN111404747A (en) * 2020-03-16 2020-07-10 广东技术师范大学 Method, device and storage medium for parallel processing of adaptive service function chain
CN111491290A (en) * 2020-04-14 2020-08-04 深圳市沃特沃德股份有限公司 Method, device and computer equipment for parallel transmission of network voice and PS domain data
CN112398754A (en) * 2020-11-13 2021-02-23 Oppo广东移动通信有限公司 Data transmission method, device, medium, electronic equipment and network access equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CT1 Chairman.C1-180004 "3GPP TSG CT1#108 – agenda at start of meeting".3GPP tsg_ct\WG1_mm-cc-sm_ex-CN1.2018,(第TSGC1_108_Gothenburg期),全文. *

Also Published As

Publication number Publication date
CN113923722A (en) 2022-01-11

Similar Documents

Publication Publication Date Title
US11025686B2 (en) Network call method and apparatus, terminal, and server
US20230176806A1 (en) Screen Projection Display Method and System, Terminal Device, and Storage Medium
WO2014201876A1 (en) Screen sharing method and relevant device, and communications system
CN112835549A (en) Method and device for switching audio output device
US20090029694A1 (en) Control device, mobile communication system, and communication terminal
CN105183276A (en) Method and apparatus for realizing game in chat interface, and and terminal device
US20220253492A1 (en) Method, an apparatus, an electronic device and a storage medium for multimedia information processing
CN111049848B (en) Call method, device, system, server and storage medium
CN113923722B (en) Data transmission method, device and storage medium
CN109697008B (en) Content sharing method, terminal and computer readable storage medium
US9826556B2 (en) Apparatus and method for data transmission and reception of a mobile terminal
CN109542325B (en) Double-sided screen touch method, double-sided screen terminal and readable storage medium
CN108712577A (en) A kind of call mode switching method and terminal device
CN110166439A (en) Collaborative share method, terminal, router and server
CN110531913A (en) Video color ring processing method, communication equipment and computer readable storage medium
US20080254813A1 (en) Control Device, Mobile Communication System, and Communication Terminal
CN109451818B (en) Data transmission method and device
CN114745736A (en) Meta-universe service processing method and device, electronic equipment and storage medium
WO2017020671A1 (en) Video interaction method and apparatus, and video source device
WO2021223157A1 (en) Communication control method and communication control apparatus
JP2021531519A (en) Touch signal processing methods, devices and media
CN113329389B (en) Service providing method, device, equipment and storage medium based on Bluetooth connection
CN114765580B (en) Network acceleration method, device, equipment and storage medium for off-domain network resources
EP3499857B1 (en) Audio data processing method, terminal device, and storage medium
JP2018527765A (en) Method, apparatus, program and recording medium for establishing service connection

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