A communication method, network device, storage medium and computer program product
By establishing cross-domain mapping relationships between edge network devices, the problem of ARN identifier recognition failure in cross-domain transmission is solved, realizing cross-domain recognition of application identifiers and improving service performance.
Patent Information
- Application Number
- CN202410418281.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-08
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2044-04-08
AI Technical Summary
During cross-domain transmission, the failure of ARN identifier recognition leads to poor service performance. Existing technologies cannot effectively identify application identifiers between different network domains.
By establishing a preset cross-domain mapping relationship between edge network devices, and replacing the application identifier of the source domain with the application identifier of the target domain, application identifier identification can be achieved during cross-domain transmission.
Successfully identifying application identifiers during cross-domain transmission improved service performance.
Smart Images

Figure CN118803010B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of wireless communication, and in particular to a communication method, a network device, a storage medium and a computer program product. BACKGROUND
[0002] In view of the problems of large network burden and user privacy caused by the existing application awareness technology solution, an (Application Response Networking, ARN) technology is proposed, which specifically realizes introducing an ARN identification field in an (Internet Protocol, IP) packet header interconnected between networks, bonding the application and the network through the ARN identification, and the ARN identification not only expresses the calling relationship between the application and the network, but also expresses the demand for the network path, such as path constraints of delay, packet loss, jitter and bandwidth.
[0003] In order to guarantee the security and isolation of network information and prevent the leakage of user application information and network path information, the ARN identification in different network domains is only valid in the network domain, which will cause the ARN identification recognition failure in the cross-domain transmission process, and further cause the problem of poor business performance. SUMMARY
[0004] The embodiments of the present application provide a communication method, a network device, a storage medium and a computer program product, which can successfully identify the application identification in the cross-domain transmission process and improve the business performance.
[0005] The technical solution of the present application is implemented as follows:
[0006] In a first aspect, the embodiments of the present application provide a communication method applied to a first edge network device of a current domain, and the method comprises the following steps:
[0007] receiving a first message carrying a first application identification sent by a second edge network device of the current domain;
[0008] querying a second application identification mapped in a target domain from a preset cross-domain mapping relationship according to the first application identification;
[0009] replacing the first application identification with the second application identification to obtain a second message;
[0010] sending the second message to the target domain.
[0011] In a second aspect, the embodiments of the present application provide a communication method applied to a second edge network device of a current domain, and the method comprises the following steps:
[0012] sending a first message carrying a first application identifier to a first edge network device of the current domain; querying, by the first edge network device, a second application identifier mapped in a target domain for the first application identifier from a preset cross-domain mapping relationship; replacing the first application identifier with the second application identifier to obtain a second message; and sending the second message to the target domain.
[0013] In a third aspect, an embodiment of the present application provides a first edge network device, which comprises:
[0014] a first receiving unit configured to receive a first message carrying a first application identifier sent by a second edge network device of a current domain;
[0015] a querying unit configured to query a second application identifier mapped in a target domain for the first application identifier from a preset cross-domain mapping relationship;
[0016] a replacing unit configured to replace the first application identifier with the second application identifier to obtain a second message;
[0017] a first sending unit configured to send the second message to the target domain.
[0018] In a fourth aspect, an embodiment of the present application provides a second edge network device, which comprises:
[0019] a second sending unit configured to send a first message carrying a first application identifier to a first edge network device of a current domain; query, by the first edge network device, a second application identifier mapped in a target domain for the first application identifier from a preset cross-domain mapping relationship; replace the first application identifier with the second application identifier to obtain a second message; and send the second message to the target domain.
[0020] In a fifth aspect, an embodiment of the present application provides a first edge network device, which comprises a first processor, a first memory and a first communication bus; the first processor implements the communication method when executing a running program stored in the first memory.
[0021] In a sixth aspect, an embodiment of the present application provides a second edge network device, which comprises a second processor, a second memory and a second communication bus; the second processor implements the communication method when executing a running program stored in the second memory.
[0022] In a seventh aspect, a storage medium is provided, and the storage medium has a computer program stored thereon, where the computer program, when executed by a first processor, implements the communication method applied to the first edge network device, or the computer program, when executed by a second processor, implements the communication method applied to the second edge network device.
[0023] In an eighth aspect, a computer program product is provided, and the computer program product includes a computer program, where the computer program, when executed by a first processor, implements the communication method applied to the first edge network device, or the computer program, when executed by a second processor, implements the communication method applied to the second edge network device.
[0024] The embodiments of the present application provide a communication method and a network device, a storage medium, and a computer program product, which are applied to a first edge network device in a current domain. The method includes the following steps: receiving a first message carrying a first application response network application identifier, which is sent by a second edge network device in the current domain; querying a second application identifier mapped to the target domain from a preset cross-domain mapping relationship; replacing the first application identifier with the second application identifier to obtain a second message; and sending the second message to the target domain. By using the preset cross-domain mapping relationship, the first application identifier in the current domain is mapped to the second application identifier in the target domain, and the first application identifier in the first message is replaced with the second application identifier to obtain the second message. Then, the second message is sent to the target domain, so that the target domain can identify the second application identifier in the second message. As a result, the application identifier can be successfully identified in the cross-domain transmission process, and the service performance is improved. BRIEF DESCRIPTION OF DRAWINGS
[0025] Figure 1 It is a schematic diagram of mapping a network tunnel / slice by using an ARN identifier.
[0026] Figure 2 It is a flow of a communication method provided by the embodiments of the present application Figure One ;
[0027] Figure 3 It is a schematic diagram of an exemplary APN networking provided by the embodiments of the present application
[0028] Figure 4 It is a flow of a communication method provided by the embodiments of the present application Figure Two ;
[0029] Figure 5 It is a schematic diagram of an exemplary IPv6 message header escape provided by the embodiments of the present application
[0030] Figure 6 It is a schematic diagram of an exemplary aggregation mapping provided by the embodiments of the present application
[0031] Figure 7 A structure diagram of a first edge network device provided for an embodiment of the present application Figure One ;
[0032] Figure 8 A structure diagram of a first edge network device provided for an embodiment of the present application Figure Two ;
[0033] Figure 9 A structure diagram of a second edge network device provided for an embodiment of the present application Figure One ;
[0034] Figure 10 A structure diagram of a second edge network device provided for an embodiment of the present application Figure Two . DETAILED DESCRIPTION
[0035] In order to enable persons skilled in the art to more fully understand the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application will be described in detail below with reference to the accompanying drawings, which are only used for reference and are not intended to limit the embodiments of the present application.
[0036] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0037] In the following description, "some embodiments" are described, which describe a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict. It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects, and do not represent a specific order of the objects. Understandably, "first\second\third" can be interchanged with a specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0038] The current ARN identifier is mainly applied on network boundary service access points (such as edge routers (Provider Edge, PE), broadband remote access servers (Broadband Remote Access Server, BRAS) / broadband network gateways (Broadband Network Gateway, BNG)). After receiving the network service subscription demand of the user side device, the controller sets the corresponding color according to the network service subscription demand to perform routing of the Segment Routing (SR) policy, obtains the corresponding tunnel or slice, and generates the ARN identifier at the same time. Then, the controller identifies the user side device according to the source address information or link information, and then issues the <terminal, contract> to the network boundary service access point, and associates it with the network resource <slice or tunnel, routing policy>, to complete the network side configuration. On the user side device, the controller issues the ARN identifier to the user side device. Thus, the user side device can mark the ARN identifier according to the application type in the subsequent application process, and can perform the legality verification when sending the message to the network boundary service access point, to realize the calling of the corresponding network capability. The user side device can also bind the ARN identifier through the access control list (Access Control Lists, ACL), specified link and the like, and mark the ARN identifier in the user side message.
[0039] Referring to Figure 1 , the controller can control the user network (CPE1), the service provider network and the user network (CPE2). The user side service information of the user and the contract corresponding relationship is configured in the CPE1, the network side connection information of the routing policy and the tunnel or slice corresponding relationship is configured in the service provider network, wherein the contract in the CPE1 is associated with the network side connection information, the user message carries the user ID and carries the contract ID, and referring to Figure 1 , it can be known that the ARN identifier is equivalent to the routing policy color. After the user message enters the network boundary service access node of the service provider network, the network boundary service access node can obtain the user side device information according to the source IP, and then perform the legality verification on the ARN identifier, and then map the ARN identifier to the specific network tunnel / slice.
[0040] In order to guarantee the security and isolation of the network information, and prevent the leakage of application information and network path information, the range of the label ARN identifier identifying the network and the application capability is only locally effective in the network domain. The life cycle of different ARN identifiers is independent of each other, and the local demand of a single user side device needs to carry the local ARN identifier in the message.
[0041] The ARN identifier allocated in the network A domain can only be recognized in the network A domain and mapped to a corresponding Segment Routing IPv6 (SRv6) policy tunnel / slice, and cannot be recognized in the network B domain and the region of the cloud, which can cause the ARN identifier to fail to be recognized in the process of cross-domain transmission, and further cause the problem of poor service performance.
[0042] To solve the above problems, an embodiment of the present application provides a communication method, as shown in the figure, applied to a first edge network device of a current domain, which can include: Figure 2
[0043] S101, receiving a first message carrying a first application identifier sent by a second edge network device of the current domain.
[0044] In the embodiment of the present application, the second edge network device of the current domain sends the first message carrying the first application identifier to the first edge network device of the current domain. Wherein, the second edge network device can directly send the first message to the first edge network device; the second edge network device can also aggregate and map the third application identifier after receiving the third message carrying the third application identifier sent by the terminal, and then send the first message generated by the aggregation and mapping to the first edge network device.
[0045] In the embodiment of the present application, the application identifier can be an ARN identifier.
[0046] S102, querying a second application identifier mapped by the first application identifier in a target domain from a preset cross-domain mapping relationship.
[0047] In the embodiment of the present application, the first edge network device supports to start the ARN cross-domain mapping function.
[0048] It should be noted that the application identifier is allocated by the controller in each domain, and different application identifiers are allocated and issued in different domains for the network path required by the same application. The controller pulls the mapping relationship between the application identifiers allocated in different domains for the network path required by the same application, obtains the preset cross-domain mapping relationship, and issues the preset cross-domain mapping relationship to the first edge network device.
[0049] It should be noted that the controller obtains the preset cross-domain mapping relationship and issues it to the first edge network device, which can be achieved by any one of the following two methods, and the specific method can be selected according to the actual situation, and the present application does not make specific limitation.
[0050] In an optional embodiment, the preset cross-domain mapping relationship is that the domain controller of the current domain establishes a mapping relationship between the application identifier allocated in the current domain and the application identifier allocated in the target domain for the network path required by the same application after receiving the application identifier allocated in the target domain, and sends the mapping relationship to the first edge network device.
[0051] In another optional embodiment, the preset cross-domain mapping relationship is that the service orchestration system establishes a mapping relationship between the application identifier allocated in the current domain and the application identifier allocated in the target domain for the network path required by the same application after receiving the application identifier allocated in the current domain and the application identifier allocated in the target domain, and sends the mapping relationship to the first edge network device of the current domain through the domain controller of the current domain.
[0052] S103, replacing the first application identifier with the second application identifier to obtain a second packet.
[0053] It should be noted that the process of replacing the first application identifier with the second application identifier can also be performed.
[0054] S104, sending the second packet to the target domain.
[0055] In the embodiments of the present application, the target domain is a target network domain or a target cloud domain.
[0056] In an optional embodiment, if the target domain is a target network domain, the second packet is sent to a third edge network device of the target network domain, so that the third edge network device maps the segment routing policy tunnel and / or slice in the target network domain according to the policy corresponding to the second application identifier.
[0057] It should be noted that in the above embodiment, the mapping from the first edge network device to the third edge network device of the target network domain is a network domain cross-domain mapping.
[0058] The ARN networking can be referred to Figure 3 , the user terminal accesses the BRAS of network A domain through the passive optical network (PON), network A domain establishes a network-cloud cross-domain connection between the cloud A domain through the metro core convergence layer (Metro Backbone, MB) and the virtual gateway (Virtual Gateway, vGW), network A domain establishes a network cross-domain connection between network B domain through the landing PE and the cloud network PE of network B domain, network B domain establishes a network-cloud cross-domain connection between cloud B domain through the cloud PE and the vGW of cloud B domain. Network A domain is CMNet, and network B domain is cloud special network.
[0059] It should be noted that in the above embodiment, the first edge network device of the current domain can be Figure 3The third edge network device can be a landing PE in a network A domain in the middle network. Figure 3 The fourth edge network device can be a cloud network PE in a network B domain in the middle network.
[0060] In another optional embodiment, if the target domain is a target cloud domain, the second packet is sent to a fourth edge network device of the target cloud domain, so that the fourth edge network device implements corresponding services according to the second application identifier mapped to the target service chain node.
[0061] In the embodiments of the present application, the target service chain node can implement security value-added services such as firewall and traffic cleaning, application acceleration, audio and video processing, etc. through SRv6, Network Service Header (NSH), ACL redirection, etc.
[0062] It should be noted that the traditional SRv6 service chain segment identifier (Segment Identifier, SID) method needs to allocate a SID for each service and publish related routes. The application identifier method can greatly simplify this SID and route allocation method, and only use the application identifier to pull through the network and service capabilities. The SID only serves as a network path identifier, reducing the coupling degree with the service.
[0063] It should be noted that in the above embodiments, the mapping from the first edge network device to the fourth edge network device of the target cloud domain is a network cloud cross-domain mapping.
[0064] It should be noted that in the above embodiments, the first edge network device of the current domain can be Figure 3 an MB in a network A domain in the middle network, or a cloud PE in a network B domain; correspondingly, the fourth edge network device can be Figure 3 a vGW of a cloud A domain in the middle network, or a vGW in a cloud B domain.
[0065] It should be noted that after S102, the application identifier can also be updated by a manual configuration method. Specifically, the first application identifier configured in the flow label, or the Destination Options Header (DOH), or the Hop-by-Hop Options header (HBH) of the first packet is changed to the second application identifier, to obtain a modified first packet; the modified first packet is sent to the target domain.
[0066] It should be noted that the application identifier can also be in the IPv6 extension option header DOH, HBH. Here, the first application identifier can be changed to the second application identifier by configuring the IPv6 extension option header DOH, HBH.
[0067] It can be understood that, by using the preset cross-domain mapping relationship, the first application identifier of the current domain is determined to be mapped to the second application identifier after the target domain, and the first application identifier in the first message is replaced by the second application identifier to obtain the second message, and then the second message is sent to the target domain. The target domain can identify the second application identifier in the second message, so that the application identifier can be successfully identified in the cross-domain transmission process, and the service performance is improved.
[0068] Based on the above embodiments, the embodiments of the application also propose a communication method applied to a second edge network device of a current domain, as shown in the method can include: Figure 4
[0069] S201, send a first message carrying a first application identifier to a first edge network device of a current domain; the first edge network device queries a second application identifier mapped by the first application identifier in a target domain from a preset cross-domain mapping relationship; the second application identifier is used to replace the first application identifier to obtain a second message; and the second message is sent to the target domain.
[0070] In some embodiments, the terminal can be referred to as a user equipment (UE). The terminal can be a personal communication service (PCS) phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), and the like. The terminal device can also be a smart phone, a tablet computer, a palm computer, a mobile station (MS), a mobile terminal (MT), and the like. The terminal device can communicate with one or more network devices through a radio access network (RAN). For example, the terminal device can be a mobile phone (or called a "cellular" phone) or a computer with a terminal device, etc. For example, the terminal device can also be a portable, pocket, handheld, built-in computer, or vehicle-mounted mobile device that exchanges voice and / or data with a radio access network. The terminal device can also be a handheld device, a computing device, or other processing device connected to a wireless modem with wireless communication function, a vehicle-mounted device, a wearable device, a terminal device in a future evolved network, and the like. The application implementation is not limited.
[0071] In the embodiment of the present application, the terminal side carries the first application identifier through an existing message field (such as the flow label field (flow label) of SRv6, occupying 20 bits); the network side provides corresponding service guarantee by identifying the first application identifier and combining network new capabilities such as slices, G-SRv6 policies, etc.
[0072] In an optional embodiment, the carrying mode adopts Internet Protocol Version 6 (IPv6) header escape mode, multiplexing 20 bits of the flow label, referring to Figure 5 , indicating whether to escape through 10-11 bits, if 1, the flow label is escaped as an ARN ID.
[0073] It should be noted that the 10-11 bits in the standard are the highest bits of the traffic class (TC), and the highest bits of TC have been defined as the explicit congestion notification (ECN). Since ECN is not enabled in a wide area network, the present application does not conflict with ECN.
[0074] In the embodiment of the present application, the second edge network device of the current domain can be Figure 3 the BRAS in the network A domain.
[0075] In the embodiment of the present application, on the one hand, the second edge network device can receive the first message carrying the first application identifier sent by the terminal, and then directly send the first message carrying the first application identifier to the first edge network device of the current domain. On the other hand, the second edge network device can also receive the third message carrying the third application identifier sent by the terminal; query the first application identifier aggregated and mapped by the third application identifier from the preset aggregation mapping relationship; replace the third application identifier with the first application identifier to obtain the first message; and then send the first message carrying the first application identifier to the first edge network device of the current domain.
[0076] In the embodiment of the present application, the preset aggregation mapping relationship is sent to the second edge node by the domain controller of the current domain after establishing the mapping relationship of the terminal side application identifier to the network side application identifier aggregation for the network path required by the same application.
[0077] It should be noted that the user side application identifier is allocated by the in-domain controller, and the corresponding user side to network side application identifier aggregation mapping relationship is established for the network path required by the same application, and the preset aggregation mapping relationship is downloaded to the second edge network device. The second edge network device supports to enable the ARN aggregation mapping function.
[0078] It should be noted that the application identifier allocated by the user side can be one for each terminal (which can be a random number), but the network service level is limited, so it is necessary to aggregate the application identifiers in the scenario of multiple terminals but the same network service level, that is, the same SRv6 policy tunnel or slice can be provided for multiple terminals to ensure the simple operation and maintenance and reuse of network service capabilities. At the same time, the user side is different, which can ensure the privacy of the user side and the security of the network side service capability opening.
[0079] Referring to Figure 6 The ARN ID1, the ARN ID2 and the ARN ID3 of the user side can be queried to correspond to the ARN ID10 of the network side by querying the ARN aggregation mapping relationship table (preset aggregation mapping relationship).
[0080] It should be noted that in addition to the aggregation mapping for the network domain cross-domain, the mapping can also be performed for the network-to-cloud scenario, and the aggregation processing is performed between the cloud PE and the cloud network device vGW.
[0081] In the embodiment of the application, the application identifier is carried by the user message, and when entering the large network, the SRv6 tunnel is generally encapsulated, which is copied from the flowlabel field of the inner layer IPv6 message to the outer layer, mainly divided into uniform (Uniform) mode and pipe (Pipe) mode.
[0082] In an optional embodiment, the Uniform mode is used for tunnel encapsulation post-processing process, specifically, the first application identifier is copied into the message header of the tunnel, and the first message is transmitted to the first edge network device through the tunnel.
[0083] It should be noted that the Uniform mode is adopted when the network side considers that the first application identifier is trusted, and the ARN value in the flowlabel field of the first message is directly copied into the flowlabel field of the SRv6 message header of the outer tunnel by the tunnel entry node (the second edge network device), and when the first message is out of the tunnel for IP forwarding, the ARN value in the flowlabel is copied back to the first message by the tunnel exit node (the first edge network device).
[0084] In another optional embodiment, the Pipe mode is used for tunnel encapsulation post-processing process, specifically, the application identifier is added to the message header of the tunnel, and the first message is transmitted to the first edge network device through the tunnel.
[0085] It should be noted that when the network side considers that the first application identifier is untrusted, the Pipe mode can be adopted; the first application identifier is ignored, the flowlabel field in the SRv6 message header is revalued at the tunnel entry node, and from the tunnel entry node to the tunnel exit node, the traffic is scheduled according to the network side configuration, and the first application identifier is not changed in the inner message.
[0086] It can be understood that by using the preset cross-domain mapping relationship, the first application identifier of the current domain is determined to be mapped to the second application identifier of the target domain, and the first application identifier in the first message is replaced by the second application identifier to obtain the second message, and then the second message is sent to the target domain, so that the target domain can identify the second application identifier in the second message, thereby successfully identifying the application identifier in the cross-domain transmission process, and further improving the service performance.
[0087] The embodiment of the application provides a first edge network device 1. As shown in the figure, the first edge network device 1 comprises: Figure 7
[0088] A first receiving unit 10 is configured to receive a first message carrying a first application identifier sent by a second edge network device of a current domain;
[0089] A query unit 11 is configured to query a second application identifier mapped by the first application identifier in a target domain from a preset cross-domain mapping relationship;
[0090] A replacement unit 12 is configured to replace the first application identifier by the second application identifier to obtain a second message;
[0091] A first sending unit 13 is configured to send the second message to the target domain.
[0092] Optionally, the preset cross-domain mapping relationship is that a domain controller of the current domain establishes a mapping relationship between an application identifier allocated in the current domain and an application identifier allocated in the target domain for a network path required by the same application after receiving the application identifier allocated in the target domain, and sends the mapping relationship to the first edge network device.
[0093] Optionally, the preset cross-domain mapping relationship is that a service orchestration system establishes a mapping relationship between an application identifier allocated in the current domain and an application identifier allocated in the target domain for a network path required by the same application after receiving the application identifier allocated in the current domain and the application identifier allocated in the target domain, and sends the mapping relationship to the first edge network device through the domain controller of the current domain.
[0094] Optionally, the first edge network device further comprises a changing unit.
[0095] The changing unit is configured to change a first application identifier configured by a flow label, or a destination option header (DOH), or a hop-by-hop option header (HBH) of the first packet to a second application identifier, to obtain a modified first packet.
[0096] The first sending unit 13 is further configured to send the modified first packet to the target domain.
[0097] Optionally, the first sending unit 13 is further configured to send the second packet to a third edge network device of the target network domain, so that the third edge network device maps a segment routing policy tunnel and / or a slice in the target network domain according to a policy corresponding to the second application identifier; or send the second packet to a fourth edge network device of the target cloud domain, so that the fourth edge network device implements corresponding services on a target service chain node according to the second application identifier.
[0098] The first edge network device provided by the embodiment of the present application receives a first packet carrying a first application identifier sent by a second edge network device of a current domain; queries a second application identifier mapped by the first application identifier in a target domain from a preset cross-domain mapping relationship; replaces the first application identifier with the second application identifier to obtain a second packet; and sends the second packet to the target domain. As can be seen, the first edge network device provided by the embodiment determines the second application identifier mapped by the first application identifier of the current domain to the target domain by using the preset cross-domain mapping relationship, replaces the first application identifier in the first packet with the second application identifier to obtain the second packet, and then sends the second packet to the target domain, so that the target domain can identify the second application identifier in the second packet, thereby successfully identifying the application identifier in the cross-domain transmission process and further improving service performance.
[0099] Figure 8 The first edge network device 1 provided by the embodiment of the present application has the component structure as shown in the figure Figure Two In actual application, based on the same disclosure concept of the above embodiment, as shown in the figure Figure 8 The first edge network device 1 of the embodiment includes a first processor 14, a first memory 15, and a first communication bus 16.
[0100] The first processor 14 can be at least one of an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a CPU, a controller, a microcontroller, or a microprocessor. It can be understood that, for different devices, the electronic device used to implement the functions of the processor can also be other devices, and the embodiments are not limited in this regard.
[0101] In the embodiments of the present application, the first communication bus 16 is used to realize the connection and communication between the first processor 14 and the first memory 15; and the first processor 14 realizes the following communication method when executing the running program stored in the first memory 15.
[0102] receive the first message carrying the first application identifier sent by the second edge network device of the current domain; query the second application identifier mapped in the target domain for the first application identifier from the preset cross-domain mapping relationship; replace the first application identifier with the second application identifier to obtain a second message; and send the second message to the target domain.
[0103] Further, the preset cross-domain mapping relationship is that the domain controller of the current domain establishes the mapping relationship between the application identifier allocated in the current domain and the application identifier allocated in the target domain for the network path required by the same application after receiving the application identifier allocated in the target domain, and sends the mapping relationship to the first edge network device.
[0104] Further, the preset cross-domain mapping relationship is that the service orchestration system establishes the mapping relationship between the application identifier allocated in the current domain and the application identifier allocated in the target domain for the network path required by the same application after receiving the application identifier allocated in the current domain and the application identifier allocated in the target domain, and sends the mapping relationship to the first edge network device through the domain controller of the current domain.
[0105] Further, the first processor 14 is further configured to change the first application identifier configured in the flow label, or the destination option header (DOH), or the hop-by-hop option header (HBH) of the first message to the second application identifier to obtain a modified first message; and send the modified first message to the target domain.
[0106] Further, the target domain is a target network domain or a target cloud domain.
[0107] The first processor 14 is further configured to send the second packet to a third edge network device of the target network domain, so that the third edge network device maps a segment routing policy tunnel and / or a slice in the target network domain according to a corresponding policy of the second application identifier; or send the second packet to a fourth edge network device of the target cloud domain, so that the fourth edge network device implements a corresponding service on a target service chain node according to the second application identifier.
[0108] Based on the above embodiments, the embodiments of the present application further provide a second edge network device 2, as shown in the following table: Figure 9 The second edge network device 2 comprises:
[0109] A second sending unit 21 is configured to send a first packet carrying a first application identifier to a first edge network device of a current domain; query a second application identifier mapped in a target domain of the first application identifier from a preset cross-domain mapping relationship by the first edge network device; replace the first application identifier with the second application identifier to obtain a second packet; and send the second packet to the target domain.
[0110] Optionally, the second edge network device further comprises a second receiving unit, a query unit and a replacement unit.
[0111] The second receiving unit is configured to receive a third packet carrying a third application identifier sent by a terminal.
[0112] The query unit is configured to query a first application identifier aggregated mapped by the third application identifier from a preset aggregated mapping relationship.
[0113] The replacement unit is configured to replace the third application identifier with the first application identifier to obtain the first packet.
[0114] Optionally, the preset aggregated mapping relationship is sent to the second edge node by a domain controller of the current domain after establishing a mapping relationship of terminal-side application identifier to network-side application identifier aggregation for a network path required by the same application.
[0115] Optionally, the second sending unit 21 is further configured to copy the first application identifier into a packet header of a tunnel, and transmit the first packet to the first edge network device through the tunnel.
[0116] Optionally, the second sending unit 21 is further configured to add an application identifier to a packet header of a tunnel, and transmit the first packet to the first edge network device through the tunnel.
[0117] Optionally, the second receiving unit is further configured to receive a first message carrying a first application identifier sent by the terminal.
[0118] The second edge network device provided in the embodiment of the present application sends a first message carrying a first application identifier to a first edge network device in a current domain; the first edge network device is enabled to query a second application identifier to which the first application identifier is mapped in a target domain from a preset cross-domain mapping relationship; the second application identifier is used to replace the first application identifier to obtain a second message; and the second message is sent to the target domain. As can be seen, the second edge network device provided in the embodiment uses a preset cross-domain mapping relationship to determine a second application identifier to which a first application identifier in the current domain is mapped in the target domain, and replaces the first application identifier in the first message with the second application identifier to obtain the second message, and then sends the second message to the target domain, so that the target domain can identify the second application identifier in the second message, thereby successfully identifying the application identifier in the cross-domain transmission process and further improving the service performance.
[0119] Figure 10 A schematic structure of a second edge network device 2 provided in the embodiment of the present application Figure Two In actual application, based on the same disclosure concept of the above embodiment, as shown in Figure 10 The second edge network device 2 of the embodiment includes a second processor 22, a second memory 23 and a second communication bus 24.
[0120] The second processor 22 can be at least one of an ASIC, a DSP, a DSPD, a PLD, an FPGA, a CPU, a controller, a microcontroller, a microprocessor. It can be understood that for different devices, the electronic device used to realize the function of the above processor can also be other devices, which is not specifically limited in the embodiment.
[0121] In the embodiment of the present application, the second communication bus 24 is used to realize the connection and communication between the second processor 22 and the second memory 23; and the second processor 22 realizes the following communication method when executing the running program stored in the second memory 23.
[0122] The first message carrying the first application identifier is sent to the first edge network device in the current domain; the first edge network device is enabled to query a second application identifier to which the first application identifier is mapped in the target domain from a preset cross-domain mapping relationship; the second application identifier is used to replace the first application identifier to obtain a second message; and the second message is sent to the target domain.
[0123] Further, the second processor 22 is further configured to receive a third message carrying a third application identifier sent by the terminal; query the first application identifier aggregated and mapped by the third application identifier from a preset aggregation mapping relationship; and replace the third application identifier with the first application identifier to obtain the first message.
[0124] Further, the preset aggregation mapping relationship is sent to the second edge node by the domain controller of the current domain after establishing the mapping relationship of the terminal side application identifier to the network side application identifier aggregation for the network path required by the same application.
[0125] Further, the second processor 22 is further configured to copy the first application identifier into a message header of a tunnel, and transmit the first message to the first edge network device through the tunnel.
[0126] Further, the second processor 22 is further configured to add an application identifier into a message header of a tunnel, and transmit the first message to the first edge network device through the tunnel.
[0127] Further, the second processor 22 is further configured to receive a first message carrying a first application identifier sent by the terminal.
[0128] The embodiment of the present application provides a storage medium, which stores a computer program, the computer readable storage medium stores one or more programs, the one or more programs can be executed by one or more first processors or second processors, and the computer program implements the communication method.
[0129] Based on the above embodiment, the embodiment of the present application provides a computer program product, which comprises a computer program, the computer program can be executed by one or more first processors or second processors, and the computer program implements the communication method.
[0130] It should be noted that, in the present document, the term "comprising" or "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or apparatus including a series of elements not only includes those elements, but also includes other elements not explicitly listed or inherent to such a process, method, article or apparatus. Without more limitations, the element defined by the statement "comprising a" does not exclude the presence of additional identical elements in the process, method, article or apparatus including the element.
[0131] Those skilled in the art can clearly understand the above-mentioned embodiment method can be realized by means of software and the necessary general hardware platform, of course, can also be realized by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present disclosure essentially or say the part of the related art that contributes to the part can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes a plurality of instructions for causing an image display device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the method described in various embodiments of the present disclosure.
[0132] The above merely describes preferred embodiments of the present application, but is not intended to limit the protection scope of the present application.
Claims
1. A communication method characterized by comprising: The method applied to a first edge network device of a current domain comprises: receiving a first message carrying a first application identifier sent by a second edge network device of the current domain; querying a second application identifier mapped in a target domain from a preset cross-domain mapping relationship for the first application identifier; replacing the first application identifier with the second application identifier to obtain a second message; sending the second message to the target domain; wherein the preset cross-domain mapping relationship is a mapping relationship between an application identifier allocated in the current domain and an application identifier allocated in the target domain established by a service orchestration system for a network path required by a same application after receiving the application identifier allocated in the current domain and the application identifier allocated in the target domain, and sent to the first edge network device by a domain controller of the current domain; after querying the corresponding second application identifier from the preset cross-domain mapping relationship for the first application identifier, the method further comprises: changing a first application identifier configured in a flow label, or a destination option header (DOH), or a hop-by-hop option header (HBH) of the first message to a second application identifier to obtain a modified first message; sending the modified first message to the target domain.
2. The method of claim 1, wherein, The preset cross-domain mapping relationship is a mapping relationship between an application identifier allocated in the current domain and an application identifier allocated in the target domain established by a domain controller of the current domain for a network path required by a same application after receiving the application identifier allocated in the target domain, and sent to the first edge network device.
3. The method of claim 1, wherein, The target domain is a target network domain or a target cloud domain; and the sending of the second message to the target domain comprises: sending the second message to a third edge network device of the target network domain, so that the third edge network device maps a segment routing policy tunnel and / or a slice in the target network domain according to a policy corresponding to the second application identifier; or, sending the second message to a fourth edge network device of the target cloud domain, so that the fourth edge network device implements corresponding services by mapping to a target service chain node according to the second application identifier.
4. A communication method characterized by comprising: The method applied to a second edge network device of a current domain comprises: sending a first message carrying a first application identifier to a first edge network device of the current domain, so that the first edge network device queries a second application identifier mapped in a target domain from a preset cross-domain mapping relationship for the first application identifier, replaces the first application identifier with the second application identifier to obtain a second message, and sends the second message to the target domain; wherein before the sending of the first message carrying the first application identifier to the first edge network device of the current domain, the method further comprises: receiving a third message carrying a third application identifier sent by a terminal; querying the first application identifier aggregated mapped for the third application identifier from a preset aggregation mapping relationship; replacing the third application identifier with the first application identifier to obtain the first message; The preset cross-domain mapping relationship is established by a service orchestration system between the application identifier allocated in the current domain and the application identifier allocated in the target domain after receiving the application identifier allocated in the current domain and the application identifier allocated in the target domain, and is sent to the first edge network device by a domain controller of the current domain.
5. The method of claim 4, wherein, The first message is sent to the first edge network device of the current domain. The first application identifier is copied into the message header of the tunnel, and the first message is transmitted to the first edge network device through the tunnel.
6. The method of claim 4, wherein, The first message is sent to the first edge network device of the current domain. The first application identifier is copied into the message header of the tunnel, and the first message is transmitted to the first edge network device through the tunnel.
7. The method of claim 4, wherein, Before the first message carrying the first application identifier is sent to the first edge network device of the current domain, the method further comprises: Receiving the first message carrying the first application identifier sent by the terminal.
8. A first edge network device, comprising: The first edge network device comprises: A first receiving unit configured to receive the first message carrying the first application identifier sent by the second edge network device of the current domain; A query unit configured to query the second application identifier mapped in the target domain from the preset cross-domain mapping relationship; A first replacing unit configured to replace the first application identifier with the second application identifier to obtain a second message; A first sending unit configured to send the second message to the target domain; The first message is sent to the first edge network device of the current domain. The first sending unit is further configured to send the modified first message to the target domain. The preset cross-domain mapping relationship is established by a service orchestration system between the application identifier allocated in the current domain and the application identifier allocated in the target domain after receiving the application identifier allocated in the current domain and the application identifier allocated in the target domain, and is sent to the first edge network device by a domain controller of the current domain.
9. A second edge network device, comprising: The second edge network device comprises: A second sending unit configured to send the first message carrying the first application identifier to the first edge network device of the current domain, so that the first edge network device queries the second application identifier mapped in the target domain from the preset cross-domain mapping relationship, replaces the first application identifier with the second application identifier to obtain a second message, and sends the second message to the target domain; The second receiving unit is configured to receive the third message carrying the third application identifier sent by the terminal. The query unit is configured to query the first application identifier aggregated and mapped from the third application identifier from the preset aggregation mapping relationship. The second replacing unit is configured to replace the third application identifier with the first application identifier to obtain the first message. The preset aggregation mapping relationship is sent to the second edge node by a domain controller of the current domain after establishing the mapping relationship between the terminal-side application identifier and the network-side application identifier aggregation for the network path required by the same application.
10. A first edge network device, comprising: The first edge network device comprises a first processor, a first memory and a first communication bus; the first processor implements the method of any one of claims 1-3 when executing a running program stored in the first memory.
11. A second edge network device, comprising: The second edge network device comprises a second processor, a second memory and a second communication bus; the second processor implements the method of any one of claims 4-7 when executing a running program stored in the second memory.
12. A storage medium having stored thereon a computer program, characterized in that The computer program is executed by the first processor to implement the method of any one of claims 1-3, or the computer program is executed by the second processor to implement the method of any one of claims 4-7.
13. A computer program product comprising a computer program, characterized in that, The computer program is executed by the first processor to implement the method of any one of claims 1-3, or the computer program is executed by the second processor to implement the method of any one of claims 4-7.
Citation Information
Patent Citations
Data transmission method and related equipment thereof
CN117061435A
Methods and apparatus for sharing and arbitration of host stack information with user space communication stacks
US20190306109A1