CN112653534B - Time slot alignment method, device, equipment and computer readable storage medium - Google Patents

Time slot alignment method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN112653534B
CN112653534B CN201910969927.9A CN201910969927A CN112653534B CN 112653534 B CN112653534 B CN 112653534B CN 201910969927 A CN201910969927 A CN 201910969927A CN 112653534 B CN112653534 B CN 112653534B
Authority
CN
China
Prior art keywords
time slot
information
time
equipment
intersection
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.)
Active
Application number
CN201910969927.9A
Other languages
Chinese (zh)
Other versions
CN112653534A (en
Inventor
李允博
张德朝
王东
赵阳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910969927.9A priority Critical patent/CN112653534B/en
Publication of CN112653534A publication Critical patent/CN112653534A/en
Application granted granted Critical
Publication of CN112653534B publication Critical patent/CN112653534B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

The embodiment of the application discloses a time slot alignment method, a device, equipment and a computer readable storage medium, wherein the method comprises the following steps: acquiring first TCM overhead information sent by a first device, wherein the first TCM overhead information at least carries first time slot information of a time slot required to be used by the first device for communication with the first device; acquiring second time slot information available to the user; determining a target time slot used for communicating with the first device based on the first time slot information and the second time slot information; and controlling the first device to communicate with the first device based on the target time slot.

Description

Time slot alignment method, device, equipment and computer readable storage medium
Technical Field
Embodiments of the present application relate to the field of communications technologies, and in particular, but not limited to, a method, an apparatus, a device, and a computer readable storage medium for time slot alignment.
Background
As a core technology of the next generation transport network, an optical transport network (OTN, optical Transport Network) can implement flexible scheduling and management of large-capacity services, and is becoming a mainstream technology of a backbone transport network increasingly.
In OTN, there is a lossless bandwidth adjustment technique based on ODUflex, which requires all network elements on the whole path to participate in cooperation, and the lossless bandwidth adjustment based on ODUflex does not require that the service adopts the same time slot number or continuous time slots between different nodes on the end-to-end path, but the time slot numbers of adjacent nodes must be kept consistent.
Therefore, when the OTN devices are interconnected, there is a problem that how to align a time slot number between two adjacent OTN devices, whether from the same manufacturer or from different manufacturers. If the two end devices are the same manufacturer, the ODUflex time slots in the OTUk interfaces of the two end devices need to be aligned by adopting a manual assignment mode, for example, the 1 st, 3 rd, 5 th and 7 th ODUflex time slots are used in the OTUk interfaces of the upstream device, and the same time slots need to be assigned in the OTUk interfaces of the downstream OTN device and the downstream OTN device to be in butt joint so as to realize interconnection and interworking. If the network management is a different manufacturer, the opposite equipment is informed of the same time slot assignment by means of manual notification such as a work order and the like so as to realize interconnection and interworking. Because of the uncertainty of the intercommunication time slot between every two adjacent nodes, the operation of time slot configuration exists in the same manufacturer or different manufacturers, and the operation is not completed in real time and the problem of service failure caused by configuration errors easily occurs.
Disclosure of Invention
In view of this, embodiments of the present application provide a time slot alignment method, apparatus, time slot alignment device, and computer readable storage medium.
The technical scheme of the embodiment of the application is realized as follows:
in a first aspect, an embodiment of the present application provides a slot alignment method, where the method includes:
acquiring first Tandem Connection Monitoring (TCM) overhead information sent by first equipment, wherein the first TCM overhead information at least carries first time slot information of a time slot required to be used by the first equipment for communication with the first equipment;
acquiring second time slot information available to the user;
determining a target time slot used for communicating with the first device based on the first time slot information and the second time slot information;
and controlling the first device to communicate with the first device based on the target time slot.
In a second aspect, an embodiment of the present application provides a slot alignment method, where the method includes:
acquiring service flow information of a link where the service flow information is located and fourth time slot information available for the service flow information;
according to the service flow information and the fourth time slot information, a first time slot identification set which is required to be used by the communication between the service flow information and the second equipment is determined;
And packaging the first time slot information in the first TCM overhead information and sending the first time slot information to the second equipment, wherein the first time slot information at least carries a first time slot identification set so that the second equipment determines a target time slot based on the first time slot identification set and a second time slot identification set available in the second equipment.
In a third aspect, an embodiment of the present application provides a slot alignment apparatus, including:
the first acquisition module is used for acquiring first TCM overhead information sent by the first equipment, wherein the first TCM overhead information at least carries first time slot information of a time slot required to be used by the first equipment for communication with the first equipment;
the second acquisition module is used for acquiring second time slot information which is available per se;
a first determining module, configured to determine a target time slot used for communicating with the first device based on the first time slot information and the second time slot information;
and the first control module is used for controlling the first device to communicate with the first device based on the target time slot.
In a fourth aspect, an embodiment of the present application provides a slot alignment apparatus, including:
the third acquisition module is used for acquiring the service flow information of the link where the third acquisition module is located and the fourth time slot information available for the third acquisition module;
The second determining module is used for determining a first time slot identifier set which is required to be used by the communication between the second determining module and the second equipment according to the service flow information and the fourth time slot information;
and the sending module is used for packaging the first time slot information in the first TCM overhead information and sending the first time slot information to the second equipment, wherein the first time slot information at least carries a first time slot identification set so that the second equipment can determine a target time slot based on the first time slot identification set and a second time slot identification set available in the second equipment.
In a fifth aspect of an embodiment of the present application, there is provided a slot alignment apparatus, including:
a processor; and
a memory for storing a computer program executable on the processor;
wherein the computer program when executed by a processor implements the steps of the slot alignment method described above.
In a sixth aspect of the embodiments of the present application, there is provided a computer-readable storage medium having stored therein computer-executable instructions configured to perform the steps of the slot alignment method described above.
According to the time slot alignment method, the device, the equipment and the computer readable storage medium provided by the embodiment of the application, the first equipment (such as upstream node equipment in an OTN) bears the first time slot information of the time slot required to be used for communication between the upstream node equipment and downstream node equipment through the TCM overhead, the second equipment (such as downstream node adjacent to the upstream node) determines the target time slot according to the first time slot information and the second time slot information available to the downstream node equipment, so that the automatic alignment of the time slots of the adjacent nodes is completed through the time slot information bearing by the TCM overhead bytes, and further the problem that service is not feasible due to manual configuration, cannot be completed in real time and is easy to cause configuration errors is solved.
Drawings
In the drawings (which are not necessarily drawn to scale), like numerals may describe similar components in different views. The drawings illustrate generally, by way of example and not by way of limitation, various embodiments discussed herein.
Fig. 1 is a schematic diagram of a network model based on OTUk interface interworking according to an embodiment of the present application;
fig. 2 is a schematic diagram of 5 node device networking provided in an embodiment of the present application;
fig. 3 is a schematic flow chart of a time slot alignment method according to an embodiment of the present application;
fig. 4 is a schematic diagram of a TCM overhead application scenario provided in an embodiment of the present application;
fig. 5 is a schematic diagram of a TCM overhead structure in an ODU according to an embodiment of the present application;
fig. 6 is a schematic flow chart of a time slot alignment method according to an embodiment of the present application;
fig. 7 is a schematic flow chart of a time slot alignment method according to an embodiment of the present application;
fig. 8 is a flowchart of a time slot alignment method according to an embodiment of the present application;
fig. 9 is a flowchart of a time slot alignment method according to an embodiment of the present application;
fig. 10 is a schematic diagram of a composition structure of a slot alignment apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a slot alignment apparatus according to an embodiment of the present application.
Detailed Description
The present application will be further described in detail with reference to the accompanying drawings, for the purpose of making the objects, technical solutions and advantages of the present application more apparent, and the described embodiments should not be construed as limiting the present application, and all other embodiments obtained by those skilled in the art without making any inventive effort are within the scope of the present application.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is to be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with one another without conflict.
If a similar description of "first/second" appears in the application document, the following description is added, in which the terms "first/second/third" are merely distinguishing between similar objects and not representing a particular ordering of the objects, it being understood that the "first/second/third" may be interchanged with a particular order or precedence, if allowed, so that embodiments of the application described herein may be practiced otherwise than as illustrated or described herein.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of the application only and is not intended to be limiting of the application.
In order to better understand the time slot alignment method, apparatus, device and computer readable storage medium provided in the embodiments of the present application, first, the current situation and problems in the related art will be described in an analysis.
The OTN equipment is a public bearing platform used as a plurality of services, can be accessed into Ethernet services, time division multiplexing (TDM, time-division multiplexing) services, wavelength services and the like, and is used for converging and integrating small particle services through electric cross connection, multiplexing the small particle services into a line signal with higher speed, and multiplexing the line signals to form a plurality of paths to enter an optical fiber for transmission.
At present, the China deploys an OTN electric cross network with a global standard maximum based on 100G, and the OTN electric cross network is widely applied to the provincial trunk line, the provincial trunk line and the metropolitan area network level, and can bear home-guest services, internet services, group client services and the like.
Because a large number of OTN devices are deployed in the existing network, and a scene of OTN interconnection of different manufacturers exists, in order to realize the management functions of cross-domain performance alarm acquisition, fault location, time delay measurement and the like of the service, the interface interconnection adopting the OTUk format of the optical path transmission unit can fully apply the perfect overhead of the OTN. The cross-domain transparent transmission of network management information can be realized through the overhead of a general communication channel (GCC, general Communication Channel). Fig. 1 is a schematic diagram of a network model based on OTUk interface interworking, as shown in fig. 1, in the OTUk interface interworking model, the method includes: the service layer 101, the adaptation layer 102, and the OTN service layer 103, where the service layer 101 may include SDH service, OTUk, ethernet service, or other services, and the service layer 101 performs service adaptation or mapping through the adaptation layer 102, and in this embodiment, adaptation or mapping is typically performed through GAM, AMP, or GFG. The traffic in the traffic layer 101 is processed through the OTN service layer 103 via adaptation or mapping by the adaptation layer 102. And in the OTN service layer, the overhead processing and ODUk multiplexing are carried out, and the section overhead processing is carried out to communicate with each other through an OTUk interface. Therefore, a plurality of low-speed customer services can be multiplexed to one high-order OTUk interface for interconnection and interworking so as to simplify inter-domain optical fiber connection. Thus, interworking in OTUk format is preferred in current network applications.
At present, an ODUflex multiplexing mode is mainly adopted for carrying ethernet signals by OTN devices, first, ethernet services are encapsulated into ODUflex through generic framing procedure (GFP, generic Framing Procedure), and a corresponding number of ODUflex is filled into ODUk channels according to the size of the services. The rate of ODUflex was 1.25G. N ODUflex are needed to carry ethernet traffic, where n represents the number of tributary slots occupied by ODUflex, e.g. 8 ODUflex are needed for 10GE ethernet traffic full traffic and 80 ODUflex are needed for 100GE ethernet traffic full traffic.
However, the ethernet traffic and the interface rate are not necessarily matched, and an interface with a 10GE rate may only have 5Gbit/s traffic, so that the device only needs to correspondingly configure 4 ODUflex to carry 5Gbit/s traffic, and the mapping flow is 10ge→4 oduflex→odu2→otu2, and vice versa; or an interface with a rate of 100GE may only have 25Gbit/s of traffic, so that the device only needs 20 ODUflex to carry 25Gbit/s of traffic, and the mapping flow is 100GE→20 ODUflex→ODU4→OTU4, and vice versa. The allocation of ODUflex slot numbers exists when the ODUflex number is allocated, and these slots may be consecutive or discontinuous.
The OTN technology has a lossless bandwidth adjustment of ODUflex, which requires all network elements on the whole path to participate in cooperation, and the lossless bandwidth adjustment based on ODUflex does not require that the service adopts the same time slot number or continuous time slots between different nodes on the end-to-end path, but the time slot numbers of adjacent nodes must be kept consistent.
Fig. 2 is a schematic diagram of a 5-node device networking, as shown in fig. 2, node 201 and node 202 use 1 st, 2 nd, 3 rd and 4 th time slots for intercommunication, node 202 and node 203 use 3 rd, 4 th, 5 th and 6 th time slots, node 203 and node 204 use 7 th, 8 th, 9 th and 10 th time slots, node 204 and node 205 use 1 st, 2 nd, 3 rd and 4 th time slots, and because of the uncertainty of the intercommunicating time slots between every two adjacent nodes, no matter the same manufacturer or different manufacturers, there is an operation of time slot network management configuration, which is not completed in real time and configuration errors easily occur, resulting in service failure.
Based on the problems of the related art, the embodiment of the present application provides a time slot alignment method, where the method provided in this embodiment may be implemented by a computer program, and the computer program completes each step in the method provided in this embodiment when executed. In some embodiments, the computer program may be executed by a processor in the OTN device. Fig. 3 is a schematic flow chart of a time slot alignment method according to an embodiment of the present application, as shown in fig. 3, where the method includes:
In step S301, the second device acquires first tandem connection monitoring (TCM, tandem Concatenation Monitoring) overhead information transmitted by the first device.
The first TCM overhead information at least carries first time slot information of a time slot requested to be used by the first device to communicate with the first device. The first time slot information may be a time slot 1 or a time slot 2, or may be a time slot 1 and a time slot 2.
In the embodiment of the present application, the second device may be considered as a downstream node device in the OTN, and the first device may be considered as an upstream node device in the OTN, and the first device and the second device are adjacent node devices. In the embodiment of the present application, the first device and the second device are adjacent to each other, which means that there is no third device between the first device and the first device. With continued reference to fig. 2, exemplary, node 201 and node 202 are neighboring node devices.
In the embodiment of the present application, the first TCM overhead information may implement link connection monitoring, and fig. 4 is a schematic diagram of a TCM overhead application scenario provided in the embodiment of the present application, as shown in fig. 4, where the application scenario includes multiple users, multiple operators, multiple sub-networks, and multiple equipment manufacturers. While TCM overhead may provide at most a level 6 connection monitoring functionality, hierarchical and piecewise management may be implemented for multiple operators, multiple vendors, multiple subnet environments, or multiple users, and the first TCM overhead information may be transparent in the OTN network and may be identified by different vendors or operators.
In the embodiment of the application, the first device can encapsulate the first time slot information of the request to use the time slot into the TCM overhead and send the information to the second device. Specifically, slot information of a first device usage slot is padded into reserved bytes in an optical channel data unit (ODU, optical Channel Data Unit) TCM overhead. Fig. 5 is a schematic diagram of TCM overhead structure in ODU, as shown in fig. 5, in general, TCM overhead includes tcm#1 to tcmi#n, where n is at most 6, and tcm#1 is already occupied, and tcm#2 to tcmi#n includes reserved (RES, reSerVation) bytes of 12 bits, 8 bits in the first byte and 4 bits in the third byte. Thus, by using these unused RES bytes, slot-related information of ODUflex can be padded into the RES bytes, and slot identification can be provided for each device along the way. In the embodiment of the application, the first time slot information is filled in the reserved byte.
In the embodiment of the application, the first device communicates with the second device, that is, the ODUflex path between the first device and the second device communicates. In the embodiment of the application, the first time slot information of the time slot required for the first device to communicate with the second device may include all time slots of the time slot used between the first device and the second device, or may include only time slots needing to be adjusted between the first device and the second device.
In step S302, the second device acquires second slot information available to itself.
In the embodiment of the application, the second equipment can acquire all time slot information of the second equipment, can acquire occupied time slot information, and determines second time slot information available to the second equipment through all time slot information and occupied time slot information. In the embodiment of the present application, the occupied time slot information may be 0. In the embodiment of the present application, if the occupied time slot information is 0, the second device may be considered as an OTN device newly added to the OTN network. Correspondingly, in some embodiments, when the occupied slot information is not 0, no. 3 slot, no. 4 slot, no. 5 slot have been used between the first device and the second device. At this time, the first device increases the number 1 time slot and the number 2 time slot according to the traffic service information, and then the first time slot information may only include the number 1 time slot and the number 2 time slot, or may also include the number 1 time slot, the number 2 time slot, the number 3 time slot, the number 4 time slot and the number 5 time slot. In other embodiments, when the occupied time slot information is not 0, and the first device needs to use the number 1 time slot, the number 2 time slot, the number 3 time slot, the number 4 time slot and the number 5 time slot according to the traffic service information, the first time slot information includes the number 1 time slot, the number 2 time slot, the number 3 time slot, the number 4 time slot and the number 5 time slot.
In step S303, the second device determines, based on the first slot information and the second slot information, the target slot information used for communicating with the first device.
In the embodiment of the application, the second device can determine the target time slot to be configured according to the first time slot information and the second time slot information. In the embodiment of the present application, the first time slot information may include a first time slot identifier set, and the second time slot information may include a second identifier set. The target time slot information can be determined by comparing the numbers in the first and second identification sets with the number of identifications in the first and second identification sets. In the embodiment of the application, the target time slot information is a time slot which is determined to be used by the first equipment for communication with the first equipment, namely, when the target time slot information is obtained, the time slot between the first equipment and the second equipment is indicated to be aligned.
In step S304, the second device controls itself to communicate with the first device based on the target time slot.
In the embodiment of the application, the second device controls itself to use the target time slot based on the determined target time slot, so that the time slots used by the ODUflex paths between the first device and the second device are the same. Thereby causing the first device and the second device to communicate.
By the time slot alignment method, the first device (such as the upstream node device) carries the first time slot information through the TCM overhead, the second device (such as the adjacent downstream node device) determines the target time slot according to the first time slot information and the second time slot information available by itself, and the automatic alignment of the adjacent node time slots is achieved through the TCM overhead byte carrying the time slot information, so that the problem that the service cannot be realized due to manual configuration, the real-time configuration cannot be achieved, and the configuration error is easy to occur is avoided.
The embodiment of the application further provides a time slot alignment method, and fig. 6 is a schematic flow chart of the time slot alignment method provided in the embodiment of the application. As shown in fig. 6, the slot alignment method includes:
in step S601, the second device acquires first TCM overhead information sent by the first device.
The first TCM overhead information at least carries first time slot information of a time slot requested to be used by the first device to communicate with the first device.
In step S602, the second device acquires second slot information available to itself.
In step S603, the second device obtains a first set of time slot identifiers included in the first time slot information, and obtains a second set of time slot identifiers included in the second time slot information.
In the embodiment of the application, the second device can obtain the first time slot identification set of the time slot requested to be used by the first device for communication with the second device by analyzing the first identification information. For example, the time slot identifiers requested to be used by the first device and the second device are as follows: time slot 1, time slot 2, time slot 3, the corresponding obtained first set of time slot identities may be denoted {1, 2, 3}. The second device may obtain the second set of timeslot identifiers by reading second identification information available to itself, for example, the second device may obtain the second set of timeslot identifiers by using the second identification information: the corresponding obtained second set of time slots may be denoted as {1, 2, 3, 4, 5, 6}.
In step S604, the second device determines a first intersection of the first set of slot identifications and the second set of slot identifications.
Illustratively, the first set of time slot identifications is {1, 2, 3}, and the second set of time slot identifications is {1, 2, 3, 4, 5, 6}. The first intersection is {1, 2, 3}.
In step S605, the second device compares the number of slots of the first intersection with the number of first slots included in the first slot identification set.
In the embodiment of the present application, when the number of the first timeslots included in the first timeslot identifier set is the same as the number of timeslots included in the first intersection set, step S606 is performed.
In the embodiment of the present application, the first time slot identifier set is {1, 2, 3}, that is, the time slots {1, 2, 3} that are required for the first device to communicate with the second device. And the time slots available to the second device also include 1, 2, 3. Thus, the second device may provide slot No. 1, slot No. 2, slot No. 3 to make the slots on the ODUflex path between the first device and the second device the same.
In step S606, the second device determines a target slot based on the slot identification included in the first intersection.
In the embodiment of the application, the time slot corresponding to the time slot included in the first intersection is determined as the target time slot.
Illustratively, following the above example, a first intersection of {1, 2, 3} is obtained, i.e., slot No. 1, slot No. 2, slot No. 3 are targeted slots for interworking between the first device and the second device.
In step S607, the second device controls itself to communicate with the first device based on the target slot.
In the embodiment of the present application, the number of time slots included in the first intersection is smaller than the first time slot number, which indicates that the available time slots in the second device cannot provide the time slots corresponding to the first time slot information, and step S608 is executed to further determine whether the number of the second time slots in the second time slot identifier set is greater than or equal to the first time slot number.
Illustratively, the set of first intersections is {1, 2, 3}, that is to say the first intersection comprises a number of slots of 3. The first time slot identification set is {1, 2, 3, 4, 5, 6}, that is, the number of the first time slots of the first identification set is 6, which indicates that No. 4 time slots, no. 5 time slots and No. 6 time slots cannot be provided in the second device.
In step S608, the second device determines whether the second number of timeslots in the second timeslot identification set is greater than or equal to the first number of timeslots.
In some embodiments, when the number of second time slots is greater than or equal to the number of first time slots, the number of time slots required for the second device to communicate with the second device is characterized by the second time slots, except that the available time slots and the time slots in the first time slot information are not corresponding. At this time, step S609 is performed to transmit the second slot information to the first device so that the first device adjusts the slot used for communication based on the second slot information.
In some embodiments, when the number of second slots is less than the number of first slots, the second device is not able to provide enough slots, and at this time, step S612 is performed, where the second device sends second slot alignment failure information to the first device. Of course, in some embodiments, step S612 may not be performed, but the first device and the second device are not interconnected.
In step S609, the second device sends the second slot information to the first device.
In the embodiment of the application, the second device sends the second time slot information to the first device in order to tell the first device of the time slot information available to the second device, so that the first device adjusts the first time slot information based on the second time slot information to obtain the third time slot information.
In the embodiment of the application, the first equipment determines a second intersection of a fourth time slot identification set and the second time slot identification set according to the fourth time slot identification set which is available per se; and when the number of the first time slots included in the first time slot identification set is smaller than or equal to the number of the time slots included in the second intersection, determining third time slot information of the time slots used for communicating with the user based on the time slot identification included in the second intersection. The first device encapsulates the third time slot information in the second TCM overhead information and sends the encapsulated third time slot information to the second device, so that the second device performs step S610.
In some embodiments, when the number of first time slots included in the first time slot identification set is greater than the number of time slots included in the second intersection, the first device sends first time slot alignment failure information, where the first time slot alignment failure information is used to characterize that the number of time slots included in the intersection of the fourth time slot identification set and the second time slot identification set that are available in the first device is less than the first time slot number. That is, the first device informs the second device that the first device does not have a corresponding number of free slots in the second device. The flow is now ended (not shown).
In step S610, the second device acquires second TCM overhead information sent by the first device.
In the embodiment of the present application, the second overhead information includes third time slot information, the number of time slots included in the third time slot information is equal to the number of the first time slots, and the time slot numbers included in the third time slot information can be used in both the first device and the second device.
In step S611, the second device determines a target time slot used for communicating with the first device based on the third time slot information and the second time slot information carried in the second TCM overhead information. When the target slot is determined, step S607 is performed, ending the flow.
In step S612, the second device sends second slot alignment failure information to the first device.
In the embodiment of the present application, when the number of the second time slots is smaller than the number of the first time slots, the second device is characterized as not providing enough available time slots. And sending time slot alignment failure information to the first device at the moment. The flow ends.
By the time slot alignment method, time slot alignment is realized through handshake confirmation of the first equipment and the second equipment, so that interconnection and interworking between OTN adjacent nodes are realized, and further, the problem that service is not available due to manual configuration, cannot be completed in real time and configuration errors easily occur is avoided.
Fig. 7 is a schematic flow chart of a time slot alignment method provided by the embodiment of the present application, as shown in fig. 7, where the method includes:
in step S701, the first device obtains traffic information of a link where the first device is located and fourth time slot information available to the first device.
In the embodiment of the present application, the second device may be considered as a downstream node device in the OTN, and the first device may be considered as an upstream node device in the OTN, where the first device and the second device are adjacent.
In step S702, the first device determines, according to the traffic information and the fourth time slot information, a first set of time slot identifiers that is requested to be used by itself for communication with the second device.
When the service flow information of the link where the first device is located is acquired by the first device, for example, a 10GE ethernet service is accessed into the device, and only 5Gbit/s flows, so that the device configures 4 ODUflex timeslots, and the 4 timeslots are exchanged to the OTUk line interface through the OTN device cross-connect matrix. At this time, the first device acquires the self-available fourth time slot information. Four available time slots are selected from the fourth time slot information and are determined as a first time slot identification set requested to be used by the first device and the second device. In some embodiments, the traffic used between the first device and the second device is 5Gbit/s, and when receiving a 10Gbit/s traffic information, 4 ODUflex timeslots need to be added on the basis of the timeslots being used by the first device and the second device. The first set of slot identities may also be an identity comprising only 4 slots that need to be added.
In step S703, the first device encapsulates the first slot information in the first TCM overhead information and sends the first slot information to the second device.
And the first time slot information at least carries a first time slot identification set so that the second equipment determines a target time slot based on the first time slot identification set and a second time slot identification set available in the second equipment.
Following the example described above, e.g., an OTU4 line interface, there would be 80 slots inside, and since there is only 5Gbit/s traffic, 4 slots would need to be configured. At this time, the first device configures 4 line slots for the traffic, for example, the configured line slots are 1 st, 2 nd, 3 rd, and 4 th slots, and we fill the slot information of the line slots being 1 st, 2 nd, 3 rd, and 4 th slots into bits 1 st to 7 th of the first byte of tcmi#2, and the 7 bits may represent 80 ODUflex slots: 000 0000 represents time slot 1, 000 0001 represents time slot 2, 000 0010 represents time slot 3 … …,100 1111 represents time slot 80. Using the first 4 slots occupies 000 0000, 000 0001, 000 0002, 000 0003, and so on. The second device determines a target time slot based on the first set of time slot identifications and a second set of time slot identifications available in the second device.
In some embodiments, when the number of slots included in the first intersection set obtained by the second device according to the first slot identification set and the second slot identification set is smaller than the first slot number and the second slot number is greater than or equal to the first slot number, the second device sends the second slot information to the first device, and at this time, the first device performs the following steps S704 to S709:
in step S704, the first device receives the second slot information sent by the second device.
Here, the second time slot information includes at least a second time slot identifier set, which is used to characterize time slot information available in the second device. Illustratively, the second set of time slot identifications included in the second time slot information is: {1, 3, 4, 5, 6}.
Step S705, the first device determines, according to a fourth set of time slot identifiers available to itself, a second intersection of the fourth set of time slot identifiers and the second set of time slot identifiers.
In the embodiment of the present application, the fourth set of time slot identifiers available to the first device is {1, 2, 3, 4, 5, 6}, and then the second intersection of the fourth set of time slot identifiers and the second set of time slot identifiers is: {1, 3, 4, 5, 6}. In the embodiment of the present application, when the number of the first timeslots included in the first timeslot identifier set is greater than the number of timeslots included in the second intersection set, it is indicated that there are not enough corresponding timeslots in the first device and the second device, and step S706 is executed to send first timeslot alignment failure information, where the flow ends.
In some embodiments, when the number of the first slots included in the first slot identifier set is less than or equal to the number of the slots included in the second intersection set, the first device and the second device may be characterized as providing a sufficient number of slots corresponding to each other, and step S707 is performed.
Following the example above, the first set of slot identifications is {1, 2, 3, 4}, since the first number of slots is 4. That is, 4 slots are required between the first device and the second device. And the second intersection of the second set of time slot identifications and the fourth time slot identification of the second time slot information is {1, 3, 4, 5, 6}, i.e. the number of time slots included in the second intersection is 5. I.e. the first device and the second device may provide a sufficient number of time slots corresponding to each other, S707 is performed.
In step S706, the first device sends first slot alignment failure information to the second device. At this point the flow ends.
In step S707, the first device determines third slot information of a slot used for communication with itself based on the slot identification included in the second intersection.
Following the example above, where the second intersection is {1, 3, 4, 5, 6}, then 4 slot identities may be selected from the second intersection to determine the third slot of the slots used to communicate with itself. E.g., the third slot information is determined to be 1, 3, 4, 5.
In step S708, the first device encapsulates the third time slot information in the second TCM overhead information and sends the encapsulated third time slot information to the second device, so that the second device determines a target time slot used for communication with itself based on the third time slot information and the second time slot information.
Following the above example, the first device transmits the third slot information as {1, 3, 4, 5} package with the second TCM overhead information to the second device. Since the slots corresponding to the third slot information {1, 3, 4, 5} are all available in the second device, the second device can determine {1, 3, 4, 5} as the target slot for use.
In step S709, the first device controls itself to communicate with the second device based on the target slot. At this point the flow ends.
In the embodiment of the application, the first equipment determines the used time slot information according to the traffic service and the self available time slot, encapsulates the time slot information in the TCM overhead and sends the time slot information to the second equipment, and realizes alignment through handshake confirmation of the first equipment and the second equipment, thereby realizing interconnection and interworking between OTN nodes. The manual intervention initiating line interface time slot configuration process is omitted, configuration errors are avoided, and service configuration time is shortened.
Based on the foregoing embodiments, the embodiment of the present application provides a time slot alignment method, which is applied to a first device and a second device, and fig. 8 is a schematic implementation flow chart of the time slot alignment method provided by the embodiment of the present application, as shown in fig. 8, where the method includes:
in step S801, the first device obtains traffic information of a link where the first device is located and fourth time slot information available to the first device.
Step S802, the first device determines a first time slot identifier set which is required to be used by itself for communication with the second device according to the service flow information and the fourth time slot information.
In step S803, the first device encapsulates the first slot information in the first TCM overhead information and sends the first slot information to the second device.
In step S804, the second device obtains the first time slot information and obtains the second time slot information available to itself.
In step S805, the second device obtains a first time slot identifier set included in the first time slot information, and obtains a second time slot identifier set included in the second time slot information.
In step S806, the second device determines a first intersection of the first set of slot identifications and the second set of slot identifications.
In step S807, the second device determines whether the first number of slots is the same as the number of slots included in the first intersection.
If the number of the first time slots is the same as the number of time slots included in the first intersection, step 808 is performed, and if the number of the first time slots is different, step 810 is performed.
In step S808, the second device determines a target slot based on the slot identification included in the first intersection.
In step S809, the second device controls itself to communicate with the first device based on the target time slot.
In step S810, the second device determines whether the second number of timeslots of the second timeslot identification set is greater than or equal to the first number of timeslots.
In the embodiment of the present application, when the number of the second time slots is smaller than the number of the first time slots, step S811 is performed, and when the number of the second time slots is greater than or equal to the number of the first time slots, step S812 is performed.
In step S811, the second device sends second slot alignment failure information to the first device.
Step S812, the second device sends the second time slot information to the first device, so that the first device adjusts the first time slot information based on the second time slot information to obtain third time slot information.
Step S813, the first device receives the second timeslot information, and determines a second union of the fourth timeslot identification set and the second timeslot identification set according to the fourth timeslot identification set available by itself.
In step S814, the first device determines whether the number of first timeslots included in the first timeslot identification set is greater than the number of timeslots included in the second intersection.
When the number of the first time slots included in the first time slot identification set is greater than the number of the time slots included in the second intersection, step S815 is entered; if it is less than or equal to the above, the process advances to step S816.
In step S815, the first device sends first slot alignment failure information to the second device.
In step S816, the first device determines third slot information of a slot used for communication with itself based on the slot identification included in the second intersection.
In step S817, the first device encapsulates the third timeslot information in second TCM overhead information and sends the encapsulated third timeslot information to the second device, so that the second device determines a target timeslot used for communicating with itself based on the third timeslot information and the second timeslot information.
In step S818, the second device determines a target time slot used for communicating with the first device based on the third time slot information and the second time slot information carried in the second TCM overhead information.
In step S819, the second device controls itself to communicate with the first device based on the target time slot.
In the embodiment of the application, the first equipment carries the first time slot information through the TCM overhead and sends the first time slot information to the second equipment, and the second equipment determines the target time slot according to the first time slot information and the second time slot information available per se, so that the automatic alignment of the time slots of the adjacent nodes is realized through the TCM overhead byte carrying the time slot information, and when the alignment is realized through the handshake confirmation of the first equipment and the second equipment, the interconnection and the intercommunication between the OTN nodes are realized. When the number of time slots included in the first intersection is smaller than the first number of time slots and the second number of time slots is greater than or equal to the first number of time slots, alignment is achieved through handshake confirmation of the first equipment and the second equipment, and therefore interconnection and interworking between OTN nodes are achieved. And further, the problem that the service is not available due to manual configuration, cannot be completed in real time and is easy to cause configuration errors is avoided.
Based on the foregoing embodiments, the embodiment of the present application further provides a time slot alignment method, and fig. 9 is a schematic flow chart of the time slot alignment method provided by the embodiment of the present application, as shown in fig. 9, where the method includes:
in step S901, the upstream node configures a corresponding timeslot, and encapsulates the timeslot number and timeslot number information into TCM overhead bytes.
In the embodiment of the present application, when a service enters an OTN device tributary interface, a device network manager of an upstream device configures a corresponding time slot according to the size of the tributary service flow, for example, a 10GE ethernet service is accessed into the device, and only 5Gbit/s of flow is provided, so that the device configures 4 ODUflex time slots, the 4 ODUflex time slots are exchanged to an OTUk line interface, for example, an OTU4 interface, through an OTN device cross-connection matrix, 80 time slots are provided therein, the exchange process configures 4 line time slots, for example, a 1 st time slot, a 2 nd time slot, a 3 rd time slot, and a 4 th time slot for the service, and we fill the time slot information into bits 1 to 7 of a first byte of tcmi#2, where the 7 bits may represent 80 ODUflex time slots: 000 0000 represents time slot number 1, 000 0001 represents time slot number 2, 000 0010 represents time slot number 3, … …,100 1111 represents time slot 80. Correspondingly, slots 000 0000, 000 0001, 000 0002, 000 0003 are occupied when slots 1, 2, 3, 4 are used, and so on. And sends the TCM overhead bytes to the downstream device.
In step S902, the downstream node parses the number of slots and the slot number contained in the TCM overhead.
In step S903, the downstream node determines whether the available time slot is smaller than the time slot required for interworking.
In the embodiment of the application, if the available time slot is smaller than the time slot required by the intercommunication, the interconnection and the intercommunication fail.
In some embodiments, the self available time slot is larger than the required time slot for interworking, step S904 is performed.
In step S904, the downstream node determines whether the available slot numbers are consistent with the interworking required slot.
In the embodiment of the present application, when the downstream node determines that the available time slot is consistent with the time slot required for interworking, step S905 is performed.
In some embodiments, when the downstream node determines that the available time slot is inconsistent with the time slot required for interworking, step S906 is performed.
In step S905, the downstream node starts to increase the time slot corresponding to the required time slot of the link connection.
In the embodiment of the application, the downstream node and the upstream node are interconnected and communicated only when the information of the increased time slot configured by the downstream node is consistent with the time slot information notified by the opposite end through the TCM, and the flow is ended.
In step S906, the downstream node reversely inserts the available slot number information, and negotiates whether the upstream node can adjust the slot number.
In the embodiment of the application, the upstream node can readjust the time slot number of the line interface according to the available time slot number of the downstream node so as to achieve the consistency of the time slot information of the two nodes.
In step S907, the upstream node confirms whether there is a corresponding available slot.
If there is a corresponding available time slot to achieve the consistency of the time slot information of the two nodes, the upstream node will issue the TCM overhead after updating the line time slot again and transmit the TCM overhead to the downstream node, and the downstream node starts to increase the time slot number of the link connection. The downstream node and the upstream node are interconnected and communicated, and the flow is ended.
If no corresponding available time slot exists, the interconnection and interworking between the downstream node and the upstream node fails, and the process is ended.
In the embodiment of the application, the OTN overhead byte is used, the information of the time slot used by the interconnection line interface is added, and alignment is realized through the handshake confirmation of the upstream node and the downstream node, so that the interconnection between the OTN nodes is realized, further, the manual intervention initiating line interface time slot configuration process is omitted, the interconnection between the OTN adjacent nodes is realized, and the service configuration time is shortened.
Based on the foregoing embodiments, the embodiments of the present application provide a slot alignment apparatus, where the apparatus includes units included, and modules included in the units may be implemented by a processor in a computer device; of course, the method can also be realized by a specific logic circuit; in practice, the processor may be a central processing unit (CPU, central Processing Unit), a microprocessor (MPU, microprocessor Unit), a digital signal processor (DSP, digital Signal Processing), or a field programmable gate array (FPGA, field Programmable Gate Array), or the like.
Fig. 10 is a schematic structural diagram of a time slot alignment apparatus according to an embodiment of the present application, as shown in fig. 10, the time slot alignment apparatus 1000 includes a first obtaining module 1001, a second obtaining module 1002, a first determining module 1003, and a first control module 1004. Wherein:
the first obtaining module 1001 is configured to obtain first TCM overhead information sent by a first device, where the first TCM overhead information at least carries first time slot information of a time slot requested to be used by the first device to communicate with the first device.
The second obtaining module 1002 is configured to obtain second timeslot information that is available to the second obtaining module itself.
The first determining module 1003 is configured to determine a target time slot used for communicating with the first device based on the first time slot information and the second time slot information.
The first control module 1004 is configured to control itself to communicate with the first device based on the target time slot.
In some embodiments, the first determining module 1003 further includes: a first acquisition unit, a first determination unit, a second determination unit, wherein:
the first obtaining unit is configured to obtain a first time slot identifier set included in the first time slot information, and obtain a second time slot identifier set included in the second time slot information.
The first determining unit is configured to determine a first intersection of the first set of time slot identifiers and the second set of time slot identifiers.
The second determining unit is configured to determine, when the number of the first timeslots included in the first set of timeslot identifiers is the same as the number of timeslots included in the first intersection, a target timeslot based on the timeslot identifiers included in the first intersection.
In some embodiments, the first determining module 1003 further includes: the first judging unit, the first transmitting unit and the third determining unit. Wherein, the liquid crystal display device comprises a liquid crystal display device,
the first judging unit is configured to judge whether a second time slot number of the second time slot identification set is greater than or equal to the first time slot number when the time slot number included in the first intersection is smaller than the first time slot number;
the first sending unit is configured to send the second time slot information to the first device when the number of the second time slots is greater than or equal to the number of the first time slots, so that the first device adjusts the first time slot information based on the second time slot information to obtain third time slot information;
the third determining unit is configured to determine, when second TCM overhead information sent by the first device is acquired, a target time slot used for communicating with the first device based on third time slot information and the second time slot information carried in the second TCM overhead information.
In some embodiments, the first determining module 1003 further includes:
the first receiving unit is configured to receive first timeslot alignment failure information sent by the first device, where the first timeslot alignment failure information is used to characterize that the number of timeslots included in an intersection of a fourth timeslot identification set available in the first device and the second timeslot identification set is smaller than the first timeslot number.
In some embodiments, the first determining module 1003 further includes:
and the second sending unit is used for sending second time slot alignment failure information to the first equipment when the number of the second time slots is smaller than that of the first time slots.
Based on the foregoing embodiment, the embodiment of the present application provides a time slot alignment device, where the time slot alignment device includes a third acquisition module, a second determination module, and a first transmission module. Wherein, the liquid crystal display device comprises a liquid crystal display device,
the third obtaining module is configured to obtain service flow information of a link where the third obtaining module is located and fourth time slot information available to the third obtaining module.
And the second determining module is used for determining a first time slot identifier set which is required to be used by the communication between the second determining module and the second equipment according to the service flow information and the fourth time slot information.
The first sending module is configured to encapsulate first time slot information in first TCM overhead information and send the first time slot information to a second device, where the first time slot information at least carries a first time slot identifier set, so that the second device determines a target time slot based on the first time slot identifier set and a second time slot identifier set available in the second device.
In some embodiments, the apparatus further comprises: a first receiving module, a third determining module, a second transmitting module, wherein,
the first receiving module is configured to receive second timeslot information sent by the second device.
The third determining module is configured to determine, according to the fourth time slot identifier set available by itself, a second union of the fourth time slot identifier set and the second time slot identifier set.
The second sending module is configured to send first slot alignment failure information to a second device when the number of first slots included in the first slot identification set is greater than the number of slots included in the second intersection set.
In some embodiments, the apparatus further comprises: a fourth determining module, a third transmitting module, wherein:
the fourth determining module is configured to determine third time slot information of a time slot used for communicating with the fourth determining module based on the time slot identifier included in the second intersection when the number of the first time slots included in the first time slot identifier set is less than or equal to the number of the time slots included in the second intersection.
And the third sending module is used for packaging the third time slot information in second TCM overhead information and sending the third time slot information to second equipment so that the second equipment determines a target time slot used for communicating with the second equipment based on the third time slot information and the second time slot information.
The description of the apparatus embodiments above is similar to that of the method embodiments above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the embodiments of the apparatus of the present application, please refer to the description of the embodiments of the method of the present application.
It should be noted that, in the embodiment of the present application, if the above-mentioned time slot alignment method is implemented in the form of a software functional module, and sold or used as a separate product, the time slot alignment method may also be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied in essence or a part contributing to the prior art in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read Only Memory (ROM), a magnetic disk, an optical disk, or other various media capable of storing program codes. Thus, embodiments of the application are not limited to any specific combination of hardware and software.
Accordingly, an embodiment of the present application provides a computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the slot alignment method provided in the above embodiment.
An embodiment of the present application provides a time slot alignment device, and fig. 11 is a schematic structural diagram of the time slot alignment device provided in the embodiment of the present application, as shown in fig. 11, where, the device 1100 includes: a processor 1101, at least one communication bus 1102, a user interface 1103, at least one external communication interface 1104 and a memory 1105. Wherein communication bus 1102 is configured to enable connected communication between the components. The user interface 1103 may include a display screen and the external communication interface 1104 may include a standard wired interface and a wireless interface, among others. Wherein the processor 1101 is configured to execute a slot alignment program stored in a memory to implement the steps in the slot alignment method provided in the above embodiment
The description of the slot alignment apparatus and the storage medium embodiments above is similar to that of the method embodiments described above, with similar advantageous effects as the method embodiments. For technical details not disclosed in the slot alignment apparatus and the storage medium embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
It should be noted here that: the description of the storage medium and apparatus embodiments above is similar to that of the method embodiments described above, with similar benefits as the method embodiments. For technical details not disclosed in the embodiments of the storage medium and the apparatus of the present application, please refer to the description of the method embodiments of the present application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. It should be understood that, in various embodiments of the present application, the sequence numbers of the foregoing processes do not mean the order of execution, and the order of execution of the processes should be determined by the functions and internal logic thereof, and should not constitute any limitation on the implementation process of the embodiments of the present application. The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above described device embodiments are only illustrative, e.g. the division of the units is only one logical function division, and there may be other divisions in practice, such as: multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. In addition, the various components shown or discussed may be coupled or directly coupled or communicatively coupled to each other via some interface, whether indirectly coupled or communicatively coupled to devices or units, whether electrically, mechanically, or otherwise.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units; can be located in one place or distributed to a plurality of network units; some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may be separately used as one unit, or two or more units may be integrated in one unit; the integrated units may be implemented in hardware or in hardware plus software functional units.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, and the foregoing program may be stored in a computer readable storage medium, where the program, when executed, performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present application may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solutions of the embodiments of the present application may be embodied essentially or in part contributing to the prior art in the form of a software product stored in a storage medium, comprising instructions for causing an AC to perform all or part of the methods described in the various embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a removable storage device, a ROM, a magnetic disk, or an optical disk.
The foregoing is merely an embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (11)

1. A time slot alignment method, for use with a second device, the method comprising:
Acquiring first Tandem Connection Monitoring (TCM) overhead information sent by first equipment, wherein the first TCM overhead information at least carries first time slot information of a time slot required to be used by the first equipment for communication with the first equipment;
acquiring second time slot information available to the user;
acquiring a first time slot identification set included in the first time slot information, and acquiring a second time slot identification set included in the second time slot information;
determining a first intersection of the first set of time slot identifications and the second set of time slot identifications;
when the number of the first time slots included in the first time slot identification set is the same as the number of the time slots included in the first intersection, determining a target time slot based on the time slot identification included in the first intersection;
controlling the first device to communicate with the first device based on the target time slot;
the first device and the second device are adjacent node devices in the optical transport network OTN.
2. The slot alignment method of claim 1, wherein the method further comprises:
when the number of time slots included in the first intersection is smaller than the first number of time slots, judging whether the second number of time slots of the second time slot identification set is larger than or equal to the first number of time slots;
When the number of the second time slots is greater than or equal to the number of the first time slots, sending the second time slot information to the first equipment so that the first equipment adjusts the first time slot information based on the second time slot information to obtain third time slot information;
and when second TCM overhead information sent by the first equipment is acquired, determining a target time slot used for communicating with the first equipment based on third time slot information and the second time slot information carried in the second TCM overhead information.
3. The slot alignment method of claim 2, wherein the method further comprises:
and receiving first time slot alignment failure information sent by the first device, wherein the first time slot alignment failure information is used for representing that the number of time slots included in an intersection of a fourth time slot identification set available in the first device and the second time slot identification set is smaller than the first time slot number.
4. The slot alignment method of claim 2, wherein the method further comprises:
and when the number of the second time slots is smaller than that of the first time slots, sending second time slot alignment failure information to the first equipment.
5. A method of slot alignment, for use with a first device, the method comprising:
acquiring service flow information of a link where the service flow information is located and fourth time slot information available for the service flow information;
according to the service flow information and the fourth time slot information, a first time slot identification set which is required to be used by the communication between the service flow information and the second equipment is determined;
packaging first time slot information in first TCM overhead information and sending the first time slot information to second equipment, wherein the first time slot information at least carries a first time slot identification set so that the second equipment can determine a first intersection based on the first time slot identification set and a second time slot identification set available in the second equipment; when the number of the first time slots included in the first time slot identification set is the same as the number of the time slots included in the first intersection, the second device determines a target time slot based on the time slot identification included in the first intersection;
the first device and the second device are adjacent node devices in the optical transport network OTN.
6. The time slot alignment method of claim 5, further comprising:
receiving second time slot information sent by second equipment;
Determining a second intersection of the fourth time slot identification set and the second time slot identification set according to the fourth time slot identification set which is available per se;
and when the number of the first time slots included in the first time slot identification set is larger than the number of the time slots included in the second intersection set, sending first time slot alignment failure information to the second equipment.
7. The slot alignment method of claim 6, wherein the method further comprises:
when the number of the first time slots included in the first time slot identification set is smaller than or equal to the number of the time slots included in the second intersection, determining third time slot information of the time slots used for communication with the user based on the time slot identifications included in the second intersection;
and encapsulating the third time slot information in second TCM overhead information and sending the second time slot information to second equipment so that the second equipment determines a target time slot used for communicating with the second equipment based on the third time slot information and the second time slot information.
8. A slot alignment apparatus for use with a second device, the apparatus comprising:
the first acquisition module is used for acquiring first TCM overhead information sent by the first equipment, wherein the first TCM overhead information at least carries first time slot information of a time slot required to be used by the first equipment for communication with the first equipment;
The second acquisition module is used for acquiring second time slot information which is available per se;
a first determining module, configured to obtain a first time slot identifier set included in the first time slot information, and obtain a second time slot identifier set included in the second time slot information; determining a first intersection of the first set of time slot identifications and the second set of time slot identifications; when the number of the first time slots included in the first time slot identification set is the same as the number of the time slots included in the first intersection, determining a target time slot based on the time slot identification included in the first intersection;
the first control module is used for controlling the first device to communicate with the first device based on the target time slot;
the first device and the second device are adjacent node devices in the optical transport network OTN.
9. A slot alignment apparatus for use with a first device, the apparatus comprising:
the third acquisition module is used for acquiring the service flow information of the link where the third acquisition module is located and the fourth time slot information available for the third acquisition module;
the second determining module is used for determining a first time slot identifier set which is required to be used by the communication between the second determining module and the second equipment according to the service flow information and the fourth time slot information;
A sending module, configured to encapsulate first timeslot information in first TCM overhead information and send the first timeslot information to a second device, where the first timeslot information at least carries a first timeslot identifier set, so that the second device determines a first intersection based on the first timeslot identifier set and a second timeslot identifier set available in the second device; when the number of the first time slots included in the first time slot identification set is the same as the number of the time slots included in the first intersection, the second device determines a target time slot based on the time slot identification included in the first intersection;
the first device and the second device are adjacent node devices in the optical transport network OTN.
10. A slot alignment apparatus, comprising:
a processor; and
a memory for storing a computer program executable on the processor;
wherein the computer program when executed by a processor implements the steps of the slot alignment method of any of claims 1 to 7.
11. A computer-readable storage medium having stored therein computer-executable instructions configured to perform the steps of the time slot alignment method of any of the preceding claims 1 to 7.
CN201910969927.9A 2019-10-12 2019-10-12 Time slot alignment method, device, equipment and computer readable storage medium Active CN112653534B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910969927.9A CN112653534B (en) 2019-10-12 2019-10-12 Time slot alignment method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910969927.9A CN112653534B (en) 2019-10-12 2019-10-12 Time slot alignment method, device, equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112653534A CN112653534A (en) 2021-04-13
CN112653534B true CN112653534B (en) 2023-09-19

Family

ID=75343034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910969927.9A Active CN112653534B (en) 2019-10-12 2019-10-12 Time slot alignment method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112653534B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143052A (en) * 2010-11-08 2011-08-03 华为技术有限公司 Method, equipment and system for lossless bandwidth
CN106850465A (en) * 2016-12-27 2017-06-13 深圳市海思半导体有限公司 A kind of Flex E method for interchanging data and switching equipment
CN108024367A (en) * 2017-12-01 2018-05-11 上海金卓网络科技有限公司 A kind of method, apparatus, equipment and the storage medium of dynamically distributes time slot

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102215153B (en) * 2010-04-02 2014-11-05 华为技术有限公司 Bandwidth control method and communication node

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102143052A (en) * 2010-11-08 2011-08-03 华为技术有限公司 Method, equipment and system for lossless bandwidth
CN106850465A (en) * 2016-12-27 2017-06-13 深圳市海思半导体有限公司 A kind of Flex E method for interchanging data and switching equipment
CN108024367A (en) * 2017-12-01 2018-05-11 上海金卓网络科技有限公司 A kind of method, apparatus, equipment and the storage medium of dynamically distributes time slot

Also Published As

Publication number Publication date
CN112653534A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN109302372A (en) A kind of communication means, equipment and storage medium
US9641916B2 (en) Optical channel data unit service transmission apparatus and method
US9020345B2 (en) Method and system for establishing end-to-end service and optical transport network
JP6784777B2 (en) Service transmission method and first transmission device
US9048967B2 (en) Asymmetric OTN network traffic support
CN102498683B (en) Method and apparatus for automatic discovery in optical transport networks
CN106303766B (en) The method and device of Bandwidth adjustment
CN106330417B (en) The method, apparatus of method, apparatus and the data parsing of Deta bearer
WO2012126421A2 (en) Data processing method in optical transport network, and related device and system
US11223422B2 (en) Method and apparatus for processing ethernet data in optical network, and system
Zhang et al. Framework for GMPLS and PCE Control of G. 709 Optical Transport Networks
CN106803811A (en) The acquisition methods and device of a kind of routing iinformation
EP3716641A1 (en) Data transport method, device and system
ES2345059T3 (en) METHOD, APPARATUS AND SYSTEM TO DISCOVER AUTOMATICALLY A CLIENT LINK LINK.
CN110100397B (en) Time delay measuring method and station
US8964756B2 (en) Signaling control method and system for service establishment based on G.709
CN112653534B (en) Time slot alignment method, device, equipment and computer readable storage medium
US8699524B2 (en) Method and apparatus for generating resize control overhead in optical transport network
CN102201972B (en) Multi-level reuse route computation method based on G.709 and path computation apparatus
WO2020051851A1 (en) Data transmission method and apparatus in optical transport network
EP2784956B1 (en) Asymmetric OTN network traffic support
EP3240297B1 (en) Cross-ring service implementation method and corresponding main nodes in optical burst transport network
CN118074850A (en) Method and device for transmitting data
CN116567460A (en) SD-OTN docking management method and device for software-defined optical transport network
EP2573964A2 (en) System and method for identifying a target signal in an optical transport network frame structure

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant