[go: up one dir, main page]

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
router
thread
secondary routing
sub
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.)
Expired - Fee Related
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
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供了路由器的数据包发送方法和路由表修改方法,涉及电子信息领域。本发明实施例提供的路由表修改方法,其通过预先建立多个副路由表,每个副路由表用于向所述路由器中不同的线程提供对应的访问路径,使全部线程不会同时访问同一个副路由表,并且依次对指定的副路由表锁住和进行修改,使得副路由表不会同时锁住,也就是路由器中的全部线程不会同时停止工作,这也就使由于修改副路由表而使线程停止工作的时间被分摊开,即使对路由表进行修改,也不会导致路由器在某一个时间段对数据包进行传送效率的降低,并且通过设定了副路由表的修改时间间隔和每个副路由表接收访问的线程数量,合理的控制了路由器的工作能效。

The invention provides a router data packet sending method and a routing table modification method, and relates to the field of electronic information. In the routing table modification method provided by the embodiment of the present invention, multiple sub-routing tables are pre-established, and each sub-routing table is used to provide corresponding access paths to different threads in the router, so that all threads will not access the same routing table at the same time. A sub-routing table, and lock and modify the specified sub-routing table in turn, so that the sub-routing table will not be locked at the same time, that is, all threads in the router will not stop working at the same time, which also makes the modification of the sub-routing table The time for the thread to stop working is divided, even if the routing table is modified, it will not cause the router to reduce the transmission efficiency of the data packet in a certain period of time, and by setting the modification time of the secondary routing table The interval and the number of threads that each secondary routing table receives access to reasonably control the energy efficiency of the router.

Description

路由器的数据包发送方法和路由表修改方法Router data packet sending method and routing table modification method

技术领域technical field

本发明涉及电子信息领域,具体而言,涉及路由器的数据包发送方法和路由表修改方法。The invention relates to the field of electronic information, in particular to a data packet sending method and a routing table modification method of a router.

背景技术Background technique

路由器是现今网络中不可或缺的一部分,路由器通过转发数据包来实现网络互连。如图1所示的网络架构,由路由器A、路由器B,交换机A、B和相应的电脑组成。Routers are an integral part of today's networks. Routers realize network interconnection by forwarding data packets. The network architecture shown in Figure 1 consists of router A, router B, switches A, B and corresponding computers.

在具体发送数据包的时候,如,(1)PC-A要发送数据包到PC-C的话,如果PC-A没有PC-C的IP地址,则PC-A首先要发出一个dns的请求,路由器A或者dns解析服务器会给PC-A回应PC-C的ip地址,以完善IP地址信息,这样PC-A关于数据包第三层的IP地址信息就全了:源IP地址:PC-A,目的ip地址:PC-C。When sending data packets specifically, for example, (1) PC-A wants to send data packets to PC-C, if PC-A does not have the IP address of PC-C, then PC-A will first send a dns request, Router A or the dns analysis server will respond to PC-A with the IP address of PC-C to complete the IP address information, so that PC-A has all the IP address information about the third layer of the data packet: source IP address: PC-A , destination ip address: PC-C.

(2)接下来PC-A要知道如何到达PC-C,然后,PC-A会发送一个arp的地址解析请求,发送这个地址解析请求,不是为了获得目标主机PC-C的MAC地址,而是把请求发送到了路由器A中,然后路由器A中的MAC地址会发送给源主机PC-A,以完善MAC地址信息,这样PC-A的数据包的第二层信息也全了,源MAC地址:PC-A的MAC地址,目的MAC地址:路由器A的MAC地址,(2) Next, PC-A needs to know how to reach PC-C, and then, PC-A will send an arp address resolution request, and sending this address resolution request is not to obtain the MAC address of the target host PC-C, but Send the request to router A, and then the MAC address in router A will be sent to the source host PC-A to complete the MAC address information, so that the second layer information of the data packet of PC-A is also complete, the source MAC address: MAC address of PC-A, destination MAC address: MAC address of router A,

(3)然后数据会到达交换机A,交换机A看到数据包的第二层目的MAC地址,是去往路由器A的,就把数据包发送到路由器A,路由器A收到数据包,首先查看数据包的第三层ip目的地址,如果在自己的路由表中有去往PC-C的路由,说明这是一个可路由的数据包,便可以根据存储于本地的路由表,将数据包送到下一个网络节点(路由器B),进而完成数据包的传送。(3) Then the data will arrive at switch A. Switch A sees the second-layer destination MAC address of the data packet, which is destined for router A, so it sends the data packet to router A. When router A receives the data packet, it first checks the data If the third layer ip destination address of the packet has a route to PC-C in its own routing table, it means that this is a routable data packet, and the data packet can be sent to PC-C according to the local routing table. The next network node (router B) completes the transmission of the data packet.

路由器进行IP重组和分组的过程。首先更换此数据包的第二层包头信息,路由器PC-A到达PC—C要经过一个广域网,在这里会封装很多广域网相关的协议。其作用也是为了找下一阶段的信息。同时对第二层和第三层的数据包重校验。把数据经过Internet发送出去。最后经过很多的网络节点,并最终发送到目标主机PC_C中。The process by which routers perform IP reassembly and packetization. First replace the second-layer header information of this data packet. The router PC-A will go through a wide area network to reach PC-C, where many protocols related to the wide area network will be encapsulated. Its function is also to find information for the next stage. Simultaneously rechecks the second and third layer packets. Send the data over the Internet. Finally, it passes through many network nodes, and finally sends it to the target host PC_C.

