CN116156512A - Channel configuration method and device, time slot configuration method, equipment and medium - Google Patents

Channel configuration method and device, time slot configuration method, equipment and medium Download PDF

Info

Publication number
CN116156512A
CN116156512A CN202111367423.3A CN202111367423A CN116156512A CN 116156512 A CN116156512 A CN 116156512A CN 202111367423 A CN202111367423 A CN 202111367423A CN 116156512 A CN116156512 A CN 116156512A
Authority
CN
China
Prior art keywords
channel
time slot
network node
delay
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111367423.3A
Other languages
Chinese (zh)
Inventor
周华东
温建中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN202111367423.3A priority Critical patent/CN116156512A/en
Publication of CN116156512A publication Critical patent/CN116156512A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/18Network planning tools
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels

Landscapes

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

Abstract

The embodiment of the invention provides a channel configuration method, a device, equipment and a storage medium, and relates to the field of communication, wherein the channel configuration method comprises the following steps: acquiring first channel information of a first direction channel and second channel information of a second direction channel, calculating hop by hop to obtain a time slot cross relation of each network node in the first direction channel and the second direction channel according to the first channel information, the second channel information and forwarding time delays of a plurality of network nodes, and sending the time slot cross relation to the corresponding network node so as to configure the time slot positions of the network nodes, so that the time delays of the first direction channel and the second direction channel are symmetrical. In the process of establishing the bidirectional service channel, the embodiment utilizes the time slot crossing relation of the network nodes to perform time slot position configuration of the corresponding network nodes under the condition of ensuring that the forwarding time delay of each network node is as low as possible, thereby conveniently and rapidly establishing the bidirectional service channel with symmetrical time delay.

Description

Channel configuration method and device, time slot configuration method, equipment and medium
Technical Field
The embodiments of the present application relate to the field of communications technologies, and in particular, to a channel configuration method and apparatus, and a time slot configuration method, device, and medium.
Background
With the rise of a new generation of 5G network, the emerging industry application scene has strict requirements on time delay, jitter and packet loss of the service. The 5G bearer network introduces FlexE (flexible ethernet) technology, and further proposes MTN (Metro Transport Network, metropolitan area transport network) channels based on slot crossing, and forms a g.mtn standard system. Because the MTN channels are based on the time slot crossing of 66bit blocks, the crossing time delay of different time slot positions has obvious influence, especially small particle crossing channels, under different time slot allocation algorithms, the crossing time delay variation of a single network node may reach 50us, so that the time delay variation range of crossing channels passing through N network time slots may be within 0-50 us, and the maximum time delay difference of bidirectional service may reach 50us, which is not acceptable for the application scenarios of certain industries of 5G, and the solution for establishing the bidirectional service time delay symmetry channel in the g.mtn network does not appear in the related technology.
Disclosure of Invention
The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.
The embodiment of the application provides a channel configuration method and device, a time slot configuration method, equipment and a medium.
In a first aspect, an embodiment of the present application provides a channel configuration method, applied to a controller, including:
acquiring first channel information of a first direction channel and second channel information of a second direction channel, wherein the first direction channel is a link channel formed by connecting a plurality of network nodes along a first direction, and the second direction channel is a link channel formed by connecting a plurality of network nodes along a second direction opposite to the first direction;
according to the first channel information, the second channel information and the forwarding delays of a plurality of network nodes, calculating hop by hop to obtain a time slot cross relation of each network node in the first direction channel and the second direction channel;
and sending the time slot cross relation to the corresponding network node so as to configure the time slot position of the network node, so that the time delays of the first direction channel and the second direction channel are symmetrical.
In a second aspect, an embodiment of the present application provides a channel configuration method, applied to a controller, including:
acquiring first channel information of a first direction channel and second channel information of a second direction channel, wherein the first direction channel is a link channel formed by connecting a plurality of network nodes along a first direction, and the second direction channel is a link channel formed by connecting a plurality of network nodes along a second direction opposite to the first direction;
And transmitting the first channel information, the second channel information and the forwarding delays of a plurality of network nodes to the network nodes so that the network nodes can calculate the time slot cross relation of each network node in the first direction channel and the second direction channel hop by hop, and configuring the time slot positions of the network nodes according to the time slot cross relation so that the time delays of the first direction channel and the second direction channel are symmetrical.
In a third aspect, an embodiment of the present application provides a method for configuring a timeslot of a network node in a delay symmetry channel, where the method is applied to the network node, and the method includes:
receiving a time slot cross relation sent by a controller, wherein the time slot cross relation is generated by applying the channel configuration method according to any one of the first aspect;
and completing time slot configuration according to the time slot cross relation, so that time delays of the first direction channel and the second direction channel are symmetrical.
In a fourth aspect, an embodiment of the present application provides a method for configuring a timeslot of a network node in a delay symmetry channel, where the method is applied to the network node, and includes:
receiving first channel information, second channel information and forwarding delays of a plurality of network nodes sent by a controller;
Generating a time slot cross relation according to the first channel information, the second channel information and the forwarding delays of a plurality of network nodes, wherein the time slot cross relation is generated by applying the channel configuration method according to any one of the first aspect;
and completing time slot configuration according to the time slot cross relation, so that time delays of the first direction channel and the second direction channel are symmetrical.
In a fifth aspect, an embodiment of the present application provides a channel configuration apparatus, including:
the channel acquisition module is used for acquiring first channel information of a first direction channel and second channel information of a second direction channel, wherein the first direction channel is a link channel formed by connecting a plurality of network nodes along a first direction, and the second direction channel is a link channel formed by connecting a plurality of network nodes along a second direction opposite to the first direction;
the time slot cross relation calculation module is used for calculating the time slot cross relation of each network node in the first direction channel and the second direction channel hop by hop according to the first channel information, the second channel information and the forwarding time delays of a plurality of network nodes;
and the time slot position configuration module is used for sending the time slot cross relation to the corresponding network node so as to configure the time slot position of the network node, so that the time delays of the first direction channel and the second direction channel are symmetrical.
In a sixth aspect, a computer device includes a processor and a memory;
the memory is used for storing programs;
the processor is configured to perform the method according to any one of the first, second, third or fourth aspects according to the program.
In a seventh aspect, embodiments of the present application provide a computer-readable storage medium storing computer-executable instructions for performing the method of any one of the first aspect, the second aspect, the third aspect, or the fourth aspect.
Compared with the related art, the channel configuration method provided in the first aspect of the embodiment of the present application obtains the first channel information of the first direction channel and the second channel information of the second direction channel, calculates hop-by-hop to obtain the time slot cross relation of each network node in the first direction channel and the second direction channel according to the first channel information, the second channel information and the forwarding delays of the plurality of network nodes, and sends the time slot cross relation to the corresponding network node so as to configure the time slot positions of the network nodes, so that the time delays of the first direction channel and the second direction channel are symmetrical. In the process of establishing the bidirectional service channel, the embodiment utilizes the time slot crossing relation of the network nodes to perform time slot position configuration of the corresponding network nodes under the condition of ensuring that the forwarding time delay of each network node is as low as possible, thereby conveniently and rapidly establishing the bidirectional service channel with symmetrical time delay.
It is to be understood that the advantages of the second to seventh aspects compared with the related art are the same as those of the first aspect compared with the related art, and reference may be made to the related description in the first aspect, which is not repeated herein.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required for the embodiments or the description of the related art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort to a person having ordinary skill in the art.
FIG. 1 is a flow chart of a channel configuration method provided by one embodiment of the present application;
fig. 2 is a networking schematic diagram of a channel configuration method according to an embodiment of the present application;
FIG. 3 is a further flowchart of a channel configuration method provided by one embodiment of the present application;
FIG. 4 is a further flowchart of a channel configuration method provided by one embodiment of the present application;
FIG. 5 is a further flowchart of a channel configuration method provided by one embodiment of the present application;
FIG. 6 is a schematic diagram of a serial creation mode of a channel configuration method according to an embodiment of the present application;
FIG. 7 is a further flowchart of a channel configuration method provided by one embodiment of the present application;
FIG. 8 is a schematic diagram of a parallel creation mode of a channel configuration method according to an embodiment of the present application;
FIG. 9 is a further flowchart of a channel configuration method provided by one embodiment of the present application;
FIG. 10 is a schematic diagram of a time slot cross relationship of a channel configuration method according to one embodiment of the present application;
FIG. 11 is yet another flow chart of a channel configuration method provided by one embodiment of the present application;
FIG. 12 is an end-to-end delay compensation schematic diagram of a channel configuration method according to one embodiment of the present application;
FIG. 13 is yet another flow chart of a channel configuration method provided by one embodiment of the present application;
FIG. 14 is yet another flow chart of a channel configuration method provided by one embodiment of the present application;
FIG. 15 is a schematic diagram of delay compensation of a channel configuration method according to an embodiment of the present application;
FIG. 16 is a flow chart of a channel configuration method provided in yet another embodiment of the present application;
fig. 17 is a flowchart of a method for configuring a network node timeslot in a latency symmetry channel according to an embodiment of the present application;
Fig. 18 is a flowchart of a method for configuring a network node timeslot in a latency symmetry channel according to another embodiment of the present application;
fig. 19 is a block diagram of a channel configuration device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the embodiments of the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the embodiments of the present application with unnecessary detail.
It should be noted that although a logical order is illustrated in the flowchart, in some cases, the steps illustrated or described may be performed in an order different from that in the flowchart. The terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
It should also be appreciated that references to "one embodiment" or "some embodiments" or the like described in the specification of embodiments of the present application mean that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
With the rise of a new generation of 5G network, the emerging industry application scene has strict requirements on time delay, jitter and packet loss of the service. The 5G bearer network introduces FlexE (flexible ethernet) technology, and further proposes MTN (Metro Transport Network, metropolitan area transport network) channels based on slot crossing, and forms a g.mtn standard system. Because the MTN channels are based on the time slot crossing of 66bit blocks, the crossing time delay can be obviously influenced by different time slot positions, especially small-particle crossing channels, under different time slot allocation algorithms, the crossing time delay variation of a single network node can reach 50us, so that the time delay variation range of crossing channels passing through N network time slots can be within 0-50 us, and the maximum time delay difference of bidirectional services can reach 50us, which is not acceptable for certain industry application scenarios of 5G.
A solution for establishing a bidirectional service delay symmetry channel in a g.mtn network does not appear in the related art. The proposal is that after the one-way delay measurement of the end-to-end channels in two service directions is carried out, the delay compensation is carried out on the head/tail network nodes, so that the compensated two-way service channel delay is symmetrical, but the proposal requires the head/tail network nodes to compensate the delay deviation accumulated by the middle network node of the channel, has higher requirement on the compensation capability of the head/tail network nodes, and the one-way delay measurement requires the dependence on the time synchronization precision of deployment time synchronization, thus the realization and deployment application of the proposal are very difficult.
Therefore, compared with the related art, the embodiment of the application provides a channel configuration method, which is characterized in that first channel information of a first direction channel and second channel information of a second direction channel are obtained, according to the first channel information, the second channel information and forwarding delays of a plurality of network nodes, time slot cross relations of all the network nodes in the first direction channel and the second direction channel are calculated hop by hop, and the time slot cross relations are sent to the corresponding network nodes so as to configure time slot positions of the network nodes, so that the time delays of the first direction channel and the second direction channel are symmetrical. In the process of establishing the bidirectional service channel, the embodiment utilizes the time slot crossing relation of the network nodes to perform time slot position configuration of the corresponding network nodes under the condition of ensuring that the forwarding time delay of each network node is as low as possible, thereby conveniently and rapidly establishing the bidirectional service channel with symmetrical time delay.
Embodiments of the present application are further described below with reference to the accompanying drawings.
As shown in fig. 1, fig. 1 is a flowchart of a channel configuration method according to an embodiment of the present application, including but not limited to steps S101 to S103.
Step S101, acquiring first channel information of a first direction channel and second channel information of a second direction channel.
In an embodiment, the first direction channel is a link channel formed by connecting a plurality of network nodes along a first direction, the first channel information includes path information of the network nodes of the first direction channel, the second direction channel is a link channel formed by connecting a plurality of network nodes along a second direction opposite to the first direction, the second channel information includes path information of the network nodes of the second direction channel, and the first direction channel and the second direction channel together form a bidirectional symmetric service channel.
Referring to fig. 2, a networking schematic diagram of the embodiment is shown by network nodes "a", "B", "C", "D" and "Z", where the network nodes may be network devices, and corresponding network nodes are selected according to service requirements to form a service path. For example, the first direction channel may be "a- > B- > C- > D- > Z", and the corresponding second direction channel may be "Z- > D- > C- > B- > a", where the first direction channel and the second direction channel are two-way symmetric service channels, including the same network node, and for the two service channels, the time delay symmetry refers to that the time delays of the same network node on different channels are consistent or substantially consistent. It can be appreciated that the service channel with bidirectional symmetry can be an existing service channel obtained, or a service channel created according to the current service requirement.
Step S102, according to the first channel information, the second channel information and the forwarding delay of a plurality of network nodes, calculating hop by hop to obtain the time slot cross relation of each network node in the first direction channel and the second direction channel.
Step S103, the time slot cross relation is sent to the corresponding network node to configure the time slot position of the network node, so that the time delays of the first direction channel and the second direction channel are symmetrical.
In an embodiment, according to the establishing mode of the first direction channel and the second direction channel, two different modes for calculating the time slot cross relation are a serial establishing mode and a parallel establishing mode, wherein the serial establishing mode is as follows: the method is that according to the forwarding time delay of the network nodes in the first direction channel, the time slot positions of the corresponding network nodes in the second direction channel are configured hop by hop, and the time delays of the corresponding network nodes of the two service channels are kept consistent. Parallel creation mode: the time slot positions of the first direction channel and the second direction channel are configured at the same time, and finally, the end-to-end time delay bidirectional consistency is realized.
The following describes two creation modes, respectively.
In one embodiment, referring to FIG. 3, the serial creation approach includes, but is not limited to, the following steps:
Step S301, the forwarding delay of each network node in the first direction channel is calculated according to the first channel information.
In an embodiment, if the first direction channel is created, each hop of the network node allocates a time slot position with an optimal time delay, and when the second unidirectional channel performs service transmission, because part of the time slot positions are already occupied by some network nodes in the first direction channel, even if the optimal time slot scheme is adopted, the time delay is still greater than that in the corresponding network node and the first direction channel, and thus the time delay symmetry of the network node cannot be achieved, that is, the time delay symmetry of the first direction channel and the second direction channel cannot be guaranteed. Therefore, when the time slot position of the first direction channel is configured, the time slot allocation scheme of the lowest time delay of each network node is not adopted, but the forwarding time delay of each network node is calculated according to the first channel information to configure the time slot position.
Referring to fig. 4, the step of calculating the forwarding delay in this embodiment includes, but is not limited to:
step S401, calculating the minimum time delay of the network node according to the first channel information.
Step S402, obtaining a preset time delay offset value.
Step S403, the forwarding delay of the network node is obtained by calculation according to the minimum delay and the preset delay offset value.
For example, according to the first channel information, the forwarding delay of each network node in the first direction channel is obtained and expressed as Tmin+T 1 Where Tmin represents the minimum delay (or the optimal delay) of the network node, where the minimum delay may be calculated according to a deterministic delay requirement, or may be measured, which is not specifically limited herein. Wherein the deterministic latency requirement indicates that the traffic data is from the base of the senderThe delay from the start of data input of the frame to the time when the receiving end receives and outputs the frame data is consistent after each power-up or after connection is reestablished, namely, deterministic delay is realized. T (T) 1 The preset time delay offset value is represented, can be flexibly adjusted, can be set according to actual requirements, and is smaller if the service channel has low time delay requirement in practice.
Step S302, a time slot cross relation of the corresponding network node in the second direction channel is obtained according to the forwarding delay of the network node and the second channel information by utilizing the time slot configuration requirement.
In an embodiment, after obtaining the forwarding delay of each network node in the first direction channel, obtaining the time slot cross relation of the corresponding network node in the second direction channel according to the second channel information by using the time slot configuration requirement, that is, in order to ensure the time delay symmetry of the first direction channel and the second direction channel, where the time slot configuration requirement includes: the former hop allocation principle or the latter hop allocation principle. Each network node in the second direction channel performs time slot configuration according to the forwarding time delay of the network node corresponding to the first direction channel as the expected time delay.
In an embodiment, when acquiring the timeslot cross relation of the corresponding network node in the second direction channel, if the timeslot resource that can be used by a certain network node is limited, so that the timeslot cross relation cannot be symmetrical to the time delay of the corresponding network node in the first direction channel in any way, the expected time delay difference of the network node in the bidirectional service channel is transferred to the next hop network node, and the next hop network node configures the timeslot cross relation of the network node according to the forwarding time delay of the network node in the first direction channel and the expected time delay difference transferred in the last hop network node, namely, performs the time delay compensation of the single network node. And the last network node of the second direction channel is analogically arranged until the last network node of the second direction channel, the time slot cross relation of the second direction channel of the network node is configured according to the time delay of the network node in the first direction channel and the expected time delay difference transmitted from the upstream until the time slot position of each network node in the two service channels is configured, and the end-to-end bidirectional time delay symmetrical service channel is successfully established.
Referring to fig. 5, the steps of delay compensation for a single network node in an embodiment of the present application include, but are not limited to:
step S501, obtaining the actual time delay of the network node in the second direction channel according to the second channel information.
In an embodiment, the actual time delay may be obtained through calculation, or may be obtained through measurement.
Step S502, calculating the expected delay difference according to the actual delay and the forwarding delay.
Step S503, compensating the expected delay difference to the forwarding delay of the next network node of the network nodes in the second direction channel.
The delay difference of two service channels can be controlled in a small range through point-by-point compensation of the delay compensation of the single network node in the embodiment, and the delay compensation is carried out in a scattered mode, so that the requirement on buffering of the head-to-tail network node for the delay compensation is greatly reduced.
Referring to fig. 6, a schematic diagram of a serial creation mode in an embodiment of the present application is shown. In the figure, it is assumed that there is an SPN network adopting FlexE technology, supporting a time slot cross service forwarding path of MTN channels in g.mtn, and establishing a bidirectional service forwarding path according to a service requirement in an application scenario, including: a->B->C->D->Z and second directional passages (shown as Channel 101) Z->D->C->B->A. Representing the forwarding delay of each network node in the first direction channel as t x The expected time delay of each network node in the second direction channel is denoted as T, and the actual time delay of each network node in the second direction channel is denoted as T' x The expected delay difference of each network node in the first direction channel and the second direction channel is denoted as delta tx
The serial creation mode steps are expressed as:
first, creating a first direction Channel100 and completing the configuration of the time slot cross relation of each network node, namely, configuring each network nodeSlot position, i.e. the slot position and out-slot position available to each network node on the forwarding path. Each time slot has a corresponding number, the time slot position and the time slot outlet position of each network node have a time slot cross relation, and the forwarding delay can also generate corresponding difference due to the difference of the time slot cross relation. In this embodiment, the forwarding delay of each network node is configured to be tmin+t 1 Wherein Tmin represents the minimum delay of the network node, T 1 The preset time delay offset value is represented, can be flexibly adjusted, can be set according to actual requirements, and is smaller if the service channel has low time delay requirement in practice. At t in FIG. 6 A 、t B 、t C 、t D And t Z Representing the forwarding delays of the network nodes A, B, C, D and Z, respectively, in the first directional path.
For the second direction Channel101, the time slot configuration is performed hop by hop, starting from its first network node Z, in combination with the desired delay. Firstly, the network node Z (the first network node of Channel 101) needs to establish a bidirectional delay symmetric service Channel, so the expected delay T of the network node Z Z Forwarding delay t with corresponding network node in first direction channel x The same applies. The actual delay t 'of the network node is obtained, considering that if it is the desired delay, the available time slots thereof may be occupied' Z Actual time delay t' Z Not necessarily and desired time delay T Z The same, there is a desired delay difference delta between the two tz =t′ Z -t Z For the consideration of the delay compensation of a single network node, the expected delay difference of the Z network node needs to be transferred to the next hop network node (i.e. the network node D in the figure), and the corresponding forwarding delay of the next hop network node is compensated.
In this embodiment, the delay hop-by-hop transfer manner is not dependent on time synchronization-based delay end-to-end measurement, and even if delay compensation is needed by the end network node, the delay difference of the last hop is only compensated, and the delay difference accumulated from end to end is not needed to be compensated, so that bidirectional delay symmetry is ensured as much as possible when the time slot cross relation of each hop is configured, and when bidirectional delay consistency cannot be ensured due to time slot conflict, the delay difference needed to be compensated is transferred to the downstream, so that the downstream network node can compensate when the time slot cross relation is allocated, and difficulty of equipment implementation scheme, namely, requirement on compensation capability of the end network node is reduced.
At this point the expected delay T of network node D D The desired delay difference delivered by the last hop network node Z compensates the forwarding delay t of the network node D in the first direction channel D The result is expressed as: t (T) D =t Dtz The actual time delay is t' D The expected delay difference of network node D is therefore denoted delta tD =t′ D -T D And passes the expected delay difference to the next hop network node C.
And similarly, completing time slot position configuration for the network node C, the network node B and the network node A, and completing time slot configuration of the second direction channel.
In one embodiment, referring to FIG. 7, the parallel creation approach includes, but is not limited to, the following steps:
step S701, calculating minimum time delay corresponding to each network node in the first direction channel and the second direction channel according to the first channel information and the second channel information respectively.
In an embodiment, the parallel creation mode refers to the configuration of the time slot cross relation of two service channels at the same time, so that the time delay of each network node is ensured to be consistent in both directions, and the characteristic that the time delay is as small as possible is met. Therefore, in this embodiment, for the acquired or created first direction channel and second direction channel, the minimum delay corresponding to each network node in the two channels is calculated first according to the first channel information and the second channel information, respectively.
Step S702, the forwarding delay of each network node is obtained according to the minimum delay calculation.
In an embodiment, since the minimum delay of each network node in the two traffic channels may be different, one minimum delay is selected as the forwarding delay of each network node.
Step S703, acquiring a time slot cross relation of each network node in the first direction channel and the second direction channel according to the forwarding delay.
For example, referring to fig. 6, a first direction channel a- > B- > C- > D- > Z and a second direction channel Z- > D- > C- > B- > a, one direction is selected from the two, which is taken as an example. Firstly, the first network node A calculates the respective time slot crossing relation of two service channels according to the forwarding time delay, so that the bidirectional time delay of the network node is symmetrical. And then calculating the respective time slot cross relation of the two service channels for the next hop network node B according to the forwarding delay, and the like until reaching the network node Z, and simultaneously completing the time slot position configuration of each network node in the first direction channel and the second direction channel which are bilaterally symmetrical.
Referring to fig. 8, a schematic diagram of a parallel creation mode in an embodiment of the present application is shown. In the figure, it is assumed that there is an SPN network adopting FlexE technology, supporting a time slot cross service forwarding path of MTN channels in g.mtn, and establishing a bidirectional service forwarding path according to a service requirement in an application scenario, including: a- >B->C->D->Z and second directional passages (shown as Channel 101) Z->D->C->B->A. Representing the minimum time delay of each network node in the first direction channel as t x1 Representing the minimum time delay of each network node in the second direction channel as t' x1
The parallel creation mode step is expressed as:
starting from the first network node a of the first direction channel, the time slot cross relation of the first direction channel and the second direction channel is respectively configured, and for the second direction channel, the network node a is actually a tail network node, so that the time slot position can be allocated at the upstream side or the downstream side in the embodiment.
Calculating the minimum time delay t of the first direction Channel100 under the condition of the available time slot configuration of the network node A A1
Calculating the minimum time delay t 'of the second direction Channel101 under the condition of the available time slot configuration of the network node A' A1
Then according to the minimum time delay of network node A on the bidirectional service channel, the forwarding time delay of network node A is calculated, for example T is taken A1 =MAX(t A1 ,t′ A1 );
And calculating the time slot cross relation of the first direction channel and the second direction channel according to the forwarding delay.
And so on, according to the configuration mode of the network node A, the time slot positions of the network node B, the network node C, the network node D and the network node Z are sequentially configured, and then the time slot position configuration of the two-way symmetrical first-direction channel and the two-way symmetrical second-direction channel is completed.
In addition, in an embodiment, in the step described above, the time slot cross relation of each network node in the first direction channel and the second direction channel is obtained according to the forwarding delay of the network node, and referring to fig. 9, the method includes, but is not limited to, the following steps:
step S901, obtaining delay configuration information according to the first channel information and the second channel information.
In an embodiment, delay configuration information of two symmetric channels of service is obtained according to the first channel information and the second channel information, where the delay configuration information includes: total number of slots, slot period, incoming slots and outgoing slots.
Step S902, according to the forwarding delay, the total time slot number and the time slot period, calculating to obtain the time slot cross sequence number.
In an embodiment, the slot cross sequence number is calculated according to the forwarding delay, the total slot number and the slot period, that is, the slot cross relationship is calculated according to the forwarding delay, which is expressed as:
time slot cross sequence number of forwarding delay = time slot period/total time slot number
The time slot cross sequence number is the difference between the number of the outgoing time slot in the time slot cross relation and the number of the outgoing time slot in the optimal time slot cross relation.
It will be appreciated that the total forwarding delay in each network node actually includes queuing delay and other delays, and in this embodiment, only queuing delay is considered as forwarding delay, considering that other delays are basically fixed.
Step S903, selecting the incoming available time slot and the outgoing available time slot from the incoming time slot and the outgoing time slot according to the time slot cross sequence number.
In an embodiment, because the position of each network node in the service channel and the available time slots of the entire service channel are different, the available incoming time slots and the outgoing time slots of each network node are not identical, so in this embodiment, the available incoming time slots and the available outgoing time slots with relatively optimal configuration are selected for each network node according to the time slot cross sequence number calculated in the step S902.
Step S904, the time slot cross relation of the network node is obtained according to the incoming available time slot and the outgoing available time slot.
In one embodiment, the slot cross relationship of each network node is obtained from the incoming and outgoing available slots of that network node.
In one embodiment, assuming an SPN network using FlexE technology, a slot cross traffic forwarding path supporting MTN channels in g.mtn, taking a 10Mbit/s granular slot cross relationship of g.mtn 2.0 as an example, two-way symmetric traffic channels (e.g. a first direction channel and a second direction channel) need to be established, and the total number of incoming slots and outgoing slots is 480 slots, where the 480 slots use a time division multiplexing mechanism, and the 1 slot period is about 52.8us. If configured according to the optimal time slot cross relation, the forwarding delay of each network node is basically 0us, and if configured according to the worst time slot cross relation, the forwarding delay is 52.8us.
For a certain network node a, assuming that its forwarding delay is 2.64us according to the bidirectional channel delay symmetry requirement, it is known that the network node includes, in the second direction, an incoming slot: 2. 3 and 6 time slots, and the outgoing time slot comprises: 30. 32 and 34.
Thus, according to the time slot cross relation calculation procedure described in the above steps, when the forwarding delay of the network node a is 2.64us, the formula is as follows: time slot cross sequence number is calculated by forwarding time delay = time slot period/total time slot number:
slot crossing sequence number=forward delay/(slot cycle/total number of slots) =2.64/(52.8/480) =24
Therefore, when the incoming slot includes three slots of 2, 3 and 6, according to the slot configuration relation of the present embodiment, when the slot crossing number is 24, the outgoing available slot should be: 24. 27 and 30, since the outgoing time slots include: 30. 32 and 34, thus selecting the outgoing available time slots of network node a as: the slot cross relationship of the network node A obtained by 30 slots is expressed as: incoming available time slots: 6, out to the available time slot 30.
Referring to fig. 10, a schematic diagram of a slot cross relationship in an embodiment of the present application is shown.
In the figure, it is assumed that a network node A, a network node B, a network node C, a network node D and a network node Z form a service channel hop by hop, wherein an ingress available time slot of the network node A is selected according to specific service requirements, and an egress available time slot calculated according to a time slot cross relation is 1; the ingress available time slot of the network node B is 1, and the egress available time slot calculated according to the time slot cross relation is 3; the ingress available time slot of the network node C is 3, and the egress available time slot calculated according to the time slot cross relation is 20; the ingress available time slot of the network node D is 20, and the egress available time slot calculated according to the time slot cross relation is 1; the ingress available time slot of the network node Z is 1, and the egress available time slot thereof can be selected according to specific service requirements.
In an embodiment, if the requirement of bidirectional delay symmetry cannot be met after the last network node of the bidirectional symmetric service channels (for example, the first direction channel and the second direction channel) configured according to the channel configuration method configures the slot position through the slot cross relation, one-time end-to-end delay compensation is required at the end network node of the service channel. Referring to fig. 11, if the delays of the first direction channel and the second direction channel are asymmetric, the end-to-end delay compensation in this embodiment includes, but is not limited to, the following steps:
Step S1101, calculating a first accumulated time delay and a second accumulated time delay of the first direction channel and the second direction channel, respectively.
In an embodiment, the forwarding delays of the network nodes in the two direction service channels are accumulated to obtain a first accumulated delay and a second accumulated delay of the first direction channel and the second direction channel respectively. The first and second cumulative delays of the two traffic channels may be tested, for example, using the OAM means of the DM or i-OAM of the tunnel.
In step S1102, an end-to-end delay difference is calculated according to the first accumulated delay and the second accumulated delay.
In one embodiment, if there is an end-to-end delay difference between the first and second cumulative delays of the two channels, the delay between the two symmetric traffic channels is considered to be asymmetric.
In step S1103, if the end-to-end delay difference satisfies the end-to-end delay compensation condition, the end-to-end delay difference is sent to the end network node in the first direction channel or the second direction channel.
In an embodiment, in order to improve the processing efficiency of the service channel, because different services have a certain difference in accuracy requirements for the time delay symmetry of the bidirectional channel, allowable time delay deviation can be set according to the difference in accuracy, and the time delay certainty requirement is guaranteed to be met, so that whether the end-to-end time delay difference meets the end-to-end time delay compensation condition is judged, if yes, the end-to-end time delay difference is larger, in consideration of the service time delay symmetry, the end-to-end time delay compensation is needed, namely, the expected time delay difference is sent to the end network node in the first direction channel or the second direction channel, so that the end network node configures the time slot position according to the end-to-end time delay difference, and the time delays of the first direction channel and the second direction channel are symmetrical.
The end-to-end delay compensation conditions in the above embodiment may be: the end-to-end delay difference I > allowed delay deviation I, wherein the allowed delay deviation can be set according to actual service requirements, and under the condition of meeting the service requirements, the larger the allowed delay deviation value is, the lower the requirement of the allowed delay deviation value on buffering is, and meanwhile, the frequency and the frequency of the subsequent dynamic adjustment are less.
Referring to fig. 12, an end-to-end delay compensation scheme is shown in an embodiment of the present application.
In the figure, it is assumed that there is an SPN network adopting FlexE technology, supporting a time slot cross service forwarding path of MTN channels in g.mtn, and establishing a bidirectional service forwarding path according to a service requirement in an application scenario, including: a->B->C->D->Z and second directional passages (shown as Channel 101) Z->D->C->B->A, at t A2 、t B2 、t C2 、t D2 And t Z2 Respectively representing the forwarding delays of the network node A, the network node B, the network node C, the network node D and the network node Z in the first direction channel, and taking t' A2 、t′ B2 、t′ C2 、t′ D2 And t' Z2 And respectively representing the forwarding delays of the network node A, the network node B, the network node C, the network node D and the network node Z in the second direction channel.
For the first direction channel, starting from the first network node A, forwarding delay t of the network node under the current time slot cross relation A2 To the end network node Z and so on, respectively delay the forwarding delays t of network node B, network node C and network node D B2 、t C2 And t D2 To the end network node Z, plus the forwarding delay t of the end network node Z Z2 Calculating a first accumulated time delay of the first direction channel: t (T) 100 =t A2 +t B2 +t C2 +t D2 +t Z2
For the second direction channel, starting from the terminal network node A, forwarding delay t 'of the network node under the current time slot cross relation' A2 To the first network node Z and so on, respectively forwarding delays t 'of network node B, network node C and network node D' B2 、t′ C2 And t' D2 To the network node Z, plus the forwarding delay t 'of the network node Z' Z2 Calculating a second accumulated time delay of the second direction channel: t (T) 101 =t′ A2 +t′ B2 +t′ C2 +t′ D2 +t′ Z2
End-to-end delay difference delta is calculated at network node Z T Delta, i.e T =T 100 -T 101
Time delay delta from end to end T And if the end-to-end delay compensation condition is met, compensating the end-to-end delay difference to the end network node in the first direction channel or the second direction channel, wherein the end-to-end delay compensation condition in the embodiment is as follows: end-to-end delay difference>The allowable delay deviation is set to ±200us, and may be set according to actual service requirements, and is only an example and not particularly limited herein. If the end-to-end delay is delta T And when the end-to-end delay compensation condition is met, the end-to-end delay buffer is added at the network node Z, and the bidirectional time slot symmetry effect with higher precision and accuracy is realized through the end-to-end delay compensation, so that the end-to-end delay symmetry of the first direction channel and the second direction channel is ensured under the condition that the time slot intersection relation does not need to be updated.
In addition, under the static condition, namely after the two-way time delay symmetry channel is established, the two-way time delay difference of the two-way time delay symmetry channel and the two-way time delay symmetry channel is fixed. However, in the network operation state, the time delay difference of the bidirectional channel may change according to the network state, and at this time, the time delay compensation needs to be performed on the service channels in two directions again to ensure the time delay symmetry of the two. For example, the following network scenarios: the board card replacement of the device (replacing different types of single boards according to service requirements), rerouting or local path change and the like can all cause the time delay difference of the bidirectional channel to change.
Therefore, in an embodiment, in order to ensure the delay symmetry of the bidirectional delay symmetry channel, after the bidirectional delay symmetry channel is created, it is also necessary to periodically check whether the forwarding delay of each network node changes. For example, an end-to-end delay difference measurement mode may be adopted, if the change of the end-to-end delay difference is greater than a preset change threshold, a delay compensation mode is selected according to a channel creation mode, for example, a point-by-point delay detection and transmission (such as a bidirectional symmetric service channel obtained by a serial creation mode) or a direct trigger delay compensation (such as a bidirectional symmetric service channel obtained by a parallel creation mode) is triggered.
In addition, if the service path of the channel changes (for example, network nodes are added and deleted), the time delay detection and transmission of each network node on the service path of the channel can be performed again according to the event triggering mode, so as to perform time delay compensation.
In an embodiment, when the network node path is unchanged, only the end-to-end delay difference changes, referring to fig. 13, delay compensation includes, but is not limited to, the following steps:
in step S1301, it is periodically checked whether the end-to-end delay difference is changed.
In step S1302, if the change of the end-to-end delay difference is greater than the preset change threshold, the time slot cross relation of the network node is updated.
Step S1303, reestablishing the first direction channel and the second direction channel according to the updated time slot cross relation, so that the time delays of the first direction channel and the second direction channel are symmetrical.
In one embodiment, the end-to-end delay difference delta is first checked T Whether the change exists or not, then judging whether the change amount of the end-to-end delay difference is larger than a preset change threshold value, wherein the preset change threshold value can be set according to actual service requirements, if so, the delay of the bidirectional service channel cannot meet the requirement of delay symmetry, and delay compensation is needed.
In one embodiment, when the network node path changes, i.e., adding or deleting a network node occurs, referring to fig. 14, the delay compensation includes, but is not limited to, the following steps:
step S1401, periodically checking the network node connection relationship.
Step S1402, if the connection relationship of the network node changes, updating the time slot cross relationship of the network node.
Step S1403, reestablishing the first direction channel and the second direction channel according to the updated timeslot cross relationship, so that the time delays of the first direction channel and the second direction channel are symmetrical.
In an embodiment, firstly, whether the connection relation of the network node is changed is checked, if the path of the network node is changed, the time delay of the bidirectional service channel is not satisfied with the requirement of time delay symmetry, the time slot cross relation of the network node is required to be recalculated, the time slot position configuration is carried out, and the time delay compensation is completed. Further, only the time slot cross relation of the changed network node can be recalculated, so that the calculated amount is reduced, and the time slot configuration efficiency is improved.
Referring to fig. 15, a schematic diagram of delay compensation in an embodiment of the present application is shown.
In the figure, it is assumed that there is an SPN network adopting FlexE technology, supporting a time slot cross service forwarding path of MTN channels in g.mtn, and establishing a bidirectional service forwarding path according to a service requirement in an application scenario, including: a first directional Channel (denoted by Channel100 in the figure) a- > B- > C- > D- > Z and a second directional Channel (denoted by Channel101 in the figure) Z- > D- > C- > B- > a. For example, when a link failure occurs between the network node D and the network node Z, the network node connection relationship needs to be updated, and the first direction channel changes from an initial state of a- > B- > C- > D- > Z to: a- > B- > C- > D- > G- > Z; the second direction channel changes from the initial state of Z- > D- > C- > B- > A to: z- > G- > D- > C- > B- > A, i.e. adding a network node G between network node D and network node Z. After adding the network node G, the time slot cross relations between the network node D and the network node Z change, and the end-to-end delay difference between the first direction channel and the second direction channel also changes due to the addition of the network node G.
Therefore, in this embodiment, in the case that such a network node changes locally, a parallel Channel creation mode is preferentially adopted, and for the bidirectional service channels Channel100 and Channel101, the time slot cross relationship between the network node a and the network node D is kept unchanged, and the time slot cross relationship between the network node G and the network node Z is reconfigured.
The channel configuration method of the embodiment of the invention can create a time slot cross service channel with symmetrical bidirectional time delay in the MTN network, does not need to carry out end-to-end time delay test based on time synchronization, does not need to carry out accumulated time delay difference compensation on the end network node of the time slot cross service channel, reduces the difficulty of realizing the scheme of equipment (namely, reduces the requirement on the compensation capability of the end network node) and the complexity of scheme deployment (namely, does not require deployment time synchronization when establishing the channel) while realizing the time slot cross of the symmetrical bidirectional time delay, and better meets the application requirements of the vertical industry with the symmetrical bidirectional time delay requirement.
Compared with the related art, the channel configuration method provided by the embodiment of the invention has the advantages that the time slot cross relation of each network node in the first direction channel and the second direction channel is calculated hop by hop according to the first channel information, the second channel information and the forwarding time delay of a plurality of network nodes by acquiring the first channel information of the first direction channel and the second channel information of the second direction channel, and the time slot cross relation is sent to the corresponding network node so as to configure the time slot positions of the network nodes, so that the time delays of the first direction channel and the second direction channel are symmetrical. In the process of establishing the bidirectional service channel, the embodiment utilizes the time slot crossing relation of the network nodes to perform time slot position configuration of the corresponding network nodes under the condition of ensuring that the forwarding time delay of each network node is as low as possible, thereby conveniently and rapidly establishing the bidirectional service channel with symmetrical time delay.
In addition, the embodiment of the present application further provides a channel configuration method, which is applied to the controller, and is different from the channel configuration method in the foregoing embodiment in that the channel configuration method in this embodiment only sends the first channel information, the second channel information, and the forwarding delays of the plurality of network nodes to the network node, and the action of generating the timeslot cross relationship is completed by the network node.
Referring to fig. 16, this embodiment includes, but is not limited to, the following steps:
in step S1601, first channel information of a first direction channel and second channel information of a second direction channel are acquired.
In an embodiment, the first direction channel is a link channel formed by connecting a plurality of network nodes along a first direction, and the second direction channel is a link channel formed by connecting a plurality of network nodes along a second direction opposite to the first direction;
step S1602 sends the first channel information, the second channel information, and the forwarding delays of the plurality of network nodes to the network nodes to complete the channel configuration.
In an embodiment, the first channel information, the second channel information and the forwarding delays of the plurality of network nodes are sent to the network nodes, so that the network nodes can calculate the time slot cross relation of each network node in the first direction channel and the second direction channel hop by hop, and the time slot positions of the network nodes are configured according to the time slot cross relation, so that the delays of the first direction channel and the second direction channel are symmetrical.
In addition, the embodiment of the application further provides a method for configuring a time slot of a network node in a time delay symmetry channel, which is applied to the network node, and corresponds to the channel configuration method calculated by the controller according to the time slot cross relation in the above embodiment, referring to fig. 17, and includes, but is not limited to, the following steps:
in step S1701, a slot cross relation sent by the controller is received, and the slot cross relation is generated by applying the channel configuration method as any one of the above.
In one embodiment, the controller generates the slot crossing relationship using the method as in steps S101 to S103.
Step S1702, completing time slot configuration according to the time slot cross relation, so that time delays of a first direction channel and a second direction channel are symmetrical.
It can be understood that the network node in this embodiment is the network node selected from the bidirectional traffic symmetry channels established in the above embodiment.
In addition, the embodiment of the application further provides a method for configuring a time slot of a network node in a time delay symmetry channel, which is applied to the network node, and corresponds to the channel configuration method for self-calculation of the time slot cross relation by the network node in the above embodiment, referring to fig. 18, and includes, but is not limited to, the following steps:
step S1801, receiving the first channel information, the second channel information, and the forwarding delays of the plurality of network nodes sent by the controller.
Step S1802, generating a time slot cross relation according to the first channel information, the second channel information, and the forwarding delays of the plurality of network nodes, where the time slot cross relation is generated by applying a channel configuration method as any one of the above.
In one embodiment, the controller generates the slot crossing relationship using the method as in steps S101 to S103.
Step S1803, completing the time slot configuration according to the time slot cross relationship, so that the time delays of the first direction channel and the second direction channel are symmetrical.
It can be understood that the network node in this embodiment is the network node selected from the bidirectional traffic symmetry channels established in the above embodiment.
In addition, the embodiment of the application further provides a channel configuration device, referring to fig. 19, the device includes:
the channel obtaining module 191 is configured to obtain first channel information of a first direction channel and second channel information of a second direction channel, where the first direction channel is a link channel formed by connecting a plurality of network nodes along a first direction, and the second direction channel is a link channel formed by connecting a plurality of network nodes along a second direction opposite to the first direction;
the time slot cross relation calculating module 192 is configured to calculate, hop by hop, a time slot cross relation of each network node in the first direction channel and the second direction channel according to the first channel information, the second channel information, and the forwarding delays of the plurality of network nodes;
A slot position configuration module 193, configured to send the slot cross relation to the corresponding network node, so as to configure the slot position of the network node, so that the time delays of the first direction channel and the second direction channel are symmetrical.
The above described apparatus embodiments are merely illustrative, wherein the units illustrated as separate components may or may not be physically separate, i.e. may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
It should be noted that, the channel configuration device in this embodiment may perform the channel configuration method in the embodiment shown in fig. 1. That is, the channel arrangement apparatus in the present embodiment and the channel arrangement method in the embodiment shown in fig. 1 are both of the same inventive concept, so that these embodiments have the same implementation principle and technical effect, and will not be described in detail here.
In addition, an embodiment of the present application further provides a computer device, where the computer device includes: memory, a processor, and a computer program stored on the memory and executable on the processor.
The processor and the memory may be connected by a bus or other means.
The memory, as a non-transitory computer readable storage medium, may be used to store non-transitory software programs as well as non-transitory computer executable programs. In addition, the memory may include high-speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory optionally includes memory remotely located relative to the processor, the remote memory being connectable to the processor through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The non-transitory software program and instructions required to implement the channel configuration method or the network node time slot configuration method in a time-lapse symmetric channel of the above embodiments are stored in the memory, and when executed by the processor, the channel configuration method in the above embodiments is performed, for example, the method steps S101 to S103 in fig. 2, the method steps S401 to S403 in fig. 4, the method steps S501 to S503 in fig. 5, and the like described above are performed.
Furthermore, an embodiment of the present application further provides a computer readable storage medium storing computer executable instructions, where the computer executable instructions are executed by a processor or a controller, for example, by one of the processors in the embodiment of the computer device, and may cause the processor to perform the channel configuration method or the network node time slot configuration method in the time slot symmetry channel in the embodiment described above, for example, perform the method steps S101 to S103 in fig. 2, the method steps S401 to S403 in fig. 4, the method steps S501 to S503 in fig. 5, and so on described above.
As another example, execution by one processor in the above-described embodiment of the computer device may cause the processor to execute the channel configuration method or the network node time slot configuration method in the time-delay symmetry channel in the above-described embodiment, for example, execute the method steps S101 to S103 in fig. 2, the method steps S401 to S403 in fig. 4, the method steps S501 to S503 in fig. 5, and so on described above.
Those of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes both volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as known to those skilled in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer. Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media.
While the preferred embodiments of the present application have been described in detail, the embodiments are not limited to the above-described embodiments, and those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the embodiments, and these equivalent modifications or substitutions are included in the scope of the embodiments of the present application as defined in the appended claims.

Claims (15)

1. A channel configuration method is applied to a controller and comprises the following steps:
acquiring first channel information of a first direction channel and second channel information of a second direction channel, wherein the first direction channel is a link channel formed by connecting a plurality of network nodes along a first direction, and the second direction channel is a link channel formed by connecting a plurality of network nodes along a second direction opposite to the first direction;
according to the first channel information, the second channel information and the forwarding delays of a plurality of network nodes, calculating hop by hop to obtain a time slot cross relation of each network node in the first direction channel and the second direction channel;
and sending the time slot cross relation to the corresponding network node so as to configure the time slot position of the network node, so that the time delays of the first direction channel and the second direction channel are symmetrical.
2. The channel configuration method according to claim 1, wherein calculating, hop by hop, a time slot cross relation between each of the network nodes in the first direction channel and the second direction channel according to the first channel information, the second channel information, and forwarding delays of the plurality of network nodes includes:
calculating the forwarding delay of each network node in the first direction channel according to the first channel information;
and acquiring the time slot cross relation of the corresponding network node in the second direction channel according to the forwarding delay of the network node and the second channel information by using the time slot configuration requirement.
3. The channel configuration method according to claim 2, wherein said calculating a forwarding delay of each network node in the first direction channel according to the first channel information includes:
calculating the minimum time delay of the network node according to the first channel information;
acquiring a preset time delay offset value;
and calculating the forwarding delay of the network node according to the minimum delay and the preset delay offset value.
4. The channel configuration method according to claim 2, wherein the obtaining, by using a timeslot configuration requirement, a timeslot cross relation of the corresponding network node in the second direction channel according to the forwarding delay of the network node and the second channel information, further includes:
Acquiring the actual time delay of the network node in the second direction channel according to the second channel information;
calculating an expected delay difference according to the actual delay and the forwarding delay;
and compensating the expected delay difference to the forwarding delay of a network node next to the network node in the second direction channel.
5. The channel configuration method according to claim 1, wherein calculating, hop by hop, a time slot cross relation between each of the network nodes in the first direction channel and the second direction channel according to the first channel information, the second channel information, and forwarding delays of the plurality of network nodes includes:
calculating the minimum time delay corresponding to each network node in the first direction channel and the second direction channel according to the first channel information and the second channel information respectively;
obtaining the forwarding time delay of each network node according to the minimum time delay calculation;
and acquiring the time slot cross relation of each network node in the first direction channel and the second direction channel according to the forwarding delay.
6. The channel configuration method according to any one of claims 1 to 5, wherein calculating, hop by hop, a time slot cross relation of each of the network nodes in the first direction channel and the second direction channel according to the first channel information, the second channel information, and forwarding delays of the plurality of network nodes includes:
Acquiring delay configuration information according to the first channel information and the second channel information, wherein the delay configuration information comprises: total time slot number, time slot period, incoming time slot and outgoing time slot;
calculating to obtain a time slot cross sequence number according to the forwarding time delay, the total time slot number and the time slot period;
selecting an incoming available time slot and an outgoing available time slot from the incoming time slot and the outgoing time slot according to the time slot cross sequence number;
and obtaining the time slot cross relation of the network node according to the input available time slot and the output available time slot.
7. The channel configuration method according to any one of claims 1 to 5, characterized by further comprising:
if the time delays of the first direction channel and the second direction channel are asymmetric;
calculating a first accumulated time delay and a second accumulated time delay of the first direction channel and the second direction channel respectively;
calculating an end-to-end delay difference according to the first accumulated time delay and the second accumulated time delay;
if the end-to-end delay difference meets an end-to-end delay compensation condition;
the sending the time slot cross relation to the corresponding network node to configure the time slot position of the network node, so that the time delays of the first direction channel and the second direction channel are symmetrical, including:
And sending the end-to-end delay difference to an end network node in the first direction channel or the second direction channel, so that the end network node configures a time slot position according to the end-to-end delay difference, and the time delays of the first direction channel and the second direction channel are symmetrical.
8. The channel configuration method according to claim 7, characterized by further comprising:
periodically checking whether the end-to-end delay difference is changed;
if the change of the end-to-end delay difference is greater than a preset change threshold value:
updating the time slot cross relation of the network node;
and reestablishing the first direction channel and the second direction channel according to the updated time slot cross relation, so that the time delays of the first direction channel and the second direction channel are symmetrical.
9. The channel configuration method according to any one of claims 1 to 5, characterized by further comprising:
periodically checking the network node connection relation;
if the connection relation of the network node changes:
updating the time slot cross relation of the network node;
and reestablishing the first direction channel and the second direction channel according to the updated time slot cross relation, so that the time delays of the first direction channel and the second direction channel are symmetrical.
10. A channel configuration method is applied to a controller and comprises the following steps:
acquiring first channel information of a first direction channel and second channel information of a second direction channel, wherein the first direction channel is a link channel formed by connecting a plurality of network nodes along a first direction, and the second direction channel is a link channel formed by connecting a plurality of network nodes along a second direction opposite to the first direction;
and transmitting the first channel information, the second channel information and the forwarding delays of a plurality of network nodes to the network nodes so that the network nodes can calculate the time slot cross relation of each network node in the first direction channel and the second direction channel hop by hop, and configuring the time slot positions of the network nodes according to the time slot cross relation so that the time delays of the first direction channel and the second direction channel are symmetrical.
11. A method for configuring time slots of network nodes in a time delay symmetry channel is applied to the network nodes and comprises the following steps:
receiving a time slot cross relation transmitted by a controller, wherein the time slot cross relation is generated by applying the channel configuration method as claimed in any one of claims 1 to 9;
And completing time slot configuration according to the time slot cross relation, so that time delays of the first direction channel and the second direction channel are symmetrical.
12. A method for configuring time slots of network nodes in a time delay symmetry channel is applied to the network nodes and comprises the following steps:
receiving first channel information, second channel information and forwarding delays of a plurality of network nodes sent by a controller;
generating a time slot cross relation according to the first channel information, the second channel information and the forwarding delays of a plurality of network nodes, wherein the time slot cross relation is generated by applying the channel configuration method as claimed in any one of claims 1 to 9;
and completing time slot configuration according to the time slot cross relation, so that time delays of the first direction channel and the second direction channel are symmetrical.
13. A channel configuration apparatus comprising:
the channel acquisition module is used for acquiring first channel information of a first direction channel and second channel information of a second direction channel, wherein the first direction channel is a link channel formed by connecting a plurality of network nodes along a first direction, and the second direction channel is a link channel formed by connecting a plurality of network nodes along a second direction opposite to the first direction;
The time slot cross relation calculation module is used for calculating the time slot cross relation of each network node in the first direction channel and the second direction channel hop by hop according to the first channel information, the second channel information and the forwarding time delays of a plurality of network nodes;
and the time slot position configuration module is used for sending the time slot cross relation to the corresponding network node so as to configure the time slot position of the network node, so that the time delays of the first direction channel and the second direction channel are symmetrical.
14. A computer device comprising a processor and a memory;
the memory is used for storing programs;
the processor is configured to perform the method of any one of claims 1 to 12 according to the program.
15. A computer readable storage medium storing computer executable instructions for performing the method of any one of claims 1 to 12.
CN202111367423.3A 2021-11-18 2021-11-18 Channel configuration method and device, time slot configuration method, equipment and medium Pending CN116156512A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111367423.3A CN116156512A (en) 2021-11-18 2021-11-18 Channel configuration method and device, time slot configuration method, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111367423.3A CN116156512A (en) 2021-11-18 2021-11-18 Channel configuration method and device, time slot configuration method, equipment and medium

Publications (1)

Publication Number Publication Date
CN116156512A true CN116156512A (en) 2023-05-23

Family

ID=86360486

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111367423.3A Pending CN116156512A (en) 2021-11-18 2021-11-18 Channel configuration method and device, time slot configuration method, equipment and medium

Country Status (1)

Country Link
CN (1) CN116156512A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116634469A (en) * 2023-07-21 2023-08-22 南京源兴智达信息科技有限公司 Data transmission management system and method based on multiple LoRa nodes
CN116996198A (en) * 2023-09-25 2023-11-03 之江实验室 Flexible Ethernet bidirectional delay symmetrical small particle time slot allocation method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116634469A (en) * 2023-07-21 2023-08-22 南京源兴智达信息科技有限公司 Data transmission management system and method based on multiple LoRa nodes
CN116634469B (en) * 2023-07-21 2023-09-19 南京源兴智达信息科技有限公司 Data transmission management system and method based on multiple LoRa nodes
CN116996198A (en) * 2023-09-25 2023-11-03 之江实验室 Flexible Ethernet bidirectional delay symmetrical small particle time slot allocation method and device
CN116996198B (en) * 2023-09-25 2023-12-19 之江实验室 Flexible Ethernet bidirectional delay symmetrical small particle time slot allocation method and device

Similar Documents

Publication Publication Date Title
US10009793B2 (en) Reverse insertion of management packet into a deterministic track
KR101596759B1 (en) Method and apparatus for providing time synchronization in in-vehicle Ethernet communication
KR101596756B1 (en) Method and apparatus for providing in-vehicle network time synchronization using redundant GrandMaster
CN116156512A (en) Channel configuration method and device, time slot configuration method, equipment and medium
CN102143052B (en) Method, equipment and system for lossless bandwidth
US10320659B2 (en) Source routed deterministic packet in a deterministic data network
RU2638645C2 (en) Method for identification of reference clock signals subjected to asymmetry changes to delay propagation path between nodes in communication network
US20240107366A1 (en) METHOD OF CREATING QoS FLOW FOR TIME SYNCHRONIZATION PROTOCOL IN WIRELESS COMMUNICATION NETWORK
WO2015042824A1 (en) Establishment method and device of cross-domain path
US10439871B2 (en) Deterministic stitching of deterministic segments across distinct deterministic domains
US20200322951A1 (en) Insertion slots along deterministic track for movable network device in a deterministic network
US9967179B2 (en) Constrained shortest path first for temporal tunnel services
US9819580B2 (en) Open shortest path first for temporal tunnel services
Striffler et al. Time-sensitive networking in 5th generation cellular networks-current state and open topics
KR100655625B1 (en) Wireless network with user clock synchronization
US20160308786A1 (en) Temporal Tunnel Services
KR20060059254A (en) Network node
US20230051166A1 (en) Delay Sensitive Network Estimation System
US10348481B1 (en) Clock harmonization in deterministic networks
CN111328109B (en) Distributed synchronization-free transmission scheduling method and system for multi-hop wireless network
US10567267B2 (en) Deterministic data collection from mobile network device traveling within a deterministic network
WO2022184129A1 (en) Time slot allocation processing method, and device and storage medium
CN105681190A (en) Tunnel restraint information sending, receiving method and device
CN110892687A (en) Multi-level resource reservation
CN102447612B (en) Bidirectional point is to multipoint label switched path foundation, grafting and pruning method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication