CN114827781B - Network collaboration method, device, equipment and storage medium - Google Patents
Network collaboration method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN114827781B CN114827781B CN202210395014.2A CN202210395014A CN114827781B CN 114827781 B CN114827781 B CN 114827781B CN 202210395014 A CN202210395014 A CN 202210395014A CN 114827781 B CN114827781 B CN 114827781B
- Authority
- CN
- China
- Prior art keywords
- osu
- address
- router
- communication
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000004891 communication Methods 0.000 claims abstract description 273
- 230000003287 optical effect Effects 0.000 claims abstract description 34
- 230000004044 response Effects 0.000 claims description 41
- 238000012545 processing Methods 0.000 claims description 18
- 238000012790 confirmation Methods 0.000 claims description 8
- 230000005540 biological transmission Effects 0.000 description 14
- 230000006870 function Effects 0.000 description 11
- 238000004590 computer program Methods 0.000 description 8
- 238000012423 maintenance Methods 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 238000007726 management method Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 2
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 2
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 2
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 2
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000001419 dependent effect Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 235000019580 granularity Nutrition 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 239000000047 product Substances 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q11/00—Selecting arrangements for multiplex systems
- H04Q11/0001—Selecting arrangements for multiplex systems using optical switching
- H04Q11/0062—Network aspects
- H04Q2011/0073—Provisions for forwarding or routing, e.g. lookup tables
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请提供一种网络协同方法、装置、设备及存储介质,涉及通信领域,该方法包括:获取第一OSU设备的通信地址,以及从第一OSU设备连接的第一路由器获取第一路由器的网络地址;建立第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系;将第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系同步至通信网络中的其他OSU设备中。如此,使通信网络中的OSU设备存储有每个OSU设备和与之连接的路由器的对应关系,进而使源路由器在向目的路由器传输数据时,能够根据对应关系与目的路由器连接的OSU设备自动建立连接,进而快速的传输数据,实现IP层网络和光层网络的高效协同工作。
The present application provides a network collaboration method, device, equipment and storage medium, which relates to the field of communication. The method includes: obtaining the communication address of the first OSU device, and obtaining the network address of the first router from the first router connected to the first OSU device; establishing a corresponding relationship between the communication address of the first OSU device and the network address of the first router; synchronizing the corresponding relationship between the communication address of the first OSU device and the network address of the first router to other OSU devices in the communication network. In this way, the OSU devices in the communication network store the corresponding relationship between each OSU device and the router connected to it, so that when the source router transmits data to the destination router, it can automatically establish a connection with the OSU device connected to the destination router according to the corresponding relationship, and then quickly transmit data, so as to realize the efficient collaborative work of the IP layer network and the optical layer network.
Description
技术领域Technical Field
本申请涉及通信领域,尤其涉及一种网络协同方法、装置、设备及存储介质。The present application relates to the field of communications, and in particular to a network collaboration method, apparatus, device and storage medium.
背景技术Background technique
骨干网一般由IP层网络和光层网络两部分组成。其中,IP层网络负责数据分组和转发;光层网络负责大容量、超长距的数据传送,为IP层网络提供光通道。The backbone network generally consists of two parts: the IP layer network and the optical layer network. The IP layer network is responsible for data grouping and forwarding; the optical layer network is responsible for large-capacity, ultra-long-distance data transmission and provides optical channels for the IP layer network.
目前两张网络是分层规划和独立运维管理的,IP层网络无法获知光层网络的网络拓扑和保护能力,光层网络也无法了解IP层网络的动态业务需求,两者之间并没有真正意义上的协同工作,导致无法构建高性能、低成本的骨干网。而未来基于光业务单元(opticalservice unit,OSU)的光传送网(optical transport network,OTN)设备应支持流量驱动下自动连接,以实现IP层网络和光层网络的高效协同工作。Currently, the two networks are hierarchically planned and independently operated and maintained. The IP layer network cannot know the network topology and protection capabilities of the optical layer network, and the optical layer network cannot understand the dynamic business needs of the IP layer network. There is no real collaboration between the two, which makes it impossible to build a high-performance, low-cost backbone network. In the future, optical transport network (OTN) equipment based on optical service unit (OSU) should support automatic connection driven by traffic to achieve efficient collaboration between IP layer network and optical layer network.
发明内容Summary of the invention
本申请提供一种网络协同方法、装置、设备及存储介质,用于实现IP层网络和光层网络的高效协同工作。The present application provides a network collaboration method, apparatus, device and storage medium for realizing efficient collaboration between IP layer network and optical layer network.
为了达到上述目的,本申请采用如下技术方案。In order to achieve the above-mentioned purpose, the present application adopts the following technical solution.
第一方面,提供一种网络协同方法,该方法应用于通信网络,通信网络包括M个OSU设备和N个路由器,每个OSU设备连接一个路由器,M和N均为整数,该方法由第一OSU设备执行,第一OSU设备为M个OSU设备中的任一个OSU设备,该方法包括:获取第一OSU设备的通信地址,以及从第一OSU设备连接的第一路由器获取第一路由器的网络地址;建立第一OSU设备的通信地址和第一路由器的网络地址之间的对应关系;将所述第一OSU设备的通信地址与所述第一路由器的网络地址之间的对应关系同步至所述通信网络中的其他OSU设备中。In a first aspect, a network collaboration method is provided, the method being applied to a communication network, the communication network comprising M OSU devices and N routers, each OSU device being connected to a router, M and N being integers, the method being executed by a first OSU device, the first OSU device being any one of the M OSU devices, the method comprising: obtaining a communication address of the first OSU device, and obtaining a network address of the first router from a first router connected to the first OSU device; establishing a correspondence between the communication address of the first OSU device and the network address of the first router; and synchronizing the correspondence between the communication address of the first OSU device and the network address of the first router to other OSU devices in the communication network.
本申请提供的技术方案至少带来以下有益效果:针对目前的IP层网络和光层网络无法实现协同工作的问题,本申请提供的一种网络协同方法,通过建立第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系,并将第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系同步至通信网络中的其他OSU设备中,以便于通信网络中的任一个OSU设备连接的路由器在需要向目的路由器传输数据时,可以根据与之连接的OSU设备存储的通信网络中每一个OSU设备的通信地址与路由器的网络地址之间的对应关系,快速找寻到与目的路由器连接的OSU设备的通信地址,进而自动建立与目的路由器连接的OSU设备的连接,并确定与目的路由器之间的最短传输路径,快速的传输数据,能够提升数据的传输速率,进而实现了IP层网络与光层网络的高效协同工作。The technical solution provided by the present application brings at least the following beneficial effects: In response to the problem that the current IP layer network and the optical layer network cannot work together, the present application provides a network collaboration method, which establishes a correspondence between the communication address of the first OSU device and the network address of the first router, and synchronizes the correspondence between the communication address of the first OSU device and the network address of the first router to other OSU devices in the communication network, so that when a router connected to any OSU device in the communication network needs to transmit data to a destination router, it can quickly find the communication address of the OSU device connected to the destination router based on the correspondence between the communication address of each OSU device in the communication network stored in the OSU device connected to it and the network address of the router, and then automatically establish a connection with the OSU device connected to the destination router, and determine the shortest transmission path between the destination router, quickly transmit data, and improve the data transmission rate, thereby realizing efficient collaboration between the IP layer network and the optical layer network.
可选的,该方法还包括:接收第一路由器发送的第一请求信息,第一请求信息包括第二路由器的网络地址,第一请求信息用于请求与第二路由器连接的第二OSU设备的通信地址;根据第二路由器的网络地址,判断自身是否存储有第二路由器的网络地址相关的对应关系;若自身未存储有第二路由器的网络地址相关的对应关系,向其他OSU设备发送包括第二路由器的网络地址的第二请求信息;接收第三OSU设备发送的第一响应信息,第一响应信息包括第二路由器的网络地址相关的对应关系,第三OSU设备为其他OSU设备中的任一个OSU设备;向第一路由器发送第二路由器的网络地址相关的对应关系,并存储第二路由器的网络地址相关的对应关系。Optionally, the method also includes: receiving a first request message sent by the first router, the first request message including the network address of the second router, and the first request message is used to request the communication address of a second OSU device connected to the second router; judging whether it stores a corresponding relationship related to the network address of the second router according to the network address of the second router; if it does not store a corresponding relationship related to the network address of the second router, sending a second request message including the network address of the second router to other OSU devices; receiving a first response message sent by a third OSU device, the first response message including the corresponding relationship related to the network address of the second router, and the third OSU device is any one of the other OSU devices; sending the corresponding relationship related to the network address of the second router to the first router, and storing the corresponding relationship related to the network address of the second router.
可选的,通信网络还包括地址分配设备,地址分配设备用于为M个OSU设备分配通信地址;获取第一OSU设备的通信地址,包括:接收地址分配设备通过广播方式发送的为第一OSU设备分配的第一通信地址;向地址分配设备发送第三请求信息,第三请求信息用于请求判断第一通信地址是否已被分配;若接收到地址分配设备发送的确认未分配信息,向其他OSU设备发送包括第一通信地址的地址解析请求;若在预设时长内未接收到其他OSU设备中任一个OSU设备发送的第二响应信息,确定第一通信地址允许使用,将第一通信地址作为第一OSU设备的通信地址,第二响应信息用于指示第一通信地址已被使用。Optionally, the communication network also includes an address allocation device, which is used to allocate communication addresses to M OSU devices; obtaining the communication address of the first OSU device includes: receiving the first communication address allocated to the first OSU device by the address allocation device via broadcast; sending a third request message to the address allocation device, the third request message being used to request whether the first communication address has been allocated; if a confirmation message of non-allocation is received from the address allocation device, an address resolution request including the first communication address is sent to other OSU devices; if a second response message is not received from any of the other OSU devices within a preset time period, it is determined that the first communication address is allowed to be used, and the first communication address is used as the communication address of the first OSU device, and the second response message is used to indicate that the first communication address has been used.
可选的,该方法还包括:若在预设时长内接收到其他OSU设备中任一个OSU设备发送的第二响应信息,确定第一通信地址不允许使用,向地址分配设备发送第四请求信息,第四请求信息用于请求重新分配通信地址。Optionally, the method also includes: if a second response message sent by any other OSU device is received within a preset time period, it is determined that the first communication address is not allowed to be used, and a fourth request message is sent to the address allocation device, and the fourth request message is used to request reallocation of the communication address.
可选的,将第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系同步至通信网络中的其他OSU设备中,包括:向其他OSU设备发送包括第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系的第五请求信息,第五请求信息用于请求存储第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系。Optionally, the correspondence between the communication address of the first OSU device and the network address of the first router is synchronized to other OSU devices in the communication network, including: sending a fifth request message including the correspondence between the communication address of the first OSU device and the network address of the first router to other OSU devices, the fifth request message being used to request storage of the correspondence between the communication address of the first OSU device and the network address of the first router.
第二方面,提供一种网络协同装置,应用于通信网络,通信网络包括M个光业务单元OSU设备和N个路由器,每个OSU设备连接一个路由器,M和N均为整数,该装置部署于第一OSU设备中,第一OSU设备为M个OSU设备中任一个OSU设备,该装置包括:通信单元,用于获取第一OSU设备的通信地址,以及从第一OSU设备连接的第一路由器获取第一路由器的网络地址;处理单元,用于建立第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系;通信单元,还用于将第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系同步至通信网络中的其他OSU设备中。In a second aspect, a network collaboration device is provided, which is applied to a communication network. The communication network includes M optical service unit (OSU) devices and N routers. Each OSU device is connected to a router. M and N are both integers. The device is deployed in a first OSU device. The first OSU device is any one of the M OSU devices. The device includes: a communication unit, which is used to obtain a communication address of the first OSU device, and to obtain a network address of the first router from a first router connected to the first OSU device; a processing unit, which is used to establish a corresponding relationship between the communication address of the first OSU device and the network address of the first router; and the communication unit is also used to synchronize the corresponding relationship between the communication address of the first OSU device and the network address of the first router to other OSU devices in the communication network.
可选的,通信单元,还用于接收第一路由器发送的第一请求信息,第一请求信息包括第二路由器的网络地址,第一请求用于请求与第二路由器连接的第二OSU设备的通信地址;处理单元,还用于根据第二路由器的网络地址,判断自身是否存储有第二路由器的网络地址相关的对应关系;通信单元,还用于:若自身未存储有第二路由器的网络地址相关的对应关系,向其他OSU设备发送包括第二路由器的网络地址的第二请求信息;接收第三OSU设备发送的第一响应信息,第一响应信息包括第二路由器的网络地址相关的对应关系,第三OSU设备为其他OSU设备中的任一个OSU设备;向第一路由器发送第二路由器的网络地址相关的对应关系,并存储第二路由器的网络地址相关的对应关系。Optionally, the communication unit is further used to receive a first request message sent by the first router, the first request message includes the network address of the second router, and the first request is used to request the communication address of a second OSU device connected to the second router; the processing unit is further used to determine whether it has stored a corresponding relationship related to the network address of the second router based on the network address of the second router; the communication unit is further used to: if it does not store the corresponding relationship related to the network address of the second router, send a second request message including the network address of the second router to other OSU devices; receive a first response message sent by a third OSU device, the first response message includes the corresponding relationship related to the network address of the second router, and the third OSU device is any one of the other OSU devices; send the corresponding relationship related to the network address of the second router to the first router, and store the corresponding relationship related to the network address of the second router.
可选的,通信单元,具体用于:接收地址分配设备通过广播方式发送的为第一OSU设备分配的第一通信地址;向地址分配设备发送第三请求信息,第三请求信息用于请求判断第一通信地址是否已被分配;若接收到地址分配设备发送的确认未分配信息,向其他OSU设备发送包括第一通信地址的地址解析请求;Optionally, the communication unit is specifically used to: receive a first communication address allocated to a first OSU device by a broadcasting method sent by an address allocation device; send a third request message to the address allocation device, the third request message is used to request to determine whether the first communication address has been allocated; if confirmation information sent by the address allocation device is received, send an address resolution request including the first communication address to other OSU devices;
处理单元,具体用于若在预设时长内未接收到其他OSU设备中任一个OSU设备发送的第二响应信息,确定第一通信地址允许使用,将第一通信地址作为第一OSU设备的通信地址,第二响应信息用于指示第一通信地址已被使用。The processing unit is specifically used to determine that the first communication address is allowed to be used if the second response information sent by any OSU device in the other OSU devices is not received within a preset time period, and use the first communication address as the communication address of the first OSU device. The second response information is used to indicate that the first communication address has been used.
可选的,通信单元,还用于若在预设时长内接收到其他OSU设备中任一个OSU设备的第二响应信息,确定第一通信地址不允许使用,向地址分配设备发送第四请求信息,第四请求信息用于请求重新分配通信地址。Optionally, the communication unit is also used to send a fourth request message to the address allocation device if a second response message is received from any other OSU device within a preset time period, determining that the first communication address is not allowed to be used, and the fourth request message is used to request reallocation of the communication address.
可选的,通信单元,具体用于向其他OSU设备发送包括第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系的第五请求信息,第五请求信息用于请求存储第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系。Optionally, the communication unit is specifically used to send a fifth request message including the correspondence between the communication address of the first OSU device and the network address of the first router to other OSU devices, and the fifth request message is used to request storage of the correspondence between the communication address of the first OSU device and the network address of the first router.
第三方面,提供一种网络设备,包括:处理器和存储器;存储器存储有处理器可执行的指令;处理器被配置为执行所述指令时,使得网络设备实现如上述第一方面所提供的方法。According to a third aspect, a network device is provided, comprising: a processor and a memory; the memory stores instructions executable by the processor; when the processor is configured to execute the instructions, the network device implements the method provided in the first aspect above.
第四方面,提供了一种计算机可读存储介质,计算机可读存储介质存储计算机指令,当该计算机指令在计算机上运行时,使得计算机执行第一方面所提供的方法。According to a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions. When the computer instructions are executed on a computer, the computer executes the method provided in the first aspect.
第五方面,提供了一种包含计算机指令的计算机程序产品,当该计算机指令在计算机上运行时,使得计算机执行第一方面的方法。According to a fifth aspect, a computer program product comprising computer instructions is provided. When the computer instructions are executed on a computer, the computer is caused to execute the method according to the first aspect.
上述第二方面至第五方面中任一种可能的实现方式所代带来的技术效果可参见第一方面对应实现方式所带来的技术效果,在此不再赘述。The technical effects brought about by any possible implementation method of the second to fifth aspects mentioned above can refer to the technical effects brought about by the corresponding implementation method of the first aspect, and will not be repeated here.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
附图用来提供对本发明技术方案的进一步理解,并且构成说明书的一部分,与本申请的实施例一起用于解释本发明的技术方案,并不构成对本发明技术方案的限制。The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
图1为本申请实施例提供的一种通信网络的结构示意图;FIG1 is a schematic diagram of the structure of a communication network provided in an embodiment of the present application;
图2为本申请实施例提供的一种网络协同方法的流程图;FIG2 is a flow chart of a network collaboration method provided in an embodiment of the present application;
图3为本申请实施例提供的另一种网络协同方法的流程图;FIG3 is a flow chart of another network collaboration method provided in an embodiment of the present application;
图4为本申请实施例提供的另一种网络协同方法的流程图;FIG4 is a flow chart of another network collaboration method provided in an embodiment of the present application;
图5为本申请实施例提供的一种网络协同装置的结构示意图;FIG5 is a schematic diagram of the structure of a network collaboration device provided in an embodiment of the present application;
图6为本申请实施例提供的一种网络设备的硬件结构示意图。FIG6 is a schematic diagram of the hardware structure of a network device provided in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
在本申请实施例中,为了便于清楚描述本申请实施例的技术方案,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。该“第一”、第二”描述的技术特征间无先后顺序或者大小顺序。In the embodiments of the present application, in order to clearly describe the technical solutions of the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially identical functions and effects. Those skilled in the art can understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different. There is no order of precedence or size between the technical features described by the "first" and "second".
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念,便于理解。In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way for easy understanding.
在本申请的描述中,除非另有说明,“/”表示前后关联的对象是一种“或”的关系,例如,A/B可以表示A或B;本申请中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况,其中A,B可以是单数或者复数。并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。In the description of this application, unless otherwise specified, "/" indicates that the objects associated before and after are in an "or" relationship, for example, A/B can represent A or B; "and/or" in this application is only a kind of association relationship describing the associated objects, indicating that there can be three relationships, for example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. In addition, in the description of this application, unless otherwise specified, "multiple" refers to two or more than two. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple.
在本申请实施例中,至少一个还可以描述为一个或多个,多个可以是两个、三个、四个或者更多个,本申请不做限制。In the embodiments of the present application, at least one can also be described as one or more, and multiple can be two, three, four or more, which is not limited in the present application.
传统光传送网OTN作为物理承载网络,可以支持客户信号的透明传送、高带宽的复用交换和配置,具有强大的开销支持能力。该技术主要定位于骨干网和城域网应用,用于承载大于1Gbits/s速率业务,在OTN下沉到城域/接入网后,则存在如下问题:管道弹性不足(最小管道ODU0)、连接数少、带宽调整不够灵活等。业界提出了光业务网的概念,定义了面向业务的OSU容器标准,采用更灵活的管道带宽定义,能够更高效的承载小颗粒信号业务,实现面向业务的光承载技术,进而推动全光业务网的发展。As a physical bearer network, the traditional optical transport network OTN can support transparent transmission of customer signals, high-bandwidth multiplexing switching and configuration, and has strong overhead support capabilities. This technology is mainly positioned in backbone network and metropolitan area network applications, and is used to carry services with a rate greater than 1Gbits/s. After OTN is sunk to the metropolitan area/access network, the following problems exist: insufficient pipeline elasticity (minimum pipeline ODU0), small number of connections, and insufficient flexibility in bandwidth adjustment. The industry has proposed the concept of optical service network, defined the service-oriented OSU container standard, and adopted a more flexible pipeline bandwidth definition, which can more efficiently carry small-granular signal services, realize service-oriented optical bearer technology, and promote the development of all-optical service networks.
基于OSU的业务感知光网络为业务传输路径的灵活连接和资源的高效利用提供了技术支撑,但同时也为网络与业务的管理带来了新的挑战:随着小颗粒OSU技术的发展,光层网络未来承载的连接数量将急剧提升,进而为网络运维工作带来严峻挑战。因此,有必要根据IP层网络流量信息自动建立光传送网(如OSU)连接,实现流量感知的自动连接管理,进而实现IP层网络和光层网络的高效协同工作。The service-aware optical network based on OSU provides technical support for the flexible connection of service transmission paths and the efficient use of resources, but it also brings new challenges to the management of networks and services: with the development of small-granularity OSU technology, the number of connections carried by optical layer networks in the future will increase dramatically, which will bring severe challenges to network operation and maintenance. Therefore, it is necessary to automatically establish optical transport network (such as OSU) connections based on IP layer network traffic information, realize traffic-aware automatic connection management, and then realize efficient collaboration between IP layer network and optical layer network.
基于此,本申请实施例提供一种网络协同方法,通过构建光层网络的OSU设备和IP层网络的路由器之间的对应关系,并将光层网络的OSU设备和IP层网络的路由器之间的对应关系同步至光层网络的所有OSU设备中,以便于IP层网络的源路由器向目的路由器发送数据时,可以根据与源路由器连接的OSU设备存储的对应关系,获知到与目的路由器连接的OSU设备的通信地址,进而根据与目的路由器连接的OSU设备的通信地址,自动建立与目的路由器连接的OSU设备的连接,以及规划数据的最短传输路径,能够快速的传输数据,提升数据的传输速率,实现了IP层网络与光层网络的高效协同工作。Based on this, an embodiment of the present application provides a network collaboration method, which constructs a correspondence between the OSU device of the optical layer network and the router of the IP layer network, and synchronizes the correspondence between the OSU device of the optical layer network and the router of the IP layer network to all OSU devices in the optical layer network, so that when the source router of the IP layer network sends data to the destination router, it can obtain the communication address of the OSU device connected to the destination router according to the correspondence stored in the OSU device connected to the source router, and then automatically establish a connection with the OSU device connected to the destination router according to the communication address of the OSU device connected to the destination router, and plan the shortest data transmission path, so as to quickly transmit data, improve the data transmission rate, and realize efficient collaboration between the IP layer network and the optical layer network.
图1为本申请根据示例性实施例提供的一种通信系统的结构示意图。如图1所示,通信系统10包括M个OSU设备(例如OSU设备111、OSU设备112、OSU设备113、OSU设备114和OSU设备115)和N个路由器(例如路由器121、路由器122、路由器123、路由器124和路由器125),M和N均为整数。Fig. 1 is a schematic diagram of the structure of a communication system provided by the present application according to an exemplary embodiment. As shown in Fig. 1, the communication system 10 includes M OSU devices (e.g., OSU device 111, OSU device 112, OSU device 113, OSU device 114, and OSU device 115) and N routers (e.g., router 121, router 122, router 123, router 124, and router 125), where M and N are both integers.
在一些实施例中,每个OSU设备连接一个路由器,例如OSU设备111连接路由器121,OSU设备112连接路由器122,OSU设备113连接路由器123,OSU设备114连接路由器124,以及OSU设备115连接路由器125。In some embodiments, each OSU device is connected to a router, for example, OSU device 111 is connected to router 121 , OSU device 112 is connected to router 122 , OSU device 113 is connected to router 123 , OSU device 114 is connected to router 124 , and OSU device 115 is connected to router 125 .
对于M个OSU设备中的每一个OSU设备来说,一个OSU设备可以与通信网络中的其他OSU设备连接。例如,OSU设备111可以与OSU设备112、OSU设备113和OSU设备115分别连接,OSU设备112可以与OSU设备115连接,OSU设备113可以与OSU设备114连接,OSU设备114可以与OSU设备115连接。For each of the M OSU devices, an OSU device can be connected to other OSU devices in the communication network. For example, OSU device 111 can be connected to OSU device 112, OSU device 113 and OSU device 115 respectively, OSU device 112 can be connected to OSU device 115, OSU device 113 can be connected to OSU device 114, and OSU device 114 can be connected to OSU device 115.
在一些实施例中,OSU设备是针对传统OTN技术的技术短板做出的技术改进,改变了传统OTN采用时隙划分帧结构的特性,采用更加灵活的净荷块划分方式,可以实现2M-100Gbps不同颗粒度业务的高效承载,支持k级别的连接数量;简化的带宽无损调整机制能够很好地满足客户业务带宽灵活可变的需求。In some embodiments, the OSU device is a technical improvement made to address the technical shortcomings of traditional OTN technology. It changes the characteristics of the traditional OTN frame structure divided by time slots and adopts a more flexible payload block division method. It can achieve efficient carrying of services with different granularities of 2M-100Gbps and support k-level connections. The simplified bandwidth lossless adjustment mechanism can well meet the customer's demand for flexible and variable service bandwidth.
在一些实施例中,通信网络中还包括地址分配设备,地址分配设备可以是独立的物理设备,例如服务器或者计算机等。其中,服务器可以是单独的一个服务器,或者,也可以是由多个服务器构成的服务器集群。部分实施方式中,服务器集群还可以是分布式集群,本申请实施例对地址分配设备的具体类型不作限制。In some embodiments, the communication network also includes an address allocation device, which may be an independent physical device, such as a server or a computer. The server may be a single server, or a server cluster consisting of multiple servers. In some implementations, the server cluster may also be a distributed cluster, and the embodiments of the present application do not limit the specific type of the address allocation device.
在一些实施例中,地址分配设备用于为通信网络中的M个OSU设备分配通信地址。In some embodiments, the address allocation device is used to allocate communication addresses to M OSU devices in the communication network.
应理解,图1是示例性的架构图,图1示出的通信系统包括的设备的数量不受限制。并且,除图1所示的设备外,图1示的通信系统还可以包括其他设备,对此不予限定。It should be understood that Fig. 1 is an exemplary architecture diagram, and the number of devices included in the communication system shown in Fig. 1 is not limited. In addition, in addition to the devices shown in Fig. 1, the communication system shown in Fig. 1 may also include other devices, which is not limited.
如图2所示,为本申请实施例提供了一种网络协同方法的流程图,该方法由第一OSU设备执行,第一OSU设备可以是图1所示的通信网络10包括的M个OSU设备中的任意一个OSU设备,例如,第一OSU设备可以是OSU设备111,该方法包括如下步骤:As shown in FIG. 2 , a flowchart of a network collaboration method is provided for an embodiment of the present application. The method is executed by a first OSU device. The first OSU device may be any one of the M OSU devices included in the communication network 10 shown in FIG. 1 . For example, the first OSU device may be an OSU device 111. The method includes the following steps:
S101、获取第一OSU设备的通信地址,以及从第一OSU设备连接的第一路由器获取第一路由器的网络地址。S101. Acquire a communication address of a first OSU device, and acquire a network address of a first router from a first router to which the first OSU device is connected.
需要说明的是,当一个OSU设备加入通信网络时,需要获知到自身的通信地址,以及与自身连接的路由器的网络地址,以便于建立自身的通信地址与自身连接的路由器的网络地址之间的对应关系。It should be noted that when an OSU device joins a communication network, it needs to obtain its own communication address and the network address of the router connected to it, so as to establish a correspondence between its own communication address and the network address of the router connected to it.
可选的,OSU设备建立自身的通信地址与自身连接的路由器的网络地址之间的对应关系可以是OSU设备接收通信网络的运维人员输入的信息,根据运维人员输入的信息来建立自身的通信地址与自身连接的路由器的网络地址之间的对应关系。也可以是OSU设备基于人工智能的自主学习算法,在获取到自身的通信地址之后,自动建立自身的通信地址与自身连接的路由器的网络地址之间的对应关系。Optionally, the OSU device establishes the correspondence between its own communication address and the network address of the router to which it is connected by receiving information input by the operation and maintenance personnel of the communication network, and establishing the correspondence between its own communication address and the network address of the router to which it is connected according to the information input by the operation and maintenance personnel. Alternatively, the OSU device may automatically establish the correspondence between its own communication address and the network address of the router to which it is connected after obtaining its own communication address based on an autonomous learning algorithm based on artificial intelligence.
需要说明的是,若采用接收运维人员输入的信息来建立OSU设备的通信地址与连接OSU设备的路由器的网络地址之间的对应关系,需要运维人员人工分配每个OSU设备的通信地址,易造成运维人员的工作量较大,且考虑到运维的复杂程度,本申请实施例中可以采用基于人工智能的自主学习方法,以此来使OSU设备自动建立OSU设备的通信地址与OSU设备连接的路由器的网络地址之间的对应关系。It should be noted that if the information input by the operation and maintenance personnel is received to establish the correspondence between the communication address of the OSU device and the network address of the router connected to the OSU device, the operation and maintenance personnel are required to manually assign the communication address of each OSU device, which may easily cause a large workload for the operation and maintenance personnel. Taking into account the complexity of operation and maintenance, an autonomous learning method based on artificial intelligence can be adopted in the embodiment of the present application to enable the OSU device to automatically establish the correspondence between the communication address of the OSU device and the network address of the router connected to the OSU device.
在一些实施例中,在第一OSU设备采用基于人工智能的自主学习方法,自动建立自身的通信地址与自身连接的路由器的网络地址之间的对应关系时,第一OSU设备可以从地址分配设备处获取自身的通信地址,关于第一OSU设备如何从地址分配设备处获取自身的通信地址,可以参考下述关于步骤S301-步骤S304的描述,在此不予赘述。In some embodiments, when the first OSU device adopts an artificial intelligence-based autonomous learning method to automatically establish a correspondence between its own communication address and the network address of the router to which it is connected, the first OSU device can obtain its own communication address from the address allocation device. Regarding how the first OSU device obtains its own communication address from the address allocation device, please refer to the following description of steps S301-S304, which will not be repeated here.
在一些实施例中,第一OSU设备可以向与第一OSU设备连接的第一路由器发送第六请求信息,第六请求信息用于请求第一路由器的网络地址,进而,第一OSU设备接收到第一路由器发送的第三响应信息,第三响应信息包括第一路由器的网络地址。其中,第一路由器的网络地址可以是第一路由器的IP地址或者虚拟局域网(virtual local area network,VLAN)信息等。In some embodiments, the first OSU device may send a sixth request message to a first router connected to the first OSU device, the sixth request message being used to request a network address of the first router, and then the first OSU device receives a third response message sent by the first router, the third response message including the network address of the first router. The network address of the first router may be an IP address of the first router or virtual local area network (VLAN) information, etc.
S102、建立第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系。S102: Establish a correspondence between the communication address of the first OSU device and the network address of the first router.
示例性的,假设第一OSU设备的通信地址为OSU-UUID-A,第一路由器的网络地址为Net-1,则建立的第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系可以如下述表1所示。Exemplarily, assuming that the communication address of the first OSU device is OSU-UUID-A and the network address of the first router is Net-1, the correspondence between the communication address of the first OSU device and the network address of the first router can be as shown in Table 1 below.
表1Table 1
S103、将第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系同步至通信网络中的其他OSU设备中。S103: Synchronize the correspondence between the communication address of the first OSU device and the network address of the first router to other OSU devices in the communication network.
可选的,步骤S103可具体实现为:向其他OSU设备发送第五请求信息,第五请求信息包括第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系,第五请求信息用于请求其他OSU设备存储第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系。Optionally, step S103 can be specifically implemented as: sending a fifth request message to other OSU devices, the fifth request message including the correspondence between the communication address of the first OSU device and the network address of the first router, and the fifth request message is used to request other OSU devices to store the correspondence between the communication address of the first OSU device and the network address of the first router.
在一些实施例中,若其他OSU设备同意存储第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系,则在其他OSU设备将第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系存储之后,第一OSU设备接收到其他OSU设备中每一个OSU设备发送的第五响应信息,第五响应信息用于指示同意并且已存储第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系。In some embodiments, if other OSU devices agree to store the correspondence between the communication address of the first OSU device and the network address of the first router, then after the other OSU devices store the correspondence between the communication address of the first OSU device and the network address of the first router, the first OSU device receives a fifth response message sent by each of the other OSU devices, and the fifth response message is used to indicate that the correspondence between the communication address of the first OSU device and the network address of the first router has been agreed and stored.
第一OSU设备接收到其他OSU设备中每一个OSU设备发送的第五响应信息之后,响应于第五响应信息,存储第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系。如此一来,通信网络中的M个OSU设备皆同步存储了第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系。After the first OSU device receives the fifth response information sent by each of the other OSU devices, it stores the correspondence between the communication address of the first OSU device and the network address of the first router in response to the fifth response information. In this way, the M OSU devices in the communication network all synchronously store the correspondence between the communication address of the first OSU device and the network address of the first router.
基于图2所示的实施例,由上述关于第一OSU设备的介绍可知,第一OSU设备可以是M个OSU设备中的任一个OSU设备,也即每一个OSU设备加入通信网络时,皆需要执行上述步骤S101-步骤S103,也即每个OSU设备建立自身的通信地址与和自身连接的路由器的网络地址的对应关系时,需要将该对应关系同步至通信网络中的其他OSU设备中。如此一来,通信网络中的OSU设备皆存储有每个OSU设备的通信地址以及与之相连接的路由器的网络地址之间的对应关系,以便于一个OSU设备连接的路由器需要向目的路由器传输数据时,可以根据与之连接的OSU设备存储的通信网络的OSU设备与路由器之间的对应关系,快速的找到与目的路由器连接的OSU设备的通信地址,进而与该OSU设备自动建立连接以及确定出传输数据的最短路径,进而将数据快速传输,能够提升数据的传输速率,实现了IP层网络和光层网络的高效协同工作。Based on the embodiment shown in FIG. 2 , it can be known from the above introduction about the first OSU device that the first OSU device can be any one of the M OSU devices, that is, when each OSU device joins the communication network, it is necessary to execute the above steps S101 to S103, that is, when each OSU device establishes a corresponding relationship between its own communication address and the network address of the router connected to itself, it is necessary to synchronize the corresponding relationship to other OSU devices in the communication network. In this way, the OSU devices in the communication network all store the corresponding relationship between the communication address of each OSU device and the network address of the router connected thereto, so that when a router connected to an OSU device needs to transmit data to a destination router, it can quickly find the communication address of the OSU device connected to the destination router according to the corresponding relationship between the OSU device and the router of the communication network stored by the OSU device connected thereto, and then automatically establish a connection with the OSU device and determine the shortest path for transmitting data, and then quickly transmit the data, which can improve the data transmission rate and realize the efficient collaborative work of the IP layer network and the optical layer network.
上述实施例着重介绍了OSU设备的通信地址与路由器的网络地址之间的对应关系的建立过程,而在OSU设备的通信地址与路由器的网络地址之间的对应关系的建立之后,还包括OSU设备的通信地址与路由器的网络地址之间的对应关系的使用过程。在一些实施例中,如图3所示,该网络协同方法还包括以下步骤:The above embodiment focuses on the process of establishing the correspondence between the communication address of the OSU device and the network address of the router, and after the correspondence between the communication address of the OSU device and the network address of the router is established, it also includes the process of using the correspondence between the communication address of the OSU device and the network address of the router. In some embodiments, as shown in FIG3, the network collaboration method further includes the following steps:
S201、接收第一路由器发送的第一请求信息。S201: Receive first request information sent by a first router.
在一些实施例中,当第一路由器(也可以称为源路由器)需要向第二路由器(也可以称为目的路由器)传输数据包时,第一OSU设备接收到第一路由器发送的第一请求信息,第一请求信息用于请求与第二路由器连接的第二OSU设备的通信地址。其中,第一请求信息包括第二路由器的网络地址,例如第二路由器的IP地址。In some embodiments, when a first router (also referred to as a source router) needs to transmit a data packet to a second router (also referred to as a destination router), a first OSU device receives a first request message sent by the first router, and the first request message is used to request a communication address of a second OSU device connected to the second router. The first request message includes a network address of the second router, such as an IP address of the second router.
可选的,第一请求信息还可以包括第一路由器的IP地址,第一路由器的端口号、第二路由器的端口号、第三层协议类型、端口的采样比、第一请求信息的接收时间戳和传输控制协议(transmission control protocol、TCP)序列号等。Optionally, the first request information may also include the IP address of the first router, the port number of the first router, the port number of the second router, the third layer protocol type, the sampling ratio of the port, the receiving timestamp of the first request information and the transmission control protocol (TCP) sequence number, etc.
S202、根据第二路由器的网络地址,判断自身是否存储有第二路由器的网络地址相关的对应关系。S202: According to the network address of the second router, determine whether a corresponding relationship related to the network address of the second router is stored in the system.
其中,第二路由器的网络地址相关的对应关系可以是第二路由器的网络地址与第二OSU设备的通信地址之间的对应关系,由上述步骤S101可知,第二OSU设备为与第二路由器连接的OSU设备。The corresponding relationship related to the network address of the second router may be a corresponding relationship between the network address of the second router and the communication address of the second OSU device. It can be known from the above step S101 that the second OSU device is an OSU device connected to the second router.
示例性的,如下述表2所示,为第一OSU设备存储的OSU设备的通信地址与路由器的网络地址之间的对应关系。Exemplarily, as shown in the following Table 2, the correspondence between the communication address of the OSU device stored in the first OSU device and the network address of the router.
表2Table 2
第一OSU设备可以以第二路由器的网络地址作为索引,遍历自身的数据库,判断自身是否存储有第二路由器的网络地址相关的对应关系。The first OSU device may use the network address of the second router as an index, traverse its own database, and determine whether it has stored a corresponding relationship related to the network address of the second router.
若否,则执行下述步骤S203-步骤S205。If not, execute the following steps S203 to S205.
若是,则执行下述步骤S206。If yes, execute the following step S206.
S203、若自身未存储有第二路由器的网络地址相关的对应关系,向其他OSU设备发送包括第二路由器的网络地址的第二请求信息。S203: If the corresponding relationship related to the network address of the second router is not stored in the OSU device, send a second request message including the network address of the second router to other OSU devices.
若根据第二路由器的网络地址作为索引,未在自身的数据库中找到与第二路由器的网络地址相关的对应关系,则确定自身的数据库未存储有第二路由器的网络地址相关的对应关系,第一OSU设备可以向其他OSU设备发送包括第二路由器的网络地址的第二请求信息,其中,第二请求信息用于请求获取与第二路由器连接的第二OSU设备的通信地址。If the corresponding relationship related to the network address of the second router is not found in its own database based on the network address of the second router as an index, it is determined that the corresponding relationship related to the network address of the second router is not stored in its own database, and the first OSU device can send a second request information including the network address of the second router to other OSU devices, wherein the second request information is used to request the communication address of the second OSU device connected to the second router.
示例性的,假设第二路由器的网络地址为Net-7,则以Net-7作为索引,遍历上述表2,未查询到与Net-7相关的对应关系,也即确定第一OSU设备未存储有第二路由器的网络地址相关的对应关系。Exemplarily, assuming that the network address of the second router is Net-7, Net-7 is used as the index to traverse the above Table 2, and no corresponding relationship related to Net-7 is found, that is, it is determined that the first OSU device does not store the corresponding relationship related to the network address of the second router.
可以理解的,若自身的数据库未存储有第二路由器的网络地址相关的对应关系,可能是第一OSU设备加入通信网络的时间较晚,导致第二OSU设备的通信地址和第二路由器的网络地址之间的对应关系未同步至第一OSU设备的数据库中,则第一OSU设备可以向其他OSU设备发送第二请求信息,以此来获取与第二路由器连接的第二OSU设备的通信地址。It is understandable that if its own database does not store the corresponding relationship related to the network address of the second router, it may be that the first OSU device joined the communication network late, resulting in the correspondence between the communication address of the second OSU device and the network address of the second router not being synchronized to the database of the first OSU device. In this case, the first OSU device can send a second request message to other OSU devices to obtain the communication address of the second OSU device connected to the second router.
S204、接收第三OSU设备发送的第一响应信息。S204: Receive first response information sent by the third OSU device.
其中,第一响应信息包括第二路由器的网络地址相关的对应关系,第三OSU设备为其他OSU设备中的任一个OSU设备。The first response information includes a corresponding relationship related to the network address of the second router, and the third OSU device is any one of the other OSU devices.
可以理解的,在其他OSU设备接收到第一OSU设备发送的第二请求信息后,其他OSU设备可以根据第二请求信息包括的第二路由器的网络地址,判断自身是否存储有第二路由器的网络地址相关的对应关系。若自身存储有第二路由器的网络地址相关的对应关系,则向第一OSU设备发送第一响应信息。It can be understood that after the other OSU devices receive the second request information sent by the first OSU device, the other OSU devices can determine whether they have stored the corresponding relationship related to the network address of the second router according to the network address of the second router included in the second request information. If they have stored the corresponding relationship related to the network address of the second router, they send the first response information to the first OSU device.
S205、向第一路由器发送第二路由器的网络地址相关的对应关系。S205: Send the corresponding relationship related to the network address of the second router to the first router.
应理解,向第一路由器发送第二路由器的网络地址相关的对应关系,也就是向第一路由器发送与第二路由器连接的第二OSU设备的通信地址,以便于第一路由器根据第二OSU设备的通信地址,确定与第二OSU设备之间的最短传输路径,自动建立与第二OSU设备的连接,进而向第二OSU设备传输数据包,能够减少第一路由器与第二OSU设备建立连接所消耗的时间,也即能够提升数据包的传输效率,实现了IP层网络与光层网络的高效协同。It should be understood that sending the corresponding relationship related to the network address of the second router to the first router, that is, sending the communication address of the second OSU device connected to the second router to the first router, so that the first router can determine the shortest transmission path between the second OSU device according to the communication address of the second OSU device, automatically establish a connection with the second OSU device, and then transmit data packets to the second OSU device, can reduce the time consumed by the first router to establish a connection with the second OSU device, that is, can improve the transmission efficiency of data packets, and realize efficient collaboration between the IP layer network and the optical layer network.
进一步的,在向第一路由器发送第二路由器的网络地址相关的对应关系的同时,第一OSU设备可以存储第二路由器的网络地址相关的对应关系,也即实时补充与更新第一OSU自身存储的通信网络中OSU设备的通信地址与路由器的网络地址之间的对应关系,以便于第一路由器再次向第二路由器传输数据时,可以根据已更新的对应关系,快速的建立与第二OSU设备的连接,提升了第一路由器与第二OSU设备建立连接的速率,提升数据包的传输效率。Furthermore, while sending the corresponding relationship related to the network address of the second router to the first router, the first OSU device can store the corresponding relationship related to the network address of the second router, that is, supplement and update in real time the corresponding relationship between the communication address of the OSU device in the communication network and the network address of the router stored by the first OSU itself, so that when the first router transmits data to the second router again, it can quickly establish a connection with the second OSU device according to the updated corresponding relationship, thereby improving the rate at which the first router establishes a connection with the second OSU device and improving the transmission efficiency of data packets.
S206、若自身存储有第二路由器的网络地址相关的对应关系,向第一路由器发送第二路由器的网络地址相关的对应关系。S206: If the corresponding relationship related to the network address of the second router is stored in the first router, the corresponding relationship related to the network address of the second router is sent to the first router.
若第一OSU设备自身存储有第二路由器的网络地址相关的对应关系,代表第一OSU设备存储有与第二路由器连接的第二OSU设备的通信地址,第一OSU设备可以向第一路由器发送第二OSU设备的通信地址。If the first OSU device itself stores a corresponding relationship related to the network address of the second router, it means that the first OSU device stores the communication address of the second OSU device connected to the second router, and the first OSU device can send the communication address of the second OSU device to the first router.
示例性的,若第二路由器的网络地址为Net-5,则根据Net-5遍历上述表2,确定自身存储有第二路由器的网络地址相关的对应关系,且与第二路由器的网络地址Net-5具有对应关系的第二OSU设备的通信地址为OSU-UUID-C,则第一OSU设备向第二路由器发送第二OSU设备的通信地址OSU-UUID-C。Exemplarily, if the network address of the second router is Net-5, then traverse the above Table 2 according to Net-5 to determine that the corresponding relationship related to the network address of the second router is stored in itself, and the communication address of the second OSU device that has a corresponding relationship with the network address Net-5 of the second router is OSU-UUID-C, then the first OSU device sends the communication address OSU-UUID-C of the second OSU device to the second router.
在一些实施例中,如图4所示,上述步骤S101中关于获取第一OSU设备的通信地址可以具体实现为下述步骤S301-步骤S304。In some embodiments, as shown in FIG. 4 , the acquisition of the communication address of the first OSU device in the above step S101 may be specifically implemented as the following steps S301 to S304 .
S301、接收地址分配设备通过广播方式发送的为第一OSU设备分配的第一通信地址。S301: Receive a first communication address allocated to a first OSU device and sent by an address allocation device in a broadcast manner.
在一些实施例中,当一个OSU设备加入通信网络时,可以向通信网络中发送一个发现discover广播报文,以此来发现通信网络中的地址分配设备。地址分配设备接收到discover广播报文后,可以根据自身地址资源池的使用情况,通过广播方式向第一OSU设备发送为第一OSU设备分配的第一通信地址。进而,第一OSU设备接收到地址分配设备发送的第一通信地址。In some embodiments, when an OSU device joins a communication network, it can send a discover broadcast message to the communication network to discover the address allocation device in the communication network. After the address allocation device receives the discover broadcast message, it can send the first communication address allocated to the first OSU device to the first OSU device by broadcasting according to the usage of its own address resource pool. Then, the first OSU device receives the first communication address sent by the address allocation device.
S302、向地址分配设备发送第三请求信息。S302: Send third request information to the address allocation device.
在第一OSU设备接收到地址分配设备发送的第一通信地址后,第一OSU设备可以向地址分配设备发送包括第一通信地址的第三请求信息,其中,第三请求信息用于请求地址分配设备判断第一通信地址是否已被分配。After the first OSU device receives the first communication address sent by the address allocation device, the first OSU device may send third request information including the first communication address to the address allocation device, wherein the third request information is used to request the address allocation device to determine whether the first communication address has been allocated.
可以理解的,由于地址分配设备是以广播的形式向第一OSU设备发送为第一OSU设备分配的第一通信地址,故通信网络中的其他OSU设备也可以接收到第一通信地址,若有一个OSU设备也为新加入通信网络的OSU设备,则此OSU设备也可能将第一通信地址作为地址分配设备为其分配的通信地址,故在第一OSU设备接收到地址分配设备发送的第一通信地址后,第一OSU设备可以向地址分配设备发送包括第一通信地址的第三请求信息,以请求地址分配设备确定第一通信地址是否已被分配给其他OSU设备。It can be understood that since the address allocation device sends the first communication address allocated to the first OSU device to the first OSU device in the form of broadcast, other OSU devices in the communication network can also receive the first communication address. If there is an OSU device that is also a newly added OSU device to the communication network, then this OSU device may also use the first communication address as the communication address allocated to it by the address allocation device. Therefore, after the first OSU device receives the first communication address sent by the address allocation device, the first OSU device can send a third request information including the first communication address to the address allocation device to request the address allocation device to determine whether the first communication address has been allocated to other OSU devices.
S303、若接收到地址分配设备发送的确认未分配信息,向其他OSU设备发送包括第一通信地址的地址解析请求。S303: If confirmation information of non-allocation sent by the address allocation device is received, an address resolution request including the first communication address is sent to other OSU devices.
在一些实施例中,若地址分配设备接收到第一OSU设备发送的第三请求信息后,确定第一通信地址已被分配,则地址分配设备仍以广播形式向第一OSU设备发送重新分配的通信地址。In some embodiments, if the address allocation device receives the third request information sent by the first OSU device and determines that the first communication address has been allocated, the address allocation device still sends the reallocated communication address to the first OSU device in a broadcast form.
在一些实施例中,若地址分配设备确定第一通信地址未被分配,则第一OSU设备接收到地址分配设备发送的确认未分配信息,进而,第一OSU设备根据确认未分配信息确定第一通信地址未被分配。In some embodiments, if the address allocation device determines that the first communication address is not allocated, the first OSU device receives confirmation of non-allocation information sent by the address allocation device, and then the first OSU device determines that the first communication address is not allocated according to the confirmation of non-allocation information.
可选的,在第一OSU设备确定第一通信地址未被分配之后,为了提升确认第一通信地址未被分配的准确性,第一OSU设备可以向其他OSU设备发送包括第一通信地址的地址解析请求,地址解析请求用于请求其他OSU设备判断第一通信地址是否允许使用。Optionally, after the first OSU device determines that the first communication address is not allocated, in order to improve the accuracy of confirming that the first communication address is not allocated, the first OSU device may send an address resolution request including the first communication address to other OSU devices, and the address resolution request is used to request other OSU devices to determine whether the first communication address is allowed to be used.
可以理解的,若由于某种原因导致地址分配设备出现故障,在地址分配设备将第一通信地址分配给某一个OSU设备且某一个OSU设备正在使用第一通信地址的情况下,地址分配设备又将第一通信地址分配给了第一OSU设备,如此会造成在之后的路由器传输数据包时路由器根据错的对应关系建立与错的OSU设备的连接,导致数据包传输错误,进而会造成数据包传输时延的增加,影响用户体验。所以为了提升确认第一通信地址未被分配的准确性,第一OSU设备可以向其他OSU设备发送包括第一通信地址的地址解析请求,以请求其他OSU设备判断第一通信地址是否已被使用。It is understandable that if the address allocation device fails for some reason, when the address allocation device allocates the first communication address to a certain OSU device and a certain OSU device is using the first communication address, the address allocation device allocates the first communication address to the first OSU device again. This will cause the router to establish a connection with the wrong OSU device according to the wrong correspondence when the router transmits the data packet later, resulting in data packet transmission errors, which will in turn increase the data packet transmission delay and affect the user experience. Therefore, in order to improve the accuracy of confirming that the first communication address has not been allocated, the first OSU device can send an address resolution request including the first communication address to other OSU devices to request other OSU devices to determine whether the first communication address has been used.
S304、若在预设时长内未接收到其他OSU设备中任一个OSU设备发送的第二响应信息,确定第一通信地址允许使用,将第一通信地址作为第一OSU设备的通信地址。S304: If no second response information is received from any of the other OSU devices within the preset time period, it is determined that the first communication address is allowed to be used, and the first communication address is used as the communication address of the first OSU device.
其中,第二响应信息用于指示第一通信地址已被使用,预设时长可以是通信网络的管理人员预先设定的,例如,预设时长可以是10秒。The second response information is used to indicate that the first communication address has been used, and the preset time length may be preset by the administrator of the communication network, for example, the preset time length may be 10 seconds.
应理解,若第一通信地址未被其他OSU设备所使用,则其他OSU设备在接收到包括第一通信地址的地址解析请求之后,不会对地址解析请求作出回应。故在预设时长内未接收到其他OSU设备中任一个OSU设备发送的第二响应信息时,确定第一通信地址未被其他OSU设备使用,也即确定第一通信地址允许使用,进而将第一通信地址作为第一OSU设备的通信地址。It should be understood that if the first communication address is not used by other OSU devices, then other OSU devices will not respond to the address resolution request after receiving the address resolution request including the first communication address. Therefore, when the second response information sent by any of the other OSU devices is not received within the preset time, it is determined that the first communication address is not used by other OSU devices, that is, it is determined that the first communication address is allowed to be used, and then the first communication address is used as the communication address of the first OSU device.
可选的,若在预设时长内接收到其他OSU设备中任一个OSU设备发送的第二响应信息,则确定第一通信地址已被该OSU设备所使用,也即确定第一通信地址不允许使用,第一OSU设备可以向地址分配设备发送第四请求信息,其中,第四请求信息用于请求地址分配设备重新分配一个通信地址。Optionally, if a second response message is received from any other OSU device within a preset time period, it is determined that the first communication address has been used by the OSU device, that is, it is determined that the first communication address is not allowed to be used. The first OSU device can send a fourth request message to the address allocation device, wherein the fourth request message is used to request the address allocation device to reallocate a communication address.
在一些实施例中,当第一OSU设备将第一通信地址作为自身的通信地址后,在第一OSU设备重启的情况下,在第一OSU设备重启之后,第一OSU设备会自动向地址分配设备发送第七请求信息,第七请求信息用于请求继续使用第一通信地址作为第一OSU设备的通信地址。In some embodiments, when the first OSU device uses the first communication address as its own communication address, when the first OSU device is restarted, after the first OSU device is restarted, the first OSU device will automatically send a seventh request message to the address allocation device, and the seventh request message is used to request to continue using the first communication address as the communication address of the first OSU device.
可选的,地址分配设备接收到第一OSU设备发送的第七请求信息之后,若确定第一通信地址未被分配出去,则向第一OSU设备发送允许使用信息。第一OSU设备接收到地址分配设备发送的允许使用信息之后,则继续将第一通信地址作为自身的通信地址。Optionally, after receiving the seventh request information sent by the first OSU device, if the address allocation device determines that the first communication address has not been allocated, it sends permission information to the first OSU device. After receiving the permission information sent by the address allocation device, the first OSU device continues to use the first communication address as its own communication address.
可选的,若地址分配设备确定第一通信地址已分配出去,则地址分配设备向第一OSU设备发送不允许使用信息。第一OSU设备接收到地址分配设备发送的不允许使用信息之后,可以重新向地址分配设备发送上述discover广播报文,也即再次执行上述步骤S301-步骤S304,在此不再一一赘述。Optionally, if the address allocation device determines that the first communication address has been allocated, the address allocation device sends a non-use information to the first OSU device. After the first OSU device receives the non-use information sent by the address allocation device, it can resend the above-mentioned discover broadcast message to the address allocation device, that is, perform the above-mentioned steps S301-S304 again, which will not be repeated here.
下面结合图1所示的通信系统,对本申请提供的一种网络协同方法进行举例说明。The following is an example of a network collaboration method provided by the present application, in conjunction with the communication system shown in FIG1 .
假设路由器121作为源路由器需要向路由器123(路由器123也即目的路由器)传输数据包,也即OSU设备111作为第一OSU设备。Assume that the router 121 as a source router needs to transmit a data packet to the router 123 (the router 123 is also the destination router), that is, the OSU device 111 is the first OSU device.
首先路由器121向OSU设备111发送第一请求信息。OSU设备111接收到路由器121发送的第一请求信息之后,根据第一请求信息包括的路由器123的网络地址,查询自身存储的OSU设备的通信地址与路由器的网络地址之间的对应关系。假设路由器123的网络地址为Net-7,OSU设备111自身存储的OSU设备的通信地址与路由器的网络地址之间的对应关系可以如上述表2所示,经过查找对比,未在上述表2中查找到Net-7相关的对应关系,确定OSU设备111自身未存储有路由器123的网络地址相关的对应关系,也即OSU设备111未存储有与路由器123的网络地址与OSU设备的通信地址之间的对应关系。OSU设备111可以向OSU设备112、OSU设备113、OSU设备114和OSU设备115发送包括路由器123的网络地址Net-7的第二请求信息。First, the router 121 sends a first request message to the OSU device 111. After receiving the first request message sent by the router 121, the OSU device 111 queries the correspondence between the communication address of the OSU device stored in itself and the network address of the router according to the network address of the router 123 included in the first request message. Assuming that the network address of the router 123 is Net-7, the correspondence between the communication address of the OSU device stored in the OSU device 111 and the network address of the router can be as shown in the above Table 2. After searching and comparing, no corresponding relationship related to Net-7 is found in the above Table 2, and it is determined that the OSU device 111 itself does not store the corresponding relationship related to the network address of the router 123, that is, the OSU device 111 does not store the corresponding relationship between the network address of the router 123 and the communication address of the OSU device. The OSU device 111 can send a second request message including the network address Net-7 of the router 123 to the OSU devices 112, 113, 114 and 115.
假设OSU设备112接收到OSU设备111发送的第二请求信息之后,根据第二请求信息包括的路由器123的网络地址Net-7,在自身存储的OSU设备的通信地址与路由器的网络地址之间的对应关系中查找到路由器123的网络地址Net-7相关的对应关系,且对应关系指示的OSU设备的通信地址为OSU-UUID-G,也就是说OSU设备113的通信地址为OSU-UUID-G,则OSU设备112作为第三OSU设备向OSU设备111发送包括OSU设备113的通信地址的第一响应信息。Assume that after receiving the second request information sent by the OSU device 111, the OSU device 112 searches for the corresponding relationship between the communication address of the OSU device stored in itself and the network address of the router in accordance with the network address Net-7 of the router 123 included in the second request information, and the communication address of the OSU device indicated by the corresponding relationship is OSU-UUID-G, that is, the communication address of the OSU device 113 is OSU-UUID-G. Then, the OSU device 112, as the third OSU device, sends a first response information including the communication address of the OSU device 113 to the OSU device 111.
OSU设备111接收到OSU设备112发送的包括OSU设备113的通信地址的第一响应信息之后,向路由器121发送OSU设备113的通信地址,并更新存储OSU设备113的通信地址和路由器123的网络地址之间的对应关系。After receiving the first response information including the communication address of the OSU device 113 sent by the OSU device 112, the OSU device 111 sends the communication address of the OSU device 113 to the router 121, and updates the corresponding relationship between the communication address of the OSU device 113 and the network address of the router 123.
示例性的,OSU设备111更新存储后的OSU设备的通信地址与路由器的网络地址之间的对应关系可以如下述表3所示。Exemplarily, the correspondence between the communication address of the OSU device and the network address of the router after the OSU device 111 updates and stores the address may be as shown in Table 3 below.
表3table 3
上述主要从各个节点之间交互的角度对本申请提供的方案进行了介绍。可以理解的是,各个节点,例如管理设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The above mainly introduces the solution provided by the present application from the perspective of the interaction between each node. It is understandable that each node, such as a management device, includes a hardware structure and/or software module corresponding to the execution of each function in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of the present invention.
本申请可以根据上述方法示例对管理设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The present application can divide the functional modules of the management device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one processing module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the present application is schematic and is only a logical functional division. There may be other division methods in actual implementation.
如图5所示,本申请实施例提供了一种网络协同装置,用于执行如图2、图3和图4中任一项所示的网络协同方法。该网络协同装置2000包括:通信单元2001和处理单元2002。在一些实施例中,上述网络协同装置2000还可以包括存储单元2003。As shown in FIG5 , an embodiment of the present application provides a network collaboration device for executing the network collaboration method shown in any one of FIG2 , FIG3 and FIG4 . The network collaboration device 2000 includes: a communication unit 2001 and a processing unit 2002. In some embodiments, the network collaboration device 2000 may also include a storage unit 2003.
通信单元2001,用于获取第一OSU设备的通信地址,以及从第一OSU设备连接的第一路由器获取第一路由器的网络地址。The communication unit 2001 is used to obtain the communication address of the first OSU device, and obtain the network address of the first router from the first router connected to the first OSU device.
处理单元2002,用于建立第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系。The processing unit 2002 is configured to establish a correspondence between the communication address of the first OSU device and the network address of the first router.
通信单元2001,还用于将第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系同步至通信网络中的其他OSU设备中。The communication unit 2001 is further used to synchronize the correspondence between the communication address of the first OSU device and the network address of the first router to other OSU devices in the communication network.
在一些实施例中,通信单元2001,还用于接收第一路由器发送的第一请求信息,第一请求信息包括第二路由器的网络地址,第一请求用于请求与第二路由器连接的第二OSU设备的通信地址。In some embodiments, the communication unit 2001 is further used to receive a first request message sent by the first router, the first request message includes a network address of the second router, and the first request is used to request a communication address of a second OSU device connected to the second router.
处理单元2002,还用于根据第二路由器的网络地址,判断自身是否存储有第二路由器的网络地址相关的对应关系。The processing unit 2002 is further configured to determine, based on the network address of the second router, whether it has stored a corresponding relationship related to the network address of the second router.
通信单元2001,还用于:若自身未存储有第二路由器的网络地址相关的对应关系,向其他OSU设备发送包括第二路由器的网络地址的第二请求信息;接收第三OSU设备发送的第一响应信息,第一响应信息包括第二路由器的网络地址相关的对应关系,第三OSU设备为其他OSU设备中的任一个OSU设备;向第一路由器发送第二路由器的网络地址相关的对应关系,并存储第二路由器的网络地址相关的对应关系。The communication unit 2001 is further used for: if the corresponding relationship related to the network address of the second router is not stored in the communication unit 2001, sending a second request information including the network address of the second router to other OSU devices; receiving a first response information sent by a third OSU device, the first response information including the corresponding relationship related to the network address of the second router, and the third OSU device is any one of the other OSU devices; sending the corresponding relationship related to the network address of the second router to the first router, and storing the corresponding relationship related to the network address of the second router.
在一些实施例中,通信单元2001,具体用于:接收地址分配设备通过广播方式发送的为第一OSU设备分配的第一通信地址;向地址分配设备发送第三请求信息,第三请求信息用于请求判断第一通信地址是否已被分配;若接收到地址分配设备发送的确认未分配信息,向其他OSU设备发送包括第一通信地址的地址解析请求。In some embodiments, the communication unit 2001 is specifically used to: receive a first communication address allocated to a first OSU device by an address allocation device via broadcast; send a third request message to the address allocation device, the third request message being used to request whether the first communication address has been allocated; if confirmation of non-allocation information sent by the address allocation device is received, send an address resolution request including the first communication address to other OSU devices.
处理单元2002,具体用于若在预设时长内未接收到其他OSU设备中任一个OSU设备发送的第二响应信息,确定第一通信地址允许使用,将第一通信地址作为第一OSU设备的通信地址,第二响应信息用于指示第一通信地址已被使用。Processing unit 2002 is specifically used to determine that the first communication address is allowed to be used if the second response information sent by any other OSU device is not received within a preset time period, and use the first communication address as the communication address of the first OSU device. The second response information is used to indicate that the first communication address has been used.
在一些实施例中,通信单元2001,还用于若在预设时长内接收到其他OSU设备中任一个OSU设备发送的第二响应信息,确定第一通信地址不允许使用,向地址分配设备发送第四请求信息,第四请求信息用于请求重新分配通信地址。In some embodiments, the communication unit 2001 is also used to send a fourth request message to the address allocation device if a second response message sent by any other OSU device is received within a preset time period, and determine that the first communication address is not allowed to be used, and the fourth request message is used to request reallocation of the communication address.
在一些实施例中,通信单元2001,具体用于向其他OSU设备发送包括第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系的第五请求信息,第五请求信息用于请求存储第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系。In some embodiments, the communication unit 2001 is specifically used to send a fifth request message including the correspondence between the communication address of the first OSU device and the network address of the first router to other OSU devices, and the fifth request message is used to request storage of the correspondence between the communication address of the first OSU device and the network address of the first router.
在一些实施例中,存储单元2003,用于存储第一OSU设备的通信地址与第一路由器的网络地址之间的对应关系。In some embodiments, the storage unit 2003 is used to store the correspondence between the communication address of the first OSU device and the network address of the first router.
在一些实施例中,存储单元2003,还用于存储第二路由器的网络地址相关的对应关系。In some embodiments, the storage unit 2003 is further used to store the corresponding relationship related to the network address of the second router.
图5中的单元也可以称为模块,例如,处理单元可以称为处理模块。The units in FIG. 5 may also be referred to as modules. For example, a processing unit may be referred to as a processing module.
图5中的各个单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。存储计算机软件产品的存储介质包括:U盘、移动硬盘、只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the various units in FIG. 5 are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The storage medium for storing computer software products includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), disk or optical disk and other media that can store program codes.
本申请实施例还提供一种网络设备的硬件结构示意图,如图6所示,该网络设备3000包括处理器3001,可选的,还包括与处理器3001连接的存储器3002和通信接口3003。处理器3001、存储器3002和通信接口3003通过总线3004连接。The embodiment of the present application also provides a hardware structure diagram of a network device, as shown in FIG6 , the network device 3000 includes a processor 3001, and optionally, also includes a memory 3002 and a communication interface 3003 connected to the processor 3001. The processor 3001, the memory 3002 and the communication interface 3003 are connected via a bus 3004.
处理器3001可以是中央处理器(central processing unit,CPU),通用处理器网络处理器(network processor,NP)、数字信号处理器(digital signal processing,DSP)、微处理器、微控制器、可编程逻辑器件(programmable logic device,PLD)或它们的任意组合。处理器3001还可以是其它任意具有处理功能的装置,例如电路、器件或软件模块。处理器3001也可以包括多个CPU,并且处理器3001可以是一个单核(single-CPU)处理器,也可以是多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路或用于处理数据(例如计算机程序指令)的处理核。Processor 3001 may be a central processing unit (CPU), a general-purpose processor network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. Processor 3001 may also be any other device having a processing function, such as a circuit, a device, or a software module. Processor 3001 may also include multiple CPUs, and processor 3001 may be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. The processor here may refer to one or more devices, circuits, or processing cores for processing data (such as computer program instructions).
存储器3002可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备、随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compactdisc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,本申请实施例对此不作任何限制。存储器3002可以是独立存在,也可以和处理器3001集成在一起。其中,存储器3002中可以包含计算机程序代码。处理器3001用于执行存储器3002中存储的计算机程序代码,从而实现本申请实施例提供的方法。The memory 3002 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer, and the present embodiment of the application does not impose any restrictions on this. The memory 3002 may exist independently or be integrated with the processor 3001. Among them, the memory 3002 may contain a computer program code. The processor 3001 is used to execute the computer program code stored in the memory 3002, thereby realizing the method provided in the embodiment of the present application.
通信接口3003可以用于与其他设备或通信网络通信(如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等)。通信接口3003可以是模块、电路、收发器或者任何能够实现通信的装置。The communication interface 3003 can be used to communicate with other devices or communication networks (such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc.) The communication interface 3003 can be a module, a circuit, a transceiver or any device capable of achieving communication.
总线3004可以是外设部件互连标准(peripheral component interconnect,PCI)总线或扩展工业标准结构(extended industry standard architecture,EISA)总线等。总线3004可以分为地址总线、数据总线、控制总线等。为便于表示,图6中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 3004 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus 3004 may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, FIG6 only uses one thick line, but does not mean that there is only one bus or one type of bus.
本申请实施例还提供了一种计算机可读存储介质,包括计算机执行指令,当其在计算机上运行时,使得计算机执行上述实施例提供的任意一种方法。The embodiment of the present application also provides a computer-readable storage medium, including computer-executable instructions, which, when executed on a computer, enable the computer to execute any one of the methods provided in the above embodiments.
本申请实施例还提供了一种包含计算机执行指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述实施例提供的任意一种方法。The embodiment of the present application also provides a computer program product including computer-executable instructions, which, when executed on a computer, enables the computer to execute any one of the methods provided in the above embodiments.
本申请实施例还提供了一种芯片,包括:处理器和接口,处理器通过接口与存储器耦合,当处理器执行存储器中的计算机程序或计算机执行指令时,使得上述实施例提供的任意一种方法被执行。An embodiment of the present application also provides a chip, including: a processor and an interface, wherein the processor is coupled to a memory via the interface, and when the processor executes a computer program or a computer execution instruction in the memory, any one of the methods provided in the above embodiments is executed.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机执行指令。在计算机上加载和执行计算机执行指令时,全部或部分地产生按照本申请实施例所述的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机执行指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机执行指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer-executable instructions. When the computer-executable instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer-executable instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer-executable instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more servers that can be integrated with the medium. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state disk (SSD)), etc.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看附图、公开内容、以及所附权利要求书,可理解并实现公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present application is described herein in conjunction with various embodiments, in the process of implementing the claimed application, those skilled in the art may understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple situations. A single processor or other unit may implement several functions listed in a claim. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。Although the present application has been described in conjunction with specific features and embodiments thereof, it is obvious that various modifications and combinations may be made thereto without departing from the spirit and scope of the present application. Accordingly, this specification and the drawings are merely exemplary illustrations of the present application as defined by the appended claims, and are deemed to have covered any and all modifications, variations, combinations or equivalents within the scope of the present application. Obviously, those skilled in the art may make various modifications and variations to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应该以权利要求的保护范围为准。The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims (8)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210395014.2A CN114827781B (en) | 2022-04-14 | 2022-04-14 | Network collaboration method, device, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210395014.2A CN114827781B (en) | 2022-04-14 | 2022-04-14 | Network collaboration method, device, equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN114827781A CN114827781A (en) | 2022-07-29 |
| CN114827781B true CN114827781B (en) | 2024-04-09 |
Family
ID=82535752
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202210395014.2A Active CN114827781B (en) | 2022-04-14 | 2022-04-14 | Network collaboration method, device, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN114827781B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116668254B (en) * | 2023-07-26 | 2023-10-31 | 中国电信股份有限公司 | Network cooperation method, routing device, optical transmission device, and storage medium |
| CN119363278B (en) * | 2024-10-15 | 2025-06-24 | 北京智芯微电子科技有限公司 | A time synchronization method for cross-OSU heterogeneous communication network and time-sensitive network therein |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018090716A1 (en) * | 2016-11-21 | 2018-05-24 | 中兴通讯股份有限公司 | Method, apparatus and system for determining path for fusion of ip network and optical transport network |
| CN111147367A (en) * | 2019-12-27 | 2020-05-12 | 国网江苏省电力有限公司信息通信分公司 | A kind of IP-optical network routing coordination method and device |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8036530B2 (en) * | 2007-03-20 | 2011-10-11 | Arris Group, Inc. | Method and system for transporting DOCSIS communication signals over a passive optical network |
| US10616175B2 (en) * | 2018-05-01 | 2020-04-07 | Hewlett Packard Enterprise Development Lp | Forwarding information to forward data to proxy devices |
-
2022
- 2022-04-14 CN CN202210395014.2A patent/CN114827781B/en active Active
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018090716A1 (en) * | 2016-11-21 | 2018-05-24 | 中兴通讯股份有限公司 | Method, apparatus and system for determining path for fusion of ip network and optical transport network |
| CN111147367A (en) * | 2019-12-27 | 2020-05-12 | 国网江苏省电力有限公司信息通信分公司 | A kind of IP-optical network routing coordination method and device |
Non-Patent Citations (1)
| Title |
|---|
| 基于SDN的IP网络与光网络协同编排系统;鞠卫国;黄善国;袁源;;电信快报;20190510(第05期);全文 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN114827781A (en) | 2022-07-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP4258598A1 (en) | Computing power application traffic forwarding method and apparatus | |
| US10680928B2 (en) | Multi-stream transmission method and device in SDN network | |
| CN108293022B (en) | Method, device and system for transmitting message | |
| CN103812778B (en) | Method and device for generating flow entry | |
| JP6538986B2 (en) | Virtual machine packet control | |
| CN114827781B (en) | Network collaboration method, device, equipment and storage medium | |
| WO2017032300A1 (en) | Data transmission method, virtual network management apparatus, and data transmission system | |
| CN108965132A (en) | A kind of method and device selecting path | |
| US9917728B2 (en) | Software-based fabric enablement | |
| CN102291465B (en) | Load balancing method, device and system | |
| CN114553760B (en) | Path weight distribution method and device | |
| CN112702700B (en) | A method and device for resource allocation | |
| CN107615721A (en) | Transport Software Defined Networking (SDN)-Logical Link Aggregation (LAG) membership signaling | |
| WO2024235251A1 (en) | Network management method, communication apparatus, and storage medium | |
| CN110636149B (en) | Remote access method, device, router and storage medium | |
| CN112003685B (en) | A flexible Ethernet message forwarding method and device | |
| CN116455817A (en) | Software-defined cloud network fusion architecture and route implementation method | |
| CN112866013B (en) | Network configuration method, device and system | |
| CN108235158A (en) | The treating method and apparatus of optical-fiber network multicast service | |
| CN116016307A (en) | A method, device, and electronic device for transferring computing power network parameters | |
| CN114938345A (en) | Link discovery method, device and storage medium | |
| WO2022057487A1 (en) | Path identifier allocation method, system, apparatus and device, and storage medium | |
| CN115442680A (en) | Optical signal transmission method and device, first network node, optical interconnection network | |
| CN113872998A (en) | Method and device for building pipeline | |
| EP4322494A1 (en) | Data transmission method, apparatus and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |