Time slot table switching method and device of network, electronic equipment and storage medium
By determining the communication lines of the starting and ending network elements in a flexible Ethernet network, and sequentially switching the time slot tables of intermediate service nodes and the ending network element, the problem of low time slot table switching efficiency in multi-network element networking environments is solved, enabling rapid switching, reducing operation and maintenance difficulty, and improving user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SANECHIPS TECH CO LTD
- Filing Date
- 2020-09-30
- Publication Date
- 2026-05-29
AI Technical Summary
In multi-element networking environments, the time slot table switching efficiency of existing technologies such as Flexible Ethernet is low, the operation and maintenance are difficult, and errors can easily cause the entire network service to malfunction.
By determining the communication line between the starting network element and the ending network element, the time slot tables of intermediate service nodes and the ending network element are switched sequentially, and the switching completion information is fed back to the starting network element after the ending network element completes the switching, thus realizing the rapid switching of the time slot table of flexible Ethernet.
It improves the speed of time slot table switching, reduces the operational difficulty for maintenance personnel, and enhances the user experience.
Smart Images

Figure CN114339932B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and in particular to a method, apparatus, electronic device, and storage medium for switching time slot tables in a network. Background Technology
[0002] With the advancement of 5G network commercialization, Flexible Ethernet (FlexE), a key technology supporting 5G networks, is also being gradually improved. FlexE is used to dynamically adjust service bandwidth, which is achieved through two time slot tables, Calendar A and Calendar B.
[0003] However, in current network environments with multiple network elements, it is necessary to divide each network element into multiple segments and switch the Calendar A and Calendar B time slot tables within each segment. This method is inefficient, requires network elements to be switched segment by segment from two points, and if a switching error occurs at one point, the entire network service will malfunction. Furthermore, controlling the switching of multiple network elements separately increases the operational difficulty for maintenance personnel. Summary of the Invention
[0004] The main objective of this application is to propose a method, apparatus, electronic device, and storage medium for switching time slot tables in a network, aiming to quickly switch time slot tables in multi-network element networking scenarios, enhance the accuracy of time slot table switching, reduce the operational and maintenance difficulty of flexible Ethernet, and improve user experience.
[0005] To achieve the above objectives, embodiments of this application provide a network time slot table switching method, the method comprising: defining a communication line between a starting network element and an ending network element; and sequentially switching the time slot table of intermediate service nodes and the time slot table of the ending network element on the communication line.
[0006] To achieve the above objectives, embodiments of this application provide a network time slot table switching device, the device comprising:
[0007] The route determination module is used to determine the communication route between the starting network element and the ending network element;
[0008] The switching execution module is used to sequentially switch the time slot table of the intermediate service nodes on the communication line and the time slot table of the endpoint network element.
[0009] To achieve the above objectives, embodiments of this application provide an electronic device, which includes: one or more processors; a memory for storing one or more programs; and when the one or more programs are executed by the one or more processors, the one or more processors implement a network time slot table switching method as described in any of the embodiments of this application.
[0010] To achieve the above objectives, embodiments of this application provide a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements a network time slot table switching method as described in any of the embodiments of this application.
[0011] The network time slot table switching method, apparatus, electronic device, and storage medium proposed in this application embodiment determine the communication line between the starting network element and the ending network element in the flexible Ethernet, sequentially switch the time slot tables of intermediate service nodes and the ending network element according to the communication line, and feed back the switching completion information to the starting network element when the ending network element completes the time slot table switching, thereby realizing the time slot table switching of flexible Ethernet. This achieves fast time slot table switching in flexible Ethernet, reduces the operational difficulty of time slot table switching in flexible Ethernet networks, and enhances the user experience. Attached Figure Description
[0012] Figure 1 This is an example diagram of the FlexE OH frame format in the prior art;
[0013] Figure 2 This is a flowchart of a network time slot table switching method provided in an embodiment of this application;
[0014] Figure 3 This is an example diagram of a flexible Ethernet structure provided in an embodiment of this application;
[0015] Figure 4 This is a flowchart of another network time slot table switching method provided in an embodiment of this application;
[0016] Figure 5 This is a schematic diagram of the structure of a basic code block for OAM operation and maintenance management provided in an embodiment of this application;
[0017] Figure 6 This is a schematic diagram of the structure of a network time slot table switching device provided in an embodiment of this application;
[0018] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0019] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0020] In the following description, the use of suffixes such as "module," "part," or "unit" to denote elements is solely for the purpose of illustrative purposes and has no inherent meaning. Therefore, "module," "part," or "unit" may be used interchangeably.
[0021] In order to achieve dynamic bandwidth adjustment without affecting services, the FlexE network introduces two time slot tables, Calendar A and Calendar B. When bandwidth needs to be adjusted, the current time slot table (main table) used by the service flow can be maintained, and the information in the other time slot table can be modified. By switching between the two time slot tables, the purpose of dynamically adjusting bandwidth under different service impact conditions can be achieved. Figure 1 This is an example diagram of the FlexE OH frame format in existing technology. FlexE OH frames carrying two time slot tables for services can be configured as follows: Figure 1 As shown, two nodes in the network receive and send data via FlexE OH frames. The upstream node sends the time slot table for service transmission to the downstream node in the FlexE OH frame. After receiving the data, the downstream node automatically extracts the time slot table from the FlexE OH frame and automatically configures the receiving side. However, when multiple network nodes switch time slot tables together, two adjacent nodes need to interact with each other via FlexE OH frames to achieve time slot table switching, resulting in extremely low switching efficiency and requiring maintenance personnel to be familiar with the operation of each network node to switch time slot tables. To achieve fast switching of time slot tables in flexible Ethernet networks with multiple network elements cross-networking, this application proposes a network time slot table switching method to improve switching efficiency and reduce the maintenance difficulty for maintenance personnel.
[0022] Figure 2 This is a flowchart illustrating a network time slot table switching method provided in an embodiment of this application. This embodiment is applicable to time slot table switching in Flexible Ethernet, where Flexible Ethernet can include service end nodes and intermediate service nodes. A typical three-point crossover Flexible Ethernet network can be as follows: Figure 3 As shown. This method can be executed by a network time slot table switching device, which can be implemented by software and / or hardware. The method in this embodiment specifically includes the following steps:
[0023] Step 110: Determine the communication line between the starting network element and the ending network element.
[0024] In this context, the originating and ending network elements can be network element nodes in a flexible Ethernet network that require time slot table switching. These elements can be determined by the service; for example, they could be service-end nodes of a service flow for which the operator requires bandwidth changes. Specifically, the originating and ending network elements can be the terminating service nodes of a cross-connected flexible Ethernet network. The communication line can be a communication link connecting the originating and ending network elements, and can include both software and hardware connections. The communication line can consist of one or more intermediate service nodes. It is understood that the originating and ending network elements can interact with each other through one or more intermediate service nodes in the communication line.
[0025] Specifically, when dynamically adjusting service bandwidth, the service endpoints corresponding to the service flows with adjusted bandwidth can be designated as the starting and ending network elements, respectively. Intermediate service nodes connecting these starting and ending network elements can be located within the flexible Ethernet network. These intermediate service nodes can be network elements in a cross-connected Ethernet network, and these network elements can be terminal devices that implement time slot cross-connection. The found intermediate service nodes can be arranged according to the connection order of hardware links or software connections to form communication lines.
[0026] Step 120: Sequentially switch the time slot table of the intermediate service node on the communication line and the time slot table of the endpoint network element.
[0027] Among them, the intermediate service node can be a service node configured with time slot cross-connection in flexible Ethernet, which can forward service flows to the starting network element and the ending network element, or specifically a cross-connection service node in cross-networking.
[0028] In this embodiment of the invention, the time slot table currently in use at the intermediate service nodes can be switched to another spare time slot table sequentially according to the arrangement order of the communication lines. After the intermediate service nodes switch their time slot tables, the time slot table currently in use at the destination network element can be switched to the spare time slot table. For example, the communication line from the starting network element PE1 to the destination network element PE2 is composed of intermediate service nodes P1, P2, P3, and P4 in sequence. When switching the time slot table, the time slot tables of P1, P2, P3, P4, and PE2 can be switched sequentially according to the arrangement order of the intermediate service nodes of the communication line.
[0029] In this embodiment, by determining the communication lines corresponding to the starting and ending network elements, the operation difficulty of switching the time slot tables of intermediate service nodes and the ending network element is reduced and the speed of time slot table switching is improved by controlling the switching of the time slot tables of the intermediate service nodes and the ending network element according to the communication lines, thereby enhancing the user experience.
[0030] Furthermore, based on the above-mentioned application embodiments, it also includes: determining that the communication line between the starting network element and the ending network element is communicating normally.
[0031] In this embodiment of the application, before switching the time slot table through the communication line, the communication line can be detected to determine whether the starting network element and the ending network element can communicate normally through the communication line. The starting network element can send a detection message to the ending network element through the communication line. When the starting network element receives the feedback message generated by the ending network element based on the detection message, it is determined that the starting network element and the ending network element can communicate normally through the communication line.
[0032] Figure 4This is a flowchart of another network time slot table switching method provided in this application embodiment. This application embodiment is a specific embodiment based on the above embodiment. See also... Figure 4 The method proposed in this application specifically includes the following steps:
[0033] Step 210: Determine the starting and ending network elements in the service-side nodes of the Flexible Ethernet.
[0034] In this embodiment, a service flow undergoing bandwidth adjustment can be obtained. The service-end nodes of the service flow can be used as the starting network element and the ending network element, respectively. One node can be selected from the service-end nodes of the service flow as the starting network element for initiating the time slot table switch. Correspondingly, other nodes of the service-end nodes of the service flow can be used as the ending network elements. The ending network element can be identified by custom recognition through the OAM protocol.
[0035] Step 220: Determine the communication line between the physical port of the starting network element and the physical port of the ending network element.
[0036] Specifically, the starting network element and the ending network element are connected through fixed physical ports in the flexible Ethernet underlay Sh IM. The starting network element and the ending network element can have a unique communication link. The corresponding communication link can be found by looking up the physical port of the starting network element and the physical port of the ending network element, which is the communication line corresponding to the starting network element and the ending network element.
[0037] Step 230: Control the starting network element to send a status confirmation request message to the ending network element along the communication line.
[0038] In this embodiment of the application, the starting network element can be controlled to send a status confirmation request message to the ending network element. The status confirmation request message can be sent down to the ending network element through intermediate service nodes in the communication line. It can be understood that the starting network element can send the status confirmation request message to the ending network element through the Operation Administration and Maintenance (OAM) protocol message.
[0039] Step 240: If the endpoint network element receives a time slot table switching request message, control the endpoint network element to send a status confirmation message back to the starting network element through the communication line.
[0040] Specifically, the endpoint network element can receive status confirmation request messages transmitted in the communication line. After receiving the status confirmation request message, the endpoint network element can send a status confirmation message back to the originating network element. Correspondingly, the endpoint network element can also send the status confirmation message back to the originating network element through the OAM protocol.
[0041] Step 250: If the starting network element receives the status confirmation message within the preset time, the communication line will communicate normally; otherwise, a status confirmation timeout alarm will be triggered.
[0042] The preset time can be the maximum waiting time for the destination network element. If the starting network element does not receive a status confirmation message from the destination network element within the preset time range, it can be determined that the starting network element and the destination network element cannot communicate normally.
[0043] In an exemplary implementation, after sending a status confirmation request message, the starting network element can start a timer to record a preset time. If a status confirmation message is received from the ending network element within the preset time range, it is determined that the communication between the starting network element and the ending network element is normal and can be switched. If no status confirmation message is received from the ending network element within the preset time, it is determined that the starting network element and the ending network element cannot communicate normally, and an alarm notification of status confirmation timeout can be sent to the network management system.
[0044] Step 260: Control the starting network element to transmit the time slot table switching request to the ending network element through the communication line.
[0045] Specifically, after confirming that the communication between the starting network element and the ending network element is normal, the starting network element can send a time slot table switching request to the ending network element through the communication line. The time slot table switching request can be transmitted one by one through the intermediate service nodes in the communication line until the time slot table switching request is sent to the ending network element. It can be understood that during the transmission of the time slot table switching request, the intermediate service nodes only need to send the time slot table switching request to the next intermediate service node, without modifying the time slot table switching request.
[0046] Step 270: During the transmission of the time slot table switching request, when the endpoint network element or intermediate service node receives the time slot table switching request, the current time slot table of the endpoint network element or intermediate service node is switched to the backup time slot table.
[0047] The current timeslot table can be the timeslot table currently in use by each network device in Flexible Ethernet, and the spare timeslot table can be the timeslot table used by each network device in Flexible Ethernet for switching. The information in the timeslot table can correspond to the bandwidth after the switch.
[0048] In this embodiment, during the process of transmitting the time slot table switching request to the destination network element via a switching communication route, each time the time slot table switching request reaches an intermediate service node, the intermediate service node can switch its local current time slot table to a backup time slot table. It can be understood that the backup time slot table can be modified to correspond to the adjusted service bandwidth. As the time slot table switching request is transmitted node by node through the intermediate service nodes to the destination network element, time slot table switching can be performed on each intermediate service node until the time slot table switching request reaches the destination network element. Finally, the destination network element switches its currently used current time slot table to a backup time slot table according to the time slot table switching request.
[0049] Step 280: Control the endpoint network element to send the handover completion information back to the originating network element, and complete the time slot table handover when the originating network element receives the handover completion information.
[0050] The handover completion information can be a notification sent by the endpoint network element to the originating network element to complete the time slot table handover. It can be sent via a message, for example, the handover completion information can be carried in an OAM protocol message.
[0051] Specifically, after the endpoint network element completes the time slot table switch, it can generate switch completion information and feed this switch completion information back to the originating network element. When the originating network element completes the switch, the time slot table of the originating network element to the endpoint network element is switched.
[0052] Furthermore, based on the above-mentioned application embodiments, the step of controlling the endpoint network element to feed back handover completion information to the originating network element, and completing the time slot table handover upon the originating network element receiving the handover completion information, includes:
[0053] After the endpoint network element completes the time slot table switch, it sends a completion message to the starting network element through the communication line. The completion message includes switch completion information. If the starting network element receives the completion message, it notifies the network management system to complete the time slot table switch.
[0054] In this embodiment, after switching the time slot table, the endpoint network element sends a handover completion message to the originating network element via a completion message. This completion message can be an OAM protocol message. Specifically, the completion message can be sent from the endpoint network element to the originating network element along intermediate service nodes of the communication line. The handover completion information can be sent to the originating network element via this completion message. When the originating network element receives the completion message, it can determine that all nodes from the originating network element to the endpoint network element have completed the time slot table switch. At this time, it can send a notification message to the network management system to inform it that the flexible Ethernet time slot table switch is complete.
[0055] In this embodiment, by determining the starting and ending network elements in the service-side nodes of the time slot table to be switched in Flexible Ethernet, and determining the physical ports of the starting and ending network elements to establish a communication line, the starting network element sends a status confirmation request message along the communication line. After receiving the status confirmation request message, the ending network element sends back a status confirmation message. If the starting network element receives the status confirmation message within a preset time, it is determined that the communication is normal; otherwise, a status confirmation timeout alarm is triggered. The starting network element transmits a time slot table switching request to the ending network element through the communication line. When the intermediate cross nodes in the communication line receive the time slot table switching request, they perform the time slot table switching and continue to transmit the time slot table switching request until the ending network element completes the time slot table switching. The ending network element sends a completion message back to the starting network element. After the starting network element receives the completion message, the time slot table switching of Flexible Ethernet is completed. This improves the speed of time slot table switching, reduces the operational difficulty for maintenance personnel in performing time slot table switching, and enhances the user experience.
[0056] Furthermore, based on the above application embodiments, at least one of the status confirmation request message, the status confirmation message, and the completion message is implemented by marking reserved bits in the OAM operation maintenance management basic code block.
[0057] In this embodiment of the application, the OAM operation and maintenance management basic code block can be used to send status confirmation request messages, status confirmation messages, and feedback completion messages. Figure 5 This is a schematic diagram of the structure of a basic code block for OAM operation and maintenance management provided in an embodiment of this application. See also... Figure 5 The reserved bits of the OAM operation, maintenance and management basic code block can be marked. Different marking bits represent different messages. The first marking bit can be used as the marking bit of the status confirmation request message CR, the second marking bit can be used as the marking bit of the status confirmation message CA, and the third marking bit can be used as the marking bit of the completion message Done. Message generation is achieved by marking the corresponding marking bits as 1 or 0.
[0058] In one exemplary implementation, in a flexible Ethernet, terminating service nodes PE1 and PE2 are connected via a cross-connect service node P, and the switching method for timeslot table A and timeslot table B may include the following steps:
[0059] Step 1: Determine the starting and ending network elements for flexible Ethernet timeslot table switching.
[0060] (1) The starting network element can be the initiator of the time slot table A and time slot table B switching. If the time slot table switching is initiated from the PE1 node, then PE1 will be the starting network element of the time slot table switching. The ending network element can be identified through the OAM custom protocol.
[0061] (2) PE1 node sends a CR request message (CR=1|CA=0|Done=0) through the OAM custom protocol, and then passes it through the cross-service node P to the destination network element PE2.
[0062] (3) After receiving the OAM custom protocol message, the PE2 node replies with a CA reply message (CR=0|CA=1|Done=0).
[0063] (4) If the PE1 node does not receive a CA reply message within 3 consecutive OAM cycles, it reports a CA timeout alarm to the network management system.
[0064] (5) After PE1 receives the CA message from PE2 within 3 OAM cycles, it proceeds to step 2.
[0065] Step 2: The starting network element initiates a time slot table switching request to downstream nodes segment by segment.
[0066] (1) PE1 initiates a time slot table switching request to the downstream cross-service node P in accordance with the FlexE standard protocol.
[0067] (2) After the cross-connect service node P completes the time slot table switch, the outgoing physical port of the cross-connect can be found through the software.
[0068] (3) Cross-service node P initiates a time slot switching request to the downstream PE2 node through the outgoing physical port.
[0069] (4) After the PE2 node completes the time slot switching, proceed to step 3.
[0070] Step 3: Notify the PE1 node that the time slot switching is complete via a custom OAM protocol.
[0071] (1) The PE2 node replies with a Done message to notify PE1 that the time slot table switch is complete (CR=0|CA=1|Done=1).
[0072] (2) After receiving the Done message from PE2, PE1 notifies the network management system that the entire handover process is complete.
[0073] Figure 6 This is a schematic diagram of the structure of a network time slot table switching device provided in an embodiment of this application. Figure 6 The illustrated apparatus can execute the network time slot table switching method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing the method. The apparatus can be implemented in software and / or hardware, and specifically includes: a line determination module 310, a switching execution module 320, and a switching confirmation module 330.
[0074] The route determination module 310 is used to determine the communication route between the starting network element and the ending network element.
[0075] The switching execution module 320 is used to switch the execution module sequentially between the time slot table of the intermediate service node on the communication line and the time slot table of the endpoint network element.
[0076] In this embodiment, the communication line between the starting network element and the ending network element in the flexible Ethernet is determined by the line determination module. The switching execution module sequentially switches the timeslot tables of the intermediate service nodes and the ending network element on the communication line, realizing fast switching of the timeslot tables in the flexible Ethernet, reducing the operational difficulty of switching timeslot tables in the flexible Ethernet network, and enhancing the user experience.
[0077] Furthermore, based on the above-described embodiments, the route determination module 310 includes:
[0078] The network element determination unit is used to determine the starting network element and the ending network element in the service end node of the flexible Ethernet.
[0079] The line determination unit is used to determine the communication line between the physical port of the starting network element and the physical port of the ending network element.
[0080] Furthermore, based on the above-mentioned application embodiments, it also includes: a communication confirmation module, used to determine that the communication line between the starting network element and the ending network element is communicating normally.
[0081] Furthermore, based on the above-described embodiments, the communication confirmation module includes:
[0082] The message sending unit is used to control the starting network element to send a status confirmation request message to the ending network element along the communication line.
[0083] The message feedback unit is used to control the endpoint network element to send a status confirmation message back to the originating network element through the communication line when the endpoint network element receives the time slot table switching request message.
[0084] The communication confirmation unit is used to determine that if the starting network element receives the status confirmation message within a preset time, the communication line is communicating normally; otherwise, it will trigger a status confirmation timeout alarm.
[0085] Furthermore, based on the above-described embodiments, the switching execution module 320 includes:
[0086] The switching initiation unit is used to control the starting network element to transmit the time slot table switching request transparently to the ending network element along the communication line.
[0087] The switching processing unit is used to switch the current time slot table of the endpoint network element or the intermediate service node to a backup time slot table when the endpoint network element or the intermediate service node receives the time slot table switching request during the transmission of the time slot table switching request.
[0088] The handover confirmation unit is used to control the endpoint network element to send handover completion information back to the originating network element, and to complete the time slot table handover when the originating network element receives the handover completion information.
[0089] Furthermore, based on the above-described embodiments, the switching confirmation module 330 includes:
[0090] The feedback unit is used to control the endpoint network element to send a completion message to the starting network element through the communication line after completing the time slot table switch. The completion message includes switch completion information.
[0091] The notification generation unit is used to notify the network management system to complete the time slot table switch when the starting network element receives the completion message.
[0092] Furthermore, based on the above application embodiments, at least one of the status confirmation request message, the status confirmation message, and the completion message is implemented by marking reserved bits in the OAM operation maintenance management basic code block.
[0093] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application, such as... Figure 7 As shown, the electronic device includes a processor 50, a memory 51, an input device 52, and an output device 53; the number of processors 50 in the electronic device can be one or more. Figure 7 Taking a processor 50 as an example; the electronic device processor 50, memory 51, input device 52, and output device 53 can be connected via a bus or other means. Figure 7 Taking the example of a connection between China and Israel via a bus.
[0094] The memory 51, as a computer-readable storage medium, can be used to store software programs, computer-executable programs, and modules, such as the modules (line determination module 310 and switching execution module 320) corresponding to the network time slot table switching device in this embodiment of the application. The processor 50 executes various functional applications and data processing of the electronic device by running the software programs, instructions, and modules stored in the memory 51, thereby realizing the above-described network time slot table switching method.
[0095] The memory 51 may primarily include a program storage area and a data storage area. The program storage area may store the operating system and at least one application program required for a given function; the data storage area may store data created based on terminal usage. Furthermore, the memory 51 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory, or other non-volatile solid-state storage device. In some instances, the memory 51 may further include memory remotely located relative to the processor 50, which can be connected to the device via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
[0096] Input device 52 can be used to receive input digital or character information, and to generate key signal inputs related to user settings and function control of the device. Output device 53 may include display devices such as a display screen.
[0097] This application also provides a computer-readable storage medium storing a computer program thereon. When executed by a computer processor, the computer program performs a network time slot table switching method, the method comprising:
[0098] Determine the communication line between the starting network element and the ending network element; sequentially switch the time slot table of the intermediate service nodes on the communication line and the time slot table of the ending network element.
[0099] Of course, the storage medium containing computer-executable instructions provided in the embodiments of this application is not limited to the method operation described above, but can also perform related operations in the downlink channel estimation method provided in any embodiment of this application.
[0100] The above description is merely an exemplary embodiment of this application and is not intended to limit the scope of protection of this application.
[0101] Those skilled in the art will understand that the term user terminal encompasses any suitable type of wireless user equipment, such as mobile phones, portable data processing devices, portable web browsers, or vehicle-mounted mobile stations.
[0102] Generally, the various embodiments of this application can be implemented in hardware or dedicated circuitry, software, logic, or any combination thereof. For example, some aspects can be implemented in hardware, while others can be implemented in firmware or software that can be executed by a controller, microprocessor, or other computing device, although this application is not limited thereto.
[0103] Embodiments of this application can be implemented by executing computer program instructions through the data processor of a mobile device, for example, in a processor entity, or through hardware, or through a combination of software and hardware. The computer program instructions can be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, status setting data, or source code or object code written in any combination of one or more programming languages.
[0104] Any block diagram of logical flow in the accompanying drawings of this application may represent program steps, or may represent interconnected logic circuits, modules, and functions, or may represent a combination of program steps and logic circuits, modules, and functions. The computer program may be stored in memory. The memory may be of any type suitable to the local technical environment and may be implemented using any suitable data storage technology, such as, but not limited to, read-only memory (ROM), random access memory (RAM), optical storage devices and systems (Digital Multifunction Discs, DVDs, or CDs), etc. Computer-readable media may include non-transitory storage media. The data processor may be of any type suitable to the local technical environment, such as, but not limited to, general-purpose computers, special-purpose computers, microprocessors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), programmable logic devices (FGPAs), and processors based on multi-core processor architectures.
[0105] A detailed description of exemplary embodiments of this application has been provided above through exemplary and non-limiting examples. However, various modifications and adjustments to the above embodiments will be apparent to those skilled in the art when considered in conjunction with the accompanying drawings and claims, without departing from the scope of the invention. Therefore, the proper scope of the invention will be determined by the claims.
Claims
1. A method for switching time slot tables in a network, characterized in that, Applied to Flexible Ethernet, the method includes: Determining the starting network element and the ending network element in the service nodes of the service flow includes: taking the switching initiator of the time slot table as the starting network element, and identifying the ending network element by the OAM custom protocol; Determine the communication line between the starting network element and the ending network element; The starting network element is controlled to send a status confirmation request message to the ending network element along the communication line. If the endpoint network element receives the status confirmation request message, the endpoint network element is controlled to send a status confirmation message back to the originating network element through the communication line. If the starting network element receives the status confirmation message within a preset time, the communication line is communicating normally; otherwise, a status confirmation timeout alarm is triggered. The time slot tables of intermediate service nodes and the time slot tables of the endpoint network element on the communication line are switched sequentially. After the endpoint network element completes the time slot table switching, it sends a completion message to the starting network element, and completes the time slot table switching when the starting network element receives the completion message. The completion message, the status confirmation request message, and the status confirmation message are implemented by marking reserved bits in the OAM operation maintenance management basic code block, with different bits representing different messages. The step of sequentially switching the timeslot tables of intermediate service nodes on the communication line and the timeslot tables of the endpoint network element includes: Control the starting network element to transmit a time slot table switching request transparently to the ending network element along the communication line; During the transmission of the time slot table switching request, when the endpoint network element or the intermediate service node receives the time slot table switching request, it switches the current time slot table of the endpoint network element or the intermediate service node to the backup time slot table.
2. The method according to claim 1, characterized in that, The determination of the communication line between the starting network element and the ending network element includes: Determine the communication line between the physical port of the starting network element and the physical port of the ending network element.
3. The method according to claim 1, characterized in that, The process of controlling the endpoint network element to send a completion message to the originating network element after completing the time slot table switch, and completing the time slot table switch upon receiving the completion message from the originating network element, includes: After the endpoint network element completes the time slot table switch, it sends a completion message to the starting network element through the communication line. The completion message includes switch completion information. If the starting network element receives the completion message, notify the network management system to complete the time slot table switch.
4. A network time slot table switching device, characterized in that, For use with Flexible Ethernet, the device includes: The route determination module includes: a network element determination unit and a route determination unit; The network element determination unit is used to determine the starting network element and the ending network element in the service node of the service flow, including: taking the switching initiator of the time slot table as the starting network element, and identifying the ending network element by the OAM custom protocol; The line determination unit is used to determine the communication line between the starting network element and the ending network element; The communication confirmation module includes: a message sending unit, a message feedback unit, and a communication confirmation unit; The message sending unit is used to control the starting network element to send a status confirmation request message to the ending network element along the communication line; The message feedback unit is used to control the endpoint network element to send a status confirmation message to the starting network element through the communication line when the endpoint network element receives the time slot table switching request message. The communication confirmation unit is used to determine that if the starting network element receives the status confirmation message within a preset time, the communication line is communicating normally; otherwise, it will trigger a status confirmation timeout alarm. The switching execution module is used to sequentially switch the time slot table of the intermediate service nodes on the communication line and the time slot table of the endpoint network element; The device is also used to control the endpoint network element to send a completion message to the starting network element after completing the time slot table switch, and to complete the time slot table switch when the starting network element receives the completion message. The completion message, the status confirmation request message, and the status confirmation message are implemented by marking reserved bits in the OAM operation maintenance management basic code block, with different bits representing different messages. The switching execution module includes: The switching initiation unit is used to control the starting network element to transmit the time slot table switching request transparently to the ending network element along the communication line; The switching processing unit is used to switch the current time slot table of the endpoint network element or the intermediate service node to a backup time slot table when the endpoint network element or the intermediate service node receives the time slot table switching request during the transmission of the time slot table switching request.
5. An electronic device, characterized in that, The electronic device includes: One or more processors; Memory, used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the time slot table switching method of the network as described in any one of claims 1-3.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the time slot table switching method for the network as described in any one of claims 1-3.