CN105450550B - The channel priorities method of adjustment and device of router - Google Patents
The channel priorities method of adjustment and device of router Download PDFInfo
- Publication number
- CN105450550B CN105450550B CN201510765187.9A CN201510765187A CN105450550B CN 105450550 B CN105450550 B CN 105450550B CN 201510765187 A CN201510765187 A CN 201510765187A CN 105450550 B CN105450550 B CN 105450550B
- Authority
- CN
- China
- Prior art keywords
- data packet
- type
- service
- mark
- router
- 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
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/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/805—QOS or priority aware
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides the channel priorities methods of adjustment and device of a kind of router.This method comprises: determining the corresponding type of service of the data packet when client sends data packet;According to the type of service of the determining data packet, the mark for carrying out type of service mark to the data packet is handled;The data packet for increasing type of service mark is sent to router, is identified by the router according to the type of service and carries out channel priorities adjustment.Different traffic differentiations can be handled using the present invention, so that network meets the network demand of different stage business during sharing.
Description
Technical field
The present invention relates to field of computer technology, more particularly to the channel priorities method of adjustment and dress of a kind of router
It sets.
Background technique
The fast development of Internet technology gradually becomes the daily technology being commonly used of people so that network shares.In reality
In life, the route that one and external world's network communication are individually established for each user is clearly that take time and effort cost source great
One thing.Also, the demand based on each user to network is different, and some users are usually only to log in a chat software,
Or open browser and see some web page contents, to the request-reply rate request of the bearing capacity of network, robustness and network
Generally, and some users then have a slightly higher requirement to network, such as shopping at network, viewing network video etc., also
A little users have higher requirement to network, need network to be capable of providing and stablize, quickly service, such as user plays online game
Or webpage version game.
It can thus be seen that the shared of Internet resources has become people's optimum mode at present, still, at present not
The mode that the method having had can share network provides, so that the demand of all types of user or business can be satisfied.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind
State the channel priorities method of adjustment and device of the router of problem.
Based on one aspect of the present invention, the present invention provides a kind of channel priorities method of adjustment of different business, packets
It includes:
When client sends data packet, the corresponding type of service of the data packet is determined;
According to the type of service of the determining data packet, at the mark that type of service mark is carried out to the data packet
Reason;
The data packet for increasing type of service mark is sent to router, by the router according to the type of service
Mark carries out channel priorities adjustment.
Optionally, the mark for carrying out type of service mark to the data packet is handled, comprising:
Increase a packet new, for marking the type of service mark outside the data packet.
Optionally, increase a packet new, for marking the type of service mark outside the data packet, comprising:
Increase a packet new, for marking the type of service mark in the packet header of the data packet or packet tail.
Optionally, the mark for carrying out type of service mark to the data packet is handled, comprising:
Same type of data packet is put into the transmit queue of designated port, by the designated port to the data packet
Type is identified.
Optionally, the data packet for increasing type of service mark is sent to before router, further includes: by the data
The type of service recognition rule of packet is sent to the router.
Based on another aspect of the present invention, the invention also discloses the channel priorities adjustment sides of another different business
Method, comprising:
Receive the data packet from client;
The data packet is parsed, the type of service mark of the data packet is obtained;
The type of service of the data packet is determined according to type of service mark;
Channel priorities adjustment is carried out to the data packet according to the type of service of the data packet.
Optionally, the data packet is parsed, before the type of service mark for obtaining the data packet, further includes:
Receive the type of service recognition rule from the client;
The type of service of the data packet is determined according to type of service mark, comprising: know according to the type of service
Not rule and type of service mark, determine the type of service of the data packet.
Optionally, channel priorities adjustment is carried out to the data packet according to the type of service of the data packet, comprising:
If the data packet is type of play, the channel priorities of the data packet are adjusted to highest;
If the data packet is type of webpage, the channel priorities of the data packet are adjusted to preferential inferior to game
Grade;
If the data packet is video type, the channel priorities of the data packet are adjusted to preferential inferior to webpage
Grade.
Based on an additional aspect of the present invention, the embodiment of the invention also discloses a kind of channel priorities tune of different business
Engagement positions are applied to client, comprising:
First determining module determines the corresponding type of service of the data packet when being suitable for sending data packet;
Processing module is identified, suitable for the type of service according to the determining data packet, business is carried out to the data packet
The mark of type identification is handled;
Sending module, suitable for the data packet for increasing type of service mark is sent to router, by the router root
It is identified according to the type of service and carries out channel priorities adjustment.
Optionally, the mark processing module is further adapted for:
Increase a packet new, for marking the type of service mark outside the data packet.
Optionally, the mark processing module is further adapted for:
Increase a packet new, for marking the type of service mark in the packet header of the data packet or packet tail.
Optionally, the mark processing module is further adapted for:
Same type of data packet is put into the transmit queue of designated port, by the designated port to the data packet
Type is identified.
Optionally, the sending module is further adapted for: will increase type of service mark data packet be sent to router it
Before, the type of service recognition rule of the data packet is sent to the router.
Based on another aspect of the invention, the embodiment of the invention also discloses the channel priorities of another different business
Device is adjusted, router is applied to, comprising:
Receiving module, suitable for receiving the data packet from client;
Parsing module obtains the type of service mark of the data packet suitable for parsing to the data packet;
Second determining module, suitable for determining the type of service of the data packet according to type of service mark;
Module is adjusted, suitable for carrying out channel priorities adjustment to the data packet according to the type of service of the data packet.
Optionally, the receiving module is further adapted for: parsing to the data packet, obtains the service class of the data packet
Before type mark, the type of service recognition rule from the client is received;
Second determining module is further adapted for: it is identified according to the type of service recognition rule and the type of service,
Determine the type of service of the data packet.
Optionally, the adjustment module is further adapted for:
If the data packet is type of play, the channel priorities of the data packet are adjusted to highest;
If the data packet is type of webpage, the channel priorities of the data packet are adjusted to preferential inferior to game
Grade;
If the data packet is video type, the channel priorities of the data packet are adjusted to preferential inferior to webpage
Grade.
Based on another aspect of the invention, the invention also discloses a kind of router, the difference including any of the above-described
The channel priorities of business adjust device.
In embodiments of the present invention, client is when sending data packet, according to the different service types of data packet to data
Classify, and then processing is identified to data packet for different types of service.Data packet that treated has unique
Type of service mark, can not need to dismantle data packet the data in data packet are parsed with the class that can determine data packet
Type.Further, the data packet for increasing type of service mark is sent to router by client, by router according to each data packet
Type of service mark carry out channel priorities adjustment.It can be seen that the embodiment of the present invention is directed to the data packet of different types
Different marks is provided, for router is distinguished, identification is gone forward side by side row of channels priority adjustment, so as to by different business
Differentiation processing, so that network meets the network demand of different stage business during sharing.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention,
And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
According to the following detailed description of specific embodiments of the present invention in conjunction with the accompanying drawings, those skilled in the art will be brighter
The above and other objects, advantages and features of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field
Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention
Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is shown at the first of channel priorities method of adjustment of different business according to an embodiment of the invention
Manage flow chart;
Fig. 2 shows at second of the channel priorities method of adjustment of different business according to an embodiment of the invention
Manage flow chart;
Fig. 3 is shown at the first of channel priorities adjustment device of different business according to an embodiment of the invention
Manage flow chart;And
Fig. 4 is shown at second of the channel priorities method of adjustment of different business according to an embodiment of the invention
Manage flow chart.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
It is fully disclosed to those skilled in the art.
In order to solve the above technical problems, the embodiment of the invention provides a kind of channel priorities adjustment sides of different business
Method.It should be noted that the process that the data packet of any business is sent in network is as follows:
It is issued firstly, the data packet of business can be packaged by client, the routing of connection is sent to by corresponding network path
Device;
Secondly, router receives the data packet of business, the processing such as identified and forwarded to it.
It can be seen that the transmission of data packet provided in an embodiment of the present invention is related to client and router two sides, to incite somebody to action this
It is clearer that invention illustrates that ground becomes apparent from, now respectively from client and router two sides to the channel priority adjustment side of different business
Method is described in detail.
Firstly, Fig. 1 shows the of the channel priorities method of adjustment of different business according to an embodiment of the invention
A kind of process flow diagram.Fig. 1 is described this method from client-side.Referring to Fig. 1, which includes at least step
S102 to step S106:
Step S102, when client sends data packet, the transmitted corresponding type of service of data packet is determined;
Step S104, according to the type of service of determining transmitted data packet, type of service mark is carried out to data packet
Mark processing;
Step S106, the data packet for increasing type of service mark is sent to router, by router according to service class
Type mark carries out channel priorities adjustment.
In embodiments of the present invention, client is when sending data packet, according to the different service types of data packet to data
Classify, and then processing is identified to data packet for different types of service.Data packet that treated has unique
Type of service mark, can not need to dismantle data packet the data in data packet are parsed with the class that can determine data packet
Type.Further, the data packet for increasing type of service mark is sent to router by client, by router according to each data packet
Type of service mark carry out channel priorities adjustment.It can be seen that the embodiment of the present invention is directed to the data packet of different types
Different marks is provided, for router is distinguished, identification is gone forward side by side row of channels priority adjustment, so as to by different business
Differentiation processing, so that network meets the network demand of different stage business during sharing.
The mark processing for carrying out type of service mark to data packet referred in step S104 includes various ways, for example,
A packet new, for marking type of service mark can be increased outside data packet.By taking game item as an example, client is being sent out
When sending game data packet, it can be further added by a packet outside data packet, be referred to as increasing a shell.It is increased this
Packet can mark out the characteristic that the data packet is game package, its priority processing, such router can received this increase
When the game data packet of new packet, can need not the particular content in parsing data packet can know that the data packet is game number
The processing such as preferential forwarding are carried out according to packet, and then to game data packet.
It in a preferred embodiment, is the content for not influencing data packet, the outer packet newly increased of data packet can be adopted
Increase the form of a packet new, for marking type of service mark used in the packet header of data packet or packet tail.Packet header or packet tail
It usually will not influence the data content in data packet, in the processing to data packet, be also easy resolved come out separately as mark
Knowledge or identifying code etc. are handled.
Specifically, the embodiment of the present invention provides the network environment of a local area network, and in the network environment, multiple people are simultaneously
Using different business, A is seeing video, and B is seeing webpage playing online game, C.So, the network of these three business is needed
For asking, it is necessary first to guarantee to play the fluency of game, second is the fluency for guaranteeing browsing device net page, and third is only guarantee and sees
The fluency of video.In the prior art, it is what type of data packet that router, which can not distinguish the data packet received, and
In the embodiment of the present invention, client is can to determine the type of data packet, at this point, client increases by one outside data packet
Packet for showing the identity of each data packet, then issues router.For example, router detects that a packet header is flux3, it was demonstrated that
This is the data packet of a game, then, router can preferentially pass on the data packet that this packet header is flux3.Further, when
When router faces the data packet of these three types, i.e., the data packet of one game, the data packet of a webpage, one is video
Data packet, what router override was pass on is the data packet of game, take second place pass on be webpage data packet, finally pass on
The data packet of video.
It should be noted that data refer to a complete data flow during data are pass on, when a data packet
It is opened, the entire data flow being followed by can preferentially be pass on.
Further, in the embodiment of the present invention, the premise that data packet or data flow are preferably pass on is router according to business
Type identification has carried out priority adjustment to the transmission channel of data.It is the queue mechanism for meeting first in first out by data, according to
The secondary data by queue are respectively transmitted on corresponding channel, and adjust this saying there is no priority, and of the invention
Embodiment by data packet carry out type of service mark so that router according to can according to the different type of data packet,
Priority adjustment is actually carried out to the channel for sending data packet according to the network demand of different business, to reach efficient net
The shared purpose of network.
In embodiments of the present invention, it is that data packet or data flow play a packet that reality, which is exactly client, and then client identifies
Simply, identify whether this process is game by the packet newly increased, if so, the data packet issued by this process, all
It is the data flow of game.When router finds this data flow, so that it may immediately determined that according to the packet newly increased be game number
It according to packet, then unlocks, goes out just preferentially to pass on.
The channel priorities method of adjustment of different business provided in an embodiment of the present invention is adapted in burst big flow, really
When being required to network speed.In general, when the flow of game occupies the 60% of total bandwidth, it will affect the speed of game
Degree, then, discovery total flow is more than half, so that it may trigger the channel priorities adjustment of different business provided in an embodiment of the present invention
Method.In addition, router can tell client at regular intervals or when certain several threshold value, for example, presetting total network speed and being
10M, data per second reach 500k, have actually crossed the half of 10M, it is more than half to be broadcasted data packet, or cross 70%
, restart the channel priorities method of adjustment of different business.
It is mentioned above, processing mode there are many mark processing of type of service mark is carried out to data packet, the present invention is implemented
Example provides another preferred processing mode again, that is, same type of data packet is put into the transmit queue of designated port, by
Designated port identifies the type of data packet.
Specifically, client sends data and needs to issue through port, for example hair data are 1,2,3,4,5 ports, that client
A notice is sent out just to router in advance in end, and the data for saying that 1,2,3,4,5 ports of this IP are come are game.It is true by port
Fixed model comparision tradition, but its advantage is exactly client to router advertisement, router can be in QoS
Add several parameters inside (Quality of Service, service quality), remembers data type corresponding to the port of client.
When client pass through again these ports send data packet when, router can Direct Recognition go out these data packets or data flow
It is game data.The corresponded manner of this port increases the mode of data packet relative to former, can phase to the pressure of router
It should reduce, overhead also can be smaller, is easier to land for technicians.Wherein, router is by increasing QoS item
Purpose mode realizes the increase of parameter in QoS, for example, increasing by one from this port to that port, or from this port
Come, the QoS entry that router should be solved preferentially.
Certainly, the mark processing mode which kind of no matter is carried out type of service mark to data packet using, will increase industry
The data packet of service type mark is sent to before router, and the embodiment of the present invention is required the type of service identification rule of data packet
It is then sent to router, identification protocol is established between client and router, router is avoided to be considered that wrong packet directly abandons.
For client, the channel priorities method of adjustment of this different business can be by the way of applicative notifications
It informs user, for example, user is downloading on one side, is playing game on one side, network demand is increased, at this point, client can be
Message is presented below as on display interface: security guard and secure router raise speed to your game, then speed-raising side
Formula is preferentially to pass on, this mode is protecting your game network speed.
Based on the same inventive concept, the embodiment of the invention also provides the channels of the different business of one embodiment of the invention
Second of process flow diagram of priority level adjustment method.Fig. 2 is described this method from router side.Referring to fig. 2, the party
Method includes at least step S202 to S208:
Step S202, the data packet from client is received;
Step S204, data packet is parsed, obtains the type of service mark of data packet;
Step S206, the type of service for determining data packet is identified according to type of service;
Step S208, channel priorities adjustment is carried out to data packet according to the type of service of data packet.
In embodiments of the present invention, router parses the data packet from client, in data packet not only
It further include the type of service mark of client setting including data content, progress can identify corresponding determine according to type of service
The type of service of data packet, to carry out channel priorities adjustment to data packet, setting sends channel and the elder generation of the data packet
Sequence afterwards.It can be seen that the embodiment of the present invention provides different marks for the data packet of different types, for router
It distinguishes, identify row of channels priority adjustment of going forward side by side, so as to handle different traffic differentiations, so that the process that network is shared
The middle network demand for meeting different stage business.
It should be noted that this method can be realized directly by router, it can also be by installing hardware on the router
Or software service is realized, for convenience of describing, the embodiment of the present invention is directly described by router as main body.
Certainly, as mentioned, client and router are that data send both sides, and certainly, no matter client is adopted
The mark processing mode which kind of is carried out type of service mark to data packet with, in the data packet hair that will increase type of service mark
It send to before router, the embodiment of the present invention requires the type of service recognition rule of data packet being sent to router, in visitor
Identification protocol is established between family end and router, router is avoided to be considered that wrong packet directly abandons.
Specifically, the embodiment of the present invention provides the network environment of a local area network, and in the network environment, multiple people are simultaneously
Using different business, A is seeing video, and B is seeing webpage playing online game, C.So, the network of these three business is needed
For asking, it is necessary first to guarantee to play the fluency of game, second is the fluency for guaranteeing browsing device net page, and third is only guarantee and sees
The fluency of video.In the prior art, it is what type of data packet that router, which can not distinguish the data packet received, and
In the embodiment of the present invention, client is can to determine the type of data packet, at this point, client increases by one outside data packet
Packet for showing the identity of each data packet, then issues router.For example, router detects that a packet header is flux3, it was demonstrated that
This is the data packet of a game, then, router can preferentially pass on the data packet that this packet header is flux3.Further, when
When router faces the data packet of these three types, i.e., the data packet of one game, the data packet of a webpage, one is video
Data packet, what router override was pass on is the data packet of game, take second place pass on be webpage data packet, finally pass on
The data packet of video.That is, router preferentially adjusts the channel priorities of data packet if data packet is type of play
For highest;If data packet is type of webpage, router, which takes second place, is adjusted to excellent inferior to game for the channel priorities of data packet
First grade;And if data packet is video type, the channel priorities of data packet are adjusted to the priority inferior to webpage by router.
Based on the same inventive concept, the embodiment of the invention also provides a kind of adjustment of the channel priorities of different business to fill
It sets, is applied to client.Fig. 3 shows the channel priorities adjustment device of different business according to an embodiment of the invention
The first structural schematic diagram.Referring to Fig. 3, which is included at least:
First determining module 310 determines the corresponding type of service of data packet when being suitable for sending data packet;
Processing module 320 is identified, is coupled with the first determining module 310, suitable for the type of service according to determining data packet,
The mark processing of type of service mark is carried out to data packet;
Sending module 330 is coupled with mark processing module 320, suitable for that will increase the data packet hair of type of service mark
It send to router, is identified by router according to type of service and carry out channel priorities adjustment.
In embodiments of the present invention, client is when sending data packet, according to the different service types of data packet to data
Classify, and then processing is identified to data packet for different types of service.Data packet that treated has unique
Type of service mark, can not need to dismantle data packet the data in data packet are parsed with the class that can determine data packet
Type.Further, the data packet for increasing type of service mark is sent to router by client, by router according to each data packet
Type of service mark carry out channel priorities adjustment.It can be seen that the embodiment of the present invention is directed to the data packet of different types
Different marks is provided, for router is distinguished, identification is gone forward side by side row of channels priority adjustment, so as to by different business
Differentiation processing, so that network meets the network demand of different stage business during sharing.
In a preferred embodiment, mark processing module 320 can be adapted to:
Increase a packet new, for marking type of service mark outside data packet.
In a preferred embodiment, mark processing module 320 can be adapted to:
Increase a packet new, for marking type of service mark in the packet header of data packet or packet tail.
In a preferred embodiment, mark processing module 320 can be adapted to:
Same type of data packet is put into the transmit queue of designated port, is carried out by type of the designated port to data packet
Identification.
In a preferred embodiment, sending module 330 can be adapted to: will increase the data of type of service mark
Packet is sent to before router, and the type of service recognition rule of data packet is sent to router.
Based on the same inventive concept, the embodiment of the invention also provides a kind of adjustment of the channel priorities of different business to fill
It sets, is applied to router.Fig. 4 shows the channel priorities adjustment device of different business according to an embodiment of the invention
Second of structural schematic diagram.Referring to fig. 4, which includes at least:
Receiving module 410, suitable for receiving the data packet from client;
Parsing module 420 is coupled with receiving module 410, suitable for parsing to data packet, obtains the service class of data packet
Type mark;
Second determining module 430, couples with parsing module 420, suitable for identifying the industry for determining data packet according to type of service
Service type;
Adjust module 440, coupled with the second determining module 430, suitable for according to the type of service of data packet to data packet into
The adjustment of row of channels priority.
In embodiments of the present invention, router parses the data packet from client, in data packet not only
It further include the type of service mark of client setting including data content, progress can identify corresponding determine according to type of service
The type of service of data packet, to carry out channel priorities adjustment to data packet, setting sends channel and the elder generation of the data packet
Sequence afterwards.It can be seen that the embodiment of the present invention provides different marks for the data packet of different types, for router
It distinguishes, identify row of channels priority adjustment of going forward side by side, so as to handle different traffic differentiations, so that the process that network is shared
The middle network demand for meeting different stage business.
In a preferred embodiment, receiving module 410 can be adapted to: parsing to data packet, obtains data
Before the type of service mark of packet, the type of service recognition rule from client is received;
Second determining module 430 can be adapted to: being identified according to type of service recognition rule and type of service, determines number
According to the type of service of packet.
In a preferred embodiment, adjustment module 440 can be adapted to:
If data packet is type of play, the channel priorities of data packet are adjusted to highest;
If data packet is type of webpage, the channel priorities of data packet are adjusted to the priority inferior to game;
If data packet is video type, the channel priorities of data packet are adjusted to the priority inferior to webpage.
Based on the same inventive concept, the embodiment of the invention also provides a kind of routers, including different business shown in Fig. 4
Channel priorities adjust device.
Using the channel priorities method of adjustment and device of router provided in an embodiment of the present invention, can reach has as follows
Beneficial effect:
In embodiments of the present invention, client is when sending data packet, according to the different service types of data packet to data
Classify, and then processing is identified to data packet for different types of service.Data packet that treated has unique
Type of service mark, can not need to dismantle data packet the data in data packet are parsed with the class that can determine data packet
Type.Further, the data packet for increasing type of service mark is sent to router by client, by router according to each data packet
Type of service mark carry out channel priorities adjustment.It can be seen that the embodiment of the present invention is directed to the data packet of different types
Different marks is provided, for router is distinguished, identification is gone forward side by side row of channels priority adjustment, so as to by different business
Differentiation processing, so that network meets the network demand of different stage business during sharing.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention
Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail
And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes
In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect
Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following
Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore,
Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself
All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment
Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment
Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or
Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any
Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed
All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power
Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose
It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention
Within the scope of and form different embodiments.For example, in detail in the claims, embodiment claimed it is one of any
Can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors
Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice
Microprocessor or digital signal processor (DSP) realize the channel priorities tune of different business according to an embodiment of the present invention
The some or all functions of some or all components in engagement positions.The present invention is also implemented as executing institute here
Some or all device or device programs of the method for description are (for example, computer program and computer program produce
Product).It is such to realize that program of the invention can store on a computer-readable medium, or can have one or more
The form of signal.Such signal can be downloaded from an internet website to obtain, and perhaps be provided on the carrier signal or to appoint
What other forms provides.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability
Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims,
Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not
Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such
Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real
It is existing.If several in these devices can be through the same hardware branch come specific body in the unit for listing equipment for drying
It is existing.The use of word first, second, and third does not indicate any sequence.These words can be construed to title.
So far, although those skilled in the art will appreciate that present invention has been shown and described in detail herein multiple shows
Example property embodiment still without departing from the spirit and scope of the present invention, still can according to the present disclosure directly
Determine or deduce out many other variations or modifications consistent with the principles of the invention.Therefore, the scope of the present invention is understood that and recognizes
It is set to and covers all such other variations or modifications.
Based on one aspect of the present invention, the invention discloses the channel priorities method of adjustment of A1, a kind of different business,
Include:
When client sends data packet, the corresponding type of service of the data packet is determined;
According to the type of service of the determining data packet, at the mark that type of service mark is carried out to the data packet
Reason;
The data packet for increasing type of service mark is sent to router, by the router according to the type of service
Mark carries out channel priorities adjustment.
A2, method according to a1, wherein the mark for carrying out type of service mark to the data packet is handled, comprising:
Increase a packet new, for marking the type of service mark outside the data packet.
A3, the method according to A2, wherein increase outside the data packet one it is new, for marking the business
The packet of type identification, comprising:
Increase a packet new, for marking the type of service mark in the packet header of the data packet or packet tail.
A4, method according to a1, wherein the mark for carrying out type of service mark to the data packet is handled, comprising:
Same type of data packet is put into the transmit queue of designated port, by the designated port to the data packet
Type is identified.
A5, according to the described in any item methods of A1 to A4, wherein will increase type of service mark data packet be sent to
Before router, further includes: the type of service recognition rule of the data packet is sent to the router.
Based on another aspect of the present invention, the invention also discloses a kind of adjustment of the channel priorities of B6, different business
Method, comprising:
Receive the data packet from client;
The data packet is parsed, the type of service mark of the data packet is obtained;
The type of service of the data packet is determined according to type of service mark;
Channel priorities adjustment is carried out to the data packet according to the type of service of the data packet.
B7, the method according to B6, wherein
The data packet is parsed, before the type of service mark for obtaining the data packet, further includes: reception comes from
The type of service recognition rule of the client;
The type of service of the data packet is determined according to type of service mark, comprising: know according to the type of service
Not rule and type of service mark, determine the type of service of the data packet.
B8, the method according to B6 or B7, wherein the data packet is carried out according to the type of service of the data packet
Channel priorities adjustment, comprising:
If the data packet is type of play, the channel priorities of the data packet are adjusted to highest;
If the data packet is type of webpage, the channel priorities of the data packet are adjusted to preferential inferior to game
Grade;
If the data packet is video type, the channel priorities of the data packet are adjusted to preferential inferior to webpage
Grade.
Based on another aspect of the invention, the invention also discloses a kind of adjustment of the channel priorities of C9, different business
Device is applied to client, comprising:
First determining module determines the corresponding type of service of the data packet when being suitable for sending data packet;
Processing module is identified, suitable for the type of service according to the determining data packet, business is carried out to the data packet
The mark of type identification is handled;
Sending module, suitable for the data packet for increasing type of service mark is sent to router, by the router root
It is identified according to the type of service and carries out channel priorities adjustment.
C10, the device according to C9, wherein the mark processing module is further adapted for:
Increase a packet new, for marking the type of service mark outside the data packet.
C11, the device according to C10, wherein the mark processing module is further adapted for:
Increase a packet new, for marking the type of service mark in the packet header of the data packet or packet tail.
C12, the device according to C9, wherein the mark processing module is further adapted for:
Same type of data packet is put into the transmit queue of designated port, by the designated port to the data packet
Type is identified.
C13, according to the described in any item devices of C9 to C12, wherein the sending module is further adapted for: will increase business
The data packet of type identification is sent to before router, and the type of service recognition rule of the data packet is sent to the routing
Device.
Based on an additional aspect of the present invention, the invention also discloses a kind of adjustment of the channel priorities of D14, different business
Device is applied to router, comprising:
Receiving module, suitable for receiving the data packet from client;
Parsing module obtains the type of service mark of the data packet suitable for parsing to the data packet;
Second determining module, suitable for determining the type of service of the data packet according to type of service mark;
Module is adjusted, suitable for carrying out channel priorities adjustment to the data packet according to the type of service of the data packet.
D15, the device according to D14, wherein
The receiving module is further adapted for: parsing to the data packet, obtains the type of service mark of the data packet
Before, the type of service recognition rule from the client is received;
Second determining module is further adapted for: it is identified according to the type of service recognition rule and the type of service,
Determine the type of service of the data packet.
D16, the device according to D14 or D15, wherein the adjustment module is further adapted for:
If the data packet is type of play, the channel priorities of the data packet are adjusted to highest;
If the data packet is type of webpage, the channel priorities of the data packet are adjusted to preferential inferior to game
Grade;
If the data packet is video type, the channel priorities of the data packet are adjusted to preferential inferior to webpage
Grade.
Based on an additional aspect of the present invention, the invention also discloses E17, a kind of router, including D14 to D16 are any
The channel priorities of different business described in adjust device.
Claims (13)
1. a kind of channel priorities method of adjustment of different business, comprising:
If it is determined that total network speed that business datum occupies is more than that preset threshold determines the data when then client sends data packet
Wrap corresponding type of service;
According to the type of service of the determining data packet, the mark for carrying out type of service mark to the data packet is handled;
The data packet for increasing type of service mark is sent to router, is identified by the router according to the type of service
Carry out channel priorities adjustment;
Wherein, the mark processing for carrying out type of service mark to the data packet includes: to increase by one outside the data packet newly
, packet for marking type of service mark;And/or same type of data packet is put into the transmission team of designated port
Column, are identified by type of the designated port to the data packet;
The different service types of the data packet identify the network demand of corresponding different stage business, and the router is according to
Type of service mark carries out channel priorities adjustment, comprising: is identified according to the different service types of data packet corresponding not at the same level
The network demand of various-service carries out channel priorities adjustment.
2. according to the method described in claim 1, wherein, increase outside the data packet one it is new, for marking the industry
The packet of service type mark, comprising:
Increase a packet new, for marking the type of service mark in the packet header of the data packet or packet tail.
3. method according to claim 1 or 2, wherein the data packet for increasing type of service mark is sent to routing
Before device, further includes: the type of service recognition rule of the data packet is sent to the router.
4. a kind of channel priorities method of adjustment of different business, comprising:
Receive the data packet from client;Wherein, however, it is determined that total network speed that business datum occupies is more than preset threshold, then client
End determines the corresponding type of service of the data packet when sending data packet;
The data packet is parsed, the type of service mark of the data packet is obtained;
The type of service of the data packet is determined according to type of service mark;
Channel priorities adjustment is carried out to the data packet according to the type of service of the data packet;
Wherein, type of service mark increased outside the data packet by the client one it is new, for described in marking
The packet of type of service mark obtains;And/or same type of data packet is put into the transmission team of designated port by the client
Column, are identified to obtain by type of the designated port to the data packet;
The different service types of the data packet identify the network demand of corresponding different stage business, according to the industry of the data packet
Service type carries out channel priorities adjustment to the data packet, comprising: is identified according to the different service types of data packet corresponding
The network demand of different stage business carries out channel priorities adjustment.
5. according to the method described in claim 4, wherein,
The data packet is parsed, before the type of service mark for obtaining the data packet, further includes: receive from described
The type of service recognition rule of client;
The type of service of the data packet is determined according to type of service mark, comprising: identify and advise according to the type of service
Then and the type of service identifies, and determines the type of service of the data packet.
6. method according to claim 4 or 5, wherein according to the type of service of the data packet to the data packet into
The adjustment of row of channels priority, comprising:
If the data packet is type of play, the channel priorities of the data packet are adjusted to highest;
If the data packet is type of webpage, the channel priorities of the data packet are adjusted to the priority inferior to game;
If the data packet is video type, the channel priorities of the data packet are adjusted to the priority inferior to webpage.
7. a kind of channel priorities of different business adjust device, it is applied to client, comprising:
First determining module, suitable for if it is determined that total network speed that business datum occupies is more than preset threshold, then when sending data packet, really
Determine the corresponding type of service of the data packet;
Processing module is identified, suitable for the type of service according to the determining data packet, type of service is carried out to the data packet
The mark of mark is handled;
Sending module, suitable for the data packet for increasing type of service mark is sent to router, by the router according to institute
It states type of service mark and carries out channel priorities adjustment;
Wherein, the mark processing module is further adapted for: increase outside the data packet one it is new, for marking the service class
The packet of type mark;And/or same type of data packet is put into the transmit queue of designated port, by the designated port to institute
The type for stating data packet is identified;
The different service types of the data packet identify the network demand of corresponding different stage business, and the router is according to
Type of service mark carries out channel priorities adjustment, comprising: is identified according to the different service types of data packet corresponding not at the same level
The network demand of various-service carries out channel priorities adjustment.
8. device according to claim 7, wherein the mark processing module is further adapted for:
Increase a packet new, for marking the type of service mark in the packet header of the data packet or packet tail.
9. device according to claim 7 or 8, wherein the sending module is further adapted for: type of service mark will be increased
Data packet be sent to before router, the type of service recognition rule of the data packet is sent to the router.
10. a kind of channel priorities of different business adjust device, it is applied to router, comprising:
Receiving module, suitable for receiving the data packet from client;Wherein, however, it is determined that total network speed that business datum occupies is more than pre-
If threshold value, then client determines the corresponding type of service of the data packet when sending data packet;
Parsing module obtains the type of service mark of the data packet suitable for parsing to the data packet;
Second determining module, suitable for determining the type of service of the data packet according to type of service mark;
Module is adjusted, suitable for carrying out channel priorities adjustment to the data packet according to the type of service of the data packet;Wherein,
Type of service mark increased outside the data packet by the client one newly, for marking the type of service mark
The packet of knowledge obtains;And/or same type of data packet is put into the transmit queue of designated port by the client, by described
Designated port is identified to obtain to the type of the data packet;
The different service types of the data packet identify the network demand of corresponding different stage business, and the adjustment module is also suitable
In: channel priorities tune is carried out according to the network demand that the different service types of data packet identify corresponding different stage business
It is whole.
11. device according to claim 10, wherein
The receiving module is further adapted for: the data packet parsed, before the type of service mark for obtaining the data packet,
Receive the type of service recognition rule from the client;
Second determining module is further adapted for: being identified, is determined according to the type of service recognition rule and the type of service
The type of service of the data packet.
12. device described in 0 or 11 according to claim 1, wherein the adjustment module is further adapted for:
If the data packet is type of play, the channel priorities of the data packet are adjusted to highest;
If the data packet is type of webpage, the channel priorities of the data packet are adjusted to the priority inferior to game;
If the data packet is video type, the channel priorities of the data packet are adjusted to the priority inferior to webpage.
13. a kind of router, the channel priorities including the described in any item different business of claim 10-12 adjust device.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510765187.9A CN105450550B (en) | 2015-11-10 | 2015-11-10 | The channel priorities method of adjustment and device of router |
CN201811614130.9A CN109510783A (en) | 2015-11-10 | 2015-11-10 | The channel priorities method of adjustment and device of router |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510765187.9A CN105450550B (en) | 2015-11-10 | 2015-11-10 | The channel priorities method of adjustment and device of router |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811614130.9A Division CN109510783A (en) | 2015-11-10 | 2015-11-10 | The channel priorities method of adjustment and device of router |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105450550A CN105450550A (en) | 2016-03-30 |
CN105450550B true CN105450550B (en) | 2019-02-12 |
Family
ID=55560345
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811614130.9A Pending CN109510783A (en) | 2015-11-10 | 2015-11-10 | The channel priorities method of adjustment and device of router |
CN201510765187.9A Active CN105450550B (en) | 2015-11-10 | 2015-11-10 | The channel priorities method of adjustment and device of router |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811614130.9A Pending CN109510783A (en) | 2015-11-10 | 2015-11-10 | The channel priorities method of adjustment and device of router |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN109510783A (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107347085A (en) * | 2016-05-04 | 2017-11-14 | 中国移动通信集团广东有限公司 | A kind of information acquisition method and device |
CN108540404B (en) * | 2017-03-06 | 2021-09-10 | 中国移动通信有限公司研究院 | Method and device for dynamically adjusting current meter |
CN108322453A (en) * | 2018-01-16 | 2018-07-24 | 上海康斐信息技术有限公司 | A kind of router and game data package transmission method |
CN109743316B (en) * | 2018-12-29 | 2021-06-29 | 中国联合网络通信集团有限公司 | Data transmission method, exit router, firewall and double firewall systems |
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 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244681A (en) * | 2011-07-19 | 2011-11-16 | 易程科技股份有限公司 | Method and system for data transmission |
CN103269320A (en) * | 2013-04-25 | 2013-08-28 | 中国人民解放军国防科学技术大学 | Data forwarding method and access router |
CN103517348A (en) * | 2013-10-09 | 2014-01-15 | 中国联合网络通信集团有限公司 | Data transmission method and gateway based on data priority |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183988B (en) * | 2007-11-19 | 2010-08-18 | 成都市华为赛门铁克科技有限公司 | Method of identifying packet corresponding service types and device thereof |
CN101599843A (en) * | 2009-06-30 | 2009-12-09 | 东北大学 | Quality control method for multicast service based on IPv6 |
-
2015
- 2015-11-10 CN CN201811614130.9A patent/CN109510783A/en active Pending
- 2015-11-10 CN CN201510765187.9A patent/CN105450550B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102244681A (en) * | 2011-07-19 | 2011-11-16 | 易程科技股份有限公司 | Method and system for data transmission |
CN103269320A (en) * | 2013-04-25 | 2013-08-28 | 中国人民解放军国防科学技术大学 | Data forwarding method and access router |
CN103517348A (en) * | 2013-10-09 | 2014-01-15 | 中国联合网络通信集团有限公司 | Data transmission method and gateway based on data priority |
Also Published As
Publication number | Publication date |
---|---|
CN109510783A (en) | 2019-03-22 |
CN105450550A (en) | 2016-03-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105450550B (en) | The channel priorities method of adjustment and device of router | |
Belshe et al. | Hypertext transfer protocol version 2 (HTTP/2) | |
US10694005B2 (en) | Hardware-based packet forwarding for the transport layer | |
US10027626B2 (en) | Method for providing authoritative application-based routing and an improved application firewall | |
US10148577B2 (en) | Network service header metadata for load balancing | |
US9571405B2 (en) | Metadata augmentation in a service function chain | |
US9614739B2 (en) | Defining service chains in terms of service functions | |
EP3342127B1 (en) | Network packet flow controller with extended session management | |
Belshe et al. | RFC 7540: hypertext transfer protocol version 2 (HTTP/2) | |
WO2017209932A1 (en) | Link status monitoring based on packet loss detection | |
US10298616B2 (en) | Apparatus and method of securing network communications | |
EP2448183A1 (en) | Relay device and method thereof | |
WO2012106869A1 (en) | Message processing method and related device thereof | |
WO2015148072A1 (en) | Dynamic service chain with network address translation detection | |
US20160142312A1 (en) | Packet Forwarding Method and Device | |
WO2017148419A1 (en) | Data transmission method and server | |
CN104618253A (en) | Dynamically changed transmission message processing method and device | |
US20140310429A1 (en) | Server-side http translator | |
Thomson et al. | Hypertext transfer protocol version 2 (HTTP/2) | |
US10523795B2 (en) | Small form-factor pluggable module | |
CN109040199A (en) | A kind of method, system and storage medium for distributing resource data | |
USRE48131E1 (en) | Metadata augmentation in a service function chain | |
US20100166011A1 (en) | Method, apparatus and system for realizing dynamic correlation of control plane traffic rate | |
EP3338428B1 (en) | Domain name system response spoofing at customer premise equipment device | |
JP2014158143A (en) | Load distribution system and load distribution method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220719 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |