Packet processing method and apparatus, communication device, storage medium and program product

By encapsulating IP small-granularity network slice information in deterministic network boundary devices and transmitting it deterministically, the problem of jitter not being reduced in IP small-granularity networks is solved, and more efficient packet processing performance is achieved.

WO2026103521A1PCT designated stage Publication Date: 2026-05-21ZTE CORP
View PDF 5 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
ZTE CORP
Filing Date
2025-10-30
Publication Date
2026-05-21

AI Technical Summary

Technical Problem

Traditional FlexE technology cannot provide fine-grained slicing capabilities, resulting in poor packet transmission performance and jitter that cannot be reduced in IP fine-grained networks.

Method used

In the boundary devices of the deterministic network, the slice information of the IP small-granularity network is acquired and encapsulated, the basic information of the deterministic network is used for packet processing, and the packet is transmitted through the deterministic network. The boundary devices in the target IP small-granularity network process the packet according to the slice information.

Benefits of technology

It reduces jitter during end-to-end message transmission and improves message processing performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025131113_21052026_PF_FP_ABST
    Figure CN2025131113_21052026_PF_FP_ABST
Patent Text Reader

Abstract

Disclosed in the present application are a packet processing method and apparatus, a communication device, a storage medium and a program product. The method comprises: acquiring a first packet, the first packet comprising first slice information, and the first slice information being slice information in an IP fine-grained network; determining first deterministic network basic information corresponding to the first slice information; encapsulating the first deterministic network basic information into the first packet to obtain an encapsulated second packet; and, by means of the deterministic network, sending the second packet to an edge device in a target IP fine-grained network, the edge device in the target IP fine-grained network being used to determine a target IP fine-grained slice resource on the basis of the first slice information, and process the second packet on the basis of the target IP fine-grained slice resource.
Need to check novelty before this filing date? Find Prior Art

Description

Message processing methods, apparatus, communication equipment, storage media and program products Technical Field

[0001] This application relates to the field of communication technology, such as a message processing method, apparatus, communication equipment, storage medium, and program product. Background Technology

[0002] With the acceleration of digital transformation in society, the demand for leased lines and private networks is experiencing explosive growth, especially among high-value users in finance and industry, who are placing higher demands on granular leased lines. For example, the number of leased lines may reach 10,000, and the granularity of each line may be at the kilobit per second (Kbps) level or higher. Traditional Flexible Ethernet (FlexE) technology lacks granular slicing capabilities, making it difficult to provide tenant-level slicing services to users.

[0003] To address the aforementioned scenarios, the industry has proposed IP small-granularity networks, which employ IP small-granularity soft slicing technology to process corresponding packets based on different slice resources. However, IP small-granularity networks cannot reduce jitter during packet transmission, resulting in poor packet transmission performance. Summary of the Invention

[0004] This application provides a message processing method applied to a boundary device in a deterministic network (DetNet). The method includes:

[0005] Obtain the first message; wherein the first message includes first slice information, and the first slice information is slice information in the IP small-granularity network;

[0006] Determine the first deterministic network basic information corresponding to the first slice information;

[0007] The first deterministic network basic information is encapsulated in the first message to obtain the encapsulated second message;

[0008] The second message is sent to the boundary device in the target IP small-granularity network through the deterministic network; wherein the boundary device in the target IP small-granularity network is used to determine the target IP small-granularity slice resources based on the first slice information, and process the second message based on the target IP small-granularity slice resources.

[0009] This application provides a message processing apparatus, which is disposed in a boundary device of a deterministic network. The apparatus includes:

[0010] The acquisition module is configured to acquire a first message; wherein the first message includes first slice information, which is slice information in an IP small-granularity network;

[0011] The first determining module is configured to determine the first deterministic network basic information corresponding to the first slice information;

[0012] The encapsulation module is configured to encapsulate the first deterministic network basic information in the first message to obtain the encapsulated second message;

[0013] The sending module is configured to send the second message to a boundary device in the target IP small-granularity network through the deterministic network; wherein the boundary device in the target IP small-granularity network is used to determine the target IP small-granularity slice resources based on the first slice information, and process the second message based on the target IP small-granularity slice resources.

[0014] This application also provides a communication device, including a processor, which is used to implement the message processing method of any of the above embodiments when executing a computer program.

[0015] This application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the message processing method of any of the above embodiments.

[0016] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the message processing method of any of the above embodiments.

[0017] The technical solution provided in this application includes: acquiring a first message, wherein the first message includes first slice information, which is slice information in an IP small-granularity network; determining first deterministic network basic information corresponding to the first slice information; encapsulating the first deterministic network basic information in the first message to obtain an encapsulated second message; and sending the second message to a boundary device in a target IP small-granularity network through a deterministic network, wherein the boundary device in the target IP small-granularity network is used to determine target IP small-granularity slice resources based on the first slice information and process the second message based on the target IP small-granularity slice resources. This message processing method is applied to scenarios where IP small-granularity networks and deterministic networks co-network. The message undergoes joint processing by both the deterministic network and the IP small-granularity network, enabling the use of not only IP small-granularity slice resources provided by the IP small-granularity network that are compatible with the slice information in the message, but also the deterministic transmission process in the deterministic network during message processing. This reduces jitter in end-to-end message transmission and improves message processing performance.

[0018] Further details regarding the above embodiments and other aspects of this application, as well as their implementations, are provided in the accompanying drawings, detailed description, and claims. Attached Figure Description

[0019] Figure 1 is a flowchart illustrating a message processing method according to an embodiment;

[0020] Figure 2 is a schematic diagram of a networking method;

[0021] Figure 3 is a schematic diagram of another networking method;

[0022] Figure 4 is a schematic diagram of the mapping relationship between the obtained slice information and the basic information of the deterministic network;

[0023] Figure 5 is a schematic diagram of the packet encapsulation format in a small-granularity IP network;

[0024] Figure 6 is a schematic diagram of the first packaging method;

[0025] Figure 7 is a schematic diagram of the second packaging method;

[0026] Figure 8 is a flowchart illustrating another message processing method provided in one embodiment;

[0027] Figure 9 is a schematic diagram of encapsulating deterministic network path information;

[0028] Figure 10 is a schematic diagram of another networking method;

[0029] Figure 11 is a schematic diagram of another networking method;

[0030] Figure 12 is a schematic diagram of another networking method;

[0031] Figure 13 is a schematic diagram of a message format;

[0032] Figure 14 is a schematic diagram of another message format;

[0033] Figure 15 is a schematic diagram of the structure of a message processing device provided in an embodiment;

[0034] Figure 16 is a schematic diagram of the structure of a communication device provided in one embodiment. Detailed Implementation

[0035] It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application. The embodiments of this application will be described in detail below with reference to the accompanying drawings.

[0036] The IP small-granularity network in related technologies cannot reduce jitter during message transmission, resulting in poor message transmission performance.

[0037] This embodiment provides a message processing method applied to a scenario where IP small-granularity networks and deterministic networks are jointly networked. It enables the use of IP small-granularity slice resources provided by the IP small-granularity network that are adapted to the slice information in the message during message processing, as well as the deterministic transmission process in the deterministic network. This reduces jitter in the end-to-end message transmission process and improves message processing performance.

[0038] The message processing method, apparatus, communication equipment, and their technical effects provided in this embodiment are described below.

[0039] Figure 1 is a schematic flowchart of a message processing method according to an embodiment. This method can be executed by a message processing device, which can be implemented in hardware and / or software and can be configured in a communication device. In this embodiment, the communication device can be a boundary device of a deterministic network. For example, the communication device in this embodiment can be a gateway device, a router, or a switch. As shown in Figure 1, the message processing method provided in this embodiment includes the following steps.

[0040] Step 101: Obtain the first message.

[0041] The first message includes the first slice information, which is the slice information in the IP small-granularity network.

[0042] In this embodiment, the IP small-granularity network refers to a network that encapsulates packets using a specific encapsulation method and is constructed based on Layer 2 or Layer 3 packet technology. The packet encapsulation format of the IP small-granularity network in this embodiment will be described in detail in Figure 5. That is, the IP small-granularity network is a network implemented based on IP packet technology, characterized by carrying a slice identity (Slice ID) in the IP header of the packet. Network devices in the IP small-granularity network use the slice ID to achieve resource reservation and soft isolation based on technologies such as virtual queues.

[0043] Optionally, the first slice information in this embodiment may include at least one of the following: a first slice identifier, a first slice prefix, and a first device identifier. The encapsulation format of the first slice identifier, the first slice prefix, and the first device identifier will be described in detail in Figure 5.

[0044] The message processing method provided in this embodiment can be applied to heterogeneous networking scenarios involving IP small-granularity networks and deterministic networks. In this scenario, the boundary devices in the deterministic network need to identify IP small-granularity services and redirect them to the corresponding deterministic network bearer channels. Based on the device function settings and divisions, there are two typical networking methods and methods for obtaining the first message.

[0045] Figure 2 is a schematic diagram of a networking method. As shown in Figure 2, in this networking method, the devices in the IP small-granularity network do not need to be modified. The boundary device 21 in the deterministic network 24 is responsible for receiving and identifying small-granularity services (the first message in this embodiment is the small-granularity service), and directing it to the deterministic network channel. After fusing and encapsulating the basic information of the deterministic network, the encapsulated message is sent (corresponding to steps 102 to 104 below). In Figure 2, the source IP small-granularity network 22 sends the first message to the destination IP small-granularity network 23 through the deterministic network 24. In the networking method shown in Figure 2, the process of obtaining the first message is: receiving the first message from the source IP small-granularity network. In this networking method, the source IP small-granularity network 22 implements small-granularity bandwidth control and slice information encapsulation.

[0046] Figure 3 is a schematic diagram of another networking method. As shown in Figure 3, in this networking method, the boundary device of the IP small-granularity network and the boundary device of the deterministic network are co-located as a converged boundary device (also known as a co-located gateway). This converged boundary device 31 is responsible for diverting ordinary services to small-granularity services, encapsulating small-granularity services, controlling the bandwidth of small-granularity services, diverting traffic to the deterministic network channel, and sending the encapsulated message after merging and encapsulating the basic information of the deterministic network. In Figure 3, the ordinary network 32 of the non-IP small-granularity network sends the first message to the destination IP small-granularity network 33 through the deterministic network 34. In the networking method shown in Figure 3, the process of obtaining the first message is as follows: receiving the original message from the ordinary network of the non-IP small-granularity network, encapsulating the first slice information in the original message, and obtaining the first message.

[0047] Furthermore, in this implementation, when encapsulating the first slice information in the original message, it can be encapsulated according to the message encapsulation format in IP small-granularity networks. It should be noted that in the networking method described in Figure 3, the fusion boundary device and the boundary device of the deterministic network executing this method refer to the same thing.

[0048] The two implementation methods described above can flexibly acquire the first packet based on different networking methods, making the application scenarios of the packet processing method provided in this embodiment more extensive. In both implementation methods, regardless of whether the boundary device has the ability to encapsulate small-granularity services, the effect of the traffic diversion method is the same. The difference lies in the actual device form and whether it has the corresponding capabilities. The device form of the converged boundary device can directly provide IP small-granularity and deterministic network carrying capabilities, but the device is relatively more complex.

[0049] For example, the deterministic network in this embodiment can be an enhanced deterministic network (EDN).

[0050] Optionally, before step 101, the border device can determine whether the transmission path of the received packet passes through both the IP small-granularity network and the deterministic network. If it is determined that the transmission path of the packet passes through both the IP small-granularity network and the deterministic network, step 101 is executed to avoid unnecessary fusion and encapsulation. Furthermore, the determination of whether the transmission path of the received packet passes through both the IP small-granularity network and the deterministic network can be based on a pre-configured service table. This service table is used to characterize the mapping relationship between each service flow identifier and the transmission path of the service flow.

[0051] Step 102: Determine the first deterministic network basic information corresponding to the first slice information.

[0052] In this embodiment, the deterministic network basic information refers to the relevant information required for packet transmission in a deterministic network. The following describes the content of the deterministic network basic information. Deterministic network technology requires the following deterministic network basic information: Enable flag (Flag, 1 bit): Required field, indicating whether the current packet is a deterministic network packet; Slot ID (Slot ID, typically 3 bits): Required field, identifying the slot number; Sequence number (Seq No): Optional field, required when using deterministic network copy elimination technology; Periodic template (also called slot template) (Template, 2 bits): Optional field, identifying the template type; Copy elimination enable flag (PREF Flag, 1 bit): Optional field, indicating whether copy elimination operation is performed on the packet.

[0053] In one implementation, first deterministic network basic information corresponding to the first slice information is determined based on the first slice information and the mapping relationship between the slice information and the deterministic network basic information. The mapping relationship between the slice information and the deterministic network basic information is pre-configured information or information received from the controller.

[0054] Figure 4 is a schematic diagram illustrating the mapping relationship between slice information and deterministic network fundamental information. As shown in Figure 4, users can configure the mapping relationship between slice information and deterministic network fundamental information to the boundary devices of the deterministic network. Alternatively, controllers in the management plane or control plane can configure the mapping relationship between slice information and deterministic network fundamental information to the boundary devices of the deterministic network.

[0055] Optionally, in this implementation, the first deterministic network basic information is determined based on the first slice information, for example, at least one of the following: the first slice identifier, the first slice prefix and the first device identifier, and the mapping relationship between the slice information and the deterministic network basic information.

[0056] There are various southbound interface protocols between the control plane and border devices. For example, Simple Network Management Protocol (SNMP) and Border Gateway Protocol Community Extensions for Policy (BGPCEP) can both be used to configure mapping relationships. The choice of protocol and specific format depends on the implementation, and this embodiment does not impose any restrictions. For example, in this embodiment, the controller can use the Netconf protocol or a data modeling language (such as YANG) to configure the mapping relationship between slice information and deterministic network infrastructure information for border devices.

[0057] Optionally, the deterministic network basic information in this embodiment includes at least one of the following: deterministic network enable identifier, slot identifier, slot template identifier, copy elimination enable identifier, and sequence number. Table 1 shows the mapping relationship between slice information and deterministic network basic information.

[0058] Table 1. Mapping Table Between Slice Information and Deterministic Network Fundamental Information

[0059] In this implementation, a mapping relationship between slice information and deterministic network basic information can be predefined. Then, based on the first slice information and the mapping relationship, the first deterministic network basic information can be accurately and controllably determined, avoiding packet loss and other transmission failures in the deterministic network after encapsulation of the second message, and further increasing the determinism of the second message transmission in the deterministic network.

[0060] Optionally, the first deterministic network infrastructure information includes: a first enable identifier, a first timeslot ID, a first timeslot template, and a first replication elimination enable identifier. Based on the first slice information and the mapping relationship between the slice information and the deterministic network infrastructure information, the first deterministic network infrastructure information corresponding to the first slice information is determined. In addition, the border device can also assign a first sequence number to the first packet so that the assigned first sequence number is adapted to the current state of the border device.

[0061] Optionally, the mapping relationship between slice information and deterministic network basic information may not include the replication elimination enable flag. Instead, the boundary device determines whether to perform replication elimination operation on the first packet to achieve dynamic adjustment of replication elimination operation.

[0062] In another implementation, the first deterministic network basic information corresponding to the first slice information is determined based on the first slice information and the mapping relationship between the source network of the slice information and the deterministic network basic information. The mapping relationship between the source network of the slice information and the deterministic network basic information is pre-configured information or information received from the controller.

[0063] This implementation is similar to the previous one, except that the specific content of the mapping relationship is different, which will not be elaborated here.

[0064] It should be noted that the service flow identifier in Table 1 is used to characterize the transmission path of a message with that service flow identifier through both IP small-granularity networks and deterministic networks.

[0065] Step 103: Encapsulate the first deterministic network basic information in the first message to obtain the encapsulated second message.

[0066] The following section introduces the packet encapsulation format in IP small-granularity networks. Figure 5 is a schematic diagram of the packet encapsulation format in IP small-granularity networks. As shown in Figure 5, the packet encapsulation format in IP small-granularity networks encapsulates relevant information in the source IPv6 address field (the SIP field in Figure 5), where: the slice prefix field includes 48 bits, used to represent the IPv6 prefix; the device identifier (Node Id) field includes 32 bits, used to identify the device; the padding field includes 16 bits, which is filled with all zeros by default; the slice identifier (Slice ID) field includes 32 bits, consisting of a 1-bit slice mode field, 5-bit reserved bits, 5-bit province identifier, 5-bit local network identifier, and a 16-bit slice number.

[0067] It should be noted that in Figure 5, MAC represents the physical address field of the device, IPv6 Header represents the IPv6 header field, DIP represents the destination IPv6 address field, SID LIST represents the segment identifier list field, SA / DA represents the destination address and source address fields, VLAN represents the virtual LAN field, and Payload represents the payload field.

[0068] Optionally, depending on the first encapsulation method or the second encapsulation method, first deterministic network basic information is encapsulated in the first message to obtain the encapsulated second message.

[0069] The first encapsulation method involves writing first deterministic network basic information into the reserved bits of the slice identifier field in the SIP field of the first packet. The second encapsulation method involves writing the first deterministic network basic information into the padding field of the SIP field of the first packet.

[0070] In one implementation, the deterministic network basic information includes a deterministic network enable identifier and a time slot identifier. The encapsulated second message is obtained by encapsulating the first deterministic network basic information into the first message according to the first encapsulation method, thus obtaining the encapsulated second message.

[0071] Figure 6 is a schematic diagram of the first encapsulation method. As shown in Figure 6, in the packet encapsulation of IP small-granularity networks, the slice identifier field has 5 reserved bits that can be reused to carry the Flag and Slot ID of the deterministic network in the reserved bits of the slice identifier field. Among them, the Flag is 1 bit and the Slot ID is 3 bits. Optionally, the remaining 1 bit in the reserved bits can be filled with 0.

[0072] In another implementation, the deterministic network basic information includes: a deterministic network enable identifier and a time slot identifier. The deterministic network basic information also includes at least one of the following: a time slot template identifier, a replication elimination enable identifier, and a sequence number. The encapsulated second message is obtained using the following implementation: According to the second encapsulation method, the first deterministic network basic information is encapsulated in the first message to obtain the encapsulated second message.

[0073] Figure 7 is a schematic diagram of the second encapsulation method. As shown in Figure 7, in the packet encapsulation of IP small-granularity networks, 16 bits of the padding field can be reused, allowing deterministic network basic information to be carried in the padding field. Among them, Flag is 1 bit, Slot ID is 3 bits, Template is 2 bits, PREF Flag is 1 bit, and Seq No is 9 bits.

[0074] Of the two encapsulation methods described above, the second encapsulation method supports carrying optional fields such as serial numbers. The second encapsulation method can be selected when it is necessary to integrate the replication elimination and multi-template techniques of deterministic networks.

[0075] In the two encapsulation methods described above, the deterministic network basic information and IP small-granularity packets are integrated into a single encapsulation scheme, reusing the idle positions in the first packet, which can reduce bit consumption and thus improve the packet carrying efficiency.

[0076] Optionally, the message processing method provided in this embodiment can also encapsulate deterministic network basic information separately. For example, deterministic network information can be carried in positions such as segment identifiers and IPv6 hop-by-hop extension headers. This approach can be considered when the Seq No. is required to be more than 10 bits.

[0077] Step 104: Send the second message to the boundary device in the target IP small-granularity network through the deterministic network.

[0078] In this context, the boundary device in the target IP small-granularity network is used to determine the target IP small-granularity slice resources based on the first slice information, and to process the second message based on the target IP small-granularity slice resources.

[0079] In the first implementation, step 104 includes sending a second message to another boundary device in the deterministic network via a forwarding node in the deterministic network. Specifically, the other boundary device in the deterministic network sends the second message to a boundary device in the target IP small-granularity network. The boundary device in the target IP small-granularity network determines the target IP small-granularity slice resources based on the first slice information in the second message and processes the second message according to the target IP small-granularity slice resources.

[0080] In the second implementation, step 104 includes sending a second message to another boundary device of the deterministic network through a forwarding node of the deterministic network. The other boundary device of the deterministic network is used to strip the first deterministic network basic information from the second message to obtain a first message, and then sends the first message to a boundary device in the target IP small-granularity network. The boundary device in the target IP small-granularity network is used to determine the target IP small-granularity slice resources based on the first slice information and process the first message according to the target IP small-granularity slice resources.

[0081] In this embodiment, according to the transmission direction of the first message, the boundary device of the deterministic network can be understood as the head node of the deterministic network, and the other boundary device of the deterministic network can be understood as the tail node of the deterministic network.

[0082] The difference between the two implementation methods is that in the second implementation method, another boundary device in the deterministic network can strip the first deterministic network basic information from the second message to obtain the first message, and send the first message to the boundary device in the target IP small-granularity network. This avoids transmitting unnecessary deterministic network basic information in the IP small-granularity network, saving transmission resources. Figure 2 shows the head node and tail node. Figure 3 shows the tail node. Referring to Figures 2 and 3, the tail node can strip the first deterministic network basic information from the second message. In both implementation methods, although the message carries the first slice information during transmission in the deterministic network and the first slice information does not change, the functions based on the first slice information are not effective in the deterministic network.

[0083] In the two implementation methods described above, the forwarding node in a deterministic network refers to any device in the deterministic network other than the boundary device and the other boundary device. In this embodiment, the forwarding node in the deterministic network can implement deterministic forwarding based on the first deterministic network basic information in the second message, including optional functions such as copy elimination, and time-slot-level forwarding based on time-slot IDs. The time-slot-level forwarding technology can guarantee the upper bound of service jitter. During this process, at the management and control plane, technologies such as time-slot orchestration are still needed to avoid convergence conflicts at the time-slot level in the deterministic network, and to correctly configure information such as the time-slot IDs in the time-slot mapping table. Furthermore, the forwarding node in the deterministic network can further guarantee the upper bound of end-to-end jitter using end-side de-jitter techniques. These functions are related technologies and will not be elaborated upon in this embodiment.

[0084] In both implementation methods described above, the target IP granular network refers to a granular network connected to a deterministic network. This target IP granular network may be the destination IP granular network of the first packet, or it may be an IP granular network through which the first packet passes. This embodiment does not limit the specific method. In the networking methods shown in Figures 2 and 3, the target IP granular network and the destination IP granular network refer to the same thing.

[0085] In small-granularity networks, IP small-granularity technology is employed, introducing slice information (e.g., Slice ID) into the data plane. Slice information corresponds to resource attributes on network devices (including border devices and forwarding nodes), such as physical resources like bandwidth and cache. Each network device determines its corresponding IP small-granularity slice resource based on the slice information and performs forwarding and other processing on packets based on this resource. In IP small-granularity network architecture, the header node identifies incoming packets from the service side and encapsulates them carrying slice information such as the Slice ID.

[0086] In this embodiment, the boundary device in the target IP small-granularity network receives a first or second packet sent by the deterministic network, determines the target IP small-granularity slice resource based on the first slice information therein, and processes the packet according to the target IP small-granularity slice resource. The packet processing process may include at least one of the following: rate limiting control, resource reservation and soft isolation based on technologies such as virtual queues, forwarding, and obtaining service information in the packet.

[0087] Furthermore, the message processing method provided in this embodiment also includes the following steps: obtaining a third message, wherein the third message includes second slice information and second deterministic network basic information, the second slice information being slice information in the IP small-granularity network; stripping the second deterministic network basic information from the third message to obtain a fourth message; and sending the fourth message to the IP small-granularity network. In this scenario, a border device receives a third message sent by another border device. This other border device can execute steps 101 to 104, encapsulating the second deterministic network basic information in the fourth message. To save transmission resources, the border device strips the second deterministic network basic information from the third message to obtain the fourth message and sends the fourth message to the IP small-granularity network. Here, the IP small-granularity network refers to the IP small-granularity network connected to the border device, which may or may not be the source IP small-granularity network.

[0088] When there are multiple deterministic networks and / or multiple IP granular networks, IP granular networks and deterministic networks can be layered or interconnected. There are two main networking methods.

[0089] The first networking approach involves IP granular networks over deterministic networks, as shown in Figure 2. That is, deterministic networks are connected in series between IP granular networks. Based on this networking approach, during message transmission, the deterministic network can provide the transmission capacity of the larger network, providing a stable bearer channel for the underlying granular networks and reducing jitter during end-to-end message transmission.

[0090] The second networking approach is deterministic networking over IP small-granular networks, as shown in Figure 10 below. That is, deterministic networks are connected in series with IP small-granular networks. Based on this networking approach, during message transmission, the capabilities of the deterministic network can be utilized to absorb the jitter of the small-granular network, ensuring end-to-end jitter performance.

[0091] The packet processing method provided in this embodiment combines IP small-granularity technology with deterministic networking technology end-to-end, fully leveraging the characteristics of both technologies to support heterogeneous networking of IP small-granularity networks and deterministic networks. Specifically, the IP small-granularity network handles elastic bandwidth slicing and access control capabilities, while the deterministic technology reduces or guarantees jitter. Thus, while processing packets using target IP small-granularity slice resources matching the first slice information, jitter during end-to-end packet transmission is reduced, improving packet processing performance.

[0092] The message processing method provided in this embodiment includes: acquiring a first message, wherein the first message includes first slice information, which is slice information in an IP small-granularity network; determining first deterministic network basic information corresponding to the first slice information; encapsulating the first deterministic network basic information in the first message to obtain an encapsulated second message; and sending the second message to a boundary device in a target IP small-granularity network through a deterministic network, wherein the boundary device in the target IP small-granularity network is used to determine target IP small-granularity slice resources based on the first slice information and process the second message based on the target IP small-granularity slice resources. This message processing method is applied to scenarios where IP small-granularity networks and deterministic networks co-network. The message undergoes joint processing by both the deterministic network and the IP small-granularity network, enabling the use of not only IP small-granularity slice resources provided by the IP small-granularity network that are compatible with the slice information in the message, but also the deterministic transmission process in the deterministic network during message processing. This reduces jitter in end-to-end message transmission and improves message processing performance.

[0093] Figure 8 is a flowchart illustrating another message processing method provided in one embodiment. This embodiment, based on the embodiment shown in Figure 1, provides a detailed description of other steps included in the message processing method. As shown in Figure 8, the message processing method provided in this embodiment includes the following steps.

[0094] Step 801: Obtain the first message.

[0095] The first message includes the first slice information, which is the slice information in the IP small-granularity network.

[0096] Step 802: Determine the first deterministic network basic information corresponding to the first slice information.

[0097] The implementation process and technical principles of steps 801 and 101, and steps 802 and 102 are similar, and will not be repeated here.

[0098] Step 803: Determine the first deterministic network path information for the first message.

[0099] The first deterministic network path information includes at least one of the following: a first deterministic network segment identifier and a first Virtual Private Network (VPN) segment identifier.

[0100] In this embodiment, when using a Segment Routing Header (SRH) for encapsulation, deterministic network path information also needs to be encapsulated when routing the first service to the deterministic network explicit bearer channel. In one implementation, the deterministic network path information includes the deterministic network SID. In another implementation, when the deterministic network channel is provided as a VPN service, the deterministic network path information also includes the VPN SID.

[0101] Optionally, the first deterministic network path information of the first packet can be determined based on the mapping relationship between slice information and deterministic network path information, as well as the first slice information. Table 2 shows the mapping relationship between slice information and deterministic network path information. Optionally, Table 2 and Table 1 in the above embodiments can also be set as a single table.

[0102] Table 2 Mapping Table between Slice Information and Deterministic Network Path Information

[0103] Step 804: Encapsulate the first deterministic network basic information and the first deterministic network path information in the first message to obtain the encapsulated second message.

[0104] Optionally, according to the first encapsulation method or the second encapsulation method, first deterministic network basic information is encapsulated in the first message, and first deterministic network path information is written into the segment identifier list field of the segment routing header of the first message to obtain the encapsulated second message. The implementation process of the first encapsulation method and the second encapsulation method is similar to that of the above embodiments, and will not be repeated here.

[0105] Furthermore, when the networking method shown in Figure 3 is adopted, the implementation process of step 804 includes the following steps: encapsulating the first deterministic network basic information, the first deterministic network path information, and the IP small-granularity network path information in the first message to obtain the encapsulated second message.

[0106] Figure 9 is a schematic diagram of encapsulating deterministic network path information. As shown in Figure 9, depending on the first or second encapsulation method, the first deterministic network basic information is encapsulated in the SIP field. Assuming that packet encapsulation in a small-granular IP network is also based on an explicit path, the SRH SID LIST field in the packet encapsulation carries the SRH header and the SID List of the peer's small-granular IP network (represented as a small-granular SID List in Figure 9). When using the networking method shown in Figure 2, the VPN SID and the deterministic network SID (represented as a deterministic network SID LIST in Figure 9) are encapsulated after the small-granular SID List field in Figure 9 to achieve the encapsulation of the first deterministic network path information in the first packet. The VPN SID is optional.

[0107] When using the networking method shown in Figure 3, the border device needs to encapsulate both the IP small-granularity network's SID list and the deterministic network path information in the SRH SID LIST field. The encapsulation order is as follows: first encapsulate the IP small-granularity network's SID list (represented as a small-granularity SID List in Figure 9), then redirect traffic to the deterministic network and encapsulate the VPN SID and the deterministic network's SID list, and finally encapsulate the peer's IP small-granularity network's SID list.

[0108] It should be noted that in some scenarios, encapsulating the SRH header is not a necessary option. For example, in simple linear networks, the stability of the path can be guaranteed during IP routing and forwarding, which can also provide deterministic network path guarantees and thus ensure jitter performance.

[0109] Step 805: Send the second message to the boundary device in the target IP small-granularity network through the deterministic network.

[0110] In this context, the boundary device in the target IP small-granularity network is used to determine the target IP small-granularity slice resources based on the first slice information, and to process the second message based on the target IP small-granularity slice resources.

[0111] Step 805 is similar to step 104. The difference is that, corresponding to the second implementation in step 104, the other boundary device of the deterministic network, in addition to stripping the first deterministic network basic information from the second message, also needs to strip the first deterministic network path information.

[0112] In this embodiment, when transmitting the second message in a deterministic network, deterministic transmission can be achieved by utilizing the first deterministic network basic information and the first deterministic network path information.

[0113] The message processing method provided in this embodiment determines the first deterministic network path information of the first message, encapsulates the first deterministic network basic information and the first deterministic network path information in the first message, and obtains the encapsulated second message. This method can encapsulate the first deterministic network path information in the first message, realize transmission based on the first deterministic network path information in the deterministic network, further increase the determinism of the deterministic network transmission process, and thus further reduce jitter in the end-to-end message transmission process.

[0114] The implementation process of the above embodiments is illustrated below through several specific examples.

[0115] In multi-domain networking, there may be multiple IP granular networks connected through a deterministic network, or multiple deterministic networks connected through IP granular networks. The following example illustrates two approaches: modifying the head node of the deterministic network (corresponding to the border device in Figure 2) and co-locating the gateway (corresponding to the converged border device in Figure 3).

[0116] Example 1

[0117] Figure 10 is a schematic diagram of another networking method. This networking method is similar to Figure 2, employing a head node modification approach for deterministic networks. As shown in Figure 10, frequency synchronization may or may not exist between multiple deterministic networks, but overall, it can reduce end-to-end packet transmission jitter. IP small-granularity network 1, deterministic network 1, IP small-granularity network 2, deterministic network 2, and IP small-granularity network 3 are connected sequentially. IP small-granularity network 1 sends the first packet to IP small-granularity network 3. The head nodes of deterministic network 1 and deterministic network 2 execute steps 101 to 104 above, or steps 801 to 805 above. Within the deterministic network, the original deterministic forwarding is performed, and slice information is not perceived.

[0118] In the upper part of Figure 10, the tail nodes of deterministic network 1 and deterministic network 2 need to undergo a process of separating deterministic network information (including basic deterministic network information and deterministic network path information).

[0119] In the lower part of Figure 10, the IP small-granular network 2 acts as a transparent bearer channel. Therefore, the tail node of the deterministic network 1 does not perform the deterministic network information stripping operation. In the middle IP small-granular network 2, only the slice information carried is perceived. The deterministic network information is retained and continues to guide deterministic forwarding in the deterministic network 2. The tail node of the deterministic network 2 performs the deterministic network information stripping operation.

[0120] Example 2

[0121] Figure 11 is a schematic diagram of another networking method. This networking method is similar to Figure 3, using a shared gateway. As shown in Figure 11, ordinary network 1, deterministic network 1, IP small-granularity network 1, deterministic network 2, and IP small-granularity network 2 are connected sequentially. Ordinary network 1 sends a first message to IP small-granularity network 2. The shared gateway in deterministic network 1 and the head node of deterministic network 2 perform steps 101 to 104 above, or steps 801 to 805 above.

[0122] In the upper part of Figure 11, the tail nodes of deterministic network 1 and deterministic network 2 need to undergo a deterministic network information stripping operation.

[0123] In the lower part of Figure 11, IP small-granular network 1 acts as a transparent bearer channel. Therefore, the tail node of deterministic network 1 does not perform deterministic network information stripping operation. In the middle IP small-granular network 1, only the slice information carried is perceived. The deterministic network information is retained and continues to guide deterministic forwarding in deterministic network 2. The tail node of deterministic network 2 performs the deterministic network information stripping operation.

[0124] Example 3

[0125] Figure 12 is a schematic diagram of another networking method. This networking method is similar to Figure 3, using a co-located gateway. As shown in Figure 12, ordinary network 1, deterministic network 1, and IP small-granularity network 1 are connected sequentially. This embodiment uses the co-located gateway method as an example to illustrate the service flow diversion and encapsulation method. First, the co-located gateway needs to identify which services are forwarded through the IP small-granularity network and the deterministic network. Assume that the co-located gateway has a pre-configured mapping table of slice information and deterministic network information. Table 3 shows the mapping relationship between slice information and deterministic network information.

[0126] Table 3. Mapping table of slice information and deterministic network information

[0127] All path SIDs are of end type. SIDs 11::11 and 22::22 are the SIDs of the co-located gateway. The co-located gateway first performs small-granularity service access based on 11::11, and then performs deterministic network path forwarding based on 22::22. After encapsulation, the initial remaining segment left is equal to 4.

[0128] Suppose there are three service flows. Service flow 1 carries a packet with VLAN ID=1 and enters from port=1. Service flow 2 encapsulates an IP 5-tuple {srcIP=192.168.1.1,destIP=192.168.2.1,srcPort=111,destPort=222,protocol=23}. Service flow 3 cannot match table 3.

[0129] The processing of Service Flow 1 messages at the co-located gateway is as shown in steps 121a to 124a.

[0130] Step 121a: Match Table 3 based on the access port and VLAN ID information of Service Flow 1 packet.

[0131] Step 122a: Service flow 1 packets are diverted to IP small-granularity slices, with a slice rate limit of 100Kbps and a Slice ID of 1. Service flow 1 is encapsulated using IP small-granularity slices.

[0132] Step 123a: Based on the entry content Flag=1, the message undergoes deterministic network information fusion encapsulation. Assuming no duplication elimination is needed and the first encapsulation method is used to carry the basic deterministic network information, the co-located gateway simultaneously encapsulates the small-granularity SID List and the deterministic network SID List. Figure 13 is a schematic diagram of a message format. The encapsulated message format is shown in Figure 13. In Figure 13, the SRH SID LIST fields from right to left are: 11:11 represents the IP small-granularity SID List, 22:22 represents the SID List of the co-located gateway, 33:33 represents the SID LIST of the tail node in deterministic network 1 in Figure 12, 33:32 represents the VPN SID of the tail node, and 44:44 represents the SID List of IP small-granularity network 1 in Figure 12.

[0133] Step 124a: The co-located gateway performs deterministic forwarding based on deterministic network information.

[0134] The processing flow of Service Flow 2 messages at the gateway is shown in steps 121b to 124b.

[0135] Step 121b: The IP 5-tuple {srcIP=192.168.1.1,destIP=192.168.2.1,srcPort=111,destPort=222,protocol=23} of the service flow 2 packet hits Table 3.

[0136] Step 122b: Service flow 2 packets are diverted to IP small-granularity slices, with a slice rate limit of 1Mbps and a slice ID of 2. Service flow 2 is encapsulated using IP small-granularity slices.

[0137] Step 123b: Based on the entry content Flag=1, the message undergoes deterministic network information fusion encapsulation. Assuming replication elimination is required and a second encapsulation method is used to carry deterministic network basic information, the co-located gateway simultaneously encapsulates both the small-granularity SID List and the deterministic network SID List. Figure 14 is a schematic diagram of another message format. The encapsulated message format is shown in Figure 14.

[0138] Step 124b: The co-located gateway performs deterministic forwarding based on deterministic network information.

[0139] The business flow 3 packet did not match the mapping table entry in the gateway, so it followed the original forwarding process.

[0140] Traditional FlexE technology still lacks flexibility in slicing granularity. While IP small-granularity soft slicing technology offers flexible slicing granularity, it cannot guarantee jitter performance. This application combines IP small-granularity with deterministic networking technology, leveraging the advantages of both: IP small-granularity provides bandwidth slicing and rate limiting, while deterministic networking provides end-to-end bounded jitter. This addresses the industry's current urgent need for small-granularity bounded jitter leased lines, providing incremental value over IP bearer networks.

[0141] Figure 15 is a schematic diagram of a message processing device according to an embodiment. The message processing device provided in this embodiment is installed in the boundary device of a deterministic network. As shown in Figure 15, the message processing device provided in this embodiment includes the following modules: an acquisition module 151, a first determination module 152, an encapsulation module 153, and a sending module 154.

[0142] Module 151 is configured to acquire the first message.

[0143] The first message includes first slice information, which is slice information in an IP small-granularity network.

[0144] The first determining module 152 is configured to determine the first deterministic network basic information corresponding to the first slice information.

[0145] The encapsulation module 153 is configured to encapsulate the first deterministic network basic information in the first message to obtain the encapsulated second message.

[0146] The sending module 154 is configured to send the second message to a boundary device in the target IP small-granularity network through the deterministic network.

[0147] The boundary device in the target IP small-granularity network is used to determine the target IP small-granularity slice resources based on the first slice information, and to process the second packet based on the target IP small-granularity slice resources.

[0148] In one embodiment, the acquisition module 151 is configured to: receive the first packet from the source IP small-granularity network; or, receive the original packet from a non-IP small-granularity network in a normal network, encapsulate the first slice information in the original packet, and obtain the first packet.

[0149] In one embodiment, the first determining module 152 is configured to: determine the first deterministic network basic information corresponding to the first slice information based on the first slice information and the mapping relationship between the slice information and the deterministic network basic information. The mapping relationship between the slice information and the deterministic network basic information is pre-configured information or information received from the controller.

[0150] In one embodiment, the encapsulation module 153 is configured to: encapsulate the first deterministic network basic information in the first packet according to a first encapsulation method or a second encapsulation method, to obtain an encapsulated second packet. The first encapsulation method involves writing the first deterministic network basic information into the reserved bit of the slice identifier field of the SIP field of the first packet. The second encapsulation method involves writing the first deterministic network basic information into the padding field of the SIP field of the first packet.

[0151] In one embodiment, the deterministic network basic information includes: a deterministic network enable identifier and a time slot identifier. The encapsulation module 153 is configured to: encapsulate the first deterministic network basic information in the first message according to the first encapsulation method, to obtain the encapsulated second message.

[0152] In one embodiment, the deterministic network basic information includes: a deterministic network enable identifier and a time slot identifier. The deterministic network basic information further includes at least one of the following: a time slot template identifier, a replication elimination enable identifier, and a sequence number. The encapsulation module 153 is configured to: encapsulate the first deterministic network basic information in the first message according to the second encapsulation method to obtain the encapsulated second message.

[0153] In one embodiment, the acquisition module is further configured to acquire a third message; wherein the third message includes second slice information and second deterministic network basic information, the second slice information being slice information in an IP small-granularity network. The device also includes a stripping module configured to strip the second deterministic network basic information from the third message to obtain a fourth message. The sending module 154 is further configured to send the fourth message to the IP small-granularity network.

[0154] In one embodiment, the sending module 154 is configured to send the second packet to another boundary device of the deterministic network via a forwarding node of the deterministic network. The other boundary device of the deterministic network is configured to strip the first deterministic network basic information from the second packet to obtain the first packet, and then send the first packet to a boundary device in the target IP small-granularity network. The boundary device in the target IP small-granularity network is configured to determine target IP small-granularity slice resources based on the first slice information, and process the first packet according to the target IP small-granularity slice resources.

[0155] In one embodiment, the device further includes a second determining module, configured to determine first deterministic network path information of the first packet. An encapsulation module 153 is configured to encapsulate the first deterministic network basic information and the first deterministic network path information in the first packet to obtain an encapsulated second packet. The first deterministic network path information includes at least one of the following: a first deterministic network segment identifier and a first VPN segment identifier.

[0156] In one embodiment, the encapsulation module 153 is configured to encapsulate the first deterministic network basic information, the first deterministic network path information, and the slice network path information in the first message to obtain the encapsulated second message.

[0157] In one embodiment, the encapsulation module 153 is configured to encapsulate the first deterministic network basic information in the first message according to a first encapsulation method or a second encapsulation method, and write the first deterministic network path information into the segment identifier list field of the segment routing header of the first message to obtain the encapsulated second message.

[0158] The message processing apparatus provided in this application embodiment can be used to execute the message processing method of the above embodiment. Its implementation principle and technical effect are similar, and will not be described again here.

[0159] Figure 16 is a schematic diagram of a communication device according to an embodiment. The communication device includes a processor, which implements the message processing method provided in any embodiment of this application when executing a computer program. As shown in Figure 16, the communication device includes a processor 60, a memory 61, and a communication interface 62. The number of processors 60 in the communication device can be one or more; Figure 16 shows one processor 60 as an example. The processor 60, memory 61, and communication interface 62 in the communication device can be connected via a bus or other means; Figure 16 shows a connection via a bus as an example. A bus represents one or more of several bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of the various bus structures.

[0160] The memory 61, as a computer-readable storage medium, can be configured to store software programs, computer-executable programs, and modules, such as the program instructions / modules corresponding to the methods in the embodiments of this application. The processor 60 executes at least one functional application and data processing of the communication device by running the software programs, instructions, and modules stored in the memory 61, that is, it implements the above-described message processing method.

[0161] Memory 61 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on terminal usage. Furthermore, memory 61 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some instances, memory 61 may include memory remotely located relative to processor 60, which can be connected to communication devices via a network. Examples of such networks include, but are not limited to, the Internet, intranets, networks, mobile communication networks, and combinations thereof.

[0162] Communication interface 62 can be configured to receive and send messages.

[0163] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the message processing method provided in any embodiment of this application.

[0164] The computer storage medium in this application embodiment can be any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. For example, a computer-readable storage medium can be, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. Computer-readable storage media include (a non-exhaustive list): electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this application, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0165] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, the data signals carrying computer-readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device.

[0166] Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wire, optical fiber, radio frequency (RF), or any suitable combination thereof.

[0167] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the message processing method provided in any embodiment of this application.

[0168] In the implementation of the computer program product, computer program code for performing the operations of this application can be written in one or more programming languages ​​or a combination thereof. Programming languages ​​include object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer through any type of network—including a Local Area Network (LAN) or a Wide Area Network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0169] Generally, the various embodiments of this application can be implemented in hardware or dedicated circuitry, software, logic, or any combination thereof. For example, some aspects can be implemented in hardware, while others can be implemented in firmware or software that can be executed by a controller, microprocessor, or other computing device, although this application is not limited thereto.

[0170] Embodiments of this application can be implemented by executing computer program instructions through the data processor of a mobile device, for example, in a processor entity, or through hardware, or through a combination of software and hardware. The computer program instructions can be assembly instructions, Instruction Set Architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages.

[0171] Any block diagram of logical flow in the accompanying drawings of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored in memory. The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, read-only memory (ROM), random access memory (RAM), optical storage devices and systems (Digital Versatile Disc (DVD) or CD), etc. Computer-readable media may include non-transitory storage media. The data processor may be of any type suitable to the local technical environment, such as, but not limited to, general-purpose computers, special-purpose computers, microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), and processors based on multi-core processor architectures.

Claims

1. A message processing method, applied in a boundary device of a deterministic network, the method comprising: Obtain a first message; wherein the first message includes first slice information, and the first slice information is slice information in Internet Protocol (IP) small-granularity network; Determine the first deterministic network basic information corresponding to the first slice information; The first deterministic network basic information is encapsulated in the first message to obtain the encapsulated second message; The second message is sent to the edge device in the target IP small-granularity network through the deterministic network; wherein the edge device in the target IP small-granularity network is configured to determine the target IP small-granularity slice resources based on the first slice information, and process the second message based on the target IP small-granularity slice resources.

2. The method of claim 1, wherein, The acquisition of the first message includes: Receive the first message from the source IP small-granular network; or, The first packet is obtained by receiving a raw message from a regular network that is not an IP small-granular network, and encapsulating the first slice information in the raw message.

3. The method of claim 1, wherein, The determination of the first deterministic network basic information corresponding to the first slice information includes: Based on the first slice information and the mapping relationship between the slice information and the deterministic network basic information, the first deterministic network basic information corresponding to the first slice information is determined; wherein, the mapping relationship between the slice information and the deterministic network basic information is pre-configured information or information received from the controller.

4. The method of claim 1, wherein, The step of encapsulating the first deterministic network infrastructure information in the first message to obtain the encapsulated second message includes: According to the first encapsulation method or the second encapsulation method, the first deterministic network basic information is encapsulated in the first message to obtain the encapsulated second message; The first encapsulation method involves writing the first deterministic network basic information into the reserved bit of the slice identifier field of the source Internet Protocol (SIP) field of the first message. The second encapsulation method involves writing the first deterministic network basic information into the fill field of the SIP field of the first message.

5. The method of claim 4, wherein, The basic information for deterministic networks includes: deterministic network enable flags and time slot flags; The step of encapsulating the first deterministic network infrastructure information in the first message according to the first encapsulation method or the second encapsulation method to obtain the encapsulated second message includes: According to the first encapsulation method, the first deterministic network basic information is encapsulated in the first message to obtain the encapsulated second message.

6. The method of claim 4, wherein, The basic information of the deterministic network includes: a deterministic network enable identifier and a slot identifier. The basic information of the deterministic network also includes at least one of the following: a slot template identifier, a replication elimination enable identifier, and a sequence number. The step of encapsulating the first deterministic network infrastructure information in the first message according to the first encapsulation method or the second encapsulation method to obtain the encapsulated second message includes: According to the second encapsulation method, the first deterministic network basic information is encapsulated in the first message to obtain the encapsulated second message.

7. The method according to any one of claims 1 to 6, further comprising: Obtain a third message; wherein the third message includes second slice information and second deterministic network basic information, the second slice information being slice information in an IP small-granularity network; The second deterministic network information is stripped from the third message to obtain the fourth message; Send the fourth message to the IP small-granularity network.

8. The method according to any one of claims 1 to 6, wherein, Sending the second message to the boundary device in the target IP small-granularity network through the deterministic network includes: The second message is sent from a forwarding node of the deterministic network to another boundary device of the deterministic network; wherein the other boundary device of the deterministic network is configured to strip the first deterministic network basic information from the second message to obtain the first message, and send the first message to a boundary device in the target IP small-granularity network, wherein the boundary device in the target IP small-granularity network is configured to determine the target IP small-granularity slice resources according to the first slice information, and process the first message according to the target IP small-granularity slice resources.

9. A message processing apparatus, the apparatus being disposed in a boundary device of a deterministic network, the apparatus comprising: The acquisition module is configured to acquire a first message; wherein the first message includes first slice information, and the first slice information is slice information in the Internet Protocol small-granularity network; The first determining module is configured to determine the first deterministic network basic information corresponding to the first slice information; The encapsulation module is configured to encapsulate the first deterministic network basic information in the first message to obtain the encapsulated second message; The sending module is configured to send the second message to a border device in the target IP small-granularity network through the deterministic network; wherein the border device in the target IP small-granularity network is configured to determine the target IP small-granularity slice resources based on the first slice information, and process the second message based on the target IP small-granularity slice resources.

10. A communication device comprising: processor; The processor is configured to implement the message processing method as described in any one of claims 1 to 8 when executing a computer program.

11. A computer-readable storage medium storing a computer program that, when executed by a processor, implements the message processing method as described in any one of claims 1 to 8.

12. A computer program product comprising a computer program that, when executed by a processor, implements the message processing method as described in any one of claims 1 to 8.