CN107809396A - A kind of business scheduling method and device - Google Patents
A kind of business scheduling method and device Download PDFInfo
- Publication number
- CN107809396A CN107809396A CN201711270927.7A CN201711270927A CN107809396A CN 107809396 A CN107809396 A CN 107809396A CN 201711270927 A CN201711270927 A CN 201711270927A CN 107809396 A CN107809396 A CN 107809396A
- Authority
- CN
- China
- Prior art keywords
- business
- real
- data frame
- control information
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
- H04L47/62—Queue scheduling characterised by scheduling criteria
- H04L47/625—Queue scheduling characterised by scheduling criteria for service slots or service orders
- H04L47/6275—Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention provides a kind of business scheduling method and device, described method includes:S1:Transmitting terminal is that different types of service adds different control information respectively;S2:Transmitting terminal sends the business datum with control information according to priority successively;S3:Receiving terminal is by identifying control information, difference storage service data.Described device includes:Transmitting terminal, for identifying and sending business datum;Information embedded unit, for being embedded in different control information for different types of business datum;Information reading unit, for reading control information in business datum, identify complete business datum;Receiving terminal, for receiving simultaneously storage service data.When transmitting terminal needs to transmit urgent high-priority data frame, by lower-priority data frame temporary suspension, high-priority data frame is sent to data receiver, can significantly lift quality of real-time service, reduces time delay, and improves delay variation performance.
Description
Technical field
The present invention relates to field of computer technology, specifically a kind of business scheduling method and device.
Background technology
With Internet high speed development, IP network needs to support various time delays and the real-time industry sensitive to delay variation
Business, and when there is sudden high non-real-time service on network, real-time service performance can receive very big influence.
In the prior art, mostly using PQ (priority query, Priority Queuing) dispatching algorithm, because PQ is dispatched
Algorithm is based on data frame, can not be interrupted in data frame transmission process.Sent for elongated bag, if one it is long
Lower-priority data frame (non-real-time service) has begun to send, while receives a high-priority data frame for being badly in need of sending
(real time business), then high-priority data frame can only wait it is to be sent, this adds increased the forward delay interval of high-priority data frame,
And lower-priority data frame is longer, the jitter performance of system is poorer.
The content of the invention
In order to solve the above problems, there is provided a kind of business scheduling method and device, can significantly lift real time business clothes
Business quality, reduces time delay, and improve delay variation performance.
The embodiments of the invention provide a kind of business scheduling method, described method includes:
S1:Transmitting terminal is that different types of service adds different control information respectively;
S2:Transmitting terminal sends the business datum with control information according to priority successively;
S3:Receiving terminal is by identifying control information, difference storage service data.
Further, step S1 specific implementation process is:Transmitting terminal obtains each business in transmit queue, and divides
The other data to each business are packaged, and add control information.
Further, in step S1, described type of service includes real time business and non-real-time service.
Further, for real time business, described control information is the K29.7 and postamble of real time traffic data frame head
K27.7 codes.
Further, for non-real-time service, described control information is the K28.0 and frame of non-real-time service data frame head
The K28.7 codes of tail.
Further, in step S2, if the priority of non-real-time service is higher than real time business, when non-real-time data not
, it is necessary to suspend non-real-time service data frame when sending real time business when having sent, after treating real time traffic data frame scheduling, after
Continuous scheduling non-real-time service data frame.
Further, step S3 specific implementation process is:When receiving terminal receives data, detection is first synchronized, works as knowledge
When not being real time traffic data frame, delimit postamble and completely receive data frame, deposit real time traffic data caching;When identification right and wrong
During real time traffic data frame, non-real-time service data buffer storage is stored in, and delimits the reception that postamble completes non-real-time service data frame.
The embodiment of the present invention additionally provides a kind of traffic scheduling device, and described device includes:
Transmitting terminal, for identifying and sending business datum;
Information embedded unit, for being embedded in different control information for different types of business datum;
Information reading unit, for reading control information in business datum, identify complete business datum;
Receiving terminal, for receiving simultaneously storage service data.
The effect provided in the content of the invention is only the effect of embodiment, rather than whole effects that invention is all, above-mentioned
A technical scheme in technical scheme has the following advantages that or beneficial effect:
1st, when transmitting terminal needs to transmit urgent high-priority data frame, by lower-priority data frame temporary suspension, by height
Priority data frame is sent to data receiver, can significantly lift quality of real-time service, reduces time delay, and improve
Delay variation performance.
2nd, data receiver carries out data frame identification and demarcation according to using K codes, and lower-priority data can be effectively ensured
The integrality of frame, prevents loss of data.
Brief description of the drawings
Fig. 1 is the method flow diagram of the embodiment of the present invention;
Fig. 2 is the schematic diagram of device of the embodiment of the present invention.
Embodiment
For the technical characterstic for illustrating this programme can be understood, below by embodiment, and its accompanying drawing is combined, to this hair
It is bright to be described in detail.Following disclosure provides many different embodiments or example is used for realizing the different knots of the present invention
Structure.In order to simplify disclosure of the invention, hereinafter the part and setting of specific examples are described.In addition, the present invention can be with
Repeat reference numerals and/or letter in different examples.This repetition is that for purposes of simplicity and clarity, itself is not indicated
Relation between various embodiments are discussed and/or set.It should be noted that part illustrated in the accompanying drawings is not necessarily to scale
Draw.Present invention omits the description to known assemblies and treatment technology and process to avoid being unnecessarily limiting the present invention.
Embodiment
As shown in figure 1, the embodiment of the present invention 1 provides a kind of business scheduling method, described method includes:
S1:Transmitting terminal is that different types of service adds different control information respectively, and specific implementation process is:Transmitting terminal
Each business in transmit queue is obtained, and the data of each business are packaged respectively, adds control information.
In step S1, described type of service includes real time business and non-real-time service.For real time business, described control
Information processed is the K29.7 of real time traffic data frame head and the K27.7 codes of postamble.For non-real-time service, described control information
The K28.7 codes of K28.0 and postamble for non-real-time service data frame head.
S2:Transmitting terminal sends the business datum with control information according to priority successively.
In step S2, if the data of business do not transmit also, according to real time business and non-real-time service priority
Just, it is sequentially transmitted according to order from high to low.
In step S2, when non-real-time data has been sent and has not been sent, if the priority of non-real-time service is higher than
, it is necessary to suspend non-real-time service data frame when sending real time business during real time business, after treating real time traffic data frame scheduling,
Continue to dispatch non-real-time service data frame.
In step S2, when non-real-time data has been sent and has not been sent, if the priority of non-real-time service is not high
When real time business, continue to send non-real-time service data frame, after treating non-real-time service data frame scheduling, it is real to continue scheduling
When business data frame.
S3:Receiving terminal is by identifying control information, and storage service data, specific implementation process are respectively:Receiving terminal receives
During data, detection is first synchronized, when identification is real time traffic data frame, postamble is delimited and completely receives data frame, be stored in
Real time traffic data caches;When identification is non-real time traffic data frame, non-real-time service data buffer storage is stored in, and delimit postamble
Complete the reception of non-real-time service data frame.
As shown in Fig. 2 the embodiment of the present invention 1 additionally provides a kind of traffic scheduling device, described device include transmitting terminal,
Information embedded unit, Information reading unit, receiving terminal.
Information embedded unit is used to be embedded in different control information for different types of business datum.For real time business,
Described control information is the K29.7 of real time traffic data frame head and the K27.7 codes of postamble.It is described for non-real-time service
Control information is the K28.0 of non-real-time service data frame head and the K28.7 codes of postamble.
Transmitting terminal, for identifying and sending business datum.Each business in transmit queue is mainly obtained, treats information
After embedded unit insertion control information, business datum is sent to receiving terminal.
Information reading unit, for reading control information in business datum, identify complete business datum.Receiving terminal receives
During data, detection is synchronized, when identification is real time traffic data frame, postamble is delimited and completely receives data frame;Work as identification
When being non-real time traffic data frame, the reception that postamble completes non-real-time service data frame is delimited.
Receiving terminal, for receiving simultaneously storage service data.Each mainly read according to Information reading unit is complete
Whole data frame, different business datums stores respectively according to different type.
Although specification and drawings and examples have been carried out being described in detail to the invention, this area skill
Art personnel should be appreciated that and still the invention can be modified or equivalent substitution;And all do not depart from wound of the present invention
The technical scheme for the spirit and scope made and its improvement, it is encompassed by among the protection domain of the invention patent.
Claims (8)
1. a kind of business scheduling method, it is characterized in that:Described method includes:
S1:Transmitting terminal is that different types of service adds different control information respectively;
S2:Transmitting terminal sends the business datum with control information according to priority successively;
S3:Receiving terminal is by identifying control information, difference storage service data.
2. a kind of business scheduling method according to claim 1, it is characterized in that:Step S1 specific implementation process is:Hair
Sending end obtains each business in transmit queue, and the data of each business are packaged respectively, adds control information.
3. a kind of business scheduling method according to claim 1 or 2, it is characterized in that:In step S1, described type of service
Including real time business and non-real-time service.
4. a kind of business scheduling method according to claim 3, it is characterized in that:For real time business, described control letter
Cease the K27.7 codes of the K29.7 and postamble for real time traffic data frame head.
5. a kind of business scheduling method according to claim 4, it is characterized in that:For non-real-time service, described control
Information is the K28.0 of non-real-time service data frame head and the K28.7 codes of postamble.
6. a kind of business scheduling method according to claim 5, it is characterized in that:In step S2, if non-real-time service
When priority is higher than real time business, when non-real-time data has not been sent, it is necessary to suspend non-real-time service when sending real time business
Data frame, after treating real time traffic data frame scheduling, continue to dispatch non-real-time service data frame.
7. a kind of business scheduling method according to claim 6, it is characterized in that:Step S3 specific implementation process is:Connect
When receiving end receives data, detection is first synchronized, when identification is real time traffic data frame, postamble is delimited and completely receives data
Frame, deposit real time traffic data caching;When identification is non-real time traffic data frame, non-real-time service data buffer storage is stored in, and
Delimit the reception that postamble completes non-real-time service data frame.
8. a kind of traffic scheduling device, it is characterized in that:Described device includes:
Transmitting terminal, for identifying and sending business datum;
Information embedded unit, for being embedded in different control information for different types of business datum;
Information reading unit, for reading control information in business datum, identify complete business datum;
Receiving terminal, for receiving simultaneously storage service data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711270927.7A CN107809396A (en) | 2017-12-05 | 2017-12-05 | A kind of business scheduling method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711270927.7A CN107809396A (en) | 2017-12-05 | 2017-12-05 | A kind of business scheduling method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107809396A true CN107809396A (en) | 2018-03-16 |
Family
ID=61579445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711270927.7A Pending CN107809396A (en) | 2017-12-05 | 2017-12-05 | A kind of business scheduling method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107809396A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111865829A (en) * | 2019-04-24 | 2020-10-30 | 成都鼎桥通信技术有限公司 | Encryption and decryption method and device for service data |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465794A (en) * | 2007-12-19 | 2009-06-24 | 华为技术有限公司 | Method and apparatus for scheduling packet |
EP2251996A1 (en) * | 2008-03-03 | 2010-11-17 | ZTE Corporation | Clock synchronous system |
CN102497233A (en) * | 2011-12-23 | 2012-06-13 | 武汉虹信通信技术有限责任公司 | Method for transmitting Ethernet signal by utilizing digital optical fiber repeater |
CN102858018A (en) * | 2012-09-24 | 2013-01-02 | 西北工业大学 | Scheduling method ensuring user quality of experience (QoE) performance in HSPDA system |
CN103905336A (en) * | 2014-04-24 | 2014-07-02 | 河北工程大学 | Method for scheduling QoS sensing in SIEPON based on network coding technology |
-
2017
- 2017-12-05 CN CN201711270927.7A patent/CN107809396A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101465794A (en) * | 2007-12-19 | 2009-06-24 | 华为技术有限公司 | Method and apparatus for scheduling packet |
EP2251996A1 (en) * | 2008-03-03 | 2010-11-17 | ZTE Corporation | Clock synchronous system |
CN102497233A (en) * | 2011-12-23 | 2012-06-13 | 武汉虹信通信技术有限责任公司 | Method for transmitting Ethernet signal by utilizing digital optical fiber repeater |
CN102858018A (en) * | 2012-09-24 | 2013-01-02 | 西北工业大学 | Scheduling method ensuring user quality of experience (QoE) performance in HSPDA system |
CN103905336A (en) * | 2014-04-24 | 2014-07-02 | 河北工程大学 | Method for scheduling QoS sensing in SIEPON based on network coding technology |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111865829A (en) * | 2019-04-24 | 2020-10-30 | 成都鼎桥通信技术有限公司 | Encryption and decryption method and device for service data |
CN111865829B (en) * | 2019-04-24 | 2022-08-02 | 成都鼎桥通信技术有限公司 | Encryption and decryption method and device for service data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105511954B (en) | Message processing method and device | |
US8913618B2 (en) | Reordering packets | |
CN101867511A (en) | Pause frame sending method, associated equipment and system | |
RU2009133323A (en) | VARIABLE LENGTH OF RADIO LINK CONTROL DATA PACKAGES | |
CN106301696B (en) | A kind of the bursty data sending, receiving method and device of ultralow time delay business | |
CN112929455B (en) | UDP-based data transmission method, device, equipment and readable storage medium | |
WO2018149102A1 (en) | Method and device for reducing transmission latency of high-priority data, and storage medium | |
JP2019500802A (en) | Uplink traffic resource scheduling method, device and system | |
CN103944880B (en) | A kind of method of ZigBee data transfers | |
CN109688070A (en) | A kind of data dispatching method, the network equipment and retransmission unit | |
CN105142035B (en) | A kind of video flowing slice repeater system and method | |
CN103283193A (en) | An apparatus and method for receiving and forwarding data | |
CN107809396A (en) | A kind of business scheduling method and device | |
CN112131155A (en) | PCIE transaction layer transmission method based on FPGA with high expansibility | |
WO2016123741A1 (en) | Resource indication method and device | |
CN106372013B (en) | Long-distance inner access method, device and system | |
CN105763481A (en) | Information caching method and device | |
CN106209676A (en) | The data processing method of cloud host computer systems based on many equipment and device | |
CN105490964B (en) | A kind for the treatment of method and apparatus of service quality | |
US9912604B2 (en) | Reduction of silicon area for ethernet PFC protocol implementation in queue based network processors | |
US20230198802A1 (en) | Vehicle Control Device and Data Transfer Control Method | |
KR20060087612A (en) | Stream under-run/over-run recovery | |
US20230133896A1 (en) | Data Transmission Method, Primary Apparatus, Wireless Network Communication Technology Chip | |
US20040156363A1 (en) | Apparatus and method for communicating with a network and for monitoring operational performance of the apparatus | |
CN107483362A (en) | A kind of method for dispatching message based on shift register |
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: 20180316 |
|
RJ01 | Rejection of invention patent application after publication |