CN105743788A - Data packet forwarding method and device - Google Patents

Data packet forwarding method and device Download PDF

Info

Publication number
CN105743788A
CN105743788A CN201610051150.4A CN201610051150A CN105743788A CN 105743788 A CN105743788 A CN 105743788A CN 201610051150 A CN201610051150 A CN 201610051150A CN 105743788 A CN105743788 A CN 105743788A
Authority
CN
China
Prior art keywords
packet
address information
distribution queue
target
belonging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610051150.4A
Other languages
Chinese (zh)
Inventor
李政
陈勇
桂麟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610051150.4A priority Critical patent/CN105743788A/en
Publication of CN105743788A publication Critical patent/CN105743788A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/302Route determination based on requested QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/668Internet protocol [IP] address subnets

Abstract

The disclosure relates to a data packet forwarding method and device. The method comprises the following steps: receiving data packets transmitted by terminal equipment; determining a distribution queue of the data packets according to IP (Internet Protocol) address information carried in the data packets; and distributing the data packets to corresponding target IP addresses according to a priority of the distribution queue. Through the technical scheme, the IP address information carried in the data packets is acquired, and the distribution queue of the data packets is determined according to the IP address information in order to distribute the data packets to the corresponding target IP addresses according to the priority of the distribution queue, so that important data packets can be transmitted specifically in priority when a plurality of pieces of equipment preempt a bandwidth, and the use experience of a user is improved.

Description

Data packet forwarding method and device
Technical field
It relates to technical field of data processing, particularly relate to a kind of data packet forwarding method and device.
Background technology
Player, to play thing the most painful in online game too high no more than running into time delay, logs in difficulty, it is easy to the problem such as go offline, and when especially playing battle game, once retardation ratio is higher, point minute can be killed the second by people.Delay height is caused to have very many reasons, one of them important scenes is, if there is multiple equipment to surf the Net in LAN simultaneously, the problem that will there is bandwidth-hogging, as certain equipment is being seen Online Video or downloaded movies, the online of another equipment is likely to block very much, and such issues that how to solve, is player's very concern.
Summary of the invention
Disclosure embodiment provides a kind of data packet forwarding method and device, including following technical scheme:
First aspect according to disclosure embodiment, it is provided that a kind of data packet forwarding method, for routing device, including:
The packet that receiving terminal apparatus sends;
The distribution queue of described packet is determined according to the IP address information carried in described packet;
The described packet target ip address to correspondence is distributed according to the priority of described distribution queue.
In one embodiment, the described distribution queue determining described packet according to the IP address information carried in described packet, including:
Obtain Target IP corresponding to described packet (InternetProtocol, the agreement of interconnection between network) address information;
Judge described target ip address information whether with preset IP address information matches, obtain judged result;
The distribution queue belonging to described packet is determined according to described judged result.
In one embodiment, the described distribution queue determined according to described judged result belonging to described packet, including:
When described target ip address information is with preset IP address information matches, it is determined that the distribution queue belonging to described packet is the first distribution queue;
When described target ip address information is not mated with preset IP address information, it is determined that the distribution queue belonging to described packet is the second distribution queue;
Wherein, the priority of described first distribution queue is higher than the priority of described second distribution queue.
In one embodiment, the described priority according to described distribution queue distributes described packet to corresponding target ip address, including:
The target ip address that the packet belonging to described first distribution queue is extremely corresponding is sent according to reception order, and after the described packet belonging to the first distribution queue is sent, send the target ip address that the packet belonging to described second distribution queue is extremely corresponding according to reception order.
In one embodiment, before receiving the packet that server sends, described method also includes:
Receive the IP address information setting command of input;
According to described IP address information setting command, described preset IP address information is set.
Second aspect according to disclosure embodiment, it is provided that a kind of packet transfer device, packet, for routing device, including:
First receiver module, for the packet that receiving terminal apparatus sends;
Determining module, the IP address information for carrying in the described packet according to described first receiver module reception determines the distribution queue of described packet;
Distribution module, for distributing described packet to corresponding target ip address according to the described priority determining described distribution queue that module determines.
In one embodiment, described determine that module includes:
Obtain submodule, for obtaining target ip address information corresponding to described packet that described first receiver module receives;
Judge submodule, for judge described target ip address information that described acquisition submodule obtains whether with preset IP address information matches, obtain judged result;
Determine submodule, determine the distribution queue belonging to described packet for the judged result according to described judgement submodule.
In one embodiment, described determine submodule for:
When described target ip address information is with preset IP address information matches, it is determined that the distribution queue belonging to described packet is the first distribution queue;
When described target ip address information is not mated with preset IP address information, it is determined that the distribution queue belonging to described packet is the second distribution queue;
Wherein, the priority of described first distribution queue is higher than the priority of described second distribution queue.
In one embodiment, described distribution module is used for:
The target ip address that the packet belonging to described first distribution queue is extremely corresponding is sent according to reception order, and after the described packet belonging to the first distribution queue is sent, send the target ip address that the packet belonging to described second distribution queue is extremely corresponding according to reception order.
In one embodiment, described device also includes:
Second receiver module, for, before receiving the packet that server sends, receiving the IP address information setting command of input;
Module is set, for according to described IP address information setting command, arranging described preset IP address information.
The third aspect according to disclosure embodiment, it is provided that a kind of packet transfer device, packet, including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
The packet that receiving terminal apparatus sends;
The distribution queue of described packet is determined according to the IP address information carried in described packet;
The described packet target ip address to correspondence is distributed according to the priority of described distribution queue.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
Technique scheme, obtain the target ip address information that packet is corresponding, thus by target ip address information and preset IP address information matches, the distribution queue belonging to packet is determined according to matching result, thus the target ip address of the priority packet distribution extremely correspondence according to distribution queue, so, when many equipment bandwidth-hogging, can preferentially send important packet targetedly, thus promoting the experience of user.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the disclosure can not be limited.
Accompanying drawing explanation
Accompanying drawing herein is merged in description and constitutes the part of this specification, it is shown that meets and embodiment of the disclosure, and for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart of a kind of data packet forwarding method according to an exemplary embodiment.
Fig. 2 is the flow chart of step S102 in the data packet forwarding method according to an exemplary embodiment.
Fig. 3 is the flow chart of the another kind of data packet forwarding method according to an exemplary embodiment.
Fig. 4 is the flow chart of another data packet forwarding method according to an exemplary embodiment.
Fig. 5 is the flow chart of another data packet forwarding method according to an exemplary embodiment.
Fig. 6 is the block diagram of a kind of packet transfer device, packet according to an exemplary embodiment.
Fig. 7 is the block diagram determining module in a kind of packet transfer device, packet according to an exemplary embodiment.
Fig. 8 is the block diagram of the another kind of packet transfer device, packet according to an exemplary embodiment.
Fig. 9 is the block diagram being applicable to packet transfer device, packet according to an exemplary embodiment.
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings.When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with in appended claims describe in detail, the disclosure some in the example of consistent apparatus and method.
Disclosure embodiment provides a kind of data packet forwarding method, and the method can be used in routing device, as it is shown in figure 1, the method comprising the steps of S101-S103:
In step S101, the packet that receiving terminal apparatus sends;
In step s 102, the distribution queue of packet is determined according to the IP address information carried in packet;
In step s 103, according to the priority packet distribution of distribution queue to corresponding target ip address.
Different distribution queues is for different priority, when carrying out packet delivery, it is possible to be distributed according to the priority of distribution queue.
In this embodiment, obtain the IP address information carried in packet, and then the distribution queue of packet is determined according to IP address information, thus the target ip address of the priority packet distribution extremely correspondence according to distribution queue, so, when many equipment bandwidth-hogging, it is possible to the packet that preferential transmission is important targetedly, thus promoting the experience of user.
As in figure 2 it is shown, in one embodiment, above-mentioned steps S102 includes step S201-S203:
In step s 201, the target ip address information that packet is corresponding is obtained;
The packet of terminal unit and server communication is based on two kinds of agreement TCP (TransmissionControlProtocol, transmission control protocol) and UDP (UserDatagramProtocol, User Datagram Protocol), different application selects different agreements according to different demands.Based on the agreement that both is different, the data packet format through router that application sends has the following two kinds:
IP head+tcp data information (real data of TCP header+application)
IP head+UDP message information (real data of UDP head+application).
Both packets have identical IP head, therefore, it can by identifying that IP head obtains target ip address information.
In step S202, it is judged that target ip address information whether with preset IP address information matches, obtain judged result;
Wherein, in the server, it is possible to preset some IP address informations needing priority treatment, namely preset IP address information is preferentially set, after getting target ip address information, target ip address information mated with preset IP address information.
In step S203, determine the distribution queue belonging to packet according to judged result.
For target ip address information and preset IP address information matches, and target ip address information and the unmatched packet of preset IP address information, it is possible to put into different distribution queues, thus carrying out difference distribution.
In this embodiment, obtain the target ip address information that packet is corresponding, thus by target ip address information and preset IP address information matches, the distribution queue belonging to packet is determined according to matching result, thus the target ip address of the priority packet distribution extremely correspondence according to distribution queue, so, when many equipment bandwidth-hogging, can preferentially send important packet targetedly, thus promoting the experience of user.
As it is shown on figure 3, in one embodiment, above-mentioned steps S203 includes step S301-S302:
In step S301, when target ip address information is with preset IP address information matches, it is determined that the distribution queue belonging to packet is the first distribution queue;
In step s 302, when target ip address information is not mated with preset IP address information, it is determined that the distribution queue belonging to packet is the second distribution queue;
Wherein, the priority of the first distribution queue is higher than the priority of the second distribution queue.
In this embodiment, two distribution queues can be established on routing device, first distribution queue and the second distribution queue (such as A and B) are sent out packet, for all packets received, may determine that the target ip address information of its correspondence whether with preset IP address information matches, for the target ip address information with preset IP address information matches, may determine that it belongs to the first distribution queue that priority is higher, for not with the target ip address information of preset IP address information matches, may determine that it belongs to the second distribution queue that priority is relatively low, so, it is distributed according to the priority height of distribution queue, can ensure that important packet priority is transmitted, thus, when many equipment bandwidth-hogging, ensure the processing speed of important packet, thus promoting the experience of user.
Wherein, user can preset some preset IP address information thinking preferentially to carry out processing, such as, user is when playing game, in order to ensure not have card in game process, it is possible to the target ip address information that game is corresponding is set to preset IP address information, so, routing device, when carrying out packet and forwarding, can preferentially forward the packet that game is corresponding, thus ensureing not have in game process Caton phenomenon.
As shown in Figure 4, in one embodiment, above-mentioned steps S103 includes step S401:
In step S401, the target ip address that the packet belonging to the first distribution queue is extremely corresponding is sent according to reception order, and after the packet belonging to the first distribution queue is sent, send the target ip address that the packet belonging to the second distribution queue is extremely corresponding according to reception order.
Due to the first priority priority higher than the second distribution queue distributing queue, therefore priority treatment first queue can be distributed when routing device is sent out packet, if the first distribution queue is not empty, the packet in the first distribution queue can be sent, until the first distribution queue is that sky just starts to send the packet in the second distribution queue.It is all be transmitted by the principle of FIFO (first in first out) that bag in first distribution queue and the second distribution queue sends.
As it is shown in figure 5, in one embodiment, before receiving the packet that server sends, said method also includes step S501-S502:
In step S501, receive the IP address information setting command of input;
In step S502, according to IP address information setting command, preset IP address information is set.
In this embodiment, user can preset some preset IP address information thinking preferentially to carry out processing, such as, user is when playing game, in order to ensure not have card in game process, it is possible to the target ip address information that game is corresponding is set to preset IP address information, so, routing device, when carrying out packet and forwarding, can preferentially forward the packet that game is corresponding, thus ensureing not have in game process Caton phenomenon.
Following for disclosure device embodiment, it is possible to be used for performing method of disclosure embodiment.
Fig. 6 is the block diagram of a kind of packet transfer device, packet according to an exemplary embodiment, this device can pass through software, hardware or both be implemented in combination with become the some or all of of routing device.As shown in Figure 6, this packet transfer device, packet includes:
First receiver module 61, is configured to the packet that receiving terminal apparatus sends;
Determining module 62, the IP address information being configured in the described packet according to described first receiver module 61 reception carry determines the distribution queue of described packet;
Distribution module 63, is configured to distribute described packet to corresponding target ip address according to the described priority determining described distribution queue that module 62 determines.
Different distribution queues is for different priority, when carrying out packet delivery, it is possible to be distributed according to the priority of distribution queue.
In this embodiment, obtain the IP address information carried in packet, and then the distribution queue of packet is determined according to IP address information, thus the target ip address of the priority packet distribution extremely correspondence according to distribution queue, so, when many equipment bandwidth-hogging, it is possible to the packet that preferential transmission is important targetedly, thus promoting the experience of user.
As it is shown in fig. 7, in one embodiment, described determine that module 62 includes:
Obtain submodule 71, be configured to the target ip address information that the described packet of described first receiver module 61 reception of acquisition is corresponding;The packet of terminal unit and server communication is based on two kinds of agreement TCP and UDP, and different application selects different agreements according to different demands.Based on the agreement that both is different, the data packet format through router that application sends has the following two kinds:
IP head+tcp data information (real data of TCP header+application)
IP head+UDP message information (real data of UDP head+application).
Both packets have identical IP head, therefore, it can by identifying that IP head obtains target ip address information.
Judge submodule 72, be configured to judge described target ip address information that described acquisition submodule 71 obtains whether with preset IP address information matches, obtain judged result;Wherein, in the server, it is possible to preset some IP address informations needing priority treatment, namely preset IP address information is preferentially set, after getting target ip address information, target ip address information mated with preset IP address information.
Determine submodule 73, be configured to the judged result according to described judgement submodule 72 and determine the distribution queue belonging to described packet.For target ip address information and preset IP address information matches, and target ip address information and the unmatched packet of preset IP address information, it is possible to put into different distribution queues, thus carrying out difference distribution.
In this embodiment, obtain the target ip address information that packet is corresponding, thus by target ip address information and preset IP address information matches, the distribution queue belonging to packet is determined according to matching result, thus the target ip address of the priority packet distribution extremely correspondence according to distribution queue, so, when many equipment bandwidth-hogging, can preferentially send important packet targetedly, thus promoting the experience of user.
In one embodiment, described determine submodule 73 for:
When described target ip address information is with preset IP address information matches, it is determined that the distribution queue belonging to described packet is the first distribution queue;
When described target ip address information is not mated with preset IP address information, it is determined that the distribution queue belonging to described packet is the second distribution queue;
Wherein, the priority of described first distribution queue is higher than the priority of described second distribution queue.
In this embodiment, two distribution queues can be established on routing device, first distribution queue and the second distribution queue (such as A and B) are sent out packet, for all packets received, may determine that the target ip address information of its correspondence whether with preset IP address information matches, for the target ip address information with preset IP address information matches, may determine that it belongs to the first distribution queue that priority is higher, for not with the target ip address information of preset IP address information matches, may determine that it belongs to the second distribution queue that priority is relatively low, so, it is distributed according to the priority height of distribution queue, can ensure that important packet priority is transmitted, thus, when many equipment bandwidth-hogging, ensure the processing speed of important packet, thus promoting the experience of user.
Wherein, user can preset some preset IP address information thinking preferentially to carry out processing, such as, user is when playing game, in order to ensure not have card in game process, it is possible to the target ip address information that game is corresponding is set to preset IP address information, so, routing device, when carrying out packet and forwarding, can preferentially forward the packet that game is corresponding, thus ensureing not have in game process Caton phenomenon.
In one embodiment, distribution module 63 is used for:
Send the packet belonging to the first distribution queue according to reception order to corresponding target ip address, and after the packet belonging to the first distribution queue is sent, send the target ip address that the packet belonging to the second distribution queue is extremely corresponding according to reception order.
Due to the first priority priority higher than the second distribution queue distributing queue, therefore priority treatment first queue can be distributed when routing device is sent out packet, if the first distribution queue is not empty, the packet in the first distribution queue can be sent, until the first distribution queue is that sky just starts to send the packet in the second distribution queue.It is all be transmitted by the principle of FIFO (first in first out) that bag in first distribution queue and the second distribution queue sends.
As shown in Figure 8, in one embodiment, said apparatus also includes:
Second receiver module 81, is configured to, before receiving the packet that server sends, receive the IP address information setting command of input;
Module 82 is set, is configured to, according to IP address information setting command, arrange preset IP address information.
In this embodiment, user can preset some preset IP address information thinking preferentially to carry out processing, such as, user is when playing game, in order to ensure not have card in game process, it is possible to the target ip address information that game is corresponding is set to preset IP address information, so, routing device, when carrying out packet and forwarding, can preferentially forward the packet that game is corresponding, thus ensureing not have in game process Caton phenomenon.
The third aspect according to disclosure embodiment, it is provided that a kind of packet transfer device, packet, including:
Processor;
For storing the memorizer of processor executable;
Wherein, processor is configured to:
The packet that receiving terminal apparatus sends;
The distribution queue of described packet is determined according to the IP address information carried in described packet;
The described packet target ip address to correspondence is distributed according to the priority of described distribution queue.
Above-mentioned processor is also configured to:
The described distribution queue determining described packet according to the IP address information carried in described packet, including:
Obtain Target IP corresponding to described packet (InternetProtocol, the agreement of interconnection between network) address information;
Judge described target ip address information whether with preset IP address information matches, obtain judged result;
The distribution queue belonging to described packet is determined according to described judged result.
Above-mentioned processor is also configured to:
The described distribution queue determined according to described judged result belonging to described packet, including:
When described target ip address information is with preset IP address information matches, it is determined that the distribution queue belonging to described packet is the first distribution queue;
When described target ip address information is not mated with preset IP address information, it is determined that the distribution queue belonging to described packet is the second distribution queue;
Wherein, the priority of described first distribution queue is higher than the priority of described second distribution queue.
Above-mentioned processor is also configured to:
The described priority according to described distribution queue distributes described packet to corresponding target ip address, including:
The target ip address that the packet belonging to described first distribution queue is extremely corresponding is sent according to reception order, and after the described packet belonging to the first distribution queue is sent, send the target ip address that the packet belonging to described second distribution queue is extremely corresponding according to reception order.
Above-mentioned processor is also configured to:
Before receiving the packet that server sends, described method also includes:
Receive the IP address information setting command of input;
According to described IP address information setting command, described preset IP address information is set.
Fig. 9 is a kind of block diagram for packet transfer device, packet according to an exemplary embodiment.Such as, device 900 may be provided in a server.Device 900 includes processing assembly 922, and it farther includes one or more processor and the memory resource representated by memorizer 932, can by the instruction of the execution processing assembly 922 for storing, for instance application program.In memorizer 932 application program of storage can include one or more each corresponding to the module of one group of instruction.It is configured to perform instruction additionally, process assembly 922, to perform said method.
Device 900 can also include a power supply module 926 and be configured to perform the power management of device 900, and a wired or wireless network interface 950 is configured to be connected to device 900 network and input and output (I/O) interface 958.Device 900 can operate this based on the operating system being stored in memorizer 932, for instance WindowsServerTM, MacOSXTM, UnixTM, LinuxTM, FreeBSDTM or similar.
A kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of device 900 so that device 900 is able to carry out above-mentioned data packet forwarding method, and described method includes:
The packet that receiving terminal apparatus sends;
The distribution queue of described packet is determined according to the IP address information carried in described packet;
The described packet target ip address to correspondence is distributed according to the priority of described distribution queue.
In one embodiment, the described distribution queue determining described packet according to the IP address information carried in described packet, including:
Obtain Target IP corresponding to described packet (InternetProtocol, the agreement of interconnection between network) address information;
Judge described target ip address information whether with preset IP address information matches, obtain judged result;
The distribution queue belonging to described packet is determined according to described judged result.
In one embodiment, the described distribution queue determined according to described judged result belonging to described packet, including:
When described target ip address information is with preset IP address information matches, it is determined that the distribution queue belonging to described packet is the first distribution queue;
When described target ip address information is not mated with preset IP address information, it is determined that the distribution queue belonging to described packet is the second distribution queue;
Wherein, the priority of described first distribution queue is higher than the priority of described second distribution queue.
In one embodiment, the described priority according to described distribution queue distributes described packet to corresponding target ip address, including:
The target ip address that the packet belonging to described first distribution queue is extremely corresponding is sent according to reception order, and after the described packet belonging to the first distribution queue is sent, send the target ip address that the packet belonging to described second distribution queue is extremely corresponding according to reception order.
In one embodiment, before receiving the packet that server sends, described method also includes:
Receive the IP address information setting command of input;
According to described IP address information setting command, described preset IP address information is set.
Those skilled in the art, after considering description and putting into practice disclosed herein disclosing, will readily occur to other embodiment of the disclosure.The application is intended to any modification of the disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed the general principle of the disclosure and include the undocumented known general knowledge in the art of the disclosure or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are pointed out by claim below.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope.The scope of the present disclosure is only limited by appended claim.

Claims (11)

1. a data packet forwarding method, for routing device, it is characterised in that including:
The packet that receiving terminal apparatus sends;
The distribution queue of described packet is determined according to the IP address information carried in described packet;
The described packet target ip address to correspondence is distributed according to the priority of described distribution queue.
2. method according to claim 1, it is characterised in that the described distribution queue determining described packet according to the IP address information carried in described packet, including:
Obtain the target ip address information that described packet is corresponding;
Judge described target ip address information whether with preset IP address information matches, obtain judged result;
The distribution queue belonging to described packet is determined according to described judged result.
3. method according to claim 2, it is characterised in that the described distribution queue determined according to described judged result belonging to described packet, including:
When described target ip address information is with preset IP address information matches, it is determined that the distribution queue belonging to described packet is the first distribution queue;
When described target ip address information is not mated with preset IP address information, it is determined that the distribution queue belonging to described packet is the second distribution queue;
Wherein, the priority of described first distribution queue is higher than the priority of described second distribution queue.
4. method according to claim 3, it is characterised in that the described priority according to described distribution queue distributes described packet to corresponding target ip address, including:
The target ip address that the packet belonging to described first distribution queue is extremely corresponding is sent according to reception order, and after the described packet belonging to the first distribution queue is sent, send the target ip address that the packet belonging to described second distribution queue is extremely corresponding according to reception order.
5. method as claimed in any of claims 1 to 4, it is characterised in that before receiving the packet that server sends, described method also includes:
Receive the IP address information setting command of input;
According to described IP address information setting command, described preset IP address information is set.
6. a packet transfer device, packet, for routing device, it is characterised in that including:
First receiver module, for the packet that receiving terminal apparatus sends;
Determining module, the IP address information for carrying in the described packet according to described first receiver module reception determines the distribution queue of described packet;
Distribution module, for distributing described packet to corresponding target ip address according to the described priority determining described distribution queue that module determines.
7. device according to claim 6, it is characterised in that described determine that module includes:
Obtain submodule, for obtaining target ip address information corresponding to described packet that described first receiver module receives;
Judge submodule, for judge described target ip address information that described acquisition submodule obtains whether with preset IP address information matches, obtain judged result;
Determine submodule, determine the distribution queue belonging to described packet for the judged result according to described judgement submodule.
8. device according to claim 7, it is characterised in that described determine submodule for:
When described target ip address information is with preset IP address information matches, it is determined that the distribution queue belonging to described packet is the first distribution queue;
When described target ip address information is not mated with preset IP address information, it is determined that the distribution queue belonging to described packet is the second distribution queue;
Wherein, the priority of described first distribution queue is higher than the priority of described second distribution queue.
9. device according to claim 8, it is characterised in that described distribution module is used for:
The target ip address that the packet belonging to described first distribution queue is extremely corresponding is sent according to reception order, and after the described packet belonging to the first distribution queue is sent, send the target ip address that the packet belonging to described second distribution queue is extremely corresponding according to reception order.
10. the device according to any one in claim 6 to 9, it is characterised in that described device also includes:
Second receiver module, for, before receiving the packet that server sends, receiving the IP address information setting command of input;
Module is set, for according to described IP address information setting command, arranging described preset IP address information.
11. a packet transfer device, packet, it is characterised in that including:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
The packet that receiving terminal apparatus sends;
The distribution queue of described packet is determined according to the IP address information carried in described packet;
The described packet target ip address to correspondence is distributed according to the priority of described distribution queue.
CN201610051150.4A 2016-01-26 2016-01-26 Data packet forwarding method and device Pending CN105743788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610051150.4A CN105743788A (en) 2016-01-26 2016-01-26 Data packet forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610051150.4A CN105743788A (en) 2016-01-26 2016-01-26 Data packet forwarding method and device

