Movatterモバイル変換


[0]ホーム

URL:


CN101222436A - Graded data transmission method - Google Patents

Graded data transmission method
Download PDF

Info

Publication number
CN101222436A
CN101222436ACNA2008100085911ACN200810008591ACN101222436ACN 101222436 ACN101222436 ACN 101222436ACN A2008100085911 ACNA2008100085911 ACN A2008100085911ACN 200810008591 ACN200810008591 ACN 200810008591ACN 101222436 ACN101222436 ACN 101222436A
Authority
CN
China
Prior art keywords
data
priority
send
transmit
transmit queue
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
CNA2008100085911A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE CorpfiledCriticalZTE Corp
Priority to CNA2008100085911ApriorityCriticalpatent/CN101222436A/en
Publication of CN101222436ApublicationCriticalpatent/CN101222436A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

The present invention discloses a method for sending data with grading, comprising the following: step S102, creating a plurality of sending queues on a communication link; step S104, judging the priority level of the data to be sent, and determining to put the data to be sent to one of the plurality of sending queues according to the judging result; and step S106, sending the data in the plurality of sending queues orderly while sending data; the invention can ensure the transmission of important system messages when message flow surges, and reduce the influence to system index.

Description

A kind of method of graded data transmission
Technical field
The invention belongs to communication field, relate in particular to the data branch priority that several data wraps under the shared communication link situation and send, the invention provides the method for preferential transmission significant data a kind of overload situations under.
Background technology
In traditional communication link, message is first in first out, transmits successively, has effectively guaranteed the order of data.But, in transfer of data, the amount of some message is very big, importance is lower than other message, it is bigger than other message to postpone tolerance, therefore message branch priority is carried out communication and can utilize the buffering of message queue to resist the impact to communication link such as data surge under overload situations fully.
Therefore, need a kind of solution that under overload situations, preferentially sends significant data, can solve the problem in the above-mentioned correlation technique.
Summary of the invention
The objective of the invention is preferentially to guarantee the transmission of significant data under the condition of or data volume overload big in data volume.
Main thought of the present invention is to set up two transmit queues on communication link: high-priority queue and Low Priority Queuing.When sending message, low priority message is put into the formation of low priority, waits the message of high priority to put into high-priority queue, when data send, send the data in the high-priority queue earlier, after high-priority queue sends sky, just send the data in the Low Priority Queuing.
According to the present invention, a kind of method of graded data transmission is provided, may further comprise the steps: step S102, set up a plurality of transmit queues on communication link; Step S104 judges the priority of data to be sent, and determines data to be sent are put into one of a plurality of transmit queues according to judged result; And step S106, when sending data, send the data in a plurality of transmit queues successively.
A plurality of transmit queues have different transmission priority respectively.
Step S104 may further comprise the steps: the priority of judging data to be sent according to the priority tag in the data to be sent; And, data to be sent are put into one of a plurality of transmit queues according to the priority of data to be sent.
Step S106 may further comprise the steps: when sending data, send data in each transmit queue in a plurality of transmit queues successively according to sending priority order from high to low, the data in a plurality of transmit queues all send and finish.
To send the step of the data in each transmit queue in a plurality of transmit queues successively further comprising the steps of according to sending priority order from high to low: after the data transmission in last a priority transmit queue finishes, just send the data in next priority transmit queue.
Under the full situation of any one transmit queue in a plurality of transmit queues, abandon the data of waiting to put into transmit queue subsequently.
After data in a plurality of transmit queues all sent and finish, communication link entered idle condition.
Priority tag is included in the message header of data.
The data that data in a last priority transmit queue just send in next priority transmit queue after sending and finishing may further comprise the steps: step 1, whether the transmit queue of judging a plurality of priority according to priority order from high to low successively is empty, be not empty transmit queue if having, then to not being empty transmit queue execution in step two, if the transmit queue of all priority is sky, then directly withdraw from; Step 2 judges that send window is whether full, if, the timing of transmission timer then is set, with when arriving the timing of timer, resend and be not the data in the empty formation, otherwise execution in step three; Step 3 sends not putting into send window for data in the empty formation, send data after, repeating step two to send next data, is not the total data in the empty formation up to sending; And step 4, repeating step one is to step 3, the data in sending all transmit queues.
When communication link is in idle condition, directly send business datum.
The present invention can guarantee the transmission of important system message when the surge message traffic, reduce the influence to system index.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 shows the flow chart according to the method for graded data transmission of the present invention;
Fig. 2 shows the flow chart of the method for graded data transmission according to an embodiment of the invention;
Fig. 3 shows the transmission schematic diagram of high lower-priority data bag under the communication link according to the embodiment of the invention;
It is the process chart that business datum divides high low priority to send according to the embodiment of the invention that Fig. 4 shows;
Fig. 5 shows the data transmission flow figure of business datum on data link according to the embodiment of the invention.
Embodiment
Describe embodiments of the invention in detail below in conjunction with accompanying drawing.
Fig. 1 shows the flow chart according to the method for graded data transmission of the present invention.With reference to Fig. 1, may further comprise the steps according to the method for graded data transmission of the present invention: step S102, set up a plurality of transmit queues on communication link; Step S104 judges the priority of data to be sent, and determines data to be sent are put into one of a plurality of transmit queues according to judged result; And step S106, when sending data, send the data in a plurality of transmit queues successively.
A plurality of transmit queues have different transmission priority respectively.
Step S104 may further comprise the steps: the priority of judging data to be sent according to the priority tag in the data to be sent; And, data to be sent are put into one of a plurality of transmit queues according to the priority of data to be sent.
Step S106 may further comprise the steps: when sending data, send data in each transmit queue in a plurality of transmit queues successively according to sending priority order from high to low, the data in a plurality of transmit queues all send and finish.
To send the step of the data in each transmit queue in a plurality of transmit queues successively further comprising the steps of according to sending priority order from high to low: after the data transmission in last a priority transmit queue finishes, just send the data in next priority transmit queue.
Under the full situation of any one transmit queue in a plurality of transmit queues, abandon the data of waiting to put into transmit queue subsequently.
After data in a plurality of transmit queues all sent and finish, communication link entered idle condition.
In this embodiment, priority tag is included in the message header of data.
Wherein, the data that data in a last priority transmit queue just send in next priority transmit queue after sending and finishing may further comprise the steps: step 1, whether the transmit queue of judging a plurality of priority according to priority order from high to low successively is empty, be not empty transmit queue if having, then to not being empty transmit queue execution in step two, if the transmit queue of all priority is sky, then directly withdraw from; Step 2 judges that send window is whether full, if, the timing of transmission timer then is set, with when arriving the timing of timer, resend and be not the data in the empty formation, otherwise execution in step three; Step 3 sends not putting into send window for data in the empty formation, send data after, repeating step two to send next data, is not the total data in the empty formation up to sending; And step 4, repeating step one is to step 3, the data in sending all transmit queues.
When communication link is in idle condition, directly send business datum.
Fig. 2 shows the flow chart of the method for graded data transmission according to an embodiment of the invention.This embodiment may further comprise the steps:
Step S202 judges the height that sends data priority, puts into height respectively, Low Priority Queuing;
Step S204 sends the data in the high-priority queue, and data all send and finish in this formation;
Step S206, message is under the situation of sky in high-priority queue, sends the data in the Low Priority Queuing;
Step S208, if data all send and finish in two formations, link enters idle condition; And
Step S210 if the data of piling up in the formation surpass the length of formation, then abandons the data that last requirement sends.
Fig. 3 shows the transmission schematic diagram of high lower-priority data bag under the communication link according to the embodiment of the invention.Business datum is divided into high prioritized data and low prioritized data, when data send, the difference of data based priority, enter high-priority queue and Low Priority Queuing respectively, data in the high-priority queue, preferentially enter send window, under agreement control, finish the transmission of data on link then.
Data format is message header+message body, comprises priority tag in the message header, the priority of expression data, and system is according to sign, the transmission priority of specified data.
Fig. 4 shows the process chart that divides high low priority to send according to the business datum of the embodiment of the invention.In this embodiment, for a upper layer application, send the flow process of a business datum, as shown in Figure 4, at first need to judge the priority of outgoing data, if high-priority data then enters high-priority queue and sends, if lower-priority data then enters Low Priority Queuing and sends.If link is in idle condition, then directly business datum is entered send window and send.This embodiment specifically may further comprise the steps:
Step S402~S404, business datum sends a request message, and judges whether this message is the message of low priority, if, execution in step S406, otherwise execution in step S414;
Step S406 judges whether this Low Priority Queuing is full, if, withdraw from, otherwise execution in step S408;
Step S408 judges whether this Low Priority Queuing is empty, if, execution in step S410, otherwise execution in step S412;
Step S410 judges whether high-priority queue is empty, if, execution in step S422, otherwise execution in step S412;
Step S412 adds Low Priority Queuing with these data;
Step S414 judges whether this high-priority queue is full, if, withdraw from, otherwise execution in step S416;
Step S416 judges whether this high-priority queue is empty, if, execution in step S418, otherwise execution in step S420;
Step S418 judges whether Low Priority Queuing is empty, if, execution in step S422, otherwise execution in step S420;
Step S420 adds high-priority queue with these data; And
Step S422, if all there are not data etc. to be sent in the high Low Priority Queuing, then business datum directly enters send window, carries out data and sends.
Fig. 5 shows the data transmission flow figure of business datum on data link according to the embodiment of the invention, and this illustrates the treating method when high top grade elder generation's data and lower-priority data clash.The preferential earlier data that send in the high-priority queue of link are empty until high-priority queue, just can send the data in the Low Priority Queuing, specifically may further comprise the steps:
Step S502, when the data router receives data notification message, the log-on data transmission flow;
Step S504 judges whether high-priority queue is empty, if, execution in step S510, otherwise execution in step S506;
Step S506 judges that send window is whether full, if, then temporarily can't send data at present, carry out S512 retransmission timer be set, wait timing to arrive after, attempt the data transmission flow again; Otherwise carry out S508, data are put into send window send;
Step S508 finishes data and sends, and continues then to judge whether queuing data is empty, sends next data, all is sent completely up to data;
Step S510 judges that whether Low Priority Queuing is empty, if, illustrating that then all not have data etc. in the high Low Priority Queuing to be sent, flow process directly withdraws from, otherwise carries out S506; And
Step S512, current send window is full, can't send data, and transmission timer is set, wait be timed to after, reattempt the data transmission flow.
The data transmission flow that the present invention is directed on the communication link has carried out the control of branch priority, under the burst heavy traffic condition, system's real-time response when the bursty data amount has surpassed the valid data bandwidth has very big benefit, and it has guaranteed the transmission of critical data, has improved the impact resistance of system.
The link that the present invention is not only applicable to two priority sends, and is applicable to that also the link of multipriority sends.
The present invention can guarantee the transmission of important system message when the surge message traffic, lower the influence to system index.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

CNA2008100085911A2008-01-252008-01-25Graded data transmission methodPendingCN101222436A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CNA2008100085911ACN101222436A (en)2008-01-252008-01-25Graded data transmission method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CNA2008100085911ACN101222436A (en)2008-01-252008-01-25Graded data transmission method

Publications (1)

Publication NumberPublication Date
CN101222436Atrue CN101222436A (en)2008-07-16

Family

ID=39632018

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CNA2008100085911APendingCN101222436A (en)2008-01-252008-01-25Graded data transmission method

Country Status (1)

CountryLink
CN (1)CN101222436A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2010145444A1 (en)*2009-06-172010-12-23中兴通讯股份有限公司Method and device for processing instant message in time
CN102932275A (en)*2012-11-202013-02-13中国空间技术研究院Priority message forwarding method applied to allowed time delay network
CN104159254A (en)*2014-07-222014-11-19大唐移动通信设备有限公司Network congestion treatment method and system
CN104601434A (en)*2013-10-312015-05-06深圳市赛格导航科技股份有限公司Data transmission method and data transmission device
CN104639459A (en)*2015-03-022015-05-20国网重庆市电力公司电力科学研究院Data transmission method and system for electrical energy metering terminal
CN105025105A (en)*2015-07-272015-11-04广州华多网络科技有限公司Request handling method and device
CN106330845A (en)*2015-07-022017-01-11中兴通讯股份有限公司Method and apparatus for transmitting streaming media data
CN106656861A (en)*2016-12-152017-05-10咪咕数字传媒有限公司Electronic book pushing method and device
WO2017173728A1 (en)*2016-04-072017-10-12中兴通讯股份有限公司Broadcast message sending method and apparatus, and mobile terminal
CN108667746A (en)*2018-04-032018-10-16北京理工大学 An Approach to Traffic Prioritization in Deep Space Delay Tolerant Networks
CN110875887A (en)*2018-08-312020-03-10蔚来汽车有限公司MQTT protocol-based communication interaction method and communication interaction system
CN111124716A (en)*2019-12-262020-05-08中国航空工业集团公司沈阳飞机设计研究所Multi-priority queue message transmission method in unmanned aerial vehicle
CN116056052A (en)*2022-08-172023-05-02荣耀终端有限公司Message processing method, device, electronic equipment and storage medium
CN116234048A (en)*2022-12-052023-06-06深圳供电局有限公司Message sending method and device based on Beidou satellite communication and communication module
CN119669125A (en)*2024-11-292025-03-21天津津航计算技术研究所 A multi-level bus data communication method

Cited By (23)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2010145444A1 (en)*2009-06-172010-12-23中兴通讯股份有限公司Method and device for processing instant message in time
CN102932275A (en)*2012-11-202013-02-13中国空间技术研究院Priority message forwarding method applied to allowed time delay network
CN102932275B (en)*2012-11-202015-04-22中国空间技术研究院Priority message forwarding method applied to allowed time delay network
CN104601434A (en)*2013-10-312015-05-06深圳市赛格导航科技股份有限公司Data transmission method and data transmission device
CN104601434B (en)*2013-10-312018-04-10深圳市赛格导航科技股份有限公司A kind of data transmission method and device
CN104159254B (en)*2014-07-222017-12-05大唐移动通信设备有限公司A kind of network congestion processing method and system
CN104159254A (en)*2014-07-222014-11-19大唐移动通信设备有限公司Network congestion treatment method and system
CN104639459A (en)*2015-03-022015-05-20国网重庆市电力公司电力科学研究院Data transmission method and system for electrical energy metering terminal
CN106330845A (en)*2015-07-022017-01-11中兴通讯股份有限公司Method and apparatus for transmitting streaming media data
US10554573B2 (en)2015-07-022020-02-04Zte CorporationStreaming media data transmission method and apparatus
CN105025105A (en)*2015-07-272015-11-04广州华多网络科技有限公司Request handling method and device
CN105025105B (en)*2015-07-272018-10-30广州华多网络科技有限公司request processing method and device
WO2017173728A1 (en)*2016-04-072017-10-12中兴通讯股份有限公司Broadcast message sending method and apparatus, and mobile terminal
US10740161B2 (en)2016-04-072020-08-11Zte CorporationBroadcast message sending method and apparatus, and mobile terminal
CN106656861A (en)*2016-12-152017-05-10咪咕数字传媒有限公司Electronic book pushing method and device
CN108667746A (en)*2018-04-032018-10-16北京理工大学 An Approach to Traffic Prioritization in Deep Space Delay Tolerant Networks
CN108667746B (en)*2018-04-032020-06-16北京理工大学Method for realizing service priority in deep space delay tolerant network
CN110875887A (en)*2018-08-312020-03-10蔚来汽车有限公司MQTT protocol-based communication interaction method and communication interaction system
CN111124716A (en)*2019-12-262020-05-08中国航空工业集团公司沈阳飞机设计研究所Multi-priority queue message transmission method in unmanned aerial vehicle
CN116056052A (en)*2022-08-172023-05-02荣耀终端有限公司Message processing method, device, electronic equipment and storage medium
CN116056052B (en)*2022-08-172023-10-31荣耀终端有限公司Message processing method, device, electronic equipment and storage medium
CN116234048A (en)*2022-12-052023-06-06深圳供电局有限公司Message sending method and device based on Beidou satellite communication and communication module
CN119669125A (en)*2024-11-292025-03-21天津津航计算技术研究所 A multi-level bus data communication method

Similar Documents

PublicationPublication DateTitle
CN101222436A (en)Graded data transmission method
TW546972B (en)Channel-type switching from a common channel to a dedicated channel based on common channel load
CN101933385B (en)Method and apparatus for prioritizing logical channels
CN103841041B (en)A kind of multi-stream service concurrent transmission control method and device
US8971253B2 (en)Uplink data sending method and user equipment
CN101369962B (en)Method and network appliance for forwarding packet
CN101115012A (en) Apparatus and method for scheduling data packets in a communication system
CN101217495A (en) Flow monitoring method and device for T-MPLS network environment
CN102905380B (en)Cross-layer scheduling method for real-time video in HSDPA (High Speed Downlink Packet Access) network
CN101505260A (en)Message flow control method, system and apparatus
CN109120528A (en)A kind of network communication method and relevant device
CN101984594A (en)Switching network flow control method and device
TWI291115B (en)Method, system, and computer-readable medium storing logic for encapsulating a plurality of packets into a frame
CN104301254B (en) A data packet scheduling method for data center network
CN102158906A (en)Service quality sensory system and task scheduling method thereof
CN102780621B (en)A kind of upstream data packet transmission method, device and the network equipment
US8780889B2 (en)IP converged system and call processing method thereof
CN101645830A (en)Method for packet scheduling of multi-hop network and node device
CN1658611A (en) A Method of Guaranteeing Quality of Service in Wireless Local Area Network
WO2021098730A1 (en)Switching network congestion management method and apparatus, device, and storage medium
CN102801692A (en)Transmission control protocol (TCP) optimization method and system based on split connection
AU2013347470B2 (en)Traffic management scheduling method and apparatus
CN102333026A (en)Message forwarding method and device
CN110177051A (en)Data center's jamming control method based on fluidics
CN101615985A (en) Data processing method, device and system

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C02Deemed withdrawal of patent application after publication (patent law 2001)
WD01Invention patent application deemed withdrawn after publication

Open date:20080716


[8]ページ先頭

©2009-2025 Movatter.jp