Message forwarding method and apparatus, and related device and storage medium

By carrying the TDM cross function value in SID and using the correlation information between SID and TDM channel, the problem of the inability to use IPv6 segment routing technology for computing power orchestration in the SPN and computing power network integration scenarios is solved, and the support and precise matching of SRv6 technology for TDM channels is achieved, and the performance of SRv6 paths is improved.

WO2025092722A1PCT designated stage expired Publication Date: 2025-05-08CHINA MOBILE COMM LTD RES INST +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/128117
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-10-30
Filing Date
2024-10-29
Publication Date
2025-05-08

AI Technical Summary

Technical Problem

In the scenario where SPN and computing power network are integrated, the existing technology cannot use IPv6-based segmented routing technology for computing power orchestration, and cannot effectively utilize the advantages of SPN's slice channel.

Method used

By carrying the TDM cross function value in the SID and using the correlation information between the SID and the TDM channel, the TDM channel corresponding to the SRv6 message is determined, thereby realizing message forwarding, combining the TDM channel transmission mechanism and layer three routing technology.

Benefits of technology

It realizes the support of SRv6 technology for TDM channels, can accurately match SRv6 packets and TDM channels, improves SRv6 path performance, and leverages the advantages of SPN's own slice channel.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024128117_08052025_PF_FP_ABST
    Figure CN2024128117_08052025_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a message forwarding method and apparatus, and a first device, a second device and a storage medium. The method comprises: a first device receiving a first message, wherein the first message includes a first segment identifier (SID), the first SID is associated with the first device, the first SID includes first information, and the first information includes information related to a time division multiplexing (TDM) cross function; determining, by using the first SID and second information, a TDM channel corresponding to the first message, wherein the second information represents an association relationship between the SID and the TDM channel; and forwarding the first message by means of the TDM channel corresponding to the first message.
Need to check novelty before this filing date? Find Prior Art

Description

Message forwarding method, device, related equipment and storage medium

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application is based on the Chinese patent application with application number 202311425733.5 and application date October 30, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field

[0003] The present application relates to the field of data transmission, and in particular to a message forwarding method, apparatus, related equipment and storage medium. Background Art

[0004] The realization of computing power network is an inevitable requirement to respond to national strategies, conform to industrial development and promote corporate transformation, and can bring new opportunities for the digital development of society and the strategic transformation of companies. Among the related technologies, computing power network can be realized based on the application of slicing packet network (SPN). Specifically, computing power cannot leave the metropolitan area network. Applying SPN as the main body of the metropolitan area network can cover all areas above the county level and achieve a deployment scale of 400,000 terminals. In the future, the location of computing power will develop from the center to the edge, and a large number of users will access computing power from the edge. The metropolitan area SPN can also carry edge and ubiquitous computing power access. SPN has the capabilities of hard isolation, low latency, large-scale telecom-grade layer 3 (L3, Layer 3) flexible networking, and software-defined network (SDN, Software Defined Network) intelligent management and control. It can efficiently carry more than 1.55 million fifth-generation mobile communication technology (5G) base station backhaul and vertical industry applications. In the computing network (i.e., computing power network), SPN can provide sliced ​​network services from Layer 1 (L1) to L3 for computing power applications, creating a high-quality, wide-coverage, telecom-grade flexible SPN computing network foundation, and achieving high-speed, high-quality, flexible connection of cloud-edge computing power. In addition, the computing power network's requirements for SPN mainly include latency, bandwidth, quality of service (QoS), and computing power capabilities for intelligent perception of computing power network services. By establishing a fusion mechanism between SPN and computing power network, SPN's perception of computing power services can be improved, and end-to-end services for computing power network services can be achieved.

[0005] However, in related technologies, for the scenario where the above-mentioned SPN is integrated with the computing power network, it may not be possible to use the segment routing (SRv6) technology based on the sixth version of the Internet Protocol (IPv6) to orchestrate computing power.

[0006] Summary of the Invention

[0007] To solve related technical problems, the embodiments of the present application provide a message forwarding method, apparatus, related equipment and storage medium.

[0008] The technical solution of the embodiment of the present application is implemented as follows:

[0009] An embodiment of the present application provides a message forwarding method, applied to a first device, including:

[0010] Receive a first message, where the first message includes a first segment ID (SID), the first SID is associated with the first device, the first SID includes first information, and the first information includes information related to a time division multiplexing (TDM) cross-connect function;

[0011] Determining a TDM channel corresponding to the first message using the first SID and the second information, wherein the second information represents an association between the SID and the TDM channel;

[0012] The first message is forwarded through the TDM channel corresponding to the first message.

[0013] In the above solution, the relevant information of the TDM cross-connect function includes at least one of the following:

[0014] third information, where the third information represents a type of TDM cross-connection;

[0015] Fourth information, wherein the fourth information indicates that a segment routing header (SRH) removal operation is performed on the penultimate segment;

[0016] fifth information, wherein the fifth information indicates that an SRH removal operation is performed in the last segment;

[0017] The sixth information indicates that an IPv6 decapsulation operation is performed in the last segment.

[0018] In the above solution, the second information includes one of the following:

[0019] an association relationship between seventh information and eighth information, wherein the seventh information includes relevant information about the SID and the eighth information includes relevant information about the TDM channel;

[0020] The association relationship between the seventh information and the ninth information, and the association relationship between the ninth information and the eighth information, the seventh information contains relevant information of the SID, the eighth information contains relevant information of the TDM channel, and the ninth information contains relevant information of the TDM sub-interface.

[0021] In the above solution, the SID-related information includes at least one of the following:

[0022] SID;

[0023] A first field of the SID, wherein the first field includes information related to a function of the SID;

[0024] The second field of the SID contains a randomly generated value.

[0025] In the above solution, the relevant information of the TDM channel includes at least one of the following:

[0026] Type of TDM channel;

[0027] TDM channel identification;

[0028] Name of the TDM channel.

[0029] In the above solution, the relevant information of the TDM sub-interface includes at least one of the following:

[0030] Internet Protocol (IP) address corresponding to the TDM sub-interface;

[0031] TDM sub-interface identifier;

[0032] Name of a TDM subinterface.

[0033] In the above solution, the method further includes:

[0034] receiving the second information sent by the second device, where the second information is determined by the second device;

[0035] or,

[0036] Determine the second information and send the second information to the second device; wherein,

[0037] The second device is at least used for network management and / or control.

[0038] In the above solution, the method further includes:

[0039] receiving the first SID sent by the second device, where the first SID is determined by the second device;

[0040] or,

[0041] Determine the first SID and send the first SID to the second device; wherein,

[0042] The second device is at least used for network management and / or control.

[0043] The embodiment of the present application further provides a message forwarding method, applied to a second device, comprising:

[0044] Determine second information, and send the second information to the first device, so that the first device uses the first SID and the second information to determine the TDM channel corresponding to the first message, and forward the first message through the TDM channel corresponding to the first message;

[0045] or,

[0046] receiving second information sent by a first device, where the second information is determined by the first device; wherein,

[0047] The second device is at least used for network management and / or control; the second information represents the association between the SID and the TDM channel; the first message includes the first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes relevant information about the TDM cross-connect function.

[0048] In the above solution, the relevant information of the TDM cross-connect function includes at least one of the following:

[0049] third information, where the third information represents a type of TDM cross-connection;

[0050] fourth information, the fourth information indicating that an SRH removal operation is performed in the penultimate segment;

[0051] fifth information, wherein the fifth information indicates that an SRH removal operation is performed in the last segment;

[0052] The sixth information indicates that an outer IPv6 decapsulation operation is performed in the last segment.

[0053] In the above solution, the second information includes one of the following:

[0054] an association relationship between seventh information and eighth information, wherein the seventh information includes relevant information about the SID and the eighth information includes relevant information about the TDM channel;

[0055] The association relationship between the seventh information and the ninth information, and the association relationship between the ninth information and the eighth information, the seventh information contains relevant information of the SID, the eighth information contains relevant information of the TDM channel, and the ninth information contains relevant information of the TDM sub-interface.

[0056] In the above solution, the SID-related information includes at least one of the following:

[0057] SID;

[0058] A first field of the SID, wherein the first field includes information related to a function of the SID;

[0059] The second field of the SID contains a randomly generated value.

[0060] In the above solution, the relevant information of the TDM channel includes at least one of the following:

[0061] Type of TDM channel;

[0062] TDM channel identification;

[0063] Name of the TDM channel.

[0064] In the above solution, the relevant information of the TDM sub-interface includes at least one of the following:

[0065] IP address corresponding to the TDM sub-interface;

[0066] TDM sub-interface identifier;

[0067] Name of a TDM subinterface.

[0068] In the above solution, the method further includes:

[0069] Determine the first SID, and send the first SID to the first device;

[0070] or,

[0071] The first SID sent by the first device is received, where the first SID is determined by the first device.

[0072] The present application also provides a message forwarding device, including:

[0073] A receiving unit configured to receive a first message, where the first message includes a first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes information related to a TDM cross-connect function;

[0074] A processing unit configured to determine a TDM channel corresponding to the first message using the first SID and second information, wherein the second information represents an association between the SID and the TDM channel;

[0075] The forwarding unit is configured to forward the first message through the TDM channel corresponding to the first message.

[0076] The present application also provides a message forwarding device, including:

[0077] The third mapping unit is configured to determine the second information and send the second information to the first device, so that the first device uses the first SID and the second information to determine the TDM channel corresponding to the first message and forward the first message through the TDM channel corresponding to the first message; or is configured to receive the second information sent by the first device, where the second information is determined by the first device; wherein,

[0078] The second information represents the association between the SID and the TDM channel; the first message includes the first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes relevant information of the TDM cross-connect function.

[0079] The embodiment of the present application further provides a first device, comprising: a first communication interface and a first processor; wherein,

[0080] The first processor is configured as follows:

[0081] receiving a first message through the first communication interface, where the first message includes a first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes information related to a TDM cross-connect function;

[0082] Determining a TDM channel corresponding to the first message using the first SID and the second information, wherein the second information represents an association between the SID and the TDM channel;

[0083] The first message is forwarded through the TDM channel corresponding to the first message.

[0084] The embodiment of the present application further provides a second device, comprising: a second communication interface and a second processor; wherein,

[0085] The second processor is configured to determine second information; the second communication interface is configured to send the second information to the first device, so that the first device uses the first SID and the second information to determine the TDM channel corresponding to the first message, and forward the first message through the TDM channel corresponding to the first message;

[0086] or,

[0087] The second communication interface is configured to receive second information sent by the first device, where the second information is determined by the first device; wherein,

[0088] The second device is at least used for network management and / or control; the second information represents the association between the SID and the TDM channel; the first message includes the first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes relevant information about the TDM cross-connect function.

[0089] An embodiment of the present application further provides a first device, comprising: a first processor and a first memory configured to store a computer program that can be run on the processor,

[0090] Wherein, the first processor is configured to execute the steps of any of the above-mentioned methods on the first device side when running the computer program.

[0091] The embodiment of the present application further provides a second device, comprising: a second processor and a second memory configured to store a computer program that can be run on the processor,

[0092] Wherein, the second processor is configured to execute the steps of any of the above-mentioned methods on the second device side when running the computer program.

[0093] An embodiment of the present application also provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the above-mentioned methods on the first device side, or implements the steps of any of the above-mentioned methods on the second device side.

