CN104506440B - The data packet sending method and routing table amending method of router - Google Patents

The data packet sending method and routing table amending method of router Download PDF

Info

Publication number
CN104506440B
CN104506440B CN201410830240.4A CN201410830240A CN104506440B CN 104506440 B CN104506440 B CN 104506440B CN 201410830240 A CN201410830240 A CN 201410830240A CN 104506440 B CN104506440 B CN 104506440B
Authority
CN
China
Prior art keywords
routing table
secondary routing
thread
router
access path
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410830240.4A
Other languages
Chinese (zh)
Other versions
CN104506440A (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.)
Zhiyun Technology Co.,Ltd.
Original Assignee
CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co Ltd filed Critical CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co Ltd
Priority to CN201410830240.4A priority Critical patent/CN104506440B/en
Publication of CN104506440A publication Critical patent/CN104506440A/en
Application granted granted Critical
Publication of CN104506440B publication Critical patent/CN104506440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides the data packet sending method of router and routing table amending method, it is related to electronic information field.Routing table amending method provided in an embodiment of the present invention, it is by pre-establishing multiple secondary routing tables, each secondary routing table is used for access path corresponding to the thread offer different into the router, whole threads are made not access same secondary routing table simultaneously, and specified secondary routing table is pinned and modified successively, so that secondary routing table will not pin simultaneously, whole threads namely in router will not be stopped simultaneously, this also just makes because the time changed secondary routing table and make thread be stopped is shared out, even if routing table is modified, also router will not be caused to carry out the reduction of transmission efficiency to packet in some period, and modification time interval and each secondary routing table by setting secondary routing table receive the number of threads accessed, the rational work efficiency for controlling router.

Description

The data packet sending method and routing table amending method of router
Technical field
The present invention relates to electronic information field, is repaiied in particular to the data packet sending method and routing table of router Change method.
Background technology
Router is a part indispensable in network today, and router realizes that network is mutual by forwarding packet Even.The network architecture as shown in Figure 1, by router A, router B, switch A, B and corresponding computer composition.
When packet is specifically sent, e.g., if (1) PC-A will transmit packets to PC-C, if PC-A does not have PC-C IP address, then PC-A first have to send dns request, router A or dns resolution server can return to PC-A Answer PC-C ip addresses, to improve IP address information, such PC-A on packet third layer IP address information with regard to complete:Source IP address:PC-A, purpose ip address:PC-C.
(2) next how PC-A is it is to be understood that to reach PC-C, and then, PC-A can send arp address resolution request, This address resolution request is sent, is not configured to obtain destination host PC-C MAC Address, but has sent a request to route In device A, then the MAC Address in router A can be sent to source host PC-A, to improve mac address information, such PC-A number Also complete, the source MAC according to the second layer information of bag:PC-A MAC Address, target MAC (Media Access Control) address:Router A MAC Address,
(3) and then data can reach switch A, and switch A is seen the second layer target MAC (Media Access Control) address of packet, is destined to Router A's, packet is just sent to router A, router A receives packet, first looks at the third layer ip of packet Destination address, if there is the route for going to PC-C in the routing table of oneself, it is a routable packet to illustrate this, According to local routing table is stored in, packet is sent into next network node (router B), and then complete packet Transmission.
Router carries out the process of IP restructuring and packet.The layer-2 header information of this packet, router are changed first PC-A, which reaches PC-C, will pass through a wide area network, can encapsulate the related agreement of many wide area networks herein.Its act on also for Look for the information of next stage.The packet re-graduation to the second layer and third layer is tested simultaneously.Data are sent out by Internet Go.Finally pass through many network nodes, and be ultimately routed in destination host PC_C.
In correlation technique, each network node is in IP packet transfer procedures are carried out, typically multiple thread serial process roads By table, cause route processing efficiency too low.Wherein, routing table refers to storing on router or other network nodes Table, there is the path for reaching particular network terminal in the table.
Routing table can modify (such as according to the situation of user at any time:Addition, delete routing rule), when modification is route During table, routing table is first pinned, does not allow thread to conduct interviews it, caused whole threads to be both needed to be stopped, repaiied etc. routing table Change after discharging, thread can just go to access (read-write) routing table.It is, in the related art, due to changing routing table, meeting Router is caused to carry out the reduction of transmission efficiency to packet in some period.
The content of the invention
It is above-mentioned to solve it is an object of the invention to provide the data packet sending method of router and routing table amending method The problem of.
The data packet sending method of router is provided in an embodiment of the present invention, including:
Pass through packet corresponding to specified thread acquisition;
According to entrained operation code in the packet, searched in the secondary routing table corresponding with the thread described in Access path corresponding to operation code, a router includes multiple secondary routing tables, and each secondary routing table is used for institute Access path corresponding to thread offer different in router is provided;
The packet is transmitted according to the access path got.
Preferably, each secondary routing table is corresponding with a thread, and each secondary routing table only allows One thread pool access path.
Preferably, each secondary routing table is corresponding with multiple threads, corresponding with a secondary routing table Multiple threads be used to handle classification identical affairs, and each secondary routing table only allows multiple institutes corresponding thereto State thread pool access path.
The embodiment of the present invention additionally provides routing table amending method, including:
If receiving modification routing table instruction, the secondary routing table specified is pinned successively, the secondary routing table for making and being lockable Corresponding thread can not be accessed it, and a router includes multiple secondary routing tables, and each secondary routing table is used for institute Access path corresponding to thread offer different in router is provided;
The secondary routing table pinned is modified according to default mode;
By the secondary routing table release of modified completion, make the thread corresponding with the secondary routing table specified can To access it.
Preferably, the secondary routing table specified of pinning includes:
According to default interval time, each secondary routing table in the router is pinned successively.
Preferably, it is described according to default interval time, each secondary routing table in the router is pinned successively Including:
After changing and discharging a secondary routing table, next secondary route is lived according still further to default sequence lock Table, until each secondary routing table in the router is changed and discharged.
Preferably, in addition to:Every the predetermined review time, check whether to receive the modification routing table instruction.
Preferably, in addition to:The predetermined review time is the 2-5 seconds.
Preferably, each secondary routing table is corresponding with a thread, and each secondary routing table only allows One thread pool access path.
Preferably, each secondary routing table is corresponding with multiple threads, corresponding with a secondary routing table Multiple threads be used to handle classification identical affairs, and each secondary routing table only allows multiple institutes corresponding thereto State thread pool access path.
Routing table amending method provided in an embodiment of the present invention, with it is of the prior art by will in a router it is unique A routing table first pin, the thread in router can not be conducted interviews to the routing table, enter in the routing table that will lock up Row modification, makes router during modification can not normally perform work, and then the efficiency for transmitting packet is reduced and compared, and it is logical Cross and pre-establish multiple secondary routing tables, each secondary routing table is used for the thread different into the router and provides corresponding access Path, whole threads is not accessed same secondary routing table simultaneously, and specified secondary routing table is pinned and carried out successively Modification so that secondary routing table will not pin simultaneously, that is, whole threads in router will not be stopped simultaneously, and this is also Make, because the time changed secondary routing table and make thread be stopped is shared out, even if modifying to routing table, also will not Cause router some period to packet carry out transmission efficiency reduction, so as to solve it is of the prior art not Foot.
Brief description of the drawings
Fig. 1 shows the traditional network architecture for including router in correlation technique;
Fig. 2 shows the basic procedure of the data packet sending method of the router of the embodiment of the present invention;
Fig. 3 shows the basic procedure of the routing table amending method of the embodiment of the present invention;
Fig. 4 shows main routing table and the modification order signal of secondary routing table of the routing table amending method of the embodiment of the present invention Figure.
Embodiment
The present invention is described in further detail below by specific examples of the implementation and with reference to accompanying drawing.The present invention is implemented Example 1 provides the data packet sending method of router, as shown in Fig. 2 comprising the following steps:
S101, pass through packet corresponding to specified thread acquisition;
S102, according to entrained operation code in packet, the search operation generation in the secondary routing table corresponding with thread Access path corresponding to code, a router includes multiple secondary routing tables, and each secondary routing table is used for into router Access path corresponding to different thread offers;
S103, packet is transmitted according to the access path got.
Thread is the controlling stream of some single order in process.Also referred to as lightweight process (lightweight processes).Computer science terms, refer to the thread of active program.
Thread, sometimes referred to as Lightweight Process (Lightweight Process, LWP), it is the minimum that program performs stream Unit.The thread of one standard is by Thread Id, current instruction pointer (PC), set of registers and storehouse composition.In addition, thread is An entity in process, is the base unit independently dispatched and assigned by system, and thread oneself does not possess system resource, only gathered around A little essential resource, but it can share what process was possessed with belonging to other threads of a process together in operation Whole resources.One thread can create and cancel another thread, can concurrently be held between multiple threads in same process OK.Due to the mutual restriction between thread, thread is caused to show discontinuity in operation.Thread also has ready, obstruction and fortune Three kinds of basic status of row.At least one thread of each program, if program only has a thread, that is, program is in itself.
Thread is a single sequential control flow in program.Thread namely one controls the minimum that can be performed Unit, therefore, when a process is handling affairs when, actually completed by multiple smaller threads, if one Smaller thread is not included in individual process, then it is to complete to specify affairs under some specific environment to be then considered as this process Least unit.Thus, thread signified in the present embodiment, which is interpreted as performing some in router, has specific function Controlling stream, the concept of this controlling stream should include traditional process or thread.
It is the most basic bar that router is operated by packet corresponding to the acquisition of some thread in step S101 Part.The thread specified when this packet is handled, according to predetermined step held by data that can be in packet OK.
, it is necessary to set secondary routing table in advance for one or more threads in step S102, and establish secondary routing table and line The corresponding relation of journey, secondary routing table that each thread is accessed and corresponding with itself.Establishing secondary routing table and thread Can be one-to-one or one-to-many relation, that is, secondary routing table can be by a thread when corresponding relation Conduct interviews, can also be conducted interviews by multiple threads, but a routing table can not be by whole threads in same router Conduct interviews.Secondary routing table and the routing table in correlation technique can be corresponding to complete corresponding relation or part Relation, that is, the content of secondary routing table can be perfectly correlated with the content of the routing table in correlation technique, recites and local The related full detail of router, so that thread conducts interviews to it;It can also be content described in each secondary routing table A simply part for the content of the routing table in correlation technique, the information as a complete routing table of router is included are divided into Four parts, are A, B, C and D respectively, in secondary routing table it is entrained can be in A, B, C and D some, certain two, or Person three, but need to ensure be in entrained in secondary routing table be to provide what is accessed to corresponding thread enough, The thread namely specified can obtain necessary information by accessing with the secondary routing table corresponding to the thread.
After secondary routing table is got out, each thread is when queried access path is needed, it is only necessary to accesses and is somebody's turn to do The corresponding secondary routing table of thread.Routing table access mode in correlation technique (only has a route in each router Table), the routing table in same router is merely able to access same routing table, and multiple threads are in a serial manner Routing table is conducted interviews, or multiple threads can not conduct interviews to routing table simultaneously, thus also can be to a certain extent Limit the processing speed of thread.And the data packet sending method of router provided by the present invention, due to for one or more lines Secondary routing table has been separately configured in journey, and therefore, the thread in same router can access different secondary routing tables respectively, also Each thread is accessed corresponding secondary routing table simultaneously, and then obtain corresponding access path, this also just makes line Journey to specified secondary routing table when conducting interviews, it is not necessary to wait the access of other threads to terminate, or wait when Between greatly reduce, so as to improve the efficiency that thread obtains access path, also just improve the treatment effeciency of thread.
In step S103, each thread obtains predetermined access path, only by accessing corresponding secondary routing table Need to deliver a packet to the address specified according to the access path got, so as to complete routing table to packet Forwarding work.
Further, it is contemplated that specific use environment, Ke Yishi, each secondary routing table is corresponding with a thread, and often Individual secondary routing table only allows a thread pool access path.
For each secondary one thread corresponding thereto of configuration so that only this thread can be to the secondary road Conducted interviews by table.So that no longer need to be lined up when thread conducts interviews to routing table, raising thread that can be higher Treatment effeciency.
Specifically, when being modified to each secondary routing table can according to existing for script in router main road by Table and carry out.Described main routing table and the routing table in correlation technique are phase same-actions herein, and main routing table has grasped this The relevant information such as whole access path in router.Modification information is received in main routing table, and is completed just one after modification It is secondary that each secondary routing table is modified, that is, the modification of secondary routing table is modification according to main routing table.As shown in figure 4, Main routing table modification terminate after, just start successively, be provided at pre-determined intervals and each secondary routing table modified.Namely Main routing table is modified after modification is completed to the first secondary routing table, after completing the first secondary routing table modification, to second Secondary routing table is modified, and after completing the second secondary routing table modification, is modified to the 3rd secondary routing table, until all secondary roads Changed and completed by table.
But if the thread in a router is excessive, for each thread configure a secondary routing table can take it is more System resource.In order to overcome the problem, Ke Yishi, each secondary routing table is corresponding with multiple threads, with a secondary routing table Corresponding multiple threads are used to handle classification identical affairs, and each secondary routing table only allows corresponding thereto multiple Thread pool access path.
The multiple threads corresponding with a secondary routing table can belong to same program, so, the secondary routing table In can only deposit the content associated with these threads, unnecessary can not deposit, to reduce the occupancy volume of system resource.Class Other identical affairs can perform similar action etc. such as same application program.By multiple lines in same router Cheng Jinhang sorts out, and for each species thread a secondary routing table is respectively configured being capable of redundancy pair routing table in reduction system Quantity, and the processing speed of thread can be improved to a certain extent.
Whether be one secondary routing table of each thread or multiple thread configurations, can according to secondary routing table phase The situation of corresponding thread, to determine the quantity of content in secondary routing table, the content that the thread corresponding with itself uses less than Without storage, to reduce the occupancy quantity of system resource.
The data packet sending method of router provided by the present invention, by pre-setting multiple secondary routing tables, and often Individual secondary routing table is used for access path corresponding to the thread offer different into the router, and is used in view of specific Situation, can be that a secondary routing table corresponding with a thread or a secondary routing table and multiple threads are corresponding, So as to which when thread needs routing table corresponding to access, each thread in same router can access corresponding thereto The secondary routing table answered, so that the situation that thread when routing table is accessed, will not be lined up, improves the processing of thread Speed.
The embodiment of the present invention 2 provides routing table amending method, as shown in figure 3, comprising the following steps:
S201, if receiving modification routing table instruction, the secondary routing table specified is pinned successively, the secondary road for making and being lockable It can not be accessed by the corresponding thread of table, a router includes multiple secondary routing tables, and each secondary routing table is used for The access path corresponding to the offer of different threads into router;
S202, the secondary routing table pinned is modified according to default mode;
S203, the secondary routing table of modified completion is discharged, make the thread corresponding with the secondary routing table specified can be with It is accessed.
The routing table amending method that the present embodiment is provided, the packet sender of the router provided with embodiment 1 Method is similar, it is also desirable to establishes the corresponding relation of secondary routing table and thread.
Namely need to set secondary routing table in advance for one or more threads, and establish pair of secondary routing table and thread It should be related to, secondary routing table that each thread is accessed and corresponding with itself.Establishing secondary routing table and the corresponding pass of thread Can be one-to-one or one-to-many relation when being, that is, secondary routing table can be visited by a thread Ask, can also be conducted interviews by multiple threads, but a routing table can not be visited by whole threads in same router Ask.Secondary routing table can be relation completely corresponding to corresponding relation or part with the routing table in correlation technique, The content for being exactly secondary routing table can be perfectly correlated with the content of the routing table in correlation technique, recites and local router phase The full detail of pass, so that thread conducts interviews to it;Can also be that content described in each secondary routing table is correlation A part for the content of routing table in technology, the information as a complete routing table of router is included are divided into four parts, A, B, C and D respectively, in secondary routing table it is entrained can be in A, B, C and D some, certain two, or certain three It is individual, but need to ensure be in entrained in secondary routing table be to provide what is accessed to corresponding thread enough, that is, The thread specified can obtain necessary information by accessing with the secondary routing table corresponding to the thread.The present embodiment Zhong Fu roads It is identical by the function and effect and the function of the secondary routing table in embodiment 1 and effect of table, here, repeating no more.
In correlation technique, there was only a unique routing table in a router, when being modified to routing table, Need to pin this unique routing table, discharging after the modification, that is, need the thread to be conducted interviews to routing table, on road It can not be worked when being lockable by table.So also just reduce the treatment effeciency of thread.
And routing table amending method provided by the present invention, in step S101, due to having built up a lot of pair routing table, Therefore, when needing to modify to routing table, when change in specific in routing table, that is, need to each secondary routing table Modify, or the secondary routing table to including given content is modified.Every time to the whole in a router , it is necessary to pin each routing table respectively when routing table is modified, the modification of particular content, modification are carried out after pinning again Process and correlation technique in modification process be identical, here, repeating no more.But in order to ensure in same router Multiple threads will not be stopped simultaneously, and each secondary routing table for needing to change can be performed successively in a predetermined sequence The action pinned, change and discharged.Namely whole secondary routing tables will not modify simultaneously, and this also just makes same router In thread will not be stopped simultaneously.
Step S102 modifies to secondary routing table according to predetermined manner.
In step S103, the routing table for completing modification is discharged, enables the thread corresponding with the secondary routing table to it Conduct interviews, that is, the thread corresponding with the routing table has recovered normal work.
It should be noted that when being modified to routing table, can be after upper one secondary routing table completes modification, Next secondary routing table is modified again or is modified to predetermined degree in a secondary routing table, or is started Change the predetermined time and then next routing table is modified and (change and moved comprising pinning, modification and release three herein Make).
Further, in step S201, pinning the secondary routing table specified includes:
According to default interval time, each secondary routing table in router is pinned successively.
Namely in order to shorten the overall modification duration of routing table, meanwhile, in order that in certain time in same router Thread the number of threads that is stopped will not be excessive simultaneously, can start successively to each pair according to default interval time The modification of routing table.
Further, according to default interval time, each secondary routing table pinned successively in router includes:
After changing and discharging a secondary routing table, next secondary routing table is lived according still further to default sequence lock, until road Changed and discharged by each secondary routing table in device.
Namely after the modification of a secondary routing table is completed, starting the modification of next secondary routing table, so Just reasonably can control in a period of time, the number of threads being stopped.
In order to preferably check whether there is routing table modification instruction, routing table amending method provided by the present invention also wraps Include:Every the predetermined review time, check whether to receive modification routing table instruction.
The predetermined review time is the 2-5 seconds.
, can be to be repaiied in a predetermined sequence to secondary routing table as long as checking new routing table modification instruction Change.
It is similar with the routing table provided in embodiment 1
It is corresponding with a thread in view of specific use environment, Ke Yishi, each secondary routing table, and each secondary route Table only allows a thread pool access path.
For each secondary one thread corresponding thereto of configuration so that only this thread can be to the secondary road Conducted interviews by table.So that no longer need to be lined up when thread conducts interviews to routing table, raising thread that can be higher Treatment effeciency.
If the thread in a router is excessive, configures a secondary routing table for each thread and can take and more be System resource.In order to overcome the problem, Ke Yishi, each secondary routing table is corresponding with multiple threads, relative with a secondary routing table The multiple threads answered are used to handle classification identical affairs, and each secondary routing table only allows multiple threads corresponding thereto Queried access path.
The multiple threads corresponding with a secondary routing table can belong to same program, so, the secondary routing table In can only deposit the content associated with these threads, unnecessary can not deposit, to reduce the occupancy volume of system resource.Class Other identical affairs can perform similar action etc. such as same application program.By multiple lines in same router Cheng Jinhang sorts out, and for each species thread a secondary routing table is respectively configured being capable of redundancy pair routing table in reduction system Quantity, and the processing speed of thread can be improved to a certain extent.
Whether be one secondary routing table of each thread or multiple thread configurations, can according to secondary routing table phase The situation of corresponding thread, to determine the quantity of content in secondary routing table, the content that the thread corresponding with itself uses less than Without storage, to reduce the occupancy quantity of system resource.
Also, in view of specific modification situation, in order that the secondary routing table in modification state simultaneously in a period of time Quantity control within certain amount, also for shorten global revision time, can be according to the content number in secondary routing table Measure to determine that the modification order of secondary routing table and two neighboring secondary routing table start the difference of modification time point.
Number of threads according to corresponding to secondary routing table is different, or the thread importance corresponding to secondary routing table is not Together, first the secondary routing table more than corresponding number of threads can be modified, or it is stronger to corresponding thread importance Secondary routing table modify.
Routing table amending method provided in an embodiment of the present invention, by pre-establishing multiple secondary routing tables, each secondary route Table makes whole threads not access simultaneously same for access path corresponding to the thread offer different into the router Secondary routing table, and specified secondary routing table is pinned and modified successively so that secondary routing table will not pin simultaneously, also It is that whole threads in router will not be stopped simultaneously, this also just makes to make thread be stopped due to changing secondary routing table Time shared out, even if being modified to routing table, also router will not be caused to enter in some period to packet The reduction of row transmission efficiency, and to be spaced by the way that there is provided the modification order of secondary routing table and modification, make in same router Secondary routing table can more quickly finish modification, and overall modification time is shorter, existing so as to preferably solve Deficiency in technology.
Obviously, those skilled in the art should be understood that above-mentioned each step of the invention can be filled with general calculating To put to realize, they can be concentrated on single computing device, or are distributed on the network that multiple computing devices are formed, Alternatively, they can be realized with the program code that computing device can perform, it is thus possible to be stored in storage device In performed by computing device, they are either fabricated to each integrated circuit modules respectively or by multiple moulds in them Block or step are fabricated to single integrated circuit module to realize.So, the present invention is not restricted to any specific hardware and software With reference to.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies Change, equivalent substitution, improvement etc., should be included in the scope of the protection.

