Data processing method and apparatus, terminal, access network device, and core network device

By acquiring mapping rules and executing the data address translation process, the problem of insufficient data forwarding in 5G networks is solved, and the reliability and integrity of communication are achieved.

CN115714984BActive Publication Date: 2026-03-03VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202110961566.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-20
Publication Date
2026-03-03
Estimated Expiration
2041-08-20

AI Technical Summary

Technical Problem

The lack of existing technologies for 5G network data forwarding results in incomplete communication processes and an inability to guarantee communication reliability.

Method used

By acquiring mapping rules and executing the data address translation process, the 5G network is ensured to forward data, including the coordinated operation of terminals, access network equipment, and core network equipment.

Benefits of technology

It enables data forwarding on the 5G network, ensuring the reliability and integrity of communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115714984B_ABST
    Figure CN115714984B_ABST
Patent Text Reader

Abstract

The application discloses a data processing method and device, a terminal, an access network device and a core network device, and belongs to the technical field of communication. The data processing method comprises the following steps: a second terminal acquires a mapping rule, wherein the mapping rule is used for indicating the second terminal to perform a data address conversion process; and the second terminal performs the data address conversion process according to the mapping rule.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of communications, and specifically relates to a data processing method, apparatus, terminal, access network equipment, and core network equipment. 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 a data processing method, apparatus, terminal, access network equipment, and core network equipment, 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, a data processing method is provided, including:

[0006] The second terminal obtains the mapping rule, which is used to instruct the second terminal to perform a data address conversion process;

[0007] The second terminal performs a data address conversion process according to the mapping rules.

[0008] Secondly, a data processing apparatus is provided for use in a second terminal, comprising:

[0009] The first acquisition module is used to acquire mapping rules, which are used to instruct the second terminal to perform a data address conversion process.

[0010] The conversion module is used to perform a data address conversion process according to the mapping rules.

[0011] Thirdly, a data processing method is provided, including:

[0012] The first terminal sends the mapping rules to the second terminal; or

[0013] The first terminal sends a first message to the second terminal or core network equipment; or

[0014] The first terminal receives the second message sent by the second terminal;

[0015] The mapping rule is used to instruct the second terminal to perform a data address translation process, the first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0016] Fourthly, a data processing apparatus is provided, applied to a first terminal, comprising:

[0017] The first transceiver module is used to send mapping rules to the second terminal; or

[0018] Send the first message to the second terminal or core network equipment; or

[0019] Receive the second message sent by the second terminal;

[0020] The mapping rule is used to instruct the second terminal to perform a data address translation process, the first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0021] Fifthly, a data processing method is provided, including:

[0022] The access network device sends the first message to the second terminal; or

[0023] Receive the second message sent by the second terminal;

[0024] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0025] Sixthly, a data processing apparatus is provided, applied to access network equipment, comprising:

[0026] The second transceiver module is used to send the first message to the second terminal; or

[0027] Receive the second message sent by the second terminal;

[0028] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0029] Seventhly, a data processing method is provided, including:

[0030] The core network equipment receives the first message sent by the first terminal and sends the first message to the access network node; or

[0031] The core network equipment receives the second message sent by the second terminal;

[0032] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0033] Eighthly, a data processing apparatus is provided, applied to core network equipment, comprising:

[0034] The third transceiver module is used by the core network equipment to receive the first message sent by the first terminal and send the first message to the access network node; or

[0035] Receive the second message sent by the second terminal;

[0036] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0037] A ninth aspect provides a terminal, which is a second terminal or a first 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 first or third aspect.

[0038] In a tenth aspect, a terminal is provided, the terminal being a second terminal, including a processor and a communication interface, wherein the processor is used to acquire mapping rules, the mapping rules being used to instruct the second terminal to perform a data address translation process; and the data address translation process is performed according to the mapping rules.

[0039] Eleventhly, 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 mapping rules to a second terminal; or

[0040] Send the first message to the second terminal or core network equipment; or

[0041] The first terminal receives the second message sent by the second terminal;

[0042] The mapping rule is used to instruct the second terminal to perform a data address translation process, the first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0043] In a twelfth aspect, an access network device is provided, the access network device 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 fifth aspect.

[0044] In a thirteenth aspect, an access network device is provided, including a processor and a communication interface, wherein the communication interface is used to send a first message to a second terminal; or

[0045] The access network device receives the second message sent by the second terminal;

[0046] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0047] In a fourteenth aspect, a core network device is provided, the core network device 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 seventh aspect.

[0048] In a fifteenth aspect, a core network device is provided, including a processor and a communication interface, wherein the communication interface is used to receive a first message sent by a first terminal and to send the first message to an access network node; or

[0049] Receive the second message sent by the second terminal;

[0050] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0051] In a sixteenth 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, or seventh aspects.

[0052] In a seventeenth 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, or seventh aspects.

[0053] Eighteenth 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 or seventh aspect.

[0054] In this embodiment of the application, by obtaining the mapping rules for the second terminal to perform the data address translation process, and performing the data address translation process based on the mapping rules, it is possible to ensure that the 5G network can 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 a data processing method applied to a second terminal according to an embodiment of this application;

[0057] Figure 3 This is one of the specific application process diagrams of the embodiments of this application;

[0058] Figure 4 This is the second schematic diagram of the specific application process of this application embodiment;

[0059] Figure 5 This is the third schematic diagram of the specific application process of this application embodiment;

[0060] Figure 6 This is the fourth schematic diagram of the specific application process of the embodiments of this application;

[0061] Figure 7 This is one of the schematic diagrams of a data processing apparatus according to an embodiment of this application;

[0062] Figure 8 This is a structural block diagram of the terminal according to an embodiment of this application;

[0063] Figure 9 This is a flowchart illustrating a data processing method applied to a first terminal according to an embodiment of this application;

[0064] Figure 10 This is a second schematic diagram of the data processing device according to an embodiment of this application;

[0065] Figure 11 This is a schematic flowchart of a data processing method applied to an access network device according to an embodiment of this application;

[0066] Figure 12 This is the third schematic diagram of the data processing device according to an embodiment of this application;

[0067] Figure 13 This is a structural block diagram of the access network device according to an embodiment of this application;

[0068] Figure 14 This is a schematic flowchart of a data processing method applied to a core network device according to an embodiment of this application;

[0069] Figure 15 This is the fourth schematic diagram of the data processing apparatus according to an embodiment of this application;

[0070] Figure 16 This is a structural block diagram of a communication device according to an embodiment of this application. Detailed Implementation

[0071] 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.

[0072] 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.

[0073] 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.

[0074] 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.

[0075] 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.

[0076] The data processing method, apparatus, terminal, access network equipment, and core network equipment provided in this application will be described in detail below with reference to the accompanying drawings and through some embodiments and application scenarios.

[0077] like Figure 2 As shown in the figure, this application provides a data processing method, including:

[0078] Step 201: The second terminal obtains the mapping rules;

[0079] It should be noted that the mapping rule is used to instruct the second terminal to perform a data address translation process;

[0080] Step 202: The second terminal performs a data address conversion process according to the mapping rules.

[0081] In this application embodiment, the second terminal 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 a personal Internet of Things, such as smart home devices like televisions and cameras, wearable devices, etc.

[0082] 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.

[0083] 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.

[0084] It should be noted that one way to implement the data address translation process on the second terminal is as follows: the second terminal performs the data address translation process through Network Address Translation (NAT).

[0085] It should be further explained that when the second terminal receives a data packet from the network, the data packet was originally intended to be sent to the first terminal. Therefore, the destination address of the data packet is the first terminal. If the second terminal does not perform NAT, the second terminal cannot parse the data packet. After applying the embodiments of this application, after the second terminal receives the data packet from the network, the underlying layer replaces the destination address in the data packet from the first terminal to the second terminal. This makes the higher layer of the second terminal believe that the data packet was sent to the second terminal by the network, and the second terminal can continue to parse the data packet and obtain the corresponding data.

[0086] When the second terminal sends data to the network, the source address is replaced by the first terminal, and then the data packet is sent. When the network receives the data packet, it will assume that the data packet was sent by the first terminal.

[0087] It should be noted that the mapping rule can be notified by the first terminal to the second terminal, or it can be determined by the second terminal itself. The embodiments of this application will be described in detail below from the perspective of the subject that generates the mapping rule.

[0088] I. First Terminal Mapping Rules

[0089] It should be noted that, in this case, step 201 can be optionally implemented as follows:

[0090] The second terminal receives the mapping rules sent by the first terminal.

[0091] Optionally, the mapping rule includes:

[0092] The mapping relationship between the first information of the first terminal and the second information of the second terminal;

[0093] The first information includes at least one of the following: IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL);

[0094] The second information includes at least one of the following: IP address, port number, FQDN, and URL.

[0095] It should be noted that, for example, the mapping rule can be a mapping list. Usually, the first piece of information in the mapping list corresponds one-to-one with the second piece of information. For example, the mapping list includes, but is not limited to, at least one of the following items: the IP address of the first terminal corresponds to the IP address of the second terminal, the port number of the first terminal corresponds to the port number of the second terminal, the FQDN of the first terminal corresponds to the FQDN of the second terminal, the URL of the first terminal corresponds to the URL of the second terminal, the IP address of the first terminal corresponds to the port number of the second terminal, etc.

[0096] II. One scenario where the second terminal generates mapping rules (the first terminal triggers data forwarding)

[0097] It should be noted that, in this case, step 201 can be implemented in the following ways:

[0098] The second terminal receives a first message, which requests the second terminal to perform a data address translation process;

[0099] The second terminal obtains the mapping rules based on the first message.

[0100] In other words, in this case, the mapping rule is determined by the second terminal based on the first message.

[0101] It should be noted that, typically, the first message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal; that is, when the second terminal receives the first message, since the first message contains relevant information about the first terminal, the second terminal can generate mapping rules based on at least one of the IP address, port number, FQDN, and URL of the first terminal.

[0102] Optionally, the second terminal may acquire the first message in one of the following ways:

[0103] Implementation Method 1: The second terminal receives the first message sent by the first terminal through direct communication technology;

[0104] It should be noted that the direct communication technologies mentioned in the embodiments of this application include, but are not limited to, WLAN direct communication, Bluetooth connection communication, PC5 sidelink communication, and other technologies.

[0105] It should be further noted that after receiving the first message sent by the first terminal, the second terminal also needs to send a first acceptance message to the first terminal.

[0106] Optionally, the first acceptance message includes at least one of the following:

[0107] The IP address, port number, FQDN, and URL of the first terminal.

[0108] Implementation Method 2: The second terminal receives the first message sent by the first terminal through the access network equipment;

[0109] It should be noted that in this implementation, the second terminal and the first terminal do not communicate directly. Instead, they forward each other's interaction messages through the access network device. After the second terminal receives the first message from the first terminal, it needs to send back a first acceptance message. When the access network device receives the first acceptance message sent by the second terminal, it forwards the first acceptance message to the first terminal.

[0110] Optionally, the first acceptance message includes at least one of the following:

[0111] The IP address, port number, FQDN, and URL of the first terminal.

[0112] Implementation Method 3: The second terminal receives the first message sent by the core network device;

[0113] It should be noted that one implementation method in this case is as follows: the first terminal sends a first message to the core network device, the core network device sends the first message to the second terminal through the access network device, and the second terminal also needs to send back a first received message to the core network device.

