CN105245469B - Data transmission method, device and system - Google Patents

Data transmission method, device and system Download PDF

Info

Publication number
CN105245469B
CN105245469B CN201510536128.4A CN201510536128A CN105245469B CN 105245469 B CN105245469 B CN 105245469B CN 201510536128 A CN201510536128 A CN 201510536128A CN 105245469 B CN105245469 B CN 105245469B
Authority
CN
China
Prior art keywords
priority
data packet
identifier
target process
target
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.)
Active
Application number
CN201510536128.4A
Other languages
Chinese (zh)
Other versions
CN105245469A (en
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.)
Zhuhai Baohaowan Technology Co Ltd
Original Assignee
Zhuhai Seal Fun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Seal Fun Technology Co Ltd filed Critical Zhuhai Seal Fun Technology Co Ltd
Priority to CN201510536128.4A priority Critical patent/CN105245469B/en
Publication of CN105245469A publication Critical patent/CN105245469A/en
Application granted granted Critical
Publication of CN105245469B publication Critical patent/CN105245469B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/32Flow control; Congestion control by discarding or delaying data units, e.g. packets or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling

Abstract

The invention discloses a kind of data transmission methods, apparatus and system, and wherein method includes: the identifier and its priority for obtaining target process;Obtain the data packet that target process has been sent;The DSCP value of IP header structure in data packet is obtained, and DSCP value is adjusted according to the priority of target process;And the data packet after adjustment is sent to router, so that router optimizes processing to data packet according to the processing priority of the data packet received.This method is other come the processing priority for adjusting data packet by the DSCP value for modifying the IP header structure of data packet, and priority processing is not carried out according to the processing priority of data packet adjusted by router, realize the purpose of the optimization of network data, packet loss processing is done in upload and downloading without the data packet to the unit time, so as to avoid data packet loss the phenomenon that, the stability of current network and the utilization rate in broadband are improved simultaneously, and then improves data-optimized effect.

Description

Data transmission method, device and system
Technical field
The present invention relates to field of network data transmission technology, in particular to a kind of data transmission method, device and one kind Data transmission system.
Background technique
With the continuous development of Internet technology, requirement of the people to network data transmission speed is higher and higher.In correlation In technology, since the uninterrupted of network bandwidth is fixed, so in order to reach user as far as possible to some network data The requirement of transmission speed typically does speed limit processing by process corresponding to the data packet to consumption big flow, to realize The purpose that data packet transmitted by target process is optimized.For example, when can need the unit of process of speed limit by reducing Data packet in the rate of upload and the downloading of interior data packet, or the unit time of the corresponding process of raising data packet to be optimized Upload and downloading rate, to reach the mesh realized under the network bandwidth of fixed size to the optimization of some network packet 's.
However, since above-mentioned technical proposal is carried out at speed limit based on process corresponding to the data packet to consumption big flow The optimization of network data is managed and realizes, so the process by speed limit is in unit when network connection or network difference The rate of interior transmitted data packet will be greatly reduced, and network monitor equipment can be by data transmitted by the process at this time Packet abandon operation to improve network data quality, still, can be easy to produce the loss of network data in this way, cause network not Stablize, so as to cause the waste of network broadband, user experience is poor.
Summary of the invention
The purpose of the present invention is intended to solve above-mentioned one of technical problem at least to a certain extent.
For this purpose, the first purpose of this invention is to propose a kind of data transmission method, this method can be by adjusting number According to the priority of packet, the purpose of network data optimization is realized, upload and downloading without the data packet to the unit time, which are done, loses Packet processing, so as to avoid the loss of data packet, while also improving the stability of network and the utilization rate in broadband, is promoted User experience.
Second object of the present invention is to propose a kind of data transmission device.
Third object of the present invention is to propose a kind of data transmission system.
To achieve the above object, a kind of data transmission method that the first aspect of the present invention embodiment proposes, including it is following Step: the identifier of target process and the priority of the target process are obtained;Obtain the number that the target process has been sent According to packet;The differentiated services code points DSCP value of IP header structure in the data packet is obtained, and according to the preferential of the target process Grade adjusts the DSCP value;And the data packet after adjustment is sent to router, so that the router is to reception To data packet in DSCP value parsed to obtain the processing priority of the data packet, and according to the place of the data packet The data packet is put into the queue of corresponding priority level and sends by reason priority.
The data transmission method of the embodiment of the present invention can obtain the data packet of target process transmission, obtain data packet later The DSCP value of middle IP header structure, and DSCP value is adjusted according to the priority of target process, and the data packet after adjustment is sent out It send to router, router parses the DSCP value in the data packet received preferential to obtain the processing of the data packet Grade, and the data packet is put into the queue of corresponding priority level according to the processing priority of the data packet and is sent.It is logical Above-mentioned technical proposal is crossed, it is other come the processing priority for adjusting data packet by modifying the DSCP value of IP header structure of data packet, and Priority processing is not carried out according to the processing priority of data packet adjusted by router, realizes the optimization of network data Purpose, upload and downloading without the data packet to the unit time do packet loss processing, shows so as to avoid the loss of data packet As, while the stability of current network and the utilization rate in broadband are improved, and then improve data-optimized effect, it improves User experience.
To achieve the goals above, the second aspect of the present invention embodiment proposes a kind of data transmission device, comprising: preferential Grade obtains module, for obtaining the identifier of target process and the priority of the target process;Data packet obtains module, uses In the data packet that the acquisition target process has been sent;Module is adjusted, for obtaining the difference of IP header structure in the data packet Service code point DSCP value, and the DSCP value is adjusted according to the priority of the target process;And sending module, being used for will The data packet after adjustment is sent to router, so that the router carries out the DSCP value in the data packet received The data packet is put into obtaining the processing priority of the data packet according to the processing priority of the data packet by parsing It is sent into the queue of corresponding priority level.
The data transmission device of the embodiment of the present invention, can by priority obtain module obtain target process identifier with And the priority of target process, data packet obtain module and obtain the data packet that target process has been sent, adjustment module obtains data The differentiated services code points DSCP value of IP header structure in packet, and DSCP value, sending module are adjusted according to the priority of target process Data packet adjusted is sent to router, router parses to be somebody's turn to do the DSCP value in the data packet received The processing priority of data packet, and the data packet is put into the team of corresponding priority level according to the processing priority of the data packet It is sent in column, i.e., it is other come the processing priority for adjusting data packet by modifying the DSCP value of the IP header structure of data packet, and Priority processing is not carried out according to the processing priority of data packet adjusted by router, realizes the optimization of network data Purpose, upload and downloading without the data packet to the unit time do packet loss processing, shows so as to avoid the loss of data packet As, while the stability of current network and the utilization rate in broadband are improved, and then improve data-optimized effect, it improves User experience.
To achieve the goals above, the data transmission system of third aspect present invention embodiment, comprising: second party of the present invention The data transmission device of face embodiment;And router, the data packet sent for receiving the data transmission device, and according to The processing priority of the data packet optimizes processing to the data packet.
The data transmission system of the embodiment of the present invention can obtain module by the priority in data transmission device and obtain mesh The identifier of mark process and the priority of target process, data packet obtain module and obtain the data packet that target process has been sent, The differentiated services code points DSCP value that module obtains IP header structure in data packet is adjusted, and is adjusted according to the priority of target process Data packet adjusted is sent to router by DSCP value, sending module, and router is according to the processing priority logarithm of data packet Processing is optimized according to packet, i.e., adjusts the processing priority of data packet by the DSCP value of the IP header structure of modification data packet Not, and by router according to the processing priority of data packet adjusted priority processing is not carried out, realize network data The purpose of optimization, packet loss processing is done in upload and downloading without the data packet to the unit time, so as to avoid losing for data packet The phenomenon that mistake, while the stability of current network and the utilization rate in broadband are improved, and then improve data-optimized effect, The user experience is improved.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments Obviously and it is readily appreciated that, wherein
Fig. 1 is the flow chart of data transmission method according to an embodiment of the invention;
Fig. 2 is the schematic diagram of data transmission method according to an embodiment of the invention;
Fig. 3 is the structural schematic diagram of data transmission device according to an embodiment of the invention;
Fig. 4 is the structural schematic diagram of data transmission device in accordance with another embodiment of the present invention;And
Fig. 5 is the structural schematic diagram of data transmission system according to an embodiment of the invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached The embodiment of figure description is exemplary, it is intended to is used to explain the present invention, and is not considered as limiting the invention.
Below with reference to the accompanying drawings data transmission method, device and system according to an embodiment of the present invention are described.
It should be noted that according to the structure of IP (Internet Protocol, the agreement interconnected between network) data packet Definition can define one and TOS (Type of Service, service type) relevant field, field early stage in this configuration Applied on old router, to be used to support that IP is preferential, for example, these support it is fixed in the two standards of RFC791, RFC1122 Adopted mistake, later RFC1349 standard abolished before two RFC (i.e. RFC791, RFC1122) definition, and now it is most of Equipment is all the definition with RFC1349, inside the new definition, DSCP (Differentiated Services Code Point, differentiated services code points) instead of the TOS of early stage.Therefore, the data transmission method of the embodiment of the present invention can pass through The value of DSCP (i.e. the TOS field of early stage) is modified to achieve the purpose that network data optimizes.
Specifically, Fig. 1 is the flow chart of data transmission method according to an embodiment of the invention.As shown in Figure 1, the number May include: according to transmission method
S1 obtains the identifier of target process and the priority of target process.
Specifically, in one embodiment of the invention, obtain target process identifier and target process it is excellent The specific implementation process of first grade can be as follows: obtaining ongoing all processes, and judges whether the identifier of all processes belongs to In default Process identifier set, wherein default Process identifier set includes at least one Process identifier;If it is all into At least one of identifier of journey belongs to default Process identifier set, then using the corresponding process of at least one identifier as Target process, and at least one identifier is determined as to the identifier of corresponding target process;According to the mark of target process Symbol inquires the preset process priority table of comparisons to obtain the priority of corresponding target process.Wherein, Process identifier is preset It can be pre-stored for gathering with the preset process priority table of comparisons, can be pre- first pass through and obtain user's use habit and search Priority-level corresponding to the target process and the target process that the user collected needs to optimize, wherein demand is very high Process, then priority-level corresponding to the process will be preset as high priority.For example, getting certain game very by most Number user's likes, and most users are intended to have good experience when playing the game, pass through the search of mass data at this time The identifier of process corresponding to the game can be obtained, and the process can be predisposed to target process, and to the target into Journey is arranged to high isopreference level.It is appreciated that in an embodiment of the present invention, at least one can for "one" or " one with On ".
It should be noted that the acquisition modes of the priority of the identifier and target process of above-mentioned target process are in addition to from upper Pre-stored default Process identifier set and the preset process priority table of comparisons are stated to obtain, use can also be directly acquired Priority of the process and priority of family setting as target process and target process.Specifically, in of the invention another In embodiment, which may also include that offer set interface.Wherein, the identifier and mesh of target process are obtained The priority of mark process specifically includes: the identifier and priority for receiving the target process that user is arranged in set interface are to obtain The identifier of target process and the priority of target process.
More specifically, a set interface can be provided for user, there can be target process identifier in the set interface The setting interface of interface and target process priority is set, and user can be arranged by the setting interface in the set interface Oneself want the identifier of the process of optimization, and the process is set and wants corresponding priority.After user setting completion, It can receive the identifier and priority of the process of user setting, and using the process of user setting as target process, and will receive Priority of the priority of the user setting arrived as target process.
S2 obtains the data packet that target process has been sent.
It specifically, can be according to the identifier of target process come to all process institutes during process sends data packet The data packet of transmission is filtered, and obtains the data packet gone out transmitted by the target process.For example, in implementation of the invention In example, it can be intercepted based on Microsoft WFP (protection of Windows Filter Platform, Windows file) network filtering framework The data packet that target process has been sent.It is appreciated that in addition to above-mentioned WFP frame can realize the data packet that target process has been sent Except acquisition, NDIS (Network Driver Interface Specification, Network Driver Interface rule can also be passed through Model) Filter filtration drive or NDIS intermediate drivers etc. realize the acquisition of data packet that target process has been sent.
S3 obtains the differentiated services code points DSCP value of the IP header structure in data packet, and according to the preferential of target process Grade adjustment DSCP value.
It is appreciated that in an embodiment of the present invention, DSCP is marked in the service type (TOS) of each data packet IP header structure In character learning section, using used 6 bit and not used 2 bit, the priority of the data packet is distinguished by encoded radio. That is, DSCP is exactly the QoS (Quality of Service, service quality) in order to guarantee communication, in data packet IP head 8 identification bytes of structure are encoded, and carry out segmentation service classification, with the priority of Differentiated Services.
Therefore, in an embodiment of the present invention, for the priority of data packet transmitted by optimization aim process, can first obtain The DSCP value of IP header structure in the data packet is taken, it later can be according to the priority modification of the target process DSCP value.For example, right In the other target process of high priority, the DSCP value of all IP head data packets sent out of the target process can be revised as 0x2E can indicate that the data packet needs without hindrance forwarding, have the characteristics that low packet loss ratio, low latency, low jitter;For normal excellent The DSCP value of all IP head data packets sent out of target process can be revised as 0x0 by the target process of first rank;For low excellent The DSCP value of all IP head data packets sent out of the target process can be then revised as 0x8 by the target process of first rank, can table Show low loss priority.
Data packet adjusted is sent to router by S4, so that router is to the DSCP value in the data packet received It is parsed to obtain the processing priority of data packet, and according to the processing priority of data packet is put into data packet excellent to correspondence It is sent in the queue of first rank.
It is appreciated that in an embodiment of the present invention, can have the data packet team of multiple and different priority levels in router Column, such as high priority level queue 1, normal priority level queue 2, low priority level queue 3.
Specifically, data packet adjusted can be sent after DSCP value in adjustment data packet.Router is connecing After receiving these data packets, the dscp field in data packet can be parsed to obtain the DSCP value, and then obtain the number According to the corresponding processing priority of packet, priority can be managed according to this later by the data packet and be put into corresponding priority-level In queue and sent.For example, data packet can be put into high priority queue 1 when DSCP value is high;Work as DSCP When value is low, it is medium data packet can be put into low priority level queue 3.Router is when to queue processing, according to queue Priority level carries out the data packet inside processing queue, and the preferential place of router can be obtained in the high data packet of DSCP value as a result, Reason, to achieve the purpose that data packet optimizes.
In order to enable those skilled in the art can more understand the features of the present invention, can illustrate below.
For example, Fig. 2 is the schematic diagram of data transmission method according to an embodiment of the invention, as shown in Fig. 2, can All processes being currently running in equipment (such as terminal or mobile terminal) and corresponding identifier (PID) are first obtained, Such as process PID1, process PID2, process PID3 ..., process PIDN later can be by the identifier of all processes and user Filtering is compared in the identifier of the target process of setting, obtains the data packet that the target process is issued, then can be by basis The priority of the target process of user setting is adjusted the DSCP value of IP header structure in the data packet, it is assumed that by process The DSCP value modification that the DSCP value in data packet 2 that PID1 is sent is revised as in the data packet 1 that low, process PID2 is sent is positive Often, the DSCP value in the data packet 3 that process PID3 is sent is revised as height.Later, data packet adjusted can be sent.Road It, can be according to respective when parsing the DSCP value in these data packets by device after receiving the data packet adjusted Data packet 1, data packet 2, data packet 3 are respectively corresponded and are put into normal priority level queue 2, low priority level team by DSCP value In column 3, high priority level queue 1, while this 3 queues will transfer to router to handle.Router when handling these queues, The data packet in queue can be handled in advance according to the priority-level of queue, in this way, the available road of data packet that DSCP value is high By the priority processing of device.
The data transmission method of the embodiment of the present invention can first obtain the data packet of target process transmission, obtain data later The differentiated services code points DSCP value of IP header structure in packet, and DSCP value is adjusted according to the priority of target process, and will adjust Data packet after whole is sent to router, and router parses to obtain the number DSCP value in the data packet received The data packet is put into the queue of corresponding priority level according to the processing priority of packet, and according to the processing priority of the data packet In sent.Through the above technical solutions, adjusting the place of data packet by the DSCP value for the IP header structure for modifying data packet Priority level is managed, and priority processing is not carried out according to the processing priority of data packet adjusted by router, realizes net The purpose of the optimization of network data, packet loss processing is done in upload and downloading without the data packet to the unit time, so as to avoid number According to packet loss the phenomenon that, while improving the stability of current network and the utilization rate in broadband, and then it is excellent to improve data The effect of change, the user experience is improved.
In order to realize above-described embodiment, the invention also provides a kind of data transmission devices.
Fig. 3 is the structural schematic diagram of a data transmission device according to the present invention.As shown in figure 3, the data transmission device 100 may include: that priority obtains module 10, data packet obtains module 20, adjusts module 30 and sending module 40.
Specifically, priority obtain module 10 can be used for obtaining target process identifier and target process it is preferential Grade.Specifically, priority obtains the specific reality that module 10 obtains the identifier of target process and the priority of target process Existing process can be as follows: obtaining all processes being currently running, and judges whether the identifier of all processes belongs to default process mark Know Fu Jihe, wherein default Process identifier set includes at least one Process identifier;If in the identifier of all processes At least one belong to default Process identifier set, then using the corresponding process of at least one identifier as target process, and At least one identifier is determined as to the identifier of corresponding target process;It is preset according to the identifier query of target process The process priority table of comparisons is to obtain the priority of corresponding target process.Wherein, Process identifier set and preset is preset The process priority table of comparisons can be can be and pre- first pass through the user for obtaining user's use habit and collecting and need to be pre-stored Priority-level corresponding to the target process to be optimized and the target process, wherein the very high process of demand, the then process Corresponding priority-level will be preset as high priority.Liked by most users very much for example, getting certain game, And most users are intended to have good experience when playing the game, can obtain the game institute by the search of mass data at this time The identifier of corresponding process, and the process can be predisposed to target process, and be arranged to the target process high excellent First grade.
It should be noted that the acquisition modes of the priority of above-mentioned target process and target process in addition to depositing in advance from above-mentioned The default Process identifier set of storage and the preset process priority table of comparisons obtain, and can also directly acquire user setting The priority of process and priority as target process and target process.Further, in one embodiment of the invention, As shown in figure 4, the data transmission device 100, which may also include, provides module 50, providing module 50 can be used for providing set interface.Its In, in an embodiment of the present invention, priority obtains module 10 also and can receive the target process that user is arranged in set interface Identifier and priority are to obtain the identifier of target process and the priority of target process.
More specifically, a set interface can be provided for user by providing module 50, can have in the set interface target into The setting interface of journey identifier and the setting interface of target process priority, user can pass through the setting in the set interface Interface wants the identifier of the process optimized oneself is arranged, and the process is arranged and wants corresponding priority.It is set in user After setting completion, priority obtains the identifier and priority that module 10 can receive the process of user setting, and by user setting Process as target process, and using the priority of the user setting received as the priority of target process.
Data packet, which obtains module 20, can be used for obtaining the data packet that target process has been sent.More specifically, being sent in process During data packet, data packet obtains module 20 can be according to the identifier of target process come to going out transmitted by all processes Data packet is filtered, and obtains data packet transmitted by the target process.For example, in an embodiment of the present invention, data Packet, which obtains module 20, to obtain the data packet that target process has been sent based on Microsoft's WFP network filtering framework.It is appreciated that removing Above-mentioned WFP frame can be realized except the acquisition for the data packet that target process has been sent, and can also pass through the Filter mistake of NDIS Filter driving or NDIS intermediate drivers etc. realize the acquisition of data packet that target process has been sent.
Adjustment module 30 can be used for obtaining the differentiated services code points DSCP value of IP header structure in data packet, and according to target The priority of process adjusts DSCP value.It is appreciated that in an embodiment of the present invention, DSCP is in each data packet IP header structure In service type (TOS) identification byte, using used 6 bit and not used 2 bit, this is distinguished by encoded radio The priority of data packet.That is, DSCP is exactly QoS (Quality of Service, the Service Quality in order to guarantee communication Amount), it is encoded in 8 identification bytes of data packet IP header structure, carrys out segmentation service classification, with the priority of Differentiated Services.
Therefore, in an embodiment of the present invention, for the priority of data packet transmitted by optimization aim process, mould is adjusted Block 30 can first obtain the DSCP value of IP header structure in the data packet, later can be according to the priority modification of the target process DSCP Value.For example, target process other for high priority, adjustment module 30 can be by all IP head data sent out of the target process The DSCP value of packet is revised as 0x2E, can indicate that the data packet needs without hindrance forwarding, have low packet loss ratio, low latency, low jitter The features such as;Target process other for normal priority, adjustment module 30 can be by all IP head data sent out of target process The DSCP value of packet is revised as 0x0;Target process other for low priority, then adjusting module 30 can be by all hair of the target process The DSCP value for the IP head data packet gone out is revised as 0x8, can indicate low loss priority.
Sending module 40 can be used for the data packet after adjustment being sent to router, so that router is to the number received It is parsed according to the DSCP value in packet to obtain the processing priority of data packet, and according to the processing priority of data packet by data Packet is put into the queue of corresponding priority level and is sent.
It is appreciated that in an embodiment of the present invention, can have the data packet team of multiple and different priority levels in router Column, such as high priority level queue 1, normal priority level queue 2, low priority level queue 3.
More specifically, sending module 40 adjusts in data packet after DSCP value in adjustment module 30, it can be by number adjusted It is sent according to packet.Router can parse to obtain the dscp field in data packet after receiving these data packets The DSCP value is obtained, and then obtains processing priority corresponding to the data packet, priority can be managed according to this later by the data Packet is put into the queue of corresponding priority-level and is sent.For example, data packet can be put into when DSCP value is high In high priority queue 1;When DSCP value is low, it is medium data packet can be put into low priority level queue 3.Router exists When to queue processing, the data packet inside processing queue is carried out according to the priority level of queue, as a result, the high data packet of DSCP value The priority processing of router can be obtained, to achieve the purpose that data packet optimizes.
The data transmission device of the embodiment of the present invention, can by priority obtain module obtain target process identifier with And the priority of target process, data packet obtain module and obtain the data packet that target process has been sent, adjustment module obtains data The differentiated services code points DSCP value of IP header structure in packet, and DSCP value, sending module are adjusted according to the priority of target process Data packet adjusted is sent to router, router parses to be somebody's turn to do the DSCP value in the data packet received The processing priority of data packet, and the data packet is put into the team of corresponding priority level according to the processing priority of the data packet It is sent in column, i.e., it is other come the processing priority for adjusting data packet by modifying the DSCP value of the IP header structure of data packet, and Priority processing is not carried out according to the processing priority of data packet adjusted by router, realizes the optimization of network data Purpose, upload and downloading without the data packet to the unit time do packet loss processing, shows so as to avoid the loss of data packet As, while the stability of current network and the utilization rate in broadband are improved, and then improve data-optimized effect, it improves User experience.
In order to realize above-described embodiment, the invention also provides a kind of data transmission systems.Fig. 5 is one according to the present invention The structural schematic diagram of the data transmission system of embodiment.As shown in figure 5, the data transmission system may include: data transmission dress Set 100 and router 200.
Specifically, data transmission device 100 can be data transmission device described in any of the above-described a embodiment, the present embodiment The concrete function description of data transmission device 100 can refer to the specific descriptions of above-mentioned Fig. 3 and Fig. 4, details are not described herein.
Router 200 can be used for receiving the data packet of data transmission device transmission, and according to the processing priority of data packet Processing is optimized to data packet.Specifically, in an embodiment of the present invention, router 200 can be first to data packet DSCP value is parsed to obtain the processing priority of data packet, can be put data packet according to the processing priority of data packet later Enter into the queue of corresponding priority level, and the data packet in queue is sent according to the priority level of queue.
It is appreciated that in an embodiment of the present invention, can have the data packet of multiple and different priority levels in router 200 Queue, such as high priority level queue 1, normal priority level queue 2, low priority level queue 3.
More specifically, data transmission device 100 is in adjustment data packet after DSCP value, can by data packet adjusted into Row is sent.Router 200 can parse to be somebody's turn to do the dscp field in data packet after receiving these data packets DSCP value, and then processing priority corresponding to the data packet is obtained, priority can be managed according to this later and put the data packet Enter into the queue of corresponding priority-level and is sent.For example, router 200 can be by data packet when DSCP value is high It is put into high priority queue 1;When DSCP value is low, data packet can be put into low priority level team by router 200 Column 3 are medium.Router 200 carries out the data packet inside processing queue when to queue processing, according to the priority level of queue, by This, the priority processing of router can be obtained in the high data packet of DSCP value, to achieve the purpose that data packet optimizes.
The data transmission system of the embodiment of the present invention can obtain module by the priority in data transmission device and obtain mesh The identifier of mark process and the priority of target process, data packet obtain module and obtain the data packet that target process has been sent, The differentiated services code points DSCP value that module obtains IP header structure in data packet is adjusted, and is adjusted according to the priority of target process Data packet adjusted is sent to router by DSCP value, sending module, and router is according to the processing priority logarithm of data packet Processing is optimized according to packet, i.e., adjusts the processing priority of data packet by the DSCP value of the IP header structure of modification data packet Not, and by router according to the processing priority of data packet adjusted priority processing is not carried out, realize network data The purpose of optimization, packet loss processing is done in upload and downloading without the data packet to the unit time, so as to avoid losing for data packet The phenomenon that mistake, while the stability of current network and the utilization rate in broadband are improved, and then improve data-optimized effect, The user experience is improved.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples It closes and combines.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned Embodiment is changed, modifies, replacement and variant.

Claims (8)

1. a kind of data transmission method, which comprises the following steps:
Obtain the identifier of target process and the priority of the target process;Wherein, the target process and its priority Obtain in the following manner in advance: first pass through in advance obtain user's use habit and the user that the collected process that needs to optimize and Priority-level corresponding to the process, wherein the higher process of demand, priority-level corresponding to the process are got over It is high;
Obtain the data packet that the target process has been sent;
The differentiated services code points DSCP value of IP header structure in the data packet is obtained, and according to the priority of the target process Adjust the DSCP value;And
The data packet after adjustment is sent to router, so that the router is to the DSCP in the data packet received Value is parsed to obtain the processing priority of the data packet, and according to the processing priority of the data packet by the data Packet is put into the queue of corresponding priority level and is sent.
2. data transmission method as described in claim 1, which is characterized in that the identifier for obtaining target process and institute The priority for stating target process specifically includes:
All processes being currently running are obtained, and judge whether the identifier of all processes belongs to default Process identifier collection It closes, wherein the default Process identifier set includes at least one Process identifier;
If at least one of the identifier of all processes belongs to the default Process identifier set, by described in extremely Few corresponding process of an identifier is determined as corresponding target as the target process, and by least one described identifier The identifier of process;
According to the preset process priority table of comparisons of the identifier query of the target process with obtain the corresponding target into The priority of journey.
3. data transmission method as described in claim 1, which is characterized in that in the acquisition target process and the target Before the priority of process, the method also includes:
Set interface is provided;Wherein, the priority of the identifier for obtaining target process and the target process is specifically wrapped It includes:
The identifier and priority for receiving the target process that user is arranged in the set interface are to obtain the target process The priority of identifier and the target process.
4. a kind of data transmission device characterized by comprising
Priority obtains module, for obtaining the identifier of target process and the priority of the target process;Wherein, described Target process and its priority obtain in the following manner in advance: first passing through the user for obtaining user's use habit and collecting in advance Priority-level corresponding to the process and the process for needing to optimize, wherein the higher process of demand, the process institute are right The priority-level answered is higher;
Data packet obtains module, the data packet sent for obtaining the target process;
Module is adjusted, for obtaining the differentiated services code points DSCP value of IP header structure in the data packet, and according to the mesh The priority of mark process adjusts the DSCP value;And
Sending module, for the data packet after adjustment to be sent to router, so that the router is to receiving DSCP value in data packet is parsed to obtain the processing priority of the data packet, and excellent according to the processing of the data packet The data packet is put into the queue of corresponding priority level and sends by first grade.
5. data transmission device as claimed in claim 4, the priority obtains module and is specifically used for:
All processes being currently running are obtained, and judge whether the identifier of all processes belongs to default Process identifier collection It closes, wherein the default Process identifier set includes at least one Process identifier;
If at least one of the identifier of all processes belongs to the default Process identifier set, by described in extremely Few corresponding process of an identifier is determined as corresponding target as the target process, and by least one described identifier The identifier of process;
According to the preset process priority table of comparisons of the identifier query of the target process with obtain the corresponding target into The priority of journey.
6. data transmission device as claimed in claim 4, which is characterized in that further include:
Module is provided, for providing set interface before the priority of the acquisition target process and the target process; Wherein,
The priority obtain module receive identifier and the priority for the target process that user is arranged in the set interface with Obtain the identifier of the target process and the priority of the target process.
7. a kind of data transmission system characterized by comprising
Data transmission device as described in any one of claim 4-6;And
Router, the data packet sent for receiving the data transmission device, and according to the processing priority of the data packet Processing is optimized to the data packet.
8. data transmission system as claimed in claim 7, which is characterized in that the router is specifically used for:
The DSCP value of the data packet is parsed to obtain the processing priority of the data packet;
The data packet is put into the queue of corresponding priority level according to the processing priority of the data packet;And
The data packet in the queue is sent according to the priority level of the queue.
CN201510536128.4A 2015-08-27 2015-08-27 Data transmission method, device and system Active CN105245469B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510536128.4A CN105245469B (en) 2015-08-27 2015-08-27 Data transmission method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510536128.4A CN105245469B (en) 2015-08-27 2015-08-27 Data transmission method, device and system

Publications (2)

Publication Number Publication Date
CN105245469A CN105245469A (en) 2016-01-13
CN105245469B true CN105245469B (en) 2019-05-28

Family

ID=55042974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510536128.4A Active CN105245469B (en) 2015-08-27 2015-08-27 Data transmission method, device and system

Country Status (1)

Country Link
CN (1) CN105245469B (en)

Families Citing this family (33)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9729439B2 (en) 2014-09-26 2017-08-08 128 Technology, Inc. Network packet flow controller
US10277506B2 (en) 2014-12-08 2019-04-30 128 Technology, Inc. Stateful load balancing in a stateless network
US9736184B2 (en) 2015-03-17 2017-08-15 128 Technology, Inc. Apparatus and method for using certificate data to route data
US9729682B2 (en) 2015-05-18 2017-08-08 128 Technology, Inc. Network device and method for processing a session using a packet signature
US9762485B2 (en) 2015-08-24 2017-09-12 128 Technology, Inc. Network packet flow controller with extended session management
US9871748B2 (en) 2015-12-09 2018-01-16 128 Technology, Inc. Router with optimized statistical functionality
US9985883B2 (en) 2016-02-26 2018-05-29 128 Technology, Inc. Name-based routing system and method
US10205651B2 (en) 2016-05-13 2019-02-12 128 Technology, Inc. Apparatus and method of selecting next hops for a session
US10298616B2 (en) 2016-05-26 2019-05-21 128 Technology, Inc. Apparatus and method of securing network communications
US10841206B2 (en) 2016-05-31 2020-11-17 128 Technology, Inc. Flow modification including shared context
US10091099B2 (en) 2016-05-31 2018-10-02 128 Technology, Inc. Session continuity in the presence of network address translation
US11075836B2 (en) 2016-05-31 2021-07-27 128 Technology, Inc. Reverse forwarding information base enforcement
US10200264B2 (en) 2016-05-31 2019-02-05 128 Technology, Inc. Link status monitoring based on packet loss detection
US9832072B1 (en) 2016-05-31 2017-11-28 128 Technology, Inc. Self-configuring computer network router
US10257061B2 (en) 2016-05-31 2019-04-09 128 Technology, Inc. Detecting source network address translation in a communication system
US10009282B2 (en) 2016-06-06 2018-06-26 128 Technology, Inc. Self-protecting computer network router with queue resource manager
US9985872B2 (en) 2016-10-03 2018-05-29 128 Technology, Inc. Router with bilateral TCP session monitoring
US10425511B2 (en) 2017-01-30 2019-09-24 128 Technology, Inc. Method and apparatus for managing routing disruptions in a computer network
CN108540404B (en) * 2017-03-06 2021-09-10 中国移动通信有限公司研究院 Method and device for dynamically adjusting current meter
US10833980B2 (en) 2017-03-07 2020-11-10 128 Technology, Inc. Router device using flow duplication
US10432519B2 (en) 2017-05-26 2019-10-01 128 Technology, Inc. Packet redirecting router
CN109151612B (en) 2017-06-27 2020-10-16 华为技术有限公司 Video transmission method, device and system
US11165863B1 (en) 2017-08-04 2021-11-02 128 Technology, Inc. Network neighborhoods for establishing communication relationships between communication interfaces in an administrative domain
CN107911850B (en) * 2017-11-28 2020-03-13 中国联合网络通信集团有限公司 Transport network service establishing method and equipment
US20190253341A1 (en) 2018-02-15 2019-08-15 128 Technology, Inc. Service Related Routing Method and Apparatus
CN110876159B (en) * 2018-08-30 2022-02-11 华为技术有限公司 Method and device for improving time delay certainty
CN111030940A (en) * 2019-12-19 2020-04-17 深圳市网心科技有限公司 Network data packet transmission method and device, electronic equipment and storage medium
CN111131061B (en) * 2019-12-30 2022-07-08 中国联合网络通信集团有限公司 Data transmission method and network equipment
CN115428411A (en) 2020-04-23 2022-12-02 瞻博网络公司 Session monitoring using session establishment metrics
CN112398754B (en) * 2020-11-13 2022-09-13 Oppo广东移动通信有限公司 Data transmission method, device, medium, electronic equipment and network access equipment
CN112333114B (en) * 2020-11-13 2022-11-04 Oppo广东移动通信有限公司 Data transmission method, device, storage medium, terminal and network access point equipment
CN114006867B (en) * 2021-09-29 2023-08-29 苏州浪潮智能科技有限公司 Message transmission priority control method, system, device and storage medium
CN115842793A (en) * 2022-11-16 2023-03-24 深圳市丰润达科技有限公司 Route forwarding method, device, equipment and storage medium of three-layer switch

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7460920B1 (en) * 2006-02-22 2008-12-02 Advanced Micro Devices, Inc. Determining scheduling priority using fabrication simulation

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395208B (en) * 2011-06-29 2019-02-15 中兴通讯股份有限公司 A kind of adjust automatically voice sends the methods, devices and systems of parameter
US8793442B2 (en) * 2012-02-08 2014-07-29 International Business Machines Corporation Forward progress mechanism for stores in the presence of load contention in a system favoring loads
CN102711191A (en) * 2012-05-24 2012-10-03 中兴通讯股份有限公司 Method and device for dynamically adjusting data service transmission rate of mobile network quality
CN103036810B (en) * 2012-12-06 2016-02-03 杭州华三通信技术有限公司 The extranet access control method exported based on many outer nets and access device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7460920B1 (en) * 2006-02-22 2008-12-02 Advanced Micro Devices, Inc. Determining scheduling priority using fabrication simulation

Also Published As

Publication number Publication date
CN105245469A (en) 2016-01-13

Similar Documents

Publication Publication Date Title
CN105245469B (en) Data transmission method, device and system
KR100853045B1 (en) Auto-ip traffic optimization in mobile telecommunications systems
US9451502B2 (en) Service control method and system, evolved nodeB, and packet data network gateway
CN105871602B (en) A kind of control method, device and system counting flow
CN102946637B (en) Methods and apparatus for creation and transport of multimedia content flows
CN106059954B (en) A kind of method and device that network bandwidth is adjusted
US10182011B2 (en) System and method to analyze congestion in low latency network
CN110035018A (en) Determine method, network element and the system of network service quality stream
CN105898388B (en) A kind of node download schedule method and apparatus
KR20150000152A (en) Method for controlling software defined networking network and apparatus for performing the same
DE202006002933U1 (en) Mesh point for supporting data flow control in a wireless mesh network
DE202010012282U1 (en) Adaptation of the bit error rate to a target quality of the service
CN105376176B (en) Ensure the methods, devices and systems of mobile Internet video traffic service quality
EP3972200A1 (en) Service flow identification method and apparatus, and model generation method and apparatus
JP2013535895A (en) Communication system, node, statistical information collecting apparatus, statistical information collecting method and program
CN105532012B (en) Method of video distribution, equipment and system
CN107872478A (en) A kind of content buffering method, device and system
CN107295364A (en) Real-time streaming transport control method, control device for barrage video
CN109995668A (en) Flow control methods and device, storage medium
CA2516336A1 (en) Multiple description hinting and switching for adaptive media services
CN108882309A (en) A kind of method and system with big data analysis adjustment service bandwidth
CN102187641A (en) A method for delivering visit content and a device thereof
CN103905327B (en) Stream state information based content-centric network congestion control method and system thereof
CN106161158A (en) The methods, devices and systems of value-added service are provided
CN105264833B (en) A kind of service path calculation method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20181213

Address after: 519030 Room 105-53967, No. 6 Baohua Road, Hengqin New District, Zhuhai City, Guangdong Province

Applicant after: Zhuhai Leopard Fun Technology Co.,Ltd.

Address before: 100085 East District, Second Floor, 33 Xiaoying West Road, Haidian District, Beijing

Applicant before: BEIJING KINGSOFT INTERNET SECURITY SOFTWARE Co.,Ltd.

Applicant before: CONEW NETWORK TECHNOLOGY (BEIJING) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant