[go: up one dir, main page]

CN116248573B - Link splicing method, device and storage medium - Google Patents

Link splicing method, device and storage medium Download PDF

Info

Publication number
CN116248573B
CN116248573B CN202211527605.7A CN202211527605A CN116248573B CN 116248573 B CN116248573 B CN 116248573B CN 202211527605 A CN202211527605 A CN 202211527605A CN 116248573 B CN116248573 B CN 116248573B
Authority
CN
China
Prior art keywords
link
sub
logical
target
logical node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211527605.7A
Other languages
Chinese (zh)
Other versions
CN116248573A (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211527605.7A priority Critical patent/CN116248573B/en
Publication of CN116248573A publication Critical patent/CN116248573A/en
Application granted granted Critical
Publication of CN116248573B publication Critical patent/CN116248573B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/26Route discovery packet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/48Routing tree calculation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application provides a link splicing method, a device and a storage medium, relates to the technical field of communication, and is used for solving the problem that a common technology cannot accurately splice a plurality of sub-links in a transmission link. The method comprises the following steps: acquiring a plurality of link information corresponding to a plurality of sub-links one by one; when the link termination information of the other sub-links does not exist the link termination information which is the same as the link start information of the target sub-link, determining the target sub-link as the first sub-link of the target link; and determining address information of other sub-links according to the first sub-link and the logic topology tree, and splicing the plurality of sub-links based on the address information of the other sub-links and the first sub-link to obtain the target link. The application can improve the accuracy of splicing the plurality of sub-links in the transmission link.

Description

一种链路拼接方法、装置及存储介质Link splicing method, device and storage medium

技术领域Technical Field

本申请涉及通信技术领域,尤其涉及一种链路拼接方法、装置及存储介质。The present application relates to the field of communication technology, and in particular to a link splicing method, device and storage medium.

背景技术Background technique

随着网络的不断发展,传输网络中网络设备的种类和数量不断增加。相应的,网络设备之间的链路数据也在不断增加。为了实现对一条完整的传输链路中链路数据的监控与维护,需要对这条完整的传输链路中的多条子链路进行拼接。With the continuous development of the network, the types and number of network devices in the transmission network are increasing. Correspondingly, the link data between network devices is also increasing. In order to monitor and maintain the link data in a complete transmission link, it is necessary to splice multiple sub-links in this complete transmission link.

因此,如何准确的对传输链路中的多条子链路进行拼接,是目前亟需解决的问题。Therefore, how to accurately splice multiple sub-links in a transmission link is a problem that needs to be solved urgently.

发明内容Summary of the invention

本申请提供一种链路拼接方法、装置及存储介质,用于解决通用技术中无法准确的对传输链路中的多条子链路进行拼接的问题。The present application provides a link splicing method, device and storage medium, which are used to solve the problem that multiple sub-links in a transmission link cannot be accurately spliced in the general technology.

为达到上述目的,本申请采用如下技术方案:In order to achieve the above objectives, this application adopts the following technical solutions:

第一方面,提供一种链路拼接方法,包括:获取与多个子链路一一对应的多个链路信息;链路信息包括链路起始信息和链路终止信息;当其他子链路的链路终止信息中,不存在与目标子链路的链路起始信息相同的链路终止信息时,将目标子链路确定为目标链路的第一个子链路;其他子链路为多个子链路中,除目标子链路以外的子链路;根据第一个子链路和逻辑拓扑树,确定其他子链路的地址信息,并基于其他子链路的地址信息和第一个子链路对多个子链路进行拼接,以得到目标链路;逻辑拓扑树包括多个逻辑节点;逻辑节点用于确定与逻辑节点匹配成功的子链路的下一个子链路的地址信息。In a first aspect, a link splicing method is provided, comprising: obtaining a plurality of link information corresponding to a plurality of sub-links one by one; the link information comprising link start information and link termination information; when link termination information of other sub-links does not contain link termination information identical to the link start information of a target sub-link, determining the target sub-link as the first sub-link of the target link; the other sub-links are sub-links other than the target sub-link among the plurality of sub-links; determining address information of the other sub-links according to the first sub-link and a logical topology tree, and splicing the plurality of sub-links based on the address information of the other sub-links and the first sub-link to obtain the target link; the logical topology tree comprising a plurality of logical nodes; the logical node is used to determine the address information of the next sub-link of the sub-link that successfully matches the logical node.

可选的,根据第一个子链路和逻辑拓扑树,确定其他子链路的地址信息的方法具体包括:将第n个子链路的链路终止信息输入到逻辑拓扑树中;n为正整数;当逻辑拓扑树中包括与第n个子链路匹配成功的逻辑节点时,确定目标逻辑节点是否输出第n+1个子链路的地址信息;目标逻辑节点为与第n个子链路匹配成功的逻辑节点;当目标逻辑节点输出第n+1个子链路的地址信息时,重复将第n+1个子链路的链路终止信息输入到逻辑拓扑树中,直到逻辑拓扑树不能匹配到子链路;当逻辑拓扑树中不包括与第n个子链路匹配成功的逻辑节点,或者目标逻辑节点不能输出第n+1个子链路时,将第n个子链路确定为目标链路的最后一个子链路;根据逻辑拓扑树输出的子链路的地址信息,确定其他子链路的地址信息。Optionally, the method for determining the address information of other sub-links based on the first sub-link and the logical topology tree specifically includes: inputting the link termination information of the nth sub-link into the logical topology tree; n is a positive integer; when the logical topology tree includes a logical node that successfully matches the nth sub-link, determining whether the target logical node outputs the address information of the n+1th sub-link; the target logical node is a logical node that successfully matches the nth sub-link; when the target logical node outputs the address information of the n+1th sub-link, repeatedly inputting the link termination information of the n+1th sub-link into the logical topology tree until the logical topology tree cannot match the sub-link; when the logical topology tree does not include a logical node that successfully matches the nth sub-link, or the target logical node cannot output the n+1th sub-link, determining the nth sub-link as the last sub-link of the target link; and determining the address information of other sub-links based on the address information of the sub-link output by the logical topology tree.

可选的,逻辑拓扑树包括多个逻辑层;每个逻辑节点包括第一条件;第一条件包括:第n个子链路的链路连接类型与逻辑节点配置的链路连接类型相同,和/或,第n个子链路的时隙信息与逻辑节点配置的时隙信息相同;该链路拼接方法还包括:当第n个子链路的链路终止信息符合第m个逻辑层中第一逻辑节点对应的第一条件时,将第一逻辑节点确定为目标逻辑节点;m为正整数;当第n个子链路的链路终止信息不符合第m个逻辑层中第一逻辑节点对应的第一条件时,确定第m+1个逻辑层中是否包括满足第一条件的逻辑节点,直到每个逻辑层中都不包括满足第一条件的逻辑节点,确定逻辑拓扑树中不包括与第n个子链路匹配成功的逻辑节点;第m+1个逻辑层为第一逻辑节点的子逻辑层。Optionally, the logical topology tree includes multiple logical layers; each logical node includes a first condition; the first condition includes: the link connection type of the nth sub-link is the same as the link connection type configured for the logical node, and/or, the time slot information of the nth sub-link is the same as the time slot information configured for the logical node; the link splicing method also includes: when the link termination information of the nth sub-link meets the first condition corresponding to the first logical node in the mth logical layer, determining the first logical node as the target logical node; m is a positive integer; when the link termination information of the nth sub-link does not meet the first condition corresponding to the first logical node in the mth logical layer, determining whether the m+1th logical layer includes a logical node that meets the first condition, until each logical layer does not include a logical node that meets the first condition, and determining that the logical topology tree does not include a logical node that successfully matches the nth sub-link; the m+1th logical layer is a sub-logical layer of the first logical node.

可选的,第一逻辑节点包括:匹配算子、选择算子和第二条件;匹配算子用于:确定其余子链路的链路起始信息中,与第n个子链路的链路终止信息相同的链路起始信息对应的子链路;其余子链路为多个子链路中,除第n个子链路以外的子链路;选择算子用于:确定子链路端口号数值最大的子链路;第二条件包括:确定已拼接目标链路的数量是否大于阈值或确定第二子链路是否为已拼接目标链路中的子链路;该链路拼接方法还包括:执行第一逻辑节点的匹配算子;当匹配算子匹配到至少一个第一子链路时,执行第一逻辑节点的选择算子;当选择算子从至少一个第一子链路中选择出第二子链路时,确定第二子链路是否满足第二条件;当第二子链路满足第二条件时,获取第二子链路的地址信息,并将第二子链路的地址信息确定为第n+1个子链路的地址信息。Optionally, the first logical node includes: a matching operator, a selection operator and a second condition; the matching operator is used to: determine the sublink corresponding to the link start information that is the same as the link termination information of the nth sublink in the link start information of the remaining sublinks; the remaining sublinks are sublinks other than the nth sublink among multiple sublinks; the selection operator is used to: determine the sublink with the largest sublink port number value; the second condition includes: determining whether the number of spliced target links is greater than a threshold or determining whether the second sublink is a sublink in the spliced target link; the link splicing method also includes: executing the matching operator of the first logical node; when the matching operator matches at least one first sublink, executing the selection operator of the first logical node; when the selection operator selects the second sublink from at least one first sublink, determining whether the second sublink meets the second condition; when the second sublink meets the second condition, obtaining the address information of the second sublink, and determining the address information of the second sublink as the address information of the n+1th sublink.

可选的,执行第一逻辑节点的匹配算子之后,该链路拼接方法还包括:当匹配算子匹配不到第一子链路时,确定目标逻辑节点是否存在子逻辑层;当匹配算子匹配到至少一个第一子链路,且选择算子从至少一个第一子链路中选择出第二子链路,且第二子链路不满足第二条件时,确定目标逻辑节点是否存在子逻辑层。Optionally, after executing the matching operator of the first logical node, the link splicing method also includes: when the matching operator cannot match the first sub-link, determining whether the target logical node has a sub-logical layer; when the matching operator matches at least one first sub-link, and the selection operator selects a second sub-link from at least one first sub-link, and the second sub-link does not meet the second condition, determining whether the target logical node has a sub-logical layer.

可选的,该链路拼接方法还包括:当目标逻辑节点存在子逻辑层时,确定目标逻辑节点的子逻辑层中是否包括满足第一条件的逻辑节点;当目标逻辑节点不存在子逻辑层时,确定目标逻辑节点不能输出第n+1个子链路。Optionally, the link splicing method further includes: when the target logical node has a sub-logical layer, determining whether the sub-logical layer of the target logical node includes a logical node that meets the first condition; when the target logical node does not have a sub-logical layer, determining that the target logical node cannot output the n+1th sub-link.

第二方面,提供一种链路拼接装置,包括:获取单元和处理单元;获取单元,用于获取与多个子链路一一对应的多个链路信息;链路信息包括链路起始信息和链路终止信息;处理单元,用于当其他子链路的链路终止信息中,不存在与目标子链路的链路起始信息相同的链路终止信息时,将目标子链路确定为目标链路的第一个子链路;其他子链路为多个子链路中,除目标子链路以外的子链路;处理单元,还用于根据第一个子链路和逻辑拓扑树,确定其他子链路的地址信息,并基于其他子链路的地址信息和第一个子链路对多个子链路进行拼接,以得到目标链路;逻辑拓扑树包括多个逻辑节点;逻辑节点用于确定与逻辑节点匹配成功的子链路的下一个子链路的地址信息。In a second aspect, a link splicing device is provided, including: an acquisition unit and a processing unit; the acquisition unit is used to acquire multiple link information corresponding to multiple sub-links one by one; the link information includes link start information and link termination information; the processing unit is used to determine the target sub-link as the first sub-link of the target link when there is no link termination information identical to the link start information of the target sub-link in the link termination information of other sub-links; the other sub-links are sub-links other than the target sub-link among the multiple sub-links; the processing unit is also used to determine the address information of the other sub-links according to the first sub-link and the logical topology tree, and splice the multiple sub-links based on the address information of the other sub-links and the first sub-link to obtain the target link; the logical topology tree includes multiple logical nodes; the logical node is used to determine the address information of the next sub-link of the sub-link that successfully matches the logical node.

可选的,处理单元,用于:将第n个子链路的链路终止信息输入到逻辑拓扑树中;n为正整数;当逻辑拓扑树中包括与第n个子链路匹配成功的逻辑节点时,确定目标逻辑节点是否输出第n+1个子链路的地址信息;目标逻辑节点为与第n个子链路匹配成功的逻辑节点;当目标逻辑节点输出第n+1个子链路的地址信息时,重复将第n+1个子链路的链路终止信息输入到逻辑拓扑树中,直到逻辑拓扑树不能匹配到子链路;当逻辑拓扑树中不包括与第n个子链路匹配成功的逻辑节点,或者目标逻辑节点不能输出第n+1个子链路时,将第n个子链路确定为目标链路的最后一个子链路;根据逻辑拓扑树输出的子链路的地址信息,确定其他子链路的地址信息。Optionally, the processing unit is used to: input the link termination information of the nth sub-link into the logical topology tree; n is a positive integer; when the logical topology tree includes a logical node that successfully matches the nth sub-link, determine whether the target logical node outputs the address information of the n+1th sub-link; the target logical node is the logical node that successfully matches the nth sub-link; when the target logical node outputs the address information of the n+1th sub-link, repeatedly input the link termination information of the n+1th sub-link into the logical topology tree until the logical topology tree cannot match the sub-link; when the logical topology tree does not include a logical node that successfully matches the nth sub-link, or the target logical node cannot output the n+1th sub-link, determine the nth sub-link as the last sub-link of the target link; and determine the address information of other sub-links based on the address information of the sub-links output by the logical topology tree.

可选的,逻辑拓扑树包括多个逻辑层;每个逻辑节点包括第一条件;第一条件包括:第n个子链路的链路连接类型与逻辑节点配置的链路连接类型相同,和/或,第n个子链路的时隙信息与逻辑节点配置的时隙信息相同;处理单元,还用于当第n个子链路的链路终止信息符合第m个逻辑层中第一逻辑节点对应的第一条件时,将第一逻辑节点确定为目标逻辑节点;m为正整数;处理单元,还用于当第n个子链路的链路终止信息不符合第m个逻辑层中第一逻辑节点对应的第一条件时,确定第m+1个逻辑层中是否包括满足第一条件的逻辑节点,直到每个逻辑层中都不包括满足第一条件的逻辑节点,确定逻辑拓扑树中不包括与第n个子链路匹配成功的逻辑节点;第m+1个逻辑层为第一逻辑节点的子逻辑层。Optionally, the logical topology tree includes multiple logical layers; each logical node includes a first condition; the first condition includes: the link connection type of the nth sub-link is the same as the link connection type configured for the logical node, and/or, the time slot information of the nth sub-link is the same as the time slot information configured for the logical node; the processing unit is further used to determine the first logical node as the target logical node when the link termination information of the nth sub-link meets the first condition corresponding to the first logical node in the mth logical layer; m is a positive integer; the processing unit is further used to determine whether the m+1th logical layer includes a logical node that meets the first condition when the link termination information of the nth sub-link does not meet the first condition corresponding to the first logical node in the mth logical layer, until each logical layer does not include a logical node that meets the first condition, and it is determined that the logical topology tree does not include a logical node that successfully matches the nth sub-link; the m+1th logical layer is a sub-logical layer of the first logical node.

可选的,第一逻辑节点包括:匹配算子、选择算子和第二条件;匹配算子用于:确定其余子链路的链路起始信息中,与第n个子链路的链路终止信息相同的链路起始信息对应的子链路;其余子链路为多个子链路中,除第n个子链路以外的子链路;选择算子用于:确定子链路端口号数值最大的子链路;第二条件包括:确定已拼接目标链路的数量是否大于阈值或确定第二子链路是否为已拼接目标链路中的子链路;处理单元,还用于执行第一逻辑节点的匹配算子;处理单元,还用于当匹配算子匹配到至少一个第一子链路时,执行第一逻辑节点的选择算子;处理单元,还用于当选择算子从至少一个第一子链路中选择出第二子链路时,确定第二子链路是否满足第二条件;处理单元,还用于当第二子链路满足第二条件时,获取第二子链路的地址信息,并将第二子链路的地址信息确定为第n+1个子链路的地址信息。Optionally, the first logical node includes: a matching operator, a selection operator and a second condition; the matching operator is used to: determine the sublink corresponding to the link start information that is the same as the link termination information of the nth sublink in the link start information of the remaining sublinks; the remaining sublinks are sublinks other than the nth sublink among multiple sublinks; the selection operator is used to: determine the sublink with the largest sublink port number value; the second condition includes: determining whether the number of spliced target links is greater than a threshold or determining whether the second sublink is a sublink in the spliced target link; the processing unit is also used to execute the matching operator of the first logical node; the processing unit is also used to execute the selection operator of the first logical node when the matching operator matches at least one first sublink; the processing unit is also used to determine whether the second sublink meets the second condition when the selection operator selects the second sublink from at least one first sublink; the processing unit is also used to obtain the address information of the second sublink when the second sublink meets the second condition, and determine the address information of the second sublink as the address information of the n+1th sublink.

可选的,处理单元,还用于当匹配算子匹配不到第一子链路时,确定目标逻辑节点是否存在子逻辑层;处理单元,还用于当匹配算子匹配到至少一个第一子链路,且选择算子从至少一个第一子链路中选择出第二子链路,且第二子链路不满足第二条件时,确定目标逻辑节点是否存在子逻辑层。Optionally, the processing unit is further used to determine whether the target logical node has a sub-logical layer when the matching operator fails to match the first sub-link; the processing unit is further used to determine whether the target logical node has a sub-logical layer when the matching operator matches at least one first sub-link, and the selection operator selects a second sub-link from at least one first sub-link, and the second sub-link does not meet the second condition.

可选的,处理单元,还用于当目标逻辑节点存在子逻辑层时,确定目标逻辑节点的子逻辑层中是否包括满足第一条件的逻辑节点;处理单元,还用于当目标逻辑节点不存在子逻辑层时,确定目标逻辑节点不能输出第n+1个子链路。Optionally, the processing unit is further used to determine whether the sub-logical layer of the target logical node includes a logical node that meets the first condition when the target logical node has a sub-logical layer; the processing unit is further used to determine that the target logical node cannot output the (n+1)th sub-link when the target logical node does not have a sub-logical layer.

第三方面,提供一种链路拼接装置,包括存储器和处理器;存储器用于存储计算机执行指令,处理器与存储器通过总线连接;当链路拼接装置运行时,处理器执行存储器存储的计算机执行指令,以使链路拼接装置执行第一方面所述的链路拼接方法。In a third aspect, a link splicing device is provided, comprising a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory through a bus; when the link splicing device is running, the processor executes the computer execution instructions stored in the memory, so that the link splicing device executes the link splicing method described in the first aspect.

该链路拼接装置可以是网络设备,也可以是网络设备中的一部分装置,例如网络设备中的芯片系统。该芯片系统用于支持网络设备实现第一方面及其任意一种可能的实现方式中所涉及的功能,例如,获取、确定、发送上述链路拼接方法中所涉及的数据和/或信息。该芯片系统包括芯片,也可以包括其他分立器件或电路结构。The link splicing device may be a network device, or a part of a network device, such as a chip system in the network device. The chip system is used to support the network device to implement the functions involved in the first aspect and any possible implementation thereof, for example, to obtain, determine, and send the data and/or information involved in the above-mentioned link splicing method. The chip system includes a chip, and may also include other discrete devices or circuit structures.

第四方面,提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得该计算机执行第一方面所述的链路拼接方法。In a fourth aspect, a computer-readable storage medium is provided, the computer-readable storage medium comprising computer execution instructions, and when the computer execution instructions are executed on a computer, the computer executes the link splicing method described in the first aspect.

第五方面,还提供一种计算机程序产品,该计算机程序产品包括计算机指令,当计算机指令在链路拼接装置上运行时,使得链路拼接装置执行如上述第一方面所述的链路拼接方法。In a fifth aspect, a computer program product is also provided. The computer program product includes computer instructions. When the computer instructions are executed on a link splicing device, the link splicing device executes the link splicing method as described in the first aspect above.

需要说明的是,上述计算机指令可以全部或者部分存储在第一计算机可读存储介质上。其中,第一计算机可读存储介质可以与链路拼接装置的处理器封装在一起的,也可以与链路拼接装置的处理器单独封装,本申请实施例对此不作限定。It should be noted that the above computer instructions may be stored in whole or in part on a first computer-readable storage medium, wherein the first computer-readable storage medium may be packaged together with the processor of the link splicing device, or may be packaged separately from the processor of the link splicing device, which is not limited in the present embodiment.

本申请中第二方面、第三方面、第四方面以及第五方面的描述,可以参考第一方面的详细描述;并且,第二方面、第三方面、第四方面以及第五方面的有益效果,可以参考第一方面的有益效果分析,此处不再赘述。The description of the second, third, fourth and fifth aspects of the present application can refer to the detailed description of the first aspect; and the beneficial effects of the second, third, fourth and fifth aspects can refer to the beneficial effect analysis of the first aspect, which will not be repeated here.

在本申请实施例中,上述链路拼接装置的名字对设备或功能模块本身不构成限定,在实际实现中,这些设备或功能模块可以以其他名称出现。只要各个设备或功能模块的功能和本申请类似,属于本申请权利要求及其等同技术的范围之内。In the embodiments of the present application, the name of the link splicing device does not limit the device or functional module itself. In actual implementation, these devices or functional modules may appear with other names. As long as the functions of each device or functional module are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalent technologies.

本申请的这些方面或其他方面在以下的描述中会更加简明易懂。These and other aspects of the present application will become more apparent from the following description.

本申请提供的技术方案至少带来以下有益效果:The technical solution provided by this application brings at least the following beneficial effects:

基于上述任一方面,本申请实施例提供了一种链路拼接方法,可以在获取与多个子链路一一对应的多个链路信息后,当其他子链路的链路终止信息中,不存在与目标子链路的链路起始信息相同的链路终止信息时,将目标子链路确定为目标链路的第一个子链路。然后,根据第一个子链路和逻辑拓扑树,确定其他子链路的地址信息,并基于其他子链路的地址信息和第一个子链路对多个子链路进行拼接,以得到目标链路。Based on any of the above aspects, the embodiment of the present application provides a link splicing method, which can obtain multiple link information corresponding to multiple sub-links one by one, and when there is no link termination information identical to the link start information of the target sub-link in the link termination information of other sub-links, the target sub-link is determined as the first sub-link of the target link. Then, according to the first sub-link and the logical topology tree, the address information of the other sub-links is determined, and based on the address information of the other sub-links and the first sub-link, the multiple sub-links are spliced to obtain the target link.

由上可知,由于一条完整的传输链路由多条子链路组成,因此,可以先获取与多个子链路一一对应的多个链路信息,并根据上述链路信息确定目标链路的第一个子链路。然后,根据第一个子链路和逻辑拓扑树,确定其他子链路的地址信息,进而通过地址信息对第一个子链路和其他子链路进行拼接,以得到目标链路。这样,本申请实施例提供的链路拼接方法可以准确、有效的对目标链路中的多条子链路进行拼接。As can be seen from the above, since a complete transmission link is composed of multiple sub-links, it is possible to first obtain multiple link information corresponding to the multiple sub-links one by one, and determine the first sub-link of the target link based on the above link information. Then, based on the first sub-link and the logical topology tree, determine the address information of the other sub-links, and then splice the first sub-link and the other sub-links through the address information to obtain the target link. In this way, the link splicing method provided in the embodiment of the present application can accurately and effectively splice multiple sub-links in the target link.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

图1为本申请实施例提供的链路拼接系统的一种结构示意图;FIG1 is a schematic diagram of a structure of a link splicing system provided in an embodiment of the present application;

图2为本申请实施例提供的链路拼接系统的又一种结构示意图;FIG2 is another structural schematic diagram of a link splicing system provided in an embodiment of the present application;

图3为本申请实施例提供的链路拼接装置的一种硬件结构示意图;FIG3 is a schematic diagram of a hardware structure of a link splicing device provided in an embodiment of the present application;

图4为本申请实施例提供的链路拼接装置的又一种硬件结构示意图;FIG4 is a schematic diagram of another hardware structure of the link splicing device provided in an embodiment of the present application;

图5为本申请实施例提供的一种链路拼接方法的流程示意图;FIG5 is a schematic diagram of a flow chart of a link splicing method provided in an embodiment of the present application;

图6为本申请实施例提供的又一种链路拼接方法的流程示意图;FIG6 is a schematic diagram of a flow chart of another link splicing method provided in an embodiment of the present application;

图7为本申请实施例提供的又一种链路拼接方法的流程示意图;FIG7 is a schematic diagram of a flow chart of another link splicing method provided in an embodiment of the present application;

图8为本申请实施例提供的又一种链路拼接方法的流程示意图;FIG8 is a schematic diagram of a flow chart of another link splicing method provided in an embodiment of the present application;

图9为本申请实施例提供的又一种链路拼接方法的流程示意图;FIG9 is a schematic diagram of a flow chart of another link splicing method provided in an embodiment of the present application;

图10为本申请实施例提供的又一种链路拼接方法的流程示意图;FIG10 is a schematic diagram of a flow chart of another link splicing method provided in an embodiment of the present application;

图11为本申请实施例提供的一种链路拼接装置的结构示意图。FIG. 11 is a schematic diagram of the structure of a link splicing 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.

需要说明的是,本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。It should be noted that 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 specific way.

为了便于清楚描述本申请实施例的技术方案,在本申请实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分,本领域技术人员可以理解“第一”、“第二”等字样并不是在对数量和执行次序进行限定。In order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", etc. are used to distinguish between the same items or similar items with basically the same functions and effects. Those skilled in the art can understand that the words "first", "second", etc. are not limiting the quantity and execution order.

在对本申请提供的链路拼接方法进行详细介绍之前,先对本申请涉及的应用场景、实施环境进行简单介绍。Before introducing the link splicing method provided by the present application in detail, a brief introduction is first given to the application scenarios and implementation environment involved in the present application.

如背景技术所描述,为了实现对一条完整的传输链路中链路数据的监控与维护,需要对这条完整的传输链路中的多条子链路进行拼接。As described in the background art, in order to monitor and maintain link data in a complete transmission link, it is necessary to splice multiple sub-links in the complete transmission link.

针对上述问题,本申请实施例提供了一种链路拼接方法,第一电子设备在获取与多个子链路一一对应的多个链路信息后,当其他子链路的链路终止信息中,不存在与目标子链路的链路起始信息相同的链路终止信息时,将目标子链路确定为目标链路的第一个子链路。然后,第一电子设备根据第一个子链路和逻辑拓扑树,确定其他子链路的地址信息,并基于其他子链路的地址信息和第一个子链路对多个子链路进行拼接,以得到目标链路。In view of the above problems, an embodiment of the present application provides a link splicing method, after the first electronic device obtains multiple link information corresponding to multiple sub-links one by one, when there is no link termination information identical to the link start information of the target sub-link in the link termination information of other sub-links, the target sub-link is determined as the first sub-link of the target link. Then, the first electronic device determines the address information of other sub-links based on the first sub-link and the logical topology tree, and splices the multiple sub-links based on the address information of the other sub-links and the first sub-link to obtain the target link.

由上可知,由于一条完整的传输链路由多条子链路组成,因此,第一电子设备可以先获取与多个子链路一一对应的多个链路信息,并根据上述链路信息确定目标链路的第一个子链路。然后,第一电子设备根据第一个子链路和逻辑拓扑树,确定其他子链路的地址信息,进而通过地址信息对第一个子链路和其他子链路进行拼接,以得到目标链路。这样,本申请实施例提供的链路拼接方法可以准确、有效的对目标链路中的多条子链路进行拼接。As can be seen from the above, since a complete transmission link is composed of multiple sub-links, the first electronic device can first obtain multiple link information corresponding to the multiple sub-links one by one, and determine the first sub-link of the target link based on the above link information. Then, the first electronic device determines the address information of other sub-links based on the first sub-link and the logical topology tree, and then splices the first sub-link and the other sub-links through the address information to obtain the target link. In this way, the link splicing method provided in the embodiment of the present application can accurately and effectively splice multiple sub-links in the target link.

该链路拼接方法适用于链路拼接系统。图1示出了该链路拼接系统的一种结构。如图1所示,该链路拼接系统包括:第一电子设备101、第二电子设备102。The link splicing method is applicable to a link splicing system. FIG1 shows a structure of the link splicing system. As shown in FIG1 , the link splicing system includes: a first electronic device 101 and a second electronic device 102.

其中,第一电子设备101与第二电子设备102之间通信连接。The first electronic device 101 and the second electronic device 102 are connected in communication.

在实际应用中,第一电子设备101可以连接多个第二电子设备102,第二电子设备102也可以连接多个第一电子设备101。为了便于理解,本申请以一个第一电子设备101连接一个第二电子设备102为例进行说明。In practical applications, the first electronic device 101 may be connected to multiple second electronic devices 102, and the second electronic device 102 may also be connected to multiple first electronic devices 101. For ease of understanding, this application takes one first electronic device 101 connected to one second electronic device 102 as an example for explanation.

本申请实施例中,第二电子设备102用于向第一电子设备101提供用于链路拼接的数据,以使得第一电子设备101根据第二电子设备102发送的数据进行链路拼接。In the embodiment of the present application, the second electronic device 102 is used to provide data for link splicing to the first electronic device 101, so that the first electronic device 101 performs link splicing according to the data sent by the second electronic device 102.

可选的,用于链路拼接的数据可以包括:多个子链路的链路起始信息和链路终止信息。Optionally, the data used for link splicing may include: link start information and link termination information of multiple sub-links.

可选的,第一电子设备101和第二电子设备102的实体设备可以是服务器,也可以是终端,还可以一个是服务器,另一个是终端,本申请实施例对此不作限定。Optionally, the entity devices of the first electronic device 101 and the second electronic device 102 may be servers or terminals, or one may be a server and the other may be a terminal, which is not limited in the embodiment of the present application.

可选的,上述终端可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。无线终端可以经无线接入网(radio access network,RAN)与一个或多个核心网进行通信。无线终端可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,也可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据,例如,手机、平板电脑、笔记本电脑、上网本、个人数字助理(personal digital assistant,PDA)。Optionally, the terminal may be a device that provides voice and/or data connectivity to a user, a handheld device with wireless connection function, or other processing device connected to a wireless modem. The wireless terminal may communicate with one or more core networks via a radio access network (RAN). The wireless terminal may be a mobile terminal, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal, or a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and/or data with a radio access network, such as a mobile phone, a tablet computer, a laptop computer, a netbook, a personal digital assistant (PDA).

可选的,上述服务器可以是服务器集群(由多个服务器组成)中的一个服务器,也可以是该服务器中的芯片,还可以是该服务器中的片上系统,还可以通过部署在物理机上的虚拟机(virtual machine,VM)实现,本申请实施例对此不作限定。Optionally, the above-mentioned server can be a server in a server cluster (consisting of multiple servers), or a chip in the server, or a system on a chip in the server, or can be implemented by a virtual machine (VM) deployed on a physical machine, which is not limited in the embodiments of the present application.

可选的,当第一电子设备101和第二电子设备102为同一类型的实体设备(例如第一电子设备101和第二电子设备102均为服务器,或者均为终端)时,第一电子设备101和第二电子设备102可以是相互独立设置的两个设备,也可以集成在同一设备中。Optionally, when the first electronic device 101 and the second electronic device 102 are physical devices of the same type (for example, the first electronic device 101 and the second electronic device 102 are both servers, or both are terminals), the first electronic device 101 and the second electronic device 102 may be two devices independently configured, or may be integrated in the same device.

容易理解的是,当第一电子设备101和第二电子设备102集成在同一设备时,第一电子设备101和第二电子设备102之间的通信方式为该设备内部模块之间的通信。这种情况下,二者之间的通信流程与“第一电子设备101和第二电子设备102相互独立的情况下,二者之间的通信流程”相同。It is easy to understand that when the first electronic device 101 and the second electronic device 102 are integrated into the same device, the communication mode between the first electronic device 101 and the second electronic device 102 is the communication between the internal modules of the device. In this case, the communication process between the two is the same as "the communication process between the first electronic device 101 and the second electronic device 102 when they are independent of each other".

为了便于理解,本申请以第一电子设备101和第二电子设备102相互独立为例进行说明。For ease of understanding, the present application is described by taking the first electronic device 101 and the second electronic device 102 as being independent of each other as an example.

在一种可以实现的方式中,结合图1,如图2所示,第一电子设备101可以包括起点扫描模块201、串接引擎模块202、逻辑拓朴树203和数据支持模块204。In one possible implementation, in combination with FIG. 1 , as shown in FIG. 2 , the first electronic device 101 may include a starting point scanning module 201 , a serial connection engine module 202 , a logic topology tree 203 and a data support module 204 .

起点扫描模块201可以包括起点扫描器和数据库。起点扫描器可通过交叉连接(CrossConnection,CC)起点扫描器、拓扑连接(TopologicalConnection,TL)起点扫描器、CC&TL起点扫描器三种类型的起点扫描器实现访问数据库,以从数据库中扫描起点。The starting point scanning module 201 may include a starting point scanner and a database. The starting point scanner may access the database through three types of starting point scanners: a cross connection (CC) starting point scanner, a topological connection (TL) starting point scanner, and a CC&TL starting point scanner, so as to scan the starting point from the database.

其中,CC起点扫描器可以用来查询连接类型为交叉连接的子链路,TL起点扫描器可以用来查询连接类型为拓扑连接的子链路,CC&TL起点扫描器既可以用来查询连接类型为交叉连接的子链路,也可以用来查询连接类型为拓扑连接的子链路。Among them, the CC starting point scanner can be used to query sub-links with a connection type of cross connection, the TL starting point scanner can be used to query sub-links with a connection type of topology connection, and the CC&TL starting point scanner can be used to query sub-links with a connection type of cross connection and sub-links with a connection type of topology connection.

可选的,起点扫描模块201可以根据目标链路中第一个子链路的连接类型,选择对应类型的起点扫描器查询目标链路的第一个子链路(例如图2示出的扫描起点),并将第一个子链路发送给串接引擎模块202。Optionally, the starting point scanning module 201 can select a starting point scanner of a corresponding type to query the first sub-link of the target link (such as the scanning starting point shown in Figure 2) according to the connection type of the first sub-link in the target link, and send the first sub-link to the serial connection engine module 202.

可选的,目标链路的第一个子链路也可以称为通路起点。子链路连接类型可以为交叉连接,也可以为拓扑连接。子链路也可以称为通路节点。当子链路的连接类型为交叉连接时子链路也可以称为交叉连接节点。当子链路的连接类型为拓扑连接时子链路也可以称为拓扑连接节点。Optionally, the first sublink of the target link may also be referred to as the path start point. The sublink connection type may be a cross connection or a topological connection. The sublink may also be referred to as a path node. When the sublink connection type is a cross connection, the sublink may also be referred to as a cross connection node. When the sublink connection type is a topological connection, the sublink may also be referred to as a topological connection node.

串接引擎模块202可以包括起点数据、串接引擎、串接完成后的完整通路。The concatenation engine module 202 may include starting point data, a concatenation engine, and a complete path after the concatenation is completed.

具体的,串接引擎模块202可以在接收目标链路的第一个子链路(例如图2示出的起点数据)后,将第一个子链路批量输入(例如图2示出的批量挂载)在串接引擎中,接着串接引擎将第一个子链路输入到逻辑拓扑树203中(例如图2示出的某条通路当前串接的最后节点),以查询目标链路除第一个子链路外的其他子链路。然后,串接引擎将逻辑拓扑树203查询出的其他子链路与目标链路的第一个子链路进行串接,以得到目标链路(例如图2示出的串接完成后的完整通路)。Specifically, after receiving the first sublink of the target link (e.g., the starting point data shown in FIG. 2 ), the concatenation engine module 202 can batch input the first sublink (e.g., batch mount shown in FIG. 2 ) into the concatenation engine, and then the concatenation engine inputs the first sublink into the logical topology tree 203 (e.g., the last node of a certain path currently concatenated as shown in FIG. 2 ) to query other sublinks of the target link except the first sublink. Then, the concatenation engine concatenates the other sublinks queried from the logical topology tree 203 with the first sublink of the target link to obtain the target link (e.g., the complete path after the concatenation is completed as shown in FIG. 2 ).

可选的,串接也可以称为拼接。Alternatively, concatenation may also be referred to as splicing.

串接逻辑拓朴树203可以包括多个串接逻辑层,每个串接逻辑层可以包括多个逻辑节点,每个逻辑节点可以包括前置条件、匹配算子、选择算子、节点处理、Context、后置条件、子逻辑层。The serial logic topology tree 203 may include multiple serial logic layers, each serial logic layer may include multiple logic nodes, each logic node may include preconditions, matching operators, selection operators, node processing, Context, postconditions, and sub-logic layers.

可选的,前置条件也可以称为第一条件。后置条件也可以称为第二条件。节点处理也可以称为节点处理器。Context也可以称为Context更新策略。逻辑拓扑树也可以称为串接逻辑拓朴树。Optionally, the precondition may also be referred to as the first condition. The postcondition may also be referred to as the second condition. The node processing may also be referred to as the node processor. The context may also be referred to as the context update strategy. The logical topology tree may also be referred to as the serialized logical topology tree.

逻辑拓扑树203可以用于根据输入的子链路在第一电子设备101或第一电子设备102的数据库中查询输入子链路是否有下一个子链路。The logical topology tree 203 may be used to query, according to the input sub-link, in the database of the first electronic device 101 or the first electronic device 102 whether the input sub-link has a next sub-link.

具体的,逻辑拓扑树203可以将第一个子链路输入到第一个逻辑层中的每个逻辑节点的前置条件中,依次确定第一个子链路是否符合逻辑节点的前置条件。当第一个子链路第一次遇到符合前置条件的逻辑节点时,将该逻辑节点确定为目标逻辑节点。Specifically, the logical topology tree 203 may input the first sub-link into the precondition of each logical node in the first logical layer, and determine in turn whether the first sub-link meets the precondition of the logical node. When the first sub-link first encounters a logical node that meets the precondition, the logical node is determined as the target logical node.

然后,逻辑拓扑树203可以在确定第一个子链路符合目标逻辑节点的前置条件后,执行目标逻辑节点的匹配算子,以在数据支持模块204提供的数据环境中匹配多个子链路。Then, after determining that the first sub-link meets the precondition of the target logical node, the logical topology tree 203 may execute the matching operator of the target logical node to match multiple sub-links in the data environment provided by the data support module 204 .

接着,逻辑拓扑树203可以再执行选择算子,以从多个子链路中选择一个子链路,并将其确定为目标子链路。Next, the logical topology tree 203 may execute a selection operator to select a sub-link from the multiple sub-links and determine it as a target sub-link.

接着,逻辑拓扑树203可以再执行节点处理,以对未被选择的子链路进行处理,比如:将未被选择的子链路标记成备路。Next, the logical topology tree 203 may perform node processing again to process the unselected sub-links, for example, marking the unselected sub-links as backup links.

接着,逻辑拓扑树203可以再执行Context,记录目标链路中已拼接子链路的主路、备路、频率、波道、数量。Next, the logical topology tree 203 may execute Context again to record the main path, backup path, frequency, channel, and quantity of the spliced sub-links in the target link.

接着,逻辑拓扑树203可以再执行后置条件,以根据Context记录的内容判断目标链路中已拼接子链路的数量是否大于阈值或目标链路是否为目标子链路中已拼接的子链路。Next, the logical topology tree 203 may execute the post-condition again to determine whether the number of spliced sub-links in the target link is greater than a threshold or whether the target link is a spliced sub-link in the target sub-link according to the content recorded in the Context.

当目标链路中已拼接子链路的数量小于等于阈值且目标子链路不为目标链路中已拼接的子链路时,逻辑拓扑树203将目标子链路发送给串接引擎模块202。When the number of spliced sub-links in the target link is less than or equal to the threshold and the target sub-link is not a spliced sub-link in the target link, the logical topology tree 203 sends the target sub-link to the concatenation engine module 202 .

当目标链路中已拼接子链路的数量大于阈值或目标子链路为目标链路中已拼接的子链路时,则逻辑拓扑树203执行子逻辑层,以判断目标逻辑节点是否存在子逻辑层,如果存在子逻辑层,则逻辑拓扑树203将目标子链路输入到子逻辑层中,并重复上述操作,直至逻辑拓扑树203确定未找到目标子链路。When the number of spliced sub-links in the target link is greater than the threshold or the target sub-link is a spliced sub-link in the target link, the logical topology tree 203 executes the sub-logical layer to determine whether the target logical node has a sub-logical layer. If the sub-logical layer exists, the logical topology tree 203 inputs the target sub-link into the sub-logical layer and repeats the above operation until the logical topology tree 203 determines that the target sub-link is not found.

数据支持模块204可以包括数据环境、基于Redis缓存的数据环境、基于ClickHouse的数据环境。基于Redis缓存的数据环境、基于ClickHouse的数据环境是数据环境的两种实现方式。The data support module 204 may include a data environment, a data environment based on Redis cache, and a data environment based on ClickHouse. The data environment based on Redis cache and the data environment based on ClickHouse are two implementation methods of the data environment.

数据支持模块204可以用于确定逻辑拓扑树203访问数据库的方式。The data support module 204 may be used to determine the manner in which the logical topology tree 203 accesses the database.

可选的,当逻辑拓扑树203进行以网元管理系统(Element Management System,EMS)为单位的批量串接时,可以使用基于Redis缓存的数据环境,当逻辑拓扑树203对一条目标链路进行串接时,可以使用基于ClickHouse的数据环境。Optionally, when the logical topology tree 203 performs batch concatenation in units of element management systems (EMS), a data environment based on Redis cache can be used, and when the logical topology tree 203 performs concatenation on a target link, a data environment based on ClickHouse can be used.

链路拼接系统中的第一电子设备101和第二电子设备102的基本硬件结构类似,都包括图3或图4所示链路拼接装置所包括的元件。下面以图3和图4所示的链路拼接装置为例,介绍第一电子设备101和第二电子设备102的硬件结构。The basic hardware structures of the first electronic device 101 and the second electronic device 102 in the link splicing system are similar, and both include the elements included in the link splicing device shown in Figure 3 or Figure 4. The hardware structures of the first electronic device 101 and the second electronic device 102 are introduced below using the link splicing device shown in Figures 3 and 4 as an example.

如图3所示,为本申请实施例提供的链路拼接装置的一种硬件结构示意图。该链路拼接装置包括处理器31,存储器32、通信接口33、总线34。处理器31,存储器32以及通信接口33之间可以通过总线34连接。As shown in Fig. 3, it is a schematic diagram of a hardware structure of a link splicing device provided in an embodiment of the present application. The link splicing device includes a processor 31, a memory 32, a communication interface 33, and a bus 34. The processor 31, the memory 32, and the communication interface 33 can be connected through a bus 34.

处理器31是链路拼接装置的控制中心,可以是一个处理器,也可以是多个处理元件的统称。例如,处理器31可以是一个通用中央处理单元(central processing unit,CPU),也可以是其他通用处理器等。其中,通用处理器可以是微处理器或者是任何常规的处理器等。The processor 31 is the control center of the link splicing device, which can be a processor or a general term for multiple processing elements. For example, the processor 31 can be a general-purpose central processing unit (CPU) or other general-purpose processors. Among them, the general-purpose processor can be a microprocessor or any conventional processor.

作为一种实施例,处理器31可以包括一个或多个CPU,例如图3中所示的CPU 0和CPU 1。As an embodiment, the processor 31 may include one or more CPUs, such as CPU 0 and CPU 1 shown in FIG. 3 .

存储器32可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electricallyerasable programmable read-only memory,EEPROM)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。The memory 32 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

一种可能的实现方式中,存储器32可以独立于处理器31存在,存储器32可以通过总线34与处理器31相连接,用于存储指令或者程序代码。处理器31调用并执行存储器32中存储的指令或程序代码时,能够实现本申请下述实施例提供的链路拼接方法。In a possible implementation, the memory 32 may exist independently of the processor 31, and the memory 32 may be connected to the processor 31 via a bus 34 to store instructions or program codes. When the processor 31 calls and executes the instructions or program codes stored in the memory 32, the link splicing method provided in the following embodiments of the present application can be implemented.

在本申请实施例中,对于第一电子设备101和第二电子设备102而言,存储器32中存储的软件程序不同,所以第一电子设备101和第二电子设备102实现的功能不同。关于各设备所执行的功能将结合下面的流程图进行描述。In the embodiment of the present application, the first electronic device 101 and the second electronic device 102 have different software programs stored in the memory 32, so the first electronic device 101 and the second electronic device 102 implement different functions. The functions performed by each device will be described in conjunction with the following flowchart.

另一种可能的实现方式中,存储器32也可以和处理器31集成在一起。In another possible implementation, the memory 32 may also be integrated with the processor 31 .

通信接口33,用于链路拼接装置与其他设备通过通信网络连接,所述通信网络可以是以太网,无线接入网,无线局域网(wireless local area networks,WLAN)等。通信接口33可以包括用于接收数据的接收单元,以及用于发送数据的发送单元。The communication interface 33 is used to connect the link splicing device to other devices through a communication network, and the communication network may be Ethernet, wireless access network, wireless local area network (WLAN), etc. The communication interface 33 may include a receiving unit for receiving data and a sending unit for sending data.

总线34,可以是工业标准体系结构(industry standard architecture,ISA)总线、外部设备互连(peripheral component interconnect,PCI)总线或扩展工业标准体系结构(extended industry standard architecture,EISA)总线等。该总线可以分为地址总线、数据总线、控制总线等。为便于表示,图3中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The bus 34 may be an industry standard architecture (ISA) bus, a peripheral component interconnect (PCI) bus, or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, FIG3 only uses one thick line, but does not mean that there is only one bus or one type of bus.

图4示出了本申请实施例中链路拼接装置的另一种硬件结构。如图4所示,链路拼接装置可以包括处理器41以及通信接口42。处理器41与通信接口42耦合。Fig. 4 shows another hardware structure of the link splicing device in the embodiment of the present application. As shown in Fig. 4, the link splicing device may include a processor 41 and a communication interface 42. The processor 41 is coupled to the communication interface 42.

处理器41的功能可以参考上述处理器31的描述。此外,处理器41还具备存储功能,可以起上述存储器32的功能。The functions of the processor 41 may refer to the description of the processor 31. In addition, the processor 41 also has a storage function and may function as the memory 32.

通信接口42用于为处理器41提供数据。该通信接口42可以是链路拼接装置的内部接口,也可以是链路拼接装置对外的接口(相当于通信接口33)。The communication interface 42 is used to provide data to the processor 41. The communication interface 42 may be an internal interface of the link splicing device, or an external interface of the link splicing device (equivalent to the communication interface 33).

需要指出的是,图3(或图4)中示出的结构并不构成对链路拼接装置的限定,除图3(或图4)所示部件之外,该链路拼接装置可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。It should be pointed out that the structure shown in FIG. 3 (or FIG. 4 ) does not constitute a limitation on the link splicing device. In addition to the components shown in FIG. 3 (or FIG. 4 ), the link splicing device may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.

下面结合附图对本申请实施例提供的链路拼接方法进行详细介绍。The link splicing method provided in the embodiment of the present application is described in detail below with reference to the accompanying drawings.

如图5所示,本申请实施例提供的链路拼接方法应用于图1所示的链路拼接系统中的第一电子设备101,该链路拼接方法包括:S501-S503。As shown in FIG. 5 , the link splicing method provided in the embodiment of the present application is applied to the first electronic device 101 in the link splicing system shown in FIG. 1 . The link splicing method includes: S501 - S503 .

S501、第一电子设备获取与多个子链路一一对应的多个链路信息。S501: A first electronic device obtains a plurality of link information corresponding one-to-one to a plurality of sub-links.

其中,链路信息包括链路起始信息和链路终止信息。The link information includes link start information and link end information.

在一种可以实现的方式中,第一电子设备先获取来自多个网元管理系统(ElementManagement System,EMS)的原始链路数据,然后提取原始链路数据中的链路信息,以得到各EMS中所有子链路对应的链路信息,并将这些信息储存在第一电子设备的数据库中。然后,第一电子设备在进行拼接任务时可以直接从数据库中获取与多个子链路一一对应的多个链路信息。In one possible implementation, the first electronic device first obtains original link data from multiple element management systems (EMS), then extracts link information from the original link data to obtain link information corresponding to all sub-links in each EMS, and stores the information in a database of the first electronic device. Then, when performing a splicing task, the first electronic device can directly obtain multiple link information corresponding to multiple sub-links from the database.

在又一种可以实现的方式中,结合图1,第二电子设备先获取来自各网元管理系统(Element Management System,EMS)的原始链路数据,提取原始链路数据中的链路信息,以得到各EMS中所有子链路对应的链路信息,并将这些信息储存在第二电子设备的数据库中。然后,第一电子设备在进行拼接任务时可以从第二电子设备的数据库中获取与多个子链路一一对应的多个链路信息。In another possible implementation, in conjunction with FIG1 , the second electronic device first obtains original link data from each element management system (EMS), extracts link information from the original link data, obtains link information corresponding to all sub-links in each EMS, and stores the information in a database of the second electronic device. Then, when performing a splicing task, the first electronic device can obtain multiple link information corresponding to multiple sub-links from the database of the second electronic device.

S502、当其他子链路的链路终止信息中,不存在与目标子链路的链路起始信息相同的链路终止信息时,第一电子设备将目标子链路确定为目标链路的第一个子链路。S502: When link termination information of other sub-links does not contain link termination information identical to link start information of the target sub-link, the first electronic device determines the target sub-link as the first sub-link of the target link.

其中,其他子链路为多个子链路中,除目标子链路以外的子链路。Among them, other sub-links are sub-links other than the target sub-link among the multiple sub-links.

具体的,在获取到与多个子链路一一对应的多个链路信息后,第一电子设备需要先确定目标链路的第一个子链路。Specifically, after acquiring a plurality of link information corresponding to a plurality of sub-links one by one, the first electronic device needs to first determine the first sub-link of the target link.

第一电子设备确定目标链路的第一个子链路的具体方式为:第一电子设备对比多个子链路中每个子链路的链路起始信息与其他子链路的链路终止信息是否相同。当某个子链路(即本申请实施例中的目标子链路)的链路起始信息与其他子链路的链路终止信息都不相同时,第一电子设备可以将该子链路确定为目标链路的第一个子链路。The specific method for the first electronic device to determine the first sub-link of the target link is: the first electronic device compares whether the link start information of each sub-link in the multiple sub-links is the same as the link termination information of other sub-links. When the link start information of a sub-link (i.e., the target sub-link in the embodiment of the present application) is different from the link termination information of other sub-links, the first electronic device can determine the sub-link as the first sub-link of the target link.

示例性的,预设目标链路中子链路1的链路起始信息为A、链路终止信息为B,子链路2的链路起始信息为B、链路终止信息为C,子链路3的链路起始信息为C、链路终止信息为D。第一电子设备确定子链路1的链路起始信息与子链路2、子链路3的链路终止信息都不相同,子链路2的链路起始信息与子链路1的链路终止信息相同,子链路3的链路起始信息与子链路2的链路终止信息相同。因此,第一电子设备找到目标子链路为子链路1,并将子链路1确定为目标链路1的第一个子链路。Exemplarily, in the preset target link, the link start information of sublink 1 is A, and the link termination information is B, the link start information of sublink 2 is B, and the link termination information is C, and the link start information of sublink 3 is C, and the link termination information is D. The first electronic device determines that the link start information of sublink 1 is different from the link termination information of sublink 2 and sublink 3, the link start information of sublink 2 is the same as the link termination information of sublink 1, and the link start information of sublink 3 is the same as the link termination information of sublink 2. Therefore, the first electronic device finds that the target sublink is sublink 1, and determines sublink 1 as the first sublink of target link 1.

S503、第一电子设备根据第一个子链路和逻辑拓扑树,确定其他子链路的地址信息,并基于其他子链路的地址信息和第一个子链路对多个子链路进行拼接,以得到目标链路。S503: The first electronic device determines address information of other sub-links according to the first sub-link and the logical topology tree, and splices multiple sub-links based on the address information of other sub-links and the first sub-link to obtain a target link.

其中,逻辑拓扑树包括多个逻辑节点。逻辑节点用于确定与逻辑节点匹配成功的子链路的下一个子链路的地址信息。The logical topology tree includes a plurality of logical nodes, and the logical node is used to determine the address information of the next sub-link of the sub-link successfully matched with the logical node.

具体的,在确定了目标链路的第一个子链路后,第一电子设备需要确定其他子链路的地址信息,以得到目标链路。Specifically, after determining the first sub-link of the target link, the first electronic device needs to determine the address information of other sub-links to obtain the target link.

首先,第一电子设备将第一个子链路输入到逻辑拓扑树中,确定逻辑拓朴树是否输出第二个子链路。First, the first electronic device inputs the first sub-link into the logical topology tree, and determines whether the logical topology tree outputs the second sub-link.

当逻辑拓朴树输出第二个子链路时,第一电子设备先使用寻址函数获取第一个子链路和第二个子链路的地址信息,接着将第二个子链路的地址信息添加到第一个子链路的链路终止信息中,将第一个子链路的地址信息添加到第二个子链路的链路起始信息中,然后,第一电子设备将第二个子链路输入到逻辑拓扑树中,并重复上述操作,直至将第n个子链路输入到逻辑拓朴树中后,逻辑拓扑树不能输出第n+1个子链路。n为正整数。When the logical topology tree outputs the second sub-link, the first electronic device first uses the addressing function to obtain the address information of the first sub-link and the second sub-link, then adds the address information of the second sub-link to the link termination information of the first sub-link, and adds the address information of the first sub-link to the link start information of the second sub-link, and then the first electronic device inputs the second sub-link into the logical topology tree, and repeats the above operation until the nth sub-link is input into the logical topology tree, and the logical topology tree cannot output the n+1th sub-link. n is a positive integer.

当逻辑拓朴树不能输出第n+1个子链路时,第一电子设备将第n个子链路确定为最后一个子链路。n为正整数。When the logical topology tree cannot output the n+1th sub-link, the first electronic device determines the nth sub-link as the last sub-link. n is a positive integer.

根据上述操作确定出最后一个子链路后,第一电子设备已完成从第一个子链路至最后一个子链路的拼接,并获得目标链路。After the last sub-link is determined according to the above operation, the first electronic device has completed the splicing from the first sub-link to the last sub-link and obtains the target link.

示例性的,预设目标链路1的第一个子链路为子链路1。第一电子设备将子链路1输入到逻辑拓扑树中得到子链路2。接着,第一电子设备先使用寻址函数获取子链路1的地址信息A,子链路2的地址信息B,再将子链路2的地址信息B添加到子链路1的链路终止信息中,将子链路1的地址信息A添加到子链路2的链路起始信息中。然后第一电子设备将子链路2输入到逻辑拓扑树中。当逻辑拓扑树不能输出第三个子链路时,第一电子设备获得目标链路,目标链路为由子链路1到子链路2的链路。Exemplarily, the first sublink of the preset target link 1 is sublink 1. The first electronic device inputs sublink 1 into the logical topology tree to obtain sublink 2. Next, the first electronic device first uses the addressing function to obtain the address information A of sublink 1 and the address information B of sublink 2, and then adds the address information B of sublink 2 to the link termination information of sublink 1, and adds the address information A of sublink 1 to the link start information of sublink 2. Then the first electronic device inputs sublink 2 into the logical topology tree. When the logical topology tree cannot output the third sublink, the first electronic device obtains the target link, which is the link from sublink 1 to sublink 2.

在一种实施例中,结合图5,如图6所示,上述S503中,第一电子设备根据第一个子链路和逻辑拓扑树,确定其他子链路的地址信息的方法具体包括:S601-S605。In one embodiment, in combination with FIG. 5 , as shown in FIG. 6 , in the above S503 , the method in which the first electronic device determines the address information of other sub-links according to the first sub-link and the logical topology tree specifically includes: S601 - S605 .

S601、第一电子设备将第n个子链路的链路终止信息输入到逻辑拓扑树中。S601: The first electronic device inputs link termination information of the nth sub-link into a logical topology tree.

其中,n为正整数。Wherein, n is a positive integer.

S602、当逻辑拓扑树中包括与第n个子链路匹配成功的逻辑节点时,第一电子设备确定目标逻辑节点是否输出第n+1个子链路的地址信息。S602: When the logical topology tree includes a logical node that successfully matches the nth sub-link, the first electronic device determines whether the target logical node outputs address information of the (n+1)th sub-link.

其中,目标逻辑节点为与第n个子链路匹配成功的逻辑节点。The target logical node is the logical node that successfully matches the nth sub-link.

具体的,在第一电子设备将第n个子链路的链路终止信息输入到逻辑拓扑树后,将第n个子链路的链路终止信息与逻辑拓扑树中的逻辑节点一一进行匹配,直到出现第一个匹配成功的逻辑节点时,停止匹配,并将第一个匹配成功的逻辑节点确定为目标逻辑节点。然后,第一电子设备确定目标逻辑节点是否输出第n+1个子链路的地址信息。Specifically, after the first electronic device inputs the link termination information of the nth sub-link into the logical topology tree, the link termination information of the nth sub-link is matched with the logical nodes in the logical topology tree one by one until the first successfully matched logical node appears, the matching is stopped, and the first successfully matched logical node is determined as the target logical node. Then, the first electronic device determines whether the target logical node outputs the address information of the n+1th sub-link.

S603、当目标逻辑节点输出第n+1个子链路的地址信息时,第一电子设备重复将第n+1个子链路的链路终止信息输入到逻辑拓扑树中,直到逻辑拓扑树不能匹配到子链路。S603: When the target logical node outputs the address information of the n+1th sub-link, the first electronic device repeatedly inputs the link termination information of the n+1th sub-link into the logical topology tree until the logical topology tree cannot match any sub-link.

具体的,当目标逻辑节点输出第n+1个子链路的地址信息时,第一电子设备获取第n个子链路的地址信息。接着,第一电子设备将第n+1个子链路的地址信息添加到第n个子链路的链路终止信息中,将第n个子链路的地址信息添加到第n+1个子链路的链路起始信息中。Specifically, when the target logical node outputs the address information of the n+1th sublink, the first electronic device obtains the address information of the nth sublink. Then, the first electronic device adds the address information of the n+1th sublink to the link termination information of the nth sublink, and adds the address information of the nth sublink to the link start information of the n+1th sublink.

然后,第一电子设备将第n+1个子链路的链路终止信息输入到逻辑拓扑树中,并重复执行上述S602的操作,直至逻辑拓扑树不能匹配到子链路。Then, the first electronic device inputs the link termination information of the (n+1)th sub-link into the logical topology tree, and repeatedly performs the above operation of S602 until the logical topology tree cannot match any sub-link.

S604、当逻辑拓扑树中不包括与第n个子链路匹配成功的逻辑节点,或者目标逻辑节点不能输出第n+1个子链路时,第一电子设备将第n个子链路确定为目标链路的最后一个子链路。S604: When the logical topology tree does not include a logical node that successfully matches the nth sublink, or the target logical node cannot output the (n+1)th sublink, the first electronic device determines the nth sublink as the last sublink of the target link.

具体的,在第一电子设备将第n个子链路的链路终止信息输入到逻辑拓扑树后,将第n个子链路的链路终止信息与逻辑拓扑树中的逻辑节点一一进行匹配,并未找到与第n个子链路的链路终止信息匹配成功的逻辑节点,则第一电子设备将第n个子链路确定为目标链路的最后一个子链路。Specifically, after the first electronic device inputs the link termination information of the nth sub-link into the logical topology tree, the link termination information of the nth sub-link is matched one by one with the logical nodes in the logical topology tree. If no logical node that successfully matches the link termination information of the nth sub-link is found, the first electronic device determines the nth sub-link as the last sub-link of the target link.

或者,第一电子设备找到与第n个子链路的链路终止信息匹配成功的逻辑节点但匹配成功的逻辑节点未输出第n+1个子链路的地址信息,则第一电子设备将第n个子链路确定为目标链路的最后一个子链路。Alternatively, if the first electronic device finds a logical node that successfully matches the link termination information of the nth sub-link but the successfully matched logical node does not output the address information of the (n+1)th sub-link, the first electronic device determines the nth sub-link as the last sub-link of the target link.

S605、第一电子设备根据逻辑拓扑树输出的子链路的地址信息,确定其他子链路的地址信息。S605: The first electronic device determines address information of other sub-links according to the address information of the sub-links output by the logical topology tree.

具体的,根据上述S603,当逻辑拓扑树将最后一个子链路的地址信息输出后,第一电子设备已经依次获得了第一个子链路的地址信息、第二个子链路的地址信息......,一直到最后一个子链路的地址信息,因此,第一电子设备可以确定其他子链路的地址信息。Specifically, according to the above S603, after the logical topology tree outputs the address information of the last sub-link, the first electronic device has successively obtained the address information of the first sub-link, the address information of the second sub-link..., all the way to the address information of the last sub-link, therefore, the first electronic device can determine the address information of other sub-links.

在一种实施例中,逻辑拓扑树包括多个逻辑层。每个逻辑节点包括第一条件。第一条件包括:第n个子链路的链路连接类型与逻辑节点配置的链路连接类型相同,和/或,第n个子链路的时隙信息与逻辑节点配置的时隙信息相同。在这种情况下,电子设备可以根据逻辑拓扑树确定每个逻辑节点是否有子逻辑层。所以,结合图6,如图7所示,上述S601中,将第n个子链路的链路终止信息输入到逻辑拓扑树中之后,该链路拼接方法还包括:S701-S702。In one embodiment, the logical topology tree includes multiple logical layers. Each logical node includes a first condition. The first condition includes: the link connection type of the nth sub-link is the same as the link connection type configured for the logical node, and/or, the time slot information of the nth sub-link is the same as the time slot information configured for the logical node. In this case, the electronic device can determine whether each logical node has a sub-logical layer according to the logical topology tree. Therefore, in combination with FIG. 6, as shown in FIG. 7, in the above S601, after the link termination information of the nth sub-link is input into the logical topology tree, the link splicing method also includes: S701-S702.

S701、当第n个子链路的链路终止信息满足第m个逻辑层中第一逻辑节点对应的第一条件时,第一电子设备将第一逻辑节点确定为所述目标逻辑节点。S701: When the link termination information of the nth sub-link meets the first condition corresponding to the first logical node in the mth logical layer, the first electronic device determines the first logical node as the target logical node.

其中,m为正整数。Wherein, m is a positive integer.

具体的,在第一电子设备将第n个子链路的链路终止信息输入逻辑拓扑树后,由于每个逻辑节点的第一条件不同,所以第一电子设备先判断第n个子链路的链路终止信息是否满足逻辑拓朴树中第m个逻辑层中的每个逻辑节点的第一条件。当第n个子链路的链路终止信息满足第一逻辑节点对应的第一条件时,第一电子设备将第一逻辑节点确定为所述目标逻辑节点。Specifically, after the first electronic device inputs the link termination information of the nth sub-link into the logical topology tree, since the first condition of each logical node is different, the first electronic device first determines whether the link termination information of the nth sub-link satisfies the first condition of each logical node in the mth logical layer in the logical topology tree. When the link termination information of the nth sub-link satisfies the first condition corresponding to the first logical node, the first electronic device determines the first logical node as the target logical node.

可选的,链路终止信息中可以包括时隙信息。Optionally, the link termination information may include time slot information.

示例性的,预设将第2个子链路的链路终止信息输入逻辑拓扑树中,逻辑拓扑树有逻辑层1、逻辑层2、逻辑层3,逻辑层1有逻辑节点A、逻辑节点B,逻辑层2有逻辑节点C、逻辑节点D,逻辑层3有逻辑节点E、逻辑节点F。第一电子设备先确定第2个子链路的链路终止信息是否满足逻辑层1中的逻辑节点A、逻辑节点B的第一条件。当确定第2个子链路的链路终止信息满足逻辑节点B的第一条件后,第一电子设备将逻辑层1中的逻辑节点B确定为目标逻辑节点。Exemplarily, it is preset that the link termination information of the second sub-link is input into the logical topology tree, the logical topology tree has logical layer 1, logical layer 2, and logical layer 3, logical layer 1 has logical node A and logical node B, logical layer 2 has logical node C and logical node D, and logical layer 3 has logical node E and logical node F. The first electronic device first determines whether the link termination information of the second sub-link satisfies the first condition of logical node A and logical node B in logical layer 1. When it is determined that the link termination information of the second sub-link satisfies the first condition of logical node B, the first electronic device determines logical node B in logical layer 1 as the target logical node.

S702、当第n个子链路的链路终止信息不满足第m个逻辑层中第一逻辑节点对应的第一条件时,第一电子设备确定第m+1个逻辑层中是否包括满足第一条件的逻辑节点,直到每个逻辑层中都不包括满足第一条件的逻辑节点,确定逻辑拓扑树中不包括与第n个子链路匹配成功的逻辑节点。S702. When the link termination information of the nth sub-link does not satisfy the first condition corresponding to the first logical node in the mth logical layer, the first electronic device determines whether the m+1th logical layer includes a logical node that satisfies the first condition, until each logical layer does not include a logical node that satisfies the first condition, and determines that the logical topology tree does not include a logical node that successfully matches the nth sub-link.

其中,第m+1个逻辑层为第一逻辑节点的子逻辑层。The (m+1)th logical layer is a sub-logical layer of the first logical node.

具体的,当第一电子设备未在第m个逻辑层中找到第n个子链路的链路终止信息满足第一条件的第一逻辑节点时,第一电子设备继续在第m+1个逻辑层中寻找是否存在满足第一条件的第一逻辑节点。Specifically, when the first electronic device does not find the first logical node whose link termination information of the nth sublink satisfies the first condition in the mth logical layer, the first electronic device continues to search for a first logical node that satisfies the first condition in the m+1th logical layer.

当第m+1个逻辑层中存在满足第一条件的第一逻辑节点时,将第一逻辑节点确定为目标逻辑节点。When there is a first logical node satisfying the first condition in the (m+1)th logical layer, the first logical node is determined as the target logical node.

当第m+1个逻辑层中不存在满足第一条件的第一逻辑节点时,第一电子设备继续在第m+2个逻辑层中寻找是否存在满足第一条件的第一逻辑节点,直到每个逻辑层中都不包括满足第一条件的逻辑节点时,第一电子设备确定逻辑拓扑树中不包括满足第一条件的逻辑节点。When there is no first logical node satisfying the first condition in the m+1th logical layer, the first electronic device continues to search for whether there is a first logical node satisfying the first condition in the m+2th logical layer, until each logical layer does not include a logical node satisfying the first condition, and the first electronic device determines that the logical topology tree does not include a logical node satisfying the first condition.

示例性的,预设将第2个子链路的链路终止信息输入逻辑拓扑树中,逻辑拓扑树有逻辑层1、逻辑层2、逻辑层3,逻辑层1有逻辑节点A、逻辑节点B,逻辑层2有逻辑节点C、逻辑节点D,逻辑层3有逻辑节点E、逻辑节点F。第一电子设备先确定第2个子链路的链路终止信息是否满足逻辑层1中的逻辑节点A、逻辑节点B的第一条件。当第2个子链路的链路终止信息不满足逻辑节点A、逻辑节点B的第一条件时,第一电子设备再确定第2个子链路的链路终止信息是否满足逻辑层2中的逻辑节点C、逻辑节点D的第一条件。当第2个子链路的链路终止信息不满足逻辑节点C、逻辑节点D的第一条件时,第一电子设备再确定第2个子链路的链路终止信息是否满足逻辑层3中的逻辑节点E、逻辑节点F的第一条件。当第2个子链路的链路终止信息不满足逻辑节点E、逻辑节点F的第一条件时,第一电子设备确定逻辑拓扑树中不包括满足第一条件的逻辑节点。Exemplarily, it is preset that the link termination information of the second sub-link is input into the logical topology tree, the logical topology tree has a logical layer 1, a logical layer 2, and a logical layer 3, the logical layer 1 has a logical node A and a logical node B, the logical layer 2 has a logical node C and a logical node D, and the logical layer 3 has a logical node E and a logical node F. The first electronic device first determines whether the link termination information of the second sub-link satisfies the first condition of the logical node A and the logical node B in the logical layer 1. When the link termination information of the second sub-link does not satisfy the first condition of the logical node A and the logical node B, the first electronic device determines whether the link termination information of the second sub-link satisfies the first condition of the logical node C and the logical node D in the logical layer 2. When the link termination information of the second sub-link does not satisfy the first condition of the logical node C and the logical node D, the first electronic device determines whether the link termination information of the second sub-link satisfies the first condition of the logical node E and the logical node F in the logical layer 3. When the link termination information of the second sub-link does not satisfy the first condition of the logical node E and the logical node F, the first electronic device determines that the logical topology tree does not include the logical node that satisfies the first condition.

在一种实施例中,第一逻辑节点包括:匹配算子、选择算子和第二条件。匹配算子用于:确定其余子链路的链路起始信息中,与第n个子链路的链路终止信息相同的链路起始信息对应的子链路。其余子链路为多个子链路中,除第n个子链路以外的子链路。选择算子用于:确定子链路端口号数值最大的子链路。在这种情况下,电子设备可以根据逻辑节点确定第n+1个子链路的地址信息。第二条件包括:确定已拼接目标链路的数量是否大于阈值或确定第二子链路是否为已拼接目标链路中的子链路。所以,结合图7,如图8所示,上述S701中,将第一逻辑节点确定为目标逻辑节点之后,该链路拼接方法还包括:S801-S804。In one embodiment, the first logical node includes: a matching operator, a selection operator, and a second condition. The matching operator is used to: determine the sublink corresponding to the link start information that is the same as the link termination information of the nth sublink in the link start information of the remaining sublinks. The remaining sublinks are sublinks other than the nth sublink among multiple sublinks. The selection operator is used to: determine the sublink with the largest sublink port number value. In this case, the electronic device can determine the address information of the n+1th sublink based on the logical node. The second condition includes: determining whether the number of spliced target links is greater than a threshold or determining whether the second sublink is a sublink in the spliced target link. Therefore, in combination with Figure 7, as shown in Figure 8, in the above S701, after the first logical node is determined as the target logical node, the link splicing method also includes: S801-S804.

S801、第一电子设备执行第一逻辑节点的匹配算子。S801: A first electronic device executes a matching operator of a first logical node.

具体的,第一电子设备对比第n个子链路的链路终止信息和其余子链路的链路起始信息是否相同,并找出与第n个子链路的链路终止信息相同的第一子链路。Specifically, the first electronic device compares the link termination information of the nth sub-link with the link start information of the remaining sub-links to see whether they are the same, and finds out the first sub-link having the same link termination information as the nth sub-link.

示例性的,预设第2个子链路的链路终止信息为A,子链路1的链路起始信息为B,子链路2的链路起始信息为A,子链路3的链路起始信息为C,子链路4的链路起始信息为D。第一电子设备比较第2个子链路的链路终止信息和子链路1的链路起始信息、子链路2的链路起始信息、子链路3的链路起始信息、子链路4的链路起始信息,进而确定与第2个子链路的链路终止信息相同的第一子链路是子链路2、子链路4。Exemplarily, the link termination information of the second sub-link is preset to be A, the link start information of sub-link 1 is preset to be B, the link start information of sub-link 2 is preset to be A, the link start information of sub-link 3 is preset to be C, and the link start information of sub-link 4 is preset to be D. The first electronic device compares the link termination information of the second sub-link with the link start information of sub-link 1, the link start information of sub-link 2, the link start information of sub-link 3, and the link start information of sub-link 4, and further determines that the first sub-links having the same link termination information as the second sub-link are sub-link 2 and sub-link 4.

S802、当匹配算子匹配到至少一个第一子链路时,第一电子设备执行第一逻辑节点的选择算子。S802: When the matching operator matches at least one first sub-link, the first electronic device executes a selection operator of the first logical node.

具体的,在匹配算子匹配到至少一个第一子链路后,第一电子设备确定至少一个第一子链路的端口号的大小,并将端口号最大的子链路确定为第二子链路。Specifically, after the matching operator matches at least one first sub-link, the first electronic device determines the size of the port number of the at least one first sub-link, and determines the sub-link with the largest port number as the second sub-link.

可选的,链路的终止信息中可以包括端口号。Optionally, the termination information of the link may include a port number.

可选的,选择算子可以为多个。每个选择算子可以对应一个前置条件。前置条件可以根据第一子链路的数量确定是否使用其对应的选择算子。Optionally, there may be multiple selection operators. Each selection operator may correspond to a precondition. The precondition may determine whether to use the corresponding selection operator according to the number of first sub-links.

示例性的,预设第一子链路1的端口号为3,第一子链路2的端口号为5。第一电子设备比较第一子链路1和第一子链路2的端口号的大小,并将第一子链路2确定为第二子链路。Exemplarily, the port number of the first sublink 1 is preset to 3, and the port number of the first sublink 2 is preset to 5. The first electronic device compares the port numbers of the first sublink 1 and the first sublink 2, and determines the first sublink 2 as the second sublink.

S803、当选择算子从至少一个第一子链路中选择出第二子链路时,第一电子设备确定第二子链路是否满足第二条件。S803: When the selection operator selects a second sub-link from at least one first sub-link, the first electronic device determines whether the second sub-link satisfies a second condition.

具体的,在选择算子从至少一个第一子链路中选择出第二子链路后,第一电子设备判断已拼接目标链路的数量是否大于阈值以及判断第二子链路是否为已拼接目标链路中的子链路。然后第一电子设备根据上述判断确定第二子链路是否满足第二条件。Specifically, after the selection operator selects the second sublink from at least one first sublink, the first electronic device determines whether the number of spliced target links is greater than a threshold and whether the second sublink is a sublink in the spliced target link. Then the first electronic device determines whether the second sublink satisfies the second condition based on the above determination.

可选的,阈值可以根据用户需要进行设定,本申请实施例对阈值的具体数值不作限制。Optionally, the threshold value can be set according to user needs, and the embodiment of the present application does not limit the specific value of the threshold value.

S804、当第二子链路满足第二条件时,第一电子设备获取第二子链路的地址信息,并将第二子链路的地址信息确定为第n+1个子链路的地址信息。S804: When the second sub-link satisfies the second condition, the first electronic device obtains address information of the second sub-link, and determines the address information of the second sub-link as address information of the (n+1)th sub-link.

具体的,当第一电子设备确定已拼接目标链路的数量小于阈值且第二子链路不为已拼接目标链路中的子链路,表示第二子链路为第n个子链路的下一个子链路,因此,第一电子设备获取第二子链路的地址信息,并将第二子链路的地址信息确定为第n+1个子链路的地址信息。Specifically, when the first electronic device determines that the number of spliced target links is less than a threshold and the second sub-link is not a sub-link in the spliced target links, it indicates that the second sub-link is the next sub-link of the nth sub-link. Therefore, the first electronic device obtains the address information of the second sub-link and determines the address information of the second sub-link as the address information of the n+1th sub-link.

示例性的,预设第二子链路为子链路1,已拼接目标链路的数量为4,阈值为10,已拼接目标链路中包括子链路2、子链路3、子链路4、子链路5。第一电子设备确定已拼接目标链路的数量小于阈值且第二子链路不为已拼接目标链路中的子链路,并将第二子链路的地址信息确定为第n+1个子链路的地址信息。Exemplarily, the second sublink is preset as sublink 1, the number of spliced target links is 4, the threshold is 10, and the spliced target links include sublink 2, sublink 3, sublink 4, and sublink 5. The first electronic device determines that the number of spliced target links is less than the threshold and the second sublink is not a sublink in the spliced target link, and determines the address information of the second sublink as the address information of the n+1th sublink.

在一种实施例中,结合图8,如图9所示,上述S801中,执行第一逻辑节点的匹配算子之后,该链路拼接方法还包括:S901-S902。In one embodiment, in combination with FIG. 8 , as shown in FIG. 9 , in the above S801 , after executing the matching operator of the first logical node, the link splicing method further includes: S901 - S902 .

S901、当匹配算子匹配不到第一子链路时,第一电子设备确定目标逻辑节点是否存在子逻辑层。S901: When the matching operator fails to match the first sub-link, the first electronic device determines whether a target logical node has a sub-logical layer.

具体的,由于匹配算子匹配不到第一子链路,因此第一电子设备确定目标逻辑节点未找到第n个子链路的下一个子链路。然后,第一电子设备确定目标逻辑节点是否存在子逻辑层。Specifically, since the matching operator cannot match the first sub-link, the first electronic device determines that the target logical node has not found the next sub-link of the nth sub-link. Then, the first electronic device determines whether the target logical node has a sub-logical layer.

S902、当匹配算子匹配到至少一个第一子链路,且选择算子从至少一个第一子链路中选择出第二子链路,且第二子链路不满足第二条件时,第一电子设备确定目标逻辑节点是否存在子逻辑层。S902: When the matching operator matches at least one first sub-link, and the selection operator selects a second sub-link from the at least one first sub-link, and the second sub-link does not meet the second condition, the first electronic device determines whether the target logical node has a sub-logical layer.

具体的,虽然匹配算子匹配到至少一个第一子链路且选择算子能从至少一个第一子链路中选择出第二子链路,但是由于第二子链路不满足第二条件,因此第一电子设备确定目标逻辑节点未找到第n个子链路的下一个子链路。然后,第一电子设备确定目标逻辑节点是否存在子逻辑层。Specifically, although the matching operator matches at least one first sub-link and the selection operator can select a second sub-link from the at least one first sub-link, since the second sub-link does not satisfy the second condition, the first electronic device determines that the target logical node has not found the next sub-link of the nth sub-link. Then, the first electronic device determines whether the target logical node has a sub-logical layer.

在一种实施例中,结合图9,如图10所示,该链路拼接方法还包括:S1001-S1002。In one embodiment, in combination with FIG. 9 , as shown in FIG. 10 , the link splicing method further includes: S1001 - S1002 .

S1001、当目标逻辑节点存在子逻辑层时,第一电子设备确定目标逻辑节点的子逻辑层中是否包括满足第一条件的逻辑节点。S1001: When a target logical node has a sub-logical layer, the first electronic device determines whether the sub-logical layer of the target logical node includes a logical node that meets a first condition.

具体的,当目标逻辑节点存在子逻辑层时,因为第一电子设备在目标逻辑节点未找到第n个子链路的下一个子链路,并且为了根据子逻辑层找到第n个子链路的下一个子链路,所以第一电子设备确定目标逻辑节点的子逻辑层中是否包括满足第一条件的逻辑节点。Specifically, when the target logical node has a sub-logical layer, because the first electronic device has not found the next sub-link of the nth sub-link in the target logical node, and in order to find the next sub-link of the nth sub-link according to the sub-logical layer, the first electronic device determines whether the sub-logical layer of the target logical node includes a logical node that satisfies the first condition.

第一电子设备确定目标逻辑节点的子逻辑层中是否包括满足第一条件的逻辑节点的具体描述,可以参考S701-S702的具体描述,在此不再赘述。For a detailed description of the first electronic device determining whether the sub-logical layer of the target logical node includes a logical node that meets the first condition, reference may be made to the detailed description of S701-S702, which will not be repeated here.

S1002、当目标逻辑节点不存在子逻辑层时,第一电子设备确定目标逻辑节点不能输出第n+1个子链路。S1002: When the target logical node does not have a sub-logical layer, the first electronic device determines that the target logical node cannot output the (n+1)th sub-link.

具体的,当目标逻辑节点不存在子逻辑层时,因为第一电子设备在目标逻辑节点未找到第n个子链路的下一个子链路,并且也不能根据子逻辑层找到第n个子链路的下一个子链路,所以第一电子设备确定目标逻辑节点不能输出第n+1个子链路。Specifically, when the target logical node does not have a sub-logical layer, because the first electronic device has not found the next sub-link of the nth sub-link in the target logical node, and cannot find the next sub-link of the nth sub-link according to the sub-logical layer, the first electronic device determines that the target logical node cannot output the (n+1)th sub-link.

上述主要从方法的角度对本申请实施例提供的方案进行了介绍。为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The above mainly introduces the solution provided by the embodiment of the present application from the perspective of the method. In order to realize the above functions, it includes hardware structures and/or software modules corresponding to the execution of each function. Those skilled in the art should easily realize that, in combination with the units and algorithm steps of each example described in the embodiments disclosed herein, the present application 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 application.

本申请实施例可以根据上述方法示例对链路拼接装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。可选的,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application can divide the link splicing device into functional modules 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 module can be implemented in the form of hardware or in the form of software functional modules. Optionally, the division of modules in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

如图11所示,为本申请实施例提供的一种链路拼接装置的结构示意图。该链路拼接装置可以用于执行图5-图10所示的链路拼接的方法。图11所示链路拼接装置包括:获取单元1101和处理单元1202。As shown in Figure 11, it is a schematic diagram of the structure of a link splicing device provided in an embodiment of the present application. The link splicing device can be used to execute the link splicing method shown in Figures 5 to 10. The link splicing device shown in Figure 11 includes: an acquisition unit 1101 and a processing unit 1202.

获取单元1101,用于获取与多个子链路一一对应的多个链路信息;链路信息包括链路起始信息和链路终止信息。例如,结合图5,获取单元1101用于执行S501。The acquisition unit 1101 is used to acquire a plurality of link information corresponding to the plurality of sub-links one by one; the link information includes link start information and link end information. For example, in conjunction with FIG5 , the acquisition unit 1101 is used to execute S501.

处理单元1102,用于当其他子链路的链路终止信息中,不存在与目标子链路的链路起始信息相同的链路终止信息时,将目标子链路确定为目标链路的第一个子链路;其他子链路为多个子链路中,除目标子链路以外的子链路。例如,结合图5,处理单元1102用于执行S502。The processing unit 1102 is configured to determine the target sublink as the first sublink of the target link when there is no link termination information identical to the link start information of the target sublink in the link termination information of the other sublinks; the other sublinks are sublinks other than the target sublink among the multiple sublinks. For example, in conjunction with FIG5 , the processing unit 1102 is configured to execute S502.

处理单元1102,还用于根据第一个子链路和逻辑拓扑树,确定其他子链路的地址信息,并基于其他子链路的地址信息和第一个子链路对多个子链路进行拼接,以得到目标链路;逻辑拓扑树包括多个逻辑节点;逻辑节点用于确定与逻辑节点匹配成功的子链路的下一个子链路的地址信息。例如,结合图5,处理单元1102还用于执行S503。The processing unit 1102 is further configured to determine the address information of other sub-links according to the first sub-link and the logical topology tree, and to splice multiple sub-links based on the address information of other sub-links and the first sub-link to obtain a target link; the logical topology tree includes multiple logical nodes; the logical node is used to determine the address information of the next sub-link of the sub-link that successfully matches the logical node. For example, in conjunction with FIG5, the processing unit 1102 is further configured to execute S503.

可选的,处理单元1102,用于:Optionally, the processing unit 1102 is configured to:

将第n个子链路的链路终止信息输入到逻辑拓扑树中;n为正整数。例如,结合图6,处理单元1102还用于执行S601。Input the link termination information of the nth sub-link into the logical topology tree; n is a positive integer. For example, in conjunction with FIG6 , the processing unit 1102 is further configured to execute S601.

当逻辑拓扑树中包括与第n个子链路匹配成功的逻辑节点时,确定目标逻辑节点是否输出第n+1个子链路的地址信息;目标逻辑节点为与第n个子链路匹配成功的逻辑节点。例如,结合图6,处理单元1102还用于执行S602。When the logical topology tree includes a logical node that successfully matches the nth sublink, it is determined whether the target logical node outputs the address information of the n+1th sublink; the target logical node is the logical node that successfully matches the nth sublink. For example, in conjunction with FIG6 , the processing unit 1102 is further configured to execute S602.

当目标逻辑节点输出第n+1个子链路的地址信息时,重复将第n+1个子链路的链路终止信息输入到逻辑拓扑树中,直到逻辑拓扑树不能匹配到子链路。例如,结合图6,处理单元1102还用于执行S603。When the target logical node outputs the address information of the n+1th sublink, the link termination information of the n+1th sublink is repeatedly input into the logical topology tree until the logical topology tree cannot match the sublink. For example, in conjunction with FIG6 , the processing unit 1102 is further configured to execute S603 .

当逻辑拓扑树中不包括与第n个子链路匹配成功的逻辑节点,或者目标逻辑节点不能输出第n+1个子链路时,将第n个子链路确定为目标链路的最后一个子链路。例如,结合图6,处理单元1102还用于执行S604。When the logical topology tree does not include a logical node that successfully matches the nth sublink, or the target logical node cannot output the n+1th sublink, the nth sublink is determined as the last sublink of the target link. For example, in conjunction with FIG6 , the processing unit 1102 is further configured to execute S604.

根据逻辑拓扑树输出的子链路的地址信息,确定其他子链路的地址信息。例如,结合图6,处理单元1102还用于执行S605。According to the address information of the sub-link output by the logical topology tree, the address information of other sub-links is determined. For example, in conjunction with FIG6 , the processing unit 1102 is further configured to execute S605 .

可选的,逻辑拓扑树包括多个逻辑层;每个逻辑节点包括第一条件;第一条件包括:第n个子链路的链路连接类型与逻辑节点配置的链路连接类型相同,和/或,第n个子链路的时隙信息与逻辑节点配置的时隙信息相同。Optionally, the logical topology tree includes multiple logical layers; each logical node includes a first condition; the first condition includes: the link connection type of the nth sub-link is the same as the link connection type configured for the logical node, and/or, the time slot information of the nth sub-link is the same as the time slot information configured for the logical node.

处理单元1102,还用于当第n个子链路的链路终止信息符合第m个逻辑层中第一逻辑节点对应的第一条件时,将第一逻辑节点确定为目标逻辑节点;m为正整数。例如,结合图7,处理单元1102还用于执行S701。The processing unit 1102 is further configured to determine the first logical node as the target logical node when the link termination information of the nth sub-link meets the first condition corresponding to the first logical node in the mth logical layer; m is a positive integer. For example, in conjunction with FIG7 , the processing unit 1102 is further configured to execute S701.

处理单元1102,还用于当第n个子链路的链路终止信息不符合第m个逻辑层中第一逻辑节点对应的第一条件时,确定第m+1个逻辑层中是否包括满足第一条件的逻辑节点,直到每个逻辑层中都不包括满足第一条件的逻辑节点,确定逻辑拓扑树中不包括与第n个子链路匹配成功的逻辑节点;第m+1个逻辑层为第一逻辑节点的子逻辑层。例如,结合图7,处理单元1102还用于执行S702。The processing unit 1102 is further configured to determine whether the m+1th logical layer includes a logical node that meets the first condition when the link termination information of the nth sub-link does not meet the first condition corresponding to the first logical node in the mth logical layer, until each logical layer does not include a logical node that meets the first condition, and determine that the logical topology tree does not include a logical node that successfully matches the nth sub-link; the m+1th logical layer is a sub-logical layer of the first logical node. For example, in conjunction with FIG7, the processing unit 1102 is further configured to execute S702.

可选的,第一逻辑节点包括:匹配算子、选择算子和第二条件;匹配算子用于:确定其余子链路的链路起始信息中,与第n个子链路的链路终止信息相同的链路起始信息对应的子链路;其余子链路为多个子链路中,除第n个子链路以外的子链路;选择算子用于:确定子链路端口号数值最大的子链路;第二条件包括:确定已拼接目标链路的数量是否大于阈值或确定第二子链路是否为已拼接目标链路中的子链路。Optionally, the first logical node includes: a matching operator, a selection operator, and a second condition; the matching operator is used to: determine the sublink corresponding to the link start information of the remaining sublinks that is the same as the link termination information of the nth sublink; the remaining sublinks are sublinks other than the nth sublink among multiple sublinks; the selection operator is used to: determine the sublink with the largest sublink port number value; the second condition includes: determining whether the number of spliced target links is greater than a threshold or determining whether the second sublink is a sublink in the spliced target links.

处理单元1102,还用于执行第一逻辑节点的匹配算子。例如,结合图8,处理单元1102还用于执行S801。The processing unit 1102 is further configured to execute a matching operator of the first logical node. For example, in conjunction with FIG8 , the processing unit 1102 is further configured to execute S801.

处理单元1102,还用于当匹配算子匹配到至少一个第一子链路时,执行第一逻辑节点的选择算子。例如,结合图8,处理单元1102还用于执行S802。The processing unit 1102 is further configured to execute the selection operator of the first logical node when the matching operator matches at least one first sub-link. For example, in conjunction with FIG8 , the processing unit 1102 is further configured to execute S802.

处理单元1102,还用于当选择算子从至少一个第一子链路中选择出第二子链路时,确定第二子链路是否满足第二条件。例如,结合图8,处理单元1102还用于执行S803。The processing unit 1102 is further configured to determine whether the second sub-link satisfies the second condition when the selection operator selects the second sub-link from the at least one first sub-link. For example, in conjunction with FIG8 , the processing unit 1102 is further configured to execute S803 .

处理单元1102,还用于当第二子链路满足第二条件时,获取第二子链路的地址信息,并将第二子链路的地址信息确定为第n+1个子链路的地址信息。例如,结合图8,处理单元1102还用于执行S804。The processing unit 1102 is further configured to obtain the address information of the second sub-link when the second sub-link satisfies the second condition, and determine the address information of the second sub-link as the address information of the (n+1)th sub-link. For example, in conjunction with FIG8 , the processing unit 1102 is further configured to execute S804.

可选的,处理单元1102,还用于当匹配算子匹配不到第一子链路时,确定目标逻辑节点是否存在子逻辑层。例如,结合图9,处理单元1102还用于执行S901。Optionally, the processing unit 1102 is further configured to determine whether the target logical node has a sub-logical layer when the matching operator fails to match the first sub-link. For example, in conjunction with FIG9 , the processing unit 1102 is further configured to execute S901.

处理单元1102,还用于当匹配算子匹配到至少一个第一子链路,且选择算子从至少一个第一子链路中选择出第二子链路,且第二子链路不满足第二条件时,确定目标逻辑节点是否存在子逻辑层。例如,结合图9,处理单元1102还用于执行S902。The processing unit 1102 is further configured to determine whether the target logical node has a sub-logical layer when the matching operator matches at least one first sub-link, and the selection operator selects a second sub-link from the at least one first sub-link, and the second sub-link does not meet the second condition. For example, in conjunction with FIG9 , the processing unit 1102 is further configured to execute S902.

可选的,处理单元1102,还用于当目标逻辑节点存在子逻辑层时,确定目标逻辑节点的子逻辑层中是否包括满足第一条件的逻辑节点。例如,结合图10,处理单元1102还用于执行S1001。Optionally, the processing unit 1102 is further configured to determine whether the sub-logical layer of the target logical node includes a logical node that meets the first condition when the target logical node has a sub-logical layer. For example, in conjunction with FIG10 , the processing unit 1102 is further configured to execute S1001.

处理单元1102,还用于当目标逻辑节点不存在子逻辑层时,确定目标逻辑节点不能输出第n+1个子链路。例如,结合图10,处理单元1102还用于执行S1002。The processing unit 1102 is further configured to determine that the target logical node cannot output the n+1th sub-link when the target logical node does not have a sub-logical layer. For example, in conjunction with FIG10 , the processing unit 1102 is further configured to execute S1002 .

本申请实施例还提供一种计算机可读存储介质,计算机可读存储介质包括计算机执行指令,当计算机执行指令在计算机上运行时,使得计算机执行如上述实施例提供的链路拼接方法。An embodiment of the present application further provides a computer-readable storage medium, which includes computer-executable instructions. When the computer-executable instructions are executed on a computer, the computer executes the link splicing method provided in the above embodiment.

本申请实施例还提供一种计算机程序,该计算机程序可直接加载到存储器中,并含有软件代码,该计算机程序经由计算机载入并执行后能够实现上述实施例提供的链路拼接方法。The embodiment of the present application also provides a computer program, which can be directly loaded into a memory and contains software code. After being loaded and executed by a computer, the computer program can implement the link splicing method provided in the above embodiment.

本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机可读存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that in one or more of the above examples, the functions described in this application can be implemented with hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or codes on a computer-readable medium. Computer-readable media include computer-readable storage media and communication media, wherein the communication media include any media that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that a general or special-purpose computer can access.

通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules or units is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the scheme of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对通用技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit. If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a 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 general technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium, including several instructions to enable a device (which can be a single-chip microcomputer, chip, 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 aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a ROM, a RAM, a disk, or an optical disk.

以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。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 that can be easily thought of by a person skilled in the art 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 shall be based on the protection scope of the claims.

Claims (12)

1.一种链路拼接方法,其特征在于,包括:1. A link splicing method, characterized by comprising: 获取与多个子链路一一对应的多个链路信息;所述链路信息包括链路起始信息和链路终止信息;Acquire a plurality of link information corresponding to the plurality of sub-links one by one; the link information includes link start information and link end information; 当其他子链路的链路终止信息中,不存在与目标子链路的链路起始信息相同的链路终止信息时,将所述目标子链路确定为目标链路的第一个子链路;所述其他子链路为所述多个子链路中,除所述目标子链路以外的子链路;When link termination information of other sub-links does not contain link termination information identical to link start information of the target sub-link, determining the target sub-link as the first sub-link of the target link; the other sub-links are sub-links other than the target sub-link among the multiple sub-links; 根据所述第一个子链路和逻辑拓扑树,确定所述其他子链路的地址信息,并基于所述其他子链路的地址信息和所述第一个子链路对所述多个子链路进行拼接,以得到所述目标链路;所述逻辑拓扑树包括多个逻辑节点;所述逻辑节点用于确定与所述逻辑节点匹配成功的子链路的下一个子链路的地址信息;According to the first sub-link and the logical topology tree, address information of the other sub-links is determined, and the multiple sub-links are spliced based on the address information of the other sub-links and the first sub-link to obtain the target link; the logical topology tree includes multiple logical nodes; the logical nodes are used to determine the address information of the next sub-link of the sub-link that successfully matches the logical node; 其中,所述根据所述第一个子链路和逻辑拓扑树,确定所述其他子链路的地址信息,包括:Wherein, determining the address information of the other sub-links according to the first sub-link and the logical topology tree includes: 将第n个子链路的链路终止信息输入到所述逻辑拓扑树中;n为正整数;Inputting the link termination information of the nth sub-link into the logical topology tree; n is a positive integer; 当所述逻辑拓扑树中包括与所述第n个子链路匹配成功的逻辑节点时,确定目标逻辑节点是否输出第n+1个子链路的地址信息;所述目标逻辑节点为与所述第n个子链路匹配成功的逻辑节点;When the logical topology tree includes a logical node that successfully matches the nth sublink, determining whether the target logical node outputs address information of the n+1th sublink; the target logical node is the logical node that successfully matches the nth sublink; 当所述目标逻辑节点输出所述第n+1个子链路的地址信息时,重复将所述第n+1个子链路的链路终止信息输入到所述逻辑拓扑树中,直到所述逻辑拓扑树不能匹配到子链路;When the target logical node outputs the address information of the n+1th sub-link, repeatedly inputting the link termination information of the n+1th sub-link into the logical topology tree until the logical topology tree cannot match any sub-link; 当所述逻辑拓扑树中不包括与所述第n个子链路匹配成功的逻辑节点,或者所述目标逻辑节点不能输出所述第n+1个子链路时,将所述第n个子链路确定为所述目标链路的最后一个子链路;When the logical topology tree does not include a logical node that successfully matches the nth sublink, or the target logical node cannot output the n+1th sublink, determining the nth sublink as the last sublink of the target link; 根据所述逻辑拓扑树输出的子链路的地址信息,确定所述其他子链路的地址信息。The address information of the other sub-links is determined according to the address information of the sub-links output by the logical topology tree. 2.根据权利要求1所述的链路拼接方法,其特征在于,所述逻辑拓扑树包括多个逻辑层;每个逻辑节点包括第一条件;所述第一条件包括:所述第n个子链路的链路连接类型与所述逻辑节点配置的链路连接类型相同,和/或,所述第n个子链路的时隙信息与所述逻辑节点配置的时隙信息相同;2. The link splicing method according to claim 1, characterized in that the logical topology tree includes multiple logical layers; each logical node includes a first condition; the first condition includes: the link connection type of the nth sub-link is the same as the link connection type configured for the logical node, and/or, the time slot information of the nth sub-link is the same as the time slot information configured for the logical node; 所述将第n个子链路的链路终止信息输入到所述逻辑拓扑树中之后,还包括:After inputting the link termination information of the nth sub-link into the logical topology tree, the method further includes: 当第n个子链路的链路终止信息符合第m个逻辑层中第一逻辑节点对应的第一条件时,将所述第一逻辑节点确定为所述目标逻辑节点;m为正整数;When the link termination information of the nth sub-link meets the first condition corresponding to the first logical node in the mth logical layer, the first logical node is determined as the target logical node; m is a positive integer; 当第n个子链路的链路终止信息不符合第m个逻辑层中第一逻辑节点对应的第一条件时,确定第m+1个逻辑层中是否包括满足所述第一条件的逻辑节点,直到每个逻辑层中都不包括满足所述第一条件的逻辑节点,确定所述逻辑拓扑树中不包括与所述第n个子链路匹配成功的逻辑节点;所述第m+1个逻辑层为所述第一逻辑节点的子逻辑层。When the link termination information of the nth sub-link does not meet the first condition corresponding to the first logical node in the mth logical layer, determine whether the m+1th logical layer includes a logical node that meets the first condition, until each logical layer does not include a logical node that meets the first condition, and determine that the logical topology tree does not include a logical node that successfully matches the nth sub-link; the m+1th logical layer is a sub-logical layer of the first logical node. 3.根据权利要求2所述的链路拼接方法,其特征在于,所述第一逻辑节点包括:匹配算子、选择算子和第二条件;3. The link splicing method according to claim 2, characterized in that the first logical node comprises: a matching operator, a selection operator and a second condition; 所述匹配算子用于:确定其余子链路的链路起始信息中,与所述第n个子链路的链路终止信息相同的链路起始信息对应的子链路;所述其余子链路为所述多个子链路中,除所述第n个子链路以外的子链路;The matching operator is used to: determine the sublinks corresponding to the link start information that is the same as the link termination information of the n-th sublink among the link start information of the remaining sublinks; the remaining sublinks are the sublinks among the multiple sublinks except the n-th sublink; 所述选择算子用于:确定子链路端口号数值最大的子链路;The selection operator is used to: determine the sublink with the largest sublink port number value; 所述第二条件包括:确定已拼接目标链路的数量是否大于阈值或确定第二子链路是否为所述已拼接目标链路中的子链路;The second condition includes: determining whether the number of spliced target links is greater than a threshold or determining whether the second sub-link is a sub-link in the spliced target link; 所述将所述第一逻辑节点确定为所述目标逻辑节点之后,还包括:After determining the first logical node as the target logical node, the method further includes: 执行所述第一逻辑节点的所述匹配算子;executing the matching operator of the first logical node; 当所述匹配算子匹配到至少一个第一子链路时,执行所述第一逻辑节点的所述选择算子;When the matching operator matches at least one first sub-link, executing the selection operator of the first logical node; 当所述选择算子从所述至少一个第一子链路中选择出第二子链路时,确定所述第二子链路是否满足所述第二条件;When the selection operator selects a second sub-link from the at least one first sub-link, determining whether the second sub-link satisfies the second condition; 当所述第二子链路满足所述第二条件时,获取所述第二子链路的地址信息,并将所述第二子链路的地址信息确定为所述第n+1个子链路的地址信息。When the second sub-link satisfies the second condition, the address information of the second sub-link is acquired, and the address information of the second sub-link is determined as the address information of the (n+1)th sub-link. 4.根据权利要求3所述的链路拼接方法,其特征在于,所述执行所述第一逻辑节点的所述匹配算子之后,还包括:4. The link splicing method according to claim 3, characterized in that after executing the matching operator of the first logical node, it also includes: 当所述匹配算子匹配不到所述第一子链路时,确定所述目标逻辑节点是否存在子逻辑层;When the matching operator fails to match the first sub-link, determining whether the target logical node has a sub-logical layer; 当所述匹配算子匹配到所述至少一个第一子链路,且所述选择算子从所述至少一个第一子链路中选择出所述第二子链路,且所述第二子链路不满足所述第二条件时,确定所述目标逻辑节点是否存在子逻辑层。When the matching operator matches the at least one first sub-link, and the selecting operator selects the second sub-link from the at least one first sub-link, and the second sub-link does not satisfy the second condition, it is determined whether the target logical node has a sub-logical layer. 5.根据权利要求4所述的链路拼接方法,其特征在于,还包括:5. The link splicing method according to claim 4, further comprising: 当所述目标逻辑节点存在子逻辑层时,确定所述目标逻辑节点的子逻辑层中是否包括满足所述第一条件的逻辑节点;When the target logical node has a sub-logical layer, determining whether the sub-logical layer of the target logical node includes a logical node that meets the first condition; 当所述目标逻辑节点不存在子逻辑层时,确定所述目标逻辑节点不能输出所述第n+1个子链路。When the target logical node does not have a sub-logical layer, it is determined that the target logical node cannot output the (n+1)th sub-link. 6.一种链路拼接装置,其特征在于,包括:获取单元和处理单元;6. A link splicing device, characterized by comprising: an acquisition unit and a processing unit; 所述获取单元,用于获取与多个子链路一一对应的多个链路信息;所述链路信息包括链路起始信息和链路终止信息;The acquisition unit is used to acquire a plurality of link information corresponding to the plurality of sub-links one by one; the link information includes link start information and link termination information; 所述处理单元,用于当其他子链路的链路终止信息中,不存在与目标子链路的链路起始信息相同的链路终止信息时,将所述目标子链路确定为目标链路的第一个子链路;所述其他子链路为所述多个子链路中,除所述目标子链路以外的子链路;The processing unit is configured to determine the target sublink as the first sublink of the target link when link termination information of other sublinks does not contain link termination information identical to link start information of the target sublink; the other sublinks are sublinks other than the target sublink among the multiple sublinks; 所述处理单元,还用于根据所述第一个子链路和逻辑拓扑树,确定所述其他子链路的地址信息,并基于所述其他子链路的地址信息和所述第一个子链路对所述多个子链路进行拼接,以得到所述目标链路;所述逻辑拓扑树包括多个逻辑节点;所述逻辑节点用于确定与所述逻辑节点匹配成功的子链路的下一个子链路的地址信息;The processing unit is further used to determine the address information of the other sub-links according to the first sub-link and the logical topology tree, and splice the multiple sub-links based on the address information of the other sub-links and the first sub-link to obtain the target link; the logical topology tree includes multiple logical nodes; the logical node is used to determine the address information of the next sub-link of the sub-link that successfully matches the logical node; 其中,所述处理单元,用于:Wherein, the processing unit is used to: 将第n个子链路的链路终止信息输入到所述逻辑拓扑树中;n为正整数;Inputting the link termination information of the nth sub-link into the logical topology tree; n is a positive integer; 当所述逻辑拓扑树中包括与所述第n个子链路匹配成功的逻辑节点时,确定目标逻辑节点是否输出第n+1个子链路的地址信息;所述目标逻辑节点为与所述第n个子链路匹配成功的逻辑节点;When the logical topology tree includes a logical node that successfully matches the nth sublink, determining whether the target logical node outputs address information of the n+1th sublink; the target logical node is the logical node that successfully matches the nth sublink; 当所述目标逻辑节点输出所述第n+1个子链路的地址信息时,重复将所述第n+1个子链路的链路终止信息输入到所述逻辑拓扑树中,直到所述逻辑拓扑树不能匹配到子链路;When the target logical node outputs the address information of the n+1th sub-link, repeatedly inputting the link termination information of the n+1th sub-link into the logical topology tree until the logical topology tree cannot match any sub-link; 当所述逻辑拓扑树中不包括与所述第n个子链路匹配成功的逻辑节点,或者所述目标逻辑节点不能输出所述第n+1个子链路时,将所述第n个子链路确定为所述目标链路的最后一个子链路;When the logical topology tree does not include a logical node that successfully matches the nth sublink, or the target logical node cannot output the n+1th sublink, determining the nth sublink as the last sublink of the target link; 根据所述逻辑拓扑树输出的子链路的地址信息,确定所述其他子链路的地址信息。The address information of the other sub-links is determined according to the address information of the sub-links output by the logical topology tree. 7.根据权利要求6所述的链路拼接装置,其特征在于,所述逻辑拓扑树包括多个逻辑层;每个逻辑节点包括第一条件;所述第一条件包括:所述第n个子链路的链路连接类型与所述逻辑节点配置的链路连接类型相同,和/或,所述第n个子链路的时隙信息与所述逻辑节点配置的时隙信息相同;7. The link splicing device according to claim 6, characterized in that the logical topology tree includes multiple logical layers; each logical node includes a first condition; the first condition includes: the link connection type of the nth sub-link is the same as the link connection type configured for the logical node, and/or, the time slot information of the nth sub-link is the same as the time slot information configured for the logical node; 所述处理单元,还用于当第n个子链路的链路终止信息符合第m个逻辑层中第一逻辑节点对应的第一条件时,将所述第一逻辑节点确定为所述目标逻辑节点;m为正整数;The processing unit is further configured to determine the first logical node as the target logical node when the link termination information of the nth sub-link meets the first condition corresponding to the first logical node in the mth logical layer; m is a positive integer; 所述处理单元,还用于当第n个子链路的链路终止信息不符合第m个逻辑层中第一逻辑节点对应的第一条件时,确定第m+1个逻辑层中是否包括满足所述第一条件的逻辑节点,直到每个逻辑层中都不包括满足所述第一条件的逻辑节点,确定所述逻辑拓扑树中不包括与所述第n个子链路匹配成功的逻辑节点;所述第m+1个逻辑层为所述第一逻辑节点的子逻辑层。The processing unit is further configured to determine whether the m+1th logical layer includes a logical node that satisfies the first condition when the link termination information of the nth sub-link does not meet the first condition corresponding to the first logical node in the mth logical layer, until each logical layer does not include a logical node that satisfies the first condition, and determine that the logical topology tree does not include a logical node that successfully matches the nth sub-link; the m+1th logical layer is a sub-logical layer of the first logical node. 8.根据权利要求7所述的链路拼接装置,其特征在于,所述第一逻辑节点包括:匹配算子、选择算子和第二条件;8. The link splicing device according to claim 7, characterized in that the first logical node comprises: a matching operator, a selection operator and a second condition; 所述匹配算子用于:确定其余子链路的链路起始信息中,与所述第n个子链路的链路终止信息相同的链路起始信息对应的子链路;所述其余子链路为所述多个子链路中,除所述第n个子链路以外的子链路;The matching operator is used to: determine the sublinks corresponding to the link start information that is the same as the link termination information of the n-th sublink among the link start information of the remaining sublinks; the remaining sublinks are the sublinks among the multiple sublinks except the n-th sublink; 所述选择算子用于:确定子链路端口号数值最大的子链路;The selection operator is used to: determine the sublink with the largest sublink port number value; 所述第二条件包括:确定已拼接目标链路的数量是否大于阈值或确定第二子链路是否为所述已拼接目标链路中的子链路;The second condition includes: determining whether the number of spliced target links is greater than a threshold or determining whether the second sub-link is a sub-link in the spliced target link; 所述处理单元,还用于执行所述第一逻辑节点的所述匹配算子;The processing unit is further configured to execute the matching operator of the first logical node; 所述处理单元,还用于当所述匹配算子匹配到至少一个第一子链路时,执行所述第一逻辑节点的所述选择算子;The processing unit is further configured to execute the selection operator of the first logical node when the matching operator matches at least one first sub-link; 所述处理单元,还用于当所述选择算子从所述至少一个第一子链路中选择出第二子链路时,确定所述第二子链路是否满足所述第二条件;The processing unit is further configured to determine whether the second sub-link satisfies the second condition when the selection operator selects the second sub-link from the at least one first sub-link; 所述处理单元,还用于当所述第二子链路满足所述第二条件时,获取所述第二子链路的地址信息,并将所述第二子链路的地址信息确定为所述第n+1个子链路的地址信息。The processing unit is further configured to, when the second sub-link satisfies the second condition, obtain the address information of the second sub-link, and determine the address information of the second sub-link as the address information of the (n+1)th sub-link. 9.根据权利要求8所述的链路拼接装置,其特征在于,9. The link splicing device according to claim 8, characterized in that: 所述处理单元,还用于当所述匹配算子匹配不到所述第一子链路时,确定所述目标逻辑节点是否存在子逻辑层;The processing unit is further configured to determine whether the target logical node has a sub-logical layer when the matching operator fails to match the first sub-link; 所述处理单元,还用于当所述匹配算子匹配到所述至少一个第一子链路,且所述选择算子从所述至少一个第一子链路中选择出所述第二子链路,且所述第二子链路不满足所述第二条件时,确定所述目标逻辑节点是否存在子逻辑层。The processing unit is further configured to determine whether the target logical node has a sub-logical layer when the matching operator matches the at least one first sub-link, the selection operator selects the second sub-link from the at least one first sub-link, and the second sub-link does not satisfy the second condition. 10.根据权利要求9所述的链路拼接装置,其特征在于,10. The link splicing device according to claim 9, characterized in that: 所述处理单元,还用于当所述目标逻辑节点存在子逻辑层时,确定所述目标逻辑节点的子逻辑层中是否包括满足所述第一条件的逻辑节点;The processing unit is further configured to, when the target logical node has a sub-logical layer, determine whether the sub-logical layer of the target logical node includes a logical node that meets the first condition; 所述处理单元,还用于当所述目标逻辑节点不存在子逻辑层时,确定所述目标逻辑节点不能输出所述第n+1个子链路。The processing unit is further configured to, when the target logical node does not have a sub-logical layer, determine that the target logical node cannot output the (n+1)th sub-link. 11.一种链路拼接装置,其特征在于,包括存储器和处理器;所述存储器用于存储计算机执行指令,所述处理器与所述存储器通过总线连接;当所述链路拼接装置运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述链路拼接装置执行如权利要求1-5任一项所述的链路拼接方法。11. A link splicing device, characterized in that it includes a memory and a processor; the memory is used to store computer execution instructions, and the processor is connected to the memory through a bus; when the link splicing device is running, the processor executes the computer execution instructions stored in the memory, so that the link splicing device performs the link splicing method according to any one of claims 1 to 5. 12.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括计算机执行指令,当所述计算机执行指令在计算机上运行时,使得所述计算机执行如权利要求1-5任一项所述的链路拼接方法。12. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises computer-executable instructions, and when the computer-executable instructions are executed on a computer, the computer executes the link splicing method according to any one of claims 1 to 5.
CN202211527605.7A 2022-12-01 2022-12-01 Link splicing method, device and storage medium Active CN116248573B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211527605.7A CN116248573B (en) 2022-12-01 2022-12-01 Link splicing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211527605.7A CN116248573B (en) 2022-12-01 2022-12-01 Link splicing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN116248573A CN116248573A (en) 2023-06-09
CN116248573B true CN116248573B (en) 2024-06-18

Family

ID=86628398

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211527605.7A Active CN116248573B (en) 2022-12-01 2022-12-01 Link splicing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN116248573B (en)

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7085242B2 (en) * 2002-03-22 2006-08-01 Telcordia Technologies, Inc. Virtual IP topology reconfiguration migration
US7327695B2 (en) * 2003-12-19 2008-02-05 Telefonaktiebolaget Lm Ericsson (Publ) Centralized link-scope configuration of an internet protocol (IP) network
US8458353B2 (en) * 2009-08-13 2013-06-04 Qualcomm Incorporated Method and apparatus for link aggregation in a heterogeneous communication system
US8681654B2 (en) * 2009-10-14 2014-03-25 At&T Intellectual Property I, L.P. Methods and apparatus to design a survivable internet protocol link topology
US9304709B2 (en) * 2013-09-06 2016-04-05 Western Digital Technologies, Inc. High performance system providing selective merging of dataframe segments in hardware
CN104978340B (en) * 2014-04-08 2020-05-15 北京奇虎科技有限公司 A link address generation method, device and server
CN109818858B (en) * 2017-11-20 2021-04-30 中国电信股份有限公司 Method, device and system for realizing automatic splicing of inter-domain topological relation
CN109120465B (en) * 2018-10-23 2021-07-02 中国人民解放军战略支援部队信息工程大学 A Motif-based Network Topology Partitioning Method in Target Area
CN109802855B (en) * 2018-12-28 2020-08-07 华为技术有限公司 A fault location method and device
CN113194004B (en) * 2021-05-20 2023-04-07 中国工商银行股份有限公司 Network topology construction method and device, and network change processing method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
SNMP环境下的网络拓扑发现算法的研究;付璧;周力;;计算机与现代化;20090915(第09期);全文 *
一种IPv4/IPv6过渡场景下IP源地址验证及追溯通用性框架方案;胡光武;张平安;;深圳信息职业技术学院学报;20160315(第01期);全文 *

Also Published As

Publication number Publication date
CN116248573A (en) 2023-06-09

Similar Documents

Publication Publication Date Title
CN106657213B (en) File transmission method and device
CN111190551B (en) Redis data migration system, migration method, migration device and terminal
CN103281689B (en) Method for network switching and version upgrading and terminal equipment
CN115913937B (en) Container multi-network card network configuration method, device, equipment and storage medium
CN114020403B (en) A chain code management method, device and terminal device of alliance chain
CN114239064A (en) Privacy computing method, device, electronic device, and computer-readable storage medium
CN112764897B (en) Task request processing method, device and system and computer readable storage medium
CN114968937B (en) A data access method, device, equipment and computer readable storage medium
CN111459484A (en) The back-end data simulation method when the front-end and back-end of the web page are separated and developed
CN116248573B (en) Link splicing method, device and storage medium
CN111857985A (en) Browser plug-in calling method, device, storage medium and terminal
CN113312385A (en) Cache operation method, device and system, storage medium and operation equipment
CN111930626B (en) Automated testing method and device based on PaaS cloud service
CN112667538B (en) A method, system, device and medium for obtaining network card identification number
CN116185518A (en) A BIOS configuration mode setting method, device and storage medium
CN109857682B (en) Data access method, memory and processor
CN111078139B (en) Method and device for realizing S3 standard object storage interface
CN115904488A (en) Data transmission method, system, device and equipment
CN112579250A (en) Middleware management method and device and repair engine system
CN117914695B (en) Network-on-chip configuration method, device and storage medium
CN114640403B (en) eSIM terminal testing method, device, terminal and storage medium
CN111476663B (en) Data processing method and device, node equipment and storage medium
CN118972254B (en) Network configuration version management method, device and electronic device
CN111831348B (en) Method and device for automatically configuring application and terminal equipment
CN116009876A (en) Data verification method, device and storage medium

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