Publications (1)

Publication Number Publication Date
CN105743788A true CN105743788A (en) 2016-07-06

Family

ID=56246586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610051150.4A Pending CN105743788A (en) 2016-01-26 2016-01-26 Data packet forwarding method and device

Country Status (1)

Country Link
CN (1) CN105743788A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018072551A1 (en) * 2016-10-18 2018-04-26 中兴通讯股份有限公司 Method and device for service processing
CN109802945A (en) * 2018-12-25 2019-05-24 维沃移动通信有限公司 A kind of data transmission method and terminal device
CN112583740A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Network communication method and device
CN113556409A (en) * 2021-06-04 2021-10-26 深圳市高川自动化技术有限公司 IP address retrieving method, system, terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188547A (en) * 2006-11-17 2008-05-28 中兴通讯股份有限公司 Router for improving forward efficiency based on virtual monitoring group and CAR rate limit
CN103269320A (en) * 2013-04-25 2013-08-28 中国人民解放军国防科学技术大学 Data forwarding method and access router
CN104579939A (en) * 2014-12-29 2015-04-29 网神信息技术(北京)股份有限公司 Protecting method and device for gateway
WO2015085576A1 (en) * 2013-12-13 2015-06-18 华为技术有限公司 Method for processing address resolution protocol message, forwarder and controller

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188547A (en) * 2006-11-17 2008-05-28 中兴通讯股份有限公司 Router for improving forward efficiency based on virtual monitoring group and CAR rate limit
CN103269320A (en) * 2013-04-25 2013-08-28 中国人民解放军国防科学技术大学 Data forwarding method and access router
WO2015085576A1 (en) * 2013-12-13 2015-06-18 华为技术有限公司 Method for processing address resolution protocol message, forwarder and controller
CN104937896A (en) * 2013-12-13 2015-09-23 华为技术有限公司 Method for processing address resolution protocol message, forwarder and controller
CN104579939A (en) * 2014-12-29 2015-04-29 网神信息技术(北京)股份有限公司 Protecting method and device for gateway

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018072551A1 (en) * 2016-10-18 2018-04-26 中兴通讯股份有限公司 Method and device for service processing
CN109802945A (en) * 2018-12-25 2019-05-24 维沃移动通信有限公司 A kind of data transmission method and terminal device
CN112583740A (en) * 2019-09-30 2021-03-30 北京国双科技有限公司 Network communication method and device
CN112583740B (en) * 2019-09-30 2023-04-07 北京国双科技有限公司 Network communication method and device
CN113556409A (en) * 2021-06-04 2021-10-26 深圳市高川自动化技术有限公司 IP address retrieving method, system, terminal and storage medium

Similar Documents

Publication Publication Date Title
WO2017088381A1 (en) Method, apparatus and system for playing live video
WO2017088384A1 (en) Method, apparatus and system for uploading live video
US8069251B2 (en) System and/or method for client-driven server load distribution
US20100027539A1 (en) Remote message routing device and methods thereof
CN111617487B (en) Account access method and device in game application, storage medium and electronic equipment
EP3439239A1 (en) Data transmission method and system based on peer-to-peer network
WO2017107542A1 (en) Video program obtaining method, device and system
CN105743788A (en) Data packet forwarding method and device
US11240277B2 (en) Multipoint conferencing sessions multiplexed through port
US9270570B2 (en) Remote message routing device and methods thereof
CN103607356A (en) Load balancing method, load balancer and system thereof
US11889133B2 (en) Burst traffic processing method, computer device and readable storage medium
CN113300955B (en) Method, system and equipment for determining paths between nodes in content distribution network
CN106716974B (en) Access distribution method, device and system
US10105596B1 (en) Broadcast dependent content delivery
CN112398754B (en) Data transmission method, device, medium, electronic equipment and network access equipment
CN107438201A (en) Message handling system, method and device
CN105847396A (en) Data transmission method and device
CN116233481A (en) Media stream transmission method, media server and communication system
CN108668151B (en) Audio and video interaction method and device
CN109547732A (en) A kind of audio/video processing method, device, server and video conferencing system
CN111726658A (en) Multimedia data transmission method and device
CN113329062B (en) Data sharing method and device, electronic equipment and storage medium
KR101641689B1 (en) Server and method for transmitting acceleration data and recording medium thereof
JP2017073089A (en) Data distribution program, data distribution method, information processing apparatus, and information processing system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160706