CN111711580A - Method, device, electronic device and medium for data transmission - Google Patents

Method, device, electronic device and medium for data transmission Download PDF

Info

Publication number
CN111711580A
CN111711580A CN202010394060.1A CN202010394060A CN111711580A CN 111711580 A CN111711580 A CN 111711580A CN 202010394060 A CN202010394060 A CN 202010394060A CN 111711580 A CN111711580 A CN 111711580A
Authority
CN
China
Prior art keywords
transmission
data stream
data
transmission communication
sent
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010394060.1A
Other languages
Chinese (zh)
Inventor
高峥
赵辉
张冰
张�诚
张奭
邱智亮
潘伟涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Hannuo Semiconductor Technology Co ltd
Xidian University
Original Assignee
Beijing Hannuo Semiconductor Technology Co ltd
Xidian University
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 Beijing Hannuo Semiconductor Technology Co ltd, Xidian University filed Critical Beijing Hannuo Semiconductor Technology Co ltd
Priority to CN202010394060.1A priority Critical patent/CN111711580A/en
Publication of CN111711580A publication Critical patent/CN111711580A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0006Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请公开了一种数据发送的方法、装置、电子设备及介质。其中,本申请中,在基于待发送数据流携带的目的地址信息,确定接收设备以及所述接收设备可以使用的传输通信通道集之后,可以将待发送数据流中的数据帧进行封装处理,并从传输通信通道集合中选择第二数量的传输通信通道,第二数量小于等于第一数量,再将待发送数据流切分为第二数量的子数据流,并使用第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。通过应用本申请的技术方案,可以避免由于相关技术中存在的仅利用单一通信信道发送数据流所导致的消息到达不可靠的问题。

Figure 202010394060

The present application discloses a method, apparatus, electronic device and medium for data transmission. Wherein, in this application, after the receiving device and the set of transmission communication channels that can be used by the receiving device are determined based on the destination address information carried by the data stream to be sent, the data frames in the data stream to be sent can be encapsulated, and Select a second number of transmission communication channels from the set of transmission communication channels, where the second number is less than or equal to the first number, and then divide the data stream to be sent into the second number of sub-data streams, and use the second number of transmission channels for Send, where each transmission communication channel is used to send a corresponding sub-data stream. By applying the technical solutions of the present application, the problem of unreliable message arrival caused by only using a single communication channel to send a data stream existing in the related art can be avoided.

Figure 202010394060

Description

数据发送的方法、装置、电子设备及介质Method, device, electronic device and medium for data transmission

技术领域technical field

本申请中涉及通信技术,尤其是一种数据发送的方法、装置、电子设备及介质。The present application relates to communication technology, in particular to a method, apparatus, electronic device and medium for data transmission.

背景技术Background technique

由于通信时代和社会的兴起,利用通信网络系统进行消息的传输已经成为了一种常态。Due to the rise of the communication era and society, the use of communication network systems for message transmission has become the norm.

进一步的,随着网络技术的不断发展,4K、8K视频、网络直播、AR、VR等业务的不断开展,消费者对网络带宽的需求不断加大,具有高带宽、低时延的通信系统是目前的主要研究方向。相关技术中,通常是采用单一信道整体将数据流进行传输的,这样导致了一旦出现用户的数据传输需求量过大时,容易出现数据延迟甚至丢失的问题。Further, with the continuous development of network technology, the continuous development of 4K, 8K video, webcast, AR, VR and other services, consumers' demand for network bandwidth continues to increase, and communication systems with high bandwidth and low latency are The current main research direction. In the related art, a single channel is usually used to transmit the data stream as a whole, which leads to the problem of data delay or even loss easily occurs once the user's data transmission demand is too large.

因此,如何实现一种有效的数据传输方法,成为了本领域人员需要解决的问题。Therefore, how to realize an effective data transmission method has become a problem to be solved by those skilled in the art.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种数据发送的方法、装置、电子设备及介质,本申请实施例用于采用多个传输通信通道,解决相关技术中存在的通信系统中消息传输不可靠的问题。The embodiments of the present application provide a method, an apparatus, an electronic device, and a medium for sending data. The embodiments of the present application are used for using multiple transmission communication channels to solve the problem of unreliable message transmission in a communication system existing in the related art.

其中,根据本申请实施例的一个方面,提供的一种数据发送的方法,其特征在于,包括:Wherein, according to an aspect of the embodiments of the present application, a method for data transmission is provided, which is characterized by comprising:

基于待发送数据流携带的目的地址信息,确定接收设备以及所述接收设备可以使用的传输通信通道集合,其中所述集合包含第一数量的传输通信通道;Determine the receiving device and a set of transmission communication channels that can be used by the receiving device based on the destination address information carried by the data stream to be sent, wherein the set includes a first number of transmission communication channels;

将所述待发送数据流中的数据帧进行封装处理,所述封装处理至少包括对每个所述数据帧添加帧序号,其中所述帧序号在第一时间周期内互不相同,所述第一时间周期大于等于数据流发送的最大传输延迟;Perform encapsulation processing on the data frames in the data stream to be sent, and the encapsulation processing at least includes adding a frame sequence number to each of the data frames, wherein the frame sequence numbers are different from each other in the first time period, and the first time period A time period is greater than or equal to the maximum transmission delay of data stream sending;

从所述传输通信通道集合中选择第二数量的传输通信通道,所述第二数量小于等于第一数量;Selecting a second number of transmission communication channels from the set of transmission communication channels, the second number being less than or equal to the first number;

将所述待发送数据流切分为第二数量的子数据流,并使用所述第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。The to-be-sent data stream is divided into a second number of sub-data streams, and the second number of transmission channels are used for transmission, wherein each transmission communication channel is used to send a corresponding sub-data stream.

可选地,在基于本申请上述方法的另一个实施例中,从所述传输通道集合中选择第二数量的传输通信通道,包括:Optionally, in another embodiment based on the above method of the present application, selecting a second number of transmission communication channels from the set of transmission channels includes:

基于所述集合中每个传输通信通道的信道参数,获取每个传输通信通道的传输速率,并根据传输速率的排序从所述集合中选择出第二数量的传输通信通道;或者,Based on the channel parameters of each transmission communication channel in the set, obtain the transmission rate of each transmission communication channel, and select a second number of transmission communication channels from the set according to the order of transmission rates; or,

基于所述集合中每个传输通信通道的业务参数,获取每个传输通信通道的业务负载,并根据业务负载的排序从所述集合中选择出第二数量的传输通信通道。Based on the service parameters of each transmission communication channel in the set, the service load of each transmission communication channel is acquired, and a second number of transmission communication channels are selected from the set according to the sorting of the service load.

可选地,在基于本申请上述方法的另一个实施例中,将所述待发送数据流切分为第二数量的子数据流,包括:Optionally, in another embodiment based on the above method of the present application, dividing the to-be-sent data stream into a second number of sub-data streams, including:

基于第二数量的传输通信通道的传输速率或业务负载,确定所述待发送数据流的切分比例,所述切分比例用于确定每个子数据流大小。Based on the transmission rate or the service load of the second number of transmission communication channels, the division ratio of the data stream to be sent is determined, and the division ratio is used to determine the size of each sub-data stream.

可选地,在基于本申请上述方法的另一个实施例中,在将所述待发送数据流切分为第二数量的子数据流,并使用所述第二数量的传输通道进行发送之后,还包括:Optionally, in another embodiment based on the above method of the present application, after dividing the data stream to be sent into a second number of sub-data streams, and using the second number of transmission channels for sending, Also includes:

当接收设备接收到所述第二数量的子数据流时,基于每个子数据流对应的帧序号,将所述第二数量的子数据流进行排序,整合为目标数据流。When the receiving device receives the second number of sub-data streams, it sorts the second number of sub-data streams based on the frame sequence number corresponding to each sub-data stream, and integrates them into a target data stream.

可选地,在基于本申请上述方法的另一个实施例中,所述目标通信网络为同轴电缆接入网络HINOC。Optionally, in another embodiment based on the above method of the present application, the target communication network is a coaxial cable access network HINOC.

可选地,在基于本申请上述方法的另一个实施例中,所述传输通信通道为物理层PHY通信通道。Optionally, in another embodiment based on the above method of the present application, the transmission communication channel is a physical layer PHY communication channel.

根据本申请实施例的另一个方面,提供的一种通信模式选择装置,包括:According to another aspect of the embodiments of the present application, a communication mode selection apparatus is provided, including:

发送模块,被设置为基于待发送数据流携带的目的地址信息,确定接收设备以及所述接收设备可以使用的传输通信通道集合,其中所述集合包含第一数量的传输通信通道;a sending module, configured to determine a receiving device and a set of transmission communication channels that can be used by the receiving device based on the destination address information carried by the data stream to be sent, wherein the set includes a first number of transmission communication channels;

处理模块,被设置为将所述待发送数据流中的数据帧进行封装处理,所述封装处理至少包括对每个所述数据帧添加帧序号,其中所述帧序号在第一时间周期内互不相同,所述第一时间周期大于等于数据流发送的最大传输延迟;The processing module is configured to perform encapsulation processing on the data frames in the data stream to be sent, and the encapsulation processing at least includes adding a frame sequence number to each of the data frames, wherein the frame sequence numbers are mutually within the first time period. If they are not the same, the first time period is greater than or equal to the maximum transmission delay for sending the data stream;

选择模块,被设置为从所述传输通信通道集合中选择第二数量的传输通信通道,所述第二数量小于等于第一数量;a selection module, configured to select a second number of transmission communication channels from the set of transmission communication channels, the second number being less than or equal to the first number;

切分模块,被设置为将所述待发送数据流切分为第二数量的子数据流,并使用所述第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。The splitting module is configured to split the data stream to be sent into a second number of sub-data streams, and use the second number of transmission channels for transmission, wherein each transmission communication channel is used to send a corresponding sub data stream.

根据本申请实施例的又一个方面,提供的一种电子设备,包括:According to yet another aspect of the embodiments of the present application, an electronic device is provided, comprising:

存储器,用于存储可执行指令;以及memory for storing executable instructions; and

显示器,用于与所述存储器显示以执行所述可执行指令从而完成上述任一所述数据发送的方法的操作。A display is used for displaying with the memory to execute the executable instructions so as to complete the operation of any one of the above data sending methods.

根据本申请实施例的还一个方面,提供的一种计算机可读存储介质,用于存储计算机可读取的指令,所述指令被执行时执行上述任一所述数据发送的方法的操作。According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, which is used for storing computer-readable instructions, and when the instructions are executed, the operations of any of the foregoing data sending methods are performed.

本申请中,在基于待发送数据流携带的目的地址信息,确定接收设备以及所述接收设备可以使用的传输通信通道集之后,可以将待发送数据流中的数据帧进行封装处理,并从传输通信通道集合中选择第二数量的传输通信通道,第二数量小于等于第一数量,再将待发送数据流切分为第二数量的子数据流,并使用第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。通过应用本申请的技术方案,可以在将通信网络中的待发送数据流进行发送之前,首先确定通信系统中多个传输通信信道,并将该待发送数据流在分别标注唯一帧序号之后利用该多个通信信道进行传输发送。进而避免由于相关技术中存在的仅利用单一通信信道发送数据流所导致的消息到达不可靠的问题。In this application, after the receiving device and the set of transmission communication channels that can be used by the receiving device are determined based on the destination address information carried by the data stream to be sent, the data frames in the data stream to be sent can be encapsulated and processed from the transmission Select a second number of transmission communication channels in the communication channel set, the second number is less than or equal to the first number, and then divide the data stream to be sent into the second number of sub-data streams, and use the second number of transmission channels for transmission, Each of the transmission communication channels is used to send a corresponding sub-data stream. By applying the technical solutions of the present application, before sending the data stream to be sent in the communication network, it is possible to first determine a plurality of transmission communication channels in the communication system, and use the Multiple communication channels are used for transmission and transmission. In this way, the problem of unreliable message arrival caused by only using a single communication channel to send a data stream existing in the related art is avoided.

下面通过附图和实施例,对本申请的技术方案做进一步的详细描述。The technical solutions of the present application will be described in further detail below through the accompanying drawings and embodiments.

附图说明Description of drawings

构成说明书的一部分的附图描述了本申请的实施例,并且连同描述一起用于解释本申请的原理。The accompanying drawings, which form a part of the specification, illustrate embodiments of the application and together with the description serve to explain the principles of the application.

参照附图,根据下面的详细描述,可以更加清楚地理解本申请,其中:The present application may be more clearly understood from the following detailed description with reference to the accompanying drawings, wherein:

图1为本申请提出的一种数据发送的方法的示意图;1 is a schematic diagram of a method for data transmission proposed by this application;

图2为本申请提出的HINOC数据发送的的系统架构示意图;2 is a schematic diagram of the system architecture of the HINOC data transmission proposed by this application;

图3为本申请提出的数据发送的方法流程示意图;3 is a schematic flowchart of a method for data transmission proposed by the present application;

图4为本申请通信模式选择装置的结构示意图;4 is a schematic structural diagram of a communication mode selection device of the present application;

图5为本申请显示电子设备结构示意图。FIG. 5 is a schematic diagram showing the structure of an electronic device according to the present application.

具体实施方式Detailed ways

现在将参照附图来详细描述本申请的各种示例性实施例。应注意到:除非另外具体说明,否则在这些实施例中阐述的部件和步骤的相对布置、数字表达式和数值不限制本申请的范围。Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.

同时,应当明白,为了便于描述,附图中所示出的各个部分的尺寸并不是按照实际的比例关系绘制的。Meanwhile, it should be understood that, for the convenience of description, the dimensions of various parts shown in the accompanying drawings are not drawn in an actual proportional relationship.

以下对至少一个示例性实施例的描述实际上仅仅是说明性的,不作为对本申请及其应用或使用的任何限制。The following description of at least one exemplary embodiment is merely illustrative in nature and is not intended to limit the application or its application or uses in any way.

对于相关领域普通技术人员已知的技术、方法和设备可能不作详细讨论,但在适当情况下,所述技术、方法和设备应当被视为说明书的一部分。Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail, but where appropriate, such techniques, methods, and apparatus should be considered part of the specification.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步讨论。It should be noted that like numerals and letters refer to like items in the following figures, so once an item is defined in one figure, it does not require further discussion in subsequent figures.