相关技术中,每个网络节点在进行IP包传送过程中,通常是多个线程串行处理路由表,导致路由处理效率过低。其中,路由表是指的是路由器或者其他网络节点上存储的表,该表中存有到达特定网络终端的路径。In related technologies, when each network node transmits IP packets, multiple threads usually process the routing table serially, resulting in low routing processing efficiency. Wherein, the routing table refers to a table stored on a router or other network nodes, and a path to a specific network terminal is stored in the table.

路由表随时会根据用户的情况而进行修改(如:添加、删除路由规则),当修改路由表时,先锁住路由表,不允许线程对其进行访问,导致全部线程均需停止工作,等路由表修改完释放开后,线程才能去访问(读写)路由表。也就是,在相关技术中,由于修改路由表,会导致路由器在某一个时间段对数据包进行传送效率的降低。The routing table will be modified at any time according to the user's situation (such as adding or deleting routing rules). When modifying the routing table, the routing table is locked first, and threads are not allowed to access it, resulting in all threads needing to stop working, etc. After the routing table is modified and released, the thread can access (read and write) the routing table. That is, in the related technology, due to the modification of the routing table, the transmission efficiency of the data packet by the router in a certain period of time will be reduced.

发明内容Contents of the invention

本发明的目的在于提供路由器的数据包发送方法和路由表修改方法,以解决上述的问题。The purpose of the present invention is to provide a router data packet sending method and a routing table modification method to solve the above problems.

在本发明的实施例中提供了路由器的数据包发送方法,包括:A data packet sending method of a router is provided in an embodiment of the present invention, including:

通过指定的一个线程获取对应的数据包;Obtain the corresponding data packet through a specified thread;

根据所述数据包中所携带操作代码,在与所述线程相对应的副路由表中查找所述操作代码所对应的访问路径,一个路由器中包括多个副路由表,且每个副路由表用于向所述路由器中不同的线程提供对应的访问路径;According to the operation code carried in the data packet, look up the access path corresponding to the operation code in the sub-routing table corresponding to the thread, one router includes multiple sub-routing tables, and each sub-routing table Used to provide corresponding access paths to different threads in the router;

根据获取到的访问路径将所述数据包进行发送。Send the data packet according to the obtained access path.

优选的,每个所述副路由表与一个所述线程相对应,且每个所述副路由表只允许一个所述线程查询访问路径。Preferably, each of the secondary routing tables corresponds to one of the threads, and each of the secondary routing tables only allows one of the threads to query the access path.

优选的,每个所述副路由表与多个所述线程相对应,与一个所述副路由表相对应的多个线程均用于处理类别相同的事务,且每个所述副路由表只允许与其相对应的多个所述线程查询访问路径。Preferably, each of the secondary routing tables corresponds to a plurality of threads, and the multiple threads corresponding to one of the secondary routing tables are used to process transactions of the same type, and each of the secondary routing tables only Multiple threads corresponding to it are allowed to query the access path.

本发明实施例还提供了路由表修改方法,包括:The embodiment of the present invention also provides a routing table modification method, including:

若接收到修改路由表指令,则依次锁住指定的副路由表,使与被锁住的副路由表相对应的线程无法对其访问,一个路由器中包括多个副路由表,且每个副路由表用于向所述路由器中不同的线程提供对应的访问路径;If the command to modify the routing table is received, the specified secondary routing table will be locked in turn, so that the thread corresponding to the locked secondary routing table cannot access it. A router includes multiple secondary routing tables, and each secondary routing table The routing table is used to provide corresponding access paths to different threads in the router;

对已经锁住的所述副路由表按照预设的方式进行修改;modifying the locked secondary routing table according to a preset method;

将已经修改完成的所述副路由表释放,使与所述指定的副路由表相对应的线程可以对其访问。The modified secondary routing table is released so that the thread corresponding to the specified secondary routing table can access it.

优选的,所述锁住指定的副路由表包括:Preferably, said locking the specified secondary routing table includes:

按照预设的间隔时间,依次锁住所述路由器中的每个所述副路由表。Each of the secondary routing tables in the router is sequentially locked according to a preset interval time.

优选的,所述按照预设的间隔时间,依次锁住所述路由器中的每个所述副路由表包括:Preferably, the sequentially locking each of the secondary routing tables in the router according to the preset interval time includes:

在修改并释放一个所述副路由表后,再按照预设的顺序锁住下一个所述副路由表,直至所述路由器中的每个所述副路由表均修改并释放。After one of the secondary routing tables is modified and released, the next secondary routing table is locked in a preset order until each of the secondary routing tables in the router is modified and released.

优选的,还包括:每隔预定的检查时间,查看是否接收到所述修改路由表指令。Preferably, the method further includes: checking whether the instruction to modify the routing table is received every predetermined checking time.

优选的,还包括:所述预定的检查时间为2-5秒。Preferably, it also includes: the predetermined inspection time is 2-5 seconds.

优选的,每个所述副路由表与一个所述线程相对应,且每个所述副路由表只允许一个所述线程查询访问路径。Preferably, each of the secondary routing tables corresponds to one of the threads, and each of the secondary routing tables only allows one of the threads to query the access path.

优选的,每个所述副路由表与多个所述线程相对应,与一个所述副路由表相对应的多个线程均用于处理类别相同的事务,且每个所述副路由表只允许与其相对应的多个所述线程查询访问路径。Preferably, each of the secondary routing tables corresponds to a plurality of threads, and the multiple threads corresponding to one of the secondary routing tables are used to process transactions of the same type, and each of the secondary routing tables only Multiple threads corresponding to it are allowed to query the access path.

本发明实施例提供的路由表修改方法,与现有技术中的通过将一个路由器中唯一的一个路由表先锁住,使路由器中的线程无法对该路由表进行访问,在将锁住的路由表进行修改,使修改时的路由器无法正常的执行工作,进而使数据包传送的效率降低相比,其通过预先建立多个副路由表,每个副路由表用于向所述路由器中不同的线程提供对应的访问路径,使全部线程不会同时访问同一个副路由表,并且依次对指定的副路由表锁住和进行修改,使得副路由表不会同时锁住,也就是路由器中的全部线程不会同时停止工作,这也就使由于修改副路由表而使线程停止工作的时间被分摊开,即使对路由表进行修改,也不会导致路由器在某一个时间段对数据包进行传送效率的降低,从而解决了现有技术中的不足。The routing table modification method provided by the embodiment of the present invention is different from that in the prior art by first locking the only routing table in a router, so that the threads in the router cannot access the routing table. Compared with the modification of the router table, the modified router cannot perform the work normally, and then the efficiency of data packet transmission is reduced. Compared with it, it establishes multiple sub-routing tables in advance, and each sub-routing table is used to send data to different routing tables in the router. The thread provides the corresponding access path, so that all threads will not access the same sub-routing table at the same time, and lock and modify the specified sub-routing table in turn, so that the sub-routing table will not be locked at the same time, that is, all the sub-routing tables in the router The threads will not stop working at the same time, which also distributes the time for the threads to stop working due to the modification of the secondary routing table. Even if the routing table is modified, it will not cause the router to transmit the data packet in a certain period of time. Efficiency is reduced, thereby solving the deficiencies in the prior art.

附图说明Description of drawings

图1示出了相关技术中包含有路由器的传统网络架构;FIG. 1 shows a traditional network architecture including routers in the related art;

图2示出了本发明实施例的路由器的数据包发送方法的基本流程;Fig. 2 shows the basic flow of the data packet sending method of the router of the embodiment of the present invention;

图3示出了本发明实施例的路由表修改方法的基本流程;Fig. 3 shows the basic flow of the routing table modification method of the embodiment of the present invention;

图4示出了本发明实施例的路由表修改方法的主路由表和副路由表修改次序示意图。Fig. 4 shows a schematic diagram of the sequence of modifying the primary routing table and the secondary routing table of the routing table modifying method according to the embodiment of the present invention.

具体实施方式detailed description

下面通过具体的实施例子并结合附图对本发明做进一步的详细描述。本发明实施例1提供了路由器的数据包发送方法,如图2所示,包括如下步骤:The present invention will be described in further detail below through specific implementation examples and in conjunction with the accompanying drawings. Embodiment 1 of the present invention provides a data packet sending method of a router, as shown in Figure 2, comprising the following steps:

S101,通过指定的一个线程获取对应的数据包;S101, obtain a corresponding data packet through a designated thread;

S102,根据数据包中所携带操作代码,在与线程相对应的副路由表中查找操作代码所对应的访问路径,一个路由器中包括多个副路由表,且每个副路由表用于向路由器中不同的线程提供对应的访问路径;S102, according to the operation code carried in the data packet, look up the access path corresponding to the operation code in the sub-routing table corresponding to the thread, a router includes multiple sub-routing tables, and each sub-routing table is used to send to the router Different threads in provide corresponding access paths;

S103,根据获取到的访问路径将数据包进行发送。S103. Send the data packet according to the obtained access path.

线程是进程中某个单一顺序的控制流。也被称为轻量进程(lightweightprocesses)。计算机科学术语,指运行中的程序的调度单位。A thread is a single sequential flow of control within a process. Also known as lightweight processes (lightweightprocesses). A computer science term referring to the scheduling unit of a running program.

线程,有时被称为轻量级进程(Lightweight Process,LWP),是程序执行流的最小单元。一个标准的线程由线程ID,当前指令指针(PC),寄存器集合和堆栈组成。另外,线程是进程中的一个实体,是被系统独立调度和分派的基本单位,线程自己不拥有系统资源,只拥有一点儿在运行中必不可少的资源,但它可与同属一个进程的其它线程共享进程所拥有的全部资源。一个线程可以创建和撤消另一个线程,同一进程中的多个线程之间可以并发执行。由于线程之间的相互制约,致使线程在运行中呈现出间断性。线程也有就绪、阻塞和运行三种基本状态。每一个程序都至少有一个线程,若程序只有一个线程,那就是程序本身。A thread, sometimes called a Lightweight Process (LWP), is the smallest unit of program execution flow. A standard thread consists of thread ID, current instruction pointer (PC), register set and stack. In addition, a thread is an entity in a process, and it is the basic unit independently scheduled and dispatched by the system. The thread itself does not own system resources, but only a few resources that are necessary for running. However, it can interact with other resources belonging to the same process Threads share all resources owned by the process. One thread can create and cancel another thread, and multiple threads in the same process can execute concurrently. Due to the mutual restriction between threads, the threads show discontinuity in operation. Threads also have three basic states: ready, blocked, and running. Every program has at least one thread, and if a program has only one thread, it is the program itself.

线程是程序中一个单一的顺序控制流程。线程也就是一个控制所能够执行的最小单位,因此,当一个进程在处理事务的时候,实际上是由多个更小的线程来完成的,如果一个进程中不包含更小的线程,那么则应认为这个进程是在某一个特定环境下完成指定事务的最小单位。由此,本实施例中所指的线程应理解为路由器中执行某一个具有特定功能的控制流,这个控制流的概念应包括传统意义上的进程或线程。A thread is a single sequential flow of control in a program. A thread is also the smallest unit that a control can execute. Therefore, when a process is processing a transaction, it is actually completed by multiple smaller threads. If a process does not contain smaller threads, then This process should be considered as the smallest unit to complete a specified transaction in a specific environment. Therefore, the thread referred to in this embodiment should be understood as a control flow that executes a certain function in the router, and the concept of this control flow should include a process or thread in the traditional sense.

步骤S101中,通过某一个线程获取对应的数据包,是路由器进行工作的最基本条件。指定的线程在处理这个数据包的时候,会根据数据包中的数据按照预定的步骤进行执行。In step S101, obtaining the corresponding data packet through a certain thread is the most basic condition for the router to work. When the specified thread processes the data packet, it will execute according to the predetermined steps according to the data in the data packet.

步骤S102中,需要预先为一个或多个线程设置副路由表,并且建立副路由表和线程的对应关系,每个线程所访问的也是与自身相对应的副路由表。在建立副路由表和线程对应关系的时候,可以是一对一,也可以是一对多的关系,也就是副路由表可以被一个线程进行访问,也可以被多个线程进行访问,但一个路由表不能被同一个路由器中的全部线程进行访问。副路由表与相关技术中的路由表可以是完全对应的关系,也可以是部分对应的关系,也就是副路由表的内容可以与相关技术中的路由表的内容完全相关,记载着与本地路由器相关的全部信息,以供线程对其进行访问;也可以是每个副路由表中所记载的内容只是相关技术中的路由表的内容的一部分,如一个路由器完整的路由表所包含的信息分为四部分,分别是A、B、C和D,副路由表中所携带的可以只是A、B、C和D中的某一个、某两个,或者某三个,但需要保证的是副路由表中所携带的内是足够向与其对应的线程提供访问的,也就是指定的线程能够通过访问与该线程所对应的副路由表获取必要的信息。In step S102, it is necessary to pre-set up a sub-routing table for one or more threads, and establish a corresponding relationship between the sub-routing table and threads, and each thread also accesses the sub-routing table corresponding to itself. When establishing the corresponding relationship between the sub-routing table and threads, it can be one-to-one or one-to-many, that is, the sub-routing table can be accessed by one thread or by multiple threads, but one The routing table cannot be accessed by all threads in the same router. The sub-routing table and the routing table in the related art may have a completely corresponding relationship, or a partially corresponding relationship, that is, the content of the sub-routing table may be completely related to the content of the routing table in the related technology, and it is recorded that it is related to the local router. All relevant information for threads to access; it can also be that the content recorded in each sub-routing table is only a part of the content of the routing table in the related technology, such as the information contained in the complete routing table of a router. It is divided into four parts, which are A, B, C and D. The sub-routing table can only carry one, some two, or some three of A, B, C and D, but what needs to be guaranteed is the sub-routing table. The content carried in the routing table is sufficient to provide access to the corresponding thread, that is, the specified thread can obtain necessary information by accessing the sub-routing table corresponding to the thread.

在准备好副路由表之后,每个线程在需要查询访问路径的时候,只需要访问与该线程相对应的副路由表即可。相关技术中的路由表访问方式(每个路由器中只有一个路由表),同一个路由器中的路由表只能够访问同一个路由表,并且多个线程是按照串行的方式对路由表进行访问的,或者多个线程无法同时对路由表进行访问,由此也会在一定程度上限制线程的处理速度。而本发明所提供的路由器的数据包发送方法,由于为一个或多个线程单独配置了副路由表,因此,同一个路由器中的线程可以分别访问不同的副路由表,也就使每个线程均能够同时访问与其对应的副路由表,进而获得相应的访问路径,这也就使线程在对指定的副路由表进行访问的时候,不需要等待其他线程的访问结束,或者等待的时间大大减小,从而提高了线程获取访问路径的效率,也就提高了线程的处理效率。After the auxiliary routing table is prepared, each thread only needs to access the auxiliary routing table corresponding to the thread when it needs to query the access path. In the routing table access method in the related art (there is only one routing table in each router), the routing table in the same router can only access the same routing table, and multiple threads access the routing table in a serial manner , or multiple threads cannot access the routing table at the same time, which will also limit the processing speed of the thread to a certain extent. And the data packet sending method of the router provided by the present invention, because one or more threads are separately configured sub-routing table, therefore, the threads in the same router can visit different sub-routing tables respectively, just make each thread Both can access the corresponding secondary routing table at the same time, and then obtain the corresponding access path, which also makes the thread do not need to wait for the end of the access of other threads when accessing the specified secondary routing table, or the waiting time is greatly reduced. Small, thereby improving the efficiency of the thread to obtain the access path, and also improving the processing efficiency of the thread.

步骤S103中,每个线程通过访问与其对应的副路由表,获取了预定的访问路径,只需要按照获取到的访问路径将数据包发送到指定的地址即可,从而完成了路由表对数据包的转发工作。In step S103, each thread obtains a predetermined access path by accessing its corresponding sub-routing table, and only needs to send the data packet to the specified address according to the obtained access path, thus completing the processing of the data packet by the routing table. forwarding work.

进一步,考虑到具体的使用环境,可以是,每个副路由表与一个线程相对应,且每个副路由表只允许一个线程查询访问路径。Further, considering the specific use environment, it may be that each sub-routing table corresponds to one thread, and each sub-routing table only allows one thread to query the access path.

为每个副路由表配置一个与其相对应的线程,使得只有这一个线程能够对该副路由表进行访问。从而使线程对路由表进行访问的时候不再需要排队,能够较高的提高线程的处理效率。A corresponding thread is configured for each secondary routing table, so that only this thread can access the secondary routing table. Therefore, when the thread accesses the routing table, it no longer needs to be queued, and the processing efficiency of the thread can be greatly improved.

具体的,在对每个副路由表进行修改的时候可以根据路由器中原本存在的主路由表而进行。此处所说的主路由表与相关技术中的路由表是相同作用的,主路由表掌握了该路由器中全部的访问路径等相关信息。在主路由表接收修改信息,并且完成修改之后便一次对每个副路由表进行修改,也就是副路由表的修改是依据主路由表的修改。如图4所示,在主路由表修改结束之后,便开始依次、间隔预定的时间对每个副路由表进行修改。也就是主路由表在修改完成之后,对第一副路由表进行修改,完成第一副路由表修改后,在对第二副路由表进行修改,完成第二副路由表修改后,在对第三副路由表进行修改,直至全部副路由表修改完成。Specifically, each secondary routing table may be modified according to the original primary routing table in the router. The main routing table mentioned here has the same function as the routing table in the related art, and the main routing table grasps all relevant information such as access paths in the router. After the main routing table receives the modification information and completes the modification, each secondary routing table is modified at a time, that is, the modification of the secondary routing table is based on the modification of the main routing table. As shown in FIG. 4 , after the modification of the main routing table is completed, each secondary routing table is modified sequentially and at predetermined intervals. That is, after the main routing table is modified, the first secondary routing table is modified, and after the first secondary routing table is modified, the second secondary routing table is modified. After the second secondary routing table is modified, the second secondary routing table is modified. The three sub-routing tables are modified until all the sub-routing tables are modified.

但,如果一个路由器中的线程过多,为每个线程均配置一个副路由表会占用较多的系统资源。为了克服该问题,可以是,每个副路由表与多个线程相对应,与一个副路由表相对应的多个线程均用于处理类别相同的事务,且每个副路由表只允许与其相对应的多个线程查询访问路径。However, if there are too many threads in a router, configuring a secondary routing table for each thread will occupy more system resources. In order to overcome this problem, it may be that each sub-routing table corresponds to multiple threads, and the multiple threads corresponding to one sub-routing table are all used to process transactions of the same category, and each sub-routing table only allows The corresponding multiple threads query the access path.

与一个副路由表相对应的多个线程可以是属于同一个程序的,这样,该副路由表中可以只存放与这些线程相关联的内容,多余的可以不存放,以降低系统资源的占有量。类别相同的事务可以如同一个应用程序,执行相类似的动作等。将同一个路由器中的多个线程进行归类,并且为每个种类的线程分别配置一个副路由表能够减少系统中冗余副路由表的数量,并且在一定程度上能够提高线程的处理速度。Multiple threads corresponding to a secondary routing table can belong to the same program, so that only the content associated with these threads can be stored in the secondary routing table, and the redundant ones can not be stored, so as to reduce the occupation of system resources . Transactions of the same category can perform similar actions as an application program. Classifying multiple threads in the same router and configuring a sub-routing table for each type of thread can reduce the number of redundant sub-routing tables in the system and improve the processing speed of threads to a certain extent.

不论是为每一个线程还是多个线程配置一个副路由表,均可以按照与副路由表相对应的线程的情况,来确定副路由表中内容的数量,与自身相对应的线程使用不到的内容不进行储存,以降低系统资源的占用数量。Regardless of configuring a sub-routing table for each thread or multiple threads, the number of contents in the sub-routing table can be determined according to the situation of the thread corresponding to the sub-routing table, and the thread corresponding to itself cannot use Content is not stored to reduce system resource usage.

本发明所提供的路由器的数据包发送方法,通过预先设置了多个副路由表,且每个副路由表用于向所述路由器中不同的线程提供对应的访问路径,并且考虑到具体的使用情况,可以是一个副路由表与一个线程相对应,也可以是一个副路由表与多个线程相对应,从而在线程需要访问对应的路由表的时候,同一个路由器中的每个线程可以访问与其相对应的副路由表,从而使线程在访问路由表的时候,不会发生排队的情况,提高了线程的处理速度。The data packet sending method of the router provided by the present invention pre-sets a plurality of sub-routing tables, and each sub-routing table is used to provide corresponding access paths to different threads in the router, and taking into account specific usage In this case, one sub-routing table corresponds to one thread, or one sub-routing table corresponds to multiple threads, so that when a thread needs to access the corresponding routing table, each thread in the same router can access The corresponding secondary routing table, so that when the thread accesses the routing table, there will be no queuing, which improves the processing speed of the thread.

本发明实施例2提供了路由表修改方法,如图3所示,包括如下步骤:Embodiment 2 of the present invention provides a routing table modification method, as shown in Figure 3, including the following steps:

S201,若接收到修改路由表指令,则依次锁住指定的副路由表,使与被锁住的副路由表相对应的线程无法对其访问,一个路由器中包括多个副路由表,且每个副路由表用于向路由器中不同的线程提供对应的访问路径;S201. If an instruction to modify the routing table is received, then lock the specified secondary routing table in turn, so that threads corresponding to the locked secondary routing table cannot access it. A router includes multiple secondary routing tables, and each A secondary routing table is used to provide corresponding access paths to different threads in the router;

S202,对已经锁住的副路由表按照预设的方式进行修改;S202, modify the locked secondary routing table in a preset manner;

S203,将已经修改完成的副路由表释放,使与指定的副路由表相对应的线程可以对其访问。S203. Release the modified secondary routing table so that threads corresponding to the specified secondary routing table can access it.

本实施例所提供的路由表修改方法,与实施例1所提供的路由器的数据包发送方法相类似的,也需要建立副路由表和线程的对应关系。The routing table modification method provided in this embodiment is similar to the router data packet sending method provided in Embodiment 1, and also needs to establish a corresponding relationship between the secondary routing table and the thread.

也就是需要预先为一个或多个线程设置副路由表,并且建立副路由表和线程的对应关系,每个线程所访问的也是与自身相对应的副路由表。在建立副路由表和线程对应关系的时候,可以是一对一,也可以是一对多的关系,也就是副路由表可以被一个线程进行访问,也可以被多个线程进行访问,但一个路由表不能被同一个路由器中的全部线程进行访问。副路由表与相关技术中的路由表可以是完全对应的关系,也可以是部分对应的关系,也就是副路由表的内容可以与相关技术中的路由表的内容完全相关,记载着与本地路由器相关的全部信息,以供线程对其进行访问;也可以是每个副路由表中所记载的内容只是相关技术中的路由表的内容的一部分,如一个路由器完整的路由表所包含的信息分为四部分,分别是A、B、C和D,副路由表中所携带的可以只是A、B、C和D中的某一个、某两个,或者某三个,但需要保证的是副路由表中所携带的内是足够向与其对应的线程提供访问的,也就是指定的线程能够通过访问与该线程所对应的副路由表获取必要的信息。本实施例中的副路由表的功能与作用与实施例1中的副路由表的功能与作用是相同的,在此,不再赘述。That is, it is necessary to pre-set the sub-routing table for one or more threads, and establish the corresponding relationship between the sub-routing table and the thread, and each thread also accesses the sub-routing table corresponding to itself. When establishing the corresponding relationship between the sub-routing table and threads, it can be one-to-one or one-to-many, that is, the sub-routing table can be accessed by one thread or by multiple threads, but one The routing table cannot be accessed by all threads in the same router. The sub-routing table and the routing table in the related art may have a completely corresponding relationship, or a partially corresponding relationship, that is, the content of the sub-routing table may be completely related to the content of the routing table in the related technology, and it is recorded that it is related to the local router. All relevant information for threads to access; it can also be that the content recorded in each sub-routing table is only a part of the content of the routing table in the related technology, such as the information contained in the complete routing table of a router. It is divided into four parts, which are A, B, C and D. The sub-routing table can only carry one, some two, or some three of A, B, C and D, but what needs to be guaranteed is the sub-routing table. The content carried in the routing table is sufficient to provide access to the corresponding thread, that is, the specified thread can obtain necessary information by accessing the sub-routing table corresponding to the thread. The functions and functions of the secondary routing table in this embodiment are the same as those of the secondary routing table in Embodiment 1, and will not be repeated here.

相关技术中,一个路由器中只有唯一的一个路由表,在对路由表进行修改的时候,需要锁住这个唯一的路由表,在修改后在释放,也就是需要对路由表进行访问的线程,在路由表被锁住的时候是无法工作的。这样也就降低了线程的处理效率。In related technologies, there is only one routing table in a router. When modifying the routing table, the only routing table needs to be locked and released after modification. That is, the thread that needs to access the routing table is It cannot work when the routing table is locked. This also reduces the processing efficiency of the thread.

而本发明所提供的路由表修改方法,步骤S101中,由于已经建立好多个副路由表,因此,当需要对路由表进行修改,改变路由表中具体内的时候,也就是需要对每个副路由表均进行修改,或者是对包含有指定内容的副路由表进行修改。每次对一个路由器中的全部路由表进行修改的时候,需要分别锁住每个路由表,锁住之后再进行具体内容的修改,修改的过程与相关技术中的修改过程是相同的,在此,不再赘述。但为了保证同一个路由器中的多个线程不会同时停止工作,可以按照预定的次序,依次对每个需要修改的副路由表执行锁住、修改和释放的动作。也就是全部的副路由表不会同时进行修改,这也就使同一路由器中的线程不会同时停止工作。In the routing table modification method provided by the present invention, in step S101, since a plurality of sub-routing tables have been set up, when the routing table needs to be modified and the routing table is changed, it is necessary to modify each sub-routing table. The routing table is modified, or the sub-routing table containing the specified content is modified. Every time when modifying all routing tables in a router, it is necessary to lock each routing table separately, and then modify the specific content after locking. The modification process is the same as that in related technologies. Herein ,No longer. However, in order to ensure that multiple threads in the same router will not stop working at the same time, each secondary routing table that needs to be modified can be locked, modified and released in a predetermined order. That is, all secondary routing tables will not be modified at the same time, so that threads in the same router will not stop working at the same time.

步骤S102对副路由表按照预设方式进行修改即可。Step S102 may modify the secondary routing table in a preset manner.

步骤S103中,将完成修改的路由表释放,使与该副路由表相对应的线程能够对其进行访问,也就是与该路由表相对应的线程恢复了正常的工作。In step S103, the modified routing table is released so that the thread corresponding to the secondary routing table can access it, that is, the thread corresponding to the routing table resumes normal work.

需要说明的是,对路由表进行修改的时候,可以是在上一个副路由表完成修改后,再对下一个副路由表进行修改,也可以是在一个副路由表修改到预定的程度,或者是开始修改预定的时间之后,再对下一个路由表进行修改(此处修改包含锁住、修改和释放三个动作)。It should be noted that when the routing table is modified, the modification to the next sub-routing table can be done after the modification of the previous sub-routing table is completed, or it can be modified to a predetermined level in a sub-routing table, or After starting to modify the predetermined time, the next routing table is modified (the modification here includes three actions of locking, modifying and releasing).

进一步,步骤S201中,锁住指定的副路由表包括:Further, in step S201, locking the specified secondary routing table includes:

按照预设的间隔时间,依次锁住路由器中的每个副路由表。Lock each secondary routing table in the router in turn according to the preset interval time.

也就是为了缩短路由表整体的修改时长,同时,为了使一定时间内同一路由器中的线程同时停止工作的线程数量不会过多,可以按照预设的间隔时间来依次开始对每个副路由表的修改。That is, in order to shorten the overall modification time of the routing table, and at the same time, in order to prevent the number of threads in the same router from stopping work at the same time within a certain period of time, each secondary routing table can be modified sequentially according to the preset interval. Modifications.

进一步,按照预设的间隔时间,依次锁住路由器中的每个副路由表包括:Further, according to the preset interval time, each secondary routing table in the router is sequentially locked including:

在修改并释放一个副路由表后,再按照预设的顺序锁住下一个副路由表,直至路由器中的每个副路由表均修改并释放。After a secondary routing table is modified and released, the next secondary routing table is locked in a preset order until every secondary routing table in the router is modified and released.

也就是在完成了一个副路由表的修改之后,在开始下一个副路由表的修改,这样便能够合理的控制一段时间内,停止工作的线程数量。That is, after the modification of a secondary routing table is completed, the modification of the next secondary routing table is started, so that the number of threads that stop working within a period of time can be reasonably controlled.

为了更好的检查是否有路由表修改指令,本发明所提供的路由表修改方法还包括:每隔预定的检查时间,查看是否接收到修改路由表指令。In order to better check whether there is a routing table modifying instruction, the routing table modifying method provided by the present invention further includes: checking whether a routing table modifying instruction is received every predetermined checking time.

预定的检查时间为2-5秒。The scheduled inspection time is 2-5 seconds.

只要检查到有新的路由表修改指令,便可以按照预定的次序对副路由表进行修改。As long as a new routing table modification instruction is detected, the secondary routing table can be modified in a predetermined order.

与实施例1中所提供的路由表相类似的Similar to the routing table provided in Example 1

考虑到具体的使用环境,可以是,每个副路由表与一个线程相对应,且每个副路由表只允许一个线程查询访问路径。Considering the specific use environment, it may be that each sub-routing table corresponds to one thread, and each sub-routing table only allows one thread to query the access path.

为每个副路由表配置一个与其相对应的线程,使得只有这一个线程能够对该副路由表进行访问。从而使线程对路由表进行访问的时候不再需要排队,能够较高的提高线程的处理效率。A corresponding thread is configured for each secondary routing table, so that only this thread can access the secondary routing table. Therefore, when the thread accesses the routing table, it no longer needs to be queued, and the processing efficiency of the thread can be greatly improved.

如果一个路由器中的线程过多,为每个线程均配置一个副路由表会占用较多的系统资源。为了克服该问题,可以是,每个副路由表与多个线程相对应,与一个副路由表相对应的多个线程均用于处理类别相同的事务,且每个副路由表只允许与其相对应的多个线程查询访问路径。If there are too many threads in a router, configuring a secondary routing table for each thread will occupy more system resources. In order to overcome this problem, it may be that each sub-routing table corresponds to multiple threads, and the multiple threads corresponding to one sub-routing table are all used to process transactions of the same category, and each sub-routing table only allows The corresponding multiple threads query the access path.

与一个副路由表相对应的多个线程可以是属于同一个程序的,这样,该副路由表中可以只存放与这些线程相关联的内容,多余的可以不存放,以降低系统资源的占有量。类别相同的事务可以如同一个应用程序,执行相类似的动作等。将同一个路由器中的多个线程进行归类,并且为每个种类的线程分别配置一个副路由表能够减少系统中冗余副路由表的数量,并且在一定程度上能够提高线程的处理速度。Multiple threads corresponding to a secondary routing table can belong to the same program, so that only the content associated with these threads can be stored in the secondary routing table, and the redundant ones can not be stored, so as to reduce the occupation of system resources . Transactions of the same category can perform similar actions as an application program. Classifying multiple threads in the same router and configuring a sub-routing table for each type of thread can reduce the number of redundant sub-routing tables in the system and improve the processing speed of threads to a certain extent.

