Corresponding relation sending method and device, storage medium and electronic device
By receiving registration requests in the management and control system and generating service identification and traffic configuration strategies, the problem of inability to effectively manage massive differentiated connection services and service quality requirements adjustments in the prior art is solved, and the effect of fine-grained programmable definition of business and SLA service guarantee is achieved.
Patent Information
- Application Number
- CN202311825689.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2025-06-27
AI Technical Summary
The existing technology cannot effectively manage and provide massive differentiated connectivity services, and cannot meet the arbitrary modifications and adjustments of service quality requirements.
By receiving registration requests from the server management system, a service identity and traffic configuration policy are generated, and their correspondence relationships are sent to the service-aware gateway to realize open feature management of connected services and unique corresponding identity distribution.
It realizes fine-grained programmable definition of business and SLA service guarantee, which can meet the flexible management of massive connected services and dynamic adjustment of service quality requirements.
Smart Images

Figure CN120223535A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of communications, and in particular, to a method and apparatus for sending a correspondence relationship, a storage medium, and an electronic device. Background Art
[0002] With the advent of the 5G and cloud eras, the IP network has entered the industrial Internet stage. The most obvious characteristics of the network requirements for applications in this stage are massive connections, quality determination, and quality customization. Currently, applications with differentiated demand characteristics emerge in an endless stream, such as mobile Internet application scenarios for enhanced bandwidth and device Internet application scenarios for massive IoT.
[0003] Based on the end-to-end hierarchical design principle and concept of the Internet, for segmented differentiated demands, the past way of completely decoupling the network and applications is no longer suitable, and the demand for network-aware services is becoming stronger and stronger. Traditional network-aware services are mainly implemented through two technologies: service identification and service marking. The former uses the five-tuple and Deep Packet Inspection (DPI) to identify the application attribution of traffic, and the latter uses the QoS priority field to perform simple flow classification on the traffic to mark the service requirements of the traffic. The two are combined to provide different services for different applications. In addition, the basis for closed-loop adjustment of the connection service provided by the network for quality detection is mainly telecom-level OAM, which cannot truly reflect the service quality. The new in-flow detection technology can truly reflect the quality of the service flow, but the in-flow detection is oriented to fine-grained specific flows and cannot feedback the quality of all flows in the connection pipeline, so it is impossible to form an efficient service level agreement (SLA) guarantee for service quality.
[0004] In view of the related technologies, there is no effective solution yet to the problem that the network cannot manage and provide a large number of differentiated connection services and cannot meet the arbitrary modification and adjustment of service quality requirements.
[0005] Therefore, it is necessary to improve the related technologies to overcome the defects in the related technologies. Summary of the Invention
[0006] Embodiments of the present application provide a method and apparatus for sending a correspondence relationship, a storage medium, and an electronic device, so as to at least solve the problem in the related technologies that the network cannot manage and provide a large number of differentiated connection services and cannot meet the arbitrary modification and adjustment of service quality requirements.
[0007] According to an embodiment of the present application, a method for sending a correspondence relationship is provided, which is applied to a management and control system and includes: receiving a registration request sent by a management system of a server, where the registration request is used to request registration of a connection service, and the registration request includes: characteristic information of the connection service and service quality requirements, and the server is the provider of the connection service; generating a service identifier according to the characteristic information, and generating a traffic configuration policy according to the service quality requirements and an Internet address, where the Internet address is the address of a service perception gateway to which the server and / or a terminal is connected, and the terminal is the user of the connection service; sending the correspondence relationship between the service identifier and the traffic configuration policy to the service perception gateway.
[0008] In an exemplary embodiment, generating a traffic configuration policy according to the service quality requirements and an Internet address includes: when the service quality requirements include uplink service quality requirements and downlink service quality requirements, generating a first traffic configuration policy according to the downlink service quality requirements and a first Internet address, and generating a second traffic configuration policy according to the uplink service quality requirements and a second Internet address, where the traffic configuration policy includes: the first traffic configuration policy and the second traffic configuration policy, the Internet address includes: the first Internet address and the second Internet address, the first Internet address is the address of a first service perception gateway to which the terminal is connected, and the second Internet address is the address of a second service perception gateway to which the server is connected.
[0009] In an exemplary embodiment, sending the correspondence relationship between the service identifier and the traffic configuration policy to the service perception gateway includes: sending the correspondence relationship between the first service identifier and the first traffic configuration policy to the second service perception gateway, and sending the correspondence relationship between the first service identifier and the second traffic configuration policy to the first service perception gateway.
[0010] In an exemplary embodiment, before generating a traffic configuration policy according to the service quality requirements and an Internet address, the method further includes at least one of the following: obtaining the Internet address according to the registration request, where the registration request includes: the Internet address; determining the destination Internet address of the connection service through flow learning; determining a routing table through the destination Internet address, and determining the Internet address in the routing table.
[0011] In an exemplary embodiment, after sending the correspondence between the service identifier and the traffic configuration policy to the service awareness gateway, the method further includes: determining the service quality requirement and / or whether the Internet address is updated; in the case where the service quality requirement and / or the Internet address is updated, updating the traffic configuration policy corresponding to the connection service according to the updated service quality requirement and / or the updated Internet address; and sending the correspondence between the service identifier and the updated traffic configuration policy to the service awareness gateway.
[0012] In an exemplary embodiment, determining the service quality requirement and / or whether the Internet address is updated includes at least one of the following: determining the service quality requirement and / or whether the Internet address is updated according to whether an update request sent by the management system is received; monitoring whether the Internet address is updated through flow learning.
[0013] In an exemplary embodiment, the feature information includes at least one of the following: the destination Internet address of the server side, the destination port of the server side, and the feature information may further include one of the following: the abstract type of the service application corresponding to the connection service, the user privilege.
[0014] According to another embodiment of the present application, a method for receiving a correspondence is provided, which is applied to a service awareness gateway and includes: receiving the correspondence between the service identifier corresponding to the connection service and the traffic configuration policy sent by the management and control system, where the management and control system is configured to receive a registration request sent by the management system corresponding to the server side; generating a service identifier according to the feature information of the connection service, and generating a traffic configuration policy according to the service quality requirement and the Internet address of the connection service, where the registration request is used to request registration of the connection service, and the registration request includes: the feature information and the service quality requirement of the connection service, the Internet address is the address of the service awareness gateway connected to the server side or the terminal, the terminal is the user side of the connection service, and the server side is the provider of the connection service.
[0015] In an exemplary embodiment, after receiving the correspondence between the service identifier corresponding to the connection service and the traffic configuration policy sent by the management and control system, the method further includes: generating a corresponding transmission path according to the traffic configuration policy; establishing a correspondence between the service identifier and the transmission path; in the case where a data packet is received from the server side or the terminal, determining the transmission path corresponding to the service identifier carried in the data packet according to the correspondence, and transmitting the data packet according to the transmission path.
[0016] In an exemplary embodiment, after receiving the correspondence between the service identifier corresponding to the connection service sent by the management and control system and the traffic configuration policy, the method further includes: determining a corresponding in-flow detection method according to the service identifier; encapsulating an in-flow detection message based on the in-flow detection method to determine a detection result of the transmission path through the in-flow detection message, where the detection result includes at least one of the following: a transmission path profile, nodes of the transmission path, and a packet loss rate.
[0017] According to another embodiment of the present application, a sending device for the correspondence is provided, which is applied to a management and control system and includes: a receiving module, configured to receive a registration request sent by a management system of a service provider, where the registration request is used to request registration of a connection service, and the registration request includes: characteristic information of the connection service and a service quality requirement, and the service provider is the provider of the connection service; a generating module, configured to generate a service identifier according to the characteristic information, and generate a traffic configuration policy according to the service quality requirement and an Internet address, where the Internet address is an address of a service awareness gateway to which the service provider and / or a terminal is connected, and the terminal is a user of the connection service; a sending module, configured to send the correspondence between the service identifier and the traffic configuration policy to the service awareness gateway.
[0018] According to another embodiment of the present application, a receiving device for the correspondence is provided, which is applied to a service awareness gateway and includes: a receiving module, configured to receive the correspondence between the service identifier corresponding to the connection service and the traffic configuration policy sent by the management and control system, where the management and control system is configured to receive a registration request sent by a management system corresponding to the service provider; generate a service identifier according to the characteristic information of the connection service, and generate a traffic configuration policy according to the service quality requirement of the connection service and an Internet address, where the registration request is used to request registration of the connection service, and the registration request includes: characteristic information of the connection service and a service quality requirement, the Internet address is an address of a service awareness gateway to which the service provider or the terminal is connected, the terminal is a user of the connection service, and the service provider is the provider of the connection service.
[0019] According to still another embodiment of the present application, a computer-readable storage medium is further provided, where a computer program is stored in the computer-readable storage medium, and the computer program is configured to execute the steps in any one of the above method embodiments when running.
[0020] According to still another embodiment of the present application, an electronic device is further provided, which includes a memory and a processor, a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0021] Through this application, a registration request sent by the management system of the server is received. The registration request is used to request registration of a connection service, and includes: characteristic information of the connection service and service quality requirements. The server is the provider of the connection service. A service identifier is generated according to the characteristic information, and a traffic configuration policy is generated according to the service quality requirements and the Internet address. The Internet address is the address of the service awareness gateway to which the server and / or the terminal is connected, and the terminal is the user of the connection service. The correspondence between the service identifier and the traffic configuration policy is sent to the service awareness gateway. That is, in the embodiments of this application, a service identifier of the connection service is generated according to the characteristic information of the connection service, and a traffic configuration policy is generated according to the service quality requirements of the connection service and the Internet address of the service awareness gateway to which the provider and / or user of the connection service is connected, so as to realize the management of the open characteristics of the connection service and the issuance of unique corresponding identifiers. Moreover, since the service identifier is only associated with the characteristic information of the connection service, the service quality requirements can be modified arbitrarily, and then the traffic configuration policy can be modified according to the service quality requirements. Therefore, the problem that the network cannot manage and provide a large number of differentiated connection services and cannot meet the arbitrary modification and adjustment of service quality requirements can be solved, and the effects of fine-grained programmable definition of services and SLA service guarantee are achieved. Description of the Drawings
[0022] Figure 1 is a hardware structure block diagram of a computer terminal for the sending method of the correspondence relationship in the embodiments of this application;
[0023] Figure 2 is a schematic diagram of a service awareness system according to the embodiments of this application;
[0024] Figure 3 is a flowchart of the sending method of the correspondence relationship according to the embodiments of this application;
[0025] Figure 4 is a flowchart of the receiving method of the correspondence relationship according to the embodiments of this application;
[0026] Figure 5 is a schematic diagram of service information registration according to the embodiments of this application;
[0027] Figure 6 is a schematic diagram of SAN-ID identifier-based traffic diversion and traffic configuration policy according to the embodiments of this application;
[0028] Figure 7 is a schematic diagram of a SAN-ID identifier-based traffic diversion policy table and forwarding according to the embodiments of this application;
[0029] Figure 8It is a structural block diagram of a sending device according to the corresponding relationship of the embodiments of the present application;
[0030] Figure 9 It is a structural block diagram of a receiving device according to the corresponding relationship of the embodiments of the present application. Detailed implementation manners
[0031] In the following, embodiments of the present application will be described in detail with reference to the accompanying drawings and in conjunction with the embodiments.
[0032] It should be noted that the terms "first", "second", etc. in the description, claims and above-mentioned drawings of the present application are used to distinguish similar objects, and do not necessarily need to be used to describe a specific order or sequence.
[0033] The method embodiments provided in the embodiments of the present application can be executed on a computer terminal or a similar computing device. Taking running on a computer terminal as an example, Figure 1 It is a hardware structural block diagram of a computer terminal for a sending method of a corresponding relationship according to an embodiment of the present application. As Figure 1 shown, the computer terminal may include one or more ( Figure 1 only one is shown in Figure 1 a processor 102 (the processor 102 may include, but is not limited to, a processing device such as a microprocessor (Central Processing Unit, MCU) or a field programmable gate array (Field Programmable Gate Array, FPGA)) and a memory 104 for storing data. Among them, the above computer terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those of ordinary skill in the art can understand that Figure 1 the structure shown in Figure 1 is only schematic and does not limit the structure of the above computer terminal. For example, the computer terminal may further include more or fewer components than
[0034] The memory 104 can be used to store computer programs, such as software programs and modules of application software, like the computer program corresponding to the sending method of the corresponding relationship in the embodiments of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implements the above-mentioned method. The memory 104 can include high-speed random access memory, and can also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memories. In some instances, the memory 104 can further include a memory remotely set relative to the processor 102, and these remote memories can be connected to the computer terminal through a network. Examples of the above network include but are not limited to the Internet, enterprise intranet, local area network, mobile communication network, and their combinations.
[0035] The transmission device 106 is used to receive or send data via a network. Specific examples of the above network can include a wireless network provided by a communication provider of a computer terminal. In one instance, the transmission device 106 includes a network adapter (abbreviated as NIC), which can be connected to other network devices through a base station and thus communicate with the Internet. In one instance, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0036] The embodiments of the present application can run on Figure 2 the service awareness system shown as Figure 2 shown, and this service awareness system includes:
[0037] 1. Service provider (equivalent to the server side in the embodiments of the present application): provides connection service instances for access, is usually deployed in a cloud resource pool, and is uniformly deployed and managed by a cloud management platform or an application service management system (equivalent to the management system in the embodiments of the present application);
[0038] 2. Service user (equivalent to the terminal in the embodiments of the present application): the client host includes fixed and mobile terminal hosts, etc., and is used to install APP software for accessing the corresponding connection service;
[0039] 3. Intelligent control system (equivalent to the control system in the embodiments of the present application): an existing network domain control system, which manages the service quality requirements of connection services and the allocation and issuance of service identifiers SAN-ID of connection services by adding a service management module, and realizes connection service demand registration, SAN-ID generation, SAN-ID and SLA demand configuration policy distribution, and SAN-ID publication and subscription;
[0040] 4. Service Perception Gateway: It is evolved from the incremental upgrade of the service perception and differentiated service capabilities of the routers that are respectively connected to the service users and providers in the existing network. It only involves modifications to the management plane and data plane, without modifying the control plane and the forwarding plane of the intermediate nodes, and can achieve the smooth evolution of the existing network.
[0041] In this embodiment, a sending method for the corresponding relationship running on the above computer terminal is provided. Figure 3 It is a flowchart of the sending method for the corresponding relationship according to the embodiment of the present application, as Figure 3 shown, and this process includes the following steps:
[0042] Step S302, receiving a registration request sent by the management system of the service provider, where the registration request is used to request the registration of a connection service, and the registration request includes: the characteristic information of the connection service and the service quality requirements, and the service provider is the provider of the connection service;
[0043] The above characteristic information must include at least one of the following: the destination Internet address of the service provider, the destination port of the service provider; and the characteristic information may further include at least one of the following: the abstract type of the service application corresponding to the connection service, user permissions.
[0044] Step S304, generating a service identifier according to the characteristic information, and generating a traffic configuration policy according to the service quality requirements and the Internet address, where the Internet address is the address of the service perception gateway connected to the service provider and / or the terminal, and the terminal is the user of the connection service;
[0045] Step S306, sending the corresponding relationship between the service identifier and the traffic configuration policy to the service perception gateway.
[0046] Through this application, a registration request sent by the management system of the server is received. The registration request is used to request the registration of a connection service, and the registration request includes: the characteristic information of the connection service and the service quality requirements. The server is the provider of the connection service. A service identifier is generated according to the characteristic information, and a traffic configuration policy is generated according to the service quality requirements and the Internet address. The Internet address is the address of the service awareness gateway to which the server and / or the terminal is connected. The terminal is the user of the connection service. The correspondence between the service identifier and the traffic configuration policy is sent to the service awareness gateway. That is, in the embodiment of this application, the service identifier of the connection service is generated through the characteristic information of the connection service, and the traffic configuration policy is generated according to the service quality requirements of the connection service and the Internet address of the service awareness gateway to which the provider and / or user of the connection service is connected, so as to realize the management of the openness characteristics of the connection service and the issuance of unique corresponding identifiers. Since the service identifier is only associated with the characteristic information of the connection service, the service quality requirements can be modified at will, and then the traffic configuration policy can be modified according to the service quality requirements. Therefore, the problem that the network cannot manage and provide a large number of differentiated connection services and cannot meet the arbitrary modification and adjustment of service quality requirements can be solved, and the effects of fine-grained programmable definition of services and SLA service guarantee are achieved.
[0047] Optionally, the above step S304 can be implemented through the following steps: when the service quality requirements include uplink service quality requirements and downlink service quality requirements, a first traffic configuration policy is generated according to the downlink service quality requirements and the first Internet address, and a second traffic configuration policy is generated according to the uplink service quality requirements and the second Internet address. The traffic configuration policy includes: the first traffic configuration policy and the second traffic configuration policy. The Internet address includes: the first Internet address and the second Internet address. The first Internet address is the address of the first service awareness gateway to which the terminal is connected, and the second Internet address is the address of the second service awareness gateway to which the server is connected.
[0048] In the embodiment of this application, the service quality requirements carried in the registration request may include: uplink service quality requirements, or may include: downlink service quality requirements, or may also include: uplink service quality requirements and downlink service quality requirements;
[0049] When the service quality requirements include: uplink service quality requirements and downlink service quality requirements, a first traffic configuration policy is generated according to the downlink service quality requirements and the address of the first service awareness gateway to which the terminal in the downlink network is connected, and a second traffic configuration policy is generated according to the uplink service quality requirements and the address of the second service awareness gateway to which the server in the uplink network is connected.
[0050] As can be seen from the above embodiments, the one-time registration in this application allows the simultaneous expression of uplink and downlink quality of service requirements and supports the optional mode of downlink quality of service requirements.
[0051] Optionally, when generating the first traffic configuration policy and the second traffic configuration policy, send the correspondence between the first service identifier and the first traffic configuration policy to the second service awareness gateway, and send the correspondence between the first service identifier and the second traffic configuration policy to the first service awareness gateway.
[0052] In the embodiments of this application, the traffic configuration policy corresponding to the uplink quality of service requirement is sent to the service awareness gateway connected to the terminal, and the traffic configuration policy corresponding to the downlink quality of service requirement is sent to the service awareness gateway connected to the server.
[0053] After sending the traffic configuration policy to the corresponding service awareness gateway, the service awareness gateway triggers the generation of a service path corresponding to the traffic configuration policy, which is used to receive packets carrying the SAN-ID identifier subsequently and select the corresponding service path according to the SAN-ID identifier.
[0054] Furthermore, this application also provides a method for a terminal or a CPE gateway to subscribe to a connection service, that is, a method for the terminal or the CPE gateway to obtain the service identifier SAN-ID identifier. Specifically:
[0055] 1. The terminal APP obtains the corresponding SAN-ID identifier according to the characteristic information of the connection service to be accessed, and can obtain the service identifier through methods such as manual configuration, the return message carried after the APP initiates connection account authentication (service provision scheme management and authentication platform), and DNS extension carrying.
[0056] 2. The CPE gateway belongs to the network domain, and the SAN-ID identifier and corresponding service characteristics are directly issued by the management and control system. The service characteristics are identified by ACL or DPI, and the SAN-ID identifier is directly added to the service flow according to the corresponding relationship.
[0057] Optionally, before generating the traffic configuration policy according to the quality of service requirement and the Internet address, the above Internet address is also obtained. The embodiments of this application provide two implementation methods: one is the static acquisition method, and the other is the dynamic acquisition method. Among them, the static acquisition method is: obtaining the Internet address according to the registration request, where the registration request includes: the Internet address; the dynamic acquisition method is: determining the destination Internet address of the connection service through flow learning; determining the routing table through the destination Internet address, and determining the Internet address in the routing table.
[0058] That is to say, the static acquisition method obtains the Internet address through the information carried in the received registration request; the dynamic acquisition method is to determine the corresponding Internet address through flow learning.
[0059] Further, after sending the correspondence between the service identifier and the traffic configuration policy to the service awareness gateway, it further includes: determining the service quality requirement and / or whether the Internet address has been updated; in the case where the service quality requirement and / or the Internet address has been updated, updating the traffic configuration policy corresponding to the connection service according to the updated service quality requirement and / or the updated Internet address; sending the correspondence between the service identifier and the updated traffic configuration policy to the service awareness gateway.
[0060] It can be understood that after the connection service is registered, it can support flexible adjustment according to the service quality requirement and the IP of the service awareness gateway on the service side, and / or the IP of the service awareness gateway on the terminal, without changing the characteristic information. During this process, the SAN-ID identifier remains unchanged, that is, during the process of changing the service quality requirement and the IP of the service awareness gateway, only the traffic configuration policy is adjusted, and the terminal and the service side are completely unaware, truly realizing flexible programmability of service capabilities.
[0061] Optionally, the adjustment of the above traffic configuration policy is initiated by the service side for demand change or the management and control system automatically senses the demand change. Specifically, it includes at least one of the following:
[0062] Determining the service quality requirement and / or whether the Internet address has been updated according to whether an update request sent by the management system is received;
[0063] Monitoring whether the Internet address has been updated through flow learning.
[0064] Since the Internet address in the embodiment of the present application can be determined by the management and control system through flow learning, the management and control system can also automatically sense whether the Internet address has changed through flow learning.
[0065] In this embodiment, a method for receiving the correspondence running on the service awareness gateway is also provided. Figure 4 It is a flowchart of the method for sending the correspondence according to the embodiment of the present application, as Figure 4 shown, and this process includes the following steps:
[0066] Step S402: Receive the correspondence between the service identifier corresponding to the connection service and the traffic configuration policy sent by the control system. The control system is used to receive the registration request sent by the management system corresponding to the server; generate a service identifier according to the characteristic information of the connection service, and generate a traffic configuration policy according to the quality of service requirement and Internet address of the connection service. The registration request is used to request the registration of the connection service, and the registration request includes the characteristic information and quality of service requirement of the connection service. The Internet address is the address of the service awareness gateway connected to the server or the terminal, the terminal is the user of the connection service, and the server is the provider of the connection service.
[0067] Through this application, receive the correspondence between the service identifier corresponding to the connection service and the traffic configuration policy sent by the control system. The control system receives the registration request sent by the management system of the server. The registration request is used to request the registration of the connection service, and the registration request includes the characteristic information and quality of service requirement of the connection service. The server is the provider of the connection service; generate a service identifier according to the characteristic information, and generate a traffic configuration policy according to the quality of service requirement and Internet address. The Internet address is the address of the service awareness gateway connected to the server and / or the terminal, and the terminal is the user of the connection service; send the correspondence between the service identifier and the traffic configuration policy to the service awareness gateway. That is, in the embodiment of this application, generate the service identifier of the connection service according to the characteristic information of the connection service, and generate a traffic configuration policy according to the quality of service requirement of the connection service and the Internet address of the service awareness gateway connected to the provider and / or user of the connection service, so as to realize the management of the open characteristics of the connection service and the issuance of unique corresponding identifiers. Therefore, the problem that the network cannot manage and provide a large number of differentiated connection services and cannot meet the arbitrary modification and adjustment of the quality of service requirements can be solved, and the effects of fine-grained programmable definition of services and SLA service guarantee are achieved.
[0068] Optionally, after receiving the correspondence between the service identifier corresponding to the connection service and the traffic configuration policy sent by the control system, the following steps need to be further executed: generate a corresponding transmission path according to the traffic configuration policy; establish the correspondence between the service identifier and the transmission path; when receiving a data packet sent by the server or the terminal, determine the transmission path corresponding to the service identifier carried in the data packet according to the correspondence, and transmit the data packet according to the transmission path.
[0069] When the service awareness gateway receives the traffic configuration policy, the service awareness ingress gateway (i.e., in the upstream network, the service awareness ingress gateway is the service awareness gateway connected by the terminal; in the downstream network, the service awareness ingress gateway is the service awareness gateway connected by the server) generates the SRv6 Policy transmission path corresponding to the SAN-ID identifier based on the traffic engineering algorithm. Furthermore, when the service packet carrying the SAN-ID identifier enters the service awareness gateway, the SAN-ID identifier is directly recognized to implement differentiated traffic diversion services.
[0070] Optionally, after receiving the correspondence between the service identifier corresponding to the connection service sent by the management and control system and the traffic configuration policy, the following steps need to be further executed: determining the corresponding in-flow detection method according to the service identifier; encapsulating the in-flow detection packet based on the in-flow detection method to determine the detection result of the transmission path through the in-flow detection packet, where the detection result at least includes one of the following: transmission path profile, nodes of the transmission path, packet loss rate.
[0071] At the service awareness ingress gateway, directly enable the in-flow detection configuration based on the SAN-ID identifier for the SRV6 POLICY corresponding to the mapped SAN-ID identifier, where the Endpoint of the POLICY represents the service awareness egress gateway; when the data plane receives a packet carrying the SAN-ID identifier, after matching the corresponding SRV6 POLICY, if the in-flow detection configuration is enabled, an in-flow detection packet is encapsulated, and the corresponding in-flow detection technology can be flexibly selected from any one of INT, IOAM, IFA, and InbandOAM.
[0072] It should be noted that the in-flow detection can support the E2E mode for end-to-end performance detection, including packet loss, delay, and jitter detection, or the TRACE mode for business path profiling, node, and link packet loss localization.
[0073] It should be noted that in the upstream network, the service awareness ingress gateway is the service awareness gateway connected by the terminal, and the service awareness egress gateway is the service awareness gateway connected by the server; in the downstream network, the service awareness ingress gateway is the service awareness gateway connected by the server, and the service awareness egress gateway is the service awareness gateway connected by the terminal.
[0074] Obviously, the above-described embodiments are only a part of the embodiments of the present application, rather than all embodiments. To better understand the sending and receiving methods of the above correspondence, the following describes the above process in combination with embodiments, but does not limit the technical solutions of the embodiments of the present application. Specifically:
[0075] To more clearly present the system operation mechanism and principle, as Figure 2As shown below, from the perspectives of the system management plane and data forwarding plane that meet business operations, the key processes are as follows:
[0076] 1. Register the connection service.
[0077] The management system of the service provider sends a request to register the connection service to the intelligent control system according to the service type characteristics, network deployment location, and network quality requirements of the connection service.
[0078] The registration steps of the connection service are as follows:
[0079] Step 1: The service provider sends a registration request to register the connection service to the intelligent control system. As shown below, the registration elements carried in the registration request at least include: the characteristic information of the connection service, and the SLA requirements (delay, bandwidth, jitter, packet loss) for accessing the upstream or upstream and downstream networks when the service user initiates this connection service. It may also include: the IP address of the service awareness gateway connected by the service provider; Figure 2 As shown below, the registration elements carried in the registration request at least include: the characteristic information of the connection service, and the SLA requirements (delay, bandwidth, jitter, packet loss) for accessing the upstream or upstream and downstream networks when the service user initiates this connection service. It may also include: the IP address of the service awareness gateway connected by the service provider;
[0080] Step 2: The service management module in the intelligent control system generates a SAN-ID identifier (equivalent to the service identifier in the above embodiment) according to the characteristic information in the registration elements, and distributes the SAN-ID identifier to the service user. The service user can directly initiate the connection service through the SAN-ID identifier. The SAN-ID identifier is used to indicate the corresponding connection requirements when this connection service occurs, and is also used for subsequent distribution of service gateway configuration policies and for the service user to carry the identifier to enjoy the above connection service.
[0081] The registration description of the connection service is as follows:
[0082] 1) Registration description 1: As Figure 5 shown below, Figure 5 the registration instance is given, including the registration type field and the characteristic information field. Among them, the characteristic information must include at least one of the following: the destination Internet address of the server, the destination port of the server; and the characteristic information may also include at least one of the following: the abstract type of the business application corresponding to this connection service, user permissions (such as the VIP level of the game service and the user).
[0083] Generate the SAN-ID identifier through the above characteristic information, so as to generate the SAN-ID identifier for refined identification of the connection service and expression of service quality requirements. Figure 5 The registration type field and the characteristic information field are only an instance for convenient management. As long as the connection description is provided with relevant characteristics, it belongs to the scope of the embodiments of this application.
[0084] 2) Registration Instruction 2: An uplink and a downlink SLA requirement can be carried in a registration request, and an optional mode for the downlink SLA requirement is supported.
[0085] 3) Registration Instruction 3: After successfully registering the connection service, without changing the characteristic information of the connection service, it is flexibly adjusted according to the SLA requirement of the connection service and the service perception gateway IP of the service provider or the service perception gateway IP of the service user. This adjustment can be initiated by the service provider platform to change the requirement. During this process, the SAN-ID identifier remains unchanged. Repeat step 2. During the programming process of service requirement implementation, only the outflow configuration policy of the service perception gateway is adjusted, and the terminal and the service provider are completely unaware, truly realizing flexible programmability of service capabilities.
[0086] 2. Issue a traffic configuration policy according to the SAN-ID identifier.
[0087] As Figure 6 shown, the intelligent management and control system generates an uplink drainage policy corresponding to the SAN-ID identifier and a corresponding SRv6 traffic configuration policy according to the IP address of the service perception gateway of the service provider and the SLA parameter information, and issues them to the service perception gateway of the service user. The service perception gateway of the service user triggers the generation of a corresponding service path. Among them, when the service perception gateway of the service user receives a packet carrying the SAN-ID identifier, it selects a corresponding service path according to the SAN-ID identifier.
[0088] It should be noted that in the embodiments of the present application, all parameters of the SLA (bandwidth, delay, jitter, packet loss) can be used as constraint parameters of the metric type for traffic engineering calculation configuration.
[0089] In the embodiments of the present application, the SAN-ID identifier can also be extended to a drainage type. The SAN-ID identifier is the key parameter for drainage matching of service packets. That is to say, when a packet matches the traffic configuration policy MyPerFlow Policy, direct matching drainage can be further realized according to the SAN-ID identifier in forwarding drainage. This is the key entry to support differentiated network services.
[0090] In the embodiments of the present application, when an SLA carry-back parameter is carried in the registration request, it means that the downlink service needs to meet the corresponding SLA requirements. According to the network planning and deployment situation, the intelligent management and control system uses the IP address of the service perception gateway connected by the service user as the EGW-IP and the downlink SLA requirement as the traffic engineering calculation metric type constraint parameter to synchronously generate the SAN-ID identifier drainage policy and the traffic configuration policy (equivalent to the first traffic configuration policy in the above embodiments).
[0091] Furthermore, the intelligent control system distributes the generated SAN-ID identity-based traffic diversion policy and the corresponding SRv6 traffic configuration policy to the service perception gateway connected to the service user. Accordingly, based on the traffic configuration policy, the service perception gateway calculates the SRv6 policy path through the existing head node distributed computing or the PCE centralized network controller and distributes the data plane, where the data plane is used to identify packets carrying the SAN-ID identity and match to provide differentiated connection services.
[0092] 3. Subscribe to services.
[0093] The ways to subscribe to services include: the service user and the CPE gateway. In the embodiments of the present application, the subscription can be understood as the service user and the CPE gateway obtaining the SAN-ID identity. The service identity issuer can be the intelligent control system or the service provider solution management and authentication platform, which is specifically selected according to the actual situation. The service user and the CPE gateway initiate service connections based on the SAN-ID identity, which specifically includes two strategies:
[0094] 1) The terminal APP obtains the corresponding SAN-ID identity according to the characteristic information of the service to be accessed, and can obtain the service identity through manual configuration, the message carried back after the APP initiates connection account authentication (service provider solution management and authentication platform), DNS extension carrying, etc.
[0095] 2) The CPE gateway belongs to the network domain, and the SAN-ID identity and the corresponding service characteristics are directly distributed by the intelligent control system. The service characteristics are identified by ACL or DPI, and the SAN-ID identity is directly added to the service flow according to the corresponding relationship.
[0096] 4. Initiate connection services.
[0097] The service user obtains the SAN-ID identity to carry for initiating connection services. Among them, the SAN-ID identity encapsulation can be achieved through two methods: terminal host encapsulation or CPE encapsulation. Their encapsulation formats are the same. The SAN-ID identity is usually carried by using the IPV6 extension header. Specifically, it can be implemented by one or more of the source routing header (SRH), destination options header (DoH), and hop-by-hop options header (HBH) in the SID or TLV.
[0098] 5. Service perception and differentiated services.
[0099] The key to realizing differentiated services for users in this application is that the service packets carrying the SAN-ID identity enter the service perception gateway and directly identify the SAN-ID identity to achieve differentiated traffic diversion services, such as Figure 7As shown in the figure, in order to introduce the complete service process, a brief description of the association between the control plane routing and the SR policy and the data plane forwarding process is given. The relevant processes mainly include the following parts:
[0100] 1) Generation of SRv6 POLICY forwarding table entries: The control plane, according to the configuration policy issued by the intelligent management and control system, uses the head node or PCE for centralized calculation, and finally forms the SRv6 POLICY forwarding table entry: SRv6-POLICY-MyPerFlow.
[0101] Among them, the SRv6 POLICY forwarding table entry represents the POLICY of COLOR attribute 1000 from IGW to EGW, including all SRv6 POLICIES for traffic diversion based on the SAN-ID identifier. BGP publishes the colored route. Usually, in order to achieve automatic traffic diversion on the data device, the EGW usually marks the COLOR attribute when publishing the route, which is used for the IGW to match and install the VPN route and SRv6 POLICY, so as to realize the accurate intention of matching the POLICY on demand for specific route matching.
[0102] 2) Automatic matching and installation of the head node VPN route and SRv6 POLICY: After receiving the colored route published by the EGW, the IGW configures and installs it locally. Specifically, it searches for the SRv6POLICY according to the COLOR and NH IP carried by the route as the index. When found, it forms a forwarding table and issues it to the data plane to guide subsequent packet forwarding.
[0103] 3) The service user initiates a connection service: The terminal / CPE sends a packet carrying the corresponding SAN-ID identifier according to the application requirement.
[0104] 4) The IGW realizes service awareness and differentiated services: After receiving the service packet carrying the SAN-ID identifier, the IGW first searches for the VPN route according to the destination IP, obtains the corresponding SRv6-POLICY-MyPerFlow information according to the COLOR and NH of the hit route, and then searches for the SRv6 POLICY that matches the corresponding SLA requirement according to the SAN-ID identifier, and encapsulates the SRH forwarding header to realize network differentiated traffic diversion and forwarding. It should be noted that although this application extends the traffic diversion based on the SAN-ID identifier, it still maintains the traffic diversion based on DSCP. When the packet carries the SAN-ID identifier and matches the SAN-ID identifier, the traffic diversion is preferentially performed according to the SAN-ID identifier. Packets that do not carry or carry but cannot match the SAN-ID identifier still use DSCP traffic diversion to maximize the expansion of device compatibility.
[0105] 6. Service packet recovery.
[0106] After the packet reaches the service-aware egress gateway, the SRH header is stripped according to the SID instruction carried in the SLIST of the SRH to restore the real user packet. It should be noted that the service identifier needs to be carried continuously in the following two scenarios:
[0107] 1) In the cross-domain scenario, in order to continue to provide corresponding connection services in other domains.
[0108] 2) In the downlink return scenario, to support differentiated connection services, the SAN-ID identifier needs to be carried into the service IP instance.
[0109] 7. Downlink connection service.
[0110] When the SAN-ID identifier and service parameters are sent down, if the return SLA requirement is carried, a return SRv6 Policy corresponding to the SAN-ID identifier is created at the service-aware egress gateway. The service provider receives the packet carrying the SAN-ID identifier on the uplink, and the response packet still carries the SAN-ID identifier. The service gateway meets the SLA requirements of the downlink connection service through a differentiated path.
[0111] 8. Bidirectional in-flow detection.
[0112] A specific SAN-ID identifier represents the connection service requirements for the application deployed at a specific service-aware egress gateway. From the service-aware ingress gateway to the service-aware egress gateway of a specific access service user, the SAN-ID identifier indicates that the connection service and the network SRv6 Policy service granularity are exactly the same. Therefore, visualizing the services of all packets facing the SAN-ID identifier enables accurate and real visualization of the corresponding service quality provided by the network. Further, based on the described visualization data, dynamic challenges to the SRv6 Policy can be realized, achieving SLA closed-loop repair and fault location, saving device resources such as ACL and SR-PM OAM. The specific implementation methods are as follows:
[0113] 1) At the service-aware ingress gateway, directly enable the in-flow detection configuration based on the SAN-ID identifier for the SRV6 POLICY corresponding to the mapped SAN-ID identifier, where the Endpoint of the POLICY represents the egress gateway.
[0114] 2) When the data plane receives a packet carrying the SAN-ID identifier, after matching the corresponding SRV6 POLICY, if the in-flow detection configuration is enabled, an in-flow detection packet is encapsulated, and any one of INT, IOAM, IFA, or InbandOAM can be flexibly selected as the corresponding in-flow detection technology.
[0115] 3) Flow detection can support the E2E mode for end-to-end performance detection, including packet loss, latency, and jitter detection. It can also support the TRACE mode to achieve service path profiling and location of node and link packet loss, etc.
[0116] 4) The relevant detection results are reported to the intelligent control system through the Telemetry mechanism at the service awareness ingress gateway and the service awareness egress gateway to achieve fault demarcation, service trend and feature analysis, and SAL closed-loop. Among them, the SLA closed-loop means that when the detected E2E performance does not meet the SLA expectation, the controller dynamically triggers the regeneration of a new SRv6 POLICY to be issued and achieve service matching, realizing the negative feedback automatic control adjustment of the entire service for a specific connection, without the need to introduce separate detections such as SR-PM for independent detection of SR POLICY. At the same time, the detection uses real service flows, which has better accuracy and authenticity.
[0117] 5) The flow detection mechanisms and methods for the downlink and uplink are exactly the same and will not be elaborated here.
[0118] The embodiments of this application are applicable to the innovation and enhancement of service awareness networks based on IPv6 networks, realizing fine-grained programmable definition of services and SLA service guarantee, maximizing network resource utilization and refined operation and maintenance. It should be noted that in order to simplify the description, this invention uses the IPv6 / SRv6 network architecture to elaborate the main inventive concept, and the main features are still applicable to the IPv4 / MPLS network. This application:
[0119] 1. Add a service management module for connection service registration, management, and connection service policy distribution based on the existing network controller. Define services from the perspective of application service providers, facing the key features of connection service differentiation, service export location, and SLA requirements, and use the key features to assign unique digital identifiers to achieve the management of the open features of connection services and the issuance of unique corresponding identifiers. Among them, the key features are completely defined by the application provider, with full open expansion, and the fineness of the granularity planning entirely depends on how to define, without assumptions and constraints on the network domain.
[0120] 2. Use the digital identifier to map the corresponding service particles and SLA requirements in the network domain to achieve precise provision of connection services and SLA guarantee.
[0121] 3. According to the characteristics of the separation of digital identifiers from service locations and SLA requirements, achieve programmable adjustment and flexible distribution of network connection service requirements, meet the flexible realization and activation of a large number of connection service requirements, and achieve precise operation and maintenance.
[0122] Compared with other existing proposed methods, the embodiments of this application are different from the prior art in that:
[0123] 1. Compared with the passive methods of five-tuple or DPI recognition and QoS annotation, the present application directly defines connection services from the perspective of application service provision, and the terminal carries a unique digital identifier for the network to directly identify and provide service diversion and SLA guarantee, which is essentially different technically.
[0124] 2. The main differences compared with the existing APN6 are as follows:
[0125] The APN6 terminal side cannot express where the network exit is. The present application does not define connection requirements from the terminal perspective and does not need to carry complex requirement parameters. Instead, it directly defines connection services from the perspective of application service provision and precisely expresses the service exit. The terminal only needs to carry a pure digital semantic identifier for the network to provide services.
[0126] The most important difference of the present application is also the use of open service definition and programmability for connection services. Moreover, the service granularity of the present application is not limited to the hierarchical definition of APN6, and truly realizes connection as a service.
[0127] APN6 incurs overhead by carrying multi-parameter encapsulation. Network devices need to perceive and process the internal classification semantics in the identifier, which is detrimental to performance and the device processing is complex. The present application simplifies the identifier semantics and network device processing and improves performance through the design of new capabilities added to the control plane and management plane.
[0128] 3. Compared with the service-aware network SAN, the present application does not involve computing power perception and computing network joint scheduling decision-making. It only uses digital identifiers to express the types of network connection services, which are completely different in terms of service registration elements and the semantics and processes of providing differentiated services based on digital identifiers. The present application can be considered as an extension and supplement to the connection service capabilities of SAN.
[0129] From the perspective of beneficial effects, the present invention has strong feasibility, adaptability to different scenarios, and scalability. Using the technical solution of the present invention, directly upgrading the software based on the existing network can accelerate the rapid implementation of the service-aware network in the existing network environment, realize refined connection service management and guarantee capabilities in the context of cloud-network integration, truly realize connection as a service (CAAS), and have good economic value, specifically as follows:
[0130] 1. Adopting open mapping of service IDs that penetrate the terminal, network, and cloud to connect service particles and being flexibly programmable reduces the difficulty of connection service issuance and device configuration.
[0131] 2. Connection service perception based on the separation of service IDs and network requirement parameters. The simple digital identifier is carried by the message and actively expresses the connection service requirements, avoiding resource consumption and security issues such as ACL / DPI, and at the same time reducing the data plane chip pressure and network bandwidth.
[0132] 3. Directly achieve traffic diversion based on the service ID, and at the same time start in-flow measurement to achieve traffic feature characterization, fault location, and service SLA closed-loop, reducing resource consumption and improving service quality and operation and maintenance efficiency.
[0133] 4. No modification is made to the intermediate nodes of network devices. It only involves the management plane and forwarding plane of the service-aware gateway node, without involving control plane modification, realizing the smooth upgrade and evolution of in-network devices.
[0134] Through the description of the above implementation manners, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium (such as Read-Only Memory / Random Access Memory, ROM / RAM, magnetic disk, optical disc), and includes several instructions for causing a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
[0135] In this embodiment, a corresponding relationship sending device and a corresponding relationship receiving device are further provided. The device is used to implement the above embodiments and preferred implementation manners, and those that have been described will not be repeated. As used hereinafter, the term "module" can be a combination of software and / or hardware that can implement a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0136] Figure 8 is a structural block diagram of the corresponding relationship sending device according to an embodiment of the present application. As Figure 8 shown, it is applied to a management and control system. The device includes:
[0137] A receiving module 82, configured to receive a registration request sent by the management system of the service end, where the registration request is used to request registration of a connection service, and the registration request includes: characteristic information of the connection service and service quality requirements, and the service end is the provider of the connection service;
[0138] A generating module 84, configured to generate a service identifier according to the characteristic information, and generate a traffic configuration policy according to the service quality requirements and the Internet address, where the Internet address is the address of the service-aware gateway to which the service end and / or the terminal is connected, and the terminal is the user of the connection service;
[0139] A sending module 86, configured to send the correspondence between the service identifier and the traffic configuration policy to the service awareness gateway.
[0140] Through the above device, a service identifier of a connection service is generated based on the characteristic information of the connection service, and a traffic configuration policy is generated according to the quality of service requirements of the connection service and the Internet address of the service awareness gateway connected by the provider and / or user of the connection service, so as to realize the management of the open characteristics of the connection service and the issuance of unique corresponding identifiers. Therefore, the problem that the network cannot manage and provide a large number of differentiated connection services and cannot meet the arbitrary modification and adjustment of the quality of service requirements can be solved, and the effects of fine-grained programmable definition of services and SLA service guarantee are achieved.
[0141] In an exemplary embodiment, a generating module 84 is configured to, when the quality of service requirements include uplink quality of service requirements and downlink quality of service requirements, generate a first traffic configuration policy according to the downlink quality of service requirements and a first Internet address, and generate a second traffic configuration policy according to the uplink quality of service requirements and a second Internet address, where the traffic configuration policy includes: the first traffic configuration policy and the second traffic configuration policy, the Internet address includes: the first Internet address and the second Internet address, the first Internet address is the address of the first service awareness gateway connected by the terminal, and the second Internet address is the address of the second service awareness gateway connected by the server.
[0142] In an exemplary embodiment, a sending module 86 is configured to send the correspondence between the first service identifier and the first traffic configuration policy to the second service awareness gateway, and send the correspondence between the first service identifier and the second traffic configuration policy to the first service awareness gateway.
[0143] In an exemplary embodiment, the receiving module 82 is further configured to perform at least one of the following: obtain the Internet address according to the registration request, where the registration request includes: the Internet address; determine the destination Internet address of the connection service through flow learning; determine a routing table through the destination Internet address, and determine the Internet address in the routing table.
[0144] In an exemplary embodiment, the receiving module 82 is further configured to: determine whether the quality of service requirements and / or the Internet address are updated; when the quality of service requirements and / or the Internet address are updated, update the traffic configuration policy corresponding to the connection service according to the updated quality of service requirements and / or the updated Internet address; send the correspondence between the service identifier and the updated traffic configuration policy to the service awareness gateway.
[0145] In an exemplary embodiment, the receiving module 82 is further configured to perform at least one of the following: determine the service quality requirement based on whether an update request sent by the management system is received, and / or whether there is an update to the Internet address; monitor whether there is an update to the Internet address through flow learning.
[0146] In an exemplary embodiment, the feature information at least includes one of the following: the destination Internet address of the server, the destination port of the server, and the feature information may further include one of the following: the abstract type of the service application corresponding to the connection service, user permissions.
[0147] Figure 9 It is a structural block diagram of a receiving device according to the corresponding relationship of the embodiments of the present application. As Figure 9 shown, it includes:
[0148] A receiving module 92, configured to receive the corresponding relationship between the service identifier and the traffic configuration policy corresponding to the connection service sent by the management and control system, where the management and control system is configured to receive a registration request sent by the management system corresponding to the server; generate a service identifier according to the feature information of the connection service, and generate a traffic configuration policy according to the service quality requirement and the Internet address of the connection service, where the registration request is used to request registration of the connection service, and the registration request includes: the feature information and service quality requirement of the connection service, the Internet address is the address of the service awareness gateway connected to the server or the terminal, the terminal is the user of the connection service, and the server is the provider of the connection service.
[0149] Through the above device, a service identifier of the connection service is generated through the feature information of the connection service, and a traffic configuration policy is generated according to the service quality requirement of the connection service and the Internet address of the service awareness gateway connected to the provider and / or user of the connection service, realizing the management of the open feature of the connection service and the issuance of a unique corresponding identifier. Therefore, the problem that the network cannot manage and provide a large number of differentiated connection services and cannot meet the arbitrary modification and adjustment of service quality requirements can be solved, and the effects of fine-grained programmable definition of services and SLA service guarantee are achieved.
[0150] It should be noted that the above-mentioned various modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited thereto: the above-mentioned modules are all located in the same processor; or, the above-mentioned various modules are respectively located in different processors in any combination form.
[0151] For the convenience of understanding the technical solutions provided by the present application, the following will be elaborated in detail in combination with the embodiments of specific scenarios.
[0152] Embodiments of the present application also provide a computer-readable storage medium storing a computer program, where the computer program is configured to execute the steps in any of the above method embodiments when running.
[0153] In an exemplary embodiment, the above computer-readable storage medium may include, but is not limited to: various media capable of storing computer programs such as USB flash drives, read-only memories (ROM), random access memories (RAM), mobile hard disks, magnetic disks, or optical discs.
[0154] Embodiments of the present application also provide an electronic device including a memory and a processor, where the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any of the above method embodiments.
[0155] In an exemplary embodiment, the above electronic device may further include a transmission device and input / output devices, where the transmission device is connected to the above processor, and the input / output devices are connected to the above processor.
[0156] Specific examples in this embodiment may refer to the examples described in the above embodiments and exemplary embodiments, and will not be elaborated herein.
[0157] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. They can be implemented by program codes executable by the computing device, so that they can be stored in a storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a different order than here, or they can be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them can be fabricated into a single integrated circuit module to implement. Thus, the present application is not limited to any specific combination of hardware and software.
[0158] The above are only the preferred embodiments of the present application and are not used to limit the present application. For those skilled in the art, the present application can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application shall be included in the protection scope of the present application.
Claims
1. A method for sending a correspondence relationship, characterized in that, Applied to a control system, including: Receiving a registration request sent by a management system of a server, where the registration request is used to request registration of a connection service, and the registration request includes: characteristic information of the connection service and service quality requirements, and the server is the provider of the connection service; Generating a service identifier according to the characteristic information, and generating a traffic configuration policy according to the service quality requirements and an Internet address, where the Internet address is the address of a service perception gateway to which the server and / or the terminal is connected, and the terminal is the user of the connection service; Sending the corresponding relationship between the service identifier and the traffic configuration policy to the service perception gateway.
2. The method according to claim 1, characterized in that, Generating a traffic configuration policy according to the service quality requirements and an Internet address, including: When the service quality requirements include uplink service quality requirements and downlink service quality requirements, generating a first traffic configuration policy according to the downlink service quality requirements and a first Internet address, and generating a second traffic configuration policy according to the uplink service quality requirements and a second Internet address, where the traffic configuration policy includes: the first traffic configuration policy and the second traffic configuration policy, the Internet address includes: the first Internet address and the second Internet address, the first Internet address is the address of a first service perception gateway to which the terminal is connected, and the second Internet address is the address of a second service perception gateway to which the server is connected.
3. The method according to claim 2, wherein Sending the corresponding relationship between the service identifier and the traffic configuration policy to the service perception gateway, including: Sending the corresponding relationship between the first service identifier and the first traffic configuration policy to the second service perception gateway, and sending the corresponding relationship between the first service identifier and the second traffic configuration policy to the first service perception gateway.
4. The method according to claim 1, characterized in that, Before generating a traffic configuration policy according to the service quality requirements and an Internet address, the method further includes at least one of the following: Obtaining the Internet address according to the registration request, where the registration request includes: the Internet address; Determining the destination Internet address of the connection service through flow learning; determining a routing table through the destination Internet address, and determining the Internet address in the routing table.
5. The method according to claim 1, wherein After sending the corresponding relationship between the service identifier and the traffic configuration policy to the service perception gateway, the method further includes: Determining whether the service quality requirements and / or the Internet address have been updated; When the service quality requirements and / or the Internet address have been updated, updating the traffic configuration policy corresponding to the connection service according to the updated service quality requirements and / or the updated Internet address; Sending the corresponding relationship between the service identifier and the updated traffic configuration policy to the service perception gateway.
6. The method according to claim 5, characterized in that, Determining whether the service quality requirements and / or the Internet address have been updated includes at least one of the following: Determining whether the service quality requirements and / or the Internet address have been updated according to whether an update request sent by the management system is received; Monitor whether there is an update to the Internet address through flow learning.
7. The method according to claim 1, characterized in that The feature information includes at least one of the following: the destination Internet address of the server, the destination port of the server, and the feature information may further include one of the following: the abstract type of the service application corresponding to the connection service, user permissions.
8. A method for receiving a correspondence relationship, characterized in that, Applied to a service perception gateway, it includes: Receiving the correspondence between the service identifier corresponding to the connection service and the traffic configuration policy sent by the management and control system, where the management and control system is used to receive the registration request sent by the management system corresponding to the server; generating a service identifier according to the feature information of the connection service, and generating a traffic configuration policy according to the quality of service requirements of the connection service and the Internet address, where the registration request is used to request the registration of the connection service, and the registration request includes: the feature information and quality of service requirements of the connection service, the Internet address is the address of the service perception gateway connected to the server or the terminal, the terminal is the user of the connection service, and the server is the provider of the connection service.
9. The method according to claim 8, characterized in that, After receiving the correspondence between the service identifier corresponding to the connection service and the traffic configuration policy sent by the management and control system, the method further includes: Generating a corresponding transmission path according to the traffic configuration policy; Establishing the correspondence between the service identifier and the transmission path; When receiving a data packet sent by the server or the terminal, determining the transmission path corresponding to the service identifier carried in the data packet according to the correspondence, and transmitting the data packet according to the transmission path.
10. The method according to claim 9, wherein After receiving the correspondence between the service identifier corresponding to the connection service and the traffic configuration policy sent by the management and control system, the method further includes: Determining the corresponding in-flow detection method according to the service identifier; Encapsulating an in-flow detection packet based on the in-flow detection method to determine the detection result of the transmission path through the in-flow detection packet, where the detection result includes at least one of the following: a transmission path profile, nodes of the transmission path, packet loss rate.
11. A sending device for a correspondence relationship, characterized in that, Applied to a management and control system, it includes: A receiving module, configured to receive a registration request sent by the management system of the server, where the registration request is used to request the registration of a connection service, and the registration request includes: the feature information and quality of service requirements of the connection service, and the server is the provider of the connection service; A generating module, configured to generate a service identifier according to the feature information, and generate a traffic configuration policy according to the quality of service requirements and the Internet address, where the Internet address is the address of the service perception gateway connected to the server and / or the terminal, and the terminal is the user of the connection service; A sending module, configured to send the correspondence between the service identifier and the traffic configuration policy to the service perception gateway.
12. A receiving device for a corresponding relationship, characterized in that, Applied to a service perception gateway, it includes: A receiving module, configured to receive the correspondence between the service identifier and the traffic configuration policy of the connection service sent by the management and control system. The management and control system is configured to receive a registration request sent by the management system corresponding to the server; generate a service identifier according to the characteristic information of the connection service, and generate a traffic configuration policy according to the quality of service requirement and the Internet address of the connection service. The registration request is used to request the registration of the connection service, and includes the characteristic information and the quality of service requirement of the connection service. The Internet address is the address of the service awareness gateway connected to the server or the terminal. The terminal is the user of the connection service, and the server is the provider of the connection service.
13. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 7, or implements the steps of the method described in any one of claims 8 to 10.
14. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the method described in any one of claims 1 to 7, or implements the steps of the method described in any one of claims 8 to 10.