另外,本申请各个实施例之间的技术方案可以相互结合,但是必须是以本领域普通技术人员能够实现为基础,当技术方案的结合出现相互矛盾或无法实现时应当认为这种技术方案的结合不存在,也不在本申请要求的保护范围之内。In addition, the technical solutions between the various embodiments of the present application can be combined with each other, but must be based on the realization by those of ordinary skill in the art. When the combination of technical solutions is contradictory or cannot be realized, it should be considered that the combination of technical solutions does not exist and is not within the scope of protection claimed in this application.

需要说明的是,本申请实施例中所有方向性指示(诸如上、下、左、右、前、后……)仅用于解释在某一特定姿态(如附图所示)下各部件之间的相对位置关系、运动情况等,如果该特定姿态发生改变时,则该方向性指示也相应地随之改变。It should be noted that all directional indications (such as up, down, left, right, front, back...) in the embodiments of the present application are only used to explain the relationship between the various components under a certain posture (as shown in the drawings). If the specific posture changes, the directional indication also changes accordingly.

下面结合图1-图3来描述根据本申请示例性实施方式的用于进行数据发送的方法。需要注意的是,下述应用场景仅是为了便于理解本申请的精神和原理而示出,本申请的实施方式在此方面不受任何限制。相反,本申请的实施方式可以应用于适用的任何场景。A method for data transmission according to an exemplary embodiment of the present application will be described below with reference to FIG. 1 to FIG. 3 . It should be noted that the following application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, the embodiments of the present application can be applied to any scenario where applicable.

本申请还提出一种数据发送的方法、装置、目标终端及介质。The present application also provides a method, device, target terminal and medium for data transmission.

图1示意性地示出了根据本申请实施方式的一种数据发送的方法的流程示意图。如图1所示,该方法包括:FIG. 1 schematically shows a schematic flowchart of a method for sending data according to an embodiment of the present application. As shown in Figure 1, the method includes:

S101,基于待发送数据流携带的目的地址信息,确定接收设备以及接收设备可以使用的传输通信通道集合,其中集合包含第一数量的传输通信通道。S101. Determine, based on destination address information carried by a data stream to be sent, a receiving device and a set of transmission communication channels that can be used by the receiving device, where the set includes a first number of transmission communication channels.

需要说明的是,本申请不对使用本申请所述的数据发送方法的通信网络进行限定,即可以为任意的通信网络。在一种可能的实施方式中,通信网络可以为高性能同轴电缆接入网(HINOC)。HINOC是一种利用同轴电缆信道实现网络通信的技术,协议栈如图2所示,包括物理层(PHY层)和媒体接入控制层(MAC层)两部分的技术细节。PHY层定义了的HINOC信号传输模式,MAC层实现了HINOC系统中的媒体接入控制和业务适配功能。It should be noted that this application does not limit the communication network using the data transmission method described in this application, that is, any communication network can be used. In one possible implementation, the communication network may be a High Performance Access Network over Coax (HINOC). HINOC is a technology that utilizes the coaxial cable channel to realize network communication. The protocol stack is shown in Figure 2, including the technical details of the physical layer (PHY layer) and the medium access control layer (MAC layer). The PHY layer defines the HINOC signal transmission mode, and the MAC layer implements the media access control and service adaptation functions in the HINOC system.

通信网络可以采用信道绑定的方法实现带宽的提升,即在原有单信道数字通信的基础上,用多信道绑定的方式增大带宽,实现通信速率的提升。然而目前并没有适用于HINOC网络系统的多传输通信通道发送数据的机制。本申请提出的数据发送方法可以解决上述问题。The communication network can use the method of channel bonding to improve the bandwidth, that is, on the basis of the original single-channel digital communication, the bandwidth is increased by the method of multi-channel bonding, and the communication rate is improved. However, there is currently no mechanism for sending data through multiple transmission communication channels applicable to the HINOC network system. The data sending method proposed in this application can solve the above problems.

基于所述待发送数据流的目的地址信息,例如MAC地址,可以确定数据流的接收设备,即确定待发送数据流发往哪一个终端;根据所述终端,确定所述终端可以使用的传输通信通道集合。在采用多信道绑定的HINOC系统中,终端设备同时在多个传输通信通道上进行数据传输。所述传输通信通道集合包含了局端和所述终端所有可以通信的通道。Based on the destination address information of the data stream to be sent, such as the MAC address, the receiving device of the data stream can be determined, that is, the terminal to which the data stream to be sent is sent; according to the terminal, the transmission communication that can be used by the terminal can be determined channel collection. In the HINOC system using multi-channel bonding, the terminal equipment simultaneously transmits data on multiple transmission communication channels. The set of transmission communication channels includes all channels that can communicate between the central office and the terminal.

另外,本申请中的待发送数据流可以为多种类型的消息,例如可以包括宽带数据流、视频数据流、音频数据流或管理数据流等。In addition, the data stream to be sent in this application may be various types of messages, for example, may include a broadband data stream, a video data stream, an audio data stream, or a management data stream, and the like.

还需要说明的是,本申请不对待发送数据流的数量做具体限定,例如可以为一个,也可以为多个。It should also be noted that this application does not specifically limit the number of data streams to be sent, for example, it may be one or multiple.

还需要说明的是,本申请中的数据发送方法即适用于下行数据流的发送,同时也适用于上行数据流的发送。本申请实施例中以下行数据流的发送为例,此时局端设备为待发送数据流的发送方,终端设备为待发送数据流的接收方。It should also be noted that the data sending method in the present application is applicable to both the sending of the downstream data stream and the sending of the upstream data stream. In the embodiment of the present application, the sending of the downlink data stream is taken as an example, in this case, the central office device is the sender of the data stream to be sent, and the terminal device is the receiver of the data stream to be sent.

S102,将所述待发送数据流中的数据帧进行封装处理,所述封装处理至少包括对每个所述数据帧添加帧序号,其中所述帧序号在第一时间周期内互不相同,所述第一时间周期大于等于数据流发送的最大传输延迟。S102: Perform encapsulation processing on the data frames in the data stream to be sent, the encapsulation processing at least includes adding a frame sequence number to each of the data frames, wherein the frame sequence numbers are different from each other in the first time period, so The first time period is greater than or equal to the maximum transmission delay for sending the data stream.

本申请中,待发送数据流将通过多个传输通信通道发送,由于每个传输通信通道的传输速率各不相同,因此被切分后的待发送数据流到对端终端设备的时间早晚也不相同。因此为了解决每个子数据流到达终端设备时乱序的问题,本申请将待发送数据流对应的每个数据帧分别标注对应的帧序号,其中各个帧序号在最大传输延迟的时间段内互不相同。这样在子数据流传输至终端时,可以依据各个数据帧对应的帧序号,将乱序的数据帧完整还原为待发送数据流。In this application, the data stream to be sent will be sent through multiple transmission communication channels. Since the transmission rate of each transmission communication channel is different, the time of the split data stream to be sent to the peer terminal device will not be the same sooner or later. same. Therefore, in order to solve the problem of out-of-order when each sub-data stream arrives at the terminal device, the present application marks each data frame corresponding to the data stream to be sent with the corresponding frame sequence number, wherein the frame sequence numbers are different from each other within the time period of the maximum transmission delay. same. In this way, when the sub-data stream is transmitted to the terminal, the out-of-order data frame can be completely restored to the data stream to be sent according to the frame sequence number corresponding to each data frame.

S103,从所述传输通信通道集合中选择第二数量的传输通信通道,所述第二数量小于等于第一数量。S103. Select a second number of transmission communication channels from the set of transmission communication channels, where the second number is less than or equal to the first number.

所述传输通信通道集合中传输通信通道并非完全适用于当前所述待发送数据流的发送,其原因有很多种,例如:传输通信通道的信道参数变化,导致通道的传输速率较低;或者,传输通信通道上其他数据流的传输任务过多,导致通道的业务负载较大;或者,所述待发送数据流自身的服务质量(QoS)要求对传输通道有特定要求。The transmission communication channel in the transmission communication channel set is not completely suitable for the sending of the current data stream to be sent, there are many reasons, for example: the channel parameter of the transmission communication channel changes, resulting in a lower transmission rate of the channel; or, There are too many transmission tasks for other data streams on the transmission communication channel, resulting in a heavy traffic load on the channel; or, the quality of service (QoS) requirement of the data stream to be sent itself has specific requirements on the transmission channel.

针对上述问题,本申请所述的方法将对所述传输通信通道集合进行筛选,选择出第二数量的传输通信通道,其中,筛选策略可以有多种。In view of the above problems, the method described in this application will screen the set of transmission communication channels, and select a second number of transmission communication channels, wherein there may be multiple screening strategies.

可选的,在本申请一种可能的实施方式中,可以基于所述集合中每个传输通信通道的信道参数,获取每个传输通信通道的传输速率,并根据传输速率的排序从所述集合中选择出第二数量的传输通信通道;或者,Optionally, in a possible implementation manner of the present application, the transmission rate of each transmission communication channel may be acquired based on the channel parameters of each transmission communication channel in the set, and the transmission rate may be sorted from the set according to the order of the transmission rate. selects a second number of transmission communication channels; or,

可选的,在本申请又一种可能的实施方式中,基于所述集合中每个传输通信通道的业务参数,获取每个传输通信通道的业务负载,并根据业务负载的排序从所述集合中选择出第二数量的传输通信通道。Optionally, in another possible implementation manner of the present application, based on the service parameters of each transmission communication channel in the set, the service load of each transmission communication channel is acquired, and the service load is sorted from the set according to the order of the service load. A second number of transmission communication channels are selected.

S104,将所述待发送数据流切分为第二数量的子数据流,并使用所述第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。S104: Divide the data stream to be sent into a second number of sub-data streams, and use the second number of transmission channels to send, wherein each transmission communication channel is used to send a corresponding sub-data stream.

子数据流的切分比例可以采用多种策略,例如将所述待发送数据流均为切分为第二数量的子数据量。可选的,在本申请又一种可能的实施方式中,可以基于第二数量的传输通信通道的传输速率或业务负载,确定所述待发送数据流的切分比例。The division ratio of the sub-data stream may adopt various strategies, for example, the data stream to be sent is divided into the second amount of sub-data. Optionally, in another possible implementation manner of the present application, the split ratio of the data stream to be sent may be determined based on the transmission rate or service load of the second number of transmission communication channels.

需要说明的是,在本申请的一种可能的实施例中,传输通信通道可以为HINOC通信网络中的物理层PHY通信通道。每个子数据流在各自对应的物理层PHY通信通道内完成基带调制处理过程和射频处理过程,所述基带调制处理包括以下一项:交织、纠错编码、星座映射和OFDM调制;所述射频处理过程至少包括以下一项:载波调制、功率放大。It should be noted that, in a possible embodiment of the present application, the transmission communication channel may be a physical layer PHY communication channel in a HINOC communication network. Each sub-data stream completes baseband modulation processing and radio frequency processing in its corresponding physical layer PHY communication channel. The baseband modulation processing includes the following items: interleaving, error correction coding, constellation mapping and OFDM modulation; the radio frequency processing The process includes at least one of the following: carrier modulation, power amplification.

进一步的,当终端设备接收到所述第二数量的子数据流时,基于每个子数据流对应的帧序号,将所述第二数量的子数据流进行排序,整合为目标数据流。Further, when the terminal device receives the second number of sub-data streams, it sorts the second number of sub-data streams based on the frame sequence number corresponding to each sub-data stream, and integrates them into a target data stream.

本申请中,在确定第一数量的传输通信通道之后,即可以将该待发送数据流通过该多个传输通信通道进行传输发送,这样即可以避免相关技术中存在的仅使用单一通信信道发送信息的弊端。In this application, after the first number of transmission communication channels is determined, the data stream to be sent can be transmitted and sent through the plurality of transmission communication channels, so as to avoid the problem of only using a single communication channel to send information in the related art disadvantages.

进一步可选的,本申请在S103(从传输通信通道集合中选择第二数量的传输通信通道)中,包括如下步骤:Further optionally, in S103 (selecting a second number of transmission communication channels from the set of transmission communication channels), the present application includes the following steps:

基于集合中每个传输通信通道的信道参数,获取每个传输通信通道的传输速率,并根据传输速率的排序从集合中选择出第二数量的传输通信通道;或者,基于集合中每个传输通信通道的业务参数,获取每个传输通信通道的业务负载,并根据业务负载的排序从集合中选择出第二数量的传输通信通道。Based on the channel parameters of each transmission communication channel in the set, obtain the transmission rate of each transmission communication channel, and select a second number of transmission communication channels from the set according to the order of the transmission rate; or, based on each transmission communication channel in the set The service parameters of the channel are used to obtain the service load of each transmission communication channel, and a second number of transmission communication channels are selected from the set according to the sorting of the service load.

进一步可选的,本申请在S103(将待发送数据流切分为第二数量的子数据流)中,包括如下步骤:Further optionally, in S103 (slicing the data stream to be sent into a second number of sub-data streams), the present application includes the following steps:

基于第二数量的传输通信通道的传输速率或业务负载,确定待发送数据流的切分比例,切分比例用于确定每个子数据流大小。Based on the transmission rate or service load of the second number of transmission communication channels, the split ratio of the data stream to be sent is determined, and the split ratio is used to determine the size of each sub-data stream.

进一步的,本申请在将待发送数据流切分为第二数量的子数据流,并使用第二数量的传输通道进行发送之后,还包括:Further, after the data stream to be sent is divided into a second number of sub-data streams and sent using the second number of transmission channels, the present application further includes:

当接收设备接收到第二数量的子数据流时,基于每个子数据流对应的帧序号,将第二数量的子数据流进行排序,整合为目标数据流。When the receiving device receives the second number of sub-data streams, it sorts the second number of sub-data streams based on the frame sequence numbers corresponding to each of the sub-data streams, and integrates them into a target data stream.

其中需要说明的是,本申请中的传输通信通道可以为HINOC通信网络中的物理层PHY通信通道。It should be noted that the transmission communication channel in this application may be a physical layer PHY communication channel in the HINOC communication network.

本申请中,由于每个传输通信通道的传输速率各不相同,因此被切分后的待发送数据流到对端终端设备的时间早晚也不相同。因此为了避免出现每份子数据流到达终端设备时,其无法聚合成原始视频流的弊端。本申请为了进一步的保证数据流的准确到达,可以将待发送数据流对应的每个数据帧分别标注对应的唯一帧序号,其中各个唯一帧序号为互不相同的帧序号。这样在数据流在打散的情况下传输至终端时,可以依据各个数据帧对应的唯一帧序号,将打散的数据流完整还原为待发送数据流。In this application, since the transmission rate of each transmission communication channel is different, the time of the split data stream to be sent to the opposite terminal device is also different sooner or later. Therefore, in order to avoid the disadvantage that each sub-data stream cannot be aggregated into the original video stream when it reaches the terminal device. In order to further ensure the accurate arrival of the data stream in the present application, each data frame corresponding to the data stream to be sent may be marked with a corresponding unique frame sequence number, wherein each unique frame sequence number is a frame sequence number that is different from each other. In this way, when the data stream is smashed and transmitted to the terminal, the smashed data stream can be completely restored to the data stream to be sent according to the unique frame sequence number corresponding to each data frame.

如图3所示,以目标通信网络为HINOC通信网络,传输通信通道为PHY通道,且数量为M个为例进行举例说明:As shown in Figure 3, the target communication network is the HINOC communication network, the transmission communication channel is the PHY channel, and the number is M as an example to illustrate:

本申请可以在检测到当前存在待发送数据流时,利用接收该数据流的终端配置终端的PHY通道并分配带宽,如终端1工作在PHY1和PHY2通道,终端2工作在PHY3通道;数据流进入发射机后,根据MAC地址判断该数据流进入终端1的队列Q1还是终端2的队列Q2;在发射端,PHY1到PHY4分别给出通信通道参数(PHY通道ID号、通道之间传输速率等),并基于各个通信通道参数,确定M个传输通信通道(分别为PHY1、PHY2、PHY3、PHYM)。再依次从MAC存储队列中取出PHY1到PHYM需要的数据帧,发送到各个PHY通道中并利用该各个本申请中,在基于待发送数据流携带的目的地址信息,确定接收设备以及所述接收设备可以使用的传输通信通道集之后,可以将待发送数据流中的数据帧进行封装处理,并从传输通信通道集合中选择第二数量的传输通信通道,第二数量小于等于第一数量,再将待发送数据流切分为第二数量的子数据流,并使用第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。通过应用本申请的技术方案,可以在将通信网络中的待发送数据流进行发送之前,首先确定通信系统中多个传输通信信道,并将该待发送数据流在分别标注唯一帧序号之后利用该多个通信信道进行传输发送。进而避免由于相关技术中存在的仅利用单一通信信道发送数据流所导致的消息到达不可靠的问题。The present application can use the terminal receiving the data stream to configure the PHY channel of the terminal and allocate bandwidth when it is detected that there is currently a data stream to be sent, for example, terminal 1 works on the PHY1 and PHY2 channels, and terminal 2 works on the PHY3 channel; the data stream enters After the transmitter, judge whether the data stream enters the queue Q1 of terminal 1 or the queue Q2 of terminal 2 according to the MAC address; at the transmitter, PHY1 to PHY4 respectively give the communication channel parameters (PHY channel ID number, transmission rate between channels, etc.) , and M transmission communication channels (respectively PHY1, PHY2, PHY3, and PHYM) are determined based on the parameters of each communication channel. Then, take out the data frames required by PHY1 to PHYM from the MAC storage queue in turn, send them to each PHY channel, and use each of the data frames in this application to determine the receiving device and the receiving device based on the destination address information carried by the data stream to be sent. After the set of transmission communication channels that can be used, the data frames in the data stream to be sent can be encapsulated, and a second number of transmission communication channels can be selected from the set of transmission communication channels, where the second number is less than or equal to the first number, and then The data stream to be sent is divided into a second number of sub-data streams, and sent using the second number of transmission channels, wherein each transmission communication channel is used to send a corresponding sub-data stream. By applying the technical solutions of the present application, before sending the data stream to be sent in the communication network, it is possible to first determine a plurality of transmission communication channels in the communication system, and use the Multiple communication channels are used for transmission and transmission. In this way, the problem of unreliable message arrival caused by only using a single communication channel to send a data stream existing in the related art is avoided.

传输通信通道,将对应的数据帧进行传输。需要注意的是,在数据接收端,本申请可以对接收到的多个子数据流进行重新排序后在得到原始的待发送数据流。The transmission communication channel transmits the corresponding data frame. It should be noted that, at the data receiving end, the present application can obtain the original data stream to be sent after reordering the received multiple sub-data streams.

在本申请的另外一种实施方式中,如图4所示,本申请还提供一种通信模式选择装置。其中,该装置包括发送模块301,处理模块302,选择模块303,切分模块304,其中,In another embodiment of the present application, as shown in FIG. 4 , the present application further provides a communication mode selection apparatus. The device includes a sending module 301, a processing module 302, a selection module 303, and a segmentation module 304, wherein,

发送模块301,被设置为基于待发送数据流携带的目的地址信息,确定接收设备以及所述接收设备可以使用的传输通信通道集合,其中所述集合包含第一数量的传输通信通道;The sending module 301 is configured to determine a receiving device and a set of transmission communication channels that can be used by the receiving device based on the destination address information carried by the data stream to be sent, wherein the set includes a first number of transmission communication channels;

处理模块302,被设置为将所述待发送数据流中的数据帧进行封装处理,所述封装处理至少包括对每个所述数据帧添加帧序号,其中所述帧序号在第一时间周期内互不相同,所述第一时间周期大于等于数据流发送的最大传输延迟;The processing module 302 is configured to perform encapsulation processing on the data frames in the data stream to be sent, and the encapsulation processing at least includes adding a frame sequence number to each of the data frames, wherein the frame sequence number is within a first time period are different from each other, and the first time period is greater than or equal to the maximum transmission delay for sending the data stream;

选择模块303,被设置为从所述传输通信通道集合中选择第二数量的传输通信通道,所述第二数量小于等于第一数量;The selection module 303 is configured to select a second number of transmission communication channels from the set of transmission communication channels, where the second number is less than or equal to the first number;

切分模块304,被设置为将所述待发送数据流切分为第二数量的子数据流,并使用所述第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。The splitting module 304 is configured to split the data stream to be sent into a second number of sub-data streams, and use the second number of transmission channels for transmission, wherein each transmission communication channel is used to send a copy of the corresponding sub-data stream.

本申请中,在基于待发送数据流携带的目的地址信息,确定接收设备以及所述接收设备可以使用的传输通信通道集之后,可以将待发送数据流中的数据帧进行封装处理,并从传输通信通道集合中选择第二数量的传输通信通道,第二数量小于等于第一数量,再将待发送数据流切分为第二数量的子数据流,并使用第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。通过应用本申请的技术方案,可以在将通信网络中的待发送数据流进行发送之前,首先确定通信系统中多个传输通信信道,并将该待发送数据流在分别标注唯一帧序号之后利用该多个通信信道进行传输发送。进而避免由于相关技术中存在的仅利用单一通信信道发送数据流所导致的消息到达不可靠的问题。In this application, after the receiving device and the set of transmission communication channels that can be used by the receiving device are determined based on the destination address information carried by the data stream to be sent, the data frames in the data stream to be sent can be encapsulated and processed from the transmission Select a second number of transmission communication channels in the communication channel set, the second number is less than or equal to the first number, and then divide the data stream to be sent into the second number of sub-data streams, and use the second number of transmission channels for transmission, Each of the transmission communication channels is used to send a corresponding sub-data stream. By applying the technical solutions of the present application, before sending the data stream to be sent in the communication network, it is possible to first determine a plurality of transmission communication channels in the communication system, and use the Multiple communication channels are used for transmission and transmission. In this way, the problem of unreliable message arrival caused by only using a single communication channel to send a data stream existing in the related art is avoided.

