WO2023020465A1 - Address conversion control method and apparatus, and terminal and network element - Google Patents

Address conversion control method and apparatus, and terminal and network element Download PDF

Info

Publication number
WO2023020465A1
WO2023020465A1 PCT/CN2022/112693 CN2022112693W WO2023020465A1 WO 2023020465 A1 WO2023020465 A1 WO 2023020465A1 CN 2022112693 W CN2022112693 W CN 2022112693W WO 2023020465 A1 WO2023020465 A1 WO 2023020465A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
network element
request message
address translation
rule
Prior art date
Application number
PCT/CN2022/112693
Other languages
French (fr)
Chinese (zh)
Inventor
张奕忠
柯小婉
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023020465A1 publication Critical patent/WO2023020465A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/2517Translation of Internet protocol [IP] addresses using port numbers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/256NAT traversal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Definitions

  • the present application belongs to the communication field, and in particular relates to an address translation control method, device, terminal and network element.
  • Smart home connects various devices in the home (such as audio and video equipment, lighting system, curtain control, air conditioning control, security system, etc.) Control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environmental monitoring, HVAC control and other functions and means.
  • various devices in the home such as audio and video equipment, lighting system, curtain control, air conditioning control, security system, etc.
  • Control lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environmental monitoring, HVAC control and other functions and means.
  • the embodiments of the present application provide an address translation control method, device, terminal, and network element, which can solve the problem that there is no 5G network data forwarding solution in the related art, resulting in incomplete communication process and unable to guarantee communication reliability.
  • an address translation control method including:
  • the first network element receives the first rule sent by the second network element, and the first rule is used by the first network element to perform a data address translation process;
  • a data address translation process is performed.
  • an address translation control device which is applied to a first network element, including:
  • the first receiving module is configured to receive the first rule sent by the second network element, and the first rule is used by the first network element to perform a data address translation process;
  • An execution module configured to execute a data address conversion process according to the first rule.
  • an address translation control method including:
  • the second network element receives the first policy information sent by the third network element
  • the second network element sends the first rule to the first network element according to the first policy information
  • the first rule is used for the first network element to perform a data address translation process.
  • an address translation control device is provided, which is applied to a second network element, including:
  • the second receiving module is configured to receive the first policy information sent by the third network element
  • a first sending module configured to send a first rule to a first network element according to the first policy information
  • the first rule is used for the first network element to perform a data address translation process.
  • an address translation control method including:
  • the third network element sends the first policy information to the second network element
  • the first policy information is used by the second network element to determine a first rule
  • the first rule is used by the first network element to perform a data address translation process.
  • an address translation control device is provided, which is applied to a third network element, including:
  • a second sending module configured to send the first policy information to the second network element
  • the first policy information is used by the second network element to determine a first rule
  • the first rule is used by the first network element to perform a data address translation process.
  • an address translation control method including:
  • the first terminal sends a second request message to the second network element, where the second request message is used to request the second network element to perform a data address translation process.
  • an address translation control device which is applied to a first terminal, including:
  • a third sending module configured to send a second request message to a second network element, where the second request message is used to request the second network element to perform a data address translation process.
  • an address translation control method including:
  • the second terminal receives the first transfer request message sent by the first terminal, and sends a first transfer request acceptance message to the first terminal;
  • the second terminal sends a second transfer request message to the first terminal, and receives the second transfer request acceptance message sent by the first terminal.
  • an address translation control device which is applied to a second terminal, including:
  • a first transceiver module configured to receive a first transfer request message sent by a first terminal, and send a first transfer request acceptance message to the first terminal;
  • the second transceiver module is configured to send a second transfer request message to the first terminal, and receive a second transfer request acceptance message sent by the first terminal.
  • an address translation control method including:
  • the application server sends a third request message to the third network element, where the third request message is used to request the third network element to update the first rule, and the first rule is used by the first network element to perform a data address translation process .
  • an address translation control device which is applied to an application server, including:
  • a fourth sending module configured to send a third request message to a third network element, where the third request message is used to request the third network element to update a first rule, and the first rule is used for the first network element Perform data address translation process.
  • a network element in a thirteenth aspect, includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction is processed by the processor.
  • a network element is provided, the network element is a first network element, and includes a processor and a communication interface, wherein the communication interface is used to receive a first rule sent by a second network element, and the The first rule is used for the first network element to perform the data address translation process, and the processor is configured to perform the data address translation process according to the first rule.
  • a network element is provided, the network element is a second network element, and includes a processor and a communication interface, wherein the communication interface is used to receive first policy information sent by a third network element; according to The first policy information, sending the first rule to the first network element;
  • the first rule is used for the first network element to perform a data address translation process.
  • a network element is provided, the network element is a third network element, and includes a processor and a communication interface, where the communication interface is used to send the first policy information to the second network element;
  • the first policy information is used by the second network element to determine a first rule
  • the first rule is used by the first network element to perform a data address translation process.
  • a terminal in a seventeenth aspect, includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor
  • the terminal includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor
  • a terminal is provided, the terminal is a first terminal, and includes a processor and a communication interface, wherein the communication interface is used to send a second request message to a second network element, and the second request The message is used to request the second network element to perform a data address translation process.
  • a terminal is provided, the terminal is a second terminal, and includes a processor and a communication interface, wherein the communication interface is used to receive a first transfer request message sent by the first terminal, and send a message to the first transfer request A terminal sends a first transfer request acceptance message; or
  • an application server includes a processor, a memory, and a program or instruction stored on the memory and operable on the processor, the program or instruction is processed by the The steps of the method described in the eleventh aspect are realized when the controller is executed.
  • an application server includes a processor and a communication interface, wherein the communication interface is used to send a third request message to a third network element, and the third request message uses In order to request the third network element to update the first rule, the first rule is used for the first network element to perform a data address translation process.
  • a readable storage medium where programs or instructions are stored on the readable storage medium, and when the programs or instructions are executed by a processor, the first aspect, the third aspect, and the fifth aspect are implemented , the steps of the method described in the seventh aspect, the ninth aspect or the eleventh aspect.
  • a chip in a twenty-third aspect, includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect and the first aspect The steps of the method described in the third aspect, the fifth aspect, the seventh aspect, the ninth aspect or the eleventh aspect.
  • a computer program/program product is provided, the computer program/program product is stored in a non-transitory storage medium, and the program/program product is executed by at least one processor to implement the The steps of the method described in the first aspect, the third aspect, the fifth aspect, the seventh aspect, the ninth aspect or the eleventh aspect.
  • a twenty-fifth aspect provides a communication device configured to execute the steps of the method described in the first aspect, the third aspect, the fifth aspect, the seventh aspect, the ninth aspect or the eleventh aspect.
  • the data address translation process is performed according to the received first rule for the first network element to perform the data address translation process, so as to ensure the data forwarding of the 5G network and the reliability of communication.
  • FIG. 1 is a block diagram of a wireless communication system to which an embodiment of the present application is applicable;
  • FIG. 2 is a schematic flowchart of an address translation control method applied to a first network element according to an embodiment of the present application
  • FIG. 3 is a schematic flowchart of an address translation control method applied to a second network element according to an embodiment of the present application
  • FIG. 4 is a schematic flowchart of an address translation control method applied to a third network element according to an embodiment of the present application
  • FIG. 5 is a schematic flowchart of an address translation control method applied to a first terminal according to an embodiment of the present application
  • FIG. 6 is a schematic flowchart of an address translation control method applied to a second terminal according to an embodiment of the present application
  • FIG. 7 is a schematic flowchart of an address translation control method applied to an application server according to an embodiment of the present application.
  • FIG. 8 is one of the specific application flow diagrams of the embodiment of the present application.
  • Fig. 9 is the second schematic diagram of the specific application process of the embodiment of the present application.
  • Fig. 10 is the third schematic diagram of the specific application process of the embodiment of the present application.
  • Fig. 11 is the fourth schematic diagram of the specific application process of the embodiment of the present application.
  • FIG. 12 is one of the module schematic diagrams of the address translation control device according to the embodiment of the present application.
  • FIG. 13 is a structural block diagram of a network element in an embodiment of the present application.
  • FIG. 14 is the second schematic diagram of the modules of the address translation control device according to the embodiment of the present application.
  • FIG. 15 is the third block diagram of the address translation control device according to the embodiment of the present application.
  • FIG. 16 is the fourth block diagram of the address translation control device according to the embodiment of the present application.
  • FIG. 17 is a structural block diagram of a terminal according to an embodiment of the present application.
  • FIG. 18 is the fifth schematic diagram of the modules of the address translation control device according to the embodiment of the present application.
  • FIG. 19 is the sixth block diagram of the address translation control device according to the embodiment of the present application.
  • Fig. 20 is a structural block diagram of a communication device according to an embodiment of the present application.
  • first, second and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein and that "first" and “second” distinguish objects. It is usually one category, and the number of objects is not limited. For example, there may be one or more first objects.
  • “and/or” in the description and claims means at least one of the connected objects, and the character “/” generally means that the related objects are an "or” relationship.
  • obtaining can be understood as obtaining from configuration, receiving, receiving after request, obtaining through self-learning, deriving and obtaining based on unreceived information, or obtaining after processing received information. It needs to be confirmed, which is not limited in the embodiment of the present application. For example, when a certain capability indication information sent by the device is not received, it may be deduced that the device does not support the capability.
  • LTE Long Term Evolution
  • LTE-Advanced LTE-Advanced
  • LTE-A Long Term Evolution-Advanced
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • OFDMA Orthogonal Frequency Division Multiple Access
  • SC-FDMA Single-carrier Frequency-Division Multiple Access
  • system and “network” in the embodiments of the present application are often used interchangeably, and the described technology can be used for the above-mentioned system and radio technology, and can also be used for other systems and radio technologies.
  • NR New Radio
  • the following description describes the New Radio (NR) system for illustrative purposes, and uses NR terminology in most of the following descriptions, but these techniques can also be applied to applications other than NR system applications, such as the 6th generation (6 th Generation, 6G) communication system.
  • 6G 6th Generation
  • Fig. 1 shows a block diagram of a wireless communication system to which the embodiment of the present application is applicable.
  • the wireless communication system includes a terminal 11 and a network side device 12 .
  • the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, a super mobile personal computer (Ultra-Mobile Personal Computer, UMPC), Mobile Internet Device (Mobile Internet Device, MID), Augmented Reality (Augmented Reality, AR)/Virtual Reality (Virtual Reality, VR) equipment, robot, wearable device (Wearable Device) , vehicle equipment (Vehicle User Equipment, VUE), pedestrian terminals (Pedestrian User Equipment, PUE), smart home (home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.) and other terminal-side equipment, wearable Devices include: smart watches, smart bracelets, smart
  • the network side device 12 may be a base station or a core network, where a base station may be called a node B, an evolved node B, an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service Basic Service Set (BSS), Extended Service Set (ESS), Node B, Evolved Node B (eNB), Home Node B, Home Evolved Node B, Wireless Local Area Network (WLAN) Area Network, WLAN) access point, wireless fidelity (Wireless Fidelity, WiFi) node, transmitting and receiving point (Transmitting Receiving Point, TRP) or some other suitable term in the field, as long as the same technical effect is achieved, all The above-mentioned base stations are not limited to specific technical terms. It should be noted that in the embodiment of the present application, only the base stations in the NR system are taken
  • this embodiment of the present application provides an address translation control method, including:
  • Step 201 the first network element receives the first rule sent by the second network element, and the first rule is used for the data address translation process of the first network element;
  • Step 202 execute a data address conversion process according to the first rule.
  • the first network element mentioned in the embodiment of the present application mainly realizes the user plane function (User Plane Function, UPF), and what the second network element mainly realizes is the session management function (Session Management Function, SMF) , the data address translation rules used by UPF are usually notified by SMF.
  • UPF User Plane Function
  • SMF Session Management Function
  • the first rule is directly used by the first network element to perform data address translation.
  • the first network element may directly use the first rule sent by the second network element, Execute the data address translation process;
  • the first rule is to assist the first network element in the data address translation process, that is, in this case, the first network element cannot directly use the
  • the first rule executes the data address translation process.
  • the implementation of step 202 is as follows:
  • an implementation manner for the first network element to execute the data address translation process is: the first network element executes the data address translation process by means of Network Address Translation (NAT).
  • NAT Network Address Translation
  • the first network element when the first network element receives a data packet from the network, the data packet is originally intended to be sent to the first terminal, so the destination address of the data packet is the first terminal, if the first network element does not perform NAT, then The data packet will still be sent to the first terminal, or even if the first network element can send the data packet to the second terminal in other ways, the first network element does not perform NAT, and the second terminal cannot receive the data packet.
  • Analysis after applying the embodiment of the present application, after the first network element receives the data packet of the network, first replace the target address in the data packet from the first terminal to the second terminal, and then the first network element can be based on the converted The destination address of the data packet is used to send the data packet to the second terminal.
  • the first network element executes the data address translation process according to the received first rule for the first network element to perform the data address translation process, so as to ensure the data forwarding of the 5G network and the reliability of communication.
  • an address translation control method including:
  • Step 301 the second network element receives the first policy information sent by the third network element
  • Step 303 the second network element sends the first rule to the first network element according to the first policy information
  • the first rule is used for the first network element to perform a data address translation process.
  • policy control function Policy Control Function, PCF
  • PCF Policy Control Function
  • the SMF needs to obtain the first rule (that is, the data forwarding rule) according to the first policy information, and then send the obtained first rule to the UPF.
  • the first rule that is, the data forwarding rule
  • the PCF usually sends the policy based on the request of the SMF, that is, before the step 301, it also includes:
  • the second network element sends a first request message to the third network element, where the first request message is used to request the first policy information.
  • the first request message includes at least one of the following: the first terminal's Internet Protocol (Internet Protocol, IP) address, port number, fully qualified domain name (Fully Qualified Domain Name, FQDN) and Uniform Resource Locator ( Uniform Resource Locator, URL).
  • Internet Protocol Internet Protocol
  • FQDN Fully Qualified Domain Name
  • Uniform Resource Locator Uniform Resource Locator
  • the first request message may be an Npcf_SMPolicyControl_Update request message.
  • the second terminal mentioned in this application refers to the terminal that receives the data that originally needs to be sent to the first terminal.
  • the second terminal is various devices in the Personal Internet of Things, such as TV, camera Smart home, wearable devices, etc.
  • a mobile phone wants to cast a video on a TV, but the application program (APP) where the video is located does not have the screen casting function. If the network is forwarded to the TV, the mobile phone corresponds to the first terminal mentioned in the embodiment of the present application, and the TV corresponds to the second terminal mentioned in the embodiment of the present application.
  • APP application program
  • 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.
  • the second network element requesting a policy is triggered based on a terminal request, that is, before the second network element receives the first policy information sent by the third network element, it further includes:
  • the second network element receives the second request message sent by the first terminal, where the second request message is used to request the second network element to perform a data address translation process.
  • the second request message includes at least one of the following:
  • IP address, port number, FQDN and URL of the second terminal IP address, port number, FQDN and URL of the second terminal.
  • the second request message carries the address information of the terminal receiving the forwarded data.
  • the address information includes but is not limited to IP address, port number At least one of , FQDN and URL.
  • the second request message is a protocol data unit (Protocol Data Unit, PDU) session modification request (session modification request) message.
  • PDU Protocol Data Unit
  • session modification request session modification request
  • the first terminal sends a second request message to the second network element, the second network element sends a first request message to the third network element, the third network element feeds back the first policy information based on the first request message, and the second network element Generate the first rule according to the first policy information, and send the first rule to the first network element; At least one of the IP address, port number, FQDN and URL and the first policy information establish an association between the first terminal and the second terminal.
  • the second network element receives the first policy information sent by the third network element, it further includes:
  • the second network element sends a first indication message to the first terminal, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established.
  • the first terminal actively releases the connection with the network according to the network instruction.
  • the network may also actively release the connection with the first terminal.
  • the specific implementation method is as follows: After the second network element receives the first policy information sent by the third network element, the method further includes:
  • the second network element releases the communication resource established with the first terminal.
  • the embodiment of the present application provides an address translation control method, including:
  • Step 401 the third network element sends the first policy information to the second network element
  • the first policy information is used by the second network element to determine a first rule
  • the first rule is used by the first network element to perform a data address translation process.
  • the method before the step of sending the first policy information to the second network element by the third network element, the method further includes:
  • the third network element sends the first policy information to the second network element, including:
  • the third network element sends the first policy information to the first network element according to the first request message.
  • the mode of the third network element feeding back the policy according to the request of the second network element is to send the policy triggered based on the terminal request.
  • it can also be triggered by the application server (AF)
  • the update of the forwarding rule specifically, in this case, before the step of the third network element sending the first policy information to the second network element, further includes:
  • the third network element receives a third request message sent by the application server, where the third request message is used to request the third network element to update the first rule;
  • the third network element determines the first policy information according to the third request message.
  • the third request message may be an Npcf_PolicyAuthorization_Update Request message.
  • the third network element may actively send the first policy information to the second network element.
  • the third request message includes at least one of the following:
  • first network element, the second network element, and the third network element mentioned in the above embodiments may be network elements located in different core network devices.
  • the first network element, the second network element, and the third network element mentioned in the above embodiment may also be network elements located in the same core network device.
  • the present application Another embodiment of the present invention also provides an address translation control method applied to core network equipment, including:
  • the first network element executes a data address translation process according to the first rule.
  • the method before the first network element executes the data address translation process according to the first rule, the method further includes:
  • the third network element sends first policy information to the second network element, the first policy information is used by the second network element to determine a first rule, and the first rule is used by the first network element to perform a data address translation process ;
  • the second network element receives the first policy information sent by the third network element
  • the second network element sends the first rule to the first network element according to the first policy information
  • the first network element receives the first rule sent by the second network element.
  • the first network element performs a data address translation process according to the first rule, including:
  • the first network element updates the second rule according to the first rule
  • the first network element executes the data address translation process according to the second rule, and the second rule is used for the first network element to perform the data address translation process.
  • the first network element performs a data address translation process according to the first rule, including:
  • the first network element executes a data address translation process through a network address translation (NAT) manner.
  • NAT network address translation
  • the step of the third network element sending the first policy information to the second network element includes:
  • the second network element sends a first request message to a third network element, where the first request message is used to request the first policy information;
  • the third network element receives the first request message sent by the second network element
  • the third network element sends the first policy information to the first network element according to the first request message.
  • the first request message includes at least one of the following: an IP address, a port number, a fully qualified domain name (FQDN), and a uniform resource locator (URL) of the first terminal.
  • IP address an IP address
  • port number an IP address
  • FQDN fully qualified domain name
  • URL uniform resource locator
  • the method before the step of the second network element receiving the first policy information sent by the third network element, the method further includes:
  • the second network element receives the second request message sent by the first terminal, where the second request message is used to request the second network element to perform a data address translation process.
  • the second request message includes at least one of the following:
  • IP address, port number, FQDN and URL of the second terminal IP address, port number, FQDN and URL of the second terminal.
  • the method further includes:
  • the second network element sends a first indication message to the first terminal, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established.
  • the method further includes:
  • the second network element releases the communication resource established with the first terminal.
  • the method before the step of sending the first policy information to the second network element by the third network element, the method further includes:
  • the third network element receives a third request message sent by the application server, where the third request message is used to request the third network element to update the first rule;
  • the third network element determines the first policy information according to the third request message.
  • the third request message includes at least one of the following:
  • data forwarding can be realized finally through the interaction between various network elements in the core network equipment, ensuring that the data can be sent to a correct destination address.
  • the embodiment of the present application provides an address translation control method, including:
  • Step 501 the first terminal sends a second request message to a second network element, where the second request message is used to request the second network element to perform a data address translation process.
  • the second request message includes at least one of the following:
  • IP address, port number, FQDN and URL of the second terminal IP address, port number, FQDN and URL of the second terminal.
  • the first terminal and the second terminal need to agree on data forwarding.
  • the first terminal needs to send a request to the second terminal. If the second terminal agrees , the transfer of data can be performed.
  • the method further includes:
  • the first terminal sends a first transfer request message to the second terminal
  • the first terminal receives the first transfer request acceptance message sent by the second terminal.
  • the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the first transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the implementation of the first terminal sending the first transfer request message to the second terminal includes the following item:
  • the first terminal sends a first transfer request message to the second terminal through a direct communication technology
  • the first terminal can directly communicate with the second terminal;
  • the direct communication technology mentioned in the embodiment of this application includes but is not limited to WLAN direct connection communication, Bluetooth connection communication, PC5 sidelink communication and other technologies.
  • the first terminal sends a first transfer request message to the second terminal through an access network device
  • the second terminal cannot directly communicate with the first terminal, but an interaction message between the two is forwarded through the access network device.
  • the first transfer request message may further include at least one of the following items:
  • the terminal identification of the second terminal (for example, the equipment identification code of the terminal, optionally, the equipment identification code can be a permanent equipment identifier (Permanent Equipment Identifier, PEI), an international mobile equipment identification code (International Mobile Equipment Identity, IMEI) , International Mobile Station Equipment Identity and Software Version number (International Mobile station Equipment Identity and Software Version number, IMEISV), etc.), the user identity of the second terminal (for example, the user identity can be a globally unique temporary UE identity (Globally Unique Temporary UE Identity, GUTI), User Concealed Identifier (Subscription Concealed Identifier, SUCI), 5G S-Temporary Mobile Subscription Identifier (5G S-Temporary Mobile Subscription Identifier, 5G-S-TMSI)) and the mobile user ID of the second terminal device Integrated Services Digital Network/Public Switched Telephone Network Number (Mobile Station international ISDN number, MSISDN).
  • PEI Permanent Equipment Identifier
  • IMEI International Mobile Equipment Identity
  • IMEISV International Mobile Station
  • the second terminal needs to send a request to the first terminal, and the data can only be transferred if the first terminal agrees.
  • the method further includes:
  • the first terminal receives the second transfer request message sent by the second terminal;
  • the first terminal sends a second transfer request acceptance message to the second terminal.
  • the second transfer request message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
  • the second transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
  • the implementation manner in which the first terminal receives the second transfer request message sent by the second terminal includes the following item:
  • the first terminal receives the second transfer request message sent by the second terminal through a direct communication technology
  • the first terminal can directly communicate with the second terminal;
  • the direct communication technology mentioned in the embodiment of this application includes but is not limited to WLAN direct communication, Bluetooth connection communication, PC5 Link (sidelink) communication and other technologies.
  • the first terminal receives the second transfer request message sent by the second terminal through the access network device;
  • the second terminal cannot directly communicate with the first terminal, but an interaction message between the two is forwarded through the access network device.
  • the method further includes:
  • the first terminal receives a first indication message sent by the second network element, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established;
  • the first terminal releases the communication resources established with the access network device and the second network element according to the first indication message.
  • this embodiment of the present application also provides an address translation control method, including:
  • Step 601 the second terminal receives a first transfer request message sent by the first terminal, and sends a first transfer request acceptance message to the first terminal;
  • the second terminal sends a second transfer request message to the first terminal, and receives the second transfer request acceptance message sent by the first terminal.
  • the first transfer request acceptance message includes at least one of the following: the second terminal's IP address, port number, fully qualified domain name (FQDN), and uniform resource locator (URL).
  • the second terminal's IP address includes at least one of the following: the second terminal's IP address, port number, fully qualified domain name (FQDN), and uniform resource locator (URL).
  • FQDN fully qualified domain name
  • URL uniform resource locator
  • the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the second terminal receives the first transfer request message sent by the first terminal, including the following item:
  • the second terminal receives the first transfer request message sent by the first terminal through a direct communication technology
  • the second terminal receives the first transfer request message sent by the first terminal through the access network device.
  • the first transfer request message further includes at least one of the following:
  • the terminal identifier of the second terminal the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
  • the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
  • the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
  • the receiving the second transfer request acceptance message sent by the first terminal includes the following item:
  • the second terminal receives the second transfer request acceptance message sent by the first terminal through a direct communication technology
  • the second terminal receives the second transfer request acceptance message sent by the first terminal through the access network device.
  • the embodiment of the present application provides an address translation control method, including:
  • Step 701 the application server sends a third request message to the third network element, the third request message is used to request the third network element to update the first rule, and the first rule is used for the first network element to execute data address translation process.
  • the third request message includes at least one of the following:
  • IP address mentioned in this application includes but is not limited to at least one of an IPv4 address and an IPv6 address.
  • Example 1 There is direct communication between the first terminal and the second terminal.
  • the first terminal initiates a data transfer request, and the second terminal sends the IP address and port number to the first terminal.
  • the first terminal modifies the PDU session. Establish forwarding rules at the core network to realize data forwarding
  • the specific application process in this case mainly includes:
  • Step 801 the second terminal and the first terminal select the same SMF and UPF.
  • Step 802 the second terminal has its own PDU session, and is exchanging data with the network for service #1;
  • step 802 is an optional step, and the second terminal may not have its own PDU session.
  • Step 803 the first terminal and the network are exchanging data of service #2 through the PDU session.
  • Step 804 performing a direct communication establishment process between the second terminal and the first terminal
  • step 804 is an optional step, and if the two have established direct communication, step 804 does not need to be performed.
  • wireless direct communication such as Bluetooth, PC5, Wifi, etc.
  • Step 805 the first terminal sends a first transfer request message to the second terminal through the direct communication technology
  • the first transfer request message includes the IP address, port number, FQDN and URL of the second terminal.
  • Step 806 the second terminal sends a first transfer request acceptance message to the first terminal through the direct communication technology.
  • the first transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the second terminal.
  • Step 807 the first terminal sends a second request message
  • the second request message is used to perform a data address translation process to a core network element, and the second request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the second request message is a PDU session modification request message.
  • Step 808 the SMF sends a first request message to the PCF
  • the first request message is used to request the PCF to modify the core network data sending/caching/discarding policy (that is, the first request message is used to request the first policy information).
  • the first request message includes at least one of the following: IP address, port number, fully qualified domain name (FQDN) and uniform resource locator (URL) of the second terminal.
  • the first request message is an Npcf_SMPolicyControl_Update request message.
  • Step 809 the PCF sends the first policy information
  • the first policy information is included in the Npcf_SMPolicyControl_Update response message.
  • Step 810 the SMF sends the first rule to the UPF
  • the first rule is determined according to the first policy information.
  • the first rule is included in the N4 session modification request message.
  • the first rule is included in forwarding action rules (Forwarding Action Rules).
  • the first rule is included in Forwarding Action Rules.
  • a forwarding policy (Forwarding policy) related to data forwarding is added, or a data forwarding related policy is added. The operation (Action).
  • Step 811 the UPF sends a first rule response message to the SMF
  • the first rule response message is an N4 session modification response message.
  • Step 812 the second terminal resource establishment process
  • the second terminal does not have network resources (such as PDU sessions) or air interface resources (radio resource control (Radio Resource Control, RRC) resources), it is initiated by the second terminal, or initiated by the network, for the second terminal to establish corresponding resources.
  • the second terminal is in the 5GMM-IDLE state, and the network side device or radio access network (Radio Access Network, RAN) paging the second terminal to establish corresponding resources.
  • Radio Access Network Radio Access Network
  • Step 813 UPF performs NAT according to the first rule
  • the UPF when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
  • step 814 the second terminal and the network perform service #2 data exchange through the PDU session.
  • Example 2 There is direct communication between the first terminal and the second terminal.
  • the first terminal initiates a data transfer request, and the second terminal sends the IP address and port number to the first terminal.
  • the first terminal modifies the PDU session. Establish forwarding rules at the core network to realize data forwarding
  • the specific application process in this case mainly includes:
  • Step 901 the second terminal and the first terminal select the same SMF and UPF.
  • Step 902 the second terminal has its own PDU session, and is exchanging data with the network for service #1;
  • step 902 is an optional step, and the second terminal may not have its own PDU session.
  • Step 903 the first terminal and the network are exchanging data of service #2 through the PDU session.
  • Step 904 performing a direct communication establishment process between the second terminal and the first terminal
  • step 904 is an optional step, and if the two have established direct communication, step 904 does not need to be performed.
  • wireless direct communication such as Bluetooth, PC5, Wifi, etc.
  • Step 905 the first terminal sends a first transfer request message to the second terminal through the direct connection communication technology
  • the first transfer request message includes the IP address, port number, FQDN and URL of the second terminal.
  • Step 906 the second terminal sends a first transfer request acceptance message to the first terminal through the direct communication technology.
  • the first transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the second terminal.
  • Step 907 the first terminal sends a second request message
  • the second request message is used to perform a data address translation process to a core network element, and the second request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the second request message is a PDU session modification request message.
  • Step 908 the SMF sends a first request message to the PCF
  • the first request message is used to request the PCF to modify the core network data sending/caching/discarding policy (that is, the first request message is used to request the first policy information).
  • the first request message includes at least one of the following: IP address, port number, fully qualified domain name (FQDN) and uniform resource locator (URL) of the second terminal.
  • the first request message is an Npcf_SMPolicyControl_Update request message.
  • Step 909 the PCF sends the first policy information
  • the first policy information is included in the Npcf_SMPolicyControl_Update response message.
  • Step 910 the SMF sends the first rule to the UPF
  • the first rule is determined according to the first policy information.
  • the first rule is included in the N4 session modification request message.
  • the first rule is contained in Forwarding Action Rules.
  • the first rule is included in Forwarding Action Rules.
  • a Forwarding policy related to data forwarding is added, or an Action related to data forwarding is added.
  • Step 911 the UPF sends a first rule response message to the SMF
  • the first rule response message is an N4 session modification response message.
  • Step 912 the second terminal resource establishment process
  • the second terminal if the second terminal does not have network resources (such as PDU sessions) or air interface resources (RRC resources), the second terminal initiates, or the network initiates, to establish corresponding resources for the second terminal.
  • the second terminal is in the 5GMM-IDLE state, and the network side device or the RAN paging the second terminal to establish corresponding resources.
  • Step 913 the SMF sends a first indication message to the first terminal
  • the first indication message indicates that the resources in step 912 have been established.
  • Step 914 the first terminal releases the resources established at the air interface and the core network.
  • the first terminal initiates the release of the N1 NAS signaling connection (signalling connection) process, or initiates a radio resource control release (RRCRelease) message, or locally releases (locally release) radio resource control (Radio Resource Control, RRC) resources.
  • RRCRelease radio resource control release
  • RRC Radio Resource Control
  • Step 915 UPF performs NAT according to the first rule
  • the UPF when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
  • the UPF needs to update an existing rule.
  • Step 916 the second terminal and the network perform service #2 data exchange through the PDU session.
  • Example 3 There is no direct communication between the first terminal and the second terminal.
  • the first terminal initiates a data transfer request through the RAN, the second terminal sends the IP address and port number to the first terminal through the RAN, and the first terminal transmits the data transfer request through the PDU.
  • forwarding rules are established at the core network to realize data forwarding
  • the specific application process in this case mainly includes:
  • Step 1001 the second terminal establishes a connection with the first terminal
  • the first terminal obtains at least one of the IP address, port number, URL and FQDN of the second terminal.
  • Step 1002 the first terminal performs data transmission through the PDU session
  • Step 1003 the first terminal sends a first transfer request message to the second terminal through the access network
  • the first transfer request message includes the IP address, port number, FQDN and URL of the second terminal.
  • Step 1004 the second terminal sends a first transfer request acceptance message to the first terminal through the access network.
  • the first transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the second terminal.
  • Step 1005 the first terminal sends a second request message
  • the second request message is used to perform a data address translation process to a core network element, and the second request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the second request message is a PDU session modification request message.
  • Step 1006 the SMF sends a first request message to the PCF
  • the first request message is used to request the PCF to modify the core network data sending/caching/discarding policy (that is, the first request message is used to request the first policy information).
  • the first request message includes at least one of the following: IP address, port number, fully qualified domain name (FQDN) and uniform resource locator (URL) of the second terminal.
  • the first request message is an Npcf_SMPolicyControl_Update request message.
  • Step 1007 PCF sends first policy information
  • the first policy information is included in the Npcf_SMPolicyControl_Update response message.
  • Step 1008 the SMF sends the first rule to the UPF
  • the first rule is determined according to the first policy information.
  • the first rule is included in the N4 session modification request message.
  • the first rule is included in Forwarding Action Rules.
  • the first rule is included in Forwarding Action Rules.
  • a Forwarding policy related to data forwarding is added, or an Action related to data forwarding is added.
  • Step 1009 the UPF sends a first rule response message to the SMF
  • the first rule response message is an N4 session modification response message.
  • Step 1010 the second terminal resource establishment process
  • the second terminal if the second terminal does not have network resources (such as PDU sessions) or air interface resources (RRC resources), the second terminal initiates, or the network initiates, to establish corresponding resources for the second terminal.
  • the second terminal is in the 5GMM-IDLE state, and the network side device or the RAN paging the second terminal to establish corresponding resources.
  • Step 1011 UPF performs NAT according to the first rule
  • the UPF when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
  • Step 1012 the second terminal and the network perform service #2 data exchange through the PDU session.
  • Example 4 AF triggers the core network to modify forwarding rules to realize data forwarding
  • the specific application process in this case mainly includes:
  • Step 1101 the second terminal and the first terminal select the same SMF and UPF.
  • Step 1102 the second terminal has its own PDU session, and is exchanging data of service #1 with the network;
  • step 1102 is an optional step, and the second terminal may not have its own PDU session.
  • Step 1103 the first terminal and the network are exchanging data of service #2 through the PDU session.
  • Step 1104 AF sends a first request message
  • the first request message is used to request the core network side device to establish or modify the data forwarding rule.
  • the first request message includes at least one of the following: the IPv4 address of the second terminal; the IPv6 address of the second terminal; the port number of the second terminal; the IPv4 address of the first terminal; port number.
  • the first request message is an Npcf_PolicyAuthorization_Update Request message.
  • Step 1105 the PCF determines the first policy information according to the first request message
  • Step 1106 the SMF sends a first request message to the PCF
  • the first request message is used to request the PCF to modify the core network data sending/caching/discarding policy (that is, the first request message is used to request the first policy information).
  • the first request message includes at least one of the following: the IP address, port number, fully qualified domain name FQDN, and uniform resource locator URL of the second terminal.
  • the first request message is an Npcf_SMPolicyControl_Update request message.
  • Step 1107 PCF sends first policy information
  • the first policy information is included in the Npcf_SMPolicyControl_Update response message.
  • Step 1108 the SMF sends the first rule to the UPF
  • the first rule is determined according to the first policy information.
  • the first rule is included in the N4 session modification request message.
  • the first rule is included in Forwarding Action Rules.
  • the first rule is included in Forwarding Action Rules.
  • a Forwarding policy related to data forwarding is added, or an Action related to data forwarding is added.
  • Step 1109 the UPF sends a first rule response message to the SMF
  • the first rule response message is an N4 session modification response message.
  • Step 1110 the second terminal resource establishment process
  • the second terminal if the second terminal does not have network resources (such as PDU sessions) or air interface resources (RRC resources), the second terminal initiates, or the network initiates, to establish corresponding resources for the second terminal.
  • the second terminal is in the 5GMM-IDLE state, and the network side device or the RAN paging the second terminal to establish corresponding resources.
  • Step 1111 the SMF sends a first indication message to the first terminal
  • the first indication message indicates that the resources in step 1110 have been established.
  • Step 1112 the first terminal releases the resources established at the air interface and the core network.
  • the first terminal initiates the process of releasing the N1 NAS signaling connection, or initiates an RRCRelease message, or locally releases (locally release) RRC resources
  • Step 1113 UPF performs NAT according to the first rule
  • the UPF when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
  • Step 1114 the second terminal and the network perform service #2 data exchange through the PDU session.
  • the address translation control method provided in the embodiment of the present application may be executed by an address translation control device, or a control module in the address translation control device for executing the address translation control method.
  • the address translation control device provided in the embodiment of the present application is described by taking the address translation control device executing the address translation control method as an example.
  • this embodiment of the present application provides an address translation control device 1200, which is applied to a first network element and includes:
  • the first receiving module 1201 is configured to receive the first rule sent by the second network element, and the first rule is used for the data address translation process performed by the first network element;
  • the executing module 1202 is configured to execute a data address conversion process according to the first rule.
  • the execution module 1202 is configured to:
  • a data address translation process is performed according to the second rule, and the second rule is used for the first network element to perform the data address translation process.
  • the implementation of the process of performing data address translation is:
  • the address conversion control device provided in the embodiment of the present application can realize each process realized by the method embodiment in FIG. 2 and achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides a network element, the network element is a first network element, and includes a processor and a communication interface, and the communication interface is used to: receive the first rule sent by the second network element, and the first rule uses The data address translation process is performed on the first network element; the processor is used to execute the data address translation process according to the first rule.
  • the network element 1300 is a first network element, and includes: an antenna 1301 , a radio frequency device 1302 , and a baseband device 1303 .
  • the antenna 1301 is connected to the radio frequency device 1302 .
  • the radio frequency device 1302 receives information through the antenna 1301, and sends the received information to the baseband device 1303 for processing.
  • the baseband device 1303 processes the information to be sent and sends it to the radio frequency device 1302
  • the radio frequency device 1302 processes the received information and sends it out through the antenna 1301 .
  • the foregoing frequency band processing device may be located in the baseband device 1303 , and the method performed by the network side device in the above embodiments may be implemented in the baseband device 1303 , and the baseband device 1303 includes a processor 1304 and a memory 1305 .
  • the baseband device 1303 may include at least one baseband board, for example, a plurality of chips are arranged on the baseband board, as shown in FIG. The operation of the network side device shown in the above method embodiments.
  • 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 (common public radio interface, CPRI for short).
  • a network interface 1306 for exchanging information with the radio frequency device 1302, such as a common public radio interface (common public radio interface, CPRI for short).
  • the first network element in this embodiment of the present application further includes: instructions or programs stored in the memory 1305 and executable on the processor 1304, and the processor 1304 calls the instructions or programs in the memory 1305 to execute the The method of module execution achieves the same technical effect, so in order to avoid repetition, it is not repeated here.
  • the embodiment of the present application further provides a network element, the network element is a first network element, including a processor, a memory, a program or an instruction stored in the memory and operable on the processor, the program Or, when the instruction is executed by the processor, each process of the embodiment of the address translation control method applied to the first network element side can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides a readable storage medium.
  • the readable storage medium may be non-volatile or volatile.
  • Programs or instructions are stored on the computer-readable storage medium, and the programs or instructions are processed Each process of the embodiment of the address translation control method applied to the first network element side is implemented when the device is executed, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • the embodiment of the present application provides an address translation control device 1400, which is applied to the second network element, including:
  • the second receiving module 1401 is configured to receive the first policy information sent by the third network element
  • a first sending module 1402 configured to send a first rule to a first network element according to the first policy information
  • the first rule is used for the first network element to perform a data address translation process.
  • the step of the second receiving module 1401 receiving the first policy information sent by the third network element it may further include:
  • a fifth sending module configured to send a first request message to a third network element, where the first request message is used to request the first policy information.
  • the first request message includes at least one of the following: an IP address, a port number, a fully qualified domain name (FQDN), and a uniform resource locator (URL) of the first terminal.
  • IP address an IP address
  • port number an IP address
  • FQDN fully qualified domain name
  • URL uniform resource locator
  • the step of the second receiving module 1401 receiving the first policy information sent by the third network element it may further include:
  • the third receiving module is configured to receive a second request message sent by the first terminal, where the second request message is used to request the second network element to perform a data address translation process.
  • the second request message includes at least one of the following:
  • IP address, port number, FQDN and URL of the second terminal IP address, port number, FQDN and URL of the second terminal.
  • the second receiving module 1401 after the second receiving module 1401 receives the first policy information sent by the third network element, it further includes:
  • a sixth sending module configured to send a first indication message to the first terminal, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established.
  • the second receiving module 1401 after the second receiving module 1401 receives the first policy information sent by the third network element, it further includes:
  • the first release module is used for the second network element to release the communication resources established with the first terminal.
  • the address translation control device provided in the embodiment of the present application can realize each process realized by the method embodiment in FIG. 3 and achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides a network element, the network element is a second network element, and includes a processor and a communication interface, and the communication interface is used to: receive the first policy information sent by the third network element; Policy information, sending the first rule to the first network element;
  • the first rule is used for the first network element to perform a data address translation process.
  • This network element embodiment corresponds to the above-mentioned method embodiment applied to the second network element side, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this network element embodiment, and can achieve the same technology Effect.
  • the embodiment of the present application further provides a network element, the network element is a second network element, and the structure of the second network element may refer to the network element structure in FIG. 13 , which will not be repeated here.
  • the second network element in the embodiment of the present application also includes: instructions or programs stored in the memory and operable on the processor, and the processor calls the instructions or programs in the memory to execute the method performed by each module shown in Figure 14 , and achieve the same technical effect, in order to avoid repetition, it is not repeated here.
  • the embodiment of the present application further provides a network element, the network element is a second network element, including a processor, a memory, a program or an instruction stored in the memory and operable on the processor, the program Or, when the instruction is executed by the processor, each process of the embodiment of the address translation control method applied to the second network element side can be implemented, and the same technical effect can be achieved, so to avoid repetition, details are not repeated here.
  • the network element is a second network element, including a processor, a memory, a program or an instruction stored in the memory and operable on the processor, the program
  • each process of the embodiment of the address translation control method applied to the second network element side can be implemented, and the same technical effect can be achieved, so to avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides a readable storage medium.
  • the readable storage medium may be non-volatile or volatile.
  • Programs or instructions are stored on the computer-readable storage medium, and the programs or instructions are processed When executed by the controller, each process of the embodiment of the address translation control method applied to the second network element side can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • this embodiment of the present application provides an address translation control device 1500, which is applied to a third network element, including:
  • the second sending module 1501 is configured to send the first policy information to the second network element
  • the first policy information is used by the second network element to determine a first rule
  • the first rule is used by the first network element to perform a data address translation process.
  • the second sending module 1501 before the step of sending the first policy information to the second network element, the second sending module 1501 further includes:
  • a fourth receiving module configured to receive a first request message sent by the second network element, where the first request message is used to request first policy information
  • the second sending module 1501 is configured to:
  • the step of the second sending module 1501 sending the first policy information to the second network element it may further include:
  • a fifth receiving module configured to receive a third request message sent by an application server, where the third request message is used to request a third network element to update the first rule
  • a determining module configured to determine the first policy information according to the third request message.
  • the third request message includes at least one of the following:
  • the address conversion control device provided in the embodiment of the present application can realize each process realized by the method embodiment in FIG. 4 and achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides a network element, the network element is a third network element, and includes a processor and a communication interface, and the communication interface is used to: send the first policy information to the second network element;
  • the first policy information is used by the second network element to determine a first rule
  • the first rule is used by the first network element to perform a data address translation process.
  • This network element embodiment corresponds to the above-mentioned method embodiment applied to the third network element side, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this network element embodiment, and can achieve the same technology Effect.
  • the embodiment of the present application further provides a network element, the network element is a third network element, and the structure of the second network element may refer to the network element structure in FIG. 13 , which will not be repeated here.
  • the third network element in the embodiment of the present application also includes: instructions or programs stored in the memory and operable on the processor, and the processor calls the instructions or programs in the memory to execute the method performed by each module shown in Figure 15 , and achieve the same technical effect, in order to avoid repetition, it is not repeated here.
  • the embodiment of the present application further provides a network element, the network element is a third network element, including a processor, a memory, a program or an instruction stored in the memory and operable on the processor, the program Or, when the instruction is executed by the processor, each process of the embodiment of the address translation control method applied to the third network element side can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides a readable storage medium.
  • the readable storage medium may be non-volatile or volatile.
  • Programs or instructions are stored on the computer-readable storage medium, and the programs or instructions are processed When executed by the controller, each process of the embodiment of the address translation control method applied to the third network element side can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • magnetic disk or an optical disk and the like.
  • this embodiment of the present application provides an address translation control device 1600, which is applied to a first terminal and includes:
  • the third sending module 1601 is configured to send a second request message to a second network element, where the second request message is used to request the second network element to perform a data address translation process.
  • the second request message includes at least one of the following:
  • IP address, port number, fully qualified domain name FQDN and uniform resource locator URL of the second terminal IP address, port number, fully qualified domain name FQDN and uniform resource locator URL of the second terminal.
  • the device also includes:
  • a seventh sending module configured to send the first transfer request message to the second terminal
  • a sixth receiving module configured to receive the first transfer request acceptance message sent by the second terminal.
  • the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the first transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the seventh sending module sends the first transfer request message to the second terminal to implement one of the following:
  • the seventh sending module sends a first transfer request message to the second terminal through an access network device
  • the first transfer request message further includes at least one of the following:
  • the terminal identifier of the second terminal the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
  • the device also includes:
  • a seventh receiving module configured to receive a second transfer request message sent by the second terminal
  • An eighth sending module configured to send a second transfer request acceptance message to the second terminal.
  • the second transfer request message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
  • the second transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
  • the seventh receiving module receives the second transfer request message sent by the second terminal to implement one of the following:
  • the third sending module 1601 sends the second request message to the second network element, it further includes:
  • An eighth receiving module configured to receive a first indication message sent by the second network element, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established;
  • the second release module is configured to release the communication resources established with the access network device and the second network element according to the first indication message.
  • this device embodiment is a one-to-one corresponding device with the above-mentioned method embodiment, and all the implementation processes of the above-mentioned method embodiment are applicable to this device embodiment, and can also achieve the same technical effect, and will not be repeated here. repeat.
  • the address conversion control device in the embodiment of the present application may be a device, a device with an operating system or an electronic device, or a component, an integrated circuit, or a chip in a terminal.
  • the apparatus or electronic equipment may be a mobile terminal or a non-mobile terminal.
  • the mobile terminal may include but not limited to the types of terminals 11 listed above, and the non-mobile terminal may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television ( television, TV), teller machines or self-service machines, etc., are not specifically limited in this embodiment of the present application.
  • the address conversion control device provided in the embodiment of the present application can realize each process realized by the method embodiment in FIG. 5 and achieve the same technical effect. To avoid repetition, details are not repeated here.
  • An embodiment of the present application further provides a terminal, the terminal is a first terminal, and includes a processor and a communication interface, the communication interface is used to send a second request message to a second network element, and the second request message is used to send a second request message to the The second network element requests to perform a data address translation process.
  • FIG. 17 is a schematic diagram of a hardware structure of a terminal implementing an embodiment of the present application.
  • the terminal 1700 is a first terminal, including but not limited to: a radio frequency unit 1701, a network module 1702, an audio output unit 1703, an input unit 1704, a sensor 1705, a display unit 1706, a user input unit 1707, an interface unit 1708, a memory 1709, and At least some components in the processor 1710 and the like.
  • the terminal 1700 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 1710 through the power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal structure shown in FIG. 17 does not constitute a limitation on the terminal.
  • the terminal may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here.
  • the input unit 1704 may include a graphics processor (Graphics Processing Unit, GPU) 17041 and a microphone 17042, and the graphics processor 17041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1706 may include a display panel 17061, and the display panel 17061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1707 includes a touch panel 17071 and other input devices 17072 . Touch panel 17071, also called touch screen.
  • the touch panel 17071 can include two parts: a touch detection device and a touch controller.
  • Other input devices 17072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the radio frequency unit 1701 receives the downlink data from the network side device, and processes it to the processor 1710; in addition, sends the uplink data to the network side device.
  • the radio frequency unit 1701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the memory 1709 can be used to store software programs or instructions as well as various data.
  • the memory 1709 may mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area may store an operating system, an application program or instructions required by at least one function (such as a sound playback function, an image playback function, etc.) and the like.
  • the memory 1709 may include a high-speed random access memory, and may also include a nonvolatile memory, wherein the nonvolatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM) , PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • ROM Read-Only Memory
  • PROM programmable read-only memory
  • PROM erasable programmable read-only memory
  • Erasable PROM Erasable PROM
  • EPROM electrically erasable programmable read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory for example at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device.
  • the processor 1710 may include one or more processing units; optionally, the processor 1710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, application programs or instructions, etc., Modem processors mainly handle wireless communications, such as baseband processors. It can be understood that the foregoing modem processor may not be integrated into the processor 1710 .
  • the radio frequency unit 1701 is used to realize:
  • the second request message includes at least one of the following:
  • IP address, port number, fully qualified domain name FQDN and uniform resource locator URL of the second terminal IP address, port number, fully qualified domain name FQDN and uniform resource locator URL of the second terminal.
  • the radio frequency unit 1701 is also used to implement:
  • the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the first transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the radio frequency unit 1701 is configured to implement one of the following:
  • the first transfer request message further includes at least one of the following:
  • the terminal identifier of the second terminal the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
  • the radio frequency unit 1701 is also used to implement:
  • the second transfer request message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
  • the second transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
  • the radio frequency unit 1701 is configured to implement one of the following:
  • the first terminal receives the second transfer request message sent by the second terminal through a direct communication technology
  • the first terminal receives the second transfer request message sent by the second terminal through the access network device.
  • the radio frequency unit 1701 is also used to implement:
  • the processor 1710 is configured to release the communication resources established with the access network device and the second network element according to the first indication message.
  • the embodiment of the present application further provides a terminal, the terminal is a first terminal, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction being
  • the processor executes, each process of the embodiment of the address translation control method can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium may be non-volatile or volatile, and a program or instruction is stored on the readable storage medium, and the program or instruction is executed by the processor During execution, each process of the embodiment of the address translation control method applied to the first terminal can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • this embodiment of the present application provides an address translation control device 1800, which is applied to a second terminal, including:
  • the first transceiving module 1801 is configured to receive a first transfer request message sent by the first terminal, and send a first transfer request acceptance message to the first terminal; or
  • the second transceiving module 1802 is configured to send a second transfer request message to the first terminal, and receive a second transfer request acceptance message sent by the first terminal.
  • the first transfer request acceptance message includes at least one of the following: the second terminal's IP address, port number, fully qualified domain name (FQDN), and uniform resource locator (URL).
  • the second terminal's IP address includes at least one of the following: the second terminal's IP address, port number, fully qualified domain name (FQDN), and uniform resource locator (URL).
  • FQDN fully qualified domain name
  • URL uniform resource locator
  • the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the first transceiver module 1801 is configured to implement one of the following:
  • the first transfer request message further includes at least one of the following:
  • the terminal identifier of the second terminal the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
  • the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
  • the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
  • the first transceiver module 1801 is configured to implement one of the following:
  • this device embodiment is a one-to-one corresponding device with the above-mentioned method embodiment, and all the implementation processes of the above-mentioned method embodiment are applicable to this device embodiment, and can also achieve the same technical effect, and will not be repeated here. repeat.
  • the embodiment of the present application also provides a terminal, the terminal is a second terminal, and includes a processor and a communication interface, and the communication interface is used to receive the first transfer request message sent by the first terminal, and send the first transfer request message to the first terminal. transfer request acceptance message; or
  • This terminal embodiment corresponds to the above-mentioned terminal-side method embodiment, and each implementation process and implementation mode of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve the same technical effect.
  • the embodiment of the present application also provides a terminal, which is a second terminal, and its hardware structure can be referred to as shown in FIG. 17 , which will not be repeated here.
  • the radio frequency unit is used to realize:
  • the first transfer request acceptance message includes at least one of the following: the second terminal's IP address, port number, fully qualified domain name (FQDN), and uniform resource locator (URL).
  • the second terminal's IP address includes at least one of the following: the second terminal's IP address, port number, fully qualified domain name (FQDN), and uniform resource locator (URL).
  • FQDN fully qualified domain name
  • URL uniform resource locator
  • the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
  • the radio frequency unit is used to implement one of the following:
  • the radio frequency unit when the radio frequency unit receives the first transfer request message sent by the first terminal through the access network device, the first transfer request message further includes at least one of the following:
  • the terminal identifier of the second terminal the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
  • the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
  • the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
  • the radio frequency unit is used to implement one of the following:
  • the embodiment of the present application further provides a terminal, the terminal is a second terminal, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction being
  • the processor executes, each process of the embodiment of the address translation control method can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium may be non-volatile or volatile, and a program or instruction is stored on the readable storage medium, and the program or instruction is executed by the processor During execution, each process of the embodiment of the address translation control method applied to the second terminal can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • the embodiment of the present application provides an address translation control device 1900, which is applied to an application server, including:
  • a fourth sending module 1901 configured to send a third request message to a third network element, where the third request message is used to request the third network element to update a first rule, and the first rule is used in the first network element Element performs data address translation process.
  • the third request message includes at least one of the following:
  • the address conversion control device provided in the embodiment of the present application can realize each process realized by the method embodiment in FIG. 7 and achieve the same technical effect. To avoid repetition, details are not repeated here.
  • the embodiment of the present application also provides an application server, including a processor and a communication interface, the communication interface is used to: send a third request message to a third network element, and the third request message is used to request the third network element
  • the first rule is updated, and the first rule is used for the first network element to execute the data address translation process.
  • the application server embodiment corresponds to the above-mentioned method embodiment applied to the application server side.
  • the various implementation processes and implementation methods of the above-mentioned method embodiments can be applied to the application server embodiment, and can achieve the same technical effect.
  • the embodiment of the present application also provides an application server.
  • For the structure of the application server refer to the network element structure in FIG. 13 , which will not be repeated here.
  • the application server in the embodiment of the present application further includes: instructions or programs stored in the memory and executable on the processor, the processor calls the instructions or programs in the memory to execute the method performed by each module shown in Figure 19, and To achieve the same technical effect, in order to avoid repetition, it is not repeated here.
  • the embodiment of the present application also provides an application server, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor.
  • an application server including a processor, a memory, and a program or instruction stored in the memory and operable on the processor.
  • the program or instruction is executed by the processor, the application server is implemented.
  • Each process of the embodiment of the address translation control method on the application server side can achieve the same technical effect, so to avoid repetition, details are not described here.
  • the embodiment of the present application also provides a readable storage medium.
  • the readable storage medium may be non-volatile or volatile.
  • Programs or instructions are stored on the computer-readable storage medium, and the programs or instructions are processed Each process of the embodiment of the address translation control method applied to the application server side is implemented when the server is executed, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • magnetic disk or an optical disk and the like.
  • this embodiment of the present application further provides a communication device 2000, including a processor 2001, a memory 2002, and programs or instructions stored in the memory 2002 and operable on the processor 2001,
  • a communication device 2000 including a processor 2001, a memory 2002, and programs or instructions stored in the memory 2002 and operable on the processor 2001
  • the communication device 2000 is a terminal
  • the program or instruction is executed by the processor 2001
  • each process of the above address translation control method embodiment can be realized, and the same technical effect can be achieved.
  • the communication device 2000 is a network element
  • the program or instruction is executed by the processor 2001
  • each process of the above address translation control method embodiment can be realized, and the same technical effect can be achieved.
  • the communication device 2000 is an application server, when the program or instruction is executed by the processor 2001, each process of the above address translation control method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the terminal involved in this embodiment of the present application may be a device that provides voice and/or data connectivity to users, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem.
  • the name of the terminal equipment may be different.
  • the terminal equipment may be called User Equipment (User Equipment, UE).
  • the wireless terminal device can communicate with one or more core networks (Core Network, CN) via the radio access network (Radio Access Network, RAN), and the wireless terminal device can be a mobile terminal device, such as a mobile phone (or called a "cellular "telephones) and computers with mobile terminal equipment, such as portable, pocket, hand-held, computer built-in or vehicle-mounted mobile devices, which exchange language and/or data with the radio access network.
  • CN Core Network
  • RAN Radio Access Network
  • RAN Radio Access Network
  • the wireless terminal device can be a mobile terminal device, such as a mobile phone (or called a "cellular "telephones) and computers with mobile terminal equipment, such as portable, pocket, hand-held, computer built-in or vehicle-mounted mobile devices, which exchange language and/or data with the radio access network.
  • PCS Personal Communication Service
  • SIP Session Initiated Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • Wireless terminal equipment can also be called system, subscriber unit, subscriber station, mobile station, mobile station, remote station, access point , remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent), and user device (user device), which are not limited in this embodiment of the application.
  • the network side device involved in the embodiment of the present application may be a Base Transceiver Station (BTS for short) in Global System of Mobile communication (GSM for short) or Code Division Multiple Access (CDMA for short), It can also be a base station (NodeB, NB for short) in Wideband Code Division Multiple Access (WCDMA for short), or an evolved base station (Evolutional Node B, eNB or eNodeB for short) in LTE, or a relay station Or an access point, or a base station in a future 5G network, etc., are not limited here.
  • BTS Base Transceiver Station
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • NodeB, NB base station
  • WCDMA Wideband Code Division Multiple Access
  • Evolutional Node B, eNB or eNodeB for short in LTE
  • a relay station Or an access point or a base station in a future 5G network, etc.
  • MIMO transmission can be single user MIMO (Single User MIMO, SU-MIMO) or multi user MIMO (Multiple User MIMO, MU-MIMO).
  • MIMO transmission can be two-dimensional MIMO (2Dimension MIMO, 2D-MIMO), three-dimensional MIMO (3Dimension MIMO, 3D-MIMO), full-dimensional MIMO (Full Dimension MIMO, FD-MIMO) or ultra-large Massive-MIMO (Massive-MIMO, M-MIMO) may also be diversity transmission, precoding transmission, or beamforming transmission, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above address conversion control method embodiment Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
  • chip mentioned in the embodiment of the present application may also be referred to as a system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the embodiment of the present application further provides a computer program/program product, the computer program/program product is stored in a non-transitory storage medium, and the program/program product is executed by at least one processor to implement address translation control
  • Each process of the method embodiment can achieve the same technical effect, and will not be repeated here to avoid repetition.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Abstract

The present application belongs to the technical field of communications. Disclosed are an address conversion control method and apparatus, and a terminal and a network element. The address conversion control method in the embodiments of the present application comprises: a first network element receiving a first rule, which is sent by a second network element, wherein the first rule is used by the first network element to perform a data address conversion process; and performing the data address conversion process according to the first rule.

Description

地址转换控制方法、装置、终端及网元Address translation control method, device, terminal and network element
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年08月20日在中国提交的中国专利申请No.202110961571.1的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110961571.1 filed in China on Aug. 20, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信领域,特别涉及一种地址转换控制方法、装置、终端及网元。The present application belongs to the communication field, and in particular relates to an address translation control method, device, terminal and network element.
背景技术Background technique
随着物联网和智能家居的普及,一个家庭中可能存在多个智能家居。智能家居通过将家中的各种设备(如音视频设备、照明系统、窗帘控制、空调控制、安防系统等)连接到一起、互相通信,以此形成一个通信拓扑网络,即个人物联网,提供家电控制、照明控制、电话远程控制、室内外遥控、防盗报警、环境监测、暖通控制等多种功能和手段。With the popularity of the Internet of Things and smart homes, there may be multiple smart homes in a family. Smart home connects various devices in the home (such as audio and video equipment, lighting system, curtain control, air conditioning control, security system, etc.) Control, lighting control, telephone remote control, indoor and outdoor remote control, anti-theft alarm, environmental monitoring, HVAC control and other functions and means.
在个人物联网场景中,可能存在个人物联网设备需要共享信息的场景,一种潜在的方式是通过第五代移动通信技术(5th Generation Mobile Communication Technology,5G)网络进行数据转发。但是相关技术中并没有5G网络进行数据转发的方案,造成通信流程不完整,无法保证通信可靠性。In the personal Internet of Things scenario, there may be scenarios where personal Internet of Things devices need to share information. One potential way is to forward data through the fifth generation mobile communication technology (5th Generation Mobile Communication Technology, 5G) network. However, there is no 5G network data forwarding scheme in the related technology, resulting in incomplete communication process and unable to guarantee communication reliability.
发明内容Contents of the invention
本申请实施例提供一种地址转换控制方法、装置、终端及网元,能够解决相关技术中并没有5G网络进行数据转发的方案,造成通信流程不完整,无法保证通信可靠性的问题。The embodiments of the present application provide an address translation control method, device, terminal, and network element, which can solve the problem that there is no 5G network data forwarding solution in the related art, resulting in incomplete communication process and unable to guarantee communication reliability.
第一方面,提供了一种地址转换控制方法,包括:In the first aspect, an address translation control method is provided, including:
第一网元接收第二网元发送的第一规则,所述第一规则用于第一网元进行数据地址转换过程;The first network element receives the first rule sent by the second network element, and the first rule is used by the first network element to perform a data address translation process;
根据所述第一规则,执行数据地址转换过程。According to the first rule, a data address translation process is performed.
第二方面,提供了一种地址转换控制装置,应用于第一网元,包括:In a second aspect, an address translation control device is provided, which is applied to a first network element, including:
第一接收模块,用于接收第二网元发送的第一规则,所述第一规则用于第一网元进行数据地址转换过程;The first receiving module is configured to receive the first rule sent by the second network element, and the first rule is used by the first network element to perform a data address translation process;
执行模块,用于根据所述第一规则,执行数据地址转换过程。An execution module, configured to execute a data address conversion process according to the first rule.
第三方面,提供了一种地址转换控制方法,包括:In a third aspect, an address translation control method is provided, including:
第二网元接收第三网元发送的第一策略信息;The second network element receives the first policy information sent by the third network element;
第二网元根据所述第一策略信息,发送第一规则给第一网元;the second network element sends the first rule to the first network element according to the first policy information;
其中,所述第一规则用于所述第一网元执行数据地址转换过程。Wherein, the first rule is used for the first network element to perform a data address translation process.
第四方面,提供了一种地址转换控制装置,应用于第二网元,包括:In a fourth aspect, an address translation control device is provided, which is applied to a second network element, including:
第二接收模块,用于接收第三网元发送的第一策略信息;The second receiving module is configured to receive the first policy information sent by the third network element;
第一发送模块,用于根据所述第一策略信息,发送第一规则给第一网元;a first sending module, configured to send a first rule to a first network element according to the first policy information;
其中,所述第一规则用于所述第一网元执行数据地址转换过程。Wherein, the first rule is used for the first network element to perform a data address translation process.
第五方面,提供了一种地址转换控制方法,包括:In the fifth aspect, an address translation control method is provided, including:
第三网元向第二网元发送第一策略信息;the third network element sends the first policy information to the second network element;
其中,所述第一策略信息用于所述第二网元确定第一规则,所述第一规则用于第一网元进行数据地址转换过程。Wherein, the first policy information is used by the second network element to determine a first rule, and the first rule is used by the first network element to perform a data address translation process.
第六方面,提供了一种地址转换控制装置,应用于第三网元,包括:In a sixth aspect, an address translation control device is provided, which is applied to a third network element, including:
第二发送模块,用于向第二网元发送第一策略信息;a second sending module, configured to send the first policy information to the second network element;
其中,所述第一策略信息用于所述第二网元确定第一规则,所述第一规则用于第一网元进行数据地址转换过程。Wherein, the first policy information is used by the second network element to determine a first rule, and the first rule is used by the first network element to perform a data address translation process.
第七方面,提供了一种地址转换控制方法,包括:In the seventh aspect, an address translation control method is provided, including:
第一终端向第二网元发送第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。The first terminal sends a second request message to the second network element, where the second request message is used to request the second network element to perform a data address translation process.
第八方面,提供了一种地址转换控制装置,应用于第一终端,包括:In an eighth aspect, an address translation control device is provided, which is applied to a first terminal, including:
第三发送模块,用于向第二网元发送第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。A third sending module, configured to send a second request message to a second network element, where the second request message is used to request the second network element to perform a data address translation process.
第九方面,提供了一种地址转换控制方法,包括:In the ninth aspect, an address translation control method is provided, including:
第二终端接收第一终端发送的第一转移请求消息,向所述第一终端发送第一转移请求接受消息;或者The second terminal receives the first transfer request message sent by the first terminal, and sends a first transfer request acceptance message to the first terminal; or
第二终端向第一终端发送第二转移请求消息,接收所述第一终端发送的第二转移请求接受消息。The second terminal sends a second transfer request message to the first terminal, and receives the second transfer request acceptance message sent by the first terminal.
第十方面,提供了一种地址转换控制装置,应用于第二终端,包括:In a tenth aspect, an address translation control device is provided, which is applied to a second terminal, including:
第一收发模块,用于接收第一终端发送的第一转移请求消息,向所述第一终端发送第一转移请求接受消息;或者A first transceiver module, configured to receive a first transfer request message sent by a first terminal, and send a first transfer request acceptance message to the first terminal; or
第二收发模块,用于向第一终端发送第二转移请求消息,接收所述第一终端发送的第二转移请求接受消息。The second transceiver module is configured to send a second transfer request message to the first terminal, and receive a second transfer request acceptance message sent by the first terminal.
第十一方面,提供了一种地址转换控制方法,包括:In the eleventh aspect, an address translation control method is provided, including:
应用服务器向第三网元发送第三请求消息,所述第三请求消息用于向所述第三网元请求更新第一规则,所述第一规则用于第一网元执行数据地址转换过程。The application server sends a third request message to the third network element, where the third request message is used to request the third network element to update the first rule, and the first rule is used by the first network element to perform a data address translation process .
第十二方面,提供了一种地址转换控制装置,应用于应用服务器,包括:In a twelfth aspect, an address translation control device is provided, which is applied to an application server, including:
第四发送模块,用于向第三网元发送第三请求消息,所述第三请求消息用于向所述第三网元请求更新第一规则,所述第一规则用于第一网元执行数据地址转换过程。A fourth sending module, configured to send a third request message to a third network element, where the third request message is used to request the third network element to update a first rule, and the first rule is used for the first network element Perform data address translation process.
第十三方面,提供了一种网元,该网元包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面、第三方面、第五方面所述的方法的步骤。In a thirteenth aspect, a network element is provided, the network element includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction is processed by the processor The steps of the methods described in the first aspect, the third aspect, and the fifth aspect are realized when the device is executed.
第十四方面,提供了一种网元,所述网元为第一网元,包括处理器及通信接口,其中,所述通信接口用于接收第二网元发送的第一规则,所述第一规则用于第一网元进行数据地址转换过程,所述处理器用于根据所述第一规则,执行数据地址转换过程。In a fourteenth aspect, a network element is provided, the network element is a first network element, and includes a processor and a communication interface, wherein the communication interface is used to receive a first rule sent by a second network element, and the The first rule is used for the first network element to perform the data address translation process, and the processor is configured to perform the data address translation process according to the first rule.
第十五方面,提供了一种网元,所述网元为第二网元,包括处理器及通信接口,其中,所述通信接口用于接收第三网元发送的第一策略信息;根据所述第一策略信息,发送第一规则给第一网元;In a fifteenth aspect, a network element is provided, the network element is a second network element, and includes a processor and a communication interface, wherein the communication interface is used to receive first policy information sent by a third network element; according to The first policy information, sending the first rule to the first network element;
其中,所述第一规则用于所述第一网元执行数据地址转换过程。Wherein, the first rule is used for the first network element to perform a data address translation process.
第十六方面,提供了一种网元,所述网元为第三网元,包括处理器及通信接口,其中,所述通信接口用于向第二网元发送第一策略信息;In a sixteenth aspect, a network element is provided, the network element is a third network element, and includes a processor and a communication interface, where the communication interface is used to send the first policy information to the second network element;
其中,所述第一策略信息用于所述第二网元确定第一规则,所述第一规 则用于第一网元进行数据地址转换过程。Wherein, the first policy information is used by the second network element to determine a first rule, and the first rule is used by the first network element to perform a data address translation process.
第十七方面,提供了一种终端,该终端包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第七方面或第九方面所述的方法的步骤。In a seventeenth aspect, a terminal is provided, and the terminal includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor When implementing the steps of the method described in the seventh aspect or the ninth aspect.
第十八方面,提供了一种终端,所述终端为第一终端,包括处理器及通信接口,其中,所述通信接口用于向第二网元发送第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。In an eighteenth aspect, a terminal is provided, the terminal is a first terminal, and includes a processor and a communication interface, wherein the communication interface is used to send a second request message to a second network element, and the second request The message is used to request the second network element to perform a data address translation process.
第十九方面,提供了一种终端,所述终端为第二终端,包括处理器及通信接口,其中,所述通信接口用于接收第一终端发送的第一转移请求消息,向所述第一终端发送第一转移请求接受消息;或者In a nineteenth aspect, a terminal is provided, the terminal is a second terminal, and includes a processor and a communication interface, wherein the communication interface is used to receive a first transfer request message sent by the first terminal, and send a message to the first transfer request A terminal sends a first transfer request acceptance message; or
向第一终端发送第二转移请求消息,接收所述第一终端发送的第二转移请求接受消息。Sending a second transfer request message to the first terminal, and receiving a second transfer request acceptance message sent by the first terminal.
第二十方面,提供了一种应用服务器,该应用服务器包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第十一方面所述的方法的步骤。In a twentieth aspect, an application server is provided, the application server includes a processor, a memory, and a program or instruction stored on the memory and operable on the processor, the program or instruction is processed by the The steps of the method described in the eleventh aspect are realized when the controller is executed.
第二十一方面,提供了一种应用服务器,所述应用服务器包括处理器及通信接口,其中,所述通信接口用于向第三网元发送第三请求消息,所述第三请求消息用于向所述第三网元请求更新第一规则,所述第一规则用于第一网元执行数据地址转换过程。In a twenty-first aspect, an application server is provided, the application server includes a processor and a communication interface, wherein the communication interface is used to send a third request message to a third network element, and the third request message uses In order to request the third network element to update the first rule, the first rule is used for the first network element to perform a data address translation process.
第二十二方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面、第三方面、第五方面、第七方面、第九方面或第十一方面所述的方法的步骤。In a twenty-second aspect, a readable storage medium is provided, where programs or instructions are stored on the readable storage medium, and when the programs or instructions are executed by a processor, the first aspect, the third aspect, and the fifth aspect are implemented , the steps of the method described in the seventh aspect, the ninth aspect or the eleventh aspect.
第二十三方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面、第三方面、第五方面、第七方面、第九方面或第十一方面所述的方法的步骤。In a twenty-third aspect, a chip is provided, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect and the first aspect The steps of the method described in the third aspect, the fifth aspect, the seventh aspect, the ninth aspect or the eleventh aspect.
第二十四方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在非瞬态的存储介质中,所述程序/程序产品被至少一个处理器执行以实现如第一方面、第三方面、第五方面、第七方面、第九方面或第十一 方面所述的方法的步骤。In a twenty-fourth aspect, a computer program/program product is provided, the computer program/program product is stored in a non-transitory storage medium, and the program/program product is executed by at least one processor to implement the The steps of the method described in the first aspect, the third aspect, the fifth aspect, the seventh aspect, the ninth aspect or the eleventh aspect.
第二十五方面,提供一种通信设备,被配置为执行如第一方面、第三方面、第五方面、第七方面、第九方面或第十一方面所述的方法的步骤。A twenty-fifth aspect provides a communication device configured to execute the steps of the method described in the first aspect, the third aspect, the fifth aspect, the seventh aspect, the ninth aspect or the eleventh aspect.
在本申请实施例中,通过根据接收的用于第一网元进行数据地址转换过程的第一规则执行数据地址转换过程,以此能够保证5G网络进行数据转发,保证通信的可靠性。In the embodiment of the present application, the data address translation process is performed according to the received first rule for the first network element to perform the data address translation process, so as to ensure the data forwarding of the 5G network and the reliability of communication.
附图说明Description of drawings
图1是本申请实施例可应用的一种无线通信系统的框图;FIG. 1 is a block diagram of a wireless communication system to which an embodiment of the present application is applicable;
图2是本申请实施例的应用于第一网元的地址转换控制方法的流程示意图;FIG. 2 is a schematic flowchart of an address translation control method applied to a first network element according to an embodiment of the present application;
图3是本申请实施例的应用于第二网元的地址转换控制方法的流程示意图;FIG. 3 is a schematic flowchart of an address translation control method applied to a second network element according to an embodiment of the present application;
图4是本申请实施例的应用于第三网元的地址转换控制方法的流程示意图;FIG. 4 is a schematic flowchart of an address translation control method applied to a third network element according to an embodiment of the present application;
图5是本申请实施例的应用于第一终端的地址转换控制方法的流程示意图;FIG. 5 is a schematic flowchart of an address translation control method applied to a first terminal according to an embodiment of the present application;
图6是本申请实施例的应用于第二终端的地址转换控制方法的流程示意图;FIG. 6 is a schematic flowchart of an address translation control method applied to a second terminal according to an embodiment of the present application;
图7是本申请实施例的应用于应用服务器的地址转换控制方法的流程示意图;FIG. 7 is a schematic flowchart of an address translation control method applied to an application server according to an embodiment of the present application;
图8是本申请实施例的具体应用流程示意图之一;FIG. 8 is one of the specific application flow diagrams of the embodiment of the present application;
图9是本申请实施例的具体应用流程示意图之二;Fig. 9 is the second schematic diagram of the specific application process of the embodiment of the present application;
图10是本申请实施例的具体应用流程示意图之三;Fig. 10 is the third schematic diagram of the specific application process of the embodiment of the present application;
图11是本申请实施例的具体应用流程示意图之四;Fig. 11 is the fourth schematic diagram of the specific application process of the embodiment of the present application;
图12是本申请实施例的地址转换控制装置的模块示意图之一;FIG. 12 is one of the module schematic diagrams of the address translation control device according to the embodiment of the present application;
图13是本申请实施例的网元的结构框图;FIG. 13 is a structural block diagram of a network element in an embodiment of the present application;
图14是本申请实施例的地址转换控制装置的模块示意图之二;FIG. 14 is the second schematic diagram of the modules of the address translation control device according to the embodiment of the present application;
图15是本申请实施例的地址转换控制装置的模块示意图之三;FIG. 15 is the third block diagram of the address translation control device according to the embodiment of the present application;
图16是本申请实施例的地址转换控制装置的模块示意图之四;FIG. 16 is the fourth block diagram of the address translation control device according to the embodiment of the present application;
图17是本申请实施例的终端的结构框图;FIG. 17 is a structural block diagram of a terminal according to an embodiment of the present application;
图18是本申请实施例的地址转换控制装置的模块示意图之五;FIG. 18 is the fifth schematic diagram of the modules of the address translation control device according to the embodiment of the present application;
图19是本申请实施例的地址转换控制装置的模块示意图之六;FIG. 19 is the sixth block diagram of the address translation control device according to the embodiment of the present application;
图20是本申请实施例的通信设备的结构框图。Fig. 20 is a structural block diagram of a communication device according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or described herein and that "first" and "second" distinguish objects. It is usually one category, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the description and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
本申请中,可选地,获取可以理解为从配置获得、接收、通过请求后接收、通过自学习获取、根据未收到的信息推导获取或者是根据接收的信息处理后获得,具体可根据实际需要确定,本申请实施例对此不作限定。比如当未收到设备发送的某个能力指示信息时可推导出该设备不支持该能力。In this application, optionally, obtaining can be understood as obtaining from configuration, receiving, receiving after request, obtaining through self-learning, deriving and obtaining based on unreceived information, or obtaining after processing received information. It needs to be confirmed, which is not limited in the embodiment of the present application. For example, when a certain capability indication information sent by the device is not received, it may be deduced that the device does not support the capability.
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(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)和其他系统。本申请实施例 中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6 th Generation,6G)通信系统。 It is worth noting that the technology described in the embodiment of this application is not limited to the Long Term Evolution (Long Term Evolution, LTE)/LTE-Advanced (LTE-Advanced, LTE-A) system, and can also be used in other wireless communication systems, such as code 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 (Single-carrier Frequency-Division Multiple Access, SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the above-mentioned system and radio technology, and can also be used for other systems and radio technologies. The following description describes the New Radio (NR) system for illustrative purposes, and uses NR terminology in most of the following descriptions, but these techniques can also be applied to applications other than NR system applications, such as the 6th generation (6 th Generation, 6G) communication system.
图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括终端11和网络侧设备12。其中,终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(Ultra-Mobile Personal Computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(Augmented Reality,AR)/虚拟现实(Virtual Reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、车载设备(Vehicle User Equipment,VUE)、行人终端(Pedestrian User Equipment,PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装、游戏机等。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以是基站或核心网,其中,基站可被称为节点B、演进节点B、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、B节点、演进型B节点(Evolved Node B,eNB)、家用B节点、家用演进型B节点、无线局域网(Wireless Local Area Network,WLAN)接入点、无线保真(Wireless Fidelity,WiFi)节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例,但是并不限定基站的具体类型。Fig. 1 shows a block diagram of a wireless communication system to which the embodiment of the present application is applicable. The wireless communication system includes a terminal 11 and a network side device 12 . Wherein, the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, a super mobile personal computer (Ultra-Mobile Personal Computer, UMPC), Mobile Internet Device (Mobile Internet Device, MID), Augmented Reality (Augmented Reality, AR)/Virtual Reality (Virtual Reality, VR) equipment, robot, wearable device (Wearable Device) , vehicle equipment (Vehicle User Equipment, VUE), pedestrian terminals (Pedestrian User Equipment, PUE), smart home (home equipment with wireless communication functions, such as refrigerators, TVs, washing machines or furniture, etc.) and other terminal-side equipment, wearable Devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, game consoles wait. It should be noted that, the embodiment of the present application does not limit the specific type of the terminal 11 . The network side device 12 may be a base station or a core network, where a base station may be called a node B, an evolved node B, an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service Basic Service Set (BSS), Extended Service Set (ESS), Node B, Evolved Node B (eNB), Home Node B, Home Evolved Node B, Wireless Local Area Network (WLAN) Area Network, WLAN) access point, wireless fidelity (Wireless Fidelity, WiFi) node, transmitting and receiving point (Transmitting Receiving Point, TRP) or some other suitable term in the field, as long as the same technical effect is achieved, all The above-mentioned base stations are not limited to specific technical terms. It should be noted that in the embodiment of the present application, only the base stations in the NR system are taken as examples, but the specific types of the base stations are not limited.
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的地址转换控制方法、装置、终端及网元进行详细地说明。The address translation control method, device, terminal, and network element provided in the embodiments of the present application are described in detail below through some embodiments and application scenarios with reference to the accompanying drawings.
如图2所示,本申请实施例提供一种地址转换控制方法,包括:As shown in Figure 2, this embodiment of the present application provides an address translation control method, including:
步骤201,第一网元接收第二网元发送的第一规则,所述第一规则用于第一网元进行数据地址转换过程; Step 201, the first network element receives the first rule sent by the second network element, and the first rule is used for the data address translation process of the first network element;
步骤202,根据所述第一规则,执行数据地址转换过程。 Step 202, execute a data address conversion process according to the first rule.
需要说明的是,本申请实施例中所说的第一网元主要实现的是用户平面功能(User Plane Function,UPF),第二网元主要实现的是会话管理功能(Session Management Function,SMF),UPF所使用的数据地址转换的规则通常是由SMF通知的。It should be noted that the first network element mentioned in the embodiment of the present application mainly realizes the user plane function (User Plane Function, UPF), and what the second network element mainly realizes is the session management function (Session Management Function, SMF) , the data address translation rules used by UPF are usually notified by SMF.
可选地,一种实现方式下,第一规则是直接用于第一网元进行数据地址转换过程的,此种情况下,第一网元可以直接使用第二网元发送的第一规则,执行数据地址转换过程;可选地,另一种实现方式下,第一规则是辅助第一网元进行数据地址转换过程的,也就是说,此种情况下,第一网元不能直接利用该第一规则执行数据地址转换过程,可选地,此种情况下,步骤202的实现方式为:Optionally, in an implementation manner, the first rule is directly used by the first network element to perform data address translation. In this case, the first network element may directly use the first rule sent by the second network element, Execute the data address translation process; optionally, in another implementation mode, the first rule is to assist the first network element in the data address translation process, that is, in this case, the first network element cannot directly use the The first rule executes the data address translation process. Optionally, in this case, the implementation of step 202 is as follows:
根据所述第一规则,更新第二规则,所述第二规则用于第一网元进行数据地址转换过程;updating a second rule according to the first rule, where the second rule is used by the first network element to perform a data address translation process;
根据所述第二规则,执行数据地址转换过程。According to the second rule, a data address translation process is performed.
进一步需要说明的是,第一网元执行数据地址转换过程的一种实现方式为:第一网元通过网络地址转换(Network Address Translation,NAT)方式,执行数据地址转换过程。It should be further noted that, an implementation manner for the first network element to execute the data address translation process is: the first network element executes the data address translation process by means of Network Address Translation (NAT).
例如,当第一网元接收到来自网络的数据包时,该数据包原本是要发送给第一终端的,因此数据包的目的地址为第一终端,若第一网元不执行NAT,则该数据包还是会发送给第一终端,或者,就算第一网元可以通过其他方式将数据包发给第二终端,第一网元不执行NAT,第二终端即使收到该数据包也无法解析;在应用本申请实施例后,第一网元接收到网络的数据包后,先将数据包中的目标地址由第一终端替换为第二终端,然后第一网元就可以依据转换后的数据包的目的地址将数据包发送给第二终端。For example, when the first network element receives a data packet from the network, the data packet is originally intended to be sent to the first terminal, so the destination address of the data packet is the first terminal, if the first network element does not perform NAT, then The data packet will still be sent to the first terminal, or even if the first network element can send the data packet to the second terminal in other ways, the first network element does not perform NAT, and the second terminal cannot receive the data packet. Analysis; after applying the embodiment of the present application, after the first network element receives the data packet of the network, first replace the target address in the data packet from the first terminal to the second terminal, and then the first network element can be based on the converted The destination address of the data packet is used to send the data packet to the second terminal.
需要说明的是,第一网元通过根据接收的用于第一网元进行数据地址转换过程的第一规则执行数据地址转换过程,以此能够保证5G网络进行数据 转发,保证通信的可靠性。It should be noted that the first network element executes the data address translation process according to the received first rule for the first network element to perform the data address translation process, so as to ensure the data forwarding of the 5G network and the reliability of communication.
为了与第一网元配合,如图3所示,本申请实施例提供一种地址转换控制方法,包括:In order to cooperate with the first network element, as shown in FIG. 3, an embodiment of the present application provides an address translation control method, including:
步骤301,第二网元接收第三网元发送的第一策略信息; Step 301, the second network element receives the first policy information sent by the third network element;
步骤303,第二网元根据所述第一策略信息,发送第一规则给第一网元;Step 303, the second network element sends the first rule to the first network element according to the first policy information;
其中,所述第一规则用于所述第一网元执行数据地址转换过程。Wherein, the first rule is used for the first network element to perform a data address translation process.
需要说明的是,因策略控制功能(Policy Control Function,PCF)是主要实现策略的制定与管理,也就是说,本申请实施例中所说的第三网元主要实现的是PCF。It should be noted that since the policy control function (Policy Control Function, PCF) is mainly to implement policy formulation and management, that is to say, the third network element mentioned in the embodiment of the present application mainly implements the PCF.
需要说明的是,在PCF将第一策略信息发送给SMF后,SMF需要根据该第一策略信息得到第一规则(即数据转发规则),然后再将得到的第一规则发送给UPF。It should be noted that after the PCF sends the first policy information to the SMF, the SMF needs to obtain the first rule (that is, the data forwarding rule) according to the first policy information, and then send the obtained first rule to the UPF.
可选地,PCF通常是基于SMF的请求进行策略的发送,也就是说,在所述步骤301之前,还包括:Optionally, the PCF usually sends the policy based on the request of the SMF, that is, before the step 301, it also includes:
第二网元向第三网元发送第一请求消息,所述第一请求消息用于请求所述第一策略信息。The second network element sends a first request message to the third network element, where the first request message is used to request the first policy information.
可选地,该第一请求消息中包括以下至少一项:第一终端的互联网协议(Internet Protocol,IP)地址、端口号、完全限定域名(Fully Qualified Domain Name,FQDN)和统一资源定位符(Uniform Resource Locator,URL)。Optionally, the first request message includes at least one of the following: the first terminal's Internet Protocol (Internet Protocol, IP) address, port number, fully qualified domain name (Fully Qualified Domain Name, FQDN) and Uniform Resource Locator ( Uniform Resource Locator, URL).
可选地,该第一请求消息可以为Npcf_SMPolicyControl_Update request消息。Optionally, the first request message may be an Npcf_SMPolicyControl_Update request message.
需要说明的是,本申请中所说的第二终端指的是接收原本需要发送给第一终端的数据的终端,例如,该第二终端为个人物联网中的各种设备,如电视,摄像头等智能家居,可穿戴设备等。It should be noted that the second terminal mentioned in this application refers to the terminal that receives the data that originally needs to be sent to the first terminal. For example, the second terminal is various devices in the Personal Internet of Things, such as TV, camera Smart home, wearable devices, etc.
例如,手机希望将一个视频投在电视上看,但是视频所在的应用程序(Application program,APP)并没有投屏功能,手机希望通过5G网络实现此功能,即本该抵达手机的数据,通过5G网络转发到电视上,则手机即对应本申请实施例中所提到的第一终端,电视即对应本申请实施例中所提到的第二终端。For example, a mobile phone wants to cast a video on a TV, but the application program (APP) where the video is located does not have the screen casting function. If the network is forwarded to the TV, the mobile phone corresponds to the first terminal mentioned in the embodiment of the present application, and the TV corresponds to the second terminal mentioned in the embodiment of the present application.
需要说明的是,因第一终端可以主动控制第二终端,例如,该第一终端也可以为个人物联网下的个人控制终端,如手机。It should be noted that since 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.
可选地,通常第二网元请求策略是基于终端的请求触发的,也就是说,在所述第二网元接收第三网元发送的第一策略信息的步骤之前,还包括:Optionally, usually the second network element requesting a policy is triggered based on a terminal request, that is, before the second network element receives the first policy information sent by the third network element, it further includes:
第二网元接收第一终端发送的第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。The second network element receives the second request message sent by the first terminal, where the second request message is used to request the second network element to perform a data address translation process.
可选地,所述第二请求消息包括以下至少一项:Optionally, the second request message includes at least one of the following:
第二终端的IP地址、端口号、FQDN和URL。IP address, port number, FQDN and URL of the second terminal.
也就是说,第一终端请求将数据转发给哪一个终端,则第二请求消息中便携带接收转发数据的终端的地址信息,可选地,该地址信息包括但不限于是IP地址、端口号、FQDN和URL中的至少一项。That is to say, which terminal the first terminal requests to forward the data to, then the second request message carries the address information of the terminal receiving the forwarded data. Optionally, the address information includes but is not limited to IP address, port number At least one of , FQDN and URL.
可选地,该第二请求消息为协议数据单元(Protocol Data Unit,PDU)会话修改请求(session modification request)消息。Optionally, the second request message is a protocol data unit (Protocol Data Unit, PDU) session modification request (session modification request) message.
需要说明的是,本申请实施例中的主要实现过程为:It should be noted that the main implementation process in the embodiment of this application is:
第一终端向第二网元发送第二请求消息,第二网元向第三网元发送第一请求消息,第三网元基于所述第一请求消息反馈第一策略信息,第二网元根据所述第一策略信息,生成第一规则,并发送第一规则给第一网元;进一步需要说明的是,第二网元生成第一规则的方式为:第二网元根据第一终端的IP地址、端口号、FQDN和URL中至少一项与第一策略信息中建立第一终端与第二终端的关联。The first terminal sends a second request message to the second network element, the second network element sends a first request message to the third network element, the third network element feeds back the first policy information based on the first request message, and the second network element Generate the first rule according to the first policy information, and send the first rule to the first network element; At least one of the IP address, port number, FQDN and URL and the first policy information establish an association between the first terminal and the second terminal.
需要说明的是,在网络的数据包发送给第二终端的情况下,为了节省网络资源,通常需要断开第一终端与网络之间的连接,可选地,一种情况下,在所述第二网元接收第三网元发送的第一策略信息之后,还包括:It should be noted that, in order to save network resources when the data packets of the network are sent to the second terminal, it is usually necessary to disconnect the connection between the first terminal and the network. Optionally, in one case, in the After the second network element receives the first policy information sent by the third network element, it further includes:
第二网元向第一终端发送第一指示消息,所述第一指示消息用于指示所述第二网元与第二终端的通信资源已建立。The second network element sends a first indication message to the first terminal, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established.
需要说明的是,此种情况是第一终端根据网络指示主动释放与网络的连接,可选地,另一种情况下,网络还可以主动释放与第一终端的连接,具体地实现方式为:在所述第二网元接收第三网元发送的第一策略信息之后,还包括:It should be noted that in this case, the first terminal actively releases the connection with the network according to the network instruction. Optionally, in another case, the network may also actively release the connection with the first terminal. The specific implementation method is as follows: After the second network element receives the first policy information sent by the third network element, the method further includes:
第二网元释放与第一终端建立的通信资源。The second network element releases the communication resource established with the first terminal.
需要说明的是,通过第二网元与第一网元的配合,能够保证网络准确的进行数据的转发。It should be noted that, through cooperation between the second network element and the first network element, it can be ensured that the network can accurately forward data.
如图4所示,本申请实施例提供一种地址转换控制方法,包括:As shown in Figure 4, the embodiment of the present application provides an address translation control method, including:
步骤401,第三网元向第二网元发送第一策略信息; Step 401, the third network element sends the first policy information to the second network element;
其中,所述第一策略信息用于所述第二网元确定第一规则,所述第一规则用于第一网元进行数据地址转换过程。Wherein, the first policy information is used by the second network element to determine a first rule, and the first rule is used by the first network element to perform a data address translation process.
可选地,所述第三网元向第二网元发送第一策略信息的步骤之前,还包括:Optionally, before the step of sending the first policy information to the second network element by the third network element, the method further includes:
第三网元接收所述第二网元发送的第一请求消息,所述第一请求消息用于请求第一策略信息;receiving a first request message sent by the second network element by the third network element, where the first request message is used to request first policy information;
所述第三网元向第二网元发送第一策略信息,包括:The third network element sends the first policy information to the second network element, including:
第三网元根据所述第一请求消息,向第一网元发送第一策略信息。The third network element sends the first policy information to the first network element according to the first request message.
需要说明的是,第三网元根据第二网元的请求反馈策略的方式是基于终端请求进行触发的策略发送,可选地,在另外一种情况下,也可以由应用服务器(AF)触发转发规则的更新,具体地,此种情况下的,在所述第三网元向第二网元发送第一策略信息的步骤之前,还包括:It should be noted that the mode of the third network element feeding back the policy according to the request of the second network element is to send the policy triggered based on the terminal request. Optionally, in another case, it can also be triggered by the application server (AF) The update of the forwarding rule, specifically, in this case, before the step of the third network element sending the first policy information to the second network element, further includes:
第三网元接收应用服务器发送的第三请求消息,所述第三请求消息用于向第三网元请求更新第一规则;The third network element receives a third request message sent by the application server, where the third request message is used to request the third network element to update the first rule;
第三网元根据所述第三请求消息,确定第一策略信息。The third network element determines the first policy information according to the third request message.
可选地,该第三请求消息可以为Npcf_PolicyAuthorization_Update Request消息。Optionally, the third request message may be an Npcf_PolicyAuthorization_Update Request message.
需要说明的是,第三网元在确定得到第一策略信息之后,便可以主动将第一策略信息发送给第二网元。It should be noted that after the third network element determines to obtain the first policy information, it may actively send the first policy information to the second network element.
可选地,所述第三请求消息中包括以下至少一项:Optionally, the third request message includes at least one of the following:
第二终端的IP地址、第二终端的端口号、第二终端的FQDN、第二终端的URL、第一终端的IP地址、第一终端的端口号、第一终端的FQDN和第一终端的URL。The IP address of the second terminal, the port number of the second terminal, the FQDN of the second terminal, the URL of the second terminal, the IP address of the first terminal, the port number of the first terminal, the FQDN of the first terminal, and the URL of the first terminal URL.
需要说明的是,上述实施例中提到的第一网元、第二网元、第三网元可 以是位于不同核心网设备中的网元。It should be noted that the first network element, the second network element, and the third network element mentioned in the above embodiments may be network elements located in different core network devices.
可选地,上述实施例中提到的第一网元、第二网元、第三网元也可以是位于同一个核心网设备中的网元,在一个可选地实施方式中,本申请的另一实施例还提供一种地址转换控制方法,应用于核心网设备,包括:Optionally, the first network element, the second network element, and the third network element mentioned in the above embodiment may also be network elements located in the same core network device. In an optional implementation manner, the present application Another embodiment of the present invention also provides an address translation control method applied to core network equipment, including:
第一网元根据第一规则,执行数据地址转换过程。The first network element executes a data address translation process according to the first rule.
可选地,在第一网元根据第一规则,执行数据地址转换过程之前,还包括:Optionally, before the first network element executes the data address translation process according to the first rule, the method further includes:
第三网元向第二网元发送第一策略信息,所述第一策略信息用于所述第二网元确定第一规则,所述第一规则用于第一网元进行数据地址转换过程;The third network element sends first policy information to the second network element, the first policy information is used by the second network element to determine a first rule, and the first rule is used by the first network element to perform a data address translation process ;
第二网元接收第三网元发送的第一策略信息;The second network element receives the first policy information sent by the third network element;
第二网元根据所述第一策略信息,发送第一规则给第一网元;the second network element sends the first rule to the first network element according to the first policy information;
第一网元接收第二网元发送的第一规则。The first network element receives the first rule sent by the second network element.
可选地,第一网元根据第一规则,执行数据地址转换过程,包括:Optionally, the first network element performs a data address translation process according to the first rule, including:
第一网元根据所述第一规则,更新第二规则;The first network element updates the second rule according to the first rule;
第一网元根据所述第二规则,执行数据地址转换过程,所述第二规则用于第一网元进行数据地址转换过程。The first network element executes the data address translation process according to the second rule, and the second rule is used for the first network element to perform the data address translation process.
可选地,第一网元根据第一规则,执行数据地址转换过程,包括:Optionally, the first network element performs a data address translation process according to the first rule, including:
第一网元通过网络地址转换NAT方式,执行数据地址转换过程。The first network element executes a data address translation process through a network address translation (NAT) manner.
所述第三网元向第二网元发送第一策略信息的步骤,包括:The step of the third network element sending the first policy information to the second network element includes:
第二网元向第三网元发送第一请求消息,所述第一请求消息用于请求所述第一策略信息;The second network element sends a first request message to a third network element, where the first request message is used to request the first policy information;
第三网元接收所述第二网元发送的第一请求消息;The third network element receives the first request message sent by the second network element;
第三网元根据所述第一请求消息,向第一网元发送第一策略信息。The third network element sends the first policy information to the first network element according to the first request message.
可选地,所述第一请求消息中包括以下至少一项:第一终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。Optionally, the first request message includes at least one of the following: an IP address, a port number, a fully qualified domain name (FQDN), and a uniform resource locator (URL) of the first terminal.
可选地,在所述第二网元接收第三网元发送的第一策略信息的步骤之前,还包括:Optionally, before the step of the second network element receiving the first policy information sent by the third network element, the method further includes:
第二网元接收第一终端发送的第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。The second network element receives the second request message sent by the first terminal, where the second request message is used to request the second network element to perform a data address translation process.
可选地,所述第二请求消息包括以下至少一项:Optionally, the second request message includes at least one of the following:
第二终端的IP地址、端口号、FQDN和URL。IP address, port number, FQDN and URL of the second terminal.
可选地,在所述第二网元接收第三网元发送的第一策略信息之后,还包括:Optionally, after the second network element receives the first policy information sent by the third network element, the method further includes:
第二网元向第一终端发送第一指示消息,所述第一指示消息用于指示所述第二网元与第二终端的通信资源已建立。The second network element sends a first indication message to the first terminal, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established.
可选地,在所述第二网元接收第三网元发送的第一策略信息之后,还包括:Optionally, after the second network element receives the first policy information sent by the third network element, the method further includes:
第二网元释放与第一终端建立的通信资源。The second network element releases the communication resource established with the first terminal.
可选地,在所述第三网元向第二网元发送第一策略信息的步骤之前,还包括:Optionally, before the step of sending the first policy information to the second network element by the third network element, the method further includes:
第三网元接收应用服务器发送的第三请求消息,所述第三请求消息用于向第三网元请求更新第一规则;The third network element receives a third request message sent by the application server, where the third request message is used to request the third network element to update the first rule;
第三网元根据所述第三请求消息,确定第一策略信息。The third network element determines the first policy information according to the third request message.
可选地,所述第三请求消息中包括以下至少一项:Optionally, the third request message includes at least one of the following:
第二终端的IP地址、第二终端的端口号、第二终端的FQDN、第二终端的URL、第一终端的IP地址、第一终端的端口号、第一终端的FQDN和第一终端的URL。The IP address of the second terminal, the port number of the second terminal, the FQDN of the second terminal, the URL of the second terminal, the IP address of the first terminal, the port number of the first terminal, the FQDN of the first terminal, and the URL of the first terminal URL.
需要说明的是,此实施例,通过核心网设备中的各个网元之间的交互,最终能够实现数据的转发,保证数据能够发送到正确的目的地址。It should be noted that, in this embodiment, data forwarding can be realized finally through the interaction between various network elements in the core network equipment, ensuring that the data can be sent to a correct destination address.
如图5所示,本申请实施例提供一种地址转换控制方法,包括:As shown in Figure 5, the embodiment of the present application provides an address translation control method, including:
步骤501,第一终端向第二网元发送第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。 Step 501, the first terminal sends a second request message to a second network element, where the second request message is used to request the second network element to perform a data address translation process.
可选地,所述第二请求消息包括以下至少一项:Optionally, the second request message includes at least one of the following:
第二终端的IP地址、端口号、FQDN和URL。IP address, port number, FQDN and URL of the second terminal.
需要说明的是,为了能够进行数据的转发,第一终端与第二终端需要进行数据转发的约定,一种情况下,第一终端需要向第二终端发送请求,在第二终端同意的情况下,才能够进行数据的转移,可选地,此种实现方式下,所述方法,还包括:It should be noted that in order to forward data, the first terminal and the second terminal need to agree on data forwarding. In one case, the first terminal needs to send a request to the second terminal. If the second terminal agrees , the transfer of data can be performed. Optionally, in this implementation mode, the method further includes:
第一终端向第二终端发送第一转移请求消息;the first terminal sends a first transfer request message to the second terminal;
第一终端接收所述第二终端发送的第一转移请求接受消息。The first terminal receives the first transfer request acceptance message sent by the second terminal.
可选地,所述第一转移请求消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,所述第一转移请求接受消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。Optionally, the first transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,所述第一终端向第二终端发送第一转移请求消息的实现方式,包括以下一项:Optionally, the implementation of the first terminal sending the first transfer request message to the second terminal includes the following item:
A11、所述第一终端通过直接通信技术向所述第二终端发送第一转移请求消息;A11. The first terminal sends a first transfer request message to the second terminal through a direct communication technology;
需要说明的是,此种情况下指的是第一终端能够与第二终端直接通信;本申请实施例中所说的直接通信技术包括但不限于是WLAN直连通信、蓝牙连接通信、PC5sidelink通信等技术。It should be noted that in this case, it means that the first terminal can directly communicate with the second terminal; the direct communication technology mentioned in the embodiment of this application includes but is not limited to WLAN direct connection communication, Bluetooth connection communication, PC5 sidelink communication and other technologies.
A12、所述第一终端通过接入网设备向所述第二终端发送第一转移请求消息;A12. The first terminal sends a first transfer request message to the second terminal through an access network device;
需要说明的是,此种实现方式下第二终端与第一终端不能直接通信,而是通过接入网设备转发二者的交互消息。It should be noted that in this implementation manner, the second terminal cannot directly communicate with the first terminal, but an interaction message between the two is forwarded through the access network device.
还需要说明的是,在第一终端通过接入网设备向所述第二终端发送第一转移请求消息的情况下,所述第一转移请求消息中还可以包括以下至少一项:It should also be noted that, when the first terminal sends the first transfer request message to the second terminal through the access network device, the first transfer request message may further include at least one of the following items:
第二终端的终端标识(例如,终端的设备识别码,可选地,该设备识别码可以为永久设备标识符(Permanent Equipment Identifier,PEI)、国际移动设备识别码(International Mobile Equipment Identity,IMEI)、国际移动站设备识别码和软件版本号(International Mobile station Equipment Identity and Software Version number,IMEISV)等)、第二终端的用户标识(例如,该用户标识可以为全球唯一临时UE标识(Globally Unique Temporary UE Identity,GUTI)、用户隐藏标识符(Subscription Concealed Identifier,SUCI)、5G S-临时移动签约标识(5G S-Temporary Mobile Subscription Identifier,5G-S-TMSI))和第二终端设备的移动用户国际综合业务数字网/公共交换电话网络号码(Mobile Station international ISDN number,MSISDN)。The terminal identification of the second terminal (for example, the equipment identification code of the terminal, optionally, the equipment identification code can be a permanent equipment identifier (Permanent Equipment Identifier, PEI), an international mobile equipment identification code (International Mobile Equipment Identity, IMEI) , International Mobile Station Equipment Identity and Software Version number (International Mobile station Equipment Identity and Software Version number, IMEISV), etc.), the user identity of the second terminal (for example, the user identity can be a globally unique temporary UE identity (Globally Unique Temporary UE Identity, GUTI), User Concealed Identifier (Subscription Concealed Identifier, SUCI), 5G S-Temporary Mobile Subscription Identifier (5G S-Temporary Mobile Subscription Identifier, 5G-S-TMSI)) and the mobile user ID of the second terminal device Integrated Services Digital Network/Public Switched Telephone Network Number (Mobile Station international ISDN number, MSISDN).
另一种情况下,第二终端需要向第一终端发送请求,在第一终端同意的情况下,才能够进行数据的转移,可选地,此种实现方式下,所述方法,还包括:In another case, the second terminal needs to send a request to the first terminal, and the data can only be transferred if the first terminal agrees. Optionally, in this implementation, the method further includes:
第一终端接收第二终端发送第二转移请求消息;The first terminal receives the second transfer request message sent by the second terminal;
第一终端向所述第二终端发送第二转移请求接受消息。The first terminal sends a second transfer request acceptance message to the second terminal.
可选地,所述第二转移请求消息包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。Optionally, the second transfer request message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
可选地,所述第二转移请求接受消息包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。Optionally, the second transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
可选地,所述第一终端接收第二终端发送第二转移请求消息的实现方式,包括以下一项:Optionally, the implementation manner in which the first terminal receives the second transfer request message sent by the second terminal includes the following item:
A21、所述第一终端通过直接通信技术接收所述第二终端发送的第二转移请求消息;A21. The first terminal receives the second transfer request message sent by the second terminal through a direct communication technology;
需要说明的是,此种情况下指的是第一终端能够与第二终端直接通信;本申请实施例中所说的直接通信技术包括但不限于是WLAN直连通信、蓝牙连接通信、PC5旁链路(sidelink)通信等技术。It should be noted that, in this case, it means that the first terminal can directly communicate with the second terminal; the direct communication technology mentioned in the embodiment of this application includes but is not limited to WLAN direct communication, Bluetooth connection communication, PC5 Link (sidelink) communication and other technologies.
A22、所述第一终端通过接入网设备接收所述第二终端发送的第二转移请求消息;A22. The first terminal receives the second transfer request message sent by the second terminal through the access network device;
需要说明的是,此种实现方式下第二终端与第一终端不能直接通信,而是通过接入网设备转发二者的交互消息。It should be noted that in this implementation manner, the second terminal cannot directly communicate with the first terminal, but an interaction message between the two is forwarded through the access network device.
可选地,在所述第一终端向第二网元发送第二请求消息之后,还包括:Optionally, after the first terminal sends the second request message to the second network element, the method further includes:
第一终端接收所述第二网元发送的第一指示消息,所述第一指示消息用于指示所述第二网元与第二终端的通信资源已建立;The first terminal receives a first indication message sent by the second network element, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established;
第一终端根据所述第一指示消息,释放与接入网设备和所述第二网元建立的通信资源。The first terminal releases the communication resources established with the access network device and the second network element according to the first indication message.
需要说明的是,通过第一终端与第二终端以及核心网网元之间的交互,能够顺利实现数据的转发。It should be noted that, through the interaction between the first terminal, the second terminal and the network elements of the core network, data forwarding can be smoothly realized.
对应于第一终端侧的实现,如图6所示,本申请实施例还提供一种地址转换控制方法,包括:Corresponding to the implementation on the first terminal side, as shown in FIG. 6, this embodiment of the present application also provides an address translation control method, including:
步骤601,第二终端接收第一终端发送的第一转移请求消息,向所述第一终端发送第一转移请求接受消息;或者Step 601, the second terminal receives a first transfer request message sent by the first terminal, and sends a first transfer request acceptance message to the first terminal; or
第二终端向第一终端发送第二转移请求消息,接收所述第一终端发送的第二转移请求接受消息。The second terminal sends a second transfer request message to the first terminal, and receives the second transfer request acceptance message sent by the first terminal.
可选地,所述第一转移请求接受消息中包括以下至少一项:第二终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。Optionally, the first transfer request acceptance message includes at least one of the following: the second terminal's IP address, port number, fully qualified domain name (FQDN), and uniform resource locator (URL).
可选地,所述第一转移请求消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,所述第二终端接收第一终端发送的第一转移请求消息,包括以下一项:Optionally, the second terminal receives the first transfer request message sent by the first terminal, including the following item:
所述第二终端通过直接通信技术接收所述第一终端发送的第一转移请求消息;The second terminal receives the first transfer request message sent by the first terminal through a direct communication technology;
所述第二终端通过接入网设备接收所述第一终端发送的第一转移请求消息。The second terminal receives the first transfer request message sent by the first terminal through the access network device.
可选地,在所述第二终端通过接入网设备接收所述第一终端发送的第一转移请求消息的情况下,所述第一转移请求消息中还包括以下至少一项:Optionally, when the second terminal receives the first transfer request message sent by the first terminal through an access network device, the first transfer request message further includes at least one of the following:
第二终端的终端标识、第二终端的用户标识和第二终端设备的移动用户国际综合业务数字网/公共交换电话网络号码MSISDN。The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
可选地,所述第二转移请求消息中包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。Optionally, the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
可选地,所述第二转移请求接受消息中包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。Optionally, the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
可选地,所述接收所述第一终端发送的第二转移请求接受消息,包括以下一项:Optionally, the receiving the second transfer request acceptance message sent by the first terminal includes the following item:
所述第二终端通过直接通信技术接收所述第一终端发送的第二转移请求接受消息;The second terminal receives the second transfer request acceptance message sent by the first terminal through a direct communication technology;
所述第二终端通过接入网设备接收所述第一终端发送的第二转移请求接受消息。The second terminal receives the second transfer request acceptance message sent by the first terminal through the access network device.
需要说明的是,上述第一终端侧的方法实施例中所提到的第二终端的所 有描述均适用于该应用于第二终端侧的方法实施例中,也能达到相同的技术效果,在此不再赘述。It should be noted that all the descriptions of the second terminal mentioned in the above method embodiment on the first terminal side are applicable to the method embodiment applied to the second terminal side, and the same technical effect can also be achieved. This will not be repeated here.
如图7所示,本申请实施例提供一种地址转换控制方法,包括:As shown in Figure 7, the embodiment of the present application provides an address translation control method, including:
步骤701,应用服务器向第三网元发送第三请求消息,所述第三请求消息用于向所述第三网元请求更新第一规则,所述第一规则用于第一网元执行数据地址转换过程。 Step 701, the application server sends a third request message to the third network element, the third request message is used to request the third network element to update the first rule, and the first rule is used for the first network element to execute data address translation process.
可选地,所述第三请求消息中包括以下至少一项:Optionally, the third request message includes at least one of the following:
第二终端的IP地址、第二终端的端口号、第二终端的FQDN、第二终端的URL、第一终端的IP地址、第一终端的端口号、第一终端的FQDN和第一终端的URL。The IP address of the second terminal, the port number of the second terminal, the FQDN of the second terminal, the URL of the second terminal, the IP address of the first terminal, the port number of the first terminal, the FQDN of the first terminal, and the URL of the first terminal URL.
还需要说明的是,本申请中所说的IP地址包括但不限于是IPv4地址和IPv6地址中的至少一项。It should also be noted that the IP address mentioned in this application includes but is not limited to at least one of an IPv4 address and an IPv6 address.
下面在具体应用中对上面所提到的各个网元之间的具体交互实现数据转发的过程进行举例说明如下。The process of implementing data forwarding through the specific interaction among the above-mentioned network elements in a specific application is illustrated as follows.
举例一、第一终端和第二终端之间存在直连通信,第一终端发起数据转移请求,第二终端将IP地址和端口号发给第一终端,第一终端通过PDU会话修改过程,在核心网处建立转发规则,实现数据转发Example 1. There is direct communication between the first terminal and the second terminal. The first terminal initiates a data transfer request, and the second terminal sends the IP address and port number to the first terminal. The first terminal modifies the PDU session. Establish forwarding rules at the core network to realize data forwarding
如图8所示,此种情况下的具体应用过程主要包括:As shown in Figure 8, the specific application process in this case mainly includes:
步骤801,第二终端和第一终端选择同一个SMF和UPF。Step 801, the second terminal and the first terminal select the same SMF and UPF.
步骤802,第二终端有自己的PDU会话,并和网络正在进行服务#1的数据交互;Step 802, the second terminal has its own PDU session, and is exchanging data with the network for service #1;
需要说明的是,步骤802为可选地步骤,第二终端也可能没有自己的PDU会话。It should be noted that step 802 is an optional step, and the second terminal may not have its own PDU session.
步骤803,第一终端和网络正在通过PDU会话进行服务#2的数据交互。Step 803, the first terminal and the network are exchanging data of service #2 through the PDU session.
步骤804,第二终端和第一终端之间执行直连通信建立过程;Step 804, performing a direct communication establishment process between the second terminal and the first terminal;
需要说明的是,步骤804为可选地步骤,如果二者已经建立直连通信,则无需执行步骤804。除了建立无线直连通信(如蓝牙,PC5,Wifi等),不排除,第二终端和第一终端之间通过有线连接,也属于这里所述的已经建立直连通信的范围。It should be noted that step 804 is an optional step, and if the two have established direct communication, step 804 does not need to be performed. In addition to establishing wireless direct communication (such as Bluetooth, PC5, Wifi, etc.), it is not excluded that the wired connection between the second terminal and the first terminal also belongs to the scope of the established direct communication described here.
步骤805,第一终端通过直连通信技术向第二终端发送第一转移请求消息;Step 805, the first terminal sends a first transfer request message to the second terminal through the direct communication technology;
该第一转移请求消息中包括第二终端的IP地址、端口号、FQDN和URL。The first transfer request message includes the IP address, port number, FQDN and URL of the second terminal.
步骤806,第二终端通过直连通信技术向第一终端发送第一转移请求接受消息。Step 806, the second terminal sends a first transfer request acceptance message to the first terminal through the direct communication technology.
所述第一转移请求接受消息包含以下至少一项:第二终端的IP地址、端口号、FQDN和URL。The first transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the second terminal.
步骤807,第一终端发送第二请求消息;Step 807, the first terminal sends a second request message;
所述第二请求消息用于向核心网网元执行数据地址转换过程,所述第二请求消息包含以下至少一项:第二终端的IP地址、端口号、FQDN和URL。The second request message is used to perform a data address translation process to a core network element, and the second request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,在一种实施方式中,所述第二请求消息为PDU session modification request消息。Optionally, in an implementation manner, the second request message is a PDU session modification request message.
步骤808,SMF向PCF发送第一请求消息;Step 808, the SMF sends a first request message to the PCF;
所述第一请求消息用于向PCF请求修改核心网数据发送/缓存/丢弃策略(即第一请求消息用于请求第一策略信息)。可选地,所述第一请求消息包含以下至少一项:第二终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。The first request message is used to request the PCF to modify the core network data sending/caching/discarding policy (that is, the first request message is used to request the first policy information). Optionally, the first request message includes at least one of the following: IP address, port number, fully qualified domain name (FQDN) and uniform resource locator (URL) of the second terminal.
可选地,在一种实施方式中,所述第一请求消息为Npcf_SMPolicyControl_Update request消息。Optionally, in an implementation manner, the first request message is an Npcf_SMPolicyControl_Update request message.
步骤809,PCF发送第一策略信息;Step 809, the PCF sends the first policy information;
可选地,在一种实施方式中,所述第一策略信息包含在Npcf_SMPolicyControl_Update response消息中。Optionally, in an implementation manner, the first policy information is included in the Npcf_SMPolicyControl_Update response message.
步骤810,SMF向UPF发送第一规则;Step 810, the SMF sends the first rule to the UPF;
所述第一规则根据第一策略信息确定得到。The first rule is determined according to the first policy information.
可选地,在一种实施方式中,所述第一规则包含在N4 session modification request消息。在另一种实施方式中,所述第一规则包含在转发操作规则(Forwarding Action Rules)。在另一种实施方式中,所述第一规则包含在Forwarding Action Rules,在相关技术中Forwarding Action Rules的规则中,新增数据转发相关的转发策略(Forwarding policy),或新增一个数据转发相 关的操作(Action)。Optionally, in an implementation manner, the first rule is included in the N4 session modification request message. In another implementation manner, the first rule is included in forwarding action rules (Forwarding Action Rules). In another embodiment, the first rule is included in Forwarding Action Rules. In the rules of Forwarding Action Rules in the related art, a forwarding policy (Forwarding policy) related to data forwarding is added, or a data forwarding related policy is added. The operation (Action).
步骤811,UPF向SMF发送第一规则响应消息;Step 811, the UPF sends a first rule response message to the SMF;
可选地,在一种实施方式中,所述第一规则响应消息为N4 session modification response消息。Optionally, in an implementation manner, the first rule response message is an N4 session modification response message.
步骤812,第二终端资源建立过程;Step 812, the second terminal resource establishment process;
需要说明的是,如果第二终端没有网络资源(如PDU会话)或空口资源(无线资源控制(Radio Resource Control,RRC)资源),则由第二终端发起,或网络发起,为第二终端建立相应资源。在一种实施方式中,第二终端处于5GMM-IDLE态,网络侧设备或无线接入网络(Radio Access Network,RAN)对第二终端进行寻呼以建立相应资源。It should be noted that if the second terminal does not have network resources (such as PDU sessions) or air interface resources (radio resource control (Radio Resource Control, RRC) resources), it is initiated by the second terminal, or initiated by the network, for the second terminal to establish corresponding resources. In one embodiment, the second terminal is in the 5GMM-IDLE state, and the network side device or radio access network (Radio Access Network, RAN) paging the second terminal to establish corresponding resources.
步骤813,UPF根据所述第一规则,执行NAT;Step 813, UPF performs NAT according to the first rule;
需要说明的是,在接收到来自应用服务器的下行数据,或来自UE的上行数据时,UPF根据所述第一规则,执行NAT。It should be noted that when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
步骤814,第二终端和网络通过PDU会话进行服务#2的数据交互。In step 814, the second terminal and the network perform service #2 data exchange through the PDU session.
举例二、第一终端和第二终端之间存在直连通信,第一终端发起数据转移请求,第二终端将IP地址和端口号发给第一终端,第一终端通过PDU会话修改过程,在核心网处建立转发规则,实现数据转发Example 2. There is direct communication between the first terminal and the second terminal. The first terminal initiates a data transfer request, and the second terminal sends the IP address and port number to the first terminal. The first terminal modifies the PDU session. Establish forwarding rules at the core network to realize data forwarding
如图9所示,此种情况下的具体应用过程主要包括:As shown in Figure 9, the specific application process in this case mainly includes:
步骤901,第二终端和第一终端选择同一个SMF和UPF。Step 901, the second terminal and the first terminal select the same SMF and UPF.
步骤902,第二终端有自己的PDU会话,并和网络正在进行服务#1的数据交互;Step 902, the second terminal has its own PDU session, and is exchanging data with the network for service #1;
需要说明的是,步骤902为可选地步骤,第二终端也可能没有自己的PDU会话。It should be noted that step 902 is an optional step, and the second terminal may not have its own PDU session.
步骤903,第一终端和网络正在通过PDU会话进行服务#2的数据交互。Step 903, the first terminal and the network are exchanging data of service #2 through the PDU session.
步骤904,第二终端和第一终端之间执行直连通信建立过程;Step 904, performing a direct communication establishment process between the second terminal and the first terminal;
需要说明的是,步骤904为可选地步骤,如果二者已经建立直连通信,则无需执行步骤904。除了建立无线直连通信(如蓝牙,PC5,Wifi等),不排除,第二终端和第一终端之间通过有线连接,也属于这里所述的已经建立直连通信的范围。It should be noted that step 904 is an optional step, and if the two have established direct communication, step 904 does not need to be performed. In addition to establishing wireless direct communication (such as Bluetooth, PC5, Wifi, etc.), it is not excluded that the wired connection between the second terminal and the first terminal also belongs to the scope of the established direct communication described here.
步骤905,第一终端通过直连通信技术向第二终端发送第一转移请求消息;Step 905, the first terminal sends a first transfer request message to the second terminal through the direct connection communication technology;
该第一转移请求消息中包括第二终端的IP地址、端口号、FQDN和URL。The first transfer request message includes the IP address, port number, FQDN and URL of the second terminal.
步骤906,第二终端通过直连通信技术向第一终端发送第一转移请求接受消息。Step 906, the second terminal sends a first transfer request acceptance message to the first terminal through the direct communication technology.
所述第一转移请求接受消息包含以下至少一项:第二终端的IP地址、端口号、FQDN和URL。The first transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the second terminal.
步骤907,第一终端发送第二请求消息;Step 907, the first terminal sends a second request message;
所述第二请求消息用于向核心网网元执行数据地址转换过程,所述第二请求消息包含以下至少一项:第二终端的IP地址、端口号、FQDN和URL。The second request message is used to perform a data address translation process to a core network element, and the second request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,在一种实施方式中,所述第二请求消息为PDU session modification request消息。Optionally, in an implementation manner, the second request message is a PDU session modification request message.
步骤908,SMF向PCF发送第一请求消息;Step 908, the SMF sends a first request message to the PCF;
所述第一请求消息用于向PCF请求修改核心网数据发送/缓存/丢弃策略(即第一请求消息用于请求第一策略信息)。可选地,所述第一请求消息包含以下至少一项:第二终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。The first request message is used to request the PCF to modify the core network data sending/caching/discarding policy (that is, the first request message is used to request the first policy information). Optionally, the first request message includes at least one of the following: IP address, port number, fully qualified domain name (FQDN) and uniform resource locator (URL) of the second terminal.
可选地,在一种实施方式中,所述第一请求消息为Npcf_SMPolicyControl_Update request消息。Optionally, in an implementation manner, the first request message is an Npcf_SMPolicyControl_Update request message.
步骤909,PCF发送第一策略信息;Step 909, the PCF sends the first policy information;
可选地,在一种实施方式中,所述第一策略信息包含在Npcf_SMPolicyControl_Update response消息中。Optionally, in an implementation manner, the first policy information is included in the Npcf_SMPolicyControl_Update response message.
步骤910,SMF向UPF发送第一规则;Step 910, the SMF sends the first rule to the UPF;
所述第一规则根据第一策略信息确定得到。The first rule is determined according to the first policy information.
可选地,在一种实施方式中,所述第一规则包含在N4 session modification request消息。在另一种实施方式中,所述第一规则包含在Forwarding Action Rules。在另一种实施方式中,所述第一规则包含在Forwarding Action Rules,在相关技术中Forwarding Action Rules的规则中,新增数据转发相关的Forwarding policy,或新增一个数据转发相关的Action。Optionally, in an implementation manner, the first rule is included in the N4 session modification request message. In another implementation manner, the first rule is contained in Forwarding Action Rules. In another embodiment, the first rule is included in Forwarding Action Rules. In the rules of Forwarding Action Rules in the related art, a Forwarding policy related to data forwarding is added, or an Action related to data forwarding is added.
步骤911,UPF向SMF发送第一规则响应消息;Step 911, the UPF sends a first rule response message to the SMF;
可选地,在一种实施方式中,所述第一规则响应消息为N4 session modification response消息。Optionally, in an implementation manner, the first rule response message is an N4 session modification response message.
步骤912,第二终端资源建立过程;Step 912, the second terminal resource establishment process;
需要说明的是,如果第二终端没有网络资源(如PDU会话)或空口资源(RRC资源),则由第二终端发起,或网络发起,为第二终端建立相应资源。在一种实施方式中,第二终端处于5GMM-IDLE态,网络侧设备或RAN对第二终端进行寻呼以建立相应资源。It should be noted that if the second terminal does not have network resources (such as PDU sessions) or air interface resources (RRC resources), the second terminal initiates, or the network initiates, to establish corresponding resources for the second terminal. In an implementation manner, the second terminal is in the 5GMM-IDLE state, and the network side device or the RAN paging the second terminal to establish corresponding resources.
步骤913,SMF向第一终端发送第一指示消息;Step 913, the SMF sends a first indication message to the first terminal;
所述第一指示消息表示步骤912的资源已经建立完毕。The first indication message indicates that the resources in step 912 have been established.
步骤914,第一终端释放在空口和核心网处建立的资源。Step 914, the first terminal releases the resources established at the air interface and the core network.
可选地,在一种实施方式中,第一终端发起释放N1 NAS信令连接(signalling connection)过程,或发起无线资源控制释放(RRCRelease)消息,或本地释放(locally release)无线资源控制(Radio Resource Control,RRC)资源。Optionally, in one implementation manner, the first terminal initiates the release of the N1 NAS signaling connection (signalling connection) process, or initiates a radio resource control release (RRCRelease) message, or locally releases (locally release) radio resource control (Radio Resource Control, RRC) resources.
步骤915,UPF根据所述第一规则,执行NAT;Step 915, UPF performs NAT according to the first rule;
需要说明的是,在接收到来自应用服务器的下行数据,或来自UE的上行数据时,UPF根据所述第一规则,执行NAT。It should be noted that when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
需要说明的是,当UPF接收到的第一规则为新的规则时,UPF需要更新已有规则。It should be noted that, when the first rule received by the UPF is a new rule, the UPF needs to update an existing rule.
步骤916,第二终端和网络通过PDU会话进行服务#2的数据交互。Step 916, the second terminal and the network perform service #2 data exchange through the PDU session.
举例三、第一终端和第二终端之间不存在直连通信,第一终端通过RAN发起数据转移请求,第二终端将IP地址和端口号通过RAN发给第一终端,第一终端通过PDU会话修改过程,在核心网处建立转发规则,实现数据转发Example 3: There is no direct communication between the first terminal and the second terminal. The first terminal initiates a data transfer request through the RAN, the second terminal sends the IP address and port number to the first terminal through the RAN, and the first terminal transmits the data transfer request through the PDU. During the session modification process, forwarding rules are established at the core network to realize data forwarding
如图10所示,此种情况下的具体应用过程主要包括:As shown in Figure 10, the specific application process in this case mainly includes:
步骤1001,第二终端和第一终端建立联系;Step 1001, the second terminal establishes a connection with the first terminal;
需要说明的是,在建立联系的过程中,或建立完成后,第一终端获得第二终端的IP地址、端口号、URL和FQDN中的至少一项。It should be noted that during the process of establishing the connection or after the establishment is completed, the first terminal obtains at least one of the IP address, port number, URL and FQDN of the second terminal.
步骤1002,第一终端通过PDU会话进行数据传输;Step 1002, the first terminal performs data transmission through the PDU session;
步骤1003,第一终端通过接入网向第二终端发送第一转移请求消息;Step 1003, the first terminal sends a first transfer request message to the second terminal through the access network;
该第一转移请求消息中包括第二终端的IP地址、端口号、FQDN和URL。The first transfer request message includes the IP address, port number, FQDN and URL of the second terminal.
步骤1004,第二终端通过接入网向第一终端发送第一转移请求接受消息。Step 1004, the second terminal sends a first transfer request acceptance message to the first terminal through the access network.
所述第一转移请求接受消息包含以下至少一项:第二终端的IP地址、端口号、FQDN和URL。The first transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the second terminal.
步骤1005,第一终端发送第二请求消息;Step 1005, the first terminal sends a second request message;
所述第二请求消息用于向核心网网元执行数据地址转换过程,所述第二请求消息包含以下至少一项:第二终端的IP地址、端口号、FQDN和URL。The second request message is used to perform a data address translation process to a core network element, and the second request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,在一种实施方式中,所述第二请求消息为PDU session modification request消息。Optionally, in an implementation manner, the second request message is a PDU session modification request message.
步骤1006,SMF向PCF发送第一请求消息;Step 1006, the SMF sends a first request message to the PCF;
所述第一请求消息用于向PCF请求修改核心网数据发送/缓存/丢弃策略(即第一请求消息用于请求第一策略信息)。可选地,所述第一请求消息包含以下至少一项:第二终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。The first request message is used to request the PCF to modify the core network data sending/caching/discarding policy (that is, the first request message is used to request the first policy information). Optionally, the first request message includes at least one of the following: IP address, port number, fully qualified domain name (FQDN) and uniform resource locator (URL) of the second terminal.
可选地,在一种实施方式中,所述第一请求消息为Npcf_SMPolicyControl_Update request消息。Optionally, in an implementation manner, the first request message is an Npcf_SMPolicyControl_Update request message.
步骤1007,PCF发送第一策略信息;Step 1007, PCF sends first policy information;
可选地,在一种实施方式中,所述第一策略信息包含在Npcf_SMPolicyControl_Update response消息中。Optionally, in an implementation manner, the first policy information is included in the Npcf_SMPolicyControl_Update response message.
步骤1008,SMF向UPF发送第一规则;Step 1008, the SMF sends the first rule to the UPF;
所述第一规则根据第一策略信息确定得到。The first rule is determined according to the first policy information.
可选地,在一种实施方式中,所述第一规则包含在N4 session modification request消息。在另一种实施方式中,所述第一规则包含在Forwarding Action Rules。在另一种实施方式中,所述第一规则包含在Forwarding Action Rules,在相关技术中Forwarding Action Rules的规则中,新增数据转发相关的Forwarding policy,或新增一个数据转发相关的Action。Optionally, in an implementation manner, the first rule is included in the N4 session modification request message. In another implementation manner, the first rule is included in Forwarding Action Rules. In another embodiment, the first rule is included in Forwarding Action Rules. In the rules of Forwarding Action Rules in the related art, a Forwarding policy related to data forwarding is added, or an Action related to data forwarding is added.
步骤1009,UPF向SMF发送第一规则响应消息;Step 1009, the UPF sends a first rule response message to the SMF;
可选地,在一种实施方式中,所述第一规则响应消息为N4 session  modification response消息。Optionally, in an implementation manner, the first rule response message is an N4 session modification response message.
步骤1010,第二终端资源建立过程;Step 1010, the second terminal resource establishment process;
需要说明的是,如果第二终端没有网络资源(如PDU会话)或空口资源(RRC资源),则由第二终端发起,或网络发起,为第二终端建立相应资源。在一种实施方式中,第二终端处于5GMM-IDLE态,网络侧设备或RAN对第二终端进行寻呼以建立相应资源。It should be noted that if the second terminal does not have network resources (such as PDU sessions) or air interface resources (RRC resources), the second terminal initiates, or the network initiates, to establish corresponding resources for the second terminal. In an implementation manner, the second terminal is in the 5GMM-IDLE state, and the network side device or the RAN paging the second terminal to establish corresponding resources.
步骤1011,UPF根据所述第一规则,执行NAT;Step 1011, UPF performs NAT according to the first rule;
需要说明的是,在接收到来自应用服务器的下行数据,或来自UE的上行数据时,UPF根据所述第一规则,执行NAT。It should be noted that when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
步骤1012,第二终端和网络通过PDU会话进行服务#2的数据交互。Step 1012, the second terminal and the network perform service #2 data exchange through the PDU session.
举例四、AF触发核心网修改转发规则,实现数据转发Example 4: AF triggers the core network to modify forwarding rules to realize data forwarding
如图11所示,此种情况下的具体应用过程主要包括:As shown in Figure 11, the specific application process in this case mainly includes:
步骤1101,第二终端和第一终端选择同一个SMF和UPF。Step 1101, the second terminal and the first terminal select the same SMF and UPF.
步骤1102,第二终端有自己的PDU会话,并和网络正在进行服务#1的数据交互;Step 1102, the second terminal has its own PDU session, and is exchanging data of service #1 with the network;
需要说明的是,步骤1102为可选地步骤,第二终端也可能没有自己的PDU会话。It should be noted that step 1102 is an optional step, and the second terminal may not have its own PDU session.
步骤1103,第一终端和网络正在通过PDU会话进行服务#2的数据交互。Step 1103, the first terminal and the network are exchanging data of service #2 through the PDU session.
步骤1104,AF发送第一请求消息;Step 1104, AF sends a first request message;
需要说明的是,所述第一请求消息用于向核心网侧设备请求建立或修改数据转发规则。所述第一请求消息包含以下至少一项:第二终端的IPv4地址;第二终端的IPv6地址;第二终端的端口号;第一终端的IPv4地址;第一终端的IPv6地址,第一终端的端口号。It should be noted that the first request message is used to request the core network side device to establish or modify the data forwarding rule. The first request message includes at least one of the following: the IPv4 address of the second terminal; the IPv6 address of the second terminal; the port number of the second terminal; the IPv4 address of the first terminal; port number.
可选地,在一种实施方式中,所述第一请求消息为Npcf_PolicyAuthorization_Update Request消息。Optionally, in an implementation manner, the first request message is an Npcf_PolicyAuthorization_Update Request message.
步骤1105,PCF根据第一请求消息,确定第一策略信息;Step 1105, the PCF determines the first policy information according to the first request message;
步骤1106,SMF向PCF发送第一请求消息;Step 1106, the SMF sends a first request message to the PCF;
所述第一请求消息用于向PCF请求修改核心网数据发送/缓存/丢弃策略(即第一请求消息用于请求第一策略信息)。可选地,所述第一请求消息包含 以下至少一项:第二终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。The first request message is used to request the PCF to modify the core network data sending/caching/discarding policy (that is, the first request message is used to request the first policy information). Optionally, the first request message includes at least one of the following: the IP address, port number, fully qualified domain name FQDN, and uniform resource locator URL of the second terminal.
可选地,在一种实施方式中,所述第一请求消息为Npcf_SMPolicyControl_Update request消息。Optionally, in an implementation manner, the first request message is an Npcf_SMPolicyControl_Update request message.
步骤1107,PCF发送第一策略信息;Step 1107, PCF sends first policy information;
可选地,在一种实施方式中,所述第一策略信息包含在Npcf_SMPolicyControl_Update response消息中。Optionally, in an implementation manner, the first policy information is included in the Npcf_SMPolicyControl_Update response message.
步骤1108,SMF向UPF发送第一规则;Step 1108, the SMF sends the first rule to the UPF;
所述第一规则根据第一策略信息确定得到。The first rule is determined according to the first policy information.
可选地,在一种实施方式中,所述第一规则包含在N4 session modification request消息。在另一种实施方式中,所述第一规则包含在Forwarding Action Rules。在另一种实施方式中,所述第一规则包含在Forwarding Action Rules,在相关技术中Forwarding Action Rules的规则中,新增数据转发相关的Forwarding policy,或新增一个数据转发相关的Action。Optionally, in an implementation manner, the first rule is included in the N4 session modification request message. In another implementation manner, the first rule is included in Forwarding Action Rules. In another embodiment, the first rule is included in Forwarding Action Rules. In the rules of Forwarding Action Rules in the related art, a Forwarding policy related to data forwarding is added, or an Action related to data forwarding is added.
步骤1109,UPF向SMF发送第一规则响应消息;Step 1109, the UPF sends a first rule response message to the SMF;
可选地,在一种实施方式中,所述第一规则响应消息为N4 session modification response消息。Optionally, in an implementation manner, the first rule response message is an N4 session modification response message.
步骤1110,第二终端资源建立过程;Step 1110, the second terminal resource establishment process;
需要说明的是,如果第二终端没有网络资源(如PDU会话)或空口资源(RRC资源),则由第二终端发起,或网络发起,为第二终端建立相应资源。在一种实施方式中,第二终端处于5GMM-IDLE态,网络侧设备或RAN对第二终端进行寻呼以建立相应资源。It should be noted that if the second terminal does not have network resources (such as PDU sessions) or air interface resources (RRC resources), the second terminal initiates, or the network initiates, to establish corresponding resources for the second terminal. In an implementation manner, the second terminal is in the 5GMM-IDLE state, and the network side device or the RAN paging the second terminal to establish corresponding resources.
步骤1111,SMF向第一终端发送第一指示消息;Step 1111, the SMF sends a first indication message to the first terminal;
所述第一指示消息表示步骤1110的资源已经建立完毕。The first indication message indicates that the resources in step 1110 have been established.
步骤1112,第一终端释放在空口和核心网处建立的资源。Step 1112, the first terminal releases the resources established at the air interface and the core network.
可选地,在一种实施方式中,第一终端发起释放N1 NAS signalling connection过程,或发起RRCRelease消息,或本地释放(locally release)RRC资源Optionally, in an implementation manner, the first terminal initiates the process of releasing the N1 NAS signaling connection, or initiates an RRCRelease message, or locally releases (locally release) RRC resources
步骤1113,UPF根据所述第一规则,执行NAT;Step 1113, UPF performs NAT according to the first rule;
需要说明的是,在接收到来自应用服务器的下行数据,或来自UE的上行数据时,UPF根据所述第一规则,执行NAT。It should be noted that when receiving downlink data from the application server or uplink data from the UE, the UPF performs NAT according to the first rule.
步骤1114,第二终端和网络通过PDU会话进行服务#2的数据交互。Step 1114, the second terminal and the network perform service #2 data exchange through the PDU session.
需要说明的是,本申请实施例提供的地址转换控制方法,执行主体可以为地址转换控制装置,或者,该地址转换控制装置中的用于执行地址转换控制方法的控制模块。本申请实施例中以地址转换控制装置执行地址转换控制方法为例,说明本申请实施例提供的地址转换控制装置。It should be noted that, the address translation control method provided in the embodiment of the present application may be executed by an address translation control device, or a control module in the address translation control device for executing the address translation control method. In the embodiment of the present application, the address translation control device provided in the embodiment of the present application is described by taking the address translation control device executing the address translation control method as an example.
如图12所示,本申请实施例提供一种地址转换控制装置1200,应用于第一网元,包括:As shown in FIG. 12 , this embodiment of the present application provides an address translation control device 1200, which is applied to a first network element and includes:
第一接收模块1201,用于接收第二网元发送的第一规则,所述第一规则用于第一网元进行数据地址转换过程;The first receiving module 1201 is configured to receive the first rule sent by the second network element, and the first rule is used for the data address translation process performed by the first network element;
执行模块1202,用于根据所述第一规则,执行数据地址转换过程。The executing module 1202 is configured to execute a data address conversion process according to the first rule.
可选地,所述执行模块1202,用于:Optionally, the execution module 1202 is configured to:
根据所述第一规则,更新第二规则;updating a second rule according to the first rule;
根据所述第二规则,执行数据地址转换过程,所述第二规则用于第一网元进行数据地址转换过程。A data address translation process is performed according to the second rule, and the second rule is used for the first network element to perform the data address translation process.
可选地,所述执行数据地址转换过程的实现方式为:Optionally, the implementation of the process of performing data address translation is:
通过网络地址转换NAT方式,执行数据地址转换过程。Through the network address translation NAT mode, the data address translation process is performed.
本申请实施例提供的地址转换控制装置能够实现图2的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The address conversion control device provided in the embodiment of the present application can realize each process realized by the method embodiment in FIG. 2 and achieve the same technical effect. To avoid repetition, details are not repeated here.
本申请实施例还提供一种网元,所述网元为第一网元,包括处理器和通信接口,通信接口用于:接收第二网元发送的第一规则,所述第一规则用于第一网元进行数据地址转换过程;处理器用于根据所述第一规则,执行数据地址转换过程。The embodiment of the present application also provides a network element, the network element is a first network element, and includes a processor and a communication interface, and the communication interface is used to: receive the first rule sent by the second network element, and the first rule uses The data address translation process is performed on the first network element; the processor is used to execute the data address translation process according to the first rule.
该网元实施例是与上述应用于第一网元侧的方法实施例对应的,上述方法实施例的各个实施过程和实现方式均可适用于该网元实施例中,且能达到相同的技术效果。具体地,如图13所示,该网元1300为第一网元,包括:天线1301、射频装置1302、基带装置1303。天线1301与射频装置1302连接。在上行方向上,射频装置1302通过天线1301接收信息,将接收的信息 发送给基带装置1303进行处理。在下行方向上,基带装置1303对要发送的信息进行处理,并发送给射频装置1302,射频装置1302对收到的信息进行处理后经过天线1301发送出去。This network element embodiment corresponds to the above-mentioned method embodiment applied to the first network element side, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this network element embodiment, and can achieve the same technology Effect. Specifically, as shown in FIG. 13 , the network element 1300 is a first network element, and includes: an antenna 1301 , a radio frequency device 1302 , and a baseband device 1303 . The antenna 1301 is connected to the radio frequency device 1302 . In the uplink direction, the radio frequency device 1302 receives information through the antenna 1301, and sends the received information to the baseband device 1303 for processing. In the downlink direction, the baseband device 1303 processes the information to be sent and sends it to the radio frequency device 1302 , and the radio frequency device 1302 processes the received information and sends it out through the antenna 1301 .
上述频带处理装置可以位于基带装置1303中,以上实施例中网络侧设备执行的方法可以在基带装置1303中实现,该基带装置1303包括处理器1304和存储器1305。The foregoing frequency band processing device may be located in the baseband device 1303 , and the method performed by the network side device in the above embodiments may be implemented in the baseband device 1303 , and the baseband device 1303 includes a processor 1304 and a memory 1305 .
基带装置1303例如可以包括至少一个基带板,该基带板上设置有多个芯片,如图13所示,其中一个芯片例如为处理器1304,与存储器1305连接,以调用存储器1305中的程序,执行以上方法实施例中所示的网络侧设备操作。The baseband device 1303 may include at least one baseband board, for example, a plurality of chips are arranged on the baseband board, as shown in FIG. The operation of the network side device shown in the above method embodiments.
该基带装置1303还可以包括网络接口1306,用于与射频装置1302交互信息,该接口例如为通用公共无线接口(common public radio interface,简称CPRI)。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 (common public radio interface, CPRI for short).
具体地,本申请实施例的第一网元还包括:存储在存储器1305上并可在处理器1304上运行的指令或程序,处理器1304调用存储器1305中的指令或程序执行图12所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。Specifically, the first network element in this embodiment of the present application further includes: instructions or programs stored in the memory 1305 and executable on the processor 1304, and the processor 1304 calls the instructions or programs in the memory 1305 to execute the The method of module execution achieves the same technical effect, so in order to avoid repetition, it is not repeated here.
优选的,本申请实施例还提供一种网元,所述网元为第一网元,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序或指令,该程序或指令被处理器执行时实现应用于第一网元侧的地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present application further provides a network element, the network element is a first network element, including a processor, a memory, a program or an instruction stored in the memory and operable on the processor, the program Or, when the instruction is executed by the processor, each process of the embodiment of the address translation control method applied to the first network element side can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,计算机可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现应用于第一网元侧的地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium. The readable storage medium may be non-volatile or volatile. Programs or instructions are stored on the computer-readable storage medium, and the programs or instructions are processed Each process of the embodiment of the address translation control method applied to the first network element side is implemented when the device is executed, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
如图14所示,本申请实施例提供一种地址转换控制装置1400,应用于第二网元,包括:As shown in Figure 14, the embodiment of the present application provides an address translation control device 1400, which is applied to the second network element, including:
第二接收模块1401,用于接收第三网元发送的第一策略信息;The second receiving module 1401 is configured to receive the first policy information sent by the third network element;
第一发送模块1402,用于根据所述第一策略信息,发送第一规则给第一网元;A first sending module 1402, configured to send a first rule to a first network element according to the first policy information;
其中,所述第一规则用于所述第一网元执行数据地址转换过程。Wherein, the first rule is used for the first network element to perform a data address translation process.
可选地,在所述第二接收模块1401接收第三网元发送的第一策略信息的步骤之前,还包括:Optionally, before the step of the second receiving module 1401 receiving the first policy information sent by the third network element, it may further include:
第五发送模块,用于向第三网元发送第一请求消息,所述第一请求消息用于请求所述第一策略信息。A fifth sending module, configured to send a first request message to a third network element, where the first request message is used to request the first policy information.
可选地,所述第一请求消息中包括以下至少一项:第一终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。Optionally, the first request message includes at least one of the following: an IP address, a port number, a fully qualified domain name (FQDN), and a uniform resource locator (URL) of the first terminal.
可选地,在所述第二接收模块1401接收第三网元发送的第一策略信息的步骤之前,还包括:Optionally, before the step of the second receiving module 1401 receiving the first policy information sent by the third network element, it may further include:
第三接收模块,用于接收第一终端发送的第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。The third receiving module is configured to receive a second request message sent by the first terminal, where the second request message is used to request the second network element to perform a data address translation process.
可选地,所述第二请求消息包括以下至少一项:Optionally, the second request message includes at least one of the following:
第二终端的IP地址、端口号、FQDN和URL。IP address, port number, FQDN and URL of the second terminal.
可选地,在所述第二接收模块1401接收第三网元发送的第一策略信息之后,还包括:Optionally, after the second receiving module 1401 receives the first policy information sent by the third network element, it further includes:
第六发送模块,用于向第一终端发送第一指示消息,所述第一指示消息用于指示所述第二网元与第二终端的通信资源已建立。A sixth sending module, configured to send a first indication message to the first terminal, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established.
可选地,在所述第二接收模块1401接收第三网元发送的第一策略信息之后,还包括:Optionally, after the second receiving module 1401 receives the first policy information sent by the third network element, it further includes:
第一释放模块,用于第二网元释放与第一终端建立的通信资源。The first release module is used for the second network element to release the communication resources established with the first terminal.
本申请实施例提供的地址转换控制装置能够实现图3的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The address translation control device provided in the embodiment of the present application can realize each process realized by the method embodiment in FIG. 3 and achieve the same technical effect. To avoid repetition, details are not repeated here.
本申请实施例还提供一种网元,所述网元为第二网元,包括处理器和通信接口,通信接口用于:接收第三网元发送的第一策略信息;根据所述第一策略信息,发送第一规则给第一网元;The embodiment of the present application also provides a network element, the network element is a second network element, and includes a processor and a communication interface, and the communication interface is used to: receive the first policy information sent by the third network element; Policy information, sending the first rule to the first network element;
其中,所述第一规则用于所述第一网元执行数据地址转换过程。Wherein, the first rule is used for the first network element to perform a data address translation process.
该网元实施例是与上述应用于第二网元侧的方法实施例对应的,上述方法实施例的各个实施过程和实现方式均可适用于该网元实施例中,且能达到相同的技术效果。具体地,本申请实施例还提供一种网元,该网元为第二网元,第二网元的结构可参见图13的网元结构,在此不再赘述。This network element embodiment corresponds to the above-mentioned method embodiment applied to the second network element side, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this network element embodiment, and can achieve the same technology Effect. Specifically, the embodiment of the present application further provides a network element, the network element is a second network element, and the structure of the second network element may refer to the network element structure in FIG. 13 , which will not be repeated here.
具体地,本申请实施例的第二网元还包括:存储在存储器上并可在处理器上运行的指令或程序,处理器调用存储器中的指令或程序执行图14所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。Specifically, the second network element in the embodiment of the present application also includes: instructions or programs stored in the memory and operable on the processor, and the processor calls the instructions or programs in the memory to execute the method performed by each module shown in Figure 14 , and achieve the same technical effect, in order to avoid repetition, it is not repeated here.
优选的,本申请实施例还提供一种网元,所述网元为第二网元,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序或指令,该程序或指令被处理器执行时实现应用于第二网元侧的地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present application further provides a network element, the network element is a second network element, including a processor, a memory, a program or an instruction stored in the memory and operable on the processor, the program Or, when the instruction is executed by the processor, each process of the embodiment of the address translation control method applied to the second network element side can be implemented, and the same technical effect can be achieved, so to avoid repetition, details are not repeated here.
本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,计算机可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现应用于第二网元侧的地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium. The readable storage medium may be non-volatile or volatile. Programs or instructions are stored on the computer-readable storage medium, and the programs or instructions are processed When executed by the controller, each process of the embodiment of the address translation control method applied to the second network element side can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
如图15所示,本申请实施例提供一种地址转换控制装置1500,应用于第三网元,包括:As shown in FIG. 15, this embodiment of the present application provides an address translation control device 1500, which is applied to a third network element, including:
第二发送模块1501,用于向第二网元发送第一策略信息;The second sending module 1501 is configured to send the first policy information to the second network element;
其中,所述第一策略信息用于所述第二网元确定第一规则,所述第一规则用于第一网元进行数据地址转换过程。Wherein, the first policy information is used by the second network element to determine a first rule, and the first rule is used by the first network element to perform a data address translation process.
可选地,所述第二发送模块1501向第二网元发送第一策略信息的步骤之前,还包括:Optionally, before the step of sending the first policy information to the second network element, the second sending module 1501 further includes:
第四接收模块,用于接收所述第二网元发送的第一请求消息,所述第一请求消息用于请求第一策略信息;A fourth receiving module, configured to receive a first request message sent by the second network element, where the first request message is used to request first policy information;
所述第二发送模块1501,用于:The second sending module 1501 is configured to:
根据所述第一请求消息,向第一网元发送第一策略信息。Send the first policy information to the first network element according to the first request message.
可选地,在所述第二发送模块1501向第二网元发送第一策略信息的步骤之前,还包括:Optionally, before the step of the second sending module 1501 sending the first policy information to the second network element, it may further include:
第五接收模块,用于接收应用服务器发送的第三请求消息,所述第三请求消息用于向第三网元请求更新第一规则;A fifth receiving module, configured to receive a third request message sent by an application server, where the third request message is used to request a third network element to update the first rule;
确定模块,用于根据所述第三请求消息,确定第一策略信息。A determining module, configured to determine the first policy information according to the third request message.
可选地,所述第三请求消息中包括以下至少一项:Optionally, the third request message includes at least one of the following:
第二终端的IP地址、第二终端的端口号、第二终端的FQDN、第二终端的URL、第一终端的IP地址、第一终端的端口号、第一终端的FQDN和第一终端的URL。The IP address of the second terminal, the port number of the second terminal, the FQDN of the second terminal, the URL of the second terminal, the IP address of the first terminal, the port number of the first terminal, the FQDN of the first terminal, and the URL of the first terminal URL.
本申请实施例提供的地址转换控制装置能够实现图4的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The address conversion control device provided in the embodiment of the present application can realize each process realized by the method embodiment in FIG. 4 and achieve the same technical effect. To avoid repetition, details are not repeated here.
本申请实施例还提供一种网元,所述网元为第三网元,包括处理器和通信接口,通信接口用于:向第二网元发送第一策略信息;The embodiment of the present application also provides a network element, the network element is a third network element, and includes a processor and a communication interface, and the communication interface is used to: send the first policy information to the second network element;
其中,所述第一策略信息用于所述第二网元确定第一规则,所述第一规则用于第一网元进行数据地址转换过程。Wherein, the first policy information is used by the second network element to determine a first rule, and the first rule is used by the first network element to perform a data address translation process.
该网元实施例是与上述应用于第三网元侧的方法实施例对应的,上述方法实施例的各个实施过程和实现方式均可适用于该网元实施例中,且能达到相同的技术效果。具体地,本申请实施例还提供一种网元,该网元为第三网元,第二网元的结构可参见图13的网元结构,在此不再赘述。This network element embodiment corresponds to the above-mentioned method embodiment applied to the third network element side, and each implementation process and implementation method of the above-mentioned method embodiment can be applied to this network element embodiment, and can achieve the same technology Effect. Specifically, the embodiment of the present application further provides a network element, the network element is a third network element, and the structure of the second network element may refer to the network element structure in FIG. 13 , which will not be repeated here.
具体地,本申请实施例的第三网元还包括:存储在存储器上并可在处理器上运行的指令或程序,处理器调用存储器中的指令或程序执行图15所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。Specifically, the third network element in the embodiment of the present application also includes: instructions or programs stored in the memory and operable on the processor, and the processor calls the instructions or programs in the memory to execute the method performed by each module shown in Figure 15 , and achieve the same technical effect, in order to avoid repetition, it is not repeated here.
优选的,本申请实施例还提供一种网元,所述网元为第三网元,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序或指令,该程序或指令被处理器执行时实现应用于第三网元侧的地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present application further provides a network element, the network element is a third network element, including a processor, a memory, a program or an instruction stored in the memory and operable on the processor, the program Or, when the instruction is executed by the processor, each process of the embodiment of the address translation control method applied to the third network element side can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,计算机可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现应用于第三网元侧的地址转换控制方法实施例的 各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium. The readable storage medium may be non-volatile or volatile. Programs or instructions are stored on the computer-readable storage medium, and the programs or instructions are processed When executed by the controller, each process of the embodiment of the address translation control method applied to the third network element side can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
如图16所示,本申请实施例提供一种地址转换控制装置1600,应用于第一终端,包括:As shown in FIG. 16, this embodiment of the present application provides an address translation control device 1600, which is applied to a first terminal and includes:
第三发送模块1601,用于向第二网元发送第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。The third sending module 1601 is configured to send a second request message to a second network element, where the second request message is used to request the second network element to perform a data address translation process.
可选地,所述第二请求消息包括以下至少一项:Optionally, the second request message includes at least one of the following:
第二终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。IP address, port number, fully qualified domain name FQDN and uniform resource locator URL of the second terminal.
可选地,所述的装置,还包括:Optionally, the device also includes:
第七发送模块,用于向第二终端发送第一转移请求消息;a seventh sending module, configured to send the first transfer request message to the second terminal;
第六接收模块,用于接收所述第二终端发送的第一转移请求接受消息。A sixth receiving module, configured to receive the first transfer request acceptance message sent by the second terminal.
可选地,所述第一转移请求消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,所述第一转移请求接受消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。Optionally, the first transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,所述第七发送模块向第二终端发送第一转移请求消息,实现以下一项:Optionally, the seventh sending module sends the first transfer request message to the second terminal to implement one of the following:
通过直接通信技术向所述第二终端发送第一转移请求消息;sending a first transfer request message to the second terminal through a direct communication technology;
通过接入网设备向所述第二终端发送第一转移请求消息。Sending the first transfer request message to the second terminal through the access network device.
可选地,在所述第七发送模块通过接入网设备向所述第二终端发送第一转移请求消息的情况下,所述第一转移请求消息中还包括以下至少一项:Optionally, when the seventh sending module sends a first transfer request message to the second terminal through an access network device, the first transfer request message further includes at least one of the following:
第二终端的终端标识、第二终端的用户标识和第二终端设备的移动用户国际综合业务数字网/公共交换电话网络号码MSISDN。The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
可选地,所述装置,还包括:Optionally, the device also includes:
第七接收模块,用于接收第二终端发送第二转移请求消息;A seventh receiving module, configured to receive a second transfer request message sent by the second terminal;
第八发送模块,用于向所述第二终端发送第二转移请求接受消息。An eighth sending module, configured to send a second transfer request acceptance message to the second terminal.
可选地,所述第二转移请求消息包括以下至少一项:第一终端的IP地址、 端口号、FQDN和URL。Optionally, the second transfer request message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
可选地,所述第二转移请求接受消息包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。Optionally, the second transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
可选地,所述第七接收模块接收第二终端发送第二转移请求消息,实现以下一项:Optionally, the seventh receiving module receives the second transfer request message sent by the second terminal to implement one of the following:
通过直接通信技术接收所述第二终端发送的第二转移请求消息;receiving a second transfer request message sent by the second terminal through a direct communication technology;
通过接入网设备接收所述第二终端发送的第二转移请求消息。Receive the second transfer request message sent by the second terminal through the access network device.
可选地,在所述第三发送模块1601向第二网元发送第二请求消息之后,还包括:Optionally, after the third sending module 1601 sends the second request message to the second network element, it further includes:
第八接收模块,用于接收所述第二网元发送的第一指示消息,所述第一指示消息用于指示所述第二网元与第二终端的通信资源已建立;An eighth receiving module, configured to receive a first indication message sent by the second network element, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established;
第二释放模块,用于根据所述第一指示消息,释放与接入网设备和所述第二网元建立的通信资源。The second release module is configured to release the communication resources established with the access network device and the second network element according to the first indication message.
需要说明的是,该装置实施例是与上述方法实施例一一对应的装置,上述方法实施例的所有实现过程均适用于该装置实施例中,也能达到相同的技术效果,在此不再赘述。It should be noted that this device embodiment is a one-to-one corresponding device with the above-mentioned method embodiment, and all the implementation processes of the above-mentioned method embodiment are applicable to this device embodiment, and can also achieve the same technical effect, and will not be repeated here. repeat.
本申请实施例中的地址转换控制装置可以是装置,具有操作系统的装置或电子设备,也可以是终端中的部件、集成电路、或芯片。该装置或电子设备可以是移动终端,也可以为非移动终端。示例性的,移动终端可以包括但不限于上述所列举的终端11的类型,非移动终端可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The address conversion control device in the embodiment of the present application may be a device, a device with an operating system or an electronic device, or a component, an integrated circuit, or a chip in a terminal. The apparatus or electronic equipment may be a mobile terminal or a non-mobile terminal. Exemplarily, the mobile terminal may include but not limited to the types of terminals 11 listed above, and the non-mobile terminal may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television ( television, TV), teller machines or self-service machines, etc., are not specifically limited in this embodiment of the present application.
本申请实施例提供的地址转换控制装置能够实现图5的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The address conversion control device provided in the embodiment of the present application can realize each process realized by the method embodiment in FIG. 5 and achieve the same technical effect. To avoid repetition, details are not repeated here.
本申请实施例还提供一种终端,所述终端为第一终端,包括处理器和通信接口,通信接口用于向第二网元发送第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。An embodiment of the present application further provides a terminal, the terminal is a first terminal, and includes a processor and a communication interface, the communication interface is used to send a second request message to a second network element, and the second request message is used to send a second request message to the The second network element requests to perform a data address translation process.
该终端实施例是与上述应用于第一终端侧的方法实施例对应的,上述方 法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。具体地,图17为实现本申请实施例的一种终端的硬件结构示意图。This terminal embodiment corresponds to the above-mentioned method embodiment applied to the first terminal side. The various implementation processes and implementation methods of the above-mentioned method embodiments can be applied to this terminal embodiment, and can achieve the same technical effect. Specifically, FIG. 17 is a schematic diagram of a hardware structure of a terminal implementing an embodiment of the present application.
该终端1700为第一终端,包括但不限于:射频单元1701、网络模块1702、音频输出单元1703、输入单元1704、传感器1705、显示单元1706、用户输入单元1707、接口单元1708、存储器1709、以及处理器1710等中的至少部分部件。The terminal 1700 is a first terminal, including but not limited to: a radio frequency unit 1701, a network module 1702, an audio output unit 1703, an input unit 1704, a sensor 1705, a display unit 1706, a user input unit 1707, an interface unit 1708, a memory 1709, and At least some components in the processor 1710 and the like.
本领域技术人员可以理解,终端1700还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图17中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the terminal 1700 may also include a power supply (such as a battery) for supplying power to various components, and the power supply may be logically connected to the processor 1710 through the power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions. The terminal structure shown in FIG. 17 does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here.
应理解的是,本申请实施例中,输入单元1704可以包括图形处理器(Graphics Processing Unit,GPU)17041和麦克风17042,图形处理器17041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1706可包括显示面板17061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板17061。用户输入单元1707包括触控面板17071以及其他输入设备17072。触控面板17071,也称为触摸屏。触控面板17071可包括触摸检测装置和触摸控制器两个部分。其他输入设备17072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that, in the embodiment of the present application, the input unit 1704 may include a graphics processor (Graphics Processing Unit, GPU) 17041 and a microphone 17042, and the graphics processor 17041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 1706 may include a display panel 17061, and the display panel 17061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1707 includes a touch panel 17071 and other input devices 17072 . Touch panel 17071, also called touch screen. The touch panel 17071 can include two parts: a touch detection device and a touch controller. Other input devices 17072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
本申请实施例中,射频单元1701将来自网络侧设备的下行数据接收后,给处理器1710处理;另外,将上行的数据发送给网络侧设备。通常,射频单元1701包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。In the embodiment of the present application, the radio frequency unit 1701 receives the downlink data from the network side device, and processes it to the processor 1710; in addition, sends the uplink data to the network side device. Generally, the radio frequency unit 1701 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
存储器1709可用于存储软件程序或指令以及各种数据。存储器1709可主要包括存储程序或指令区和存储数据区,其中,存储程序或指令区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1709可以包括高速随机存取存储器,还可以 包括非易失性存储器,其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。The memory 1709 can be used to store software programs or instructions as well as various data. The memory 1709 may mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area may store an operating system, an application program or instructions required by at least one function (such as a sound playback function, an image playback function, etc.) and the like. In addition, the memory 1709 may include a high-speed random access memory, and may also include a nonvolatile memory, wherein the nonvolatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM) , PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. For example at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device.
处理器1710可包括一个或多个处理单元;可选地,处理器1710可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序或指令等,调制解调处理器主要处理无线通信,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1710中。The processor 1710 may include one or more processing units; optionally, the processor 1710 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, application programs or instructions, etc., Modem processors mainly handle wireless communications, such as baseband processors. It can be understood that the foregoing modem processor may not be integrated into the processor 1710 .
其中,射频单元1701用于实现:Among them, the radio frequency unit 1701 is used to realize:
向第二网元发送第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。Sending a second request message to the second network element, where the second request message is used to request the second network element to perform a data address translation process.
可选地,所述第二请求消息包括以下至少一项:Optionally, the second request message includes at least one of the following:
第二终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。IP address, port number, fully qualified domain name FQDN and uniform resource locator URL of the second terminal.
可选地,射频单元1701还用于实现:Optionally, the radio frequency unit 1701 is also used to implement:
向第二终端发送第一转移请求消息;sending a first transfer request message to the second terminal;
接收所述第二终端发送的第一转移请求接受消息。receiving a first transfer request acceptance message sent by the second terminal.
可选地,所述第一转移请求消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,所述第一转移请求接受消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。Optionally, the first transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,射频单元1701用于实现以下一项:Optionally, the radio frequency unit 1701 is configured to implement one of the following:
通过直接通信技术向所述第二终端发送第一转移请求消息;sending a first transfer request message to the second terminal through a direct communication technology;
通过接入网设备向所述第二终端发送第一转移请求消息。Sending the first transfer request message to the second terminal through the access network device.
可选地,在所述第一终端通过接入网设备向所述第二终端发送第一转移请求消息的情况下,所述第一转移请求消息中还包括以下至少一项:Optionally, when the first terminal sends a first transfer request message to the second terminal through an access network device, the first transfer request message further includes at least one of the following:
第二终端的终端标识、第二终端的用户标识和第二终端设备的移动用户国际综合业务数字网/公共交换电话网络号码MSISDN。The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
可选地,射频单元1701还用于实现:Optionally, the radio frequency unit 1701 is also used to implement:
接收第二终端发送第二转移请求消息;receiving a second transfer request message sent by the second terminal;
向所述第二终端发送第二转移请求接受消息。Sending a second transfer request acceptance message to the second terminal.
可选地,所述第二转移请求消息包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。Optionally, the second transfer request message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
可选地,所述第二转移请求接受消息包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。Optionally, the second transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
可选地,射频单元1701用于实现以下一项:Optionally, the radio frequency unit 1701 is configured to implement one of the following:
所述第一终端通过直接通信技术接收所述第二终端发送的第二转移请求消息;The first terminal receives the second transfer request message sent by the second terminal through a direct communication technology;
所述第一终端通过接入网设备接收所述第二终端发送的第二转移请求消息。The first terminal receives the second transfer request message sent by the second terminal through the access network device.
可选地,射频单元1701还用于实现:Optionally, the radio frequency unit 1701 is also used to implement:
接收所述第二网元发送的第一指示消息,所述第一指示消息用于指示所述第二网元与第二终端的通信资源已建立;receiving a first indication message sent by the second network element, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established;
处理器1710用于实现根据所述第一指示消息,释放与接入网设备和所述第二网元建立的通信资源。The processor 1710 is configured to release the communication resources established with the access network device and the second network element according to the first indication message.
优选的,本申请实施例还提供一种终端,所述终端为第一终端,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序或指令,该程序或指令被处理器执行时实现地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present application further provides a terminal, the terminal is a first terminal, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction being When the processor executes, each process of the embodiment of the address translation control method can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现应用于第一终端的地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present application also provides a readable storage medium, the readable storage medium may be non-volatile or volatile, and a program or instruction is stored on the readable storage medium, and the program or instruction is executed by the processor During execution, each process of the embodiment of the address translation control method applied to the first terminal can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
如图18所示,本申请实施例提供一种地址转换控制装置1800,应用于第二终端,包括:As shown in FIG. 18, this embodiment of the present application provides an address translation control device 1800, which is applied to a second terminal, including:
第一收发模块1801,用于接收第一终端发送的第一转移请求消息,向所述第一终端发送第一转移请求接受消息;或者The first transceiving module 1801 is configured to receive a first transfer request message sent by the first terminal, and send a first transfer request acceptance message to the first terminal; or
第二收发模块1802,用于向第一终端发送第二转移请求消息,接收所述第一终端发送的第二转移请求接受消息。The second transceiving module 1802 is configured to send a second transfer request message to the first terminal, and receive a second transfer request acceptance message sent by the first terminal.
可选地,所述第一转移请求接受消息中包括以下至少一项:第二终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。Optionally, the first transfer request acceptance message includes at least one of the following: the second terminal's IP address, port number, fully qualified domain name (FQDN), and uniform resource locator (URL).
可选地,所述第一转移请求消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,所述第一收发模块1801用于实现以下一项:Optionally, the first transceiver module 1801 is configured to implement one of the following:
通过直接通信技术接收所述第一终端发送的第一转移请求消息;receiving a first transfer request message sent by the first terminal through a direct communication technology;
通过接入网设备接收所述第一终端发送的第一转移请求消息。Receive the first transfer request message sent by the first terminal through the access network device.
可选地,在所述第一收发模块1801通过接入网设备接收所述第一终端发送的第一转移请求消息的情况下,所述第一转移请求消息中还包括以下至少一项:Optionally, when the first transceiving module 1801 receives the first transfer request message sent by the first terminal through an access network device, the first transfer request message further includes at least one of the following:
第二终端的终端标识、第二终端的用户标识和第二终端设备的移动用户国际综合业务数字网/公共交换电话网络号码MSISDN。The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
可选地,所述第二转移请求消息中包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。Optionally, the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
可选地,所述第二转移请求接受消息中包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。Optionally, the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
可选地,所述第一收发模块1801用于实现以下一项:Optionally, the first transceiver module 1801 is configured to implement one of the following:
通过直接通信技术接收所述第一终端发送的第二转移请求接受消息;receiving a second transfer request acceptance message sent by the first terminal through a direct communication technology;
通过接入网设备接收所述第一终端发送的第二转移请求接受消息。Receive the second transfer request acceptance message sent by the first terminal through the access network device.
需要说明的是,该装置实施例是与上述方法实施例一一对应的装置,上述方法实施例的所有实现过程均适用于该装置实施例中,也能达到相同的技术效果,在此不再赘述。It should be noted that this device embodiment is a one-to-one corresponding device with the above-mentioned method embodiment, and all the implementation processes of the above-mentioned method embodiment are applicable to this device embodiment, and can also achieve the same technical effect, and will not be repeated here. repeat.
本申请实施例还提供一种终端,所述终端为第二终端,包括处理器和通信接口,通信接口用于接收第一终端发送的第一转移请求消息,向所述第一终端发送第一转移请求接受消息;或者The embodiment of the present application also provides a terminal, the terminal is a second terminal, and includes a processor and a communication interface, and the communication interface is used to receive the first transfer request message sent by the first terminal, and send the first transfer request message to the first terminal. transfer request acceptance message; or
向第一终端发送第二转移请求消息,接收所述第一终端发送的第二转移请求接受消息。Sending a second transfer request message to the first terminal, and receiving a second transfer request acceptance message sent by the first terminal.
该终端实施例是与上述终端侧方法实施例对应的,上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。This terminal embodiment corresponds to the above-mentioned terminal-side method embodiment, and each implementation process and implementation mode of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve the same technical effect.
本申请实施例还提供一种终端,该终端为第二终端,其硬件结构可参见图17所示,在此不再赘述。The embodiment of the present application also provides a terminal, which is a second terminal, and its hardware structure can be referred to as shown in FIG. 17 , which will not be repeated here.
其中,射频单元用于实现:Among them, the radio frequency unit is used to realize:
接收第一终端发送的第一转移请求消息,向所述第一终端发送第一转移请求接受消息;或者receiving a first transfer request message sent by the first terminal, and sending a first transfer request acceptance message to the first terminal; or
向第一终端发送第二转移请求消息,接收所述第一终端发送的第二转移请求接受消息。Sending a second transfer request message to the first terminal, and receiving a second transfer request acceptance message sent by the first terminal.
可选地,所述第一转移请求接受消息中包括以下至少一项:第二终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。Optionally, the first transfer request acceptance message includes at least one of the following: the second terminal's IP address, port number, fully qualified domain name (FQDN), and uniform resource locator (URL).
可选地,所述第一转移请求消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。Optionally, the first transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the second terminal.
可选地,射频单元用于实现以下一项:Optionally, the radio frequency unit is used to implement one of the following:
通过直接通信技术接收所述第一终端发送的第一转移请求消息;receiving a first transfer request message sent by the first terminal through a direct communication technology;
通过接入网设备接收所述第一终端发送的第一转移请求消息。Receive the first transfer request message sent by the first terminal through the access network device.
可选地,在所述射频单元通过接入网设备接收所述第一终端发送的第一转移请求消息的情况下,所述第一转移请求消息中还包括以下至少一项:Optionally, when the radio frequency unit receives the first transfer request message sent by the first terminal through the access network device, the first transfer request message further includes at least one of the following:
第二终端的终端标识、第二终端的用户标识和第二终端设备的移动用户国际综合业务数字网/公共交换电话网络号码MSISDN。The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
可选地,所述第二转移请求消息中包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。Optionally, the second transfer request message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
可选地,所述第二转移请求接受消息中包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。Optionally, the second transfer request acceptance message includes at least one of the following: the IP address, port number, FQDN, and URL of the first terminal.
可选地,所述射频单元用于实现以下一项:Optionally, the radio frequency unit is used to implement one of the following:
通过直接通信技术接收所述第一终端发送的第二转移请求接受消息;receiving a second transfer request acceptance message sent by the first terminal through a direct communication technology;
通过接入网设备接收所述第一终端发送的第二转移请求接受消息。Receive the second transfer request acceptance message sent by the first terminal through the access network device.
优选的,本申请实施例还提供一种终端,所述终端为第二终端,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序或指令,该程序或指令被处理器执行时实现地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present application further provides a terminal, the terminal is a second terminal, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, the program or instruction being When the processor executes, each process of the embodiment of the address translation control method can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现应用于第二终端的地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。The embodiment of the present application also provides a readable storage medium, the readable storage medium may be non-volatile or volatile, and a program or instruction is stored on the readable storage medium, and the program or instruction is executed by the processor During execution, each process of the embodiment of the address translation control method applied to the second terminal can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here. Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
如图19所示,本申请实施例提供一种地址转换控制装置1900,应用于应用服务器,包括:As shown in Figure 19, the embodiment of the present application provides an address translation control device 1900, which is applied to an application server, including:
第四发送模块1901,用于向第三网元发送第三请求消息,所述第三请求消息用于向所述第三网元请求更新第一规则,所述第一规则用于第一网元执行数据地址转换过程。A fourth sending module 1901, configured to send a third request message to a third network element, where the third request message is used to request the third network element to update a first rule, and the first rule is used in the first network element Element performs data address translation process.
可选地,所述第三请求消息中包括以下至少一项:Optionally, the third request message includes at least one of the following:
第二终端的IP地址、第二终端的端口号、第二终端的FQDN、第二终端的URL、第一终端的IP地址、第一终端的端口号、第一终端的FQDN和第一终端的URL。The IP address of the second terminal, the port number of the second terminal, the FQDN of the second terminal, the URL of the second terminal, the IP address of the first terminal, the port number of the first terminal, the FQDN of the first terminal, and the URL of the first terminal URL.
本申请实施例提供的地址转换控制装置能够实现图7的方法实施例实现的各个过程,并达到相同的技术效果,为避免重复,这里不再赘述。The address conversion control device provided in the embodiment of the present application can realize each process realized by the method embodiment in FIG. 7 and achieve the same technical effect. To avoid repetition, details are not repeated here.
本申请实施例还提供一种应用服务器,包括处理器和通信接口,通信接口用于:向第三网元发送第三请求消息,所述第三请求消息用于向所述第三网元请求更新第一规则,所述第一规则用于第一网元执行数据地址转换过程。The embodiment of the present application also provides an application server, including a processor and a communication interface, the communication interface is used to: send a third request message to a third network element, and the third request message is used to request the third network element The first rule is updated, and the first rule is used for the first network element to execute the data address translation process.
该应用服务器实施例是与上述应用于应用服务器侧的方法实施例对应的,上述方法实施例的各个实施过程和实现方式均可适用于该应用服务器实施例中,且能达到相同的技术效果。具体地,本申请实施例还提供一种应用服务器,该应用服务器的结构可参见图13的网元结构,在此不再赘述。The application server embodiment corresponds to the above-mentioned method embodiment applied to the application server side. The various implementation processes and implementation methods of the above-mentioned method embodiments can be applied to the application server embodiment, and can achieve the same technical effect. Specifically, the embodiment of the present application also provides an application server. For the structure of the application server, refer to the network element structure in FIG. 13 , which will not be repeated here.
具体地,本申请实施例的应用服务器还包括:存储在存储器上并可在处理器上运行的指令或程序,处理器调用存储器中的指令或程序执行图19所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。Specifically, the application server in the embodiment of the present application further includes: instructions or programs stored in the memory and executable on the processor, the processor calls the instructions or programs in the memory to execute the method performed by each module shown in Figure 19, and To achieve the same technical effect, in order to avoid repetition, it is not repeated here.
优选的,本申请实施例还提供一种应用服务器,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的程序或指令,该程序或指令被处理器执行时实现应用于应用服务器侧的地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present application also provides an application server, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor. When the program or instruction is executed by the processor, the application server is implemented. Each process of the embodiment of the address translation control method on the application server side can achieve the same technical effect, so to avoid repetition, details are not described here.
本申请实施例还提供一种可读存储介质,所述可读存储介质可以是非易失的,也可以是易失的,计算机可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现应用于应用服务器侧的地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium. The readable storage medium may be non-volatile or volatile. Programs or instructions are stored on the computer-readable storage medium, and the programs or instructions are processed Each process of the embodiment of the address translation control method applied to the application server side is implemented when the server is executed, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
可选地,如图20所示,本申请实施例还提供一种通信设备2000,包括处理器2001,存储器2002,存储在存储器2002上并可在所述处理器2001上运行的程序或指令,例如,该通信设备2000为终端时,该程序或指令被处理器2001执行时实现上述地址转换控制方法实施例的各个过程,且能达到相同的技术效果。该通信设备2000为网元时,该程序或指令被处理器2001执行时实现上述地址转换控制方法实施例的各个过程,且能达到相同的技术效果。该通信设备2000为应用服务器时,该程序或指令被处理器2001执行时实现上述地址转换控制方法实施例的各个过程,且能达到相同的技术效果。为避免重复,这里不再赘述。Optionally, as shown in FIG. 20 , this embodiment of the present application further provides a communication device 2000, including a processor 2001, a memory 2002, and programs or instructions stored in the memory 2002 and operable on the processor 2001, For example, when the communication device 2000 is a terminal, when the program or instruction is executed by the processor 2001, each process of the above address translation control method embodiment can be realized, and the same technical effect can be achieved. When the communication device 2000 is a network element, when the program or instruction is executed by the processor 2001, each process of the above address translation control method embodiment can be realized, and the same technical effect can be achieved. When the communication device 2000 is an application server, when the program or instruction is executed by the processor 2001, each process of the above address translation control method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
本申请实施例涉及的终端,可以是指向用户提供语音和/或数据连通性的设备,具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备等。在不同的系统中,终端设备的名称可能也不相同,例如在5G系统中,终端设备可以称为用户设备(User Equipment,UE)。无线终端设备可以经无线接入网(Radio Access Network,RAN)与一个或多个核心网(Core Network,CN)进行通信,无线终端设备可以是移动终端设备,如移动电话(或称为“蜂窝”电话)和具有移动终端设备的计算机,例如,可以是便携 式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。例如,个人通信业务(Personal Communication Service,PCS)电话、无绳电话、会话发起协议(Session Initiated Protocol,SIP)话机、无线本地环路(Wireless Local Loop,WLL)站、个人数字助理(Personal Digital Assistant,PDA)等设备。无线终端设备也可以称为系统、订户单元(subscriber unit)、订户站(subscriber station),移动站(mobile station)、移动台(mobile)、远程站(remote station)、接入点(access point)、远程终端设备(remote terminal)、接入终端设备(access terminal)、用户终端设备(user terminal)、用户代理(user agent)、用户装置(user device),本申请实施例中并不限定。The terminal involved in this embodiment of the present application may be a device that provides voice and/or data connectivity to users, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. In different systems, the name of the terminal equipment may be different. For example, in a 5G system, the terminal equipment may be called User Equipment (User Equipment, UE). The wireless terminal device can communicate with one or more core networks (Core Network, CN) via the radio access network (Radio Access Network, RAN), and the wireless terminal device can be a mobile terminal device, such as a mobile phone (or called a "cellular "telephones) and computers with mobile terminal equipment, such as portable, pocket, hand-held, computer built-in or vehicle-mounted mobile devices, which exchange language and/or data with the radio access network. For example, Personal Communication Service (PCS) phone, cordless phone, Session Initiated Protocol (SIP) phone, Wireless Local Loop (WLL) station, Personal Digital Assistant, PDA) and other devices. Wireless terminal equipment can also be called system, subscriber unit, subscriber station, mobile station, mobile station, remote station, access point , remote terminal (remote terminal), access terminal (access terminal), user terminal (user terminal), user agent (user agent), and user device (user device), which are not limited in this embodiment of the application.
本申请实施例涉及的网络侧设备可以是全球移动通讯(Global System of Mobile communication,简称GSM)或码分多址(Code Division Multiple Access,简称CDMA)中的基站(Base Transceiver Station,简称BTS),也可以是宽带码分多址(Wideband Code Division Multiple Access,简称WCDMA)中的基站(NodeB,简称NB),还可以是LTE中的演进型基站(Evolutional Node B,简称eNB或eNodeB),或者中继站或接入点,或者未来5G网络中的基站等,在此并不限定。The network side device involved in the embodiment of the present application may be a Base Transceiver Station (BTS for short) in Global System of Mobile communication (GSM for short) or Code Division Multiple Access (CDMA for short), It can also be a base station (NodeB, NB for short) in Wideband Code Division Multiple Access (WCDMA for short), or an evolved base station (Evolutional Node B, eNB or eNodeB for short) in LTE, or a relay station Or an access point, or a base station in a future 5G network, etc., are not limited here.
网络侧设备与终端之间可以各自使用一或多根天线进行多输入多输出(Multi Input Multi Output,MIMO)传输,MIMO传输可以是单用户MIMO(Single User MIMO,SU-MIMO)或多用户MIMO(Multiple User MIMO,MU-MIMO)。根据根天线组合的形态和数量,MIMO传输可以是二维MIMO(2Dimension MIMO,2D-MIMO)、三维MIMO(3Dimension MIMO,3D-MIMO)、全维MIMO(Full Dimension MIMO,FD-MIMO)或超大规模MIMO(Massive-MIMO,M-MIMO),也可以是分集传输或预编码传输或波束赋形传输等。One or more antennas can be used between the network side device and the terminal to perform multiple input multiple output (Multi Input Multi Output, MIMO) transmission, MIMO transmission can be single user MIMO (Single User MIMO, SU-MIMO) or multi user MIMO (Multiple User MIMO, MU-MIMO). According to the shape and quantity of the root antenna combination, MIMO transmission can be two-dimensional MIMO (2Dimension MIMO, 2D-MIMO), three-dimensional MIMO (3Dimension MIMO, 3D-MIMO), full-dimensional MIMO (Full Dimension MIMO, FD-MIMO) or ultra-large Massive-MIMO (Massive-MIMO, M-MIMO) may also be diversity transmission, precoding transmission, or beamforming transmission, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above address conversion control method embodiment Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、 芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiment of the present application may also be referred to as a system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在非瞬态的存储介质中,所述程序/程序产品被至少一个处理器执行以实现地址转换控制方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a computer program/program product, the computer program/program product is stored in a non-transitory storage medium, and the program/program product is executed by at least one processor to implement address translation control Each process of the method embodiment can achieve the same technical effect, and will not be repeated here to avoid repetition.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the essence of the technical solution of this application or the part that contributes to related technologies can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk, etc.) ) includes several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the method described in each embodiment of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (52)

  1. 一种地址转换控制方法,包括:An address translation control method, comprising:
    第一网元接收第二网元发送的第一规则,所述第一规则用于第一网元进行数据地址转换过程;The first network element receives the first rule sent by the second network element, and the first rule is used by the first network element to perform a data address translation process;
    根据所述第一规则,执行数据地址转换过程。According to the first rule, a data address translation process is performed.
  2. 根据权利要求1所述的方法,其中,所述根据所述第一规则,执行数据地址转换过程,包括:The method according to claim 1, wherein said performing a data address translation process according to said first rule comprises:
    根据所述第一规则,更新第二规则;updating a second rule according to the first rule;
    根据所述第二规则,执行数据地址转换过程,所述第二规则用于第一网元进行数据地址转换过程。A data address translation process is performed according to the second rule, and the second rule is used for the first network element to perform the data address translation process.
  3. 根据权利要求1或2所述的方法,其中,所述执行数据地址转换过程,包括:The method according to claim 1 or 2, wherein said performing the data address translation process comprises:
    通过网络地址转换NAT方式,执行数据地址转换过程。Through the network address translation NAT mode, the data address translation process is performed.
  4. 一种地址转换控制方法,包括:An address translation control method, comprising:
    第二网元接收第三网元发送的第一策略信息;The second network element receives the first policy information sent by the third network element;
    第二网元根据所述第一策略信息,发送第一规则给第一网元;the second network element sends the first rule to the first network element according to the first policy information;
    其中,所述第一规则用于所述第一网元执行数据地址转换过程。Wherein, the first rule is used for the first network element to perform a data address translation process.
  5. 根据权利要求4所述的方法,其中,在所述第二网元接收第三网元发送的第一策略信息的步骤之前,还包括:The method according to claim 4, wherein, before the step of the second network element receiving the first policy information sent by the third network element, further comprising:
    第二网元向第三网元发送第一请求消息,所述第一请求消息用于请求所述第一策略信息。The second network element sends a first request message to the third network element, where the first request message is used to request the first policy information.
  6. 根据权利要求5所述的方法,其中,所述第一请求消息中包括以下至少一项:第一终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。The method according to claim 5, wherein the first request message includes at least one of the following: IP address, port number, fully qualified domain name (FQDN) and uniform resource locator (URL) of the first terminal.
  7. 根据权利要求4所述的方法,其中,在所述第二网元接收第三网元发送的第一策略信息的步骤之前,还包括:The method according to claim 4, wherein, before the step of the second network element receiving the first policy information sent by the third network element, further comprising:
    第二网元接收第一终端发送的第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。The second network element receives the second request message sent by the first terminal, where the second request message is used to request the second network element to perform a data address translation process.
  8. 根据权利要求7所述的方法,其中,所述第二请求消息包括以下至少一项:The method according to claim 7, wherein the second request message includes at least one of the following:
    第二终端的IP地址、端口号、FQDN和URL。IP address, port number, FQDN and URL of the second terminal.
  9. 根据权利要求4所述的方法,其中,在所述第二网元接收第三网元发送的第一策略信息之后,还包括:The method according to claim 4, wherein after the second network element receives the first policy information sent by the third network element, further comprising:
    第二网元向第一终端发送第一指示消息,所述第一指示消息用于指示所述第二网元与第二终端的通信资源已建立。The second network element sends a first indication message to the first terminal, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established.
  10. 根据权利要求4所述的方法,其中,在所述第二网元接收第三网元发送的第一策略信息之后,还包括:The method according to claim 4, wherein after the second network element receives the first policy information sent by the third network element, further comprising:
    第二网元释放与第一终端建立的通信资源。The second network element releases the communication resource established with the first terminal.
  11. 一种地址转换控制方法,包括:An address translation control method, comprising:
    第三网元向第二网元发送第一策略信息;the third network element sends the first policy information to the second network element;
    其中,所述第一策略信息用于所述第二网元确定第一规则,所述第一规则用于第一网元进行数据地址转换过程。Wherein, the first policy information is used by the second network element to determine a first rule, and the first rule is used by the first network element to perform a data address translation process.
  12. 根据权利要求11所述的方法,其中,所述第三网元向第二网元发送第一策略信息的步骤之前,还包括:The method according to claim 11, wherein, before the step of sending the first policy information to the second network element by the third network element, further comprising:
    第三网元接收所述第二网元发送的第一请求消息,所述第一请求消息用于请求第一策略信息;receiving a first request message sent by the second network element by the third network element, where the first request message is used to request first policy information;
    所述第三网元向第二网元发送第一策略信息,包括:The third network element sends the first policy information to the second network element, including:
    第三网元根据所述第一请求消息,向第一网元发送第一策略信息。The third network element sends the first policy information to the first network element according to the first request message.
  13. 根据权利要求11所述的方法,其中,在所述第三网元向第二网元发送第一策略信息的步骤之前,还包括:The method according to claim 11, wherein, before the step of sending the first policy information to the second network element by the third network element, further comprising:
    第三网元接收应用服务器发送的第三请求消息,所述第三请求消息用于向第三网元请求更新第一规则;The third network element receives a third request message sent by the application server, where the third request message is used to request the third network element to update the first rule;
    第三网元根据所述第三请求消息,确定第一策略信息。The third network element determines the first policy information according to the third request message.
  14. 根据权利要求13所述的方法,其中,所述第三请求消息中包括以下至少一项:The method according to claim 13, wherein the third request message includes at least one of the following:
    第二终端的IP地址、第二终端的端口号、第二终端的FQDN、第二终端的URL、第一终端的IP地址、第一终端的端口号、第一终端的FQDN和第 一终端的URL。The IP address of the second terminal, the port number of the second terminal, the FQDN of the second terminal, the URL of the second terminal, the IP address of the first terminal, the port number of the first terminal, the FQDN of the first terminal, and the URL of the first terminal URL.
  15. 一种地址转换控制方法,包括:An address translation control method, comprising:
    第一终端向第二网元发送第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。The first terminal sends a second request message to the second network element, where the second request message is used to request the second network element to perform a data address translation process.
  16. 根据权利要求15所述的方法,其中,所述第二请求消息包括以下至少一项:The method according to claim 15, wherein the second request message includes at least one of the following:
    第二终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。IP address, port number, fully qualified domain name FQDN and uniform resource locator URL of the second terminal.
  17. 根据权利要求15所述的方法,其中,还包括:The method according to claim 15, further comprising:
    第一终端向第二终端发送第一转移请求消息;the first terminal sends a first transfer request message to the second terminal;
    第一终端接收所述第二终端发送的第一转移请求接受消息。The first terminal receives the first transfer request acceptance message sent by the second terminal.
  18. 根据权利要求17所述的方法,其中,所述第一转移请求消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。The method according to claim 17, wherein the first transfer request message includes at least one of the following: IP address, port number, FQDN and URL of the second terminal.
  19. 根据权利要求17所述的方法,其中,所述第一转移请求接受消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。The method according to claim 17, wherein the first transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the second terminal.
  20. 根据权利要求19所述的方法,其中,所述第一终端向第二终端发送第一转移请求消息,包括以下一项:The method according to claim 19, wherein the first transfer request message sent by the first terminal to the second terminal includes one of the following items:
    所述第一终端通过直接通信技术向所述第二终端发送第一转移请求消息;The first terminal sends a first transfer request message to the second terminal through a direct communication technology;
    所述第一终端通过接入网设备向所述第二终端发送第一转移请求消息。The first terminal sends a first transfer request message to the second terminal through an access network device.
  21. 根据权利要求20所述的方法,其中,在所述第一终端通过接入网设备向所述第二终端发送第一转移请求消息的情况下,所述第一转移请求消息中还包括以下至少一项:The method according to claim 20, wherein, when the first terminal sends a first transfer request message to the second terminal through an access network device, the first transfer request message further includes at least the following one item:
    第二终端的终端标识、第二终端的用户标识和第二终端设备的移动用户国际综合业务数字网/公共交换电话网络号码MSISDN。The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
  22. 根据权利要求15所述的方法,其中,还包括:The method according to claim 15, further comprising:
    第一终端接收第二终端发送第二转移请求消息;The first terminal receives the second transfer request message sent by the second terminal;
    第一终端向所述第二终端发送第二转移请求接受消息。The first terminal sends a second transfer request acceptance message to the second terminal.
  23. 根据权利要求22所述的方法,其中,所述第二转移请求消息包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。The method according to claim 22, wherein the second transfer request message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
  24. 根据权利要求22所述的方法,其中,所述第二转移请求接受消息包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。The method according to claim 22, wherein the second transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
  25. 根据权利要求22所述的方法,其中,所述第一终端接收第二终端发送第二转移请求消息,包括以下一项:The method according to claim 22, wherein the second transfer request message received by the first terminal from the second terminal includes the following items:
    所述第一终端通过直接通信技术接收所述第二终端发送的第二转移请求消息;The first terminal receives the second transfer request message sent by the second terminal through a direct communication technology;
    所述第一终端通过接入网设备接收所述第二终端发送的第二转移请求消息。The first terminal receives the second transfer request message sent by the second terminal through the access network device.
  26. 根据权利要求15所述的方法,其中,在所述第一终端向第二网元发送第二请求消息之后,还包括:The method according to claim 15, wherein after the first terminal sends the second request message to the second network element, further comprising:
    第一终端接收所述第二网元发送的第一指示消息,所述第一指示消息用于指示所述第二网元与第二终端的通信资源已建立;The first terminal receives a first indication message sent by the second network element, where the first indication message is used to indicate that the communication resource between the second network element and the second terminal has been established;
    第一终端根据所述第一指示消息,释放与接入网设备和所述第二网元建立的通信资源。The first terminal releases the communication resources established with the access network device and the second network element according to the first indication message.
  27. 一种地址转换控制方法,包括:An address translation control method, comprising:
    第二终端接收第一终端发送的第一转移请求消息,向所述第一终端发送第一转移请求接受消息;或者The second terminal receives the first transfer request message sent by the first terminal, and sends a first transfer request acceptance message to the first terminal; or
    第二终端向第一终端发送第二转移请求消息,接收所述第一终端发送的第二转移请求接受消息。The second terminal sends a second transfer request message to the first terminal, and receives the second transfer request acceptance message sent by the first terminal.
  28. 根据权利要求27所述的方法,其中,所述第一转移请求接受消息中包括以下至少一项:第二终端的IP地址、端口号、完全限定域名FQDN和统一资源定位符URL。The method according to claim 27, wherein the first transfer request acceptance message includes at least one of the following: the second terminal's IP address, port number, fully qualified domain name (FQDN), and uniform resource locator (URL).
  29. 根据权利要求27所述的方法,其中,所述第一转移请求消息中包括以下至少一项:第二终端的IP地址、端口号、FQDN和URL。The method according to claim 27, wherein the first transfer request message includes at least one of the following: IP address, port number, FQDN and URL of the second terminal.
  30. 根据权利要求29所述的方法,其中,所述第二终端接收第一终端发送的第一转移请求消息,包括以下一项:The method according to claim 29, wherein the first transfer request message received by the second terminal from the first terminal includes one of the following items:
    所述第二终端通过直接通信技术接收所述第一终端发送的第一转移请求消息;The second terminal receives the first transfer request message sent by the first terminal through a direct communication technology;
    所述第二终端通过接入网设备接收所述第一终端发送的第一转移请求消 息。The second terminal receives the first transfer request message sent by the first terminal through the access network device.
  31. 根据权利要求30所述的方法,其中,在所述第二终端通过接入网设备接收所述第一终端发送的第一转移请求消息的情况下,所述第一转移请求消息中还包括以下至少一项:The method according to claim 30, wherein, when the second terminal receives the first transfer request message sent by the first terminal through the access network device, the first transfer request message further includes the following At least one of:
    第二终端的终端标识、第二终端的用户标识和第二终端设备的移动用户国际综合业务数字网/公共交换电话网络号码MSISDN。The terminal identifier of the second terminal, the user identifier of the second terminal, and the mobile subscriber international integrated services digital network/public switched telephone network number MSISDN of the second terminal device.
  32. 根据权利要求27所述的方法,其中,所述第二转移请求消息中包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。The method according to claim 27, wherein the second transfer request message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
  33. 根据权利要求27所述的方法,其中,所述第二转移请求接受消息中包括以下至少一项:第一终端的IP地址、端口号、FQDN和URL。The method according to claim 27, wherein the second transfer request acceptance message includes at least one of the following: IP address, port number, FQDN and URL of the first terminal.
  34. 根据权利要求27所述的方法,其中,所述接收所述第一终端发送的第二转移请求接受消息,包括以下一项:The method according to claim 27, wherein the receiving the second transfer request acceptance message sent by the first terminal includes the following item:
    所述第二终端通过直接通信技术接收所述第一终端发送的第二转移请求接受消息;The second terminal receives the second transfer request acceptance message sent by the first terminal through a direct communication technology;
    所述第二终端通过接入网设备接收所述第一终端发送的第二转移请求接受消息。The second terminal receives the second transfer request acceptance message sent by the first terminal through the access network device.
  35. 一种地址转换控制方法,包括:An address translation control method, comprising:
    应用服务器向第三网元发送第三请求消息,所述第三请求消息用于向所述第三网元请求更新第一规则,所述第一规则用于第一网元执行数据地址转换过程。The application server sends a third request message to the third network element, where the third request message is used to request the third network element to update the first rule, and the first rule is used for the first network element to perform a data address translation process .
  36. 根据权利要求35所述的方法,其中,所述第三请求消息中包括以下至少一项:The method according to claim 35, wherein the third request message includes at least one of the following:
    第二终端的IP地址、第二终端的端口号、第二终端的FQDN、第二终端的URL、第一终端的IP地址、第一终端的端口号、第一终端的FQDN和第一终端的URL。The IP address of the second terminal, the port number of the second terminal, the FQDN of the second terminal, the URL of the second terminal, the IP address of the first terminal, the port number of the first terminal, the FQDN of the first terminal, and the URL of the first terminal URL.
  37. 一种地址转换控制装置,应用于第一网元,包括:An address translation control device, applied to a first network element, comprising:
    第一接收模块,用于接收第二网元发送的第一规则,所述第一规则用于第一网元进行数据地址转换过程;The first receiving module is configured to receive the first rule sent by the second network element, and the first rule is used by the first network element to perform a data address translation process;
    执行模块,用于根据所述第一规则,执行数据地址转换过程。An execution module, configured to execute a data address conversion process according to the first rule.
  38. 一种网元,所述网元为第一网元,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求1至3任一项所述的地址转换控制方法的步骤。A network element, the network element being a first network element, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, wherein the program or instruction is The steps for implementing the address translation control method according to any one of claims 1 to 3 when the processor executes.
  39. 一种地址转换控制装置,应用于第二网元,包括:An address translation control device, applied to a second network element, comprising:
    第二接收模块,用于接收第三网元发送的第一策略信息;The second receiving module is configured to receive the first policy information sent by the third network element;
    第一发送模块,用于根据所述第一策略信息,发送第一规则给第一网元;a first sending module, configured to send a first rule to a first network element according to the first policy information;
    其中,所述第一规则用于所述第一网元执行数据地址转换过程。Wherein, the first rule is used for the first network element to perform a data address translation process.
  40. 一种网元,所述网元为第二网元,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求4至10任一项所述的地址转换控制方法的步骤。A network element, where the network element is a second network element, includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, wherein the program or instruction is executed by the The steps for implementing the address translation control method according to any one of claims 4 to 10 when the processor executes.
  41. 一种地址转换控制装置,应用于第三网元,包括:An address translation control device, applied to a third network element, comprising:
    第二发送模块,用于向第二网元发送第一策略信息;a second sending module, configured to send the first policy information to the second network element;
    其中,所述第一策略信息用于所述第二网元确定第一规则,所述第一规则用于第一网元进行数据地址转换过程。Wherein, the first policy information is used by the second network element to determine a first rule, and the first rule is used by the first network element to perform a data address translation process.
  42. 一种网元,所述网元为第三网元,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求11至14任一项所述的地址转换控制方法的步骤。A network element, where the network element is a third network element, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, wherein the program or instruction is executed by the The steps for implementing the address translation control method according to any one of claims 11 to 14 when the processor executes.
  43. 一种地址转换控制装置,应用于第一终端,包括:An address translation control device, applied to a first terminal, comprising:
    第三发送模块,用于向第二网元发送第二请求消息,所述第二请求消息用于向所述第二网元请求执行数据地址转换过程。A third sending module, configured to send a second request message to a second network element, where the second request message is used to request the second network element to perform a data address translation process.
  44. 一种终端,所述终端为第一终端,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求15至26任一项所述的地址转换控制方法的步骤。A terminal, the terminal is a first terminal, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, wherein the program or instruction is executed by the processor When executed, the steps of the address translation control method according to any one of claims 15 to 26 are realized.
  45. 一种地址转换控制装置,应用于第二终端,包括:An address translation control device, applied to a second terminal, comprising:
    第一收发模块,用于接收第一终端发送的第一转移请求消息,向所述第 一终端发送第一转移请求接受消息;或者The first transceiver module is configured to receive the first transfer request message sent by the first terminal, and send the first transfer request acceptance message to the first terminal; or
    第二收发模块,用于向第一终端发送第二转移请求消息,接收所述第一终端发送的第二转移请求接受消息。The second transceiver module is configured to send a second transfer request message to the first terminal, and receive a second transfer request acceptance message sent by the first terminal.
  46. 一种终端,所述终端为第二终端,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求27至34任一项所述的地址转换控制方法的步骤。A terminal, the terminal being a second terminal, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, wherein the program or instruction is executed by the processor When executed, the steps of the address translation control method according to any one of claims 27 to 34 are realized.
  47. 一种地址转换控制装置,应用于应用服务器,包括:An address translation control device applied to an application server, comprising:
    第四发送模块,用于向第三网元发送第三请求消息,所述第三请求消息用于向所述第三网元请求更新第一规则,所述第一规则用于第一网元执行数据地址转换过程。A fourth sending module, configured to send a third request message to a third network element, where the third request message is used to request the third network element to update a first rule, and the first rule is used for the first network element Perform data address translation process.
  48. 一种应用服务器,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,其中,所述程序或指令被所述处理器执行时实现如权利要求35或36所述的地址转换控制方法的步骤。An application server, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, wherein the program or instruction is executed by the processor to achieve claim 35 Or the step of the address conversion control method described in 36.
  49. 一种可读存储介质,所述可读存储介质上存储程序或指令,其中,所述程序或指令被处理器执行时实现如权利要求1至36任一项所述的地址转换控制方法的步骤。A readable storage medium, on which a program or instruction is stored, wherein, when the program or instruction is executed by a processor, the steps of the address translation control method according to any one of claims 1 to 36 are implemented .
  50. 一种芯片,包括处理器和通信接口,其中,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至36任一项所述的地址转换控制方法的步骤。A chip comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the address translation control according to any one of claims 1 to 36 method steps.
  51. 一种计算机程序产品,其中,所述计算机程序产品被存储在非瞬态的可读存储介质中,所述计算机程序产品被至少一个处理器执行以实现如权利要求1至36任一项所述的地址转换控制方法的步骤。A computer program product, wherein the computer program product is stored in a non-transitory readable storage medium, and the computer program product is executed by at least one processor to implement any one of claims 1 to 36 The steps of the address translation control method.
  52. 一种通信设备,被配置为执行如权利要求1至36任一项所述的地址转换控制方法的步骤。A communication device configured to execute the steps of the address translation control method according to any one of claims 1 to 36.
PCT/CN2022/112693 2021-08-20 2022-08-16 Address conversion control method and apparatus, and terminal and network element WO2023020465A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110961571.1 2021-08-20
CN202110961571.1A CN115714985A (en) 2021-08-20 2021-08-20 Address translation control method, device, terminal and network element

Publications (1)

Publication Number Publication Date
WO2023020465A1 true WO2023020465A1 (en) 2023-02-23

Family

ID=85230202

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/112693 WO2023020465A1 (en) 2021-08-20 2022-08-16 Address conversion control method and apparatus, and terminal and network element

Country Status (2)

Country Link
CN (1) CN115714985A (en)
WO (1) WO2023020465A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119180A (en) * 2007-09-12 2008-02-06 当代天启技术(北京)有限公司 Data transmission method of intelligent domestic system
WO2016115669A1 (en) * 2015-01-19 2016-07-28 华为技术有限公司 Data communication method and terminal
EP3829142A1 (en) * 2019-11-26 2021-06-02 Deutsche Telekom AG Method for supporting nat functionality in a 5g core network and network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119180A (en) * 2007-09-12 2008-02-06 当代天启技术(北京)有限公司 Data transmission method of intelligent domestic system
WO2016115669A1 (en) * 2015-01-19 2016-07-28 华为技术有限公司 Data communication method and terminal
EP3829142A1 (en) * 2019-11-26 2021-06-02 Deutsche Telekom AG Method for supporting nat functionality in a 5g core network and network

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI, HISILICON: "Discussion on support of NAT in 5GS", 3GPP DRAFT; S2-1911742, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Reno, NV, USA; 20191118 - 20191122, 8 November 2019 (2019-11-08), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051821819 *
WILL BE SA2: "draft Reply LS on Support of Network Address Translation in the User Plane function", 3GPP DRAFT; S2-1911889, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Reno, US; 20191118 - 20191122, 8 November 2019 (2019-11-08), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051821948 *

Also Published As

Publication number Publication date
CN115714985A (en) 2023-02-24

Similar Documents

Publication Publication Date Title
CN109315017A (en) A kind of communication means that realizing dual-card dual-standby dual-pass and terminal
WO2023020431A1 (en) Computing power resource determination method and device
WO2023020465A1 (en) Address conversion control method and apparatus, and terminal and network element
WO2023020466A1 (en) Data processing method and apparatus, terminal, access network device, and core network device
WO2023005898A1 (en) Multi-terminal joint session management method, network side device and terminal
WO2023179595A1 (en) Session channel establishment method and apparatus for non-3gpp device, and device
WO2024061091A1 (en) Network communication method and apparatus, and network-side device, terminal and medium
WO2023143420A1 (en) Device management method and apparatus
WO2023143423A1 (en) Information acquisition, storage and reporting method and device, terminal, and network function
WO2023143450A1 (en) Method for configuring data processing rule, and terminal and network-side device
WO2023143414A1 (en) Data transmission method and apparatus, configuration method and apparatus, and terminal and network-side device
WO2023083174A1 (en) Subscription update method and device, network element, and medium
WO2023143436A1 (en) Data forwarding method and apparatus, and terminal device and network device
WO2024022163A1 (en) Positioning method, terminal and network device
WO2024032499A1 (en) Dns query method and communication device
WO2024061205A1 (en) Parameter acquisition method and apparatus, first network function, and second network function
WO2024022182A1 (en) Information query method and apparatus, terminal, and network side device
WO2023280022A1 (en) Multi-path communication method, and device
WO2024037515A1 (en) Message transmitting method, communication device, and storage medium
WO2023020378A1 (en) Method for multi-ue aggregated transmission of data, and device
WO2024022210A1 (en) Pegc registration methods, apparatus, and communication device
WO2022206663A1 (en) Pdu session establishment method, related device and readable storage medium
WO2023143441A1 (en) Notification method, first network function, and second network function
WO2024027578A1 (en) Traffic routing method and apparatus, and device
WO2024001954A1 (en) Identifier configuration methods and apparatus, terminal and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22857777

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE