CN105450550A - Channel priority adjustment method and device for router - Google Patents

Channel priority adjustment method and device for router Download PDF

Info

Publication number
CN105450550A
CN105450550A CN201510765187.9A CN201510765187A CN105450550A CN 105450550 A CN105450550 A CN 105450550A CN 201510765187 A CN201510765187 A CN 201510765187A CN 105450550 A CN105450550 A CN 105450550A
Authority
CN
China
Prior art keywords
packet
type
service
router
described packet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510765187.9A
Other languages
Chinese (zh)
Other versions
CN105450550B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510765187.9A priority Critical patent/CN105450550B/en
Priority to CN201811614130.9A priority patent/CN109510783A/en
Publication of CN105450550A publication Critical patent/CN105450550A/en
Application granted granted Critical
Publication of CN105450550B publication Critical patent/CN105450550B/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/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS 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 invention provides a channel priority adjustment method and a device for a router. The method comprises the steps of determining the corresponding service type of a data packet when the data packet is sent out by a client; according to the determined service type of the data packet, conducting the identification treatment to add a service type identifier to the data packet; sending the data packet with the service type identifier to the router, and adjusting the channel priority based on the service type identifier by means of the router. According to the technical scheme of the invention, different services can be distinguished and treated. Therefore, the network requirements of different-level services can be met during the network sharing process.

Description

The channel priorities method of adjustment of router and device
Technical field
The present invention relates to field of computer technology, particularly relate to a kind of channel priorities method of adjustment and device of router.
Background technology
The fast development of Internet technology makes network share to become gradually the technology of the daily frequent use of people.In actual life, be obviously take time and effort the great thing in cost source for each user sets up separately one with the circuit of extraneous network communication.And, different to the demand of network based on each user, some users log in a chat software, or open browser and see some web page contents, general to the request-reply rate request of the bearing capacity of network, robustness and network, some user then has slightly higher requirement to network, such as shopping at network, viewing Internet video etc., also some user has higher requirement to network, need network can provide stable, serve fast, such as user plays online game or the game of webpage version.
This shows, sharing of Internet resources has become the current optimum mode of people, but the method do not had at present can specify the mode that network shares, and the demand of all types of user or business all can be satisfied.
Summary of the invention
In view of the above problems, the present invention is proposed to provide a kind of overcoming the problems referred to above or the channel priorities method of adjustment of router solved the problem at least in part and device.
Based on one aspect of the present invention, the invention provides a kind of channel priorities method of adjustment of different business, comprising:
When client sends packet, determine the type of service that described packet is corresponding;
According to the type of service of the described packet determined, described packet is carried out to the identification process of type of service mark;
The Packet Generation that will add type of service mark, to router, carries out channel priorities adjustment by described router according to described type of service mark.
Alternatively, described packet is carried out to the identification process of type of service mark, comprising:
Described packet increase outward one new, for marking the bag of described type of service mark.
Alternatively, described packet increase outward one new, for marking the bag of described type of service mark, comprising:
Increase in the packet header of described packet or bag tail one new, for marking the bag of described type of service mark.
Alternatively, described packet is carried out to the identification process of type of service mark, comprising:
The packet of same type is put into the transmit queue of designated port, identified by the type of described designated port to described packet.
Alternatively, by adding the Packet Generation of type of service mark to before router, also comprise: the type of service recognition rule of described packet is sent to described router.
Based on another aspect of the present invention, the invention also discloses the channel priorities method of adjustment of another kind of different business, comprising:
Receive the packet from client;
Described packet is resolved, obtains the type of service mark of described packet;
The type of service of described packet is determined according to described type of service mark;
Type of service according to described packet carries out channel priorities adjustment to described packet.
Alternatively, described packet is resolved, before obtaining the type of service mark of described packet, also comprise: receive the type of service recognition rule from described client;
Determine the type of service of described packet according to described type of service mark, comprising: according to described type of service recognition rule and described type of service mark, determine the type of service of described packet.
Alternatively, the type of service according to described packet carries out channel priorities adjustment to described packet, comprising:
If described packet is type of play, then the channel priorities of described packet is adjusted to the highest;
If described packet is type of webpage, then the channel priorities of described packet is adjusted to the priority inferior to game;
If described packet is video type, then the channel priorities of described packet is adjusted to the priority inferior to webpage.
Based on another aspect of the present invention, the embodiment of the invention also discloses a kind of channel priorities adjusting device of different business, be applied to client, comprise:
First determination module, when being suitable for sending packet, determines the type of service that described packet is corresponding;
Identification process module, is suitable for, according to the type of service of the described packet determined, described packet being carried out to the identification process of type of service mark;
Sending module, the Packet Generation being suitable for adding type of service mark, to router, to be identified according to described type of service by described router and carries out channel priorities adjustment.
Alternatively, described identification process module is also suitable for:
Described packet increase outward one new, for marking the bag of described type of service mark.
Alternatively, described identification process module is also suitable for:
Increase in the packet header of described packet or bag tail one new, for marking the bag of described type of service mark.
Alternatively, described identification process module is also suitable for:
The packet of same type is put into the transmit queue of designated port, identified by the type of described designated port to described packet.
Alternatively, described sending module is also suitable for: by adding the Packet Generation of type of service mark to before router, the type of service recognition rule of described packet is sent to described router.
Based on another aspect of the invention, the embodiment of the invention also discloses the channel priorities adjusting device of another kind of different business, be applied to router, comprise:
Receiver module, is suitable for receiving the packet from client;
Parsing module, is suitable for resolving described packet, obtains the type of service mark of described packet;
Second determination module, is suitable for the type of service determining described packet according to described type of service mark;
Adjusting module, is suitable for carrying out channel priorities adjustment according to the type of service of described packet to described packet.
Alternatively, described receiver module is also suitable for: resolve described packet, before obtaining the type of service mark of described packet, receives the type of service recognition rule from described client;
Described second determination module is also suitable for: according to described type of service recognition rule and described type of service mark, determine the type of service of described packet.
Alternatively, described adjusting module is also suitable for:
If described packet is type of play, then the channel priorities of described packet is adjusted to the highest;
If described packet is type of webpage, then the channel priorities of described packet is adjusted to the priority inferior to game;
If described packet is video type, then the channel priorities of described packet is adjusted to the priority inferior to webpage.
Based on another aspect of the invention, the invention also discloses a kind of router, comprise the channel priorities adjusting device of the different business of above-mentioned any one.
In embodiments of the present invention, client is when sending packet, and the different service types according to packet is classified to data, and then carries out identification process for different types of service to packet.Packet after process possesses unique type of service mark, can not need to take packet apart and the data in packet be resolved to the type namely can determining packet.Further, client will add the Packet Generation of type of service mark to router, carry out channel priorities adjustment by router according to the type of service mark of each packet.As can be seen here, the embodiment of the present invention provides different marks for the packet of different types, distinguish for router, identify row of channels priority adjustment of going forward side by side, thus by different traffic differentiation process, the network demand of different stage business in the process that network is shared, can be met.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to technological means of the present invention can be better understood, and can be implemented according to the content of specification, and can become apparent, below especially exemplified by the specific embodiment of the present invention to allow above and other objects of the present invention, feature and advantage.
According to hereafter by reference to the accompanying drawings to the detailed description of the specific embodiment of the invention, those skilled in the art will understand above-mentioned and other objects, advantage and feature of the present invention more.
Accompanying drawing explanation
By reading hereafter detailed description of the preferred embodiment, various other advantage and benefit will become cheer and bright for those of ordinary skill in the art.Accompanying drawing only for illustrating the object of preferred implementation, and does not think limitation of the present invention.And in whole accompanying drawing, represent identical parts by identical reference symbol.In the accompanying drawings:
Fig. 1 shows the first process chart of the channel priorities method of adjustment of different business according to an embodiment of the invention;
Fig. 2 shows the second process chart of the channel priorities method of adjustment of different business according to an embodiment of the invention;
Fig. 3 shows the first process chart of the channel priorities adjusting device of different business according to an embodiment of the invention; And
Fig. 4 shows the second process chart of the channel priorities method of adjustment of different business according to an embodiment of the invention.
Embodiment
Below with reference to accompanying drawings exemplary embodiment of the present disclosure is described in more detail.Although show exemplary embodiment of the present disclosure in accompanying drawing, however should be appreciated that can realize the disclosure in a variety of manners and not should limit by the embodiment set forth here.On the contrary, provide these embodiments to be in order to more thoroughly the disclosure can be understood, and complete for the scope of the present disclosure can be conveyed to those skilled in the art.
For solving the problems of the technologies described above, embodiments provide a kind of channel priorities method of adjustment of different business.It should be noted that, in network, the flow process of the Packet Generation of arbitrary business is as follows:
First, the packing of the packet of business can send by client, is sent to the router of connection by corresponding network path;
Secondly, router receives the packet of business, identifies and the process such as forwarding it.
As can be seen here, the transmission of the packet that the embodiment of the present invention provides relates to client and router both sides, clearer clearer for the present invention being set forth, existing from client and router both sides, the passage priority method of adjustment to different business is described in detail respectively.
First, Fig. 1 shows the first process chart of the channel priorities method of adjustment of different business according to an embodiment of the invention.Fig. 1 is described from client side the method.See Fig. 1, this flow chart at least comprises step S102 to step S106:
When step S102, client send packet, determine the type of service that sent packet is corresponding;
Step S104, type of service according to the packet sent determined, carry out the identification process of type of service mark to packet;
Step S106, will add type of service mark Packet Generation to router, by router according to type of service identify carry out channel priorities adjustment.
In embodiments of the present invention, client is when sending packet, and the different service types according to packet is classified to data, and then carries out identification process for different types of service to packet.Packet after process possesses unique type of service mark, can not need to take packet apart and the data in packet be resolved to the type namely can determining packet.Further, client will add the Packet Generation of type of service mark to router, carry out channel priorities adjustment by router according to the type of service mark of each packet.As can be seen here, the embodiment of the present invention provides different marks for the packet of different types, distinguish for router, identify row of channels priority adjustment of going forward side by side, thus by different traffic differentiation process, the network demand of different stage business in the process that network is shared, can be met.
That mentions in step S104 comprises various ways to the identification process that packet carries out type of service mark, such as, can packet increase outward one new, for marking the bag of type of service mark.For game item, client, when sending game data bag, can increase a bag outward again in data packet, also can be called increase shell.This bag increased can mark out the characteristic that this packet is game package, can by its priority treatment, such router is when receiving this and adding the game data bag of new bag, just can know that this packet is game data bag by particular content in resolution data bag, and then the process such as preferential forwarding are carried out to game data bag.
In a preferred embodiment, for not affecting the content of packet, the outer bag newly increased of packet, can adopt to increase in the packet header of packet or bag tail one new, for marking the form of the bag of type of service mark.Packet header or bag tail can not affect the data content in packet usually, in the process of packet, also easily resolvedly to process as mark or identifying code etc. out separately.
Particularly, the embodiment of the present invention provides the network environment of a local area network (LAN), and in this network environment, multiple people uses different business simultaneously, and A is seeing video, and B is in object for appreciation online game, and C is seeing webpage.So, for the network demand of these three business, first need the fluency ensureing to play games, second is the fluency ensureing browsing device net page, and the 3rd is only the fluency ensureing to see video.In the prior art, router can not distinguish the packet which kind of type the packet received is, and in embodiments of the present invention, client is the type can determining packet, and now, client increases a bag outward at packet, for showing the identity of each packet, then issue router.Such as, router detection is flux3 to a packet header, and prove that this is the packet of a game, so, router preferentially can pass on the packet that this packet header is flux3.Further, when router faces the packet of this three types, i.e. the packet of a game, the packet of a webpage, one is the packet of video, the packet of game that what router override was pass on is, taking second place, what pass on is the packet of webpage, the packet of the video finally pass on.
It should be noted that, in the process that data are pass on, data make a general reference a complete data flow, and when a packet is opened, the whole data flow of following below all can preferentially be pass on.
Further, in the embodiment of the present invention, packet or data flow are that router has carried out priority adjustment according to type of service mark to the transmission channel of data by the prerequisite preferably pass on.The queue mechanisms meeting first in first out by data, successively the data in queue are transferred to respectively on corresponding passage, there is not priority and adjust this saying, and the embodiment of the present invention is by carrying out the mark of type of service to packet, make router according to can dissimilar according to packet, be actually, according to the network demand of different business, priority adjustment carried out to the passage sending packet, thus reach the shared object of high-efficiency network.
In embodiments of the present invention, actual to be exactly client be that packet or data flow play a bag, and then client identification is simple, identify whether this process is game by the bag newly increased, if so, the packet sent by this process is all the data flow of game.When router finds this data flow, just can determine it is the packet of playing immediately according to the bag newly increased, then untie, go out and just preferentially pass on.
The channel priorities method of adjustment of the different business that the embodiment of the present invention provides is adapted at burst large discharge, when really having a requirement to network speed.In general, time the flow of game takies 60% of total bandwidth, the speed of game can be affected, so, find that total flow is more than half, just can trigger the channel priorities method of adjustment of the different business that the embodiment of the present invention provides.In addition, router can at set intervals or certain several threshold value time, tell client, such as, presetting total network speed is 10M, and data per second reach 500k, in fact the half of 10M has been crossed, broadcast away packet more than half, or mistake 70%, restart the channel priorities method of adjustment of different business.
Mention above, the identification process of packet being carried out to type of service mark has multiple processing mode, and the embodiment of the present invention further provides another kind of preferred processing mode, namely, the packet of same type is put into the transmit queue of designated port, identified by the type of designated port to packet.
Particularly, client sends data to be needed to send through port, and such as sending out data is 1,2,3,4,5 ports, and that client sends out a notice just to router in advance, say 1 of this IP, 2,3,4, the data come of 5 ports are game.The model comparision tradition determined by port, but it advantage is exactly that client is to router advertisement, router can add several parameter in QoS (QualityofService, service quality) the inside, remembers the data type corresponding to port of client.When client sends packet by these ports again, router just Direct Recognition can go out these packets or data flow is game data.The corresponded manner of this port, relative to front a kind of mode increasing packet, the pressure of routers can corresponding reduction, and overhead also can be smaller, more easily lands for technicians.Wherein, router realizes the increase of parameter in QoS by the mode increasing QoS entry, such as, increases by one from this port to that port, or come from this port, the QoS entry that router should preferentially solve.
Certainly, which kind of no matter adopts carry out the identification process mode of type of service mark to packet, to the Packet Generation of type of service mark added to before router, the embodiment of the present invention all needs the type of service recognition rule of packet to be sent to router, between client and router, set up identification protocol, wrong bag directly abandons to avoid router to think.
For client; the channel priorities method of adjustment of this different business can adopt the mode of applicative notifications to inform user; such as; user is while in download, playing games, increasing network demand; now; client can present following message on display interface: security guard and secure router raise speed to your game, and the mode that then raises speed preferentially passs on, and this mode is protecting your game network speed.
Based on same inventive concept, the embodiment of the present invention additionally provides the second process chart of the channel priorities method of adjustment of the different business of one embodiment of the invention.Fig. 2 is described from router side the method.See Fig. 2, the method at least comprises step S202 to S208:
Step S202, receive packet from client;
Step S204, packet to be resolved, obtain the type of service mark of packet;
Step S206, determine the type of service of packet according to type of service mark;
Step S208, according to the type of service of packet, channel priorities adjustment is carried out to packet.
In embodiments of the present invention, router is resolved for the packet from client, not only data content is comprised in packet, also comprise the type of service mark that client is arranged, carry out to identify the corresponding type of service determining packet according to type of service, thus channel priorities adjustment is carried out to packet, the passage and sequencing that send this packet are set.As can be seen here, the embodiment of the present invention provides different marks for the packet of different types, distinguish for router, identify row of channels priority adjustment of going forward side by side, thus by different traffic differentiation process, the network demand of different stage business in the process that network is shared, can be met.
It should be noted that, the method can directly be realized by router, and also can be realized by the hardware installed on the router or software service, for convenience of describing, the embodiment of the present invention is directly described as main body by router.
Certainly, as mentioned, client and router are that data send both sides, certainly, no matter which kind of client adopts carry out the identification process mode of type of service mark to packet, and will add the Packet Generation of type of service mark to before router, the embodiment of the present invention all needs the type of service recognition rule of packet to be sent to router, between client and router, set up identification protocol, wrong bag directly abandons to avoid router to think.
Particularly, the embodiment of the present invention provides the network environment of a local area network (LAN), and in this network environment, multiple people uses different business simultaneously, and A is seeing video, and B is in object for appreciation online game, and C is seeing webpage.So, for the network demand of these three business, first need the fluency ensureing to play games, second is the fluency ensureing browsing device net page, and the 3rd is only the fluency ensureing to see video.In the prior art, router can not distinguish the packet which kind of type the packet received is, and in embodiments of the present invention, client is the type can determining packet, and now, client increases a bag outward at packet, for showing the identity of each packet, then issue router.Such as, router detection is flux3 to a packet header, and prove that this is the packet of a game, so, router preferentially can pass on the packet that this packet header is flux3.Further, when router faces the packet of this three types, i.e. the packet of a game, the packet of a webpage, one is the packet of video, the packet of game that what router override was pass on is, taking second place, what pass on is the packet of webpage, the packet of the video finally pass on.That is, if packet is type of play, then the channel priorities of packet is preferentially adjusted to the highest by router; If packet is type of webpage, then router takes second place the priority be adjusted to by the channel priorities of packet inferior to game; And if packet is video type, then the channel priorities of packet is adjusted to the priority inferior to webpage by router.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of channel priorities adjusting device of different business, is applied to client.Fig. 3 shows the first structural representation of the channel priorities adjusting device of different business according to an embodiment of the invention.See Fig. 3, this device at least comprises:
First determination module 310, when being suitable for sending packet, determines the type of service that packet is corresponding;
Identification process module 320, is coupled with the first determination module 310, is suitable for the type of service according to established data bag, packet is carried out to the identification process of type of service mark;
Sending module 330, is coupled with identification process module 320, be suitable for will add type of service mark Packet Generation to router, by router according to type of service identify carry out channel priorities adjustment.
In embodiments of the present invention, client is when sending packet, and the different service types according to packet is classified to data, and then carries out identification process for different types of service to packet.Packet after process possesses unique type of service mark, can not need to take packet apart and the data in packet be resolved to the type namely can determining packet.Further, client will add the Packet Generation of type of service mark to router, carry out channel priorities adjustment by router according to the type of service mark of each packet.As can be seen here, the embodiment of the present invention provides different marks for the packet of different types, distinguish for router, identify row of channels priority adjustment of going forward side by side, thus by different traffic differentiation process, the network demand of different stage business in the process that network is shared, can be met.
In a preferred embodiment, identification process module 320 can also be suitable for:
Packet increase outward one new, for marking the bag of type of service mark.
In a preferred embodiment, identification process module 320 can also be suitable for:
Increase in the packet header of packet or bag tail one new, for marking the bag of type of service mark.
In a preferred embodiment, identification process module 320 can also be suitable for:
The packet of same type is put into the transmit queue of designated port, identified by the type of designated port to packet.
In a preferred embodiment, sending module 330 can also be suitable for: by adding the Packet Generation of type of service mark to before router, the type of service recognition rule of packet is sent to router.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of channel priorities adjusting device of different business, is applied to router.Fig. 4 shows the second structural representation of the channel priorities adjusting device of different business according to an embodiment of the invention.See Fig. 4, this device at least comprises:
Receiver module 410, is suitable for receiving the packet from client;
Parsing module 420, is coupled with receiver module 410, is suitable for resolving packet, obtains the type of service mark of packet;
Second determination module 430, is coupled with parsing module 420, is suitable for the type of service determining packet according to type of service mark;
Adjusting module 440, is coupled with the second determination module 430, is suitable for carrying out channel priorities adjustment according to the type of service of packet to packet.
In embodiments of the present invention, router is resolved for the packet from client, not only data content is comprised in packet, also comprise the type of service mark that client is arranged, carry out to identify the corresponding type of service determining packet according to type of service, thus channel priorities adjustment is carried out to packet, the passage and sequencing that send this packet are set.As can be seen here, the embodiment of the present invention provides different marks for the packet of different types, distinguish for router, identify row of channels priority adjustment of going forward side by side, thus by different traffic differentiation process, the network demand of different stage business in the process that network is shared, can be met.
In a preferred embodiment, receiver module 410 can also be suitable for: resolve packet, before obtaining the type of service mark of packet, receives the type of service recognition rule from client;
Second determination module 430 can also be suitable for: according to type of service recognition rule and type of service mark, determine the type of service of packet.
In a preferred embodiment, adjusting module 440 can also be suitable for:
If packet is type of play, then the channel priorities of packet is adjusted to the highest;
If packet is type of webpage, then the channel priorities of packet is adjusted to the priority inferior to game;
If packet is video type, then the channel priorities of packet is adjusted to the priority inferior to webpage.
Based on same inventive concept, the embodiment of the present invention additionally provides a kind of router, comprises the channel priorities adjusting device of the different business shown in Fig. 4.
The channel priorities method of adjustment of the router adopting the embodiment of the present invention to provide and device, can reach following beneficial effect:
In embodiments of the present invention, client is when sending packet, and the different service types according to packet is classified to data, and then carries out identification process for different types of service to packet.Packet after process possesses unique type of service mark, can not need to take packet apart and the data in packet be resolved to the type namely can determining packet.Further, client will add the Packet Generation of type of service mark to router, carry out channel priorities adjustment by router according to the type of service mark of each packet.As can be seen here, the embodiment of the present invention provides different marks for the packet of different types, distinguish for router, identify row of channels priority adjustment of going forward side by side, thus by different traffic differentiation process, the network demand of different stage business in the process that network is shared, can be met.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand in each inventive aspect one or more, in the description above to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes.But, the method for the disclosure should be construed to the following intention of reflection: namely the present invention for required protection requires feature more more than the feature clearly recorded in each claim.Or rather, as claims below reflect, all features of disclosed single embodiment before inventive aspect is to be less than.Therefore, the claims following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and adaptively can change the module in the equipment in embodiment and they are arranged in one or more equipment different from this embodiment.Module in embodiment or unit or assembly can be combined into a module or unit or assembly, and multiple submodule or subelement or sub-component can be put them in addition.Except at least some in such feature and/or process or unit be mutually repel except, any combination can be adopted to combine all processes of all features disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) and so disclosed any method or equipment or unit.Unless expressly stated otherwise, each feature disclosed in this specification (comprising adjoint claim, summary and accompanying drawing) can by providing identical, alternative features that is equivalent or similar object replaces.
In addition, those skilled in the art can understand, although embodiments more described herein to comprise in other embodiment some included feature instead of further feature, the combination of the feature of different embodiment means and to be within scope of the present invention and to form different embodiments.Such as, in detail in the claims, the one of any of embodiment required for protection can use with arbitrary compound mode.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize according to the some or all parts in the channel priorities adjusting device of the different business of the embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
So far, those skilled in the art will recognize that, although multiple exemplary embodiment of the present invention is illustrate and described herein detailed, but, without departing from the spirit and scope of the present invention, still can directly determine or derive other modification many or amendment of meeting the principle of the invention according to content disclosed by the invention.Therefore, scope of the present invention should be understood and regard as and cover all these other modification or amendments.
Based on one aspect of the present invention, the invention discloses the channel priorities method of adjustment of A1, a kind of different business, comprising:
When client sends packet, determine the type of service that described packet is corresponding;
According to the type of service of the described packet determined, described packet is carried out to the identification process of type of service mark;
The Packet Generation that will add type of service mark, to router, carries out channel priorities adjustment by described router according to described type of service mark.
A2, method according to A1, wherein, described packet is carried out to the identification process of type of service mark, comprising:
Described packet increase outward one new, for marking the bag of described type of service mark.
A3, method according to A2, wherein, described packet increase outward one new, for marking the bag of described type of service mark, comprising:
Increase in the packet header of described packet or bag tail one new, for marking the bag of described type of service mark.
A4, method according to A1, wherein, described packet is carried out to the identification process of type of service mark, comprising:
The packet of same type is put into the transmit queue of designated port, identified by the type of described designated port to described packet.
A5, method according to any one of A1 to A4, wherein, before the Packet Generation that adds type of service mark to router, also comprise: the type of service recognition rule of described packet is sent to described router.
Based on another aspect of the present invention, the invention also discloses the channel priorities method of adjustment of B6, a kind of different business, comprising:
Receive the packet from client;
Described packet is resolved, obtains the type of service mark of described packet;
The type of service of described packet is determined according to described type of service mark;
Type of service according to described packet carries out channel priorities adjustment to described packet.
B7, method according to B6, wherein,
Described packet is resolved, before obtaining the type of service mark of described packet, also comprises: receive the type of service recognition rule from described client;
Determine the type of service of described packet according to described type of service mark, comprising: according to described type of service recognition rule and described type of service mark, determine the type of service of described packet.
B8, method according to B6 or B7, wherein, the type of service according to described packet carries out channel priorities adjustment to described packet, comprising:
If described packet is type of play, then the channel priorities of described packet is adjusted to the highest;
If described packet is type of webpage, then the channel priorities of described packet is adjusted to the priority inferior to game;
If described packet is video type, then the channel priorities of described packet is adjusted to the priority inferior to webpage.
Based on another aspect of the invention, the invention also discloses the channel priorities adjusting device of C9, a kind of different business, be applied to client, comprise:
First determination module, when being suitable for sending packet, determines the type of service that described packet is corresponding;
Identification process module, is suitable for, according to the type of service of the described packet determined, described packet being carried out to the identification process of type of service mark;
Sending module, the Packet Generation being suitable for adding type of service mark, to router, to be identified according to described type of service by described router and carries out channel priorities adjustment.
C10, device according to C9, wherein, described identification process module is also suitable for:
Described packet increase outward one new, for marking the bag of described type of service mark.
C11, device according to C10, wherein, described identification process module is also suitable for:
Increase in the packet header of described packet or bag tail one new, for marking the bag of described type of service mark.
C12, device according to C9, wherein, described identification process module is also suitable for:
The packet of same type is put into the transmit queue of designated port, identified by the type of described designated port to described packet.
C13, device according to any one of C9 to C12, wherein, described sending module is also suitable for: before the Packet Generation that adds type of service mark to router, the type of service recognition rule of described packet is sent to described router.
Based on another aspect of the present invention, the invention also discloses the channel priorities adjusting device of D14, a kind of different business, be applied to router, comprise:
Receiver module, is suitable for receiving the packet from client;
Parsing module, is suitable for resolving described packet, obtains the type of service mark of described packet;
Second determination module, is suitable for the type of service determining described packet according to described type of service mark;
Adjusting module, is suitable for carrying out channel priorities adjustment according to the type of service of described packet to described packet.
D15, device according to D14, wherein,
Described receiver module is also suitable for: resolve described packet, before obtaining the type of service mark of described packet, receives the type of service recognition rule from described client;
Described second determination module is also suitable for: according to described type of service recognition rule and described type of service mark, determine the type of service of described packet.
D16, device according to D14 or D15, wherein, described adjusting module is also suitable for:
If described packet is type of play, then the channel priorities of described packet is adjusted to the highest;
If described packet is type of webpage, then the channel priorities of described packet is adjusted to the priority inferior to game;
If described packet is video type, then the channel priorities of described packet is adjusted to the priority inferior to webpage.
Based on another aspect of the present invention, the invention also discloses E17, a kind of router, comprise the channel priorities adjusting device of the different business described in any one of D14 to D16.