不论是为每一个线程还是多个线程配置一个副路由表,均可以按照与副路由表相对应的线程的情况,来确定副路由表中内容的数量,与自身相对应的线程使用不到的内容不进行储存,以降低系统资源的占用数量。Regardless of configuring a sub-routing table for each thread or multiple threads, the number of contents in the sub-routing table can be determined according to the situation of the thread corresponding to the sub-routing table, and the thread corresponding to itself cannot use Content is not stored to reduce system resource usage.

并且,考虑到具体的修改情况,为了使一段时间内同时处于修改状态的副路由表的数量控制在一定数量之内,还为了缩短整体修改的时间,可以根据副路由表中的内容数量来确定副路由表的修改次序和相邻两个副路由表开始修改时间点的差值。Moreover, considering the specific modification situation, in order to control the number of secondary routing tables that are in the modified state within a certain period of time, and to shorten the overall modification time, it can be determined according to the number of contents in the secondary routing table The modification order of the secondary routing table and the difference between the start modification time points of two adjacent secondary routing tables.

根据副路由表所对应的线程数量不同,或者副路由表所对应的线程重要性的不同,可以先对所对应的线程数量多的副路由表进行修改,或者对所对应的线程重要性更强的副路由表进行修改。According to the number of threads corresponding to the sub-routing table, or the importance of the threads corresponding to the sub-routing table, the sub-routing table with a large number of corresponding threads can be modified first, or the corresponding thread is more important Modify the secondary routing table.

本发明实施例提供的路由表修改方法,通过预先建立多个副路由表,每个副路由表用于向所述路由器中不同的线程提供对应的访问路径,使全部线程不会同时访问同一个副路由表,并且依次对指定的副路由表锁住和进行修改,使得副路由表不会同时锁住,也就是路由器中的全部线程不会同时停止工作,这也就使由于修改副路由表而使线程停止工作的时间被分摊开,即使对路由表进行修改,也不会导致路由器在某一个时间段对数据包进行传送效率的降低,并且通过设置了副路由表的修改次序和修改间隔,使同一个路由器中的副路由表能够较为快速的完成修改,并且整体的修改时间更短,从而更好的解决了现有技术中的不足。In the routing table modification method provided by the embodiment of the present invention, multiple sub-routing tables are established in advance, and each sub-routing table is used to provide corresponding access paths to different threads in the router, so that all threads will not access the same routing table at the same time. Sub-routing table, and lock and modify the designated sub-routing table in turn, so that the sub-routing table will not be locked at the same time, that is, all threads in the router will not stop working at the same time, which also makes the modification of the sub-routing table However, the time for the thread to stop working is apportioned, even if the routing table is modified, it will not cause the router to reduce the transmission efficiency of the data packet in a certain period of time, and by setting the modification order and modification of the sub-routing table interval, so that the secondary routing table in the same router can be modified relatively quickly, and the overall modification time is shorter, thereby better solving the shortcomings in the prior art.

显然,本领域的技术人员应该明白,上述的本发明的各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Apparently, those skilled in the art should understand that each step of the present invention described above can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed on a network formed by multiple computing devices. Optionally, they can be implemented with executable program codes of computing devices, thus, they can be stored in storage devices to be executed by computing devices, or they can be made into individual integrated circuit modules, or a plurality of them Modules or steps are implemented as a single integrated circuit module. As such, the present invention is not limited to any specific combination of hardware and software.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

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 Expired - Fee Related 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 Expired - Fee Related 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 华为技术有限公司 Refresh method of static route
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 华为技术有限公司 Refresh method of static route
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
JP7085565B2 (en) Intelligent thread management across isolated network stacks
US9009648B2 (en) Automatic deadlock detection and avoidance in a system interconnect by capturing internal dependencies of IP cores using high level specification
US8625448B2 (en) Method and system for validating network traffic classification in a blade server
CN106797349B (en) Dynamic cascading clustering for dynamic VNF
JP4068166B2 (en) Search engine architecture for high performance multilayer switch elements
US6928478B1 (en) Method and apparatus for implementing a MAC address pool for assignment to a virtual interface aggregate
CN111857946B (en) Location-based virtualized workload placement
US8756270B2 (en) Collective acceleration unit tree structure
TWI520530B (en) Packet switch device and method of the same
Sethi et al. Abstractions for model checking SDN controllers
US10348612B2 (en) Set up of direct mapped routers located across independently managed compute and storage networks
US20140241346A1 (en) Translating network forwarding plane models into target implementation using network primitives
US9166912B2 (en) Translating network forwarding plane models into target implementation using sub models and hints
US20140241347A1 (en) Static translation of network forwarding plane models into target implementation in the hardware abstraction layer
CN106411568A (en) SDN (Software Defined Network) network state updating method and system based on rule conflict
CN104506440B (en) The data packet sending method and routing table amending method of router
US9246792B2 (en) Providing point to point communications among compute nodes in a global combining network of a parallel computer
CN103416026B (en) Network system and packet processing method
US9515929B2 (en) Traffic data pre-filtering
US8296457B2 (en) Providing nearest neighbor point-to-point communications among compute nodes of an operational group in a global combining network of a parallel computer
US20200304368A1 (en) Accessing processing devices of a network device
US9590897B1 (en) Methods and systems for network devices and associated network transmissions
US8559430B2 (en) Network connection device, switching circuit device, and method for learning address
CN113079128A (en) Information plugging method and device, computing equipment and computer storage medium
CN116016448A (en) Service network access method, device, equipment and storage medium

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.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171226