CN111541622A - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN111541622A
CN111541622A CN202010307932.6A CN202010307932A CN111541622A CN 111541622 A CN111541622 A CN 111541622A CN 202010307932 A CN202010307932 A CN 202010307932A CN 111541622 A CN111541622 A CN 111541622A
Authority
CN
China
Prior art keywords
transmission
data
mode
transmission mode
transmitting
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
CN202010307932.6A
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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202010307932.6A priority Critical patent/CN111541622A/en
Publication of CN111541622A publication Critical patent/CN111541622A/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/2441Traffic characterised by specific attributes, e.g. priority or QoS relying on flow classification, e.g. using integrated services [IntServ]
    • 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
    • H04L47/2433Allocation of priorities to traffic types
    • 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/245Traffic characterised by specific attributes, e.g. priority or QoS using preemption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware

Abstract

The invention discloses a data transmission method and a data transmission device. Wherein, the method comprises the following steps: classifying data in a data stream to be transmitted; and respectively transmitting the data of different types through different transmission modes, wherein the transmission modes comprise transmission priority and transmission modes. The invention solves the technical problems that the image transmission system in the related technology can not meet the effective transmission of different auxiliary information and has low transmission efficiency.

Description

Data transmission method and device
Technical Field
The invention relates to the field of data transmission, in particular to a data transmission method and device.
Background
In an image transmission system, in addition to encoded data of an image, other auxiliary information including a control stream, an audio stream, a reverse control stream, and the like, which is transmitted through a network, needs to be transmitted, and the requirements on the delay, reliability, and the like of transmission are different. The current image transmission system does not effectively distinguish different data streams, and a transmission layer schedules transmission work according to received data, so that some data streams with different requirements on instantaneity, isochronism and reliability cannot realize effective transmission according to a required Quality of Service (QOS) mechanism, and the utilization efficiency of the QOS and bandwidth of the whole image transmission is reduced.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a data transmission method and a data transmission device, which at least solve the technical problems that an image transmission system in the related technology cannot meet the effective transmission of different auxiliary information and the transmission efficiency is low.
According to an aspect of an embodiment of the present invention, there is provided a data transmission method, including: classifying data in a data stream to be transmitted; and respectively transmitting the data of different types through different transmission modes, wherein the transmission modes comprise transmission priority and transmission modes.
Optionally, classifying the data in the data stream to be transmitted includes: classifying the data according to the content of the data in the data stream, wherein the content of the data comprises: image information, audio information, management control information.
Optionally, the transmitting the different types of data through different transmission modes respectively includes: transmitting the image information through a first mode, wherein the first mode transmits the image information through a random transmission mode; transmitting the audio information through a second mode, wherein the second mode transmits the audio information through a timing transmission mode; transmitting the management control information through a third mode, wherein the third mode transmits the management control information through an instant transmission mode; wherein the priority of the first mode is lower than the priority of the second mode, and the priority of the second mode is lower than the priority of the third mode.
Optionally, transmitting the image information through the first mode includes: and randomly transmitting the image information through the random transmission mode, wherein under the condition that the occupied available bandwidth of the transmitted image information exceeds a first preset threshold value and the transmission mode with higher priority simultaneously needs to transmit data, the random transmission mode is interrupted by the transmission mode with higher priority.
Optionally, transmitting the audio information through the second mode includes: and transmitting the audio information at preset time intervals by the timing transmission mode, wherein the timing transmission mode interrupts the transmission mode with lower priority and occupies the available bandwidth of the transmission mode with lower priority under the condition that the available bandwidth for transmitting the audio information is less than a second preset threshold.
Optionally, transmitting the image information through a third mode includes: and immediately transmitting the management control information through the instant transmission mode, wherein the instant transmission mode interrupts the transmission mode with lower priority and occupies the available bandwidth of the transmission mode with lower priority under the condition that the available bandwidth for transmitting the management control information is insufficient.
Optionally, the method further includes: determining whether a transmission mode being transmitted is a do-not-break transmission mode, and in the case that the transmission mode is the do-not-break transmission mode, retaining the transmission mode; interrupting the transmission mode if the transmission mode is not a do-not-break transmission mode, wherein a continuity requirement of data of the do-not-break transmission mode exceeds a preset continuity threshold and an available bandwidth occupied by the data does not exceed a third preset threshold.
According to another aspect of the embodiments of the present invention, there is also provided a data transmission apparatus, including: the classification module is used for classifying data in the data stream to be transmitted; and the transmission module is used for transmitting different types of data through different transmission modes respectively, wherein the transmission modes comprise transmission priority and transmission modes.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium, where the storage medium includes a stored program, and when the program runs, a device in which the storage medium is located is controlled to execute the data transmission method described in any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes the data transmission method described in any one of the above.
In the embodiment of the invention, data in a data stream needing to be transmitted is classified; the data of different types are transmitted through different transmission modes respectively, wherein the transmission modes comprise transmission priority and transmission modes, the data to be transmitted are classified, and the data of different types are transmitted through different transmission modes, so that the aim of effectively transmitting the data in a classified mode is fulfilled, the technical effect of improving the transmission efficiency of the data is realized, and the technical problems that an image transmission system cannot meet the effective transmission of different auxiliary information and the transmission efficiency is low in the related technology are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of data transmission according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a data transmission apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In accordance with an embodiment of the present invention, there is provided a method embodiment of a data transmission method, it being noted that the steps illustrated in the flowchart of the figure may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different than that presented herein.
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
step S102, classifying data in data flow needing to be transmitted;
and step S104, transmitting the data of different types respectively through different transmission modes, wherein the transmission modes comprise transmission priority and transmission modes.
Through the steps, data in the data stream needing to be transmitted are classified; the data of different types are transmitted through different transmission modes respectively, wherein the transmission modes comprise transmission priority and transmission modes, the data to be transmitted are classified, and the data of different types are transmitted through different transmission modes, so that the aim of effectively transmitting the data in a classified mode is fulfilled, the technical effect of improving the transmission efficiency of the data is realized, and the technical problems that an image transmission system cannot meet the effective transmission of different auxiliary information and the transmission efficiency is low in the related technology are solved.
The data stream may include a variety of different data, including the data to be transmitted, as well as data auxiliary information, such as authentication information, identity information, control information. When transmitting image data, other auxiliary information including a control stream, an audio stream, a reverse control stream, and the like is also required to be transmitted. The data in the data stream is classified according to transmission requirements, wherein the transmission requirements include transmission rate, tolerance value of transmission delay, transmission reliability, transmission timeliness and other requirements, and are classified into data classes with different importance levels or priorities.
The different types of data are transmitted through different transmission modes respectively, the transmission modes comprise transmission priority and transmission modes, and the transmission modes can comprise parameters such as transmission rate, tolerance value of transmission delay, transmission reliability, transmission timeliness and the like. Therefore, different types of data are transmitted through different transmission modes, the aim of effectively transmitting the data in a classified mode is fulfilled, and the data transmission efficiency is improved.
The classifying the data in the data stream to be transmitted includes: classifying the data according to the content of the data in the data stream, wherein the content of the data comprises: image information, audio information, management control information.
Specifically, the transmitting the different types of data through different transmission modes respectively includes: transmitting the image information through a first mode, wherein the first mode transmits the image information through a random transmission mode; transmitting the audio information through a second mode, wherein the second mode transmits the audio information through a timing transmission mode; the management control information is transmitted through a third mode, wherein the third mode transmits the management control information through an instant transmission mode; wherein the priority of the first mode is lower than the priority of the second mode, and the priority of the second mode is lower than the priority of the third mode.
In this embodiment, human eyes have different degrees of sensitivity to refreshing of image frames under different display contents, and when a non-video picture is displayed, the frame rate is less than 15 frames/second and is not easy to be perceived, while when the video picture is less than 30 frames/second, a difference is obvious. The requirement of human ears on the continuity of sound signals is high, audio transmission must be reliable and real-time, and any packet loss or time delay can be sensed by human ears. Management control information is transmitted as timely as possible without losing information as possible, and some important control information even needs to be transmitted preferentially. This indicates that the image transmission is characterized by a large dynamic range of bandwidth, and a certain tolerance for frame loss and frame errors in human eyes, so in this embodiment, the priority of transmission of image information is set to be the lowest, a random transmission channel is established through the first mode, and a best-effort strategy is adopted according to the size of a transmitted code stream without setting a reserved bandwidth. The priority of transmission of audio information is set to a higher level, and the management control information is set to a level having the highest priority.
Therefore, for the actual transmission requirements of different types of data, the data transmitted by the transmission mode with high priority can be transmitted by the transmission modes with different priorities, and the data transmitted by the transmission mode with high priority can be prior to the data transmitted by the transmission mode with low priority. The purpose of effectively transmitting data in a classified manner is achieved, and therefore the data transmission efficiency is improved.
Optionally, the transmitting the image information through the first mode includes: and randomly transmitting the image information by a random transmission mode, wherein the random transmission mode is interrupted by a transmission mode with higher priority under the condition that the occupied available bandwidth of the transmitted image information exceeds a first preset threshold and the transmission mode with higher priority needs to transmit data.
The image information is used as the lowest level data stream for transmitting the image coding data, and is transmitted through a random mode, wherein in the random mode, the reserved bandwidth is not set, but the transmission bandwidth is determined according to the size of the transmitted code stream. In particular, the highest available bandwidth may occupy 100% of the available bandwidth, and when the occupied bandwidth exceeds a first preset threshold (e.g., 80%) of the available bandwidth, the transmission may be interrupted by a higher level transmission, thereby facilitating a higher priority transmission mode.
Optionally, transmitting the audio information through the second mode includes: and transmitting the audio information at preset time intervals by a timing transmission mode, wherein the timing transmission mode interrupts the transmission mode with lower priority and occupies the available bandwidth of the transmission mode with lower priority under the condition that the available bandwidth for transmitting the audio information is less than a second preset threshold.
The audio information transmission level is medium and higher than the random transmission of the image information, since the data volume of the audio information is generally small, a second preset threshold (for example, 5%) of available bandwidth should be reserved for the timing transmission, and when the available bandwidth cannot be guaranteed, the audio data can interrupt the other level transmission, for example, the random transmission of the image information.
Optionally, the transmitting the image information through the third mode includes: and immediately transmitting the management control information through an instant transmission mode, wherein the instant transmission mode interrupts the transmission mode with lower priority and occupies the available bandwidth of the transmission mode with lower priority under the condition that the available bandwidth for transmitting the management control information is insufficient.
The management control information is the highest level transmission and is mainly used for transmitting connection management, control signaling, keyboard and mouse messages, and handshake interactive information when reliable transmission needs to be provided for random transmission and timing transmission, and the instant transmission does not need to reserve bandwidth, needs to ensure priority transmission, and can interrupt other level transmission, such as fixed mode transmission of audio information and/or random transmission of image information.
Optionally, the method further includes: determining whether the transmission mode being transmitted is a do-not-break transmission mode, and reserving the transmission mode under the condition that the transmission mode is the do-not-break transmission mode; interrupting the transmission mode in case the transmission mode is not a do-not-break transmission mode, wherein the continuity requirement of the data of the do-not-break transmission mode exceeds a preset continuity threshold and the data occupation available bandwidth does not exceed a third preset threshold.
The image information and the audio information both have the special condition that the data volume is small and the data volume cannot be interrupted, so that under the condition that the requirement of the continuity of the data exceeds a preset continuity threshold value and the occupied available bandwidth of the data does not exceed the transmission requirement of a third preset threshold value, a no-break transmission mark is added to the transmission mode, and the transmission is in the no-break transmission mode. In the no-break transmission mode, a higher priority transmission mode is determined to be in conflict with the no-break transmission mode, the transmission mode is retained, and it is determined to be broken in the case where the transmission mode is not the no-break transmission mode. Therefore, the priority of data transmission is determined according to the actual situation, the data transmission efficiency is further improved, and the technical problems that an image transmission system in the related technology cannot meet the effective transmission of different auxiliary information and the transmission efficiency is low are solved.
It should be noted that this embodiment also provides an alternative implementation, which is described in detail below.
The embodiment classifies the transmission contents according to the characteristics of the transmission contents in the graph transmission system, and sets different transmission modes for different types of transmission contents, specifically, three transmission modes are set in the embodiment, and different transmission priorities and transmission modes are respectively defined for different transmission modes, so as to ensure respective transmission efficiency, thereby improving the bandwidth utilization rate and QOS of the whole graph transmission system.
1. Random transmission: a lowest level data stream for transmitting image encoded data; the highest may occupy 100% of the available bandwidth, and when the occupied bandwidth exceeds 80% of the available bandwidth, the transmission may be interrupted by a higher level transmission.
2. Timing transmission: the transmission level is medium and higher than random transmission; for transmitting audio data, 5% of available bandwidth should be reserved for timed transmission, and when available bandwidth cannot be guaranteed, audio data can interrupt other levels of transmission.
3. And (3) instant transmission: the highest level transmission is mainly used for transmitting connection management, control signaling and keyboard and mouse messages, and handshake interactive information when reliable transmission needs to be provided in random transmission and timing transmission, and instant transmission does not need to reserve bandwidth, needs to guarantee priority transmission, and can interrupt other levels of transmission.
In a generalized image transmission system, an image source side is defined as S, and a received image side is defined as R. And the S-terminal software realizes the acquisition of the display picture of the system and transmits the display picture to the R-terminal for display. And the R-end software acquires control information of input equipment such as a mouse, a keyboard, a touch screen, a digitizer, a joystick and the like which are connected, and transmits the control information back to the S-end. In a scene with multimedia transmission such as a video conference, the S-terminal also transmits the played audio to the R-terminal for playback, and the R-terminal transmits the audio recorded by the microphone to the S-terminal.
In a complicated wide area network, since R, S are not visible to each other, it is necessary to add service transmission information such as connection management service, authentication service, billing service, and the like.
The above transmitted information has the characteristics of different transmission directions, different priorities and different real-time requirements. Therefore, different transmission contents need to be classified according to their characteristics, and the transmission contents are classified into three categories according to their characteristics in the present embodiment. The transmission layer divides the corresponding virtual transmission channels according to the characteristics of each type of transmission content, namely, three different virtual transmission channels are divided, and each channel sets the bandwidth, the priority and the scheduling strategy according to different QOS (quality of service), so that the user experience is improved under the optimal bandwidth utilization condition.
First, transmission of coded code stream
In 1.1 image transmission system, the data transmitted most mainly is the coding code stream of the image, according to different coding formats and image quality requirements, 1080P image resolution may reach the bandwidth requirement of 5 Mbps-70 Mbps, in addition, under different display contents, human eyes have different degrees of sensitivity to refreshing of image frames, when not video pictures, the frame rate is less than 15 frames/second and is not easy to be perceived, and the video pictures have obvious difference when less than 30 frames/second, the game pictures are more sensitive to the change of the frame rate, which shows that the image transmission is characterized by larger bandwidth dynamic range, and human eyes have certain tolerance to frame loss and frame error.
The 1.2R end may also support some input and output peripherals, such as printers, scanners, cameras, USB storage devices, etc., which are common, and have transmission characteristics similar to image transmission, high dynamic range bandwidth occupation, insensitivity to delay, and different from image transmission, the capability of accepting lost packets or wrong packets is not provided.
1.3 according to the above service characteristics, establishing a random transmission channel, not setting a reserved bandwidth, but according to the size of the transmitted code stream, dynamically adjusting the bandwidth by adopting a best effort strategy, occupying the highest available bandwidth of 100% according to the requirement, and interrupting the image transmission by higher priority transmission when the bandwidth occupies more than 80% of the available bandwidth. The image transmission only has the direction from S to R, and the peripheral data have both directions.
Two, audio transmission
2.1 under the application scenes of multimedia, games, video conferences and the like, voice transmission is required, audio signals in the hearing range are 20 Hz-20 KHz, so that the bandwidth of coded audio code streams is low, but the requirement of human ears on the continuity of sound signals is high, the audio transmission must be reliable and real-time, and any packet loss or delay can be perceived by human ears.
2.2 according to the above characteristics, a timing transmission channel is established, the timing transmission channel reserves 5% of the available bandwidth, not less than 48Kbps per channel, the timing transmission channel cannot be occupied when in use, and the channel can be temporarily closed when speech transmission is not required. And (5) yielding the bandwidth.
Third, transmission of other information (transmission connection management, control signaling and keyboard and mouse information)
3.1 the graph transmission system needs to support a computer operating the S terminal at the R terminal, generally needs to support some input devices such as a mouse, a keyboard, a touch screen, a joystick, a digitizer, etc., and the R terminal needs to transmit input information generated by the user operating the input devices to the S terminal for restoration. In order to ensure that the operation conforms to the habit of the user, the transmission must be in time, and information is not lost as far as possible.
3.2 in the wide area network, unlike the local area network, the S-side and the R-side usually cannot directly access the other side through the IP, and need to connect the management server and the authentication server to implement the related services such as registration, login, authentication, call, charging, hang-up, etc., and these services also need to be transmitted immediately, and the transmission layer needs to ensure that the information is not lost as much as possible.
3.3 some information in the random transmission channel and the timing transmission channel has the requirement of reliable transmission, and needs to establish a handshake, error correction or retransmission mechanism, and the mutual information of these mechanisms also needs to be transmitted preferentially.
3.4 according to the above characteristics, an instant transmission channel is established, the transmission service ensures that the information is transmitted preferentially, the instant transmission priority is highest under the condition of insufficient bandwidth, the bandwidth of random transmission can be preempted, but the bandwidth of the timing channel is not preempted when the timing channel transmits audio.
Fig. 2 is a schematic diagram of a data transmission apparatus according to an embodiment of the present invention, and as shown in fig. 2, according to another aspect of the embodiment of the present invention, there is also provided a data transmission apparatus including: a classification module 22 and a transmission module 24, which will be described in detail below.
A classification module 22, configured to classify data in a data stream to be transmitted; and a transmission module 24, connected to the classification module 22, for transmitting the different types of data via different transmission modes, wherein the transmission modes include transmission priority and transmission mode.
By the device, the classification module 22 is adopted to classify the data in the data stream to be transmitted; the transmission module 24 transmits different types of data through different transmission modes respectively, wherein the transmission modes include transmission priority and transmission mode, and by classifying the transmitted data, different types of data are transmitted through different transmission modes, so that the purpose of effectively transmitting the data in a classified manner is achieved, the technical effect of improving the transmission efficiency of the data is realized, and the technical problem that the image transmission system cannot meet the effective transmission of different auxiliary information and the transmission efficiency is low in the related technology is solved.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium, where the storage medium includes a stored program, and when the program runs, the apparatus on which the storage medium is located is controlled to execute the data transmission method of any one of the above.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a program, where the program executes to perform the data transmission method in any one of the above.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A method of data transmission, comprising:
classifying data in a data stream to be transmitted;
and respectively transmitting the data of different types through different transmission modes, wherein the transmission modes comprise transmission priority and transmission modes.
2. The method of claim 1, wherein classifying data in the data stream to be transmitted comprises:
classifying the data according to the content of the data in the data stream, wherein the content of the data comprises: image information, audio information, management control information.
3. The method of claim 2, wherein transmitting different classes of data via different transmission modes respectively comprises:
transmitting the image information through a first mode, wherein the first mode transmits the image information through a random transmission mode;
transmitting the audio information through a second mode, wherein the second mode transmits the audio information through a timing transmission mode;
transmitting the management control information through a third mode, wherein the third mode transmits the management control information through an instant transmission mode;
wherein the priority of the first mode is lower than the priority of the second mode, and the priority of the second mode is lower than the priority of the third mode.
4. The method of claim 3, wherein transmitting the image information via the first mode comprises:
and randomly transmitting the image information through the random transmission mode, wherein under the condition that the occupied available bandwidth of the transmitted image information exceeds a first preset threshold value and the transmission mode with higher priority simultaneously needs to transmit data, the random transmission mode is interrupted by the transmission mode with higher priority.
5. The method of claim 3, wherein transmitting the audio information via the second mode comprises:
and transmitting the audio information at preset time intervals by the timing transmission mode, wherein the timing transmission mode interrupts the transmission mode with lower priority and occupies the available bandwidth of the transmission mode with lower priority under the condition that the available bandwidth for transmitting the audio information is less than a second preset threshold.
6. The method of claim 3, wherein transmitting the image information via a third mode comprises:
and immediately transmitting the management control information through the instant transmission mode, wherein the instant transmission mode interrupts the transmission mode with lower priority and occupies the available bandwidth of the transmission mode with lower priority under the condition that the available bandwidth for transmitting the management control information is insufficient.
7. The method of claim 6, further comprising:
determining whether a transmission mode being transmitted is a do-not-break transmission mode, and in the case that the transmission mode is the do-not-break transmission mode, retaining the transmission mode; interrupting the transmission mode if the transmission mode is not a do-not-break transmission mode, wherein a continuity requirement of data of the do-not-break transmission mode exceeds a preset continuity threshold and an available bandwidth occupied by the data does not exceed a third preset threshold.
8. A data transmission apparatus, comprising:
the classification module is used for classifying data in the data stream to be transmitted;
and the transmission module is used for transmitting different types of data through different transmission modes respectively, wherein the transmission modes comprise transmission priority and transmission modes.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein when the program runs, a device where the storage medium is located is controlled to execute the data transmission method according to any one of claims 1 to 7.
10. A processor, characterized in that the processor is configured to run a program, wherein the program is configured to execute the data transmission method according to any one of claims 1 to 7 when running.
CN202010307932.6A 2020-04-17 2020-04-17 Data transmission method and device Pending CN111541622A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010307932.6A CN111541622A (en) 2020-04-17 2020-04-17 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010307932.6A CN111541622A (en) 2020-04-17 2020-04-17 Data transmission method and device

Publications (1)

Publication Number Publication Date
CN111541622A true CN111541622A (en) 2020-08-14

Family

ID=71980106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010307932.6A Pending CN111541622A (en) 2020-04-17 2020-04-17 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN111541622A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115174567A (en) * 2022-06-22 2022-10-11 浙江大华技术股份有限公司 Code sending method, device, equipment and storage medium
CN115278376A (en) * 2022-05-25 2022-11-01 西安万像电子科技有限公司 Audio and video data transmission method and device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000003521A1 (en) * 1998-07-10 2000-01-20 Honeywell Inc. Middleware-based real-time communication system
CN1538309A (en) * 2003-09-02 2004-10-20 竺红卫 Non-homogeneous multi media flow transmission regulation method based on priority regulation
CN101924781A (en) * 2009-06-15 2010-12-22 日电(中国)有限公司 Terminal equipment and QoS implementation method and flow classifier
CN103037549A (en) * 2012-12-17 2013-04-10 北京恒通安信科技有限公司 Multi-level data based classification and transmission optimization method and family monitoring gateway provided with the same
CN103442391A (en) * 2013-09-12 2013-12-11 华为终端有限公司 Data transmission method and system as well as user terminal
JP2014160341A (en) * 2013-02-19 2014-09-04 Ricoh Co Ltd Data processing apparatus and data processing method
CN108234309A (en) * 2017-12-27 2018-06-29 宁波菊风系统软件有限公司 A kind of transmission method of network data
CN108363669A (en) * 2017-01-26 2018-08-03 佳能株式会社 Memory access system, its control method, storage medium and image forming apparatus

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2000003521A1 (en) * 1998-07-10 2000-01-20 Honeywell Inc. Middleware-based real-time communication system
CN1538309A (en) * 2003-09-02 2004-10-20 竺红卫 Non-homogeneous multi media flow transmission regulation method based on priority regulation
CN101924781A (en) * 2009-06-15 2010-12-22 日电(中国)有限公司 Terminal equipment and QoS implementation method and flow classifier
CN103037549A (en) * 2012-12-17 2013-04-10 北京恒通安信科技有限公司 Multi-level data based classification and transmission optimization method and family monitoring gateway provided with the same
JP2014160341A (en) * 2013-02-19 2014-09-04 Ricoh Co Ltd Data processing apparatus and data processing method
CN103442391A (en) * 2013-09-12 2013-12-11 华为终端有限公司 Data transmission method and system as well as user terminal
CN108363669A (en) * 2017-01-26 2018-08-03 佳能株式会社 Memory access system, its control method, storage medium and image forming apparatus
CN108234309A (en) * 2017-12-27 2018-06-29 宁波菊风系统软件有限公司 A kind of transmission method of network data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115278376A (en) * 2022-05-25 2022-11-01 西安万像电子科技有限公司 Audio and video data transmission method and device
CN115278376B (en) * 2022-05-25 2024-03-22 西安万像电子科技有限公司 Audio and video data transmission method and device
CN115174567A (en) * 2022-06-22 2022-10-11 浙江大华技术股份有限公司 Code sending method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108881780B (en) Method and server for dynamically adjusting definition mode in video call
WO2020014880A1 (en) Multi-screen interaction method and device
CN105791889A (en) Advertisement inter-cut method for video live broadcasting and advertisement inter-cut device for video live broadcasting
CN111541622A (en) Data transmission method and device
CN101924903B (en) Method, device and system for realizing video call
CN112383803B (en) Information processing method and related device
CN114666225B (en) Bandwidth adjustment method, data transmission method, device and computer storage medium
CN109547812A (en) A kind of live broadcasting method, device, mobile terminal and storage medium
CN110324721B (en) Video data processing method and device and storage medium
CN203352696U (en) Multimedia digit conference system
CN109982148A (en) A kind of live broadcasting method, device, computer equipment and storage medium
KR20220104225A (en) Device Occupation Methods and Electronic Devices
US20210306699A1 (en) Audio processing method and electronic device
NL9401262A (en) Telecommunication system.
CN103338346A (en) Method and system for realizing multimedia digital conference
CN111527733A (en) Control bimodulus bluetooth low energy consumption multimedia device
US10218578B2 (en) Method for controlling a management device and related device
WO2013165812A1 (en) Data transfer reduction during video broadcasts
Delgrossi Design of reservation protocols for multimedia communication
WO2018182061A1 (en) Adaptive bitrate image service method
CN115550705A (en) Audio playing method and device
CN110087020B (en) Method and system for realizing video networking conference by iOS equipment
CN109640178B (en) Network shunting method and related equipment
JP2021140783A (en) Mediation method and computer-readable recording medium
CN114554277A (en) Multimedia processing method, device, server and computer readable storage medium

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: 20200814