Claims (10)

1. the data packet sending method of router, it is characterised in that including:
Pass through packet corresponding to specified thread acquisition;
According to entrained operation code in the packet, the operation is searched in the secondary routing table corresponding with the thread Access path corresponding to code, a router includes multiple secondary routing tables, and each secondary routing table is used for the road The access path as corresponding to providing thread different in device;
The packet is transmitted according to the access path got.
2. the data packet sending method of router according to claim 1, it is characterised in that each secondary routing table with One thread is corresponding, and each secondary routing table only allows a thread pool access path.
3. the data packet sending method of router according to claim 1, it is characterised in that each secondary routing table with Multiple threads are corresponding, are used to handle classification identical thing with the corresponding multiple threads of the secondary routing table Business, and each secondary routing table only allows multiple thread pool access path corresponding thereto.
4. routing table amending method, it is characterised in that including:
If receiving modification routing table instruction, the secondary routing table specified is pinned successively, is made relative with the secondary routing table being lockable The thread answered can not be accessed it, and a router includes multiple secondary routing tables, and each secondary routing table is used for the road The access path as corresponding to providing thread different in device;
The secondary routing table pinned is modified according to default mode;
By the secondary routing table release of modified completion, allow the thread corresponding with the secondary routing table specified right It is accessed.
5. routing table amending method according to claim 4, it is characterised in that described to pin the secondary routing table bag specified Include:
According to default interval time, each secondary routing table in the router is pinned successively.
6. routing table amending method according to claim 5, it is characterised in that it is described according to default interval time, according to The secondary each secondary routing table pinned in the router includes:
After changing and discharging a secondary routing table, next secondary routing table is lived according still further to default sequence lock, directly Each secondary routing table into the router is changed and discharged.
7. routing table amending method according to claim 4, it is characterised in that also include:Every the predetermined review time, Check whether to receive the modification routing table instruction.
8. routing table amending method according to claim 7, it is characterised in that also include:The predetermined review time For the 2-5 seconds.
9. routing table amending method according to claim 4, it is characterised in that each secondary routing table with described in one Thread is corresponding, and each secondary routing table only allows a thread pool access path.
10. routing table amending method according to claim 4, it is characterised in that each secondary routing table and multiple institutes State that thread is corresponding, be used to handle classification identical affairs with the corresponding multiple threads of the secondary routing table, and often The individual secondary routing table only allows multiple thread pool access path corresponding thereto.
CN201410830240.4A 2014-12-26 2014-12-26 The data packet sending method and routing table amending method of router Active CN104506440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410830240.4A CN104506440B (en) 2014-12-26 2014-12-26 The data packet sending method and routing table amending method of router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410830240.4A CN104506440B (en) 2014-12-26 2014-12-26 The data packet sending method and routing table amending method of router

Publications (2)

Publication Number Publication Date
CN104506440A CN104506440A (en) 2015-04-08
CN104506440B true CN104506440B (en) 2017-12-26

Family

ID=52948155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410830240.4A Active CN104506440B (en) 2014-12-26 2014-12-26 The data packet sending method and routing table amending method of router

Country Status (1)

Country Link
CN (1) CN104506440B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017000281A1 (en) * 2015-07-01 2017-01-05 冯旋宇 Data transmission method for multiple access devices in router and router
CN111314222A (en) * 2020-02-12 2020-06-19 杭州涂鸦信息技术有限公司 Routing data scheduling method and system suitable for load balancing
CN111431805B (en) * 2020-03-27 2021-01-12 上海天好信息技术股份有限公司 Internet of things multi-channel signal multiplexing synchronization strategy method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543133A (en) * 2003-04-30 2004-11-03 华为技术有限公司 Static route refresh method
CN1949740A (en) * 2005-10-11 2007-04-18 华为技术有限公司 Processing method for BGP load sharing medium route
CN101216779A (en) * 2007-01-05 2008-07-09 中兴通讯股份有限公司 Method for accomplishing multi-instance and thread serialized affair processing method
EP2009551A1 (en) * 2007-06-30 2008-12-31 Intel Corporation Method and apparatus to enable runtime processor migration with operating system assistance
CN102088752A (en) * 2011-03-10 2011-06-08 张毅昆 Locking route method used for wireless multi-hop network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1543133A (en) * 2003-04-30 2004-11-03 华为技术有限公司 Static route refresh method
CN1949740A (en) * 2005-10-11 2007-04-18 华为技术有限公司 Processing method for BGP load sharing medium route
CN101216779A (en) * 2007-01-05 2008-07-09 中兴通讯股份有限公司 Method for accomplishing multi-instance and thread serialized affair processing method
EP2009551A1 (en) * 2007-06-30 2008-12-31 Intel Corporation Method and apparatus to enable runtime processor migration with operating system assistance
CN102088752A (en) * 2011-03-10 2011-06-08 张毅昆 Locking route method used for wireless multi-hop network

Also Published As

Publication number Publication date
CN104506440A (en) 2015-04-08

Similar Documents

Publication Publication Date Title
US11265368B2 (en) Load balancing method, apparatus, and system
CN103339887B (en) For the method for optimized network prefix list search
CN103997414B (en) Generate method and the network control unit of configuration information
US9219698B2 (en) Providing a layer-3 interface
CN104202266A (en) Communication method, switch, controller and communication system
CN103795644B (en) Policy Table's list item collocation method, apparatus and system
CN103441932B (en) A kind of Host routes list item generates method and apparatus
CN105577548A (en) Software definition network message processing method and device
JP2018532342A (en) Packet forwarding used for VXLAN
CN106209648B (en) Multicast data packet forwarding method and apparatus across virtual expansible local area network
CN107547349A (en) A kind of method and device of virtual machine (vm) migration
CN105227466B (en) Communication processing method and device
CN104852840A (en) Method and device for controlling mutual access between virtual machines
US10382391B2 (en) Systems and methods for managing network address information
TWI759571B (en) Data transfer method based on flow table
CN106209689A (en) From the multicast data packet forwarding method and apparatus of VXLAN to VLAN
CN105794158B (en) For handling the method and system of Internet Protocol packet
CN104506440B (en) The data packet sending method and routing table amending method of router
CN106209638A (en) From VLAN to the message forwarding method of virtual expansible LAN and equipment
JP2010531602A (en) Method and apparatus for communication of diagnostic data in a real-time communication network
CN109525684A (en) Message forwarding method and device
CN108965036A (en) Configure across public network equipment exchanging visit method, system, server and storage medium
WO2016049926A1 (en) Data packet processing apparatus and method
CN104113609A (en) MAC address distributing method and apparatus
CN105812257A (en) Business chain router management system and use method thereof

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210319

Address after: 4 / F, block B, building 5, No. 200, Tianfu 5th Street, high tech Zone, Chengdu, Sichuan 610000

Patentee after: Zhiyun Technology Co.,Ltd.

Address before: 4 / F, 76 Fangcao East Street, high tech Zone, Chengdu, Sichuan 610000

Patentee before: CHENGDU ZHIYUN SCIENCE & TECHNOLOGY Co.,Ltd.