Time slot resource reservation method, communication device, and storage medium

By receiving probe messages and determining the slot mapping relationship in a mixed slot length network, the problem of slot resource reservation under different node slot lengths is solved, delay and jitter guarantees for deterministic services are achieved, and improved Network determinism.

WO2024217043A1PCT designated stage expired Publication Date: 2024-10-24ZTE CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/141641
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-18
Filing Date
2023-12-25
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

The existing technology makes it difficult to effectively reserve time slot resources in mixed time slot length networks. Especially when different nodes use different time slot lengths, the mapping relationship between outbound time slots and transmitting time slots cannot be accurately determined, which affects Deterministic service delay and jitter guarantee.

Method used

By receiving detection messages sent by the second node for M consecutive detection time slots, the mapping relationship between the target outgoing time slot and the target sending time slot is determined, and based on this relationship, the outgoing time slot of the first node is reserved for the second node. slots to achieve effective reservation and scheduling of time slot resources.

Benefits of technology

In mixed time slot length networks, accurate mapping between outgoing time slots and in-transmission time slots is ensured, meeting the delay and jitter requirements of deterministic services and improving network certainty and reliability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023141641_24102024_PF_FP_ABST
    Figure CN2023141641_24102024_PF_FP_ABST
Patent Text Reader

Abstract

Provided are a time slot resource reservation method, a communication device, and a storage medium. The method comprises: receiving detection packets sent by a second node in M consecutive detection time slots so as to obtain detection results of the M detection time slots, wherein the detection results of the detection time slots are used for indicating sending time slots of a first node mapped by the detection packets sent in the detection time slots, and M is a positive integer; on the basis of the detection results of the M detection time slots, determining a target mapping relationship between a target outbound time slot of the second node and a target sending time slot of the first node; and on the basis of the target mapping relationship, reserving an outbound time slot of the first node for a target packet sent by the second node.
Need to check novelty before this filing date? Find Prior Art

Description

Time slot resource reservation method, communication device and storage medium

[0001] This disclosure claims priority to Chinese patent application No. 202310457534.6, filed on April 18, 2023, the entire contents of which are incorporated herein by reference. Technical Field

[0002] The present disclosure relates to the field of communication technology, and in particular to a time slot resource reservation method, a communication device, and a storage medium. Background Art

[0003] To meet the underlying network requirements of latency-sensitive remote control services such as telemedicine, remote driving, and networked manufacturing in the Industrial Internet era, the industry is researching how to enhance IP / MPLS networks to provide deterministic forwarding capabilities. The IETF has released standard RFC8655, which describes the architecture of deterministic networks and defines Quality of Service (QoS) objectives for deterministic forwarding: minimum and maximum source-to-destination latency, bounded latency jitter, permissible packet loss rate, and an upper bound on out-of-order packet delivery. Within this network architecture, slotted (or periodic) scheduling can be employed to meet diverse service requirements.

[0004] Summary of the Invention

[0005] In a first aspect, an embodiment of the present disclosure provides a time slot resource reservation method, which is applied to a first node. The time slot resource reservation method includes:

[0006] By receiving the detection message sent by the second node in M ​​consecutive detection time slots, the detection results of the M detection time slots are obtained; the detection result of each detection time slot is used to indicate the sending time slot of the first node mapped by the detection message sent in the detection time slot, where M is a positive integer;

[0007] Determine, based on the detection results of the M detection time slots, a target mapping relationship between a target outgoing time slot of the second node and a target transmitting time slot of the first node;

[0008] Based on the target mapping relationship, an outgoing time slot of the first node is reserved for the target message sent by the second node.

[0009] In a second aspect, an embodiment of the present disclosure provides another time slot resource reservation method, which is applied to a second node. The time slot resource reservation method includes:

[0010] Determine the number M of detection time slots used to send detection messages, where M is a positive integer;

[0011] Probe messages are sent to the first node in M ​​consecutive probe time slots, so that the first node determines the target mapping relationship between the target outgoing time slot of the second node and the target sending time slot of the first node based on the detection results of the M probe time slots; the probe message corresponding to each probe time slot is used to determine the sending time slot of the first node corresponding to the probe time slot, and the target mapping relationship is used to instruct the first node to reserve the outgoing time slot of the first node for the target message sent by the second node.

[0012] In a third aspect, an embodiment of the present disclosure provides a time slot resource reservation device, applied to a first node. The time slot resource reservation device includes:

[0013] a receiving module, configured to obtain detection results of the M detection time slots by receiving detection messages sent by the second node in M ​​consecutive detection time slots; the detection result of each detection time slot is used to indicate the sending time slot of the first node mapped to the detection message sent in the detection time slot, where M is a positive integer;

[0014] a processing module, configured to determine a target mapping relationship between a target outgoing time slot of the second node and a target transmitting time slot of the first node based on detection results of the M detection time slots;

[0015] The processing module is further configured to reserve an outgoing time slot of the first node for a target message sent by the second node based on the target mapping relationship.

[0016] In a fourth aspect, an embodiment of the present disclosure provides another time slot resource reservation device, which is applied to a second node. The time slot resource reservation device includes:

[0017] A processing module, configured to determine the number M of detection time slots for sending detection messages, where M is a positive integer;

[0018] A sending module is used to send detection messages to the first node in M ​​consecutive detection time slots, so that the first node determines the target mapping relationship between the target outgoing time slot of the second node and the target sending time slot of the first node based on the detection results of the M detection time slots; the detection message corresponding to each detection time slot is used to determine the sending time slot of the first node corresponding to the detection time slot, and the target mapping relationship is used to instruct the first node to reserve the outgoing time slot of the first node for the target message sent by the second node.

[0019] In a fifth aspect, embodiments of the present disclosure provide a communication device. The communication device includes: a processor and a memory; the memory stores instructions executable by the processor; and the processor is configured to execute the instructions so that the communication device implements the time slot resource reservation method provided in the first or second aspect above.

[0020] In a sixth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed on a computer, the computer executes the time slot resource reservation method provided in the first or second aspect above.

[0021] In a seventh aspect, an embodiment of the present disclosure provides a computer program product comprising computer instructions. When the computer instructions are executed on a computer, the computer executes the time slot resource reservation method provided in the first or second aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to provide a further understanding of the technical solution of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the technical solution of the present disclosure and do not constitute a limitation to the technical solution of the present disclosure.

[0023] FIG1 is a schematic diagram of an application scenario according to some embodiments.

[0024] FIG2 is a schematic flow chart of a method for reserving time slot resources according to some embodiments.

[0025] FIG3 is a schematic diagram of a time slot mapping relationship according to some embodiments.

[0026] FIG4 is a schematic diagram of another time slot mapping relationship according to some embodiments.

[0027] FIG5 is a schematic diagram of another time slot mapping relationship according to some embodiments.

[0028] FIG6 is a schematic diagram of another time slot mapping relationship according to some embodiments.

[0029] FIG7 is a schematic flow chart of another method for reserving time slot resources according to some embodiments.

[0030] FIG8 is a schematic flow chart of yet another method for reserving time slot resources according to some embodiments.

[0031] FIG9 is a schematic diagram of a time slot resource reservation device according to some embodiments.

[0032] FIG10 is a schematic diagram of another apparatus for reserving time slot resources according to some embodiments.

[0033] FIG11 is a schematic structural diagram of a time slot resource reservation device according to some embodiments. DETAILED DESCRIPTION

[0034] To enable those skilled in the art to better understand the technical solutions of the embodiments of the present disclosure, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by those of ordinary skill in the art without making any creative efforts shall fall within the scope of protection of the present disclosure.

[0035] In the description of the present disclosure, unless otherwise specified, " / " means "or", for example, A / B can mean A or B. "And / or" in this article is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can mean: only A, only B, and A and B. In addition, "at least one" means one or more, and "a plurality" means two or more. Expressions such as "first" and "second" do not limit the quantity and execution order, and expressions such as "first" and "second" do not necessarily limit them to be different.

[0036] It should be noted that, in this disclosure, expressions such as "exemplarily" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described in this disclosure as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of expressions such as "exemplarily" or "for example" is intended to present the relevant concepts in a detailed manner.

[0037] Some technical terms involved in this disclosure are first explained here.

[0038] Timeslot: This is the smallest unit of time-division multiplexing. A timeslot must be designed with a reasonable length so that at least one complete message can be sent within it. For example, a timeslot length of 10 μs (microseconds) can be used.

[0039] Timeslot Scheduling: refers to the scheduling behavior of sending messages in specified time slots.

[0040] Incoming Timeslot: For an intermediate node in a specific path, the timeslot in which the message received by the intermediate node from the upstream node (i.e., the outgoing timeslot of the upstream node) is the incoming timeslot.

[0041] Outgoing Timeslot: For an intermediate node in a specific path, when the intermediate node continues to send a message to a downstream node, it can choose to send the message in a specified timeslot based on resource reservation or certain rules. The specified timeslot is the outgoing timeslot.

[0042] Ongoing Sending Timeslot: For an intermediate node on a specific path, the node can continue to send a message received from an upstream node to a downstream node. When a message arrives at the egress port of the intermediate node, the time slot in which the egress port is currently sending is called an ongoing sending timeslot. An ongoing sending timeslot is not an outbound timeslot.

[0043] Orchestration Period: This refers to the period during which network nodes implement the time-division multiplexing scheduling mechanism. An orchestration period can include a fixed number of time slots, for example, a fixed orchestration period contains 100 time slots.

[0044] The above is an introduction to the technical terms involved in this disclosure, which will not be repeated below.

[0045] As described in some technologies, the core technology of deterministic network technology is the periodic scheduling mechanism. Resource reservation, explicit routing, service protection, and other means can be used to provide deterministic latency and jitter guarantees based on the existing network interconnection protocol forwarding mechanism. Resource reservation refers to the occupation of resources by service traffic, including exclusive or shared in a certain proportion (for example, physical links, link bandwidth, queue resources, etc.). Explicit routing refers to the pre-selection of the transmission path of the service flow in the network to ensure the stability of the route and to ensure that it does not change with the real-time changes in the network topology. Based on this, the end-to-end delay upper bound and jitter upper bound can be accurately calculated. Service protection refers to the simultaneous sending of multiple service flows along multiple non-intersecting paths to reduce the packet loss rate.

[0046] At present, some technologies provide a scheduling mechanism for grouping time slots, which can convert time slots into resources and open and reserve services. At the ingress node of the network, it is necessary to reserve corresponding outgoing time slot resources on the egress port for service flows with corresponding arrival times. At the intermediate nodes in the network, it is necessary to reserve corresponding outgoing time slot resources on the egress port for service flows with corresponding inbound time slots. In particular, the path calculation module on the intermediate node (for example, a centralized controller or a distributed protocol) needs to further determine the reserved outgoing time slot based on the fixed time slot phase difference between the upstream node and the intermediate node. However, the solutions in some technologies are not suitable for phase difference detection using different time slot lengths at different nodes in the network.

[0047] In view of this, the present disclosure provides a time slot resource reservation method, which is applied to a first node. The time slot resource reservation method includes: obtaining the detection results of M detection time slots by receiving the detection message sent by the second node in M ​​consecutive detection time slots; the detection result of each detection time slot is used to indicate the sending time slot of the first node mapped by the detection message sent in the detection time slot, and M is a positive integer; based on the detection results of the M detection time slots, determining the target mapping relationship between the target outgoing time slot of the second node and the target sending time slot of the first node; based on the target mapping relationship, reserving the outgoing time slot of the first node for the target message sent by the second node. In this way, the determined mapping relationship can be used as a reference for selecting the outgoing time slot, performing time slot scheduling in a mixed time slot length network, reserving time slot resources for the target message to be sent, and meeting the needs of deterministic services.

[0048] Figure 1 shows a schematic diagram of an application scenario applicable to embodiments of the present disclosure. As shown in Figure 1, network 100 includes management node 01, network node 02, network node 03, network node 04, network node 05, network node 06, and network node 07. Typically, in practical applications, the connections between the aforementioned devices or service functions may be wireless connections. To facilitate and intuitively represent the connection relationships between the various devices or service functions, solid lines are used in Figure 1. In some embodiments, network 100 may be a deterministic network.

[0049] In the embodiment of the present disclosure, the management node 01, network node 02, network node 03, network node 04, network node 05, network node 06, and network node 07 may be network devices, or chips disposed inside network devices. The network devices may be network devices that support high-speed Ethernet interfaces (e.g., 200G, 400G). The network devices include, but are not limited to, core routers, edge routers, optical transport network (OTN) transmission equipment, OTN optical service units (OSUs), and internet protocol radio access networks (IPRANs) and switch devices (e.g., packet transport networks (PTNs) box-type or frame-type switch devices) based on network protocols for specific scenarios.

[0050] In the network 100 shown in Figure 1, messages from upstream nodes can be forwarded to downstream nodes, which can then forward them. For example, if network node 02 is the upstream node of network node 03, and network node 04 is the downstream node of network node 03, network node 02 can forward messages to network node 03, and network node 03 can also forward the messages to network node 04.

[0051] It should be understood that the network 100 shown in FIG. 1 may also include other nodes or network devices, or other terminal devices communicating with the network devices, and the present disclosure does not limit this.

[0052] The time slot resource reservation method provided by the present disclosure is introduced below with reference to the accompanying drawings.

[0053] As shown in Figure 2, an embodiment of the present disclosure provides a time slot resource reservation method, which is applied to a first node and includes the following steps.

[0054] S101: A first node receives detection messages sent by a second node in M ​​consecutive detection time slots to obtain detection results of the M detection time slots.

[0055] The detection result of each detection time slot is used to indicate the sending time slot of the first node corresponding to the detection message sent in the detection time slot, and M is a positive integer.

[0056] It should be understood that in a path including a first node and a second node, the second node is an upstream node of the first node, and the first node may also forward messages received from the second node to downstream nodes of the first node. The M detection time slots are the M outbound time slots of the second node corresponding to the detection messages.

[0057] In some embodiments, the probe message may include the number of the outgoing time slot corresponding to the probe message. In one example, the numbering rule for the time slots in each scheduling cycle may be the same. For example, in a scheduling cycle of the second node, the scheduling cycle may include M1 outgoing time slots, and the M1 outgoing time slots are numbered from 0 to M1-1. Furthermore, in the next scheduling cycle adjacent to the scheduling cycle, the outgoing time slots may be repeatedly numbered from 0 to M1-1. It should be understood that the numbering method of the outgoing time slots in other scheduling cycles of the second node may also be repeatedly numbered from 0 to M1-1.

[0058] In some embodiments, the orchestration period of the first node may be equal in length to the orchestration period of the second node.

[0059] In some embodiments, the probe message may further include at least one of the following: a second number of time slots, a second time slot length, and a value of M. The second time slot length is the length of a time slot in the scheduling cycle of the second node. The second number of time slots is the number of time slots included in the scheduling cycle of the second node, measured by the second time slot length.

[0060] Exemplarily, the second node may adopt a time slot-based message scheduling mechanism at the egress port connected to the downstream node (i.e., the first node). In this case, the scheduling period used by the second node when adopting the message scheduling mechanism is the scheduling period of the above-mentioned second node, and the time slot length used is the above-mentioned second time slot length.

[0061] In some embodiments, the value of M is determined based on the first time slot length and the second time slot length. In one example, the value of M can be equal to the quotient of the least common multiple of the first time slot length and the second time slot length and the second time slot length. It should be understood that M represents the number of outbound time slots of the second node involved in detecting a complete time slot mapping relationship with the first node.

[0062] In actual implementation, the second node may initiate a time slot mapping relationship detection task between the first node and the second node when time slot scheduling is required. The task parameters of the task include the first time slot length and the second time slot length.

[0063] The first time slot length is the length of a time slot in the scheduling period of the first node. It should be understood that the first node may employ a time slot-based message scheduling mechanism at the egress port connected to its downstream node. The time slot length used by the first node when employing the message scheduling mechanism is the first time slot length, and the scheduling period used at this time is the scheduling period of the first node.

[0064] In one example, the second node may determine the value of M based on the first time slot length and the second time slot length, and send a detection message in M ​​consecutive detection time slots, so that the first node can obtain detection results of M detection time slots.

[0065] In another example, the second node may send a probe message in a plurality of consecutive probe time slots, where the number of probe time slots may be greater than or equal to a value of M. The first node may determine a value of M based on the first time slot length and the second time slot length, and select probe messages sent in M ​​consecutive probe time slots from the received probe messages sent in the plurality of probe time slots, so as to obtain probe results for the M probe time slots.

[0066] In some embodiments, the probe message may be sent at the end of the M probe time slots, or the probe message may be sent at the beginning of the M probe time slots. Alternatively, the probe message may be sent at another time domain position in the M probe time slots, and the time domain position may be a time domain position pre-agreed between the first node and the second node.

[0067] In one implementation, the first node may determine the detection results of the M detection time slots based on the time when the detection messages sent in the M detection time slots arrive at the egress port of the first node. In some embodiments, the ingress port and egress port of the first node may use different time slot lengths.

[0068] Exemplarily, the first node may execute the following S11 to S12 to determine the detection results of M detection time slots.

[0069] S11. The first node obtains the time when the detection messages sent in M ​​detection time slots arrive at the egress port of the first node.

[0070] When time slot scheduling is required, the second node can send a detection message in M ​​consecutive detection time slots. Then, the input port connecting the first node and the second node can receive the detection message and deliver the detection message to the output port between the first node and other downstream nodes. Thus, the output port of the first node can determine the time when the detection message sent in M ​​detection time slots arrives at the output port of the first node.

[0071] For example, as shown in Figure 3, node U is the upstream node of node V, and node W is the downstream node of node V. For the path U→V→W, node V can forward the message received from node U to node W. If the time slot length of the egress port connecting node U to node V (i.e., port 1 (link1) in Figure 3) is Lu, and the time slot length of the egress port connecting node V to node W (i.e., port 2 (link2) in Figure 3) is Lv, assuming that the least common multiple of Lu and Lv is Lc, then the value of M is Lc / Lu. Node U sends a probe message to node V in M ​​consecutive outgoing time slots (also called probe time slots) of link1. The egress port of node V can receive the probe message and deliver it to link2. The probe message can include the numbers of the M outgoing time slots. For example, the numbers of the M outgoing time slots in the scheduling cycle are i%Q, (i+1)%Q...(i+M-1)%Q, respectively, where % is the modulo operator. Q is the number of second time slots.

[0072] S12: The first node determines detection results of the M detection time slots based on the time when the detection messages sent in the M detection time slots arrive at the egress port of the first node.

[0073] In some embodiments, the detection result may include the number of the transmitting time slot of the first node corresponding to the detection message sent in the detection time slot. In addition, the detection result is also used to indicate the remaining duration of the transmitting time slot of the first node corresponding to the detection message sent in the detection time slot. For example, taking the path U→V→W shown in Figure 3 as an example, a detection result of node V may include that the outgoing time slot i%Q of the outgoing port link1 of node U is mapped to the transmitting time slot number j_1 of the outgoing port link2 of node V, and there is T_uv_1 left until the end of time slot j_1.

[0074] In some embodiments, the sending time slots of the first node corresponding to the detection messages sent in adjacent detection time slots may be the same, or may be different.

[0075] In some embodiments, the first node may record the multiple acquired detection results, for example, in the form of a time slot mapping relationship table.

[0076] Exemplarily, the above-mentioned time slot mapping relationship table can be shown in Table 1. To facilitate searching, an identifier can also be determined for each detection result in turn. For example, table[0], table[1]...table[Q-1] can be recorded to represent the mapping results corresponding to the above-mentioned outgoing time slots i%Q, (i+1)%Q...(i+M-1)%Q in turn. In addition, the sending time slot in the table[].timeslot mapping result can also be used, and table[].remaining represents the remaining duration of the sending time slot. For example, according to Table 1, table[0].timeslot is j_1, table[0].remaining is T_uv_1, table[M-1].timeslot is j_M, and table[M-1].remaining is T_uv_M.

[0077] Table 1

[0078] Exemplarily, the time slot mapping relationship table may also be shown in Table 2. The mapping relationship table may also include the sending time slot and the remaining duration of the sending time slot in the mapping result.

[0079] Table 2

[0080] In one example, taking the path U→V→W shown in Figure 3 as an example, assume that the time slot length of node U's outbound port (referring to the outbound port connected to node V) is 20μs, and the scheduling period contains 25 time slots; the time slot length of node V's outbound port d (referring to the outbound port connected to node W) is 50μs, and the scheduling period contains 10 time slots. Since the least common multiple of the time slot lengths of nodes U and V is 100μs, node U needs to send a probe message to node V at the end of five consecutive time slots starting from any time slot number i in its scheduling period. The resulting mapping relationship can be shown in Figure 4. Figure 4 shows three possible examples.

[0081] In Example 1, node U's outbound time slots i, i+1, and i+2 are all mapped to node V's active transmit time slot j. This means that j_1, j_2, and j_3 in the above time slot mapping table are actually j. Furthermore, time slots i+3 and i+4 are respectively mapped to active transmit time slot j+1. This means that j_4 and j_5 in the above time slot mapping table are actually j+1.

[0082] In Example 2, time slots i and i+1 of node U are both mapped to the currently transmitting time slot j of node V. This means that j_1 and j_2 in the above time slot mapping table are actually j. Furthermore, time slots i+2, i+3, and i+4 are all mapped to the currently transmitting time slot j+1. This means that j_3, j_4, and j_5 in the above time slot mapping table are actually j+1.

[0083] In Example 3, time slot i of node U is mapped to the currently transmitting time slot j of node V. That is, j_1 in the above time slot mapping table is actually j. Time slots i+1, i+2, and i+3 are all mapped to the currently transmitting time slot j+2. That is, j_2, j_3, and j_4 in the above time slot mapping table are all actually j+1. And the currently transmitting time slot j_5 mapped to time slot i+4 is actually j+2.

[0084] Illustratively, in this example, the time slot mapping relationship table may also be shown in Table 3. Table 3 includes detection results corresponding to three possible examples.

[0085] Table 3

[0086] In another implementation, the first node may determine the detection results of the M detection time slots based on the time when the detection messages sent in the M detection time slots arrive at the ingress port of the first node. In some embodiments, the ingress port and egress port of the first node may use the same time slot length.

[0087] Exemplarily, the first node may execute the following S21 to S22 to determine the detection results of M detection time slots.

[0088] S21. The first node obtains the time when the detection messages sent in M ​​detection time slots arrive at the ingress port of the first node.

[0089] For example, as shown in Figure 5 , if all ports of node V (including the ingress port connecting node V to node U and the egress port connecting node V to node W) use consistent time slot lengths and scheduling periods, and all ports within node V are time-synchronized, the phase difference between the time slots of port 1 (link 1) and port 2 (link 2) in Figure 5 is 0, and the scheduling period states of port link 1 and port link 2 are always consistent. Therefore, at any time, the number of the active transmission time slots in the scheduling period of port link 1 and port link 2 is the same. For example, based on the internal time system of node V, at time T_100, the active transmission time slots of port link 1 and port link 2 are both time slot 1.

[0090] Therefore, for nodes whose ingress and egress ports use the same time slot length and scheduling period, when time slot resource reservation is required, the second node can send a probe message in M ​​consecutive probing time slots. The ingress port connecting the first node and the second node can then receive the probe message. In this case, because the ingress and egress ports of the first node can use the same time slot length and scheduling period, the ingress port of the first node does not need to actually forward the probe message to the egress port. The first node can further determine the detection results of the M probing time slots by obtaining the forwarding delay between the ingress and egress ports.

[0091] S22. The first node determines detection results of the M detection time slots based on the time when the detection messages sent in the M detection time slots arrive at the ingress port of the first node and the forwarding delay between the ingress port and the egress port of the first node.

[0092] In some embodiments, the first node may determine the forwarding delay between the ingress port and the egress port of the first node based on historical forwarding information between the ingress port and the egress port. Alternatively, a preset delay may be pre-stored in the first node, and the preset delay is greater than or equal to the actual forwarding delay. The first node may directly obtain the preset delay and use the preset delay as the forwarding delay between the ingress port and the egress port of the first node to determine the detection results of the M detection time slots. It should be understood that the first node may also detect or obtain the forwarding delay between the ingress port and the egress port in other possible ways, which are not listed one by one.

[0093] In one implementation, the first node may predict the time when the probe message arrives at the egress port based on the time when the probe message arrives at the ingress port of the first node and the forwarding delay, and further determine the detection results of the M detection time slots.

[0094] For example, as shown in FIG6 , if the forwarding delay between the ingress and egress ports of a first node is T_fe, the first node can predict the time when the probe message arrives at the egress port based on the time when the probe message sent in M ​​probe time slots arrives at the ingress port of the first node and the forwarding delay between the ingress and egress ports of the first node. For example, if the message in outgoing time slot i%Q of the egress port of node U in FIG6 arrives at the ingress port of node V, i.e., port 1 (link1) in FIG6 , at time T_1, the time when the probe message arrives at the egress port, i.e., port 2 (link2) in FIG6 , can be predicted to be (T_1+T_fe). Furthermore, based on this time (T_1+T_fe), the first node can determine which transmitting time slot of egress port link2 the probe message falls into, as well as the remaining duration of the transmitting time slot. In this way, the probe result corresponding to outgoing time slot i%Q can be obtained.

[0095] In some embodiments, the first node may determine, based on the time when the probe message arrives at the ingress port of the first node, the transmitting time slot corresponding to the egress port of the first node at that time, and then correct the transmitting time slot based on the forwarding delay. The forwarding delay between the ingress port and the egress port of the first node is an integer multiple of the time slot length.

[0096] For example, the first node can first directly determine which transmitting time slot the probe message falls into based on its arrival time. For example, in Figure 6 , the arrival time of the first probe message (the probe message corresponding to outgoing time slot i%Q) is T_1, which falls within the transmitting time slot j_1'. The node then estimates that the first probe message falls within the transmitting time slot (j_1'+K)%P of the egress port link2, where P is the number of first time slots. This yields the probe result corresponding to outgoing time slot i%Q. The forwarding delay is K times the time slot length.

[0097] In addition, the detection results of the M detection time slots can refer to the relevant description in the above S12, which will not be repeated here.

[0098] S102: The first node determines a target mapping relationship between the outgoing time slot of the second node and the transmitting time slot of the first node based on the detection results of the M detection time slots.

[0099] In some embodiments, the first node may use M detection time slots as a basic time slot group, and based on the detection results corresponding to the basic time slot group, and the correspondence between other outgoing time slots of the second node and the basic time slot group, determine the mapping relationship between other outgoing time slots and the sending time slots of the first node.

[0100] It should be noted that during the time slot resource reservation process, the time slot mapping relationship between the first node and the second node can be detected using a portion of the outbound time slots, and then the corresponding detection time slots between the other outbound time slots of the second node and the basic time slot group are determined. Then, based on the detection results of the detection time slots, the mapping relationship between the detection time slots and the transmitting time slots of the first node is determined. At this time, the portion of the outbound time slots of the second node that are detected can be called the detection time slots, that is, the above-mentioned basic time slot group.

[0101] In some embodiments, as shown in FIG. 7 , S102 may be implemented as the following S1021 to S1023 , for example.

[0102] S1021. The first node determines a target detection time slot corresponding to a target outbound time slot from the M detection time slots, and obtains a detection result of the target detection time slot.

[0103] The target outgoing time slot is any time slot in the scheduling cycle of the second node.

[0104] In some embodiments, the first node may use M detection time slots as a basic time slot group, and then determine a target detection time slot based on a time slot correspondence between the target time slot group in which the target outgoing time slot is located and the basic time slot group. Furthermore, when determining the target detection time slot, a detection result of the target detection time slot may be determined from the M detection results.

[0105] First, the first node may determine the number of the first time slot element in the target time slot group in which the target outgoing time slot is located based on the number of the target outgoing time slot, the number of the first probe time slot in the basic time slot group, the second number of time slots, and the value of M. The second number of time slots is the number of time slots included in the scheduling period of the second node.

[0106] Exemplarily, the number of the first time slot element in the target time slot group where the target outgoing time slot is located is determined based on the following formula.

[0107] In the above formula, W is the number of the first time slot element in the target time slot group where the target outgoing time slot is located; % is the modulo operation; Q is the number of the second time slot; I is the number of the first detection time slot in the basic time slot group; X is the number of the target outgoing time slot; / is the floating point number division operation; To remove the integer operation.

[0108] It should be noted that the multiple outbound time slots in the scheduling cycle of the second node can be divided into multiple time slot groups. A time slot group includes M outbound time slots, that is, the target time slot group also includes M outbound time slots. In addition, outbound time slots with the same position in each time slot group have a corresponding relationship. For example, the first outbound time slot in the target time slot group has a corresponding relationship with the first detection time slot in the basic time slot group. The target time slot group can be any time slot group in the scheduling cycle.

[0109] Furthermore, the first node can determine the position of the target outgoing time slot in the target time slot group based on the number of the target outgoing time slot and the number of the first time slot element in the target time slot group, and use the detection time slot at the same position in the basic time slot group as the target detection time slot.

[0110] For example, the position of the target outgoing time slot in the target time slot group can be determined based on the following formula: O = (X - W + Q) % Q

[0111] In the above formula, O is the position of the target outgoing time slot in the target time slot group.

[0112] S1022: The first node determines the number of time slot offsets based on the target outbound time slot, the first detection time slot among the M detection time slots, the value of M, and the value of N.

[0113] The number of time slot offsets is used to represent the number of time slots of the first node that exist within the time interval between the target outgoing time slot and the target detection time slot.

[0114] In some embodiments, the first node may first determine the number of time slot groups included in the time interval between the target outgoing time slot and the first detection time slot among the M detection time slots, and then determine the number of time slot offsets.

[0115] First, the first node may determine the number of time slot groups included in the time interval between the target outgoing time slot and the first detection time slot among the M detection time slots based on the number of the target outgoing time slot, the number of the first detection time slot among the M detection time slots, and the value of M.

[0116] For example, if the target outgoing time slot is numbered X and the first detection time slot in the M detection time slots is numbered I, since a time slot group in the detection cycle of the second node includes M outgoing time slots, the number of time slot groups included in the time interval between the target outgoing time slot and the first detection time slot in the M detection time slots can be expressed as Taking the detection results shown in Table 3 above as an example, for any time slot X of node U, the target time slot group it is in is the first time slot group from the base time slot group. The first time slot of the time slot group is numbered The second time slot is numbered The time slot number of the 5th time slot is

[0117] Furthermore, the first node may determine the number of time slot offsets based on the number of time slot groups included in the time interval between the target outbound time slot and the first probe time slot of the M probe time slots and the value of N. The length of N time slots in the scheduling period of the first node is equal to the length of M time slots in the scheduling period of the second node, where N is a positive integer.

[0118] Exemplarily, the number of time slot offsets may be determined based on the following formula.

[0119] In the above formula, E is the number of time slot offsets; I is the number of the first detection time slot among M detection time slots; X is the number of the target outbound time slot; / is the floating point number division operation; To remove the integer operation.

[0120] In some embodiments, the value of N can be determined based on the first time slot length and the second time slot length. In one example, the value of N can be equal to the quotient of the least common multiple between the first time slot length and the second time slot length and the first time slot length. It should be understood that N represents the number of transmitting time slots of the first node involved in detecting a complete time slot mapping relationship with the first node.

[0121] S1023: The first node determines a target mapping relationship based on the detection result of the target detection time slot, the number of time slot offsets, and the number of first time slots.

[0122] In some embodiments, the first node may use the sum of the number of the transmitting time slot indicated by the detection result of the target detection time slot, the number of time slot offsets, and the first time slot number as the first number. Furthermore, a modulo operation based on the first time slot number is performed on the first number to obtain the number of the target transmitting time slot, and the target mapping relationship is determined based on the number of the target outgoing time slot and the number of the target transmitting time slot.

[0123] The first number of time slots is the number of time slots included in the scheduling period of the first node and measured by the first time slot length.

[0124] Exemplarily, the target transmission time slot may be determined based on the following formula.

[0125] In the above formula, Y is the number of the target sending time slot; Z is the number of the sending time slot indicated by the detection result of the target detection time slot; P is the number of the first time slot; is the number of time slot offsets; / is the floating point division operation; is the rounding operation; % is the modulo operation.

[0126] In some embodiments, the first node may establish a mapping relationship between each outgoing time slot in the second node and the transmitting time slot of the first node based on the above-mentioned method of determining the mapping relationship, so as to reserve time slot resources based on the mapping relationship.

[0127] S103: The first node reserves an outgoing time slot of the first node for the target message sent by the second node based on the target mapping relationship.

[0128] In some embodiments, the first node may determine the transmitting time slot to which the outgoing time slot used by the second node to send the target message is mapped based on the mapping relationship between the outgoing time slot of the second node and the transmitting time slot of the first node. Furthermore, the first node may determine the outgoing time slot used by the first node to send the target message from the time slot following the transmitting time slot mapped to the outgoing time slot used by the second node to send the target message.

[0129] It should be noted that the first node can use the determined target mapping relationship as a reference for selecting an outgoing time slot. When it is necessary to send a target message from the second node, the first node can first determine the target sending time slot of the first node to which the target outgoing time slot of the second node for sending the target message is mapped based on the target mapping relationship. Furthermore, an outgoing time slot resource for the first node for sending the target message after the target sending time slot can be reserved. The outgoing time slot can be the next time slot after the sending time slot in the first node, or the time slot after the next time slot, etc. The outgoing time slot can be determined based on possible preset conditions such as optional idle time slot resources when sending the target message and preset delay constraints.

[0130] Based on the above embodiment, in a mixed time slot length network, the mapping relationship between the outgoing time slot of the sending node of the adjacent node and the sending time slot of the receiving node can be determined, so that the determined mapping relationship can be used as a reference for selecting the outgoing time slot, and then time slot scheduling can be performed in the mixed time slot length network to reserve time slot resources for the target message to be sent, thereby meeting the needs of deterministic services. In this way, it can also provide a good foundation for deploying a packet time slot scheduling mechanism in a cross-domain interconnected mixed time slot length network.

[0131] In some embodiments, as shown in FIG8 , an embodiment of the present disclosure further provides a time slot resource reservation method, which is applied to the second node and includes the following steps.

[0132] S201. The second node determines the number M of detection time slots for sending detection messages, where M is a positive integer.

[0133] In some implementations, the value of M is determined based on a first time slot length and a second time slot length, where the first time slot length is the length of a time slot in a scheduling cycle of the first node, and the second time slot length is the length of a time slot in a scheduling cycle of the second node. Exemplarily, the value of M is equal to the quotient of the least common multiple of the first time slot length and the second time slot length.

[0134] In addition, for a detailed description of M, please refer to the relevant description of S101 above, which will not be repeated here.

[0135] S202. The second node sends a detection message to the first node in M ​​consecutive detection time slots, so that the first node determines the target mapping relationship between the target outgoing time slot of the second node and the target sending time slot of the first node based on the detection results of the M detection time slots.

[0136] The detection message corresponding to each detection time slot is used to determine the sending time slot of the first node corresponding to the detection time slot, and the target mapping relationship is used to instruct the first node to reserve the outgoing time slot of the first node for the target message sent by the second node based on the target mapping relationship.

[0137] In some embodiments, the probe message further includes at least one of the following: a second number of time slots, a second time slot length, and a value of M. The second time slot length is the length of a time slot in the scheduling cycle of the second node. The second number of time slots is the number of time slots included in the scheduling cycle of the second node.

[0138] In some embodiments, the probe message may be sent at the end of the M probe time slots, or at the beginning of the M probe time slots. Alternatively, the probe message may be sent at another time domain position in the M probe time slots, which may be a time domain position pre-agreed between the first node and the second node.

[0139] In addition, the detailed description of S201 to S202 can also refer to the description of S101 to S103 above, which will not be repeated here.

[0140] Based on the above embodiment, in a network with mixed time slot lengths, an upstream node (i.e., the second node) in an adjacent time slot can first send a probe message in a probe time slot to determine the mapping relationship between the probe time slot and the downstream node's transmitting time slot. Then, based on the mapping relationship corresponding to the probe time slot, the mapping relationship corresponding to other outgoing time slots of the upstream node can be determined. In this way, based on the determined mapping relationship, time slot scheduling can be performed in the network with mixed time slot lengths to reserve time slot resources for the target message to be sent, thereby meeting the needs of deterministic services.

[0141] The above mainly introduces the solution provided by the present disclosure from the perspective of the interaction between each node. It is understandable that each node (such as a device or equipment) includes a hardware structure and / or software module corresponding to the execution of each function in order to realize the above functions. Those skilled in the art should easily appreciate that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the present invention can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0142] FIG9 is a schematic diagram showing the composition of a time slot resource reservation device according to some embodiments, which can be applied to a first node. As shown in FIG9 , the time slot resource reservation device 90 includes a receiving module 901 and a processing module 902 .

[0143] In some embodiments, a receiving module 901 is configured to receive a probe message sent by a second node in M ​​consecutive probe time slots to obtain probe results for the M probe time slots; the probe result for each probe time slot is used to indicate the transmitting time slot of the first node to which the probe message sent in the probe time slot is mapped, where M is a positive integer. A processing module 902 is configured to determine, based on the probe results for the M probe time slots, a target mapping relationship between a target outbound time slot of the second node and a target transmitting time slot of the first node; and processing module 902 is further configured to reserve an outbound time slot of the first node for the target message sent by the second node based on the target mapping relationship.

[0144] In some embodiments, the receiving module 901 is further configured to obtain the time when the probe messages sent in the M probe time slots arrive at the egress port of the first node. The processing module 902 is further configured to determine the detection results of the M probe time slots based on the time when the probe messages sent in the M probe time slots arrive at the egress port of the first node.

[0145] In some embodiments, the receiving module 901 is further configured to obtain the time when the probe messages sent in the M probe time slots arrive at the ingress port of the first node. The processing module 902 is further configured to determine the detection results of the M probe time slots based on the time when the probe messages sent in the M probe time slots arrive at the ingress port of the first node and the forwarding delay between the ingress port and the egress port of the first node.

[0146] In some embodiments, the processing module 902 is further used to: determine a target detection time slot corresponding to a target outbound time slot from the M detection time slots, and obtain a detection result of the target detection time slot; determine the number of time slot offsets based on the target outbound time slot, the first detection time slot among the M detection time slots, the value of M, and the value of N; the number of time slot offsets is the number of time slots determined in the time interval between the target outbound time slot and the target detection time slot based on the first time slot length, the number of time slot offsets is an integer, and the value of N is equal to the quotient of the least common multiple between the first time slot length and the second time slot length and the first time slot length; determine a target mapping relationship based on the detection result of the target detection time slot, the number of time slot offsets, and the first number of time slots; the number of first time slots is the number of time slots measured in the first time slot length contained in the scheduling period of the first node, and the length of the scheduling period of the first node is equal to the length of the scheduling period of the second node.

[0147] In some embodiments, the processing module 902 is further used to: take M detection time slots as the basic time slot group, determine the number of the first time slot element in the target time slot group where the target outgoing time slot is located based on the number of the target outgoing time slot, the number of the first detection time slot in the basic time slot group, the number of the second time slots and the value of M; the second number of time slots is the number of time slots measured by the second time slot length included in the scheduling period of the second node; determine the position of the target outgoing time slot in the target time slot group based on the number of the target outgoing time slot and the number of the first time slot element in the target time slot group; and use the detection time slot at the position in the basic time slot group as the target detection time slot.

[0148] In some embodiments, the number of the first time slot element in the target time slot group where the target outgoing time slot is located is determined based on the following formula.

[0149] In the above formula, W is the number of the first time slot element in the target time slot group where the target outgoing time slot is located; % is the modulo operation; Q is the number of the second time slot; I is the number of the first detection time slot in the basic time slot group; X is the number of the target outgoing time slot; / is the floating point number division operation; To remove the integer operation.

[0150] The position of the target outgoing time slot in the target time slot group is determined based on the following formula: O = (X-W+Q)%Q

[0151] In the above formula, O is the position of the target outgoing time slot in the target time slot group.

[0152] In some embodiments, the processing module 902 is further used to: determine the number of time slot groups contained in the time interval between the target outgoing time slot and the first detection time slot among the M detection time slots based on the number of the target outgoing time slot, the number of the first detection time slot among the M detection time slots, and the value of M; and determine the number of time slot offsets based on the number of time slot groups and the value of N.

[0153] In some embodiments, the number of time slot offsets is determined based on the following formula.

[0154] In the above formula, E is the number of time slot offsets; I is the number of the first detection time slot among M detection time slots; X is the number of the target outbound time slot; / is the floating point number division operation; To remove the integer operation.

[0155] In some embodiments, the processing module 902 is also used to: take the number of the sending time slot indicated by the detection result of the target detection time slot, the number of time slot offsets, and the sum of the first time slot number as the first number; perform a modulo operation on the first number based on the first time slot number to obtain the number of the target sending time slot; determine the target mapping relationship based on the number of the target outgoing time slot and the number of the target sending time slot.

[0156] In some embodiments, the target transmit mid-slot is determined based on the following formula.

[0157] In the above formula, Y is the number of the target sending time slot; Z is the number of the sending time slot indicated by the detection result of the target detection time slot; P is the number of the first time slot; is the number of time slot offsets; / is the floating point division operation; is the rounding operation; % is the modulo operation.

[0158] In some embodiments, the value of M is determined based on a first time slot length and a second time slot length, where the first time slot length is the length of a time slot in a scheduling cycle of the first node, and the second time slot length is the length of a time slot in a scheduling cycle of the second node, and the lengths of the scheduling cycles of the first node and the second node are equal.

[0159] In some embodiments, the value of M is equal to the quotient of the least common multiple between the first time slot length and the second time slot length and the second time slot length.

[0160] In some embodiments, the probe message includes the number of the outgoing time slot of the second node corresponding to the probe message.

[0161] In some embodiments, the detection message further includes at least one of the following: the second number of time slots, the second time slot length, and the value of M, where the second number of time slots is the number of time slots in the scheduling cycle of the second node.

[0162] In some embodiments, the detection result is further used to indicate the remaining duration of the sending time slot of the first node corresponding to the detection message sent in the detection time slot.

[0163] In some embodiments, the processing module 902 is also used to: determine the sending time slot mapped by the outgoing time slot of the second node for sending the target message based on the mapping relationship between the outgoing time slot of the second node and the sending time slot of the first node; and determine the outgoing time slot used by the first node to send the target message from the time slot after the sending time slot mapped by the outgoing time slot of the second node for sending the target message.

[0164] FIG10 is a schematic diagram showing the composition of another apparatus for reserving time slot resources according to some embodiments, which can be applied to a second node. As shown in FIG10 , the apparatus for reserving time slot resources 100 includes a processing module 1001 and a sending module 1002 .

[0165] In some embodiments, the processing module 1001 is configured to determine the number M of probe time slots for sending probe messages, where M is an integer greater than or equal to 1. The sending module 1002 is configured to send probe messages to the first node in M ​​consecutive probe time slots, so that the first node determines a target mapping relationship between a target outbound time slot of the second node and a target transmitting time slot of the first node based on the detection results of the M probe time slots; the probe message corresponding to each probe time slot is used to determine the transmitting time slot of the first node corresponding to the probe time slot, and the target mapping relationship is used to instruct the first node to reserve the outbound time slot of the first node for the target message sent by the second node based on the target mapping relationship.

[0166] In some embodiments, the value of M is determined based on a first time slot length and a second time slot length, where the first time slot length is the length of a time slot in a scheduling cycle of the first node, and the second time slot length is the length of a time slot in a scheduling cycle of the second node, and the lengths of the scheduling cycles of the first node and the second node are equal.

[0167] In some embodiments, the value of M is equal to the quotient of the least common multiple between the first time slot length and the second time slot length and the second time slot length.

[0168] In some embodiments, the probe message includes the number of the probe time slot of the second node corresponding to the probe message.

[0169] In some embodiments, the detection message further includes at least one of the following: the number of second time slots, the length of the second time slot, and the value of M; the second time slot length is the length of the time slot in the scheduling cycle of the second node; the number of second time slots is the number of time slots included in the scheduling cycle of the second node.

[0170] It should be noted that the modules in FIG9 or FIG10 may also be referred to as units. For example, the processing module may be referred to as a processing unit. In addition, in the embodiments shown in FIG9 or FIG10 , the names of the modules may not be those shown in the figures. For example, the receiving module or the sending module may also be referred to as a communication module.

[0171] If the various units in Figure 9 or Figure 10 are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present disclosure is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute all or part of the steps of the various embodiments of the present disclosure. The storage medium for storing computer software products includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0172] In the case of implementing the functions of the above-mentioned integrated modules in hardware, an embodiment of the present disclosure provides a schematic structural diagram of a time slot resource reservation apparatus, as shown in Figure 11. The time slot resource reservation apparatus 1100 includes: a processor 1102, a communication interface 1103, and a bus 1104. In some embodiments, the time slot resource reservation apparatus 1100 may also include a memory 1101.

[0173] Processor 1102 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. Processor 1102 may be a central processing unit, a general-purpose processor, a digital signal processor, an application-specific integrated circuit, a field-programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Processor 1102 may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the present disclosure. Processor 1102 may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.

[0174] The communication interface 1103 is used to connect to other devices via a communication network, such as Ethernet, wireless access network, or wireless local area network (WLAN).

[0175] The memory 1101 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.

[0176] As an implementation, the memory 1101 may exist independently of the processor 1102. The memory 1101 may be connected to the processor 1102 via a bus 1104 and configured to store instructions or program codes. When the processor 1102 calls and executes the instructions or program codes stored in the memory 1101, the time slot resource reservation method provided in the embodiments of the present disclosure may be implemented.

[0177] In another implementation, the memory 1101 may also be integrated with the processor 1102 .

[0178] Bus 1104 can be an Extended Industry Standard Architecture (EISA) bus, etc. Bus 1104 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG11 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.

[0179] Through the description of the above implementation methods, technical personnel in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional modules as needed, that is, the internal structure of the equipment or device is divided into different functional modules to complete all or part of the functions described above.

[0180] The present disclosure also provides a computer-readable storage medium. All or part of the processes in the above-mentioned method embodiments can be completed by computer instructions to instruct the relevant hardware, and the program can be stored in the above-mentioned computer-readable storage medium. When the program is executed, it may include the processes of the above-mentioned method embodiments. The computer-readable storage medium can be the memory of any of the above-mentioned embodiments. The above-mentioned computer-readable storage medium can also be an external storage device of the above-mentioned device or apparatus, such as a plug-in hard disk, a smart memory card (smart media card, SMC), a secure digital (secure digital, SD) card, a flash card (flash card), etc. equipped on the above-mentioned device or apparatus. Further, the above-mentioned computer-readable storage medium can also include both the internal storage unit of the above-mentioned device or apparatus and an external storage device. The above-mentioned computer-readable storage medium is used to store the above-mentioned computer program and other programs and data required by the above-mentioned device or apparatus. The above-mentioned computer-readable storage medium can also be used to temporarily store data that has been output or is to be output. The readable storage medium includes a non-transitory computer-readable storage medium.

[0181] An embodiment of the present disclosure further provides a computer program product, which includes a computer program. When the computer program product is run on a computer, the computer is enabled to execute any one of the time slot resource reservation methods provided in the above embodiments.

[0182] Although the present disclosure is described herein in conjunction with various embodiments, in the process of implementing the disclosure for which protection is sought, those skilled in the art may understand and implement other variations of the disclosed embodiments by reviewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "one" or "an" does not exclude multiple components. A single processor or other unit may implement several functions listed in the claims. Certain measures are recorded in different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0183] Although the present disclosure has been described in conjunction with features and embodiments thereof, it will be apparent that various modifications and combinations may be made thereto without departing from the spirit and scope of the present disclosure. Accordingly, this specification and the drawings are merely illustrative of the present disclosure as defined by the appended claims and are deemed to cover any and all modifications, variations, combinations or equivalents within the scope of the present disclosure. Obviously, those skilled in the art may make various modifications and variations to the present disclosure without departing from the spirit and scope of the present disclosure. Thus, the present disclosure is intended to encompass such modifications and variations as would fall within the scope of the claims of the present disclosure and their equivalents.

[0184] The above is only a specific embodiment of the present disclosure, but the scope of protection of the present disclosure is not limited thereto. Any changes or replacements within the technical scope disclosed in the present disclosure should be included in the scope of protection of the present disclosure. Therefore, the scope of protection of the present disclosure should be based on the scope of protection of the claims.

Claims

1. A time slot resource reservation method, in, The method is applied to a first node and comprises: By receiving the detection message sent by the second node in M ​​consecutive detection time slots, the detection results of the M detection time slots are obtained; wherein the detection result of each detection time slot is used to indicate the sending time slot of the first node mapped by the detection message sent in the detection time slot, and M is a positive integer; Determine, based on the detection results of the M detection time slots, a target mapping relationship between a target outgoing time slot of the second node and a target sending time slot of the first node; Based on the target mapping relationship, an outbound time slot of the first node is reserved for the target message sent by the second node.

2. The method according to claim 1, in, The step of receiving the detection messages sent by the second node in M ​​consecutive detection time slots to obtain the detection results of the M detection time slots includes: Obtaining the time when the detection messages sent by the M detection time slots arrive at the egress port of the first node; The detection results of the M detection time slots are determined based on the time when the detection messages sent in the M detection time slots arrive at the egress port of the first node.

3. The method according to claim 1, in, The step of receiving the detection messages sent by the second node in M ​​consecutive detection time slots to obtain the detection results of the M detection time slots includes: Obtaining the time when the detection messages sent by the M detection time slots arrive at the ingress port of the first node; The detection results of the M detection time slots are determined based on the time when the detection messages sent in the M detection time slots arrive at the ingress port of the first node and the forwarding delay between the ingress port and the egress port of the first node.

4. The method according to claim 1, in, The value of M is equal to the quotient of the least common multiple between a first time slot length and a second time slot length and the second time slot length, the first time slot length is the length of a time slot in a scheduling period of the first node, the second time slot length is the length of a time slot in a scheduling period of the second node, and the length of the scheduling period of the first node is equal to the length of the scheduling period of the second node.

5. The method according to claim 1, in, The determining, based on the detection results of the M detection time slots, a target mapping relationship between a target outgoing time slot of the second node and a target sending time slot of the first node includes: Determine a target detection time slot corresponding to the target outgoing time slot from the M detection time slots, and obtain a detection result of the target detection time slot; Based on the target outgoing time slot, the first detection time slot of the M detection time slots, the value of M and the value of N, determine the number of time slot offsets; wherein the number of time slot offsets is the number of time slots determined in the time interval between the target outgoing time slot and the target detection time slot based on the first time slot length, the number of time slot offsets is an integer, and the value of N is equal to the quotient of the least common multiple between the first time slot length and the second time slot length and the first time slot length; The target mapping relationship is determined based on the detection result of the target detection time slot, the number of time slot offsets and the first number of time slots; the first number of time slots is the number of time slots measured by the first time slot length included in the scheduling period of the first node.

6. The method according to claim 5, in, The determining, from the M detection time slots, a target detection time slot corresponding to the target outgoing time slot comprises: Taking the M detection time slots as the basic time slot group, based on the number of the target outgoing time slot, the number of the first detection time slot in the basic time slot group, the second number of time slots and the value of M, determine the number of the first time slot element in the target time slot group where the target outgoing time slot is located; wherein the second number of time slots is the number of time slots measured by the second time slot length contained in the scheduling period of the second node; The target outgoing time slot is determined based on the number of the target outgoing time slot and the number of the first time slot element in the target time slot group. The position of the time slot in the target time slot group; The detection time slot at the position in the basic time slot group is used as the target detection time slot.

7. The method according to claim 6, in, The number of the first time slot element in the target time slot group where the target outgoing time slot is located is determined based on the following formula: Wherein, W is the number of the first time slot element in the target time slot group where the target outgoing time slot is located; % is a modulo operation; Q is the number of the second time slot; I is the number of the first detection time slot in the basic time slot group; X is the number of the target outgoing time slot; / is a floating point number division operation; To remove the integer operation; The position of the target outgoing time slot in the target time slot group is determined based on the following formula: O=(X-W+Q)%Q Wherein, O is the position of the target outgoing time slot in the target time slot group.

8. The method according to claim 6, in, The determining the number of time slot offsets based on the target outgoing time slot, the first detection time slot of the M detection time slots, the value of M, and the value of N includes: Determine the number of time slot groups included in the time interval between the target outgoing time slot and the first detection time slot in the M detection time slots based on the number of the target outgoing time slot, the number of the first detection time slot in the M detection time slots, and the value of M; Based on the number of time slot groups and the value of N, the number of time slot offsets is determined.

9. The method according to claim 8, in, The number of time slot offsets is determined based on the following formula: Wherein, E is the number of the time slot offsets; I is the number of the first detection time slot in the M detection time slots; X is the number of the target outgoing time slot; / is a floating point number division operation; To remove the integer operation.

10. The method according to claim 5, in, The determining the target mapping relationship based on the detection result of the target detection time slot, the number of time slot offsets and the number of first time slots includes: The sum of the number of the transmitting time slot indicated by the detection result of the target detection time slot, the number of time slot offsets, and the first number of time slots is used as the first number; Performing a modulo operation on the first number based on the number of the first time slots to obtain the number of the target sending time slot; The target mapping relationship is determined based on the number of the target outgoing time slot and the number of the target sending time slot.

11. The method according to claim 10, in, The target transmission time slot is determined based on the following formula: Wherein, Y is the number of the target sending time slot; Z is the number of the sending time slot indicated by the detection result of the target detection time slot; P is the number of the first time slots; is the number of time slot offsets; / is the division operation of floating point numbers; is the rounding operation; % is the modulo operation.

12. The method according to claim 1, in, The detection message includes the number of the outgoing time slot of the second node corresponding to the detection message.

13. The method according to claim 12, in, The detection message also includes at least one of the following items: a second number of time slots, a second time slot length, and a value of M, wherein the second time slot length is the length of a time slot in a scheduling cycle of the second node, and the second number of time slots is the number of time slots measured by the second time slot length contained in the scheduling cycle of the second node.

14. The method according to claim 1, in, The detection result is also used to indicate the remaining duration of the first node's sending time slot corresponding to the detection message sent in the detection time slot.

15. The method according to claim 1, in, The reserving, based on the target mapping relationship, an outgoing time slot of the first node for a target message sent by the second node comprises: Based on the transmitting time slot of the first node mapped to the outgoing time slot of the second node for sending the target message, the outgoing time slot used by the first node to send the target message is determined from the time slots after the transmitting time slot of the first node.

16. A time slot resource reservation method, in, The method is applied to the second node and comprises: Determine the number M of detection time slots used to send detection messages, where M is a positive integer; Send detection messages to the first node in M ​​consecutive detection time slots, so that the first node determines the target mapping relationship between the target outgoing time slot of the second node and the target sending time slot of the first node based on the detection results of the M detection time slots; wherein the detection message corresponding to each of the detection time slots is used to determine the sending time slot of the first node corresponding to the detection time slot, and the target mapping relationship is used to instruct the first node to reserve the outgoing time slot of the first node for the target message sent by the second node.

17. The method according to claim 16, in, The value of M is equal to the quotient of the least common multiple between a first time slot length and a second time slot length and the second time slot length, wherein the first time slot length is the length of a time slot in a scheduling period of the first node, the second time slot length is the length of a time slot in a scheduling period of the second node, and the scheduling period of the first node is equal to the scheduling period of the second node.

18. The method according to claim 17, in, The detection message includes the number of the detection time slot of the second node corresponding to the detection message.

19. The method according to claim 18, in, The detection message also includes at least one of the following items: the number of second time slots, the length of the second time slot and the value of M; wherein the number of second time slots is the number of time slots measured by the second time slot length contained in the scheduling period of the second node.

20. A communication device, include: Memory and processor; Memory and processor coupling; The memory is used to store instructions executable by the processor; When the processor executes the instructions, the method according to any one of claims 1 to 19 is performed.

21. A computer-readable storage medium, in, The computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a communication device, the communication device is caused to execute the method according to any one of claims 1 to 19.

Citation Information

Patent Citations

  • Method for sending measurement report, communication device and system

    CN110139306A

  • Time slot cross path configuration method, computer equipment and readable medium

    CN112787924A

  • Message forwarding method, electronic equipment and storage medium

    CN115037399A

  • Service channel establishment method and device, electronic equipment and storage medium

    CN115695283A

  • Media stream scheduling for hiccup-free fast-channel-change in the presence of network chokepoints

    US20050080904A1