[0114] Another implementation in this case is as follows: the first terminal sends a forwarding request to the core network device, the core network device sends a forwarding acceptance message to the access network device, the forwarding acceptance message carries at least one of the first terminal's IP address, port number, FQDN and URL; after receiving the forwarding acceptance message, the access network device sends a first message (in this case, the first message is a transfer indication) to the second terminal based on the forwarding acceptance message, and after receiving the first message, the second terminal sends a first acceptance message back to the access network device.

[0115] Specifically, the first received message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0116] III. One scenario for generating mapping rules on the second terminal (second terminal triggers data forwarding)

[0117] It should be noted that in this case, before step 201, the following steps are also included:

[0118] The second terminal sends a second message, which requests the second terminal to perform a data address translation process.

[0119] Optionally, the second message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0120] Optionally, the second terminal may send the second message in one of the following ways:

[0121] Implementation Method 1: The second terminal sends a second message to the first terminal via direct communication technology;

[0122] It should be noted that the direct communication technologies mentioned in the embodiments of this application include, but are not limited to, WLAN direct communication, Bluetooth connection communication, PC5 sidelink communication, and other technologies.

[0123] It should be further noted that after receiving the first message sent by the second terminal, the first terminal also needs to send a second acceptance message to the second terminal; optionally, the second acceptance message includes at least one of the following:

[0124] The IP address, port number, FQDN, and URL of the first terminal.

[0125] Furthermore, the second terminal obtains the mapping rule based on the second received message. In other words, in this case, the second terminal determines the mapping rule based on the second received message fed back by the first terminal.

[0126] Implementation Method 2: The second terminal forwards the second message to the first terminal through the access network equipment;

[0127] It should be noted that in this implementation, the second terminal and the first terminal do not communicate directly. Instead, they forward each other's interaction messages through the access network device. After the first terminal receives the second message from the second terminal, it needs to send back a second acceptance message. When the access network device receives the second acceptance message sent by the first terminal, it forwards the second acceptance message to the second terminal. The second terminal obtains the mapping rule based on the second acceptance message. In other words, in this case, the second terminal determines the mapping rule based on the second acceptance message sent back by the first terminal.

[0128] Implementation Method 3: The second terminal sends a second message to the core network equipment;

[0129] It should be noted that one implementation method in this case is as follows: the second terminal sends a second message to the core network device, the core network device sends a second accept message to the second terminal through the access network device, and the second terminal determines the mapping rule based on the second accept message.

[0130] Optionally, the second acceptance message includes at least one of the following:

[0131] The IP address, port number, FQDN, and URL of the first terminal.

[0132] It should be noted that the IP address mentioned in the embodiments of this application includes, but is not limited to, at least one of IPv4 address and IPv6 address.

[0133] The following example illustrates the data forwarding process between the various devices mentioned above in a specific application.

[0134] Specific scenario 1: There is a direct communication between the first terminal and the second terminal. After the first terminal determines the mapping rules, it sends them to the second terminal.

[0135] like Figure 3 As shown, the specific application process in this case mainly includes:

[0136] Step 300: The first terminal transmits data through a Protocol Data Unit (PDU) session;

[0137] Step 301: The first terminal establishes a direct communication connection with the second terminal;

[0138] It should be noted that this direct communication can be achieved via Bluetooth, Sidelink, Wi-Fi, wired connection, etc.

[0139] Step 302: The first terminal sends a forwarding request;

[0140] Step 303: The second terminal sends a response to forward the received message;

[0141] Optionally, the forwarding acceptance message carries at least one of the IP address and port number of the second terminal.

[0142] Step 304: The second terminal establishes a resource connection with the access network;

[0143] Typically, the second terminal needs to establish air interface resources corresponding to the access network with the assistance of the first terminal.

[0144] Step 305: The first terminal determines the mapping rules;

[0145] It should be noted that the first terminal mainly determines the mapping rules based on forwarding and receiving messages.

[0146] Step 306: The first terminal sends the mapping rules to the second terminal;

[0147] Step 307: After receiving the data packet, the second terminal performs NAT according to the mapping rules;

[0148] The second terminal transmits data through a PDU session, and the application server is unaware of the data sender and receiver.

[0149] It should be noted that in this case, there is no clear order between steps 304 and 305; the second terminal can execute either step first.

[0150] Specific Scenario 2: There is a direct communication between the first terminal and the second terminal. The first terminal initiates a forwarding request, sending its IP address and port number to the second terminal in the request. The second terminal then determines the mapping rules.

[0151] like Figure 4 As shown, the specific application process in this case mainly includes:

[0152] Step 400: The first terminal transmits data through a PDU session;

[0153] Step 401: The first terminal establishes a direct communication connection with the second terminal;

[0154] It should be noted that this direct communication can be achieved via Bluetooth, Sidelink, Wi-Fi, wired connection, etc.

[0155] Step 402: The first terminal sends the first message;

[0156] It should be noted that the first message here refers to the forwarding request; the first message carries at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0157] Step 403: The second terminal sends back the first received message;

[0158] It should be noted that the first message received here refers to the message received after forwarding.

[0159] Optionally, the forwarding acceptance message carries at least one of the IP address, port number, FQDN, and URL of the first terminal.

[0160] Step 404: The second terminal determines the mapping rules based on the first message;

[0161] Step 405: The second terminal establishes a resource connection with the access network;

[0162] Typically, the second terminal needs to establish air interface resources corresponding to the access network with the assistance of the first terminal.

[0163] Step 406: After receiving the data packet, the second terminal performs NAT according to the mapping rules;

[0164] The second terminal transmits data through a PDU session, and the application server is unaware of the data sender and receiver.

[0165] It should be noted that in this case, there is no clear order between steps 404 and 405; the second terminal can execute either step first.

[0166] Specific Scenario 3: There is no direct communication between the first terminal and the second terminal. The first terminal forwards a forwarding request through the RAN, carrying the IP address and port number in the forwarding request. The second terminal determines the mapping rules.

[0167] like Figure 5 As shown, the specific application process in this case mainly includes:

[0168] Step 500: The first terminal transmits data through a PDU session;

[0169] Step 501: The first terminal sends a first message to the second terminal through the access network;

[0170] It should be noted that the first message here refers to the forwarding request; the first message carries at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0171] Step 502: The second terminal sends a first accept message to the first terminal through the access network;

[0172] It should be noted that the first message received here refers to the message received after forwarding.

[0173] Step 503: The second terminal determines the mapping rules based on the first message;

[0174] Step 504: The second terminal establishes a resource connection with the access network;

[0175] Typically, the second terminal needs to establish air interface resources corresponding to the access network with the assistance of the first terminal.

[0176] Step 505: After receiving the data packet, the second terminal performs NAT according to the mapping rules;

[0177] The second terminal transmits data through a PDU session, and the application server is unaware of the data sender and receiver.

[0178] It should be noted that in this case, there is no clear order between steps 503 and 504; the second terminal can execute either step first.

[0179] Specific Scenario 4: There is no direct communication between the first terminal and the second terminal. The first terminal initiates a data forwarding request to the SMF. After the SMF agrees, it sends a transfer acceptance message to the RAN, carrying the IP address and port number of the first terminal in the transfer acceptance message. The RAN sends a transfer instruction to the second terminal, carrying the IP address and port number of the first terminal in the transfer instruction message. After the first terminal determines the mapping rules, it sends them to the second terminal.

[0180] like Figure 6 As shown, the specific application process in this case mainly includes:

[0181] Step 600: The first terminal transmits data through a PDU session;

[0182] Step 601: The first terminal sends a forwarding request to the SMF;

[0183] Step 602: The SMF sends a forwarding and receiving message to the access network;

[0184] Step 603: The access network sends the first message to the second terminal;

[0185] It should be noted that the first message here refers to the forwarding instruction; the first message carries at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0186] Step 604: The second terminal sends a first receive message to the access network;

[0187] Step 605: The second terminal determines the mapping rules based on the first message;

[0188] Step 606: The second terminal establishes a resource connection with the access network;

[0189] Typically, the second terminal needs to establish air interface resources corresponding to the access network with the assistance of the first terminal.

[0190] Step 607: After receiving the data packet, the second terminal performs NAT according to the mapping rules;

[0191] The second terminal transmits data through a PDU session, and the application server is unaware of the data sender and receiver.

[0192] It should be noted that in this case, there is no clear order between steps 605 and 606; the second terminal can execute either step first.

[0193] It should be noted that by obtaining the mapping rules used by the second terminal to perform the data address translation process, and performing the data address translation process based on the mapping rules, the 5G network can be guaranteed to forward data, thus ensuring the reliability of communication.

[0194] It should be noted that the data processing method provided in this application embodiment can be executed by a data processing device, or by a control module within that data processing device for executing the data processing method. This application embodiment uses the execution of the data processing method by a data processing device as an example to illustrate the data processing device provided in this application embodiment.

[0195] like Figure 7 As shown, this application embodiment provides a data processing device 700, applied to a second terminal, including:

[0196] The first acquisition module 701 is used to acquire mapping rules, which are used to instruct the second terminal to perform a data address conversion process.

[0197] The conversion module 702 is used to perform a data address conversion process according to the mapping rules.

[0198] Optionally, the first acquisition module 701 includes:

[0199] The first receiving unit is used to receive the mapping rules sent by the first terminal.

[0200] Optionally, the mapping rules include:

[0201] The mapping relationship between the first information of the first terminal and the second information of the second terminal;

[0202] The first information includes at least one of the following: IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL);

[0203] The second information includes at least one of the following: IP address, port number, FQDN, and URL.

[0204] Optionally, the first acquisition module 701 includes:

[0205] The first acquisition module is used to acquire a first message, the first message being used to request the second terminal to perform a data address conversion process;

[0206] The second acquisition module is used to acquire mapping rules based on the first message.

[0207] Optionally, the first message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0208] Optionally, the first acquisition module is configured to implement one of the following:

[0209] The second terminal receives the first message sent by the first terminal via direct communication technology;

[0210] The second terminal receives the first message sent by the first terminal through the access network equipment;

[0211] The second terminal receives the first message sent by the core network equipment.

[0212] Optionally, after the first acquisition module acquires the first message, the following item is also included:

[0213] The first sending unit is used for the second terminal to send a first receiving message to the first terminal;

[0214] The second sending unit is used for the second terminal to send a first receiving message to the access network device;

[0215] The third sending unit is used for the second terminal to send the first receiving message to the core network equipment.

[0216] Optionally, the first acceptance message includes at least one of the following:

[0217] The IP address, port number, FQDN, and URL of the first terminal.

[0218] Optionally, before the first acquisition module 701 acquires the mapping rules, the method further includes:

[0219] The first sending module is used to send a second message, which requests the second terminal to perform a data address translation process.

[0220] Optionally, the second message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0221] Optionally, the first sending module is configured to implement one of the following:

[0222] The second message is sent to the first terminal using direct communication technology;

[0223] The second message is forwarded to the first terminal through the access network equipment;

[0224] Send a second message to the core network equipment.

[0225] Optionally, after the first sending module sends the second message, the following item is also included:

[0226] The first receiving module is configured to receive a second receiving message sent by the first terminal via direct communication technology;

[0227] The second receiving module is used to receive a second receiving message forwarded by the first terminal through the access network device;

[0228] The third receiving module is used to receive the second receiving message forwarded by the core network device through the access network device;

[0229] The first acquisition module 701 is used for:

[0230] Based on the second received message, obtain the mapping rules.

[0231] Optionally, the second acceptance message includes at least one of the following:

[0232] The IP address, port number, FQDN, and URL of the first terminal.

[0233] Optionally, the conversion module 702 is used for:

[0234] The data address translation process is performed using Network Address Translation (NAT).

[0235] 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.

[0236] The data processing 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.

[0237] The data processing 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.

[0238] This application embodiment also provides a terminal, which is a second terminal, including a processor and a communication interface. The processor is used to obtain mapping rules, and the mapping rules are used to instruct the second terminal to perform a data address conversion process; and to perform the data address conversion process according to the mapping rules.

[0239] This terminal embodiment corresponds to the method embodiment applied to the second 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 8 A schematic diagram of the hardware structure of a terminal to implement an embodiment of this application.

[0240] The terminal 800 is a second terminal, including but not limited to at least some of the following components: radio frequency unit 801, network module 802, audio output unit 803, input unit 804, sensor 805, display unit 806, user input unit 807, interface unit 808, memory 809, and processor 810.

[0241] Those skilled in the art will understand that the terminal 800 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 810 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 8 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.

[0242] It should be understood that, in this embodiment, the input unit 804 may include a graphics processing unit (GPU) 8041 and a microphone 8042. The GPU 8041 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 806 may include a display panel 8061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 807 includes a touch panel 8071 and other input devices 8072. The touch panel 8071 is also called a touch screen. The touch panel 8071 may include a touch detection device and a touch controller. Other input devices 8072 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.

[0243] In this embodiment, the radio frequency unit 801 receives downlink data from the network-side device and processes it for the processor 810; additionally, it sends uplink data to the network-side device. Typically, the radio frequency unit 801 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, etc.

[0244] The memory 809 can be used to store software programs or instructions and various data. The memory 809 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 809 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.

[0245] Processor 810 may include one or more processing units; optionally, processor 810 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 810.

[0246] The processor 810 is used to implement:

[0247] Obtain mapping rules, which are used to instruct the second terminal to perform a data address translation process;

[0248] According to the mapping rules, a data address translation process is performed.

[0249] The terminal in this application embodiment obtains the mapping rules for the second terminal to perform the data address translation process, and performs the data address translation process based on the mapping rules, thereby ensuring that the 5G network can forward data and guarantee the reliability of communication.

[0250] Optionally, the radio frequency unit 801 is used to implement:

[0251] Receive the mapping rules sent by the first terminal.

[0252] Optionally, the mapping rules include:

[0253] The mapping relationship between the first information of the first terminal and the second information of the second terminal;

[0254] The first information includes at least one of the following: IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL);

[0255] The second information includes at least one of the following: IP address, port number, FQDN, and URL.

[0256] Optionally, the processor 810 is used to implement:

[0257] Obtain a first message, which is used to request the second terminal to perform a data address translation process;

[0258] The second terminal obtains the mapping rules based on the first message.

[0259] Optionally, the first message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0260] Optionally, the radio frequency unit 801 is used to implement one of the following:

[0261] Receive the first message sent by the first terminal through direct communication technology;

[0262] The access network device receives the first message sent by the first terminal.

[0263] Receive the first message sent by the core network equipment.

[0264] Optionally, the radio frequency unit 801 is further configured to implement one of the following:

[0265] Send the first receive message to the first terminal;

[0266] Send the first accept message to the access network device;

[0267] Send the first accept message to the core network equipment.

[0268] Optionally, the first acceptance message includes at least one of the following:

[0269] The IP address, port number, FQDN, and URL of the first terminal.

[0270] Optionally, the radio frequency unit 801 is further configured to:

[0271] A second message is sent, which requests the second terminal to perform a data address translation process.

[0272] Optionally, the second message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0273] Optionally, the radio frequency unit 801 is further configured to implement one of the following:

[0274] The second message is sent to the first terminal using direct communication technology;

[0275] The second message is forwarded to the first terminal through the access network equipment;

[0276] Send a second message to the core network equipment.

[0277] Optionally, the radio frequency unit 801 is further configured to implement one of the following:

[0278] Receive the second acceptance message sent by the first terminal through direct communication technology;

[0279] Receive the second acceptance message forwarded by the first terminal through the access network device;

[0280] Receive the second accept message forwarded by the core network device through the access network device;

[0281] Furthermore, processor 810 is used to implement:

[0282] Based on the second received message, obtain the mapping rules.

[0283] Optionally, the second acceptance message includes at least one of the following:

[0284] The IP address, port number, FQDN, and URL of the first terminal.

[0285] Optionally, the data address translation process includes:

[0286] The data address translation process is performed using Network Address Translation (NAT).

[0287] 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 data processing method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0288] 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 data processing method embodiment applied to the 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.

[0289] like Figure 9 As shown in the embodiments of this application, a data processing method is also provided, including:

[0290] Step 901, the first terminal sends the mapping rule to the second terminal; or

[0291] The first terminal sends a first message to the second terminal or core network equipment; or

[0292] The first terminal receives the second message sent by the second terminal;

[0293] The mapping rule is used to instruct the second terminal to perform a data address translation process, the first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0294] Optionally, the mapping rules include:

[0295] The mapping relationship between the first information of the first terminal and the second information of the second terminal;

[0296] The first information includes at least one of the following: IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL);

[0297] The second information includes at least one of the following: IP address, port number, FQDN, and URL.

[0298] Optionally, the first message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0299] Optionally, the first terminal sends a first message to the second terminal, including one of the following:

[0300] The first terminal sends a first message to the second terminal using direct communication technology;

[0301] The first terminal sends the first message to the second terminal through the access network equipment.

[0302] Optionally, after the first terminal sends the first message to the second terminal, the method further includes:

[0303] The first terminal receives the first acceptance message sent by the second terminal through direct communication technology;

[0304] The first terminal receives the first accept message sent by the access network device.

[0305] Optionally, the first acceptance message includes at least one of the following:

[0306] The IP address, port number, FQDN, and URL of the first terminal.

[0307] Optionally, the second message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0308] Optionally, the first terminal receives a second message sent by the second terminal, including one of the following:

[0309] The first terminal receives the second message sent by the second terminal via direct communication technology;

[0310] The first terminal receives the second message forwarded by the second terminal through the access network equipment.

[0311] Optionally, after the first terminal receives the second message sent by the second terminal, the following is also included:

[0312] The first terminal sends a second receive message to the second terminal via direct communication technology;

[0313] The first terminal forwards the second received message to the second terminal through the access network equipment.

[0314] Optionally, the second acceptance message includes at least one of the following:

[0315] The IP address, port number, FQDN, and URL of the first terminal.

[0316] It should be noted that all descriptions of the first terminal in the above embodiments are applicable to the embodiments of the data processing method applied to the first terminal and can achieve the same technical effect, so they will not be repeated here.

[0317] like Figure 10 As shown, this application embodiment also provides a data processing device 1000, applied to a first terminal, including:

[0318] The first transceiver module 1001 is used to send mapping rules to the second terminal; or

[0319] Send the first message to the second terminal or core network equipment; or

[0320] Receive the second message sent by the second terminal;

[0321] The mapping rule is used to instruct the second terminal to perform a data address translation process, the first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0322] Optionally, the mapping rules include:

[0323] The mapping relationship between the first information of the first terminal and the second information of the second terminal;

[0324] The first information includes at least one of the following: IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL);

[0325] The second information includes at least one of the following: IP address, port number, FQDN, and URL.

[0326] Optionally, the first message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0327] Optionally, when the first transceiver module 1001 sends the first message to the second terminal, it is configured to implement one of the following:

[0328] The first message is sent to the second terminal using direct communication technology;

[0329] The first message is sent to the second terminal through the access network equipment.

[0330] Optionally, after the first transceiver module 1001 sends the first message to the second terminal, the following item is also included:

[0331] The second sending module is used to receive the first receiving message sent by the second terminal through direct communication technology;

[0332] The fourth receiving module is used to receive the first accept message sent by the access network device.

[0333] Optionally, the first acceptance message includes at least one of the following:

[0334] The IP address, port number, FQDN, and URL of the first terminal.

[0335] Optionally, the second message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0336] Optionally, when the first transceiver module 1001 receives the second message sent by the second terminal, it is configured to implement one of the following:

[0337] Receive the second message sent by the second terminal through direct communication technology;

[0338] The second message is received by the access network device and forwarded by the second terminal.

[0339] Optionally, after the first transceiver module 1001 receives the second message sent by the second terminal, the following item is also included:

[0340] The third sending module is used to send a second receiving message to the second terminal via direct communication technology;

[0341] The fourth sending module is used to forward the second received message to the second terminal through the access network equipment.

[0342] Optionally, the second acceptance message includes at least one of the following:

[0343] The IP address, port number, FQDN, and URL of the first terminal.

[0344] 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.

[0345] This application embodiment also provides a terminal, which is a first terminal, including a processor and a communication interface, the communication interface being used to send mapping rules to a second terminal; or

[0346] Send the first message to the second terminal or core network equipment; or

[0347] Receive the second message sent by the second terminal;

[0348] The mapping rule is used to instruct the second terminal to perform a data address translation process, the first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0349] 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.

[0350] This application embodiment also provides a terminal, which is a first terminal, and its hardware structure can be found in [reference]. Figure 8 As shown, it will not be elaborated further here.

[0351] The radio frequency unit is used to implement:

[0352] The first terminal sends the mapping rules to the second terminal; or

[0353] The first terminal sends a first message to the second terminal or core network equipment; or

[0354] The first terminal receives the second message sent by the second terminal;

[0355] The mapping rule is used to instruct the second terminal to perform a data address translation process, the first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0356] Optionally, the mapping rules include:

[0357] The mapping relationship between the first information of the first terminal and the second information of the second terminal;

[0358] The first information includes at least one of the following: IP address, port number, fully qualified domain name (FQDN), and Uniform Resource Locator (URL);

[0359] The second information includes at least one of the following: IP address, port number, FQDN, and URL.

[0360] Optionally, the first message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0361] Optionally, the radio frequency unit is also used to implement one of the following:

[0362] The first message is sent to the second terminal using direct communication technology;

[0363] The first message is sent to the second terminal through the access network equipment.

[0364] Optionally, the radio frequency unit is also used to implement one of the following:

[0365] Receive the first acceptance message sent by the second terminal through direct communication technology;

[0366] Receive the first accept message sent by the access network device.

[0367] Optionally, the first acceptance message includes at least one of the following:

[0368] The IP address, port number, FQDN, and URL of the first terminal.

[0369] Optionally, the second message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0370] Optionally, the radio frequency unit is also used to implement one of the following:

[0371] Receive the second message sent by the second terminal through direct communication technology;

[0372] The second message is received by the access network device and forwarded by the second terminal.

[0373] Optionally, the radio frequency unit is also used to implement one of the following:

[0374] A second receiving message is sent to a second terminal via direct communication technology;

[0375] The second received message is forwarded to the second terminal through the access network equipment.

[0376] Optionally, the second acceptance message includes at least one of the following:

[0377] The IP address, port number, FQDN, and URL of the first terminal.

[0378] 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 data processing method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0379] 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 data processing 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.

[0380] like Figure 11 As shown in the embodiments of this application, a data processing method is also provided, including:

[0381] Step 1101: The access network device sends a first message to the second terminal; or

[0382] The access network device receives the second message sent by the second terminal;

[0383] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0384] Optionally, the first message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0385] Optionally, the access network device sends a first message to the second terminal, including:

[0386] The access network device receives a first message sent by the first terminal or the core network device;

[0387] The access network device sends the first message to the second terminal.

[0388] Optionally, after the access network device sends the first message to the second terminal, the method further includes:

[0389] The access network device receives a first acceptance message sent by the second terminal.

[0390] Optionally, after the access network device receives the first acceptance message sent by the second terminal, it further includes:

[0391] The access network device sends the first receive message to the first terminal.

[0392] Optionally, the first acceptance message includes at least one of the following:

[0393] The IP address, port number, FQDN, and URL of the first terminal.

[0394] Optionally, the second message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0395] Optionally, after the access network device receives the second message sent by the second terminal, it includes:

[0396] The access network device sends a second message to the core network device or the first terminal;

[0397] The access network device receives a second acceptance message sent by the core network device or the first terminal;

[0398] The access network device forwards the second receive message to the second terminal.

[0399] Optionally, the second acceptance message includes at least one of the following:

[0400] The IP address, port number, FQDN, and URL of the first terminal.

[0401] It should be noted that all descriptions of access network devices in the above embodiments are applicable to the embodiments of the data processing method applied to access network devices and can achieve the same technical effect, so they will not be repeated here.

[0402] like Figure 12 As shown in the figure, this application embodiment also provides a data processing apparatus 1200, applied to an access network device, including:

[0403] The second transceiver module 1201 is used to send a first message to the second terminal; or

[0404] Receive the second message sent by the second terminal;

[0405] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0406] Optionally, the first message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0407] Optionally, when the second transceiver module 1201 executes the action of sending the first message to the second terminal, it includes:

[0408] The second receiving unit is used to receive the first message sent by the first terminal or core network equipment.

[0409] The fourth sending unit is used to send the first message to the second terminal.

[0410] Optionally, after the second transceiver module 1201 sends the first message to the second terminal, it further includes:

[0411] The fifth receiving module is used to receive the first receiving message sent by the second terminal.

[0412] Optionally, after the fifth receiving module receives the first acceptance message sent by the second terminal, it further includes:

[0413] The fifth sending module is used to send the first received message to the first terminal.

[0414] Optionally, the first acceptance message includes at least one of the following:

[0415] The IP address, port number, FQDN, and URL of the first terminal.

[0416] Optionally, the second message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0417] Optionally, after the second transceiver module 1201 receives the second message sent by the second terminal, it includes:

[0418] The sixth sending module is used to send a second message to the core network equipment or the first terminal;

[0419] The sixth receiving module is used to receive the second receiving message sent by the core network equipment or the first terminal;

[0420] The seventh sending module is used to forward the second received message to the second terminal.

[0421] Optionally, the second acceptance message includes at least one of the following:

[0422] The IP address, port number, FQDN, and URL of the first terminal.

[0423] Preferably, this application embodiment also provides an access network device, 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 data processing method embodiment applied to the access network device side and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0424] 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 data processing method embodiment applied to the access network device side and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0425] 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.

[0426] This application embodiment also provides an access network device, including a processor and a communication interface, wherein the communication interface is used to send a first message to a second terminal; or

[0427] Receive the second message sent by the second terminal;

[0428] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0429] This access network device embodiment corresponds to the method embodiment applied to the access network device side described above. All implementation processes and methods of the above method embodiments can be applied to this access network device embodiment and can achieve the same technical effect.

[0430] Specifically, embodiments of this application also provide an access network device. For example... Figure 13 As shown, the access network device 1300 includes: an antenna 1301, a radio frequency (RF) device 1302, and a baseband device 1303. The antenna 1301 is connected to the RF device 1302. In the uplink direction, the RF device 1302 receives information through the antenna 1301 and transmits the received information to the baseband device 1303 for processing. In the downlink direction, the baseband device 1303 processes the information to be transmitted and sends it to the RF device 1302. The RF device 1302 processes the received information and transmits it through the antenna 1301.

[0431] The aforementioned frequency band processing device can be located in the baseband device 1303. The method executed by the access network device in the above embodiments can be implemented in the baseband device 1303, which includes a processor 1304 and a memory 1305.

[0432] 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 is, for example, a processor 1304, which is connected to a memory 1305 to call the program in the memory 1305 and execute the access network device operation shown in the above method embodiment.

[0433] 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).

[0434] Specifically, the access network device of this embodiment further includes: instructions or programs stored in memory 1305 and executable on processor 1304, wherein processor 1304 calls the instructions or programs in 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.

[0435] like Figure 14 As shown in the embodiments of this application, a data processing method is also provided, including:

[0436] Step 1401: The core network device receives the first message sent by the first terminal and sends the first message to the access network node; or

[0437] The core network equipment receives the second message sent by the second terminal;

[0438] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0439] Optionally, the first message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0440] Optionally, the second message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0441] Optionally, after the core network device receives the second message sent by the second terminal, it further includes:

[0442] The core network device sends a second acceptance message to the access network device.

[0443] Optionally, the second acceptance message includes at least one of the following:

[0444] The IP address, port number, FQDN, and URL of the first terminal.

[0445] It should be noted that all descriptions of core network equipment in the above embodiments are applicable to the embodiments of the data processing method applied to core network equipment and can achieve the same technical effect, so they will not be repeated here.

[0446] like Figure 15As shown in the illustration, this application also provides a data processing apparatus 1500, applied to core network equipment, comprising:

[0447] The third transceiver module 1501 is used to receive the first message sent by the first terminal and send the first message to the access network node; or

[0448] Receive the second message sent by the second terminal;

[0449] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0450] The core network equipment receives the first message sent by the first terminal and sends the first message to the access network node; or

[0451] The core network equipment receives the second message sent by the second terminal;

[0452] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0453] Optionally, the first message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0454] Optionally, the second message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.

[0455] Optionally, after the third transceiver module 1501 receives the second message sent by the second terminal, it further includes:

[0456] The eighth sending module is used to send a second receiving message to the access network device.

[0457] Optionally, the second acceptance message includes at least one of the following:

[0458] The IP address, port number, FQDN, and URL of the first terminal.

[0459] Preferably, this application embodiment also provides a core network device, 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 data processing method embodiment applied to the core network device side 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 on which a program or instruction is stored. When the program or instruction is executed by a processor, it implements various processes of the data processing method embodiment applied to the core network equipment side and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0461] 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.

[0462] This application embodiment also provides a core network device, including a processor and a communication interface, wherein the communication interface is used to receive a first message sent by a first terminal and to send the first message to an access network node; or

[0463] Receive the second message sent by the second terminal;

[0464] The first message is used to request the second terminal to perform a data address translation process, and the second message is used to request the second terminal to perform a data address translation process.

[0465] This core network equipment embodiment corresponds to the method embodiment applied to the core network equipment side described above. All implementation processes and methods of the above method embodiment can be applied to this core network equipment embodiment and can achieve the same technical effect.

[0466] Specifically, this application also provides a core network device, the structure of which can be found in [reference needed]. Figure 13 As shown, it will not be elaborated further here.

[0467] Specifically, the core network device 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.

[0468] Optional, such as Figure 16As shown in the illustration, this application also provides a communication device 1600, including a processor 1601, a memory 1602, and a program or instructions stored in the memory 1602 and executable on the processor 1601. For example, when the communication device 1600 is a terminal, the program or instructions executed by the processor 1601 implement the various processes of the above-described data processing method embodiments applied to the terminal side, and achieve the same technical effect. When the communication device 1600 is an access network device, the program or instructions executed by the processor 1601 implement the various processes of the above-described data processing method embodiments applied to the access network device side, and achieve the same technical effect. When the communication device 1600 is a core network device, the program or instructions executed by the processor 1601 implement the various processes of the above-described data processing method embodiments applied to the core network device side, and achieve the same technical effect. To avoid repetition, further details are omitted here.

[0469] 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.

[0470] The access network 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.

[0471] Access network 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, precoding transmission, or beamforming transmission, etc.

[0472] 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 data processing method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0473] 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.

[0474] 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 above-described data processing method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0475] 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.

[0476] 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.

[0477] 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. A data processing method, characterized in that, include: The second terminal obtains the mapping rule, which is used to instruct the second terminal to perform a data address conversion process; The second terminal performs a data address translation process according to the mapping rules; The data address translation process includes: When the second terminal receives a data packet whose destination address is the IP address of the first terminal, the second terminal 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 second terminal obtains the mapping rules, including: The second terminal receives the mapping rules sent by the first terminal.

3. The method according to claim 2, characterized in that, The mapping rules include: The mapping relationship between the first information of the first terminal and the second information of the second terminal; The first piece of information includes: IP address; The second piece of information includes: IP address.

4. The method according to claim 1, characterized in that, The second terminal obtains the mapping rules, including: The second terminal receives a first message, which requests the second terminal to perform a data address translation process; The second terminal obtains the mapping rules based on the first message.

5. The method according to claim 4, characterized in that, The first message includes: the IP address of the first terminal.

6. The method according to claim 4, characterized in that, The second terminal receives the first message, which includes one of the following: The second terminal receives the first message sent by the first terminal via direct communication technology; The second terminal receives the first message sent by the first terminal through the access network equipment; The second terminal receives the first message sent by the core network equipment.

7. The method according to claim 4, characterized in that, After the step of the second terminal acquiring the first message, the following step is also included: The second terminal sends a first acceptance message to the first terminal; The second terminal sends a first acceptance message to the access network device; The second terminal sends the first accept message to the core network equipment.

8. The method according to claim 7, characterized in that, The first received message includes: The IP address of the first terminal.

9. The method according to claim 1, characterized in that, Before the second terminal obtains the mapping rules, the process also includes: The second terminal sends a second message, which requests the second terminal to perform a data address translation process.

10. The method according to claim 9, characterized in that, The second message includes: the IP address of the first terminal.

11. The method according to claim 9, characterized in that, The second message sent by the second terminal includes one of the following: The second terminal sends a second message to the first terminal via direct communication technology; The second terminal forwards the second message to the first terminal through the access network equipment; The second terminal sends a second message to the core network equipment.

12. The method according to claim 9, characterized in that, After the step of the second terminal sending the second message, the following item is also included: The second terminal receives the second acceptance message sent by the first terminal through direct communication technology; The second terminal receives the second acceptance message forwarded by the first terminal through the access network device; The second terminal receives the second receive message forwarded by the core network equipment through the access network equipment; The second terminal obtains the mapping rules, including: Based on the second received message, obtain the mapping rules.

13. The method according to claim 12, characterized in that, The second received message includes: The IP address of the first terminal.

14. A data processing method, characterized in that, include: The first terminal sends the mapping rules to the second terminal; The mapping rule is used to instruct the second terminal to perform a data address translation process; The data address translation process includes: When the second terminal receives a data packet whose destination address is the IP address of the first terminal, the second terminal replaces the destination address in the data packet with the IP address of the second terminal.

15. The method according to claim 14, characterized in that, The mapping rules include: The mapping relationship between the first information of the first terminal and the second information of the second terminal; The first piece of information includes: IP address; The second piece of information includes: IP address.

16. A data processing apparatus, applied to a second terminal, characterized in that, include: The first acquisition module is used to acquire mapping rules, which are used to instruct the second terminal to perform a data address conversion process. The conversion module is used to perform a data address conversion process according to the mapping rules; The data address translation process includes: When the second terminal receives a data packet whose destination address is the IP address of the first terminal, the second terminal replaces the destination address in the data packet with the IP address of the second terminal.

17. A data processing apparatus, applied to a first terminal, characterized in that, include: The first transceiver module is used to send mapping rules to the second terminal; The mapping rule is used to instruct the second terminal to perform a data address translation process; The data address translation process includes: When the second terminal receives a data packet whose destination address is the IP address of the first terminal, the second terminal replaces the destination address in the data packet with the IP address of the second terminal.

18. A terminal, said terminal being a first terminal or a second terminal, 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 data processing method as described in any one of claims 1 to 15.

19. 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 data processing method as described in any one of claims 1 to 15.

Citation Information

Patent Citations

  • Data Communication Method and Terminal

    US20170318622A1