A deterministic service transmission method and device, controller and storage medium
By combining the characteristic flow and probe flow information of deterministic services with the segmented routing identifier generated by the software-defined network controller, the problem of quality assurance for deterministic services in IP networks is solved, and bounded delay and jitter control of deterministic services are achieved.
Patent Information
- Application Number
- CN202310685971.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-09
- Publication Date
- 2025-11-25
- Estimated Expiration
- 2043-06-09
AI Technical Summary
Existing IP networks struggle to provide deterministic service quality guarantees, especially when service packet bursts exacerbate the uncertainty of service latency, making it difficult to control latency, jitter, and packet loss rates within a defined range.
By acquiring the characteristic flow information of deterministic services, probe flow information, and reachable forwarding paths, the probe results are obtained, segmented routing identifiers are generated, and the head forwarding devices are guided to forward deterministic services. Path planning and scheduling are performed using a software-defined network controller and queue model.
It achieves bounded latency and jitter for deterministic business flows, ensuring that business quality is within a predictable range, and solves the problems of forwarding path detection and quality assurance for deterministic business flows.
Smart Images

Figure CN116684313B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of software defined network, and in particular to a deterministic service transmission method and device, controller and storage medium. BACKGROUND
[0002] Deterministic network is a network technology that realizes predictability, planning, and controls time delay, jitter and packet loss rate within a determined range through control of network data forwarding behavior. The commonly used deterministic network technology in wide area network at present is to change the best effort service without Quality of Service (QoS) guarantee of IP network by introducing new queue model and scheduling mechanism, to give deterministic characteristics to packet forwarding mechanism, and to provide packet transmission service with deterministic end-to-end delay for service flow in large-scale network
[0003] The traditional IP network mainly provides connection service based on statistical multiplexing, and can only provide packet-oriented quality guarantee based on differential service, which exacerbates the uncertainty of service delay when the burst of service packet is large, and it is difficult to provide deterministic quality of service guarantee. SUMMARY
[0004] The present application provides a deterministic service transmission method, device, controller and storage medium to solve the problem of how to provide deterministic service guarantee for deterministic service flow, and effectively guarantees the bounded delay and jitter of deterministic service.
[0005] In a first aspect, an embodiment of the present application provides a deterministic service transmission method, comprising:
[0006] determining characteristic flow information of the deterministic service, probe flow information corresponding to the deterministic service, and a forwarding path reachable by the deterministic service;
[0007] transmitting the characteristic flow information and the probe flow information to a head forwarding device in a network;
[0008] obtaining a probe result transmitted by a forwarding device in the network for probing the deterministic service, wherein the probe result is obtained by the forwarding device based on the probe flow information after probing the deterministic service;
[0009] determining a segment routing identifier based on the probe result and the forwarding path;
[0010] transmitting the segment routing identifier to the head forwarding device, wherein the segment routing identifier is used to instruct the head forwarding device to forward the deterministic service corresponding to the characteristic flow information;
[0011] Optionally, the forwarding path reachable by the deterministic service comprises:
[0012] obtaining network topology information of a forwarding device detecting the deterministic service in a network;
[0013] determining a forwarding path of the deterministic service corresponding to the network topology information.
[0014] Optionally, the characteristic flow information of the deterministic service and the detection flow information corresponding to the deterministic service are determined, comprising:
[0015] obtaining the characteristic flow information of the deterministic service through a human-computer interaction interface;
[0016] obtaining the detection flow information corresponding to the deterministic service selected from the characteristic flow information of the deterministic service through the human-computer interaction interface.
[0017] Optionally, based on the detection result and the forwarding path, a segment routing identifier is determined, comprising:
[0018] based on the forwarding time slot of each forwarding device in the detection result, a mapping period of the forwarding device forwarding the deterministic service is determined;
[0019] based on the forwarding path and the mapping period, a segment routing identifier is formed.
[0020] Optionally, the characteristic flow information comprises one or more of the following:
[0021] the source IP network segment of the deterministic service, the destination IP network segment of the deterministic service, the source port, the destination port and the protocol number.
[0022] Optionally, the transmission method of the deterministic service further comprises:
[0023] transmitting network configuration information to the head forwarding device, wherein the network configuration information is configuration information corresponding to the service requirement of the deterministic service.
[0024] Optionally, the transmission method of the deterministic service further comprises:
[0025] displaying the transmission information of the deterministic service, wherein the transmission information comprises one or more of the following:
[0026] the forwarding path of the deterministic service;
[0027] the time delay of the deterministic service;
[0028] the jitter of the deterministic service;
[0029] the forwarding traffic of the deterministic service.
[0030] In a second aspect, an embodiment of the present application provides a deterministic service transmission device, comprising:
[0031] a first determining module configured to determine characteristic flow information of a deterministic service, probe flow information corresponding to the deterministic service, and a forwarding path reachable by the deterministic service;
[0032] a first transmission module configured to transmit the characteristic flow information and the probe flow information to a head forwarding device in a network;
[0033] an acquisition module configured to acquire a probe result transmitted by a forwarding device in the network for probing the deterministic service, the probe result being a result obtained by the forwarding device based on the probe flow information after probing the deterministic service;
[0034] a second determining module configured to determine a segment routing identifier based on the probe result and the forwarding path;
[0035] a second transmission module configured to transmit the segment routing identifier to the head forwarding device, the segment routing identifier being used to instruct the head forwarding device to forward the deterministic service corresponding to the characteristic flow information.
[0036] In a third aspect, an embodiment of the present application provides a software defined network controller, comprising:
[0037] at least one processor; and
[0038] a memory connected with the at least one processor; wherein,
[0039] the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the deterministic service transmission method according to any one of the embodiments of the present application.
[0040] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores computer instructions, and the computer instructions are used to enable a processor to implement the deterministic service transmission method according to any one of the embodiments of the present application when executed.
[0041] The technical scheme of the embodiment of the application determines the feature flow information of the deterministic service, the detection flow information corresponding to the deterministic service and the forwarding path reachable by the deterministic service, transmits the feature flow information and the detection flow information to a head forwarding device in a network, acquires a detection result transmitted by a forwarding device in the network detecting the deterministic service, the detection result being a result obtained by the forwarding device detecting the deterministic service based on the detection flow information, determines a segment routing identifier based on the detection result and the forwarding path, and transmits the segment routing identifier to the head forwarding device, the segment routing identifier being used to instruct the head forwarding device to perform forwarding of the deterministic service corresponding to the feature flow information, thereby solving the problem that it is difficult to provide deterministic quality of service in the prior art, realizing not only the deterministic service flow differentiation, but also the forwarding path detection for the feature flow of the deterministic service, and effectively guaranteeing that the delay and jitter of the deterministic service are within a bounded range.
[0042] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the application, nor is it used to limit the scope of the application. Other features of the application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the embodiments of the application, the following will briefly introduce the drawings needed to be used in the embodiment description. Obviously, the drawings in the following description are only some embodiments of the application, and other drawings can also be obtained by those skilled in the art without creative effort on the basis of these drawings.
[0044] Figure 1 A flowchart of a deterministic service transmission method is provided for the first embodiment of the application;
[0045] Figure 2 A structural diagram of a deterministic service transmission method is provided for the first embodiment of the application;
[0046] Figure 3 A human-computer interaction interface schematic diagram of a deterministic service transmission method is provided for the first embodiment of the application;
[0047] Figure 4 A flowchart of a deterministic service transmission method is provided for the second embodiment of the application;
[0048] Figure 5 A structural schematic diagram of a deterministic service transmission device is provided for the third embodiment of the application;
[0049] Figure 6A structure diagram of a software defined network controller that can be used to implement embodiments of the present application is shown. DETAILED DESCRIPTION
[0050] In order to make the personnel in the technical field better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.
[0051] It should be noted that the terms "first", "second", and the like in the specification and claims of the present application and the above-described drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0052] Embodiment one
[0053] Figure 1 A flowchart of a deterministic service transmission method is provided for the first embodiment of the present application. The present embodiment can be applicable to the transmission of deterministic services. The method can be performed by a deterministic service transmission device, which can be realized in the form of hardware and / or software. The deterministic service transmission device can be configured in a software defined network controller. As shown in the figure, the method comprises: Figure 1
[0054] S110, determining characteristic flow information of a deterministic service, probe flow information corresponding to the deterministic service, and a forwarding path reachable by the deterministic service.
[0055] The deterministic service can be considered as a deterministic service, such as a service with a delay, jitter, and a packet loss rate within a certain range. The deterministic service can be implemented by a deterministic network technology. The deterministic network is a network technology that controls the network data forwarding behavior to achieve predictability, planning, and control of delay, jitter, and packet loss rate within a certain range. The characteristic flow information of the deterministic service can be information representing the characteristics of the deterministic service, such as IP network segment, port, protocol number, and the like of a message. The probe flow information corresponding to the deterministic service can refer to information corresponding to an instance message of the deterministic service flow, which can be used to implement time slot cycle detection of the deterministic service forwarding path. The deterministic service reachable forwarding path can be considered as a path for forwarding the deterministic service.
[0056] Before determining the characteristic flow information, the probe flow information, and the forwarding path, the network can be preconfigured, including but not limited to
[0057] 1. Configure protocol interworking between forwarding devices: according to the basic configuration of the network, address allocation of the forwarding device, interface configuration, and enablement of related protocol configurations such as Intermediate System-to-Intermediate System (ISIS) or Open Shortest Path First (OSPF) between forwarding network elements (i.e., forwarding devices), so that the sender and the receiver can communicate with each other;
[0058] 2. Enable communication between the forwarding device and the SDN controller by enabling the control protocol channel between the forwarding device and the SDN controller, such as BGP-LS (BGP Link-state) protocol for collecting network topology, NETCONF (Network Configuration) protocol based on XML for configuring user services, tunnels, and policies, and Telemetry protocol for collecting service and tunnel performance data;
[0059] 3. After configuring ISIS or OSPF and the like between the forwarding devices, flood the Interior Gateway Protocol (IGP) route information between them, and then report the three-layer topology information (i.e., network topology information) of the network to the Software Defined Network (SDN) controller through BGP-LS, so as to facilitate the SDN controller to link the network topology and perform deterministic service forwarding path calculation to obtain the deterministic service reachable forwarding path.
[0060] In one embodiment, the feature flow information of the deterministic service is determined, based on which the deterministic service flow and the non-deterministic service flow can be distinguished. The probe flow information corresponding to the deterministic service is determined, based on which the time slot period probe of the deterministic service forwarding path can be implemented. The forwarding path reachable by the deterministic service is determined, and the deterministic service can be forwarded based on the forwarding path.
[0061] In this step, the technical means for determining the feature flow information, the probe flow information and the forwarding path are not limited.
[0062] In one embodiment, the feature flow information can be obtained by inputting an external device or by a man-machine interactive interface.
[0063] In one embodiment, the probe flow information can be obtained by inputting an external device, by a man-machine interactive interface or by selecting from the feature flow information. The selection manner is not limited, such as random selection.
[0064] In one embodiment, the SDN controller can plan the feature flow information and the corresponding probe flow information of the deterministic service based on the deterministic service of the user. The planning means are not limited.
[0065] S120, transmitting the feature flow information and the probe flow information to a head forwarding device in the network.
[0066] The head forwarding device can be a head node for forwarding the deterministic service, such as the first forwarding device for forwarding the deterministic service.
[0067] In one embodiment, the feature flow information and the probe flow information are managed and maintained on the SDN controller.
[0068] In this embodiment, the feature flow information and the probe flow information are transmitted to the head forwarding device in the network, which not only realizes the identification of the deterministic service and guarantees the normal and timely sending of the deterministic service flow, but also can probe the deterministic service based on the probe flow information, effectively guaranteeing that the time delay and jitter of the deterministic service are within a bounded range.
[0069] S130, obtaining a probe result transmitted by a forwarding device in the network for probing the deterministic service, the probe result being obtained by the forwarding device based on the probe flow information for probing the deterministic service.
[0070] The forwarding device for detecting the deterministic service can be all forwarding devices for detecting the deterministic service in the network, and the detection result at least includes a mapping period of each network element (i.e., the forwarding device) on the deterministic service path. Specifically, after the feature flow information and the detection flow information are transmitted to the head forwarding device in the network, each forwarding device for detecting the deterministic service in the network starts detection of the deterministic service, detects the mapping period of each network element on the deterministic service forwarding path through the detection flow, and then the forwarding device reports the detection result to the SDN controller through a Telemetry channel established between the SDN controller and the forwarding device.
[0071] S140, determining a segment routing identifier based on the detection result and the forwarding path.
[0072] The segment routing identifier (Segment Routing Identifier, SID) specifies an out port and a forwarding time slot period for transmitting a data packet at each node. For example, 4076 represents that the data packet is transmitted at the 7th port of the 4th node (i.e., the fourth forwarding device) in the 6th period.
[0073] Specifically, determining the segment routing identifier based on the detection result and the forwarding path can include that the SDN controller generates the SID according to the deterministic service reachable forwarding path and the mapping period of each network element (i.e., the forwarding device) on the deterministic service path, and according to a cycle specified queuing and forwarding (CycleSpecified Queuing and Forwarding, CSQF) mechanism.
[0074] In this embodiment, the device enabled with the CSQF can transmit the deterministic service data packet in a deterministic packet forwarding queue by matching the first SID available in the data packet header label stack, so as to realize forwarding of the deterministic service flow.
[0075] Figure 2 A structural diagram of a deterministic service transmission method is provided for the first embodiment of the present application. As shown in Figure 2 When a sender (i.e., a talker) wants to send a deterministic service flow to a receiver (i.e., a listener), the workflow of connection establishment can be as follows:
[0076] 1. Network information collection and service information collection, i.e., acquiring network topology information and determining feature flow information and detection flow information of the deterministic service;
[0077] 2. Calculating service forwarding routes and node queue scheduling time slots (i.e., mapping periods), the SDN controller can calculate the deterministic service reachable forwarding routes, and the detection flow can be used to detect the time slot periods of the deterministic service forwarding path.
[0078] 3. The SID containing routing and queue slot information (i.e. mapping period of forwarding device) is issued, and the result of the probe can be reported to the SDN controller to determine the queue slot information. The SDN controller generates the SID according to the deterministic service reachable forwarding path and the queue slot information, and issues the SID to the forwarding device according to the CSQF mechanism. The forwarding path and the forwarding time slot of the SID issued by the SDN controller are determined, which guarantees the bounded delay and jitter of the deterministic service.
[0079] Referring to Figure 2 , the sending end sends the data packet (i.e. packet) to the head node, and the SDN controller sends the SID to the head node, such as the queue formed by 4076, 3054, 2032, 1011 in Figure 2 , the head forwarding device (i.e. Node1) forwards the data packet based on 1011, Node2 forwards the data packet based on 2032, and Node4 forwards the data packet to the receiving end based on 4076.
[0080] S150, transmitting the segment routing identifier to the head forwarding device, the segment routing identifier being used to instruct the head forwarding device to forward the deterministic service corresponding to the feature flow information.
[0081] Specifically, after the SDN controller forms the SID information according to the CSQF mechanism, the segment routing identifier is transmitted to the head forwarding device. The head forwarding device analyzes the SID information issued by the SDN control according to the CSQF mechanism, and forwards the deterministic service according to the source routing information after the SID analysis. Moreover, each forwarding device through which the service message passes enters the corresponding message forwarding queue according to the mapping period queue calculated by the SDN control, which realizes the bounded jitter of the deterministic service and guarantees the bounded delay of the deterministic service.
[0082] In the embodiment, the feature flow information of the deterministic service, the probe flow information corresponding to the deterministic service and the forwarding path reachable by the deterministic service are determined; the feature flow information and the probe flow information are transmitted to a head forwarding device in a network; a probe result transmitted by a forwarding device in the network for probing the deterministic service is acquired, the probe result being a result obtained by the forwarding device based on the probe flow information after probing the deterministic service; a segment routing identifier is determined based on the probe result and the forwarding path; and the segment routing identifier is transmitted to the head forwarding device, the segment routing identifier being used to instruct the head forwarding device to forward the deterministic service corresponding to the feature flow information, thereby solving the problems of distinguishing and scheduling the deterministic service and the non-deterministic service and difficulty in providing the deterministic quality of service, realizing the distinguishing scenario of the deterministic service flow and the non-deterministic service flow, guaranteeing the normal and timely sending of the deterministic service flow, effectively guaranteeing the bounded delay and jitter of the deterministic service through the forwarding path probing of the feature flow of the deterministic service by the probe flow, and guaranteeing the bounded delay and jitter of the deterministic service by using the SDN controller to form the SID to instruct the head forwarding device to forward the deterministic service corresponding to the feature flow information, so that the forwarding path and the forwarding time slot of the deterministic service are determined.
[0083] Optionally, the forwarding path reachable by the deterministic service is determined, and the forwarding path comprises:
[0084] The network topology information of the forwarding device in the network for probing the deterministic service is acquired.
[0085] The forwarding path reachable by the deterministic service corresponding to the network topology information is determined.
[0086] The network topology information can be information related to the network topology, such as the interconnection relationship between the forwarding devices, the relevant routing information, the various state data information of the link and the like.
[0087] In one embodiment, according to the basic configuration of the network, address allocation of the forwarding device, interface configuration, enabling of the protocol channel between the forwarding network elements, such as Intermediate System-to-Intermediate System (ISIS) or Open Shortest Path First (OSPF) and the like, enables communication between the sender and the recipient; then by opening the control protocol channel between the forwarding device and the SDN controller, the forwarding device and the SDN controller can communicate, such as Border Gateway Protocol Link-state (BGP-LS) for collecting network topology, XML network configuration (NETCONF) protocol for configuring user traffic, tunnel, policy, and the like, Telemetry protocol for collecting traffic and tunnel performance data; after configuring the ISIS or OSPF protocol between the forwarding devices, the Interior Gateway Protocol (IGP) route information is flooded between the forwarding devices, and then the network three-layer topology information is reported to the controller through BGP-LS, and the Software Defined Network (SDN) controller link network topology is determined to calculate the deterministic traffic forwarding path, and the deterministic traffic reachable forwarding path is obtained.
[0088] Specifically, the interconnection relationship between the forwarding devices and the forwarding devices for detecting the deterministic traffic, the related route information, the various state data information of the link and the like network topology information are obtained, and the information is reported to the SDN controller through BGP-L, and the SDN controller can calculate the deterministic traffic reachable forwarding route according to the multi-constraint algorithm, and according to the determined forwarding path, the bounded delay and jitter of the deterministic traffic are guaranteed.
[0089] Optionally, the characteristic flow information of the deterministic traffic and the probe flow information corresponding to the deterministic traffic are determined, including:
[0090] The characteristic flow information of the deterministic traffic is obtained through the man-machine interaction interface.
[0091] The probe flow information corresponding to the deterministic traffic is obtained from the characteristic flow information of the deterministic traffic through the man-machine interaction interface.
[0092] In the man-machine interaction interface, the characteristic flow information of the deterministic traffic and the corresponding probe flow information can be displayed. The characteristic flow information and the probe flow information displayed in the man-machine interaction interface can be input by the user.
[0093] Figure 3 A human-computer interaction interface diagram of a transmission method of a deterministic service is provided for the first embodiment of the present application, as shown in the figure. Figure 3 In the human-computer interaction interface, the topology of the network and the characteristic flow information and the probe flow information input by the user can be shown. For example, the characteristic of a deterministic service flow can be that the source IP is a 10.0.0.1 network segment, the destination IP is a 50.0.0.1 network segment, the source port is arbitrary, the destination port is 256, and the protocol number is arbitrary; the probe flow set for the deterministic service is that the source IP is 10.0.0.1, the destination IP is 50.0.0.2, the source port is 1024, the destination port is 256, and the protocol number is 4, which can all be directly obtained through the human-computer interaction interface. In this embodiment, by obtaining the characteristic flow information and the corresponding probe flow information of the deterministic service from the human-computer interaction interface, not only can the identification of the deterministic service be realized, avoiding the problem that in the scenario where the sending time of the non-deterministic service packets is irregular, multiple service packets can be congested at the out-interface, and the normal and timely sending of the deterministic service flow cannot be guaranteed; but also the forwarding path of the characteristic flow of the deterministic service can be probed, effectively guaranteeing that the time delay and jitter of the deterministic service are within a bounded range.
[0094] Figure 3 The forwarding devices report the forwarding time slots (i.e., TimeSlot) to the SDN controller, such as that Node1 reports its corresponding forwarding time slot TimeSlot1 to the SDN controller.
[0095] Optionally, based on the probe result and the forwarding path, a segment routing identifier is determined, comprising:
[0096] Based on the forwarding time slot of each forwarding device in the probe result, a mapping period of the forwarding device forwarding the deterministic service is determined;
[0097] Based on the forwarding path and the mapping period, a segment routing identifier is formed.
[0098] The forwarding time slot can be the forwarding time slot of each forwarding device probed by the probe flow according to the SDN controller. The forwarding mapping period of each forwarding device through which the deterministic service flow passes can be calculated according to the forwarding time slot by running the mapping period algorithm, i.e., the mapping period.
[0099] In one embodiment, the SDN controller can calculate the forwarding route reachable by the deterministic service according to the multi-constraint algorithm, and calculate the forwarding mapping period of each node through which the deterministic service flow passes according to the forwarding time slot of each forwarding device probed by the probe flow through the mapping period algorithm, and then form the SID of the forwarding packet according to the CSQF mechanism to guide the forwarding of the deterministic service packet, so that the forwarding path and the forwarding time slot of the deterministic service are determined, and the bounded time delay and jitter of the deterministic service are guaranteed.
[0100] Optionally, the characteristic flow information comprises one or more of the following:
[0101] The source IP network segment of the deterministic service, the destination IP network segment of the deterministic service, the source port, the destination port and the protocol number.
[0102] The present application can define the five-tuple of the characteristic flow, which can include the source IP network segment, the destination IP network segment, the source port, the destination port and the protocol number of the packet, to distinguish the deterministic service and the non-deterministic service.
[0103] The present application can distinguish the deterministic service flow and the non-deterministic service flow according to the characteristic flow information of the deterministic service, which can effectively solve the problem that the non-deterministic service packet sending time is irregular, which may cause congestion of multiple service packets at the out-interface, and cannot guarantee the normal and timely sending of the deterministic service flow in the scenario where the deterministic service and the non-deterministic service both exist; the present application realizes the distinguishing scenario of the deterministic service flow and the non-deterministic service flow, and further guarantees that the delay and jitter of the deterministic service are within a bounded range according to the probe flow information corresponding to the deterministic service and the forwarding path probe for the characteristic flow of the deterministic service.
[0104] The present application embodiment provides a deterministic service transmission method, which determines the reachable forwarding route of the corresponding deterministic service through network topology information, effectively guarantees that the delay and jitter of the deterministic service are within a bounded range; directly obtains the characteristic flow information of the deterministic service and the corresponding probe flow information through the man-machine interface, which can directly and quickly realize the distinguishing scenario of the deterministic service flow and the non-deterministic service flow, and guarantee the normal and timely sending of the deterministic service flow; determines the mapping period of the forwarding device through the probe result, forms a segmented routing identifier according to the reachable forwarding path of the deterministic service and the mapping period, guides the deterministic service packet forwarding, so that the forwarding path and the time slot of the deterministic service are determined, and the bounded delay and jitter of the deterministic service are further guaranteed.
[0105] Embodiment two
[0106] Figure 4 A flowchart of a deterministic service transmission method provided by the present application embodiment two, the technical solution of the present embodiment is further developed on the basis of the above-mentioned embodiment. As shown in Figure 2 The method of the present embodiment can include the following steps:
[0107] S210, determining the characteristic flow information of the deterministic service, the probe flow information corresponding to the deterministic service and the reachable forwarding path of the deterministic service.
[0108] S220, transmitting the feature flow information and the probe flow information to a head forwarding device in a network.
[0109] S230, obtaining a probe result transmitted by a forwarding device in the network that probes the deterministic service, the probe result being a result obtained by the forwarding device after probing the deterministic service based on the probe flow information.
[0110] S240, determining a segment routing identifier based on the probe result and the forwarding path.
[0111] S250, transmitting the segment routing identifier to the head forwarding device, the segment routing identifier being used to instruct the head forwarding device to forward the deterministic service corresponding to the feature flow information.
[0112] S260, transmitting network configuration information to the head forwarding device, the network configuration information being configuration information corresponding to service requirements of the deterministic service.
[0113] The network configuration information can be information for configuring the network, such as SLA attributes, interconnection relationships, service names, and the like of the deterministic service; and the service requirements can be bandwidth, latency, source port, destination port, and the like.
[0114] In an embodiment, the SDN controller can store SLA attributes, interconnection relationships, service names, and the like of the deterministic service of a user in the SDN controller according to service requirements of the user, and can issue the network configuration information to the head forwarding device to perform basic configuration of the network, address allocation of the forwarding device, interface configuration, and the like.
[0115] In the embodiment, the network configuration information corresponding to the service requirements of the deterministic service is transmitted to the head forwarding device to perform pre-configuration before forwarding the deterministic service, thereby saving time for forwarding the deterministic service and ensuring bounded latency of the deterministic service.
[0116] S270, displaying transmission information of the deterministic service,
[0117] Optionally, the transmission information includes at least one or more of the following:
[0118] a forwarding path of the deterministic service;
[0119] a latency of the deterministic service;
[0120] jitter of the deterministic service;
[0121] The forwarding traffic of the deterministic service.
[0122] Specifically, by running the Telemetry protocol between the forwarding device and the SDN controller, the forwarding device reports information for calculating the delay information, jitter, forwarding path and / or forwarding traffic of the deterministic service to the SDN controller, the SDN controller can calculate the end-to-end delay, jitter and complete forwarding path and forwarding traffic of the service and display, realizing the visibility of the forwarding path, the visibility of the forwarding traffic and the visibility of the delay jitter of the deterministic service, which is simpler and more automated compared with the traditional scheme of manually checking the related information of each forwarding device.
[0123] Embodiment two of the present application provides a deterministic service transmission method, which saves the time of subsequent deterministic service forwarding through pre-configuration before deterministic service forwarding, guarantees the bounded delay of the deterministic service, and finally realizes the visibility of the forwarding path, the visibility of the forwarding traffic and the visibility of the delay jitter of the deterministic service by running the Telemetry protocol between the forwarding device and the SDN controller to obtain the forwarding traffic of the deterministic service and the forwarding delay and jitter of the deterministic service, which is simpler and more automated compared with the traditional scheme of manually checking the related information of each forwarding device.
[0124] Embodiment three
[0125] Figure 5 A structural schematic diagram of a deterministic service transmission device provided by embodiment three of the present application is shown in the figure. Figure 5 As shown in the figure, the device comprises:
[0126] A first determination module S310 is configured to determine the characteristic flow information of the deterministic service, the probe flow information corresponding to the deterministic service and the forwarding path reachable by the deterministic service.
[0127] A first transmission module S320 is configured to transmit the characteristic flow information and the probe flow information to a head forwarding device in a network.
[0128] An acquisition module S330 is configured to acquire a probe result transmitted by a forwarding device in the network for probing the deterministic service, wherein the probe result is a result obtained by the forwarding device based on the probe flow information for probing the deterministic service.
[0129] A second determination module S340 is configured to determine a segment routing identifier based on the probe result and the forwarding path.
[0130] The second transmission module S350 is configured to transmit the segment routing identifier to the head forwarding device, where the segment routing identifier is used to instruct the head forwarding device to forward the deterministic service corresponding to the feature flow information.
[0131] Optionally, the first determination module S310 is specifically configured to:
[0132] Obtain network topology information of a forwarding device in a network for detecting the deterministic service.
[0133] Determine a forwarding path of the deterministic service corresponding to the network topology information.
[0134] Optionally, the first determination module S310 is specifically configured to include:
[0135] Obtain feature flow information of the deterministic service through a human-computer interaction interface.
[0136] Obtain, through the human-computer interaction interface, detection flow information corresponding to the deterministic service selected from the feature flow information of the deterministic service.
[0137] Optionally, the second determination module S340 is configured to:
[0138] Determine a mapping period of a forwarding device forwarding the deterministic service based on a forwarding time slot of each forwarding device in the detection result.
[0139] Form a segment routing identifier based on the forwarding path and the mapping period.
[0140] Optionally, the feature flow information includes one or more of the following:
[0141] A source IP network segment of the deterministic service, a destination IP network segment of the deterministic service, a source port, a destination port, and a protocol number.
[0142] Optionally, the apparatus further includes a third transmission module configured to:
[0143] Transmit network configuration information to the head forwarding device, where the network configuration information is configuration information corresponding to service requirements of the deterministic service.
[0144] Optionally, the apparatus further includes a display module configured to display transmission information of the deterministic service, where the transmission information includes one or more of the following:
[0145] A forwarding path of the deterministic service.
[0146] A time delay of the deterministic service.
[0147] Jitter of the deterministic service.
[0148] forwarding traffic of the deterministic service.
[0149] The transmission device for deterministic service provided by the embodiments of the present application can execute the transmission method for deterministic service provided by any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of the execution method.
[0150] Embodiment Four
[0151] Figure 6 A structural schematic diagram of a software defined network controller 10 that can be used to implement embodiments of the present application is shown. The software defined network controller is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The software defined network controller can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smart phones, wearable devices (like helmets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application described and / or claimed in this document.
[0152] As shown in Figure 6 The software defined network controller 10 includes at least one processor 11, and a memory, such as a Read-Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., connected to the at least one processor 11 in communication, wherein the memory stores a computer program executable by the at least one processor 11, and the computer program is executed by the at least one processor 11 to enable the at least one processor 11 to execute the method provided by the present application.
[0153] The processor 11 can execute various appropriate actions and processes according to the computer program stored in the Read-Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the software defined network controller 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An Input / Output (I / O) interface 15 is also connected to the bus 14.
[0154] A plurality of components in the software-defined network controller 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the software-defined network controller 10 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunication networks.
[0155] The processor 11 can be various general and / or special purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various special-purpose Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Process (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs various methods and processes described above, such as the transmission method of deterministic traffic.
[0156] In some embodiments, the transmission method of deterministic traffic can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the software-defined network controller 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded onto the RAM 13 and executed by the processor 11, one or more steps of the transmission method of deterministic traffic described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to perform the transmission method of deterministic traffic by any other appropriate means, such as by means of firmware.
[0157] The various embodiments of the systems and techniques described above can be implemented in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), an application specific standard product (ASSP), a system on chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0158] Computer programs used to implement the processes of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed by the processor of the machine, implements the functions / acts specified in the flow diagrams and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine, partially on a machine as part of a standalone software package, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0159] In the context of the present application, the computer readable storage medium stores computer instructions for causing a processor to implement the deterministic service transmission method provided by the present application when executed. The computer readable storage medium can be a tangible medium, which can contain or store the computer program for use by or in connection with the instruction execution system, apparatus, or device. The computer readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium can be a machine readable signal medium. More specific examples of the machine readable storage medium will include one or more lines of electrical connection, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the foregoing.
[0160] To provide for interaction with a user, the systems and techniques described here can be implemented on a software defined network controller having a display device (e.g., a Cathode Ray Tube (CRT) or a Liquid Crystal Display (LCD) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the software defined network controller. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0161] The systems and techniques described herein can be implemented in a computing system that includes a back end component, e.g., as a data server, or that includes a middleware component, e.g., an application server, or that includes a front end component, e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described herein, or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication, e.g., a communication network. Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0162] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. A server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and virtual private server (VPS) services.
[0163] It should be understood that the various forms of flow shown above can be re-ordered, added to, or deleted from without departing from the scope of the present disclosure. For example, the steps recited in the present disclosure can be performed in parallel, in series, or in a different order, as long as the desired results of the technical solutions of the present disclosure are achieved, and the present disclosure is not limited herein.
[0164] The above detailed description does not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method of transmission of deterministic traffic, characterized by, The method comprises: determining characteristic flow information of a deterministic service, probe flow information corresponding to the deterministic service, and a forwarding path reachable by the deterministic service; transmitting the characteristic flow information and the probe flow information to a head forwarding device in a network; obtaining a probe result transmitted by a forwarding device in the network that probes the deterministic service, the probe result being a result obtained by the forwarding device based on the probe flow information after the deterministic service is probed; determining a segment routing identifier based on the probe result and the forwarding path; transmitting the segment routing identifier to the head forwarding device, the segment routing identifier being used to instruct the head forwarding device to forward the deterministic service corresponding to the characteristic flow information.
2. The method of claim 1, wherein, The method comprises: obtaining network topology information of a forwarding device in a network that probes the deterministic service; determining a forwarding path reachable by the deterministic service corresponding to the network topology information.
3. The method of claim 1, wherein, The method comprises: obtaining characteristic flow information of a deterministic service through a human-computer interaction interface; obtaining probe flow information corresponding to the deterministic service selected from the characteristic flow information of the deterministic service through the human-computer interaction interface.
4. The method of claim 1, wherein, The method comprises: determining a mapping period of a forwarding device forwarding the deterministic service based on a forwarding time slot of each forwarding device in the probe result; forming a segment routing identifier based on the forwarding path and the mapping period.
5. The method of claim 1, wherein, The characteristic flow information comprises one or more of the following: a source IP network segment of the deterministic service, a destination IP network segment of the deterministic service, a source port, a destination port, and a protocol number.
6. The method of claim 1, wherein, The method further comprises: transmitting network configuration information to the head forwarding device, the network configuration information being configuration information corresponding to service requirements of the deterministic service.
7. The method of claim 1, wherein, The method further comprises: displaying transmission information of the deterministic service, the transmission information comprising at least one or more of the following: a forwarding path of the deterministic service; a time delay of the deterministic service; jitter of the deterministic service; forwarding traffic of the deterministic service.
8. A transmission apparatus of a deterministic service, characterized by, The method comprises: a first determining module configured to determine characteristic flow information of a deterministic service, probe flow information corresponding to the deterministic service, and a forwarding path reachable by the deterministic service; a first transmitting module configured to transmit the characteristic flow information and the probe flow information to a head forwarding device in a network; an obtaining module configured to obtain a probe result transmitted by a forwarding device in the network that probes the deterministic service, the probe result being a result obtained by the forwarding device based on the probe flow information after the deterministic service is probed; a second determining module configured to determine a segment routing identifier based on the probe result and the forwarding path; a second transmitting module configured to transmit the segment routing identifier to the head forwarding device, the segment routing identifier being used to instruct the head forwarding device to forward the deterministic service corresponding to the characteristic flow information.
9. A software defined network controller, characterized by The method comprises: at least one processor; and a memory connected with the at least one processor in communication; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for causing a processor to implement the method of any one of claims 1-7 when executed.
Citation Information
Patent Citations
Segmented routing transmission method based on VXLAN, server, source node and storage medium
CN113489646A
Determining node behavior in deterministic networks
US20210385148A1