[0094] The message forwarding method, apparatus, related equipment, and storage medium provided by the embodiments of the present application include: a first device receiving a first message, where the first message includes a first SID, the first SID is associated with the first device, and the first SID includes first information, where the first information includes information related to a TDM cross-connect function; using the first SID and the second information, determining a TDM channel corresponding to the first message, where the second information represents an association between the SID and the TDM channel; and forwarding the first message through the TDM channel corresponding to the first message. In the solution provided by the embodiment of the present application, a TDM channel device (i.e., the first device) receives an SRv6 message (i.e., the first message) containing its own associated SID (i.e., the first SID), where the SID contains relevant information about the TDM cross-link function, and uses the SID and specific information (i.e., the second information) that characterizes the association between the SID and the TDM channel to determine the TDM channel corresponding to the message, and forwards the message through the determined TDM channel. In this way, SRv6 technology can support TDM channels, that is, support directing SRv6 messages to TDM channels for direct message forwarding, realize the combination of TDM channel transmission mechanism and three-layer routing (i.e., SRv6) technology, and precise matching of SRv6 messages and TDM channels; in other words, for the scenario where SPN and computing power network are integrated, SRv6 technology can be used for computing power orchestration, and the corresponding TDM channel can be directly called for message forwarding, thereby leveraging the advantages of SPN's own slice channel and improving the performance of SRv6 paths. BRIEF DESCRIPTION OF THE DRAWINGS

[0095] FIG1 is a flow chart of a message forwarding method according to an embodiment of the present application;

[0096] FIG2 is a schematic diagram of a SID generation method according to an embodiment of the present application;

[0097] FIG3 is a schematic diagram of another SID generation method according to an embodiment of the present application;

[0098] FIG4 is a flow chart of another message forwarding method according to an embodiment of the present application;

[0099] FIG5 is a schematic structural diagram of a message forwarding device according to an embodiment of the present application;

[0100] FIG6 is a schematic structural diagram of another message forwarding device according to an embodiment of the present application;

[0101] FIG7 is a schematic diagram of the structure of the first device according to an embodiment of the present application;

[0102] FIG8 is a schematic diagram of the structure of the second device according to an embodiment of the present application;

[0103] FIG9 is a schematic diagram of the structure of the message forwarding system according to an embodiment of the present application. DETAILED DESCRIPTION

[0104] The present application will be described in further detail below with reference to the accompanying drawings and embodiments.

[0105] In related technologies, SPN supports both soft slicing and hard slicing. Hard slicing can be implemented based on time-division multiplexing (TDM) cross-linking channels (TDM channels). TDM cross-linking refers to time slot switching or cross-linking. However, SRv6 technology only supports soft slicing, not hard slicing. In other words, when using SRv6 technology for computing power orchestration, it can only support soft slices and cannot take advantage of the SPN's own slicing channels.

[0106] In practical applications, to implement SRv6 support for hard slicing, it is possible to consider having the SID carry the TDM cross-connect function (Function) value. Specifically, the SID can be 128 bits long. As shown in Table 1, the SID can contain three programmable-length fields: locator, function, and argument. The locator field (also called locator value) indicates the node (such as a TDM channel device) in the network that should perform the corresponding function and may contain the identifier assigned to the node by the network. The function field (also called function value) identifies the function of the SID, indicating any possible local functions bound to the node. This indicates the operation to be performed upon receiving an SRv6 message, such as forwarding the message to another node or link, decapsulating the message and forwarding it through a routing table, or decapsulating the message and sending it to an instance. The argument field (also called parameter value) is optional and indicates parameters applicable to the SID, such as those required for the node to perform the corresponding function. The above-mentioned making the SID carry the TDM cross function value refers to making the function field contained in the SID indicate or identify the TDM cross function. In this way, when the TDM channel device receives an SRv6 message and the message contains a SID carrying the TDM cross function value, it can perform functional processing of mapping the SRv6 message to the TDM channel.

[0107] Table 1

[0108] In actual applications, TDM channel devices may be associated with multiple TDM channels. Simply having the SID carry the TDM cross-connect function value may not map SRv6 packets to the corresponding TDM channel. To address this issue, it is possible to consider having the SID parameter field carry TDM cross-connect related parameters to enable SRv6 packets to be mapped to the corresponding TDM channel when the TDM channel device is associated with multiple TDM channels. However, due to format restrictions, the SID parameter field is difficult to standardize. Therefore, other solutions besides extending the SID parameter field are needed to achieve precise matching of SRv6 packets and TDM channels.

[0109] Based on this, in various embodiments of the present application, the TDM channel device receives an SRv6 message containing its own associated SID, where the SID contains relevant information about the TDM cross-function, and uses the SID and specific information characterizing the association between the SID and the TDM channel to determine the TDM channel corresponding to the message, and forwards the message through the determined TDM channel. In this way, SRv6 technology can support TDM channels, that is, it supports directing SRv6 messages to TDM channels for direct message forwarding, realizing the combination of TDM channel transmission mechanism and three-layer routing (i.e. SRv6) technology and precise matching of SRv6 messages and TDM channels; in other words, for the scenario where SPN and computing power network are integrated, SRv6 technology can be used for computing power orchestration, and the corresponding TDM channel can be directly called for message forwarding, thereby leveraging the advantages of SPN's own slice channel and improving the performance of SRv6 paths.

[0110] Specifically, an embodiment of the present application provides a message forwarding method, which is applied to a first device. As shown in FIG1 , the method includes:

[0111] Step 101: Receive a first message, where the first message includes a first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes information related to a TDM cross-connect function;

[0112] Step 102: Determine the TDM channel corresponding to the first message using the first SID and second information, where the second information represents an association between the SID and the TDM channel.

[0113] Step 103: Forward the first message through the TDM channel corresponding to the first message.

[0114] In actual application, the specific type of the first device can be set according to deployment requirements, and this embodiment of the present application does not limit this. Exemplarily, the first device may include a Synchronous Digital Hierarchy (SDH) device, an SPN device, a Metropolitan Transport Network (MTN) device, or an Optical Transport Network (OTN) device. In addition, the first device may also be called a node, a network node, a forwarding node, or a device node, and this embodiment of the present application does not limit the name of the first device, as long as its function is realized.

[0115] In actual application, the first message may include an SRv6 message. The first SID is associated with the first device, which can be understood as the first SID being able to specify or indicate the first device; illustratively, the first SID may include an identifier (such as an ID, etc.) of the first device.

[0116] In actual application, the specific generation method of the first SID can be set according to needs. For example, as shown in Figure 2, the second device can generate the first SID and send the first SID to the TDM channel device (i.e., the first device); wherein, the second device can at least be used for network management and / or control, and the network includes the first device; in addition, the second device can achieve network management and / or control through a management and control system installed in the form of software. Alternatively, as shown in Figure 3, the first device can generate the first SID and report the first SID to the second device.

[0117] In actual application, when the first SID is generated by the second device, the second device needs to send the first SID to the first device before the first device receives the first message.

[0118] Based on this, in one embodiment, before receiving the first message, the method may further include:

[0119] The first SID sent by the second device is received, where the first SID is determined by the second device, and the second device is at least used for network management and / or control.

[0120] In actual application, the second device sends the first SID to the first device, which can also be understood as the second device indicating or notifying the first device of the association relationship (i.e., mapping relationship) between the first SID and the first device. In addition, in actual application, the second device can also be called a node, a control node, a control device, a control node, a controller, etc. The embodiment of this application does not limit the name of the second device, as long as its function is realized.

[0121] In actual application, when the first SID is generated by the first device, the first device needs to report the first SID to the second device before receiving the first message.

[0122] Based on this, in one embodiment, before receiving the first message, the method may further include:

[0123] The first SID is determined and sent to a second device, where the second device is at least used for network management and / or control.

[0124] In actual application, the first device sending the first SID to the second device can also be understood as the first device indicating or notifying the second device of the association relationship (ie, mapping relationship) between the first SID and the first device.

[0125] In actual application, as shown in Table 2, the first SID may specifically include a locator field, a function field, and a parameter field. The locator field may be used to indicate the node (i.e., the first device) in the network that should perform the corresponding function, i.e., the locator field may include the identifier (such as an ID, etc.) of the first device, i.e., the locator field may reflect the association relationship (i.e., a mapping relationship) between the first SID and the first device. The function field may be used to identify or indicate relevant information about the TDM cross-connect function, i.e., the function field may include the first information. The parameter field may include any numerical value. In the case where the first SID is generated by the second device, the parameter field may include any numerical value randomly generated by the second device, or any numerical value assigned to the first device by the second device in a specific manner, or any preset numerical value. In the case where the first SID is generated by the first device, the parameter field may include any numerical value randomly generated by the first device, or any numerical value assigned to itself by the first device in a specific manner, or any preset numerical value.

[0126] Table 2

[0127] In one embodiment, the TDM cross-connect function-related information may include at least one of the following (that is, the first information may include at least one of the following):

[0128] third information, where the third information represents a type of TDM cross-connection;

[0129] Fourth information, the fourth information indicating that an SRH removal operation is performed in the penultimate segment (which can be expressed as Penultimate Segment POP of the SRH, abbreviated as PSP in English);

[0130] Fifth information, the fifth information indicating that an SRH removal operation is performed in the last segment (which can be expressed as Ultimate Segment POP of the SRH, abbreviated as USP in English);

[0131] The sixth information indicates that an IPv6 decapsulation operation is performed in the last segment (which can be expressed as Ultimate Segment Decapsulation, abbreviated as USD in English).

[0132] Among them, in actual application, the third information represents the type of TDM cross-connection, which can be understood as the third information indicating the category of the TDM cross-connection function value. The category of the TDM cross-connection function value can be associated / corresponding to the slice type. The category of the TDM cross-connection function value can be specifically set according to demand, and the embodiment of the present application does not limit this. For example, the category of the TDM cross-connection function value can specifically include forwarding messages according to a specified TDM output interface, and / or inserting an SRH bound to a TDM channel, etc. In addition, the specific expression form of the third information, fourth information, fifth information, and sixth information can also be set according to demand, and the embodiment of the present application does not limit this.

[0133] In actual application, the second information represents the association relationship between the SID and the TDM channel, and can also be understood as indicating the mapping relationship between the SID and the TDM channel. In the second information, the relevant information of the SID and the relevant information of the TDM channel can be directly mapped to each other.

[0134] Based on this, in one embodiment, the second information may include an association relationship (also understood as a mapping relationship) between the seventh information and the eighth information, the seventh information includes SID related information, and the eighth information includes TDM channel related information.

[0135] The SID-related information may include at least one of the following (that is, the seventh information may include at least one of the following):

[0136] SID;

[0137] A first field of the SID, wherein the first field includes information related to a function of the SID;

[0138] The second field of the SID contains a randomly generated value.

[0139] The relevant information of the TDM channel may include at least one of the following (that is, the eighth information may include at least one of the following):

[0140] Type of TDM channel;

[0141] TDM channel identification;

[0142] Name of the TDM channel.

[0143] In actual application, the first field may include the function field, and the second field may include the parameter field. In addition, it can be understood that for the first SID, the first field may include the first information.

[0144] In actual application, in the second information, the SID-related information and the TDM channel-related information can be indirectly mapped to each other through the TDM sub-interface-related information.

[0145] Based on this, in one embodiment, the second information may include an association relationship between the seventh information and the ninth information, and an association relationship between the ninth information and the eighth information, the seventh information contains relevant information about the SID, the eighth information contains relevant information about the TDM channel, and the ninth information contains relevant information about the TDM sub-interface.

[0146] The relevant information of the TDM sub-interface may include at least one of the following (that is, the ninth information may include at least one of the following):

[0147] IP address corresponding to the TDM sub-interface;

[0148] TDM sub-interface identifier;

[0149] Name of a TDM subinterface.

[0150] In actual application, the specific form of the second information can be set as required. For example, when the second information includes the association between the seventh information and the eighth information, the second information can be specifically expressed as Table 3; in this case, the seventh information only includes the SID value, and the eighth information includes the type, number (i.e., identifier), and name of the TDM channel.

[0151] Table 3

[0152] Exemplarily, in the case where the second information includes the association relationship between the seventh information and the ninth information and the association relationship between the ninth information and the eighth information, as shown in Table 4, the association relationship between the seventh information and the ninth information and the association relationship between the ninth information and the eighth information can be represented in the same table; at this time, the seventh information only includes the SID value, the ninth information includes the TDM three-layer virtual sub-interface IP address (that is, the IP address corresponding to the TDM sub-interface) and the number (that is, identifier) ​​of the TDM output interface (that is, the TDM sub-interface), and the eighth information includes the number (that is, identifier) ​​or name of the TDM channel.

[0153] Table 4

[0154] Exemplarily, in the case where the second information includes the association relationship between the seventh information and the ninth information and the association relationship between the ninth information and the eighth information, the association relationship between the seventh information and the ninth information and the association relationship between the ninth information and the eighth information can be respectively expressed in two tables, that is, the association relationship between the seventh information and the ninth information can be expressed as Table 5, and the association relationship between the ninth information and the eighth information can be expressed as Table 6; at this time, the seventh information only includes the SID value, the ninth information includes the number (i.e., identifier) ​​or name of the TDM output interface (i.e., TDM sub-interface), and the eighth information includes the type, number (i.e., identifier) ​​and name of the TDM channel.

[0155] Table 5

[0156] Table 6

[0157] In actual application, before using the first SID and the second information to determine the TDM channel corresponding to the first message, the first device needs to first obtain the second information. The second information can be generated by the second device and sent to the first device.

[0158] Based on this, in one embodiment, before using the first SID and the second information to determine the TDM channel corresponding to the first message, the method may further include:

[0159] The second information sent by the second device is received, where the second information is determined by the second device.

[0160] In actual application, before using the first SID and the second information to determine the TDM channel corresponding to the first message, the second information may also be generated by the first device and reported to the second device.

[0161] Based on this, in one embodiment, before using the first SID and the second information to determine the TDM channel corresponding to the first message, the method may further include:

[0162] Determine the second information, and send the second information to the second device.

[0163] Among them, in actual application, the specific manner in which the second device or the first device generates the second information can be set according to requirements (such as network deployment requirements and / or data transmission requirements, etc.), and the embodiments of the present application do not limit this. In addition, it can be understood that whether the second information is generated by the second device or the first device, the first device and the second device need to store the second information after obtaining the second information; illustratively, the first device and the second device can store the second information in the form of a forwarding table, that is, store the above-mentioned Table 3, or store the above-mentioned Table 4, or store the above-mentioned Table 5 and Table 6.

[0164] In actual application, after obtaining the second information, the first device may use the first SID and the second information to determine the TDM channel corresponding to the first message. For example, the first device may use the first SID, or the function field (i.e., the first field) and parameter field (i.e., the second field) in the first SID, or the parameter field in the first SID to directly search for the TDM channel corresponding to the first message from the second information, or may first search for the TDM sub-interface corresponding to the first message, and then use the found TDM sub-interface to search for the TDM channel corresponding to the first message.

[0165] Accordingly, an embodiment of the present application further provides a message forwarding method, which is applied to a second device. As shown in FIG4 , the method includes:

[0166] Step 401: Determine second information and send the second information to a first device, so that the first device can use the first SID and the second information to determine the TDM channel corresponding to the first message and forward the first message through the TDM channel corresponding to the first message; or receive the second information sent by the first device, where the second information is determined by the first device;

[0167] The second device is at least used for network management and / or control; the second information represents the association between the SID and the TDM channel; the first message includes the first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes relevant information about the TDM cross-connect function.

[0168] In one embodiment, as shown in FIG4 , the method may further include:

[0169] Step 402: Determine the first SID and send the first SID to the first device; or receive the first SID sent by the first device, where the first SID is determined by the first device.

[0170] In a message forwarding method provided in an embodiment of the present application, a first device receives a first message, where the first message includes a first SID, the first SID is associated with the first device, and the first SID includes first information, where the first information includes information related to a TDM cross-connect function; a TDM channel corresponding to the first message is determined using the first SID and the second information, where the second information represents an association between the SID and the TDM channel; and the first message is forwarded through the TDM channel corresponding to the first message. In the solution provided by the embodiment of the present application, a TDM channel device (i.e., the first device) receives an SRv6 message (i.e., the first message) containing its own associated SID (i.e., the first SID), where the SID contains relevant information about the TDM cross-link function, and uses the SID and specific information (i.e., the second information) that characterizes the association between the SID and the TDM channel to determine the TDM channel corresponding to the message, and forwards the message through the determined TDM channel. In this way, SRv6 technology can support TDM channels, that is, support directing SRv6 messages to TDM channels for direct message forwarding, realize the combination of TDM channel transmission mechanism and three-layer routing (i.e., SRv6) technology, and precise matching of SRv6 messages and TDM channels; in other words, for the scenario where SPN and computing power network are integrated, SRv6 technology can be used for computing power orchestration, and the corresponding TDM channel can be directly called for message forwarding, thereby leveraging the advantages of SPN's own slice channel and improving the performance of SRv6 paths.

[0171] In addition, the solution provided in the embodiment of the present application can realize the mapping between TDM cross-channel and SRv6 tunnel by mapping the SID (i.e., the first SID) carrying the TDM cross-function value (i.e., the first information) and the TDM cross-channel on the control (i.e., the second device) and the device (i.e., the first device); or, by mapping the SID carrying the TDM cross-function value and the TDM cross-channel and the TDM sub-interface on the control and device, it can realize the mapping between TDM cross-channel, TDM sub-interface and SRv6 tunnel; in this way, there is no need to additionally extend the format of the SID (such as the parameter field of the SID, etc.) to realize the support of SRv6 technology for TDM channels, or to realize the support of SRv6 technology for TDM channels and TDM sub-interfaces, thereby avoiding the standardization risk problem that may be caused by the extension of the SID format. The solution is easy to implement and has the advantage of being programmable, thereby laying the foundation for further improvement of subsequent SRv6 path performance.

[0172] In order to implement the method on the first device side of the embodiment of the present application, the embodiment of the present application further provides a message forwarding device, which is provided on the first device. As shown in FIG5 , the device includes:

[0173] A receiving unit 501 is configured to receive a first message, where the first message includes a first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes information related to a TDM cross-connect function;

[0174] The processing unit 502 is configured to determine a TDM channel corresponding to the first message by using the first SID and second information, where the second information represents an association between the SID and the TDM channel;

[0175] The forwarding unit 503 is configured to forward the first message through the TDM channel corresponding to the first message.

[0176] In one embodiment, as shown in FIG5 , the apparatus may further include a first mapping unit 504 configured to:

[0177] receiving the second information sent by the second device, where the second information is determined by the second device;

[0178] or,

[0179] Determine the second information and send the second information to the second device; wherein,

[0180] The second device is at least used for network management and / or control.

[0181] In one embodiment, as shown in FIG5 , the apparatus may further include a second mapping unit 505 configured to:

[0182] receiving the first SID sent by the second device, where the first SID is determined by the second device;

[0183] or,

[0184] Determine the first SID and send the first SID to the second device; wherein,

[0185] The second device is at least used for network management and / or control.

[0186] In actual application, the receiving unit 501 can be implemented by the communication interface in the message forwarding device; the processing unit 502 can be implemented by the processor in the message forwarding device; the forwarding unit 503 can be implemented by the processor in the message forwarding device in combination with the communication interface; the first mapping unit 504 and the second mapping unit 505 can be implemented by the communication interface in the message forwarding device, or by the processor in the message forwarding device in combination with the communication interface.

[0187] In order to implement the method on the second device side of the embodiment of the present application, the embodiment of the present application further provides a message forwarding device, which is provided on the second device. As shown in FIG6 , the device includes:

[0188] The third mapping unit 601 is configured to determine second information and send the second information to the first device, so that the first device uses the first SID and the second information to determine the TDM channel corresponding to the first message and forward the first message through the TDM channel corresponding to the first message; or is configured to receive the second information sent by the first device, where the second information is determined by the first device; wherein,

[0189] The second device is at least used for network management and / or control; the second information represents the association between the SID and the TDM channel; the first message includes the first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes relevant information about the TDM cross-connect function.

[0190] In one embodiment, as shown in FIG6 , the apparatus may further include a fourth mapping unit 602 configured to:

[0191] Determine the first SID, and send the first SID to the first device;

[0192] or,

[0193] The first SID sent by the first device is received, where the first SID is determined by the first device.

[0194] In actual application, the third mapping unit 601 and the fourth mapping unit 602 can be implemented by a communication interface in the message forwarding device, or by a processor in the message forwarding device in combination with a communication interface.

[0195] It should be noted that the message forwarding device provided in the above embodiment only uses the division of the above-mentioned program modules as an example to illustrate message forwarding. In actual applications, the above-mentioned processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the above-described processing. In addition, the message forwarding device provided in the above embodiment and the message forwarding method embodiment are based on the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0196] Based on the hardware implementation of the above program modules, and in order to implement the method on the first device side of the embodiment of the present application, the embodiment of the present application further provides a first device, as shown in FIG7 , the first device 700 includes:

[0197] The first communication interface 701 is capable of exchanging information with other devices (such as the second device);

[0198] A first processor 702 is connected to the first communication interface 701 to implement information exchange with other devices, and is configured to execute the methods provided by one or more technical solutions on the first device side when running a computer program;

[0199] A first memory 703 , on which the computer program is stored.

[0200] Specifically, the first processor 702 is configured to:

[0201] receiving a first message through the first communication interface 701, where the first message includes a first SID, the first SID is associated with the first device 700, the first SID includes first information, and the first information includes information related to a TDM cross-connect function;

[0202] Determining a TDM channel corresponding to the first message using the first SID and the second information, wherein the second information represents an association between the SID and the TDM channel;

[0203] The first message is forwarded through the TDM channel corresponding to the first message.

[0204] In one embodiment, the first processor 702 is further configured to:

[0205] receiving, through the first communication interface 701, the second information sent by the second device, where the second information is determined by the second device;

[0206] or,

[0207] Determine the second information, and send the second information to the second device through the first communication interface 701; wherein,

[0208] The second device is at least used for network management and / or control.

[0209] In one embodiment, the first processor 702 is further configured to:

[0210] receiving, through the first communication interface 701, the first SID sent by the second device, where the first SID is determined by the second device;

[0211] or,

[0212] Determine the first SID, and send the first SID to the second device through the first communication interface 701; wherein,

[0213] The second device is at least used for network management and / or control.

[0214] It should be noted that the specific processing process of the first processor 702 can be understood by referring to the above method and will not be repeated here.

[0215] Of course, in actual application, the various components in the first device 700 are coupled together via a bus system 704. It will be appreciated that the bus system 704 is used to implement connections and communications between these components. In addition to a data bus, the bus system 704 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in FIG7 , all of these buses are labeled as the bus system 704.

[0216] The first memory 703 in the embodiment of the present application is used to store various types of data to support the operation of the first device 700. Examples of such data include: any computer program used to operate on the first device 700.

[0217] The methods disclosed in the above embodiments of the present application can be applied to the first processor 702 or implemented by the first processor 702. The first processor 702 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by an integrated logic circuit of the hardware in the first processor 702 or by instructions in the form of software. The first processor 702 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The first processor 702 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium located in the first memory 703. The first processor 702 reads the information in the first memory 703 and completes the steps of the above method in combination with its hardware.

[0218] In an exemplary embodiment, the first device 700 can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0219] Based on the hardware implementation of the above program modules, and in order to implement the method on the second device side of the embodiment of the present application, the embodiment of the present application further provides a second device, as shown in FIG8 , the second device 800 includes:

[0220] The second communication interface 801 is capable of exchanging information with other devices (such as the first device);

[0221] A second processor 802 is connected to the second communication interface 801 to implement information exchange with other devices, and is configured to execute the methods provided by one or more technical solutions on the second device side when running a computer program;

[0222] The second memory 803 , on which the computer program is stored.

[0223] Specifically, the second processor 802 is configured to determine second information; the second communication interface 801 is configured to send the second information to the first device, so that the first device uses the first SID and the second information to determine the TDM channel corresponding to the first message, and forward the first message through the TDM channel corresponding to the first message;

[0224] or,

[0225] The second communication interface 801 is configured to receive second information sent by the first device, where the second information is determined by the first device;

[0226] The second device 800 is at least used for network management and / or control; the second information represents the association between the SID and the TDM channel; the first message includes the first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes relevant information about the TDM cross-connect function.

[0227] In one embodiment, the second processor 802 is further configured to determine the first SID; the second communication interface 801 is further configured to send the first SID to the first device;

[0228] or,

[0229] The second communication interface 801 is further configured to receive the first SID sent by the first device, where the first SID is determined by the first device.

[0230] It should be noted that the specific processing process of the second communication interface 801 and the second processor 802 can be understood by referring to the above method, and will not be repeated here.

[0231] Of course, in actual application, the various components in the second device 800 are coupled together via a bus system 804. It will be appreciated that the bus system 804 is used to implement connections and communications between these components. In addition to a data bus, the bus system 804 also includes a power bus, a control bus, and a status signal bus. However, for clarity, in FIG8 , all of these buses are labeled as the bus system 804.

[0232] The second memory 803 in the embodiment of the present application is used to store various types of data to support the operation of the second device 800. Examples of such data include: any computer program used to operate on the second device 800.

[0233] The methods disclosed in the above embodiments of the present application can be applied to or implemented by the second processor 802. The second processor 802 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits or software instructions in the second processor 802. The second processor 802 can be a general-purpose processor, a DSP, or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, etc. The second processor 802 can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium located in the second memory 803. The second processor 802 reads the information in the second memory 803 and, in conjunction with its hardware, completes the steps of the above method.

[0234] In an exemplary embodiment, the second device 800 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.

[0235] It can be understood that the memory (first memory 703, second memory 803) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a magnetic disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus random access memory (DRRAM).The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memories.

[0236] In order to implement the method provided in the embodiment of the present application, the embodiment of the present application further provides a message forwarding system, as shown in FIG9 , which includes: a first device 901 and a second device 902 .

[0237] Here, it should be noted that the specific processing procedures of the first device 901 and the second device 902 have been described in detail above and will not be repeated here.

[0238] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 703 storing a computer program, the computer program can be executed by the first processor 702 of the first device 700 to complete the steps of any of the methods described above on the first device side. For another example, including a second memory 803 storing a computer program, the computer program can be executed by the second processor 802 of the second device 800 to complete the steps of any of the methods described above on the second device side. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.

[0239] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0240] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0241] The above description is merely a preferred embodiment of the present application and is not intended to limit the scope of protection of the present application.

Claims

1. A message forwarding method, applied to a first device, comprising: Receive a first message, where the first message includes a first segment identifier SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes relevant information of a time division multiplexing TDM cross-connect function; Determine a TDM channel corresponding to the first message by using the first SID and the second information, wherein the second information represents an association relationship between the SID and the TDM channel; The first message is forwarded through the TDM channel corresponding to the first message.

2. The method according to claim 1, wherein: The relevant information of the TDM cross-connect function includes at least one of the following: third information, wherein the third information represents a type of TDM cross-connection; Fourth information, wherein the fourth information indicates that a segment routing header (SRH) removal operation is performed in the penultimate segment; fifth information, wherein the fifth information indicates that an SRH removal operation is performed in the last segment; The sixth information indicates that an outer layer sixth version Internet Protocol IPv6 decapsulation operation is performed in the last segment.

3. The method according to claim 1, wherein: The second information includes one of the following: an association relationship between the seventh information and the eighth information, the seventh information comprising relevant information of the SID, and the eighth information comprising relevant information of the TDM channel; The association relationship between the seventh information and the ninth information, and the association relationship between the ninth information and the eighth information, the seventh information contains relevant information of the SID, the eighth information contains relevant information of the TDM channel, and the ninth information contains relevant information of the TDM sub-interface.

4. The method according to claim 3, wherein: The SID related information includes at least one of the following: SID; A first field of the SID, wherein the first field includes information related to a function of the SID; A second field of the SID, the second field containing a randomly generated value.

5. The method according to claim 3, wherein: The relevant information of the TDM channel includes at least one of the following: Type of TDM channel; Identification of TDM channels; The name of the TDM channel.

6. The method according to claim 3, wherein: The relevant information of the TDM sub-interface includes at least one of the following: The Internet Protocol IP address corresponding to the TDM sub-interface; The identifier of the TDM sub-interface; Name of a TDM subinterface.

7. The method according to any one of claims 1 to 6, wherein: The method further comprises: receiving the second information sent by the second device, where the second information is determined by the second device; or, determining the second information, and sending the second information to the second device; wherein, The second device is at least used for network management and / or control.

8. The method according to any one of claims 1 to 6, wherein: The method further comprises: receiving the first SID sent by the second device, where the first SID is determined by the second device; or, Determine the first SID, and send the first SID to the second device; wherein, The second device is at least used for network management and / or control.

9. A message forwarding method, applied to a second device, comprising: Determine second information, and send the second information to the first device, so that the first device uses the first SID and the second information to determine the TDM channel corresponding to the first message, and forward the first message through the TDM channel corresponding to the first message; or, receiving second information sent by a first device, where the second information is determined by the first device; wherein: The second device is at least used for network management and / or control; the second information represents the association between the SID and the TDM channel; the first message includes the first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes relevant information of the TDM cross-connect function.

10. The method according to claim 9, wherein: The relevant information of the TDM cross-connect function includes at least one of the following: third information, wherein the third information represents a type of TDM cross-connection; Fourth information, wherein the fourth information indicates that the SRH removal operation is performed in the penultimate segment; fifth information, wherein the fifth information indicates that an SRH removal operation is performed in the last segment; The sixth information indicates that an outer IPv6 decapsulation operation is performed in the last segment.

11. The method according to claim 9, wherein: The second information includes one of the following: an association relationship between the seventh information and the eighth information, the seventh information comprising relevant information of the SID, and the eighth information comprising relevant information of the TDM channel; The association relationship between the seventh information and the ninth information, and the association relationship between the ninth information and the eighth information, the seventh information contains relevant information of the SID, the eighth information contains relevant information of the TDM channel, and the ninth information contains relevant information of the TDM sub-interface.

12. The method according to claim 11, wherein: The SID related information includes at least one of the following: SID; A first field of the SID, wherein the first field includes information related to a function of the SID; A second field of the SID, the second field containing a randomly generated value.

13. The method according to claim 11, wherein: The relevant information of the TDM channel includes at least one of the following: Type of TDM channel; Identification of TDM channels; The name of the TDM channel.

14. The method according to claim 11, wherein: The relevant information of the TDM sub-interface includes at least one of the following: IP address corresponding to the TDM sub-interface; The identifier of the TDM sub-interface; Name of a TDM subinterface.

15. The method according to any one of claims 9 to 14, wherein: The method further comprises: Determine the first SID, and send the first SID to the first device; or, The first SID sent by the first device is received, where the first SID is determined by the first device.

16. A message forwarding device, comprising: A receiving unit, configured to receive a first message, wherein the first message includes a first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes information related to a TDM cross-connect function; A processing unit configured to determine a TDM channel corresponding to the first message by using the first SID and the second information, wherein the second information represents an association relationship between the SID and the TDM channel; The forwarding unit is configured to forward the first message through the TDM channel corresponding to the first message.

17. A message forwarding device, comprising: The third mapping unit is configured to determine the second information and send the second information to the first device, so that the first device uses the first SID and the second information to determine the TDM channel corresponding to the first message, and forwards the first message through the TDM channel corresponding to the first message; or configured to receive the second information sent by the first device, the second information is determined by the first device; wherein, The second information represents the association between the SID and the TDM channel; the first message includes the first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes relevant information of the TDM cross-connect function.

18. A first device, comprising: a first communication interface and a first processor; wherein, The first processor is configured as follows: receiving a first message through the first communication interface, where the first message includes a first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes information related to a TDM cross-connect function; Determine a TDM channel corresponding to the first message by using the first SID and the second information, wherein the second information represents an association relationship between the SID and the TDM channel; The first message is forwarded through the TDM channel corresponding to the first message.

19. A second device, comprising: A second communication interface and a second processor; wherein, The second processor is configured to determine second information; the second communication interface is configured to send the second information to the first device, so that the first device determines the TDM channel corresponding to the first message by using the first SID and the second information, and forwards the first message through the TDM channel corresponding to the first message; or, The second communication interface is configured to receive second information sent by the first device, where the second information is determined by the first device; wherein, The second device is at least used for network management and / or control; the second information represents the association between the SID and the TDM channel; the first message includes the first SID, the first SID is associated with the first device, the first SID includes first information, and the first information includes relevant information of the TDM cross-connect function.

20. A first device, comprising: a first processor and a first memory configured to store a computer program executable on the processor, Wherein, the first processor is configured to execute the steps of the method according to any one of claims 1 to 8 when running the computer program.

21. A second device, comprising: a second processor and a second memory configured to store a computer program executable on the processor, Wherein, the second processor is configured to execute the steps of the method according to any one of claims 9 to 15 when running the computer program.

22. A storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the steps of the method according to any one of claims 1 to 8, or implements the steps of the method according to any one of claims 9 to 15.

Citation Information

Patent Citations

  • SRv6 SID publishing method and network equipment

    CN114025025A

  • Message processing method and device, equipment and medium

    CN115022121A

  • Message forwarding method and device, storage medium and electronic device

    CN116938787A

  • Message forwarding method and device, related equipment and storage medium

    CN118827498A

  • Service-based transport classes for mapping services to tunnels

    US20210273827A1