Claims (10)

1. a channel priorities method of adjustment for different business, comprising:
When client sends packet, determine the type of service that described packet is corresponding;
According to the type of service of the described packet determined, described packet is carried out to the identification process of type of service mark;
The Packet Generation that will add type of service mark, to router, carries out channel priorities adjustment by described router according to described type of service mark.
2. method according to claim 1, wherein, described packet is carried out to the identification process of type of service mark, comprising:
Described packet increase outward one new, for marking the bag of described type of service mark.
3. method according to claim 2, wherein, described packet increase outward one new, for marking the bag of described type of service mark, comprising:
Increase in the packet header of described packet or bag tail one new, for marking the bag of described type of service mark.
4. method according to claim 1, wherein, described packet is carried out to the identification process of type of service mark, comprising:
The packet of same type is put into the transmit queue of designated port, identified by the type of described designated port to described packet.
5. the method according to any one of Claims 1-4, wherein, by adding the Packet Generation of type of service mark to before router, also comprises: the type of service recognition rule of described packet is sent to described router.
6. a channel priorities method of adjustment for different business, comprising:
Receive the packet from client;
Described packet is resolved, obtains the type of service mark of described packet;
The type of service of described packet is determined according to described type of service mark;
Type of service according to described packet carries out channel priorities adjustment to described packet.
7. method according to claim 6, wherein,
Described packet is resolved, before obtaining the type of service mark of described packet, also comprises: receive the type of service recognition rule from described client;
Determine the type of service of described packet according to described type of service mark, comprising: according to described type of service recognition rule and described type of service mark, determine the type of service of described packet.
8. a channel priorities adjusting device for different business, is applied to client, comprises:
First determination module, when being suitable for sending packet, determines the type of service that described packet is corresponding;
Identification process module, is suitable for, according to the type of service of the described packet determined, described packet being carried out to the identification process of type of service mark;
Sending module, the Packet Generation being suitable for adding type of service mark, to router, to be identified according to described type of service by described router and carries out channel priorities adjustment.
9. a channel priorities adjusting device for different business, is applied to router, comprises:
Receiver module, is suitable for receiving the packet from client;
Parsing module, is suitable for resolving described packet, obtains the type of service mark of described packet;
Second determination module, is suitable for the type of service determining described packet according to described type of service mark;
Adjusting module, is suitable for carrying out channel priorities adjustment according to the type of service of described packet to described packet.
10. a router, comprises the channel priorities adjusting device of different business according to claim 9.
CN201510765187.9A 2015-11-10 2015-11-10 The channel priorities method of adjustment and device of router Active CN105450550B (en)

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 true CN105450550A (en) 2016-03-30
CN105450550B CN105450550B (en) 2019-02-12

Family

ID=55560345

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201510765187.9A Active CN105450550B (en) 2015-11-10 2015-11-10 The channel priorities method of adjustment and device of router
CN201811614130.9A Pending CN109510783A (en) 2015-11-10 2015-11-10 The channel priorities method of adjustment and device of router

Family Applications After (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) CN105450550B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107347085A (en) * 2016-05-04 2017-11-14 中国移动通信集团广东有限公司 A kind of information acquisition method and device
CN108322453A (en) * 2018-01-16 2018-07-24 上海康斐信息技术有限公司 A kind of router and game data package transmission method
CN108540404A (en) * 2017-03-06 2018-09-14 中国移动通信有限公司研究院 A kind of method and apparatus of dynamic adjustment flow table
CN109743316A (en) * 2018-12-29 2019-05-10 中国联合网络通信集团有限公司 Data transmission method, egress router, firewall and dual stage firewall system
CN112333114A (en) * 2020-11-13 2021-02-05 Oppo广东移动通信有限公司 Data transmission method, device, storage medium, terminal and network access point equipment
CN112398754A (en) * 2020-11-13 2021-02-23 Oppo广东移动通信有限公司 Data transmission method, device, medium, electronic equipment and network access equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183988A (en) * 2007-11-19 2008-05-21 华为技术有限公司 Method of identifying packet corresponding service types and device thereof
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 (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599843A (en) * 2009-06-30 2009-12-09 东北大学 Quality control method for multicast service based on IPv6

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183988A (en) * 2007-11-19 2008-05-21 华为技术有限公司 Method of identifying packet corresponding service types and device thereof
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

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107347085A (en) * 2016-05-04 2017-11-14 中国移动通信集团广东有限公司 A kind of information acquisition method and device
CN108540404A (en) * 2017-03-06 2018-09-14 中国移动通信有限公司研究院 A kind of method and apparatus of dynamic adjustment flow table
CN108322453A (en) * 2018-01-16 2018-07-24 上海康斐信息技术有限公司 A kind of router and game data package transmission method
CN109743316A (en) * 2018-12-29 2019-05-10 中国联合网络通信集团有限公司 Data transmission method, egress router, firewall and dual stage firewall system
CN109743316B (en) * 2018-12-29 2021-06-29 中国联合网络通信集团有限公司 Data transmission method, exit router, firewall and double firewall systems
CN112333114A (en) * 2020-11-13 2021-02-05 Oppo广东移动通信有限公司 Data transmission method, device, storage medium, terminal and network access point equipment
CN112398754A (en) * 2020-11-13 2021-02-23 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

Also Published As

Publication number Publication date
CN109510783A (en) 2019-03-22
CN105450550B (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN105450550A (en) Channel priority adjustment method and device for router
AU2016266557B2 (en) Secure dynamic communication network and protocol
US10333969B2 (en) Event driven route control
US8213422B2 (en) Selective internet priority service
JP4280286B2 (en) Packet communication network and packet communication method
CN107483345B (en) Service processing method, device and system
EP3016329A1 (en) Service path allocation method, router and service execution entity
US20040139206A1 (en) Network rights management
US10187499B2 (en) Method for operating a software defined network and a software defined network
CN109644190A (en) Multipath UDP communication means between two terminals
KR20190097097A (en) Routing in Hybrid Networks
CN110011935B (en) Data stream processing method and related equipment
US20150288601A1 (en) Ip data packet sending method and label switching router
CN106685827B (en) Downlink message forwarding method and AP (access point) equipment
US7039052B2 (en) Selective routing of multi-recipient communications
US7545743B2 (en) P2P traffic supporting router and P2P traffic information sharing system using the router
US20080104688A1 (en) System and method for blocking anonymous proxy traffic
CN107154917B (en) Data transmission method and server
US20130107717A1 (en) Method, apparatus, and system for sharing network traffic
US20140380395A1 (en) Gateway, and method, computer program and storage means corresponding thereto
CN105656994B (en) A kind of business acceleration method and device
Kruse et al. Datagram convergence layers for the delay-and disruption-tolerant networking (DTN) bundle protocol and licklider transmission protocol (LTP)
RU2377733C2 (en) Communication network
CN109040199A (en) A kind of method, system and storage medium for distributing resource data
KR20100080728A (en) Detecting method for sip flooding attack of application layer url address information based

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

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.

TR01 Transfer of patent right