[go: up one dir, main page]

CN118695144A - Multipath signal transmission method and system in optical communication network - Google Patents

Multipath signal transmission method and system in optical communication network Download PDF

Info

Publication number
CN118695144A
CN118695144A CN202411173294.8A CN202411173294A CN118695144A CN 118695144 A CN118695144 A CN 118695144A CN 202411173294 A CN202411173294 A CN 202411173294A CN 118695144 A CN118695144 A CN 118695144A
Authority
CN
China
Prior art keywords
data packet
sub
path
target
packet
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.)
Granted
Application number
CN202411173294.8A
Other languages
Chinese (zh)
Other versions
CN118695144B (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.)
Suzhou Aixiongsi Communication Technology Co ltd
Original Assignee
Suzhou Aixiongsi Communication Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Aixiongsi Communication Technology Co ltd filed Critical Suzhou Aixiongsi Communication Technology Co ltd
Priority to CN202411173294.8A priority Critical patent/CN118695144B/en
Publication of CN118695144A publication Critical patent/CN118695144A/en
Application granted granted Critical
Publication of CN118695144B publication Critical patent/CN118695144B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • H04L1/0056Systems characterized by the type of code used
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/43Assembling or disassembling of packets, e.g. segmentation and reassembly [SAR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0003Details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0073Provisions for forwarding or routing, e.g. lookup tables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0084Quality of service aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本申请提供一种光通信网络中的多路径信号传输方法及系统,涉及光通信传输领域,该方法包括:获取待由光通信装置传输的目标数据包和光通信装置的各个传输路径的路径状态数据;根据目标数据包的内容感知信息将目标数据包自适应拆分成相应的子数据包组,并从子数据包组中筛选至少一个关键子数据包;针对各个关键子数据包,确定关键子数据包所对应的前向纠错码,以更新目标子数据包组;确定目标子数据包组中各个目标子数据包所对应的目标传输路径,以传输相应的子数据包,并利用最优传输路径传输各个前向纠错码和相应的目标传输路径的路径标识。由此,确保了系统在面对网络状态波动和突发情况时,能保持高效的传输性能和较低的误码率。

The present application provides a multipath signal transmission method and system in an optical communication network, which relates to the field of optical communication transmission. The method includes: obtaining a target data packet to be transmitted by an optical communication device and path state data of each transmission path of the optical communication device; adaptively splitting the target data packet into corresponding sub-data packet groups according to content perception information of the target data packet, and screening at least one key sub-data packet from the sub-data packet group; for each key sub-data packet, determining the forward error correction code corresponding to the key sub-data packet to update the target sub-data packet group; determining the target transmission path corresponding to each target sub-data packet in the target sub-data packet group to transmit the corresponding sub-data packet, and using the optimal transmission path to transmit each forward error correction code and the path identifier of the corresponding target transmission path. Thus, it is ensured that the system can maintain efficient transmission performance and low bit error rate when facing network state fluctuations and emergencies.

Description

光通信网络中的多路径信号传输方法及系统Multipath signal transmission method and system in optical communication network

技术领域Technical Field

本申请涉及光通信传输技术领域,尤其涉及一种光通信网络中的多路径信号传输方法及系统。The present application relates to the field of optical communication transmission technology, and in particular to a multi-path signal transmission method and system in an optical communication network.

背景技术Background Art

光通信网络因其高带宽、低延迟和长距离传输的优势,已成为现代通信网络的骨干,在光通信网络中,信息通常以光信号的形式传输,从而确保高速和高效的通信。随着信息化的深入发展和各种数据服务的普及,网络中传输的数据种类和数量迅速增加,数据包的大小和复杂性也日益提升。在这种背景下,多路径传输技术被广泛采用,通过同时利用多个传输路径来提高数据传输的效率和可靠性。Optical communication networks have become the backbone of modern communication networks due to their advantages of high bandwidth, low latency and long-distance transmission. In optical communication networks, information is usually transmitted in the form of optical signals to ensure high-speed and efficient communication. With the in-depth development of informatization and the popularization of various data services, the types and quantities of data transmitted in the network have increased rapidly, and the size and complexity of data packets have also increased. In this context, multipath transmission technology has been widely adopted to improve the efficiency and reliability of data transmission by utilizing multiple transmission paths at the same time.

在复杂的网络环境中,由于信号衰减、干扰和噪声等因素,数据传输过程中的丢包和误码问题频繁发生。尤其是在高带宽应用(如高清视频和高保真音频)中,数据丢失和错误可能导致严重的用户体验问题,如画面卡顿、声音断续等,导致数据传输的可靠性不佳。In complex network environments, packet loss and bit errors frequently occur during data transmission due to factors such as signal attenuation, interference, and noise. Especially in high-bandwidth applications (such as high-definition video and high-fidelity audio), data loss and errors may cause serious user experience problems, such as image freezes and intermittent sounds, resulting in poor data transmission reliability.

此外,由于各个传输路径的路径状态的差异化,使得传输时延不同,导致接收端所接收到的信号会产生干扰和叠加问题。然而,现有的信号恢复技术在处理多路径传输中的时延差异时,效果有限,难以保证数据包的完整性和准确性。In addition, due to the differences in the path states of each transmission path, the transmission delay is different, resulting in interference and superposition problems of the signals received by the receiving end. However, the existing signal recovery technology has limited effect when dealing with the delay differences in multi-path transmission, and it is difficult to ensure the integrity and accuracy of the data packet.

针对上述问题,目前业界暂未提出较佳的技术解决方案。In response to the above problems, the industry has not yet proposed a better technical solution.

发明内容Summary of the invention

本申请提供一种光通信网络中的多路径信号传输方法、系统、存储介质、计算机程序产品及电子设备,用以至少解决目前相关技术中多路径数据传输的可靠性不佳的问题。The present application provides a multipath signal transmission method, system, storage medium, computer program product and electronic device in an optical communication network, which are used to at least solve the problem of poor reliability of multipath data transmission in the current related technology.

第一方面,本申请实施例提供一种光通信网络中的多路径信号传输方法,包括:获取待由光通信装置传输的目标数据包和所述光通信装置的各个传输路径的路径状态数据;根据所述目标数据包的内容感知信息将所述目标数据包自适应拆分成相应的子数据包组,并从所述子数据包组中筛选至少一个关键子数据包;针对各个所述关键子数据包,确定所述关键子数据包所对应的前向纠错码,并将所述前向纠错码附加至所述关键子数据包,以根据经更新的子数据包组确定目标子数据包组;根据各个所述传输路径的路径状态数据确定最优传输路径,并确定所述目标子数据包组中各个目标子数据包所对应的目标传输路径;利用各个所述目标传输路径分别传输所述目标子数据包组中相应的子数据包,并利用所述最优传输路径传输各个前向纠错码和相应的目标传输路径的路径标识。In a first aspect, an embodiment of the present application provides a multipath signal transmission method in an optical communication network, comprising: obtaining a target data packet to be transmitted by an optical communication device and path status data of each transmission path of the optical communication device; adaptively splitting the target data packet into corresponding sub-data packet groups according to content perception information of the target data packet, and screening at least one key sub-data packet from the sub-data packet group; for each of the key sub-data packets, determining a forward error correction code corresponding to the key sub-data packet, and attaching the forward error correction code to the key sub-data packet to determine a target sub-data packet group according to an updated sub-data packet group; determining an optimal transmission path according to the path status data of each of the transmission paths, and determining a target transmission path corresponding to each target sub-data packet in the target sub-data packet group; using each of the target transmission paths to respectively transmit the corresponding sub-data packets in the target sub-data packet group, and using the optimal transmission path to transmit each forward error correction code and the path identifier of the corresponding target transmission path.

第二方面,本申请实施例提供一种光通信网络中的多路径信号传输系统,包括:获取单元,用于获取待由光通信装置传输的目标数据包和所述光通信装置的各个传输路径的路径状态数据;自适应拆包单元,用于根据所述目标数据包的内容感知信息将所述目标数据包自适应拆分成相应的子数据包组,并从所述子数据包组中筛选至少一个关键子数据包;附码单元,用于针对各个所述关键子数据包,确定所述关键子数据包所对应的前向纠错码,并将所述前向纠错码附加至所述关键子数据包,以根据经更新的子数据包组确定目标子数据包组;路径划分单元,用于根据各个所述传输路径的路径状态数据确定最优传输路径,并确定所述目标子数据包组中各个目标子数据包所对应的目标传输路径;传输单元,用于利用各个所述目标传输路径分别传输所述目标子数据包组中相应的子数据包,并利用所述最优传输路径传输各个前向纠错码和相应的目标传输路径的路径标识。In a second aspect, an embodiment of the present application provides a multipath signal transmission system in an optical communication network, comprising: an acquisition unit, configured to acquire a target data packet to be transmitted by an optical communication device and path status data of each transmission path of the optical communication device; an adaptive unpacking unit, configured to adaptively split the target data packet into corresponding sub-data packet groups according to content perception information of the target data packet, and screen at least one key sub-data packet from the sub-data packet group; a code attachment unit, configured to determine, for each of the key sub-data packets, a forward error correction code corresponding to the key sub-data packet, and attach the forward error correction code to the key sub-data packet to determine a target sub-data packet group according to an updated sub-data packet group; a path division unit, configured to determine an optimal transmission path according to the path status data of each of the transmission paths, and determine a target transmission path corresponding to each target sub-data packet in the target sub-data packet group; a transmission unit, configured to respectively transmit corresponding sub-data packets in the target sub-data packet group using each of the target transmission paths, and transmit each forward error correction code and a path identifier of the corresponding target transmission path using the optimal transmission path.

第三方面,提供一种电子设备,其包括:至少一个处理器,以及与所述至少一个处理器通信连接的存储器,其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行本申请任一实施例的光通信网络中的多路径信号传输方法的步骤。According to a third aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the multipath signal transmission method in an optical communication network of any embodiment of the present application.

第四方面,本申请实施例提供一种存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现本申请任一实施例的光通信网络中的多路径信号传输方法的步骤。In a fourth aspect, an embodiment of the present application provides a storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, the steps of the multipath signal transmission method in an optical communication network of any embodiment of the present application are implemented.

第五方面,本申请实施例提供一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现本申请任一实施例的光通信网络中的多路径信号传输方法的步骤。In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program/instruction, which, when executed by a processor, implements the steps of the multipath signal transmission method in an optical communication network of any embodiment of the present application.

通过本申请提供的一种光通信网络中的多路径信号传输方法及系统,能够至少产生如下的技术效果:The multipath signal transmission method and system in an optical communication network provided by the present application can produce at least the following technical effects:

(1)根据目标数据包的内容感知信息将待传输的目标数据包拆分为多个子数据包,使得数据包可以根据其重要性进行差异化处理,并从中筛选关键子数据包,对关键子数据包附加FEC(Forward Error Correction, 前向纠错码),使得在多路径数据并行传输过程中,如果发生数据包丢失或误码,接收端可以通过纠错码对关键子数据包进行恢复,从而确保了传输数据包中关键信息的完整可靠性。(1) Split the target data packet to be transmitted into multiple sub-data packets based on the content-aware information of the target data packet, so that the data packets can be processed differently according to their importance, and key sub-data packets are screened out. FEC (Forward Error Correction) is added to the key sub-data packets. In this way, if data packet loss or bit error occurs during multi-path data parallel transmission, the receiving end can recover the key sub-data packets through the error correction code, thereby ensuring the complete reliability of the key information in the transmitted data packet.

(2)根据目标数据包的内容感知信息将待传输的目标数据包拆分为多个子数据包,这样在进行数据包路径分配操作时,能够为关键子数据包优先分配质量较好的路径,确保了重要数据的优先传输。由此,根据实时的网络状态和传输需求动态调整数据包的传输路径,能显著提高对网络资源的利用率。(2) The target data packet to be transmitted is split into multiple sub-data packets based on the content-aware information of the target data packet. In this way, when performing the data packet path allocation operation, the key sub-data packets can be preferentially allocated to paths with better quality, ensuring the priority transmission of important data. Therefore, the transmission path of the data packet can be dynamically adjusted according to the real-time network status and transmission requirements, which can significantly improve the utilization of network resources.

(3)通过分析各个传输路径的状态数据选择状态最优的传输路径,确保接收端能够接收到最优传输路径传输的所有关键信息传输路径的FEC码和相应的路径标识,使得在某一个关键信息传输路径发生严重传输故障而导致FEC码丢失或损坏时,接收端也依然能够通过相应路径标识的FEC码对该路径的关键子数据包进行恢复,有效提高了数据包中关键信息的传输可靠性。(3) By analyzing the status data of each transmission path, the transmission path with the best status is selected to ensure that the receiving end can receive the FEC code and corresponding path identifier of all key information transmission paths transmitted by the optimal transmission path. In this way, when a serious transmission failure occurs in a key information transmission path and the FEC code is lost or damaged, the receiving end can still recover the key sub-data packet of the path through the FEC code of the corresponding path identifier, effectively improving the transmission reliability of the key information in the data packet.

通过本技术方案,根据实时的网络状态和传输需求,动态调整数据包的传输路径和处理方式,确保了系统在面对网络状态波动和突发情况时,仍能保持高效的传输性能和较低的误码率,能够适应多样化的网络环境和业务应用场景。Through this technical solution, the transmission path and processing method of the data packet are dynamically adjusted according to the real-time network status and transmission requirements, ensuring that the system can maintain efficient transmission performance and low bit error rate when facing network status fluctuations and emergencies, and can adapt to diverse network environments and business application scenarios.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

图1示出了根据本申请实施例的光通信网络中的多路径信号传输方法的一示例的流程图;FIG1 is a flowchart showing an example of a multipath signal transmission method in an optical communication network according to an embodiment of the present application;

图2示出了根据本申请实施例的确定关键子数据包所对应的前向纠错码的一示例的操作流程图;FIG2 is a flowchart showing an example of determining a forward error correction code corresponding to a key sub-data packet according to an embodiment of the present application;

图3示出了根据本申请实施例的确定各个目标子数据包的目标传输路径的一示例的操作流程图;FIG3 shows an operation flow chart of an example of determining a target transmission path for each target sub-data packet according to an embodiment of the present application;

图4示出了根据本申请实施例的根据包内容影响因子矩阵确定各个目标传输路径的一示例的操作流程图;FIG4 shows an operation flow chart of an example of determining each target transmission path according to a packet content impact factor matrix according to an embodiment of the present application;

图5示出了根据本申请实施例的光通信网络中的多路径信号传输系统的一示例的结构框图;FIG5 shows a structural block diagram of an example of a multipath signal transmission system in an optical communication network according to an embodiment of the present application;

图6为本申请的电子设备的一实施例的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

本申请的技术方案中,如涉及的用户个人信息的收集、存储、使用、加工、传输、提供和公开等处理,均符合相关法律法规的规定,且不违背公序良俗。In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of user personal information involved shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.

图1示出了根据本申请实施例的光通信网络中的多路径信号传输方法的一示例的流程图。FIG. 1 shows a flowchart of an example of a multipath signal transmission method in an optical communication network according to an embodiment of the present application.

关于本申请实施例方法的执行主体,其可以是任意具有计算或处理能力的控制器或处理器,通过优化数据包拆分、路径选择和前向纠错等策略,显著提升了光通信网络的数据传输质量和效率,同时有效降低了因时延差异引起的干扰问题,增强了系统的可靠性和灵活性。Regarding the executor of the method of the embodiment of the present application, it can be any controller or processor with computing or processing capabilities. By optimizing strategies such as data packet splitting, path selection and forward error correction, the data transmission quality and efficiency of the optical communication network are significantly improved, while effectively reducing the interference problems caused by delay differences, thereby enhancing the reliability and flexibility of the system.

在一些示例中,其可以是光通信装置多路径数据传输平台,并可以是通过软件、硬件或软硬件结合的方式被集成配置在处理器、电子设备、终端或服务器中,并且终端、电子设备或服务器的类型可以是多样化的,例如手机、平板电脑或台式机等等。In some examples, it can be a multi-path data transmission platform for an optical communication device, and can be integrated and configured in a processor, electronic device, terminal or server by software, hardware or a combination of software and hardware, and the types of terminals, electronic devices or servers can be diverse, such as mobile phones, tablet computers or desktop computers, etc.

如图1所示,在步骤S110中,获取待由光通信装置传输的目标数据包和光通信装置的各个传输路径的路径状态数据。As shown in FIG. 1 , in step S110 , a target data packet to be transmitted by an optical communication device and path state data of each transmission path of the optical communication device are acquired.

在一些实施方式中,光通信装置从上层协议或应用层接收待传输的目标数据包,其可以是各种类型的数据包,例如视频、音频、文本等。这里,光通信装置通过内置的监控模块或外部监控设备,实时监测各个传输路径的状态数据,由此能够准确、实时地评估各路径的传输质量和可靠性。In some embodiments, the optical communication device receives a target data packet to be transmitted from an upper layer protocol or an application layer, which may be a data packet of various types, such as video, audio, text, etc. Here, the optical communication device monitors the status data of each transmission path in real time through a built-in monitoring module or an external monitoring device, thereby being able to accurately and real-time evaluate the transmission quality and reliability of each path.

在本申请实施例的一些示例中,路径状态数据包含以下中的至少一者:路径可用带宽、路径时延、路径丢包率、路径误码率、路径信号衰减水平和信号干扰强度。具体地,路径可用带宽表示当前路径上可供使用的带宽量,在路径选择过程中,确保重要数据包选择可用带宽充足的路径,避免网络拥塞。路径时延表示数据包从发送端到接收端所需的时间,其是实时数据包(如视频会议、在线游戏等)的关键指标,通过选择时延较低的路径,可以确保实时数据包的低延迟传输,提升用户体验。路径丢包率表示在传输过程中丢失的数据包占总传输数据包的比例,丢包率反映了路径的传输稳定性,通过选择丢包率低的路径有助于确保数据包的完整传输,减少数据丢失。路径误码率表示传输过程中接收到的错误比特与总传输比特的比率,在高保真音视频数据和金融数据传输中,应优先选择误码率低的路径,以确保数据的准确性和质量。路径信号衰减水平表示信号在传输过程中强度的减弱程度,较大的信号衰减可能导致信号难以在接收端被正确解码。信号干扰强度表示其他信号对目标信号的影响,信号干扰可能来自其他光纤信道或外部电磁源,尤其在高密度信道或存在外部干扰源的环境中。In some examples of the embodiments of the present application, the path status data includes at least one of the following: path available bandwidth, path delay, path packet loss rate, path bit error rate, path signal attenuation level and signal interference intensity. Specifically, the path available bandwidth indicates the amount of bandwidth available on the current path. In the path selection process, it is ensured that important data packets select a path with sufficient available bandwidth to avoid network congestion. Path delay indicates the time required for a data packet to travel from the sender to the receiver. It is a key indicator of real-time data packets (such as video conferencing, online games, etc.). By selecting a path with lower delay, low-latency transmission of real-time data packets can be ensured to improve user experience. Path packet loss rate indicates the proportion of data packets lost during transmission to the total transmitted data packets. The packet loss rate reflects the transmission stability of the path. Selecting a path with a low packet loss rate helps to ensure the complete transmission of data packets and reduce data loss. Path bit error rate indicates the ratio of error bits received during transmission to total transmitted bits. In high-fidelity audio and video data and financial data transmission, paths with low bit error rates should be preferred to ensure data accuracy and quality. The path signal attenuation level indicates the degree of signal strength reduction during transmission. Large signal attenuation may make it difficult for the signal to be correctly decoded at the receiving end. The signal interference strength indicates the impact of other signals on the target signal. Signal interference may come from other optical fiber channels or external electromagnetic sources, especially in high-density channels or environments with external interference sources.

在步骤S120中,根据目标数据包的内容感知信息将目标数据包自适应拆分成相应的子数据包组,并从子数据包组中筛选至少一个关键子数据包。In step S120, the target data packet is adaptively split into corresponding sub-data packet groups according to the content-aware information of the target data packet, and at least one key sub-data packet is screened from the sub-data packet groups.

在一些实施方式中,可以通过各种内容感知技术对目标数据包进行内容分析,进而根据内容感知结果对目标数据包进行拆分。具体地,当通过内容感知分割目标数据包时,系统根据内容感知信息(例如,静态视频帧和动态视频帧,背景音频和说话人音频,等等)的不同而动态调整子数据包的尺寸,使得每个目标数据包所生成的子数据包总数存在差异,此时相应的传输路径的数量也会发生浮动。In some embodiments, the target data packet may be analyzed for content by various content-aware technologies, and then the target data packet may be split according to the content-aware results. Specifically, when the target data packet is split by content-aware technology, the system dynamically adjusts the size of the sub-data packet according to the difference in content-aware information (e.g., static video frames and dynamic video frames, background audio and speaker audio, etc.), so that the total number of sub-data packets generated by each target data packet is different, and the number of corresponding transmission paths may also fluctuate.

通过本实施例,根据数据包的内容进行自适应拆分,可以分别处理使得关键数据和普通数据,关键子数据包的筛选和优先传输,保证了关键数据的传输质量,降低由重要数据丢失或延迟所导致的负面影响,具体细节将在下文中结合其他示例展开。Through this embodiment, adaptive splitting is performed according to the content of the data packet, so that key data and ordinary data can be processed separately, and the screening and priority transmission of key sub-data packets are ensured, thereby ensuring the transmission quality of key data and reducing the negative impact caused by the loss or delay of important data. The specific details will be expanded in conjunction with other examples below.

在步骤S130中,针对各个关键子数据包,确定关键子数据包所对应的前向纠错码,并将前向纠错码附加至关键子数据包,以根据经更新的子数据包组确定目标子数据包组。In step S130, for each key sub-data packet, a forward error correction code corresponding to the key sub-data packet is determined, and the forward error correction code is added to the key sub-data packet, so as to determine a target sub-data packet group according to the updated sub-data packet group.

在一些实施方式中,针对每个关键子数据包,利用前向纠错算法,例如卷积码、极化(Polar)码等,计算对应的前向纠错码。将计算出的前向纠错码附加到相应的关键子数据包中,形成新的目标子数据包组。由此,通过附加前向纠错码,使得接收端在数据包丢失或损坏时能够进行纠错和恢复,有效减少高带宽应用中因数据丢失或误码导致的用户体验问题,如视频卡顿、音频断续等。In some implementations, for each key sub-data packet, a forward error correction algorithm, such as a convolutional code, a polar code, etc., is used to calculate a corresponding forward error correction code. The calculated forward error correction code is appended to the corresponding key sub-data packet to form a new target sub-data packet group. Thus, by appending the forward error correction code, the receiving end can perform error correction and recovery when the data packet is lost or damaged, effectively reducing user experience problems caused by data loss or bit errors in high-bandwidth applications, such as video freezes, audio interruptions, etc.

在步骤S140中,根据各个传输路径的路径状态数据确定最优传输路径,并确定目标子数据包组中各个目标子数据包所对应的目标传输路径。In step S140, an optimal transmission path is determined according to the path status data of each transmission path, and a target transmission path corresponding to each target sub-data packet in the target sub-data packet group is determined.

在一些实施方式中,通过对所获取的传输路径状态数据进行处理,以计算每个传输路径的传输质量和适用性,确定最优传输路径。此外,从剩余的各个传输路径中,将目标子数据包组中的各个目标子数据包分配到相应的传输路径上,例如具有关键信息的子数据包优先分配状态更佳的传输路径。In some embodiments, the acquired transmission path status data is processed to calculate the transmission quality and applicability of each transmission path to determine the optimal transmission path. In addition, from the remaining transmission paths, each target sub-packet in the target sub-packet group is allocated to the corresponding transmission path, for example, the sub-packet with key information is preferentially allocated to the transmission path with better status.

在步骤S150中,利用各个目标传输路径分别传输目标子数据包组中相应的子数据包,并利用最优传输路径传输各个前向纠错码和相应的目标传输路径的路径标识。In step S150, the corresponding sub-data packets in the target sub-data packet group are transmitted respectively by using the respective target transmission paths, and the respective forward error correction codes and the path identifier of the corresponding target transmission path are transmitted by using the optimal transmission path.

这里,将每个目标子数据包的路径标识附加到数据包中,方便接收端能够对在路径中所接收到的数据包进行完整性检测和纠错。此外,利用最优传输路径传输所有的FEC码和相应的路径标识,使得在某一个关键信息传输路径发生严重传输故障而导致FEC码丢失或损坏时,接收端也依然能够通过相应路径标识的FEC码对该路径的关键子数据包进行恢复,有效提高了数据包中关键信息的传输可靠性。由此,通过多路径并行传输子数据包,提高了整体数据传输的速度和效率,利用最优传输路径传输前向纠错码,确保纠错信息的高可靠传输,进一步提高数据传输的可靠性。Here, the path identifier of each target sub-packet is attached to the data packet, so that the receiving end can perform integrity detection and error correction on the data packets received in the path. In addition, all FEC codes and corresponding path identifiers are transmitted using the optimal transmission path, so that when a serious transmission failure occurs in a key information transmission path and the FEC code is lost or damaged, the receiving end can still recover the key sub-packet of the path through the FEC code of the corresponding path identifier, effectively improving the transmission reliability of the key information in the data packet. Therefore, by transmitting sub-packets in parallel over multiple paths, the speed and efficiency of the overall data transmission are improved, and the forward error correction code is transmitted using the optimal transmission path to ensure the high-reliability transmission of error correction information, further improving the reliability of data transmission.

关于步骤S120的实施细节,在本申请实施例的一些示例中,每种类型的数据包都有不同的特性和优先级需求,内容感知自适应拆分策略能够针对不同数据类型的特性,合理分配网络资源。从视觉、听觉和文本信息多个维度选取内容感知信息,全面覆盖不同数据包的特点,确保数据传输的有效性和高效性。Regarding the implementation details of step S120, in some examples of the embodiments of the present application, each type of data packet has different characteristics and priority requirements, and the content-aware adaptive splitting strategy can reasonably allocate network resources according to the characteristics of different data types. Content-aware information is selected from multiple dimensions of visual, auditory and text information to fully cover the characteristics of different data packets and ensure the effectiveness and efficiency of data transmission.

第一方面,当目标数据包为视频数据包时,确定视频数据包所对应的第一内容感知信息,并根据第一内容感知信息将视频数据包自适应拆分成相应的子数据包组,第一内容感知信息为视频帧的边缘像素数量和运动矢量范围。In the first aspect, when the target data packet is a video data packet, first content perception information corresponding to the video data packet is determined, and the video data packet is adaptively split into corresponding sub-data packet groups according to the first content perception information, and the first content perception information is the number of edge pixels and the range of motion vectors of the video frame.

在一些实施方式中,基于边缘检测算法(例如,Canny边缘检测算法),计算每个视频帧的边缘像素数量,边缘像素多的帧包含更多的细节,需要更高的优先级。此外,使用运动估计算法(如光流法),计算视频帧之间的运动矢量,运动剧烈的帧需要更多的带宽和较低的延迟。In some embodiments, based on an edge detection algorithm (e.g., Canny edge detection algorithm), the number of edge pixels of each video frame is calculated, and frames with more edge pixels contain more details and require higher priority. In addition, using a motion estimation algorithm (e.g., optical flow method), motion vectors between video frames are calculated, and frames with intense motion require more bandwidth and lower latency.

这里,基于视频帧数据包中的边缘像素数量和运动矢量的大小来计算光子编码视频帧的复杂度,通过根据每个视频帧的复杂度和运动矢量范围动态调整模块大小,能够减少冗余数据,提高传输效率。例如,高复杂度帧生成的模块较小,低复杂度帧生成的模块较大,这样可以减少传输高复杂度帧时的延迟,提高整体传输速率。通过动态调整子数据包的大小,确保网络带宽得到最优利用,提高数据传输效率。对于视频数据包,基于边缘像素数量和运动矢量范围,确保传输的关键帧能够保留重要的视觉信息,提高观看体验。Here, the complexity of the photon-encoded video frame is calculated based on the number of edge pixels and the size of the motion vector in the video frame data packet. By dynamically adjusting the module size according to the complexity of each video frame and the range of the motion vector, redundant data can be reduced and the transmission efficiency can be improved. For example, the module generated by the high-complexity frame is smaller, and the module generated by the low-complexity frame is larger. This can reduce the delay when transmitting high-complexity frames and improve the overall transmission rate. By dynamically adjusting the size of the sub-packet, the network bandwidth is ensured to be optimally utilized and the data transmission efficiency is improved. For the video data packet, based on the number of edge pixels and the range of the motion vector, it is ensured that the transmitted key frame can retain important visual information and improve the viewing experience.

第二方面,当目标数据包为音频数据包时,确定音频数据包所对应的第二内容感知信息,并根据第二内容感知信息将音频数据包自适应拆分成相应的子数据包组,第二内容感知信息为音频频谱带宽和音频能量分布。Secondly, when the target data packet is an audio data packet, second content perception information corresponding to the audio data packet is determined, and the audio data packet is adaptively split into corresponding sub-data packet groups according to the second content perception information, and the second content perception information is the audio spectrum bandwidth and audio energy distribution.

在一些实施方式中,通过FFT(Fast Fourier Transform, 快速傅里叶变换)分析音频信号的频率成分,计算其频谱带宽,带宽大的部分表示包含更多声音细节,较宽的频谱带宽意味着包含了更多的声音细节,如乐器的高音部分或人声的细腻之处。此外,根据音频信号在不同频率上的能量分布,确定重要频段,能量集中的部分通常包含主要的音频内容,音频的主要信息通常集中在特定的频段(如,人声频段),因此优先传输这些能量集中的部分,确保重要信息的传输。In some implementations, the frequency components of the audio signal are analyzed by FFT (Fast Fourier Transform) to calculate its spectrum bandwidth. A larger bandwidth means that it contains more sound details, and a wider spectrum bandwidth means that it contains more sound details, such as the high-pitched part of a musical instrument or the delicateness of a human voice. In addition, based on the energy distribution of the audio signal at different frequencies, the important frequency bands are determined. The energy-concentrated parts usually contain the main audio content, and the main information of the audio is usually concentrated in a specific frequency band (such as the human voice frequency band). Therefore, these energy-concentrated parts are transmitted first to ensure the transmission of important information.

这里,音频频谱带宽表示音频信号的频率范围,频谱带宽较宽的音频包含更多的声音细节,通常需要更高的音频质量。音频能量分布描述音频信号在频率上的能量分布特性,用于判断音频帧的重要性和传输需求。对于音频数据包,基于频谱带宽和能量分布,将包含关键声音信息的部分优先拆分,并保障其传输质量。Here, the audio spectrum bandwidth represents the frequency range of the audio signal. Audio with a wider spectrum bandwidth contains more sound details and usually requires higher audio quality. Audio energy distribution describes the energy distribution characteristics of the audio signal over frequency and is used to determine the importance and transmission requirements of the audio frame. For audio data packets, based on the spectrum bandwidth and energy distribution, the part containing key sound information is split first and its transmission quality is guaranteed.

第三方面,当目标数据包为文本数据包时,确定文本数据包所对应的第三内容感知信息,并根据第三内容感知信息将文本数据包自适应拆分成相应的子数据包组,第三内容感知信息包含文本语义密度和关键字频率。On the third aspect, when the target data packet is a text data packet, the third content perception information corresponding to the text data packet is determined, and the text data packet is adaptively split into corresponding sub-data packet groups according to the third content perception information, and the third content perception information includes text semantic density and keyword frequency.

在一些实施方式中,通过NLP(Natural Language Processing, 自然语言处理)技术,如词嵌入(Word Embedding)或主题模型,计算文本的语义密度,语义密度高的段落通常包含更多关键信息,这些内容应优先传输以保证信息的完整性和准确性。此外,通过TF-IDF(Term Frequency-Inverse Document Frequency, 词频-逆文档频率)方法,识别文本中的关键字和其出现频率,频率高的关键字表示其重要性,因此高频关键字的部分应优先传输,以保证用户能够接收到主要信息。In some embodiments, the semantic density of the text is calculated through NLP (Natural Language Processing) technology, such as word embedding or topic model. Paragraphs with high semantic density usually contain more key information, and these contents should be transmitted first to ensure the completeness and accuracy of the information. In addition, the TF-IDF (Term Frequency-Inverse Document Frequency) method is used to identify keywords in the text and their frequency of occurrence. Keywords with high frequency indicate their importance, so the parts with high frequency keywords should be transmitted first to ensure that users can receive the main information.

这里,语义密度用于衡量文本数据包的语义信息密度,语义密度高的文本通常包含更多关键信息。关键字出现频率表示文本中重要关键词的出现频率,其用于识别关键信息的分布情况。对于文本数据包,基于语义密度和关键字出现频率,优先传输高信息密度的部分,以确保关键文本信息的完整传输。Here, semantic density is used to measure the semantic information density of text data packets. Text with high semantic density usually contains more key information. Keyword frequency indicates the frequency of occurrence of important keywords in the text, which is used to identify the distribution of key information. For text data packets, based on semantic density and keyword frequency, the part with high information density is transmitted first to ensure the complete transmission of key text information.

通过本实施例,对目标数据包的内容感知信息进行分析,能够有效识别和提取数据包中的关键部分和非关键部分,关键子数据包(如高细节视频帧、重要音频片段或关键文本信息)可以优先传输,确保在网络带宽受限或传输条件不理想时,重要信息先行传输,保证用户体验。Through this embodiment, the content perception information of the target data packet is analyzed, and the critical and non-critical parts of the data packet can be effectively identified and extracted. Critical sub-data packets (such as high-detail video frames, important audio clips or critical text information) can be transmitted first, ensuring that when network bandwidth is limited or transmission conditions are not ideal, important information is transmitted first to ensure user experience.

在本申请实施例的一些示例中,在生成FEC码的过程中,还可以结合内容感知信息和自适应编码调制方式,以进一步提高光通信网络的数据传输可靠性。In some examples of the embodiments of the present application, in the process of generating FEC codes, content-aware information and adaptive coding and modulation methods can also be combined to further improve the data transmission reliability of the optical communication network.

图2示出了根据本申请实施例的确定关键子数据包所对应的前向纠错码的一示例的操作流程图。FIG. 2 shows an operational flow chart of an example of determining a forward error correction code corresponding to a key sub-data packet according to an embodiment of the present application.

如图2所示,在步骤S210中,根据关键子数据包的内容感知信息,自适应确定相应的目标冗余度。As shown in FIG. 2 , in step S210 , the corresponding target redundancy is adaptively determined according to the content-aware information of the key sub-packets.

应理解的是,冗余度越高,FEC码的纠错能力越强。根据关键子数据包的内容感知信息来自适应地决定相应FEC码的冗余度。示例性地,可以针对不同类型的数据包,分别设置相应的冗余度。例如,视频数据包中关键帧的冗余度可以设置较高,以确保重要画面信息的完整性;而音频数据包中重要声音片段的冗余度也可以适当增加。此外,还可以根据数据包的重要性,例如关键性分别设置不同的冗余级别,关键性越高的子数据包,其冗余度越大。通过对数据包内容感知信息的分析,并自适应设定冗余度,确保FEC码的完整性和可靠性。It should be understood that the higher the redundancy, the stronger the error correction capability of the FEC code. The redundancy of the corresponding FEC code is adaptively determined based on the content perception information of the key sub-packets. Exemplarily, corresponding redundancies can be set for different types of data packets. For example, the redundancy of key frames in video data packets can be set higher to ensure the integrity of important picture information; and the redundancy of important sound clips in audio data packets can also be appropriately increased. In addition, different redundancy levels can be set according to the importance of the data packet, such as criticality. The higher the criticality of the sub-packet, the greater its redundancy. By analyzing the content perception information of the data packet and adaptively setting the redundancy, the integrity and reliability of the FEC code are ensured.

在步骤S220中,根据目标冗余度和关键子数据包的包类型对关键子数据包进行编码,以确定相应的关键子数据包所对应的前向纠错码,包类型包含以下中的任意一者视频类型、音频类型和文本类型。In step S220, the key sub-data packet is encoded according to the target redundancy and the packet type of the key sub-data packet to determine the forward error correction code corresponding to the corresponding key sub-data packet, and the packet type includes any one of the following video type, audio type and text type.

需说明的是,不同类型的数据包对传输质量和纠错能力的要求不同,通过选择合适的FEC编码方法和参数调整,能够有效提升数据传输的可靠性和效率。这里,视频类型关键子数据包采用RS编码(Reed-Solomon, 里德-所罗门编码),对于高分辨率视频数据包中的关键帧(边缘像素数量多、运动矢量范围大的帧),使用RS编码,并设定高冗余度,确保FEC码的可靠性。音频类型的关键子数据包采用LDPC编码(Low-Density Parity-Check, 低密度奇偶校验),对于高音质要求的音频数据包(频谱带宽宽、能量分布集中的帧),使用LDPC编码并动态调整冗余比例,以确保重要声音片段的高质量传输。文本类型的关键子数据包采用汉明编码(Hamming编码),对于含有高频关键词的文本数据包,适用简单的纠错编码方法,以减少冗余开销,优化系统资源的使用It should be noted that different types of data packets have different requirements for transmission quality and error correction capabilities. By selecting appropriate FEC coding methods and parameter adjustments, the reliability and efficiency of data transmission can be effectively improved. Here, the video type key sub-data packet adopts RS coding (Reed-Solomon). For key frames in high-resolution video data packets (frames with a large number of edge pixels and a large motion vector range), RS coding is used, and high redundancy is set to ensure the reliability of the FEC code. The audio type key sub-data packet adopts LDPC coding (Low-Density Parity-Check). For audio data packets with high sound quality requirements (frames with wide spectrum bandwidth and concentrated energy distribution), LDPC coding is used and the redundancy ratio is dynamically adjusted to ensure high-quality transmission of important sound fragments. The text type key sub-data packet adopts Hamming coding. For text data packets containing high-frequency keywords, a simple error correction coding method is applied to reduce redundant overhead and optimize the use of system resources.

通过自适应设定冗余度和选择合适的FEC编码方法,能够有效地修正传输过程中的数据错误。尤其是在恶劣的传输环境下,前向纠错码能够在接收端修复部分或全部的错误数据,减少数据包丢失和重传的情况。此外,对于关键子数据包,增加的冗余度能够提供更强的错误恢复能力,确保这些重要数据的传输完整性和准确性,其能够保障对关键性数据(如视频关键帧、重要音频片段和关键信息文本)的恢复精度。By adaptively setting redundancy and selecting the appropriate FEC encoding method, data errors during transmission can be effectively corrected. Especially in harsh transmission environments, forward error correction codes can repair some or all of the erroneous data at the receiving end, reducing packet loss and retransmission. In addition, for key sub-packets, the increased redundancy can provide stronger error recovery capabilities, ensuring the transmission integrity and accuracy of these important data, which can guarantee the recovery accuracy of key data (such as video key frames, important audio clips, and key information text).

图3示出了根据本申请实施例的确定各个目标子数据包的目标传输路径的一示例的操作流程图。FIG. 3 shows an operational flowchart of an example of determining a target transmission path for each target sub-data packet according to an embodiment of the present application.

如图3所示,在步骤S310中,获取目标子数据包组中各个目标子数据包的包属性数据,包属性数据包含目标子数据包的关键子数据包标识、内容类型和需求传输带宽。As shown in FIG. 3 , in step S310 , the packet attribute data of each target sub-data packet in the target sub-data packet group is obtained, and the packet attribute data includes the key sub-data packet identifier, content type and required transmission bandwidth of the target sub-data packet.

在一些实施方式中,在目标子数据包组中,对每个目标子数据包进行解析,获取其包属性数据。具体地,通过关键子数据包标识来区分关键子数据包和普通子数据包,需求传输带宽可以反映该子数据包的带宽需求量。这里,子数据包的内容类型可以是视频、音频或文本。需说明的是,子数据包的内容类型可以与数据包类型一致或不同,例如当目标数据包是融媒体数据包时,将融媒体数据包分解成包含多种内容类型的子数据包,例如音频子数据包、文本子数据包和视频子数据包。In some embodiments, in the target sub-data packet group, each target sub-data packet is parsed to obtain its packet attribute data. Specifically, the key sub-data packet and the ordinary sub-data packet are distinguished by the key sub-data packet identifier, and the required transmission bandwidth can reflect the bandwidth requirement of the sub-data packet. Here, the content type of the sub-data packet can be video, audio or text. It should be noted that the content type of the sub-data packet can be consistent with or different from the data packet type. For example, when the target data packet is a converged media data packet, the converged media data packet is decomposed into sub-data packets containing multiple content types, such as audio sub-data packets, text sub-data packets, and video sub-data packets.

在步骤S320中,从各个传输路径中筛除最优传输路径,以更新为各个候选传输路径。In step S320, the optimal transmission path is screened out from the various transmission paths to update them into various candidate transmission paths.

这样,将专用于传输FEC码的最优传输路径从所有传输路径中筛除,将剩余传输路径更新为候选传输路径,以防止重复使用最优传输路径,确最优传输路径的传输可靠性和实时性。In this way, the optimal transmission path dedicated to transmitting FEC codes is screened out from all transmission paths, and the remaining transmission paths are updated as candidate transmission paths to prevent repeated use of the optimal transmission path and ensure the transmission reliability and real-time performance of the optimal transmission path.

在步骤S330中,针对各个目标子数据包,根据目标子数据包的包属性数据和各个候选传输路径的路径状态数据,计算目标子数据包相对于各个候选传输路径的包内容影响因子,以得到相应的包内容影响因子矩阵。In step S330, for each target sub-data packet, based on the packet attribute data of the target sub-data packet and the path state data of each candidate transmission path, the packet content impact factor of the target sub-data packet relative to each candidate transmission path is calculated to obtain a corresponding packet content impact factor matrix.

这里,可以通过各种计算方法来计算目标子数据包相对于各个候选传输路径的包内容影响因子,例如基于加权平均、模糊逻辑、机器学习模型等方法来实现。进而,将所有目标子数据包针对各个候选传输路径的包内容影响因子的计算结果存储在一个矩阵中,即包内容影响因子矩阵,该矩阵的行对应目标子数据包,列对应候选传输路径。Here, the packet content impact factor of the target sub-data packet relative to each candidate transmission path can be calculated by various calculation methods, such as weighted average, fuzzy logic, machine learning model, etc. Then, the calculation results of the packet content impact factor of all target sub-data packets for each candidate transmission path are stored in a matrix, i.e., a packet content impact factor matrix, wherein the rows of the matrix correspond to the target sub-data packets and the columns correspond to the candidate transmission paths.

在一些实施方式中,包内容影响因子可以表征为优先级或匹配度,较高的包内容影响因子应当被支持,由此可以精准地评估每个子数据包在不同路径上的传输效果,为路径选择提供量化依据。In some implementations, the packet content impact factor can be characterized as a priority or a matching degree, and a higher packet content impact factor should be supported, thereby accurately evaluating the transmission effect of each sub-data packet on different paths and providing a quantitative basis for path selection.

在步骤S340中,根据各个目标子数据包的包内容影响因子矩阵,确定各个目标子数据包所对应的目标传输路径。In step S340, the target transmission path corresponding to each target sub-data packet is determined according to the packet content impact factor matrix of each target sub-data packet.

这里,可以通过使用各类路径选择算法,例如动态规划、贪心算法等,为每个目标子数据包确定相应的目标传输路径,并记录路径选择结果。由此,实现了精细化的路径选择,确保每个目标子数据包都能较优地被传输,并还提高了系统的灵活性和适应性,能够动态调整路径选择,适应网络环境的变化,保持高效的数据传输性能。Here, various path selection algorithms, such as dynamic programming and greedy algorithms, can be used to determine the corresponding target transmission path for each target sub-data packet and record the path selection results. Thus, refined path selection is achieved to ensure that each target sub-data packet can be transmitted optimally, and the flexibility and adaptability of the system are improved, and the path selection can be adjusted dynamically to adapt to changes in the network environment and maintain efficient data transmission performance.

在本申请实施例的一些示例中,为了更准确地反映每个目标子数据包相对于各个候选传输路径的适配程度,主要从关键子数据包标识的影响、内容类型的影响和需求传输带宽的影响这三方面进行综合考虑。具体地,关键子数据包需要优先传输,考虑到它们对传输延迟、稳定性和错误恢复的敏感性,需要确保其通过可靠性高、时延低的路径。另外,不同的内容类型对传输特性有不同的要求,例如视频数据对时延和带宽敏感,而音频数据对时延要求更高,文本数据对带宽和时延要求相对较低。此外,需求传输带宽直接影响路径的选择,因为高带宽需求的数据包需要选择带宽充足的路径,以避免拥塞和带宽不足导致的延迟。In some examples of the embodiments of the present application, in order to more accurately reflect the degree of adaptation of each target sub-packet relative to each candidate transmission path, comprehensive consideration is mainly given to the three aspects of the impact of the key sub-packet identifier, the impact of the content type, and the impact of the required transmission bandwidth. Specifically, key sub-packets need to be transmitted first, and considering their sensitivity to transmission delay, stability, and error recovery, it is necessary to ensure that they pass through paths with high reliability and low latency. In addition, different content types have different requirements for transmission characteristics. For example, video data is sensitive to delay and bandwidth, while audio data has higher requirements for delay, and text data has relatively low requirements for bandwidth and delay. In addition, the required transmission bandwidth directly affects the choice of path, because data packets with high bandwidth requirements need to choose paths with sufficient bandwidth to avoid delays caused by congestion and insufficient bandwidth.

更具体地,包内容影响因子可以通过下式而计算:More specifically, the package content impact factor can be calculated by the following formula:

,式(1); , formula (1);

,式(2); , formula (2);

,式(3); , formula (3);

,式(4); , formula (4);

式中,表示目标子数据包在候选传输路径上的包内容影响因子;分别表示目标子数据包在候选传输路径上的关键性影响因子、内容类型影响因子和带宽需求影响因子;表示关键性权重系数;表示的关键子数据包标识,若为关键子数据包则,否则表示的传输时延;的丢包率的倒数;为预设常数;表示内容类型权重系数,表示的内容类型对应的时延敏感度权重,表示的内容类型的带宽敏感度权重,表示的内容类型的误码率敏感度权重;表示的可用带宽,表示的误码率;表示带宽需求权重系数,表示的需求带宽,表示的总带宽容量,表示的当前带宽利用率。In the formula, Indicates the target sub-packet In the candidate transmission path The impact factor of the package content on and Represents the target sub-packet In the candidate transmission path The key influencing factors, content type influencing factors and bandwidth demand influencing factors on the network; represents the critical weight coefficient; express The key sub-packet identifier of For key sub-packets, ,otherwise ; express transmission delay; for The inverse of the packet loss rate; is a preset constant; Indicates the content type weight coefficient, express Content Type The corresponding delay sensitivity weight, express Content Type The bandwidth sensitivity weight of express Content Type The bit error rate sensitivity weight of express Available bandwidth, express bit error rate; represents the bandwidth demand weight coefficient, express The required bandwidth, express The total bandwidth capacity of express The current bandwidth utilization of the

针对上述关键性影响因子的计算公式的说明,强调了关键子数据包在关键性影响因子加权计算中的重要性。关键子数据包通常需要优先传输,因此赋予较高的权重系数。关键子数据包标识是一个二元变量,用于区分是否为关键数据包,只有在时,影响因子才会被计算,确保了关键数据包的优先级。时延反比项确保了路径时延较小的路径优先被选择,较低的时延意味着数据包可以更快地传输。用于表征路径可靠性,而高可靠性的路径能够减少数据包丢失或传输错误的概率。由此,确保了关键数据包能够选择可靠性高且时延低的路径,合理地保障了关键数据的优先传输和质量。Explanation of the calculation formula for the above key impact factors: The importance of key sub-packets in the weighted calculation of key impact factors is emphasized. Key sub-packets usually need to be transmitted first, so they are given a higher weight coefficient. Key sub-packet identification is a binary variable used to distinguish whether it is a critical data packet. The impact factor is calculated only when the delay is inversely proportional to the time delay. This ensures that paths with smaller path delays are selected first. Lower delays mean that data packets can be transmitted faster. It is used to characterize the reliability of a path, and a highly reliable path can reduce the probability of data packet loss or transmission errors. This ensures that critical data packets can choose paths with high reliability and low latency, and reasonably guarantees the priority transmission and quality of critical data.

针对内容类型影响因子的计算公式的说明,反映了不同类型数据包在关键性影响因子加权计算中的重要性。这里,时延、带宽、误码率的敏感度权重根据子数据包的内容类型而进行自适应调整,例如,视频数据可能对带宽和时延更敏感,而文本数据对误码率更敏感。通过时延和带宽的反比项确保了在相同内容类型下,时延低、带宽大的路径优先选择;通过误码率的反比项则确保了传输质量的优先性。由此,使得系统能够根据数据包内容类型的不同需求,动态地选择最合适的传输路径,从而提高整体传输效率和质量。Explanation of the calculation formula for content type impact factor, It reflects the importance of different types of data packets in the weighted calculation of key influencing factors. Here, the sensitivity weights of delay, bandwidth, and bit error rate are According to the content type of the sub-packet Adaptive adjustments are made. For example, video data may be more sensitive to bandwidth and latency, while text data is more sensitive to bit error rate. The inverse term of latency and bandwidth ensures that under the same content type, the path with low latency and large bandwidth is given priority; the inverse term of bit error rate ensures the priority of transmission quality. As a result, the system can dynamically select the most appropriate transmission path according to the different requirements of the data packet content type, thereby improving the overall transmission efficiency and quality.

针对带宽需求影响因子的计算公式的说明,反映了带宽在传输选择中的重要性。需求带宽是一个直接反映数据包对网络资源需求的指标,较高的需求带宽通常要求选择较大带宽的路径。此外,可用带宽反比项考虑了路径当前的带宽利用率和总带宽,确保选择带宽利用率低且可用带宽大的路径,避免拥塞。由此,综合考虑了数据包对带宽的需求和路径的当前负载状态,使得带宽敏感型数据包能够选择最合适的传输路径。Explanation of the calculation formula for the bandwidth demand influencing factor. This reflects the importance of bandwidth in transmission selection. Required bandwidth It is an indicator that directly reflects the network resource demand of data packets. Higher required bandwidth usually requires the selection of a path with larger bandwidth. In addition, the inverse term of available bandwidth is Taking into account the current bandwidth utilization of the path and total bandwidth ,ensuring that a path with low bandwidth utilization and large available bandwidth is selected to avoid congestion.,Thus, the bandwidth demand of the data packet and the current load status of the path are comprehensively considered,,so that bandwidth-sensitive data packets can select the most appropriate transmission path.

需说明的是,通过将各因素因子进行加权组合,使得系统能够在多目标优化中找到平衡点,确保传输的整体性能得到优化,实现光通信网络的全局综合优化能力。It should be noted that by weighted combination of various factors, the system can find a balance point in multi-objective optimization, ensure the overall performance of transmission is optimized, and realize the global comprehensive optimization capability of the optical communication network.

在本申请实施例的一个示例中,针对上述各个权重可以是通过输入信息而设置的,例如管理人员在测试阶段录入的。在本申请实施例的另一示例中,其还可以是通过数据驱动的权重学习而智能设置的。In one example of the embodiment of the present application, the above-mentioned weights may be set by inputting information, such as input by a manager during the testing phase. In another example of the embodiment of the present application, they may also be intelligently set by data-driven weight learning.

更具体地,在通过设置来权重的具体实施方式中,在计算该目标子数据包相对于各个候选传输路径的包内容影响因子之前,解析目标子数据包所对应的目标内容类型。进而,根据内容敏感度权重表确定与目标内容类型相匹配的时延敏感度权重、带宽敏感度权重和误码率敏感度权重。内容敏感度权重表记录了多种内容类型和相应的敏感权重设置,敏感权重设置包含标定的时延敏感度权重、带宽敏感度权重和误码率敏感度权重。示例性地,在测试阶段标定各个内容类型所对应的敏感权重,例如针对视频数据类型所标定的带宽敏感度权重和时延敏感度权重更大,而针对文本数据类型的误码率敏感度权重更大。由此,通过预标定的内容敏感度权重表,能够快速且精准地为各种类型的子数据包自适应分配相应的权重设置,操作方便且具有较高效率。More specifically, in a specific implementation method of setting weights, before calculating the packet content impact factor of the target sub-packet relative to each candidate transmission path, the target content type corresponding to the target sub-packet is parsed. Then, the delay sensitivity weight, bandwidth sensitivity weight and bit error rate sensitivity weight that match the target content type are determined according to the content sensitivity weight table. The content sensitivity weight table records a variety of content types and corresponding sensitive weight settings, and the sensitive weight settings include calibrated delay sensitivity weights, bandwidth sensitivity weights and bit error rate sensitivity weights. Exemplarily, the sensitive weights corresponding to each content type are calibrated in the test phase. For example, the bandwidth sensitivity weight and delay sensitivity weight calibrated for the video data type are larger, while the bit error rate sensitivity weight for the text data type is larger. Therefore, through the pre-calibrated content sensitivity weight table, the corresponding weight settings can be quickly and accurately adaptively assigned to various types of sub-packets, which is easy to operate and has high efficiency.

在本申请实施例的另一示例中,在通过数据驱动的权重学习中,可以收集并整理网络传输中的历史数据,提取影响包内容影响因子的特征。具体地,从光通信装置(例如,光发射机或路由器)、流量监控系统等收集历史网络传输数据,包含带宽利用情况、数据包传输时延、丢包率和数据包属性。继而,基于历史带宽利用情况,提取出高带宽需求的数据包特征,根据数据包内容类型等信息,提取关键数据包的特征,并根据不同内容类型的数据包,提取其在网络传输中的表现,例如时延敏感度、带宽需求。进而,使用监督学习方法训练模型,确定各个特征对包内容影响因子的贡献,模型架构可以采用多层感知器。最后,根据最新的模型输出,动态调整关键性权重系数、内容类型权重系数和带宽需求权重系数。In another example of an embodiment of the present application, in data-driven weight learning, historical data in network transmission can be collected and sorted to extract features that affect packet content influencing factors. Specifically, historical network transmission data is collected from optical communication devices (e.g., optical transmitters or routers), traffic monitoring systems, etc., including bandwidth utilization, data packet transmission delay, packet loss rate, and data packet attributes. Then, based on historical bandwidth utilization, the features of data packets with high bandwidth requirements are extracted, and the features of key data packets are extracted based on information such as data packet content type, and their performance in network transmission, such as delay sensitivity and bandwidth requirements, is extracted based on data packets of different content types. Furthermore, the model is trained using a supervised learning method to determine the contribution of each feature to the packet content influencing factor, and the model architecture can use a multilayer perceptron. Finally, according to the latest model output, the critical weight coefficient, content type weight coefficient, and bandwidth requirement weight coefficient are dynamically adjusted.

通过本申请实施例,综合考虑了关键性、内容类型和带宽需求等多个因素,能够精确地评估每条路径的适配性,使得系统能够根据每个数据包的特性,选择最合适的传输路径,确保了传输质量和效率的优化。此外,通过引入时延、带宽和误码率等实时网络状态参数,使得系统能够动态适应网络的当前状态,调整路径选择策略。在网络负载变化时,系统能够迅速响应,选择最优路径,避免拥塞和传输质量下降。Through the embodiments of the present application, multiple factors such as criticality, content type and bandwidth requirements are comprehensively considered, and the adaptability of each path can be accurately evaluated, so that the system can select the most suitable transmission path according to the characteristics of each data packet, ensuring the optimization of transmission quality and efficiency. In addition, by introducing real-time network status parameters such as delay, bandwidth and bit error rate, the system can dynamically adapt to the current state of the network and adjust the path selection strategy. When the network load changes, the system can respond quickly and select the optimal path to avoid congestion and reduced transmission quality.

进一步地,在根据包内容影响因子矩阵来选定目标传输路径方面,在本申请实施例的一个示例中,对于每个目标子数据包,计算其在所有候选路径上的包内容影响因子,并对计算得到的包内容影响因子进行降序排序,形成排序后的路径列表。对于关键子数据包,优先选择影响因子排序中最高的路径,以确保优先传输。对于其他子数据包,根据其内容类型和带宽需求的不同,选择最适合的路径,例如,视频数据优先选择带宽高的路径,文本数据优先选择误码率低的路径。Furthermore, in terms of selecting the target transmission path according to the packet content impact factor matrix, in an example of an embodiment of the present application, for each target sub-data packet, its packet content impact factor on all candidate paths is calculated, and the calculated packet content impact factors are sorted in descending order to form a sorted path list. For key sub-data packets, the path with the highest impact factor ranking is preferentially selected to ensure priority transmission. For other sub-data packets, the most suitable path is selected according to their content type and bandwidth requirements. For example, video data preferentially selects a path with high bandwidth, and text data preferentially selects a path with low bit error rate.

在本申请实施例的另一示例中,还可以通过使用二分图分析的方式来自动分配目标传输路径,以确保网络全局传输效果最佳。In another example of the embodiment of the present application, the target transmission path can also be automatically allocated by using a bipartite graph analysis method to ensure the best global network transmission effect.

图4示出了根据本申请实施例的根据包内容影响因子矩阵确定各个目标传输路径的一示例的操作流程图。FIG. 4 shows an operational flowchart of an example of determining various target transmission paths according to a packet content impact factor matrix according to an embodiment of the present application.

如图4所示,在步骤S410中,构建二分图。As shown in FIG. 4 , in step S410 , a bipartite graph is constructed.

这里,二分图包含数据包顶点集合和路径顶点集合,数据包顶点集合是由所有的目标子数据包而定义的,路径顶点集合是由所有候选传输路径而定义的。由此,通过构建二分图,提供了一个清晰的结构化表示方法,将数据包和传输路径的匹配问题转化为图论中的最大匹配问题,便于使用各种图算法进行求解。Here, the bipartite graph contains a set of data packet vertices and a set of path vertices. The set of data packet vertices is defined by all target sub-data packets, and the set of path vertices is defined by all candidate transmission paths. Therefore, by constructing a bipartite graph, a clear structured representation method is provided to transform the matching problem of data packets and transmission paths into a maximum matching problem in graph theory, which is convenient for solving using various graph algorithms.

在步骤S420中,基于各个包内容影响因子矩阵配置二分图的边权重。In step S420, the edge weights of the bipartite graph are configured based on each package content impact factor matrix.

这里,二分图中的每个数据包顶点与路径顶点之间的边权重是由相应的包内容影响因子而确定的。由此,通过将包内容影响因子转化为边权重,准确地反映每个数据包在不同传输路径上的传输效果,边权重的配置使得最大匹配算法能够更有效地找到总权重最大的匹配,从而优化路径选择。Here, the edge weight between each data packet vertex and the path vertex in the bipartite graph is determined by the corresponding packet content impact factor. Therefore, by converting the packet content impact factor into an edge weight, the transmission effect of each data packet on different transmission paths is accurately reflected. The configuration of the edge weight enables the maximum matching algorithm to more effectively find the match with the largest total weight, thereby optimizing the path selection.

在步骤S430中,基于最大匹配算法处理二分图,以确定在数据包顶点集合与路径顶点集合之间的最大权重匹配边集。In step S430 , the bipartite graph is processed based on a maximum matching algorithm to determine a maximum weight matching edge set between the data packet vertex set and the path vertex set.

在一些实施方式中,可以使用各种算法,例如霍普克罗夫特-卡尔普算法(Hopcroft-Karp算法)、迪尼克算法(Dinic算法)或KM算法(Kuhn-Munkres, 库恩-蒙克斯算法)等等,以在二分图中寻找最大权重匹配边集,最大权重匹配边集所对应的匹配边集具有最大的总边权重。由此,通过最大匹配算法找到的匹配边集,确保每个子数据包都被分配到全局最优的传输路径,从而最大化传输效率和可靠性。In some embodiments, various algorithms, such as the Hopcroft-Karp algorithm, the Dinic algorithm, or the KM algorithm (Kuhn-Munkres, Kuhn-Monks algorithm), etc., can be used to find the maximum weight matching edge set in the bipartite graph, and the matching edge set corresponding to the maximum weight matching edge set has the largest total edge weight. Thus, the matching edge set found by the maximum matching algorithm ensures that each sub-data packet is assigned to the global optimal transmission path, thereby maximizing transmission efficiency and reliability.

在步骤S440中,根据最大权重匹配边集,确定各个目标子数据包所对应的目标传输路径。In step S440, the target transmission path corresponding to each target sub-data packet is determined according to the maximum weight matching edge set.

在一些实施方式中,根据最大匹配算法的结果,解析出每个目标子数据包所对应的目标传输路径,并将解析出的传输路径作为最终选择,记录各个目标子数据包的传输路径。由此,利用最大权重匹配边集的结果,优化了路径选择过程,确保各个子数据包的全局最优传输过程。In some implementations, the target transmission path corresponding to each target sub-data packet is parsed according to the result of the maximum matching algorithm, and the parsed transmission path is used as the final selection to record the transmission path of each target sub-data packet. Thus, the path selection process is optimized by using the result of the maximum weight matching edge set to ensure the global optimal transmission process of each sub-data packet.

关于步骤S430的实施细节,在一些实施方式中,最大匹配算法为改进的KM算法。更具体地,执行顶点匹配状态初始化操作,包括:Regarding the implementation details of step S430, in some implementations, the maximum matching algorithm is an improved KM algorithm. More specifically, the vertex matching state initialization operation is performed, including:

建立初始的空匹配集合Create an initial empty set of matches ,

对于数据包顶点集合中的每个顶点,选择与相连的最大边权重作为初始标签:For the data packet vertex set Each vertex in , select and The connected maximum edge weight is used as the initial label:

,式(5); , formula (5);

式中,表示目标子数据包所对应的数据包顶点;表示数据包顶点的初始标签,In the formula, Indicates the target sub-packet The corresponding data packet vertex; Represents a packet vertex The initial label of

对于路径顶点集合中的每个顶点,初始化标签For the path vertex set Each vertex in , initialize the label ,

式中,表示候选传输路径所对应的路径顶点;表示路径顶点的初始标签。In the formula, Indicates candidate transmission paths The corresponding path vertex; Represents the path vertex The initial label of .

执行主循环操作,迭代寻找增广路径,以增加匹配边集的总边权重;每次迭代的操作如下:Execute the main loop operation to iteratively find augmenting paths to increase the total edge weight of the matching edge set; the operation of each iteration is as follows:

标记各个数据包顶点和各个路径顶点的被访问状态,Mark the access status of each data packet vertex and each path vertex,

利用启发式函数计算各个未匹配数据包顶点的启发式值,通过启发式选择初始顶点,从未匹配的数据包顶点集合中选择一个顶点作为增广路径的起始点,此时期望找到从该顶点出发的增广路径来增加总匹配权重。The heuristic function is used to calculate the heuristic value of each unmatched data packet vertex, and the initial vertex is selected heuristically. A vertex is selected from the unmatched data packet vertex set as the starting point of the augmenting path. At this time, it is expected to find an augmenting path starting from this vertex to increase the total matching weight.

更具体地,启发式函数公式为:More specifically, the heuristic function formula is:

,式(6); , formula (6);

式中,是因子调整权重,表示数据包顶点的启发式值,In the formula, and are the factor adjustment weights, Represents a packet vertex The heuristic value of

选择对应启发式值最大的未匹配数据包顶点作为增广路径搜索的初始数据包顶点。The unmatched packet vertex with the largest corresponding heuristic value is selected as the initial packet vertex for augmenting path search.

这里,启发式函数用于评估每个未匹配数据包顶点的选择优先级。继而,优先选择启发式值最大的顶点,即具有最高潜在增益的数据包顶点。通过上述操作,能够确保初始增广路径搜索从最有希望增加匹配权重的顶点开始,这一策略能够快速锁定增广路径的潜在起点,减少不必要的计算量,从而加快算法的收敛速度。Here, the heuristic function is used to evaluate each unmatched packet vertex Then, the heuristic value is selected first. The largest vertex , that is, the packet vertex with the highest potential gain. Through the above operations, it is possible to ensure that the initial augmenting path search starts from the vertex that is most likely to increase the matching weight. This strategy can quickly lock the potential starting point of the augmenting path, reduce unnecessary calculations, and thus speed up the convergence of the algorithm.

需说明的是,匹配集合的更新主要在增广路径搜索阶段进行,标签更新则是辅助操作,用于调整顶点的标签值以便下次搜索。具体地,在算法开始时,匹配集合初始化为空集合,该集合用于存储当前找到的匹配,即数据包顶点和路径顶点之间的匹配边。然后,通过主循环进行迭代,主循环包含两大步骤,即增广路径搜索和标签更新,每次循环旨在寻找并利用增广路径,以增加匹配边的总权重。It should be noted that the matching set The update is mainly performed in the augmenting path search phase, and the label update is an auxiliary operation used to adjust the label value of the vertex for the next search. Specifically, at the beginning of the algorithm, the matching set Initialized as an empty set, the set is used to store the currently found matches, that is, the matching edges between the packet vertex and the path vertex. Then, iterate through the main loop, which consists of two major steps, namely augmenting path search and label update. Each loop aims to find and utilize augmenting paths to increase the total weight of matching edges.

使用广度优先搜索(Breadth-First Search, BFS)从初始数据包顶点出发寻找增广路径,在搜索过程中,对每条边的搜索条件为:Use Breadth-First Search (BFS) to find the augmenting path starting from the initial packet vertex. During the search, for each edge The search criteria are:

,式(7); , formula (7);

这里,通过BFS 的层次化搜索,确保在每次搜索中找到最短的增广路径,最大化单次迭代的匹配增益,显著加快了匹配调整过程。Here, through the hierarchical search of BFS, it is ensured that the shortest augmenting path is found in each search, the matching gain of a single iteration is maximized, and the matching adjustment process is significantly accelerated.

若找到增广路径,则逆转增广路径中的匹配和未匹配边,将增广路径上的未匹配边加入匹配集合,同时将原匹配的边移出。这里,增广路径是指:从未匹配顶点开始,通过未匹配边和匹配边交替的路径,最终回到未匹配顶点的路径。这样,通过逆转增广路径中的匹配和未匹配边,以更新匹配状态,使得更新后的匹配集合能够增加总权重。If an augmenting path is found, reverse the matched and unmatched edges in the augmenting path and add the unmatched edges on the augmenting path to the matching set. , and remove the original matching edges Here, an augmenting path refers to a path starting from an unmatched vertex, through alternating unmatched edges and matched edges, and finally returning to an unmatched vertex. In this way, by reversing the matched and unmatched edges in the augmenting path to update the matching state, the updated matching set Can increase the total weight.

若未找到增广路径,则更新各个顶点标签以缩小未匹配点与已匹配点之间的差距,以便为下一轮的增广路径搜索提供条件。更新的计算规则为:If no augmenting path is found, update each vertex label to narrow the gap between unmatched points and matched points, so as to provide conditions for the next round of augmenting path search. The calculation rule for the update is:

,式(8); , formula (8);

式中,表示用于更新顶点标签的最小调整量,以确保路径和数据包之间的包内容影响因子差异最小化;In the formula, represents the minimum adjustment to update vertex labels to ensure that the path and data packets Minimize the differences in package content impact factors between them;

对于已被访问过的,通过下式更新相应的数据包顶点标签:For visited , update the corresponding data packet vertex label by the following formula:

,式(9); , formula (9);

对于已被访问过的,通过下式更新相应的路径顶点标签:For visited , update the corresponding path vertex labels by:

,式(10); , formula (10);

通过寻找增广路径,算法能够增加匹配集合的总权重,确保每次更新都是有意义的。此外,当无法找到增广路径时,通过标签更新操作能够有效调整搜索空间,为下一轮的增广路径搜索创造条件,从而保持算法的进展。By finding augmenting paths, the algorithm can increase the total weight of the matching set, ensuring that each update is meaningful. In addition, when an augmenting path cannot be found, the label update operation can effectively adjust the search space to create conditions for the next round of augmenting path search, thereby maintaining the progress of the algorithm.

在检测到通过迭代所确定的匹配边集的总边权重超过预设迭代次数未增大的情况下,停止迭代,并根据当前的匹配集合输出最大权重匹配边集。由此,确保算法在达到最优匹配状态后停止,避免无效计算和无限循环。When it is detected that the total edge weight of the matching edge set determined by iteration exceeds the preset number of iterations and does not increase, the iteration is stopped and the current matching set is Output the maximum weight matching edge set. This ensures that the algorithm stops after reaching the optimal matching state, avoiding invalid calculations and infinite loops.

通过考虑包内容影响因子,算法能够在路径选择中综合考虑数据包的优先级、内容类型和传输需求等多种因素,不仅保证了重要数据包优先得到最佳路径,还能合理分配网络资源,提升整体传输质量。通过增广路径的搜索和反转,算法能够不断更新匹配状态,确保匹配集合始终是当前最优的,最终保证了匹配边集的总权重最大化。通过对包内容影响因子的权重和启发式方法的精细调整,算法仍然能够在不同的网络负载情况下进行合理的资源分配,确保高优先级数据包得到优先处理,而低优先级数据包则在资源允许的情况下进行处理,提升用户在高流量情况下的体验质量。By considering the packet content influencing factors, the algorithm can comprehensively consider multiple factors such as the priority, content type and transmission requirements of the data packet in path selection, which not only ensures that important data packets get the best path first, but also reasonably allocates network resources and improves the overall transmission quality. By searching and reversing the augmented path, the algorithm can continuously update the matching status to ensure that the matching set is always the current optimal one, and finally maximize the total weight of the matching edge set. By fine-tuning the weights of the packet content influencing factors and the heuristic method, the algorithm can still reasonably allocate resources under different network load conditions, ensuring that high-priority data packets are processed first, while low-priority data packets are processed when resources allow, improving the user experience quality under high traffic conditions.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作合并,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of actions combined, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application. In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.

图5示出了根据本申请实施例的光通信网络中的多路径信号传输系统的一示例的结构框图。FIG5 shows a structural block diagram of an example of a multipath signal transmission system in an optical communication network according to an embodiment of the present application.

如图5所示,光通信网络中的多路径信号传输系统500包括获取单元510、自适应拆包单元520、附码单元530、路径划分单元540和传输单元550。As shown in FIG. 5 , a multipath signal transmission system 500 in an optical communication network includes an acquisition unit 510 , an adaptive unpacking unit 520 , a coding unit 530 , a path division unit 540 and a transmission unit 550 .

获取单元510用于获取待由光通信装置传输的目标数据包和所述光通信装置的各个传输路径的路径状态数据。The acquisition unit 510 is used to acquire a target data packet to be transmitted by the optical communication device and path status data of each transmission path of the optical communication device.

自适应拆包单元520用于根据所述目标数据包的内容感知信息将所述目标数据包自适应拆分成相应的子数据包组,并从所述子数据包组中筛选至少一个关键子数据包。The adaptive depacketizing unit 520 is used to adaptively split the target data packet into corresponding sub-data packet groups according to the content-aware information of the target data packet, and select at least one key sub-data packet from the sub-data packet groups.

附码单元530用于针对各个所述关键子数据包,确定所述关键子数据包所对应的前向纠错码,并将所述前向纠错码附加至所述关键子数据包,以根据经更新的子数据包组确定目标子数据包组。The code attaching unit 530 is used to determine the forward error correction code corresponding to each of the key sub-data packets, and attach the forward error correction code to the key sub-data packet, so as to determine the target sub-data packet group according to the updated sub-data packet group.

路径划分单元540用于根据各个所述传输路径的路径状态数据确定最优传输路径,并确定所述目标子数据包组中各个目标子数据包所对应的目标传输路径;The path division unit 540 is used to determine the optimal transmission path according to the path state data of each of the transmission paths, and determine the target transmission path corresponding to each target sub-data packet in the target sub-data packet group;

传输单元550用于利用各个所述目标传输路径分别传输所述目标子数据包组中相应的子数据包,并利用所述最优传输路径传输各个前向纠错码和相应的目标传输路径的路径标识。The transmission unit 550 is used to respectively transmit the corresponding sub-data packets in the target sub-data packet group using each of the target transmission paths, and to transmit each forward error correction code and a path identifier of the corresponding target transmission path using the optimal transmission path.

在一些实施例中,本申请实施例提供一种非易失性计算机可读存储介质,所述存储介质中存储有一个或多个包括执行指令的程序,所述执行指令能够被电子设备(包括但不限于计算机,服务器,或者网络设备等)读取并执行,以用于执行本申请上述任一项光通信网络中的多路径信号传输方法的步骤。In some embodiments, an embodiment of the present application provides a non-volatile computer-readable storage medium, in which one or more programs including execution instructions are stored, and the execution instructions can be read and executed by an electronic device (including but not limited to a computer, a server, or a network device, etc.) to execute the steps of any of the above-mentioned multipath signal transmission methods in an optical communication network of the present application.

在一些实施例中,本申请实施例还提供一种计算机程序产品,所述计算机程序产品包括存储在非易失性计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一项光通信网络中的多路径信号传输方法的步骤。In some embodiments, the embodiments of the present application also provide a computer program product, which includes a computer program stored on a non-volatile computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer performs the steps of any one of the above-mentioned multipath signal transmission methods in an optical communication network.

在一些实施例中,本申请实施例还提供一种电子设备,其包括:至少一个处理器,以及与所述至少一个处理器通信连接的存储器,其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行光通信网络中的多路径信号传输方法的步骤。In some embodiments, the embodiments of the present application also provide an electronic device, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the steps of the multipath signal transmission method in an optical communication network.

图6是本申请另一实施例提供的执行光通信网络中的多路径信号传输方法的电子设备的硬件结构示意图,如图6所示,该设备包括:FIG6 is a schematic diagram of the hardware structure of an electronic device for executing a multipath signal transmission method in an optical communication network provided by another embodiment of the present application. As shown in FIG6 , the device includes:

一个或多个处理器610以及存储器620,图6中以一个处理器610为例。One or more processors 610 and a memory 620 , with one processor 610 being taken as an example in FIG. 6 .

执行光通信网络中的多路径信号传输方法的设备还可以包括:输入装置630和输出装置640。The apparatus for executing the multipath signal transmission method in an optical communication network may further include: an input device 630 and an output device 640 .

处理器610、存储器620、输入装置630和输出装置640可以通过总线或者其他方式连接,图6中以通过总线连接为例。The processor 610, the memory 620, the input device 630 and the output device 640 may be connected via a bus or other means, and FIG6 takes the connection via a bus as an example.

存储器620作为一种非易失性计算机可读存储介质,可用于存储非易失性软件程序、非易失性计算机可执行程序以及模块,如本申请实施例中的光通信网络中的多路径信号传输方法对应的程序指令/模块。处理器610通过运行存储在存储器620中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例光通信网络中的多路径信号传输方法。The memory 620, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer executable programs and modules, such as program instructions/modules corresponding to the multi-path signal transmission method in the optical communication network in the embodiment of the present application. The processor 610 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 620, that is, the multi-path signal transmission method in the optical communication network in the above method embodiment is implemented.

存储器620可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器620可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器620可选包括相对于处理器610远程设置的存储器,这些远程存储器可以通过网络连接至电子设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 620 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 620 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the memory 620 may optionally include a memory remotely arranged relative to the processor 610, and these remote memories may be connected to the electronic device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

输入装置630可接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的信号。输出装置640可包括显示屏等显示设备。The input device 630 can receive input digital or character information and generate signals related to user settings and function control of the electronic device. The output device 640 can include a display device such as a display screen.

所述一个或者多个模块存储在所述存储器620中,当被所述一个或者多个处理器610执行时,执行上述任意方法实施例中的光通信网络中的多路径信号传输方法。The one or more modules are stored in the memory 620, and when executed by the one or more processors 610, the multipath signal transmission method in the optical communication network in any of the above method embodiments is executed.

上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.

本申请实施例的电子设备以多种形式存在,包括但不限于:The electronic devices of the embodiments of the present application exist in various forms, including but not limited to:

(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机、多媒体手机、功能性手机,以及低端手机等。(1) Mobile communication equipment: This type of equipment is characterized by having mobile communication functions and its main purpose is to provide voice and data communications. This type of terminal includes: smart phones, multimedia phones, functional phones, and low-end phones.

(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC设备等。(2) Ultra-mobile personal computer devices: These devices belong to the category of personal computers, have computing and processing functions, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, etc.

(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器,掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。(3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players, handheld game consoles, e-books, smart toys, and portable car navigation devices.

(4)其他具有数据交互功能的机载电子装置,例如安装上车辆上的车机装置。(4) Other onboard electronic devices with data interaction functions, such as on-board devices installed in vehicles.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a general hardware platform, and of course, by hardware. Based on this understanding, the above technical solution, in essence or in other words, the part that contributes to the relevant technology, can be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some of the technical features therein with equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (10)

1.一种光通信网络中的多路径信号传输方法,包括:1. A multipath signal transmission method in an optical communication network, comprising: 获取待由光通信装置传输的目标数据包和所述光通信装置的各个传输路径的路径状态数据;Acquire a target data packet to be transmitted by an optical communication device and path state data of each transmission path of the optical communication device; 根据所述目标数据包的内容感知信息将所述目标数据包自适应拆分成相应的子数据包组,并从所述子数据包组中筛选至少一个关键子数据包;Adaptively splitting the target data packet into corresponding sub-data packet groups according to content-aware information of the target data packet, and selecting at least one key sub-data packet from the sub-data packet groups; 针对各个所述关键子数据包,确定所述关键子数据包所对应的前向纠错码,并将所述前向纠错码附加至所述关键子数据包,以根据经更新的子数据包组确定目标子数据包组;For each of the key sub-data packets, determine a forward error correction code corresponding to the key sub-data packet, and append the forward error correction code to the key sub-data packet, so as to determine a target sub-data packet group according to the updated sub-data packet group; 根据各个所述传输路径的路径状态数据确定最优传输路径,确定所述目标子数据包组中各个目标子数据包所对应的目标传输路径;Determine an optimal transmission path according to the path state data of each of the transmission paths, and determine a target transmission path corresponding to each target sub-data packet in the target sub-data packet group; 利用各个所述目标传输路径分别传输所述目标子数据包组中相应的子数据包,并利用所述最优传输路径传输各个前向纠错码和相应的目标传输路径的路径标识。The corresponding sub-data packets in the target sub-data packet group are transmitted respectively by using each of the target transmission paths, and each forward error correction code and the path identifier of the corresponding target transmission path are transmitted by using the optimal transmission path. 2.根据权利要求1所述的方法,其中,所述确定所述目标子数据包组中各个目标子数据包所对应的目标传输路径,包括:2. The method according to claim 1, wherein the step of determining the target transmission path corresponding to each target sub-data packet in the target sub-data packet group comprises: 获取所述目标子数据包组中各个目标子数据包的包属性数据;所述包属性数据包含目标子数据包的关键子数据包标识、内容类型和需求传输带宽;Acquire packet attribute data of each target sub-data packet in the target sub-data packet group; the packet attribute data includes a key sub-data packet identifier, a content type, and a required transmission bandwidth of the target sub-data packet; 从所述各个传输路径中筛除所述最优传输路径,以更新为各个候选传输路径;Screening out the optimal transmission path from the various transmission paths to update them into various candidate transmission paths; 针对各个所述目标子数据包,根据所述目标子数据包的包属性数据和各个所述候选传输路径的路径状态数据,计算所述目标子数据包相对于各个候选传输路径的包内容影响因子,以得到相应的包内容影响因子矩阵;For each of the target sub-data packets, according to the packet attribute data of the target sub-data packet and the path state data of each of the candidate transmission paths, the packet content impact factor of the target sub-data packet relative to each of the candidate transmission paths is calculated to obtain a corresponding packet content impact factor matrix; 根据各个所述目标子数据包的包内容影响因子矩阵,确定各个目标子数据包所对应的目标传输路径。According to the packet content influence factor matrix of each of the target sub-data packets, the target transmission path corresponding to each of the target sub-data packets is determined. 3.根据权利要求2所述的方法,其中,所述计算所述目标子数据包相对于各个候选传输路径的包内容影响因子,包括:3. The method according to claim 2, wherein the calculating the packet content impact factor of the target sub-data packet relative to each candidate transmission path comprises: 式中,表示目标子数据包在候选传输路径上的包内容影响因子;分别表示目标子数据包在候选传输路径上的关键性影响因子、内容类型影响因子和带宽需求影响因子;表示关键性权重系数;表示的关键子数据包标识,若为关键子数据包则,否则表示的传输时延;的丢包率的倒数;为预设常数;表示内容类型权重系数,表示的内容类型对应的时延敏感度权重,表示的内容类型的带宽敏感度权重,表示的内容类型的误码率敏感度权重;表示的可用带宽,表示的误码率;表示带宽需求权重系数,表示的需求带宽,表示的总带宽容量,表示的当前带宽利用率。In the formula, Indicates the target sub-packet In the candidate transmission path The impact factor of the package content on and Represents the target sub-packet In the candidate transmission path The key influencing factors, content type influencing factors and bandwidth demand influencing factors on the network; represents the critical weight coefficient; express The key sub-packet identifier of For key sub-packets, ,otherwise ; express transmission delay; for The inverse of the packet loss rate; is a preset constant; Indicates the content type weight coefficient, express Content Type The corresponding delay sensitivity weight, express Content Type The bandwidth sensitivity weight of express Content Type The bit error rate sensitivity weight of express Available bandwidth, express bit error rate; represents the bandwidth demand weight coefficient, express The required bandwidth, express The total bandwidth capacity of express The current bandwidth utilization of the 4.根据权利要求3所述的方法,其中,在计算该目标子数据包相对于各个候选传输路径的包内容影响因子之前,所述方法还包括:4. The method according to claim 3, wherein before calculating the packet content impact factor of the target sub-data packet relative to each candidate transmission path, the method further comprises: 解析目标子数据包所对应的目标内容类型;Parsing the target content type corresponding to the target sub-data packet; 根据内容敏感度权重表确定与所述目标内容类型相匹配的时延敏感度权重、带宽敏感度权重和误码率敏感度权重;所述内容敏感度权重表记录了多种内容类型和相应的敏感权重设置,所述敏感权重设置包含标定的时延敏感度权重、带宽敏感度权重和误码率敏感度权重。Determine the delay sensitivity weight, bandwidth sensitivity weight and bit error rate sensitivity weight that match the target content type according to the content sensitivity weight table; the content sensitivity weight table records multiple content types and corresponding sensitivity weight settings, and the sensitivity weight settings include calibrated delay sensitivity weights, bandwidth sensitivity weights and bit error rate sensitivity weights. 5.根据权利要求3所述的方法,其中,根据各个所述目标子数据包的包内容影响因子矩阵,确定各个目标子数据包所对应的目标传输路径,包括:5. The method according to claim 3, wherein determining the target transmission path corresponding to each target sub-data packet according to the packet content impact factor matrix of each target sub-data packet comprises: 构建二分图;所述二分图包含数据包顶点集合和路径顶点集合,所述数据包顶点集合是由所有的目标子数据包而定义的,所述路径顶点集合是由所有候选传输路径而定义的;Constructing a bipartite graph; the bipartite graph includes a data packet vertex set and a path vertex set, the data packet vertex set is defined by all target sub-data packets, and the path vertex set is defined by all candidate transmission paths; 基于各个所述包内容影响因子矩阵配置所述二分图的边权重;其中,二分图中的每个数据包顶点与路径顶点之间的边权重是由相应的包内容影响因子而确定的;configuring the edge weights of the bipartite graph based on each of the packet content impact factor matrices; wherein the edge weights between each data packet vertex and a path vertex in the bipartite graph are determined by the corresponding packet content impact factor; 基于最大匹配算法处理二分图,以确定在所述数据包顶点集合与所述路径顶点集合之间的最大权重匹配边集;所述最大权重匹配边集所对应的匹配边集具有最大的总边权重;Processing a bipartite graph based on a maximum matching algorithm to determine a maximum weight matching edge set between the data packet vertex set and the path vertex set; the matching edge set corresponding to the maximum weight matching edge set has the maximum total edge weight; 根据所述最大权重匹配边集,确定各个目标子数据包所对应的目标传输路径。According to the maximum weight matching edge set, a target transmission path corresponding to each target sub-data packet is determined. 6.根据权利要求5所述的方法,其中,所述最大匹配算法为改进的KM算法,6. The method according to claim 5, wherein the maximum matching algorithm is an improved KM algorithm. 所述基于最大匹配算法处理二分图,以确定在第一侧顶点集合与第二侧顶点集合之间的最大权重匹配,包括:The method of processing the bipartite graph based on a maximum matching algorithm to determine a maximum weight matching between a first side vertex set and a second side vertex set includes: 执行顶点匹配状态初始化操作,包括:Perform vertex matching state initialization operations, including: 建立初始的空匹配集合Create an initial empty set of matches , 对于数据包顶点集合中的每个顶点,选择与相连的最大边权重作为初始标签:For the data packet vertex set Each vertex in , select and The connected maximum edge weight is used as the initial label: 式中,表示目标子数据包所对应的数据包顶点;表示数据包顶点的初始标签,In the formula, Indicates the target sub-packet The corresponding data packet vertex; Represents a packet vertex The initial label of 对于路径顶点集合中的每个顶点,初始化标签For the path vertex set Each vertex in , initialize the label , 式中,表示候选传输路径所对应的路径顶点;表示路径顶点的初始标签;In the formula, Indicates candidate transmission paths The corresponding path vertex; Represents the path vertex The initial label of 执行主循环操作,迭代寻找增广路径,以增加匹配边集的总边权重;每次迭代的操作如下:Execute the main loop operation to iteratively find augmenting paths to increase the total edge weight of the matching edge set; the operation of each iteration is as follows: 标记各个数据包顶点和各个路径顶点的被访问状态,Mark the access status of each data packet vertex and each path vertex, 利用启发式函数计算各个未匹配数据包顶点的启发式值,启发式函数公式为:The heuristic function is used to calculate the heuristic value of each unmatched data packet vertex. The heuristic function formula is: 式中,是因子调整权重,表示数据包顶点的启发式值,In the formula, and are the factor adjustment weights, Represents a packet vertex The heuristic value of 选择对应启发式值最大的未匹配数据包顶点作为增广路径搜索的初始数据包顶点,Select the unmatched data packet vertex with the largest corresponding heuristic value as the initial data packet vertex for augmented path search. 使用广度优先搜索从初始数据包顶点出发寻找增广路径,在搜索过程中,对每条边的搜索条件为:Use breadth-first search to find the augmenting path from the initial packet vertex. During the search, for each edge The search criteria are: 若找到增广路径,则逆转增广路径中的匹配和未匹配边,将增广路径上的未匹配边加入匹配集合,同时将原匹配的边移出If an augmenting path is found, reverse the matched and unmatched edges in the augmenting path and add the unmatched edges on the augmenting path to the matching set. , and remove the original matching edges ; 若未找到增广路径,则更新各个顶点标签以缩小未匹配点与已匹配点之间的差距,以便为下一轮的增广路径搜索提供条件;更新的计算规则为:If no augmenting path is found, update each vertex label to narrow the gap between unmatched points and matched points, so as to provide conditions for the next round of augmenting path search; the updated calculation rule is: 式中,表示用于更新顶点标签的最小调整量,以确保路径和数据包之间的包内容影响因子差异最小化;In the formula, represents the minimum adjustment to update vertex labels to ensure that the path and data packets Minimize the differences in package content impact factors between them; 对于已被访问过的,通过下式更新相应的数据包顶点标签:For visited , update the corresponding data packet vertex label by the following formula: 对于已被访问过的,通过下式更新相应的路径顶点标签:For visited , update the corresponding path vertex labels by: 在检测到通过迭代所确定的匹配边集的总边权重超过预设迭代次数未增大的情况下,停止迭代,并根据当前的匹配集合输出最大权重匹配边集。When it is detected that the total edge weight of the matching edge set determined by iteration exceeds the preset number of iterations and does not increase, the iteration is stopped and the current matching set is Output the maximum weight matching edge set. 7.根据权利要求1-6中任一项所述的方法,其中,所述根据所述目标数据包的内容感知信息将所述目标数据包自适应拆分成相应的子数据包组,包括:7. The method according to any one of claims 1 to 6, wherein the step of adaptively splitting the target data packet into corresponding sub-data packet groups according to content-aware information of the target data packet comprises: 当所述目标数据包为视频数据包时,确定所述视频数据包所对应的第一内容感知信息,并根据所述第一内容感知信息将所述视频数据包自适应拆分成相应的子数据包组;所述第一内容感知信息为视频帧的边缘像素数量和运动矢量范围;When the target data packet is a video data packet, first content perception information corresponding to the video data packet is determined, and the video data packet is adaptively split into corresponding sub-data packet groups according to the first content perception information; the first content perception information is the number of edge pixels and the range of motion vectors of a video frame; 当所述目标数据包为音频数据包时,确定所述音频数据包所对应的第二内容感知信息,并根据所述第二内容感知信息将所述音频数据包自适应拆分成相应的子数据包组;所述第二内容感知信息为音频频谱带宽和音频能量分布;When the target data packet is an audio data packet, determining second content perception information corresponding to the audio data packet, and adaptively splitting the audio data packet into corresponding sub-data packet groups according to the second content perception information; the second content perception information is an audio spectrum bandwidth and an audio energy distribution; 当所述目标数据包为文本数据包时,确定所述文本数据包所对应的第三内容感知信息,并根据所述第三内容感知信息将所述文本数据包自适应拆分成相应的子数据包组;所述第三内容感知信息包含文本语义密度和关键字频率。When the target data packet is a text data packet, third content-aware information corresponding to the text data packet is determined, and the text data packet is adaptively split into corresponding sub-data packet groups according to the third content-aware information; the third content-aware information includes text semantic density and keyword frequency. 8.根据权利要求7所述的方法,其中,所述确定所述关键子数据包所对应的前向纠错码,包括:8. The method according to claim 7, wherein determining the forward error correction code corresponding to the key sub-data packet comprises: 根据所述关键子数据包的内容感知信息,自适应确定相应的目标冗余度;Adaptively determining a corresponding target redundancy according to content perception information of the key sub-data packet; 根据所述目标冗余度和所述关键子数据包的包类型对所述关键子数据包进行编码,以确定相应的关键子数据包所对应的前向纠错码;所述包类型包含以下中的任意一者视频类型、音频类型和文本类型;Encoding the key sub-data packet according to the target redundancy and the packet type of the key sub-data packet to determine a forward error correction code corresponding to the corresponding key sub-data packet; the packet type includes any one of the following: a video type, an audio type, and a text type; 其中,视频类型关键子数据包采用RS编码,音频类型的关键子数据包采用LDPC编码,文本类型的关键子数据包采用汉明编码。Among them, the key sub-packets of the video type are encoded by RS, the key sub-packets of the audio type are encoded by LDPC, and the key sub-packets of the text type are encoded by Hamming. 9.根据权利要求1-6中任一项所述的方法,其中,所述路径状态数据包含以下中的至少一者:路径可用带宽、路径时延、路径丢包率、路径误码率、路径信号衰减水平和信号干扰强度。9. The method according to any one of claims 1-6, wherein the path status data comprises at least one of the following: path available bandwidth, path delay, path packet loss rate, path bit error rate, path signal attenuation level and signal interference strength. 10.一种光通信网络中的多路径信号传输系统,包括:10. A multipath signal transmission system in an optical communication network, comprising: 获取单元,用于获取待由光通信装置传输的目标数据包和所述光通信装置的各个传输路径的路径状态数据;an acquisition unit, configured to acquire a target data packet to be transmitted by the optical communication device and path state data of each transmission path of the optical communication device; 自适应拆包单元,用于根据所述目标数据包的内容感知信息将所述目标数据包自适应拆分成相应的子数据包组,并从所述子数据包组中筛选至少一个关键子数据包;an adaptive depacketizing unit, configured to adaptively split the target data packet into corresponding sub-data packet groups according to content-aware information of the target data packet, and select at least one key sub-data packet from the sub-data packet groups; 附码单元,用于针对各个所述关键子数据包,确定所述关键子数据包所对应的前向纠错码,并将所述前向纠错码附加至所述关键子数据包,以根据经更新的子数据包组确定目标子数据包组;A code attaching unit, configured to determine, for each of the key sub-data packets, a forward error correction code corresponding to the key sub-data packet, and attach the forward error correction code to the key sub-data packet, so as to determine a target sub-data packet group according to the updated sub-data packet group; 路径划分单元,用于根据各个所述传输路径的路径状态数据确定最优传输路径,并确定所述目标子数据包组中各个目标子数据包所对应的目标传输路径;A path division unit, used to determine an optimal transmission path according to the path state data of each of the transmission paths, and determine a target transmission path corresponding to each target sub-data packet in the target sub-data packet group; 传输单元,用于利用各个所述目标传输路径分别传输所述目标子数据包组中相应的子数据包,并利用所述最优传输路径传输各个前向纠错码和相应的目标传输路径的路径标识。The transmission unit is used to respectively transmit the corresponding sub-data packets in the target sub-data packet group by using each of the target transmission paths, and to transmit each forward error correction code and a path identifier of the corresponding target transmission path by using the optimal transmission path.
CN202411173294.8A 2024-08-26 2024-08-26 Multipath signal transmission method and system in optical communication network Active CN118695144B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411173294.8A CN118695144B (en) 2024-08-26 2024-08-26 Multipath signal transmission method and system in optical communication network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411173294.8A CN118695144B (en) 2024-08-26 2024-08-26 Multipath signal transmission method and system in optical communication network

Publications (2)

Publication Number Publication Date
CN118695144A true CN118695144A (en) 2024-09-24
CN118695144B CN118695144B (en) 2024-11-01

Family

ID=92775855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411173294.8A Active CN118695144B (en) 2024-08-26 2024-08-26 Multipath signal transmission method and system in optical communication network

Country Status (1)

Country Link
CN (1) CN118695144B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120151293A (en) * 2025-05-13 2025-06-13 深圳Tcl新技术有限公司 Data transmission method, device, electronic device and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192900A (en) * 2006-12-01 2008-06-04 武汉烽火网络有限责任公司 Communication method and device for application forward error correction mechanism of carrier-class Ethernet
CN110730036A (en) * 2018-07-16 2020-01-24 瞻博网络公司 Method and apparatus for adaptively detecting signal attenuation in optical communication systems using pre-fec ber
CN112751644A (en) * 2019-10-29 2021-05-04 腾讯科技(深圳)有限公司 Data transmission method, device and system and electronic equipment
CN115632986A (en) * 2022-09-05 2023-01-20 鹏城实验室 Path load balancing method and system
CN116961825A (en) * 2022-04-20 2023-10-27 华为技术有限公司 Encoding method, decoding method, and optical communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192900A (en) * 2006-12-01 2008-06-04 武汉烽火网络有限责任公司 Communication method and device for application forward error correction mechanism of carrier-class Ethernet
CN110730036A (en) * 2018-07-16 2020-01-24 瞻博网络公司 Method and apparatus for adaptively detecting signal attenuation in optical communication systems using pre-fec ber
CN112751644A (en) * 2019-10-29 2021-05-04 腾讯科技(深圳)有限公司 Data transmission method, device and system and electronic equipment
CN116961825A (en) * 2022-04-20 2023-10-27 华为技术有限公司 Encoding method, decoding method, and optical communication system
CN115632986A (en) * 2022-09-05 2023-01-20 鹏城实验室 Path load balancing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
卢小辉: "光通信中改进HARQ抗衰落传输技术研究", 《重庆邮电大学硕士学位论文》, 31 December 2021 (2021-12-31) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN120151293A (en) * 2025-05-13 2025-06-13 深圳Tcl新技术有限公司 Data transmission method, device, electronic device and storage medium

Also Published As

Publication number Publication date
CN118695144B (en) 2024-11-01

Similar Documents

Publication Publication Date Title
US9504042B2 (en) System and method for encoding and decoding of data with channel polarization mechanism
US11917038B2 (en) Methods and apparatus to compress packets in a computing environment
KR102366833B1 (en) Computing system with polar processing mechanism and method of operation thereof
CN118695144B (en) Multipath signal transmission method and system in optical communication network
CN104054125A (en) Devices for redundant frame coding and decoding
CN110535661B (en) Service processing method and device based on block chain, electronic equipment and storage medium
CN114067800B (en) Speech recognition method, device and electronic equipment
CN110602338B (en) Audio processing method, apparatus, system, storage medium and device
CN102760440A (en) Voice signal transmitting and receiving device and method
CN112532347B (en) Link adaptation method, device, equipment and storage medium based on transmission effect
CN112104397A (en) MIMO power line communication data transmission method and device
US10628242B1 (en) Message stream processor microbatching
CN111210505A (en) 3D model loading method, server, storage medium and processor
CN111459819A (en) Software testing method and device, electronic equipment and computer readable medium
CN116954926A (en) Server resource allocation method and device
CN113918487B (en) Data packet processing method and data packet processing device
CN113823297B (en) Voice data processing method, device, equipment and storage medium
CN114827312A (en) Method and device for self-adapting delay and throughput rate requirement in intelligent network card/DPU
CN113439253B (en) Application cleaning method, device, storage medium and electronic device
CN115087010B (en) Downlink signal detection method and device for flexible frame structure simulation system
US20240313886A1 (en) Signal loss compensation method
CN115277549B (en) Detection message generation method and device, storage medium and electronic equipment
US20200204482A1 (en) Batch checkpointing for inter-stream messaging system
CN115087012B (en) Uplink signal detection method and device for flexible frame structure simulation system
US20250315715A1 (en) Method and apparatus for training a large model using edge computing devices

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