CN111711580A - Data transmission method and device, electronic equipment and medium - Google Patents
Data transmission method and device, electronic equipment and medium Download PDFInfo
- 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
- sub
- transmission communication
- 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
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 198
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000004891 communication Methods 0.000 claims abstract description 171
- 238000012545 processing Methods 0.000 claims description 21
- 230000011218 segmentation Effects 0.000 claims description 8
- 238000005538 encapsulation Methods 0.000 claims description 6
- 238000012163 sequencing technique Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 5
- 108091006146 Channels Proteins 0.000 description 145
- 230000002093 peripheral effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 4
- 101100520025 Avena sativa PHYA3 gene Proteins 0.000 description 2
- 101100520014 Ceratodon purpureus PHY1 gene Proteins 0.000 description 2
- 101100520018 Ceratodon purpureus PHY2 gene Proteins 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 2
- 101100518633 Caenorhabditis elegans dpy-18 gene Proteins 0.000 description 1
- 101150005660 PHY1 gene Proteins 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000008094 contradictory effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 238000012216 screening Methods 0.000 description 1
- 230000008054 signal transmission Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0006—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission format
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/12—Avoiding congestion; Recovering from congestion
- H04L47/125—Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2212/00—Encapsulation 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
The application discloses a data sending method, a data sending device, electronic equipment and a medium. In this application, after determining a receiving device and a transmission communication channel set that can be used by the receiving device based on destination address information carried by a data stream to be sent, a data frame in the data stream to be sent may be encapsulated, a second number of transmission communication channels may be selected from the transmission communication channel set, where the second number is less than or equal to the first number, the data stream to be sent is then divided into a second number of sub-data streams, and the sub-data streams are sent using the second number of transmission channels, where each transmission communication channel is used to send a corresponding sub-data stream. By applying the technical scheme of the application, the problem that the message arrival is unreliable due to the fact that only a single communication channel is used for sending the data stream in the related technology can be avoided.
Description
Technical Field
The present application relates to communications technologies, and in particular, to a method, an apparatus, an electronic device, and a medium for data transmission.
Background
Due to the rise of the communication age and society, the transmission of messages by using communication network systems has become a normal state.
Further, with the continuous development of network technologies, services such as 4K, 8K video, live webcast, AR, VR, etc. are continuously developed, the demand of consumers for network bandwidth is continuously increased, and a communication system with high bandwidth and low delay is a current main research direction. In the related art, a single channel is generally adopted to transmit a data stream in its entirety, which leads to a problem that data is easily delayed or even lost once a user has an excessive data transmission demand.
Therefore, how to implement an effective data transmission method becomes a problem to be solved by those skilled in the art.
Disclosure of Invention
Embodiments of the present application provide a method, an apparatus, an electronic device, and a medium for data transmission, which are used for solving the problem of unreliable message transmission in a communication system in the related art by using multiple transmission communication channels.
According to an aspect of an embodiment of the present application, a method for transmitting data is provided, including:
determining a receiving device and a transmission communication channel set which can be used by the receiving device based on destination address information carried by a data stream to be sent, wherein the set comprises a first number of transmission communication channels;
encapsulating data frames in the data stream to be sent, wherein the encapsulating at least comprises adding a frame sequence number to each data frame, the frame sequence numbers are different from each other in a first time period, and the first time period is greater than or equal to the maximum transmission delay of the 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;
and dividing the data stream to be sent into a second number of sub-data streams, and sending the sub-data streams by using the second number of transmission channels, wherein each transmission communication channel is used for sending a corresponding sub-data stream.
Optionally, in another embodiment based on the foregoing method of the present application, selecting a second number of transmission communication channels from the transmission channel set includes:
acquiring the transmission rate of each transmission communication channel based on the channel parameter of each transmission communication channel in the set, and selecting a second number of transmission communication channels from the set according to the sequence of the transmission rates; or,
and acquiring the service load of each transmission communication channel based on the service parameters of each transmission communication channel in the set, and selecting a second number of transmission communication channels from the set according to the sequence of the service loads.
Optionally, in another embodiment based on the foregoing method of the present application, the dividing the data stream to be transmitted into a second number of sub-data streams includes:
and determining the segmentation proportion of the data stream to be sent based on the transmission rate or the service load of the second number of transmission communication channels, wherein the segmentation proportion is used for determining the size of each sub-data stream.
Optionally, in another embodiment based on the foregoing method of the present application, after dividing the data stream to be transmitted into a second number of sub-data streams and transmitting the sub-data streams using the second number of transmission channels, the method further includes:
and when the receiving equipment receives the second number of sub-data streams, sequencing the second number of sub-data streams based on the frame number corresponding to each sub-data stream, and integrating the second number of sub-data streams into a target data stream.
Optionally, in another embodiment based on the method of the present application, the target communication network is a coaxial cable access network HINOC.
Optionally, in another embodiment based on the foregoing 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, there is provided a communication mode selection apparatus, including:
a sending module, configured to determine a receiving device and a transmission communication channel set that can be used by the receiving device based on destination address information carried by a data stream to be sent, where the set includes a first number of transmission communication channels;
a processing module, configured to perform encapsulation processing on data frames in the data stream to be sent, where the encapsulation processing at least includes adding a frame number to each data frame, where the frame numbers are different from each other in a first time period, and the first time period is greater than or equal to a maximum transmission delay of data stream sending;
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;
and the dividing module is configured to divide the data stream to be sent into a second number of sub-data streams and send the sub-data streams by using the second number of transmission channels, where each transmission communication channel is used to send one corresponding sub-data stream.
According to another aspect of the embodiments of the present application, there is provided an electronic device including:
a memory for storing executable instructions; and
a display for displaying with the memory to execute the executable instructions to perform the operations of any of the above-described methods of data transmission.
According to a further aspect of the embodiments of the present application, there is provided a computer-readable storage medium for storing computer-readable instructions, which, when executed, perform the operations of any of the above-mentioned data transmission methods.
In this application, after determining a receiving device and a transmission communication channel set that can be used by the receiving device based on destination address information carried by a data stream to be sent, a data frame in the data stream to be sent may be encapsulated, a second number of transmission communication channels may be selected from the transmission communication channel set, where the second number is less than or equal to the first number, the data stream to be sent is then divided into a second number of sub-data streams, and the sub-data streams are sent using the second number of transmission channels, where each transmission communication channel is used to send one corresponding sub-data stream. By applying the technical scheme of the application, before the data stream to be sent in the communication network is sent, a plurality of transmission communication channels in the communication system are determined, and the data stream to be sent is transmitted and sent by using the plurality of communication channels after being respectively marked with the unique frame number. Thereby avoiding the problem of unreliable message arrival caused by using only a single communication channel to transmit data stream in the related art.
The technical solution of the present application is further described in detail by the accompanying drawings and examples.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this 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, in which:
fig. 1 is a schematic diagram of a data transmission method proposed in the present application;
fig. 2 is a schematic diagram of a system architecture for HINOC data transmission according to the present application;
fig. 3 is a schematic flow chart of a data transmission method proposed in the present application;
FIG. 4 is a schematic structural diagram of a communication mode selection apparatus according to the present application;
fig. 5 is a schematic view of an electronic device according to the present application.
Detailed Description
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 the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the application, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
In addition, technical solutions between the various embodiments of the present application may be combined with each other, but it must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should be considered to be absent and not within the protection scope of the present application.
It should be noted that all the directional indicators (such as upper, lower, left, right, front and rear … …) in the embodiment of the present application are only used to explain the relative position relationship between the components, the motion situation, etc. in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly.
A method for data transmission according to an exemplary embodiment of the present application is described below in conjunction with fig. 1-3. It should be noted that the following application scenarios are merely illustrated for the convenience of understanding the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect. Rather, embodiments of the present application may be applied to any scenario where applicable.
The application also provides a data sending method, a data sending device, a target terminal and a medium.
Fig. 1 schematically shows a flow chart of a method for data transmission according to an embodiment of the present application. As shown in fig. 1, the method includes:
s101, determining a receiving device and a transmission communication channel set which can be used by the receiving device based on destination address information carried by a data stream to be sent, wherein the set comprises a first number of transmission communication channels.
The present application does not limit a communication network using the data transmission method described in the present application, and may be any communication network. In one possible implementation, the communication network may be a high performance coaxial access network (HINOC). HINOC is a technology for realizing network communication by using a coaxial cable channel, and a protocol stack is shown in figure 2 and comprises technical details of a physical layer (PHY layer) and a medium access control layer (MAC layer). The PHY layer defines a HINOC signal transmission mode, and the MAC layer realizes media access control and service adaptation functions in the HINOC system.
The communication network can realize the bandwidth increase by adopting a channel binding method, namely, on the basis of the original single-channel digital communication, the bandwidth is increased by adopting a multi-channel binding mode, and the communication speed is increased. However, at present, there is no mechanism for transmitting data through multiple transmission communication channels in the HINOC network system. The data transmission method provided by the application can solve the problems.
Based on the destination address information of the data stream to be transmitted, such as the MAC address, the receiving device of the data stream, that is, to which terminal the data stream to be transmitted is transmitted, may be determined; and determining a transmission communication channel set which can be used by the terminal according to the terminal. In the HINOC system adopting multi-channel binding, terminal equipment simultaneously transmits data on a plurality of transmission communication channels. The transmission communication channel set comprises all channels which can be communicated between the local side and the terminal.
In addition, the data stream to be transmitted in the present application may be various types of messages, and may include, for example, a broadband data stream, a video data stream, an audio data stream, a management data stream, or the like.
It should be noted that, the number of data streams to be transmitted is not specifically limited in this application, and may be, for example, one or multiple data streams.
It should be noted that the data transmission method in the present application is applicable to both downlink data stream transmission and uplink data stream transmission. In the embodiment of the present application, taking the sending of the downlink data stream as an example, at this time, the office device is a sender of the data stream to be sent, and the terminal device is a receiver of the data stream to be sent.
S102, encapsulating the data frames in the data stream to be sent, wherein the encapsulating at least comprises adding a frame sequence number to each data frame, the frame sequence numbers are different from each other in a first time period, and the first time period is greater than or equal to the maximum transmission delay of the data stream sending.
In the application, the data stream to be sent is sent through a plurality of transmission communication channels, and the transmission rate of each transmission communication channel is different, so that the time for sending the segmented data stream to the opposite terminal equipment is different. Therefore, in order to solve the problem of disorder when each sub-data stream reaches the terminal device, each data frame corresponding to the data stream to be sent is respectively marked with a corresponding frame number, wherein the frame numbers are different from each other within the time period of the maximum transmission delay. Therefore, when the sub-data stream is transmitted to the terminal, the disordered data frames can be completely restored into the data stream to be sent according to the frame sequence number corresponding to each data frame.
S103, selecting a second number of transmission communication channels from the transmission communication channel set, wherein the second number is less than or equal to the first number.
The transmission communication channel in the transmission communication channel set is not completely suitable for the transmission of the current data stream to be transmitted, and the reasons include various reasons, for example: the channel parameters of the transmission communication channel are changed, so that the transmission rate of the channel is low; or, the transmission tasks of other data streams on the transmission communication channel are too many, resulting in a larger traffic load of the channel; or, the quality of service (QoS) requirement of the data flow to be transmitted has a specific requirement on the transmission channel.
In view of the above problems, the method according to the present application screens the set of transmission communication channels to select a second number of transmission communication channels, where the screening policy may be multiple.
Optionally, in a possible implementation manner of the present application, the transmission rate of each transmission communication channel may be obtained based on the channel parameter of each transmission communication channel in the set, and a second number of transmission communication channels may be selected from the set according to the ordering of the transmission rates; or,
optionally, in another possible implementation manner of the present application, a service load of each transmission communication channel is obtained based on a service parameter of each transmission communication channel in the set, and a second number of transmission communication channels are selected from the set according to a ranking of the service loads.
And S104, dividing the data stream to be transmitted into a second number of sub-data streams, and transmitting the sub-data streams by using the second number of transmission channels, wherein each transmission communication channel is used for transmitting a corresponding sub-data stream.
The splitting ratio of the sub-data stream may adopt various strategies, for example, all the data streams to be sent are split into the second number of sub-data. Optionally, in another possible implementation manner of the present application, the slicing ratio of the data stream to be transmitted may be determined based on a transmission rate or a traffic load of the second number of transmission communication channels.
It should be noted that, in one 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 a baseband modulation processing process and a radio frequency processing process in a corresponding physical layer (PHY) communication channel, wherein the baseband modulation processing comprises one of the following items: interleaving, error correction coding, constellation mapping and OFDM modulation; the radio frequency processing procedure comprises at least one of the following: carrier modulation and power amplification.
Further, when the terminal device receives the second number of sub-streams, the second number of sub-streams are sequenced based on the frame number corresponding to each sub-stream, and are integrated into a target data stream.
In the application, after the first number of transmission communication channels is determined, the data stream to be transmitted can be transmitted and transmitted through the plurality of transmission communication channels, so that the defect that information is transmitted only by using a single communication channel in the related art can be avoided.
Further optionally, in S103 (selecting a second number of transmission communication channels from the transmission communication channel set), the method includes the following steps:
acquiring the transmission rate of each transmission communication channel based on the channel parameters of each transmission communication channel in the set, and selecting a second number of transmission communication channels from the set according to the sequence of the transmission rates; or, based on the service parameter of each transmission communication channel in the set, the service load of each transmission communication channel is obtained, and a second number of transmission communication channels are selected from the set according to the ordering of the service loads.
Further optionally, in S103 (dividing the data stream to be transmitted into a second number of sub-data streams), the method includes the following steps:
and determining the segmentation proportion of the data stream to be transmitted based on the transmission rate or the service load of the second number of transmission communication channels, wherein the segmentation proportion is used for determining the size of each sub-data stream.
Further, after dividing the data stream to be transmitted into a second number of sub-data streams and transmitting the sub-data streams by using a second number of transmission channels, the method further includes:
and when the receiving equipment receives the sub-data streams of the second number, sequencing the sub-data streams of the second number based on the frame number corresponding to each sub-data stream, and integrating the sub-data streams of the second number into the target data stream.
It should be noted that, the transmission communication channel in the present application may be a physical layer PHY communication channel in a HINOC communication network.
In the application, the transmission rate of each transmission communication channel is different, so the time for the segmented data stream to be sent to the opposite terminal equipment is different. Therefore, the disadvantage that each sub-data stream cannot be aggregated into the original video stream when reaching the terminal device is avoided. In order to further ensure accurate arrival of the data stream, each data frame corresponding to the data stream to be sent may be respectively labeled with a corresponding unique frame number, where each unique frame number is a frame number different from each other. Therefore, when the data stream is transmitted to the terminal under the condition of scattering, the scattered data stream can be completely restored into the data stream to be sent according to the unique frame number corresponding to each data frame.
As shown in fig. 3, the target communication network is an HINOC communication network, the transmission communication channels are PHY channels, and the number of the transmission communication channels is M, for example:
when detecting that a data stream to be transmitted currently exists, the method can configure a PHY channel of a terminal and allocate bandwidth by using a terminal receiving the data stream, for example, a terminal 1 operates in PHY1 and PHY2 channels, and a terminal 2 operates in PHY3 channels; after the data stream enters the transmitter, judging whether the data stream enters a queue Q1 of a terminal 1 or a queue Q2 of a terminal 2 according to the MAC address; at the transmitting end, the PHYs 1 to 4 give communication channel parameters (PHY channel ID number, inter-channel transmission rate, etc.), respectively, and determine M transmission communication channels (PHY 1, PHY2, PHY3, PHYM, respectively) based on the respective communication channel parameters. And then sequentially taking out data frames required by PHYs 1 to PHYM from the MAC storage queue, sending the data frames to each PHY channel, and using the data frames in each PHY channel, after determining a receiving device and a transmission communication channel set usable by the receiving device based on destination address information carried by a data stream to be sent, encapsulating the data frames in the data stream to be sent, and selecting a second number of transmission communication channels from the transmission communication channel set, where the second number is less than or equal to the first number, then dividing the data stream to be sent into a second number of sub-data streams, and sending the sub-data streams using the second number of transmission channels, where each transmission communication channel is used to send one corresponding sub-data stream. By applying the technical scheme of the application, before the data stream to be sent in the communication network is sent, a plurality of transmission communication channels in the communication system are determined, and the data stream to be sent is transmitted and sent by using the plurality of communication channels after being respectively marked with the unique frame number. Thereby avoiding the problem of unreliable message arrival caused by using only a single communication channel to transmit data stream in the related art.
And the transmission communication channel transmits the corresponding data frame. It should be noted that, at the data receiving end, the present application may reorder the received multiple sub-data streams to obtain the original data stream to be sent.
In another embodiment of the present application, as shown in fig. 4, the present application further provides a communication mode selection device. Wherein the device comprises a sending module 301, a processing module 302, a selecting module 303, and a cutting module 304, wherein,
a sending module 301, configured to determine a receiving device and a transmission communication channel set that can be used by the receiving device based on destination address information carried by a data stream to be sent, where the set includes a first number of transmission communication channels;
a processing module 302, configured to perform encapsulation processing on data frames in the data stream to be sent, where the encapsulation processing at least includes adding a frame number to each data frame, where the frame numbers are different from each other in a first time period, and the first time period is greater than or equal to a maximum transmission delay of data stream sending;
a selecting module 303 configured to select a second number of transmission communication channels from the set of transmission communication channels, the second number being smaller than or equal to the first number;
a dividing module 304, configured to divide the data stream to be sent into a second number of sub-data streams, and send the sub-data streams using the second number of transmission channels, where each transmission communication channel is used to send a corresponding sub-data stream.
In this application, after determining a receiving device and a transmission communication channel set that can be used by the receiving device based on destination address information carried by a data stream to be sent, a data frame in the data stream to be sent may be encapsulated, a second number of transmission communication channels may be selected from the transmission communication channel set, where the second number is less than or equal to the first number, the data stream to be sent is then divided into a second number of sub-data streams, and the sub-data streams are sent using the second number of transmission channels, where each transmission communication channel is used to send one corresponding sub-data stream. By applying the technical scheme of the application, before the data stream to be sent in the communication network is sent, a plurality of transmission communication channels in the communication system are determined, and the data stream to be sent is transmitted and sent by using the plurality of communication channels after being respectively marked with the unique frame number. Thereby avoiding the problem of unreliable message arrival caused by using only a single communication channel to transmit data stream in the related art.
In another embodiment of the present application, the method further comprises: a selection module 303, wherein:
a selecting module 303, configured to obtain a transmission rate of each transmission communication channel based on a channel parameter of each transmission communication channel in the set, and select a second number of transmission communication channels from the set according to an ordering of the transmission rates; or,
a selecting module 303, configured to obtain a service load of each transmission communication channel based on the service parameter of each transmission communication channel in the set, and select a second number of transmission communication channels from the set according to the ordering of the service loads.
In another embodiment of the present application, the selecting module 303 further includes:
the selecting module 303 is configured to determine a segmentation ratio of the data stream to be transmitted based on a transmission rate or a traffic load of a second number of transmission communication channels, where the segmentation ratio is used to determine a size of each sub-data stream.
In another embodiment of the present application, the selecting module 303 further includes:
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 number corresponding to each sub-data stream, and integrate the second number of sub-data streams into a target data stream.
In another embodiment of the present application, the target communication network is a coaxial cable access network HINOC.
In another embodiment of the present application, the transmission communication channel is a physical layer PHY communication channel.
Fig. 5 is a block diagram illustrating a logical structure of an electronic device in accordance with an exemplary embodiment. For example, the electronic device 400 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, and the like.
Referring to fig. 5, electronic device 400 may include one or more of the following components: a processor 401 and a memory 402.
In some embodiments, the electronic device 400 may further optionally include: a peripheral interface 403 and at least one peripheral. The processor 401, memory 402 and peripheral interface 403 may be connected by bus or signal lines. Each peripheral may be connected to the peripheral interface 403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 404 and a power supply 405.
The peripheral interface 403 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 401 and the memory 402. In some embodiments, processor 401, memory 402, and peripheral interface 403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 401, the memory 402 and the peripheral interface 403 may be implemented on a separate chip or circuit board, which is not limited by this embodiment.
The Radio Frequency circuit 404 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 404 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 404 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. 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 so forth. The radio frequency circuitry 404 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 404 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The power supply 405 is used to power the various components in the electronic device 400. The power source 405 may be alternating current, direct current, disposable or rechargeable. When power source 405 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
Those skilled in the art will appreciate that the configuration shown in fig. 5 does not constitute a limitation of the electronic device 400, and may include more or fewer components than those shown, or combine certain components, or employ a different arrangement of components.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium, such as the memory 404, comprising instructions executable by the processor 420 of the electronic device 400 to perform the method of data transmission described above, the method comprising: determining a receiving device and a transmission communication channel set which can be used by the receiving device based on destination address information carried by a data stream to be sent, wherein the set comprises a first number of transmission communication channels; encapsulating data frames in the data stream to be sent, wherein the encapsulating at least comprises adding a frame sequence number to each data frame, the frame sequence numbers are different from each other in a first time period, and the first time period is greater than or equal to the maximum transmission delay of the 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; and dividing the data stream to be sent into a second number of sub-data streams, and sending the sub-data streams by using the second number of transmission channels, wherein each transmission communication channel is used for sending a corresponding sub-data stream. Optionally, the instructions may also be executable by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided an application/computer program product comprising one or more instructions executable by the processor 420 of the electronic device 400 to perform the above-described method of data transmission, the method comprising: determining a receiving device and a transmission communication channel set which can be used by the receiving device based on destination address information carried by a data stream to be sent, wherein the set comprises a first number of transmission communication channels; encapsulating data frames in the data stream to be sent, wherein the encapsulating at least comprises adding a frame sequence number to each data frame, the frame sequence numbers are different from each other in a first time period, and the first time period is greater than or equal to the maximum transmission delay of the 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; and dividing the data stream to be sent into a second number of sub-data streams, and sending the sub-data streams by using the second number of transmission channels, wherein each transmission communication channel is used for sending a corresponding sub-data stream. Optionally, the instructions may also be executable by the processor 420 of the electronic device 400 to perform other steps involved in the exemplary embodiments described above.
Other embodiments of the present application will be 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 variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the 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. A method of data transmission, comprising:
determining a receiving device and a transmission communication channel set which can be used by the receiving device based on destination address information carried by a data stream to be sent, wherein the set comprises a first number of transmission communication channels;
encapsulating data frames in the data stream to be sent, wherein the encapsulating at least comprises adding a frame sequence number to each data frame, the frame sequence numbers are different from each other in a first time period, and the first time period is greater than or equal to the maximum transmission delay of the 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;
and dividing the data stream to be sent into a second number of sub-data streams, and sending the sub-data streams by using the second number of transmission channels, wherein each transmission communication channel is used for sending a corresponding sub-data stream.
2. The method of claim 1, wherein selecting a second number of transmission communication channels from the set of transmission channels comprises:
acquiring the transmission rate of each transmission communication channel based on the channel parameter of each transmission communication channel in the set, and selecting a second number of transmission communication channels from the set according to the sequence of the transmission rates; or,
and acquiring the service load of each transmission communication channel based on the service parameters of each transmission communication channel in the set, and selecting a second number of transmission communication channels from the set according to the sequence of the service loads.
3. The method of claim 1 or 2, wherein segmenting the data stream to be transmitted into a second number of sub-streams comprises:
and determining the segmentation proportion of the data stream to be sent based on the transmission rate or the service load of the second number of transmission communication channels, wherein the segmentation proportion is used for determining the size of each sub-data stream.
4. The method of claim 1, wherein after the data stream to be transmitted is divided into a second number of sub-data streams and transmitted using the second number of transmission channels, further comprising:
and when the receiving equipment receives the second number of sub-data streams, sequencing the second number of sub-data streams based on the frame number corresponding to each sub-data stream, and integrating the second number of sub-data streams into a target data stream.
5. The method of claim 1, wherein the method of data transmission is for a coaxial cable access network HINOC.
6. The method of claims 1-5, wherein the transmission communication channel is a physical layer (PHY) communication channel.
7. An apparatus for data transmission, comprising:
a sending module, configured to determine a receiving device and a transmission communication channel set that can be used by the receiving device based on destination address information carried by a data stream to be sent, where the set includes a first number of transmission communication channels;
a processing module, configured to perform encapsulation processing on data frames in the data stream to be sent, where the encapsulation processing at least includes adding a frame number to each data frame, where the frame numbers are different from each other in a first time period, and the first time period is greater than or equal to a maximum transmission delay of data stream sending;
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;
and the dividing module is configured to divide the data stream to be sent into a second number of sub-data streams and send the sub-data streams by using the second number of transmission channels, where each transmission communication channel is used to send one corresponding sub-data stream.
8. An electronic device, comprising:
a memory for storing executable instructions; and the number of the first and second groups,
a processor for display with the memory to execute the executable instructions to perform the operations of the method of data transmission of any of claims 1-7.
9. A computer-readable storage medium storing computer-readable instructions that, when executed, perform the operations of the method of data transmission of any of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010394060.1A CN111711580A (en) | 2020-05-11 | 2020-05-11 | Data transmission method and device, electronic equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010394060.1A CN111711580A (en) | 2020-05-11 | 2020-05-11 | Data transmission method and device, electronic equipment and medium |
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 | Data transmission method and device, electronic equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111711580A (en) |
Cited By (2)
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)
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 |
-
2020
- 2020-05-11 CN CN202010394060.1A patent/CN111711580A/en active Pending
Patent Citations (2)
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)
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 |
---|---|---|
CN110430599B (en) | Data transmission method and device | |
JP7186868B2 (en) | Service data transmission method and device, computer equipment and computer program | |
US8705511B2 (en) | System and method for synchronous transmission of content | |
CN104093211B (en) | Buffer state reports system and method | |
CN113498076A (en) | O-RAN-based performance optimization configuration method and device | |
CN107395572B (en) | Data processing method and Internet of things gateway | |
IL269497B2 (en) | Method for transmitting data, terminal device, and network device | |
US11146984B2 (en) | Quality of service implementations for separating user plane | |
US20220140937A1 (en) | Information indication and determination methods and apparatuses | |
CN109587732B (en) | Transmission method and device for service quality flow | |
CN108616298B (en) | MIMO system compatible with WIFI module and mobile communication module and mobile terminal | |
CN111711580A (en) | Data transmission method and device, electronic equipment and medium | |
CN112566262B (en) | Data processing method and device, communication equipment and storage medium | |
CN111669262A (en) | Data transmission method and device, electronic equipment and medium | |
US20190166398A1 (en) | Method for reporting qos/qoe in mobile environment and device therefor | |
CN112333690B (en) | Data transmission method, device, storage medium, terminal and network access point equipment | |
CN115777218A (en) | Signal processing method and device, electronic device and storage medium | |
CN113141520B (en) | Video stream transmission method and device, electronic equipment and storage medium | |
WO2020125237A1 (en) | Communication method and communication apparatus | |
CN116018799B (en) | Image transmission method and device | |
US20130034053A1 (en) | Method and system for scalable information packetization and aggregation for information transmission in communication networks | |
CN113170352B (en) | Multi-band communication in wireless mesh networks | |
US20220400406A1 (en) | Data transmission method and apparatus, and communication device | |
RU2799998C1 (en) | Method and device for data transmission and communication device | |
CN117255230B (en) | Classification adjustment method, device and storage medium for transmission node |
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 |
Application publication date: 20200925 |
|
RJ01 | Rejection of invention patent application after publication |