在本申请的另一种实施方式中,还包括:选择模块303,其中:In another embodiment of the present application, it further includes: a selection module 303, wherein:

选择模块303,被配置为基于所述集合中每个传输通信通道的信道参数,获取每个传输通信通道的传输速率,并根据传输速率的排序从所述集合中选择出第二数量的传输通信通道;或者,The selection module 303 is configured to obtain the transmission rate of each transmission communication channel based on the channel parameters of each transmission communication channel in the set, and select a second quantity of transmission communication from the set according to the order of transmission rates channel; or,

选择模块303,被配置为基于所述集合中每个传输通信通道的业务参数,获取每个传输通信通道的业务负载,并根据业务负载的排序从所述集合中选择出第二数量的传输通信通道。The selection module 303 is configured to obtain the service load of each transmission communication channel based on the service parameters of each transmission communication channel in the set, and select a second quantity of transmission communication from the set according to the sorting of the service load aisle.

在本申请的另一种实施方式中,选择模块303,还包括:In another embodiment of the present application, the selection module 303 further includes:

选择模块303,被配置为基于第二数量的传输通信通道的传输速率或业务负载,确定所述待发送数据流的切分比例,所述切分比例用于确定每个子数据流大小。The selection module 303 is configured to determine a division ratio of the data stream to be sent based on the transmission rate or the service load of the second number of transmission communication channels, where the division ratio is used to determine the size of each sub-data stream.

在本申请的另一种实施方式中,选择模块303,还包括:In another embodiment of the present application, the selection module 303 further includes:

确定模块304,被配置为当接收设备接收到所述第二数量的子数据流时,基于每个子数据流对应的帧序号,将所述第二数量的子数据流进行排序,整合为目标数据流。The determining module 304 is configured to, when the receiving device receives the second number of sub-data streams, sort the second number of sub-data streams based on the frame sequence number corresponding to each sub-data stream, and integrate them into target data flow.

在本申请的另一种实施方式中,所述目标通信网络为同轴电缆接入网络HINOC。In another embodiment of the present application, the target communication network is a coaxial cable access network HINOC.

在本申请的另一种实施方式中,还包括,所述传输通信通道为物理层PHY通信通道。In another embodiment of the present application, it further includes that the transmission communication channel is a physical layer PHY communication channel.

图5是根据一示例性实施例示出的一种电子设备的逻辑结构框图。例如,电子设备400可以是移动电话,计算机,数字广播终端,消息收发设备等。Fig. 5 is a block diagram of a logical structure of an electronic device according to an exemplary embodiment. For example, electronic device 400 may be a mobile phone, computer, digital broadcast terminal, messaging device, or the like.

参照图5,电子设备400可以包括以下一个或多个组件:处理器401和存储器402。Referring to FIG. 5 , an electronic device 400 may include one or more of the following components: a processor 401 and a memory 402 .

处理器401可以包括一个或多个处理核心,比如4核心处理器、8核心处理器等。处理器401可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器401也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central ProcessingUnit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器401可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器401还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 401 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. The processor 401 may use at least one hardware form of DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), and PLA (Programmable Logic Array, programmable logic array). accomplish. The processor 401 may also include a main processor and a coprocessor. The main processor is a processor used to process data in a wake-up state, also called a CPU (Central Processing Unit, central processing unit); A low-power processor for processing data in a standby state. In some embodiments, the processor 401 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content that needs to be displayed on the display screen. In some embodiments, the processor 401 may further include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.

存储器402可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器402还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器402中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器401所执行以实现本申请中方法实施例提供的互动特效标定方法。Memory 402 may include one or more computer-readable storage media, which may be non-transitory. Memory 402 may also include high-speed random access memory, as well as non-volatile memory, such as one or more disk storage devices, flash storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 402 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 401 to realize the interactive special effects provided by the method embodiments in this application. Calibration method.

在一些实施例中,电子设备400还可选包括有:外围设备接口403和至少一个外围设备。处理器401、存储器402和外围设备接口403之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口403相连。具体地,外围设备包括:射频电路404和电源405中的至少一种。In some embodiments, the electronic device 400 may optionally further include: a peripheral device interface 403 and at least one peripheral device. The processor 401, the memory 402 and the peripheral device interface 403 may be connected through a bus or a signal line. Each peripheral device can be connected to the peripheral device interface 403 through a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 404 and a power supply 405 .

外围设备接口403可被用于将I/O(Input/Output,输入/输出)相关的至少一个外围设备连接到处理器401和存储器402。在一些实施例中,处理器401、存储器402和外围设备接口403被集成在同一芯片或电路板上;在一些其他实施例中,处理器401、存储器402和外围设备接口403中的任意一个或两个可以在单独的芯片或电路板上实现,本实施例对此不加以限定。The peripheral device interface 403 may be used to connect at least one peripheral device related to I/O (Input/Output) to the processor 401 and the memory 402 . In some embodiments, processor 401, memory 402, and peripherals interface 403 are integrated on the same chip or circuit board; in some other embodiments, any one of processor 401, memory 402, and peripherals interface 403 or The two can be implemented on a separate chip or circuit board, which is not limited in this embodiment.

射频电路404用于接收和发射RF(Radio Frequency,射频)信号,也称电磁信号。射频电路404通过电磁信号与通信网络以及其他通信设备进行通信。射频电路404将电信号转换为电磁信号进行发送,或者,将接收到的电磁信号转换为电信号。可选地,射频电路404包括:天线系统、RF收发器、一个或多个放大器、调谐器、振荡器、数字信号处理器、编解码芯片组、用户身份模块卡等等。射频电路404可以通过至少一种无线通信协议来与其它终端进行通信。该无线通信协议包括但不限于:城域网、各代移动通信网络(2G、3G、4G及5G)、无线局域网和/或WiFi(Wireless Fidelity,无线保真)网络。在一些实施例中,射频电路404还可以包括NFC(Near Field Communication,近距离无线通信)有关的电路,本申请对此不加以限定。The radio frequency circuit 404 is used for receiving and transmitting RF (Radio Frequency, radio frequency) signals, also called electromagnetic signals. The radio frequency circuit 404 communicates with the communication network and other communication devices via electromagnetic signals. The radio frequency circuit 404 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals into electrical signals. Optionally, the radio frequency circuit 404 includes an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and the like. The radio frequency circuit 404 may communicate with other terminals through at least one wireless communication protocol. The wireless communication protocols include, but are not limited to, metropolitan area networks, mobile communication networks of various generations (2G, 3G, 4G and 5G), wireless local area networks and/or WiFi (Wireless Fidelity, wireless fidelity) networks. In some embodiments, the radio frequency circuit 404 may further include a circuit related to NFC (Near Field Communication, short-range wireless communication), which is not limited in this application.

电源405用于为电子设备400中的各个组件进行供电。电源405可以是交流电、直流电、一次性电池或可充电电池。当电源405包括可充电电池时,该可充电电池可以支持有线充电或无线充电。该可充电电池还可以用于支持快充技术。Power supply 405 is used to power various components in electronic device 400 . The power source 405 may be alternating current, direct current, disposable batteries, or rechargeable batteries. When the power source 405 includes a rechargeable battery, the rechargeable battery can support wired charging or wireless charging. The rechargeable battery can also be used to support fast charging technology.

本领域技术人员可以理解,图5中示出的结构并不构成对电子设备400的限定,可以包括比图示更多或更少的组件,或者组合某些组件,或者采用不同的组件布置。Those skilled in the art can understand that the structure shown in FIG. 5 does not constitute a limitation on the electronic device 400, and may include more or less components than the one shown, or combine some components, or adopt different component arrangements.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器404,上述指令可由电子设备400的处理器420执行以完成上述数据发送的方法,该方法包括:基于待发送数据流携带的目的地址信息,确定接收设备以及所述接收设备可以使用的传输通信通道集合,其中所述集合包含第一数量的传输通信通道;将所述待发送数据流中的数据帧进行封装处理,所述封装处理至少包括对每个所述数据帧添加帧序号,其中所述帧序号在第一时间周期内互不相同,所述第一时间周期大于等于数据流发送的最大传输延迟;从所述传输通信通道集合中选择第二数量的传输通信通道,所述第二数量小于等于第一数量;将所述待发送数据流切分为第二数量的子数据流,并使用所述第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。可选地,上述指令还可以由电子设备400的处理器420执行以完成上述示例性实施例中所涉及的其他步骤。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as a memory 404 including instructions, and the above-mentioned instructions can be executed by the processor 420 of the electronic device 400 to complete the above-mentioned method for data transmission, The method includes: determining a receiving device and a set of transmission communication channels that can be used by the receiving device based on destination address information carried by a data stream to be sent, wherein the set includes a first number of transmission communication channels; The data frames in the stream are encapsulated, and the encapsulation process includes at least adding a frame serial number to each of the data frames, wherein the frame serial numbers are different from each other in a first time period, and the first time period is greater than or equal to the data Maximum transmission delay for stream sending; select a second number of transmission communication channels from the set of transmission communication channels, where the second number is less than or equal to the first number; divide the data stream to be sent into the second number of sub-channels The data stream is sent using the second number of transmission channels, wherein each transmission communication channel is used to send a corresponding sub-data stream. Optionally, the above-mentioned instructions may also be executed by the processor 420 of the electronic device 400 to complete other steps involved in the above-mentioned exemplary embodiments. 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.

在示例性实施例中,还提供了一种应用程序/计算机程序产品,包括一条或多条指令,该一条或多条指令可以由电子设备400的处理器420执行,以完成上述数据发送的方法,该方法包括:基于待发送数据流携带的目的地址信息,确定接收设备以及所述接收设备可以使用的传输通信通道集合,其中所述集合包含第一数量的传输通信通道;将所述待发送数据流中的数据帧进行封装处理,所述封装处理至少包括对每个所述数据帧添加帧序号,其中所述帧序号在第一时间周期内互不相同,所述第一时间周期大于等于数据流发送的最大传输延迟;从所述传输通信通道集合中选择第二数量的传输通信通道,所述第二数量小于等于第一数量;将所述待发送数据流切分为第二数量的子数据流,并使用所述第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。可选地,上述指令还可以由电子设备400的处理器420执行以完成上述示例性实施例中所涉及的其他步骤。In an exemplary embodiment, an application/computer program product is also provided, which includes one or more instructions, and the one or more instructions can be executed by the processor 420 of the electronic device 400 to complete the above-mentioned method for data transmission , the method includes: based on the destination address information carried by the data stream to be sent, determining a receiving device and a set of transmission communication channels that can be used by the receiving device, wherein the set includes a first number of transmission communication channels; Encapsulation processing is performed on the data frames in the data stream, the encapsulation processing at least includes adding a frame sequence number to each of the data frames, wherein the frame sequence numbers are different from each other within a first time period, and the first time period is greater than or equal to The maximum transmission delay for data stream sending; selecting a second number of transmission communication channels from the set of transmission communication channels, where the second number is less than or equal to the first number; dividing the data stream to be sent into a second number of transmission communication channels sub-data stream, and use the second number of transmission channels to send, wherein each transmission communication channel is used to send a corresponding sub-data stream. Optionally, the above-mentioned instructions may also be executed by the processor 420 of the electronic device 400 to complete other steps involved in the above-mentioned exemplary embodiments.

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

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings and that 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 (9)

1.一种数据发送的方法,其特征在于,包括:1. a method for data transmission, characterized in that, comprising: 基于待发送数据流携带的目的地址信息,确定接收设备以及所述接收设备可以使用的传输通信通道集合,其中所述集合包含第一数量的传输通信通道;Determine the receiving device and a set of transmission communication channels that can be used by the receiving device based on the destination address information carried by the data stream to be sent, wherein the set includes a first number of transmission communication channels; 将所述待发送数据流中的数据帧进行封装处理,所述封装处理至少包括对每个所述数据帧添加帧序号,其中所述帧序号在第一时间周期内互不相同,所述第一时间周期大于等于数据流发送的最大传输延迟;Perform encapsulation processing on the data frames in the data stream to be sent, and the encapsulation processing at least includes adding a frame sequence number to each of the data frames, wherein the frame sequence numbers are different from each other in the first time period, and the first time period A time period is greater than or equal to the maximum transmission delay of data stream sending; 从所述传输通信通道集合中选择第二数量的传输通信通道,所述第二数量小于等于第一数量;Selecting a second number of transmission communication channels from the set of transmission communication channels, the second number being less than or equal to the first number; 将所述待发送数据流切分为第二数量的子数据流,并使用所述第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。The to-be-sent data stream is divided into a second number of sub-data streams, and the second number of transmission channels are used for transmission, wherein each transmission communication channel is used to send a corresponding sub-data stream. 2.如权利要求1所述的方法,其特征在于,从所述传输通道集合中选择第二数量的传输通信通道,包括:2. The method of claim 1, wherein selecting a second number of transmission communication channels from the set of transmission channels comprises: 基于所述集合中每个传输通信通道的信道参数,获取每个传输通信通道的传输速率,并根据传输速率的排序从所述集合中选择出第二数量的传输通信通道;或者,Based on the channel parameters of each transmission communication channel in the set, obtain the transmission rate of each transmission communication channel, and select a second number of transmission communication channels from the set according to the order of transmission rates; or, 基于所述集合中每个传输通信通道的业务参数,获取每个传输通信通道的业务负载,并根据业务负载的排序从所述集合中选择出第二数量的传输通信通道。Based on the service parameters of each transmission communication channel in the set, the service load of each transmission communication channel is acquired, and a second number of transmission communication channels are selected from the set according to the sorting of the service load. 3.如权利要求1或2所述的方法,其特征在于,将所述待发送数据流切分为第二数量的子数据流,包括:3. The method according to claim 1 or 2, wherein dividing the data stream to be sent into a second number of sub-data streams, comprising: 基于第二数量的传输通信通道的传输速率或业务负载,确定所述待发送数据流的切分比例,所述切分比例用于确定每个子数据流大小。Based on the transmission rate or the service load of the second number of transmission communication channels, the division ratio of the data stream to be sent is determined, and the division ratio is used to determine the size of each sub-data stream. 4.如权利要求1所述的方法,其特征在于,在将所述待发送数据流切分为第二数量的子数据流,并使用所述第二数量的传输通道进行发送之后,还包括:4. The method of claim 1, wherein after dividing the data stream to be sent into a second number of sub-data streams, and using the second number of transmission channels to send, further comprising: : 当接收设备接收到所述第二数量的子数据流时,基于每个子数据流对应的帧序号,将所述第二数量的子数据流进行排序,整合为目标数据流。When the receiving device receives the second number of sub-data streams, it sorts the second number of sub-data streams based on the frame sequence number corresponding to each sub-data stream, and integrates them into a target data stream. 5.如权利要求1所述的方法,其特征在于,所述数据发送的方法用于同轴电缆接入网络HINOC。5. The method of claim 1, wherein the method for data transmission is used in a coaxial cable access network HINOC. 6.如权利要求1-5所述的方法,其特征在于,所述传输通信通道为物理层PHY通信通道。6. The method according to claims 1-5, wherein the transmission communication channel is a physical layer PHY communication channel. 7.一种数据发送的装置,其特征在于,包括:7. A device for data transmission, comprising: 发送模块,被设置为基于待发送数据流携带的目的地址信息,确定接收设备以及所述接收设备可以使用的传输通信通道集合,其中所述集合包含第一数量的传输通信通道;a sending module, configured to determine a receiving device and a set of transmission communication channels that can be used by the receiving device based on the destination address information carried by the data stream to be sent, wherein the set includes a first number of transmission communication channels; 处理模块,被设置为将所述待发送数据流中的数据帧进行封装处理,所述封装处理至少包括对每个所述数据帧添加帧序号,其中所述帧序号在第一时间周期内互不相同,所述第一时间周期大于等于数据流发送的最大传输延迟;The processing module is configured to perform encapsulation processing on the data frames in the data stream to be sent, and the encapsulation processing at least includes adding a frame sequence number to each of the data frames, wherein the frame sequence numbers are mutually within the first time period. If they are not the same, the first time period is greater than or equal to the maximum transmission delay for sending the data stream; 选择模块,被设置为从所述传输通信通道集合中选择第二数量的传输通信通道,所述第二数量小于等于第一数量;a selection module, configured to select a second number of transmission communication channels from the set of transmission communication channels, the second number being less than or equal to the first number; 切分模块,被设置为将所述待发送数据流切分为第二数量的子数据流,并使用所述第二数量的传输通道进行发送,其中每个传输通信通道用于发送一份对应的子数据流。The splitting module is configured to split the data stream to be sent into a second number of sub-data streams, and use the second number of transmission channels for transmission, wherein each transmission communication channel is used to send a corresponding sub data stream. 8.一种电子设备,其特征在于,包括:8. An electronic device, characterized in that, comprising: 存储器,用于存储可执行指令;以及,memory for storing executable instructions; and, 处理器,用于与所述存储器显示以执行所述可执行指令从而完成权利要求1-7中任一所述数据发送的方法的操作。A processor for displaying with the memory to execute the executable instructions to perform operations of the method for transmitting data in any one of claims 1-7. 9.一种计算机可读存储介质,用于存储计算机可读取的指令,其特征在于,所述指令被执行时执行权利要求1-7中任一所述数据发送的方法的操作。9 . A computer-readable storage medium for storing computer-readable instructions, characterized in that, when the instructions are executed, operations of the data sending method according to any one of claims 1-7 are performed.
CN202010394060.1A 2020-05-11 2020-05-11 Method, device, electronic device and medium for data transmission Pending CN111711580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010394060.1A CN111711580A (en) 2020-05-11 2020-05-11 Method, device, electronic device and medium for data transmission

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010394060.1A CN111711580A (en) 2020-05-11 2020-05-11 Method, device, electronic device and medium for data transmission

Publications (1)

Publication Number Publication Date
CN111711580A true CN111711580A (en) 2020-09-25

Family

ID=72537494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010394060.1A Pending CN111711580A (en) 2020-05-11 2020-05-11 Method, device, electronic device and medium for data transmission

Country Status (1)

Country Link
CN (1) CN111711580A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112888019A (en) * 2021-01-27 2021-06-01 Oppo广东移动通信有限公司 Data sending method, data receiving method, chip, modem and terminal
CN113783677A (en) * 2021-09-13 2021-12-10 珠海格力电器股份有限公司 Data transmission method and device, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1428971A (en) * 2001-12-27 2003-07-09 北京润光泰力科技发展有限公司 Method using multiplex channel to implement transmission of one line of network data
CN101729940A (en) * 2008-10-22 2010-06-09 华为技术有限公司 Method for sending data to multiple communication channels and method for receiving data

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1428971A (en) * 2001-12-27 2003-07-09 北京润光泰力科技发展有限公司 Method using multiplex channel to implement transmission of one line of network data
CN101729940A (en) * 2008-10-22 2010-06-09 华为技术有限公司 Method for sending data to multiple communication channels and method for receiving data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112888019A (en) * 2021-01-27 2021-06-01 Oppo广东移动通信有限公司 Data sending method, data receiving method, chip, modem and terminal
CN112888019B (en) * 2021-01-27 2023-06-16 Oppo广东移动通信有限公司 Data transmitting method, data receiving method, chip, modem and terminal
CN113783677A (en) * 2021-09-13 2021-12-10 珠海格力电器股份有限公司 Data transmission method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110312282B (en) Method and device for data transmission
CN104756095B (en) Method and system for dynamic adjustment of an interrupt latency threshold and a resource supporting a processor in a portable computing device
CN104093211B (en) Buffer state reports system and method
CN112566262B (en) Data processing method and device, communication equipment and storage medium
WO2018059360A1 (en) Method and device for processing buffer status report
CN107046697A (en) A kind of method and apparatus for carrying out MAC Control Element transmission
CN108632890B (en) Data transmission method and terminal equipment
CN111669262A (en) Method, device, electronic device and medium for data transmission
WO2021007823A1 (en) Information indication and determination methods and apparatuses, communication device and storage medium
WO2022134716A1 (en) Bluetooth data packet broadcasting method and apparatus, terminal, and storage medium
CN111711580A (en) Method, device, electronic device and medium for data transmission
WO2022057827A1 (en) Aggregation configuration method and apparatus, and terminal
CN114363379A (en) Vehicle data transmission method and device, electronic equipment and medium
WO2020164521A1 (en) Data packet distribution method and apparatus, and mobile terminal and storage medium
CN107277780A (en) A kind of broadcast message sending method and device, mobile terminal
CN111343667A (en) Communication method and communication device
CN113141520B (en) Video stream transmission method and device, electronic equipment and storage medium
CN118368344A (en) Image transmission method and device
CN118101028A (en) Outbound resource balancing method and device for Beidou short message system supporting civil mobile phone
US12279323B2 (en) Split multi-link system
CN110839296B (en) Network resource scheduling method, device, storage medium and mobile terminal
CN110661731B (en) Message processing method and device
CN116762368A (en) Indoor positioning methods, devices, equipment and storage media
CN110855575A (en) TCP message scheduling method and device and communication equipment
CN105635998B (en) A kind of data uploading method, device and terminal

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200925