Address translation control methods, devices, terminals and network elements
By introducing address translation control methods in 5G networks, the accurate forwarding of data between network elements is ensured, the problem of incomplete communication is solved, and a reliable communication process is achieved.
Patent Information
- Application Number
- CN202110961571.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-20
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2041-08-20
AI Technical Summary
The lack of existing technologies for 5G network data forwarding results in incomplete communication processes and an inability to guarantee communication reliability.
The first network element receives the rules sent by the second network element and executes the data address translation process. The second network element sends the rules to the first network element according to the policy information. The third network element sends the policy information to the second network element to determine the rules, thus ensuring the data address translation process is carried out.
It enables data forwarding on the 5G network, ensuring the reliability of communication.
Smart Images

Figure CN115714985B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of communications, and specifically relates to an address translation control method, device, terminal, and network element. Background Technology
[0002] With the popularization of the Internet of Things (IoT) and smart homes, a single household may contain multiple smart home devices. Smart homes connect various devices in the home (such as audio-visual equipment, lighting systems, curtain controls, air conditioning controls, security systems, etc.) to form a communication topology network, namely the personal Internet of Things (IoT), providing a variety of functions and means such as appliance control, lighting control, remote telephone control, indoor and outdoor remote control, burglar alarms, environmental monitoring, and HVAC control.
[0003] In personal IoT scenarios, there may be situations where personal IoT devices need to share information. One potential approach is to use 5G networks for data forwarding. However, current technologies lack solutions for 5G network data forwarding, resulting in incomplete communication processes and compromising communication reliability. Summary of the Invention
[0004] This application provides an address translation control method, device, terminal, and network element, which can solve the problem that the lack of a 5G network for data forwarding in the prior art results in an incomplete communication process and an inability to guarantee communication reliability.
[0005] Firstly, an address translation control method is provided, including:
[0006] The first network element receives a first rule sent by the second network element, and the first rule is used by the first network element to perform data address translation process;
[0007] According to the first rule, the data address translation process is executed.
[0008] Secondly, an address translation control device is provided, applied to a first network element, comprising:
[0009] The first receiving module is used to receive the first rule sent by the second network element, and the first rule is used by the first network element to perform the data address translation process.
[0010] The execution module is used to perform the data address translation process according to the first rule.
[0011] Thirdly, an address translation control method is provided, including:
[0012] The second network element receives the first policy information sent by the third network element;
[0013] The second network element sends the first rule to the first network element according to the first strategy information;
[0014] The first rule is used by the first network element to perform the data address translation process.
[0015] Fourthly, an address translation control device is provided, applied to a second network element, comprising:
[0016] The second receiving module is used to receive the first policy information sent by the third network element;
[0017] The first sending module is used to send the first rule to the first network element according to the first strategy information;
[0018] The first rule is used by the first network element to perform the data address translation process.
[0019] Fifthly, an address translation control method is provided, including:
[0020] The third network element sends the first policy information to the second network element;
[0021] The first strategy information is used by the second network element to determine the first rule, and the first rule is used by the first network element to perform the data address translation process.
[0022] Sixthly, an address translation control device is provided, applied to a third network element, comprising:
[0023] The second sending module is used to send the first policy information to the second network element;
[0024] The first strategy information is used by the second network element to determine the first rule, and the first rule is used by the first network element to perform the data address translation process.
[0025] Seventhly, an address translation control method is provided, including:
[0026] The first terminal sends a second request message to the second network element, the second request message being used to request the second network element to perform a data address translation process.
[0027] Eighthly, an address translation control device is provided, applied to a first terminal, comprising:
[0028] The third sending module is used to send a second request message to the second network element, the second request message being used to request the second network element to perform a data address translation process.
[0029] Ninthly, an address translation control method is provided, including:
[0030] The second terminal receives the first transfer request message sent by the first terminal and sends a first transfer request acceptance message to the first terminal; or
[0031] The second terminal sends a second transfer request message to the first terminal and receives a second transfer request acceptance message sent by the first terminal.
[0032] In a tenth aspect, an address translation control device is provided, applied to a second terminal, comprising:
[0033] The first transceiver module is configured to receive a first transfer request message sent by the first terminal and send a first transfer request acceptance message to the first terminal; or
[0034] The second transceiver module is used to send a second transfer request message to the first terminal and receive a second transfer request acceptance message sent by the first terminal.
[0035] Eleventhly, an address translation control method is provided, including:
[0036] The application server sends a third request message to the third network element. The third request message is used to request the third network element to update the first rule. The first rule is used by the first network element to perform the data address translation process.
[0037] In a twelfth aspect, an address translation control device is provided, applied to an application server, comprising:
[0038] The fourth sending module is used to send a third request message to the third network element. The third request message is used to request the third network element to update the first rule. The first rule is used by the first network element to perform the data address translation process.
[0039] In a thirteenth aspect, a network element is provided, the network element including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein when the program or instructions are executed by the processor, they implement the steps of the methods described in the first, third, and fifth aspects.
[0040] In a fourteenth aspect, a network element is provided, the network element being a first network element, including a processor and a communication interface, wherein the communication interface is used to receive a first rule sent by a second network element, the first rule being used by the first network element to perform a data address translation process, and the processor is used to execute the data address translation process according to the first rule.
[0041] In a fifteenth aspect, a network element is provided, the network element being a second network element, including a processor and a communication interface, wherein the communication interface is used to receive first policy information sent by a third network element; and to send a first rule to a first network element according to the first policy information;
[0042] The first rule is used by the first network element to perform the data address translation process.
[0043] In a sixteenth aspect, a network element is provided, the network element being a third network element, including a processor and a communication interface, wherein the communication interface is used to send first policy information to a second network element;
[0044] The first strategy information is used by the second network element to determine the first rule, and the first rule is used by the first network element to perform the data address translation process.
[0045] In a seventeenth aspect, a terminal is provided, the terminal including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method as described in the seventh or ninth aspect.
[0046] In an eighteenth aspect, a terminal is provided, the terminal being a first terminal, including a processor and a communication interface, wherein the communication interface is used to send a second request message to a second network element, the second request message being used to request the second network element to perform a data address translation process.
[0047] In a nineteenth aspect, a terminal is provided, the terminal being a second terminal, including a processor and a communication interface, wherein the communication interface is used to receive a first transfer request message sent by a first terminal and to send a first transfer request acceptance message to the first terminal; or
[0048] Send a second transfer request message to the first terminal, and receive a second transfer request acceptance message sent by the first terminal.
[0049] In a twentieth aspect, an application server is provided, the application server including a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the method described in the eleventh aspect.
[0050] In a twenty-first aspect, an application server is provided, the application server including a processor and a communication interface, wherein the communication interface is used to send a third request message to a third network element, the third request message being used to request the third network element to update a first rule, the first rule being used by the first network element to perform a data address translation process.
[0051] In a twenty-second aspect, a readable storage medium is provided, on which a program or instructions are stored, which, when executed by a processor, implement the steps of the methods described in the first, third, fifth, seventh, ninth, or eleventh aspects.
[0052] In a twenty-third aspect, a chip is provided, the chip including a processor and a communication interface coupled to the processor, the processor being configured to run programs or instructions to implement the steps of the methods described in the first, third, fifth, seventh, ninth, or eleventh aspects.
[0053] In a twenty-fourth aspect, a computer program / program product is provided, the computer program / program product being stored in a non-transient storage medium, the program / program product being executed by at least one processor to implement the steps of the method as described in the first aspect, third aspect, fifth aspect, seventh aspect, ninth aspect, or eleventh aspect.
[0054] In this embodiment of the application, by executing the data address translation process according to the first rule received for the first network element to perform the data address translation process, the 5G network can be guaranteed to forward data and ensure the reliability of communication. Attached Figure Description
[0055] Figure 1 This is a block diagram of a wireless communication system applicable to embodiments of this application;
[0056] Figure 2 This is a flowchart illustrating the address translation control method applied to the first network element according to an embodiment of this application;
[0057] Figure 3 This is a flowchart illustrating an address translation control method applied to a second network element according to an embodiment of this application.
[0058] Figure 4 This is a flowchart illustrating an address translation control method applied to a third network element according to an embodiment of this application.
[0059] Figure 5 This is a flowchart illustrating an address translation control method applied to a first terminal according to an embodiment of this application.
[0060] Figure 6 This is a flowchart illustrating an address translation control method applied to a second terminal according to an embodiment of this application.
[0061] Figure 7 This is a flowchart illustrating an address translation control method applied to an application server according to an embodiment of this application.
[0062] Figure 8 This is one of the specific application process diagrams of the embodiments of this application;
[0063] Figure 9 This is the second schematic diagram of the specific application process of this application embodiment;
[0064] Figure 10This is the third schematic diagram of the specific application process of this application embodiment;
[0065] Figure 11 This is the fourth schematic diagram of the specific application process of the embodiments of this application;
[0066] Figure 12 This is one of the module schematic diagrams of the address translation control device according to an embodiment of this application;
[0067] Figure 13 This is a structural block diagram of a network element according to an embodiment of this application;
[0068] Figure 14 This is a second schematic diagram of the address translation control device according to an embodiment of this application;
[0069] Figure 15 This is the third schematic diagram of the address translation control device according to an embodiment of this application;
[0070] Figure 16 This is the fourth schematic diagram of the address translation control device according to an embodiment of this application;
[0071] Figure 17 This is a structural block diagram of the terminal according to an embodiment of this application;
[0072] Figure 18 This is the fifth schematic diagram of the address translation control device according to an embodiment of this application;
[0073] Figure 19 This is the sixth schematic diagram of the address translation control device according to an embodiment of this application;
[0074] Figure 20 This is a structural block diagram of a communication device according to an embodiment of this application. Detailed Implementation
[0075] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0076] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of the same class, not limited in number; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0077] In this application, optionally, "acquiring" can be understood as obtaining from configuration, receiving, receiving after a request, obtaining through self-learning, inferring from unreceived information, or obtaining after processing received information. The specific method can be determined according to actual needs, and this application embodiment does not limit this. For example, when a certain capability indication information sent by the device is not received, it can be inferred that the device does not support that capability.
[0078] It is worth noting that the technologies described in this application are not limited to Long Term Evolution (LTE) / LTE-Advanced (LTE-A) systems, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA), and other systems. The terms "system" and "network" in this application are often used interchangeably, and the described technologies can be used not only in the systems and radio technologies mentioned above, but also in other systems and radio technologies. The following description describes New Radio (NR) systems for illustrative purposes, and NR terminology is used in most of the following description; however, these technologies can also be applied to applications beyond NR systems, such as 6th Generation (6G) communication systems.
[0079] Figure 1This diagram illustrates a block diagram of a wireless communication system applicable to embodiments of this application. The wireless communication system includes a terminal 11 and a network-side device 12. The terminal 11 can be a mobile phone, tablet computer, laptop computer, personal digital assistant (PDA), handheld computer, netbook, ultra-mobile personal computer (UMPC), mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, vehicle-mounted device (VUE), pedestrian terminal (PUE), smart home device (home appliances with wireless communication capabilities, such as refrigerators, televisions, washing machines, or furniture), etc. Wearable devices include: smartwatches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart chains, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, game consoles, etc. It should be noted that the specific type of terminal 11 is not limited in this application embodiment. The network-side device 12 can be a base station or a core network. The base station can be referred to as a node B, evolved node B, access point, base transceiver station (BTS), radio base station, radio transceiver, basic service set (BSS), extended service set (ESS), B node, evolved B node (eNB), home B node, home evolved B node, WLAN access point, WiFi node, transmitting and receiving point (TRP), or any other suitable term in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that this application embodiment only uses a base station in an NR system as an example, but does not limit the specific type of base station.
[0080] The address translation control method, apparatus, terminal, and network element provided in this application will be described in detail below with reference to the accompanying drawings and through some embodiments and application scenarios.
[0081] like Figure 2 As shown in the figure, this application provides an address translation control method, including:
[0082] Step 201: The first network element receives the first rule sent by the second network element. The first rule is used by the first network element to perform the data address translation process.
[0083] Step 202: Perform the data address conversion process according to the first rule.
[0084] It should be noted that the first network element mentioned in this application embodiment mainly implements the User Plane Function (UPF), and the second network element mainly implements the Session Management Function (SMF). The data address translation rules used by the UPF are usually notified by the SMF.
[0085] Optionally, in one implementation, the first rule is directly used by the first network element in the data address translation process. In this case, the first network element can directly use the first rule sent by the second network element to perform the data address translation process. Optionally, in another implementation, the first rule assists the first network element in the data address translation process. That is, in this case, the first network element cannot directly use the first rule to perform the data address translation process. Optionally, in this case, step 202 is implemented as follows:
[0086] According to the first rule, the second rule is updated, and the second rule is used by the first network element in the data address translation process;
[0087] According to the second rule, the data address translation process is performed.
[0088] It should be further noted that one way to implement the data address translation process of the first network element is as follows: the first network element performs the data address translation process through Network Address Translation (NAT).
[0089] For example, when the first network element receives a data packet from the network, the data packet is originally intended to be sent to the first terminal, so the destination address of the data packet is the first terminal. If the first network element does not perform NAT, the data packet will still be sent to the first terminal. Alternatively, even if the first network element can send the data packet to the second terminal in other ways, if the first network element does not perform NAT, the second terminal will not be able to parse the data packet even if it receives it. After applying the embodiments of this application, after the first network element receives the data packet from the network, it first replaces the destination address in the data packet from the first terminal to the second terminal. Then, the first network element can send the data packet to the second terminal according to the destination address of the converted data packet.
[0090] It should be noted that the first network element performs the data address translation process according to the first rule received for the first network element to perform the data address translation process, thereby ensuring that the 5G network can forward data and ensure the reliability of communication.
[0091] In order to cooperate with the first network element, such as Figure 3 As shown in the figure, this application provides an address translation control method, including:
[0092] Step 301: The second network element receives the first policy information sent by the third network element;
[0093] Step 303: The second network element sends the first rule to the first network element according to the first strategy information;
[0094] The first rule is used by the first network element to perform the data address translation process.
[0095] It should be noted that the Policy Control Function (PCF) is mainly responsible for the formulation and management of policies. In other words, the third network element mentioned in this application embodiment mainly implements the PCF.
[0096] It should be noted that after the PCF sends the first policy information to the SMF, the SMF needs to obtain the first rule (i.e., the data forwarding rule) based on the first policy information, and then send the obtained first rule to the UPF.
[0097] Optionally, the PCF typically sends the policy based on the SMF's request; that is, before step 301, the following steps are also included:
[0098] The second network element sends a first request message to the third network element, the first request message being used to request the first policy information.
[0099] Optionally, the first request message includes at least one of the following: the IP address of the first terminal, the port number, the fully qualified domain name (FQDN), and the Uniform Resource Locator (URL).
[0100] Optionally, the first request message can be an Npcf_SMPolicyControl_Update request message.
[0101] It should be noted that the second terminal mentioned in this application refers to a terminal that receives data that was originally intended to be sent to the first terminal. For example, the second terminal is various devices in the personal Internet of Things, such as smart home devices like televisions and cameras, wearable devices, etc.
[0102] For example, a mobile phone wants to cast a video to a TV, but the app containing the video does not have a screen casting function. The mobile phone wants to achieve this function through the 5G network, that is, the data that should have arrived at the mobile phone is forwarded to the TV through the 5G network. In this case, the mobile phone corresponds to the first terminal mentioned in the embodiments of this application, and the TV corresponds to the second terminal mentioned in the embodiments of this application.
[0103] It should be noted that the first terminal can actively control the second terminal. For example, the first terminal can also be a personal control terminal under the personal Internet of Things, such as a mobile phone.
[0104] Optionally, the second network element typically requests a policy based on a terminal request; that is, before the second network element receives the first policy information sent by the third network element, the process further includes:
[0105] The second network element receives a second request message sent by the first terminal. The second request message is used to request the second network element to perform a data address translation process.
[0106] Optionally, the second request message includes at least one of the following:
[0107] The IP address, port number, FQDN, and URL of the second terminal.
[0108] In other words, if the first terminal requests which terminal to forward the data to, the second request message will carry the address information of the terminal receiving the forwarded data. Optionally, the address information may include, but is not limited to, at least one of IP address, port number, FQDN and URL.
[0109] Optionally, the second request message is a PDU session modification request message.
[0110] It should be noted that the main implementation process in the embodiments of this application is as follows:
[0111] The first terminal sends a second request message to the second network element, the second network element sends a first request message to the third network element, the third network element provides feedback on the first policy information based on the first request message, and the second network element generates a first rule based on the first policy information and sends the first rule to the first network element. It should be further noted that the second network element generates the first rule in the following way: the second network element establishes an association between the first terminal and the second terminal based on at least one of the first terminal's IP address, port number, FQDN and URL and the first policy information.
[0112] It should be noted that, when network data packets are sent to the second terminal, in order to save network resources, it is usually necessary to disconnect the connection between the first terminal and the network. Optionally, in one case, after the second network element receives the first policy information sent by the third network element, the following steps are also included:
[0113] The second network element sends a first indication message to the first terminal, the first indication message being used to indicate that communication resources between the second network element and the second terminal have been established.
[0114] It should be noted that in this case, the first terminal actively releases its connection with the network according to network instructions. Optionally, in another case, the network can also actively release its connection with the first terminal. Specifically, after the second network element receives the first policy information sent by the third network element, it further includes:
[0115] The second network element releases the communication resources established with the first terminal.
[0116] It should be noted that the cooperation between the second network element and the first network element can ensure that the network can accurately forward data.
[0117] like Figure 4 As shown in the figure, this application provides an address translation control method, including:
[0118] Step 401: The third network element sends the first policy information to the second network element;
[0119] The first strategy information is used by the second network element to determine the first rule, and the first rule is used by the first network element to perform the data address translation process.
[0120] Optionally, before the step of the third network element sending the first policy information to the second network element, the method further includes:
[0121] The third network element receives a first request message sent by the second network element, the first request message being used to request first policy information;
[0122] The third network element sends the first policy information to the second network element, including:
[0123] The third network element sends the first policy information to the first network element based on the first request message.
[0124] It should be noted that the third network element sends the policy based on the request from the second network element by triggering the policy transmission through a terminal request. Optionally, in another case, the application server (AF) can also trigger the update of the forwarding rules. Specifically, in this case, before the step of the third network element sending the first policy information to the second network element, the following steps are also included:
[0125] The third network element receives a third request message sent by the application server, the third request message being used to request the third network element to update the first rule;
[0126] The third network element determines the first strategy information based on the third request message.
[0127] Optionally, the third request message can be an Npcf_PolicyAuthorization_Update Request message.
[0128] It should be noted that after the third network element confirms that it has obtained the first policy information, it can proactively send the first policy information to the second network element.
[0129] Optionally, the third request message includes at least one of the following:
[0130] The IP address, port number, FQDN, and URL of the second terminal; the IP address, port number, FQDN, and URL of the first terminal.
[0131] It should be noted that the first network element, the second network element, and the third network element mentioned in the above embodiments can be network elements located in different core network devices.
[0132] Optionally, the first network element, second network element, and third network element mentioned in the above embodiments may also be network elements located in the same core network device. In an optional embodiment, another embodiment of this application also provides an address translation control method applied to a core network device, including:
[0133] The first network element performs the data address translation process according to the first rule.
[0134] Optionally, before the first network element performs the data address translation process according to the first rule, it further includes:
[0135] The third network element sends the first policy information to the second network element. The first policy information is used by the second network element to determine the first rule. The first rule is used by the first network element to perform the data address translation process.
[0136] The second network element receives the first policy information sent by the third network element;
[0137] The second network element sends the first rule to the first network element according to the first strategy information;
[0138] The first network element receives the first rule sent by the second network element.
[0139] Optionally, the first network element performs a data address translation process according to the first rule, including:
[0140] The first network element updates the second rule according to the first rule;
[0141] The first network element performs a data address translation process according to the second rule, which is used by the first network element to perform the data address translation process.
[0142] Optionally, the first network element performs a data address translation process according to the first rule, including:
[0143] The first network element performs the data address translation process through Network Address Translation (NAT).
[0144] The step of the third network element sending the first policy information to the second network element includes:
[0145] The second network element sends a first request message to the third network element, the first request message being used to request the first policy information;
[0146] The third network element receives the first request message sent by the second network element;
[0147] The third network element sends the first policy information to the first network element based on the first request message.
[0148] Optionally, the first request message includes at least one of the following: the IP address of the first terminal, the port number, the fully qualified domain name (FQDN), and the Uniform Resource Locator (URL).
[0149] Optionally, before the step of the second network element receiving the first policy information sent by the third network element, the method further includes:
[0150] The second network element receives a second request message sent by the first terminal. The second request message is used to request the second network element to perform a data address translation process.
[0151] Optionally, the second request message includes at least one of the following:
[0152] The IP address, port number, FQDN, and URL of the second terminal.
[0153] Optionally, after the second network element receives the first policy information sent by the third network element, the method further includes:
[0154] The second network element sends a first indication message to the first terminal, the first indication message being used to indicate that communication resources between the second network element and the second terminal have been established.
[0155] Optionally, after the second network element receives the first policy information sent by the third network element, the method further includes:
[0156] The second network element releases the communication resources established with the first terminal.
[0157] Optionally, before the step of the third network element sending the first policy information to the second network element, the method further includes:
[0158] The third network element receives a third request message sent by the application server, the third request message being used to request the third network element to update the first rule;
[0159] The third network element determines the first strategy information based on the third request message.
[0160] Optionally, the third request message includes at least one of the following:
[0161] The IP address, port number, FQDN, and URL of the second terminal; the IP address, port number, FQDN, and URL of the first terminal.
[0162] It should be noted that in this embodiment, through the interaction between various network elements in the core network device, data forwarding can be achieved, ensuring that data can be sent to the correct destination address.
[0163] like Figure 5 As shown in the figure, this application provides an address translation control method, including:
[0164] Step 501: The first terminal sends a second request message to the second network element. The second request message is used to request the second network element to perform a data address translation process.
[0165] Optionally, the second request message includes at least one of the following:
[0166] The IP address, port number, FQDN, and URL of the second terminal.
[0167] It should be noted that in order to forward data, the first terminal and the second terminal need to agree on the data forwarding mechanism. In one scenario, the first terminal needs to send a request to the second terminal, and data transfer can only proceed if the second terminal agrees. Optionally, in this implementation, the method further includes:
[0168] The first terminal sends a first transfer request message to the second terminal;
[0169] The first terminal receives the first transfer request acceptance message sent by the second terminal.
[0170] Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0171] Optionally, the first transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0172] Optionally, the method of the first terminal sending the first transfer request message to the second terminal includes one of the following:
[0173] A11. The first terminal sends a first transfer request message to the second terminal via direct communication technology;
[0174] It should be noted that this refers to the first terminal being able to communicate directly with the second terminal; the direct communication technology mentioned in the embodiments of this application includes, but is not limited to, WLAN direct communication, Bluetooth connection communication, PC5 sidelink communication and other technologies.
[0175] A12. The first terminal sends a first transfer request message to the second terminal through the access network device;
[0176] It should be noted that in this implementation, the second terminal and the first terminal cannot communicate directly, but rather their interaction messages are forwarded through the access network equipment.
[0177] It should also be noted that when the first terminal sends a first transfer request message to the second terminal through the access network device, the first transfer request message may further include at least one of the following:
[0178] The second terminal's terminal identifier (e.g., the terminal's device identification code, which may optionally be a Permanent Equipment Identifier (PEI), International Mobile Equipment Identity (IMEI), IMEISV, etc.), the second terminal's user identifier (e.g., the user identifier may be a Globally Unique Temporary UEIdentity (GUTI), Subscription Concealed Identifier (SUCI), 5G-S-TMSI), and the second terminal device's Mobile Subscriber International Integrated Services Digital Network / Public Switched Telephone Network Number (MSISDN).
[0179] In another scenario, the second terminal needs to send a request to the first terminal, and data transfer can only proceed with the first terminal's consent. Optionally, in this implementation, the method further includes:
[0180] The first terminal receives a second transfer request message sent by the second terminal;
[0181] The first terminal sends a second transfer request acceptance message to the second terminal.
[0182] Optionally, the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0183] Optionally, the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0184] Optionally, the implementation of the first terminal receiving the second transfer request message sent by the second terminal includes one of the following:
[0185] A21. The first terminal receives the second transfer request message sent by the second terminal through direct communication technology;
[0186] It should be noted that this refers to the first terminal being able to communicate directly with the second terminal; the direct communication technology mentioned in the embodiments of this application includes, but is not limited to, WLAN direct communication, Bluetooth connection communication, PC5 sidelink communication and other technologies.
[0187] A22. The first terminal receives the second transfer request message sent by the second terminal through the access network device;
[0188] It should be noted that in this implementation, the second terminal and the first terminal cannot communicate directly, but rather their interaction messages are forwarded through the access network equipment.
[0189] Optionally, after the first terminal sends the second request message to the second network element, the method further includes:
[0190] The first terminal receives a first indication message sent by the second network element, the first indication message being used to indicate that communication resources between the second network element and the second terminal have been established;
[0191] The first terminal releases the communication resources established with the access network device and the second network element according to the first instruction message.
[0192] It should be noted that data forwarding can be successfully achieved through the interaction between the first terminal, the second terminal, and core network elements.
[0193] Corresponding to the implementation on the first terminal side, such as Figure 6 As shown in the embodiments of this application, an address translation control method is also provided, including:
[0194] Step 601: The second terminal receives the first transfer request message sent by the first terminal and sends a first transfer request acceptance message to the first terminal; or
[0195] The second terminal sends a second transfer request message to the first terminal and receives a second transfer request acceptance message sent by the first terminal.
[0196] Optionally, the first transfer request acceptance message includes at least one of the following: the IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL) of the second terminal.
[0197] Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0198] Optionally, the second terminal receives a first transfer request message sent by the first terminal, including one of the following:
[0199] The second terminal receives the first transfer request message sent by the first terminal via direct communication technology;
[0200] The second terminal receives the first transfer request message sent by the first terminal through the access network device.
[0201] Optionally, when the second terminal receives the first transfer request message sent by the first terminal through the access network device, the first transfer request message further includes at least one of the following:
[0202] The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile user's International Integrated Services Digital Network / Public Switched Telephone Network Number (MSISDN) of the second terminal device.
[0203] Optionally, the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0204] Optionally, the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0205] Optionally, receiving the second transfer request acceptance message sent by the first terminal includes one of the following:
[0206] The second terminal receives the second transfer request acceptance message sent by the first terminal via direct communication technology;
[0207] The second terminal receives the second transfer request acceptance message sent by the first terminal through the access network device.
[0208] It should be noted that all descriptions of the second terminal mentioned in the above-described method embodiment on the first terminal side are applicable to the method embodiment applied to the second terminal side and can achieve the same technical effect, so they will not be repeated here.
[0209] like Figure 7 As shown in the figure, this application provides an address translation control method, including:
[0210] Step 701: The application server sends a third request message to the third network element. The third request message is used to request the third network element to update the first rule. The first rule is used by the first network element to perform the data address translation process.
[0211] Optionally, the third request message includes at least one of the following:
[0212] The IP address, port number, FQDN, and URL of the second terminal; the IP address, port number, FQDN, and URL of the first terminal.
[0213] It should also be noted that the IP address mentioned in this application includes, but is not limited to, at least one of IPv4 and IPv6 addresses.
[0214] The following example illustrates the data forwarding process through specific interactions between the network elements mentioned above in a practical application.
[0215] Example 1: There is a direct communication between the first terminal and the second terminal. The first terminal initiates a data transfer request, and the second terminal sends its IP address and port number to the first terminal. The first terminal establishes forwarding rules in the core network through the PDU session modification process to achieve data forwarding.
[0216] like Figure 8 As shown, the specific application process in this case mainly includes:
[0217] Step 801: The second terminal and the first terminal select the same SMF and UPF.
[0218] Step 802: The second terminal has its own PDU session and is interacting with the network for service #1.
[0219] It should be noted that step 802 is an optional step, and the second terminal may not have its own PDU session.
[0220] Step 803: The first terminal and the network are exchanging data for service #2 via a PDU session.
[0221] Step 804: The direct communication establishment process is performed between the second terminal and the first terminal;
[0222] It should be noted that step 804 is an optional step. If a direct communication connection has already been established between the two terminals, step 804 does not need to be executed. In addition to establishing a wireless direct communication connection (such as Bluetooth, PC5, Wi-Fi, etc.), it is also possible that the second terminal and the first terminal are connected via a wired connection, which also falls within the scope of the established direct communication connection mentioned here.
[0223] Step 805: The first terminal sends a first transfer request message to the second terminal via direct communication technology;
[0224] The first transfer request message includes the second terminal's IP address, port number, FQDN, and URL.
[0225] Step 806: The second terminal sends a first transfer request acceptance message to the first terminal via direct communication technology.
[0226] The first transfer request acceptance message contains at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0227] Step 807: The first terminal sends a second request message;
[0228] The second request message is used to perform a data address translation process for the core network element. The second request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0229] Optionally, in one implementation, the second request message is a PDU session modification request message.
[0230] Step 808: SMF sends a first request message to PCF;
[0231] The first request message is used to request the PCF to modify the core network data transmission / caching / dropping policy (i.e., the first request message is used to request first policy information). Optionally, the first request message includes at least one of the following: the IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL) of the second terminal.
[0232] Optionally, in one implementation, the first request message is an Npcf_SMPolicyControl_Updaterequest message.
[0233] Step 809, PCF sends the first policy information;
[0234] Optionally, in one implementation, the first policy information is included in the Npcf_SMPolicyControl_Update response message.
[0235] Step 810: SMF sends the first rule to UPF;
[0236] The first rule is determined based on the first strategy information.
[0237] Optionally, in one implementation, the first rule is included in the N4 session modification request message. In another implementation, the first rule is included in Forwarding Action Rules. In yet another implementation, the first rule is included in Forwarding Action Rules by adding a data forwarding-related Forwarding policy or adding a data forwarding-related Action to existing Forwarding Action Rules.
[0238] Step 811: UPF sends the first rule response message to SMF;
[0239] Optionally, in one implementation, the first rule response message is an N4 session modification response message.
[0240] Step 812, Second terminal resource establishment process;
[0241] It should be noted that if the second terminal lacks network resources (such as PDU sessions) or air interface resources (RRC resources), the second terminal or the network initiates the establishment of the corresponding resources for the second terminal. In one implementation, the second terminal is in 5GMM-IDLE state, and the network-side equipment or RAN pages the second terminal to establish the corresponding resources.
[0242] Step 813, UPF performs NAT according to the first rule;
[0243] It should be noted that when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
[0244] Step 814: The second terminal and the network perform data interaction for service #2 through a PDU session.
[0245] Example 2: There is a direct communication between the first terminal and the second terminal. The first terminal initiates a data transfer request, and the second terminal sends its IP address and port number to the first terminal. The first terminal establishes forwarding rules in the core network through the PDU session modification process to achieve data forwarding.
[0246] like Figure 9 As shown, the specific application process in this case mainly includes:
[0247] Step 901: The second terminal and the first terminal select the same SMF and UPF.
[0248] Step 902: The second terminal has its own PDU session and is interacting with the network for service #1.
[0249] It should be noted that step 902 is an optional step, and the second terminal may not have its own PDU session.
[0250] Step 903: The first terminal and the network are exchanging data for service #2 via a PDU session.
[0251] Step 904: A direct communication establishment process is performed between the second terminal and the first terminal;
[0252] It should be noted that step 904 is optional. If a direct communication connection has already been established between the two terminals, step 904 does not need to be executed. In addition to establishing a wireless direct communication connection (such as Bluetooth, PC5, Wi-Fi, etc.), it is also possible that the second terminal and the first terminal are connected via a wired connection, which also falls within the scope of the established direct communication connection mentioned here.
[0253] Step 905: The first terminal sends a first transfer request message to the second terminal via direct communication technology;
[0254] The first transfer request message includes the second terminal's IP address, port number, FQDN, and URL.
[0255] Step 906: The second terminal sends a first transfer request acceptance message to the first terminal via direct communication technology.
[0256] The first transfer request acceptance message contains at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0257] Step 907: The first terminal sends a second request message;
[0258] The second request message is used to perform a data address translation process for the core network element. The second request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0259] Optionally, in one implementation, the second request message is a PDU session modification request message.
[0260] Step 908: SMF sends a first request message to PCF;
[0261] The first request message is used to request the PCF to modify the core network data transmission / caching / dropping policy (i.e., the first request message is used to request first policy information). Optionally, the first request message includes at least one of the following: the IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL) of the second terminal.
[0262] Optionally, in one implementation, the first request message is an Npcf_SMPolicyControl_Updaterequest message.
[0263] Step 909, PCF sends the first policy information;
[0264] Optionally, in one implementation, the first policy information is included in the Npcf_SMPolicyControl_Update response message.
[0265] Step 910: SMF sends the first rule to UPF;
[0266] The first rule is determined based on the first strategy information.
[0267] Optionally, in one implementation, the first rule is included in the N4 session modification request message. In another implementation, the first rule is included in Forwarding Action Rules. In yet another implementation, the first rule is included in Forwarding Action Rules by adding a data forwarding-related Forwarding policy or adding a data forwarding-related Action to existing Forwarding Action Rules.
[0268] Step 911: UPF sends the first rule response message to SMF;
[0269] Optionally, in one implementation, the first rule response message is an N4 session modification response message.
[0270] Step 912, Second terminal resource establishment process;
[0271] It should be noted that if the second terminal lacks network resources (such as PDU sessions) or air interface resources (RRC resources), the second terminal or the network initiates the establishment of the corresponding resources for the second terminal. In one implementation, the second terminal is in 5GMM-IDLE state, and the network-side equipment or RAN pages the second terminal to establish the corresponding resources.
[0272] Step 913: SMF sends a first instruction message to the first terminal;
[0273] The first instruction message indicates that the resources for step 912 have been established.
[0274] Step 914: The first terminal releases the resources established at the air interface and core network.
[0275] Optionally, in one implementation, the first terminal initiates a process to release the N1 NAS signalling connection, or initiates an RRC Release message, or locally releases the RRC resources.
[0276] Step 915, UPF performs NAT according to the first rule;
[0277] It should be noted that when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
[0278] It should be noted that when the first rule received by the UPF is a new rule, the UPF needs to update the existing rules.
[0279] Step 916: The second terminal and the network perform data interaction for service #2 through a PDU session.
[0280] Example 3: There is no direct communication between the first terminal and the second terminal. The first terminal initiates a data transfer request through the RAN. The second terminal sends its IP address and port number to the first terminal through the RAN. The first terminal establishes forwarding rules in the core network through the PDU session modification process to achieve data forwarding.
[0281] like Figure 10 As shown, the specific application process in this case mainly includes:
[0282] Step 1001: The second terminal establishes a connection with the first terminal;
[0283] It should be noted that during or after establishing a connection, the first terminal obtains at least one of the second terminal's IP address, port number, URL, and FQDN.
[0284] Step 1002: The first terminal transmits data through a PDU session;
[0285] Step 1003: The first terminal sends a first transfer request message to the second terminal through the access network;
[0286] The first transfer request message includes the second terminal's IP address, port number, FQDN, and URL.
[0287] Step 1004: The second terminal sends a first transfer request acceptance message to the first terminal through the access network.
[0288] The first transfer request acceptance message contains at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0289] Step 1005: The first terminal sends a second request message;
[0290] The second request message is used to perform a data address translation process for the core network element. The second request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0291] Optionally, in one implementation, the second request message is a PDU session modification request message.
[0292] Step 1006: SMF sends a first request message to PCF;
[0293] The first request message is used to request the PCF to modify the core network data transmission / caching / dropping policy (i.e., the first request message is used to request first policy information). Optionally, the first request message includes at least one of the following: the IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL) of the second terminal.
[0294] Optionally, in one implementation, the first request message is an Npcf_SMPolicyControl_Updaterequest message.
[0295] Step 1007, PCF sends the first policy information;
[0296] Optionally, in one implementation, the first policy information is included in the Npcf_SMPolicyControl_Update response message.
[0297] Step 1008: SMF sends the first rule to UPF;
[0298] The first rule is determined based on the first strategy information.
[0299] Optionally, in one implementation, the first rule is included in the N4 session modification request message. In another implementation, the first rule is included in Forwarding Action Rules. In yet another implementation, the first rule is included in Forwarding Action Rules by adding a data forwarding-related Forwarding policy or adding a data forwarding-related Action to existing Forwarding Action Rules.
[0300] Step 1009: UPF sends the first rule response message to SMF;
[0301] Optionally, in one implementation, the first rule response message is an N4 session modification response message.
[0302] Step 1010, Second terminal resource establishment process;
[0303] It should be noted that if the second terminal lacks network resources (such as PDU sessions) or air interface resources (RRC resources), the second terminal or the network initiates the establishment of the corresponding resources for the second terminal. In one implementation, the second terminal is in 5GMM-IDLE state, and the network-side equipment or RAN pages the second terminal to establish the corresponding resources.
[0304] Step 1011: UPF performs NAT according to the first rule;
[0305] It should be noted that when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
[0306] Step 1012: The second terminal and the network perform data interaction for service #2 through a PDU session.
[0307] Example 4: AF triggers the core network to modify forwarding rules, enabling data forwarding.
[0308] like Figure 11 As shown, the specific application process in this case mainly includes:
[0309] Step 1101: The second terminal and the first terminal select the same SMF and UPF.
[0310] Step 1102: The second terminal has its own PDU session and is interacting with the network for service #1.
[0311] It should be noted that step 1102 is an optional step, and the second terminal may not have its own PDU session.
[0312] Step 1103: The first terminal and the network are exchanging data for service #2 via a PDU session.
[0313] Step 1104, AF sends the first request message;
[0314] It should be noted that the first request message is used to request the core network side equipment to establish or modify data forwarding rules. The first request message includes at least one of the following: the IPv4 address of the second terminal; the IPv6 address of the second terminal; the port number of the second terminal; the IPv4 address of the first terminal; the IPv6 address of the first terminal; and the port number of the first terminal.
[0315] Optionally, in one implementation, the first request message is an Npcf_PolicyAuthorization_Update Request message.
[0316] Step 1105: PCF determines the first policy information based on the first request message;
[0317] Step 1106: SMF sends a first request message to PCF;
[0318] The first request message is used to request the PCF to modify the core network data transmission / caching / dropping policy (i.e., the first request message is used to request first policy information). Optionally, the first request message includes at least one of the following: the IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL) of the second terminal.
[0319] Optionally, in one implementation, the first request message is an Npcf_SMPolicyControl_Updaterequest message.
[0320] Step 1107, PCF sends the first policy information;
[0321] Optionally, in one implementation, the first policy information is included in the Npcf_SMPolicyControl_Update response message.
[0322] Step 1108: SMF sends the first rule to UPF;
[0323] The first rule is determined based on the first strategy information.
[0324] Optionally, in one implementation, the first rule is included in the N4 session modification request message. In another implementation, the first rule is included in Forwarding Action Rules. In yet another implementation, the first rule is included in Forwarding Action Rules by adding a data forwarding-related Forwarding policy or adding a data forwarding-related Action to existing Forwarding Action Rules.
[0325] Step 1109: UPF sends the first rule response message to SMF;
[0326] Optionally, in one implementation, the first rule response message is an N4 session modification response message.
[0327] Step 1110, Second terminal resource establishment process;
[0328] It should be noted that if the second terminal lacks network resources (such as PDU sessions) or air interface resources (RRC resources), the second terminal or the network initiates the establishment of the corresponding resources for the second terminal. In one implementation, the second terminal is in 5GMM-IDLE state, and the network-side equipment or RAN pages the second terminal to establish the corresponding resources.
[0329] Step 1111: SMF sends a first indication message to the first terminal;
[0330] The first instruction message indicates that the resources in step 1110 have been established.
[0331] Step 1112: The first terminal releases the resources established at the air interface and core network.
[0332] Optionally, in one implementation, the first terminal initiates a process to release the N1 NAS signalling connection, or initiates an RRC Release message, or locally releases the RRC resources.
[0333] Step 1113: UPF performs NAT according to the first rule;
[0334] It should be noted that when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
[0335] Step 1114: The second terminal and the network perform data interaction for service #2 through a PDU session.
[0336] It should be noted that the address translation control method provided in this application embodiment can be executed by an address translation control device, or by a control module within the address translation control device for executing the address translation control method. This application embodiment uses the execution of the address translation control method by an address translation control device as an example to illustrate the address translation control device provided in this application embodiment.
[0337] like Figure 12 As shown, this application embodiment provides an address translation control device 1200, applied to a first network element, including:
[0338] The first receiving module 1201 is used to receive a first rule sent by the second network element, the first rule being used by the first network element to perform a data address translation process;
[0339] The execution module 1202 is used to perform a data address conversion process according to the first rule.
[0340] Optionally, the execution module 1202 is configured to:
[0341] Update the second rule according to the first rule;
[0342] According to the second rule, the data address translation process is executed. The second rule is used by the first network element to perform the data address translation process.
[0343] Optionally, the data address translation process is implemented as follows:
[0344] The data address translation process is performed using Network Address Translation (NAT).
[0345] The address translation control device provided in this application embodiment can achieve... Figure 2 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0346] This application embodiment also provides a network element, which is a first network element, including a processor and a communication interface. The communication interface is used to: receive a first rule sent by a second network element, the first rule being used by the first network element to perform a data address translation process; and the processor is used to execute the data address translation process according to the first rule.
[0347] This network element embodiment corresponds to the method embodiment applied to the first network element side described above. All implementation processes and methods of the above method embodiments can be applied to this network element embodiment and achieve the same technical effect. Specifically, as... Figure 13As shown, network element 1300 is the first network element, including: antenna 1301, radio frequency device 1302, and baseband device 1303. Antenna 1301 is connected to radio frequency device 1302. In the uplink direction, radio frequency device 1302 receives information through antenna 1301 and sends the received information to baseband device 1303 for processing. In the downlink direction, baseband device 1303 processes the information to be transmitted and sends it to radio frequency device 1302. Radio frequency device 1302 processes the received information and transmits it through antenna 1301.
[0348] The aforementioned frequency band processing device can be located in the baseband device 1303. The method executed by the network-side device in the above embodiments can be implemented in the baseband device 1303, which includes a processor 1304 and a memory 1305.
[0349] The baseband device 1303 may, for example, include at least one baseband board on which multiple chips are disposed, such as... Figure 13 As shown, one of the chips, for example, is a processor 1304, which is connected to a memory 1305 to call the program in the memory 1305 and execute the network-side device operations shown in the above method embodiments.
[0350] The baseband device 1303 may also include a network interface 1306 for exchanging information with the radio frequency device 1302, such as a common public radio interface (CPRI).
[0351] Specifically, the first network element in this embodiment of the invention further includes: instructions or programs stored in the memory 1305 and executable on the processor 1304, wherein the processor 1304 calls the instructions or programs in the memory 1305 to execute. Figure 12 The methods executed by each module shown achieve the same technical effect, and to avoid repetition, they will not be described in detail here.
[0352] Preferably, this application embodiment also provides a network element, which is a first network element, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement various processes of the address translation control method embodiment applied to the first network element side and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0353] This application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements various processes of the address translation control method embodiment applied to the first network element side and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0354] The computer-readable storage medium mentioned above includes, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0355] like Figure 14 As shown, this application embodiment provides an address translation control device 1400, applied to a second network element, including:
[0356] The second receiving module 1401 is used to receive the first strategy information sent by the third network element;
[0357] The first sending module 1402 is used to send a first rule to the first network element according to the first strategy information;
[0358] The first rule is used by the first network element to perform the data address translation process.
[0359] Optionally, before the step of the second receiving module 1401 receiving the first policy information sent by the third network element, the method further includes:
[0360] The fifth sending module is used to send a first request message to the third network element, the first request message being used to request the first policy information.
[0361] Optionally, the first request message includes at least one of the following: the IP address of the first terminal, the port number, the fully qualified domain name (FQDN), and the Uniform Resource Locator (URL).
[0362] Optionally, before the step of the second receiving module 1401 receiving the first policy information sent by the third network element, the method further includes:
[0363] The third receiving module is used to receive a second request message sent by the first terminal, the second request message being used to request the second network element to perform a data address translation process.
[0364] Optionally, the second request message includes at least one of the following:
[0365] The IP address, port number, FQDN, and URL of the second terminal.
[0366] Optionally, after the second receiving module 1401 receives the first policy information sent by the third network element, it further includes:
[0367] The sixth sending module is used to send a first indication message to the first terminal, the first indication message being used to indicate that communication resources between the second network element and the second terminal have been established.
[0368] Optionally, after the second receiving module 1401 receives the first policy information sent by the third network element, it further includes:
[0369] The first release module is used by the second network element to release the communication resources established with the first terminal.
[0370] The address translation control device provided in this application embodiment can achieve... Figure 3 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0371] This application embodiment also provides a network element, which is a second network element, including a processor and a communication interface. The communication interface is used to: receive first policy information sent by a third network element; and send a first rule to a first network element according to the first policy information.
[0372] The first rule is used by the first network element to perform the data address translation process.
[0373] This network element embodiment corresponds to the method embodiment applied to the second network element side described above. All implementation processes and methods of the above method embodiments can be applied to this network element embodiment and achieve the same technical effect. Specifically, this application embodiment also provides a network element, which is a second network element. The structure of the second network element can be found in [reference needed]. Figure 13 The network element structure will not be elaborated here.
[0374] Specifically, the second network element in this embodiment of the invention further includes: instructions or programs stored in a memory and executable on a processor, wherein the processor calls the instructions or programs in the memory to execute. Figure 14 The methods executed by each module shown achieve the same technical effect, and to avoid repetition, they will not be described in detail here.
[0375] Preferably, this application embodiment also provides a network element, which is a second network element, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement various processes of the address translation control method embodiment applied to the second network element side and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0376] This application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements various processes of the address translation control method embodiment applied to the second network element side and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0377] The computer-readable storage medium mentioned above includes, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0378] like Figure 15 As shown, this application embodiment provides an address translation control device 1500, applied to a third network element, including:
[0379] The second sending module 1501 is used to send the first policy information to the second network element;
[0380] The first strategy information is used by the second network element to determine the first rule, and the first rule is used by the first network element to perform the data address translation process.
[0381] Optionally, before the step of the second sending module 1501 sending the first policy information to the second network element, the method further includes:
[0382] The fourth receiving module is used to receive a first request message sent by the second network element, wherein the first request message is used to request first policy information;
[0383] The second transmitting module 1501 is used for:
[0384] Based on the first request message, send the first policy information to the first network element.
[0385] Optionally, before the step of the second sending module 1501 sending the first policy information to the second network element, the method further includes:
[0386] The fifth receiving module is used to receive a third request message sent by the application server, the third request message being used to request the third network element to update the first rule;
[0387] The determination module is used to determine the first strategy information based on the third request message.
[0388] Optionally, the third request message includes at least one of the following:
[0389] The IP address, port number, FQDN, and URL of the second terminal; the IP address, port number, FQDN, and URL of the first terminal.
[0390] The address translation control device provided in this application embodiment can achieve... Figure 4 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0391] This application embodiment also provides a network element, which is a third network element, including a processor and a communication interface. The communication interface is used to send first policy information to a second network element.
[0392] The first strategy information is used by the second network element to determine the first rule, and the first rule is used by the first network element to perform the data address translation process.
[0393] This network element embodiment corresponds to the method embodiment applied to the third network element side described above. All implementation processes and methods of the above method embodiments can be applied to this network element embodiment and achieve the same technical effect. Specifically, this application embodiment also provides a network element, which is a third network element. The structure of the second network element can be found in [reference needed]. Figure 13 The network element structure will not be elaborated here.
[0394] Specifically, the third network element in this embodiment of the invention further includes: instructions or programs stored in a memory and executable on a processor, wherein the processor calls the instructions or programs in the memory to execute. Figure 15 The methods executed by each module shown achieve the same technical effect, and to avoid repetition, they will not be described in detail here.
[0395] Preferably, this application embodiment also provides a network element, which is a third network element, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement various processes of the address translation control method embodiment applied to the third network element side and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0396] This application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements various processes of the address translation control method embodiment applied to the third network element side and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0397] The computer-readable storage medium mentioned above includes, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0398] like Figure 16 As shown, this application embodiment provides an address translation control device 1600, applied to a first terminal, including:
[0399] The third sending module 1601 is used to send a second request message to the second network element, the second request message being used to request the second network element to perform a data address translation process.
[0400] Optionally, the second request message includes at least one of the following:
[0401] The second terminal's IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL).
[0402] Optionally, the device further includes:
[0403] The seventh sending module is used to send the first transfer request message to the second terminal;
[0404] The sixth receiving module is used to receive the first transfer request acceptance message sent by the second terminal.
[0405] Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0406] Optionally, the first transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0407] Optionally, the seventh sending module sends a first transfer request message to the second terminal to achieve one of the following:
[0408] A first transfer request message is sent to the second terminal via direct communication technology;
[0409] The access network device sends a first transfer request message to the second terminal.
[0410] Optionally, when the seventh sending module sends a first transfer request message to the second terminal through the access network device, the first transfer request message further includes at least one of the following:
[0411] The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile user's International Integrated Services Digital Network / Public Switched Telephone Network Number (MSISDN) of the second terminal device.
[0412] Optionally, the device further includes:
[0413] The seventh receiving module is used to receive the second transfer request message sent by the second terminal;
[0414] The eighth sending module is used to send a second transfer request acceptance message to the second terminal.
[0415] Optionally, the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0416] Optionally, the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0417] Optionally, the seventh receiving module receives a second transfer request message sent by the second terminal, and implements one of the following:
[0418] Receive the second transfer request message sent by the second terminal through direct communication technology;
[0419] The access network device receives the second transfer request message sent by the second terminal.
[0420] Optionally, after the third sending module 1601 sends the second request message to the second network element, the method further includes:
[0421] The eighth receiving module is used to receive a first indication message sent by the second network element, wherein the first indication message is used to indicate that communication resources between the second network element and the second terminal have been established;
[0422] The second release module is used to release the communication resources established with the access network device and the second network element according to the first instruction message.
[0423] It should be noted that this device embodiment corresponds one-to-one with the above method embodiments. All implementation processes of the above method embodiments are applicable to this device embodiment and can achieve the same technical effect, so they will not be repeated here.
[0424] The address translation control device in this application embodiment can be a device, a device or electronic device with an operating system, or a component, integrated circuit, or chip in a terminal. The device or electronic device can be a mobile terminal or a non-mobile terminal. For example, a mobile terminal can include, but is not limited to, the types of terminals 11 listed above, while a non-mobile terminal can be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not impose specific limitations.
[0425] The address translation control device provided in this application embodiment can achieve... Figure 5 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0426] This application embodiment also provides a terminal, which is a first terminal, including a processor and a communication interface. The communication interface is used to send a second request message to a second network element, and the second request message is used to request the second network element to perform a data address translation process.
[0427] This terminal embodiment corresponds to the method embodiment applied to the first terminal side described above. All implementation processes and methods of the above method embodiments can be applied to this terminal embodiment and achieve the same technical effect. Specifically, Figure 17 A schematic diagram of the hardware structure of a terminal to implement an embodiment of this application.
[0428] The terminal 1700 is a first terminal, including but not limited to at least some of the following components: radio frequency unit 1701, network module 1702, audio output unit 1703, input unit 1704, sensor 1705, display unit 1706, user input unit 1707, interface unit 1708, memory 1709, and processor 1710.
[0429] Those skilled in the art will understand that the terminal 1700 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 1710 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 17 The terminal structure shown does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0430] It should be understood that, in this embodiment, the input unit 1704 may include a graphics processing unit (GPU) 17041 and a microphone 17042. The GPU 17041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 1706 may include a display panel 17061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 1707 includes a touch panel 17071 and other input devices 17072. The touch panel 17071 is also called a touch screen. The touch panel 17071 may include a touch detection device and a touch controller. Other input devices 17072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
[0431] In this embodiment, the radio frequency unit 1701 receives downlink data from the network-side device and processes it for the processor 1710; additionally, it sends uplink data to the network-side device. Typically, the radio frequency unit 1701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc.
[0432] The memory 1709 can be used to store software programs or instructions and various data. The memory 1709 may primarily include a program or instruction storage area and a data storage area. The program or instruction storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 1709 may include high-speed random access memory and non-volatile memory, which may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. For example, at least one disk storage device, flash memory device, or other non-volatile solid-state storage device.
[0433] Processor 1710 may include one or more processing units; optionally, processor 1710 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications or instructions, and the modem processor mainly handles wireless communication, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 1710.
[0434] The radio frequency unit 1701 is used to implement:
[0435] A second request message is sent to the second network element, the second request message being used to request the second network element to perform a data address translation process.
[0436] Optionally, the second request message includes at least one of the following:
[0437] The second terminal's IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL).
[0438] Optionally, the radio frequency unit 1701 is also used to implement:
[0439] Send a first transfer request message to the second terminal;
[0440] Receive the first transfer request acceptance message sent by the second terminal.
[0441] Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0442] Optionally, the first transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0443] Optionally, the radio frequency unit 1701 is used to implement one of the following:
[0444] A first transfer request message is sent to the second terminal via direct communication technology;
[0445] The access network device sends a first transfer request message to the second terminal.
[0446] Optionally, when the first terminal sends a first transfer request message to the second terminal through the access network device, the first transfer request message further includes at least one of the following:
[0447] The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile user's International Integrated Services Digital Network / Public Switched Telephone Network Number (MSISDN) of the second terminal device.
[0448] Optionally, the radio frequency unit 1701 is also used to implement:
[0449] Receive a second transfer request message sent by the second terminal;
[0450] Send a second transfer request acceptance message to the second terminal.
[0451] Optionally, the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0452] Optionally, the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0453] Optionally, the radio frequency unit 1701 is used to implement one of the following:
[0454] The first terminal receives the second transfer request message sent by the second terminal via direct communication technology;
[0455] The first terminal receives the second transfer request message sent by the second terminal through the access network device.
[0456] Optionally, the radio frequency unit 1701 is also used to implement:
[0457] Receive a first indication message sent by the second network element, the first indication message being used to indicate that communication resources between the second network element and the second terminal have been established;
[0458] The processor 1710 is configured to release communication resources established with the access network device and the second network element in accordance with the first instruction message.
[0459] Preferably, this application embodiment also provides a terminal, which is a first terminal, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the various processes of the address translation control method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0460] This application also provides a readable storage medium storing a program or instructions. When executed by a processor, the program or instructions implement various processes of the address translation control method embodiment applied to the first terminal and achieve the same technical effect. To avoid repetition, these will not be described again here. The computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0461] like Figure 18 As shown, this application embodiment provides an address translation control device 1800, applied to a second terminal, including:
[0462] The first transceiver module 1801 is configured to receive a first transfer request message sent by the first terminal and send a first transfer request acceptance message to the first terminal; or
[0463] The second transceiver module 1802 is used to send a second transfer request message to the first terminal and receive a second transfer request acceptance message sent by the first terminal.
[0464] Optionally, the first transfer request acceptance message includes at least one of the following: the IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL) of the second terminal.
[0465] Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0466] Optionally, the first transceiver module 1801 is configured to implement one of the following:
[0467] The first transfer request message sent by the first terminal is received via direct communication technology;
[0468] The access network device receives the first transfer request message sent by the first terminal.
[0469] Optionally, when the first transceiver module 1801 receives the first transfer request message sent by the first terminal through the access network device, the first transfer request message further includes at least one of the following:
[0470] The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile user's International Integrated Services Digital Network / Public Switched Telephone Network Number (MSISDN) of the second terminal device.
[0471] Optionally, the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0472] Optionally, the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0473] Optionally, the first transceiver module 1801 is configured to implement one of the following:
[0474] Receive the second transfer request message sent by the first terminal through direct communication technology;
[0475] The access network device receives the second transfer request acceptance message sent by the first terminal.
[0476] It should be noted that this device embodiment corresponds one-to-one with the above method embodiments. All implementation processes of the above method embodiments are applicable to this device embodiment and can achieve the same technical effect, so they will not be repeated here.
[0477] This application embodiment also provides a terminal, which is a second terminal, including a processor and a communication interface. The communication interface is used to receive a first transfer request message sent by a first terminal and to send a first transfer request acceptance message to the first terminal; or
[0478] Send a second transfer request message to the first terminal, and receive a second transfer request acceptance message sent by the first terminal.
[0479] This terminal embodiment corresponds to the above-described terminal-side method embodiment. All implementation processes and methods of the above-described method embodiment can be applied to this terminal embodiment and can achieve the same technical effect.
[0480] This application also provides a terminal, which is a second terminal, and its hardware structure can be found in [reference needed]. Figure 17 As shown, it will not be elaborated further here.
[0481] The radio frequency unit is used to implement:
[0482] Receive a first transfer request message sent by a first terminal, and send a first transfer request acceptance message to the first terminal; or
[0483] Send a second transfer request message to the first terminal, and receive a second transfer request acceptance message sent by the first terminal.
[0484] Optionally, the first transfer request acceptance message includes at least one of the following: the IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL) of the second terminal.
[0485] Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
[0486] Optionally, the radio frequency unit is used to implement one of the following:
[0487] The first transfer request message sent by the first terminal is received via direct communication technology;
[0488] The access network device receives the first transfer request message sent by the first terminal.
[0489] Optionally, when the radio frequency unit receives the first transfer request message sent by the first terminal through the access network device, the first transfer request message further includes at least one of the following:
[0490] The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile user's International Integrated Services Digital Network / Public Switched Telephone Network Number (MSISDN) of the second terminal device.
[0491] Optionally, the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0492] Optionally, the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
[0493] Optionally, the radio frequency unit is used to implement one of the following:
[0494] Receive the second transfer request message sent by the first terminal through direct communication technology;
[0495] The access network device receives the second transfer request acceptance message sent by the first terminal.
[0496] Preferably, this application embodiment also provides a terminal, which is a second terminal, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement the various processes of the address translation control method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0497] This application also provides a readable storage medium storing a program or instructions. When executed by a processor, the program or instructions implement various processes of the address translation control method embodiment applied to a second terminal and achieve the same technical effect. To avoid repetition, these will not be described again here. The computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0498] like Figure 19 As shown, this application embodiment provides an address translation control device 1900, applied to an application server, including:
[0499] The fourth sending module 1901 is used to send a third request message to the third network element. The third request message is used to request the third network element to update the first rule. The first rule is used by the first network element to perform the data address translation process.
[0500] Optionally, the third request message includes at least one of the following:
[0501] The IP address, port number, FQDN, and URL of the second terminal; the IP address, port number, FQDN, and URL of the first terminal.
[0502] The address translation control device provided in this application embodiment can achieve... Figure 7 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0503] This application embodiment also provides an application server, including a processor and a communication interface. The communication interface is used to send a third request message to a third network element. The third request message is used to request the third network element to update a first rule. The first rule is used by the first network element to perform a data address translation process.
[0504] This application server embodiment corresponds to the method embodiment described above applied to the application server side. All implementation processes and methods of the above method embodiments can be applied to this application server embodiment and achieve the same technical effect. Specifically, this application embodiment also provides an application server, the structure of which can be found in [reference needed]. Figure 13 The network element structure will not be elaborated here.
[0505] Specifically, the application server in this embodiment of the invention further includes: instructions or programs stored in memory and executable on a processor, wherein the processor calls the instructions or programs in memory to execute... Figure 19 The methods executed by each module shown achieve the same technical effect, and to avoid repetition, they will not be described in detail here.
[0506] Preferably, this application embodiment also provides an application server, including a processor, a memory, and a program or instructions stored in the memory and executable on the processor. When the program or instructions are executed by the processor, they implement various processes of the address translation control method embodiment applied to the application server side and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0507] This application also provides a readable storage medium on which a program or instructions are stored. When the program or instructions are executed by a processor, they implement various processes of the address translation control method embodiment applied to the application server side and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0508] The computer-readable storage medium mentioned above includes, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0509] Optional, such as Figure 20 As shown, this application embodiment also provides a communication device 2000, including a processor 2001, a memory 2002, and a program or instructions stored in the memory 2002 and executable on the processor 2001. For example, when the communication device 2000 is a terminal, the program or instructions executed by the processor 2001 implement the various processes of the above-described address translation control method embodiment, and achieve the same technical effect. When the communication device 2000 is a network element, the program or instructions executed by the processor 2001 implement the various processes of the above-described address translation control method embodiment, and achieve the same technical effect. When the communication device 2000 is an application server, the program or instructions executed by the processor 2001 implement the various processes of the above-described address translation control method embodiment, and achieve the same technical effect. To avoid repetition, further details are omitted here.
[0510] The terminal involved in the embodiments of this application can be a device that provides voice and / or data connectivity to a user, a handheld device with wireless connectivity, or other processing devices connected to a wireless modem. The name of the terminal device may differ in different systems; for example, in a 5G system, the terminal device can be called a User Equipment (UE). The wireless terminal device can communicate with one or more core networks (CNs) via a Radio Access Network (RAN). The wireless terminal device can be a mobile terminal device, such as a mobile phone (or "cellular" phone) and a computer with a mobile terminal device, for example, a portable, pocket-sized, handheld, computer-embedded, or vehicle-mounted mobile device. These exchange voice and / or data with the RAN. Examples include Personal Communication Service (PCS) phones, cordless phones, Session Initiated Protocol (SIP) phones, Wireless Local Loop (WLL) stations, and Personal Digital Assistants (PDAs). Wireless terminal equipment can also be referred to as a system, subscriber unit, subscriber station, mobile station, mobile station, remote station, access point, remote terminal, access terminal, user terminal, user agent, or user device, but is not limited to these terms in the embodiments of this application.
[0511] The network-side equipment involved in the embodiments of this application can be a base station (BTS) in Global System for Mobile communication (GSM) or Code Division Multiple Access (CDMA), a base station (NodeB, NB) in Wideband Code Division Multiple Access (WCDMA), an evolved Node B (eNB or eNodeB) in LTE, a relay station or access point, or a base station in a future 5G network, etc., and is not limited thereto.
[0512] Network-side devices and terminals can each use one or more antennas for Multiple-Input Multiple-Output (MIMO) transmission. MIMO transmission can be Single-User MIMO (SU-MIMO) or Multiple-User MIMO (MU-MIMO). Depending on the configuration and number of antenna combinations, MIMO transmission can be 2D-MIMO, 3D-MIMO, FD-MIMO, or massive-MIMO, and can also be diversity transmission, pre-coding transmission, or beamforming transmission, etc.
[0513] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above-described address translation control method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0514] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0515] This application also provides a computer program / program product, which is stored in a non-transient storage medium. The program / program product is executed by at least one processor to implement the various processes of the address translation control method embodiment and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0516] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0517] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0518] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. An address translation control method, characterized in that, include: The first network element receives a first rule sent by the second network element, and the first rule is used by the first network element to perform data address translation process; According to the first rule, the data address translation process is executed; The data address translation process includes: When the first network element receives a data packet whose destination address is the IP address of the first terminal, the first network element replaces the destination address in the data packet with the IP address of the second terminal.
2. The method according to claim 1, characterized in that, The step of performing the data address translation process according to the first rule includes: Update the second rule according to the first rule; According to the second rule, the data address translation process is executed. The second rule is used by the first network element to perform the data address translation process.
3. An address translation control method, characterized in that, include: The second network element receives the first policy information sent by the third network element; The second network element sends the first rule to the first network element according to the first strategy information; The first rule is used by the first network element to perform the data address translation process; The data address translation process includes: When the first network element receives a data packet whose destination address is the IP address of the first terminal, the first network element replaces the destination address in the data packet with the IP address of the second terminal.
4. The method according to claim 3, characterized in that, Before the step of the second network element receiving the first policy information sent by the third network element, the method further includes: The second network element sends a first request message to the third network element, the first request message being used to request the first policy information.
5. The method according to claim 4, characterized in that, The first request message includes: the IP address of the first terminal.
6. The method according to claim 3, characterized in that, Before the step of the second network element receiving the first policy information sent by the third network element, the method further includes: The second network element receives a second request message sent by the first terminal. The second request message is used to request the second network element to perform a data address translation process.
7. The method according to claim 6, characterized in that, The second request message includes: The IP address of the second terminal.
8. The method according to claim 3, characterized in that, After the second network element receives the first policy information sent by the third network element, the process also includes: The second network element sends a first indication message to the first terminal, the first indication message being used to indicate that communication resources between the second network element and the second terminal have been established.
9. The method according to claim 3, characterized in that, After the second network element receives the first policy information sent by the third network element, the process also includes: The second network element releases the communication resources established with the first terminal.
10. An address translation control device, applied to a first network element, characterized in that, include: The first receiving module is used to receive the first rule sent by the second network element, and the first rule is used by the first network element to perform the data address translation process. The execution module is used to perform the data address translation process according to the first rule; The data address translation process includes: When the first network element receives a data packet whose destination address is the IP address of the first terminal, the first network element replaces the destination address in the data packet with the IP address of the second terminal.
11. A network element, wherein the network element is a first network element, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the address translation control method as described in any one of claims 1 to 2.
12. An address translation control device, applied to a second network element, characterized in that, include: The second receiving module is used to receive the first policy information sent by the third network element; The first sending module is used to send the first rule to the first network element according to the first strategy information; The first rule is used by the first network element to perform the data address translation process; The data address translation process includes: When the first network element receives a data packet whose destination address is the IP address of the first terminal, the first network element replaces the destination address in the data packet with the IP address of the second terminal.
13. A network element, wherein the network element is a second network element, characterized in that, It includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the address translation control method as described in any one of claims 3 to 9.
14. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the address translation control method as described in any one of claims 1 to 9.
Citation Information
Patent Citations
Data Communication Method and Terminal
US20170318622A1