CN112770358A - Multi-rate mode data transmission control method and device based on service data - Google Patents
Multi-rate mode data transmission control method and device based on service data Download PDFInfo
- Publication number
- CN112770358A CN112770358A CN202110044297.1A CN202110044297A CN112770358A CN 112770358 A CN112770358 A CN 112770358A CN 202110044297 A CN202110044297 A CN 202110044297A CN 112770358 A CN112770358 A CN 112770358A
- Authority
- CN
- China
- Prior art keywords
- service data
- channel
- data
- data transmission
- determining
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0231—Traffic management, e.g. flow control or congestion control based on communication conditions
- H04W28/0236—Traffic management, e.g. flow control or congestion control based on communication conditions radio quality, e.g. interference, losses or delay
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0252—Traffic management, e.g. flow control or congestion control per individual bearer or channel
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0278—Traffic management, e.g. flow control or congestion control using buffer status reports
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
- H04W28/22—Negotiating communication rate
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a multi-rate mode data transmission control method and a device based on service data, wherein the method comprises the following steps: the method comprises the steps that node control equipment receives service data sent by each terminal node and determines type identification of the service data; according to the type identification of the service data, caching the service data into different cache queues respectively, wherein each cache queue stores the service data with the same type identification; determining the service data volume buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data volume, wherein the data transmission channel comprises a public channel and a private channel, and the data transmission rate of the public channel is less than that of the private channel. According to the scheme, the data sending efficiency is improved, the network resource consumption is reduced, and the transmission channel is reasonably utilized.
Description
Technical Field
The embodiment of the application relates to the technical field of Internet of things, in particular to a multi-rate mode data sending control method and device based on service data.
Background
With the popularization of the internet of things technology and the powerful functions of intelligent equipment, the internet of things equipment plays an increasingly important role in daily life of people. Various kinds of intelligent physical network terminal devices are applied to various fields.
In the prior art, the terminal device of the internet of things needs to upload data to the internet to realize certain corresponding functions, so that the terminal device of the internet of things needs to establish a data transmission channel with the internet to realize data transmission interaction. Generally, the data volume transmitted by the terminal equipment of the internet of things is small, so that the problem that the transmission mechanism with low power consumption and data transmission stability is guaranteed is urgently needed to be solved at present.
Disclosure of Invention
The embodiment of the invention provides a multi-rate mode data transmission control method and device based on service data, which improve the data transmission efficiency, reduce the network resource consumption and reasonably utilize a transmission channel.
In a first aspect, an embodiment of the present invention provides a method for controlling data transmission in a multi-rate mode based on service data, where the method includes:
the method comprises the steps that node control equipment receives service data sent by each terminal node and determines type identification of the service data;
according to the type identification of the service data, caching the service data into different cache queues respectively, wherein each cache queue stores the service data with the same type identification;
determining the service data volume buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data volume, wherein the data transmission channel comprises a public channel and a private channel, and the data transmission rate of the public channel is less than that of the private channel.
Optionally, the determining the type identifier of the service data includes:
determining a type identifier in a first service data block in the service data;
correspondingly, before the node control device receives the service data sent by each terminal node, the method further includes:
when a terminal node sends service data, determining a function running program corresponding to the service data, and adding a type identifier to the service data according to a type identifier pre-allocated to the function running program.
Optionally, the determining the amount of the service data buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the amount of the service data, includes:
if the occupied space of the buffer queue of the service data volume is larger than a first threshold value and the currently used channel is a public channel, switching a transmission channel into a private channel;
and if the occupied space of the buffer queue of the service data volume is not larger than a first threshold value and the currently used private channel is a public channel, switching the transmission channel into a public channel.
Optionally, the determining the amount of the service data buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the amount of the service data, includes:
determining the data transmission rate of the current data transmission channel;
determining the service data amount buffered and stored in each buffer queue and the time delay parameter corresponding to the buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data amount, the data transmission rate and the time delay parameter.
In a second aspect, an embodiment of the present invention further provides a device for controlling data transmission in a multi-rate mode based on service data, including:
the data receiving module is used for receiving the service data sent by each terminal node and determining the type identification of the service data;
the data caching module is used for respectively caching the service data into different caching queues according to the type identifiers of the service data, wherein each caching queue stores the service data with the same type identifier;
and the data channel processing module is used for determining the service data volume buffered and stored in each buffer queue and determining the switching of the currently used data transmission channel according to the size of the service data volume, wherein the data transmission channel comprises a public channel and a private channel, and the data transmission rate of the public channel is less than that of the private channel.
Optionally, the data receiving module is specifically configured to:
determining a type identifier in a first service data block in the service data;
correspondingly, before the node control device receives the service data sent by each terminal node, the method further includes:
when a terminal node sends service data, determining a function running program corresponding to the service data, and adding a type identifier to the service data according to a type identifier pre-allocated to the function running program.
Optionally, the data channel processing module is specifically configured to:
if the occupied space of the buffer queue of the service data volume is larger than a first threshold value and the currently used channel is a public channel, switching a transmission channel into a private channel;
and if the occupied space of the buffer queue of the service data volume is not larger than a first threshold value and the currently used private channel is a public channel, switching the transmission channel into a public channel.
Optionally, the data channel processing module is specifically configured to:
determining the data transmission rate of the current data transmission channel;
determining the service data amount buffered and stored in each buffer queue and the time delay parameter corresponding to the buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data amount, the data transmission rate and the time delay parameter.
In a third aspect, an embodiment of the present invention further provides a device for controlling data transmission in a multi-rate mode based on service data, where the device includes:
one or more processors;
a storage device for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for controlling data transmission based on multi-rate mode of service data according to the embodiment of the present invention.
In a fourth aspect, the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform the method for controlling data transmission based on multi-rate mode of service data according to the present invention.
In the embodiment of the invention, the node control equipment receives the service data sent by each terminal node and determines the type identification of the service data; according to the type identification of the service data, caching the service data into different cache queues respectively, wherein each cache queue stores the service data with the same type identification; the method comprises the steps of determining the service data volume buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data volume, wherein the data transmission channel comprises a public channel and a private channel, and the data transmission rate of the public channel is lower than that of the private channel.
Drawings
Fig. 1 is a flowchart of a multi-rate mode data transmission control method based on service data according to an embodiment of the present invention;
fig. 2 is a flowchart of another multi-rate mode data transmission control method based on service data according to an embodiment of the present invention;
fig. 3 is a flowchart of another multi-rate mode data transmission control method based on service data according to an embodiment of the present invention;
fig. 4 is a flowchart of another multi-rate mode data transmission control method based on service data according to an embodiment of the present invention;
fig. 5 is a block diagram illustrating a multi-rate mode data transmission control apparatus based on service data according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings.
Fig. 1 is a flowchart of a multi-rate mode data transmission control method based on service data according to an embodiment of the present invention, which is applicable to data transmission of internet of things devices. The scheme of one embodiment of the application specifically comprises the following steps:
step S101, a node control device receives service data sent by each terminal node and determines the type identification of the service data.
In one embodiment, the node control device and each terminal node are under the same network, and the network may be a local area network or a wifi network. For example, there are 20 terminal nodes and 1 node control device in a network, where the node control device may be a device separately configured to implement data transmission, and may also be any terminal node device.
In one embodiment, the terminal node communicates with the server by sending the service data to implement its own function, such as reporting the collected sensor data or processing data obtained by calculation. And the node control equipment receives the service data sent by the terminal nodes in the group network and sends the service data in a unified way. The node control equipment determines the type identification of the service data after receiving the service data sent by the terminal node. The service data corresponds to a type identifier and is used for representing the specific type of the service data.
And step S102, respectively caching the service data into different cache queues according to the type identifiers of the service data, wherein each cache queue stores the service data with the same type identifier.
In one embodiment, the node control device is provided with a plurality of buffer queues for transmitting the service data respectively. Each cache queue independently and correspondingly sends one type of service data, illustratively, for each cache queue, the node control device correspondingly maintains a service data identifier, such as a type identifier of the service data, for example, the type identifiers are type a, type b and type c, and distributes the service data corresponding to the type of the service identifier to the cache queue corresponding to the service data identifier.
Step S103, determining the service data volume buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data volume.
In one embodiment, when the buffer queue performs data buffering, the allocated data transmission channel is correspondingly used for data transmission. The received traffic data volume of the terminal node and the data sent by the cache queue may be stored in a mismatch problem, that is, a large amount of traffic data may be received in a short time and cached in the queue, and the data volume in the cache queue may gradually decrease. In this step, the amount of service data buffered in each buffer queue is determined, and switching of the currently used data transmission channel is determined according to the amount of the service data, where the data transmission channel includes a public channel and a private channel, and a data transmission rate of the public channel is less than a data transmission rate of the private channel. The public channel is a transmission channel with a relatively slow data transmission rate provided by an operator, and is relatively low in cost, and the private channel is a channel with a relatively high data transmission rate provided by the operator, and is relatively high in cost.
In one embodiment, the buffer queue for each different traffic type corresponds to an initial transmission channel. In this embodiment, for the service data of the reported data type, the allocated buffer queue uses a public channel, and when the service data in the buffer queue gradually increases, for example, the increase rate of the service data is counted, and when the increase rate exceeds 100%, the public channel is switched to a private channel to transmit the service data.
Therefore, the service data sent by each terminal node is received through the node control equipment, and the type identification of the service data is determined; according to the type identification of the service data, caching the service data into different cache queues respectively, wherein each cache queue stores the service data with the same type identification; determining the service data volume buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data volume, wherein the data transmission channel comprises a public channel and a private channel, and the data transmission rate of the public channel is less than that of the private channel. According to the scheme, the data sending efficiency is improved, the network resource consumption is reduced, and the transmission channel is reasonably utilized.
Fig. 2 is a flowchart of another method for controlling data transmission based on multi-rate mode of service data according to an embodiment of the present invention. On the basis of the above technical solution, the determining the type identifier of the service data includes:
determining a type identifier in a first service data block in the service data;
correspondingly, before the node control device receives the service data sent by each terminal node, the method further includes:
when a terminal node sends service data, determining a function running program corresponding to the service data, and adding a type identifier to the service data according to a type identifier pre-allocated to the function running program. The method specifically comprises the following steps:
step S201, when a terminal node sends service data, determining a function running program corresponding to the service data, and adding a type identifier to the service data according to a type identifier pre-allocated to the function running program.
In one embodiment, the terminal node includes a step of determining the type identifier of the service data and adding the type identifier when sending the service data. Specifically, the method is to determine a function running program corresponding to the service data, and add a type identifier to the service data according to a type identifier pre-allocated to the function running program. The terminal node can operate a plurality of application programs of different types in the operation process, the application programs are distributed with pre-distributed type identifiers as function operation programs, and the type identifiers are correspondingly added according to service data generated by the function operation. By the method, the corresponding type identification can be automatically marked when the service data is generated, and the processing is convenient and quick.
Step S202, the node control equipment receives the service data sent by each terminal node, and determines the type identification in the first service data block in the service data.
In one embodiment, when the service data includes a plurality of consecutive service data blocks, and the type identifier is added to a first service data block of the consecutive service data blocks.
Step S203, respectively caching the service data into different cache queues according to the type identifier of the service data, wherein each cache queue stores the service data with the same type identifier.
Step S204, determining the service data volume buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data volume.
According to the method, when the terminal node sends the service data, the function operation program corresponding to the service data is determined, the type identifier is added to the service data according to the type identifier pre-allocated to the function operation program, and then the switching of the transmission channel is determined according to the type identifier subsequently, so that the data sending efficiency is improved, the network resource consumption is reduced, and the transmission channel is reasonably utilized.
Fig. 3 is a flowchart of another method for controlling data transmission based on multi-rate mode of service data according to an embodiment of the present invention. On the basis of the above technical solution, the determining the amount of the service data buffered and stored in each buffer queue and determining the switching of the currently used data transmission channel according to the size of the amount of the service data includes: if the occupied space of the buffer queue of the service data volume is larger than a first threshold value and the currently used channel is a public channel, switching a transmission channel into a private channel;
and if the occupied space of the buffer queue of the service data volume is not larger than a first threshold value and the currently used private channel is a public channel, switching the transmission channel into a public channel. The method specifically comprises the following steps:
step S301, when a terminal node sends service data, determining a function running program corresponding to the service data, and adding a type identifier to the service data according to a type identifier pre-allocated to the function running program.
Step S302, the node control device receives the service data sent by each terminal node, and determines the type identifier in the first service data block in the service data.
Step S303, respectively caching the service data into different cache queues according to the type identifier of the service data, wherein each cache queue stores the service data with the same type identifier.
Step S304, determining the service data amount buffered and stored in each buffer queue, and if the space occupied by the buffer queue of the service data amount is larger than a first threshold value and the current channel is a public channel, switching the transmission channel into a private channel; and if the occupied space of the buffer queue of the service data volume is not larger than a first threshold value and the currently used private channel is a public channel, switching the transmission channel into a public channel.
In one embodiment, the first threshold may be 50%. That is, when the service data is sent through the buffer queue, the ratio of the currently buffered service data to the storage space of the buffer queue is determined, and illustratively, a storage space is separately created for each type of service data for buffering the service data. If the occupied space of the buffer queue of the service data volume is larger than a first threshold value and the currently used channel is a public channel, switching a transmission channel into a private channel; and if the occupied space of the buffer queue of the service data volume is not more than a first threshold value and the currently used private channel is a private channel, switching the transmission channel into a public channel, thereby optimizing a data transmission mechanism and reasonably utilizing the transmission channel to the maximum extent.
Fig. 4 is a flowchart of another method for controlling data transmission based on multi-rate mode of service data according to an embodiment of the present invention. On the basis of the above technical solution, the determining the amount of the service data buffered and stored in each buffer queue and determining the switching of the currently used data transmission channel according to the size of the amount of the service data includes:
determining the data transmission rate of the current data transmission channel;
determining the service data amount buffered and stored in each buffer queue and the time delay parameter corresponding to the buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data amount, the data transmission rate and the time delay parameter. The method specifically comprises the following steps:
step S401, when the terminal node sends the service data, determining a function running program corresponding to the service data, and adding a type identifier to the service data according to a type identifier pre-allocated to the function running program.
Step S402, the node control device receives the service data sent by each terminal node, and determines the type identification in the first service data block in the service data.
Step S403, according to the type identifier of the service data, respectively caching the service data into different cache queues, where each cache queue stores the service data with the same type identifier.
Step S404, determining the data transmission rate of the current data transmission channel, determining the service data amount buffered and stored in each buffer queue and the time delay parameter corresponding to the buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data amount, the data transmission rate and the time delay parameter.
The data transmission rate is the sending amount of the service data in unit time, and the delay parameter corresponding to the buffer queue may be the delay time of sending the specific service data.
In one embodiment, the data transmission rate of the current data transmission channel is determined, the service data volume buffered and stored in each buffer queue is determined, the actual transmission delay is obtained through the service data volume/data transmission rate, and if the actual transmission delay is greater than the delay parameter and the public channel is adopted for transmission currently, the private channel is determined to be switched for transmission.
According to the method, the data transmission rate of the current data transmission channel is determined, the service data amount buffered and stored in each buffer queue and the time delay parameter corresponding to the buffer queue are determined, and the switching of the currently used data transmission channel is determined according to the size of the service data amount, the data transmission rate and the time delay parameter, so that the data transmission efficiency is improved, the network resource consumption is reduced, and the transmission channel is reasonably utilized.
Fig. 5 is a block diagram of a multi-rate mode data transmission control device based on service data according to an embodiment of the present invention, where the device is configured to execute a multi-rate mode data transmission control method based on service data according to an embodiment of the data receiving end, and has corresponding functional modules and beneficial effects of the execution method. As shown in fig. 5, the apparatus specifically includes: a data receiving module 101, a data caching module 102 and a data channel processing module, wherein,
a data receiving module 101, configured to receive service data sent by each terminal node, and determine a type identifier of the service data;
the data caching module 102 is configured to cache the service data into different cache queues according to the type identifier of the service data, where each cache queue stores the service data with the same type identifier;
the data channel processing module 103 is configured to determine a service data amount buffered in each buffer queue, and determine switching of a currently used data transmission channel according to the size of the service data amount, where the data transmission channel includes a public channel and a private channel, and a data transmission rate of the public channel is less than a data transmission rate of the private channel.
According to the scheme, the service data sent by each terminal node is received through the node control equipment, and the type identification of the service data is determined; according to the type identification of the service data, caching the service data into different cache queues respectively, wherein each cache queue stores the service data with the same type identification; determining the service data volume buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data volume, wherein the data transmission channel comprises a public channel and a private channel, and the data transmission rate of the public channel is less than that of the private channel. According to the scheme, the data sending efficiency is improved, the network resource consumption is reduced, and the transmission channel is reasonably utilized.
In a possible embodiment, the data receiving module is specifically configured to:
determining a type identifier in a first service data block in the service data;
correspondingly, before the node control device receives the service data sent by each terminal node, the method further includes:
when a terminal node sends service data, determining a function running program corresponding to the service data, and adding a type identifier to the service data according to a type identifier pre-allocated to the function running program.
In a possible embodiment, the data channel processing module is specifically configured to:
if the occupied space of the buffer queue of the service data volume is larger than a first threshold value and the currently used channel is a public channel, switching a transmission channel into a private channel;
and if the occupied space of the buffer queue of the service data volume is not larger than a first threshold value and the currently used private channel is a public channel, switching the transmission channel into a public channel.
In a possible embodiment, the data channel processing module is specifically configured to:
determining the data transmission rate of the current data transmission channel;
determining the service data amount buffered and stored in each buffer queue and the time delay parameter corresponding to the buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data amount, the data transmission rate and the time delay parameter.
Fig. 6 is a schematic structural diagram of a multi-rate mode data transmission control device based on service data according to an embodiment of the present invention, as shown in fig. 6, the device includes a processor 201, a memory 202, an input device 203, and an output device 204; the number of the processors 201 in the device may be one or more, and one processor 201 is taken as an example in fig. 6; the processor 201, the memory 202, the input device 203 and the output device 204 in the apparatus may be connected by a bus or other means, for example in fig. 6. The memory 202 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the multi-rate mode data transmission control method based on service data in the embodiment of the present invention. The processor 201 executes various functional applications and data processing of the device by running software programs, instructions and modules stored in the memory 202, that is, implements the above-described multi-rate mode data transmission control method based on service data. The input device 203 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function controls of the apparatus. The output device 204 may include a display device such as a display screen.
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a method for controlling data transmission in a multi-rate mode based on service data, the method including:
the method comprises the steps that node control equipment receives service data sent by each terminal node and determines type identification of the service data;
according to the type identification of the service data, caching the service data into different cache queues respectively, wherein each cache queue stores the service data with the same type identification;
determining the service data volume buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data volume, wherein the data transmission channel comprises a public channel and a private channel, and the data transmission rate of the public channel is less than that of the private channel.
Optionally, the determining the type identifier of the service data includes:
determining a type identifier in a first service data block in the service data;
correspondingly, before the node control device receives the service data sent by each terminal node, the method further includes:
when a terminal node sends service data, determining a function running program corresponding to the service data, and adding a type identifier to the service data according to a type identifier pre-allocated to the function running program.
Optionally, the determining the amount of the service data buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the amount of the service data, includes:
if the occupied space of the buffer queue of the service data volume is larger than a first threshold value and the currently used channel is a public channel, switching a transmission channel into a private channel;
and if the occupied space of the buffer queue of the service data volume is not larger than a first threshold value and the currently used private channel is a public channel, switching the transmission channel into a public channel.
Optionally, the determining the amount of the service data buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the amount of the service data, includes:
determining the data transmission rate of the current data transmission channel;
determining the service data amount buffered and stored in each buffer queue and the time delay parameter corresponding to the buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data amount, the data transmission rate and the time delay parameter.
From the above description of the embodiments, it is obvious for those skilled in the art that the embodiments of the present invention can be implemented by software and necessary general hardware, and certainly can be implemented by hardware, but the former is a better implementation in many cases. Based on such understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions to make a computer device (which may be a personal computer, a service, or a network device) perform the methods described in the embodiments of the present invention.
It should be noted that, in the embodiment of the device for controlling data transmission in multi-rate mode based on service data, the included units and modules are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the embodiment of the invention.
It should be noted that the foregoing is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will appreciate that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.
Claims (10)
1. The multi-rate mode data transmission control method based on the service data is characterized by comprising the following steps:
the method comprises the steps that node control equipment receives service data sent by each terminal node and determines type identification of the service data;
according to the type identification of the service data, caching the service data into different cache queues respectively, wherein each cache queue stores the service data with the same type identification;
determining the service data volume buffered and stored in each buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data volume, wherein the data transmission channel comprises a public channel and a private channel, and the data transmission rate of the public channel is less than that of the private channel.
2. The method of claim 1, wherein said determining the type identifier of the traffic data comprises:
determining a type identifier in a first service data block in the service data;
correspondingly, before the node control device receives the service data sent by each terminal node, the method further includes:
when a terminal node sends service data, determining a function running program corresponding to the service data, and adding a type identifier to the service data according to a type identifier pre-allocated to the function running program.
3. The method for controlling data transmission in multi-rate mode based on service data according to claim 1, wherein the determining the amount of service data buffered in each buffer queue and the switching of the currently used data transmission channel according to the size of the amount of service data comprises:
if the occupied space of the buffer queue of the service data volume is larger than a first threshold value and the currently used channel is a public channel, switching a transmission channel into a private channel;
and if the occupied space of the buffer queue of the service data volume is not larger than a first threshold value and the currently used private channel is a public channel, switching the transmission channel into a public channel.
4. The method for controlling data transmission in multi-rate mode based on service data according to claim 3, wherein the determining the amount of service data buffered in each buffer queue and the switching of the currently used data transmission channel according to the size of the amount of service data comprises:
determining the data transmission rate of the current data transmission channel;
determining the service data amount buffered and stored in each buffer queue and the time delay parameter corresponding to the buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data amount, the data transmission rate and the time delay parameter.
5. A multi-rate mode data transmission control apparatus based on service data, comprising:
the data receiving module is used for receiving the service data sent by each terminal node and determining the type identification of the service data;
the data caching module is used for respectively caching the service data into different caching queues according to the type identifiers of the service data, wherein each caching queue stores the service data with the same type identifier;
and the data channel processing module is used for determining the service data volume buffered and stored in each buffer queue and determining the switching of the currently used data transmission channel according to the size of the service data volume, wherein the data transmission channel comprises a public channel and a private channel, and the data transmission rate of the public channel is less than that of the private channel.
6. The device for controlling multi-rate mode data transmission based on service data according to claim 5, wherein the data receiving module is specifically configured to:
determining a type identifier in a first service data block in the service data;
correspondingly, before the node control device receives the service data sent by each terminal node, the method further includes:
when a terminal node sends service data, determining a function running program corresponding to the service data, and adding a type identifier to the service data according to a type identifier pre-allocated to the function running program.
7. The device for controlling multi-rate mode data transmission based on service data according to claim 5, wherein the data channel processing module is specifically configured to:
if the occupied space of the buffer queue of the service data volume is larger than a first threshold value and the currently used channel is a public channel, switching a transmission channel into a private channel;
and if the occupied space of the buffer queue of the service data volume is not larger than a first threshold value and the currently used private channel is a public channel, switching the transmission channel into a public channel.
8. The apparatus for controlling data transmission in multi-rate mode based on service data according to claim 7, wherein the data channel processing module is specifically configured to:
determining the data transmission rate of the current data transmission channel;
determining the service data amount buffered and stored in each buffer queue and the time delay parameter corresponding to the buffer queue, and determining the switching of the currently used data transmission channel according to the size of the service data amount, the data transmission rate and the time delay parameter.
9. A multi-rate mode data transmission control apparatus based on traffic data, the apparatus comprising: one or more processors; storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method for controlling data transmission based on traffic data according to any one of claims 1 to 4.
10. A storage medium containing computer-executable instructions for performing the multi-rate mode data transmission control method based on traffic data according to any one of claims 1 to 4 when executed by a computer processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110044297.1A CN112770358B (en) | 2021-01-13 | 2021-01-13 | Multi-rate mode data transmission control method and device based on service data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110044297.1A CN112770358B (en) | 2021-01-13 | 2021-01-13 | Multi-rate mode data transmission control method and device based on service data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112770358A true CN112770358A (en) | 2021-05-07 |
CN112770358B CN112770358B (en) | 2022-05-27 |
Family
ID=75700264
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110044297.1A Active CN112770358B (en) | 2021-01-13 | 2021-01-13 | Multi-rate mode data transmission control method and device based on service data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112770358B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114090237A (en) * | 2021-10-27 | 2022-02-25 | 安天科技集团股份有限公司 | Terminal data service control method and device, electronic equipment and storage medium |
WO2022246816A1 (en) * | 2021-05-28 | 2022-12-01 | 华为技术有限公司 | Multi-channel optical service unit scheduling method and apparatus |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2001037587A2 (en) * | 1999-11-17 | 2001-05-25 | Telefonaktiebolaget Lm Ericsson (Publ) | Acceleration dependent channel switching in mobile telecommunications |
CN1402946A (en) * | 1999-10-29 | 2003-03-12 | 艾利森电话股份有限公司 | Channel-type switching from common channel to dedicated channel based on common channel load |
US20060045109A1 (en) * | 2004-08-30 | 2006-03-02 | International Business Machines Corporation | Early interrupt notification in RDMA and in DMA operations |
US20060045005A1 (en) * | 2004-08-30 | 2006-03-02 | International Business Machines Corporation | Failover mechanisms in RDMA operations |
EP1643690A1 (en) * | 2004-10-01 | 2006-04-05 | Matsushita Electric Industrial Co., Ltd. | Quality-of-Service (QoS)-aware scheduling for uplink transmissions on dedicated channels |
US20060075067A1 (en) * | 2004-08-30 | 2006-04-06 | International Business Machines Corporation | Remote direct memory access with striping over an unreliable datagram transport |
US20080186862A1 (en) * | 2007-02-05 | 2008-08-07 | Telefonaktiebolaget Lm Ericsson (Publ) | Congestion/load indication for high speed packet access |
CN104301066A (en) * | 2013-07-19 | 2015-01-21 | 华为技术有限公司 | Data packet transmission method and device |
CN107634915A (en) * | 2017-08-25 | 2018-01-26 | 中国科学院计算机网络信息中心 | Data transmission method, device and storage medium |
CN111371701A (en) * | 2020-03-17 | 2020-07-03 | 重庆邮电大学 | MAC layer queue scheduling method based on TDMA |
CN112583741A (en) * | 2020-12-23 | 2021-03-30 | 广州技象科技有限公司 | Multi-rate mode data transmission control method and device based on cache queue |
-
2021
- 2021-01-13 CN CN202110044297.1A patent/CN112770358B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1402946A (en) * | 1999-10-29 | 2003-03-12 | 艾利森电话股份有限公司 | Channel-type switching from common channel to dedicated channel based on common channel load |
WO2001037587A2 (en) * | 1999-11-17 | 2001-05-25 | Telefonaktiebolaget Lm Ericsson (Publ) | Acceleration dependent channel switching in mobile telecommunications |
US20060045109A1 (en) * | 2004-08-30 | 2006-03-02 | International Business Machines Corporation | Early interrupt notification in RDMA and in DMA operations |
US20060045005A1 (en) * | 2004-08-30 | 2006-03-02 | International Business Machines Corporation | Failover mechanisms in RDMA operations |
US20060075067A1 (en) * | 2004-08-30 | 2006-04-06 | International Business Machines Corporation | Remote direct memory access with striping over an unreliable datagram transport |
EP1643690A1 (en) * | 2004-10-01 | 2006-04-05 | Matsushita Electric Industrial Co., Ltd. | Quality-of-Service (QoS)-aware scheduling for uplink transmissions on dedicated channels |
US20080186862A1 (en) * | 2007-02-05 | 2008-08-07 | Telefonaktiebolaget Lm Ericsson (Publ) | Congestion/load indication for high speed packet access |
CN104301066A (en) * | 2013-07-19 | 2015-01-21 | 华为技术有限公司 | Data packet transmission method and device |
CN107634915A (en) * | 2017-08-25 | 2018-01-26 | 中国科学院计算机网络信息中心 | Data transmission method, device and storage medium |
CN111371701A (en) * | 2020-03-17 | 2020-07-03 | 重庆邮电大学 | MAC layer queue scheduling method based on TDMA |
CN112583741A (en) * | 2020-12-23 | 2021-03-30 | 广州技象科技有限公司 | Multi-rate mode data transmission control method and device based on cache queue |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022246816A1 (en) * | 2021-05-28 | 2022-12-01 | 华为技术有限公司 | Multi-channel optical service unit scheduling method and apparatus |
CN114090237A (en) * | 2021-10-27 | 2022-02-25 | 安天科技集团股份有限公司 | Terminal data service control method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112770358B (en) | 2022-05-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110839084B (en) | Session management method, device, equipment and medium | |
CN112770358B (en) | Multi-rate mode data transmission control method and device based on service data | |
US11888744B2 (en) | Spin-leaf network congestion control method, node, system, and storage medium | |
CN108540568B (en) | Computing capacity sharing method and intelligent equipment | |
WO2023103419A1 (en) | Message queue-based method and apparatus for sending 5g messages in batches, and electronic device | |
CN117614517B (en) | Multilink data transmission method and device based on data transmission quantity control | |
CN113992600A (en) | Multi-rate mode data transmission control method and device based on cache queue | |
KR102565409B1 (en) | Method, device, electronic equipment for adjusting the number of instances and readble storage medium | |
US11700189B2 (en) | Method for performing task processing on common service entity, common service entity, apparatus and medium for task processing | |
US20210399986A1 (en) | Data communication method, server device, client device and medium | |
CN112994934B (en) | Data interaction method, device and system | |
CN112422645B (en) | Data transmission method and device determined according to transmission data identification | |
CN113676423A (en) | Port flow control method and device, exchange chip and storage medium | |
CN111988403A (en) | Request processing method and system of electronic equipment, storage medium and electronic equipment | |
CN113993162B (en) | Multi-rate mode data transmission control method and device based on cache data | |
CN112968783B (en) | Low-power-consumption processing method and device based on transmitted data | |
CN116033503A (en) | Internetwork node switching method and device based on networking performance | |
CN114553778B (en) | Heartbeat control method and device, storage medium and electronic equipment | |
CN108055660B (en) | Method for transmitting data in network channel and Internet of things terminal | |
CN113742004B (en) | Data processing method and device based on flink framework | |
JP2007221522A (en) | Polling device, terminal device, polling method and program | |
CN117082477A (en) | Task processing method, device, system, storage medium and electronic equipment | |
CN117573603A (en) | Data processing method and computer equipment for remote direct memory access | |
CN112995704B (en) | Cache management method and device, electronic equipment and storage medium | |
CN115996404B (en) | Dynamic adjustment method and device for node link |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |