CN114363975B - Data communication method, device, electronic equipment and storage medium - Google Patents

Data communication method, device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114363975B
CN114363975B CN202210048306.9A CN202210048306A CN114363975B CN 114363975 B CN114363975 B CN 114363975B CN 202210048306 A CN202210048306 A CN 202210048306A CN 114363975 B CN114363975 B CN 114363975B
Authority
CN
China
Prior art keywords
amf
request message
session
information
ran
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN202210048306.9A
Other languages
Chinese (zh)
Other versions
CN114363975A (en
Inventor
刘磊
黄承伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Ailingke Technology Co ltd
Original Assignee
Beijing Ailingke Technology Co ltd
Filing date
Publication date
Application filed by Beijing Ailingke Technology Co ltd filed Critical Beijing Ailingke Technology Co ltd
Priority to CN202210048306.9A priority Critical patent/CN114363975B/en
Publication of CN114363975A publication Critical patent/CN114363975A/en
Application granted granted Critical
Publication of CN114363975B publication Critical patent/CN114363975B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The application provides a data communication method, a device, electronic equipment and a storage medium, and relates to the technical field of communication, wherein an access and mobile management function (AMF) receives a service request message sent when a terminal needs to be switched from an idle state to a connection state; AMF generates N2 request message according to the service request message and the preset tunnel information; the AMF sends an N2 request message to the radio access network RAN and receives an N2 response message returned by the radio access network RAN; the AMF obtains the creation result of the N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message, so that after the AMF receives the service request message sent when the terminal needs to be switched from the idle state to the connection state every time, the AMF can generate the N2 request message according to the service request message and the preset tunnel information without carrying out multiple signaling interactions with the SMF, the UPF and the like, network resources can be saved, and the interaction efficiency of the service request flow can be improved.

Description

Data communication method, device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a data communication method, a data communication device, an electronic device, and a storage medium.
Background
The fifth generation mobile communication technology (5 th Generation Mobile Communication Technology, abbreviated as 5G) is a new generation broadband mobile communication technology with high speed, low time delay and large connection characteristics, and is a network infrastructure for realizing man-machine object interconnection.
In the existing process of utilizing the 5G network to communicate, when the terminal is in an idle state and there is uplink data to be sent, the service request flow needs to be triggered, and the sending of the uplink data is completed by greatly increasing the number of signaling in the network.
It can be seen that the existing service request flow is relatively simple to set, so that the problem of relatively high network resource consumption often exists in the communication process.
Disclosure of Invention
The application aims to overcome the defects in the prior art and provide a data communication method, a device, electronic equipment and a storage medium, which can reduce network resources consumed in a service request flow and improve interaction efficiency of the service request flow.
In order to achieve the above purpose, the technical scheme adopted by the embodiment of the application is as follows:
In a first aspect, the present invention provides a data communication method, the method comprising:
The access and mobile management function AMF receives a service request message sent when the terminal needs to be switched from an idle state to a connection state, wherein the service request message comprises: PDU session state and uplink data state;
the AMF generates an N2 request message according to the service request message and preset tunnel information; the preset tunnel information includes: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service receiving information at the UPF side of the user plane function;
the AMF sends the N2 request message to a Radio Access Network (RAN), and receives an N2 response message returned by the Radio Access Network (RAN), wherein the N2 response message comprises: n3 tunnel information at the RAN side of the wireless access network;
and the AMF acquires the creation result of the N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message.
In an alternative embodiment, the AMF obtains a result of creating the N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message, including:
the AMF sends a session management context update request message to a session management function SMF according to the N2 response message so as to send a session update request to a user plane function UPF through the SMF, wherein the session management context update request message comprises: the session update request includes N3 tunnel information at the RAN side: n3 tunnel information at RAN side;
The AMF receives an updated session management context response message returned by the SMF, wherein the updated session management context response message is generated by the SMF according to a session update response message returned by the UPF, the updated session management context response message comprises a creation result of an N3 tunnel between the RAN and the UPF, and the session update response message comprises a creation result of the N3 tunnel between the RAN and the UPF.
In an optional embodiment, before the AMF receives a service request message sent when the terminal needs to switch from the idle state to the connected state, the method further includes:
the AMF receives a PDU session creation request message sent by a terminal;
The AMF receives an N1N2 message transmission request sent by the session management function SMF according to the PDU session creation request message, wherein the N1N2 message transmission request comprises: n2 session information, the N2 session information comprising: n3 tunnel information of a user plane function UPF side;
And the AMF generates the preset tunnel information according to the N1N2 message transmission request.
In an optional embodiment, the generating, by the AMF, the preset tunnel information according to the N1N2 message transmission request includes:
The AMF extracts the N2 session information according to the N1N2 message transmission request;
and the AMF generates the preset tunnel information according to the N2 session information.
In an alternative embodiment, when the terminal switches from the connected state to the idle state, the UPF is indicated to clear the N3 tunnel information of the RAN side, and the N3 tunnel information of the home side is reserved.
In a second aspect, the present invention provides a data communication method, comprising:
The radio access network RAN receives an N2 request message sent by an access and mobility management function AMF; the N2 request message is generated by the AMF according to a service request message and preset tunnel information, where the service request message is a request message sent by the AMF when a terminal received by the AMF needs to switch from an idle state to a connection state, and the service request message includes: PDU session state and uplink data state;
The preset tunnel information includes: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service receiving information at the UPF side of the user plane function;
The RAN returns an N2 response message to the AMF according to the N2 request message so that the AMF obtains a creation result of an N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message, wherein the N2 response message comprises: n3 tunnel information on the radio access network RAN side.
In a third aspect, the present invention provides a data communication method, comprising:
In the PDU session establishment process, a session management function SMF sends an N1N2 message transmission request to an access and mobility management function AMF, so that the AMF obtains N2 session information and generates preset tunnel information according to the N1N2 message transmission request, generates an N2 request message according to a service request message and the preset tunnel information, sends the N2 request message to a radio access network RAN, receives an N2 response message returned by the radio access network RAN, and obtains a creation result of an N3 tunnel between the radio access network RAN and a user plane function UPF according to the N2 response message;
Wherein, the preset tunnel information includes: the N2 session information, the N2 session information including: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service receiving information at the UPF side of the user plane function;
the service request message is a request message sent when the terminal received by the AMF needs to switch from an idle state to a connection state, and the service request message includes: PDU session state and uplink data state;
the N2 response message includes: n3 tunnel information on the radio access network RAN side.
In a fourth aspect, the present invention provides a data communication method, the method comprising:
when a terminal needs to be switched from an idle state to a connection state, sending a service request message to an access and mobile management function (AMF) so that the AMF obtains a creation result of an N3 tunnel between a Radio Access Network (RAN) and a User Plane Function (UPF), wherein the creation result of the N3 tunnel between the RAN and the UPF is obtained by the AMF according to an N2 response message, the N2 response message is returned by the RAN according to an N2 request message sent by the AMF, and the N2 request message is generated by the AMF according to the service request message and preset tunnel information;
the preset tunnel information includes: in the PDU session establishment process, the access and mobile management function AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF;
The N2 session information includes: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: the user plane function UPF side receives the message by the N3 tunnel information and the service, and the N2 response message comprises: n3 tunnel information at the RAN side of the wireless access network;
the service request message includes: PDU session state and uplink data state.
In a fifth aspect, the present invention provides a data communication apparatus comprising:
The receiving module is used for accessing the service request message sent when the AMF receiving terminal needs to be switched from the idle state to the connection state, and the service request message comprises: PDU session state and uplink data state;
The generation module is used for generating an N2 request message according to the service request message and preset tunnel information by the AMF; the preset tunnel information includes: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service receiving information at the UPF side of the user plane function;
A sending module, configured to send the N2 request message to a radio access network RAN by using the AMF, and receive an N2 response message returned by the radio access network RAN, where the N2 response message includes: n3 tunnel information at the RAN side of the wireless access network;
and the acquiring module is used for acquiring the creation result of the N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message by the AMF.
In an optional implementation manner, the acquiring module is specifically configured to send, according to the N2 response message, an update session management context request message to a session management function SMF, so as to send, by the SMF, a session update request to a user plane function UPF, where the update session management context request message includes: the session update request includes N3 tunnel information at the RAN side: n3 tunnel information at RAN side;
The AMF receives an updated session management context response message returned by the SMF, wherein the updated session management context response message is generated by the SMF according to a session update response message returned by the UPF, the updated session management context response message comprises a creation result of an N3 tunnel between the RAN and the UPF, and the session update response message comprises a creation result of the N3 tunnel between the RAN and the UPF.
In an optional implementation manner, the receiving module is further configured to receive a PDU session creation request message sent by the terminal by using the AMF;
The AMF receives an N1N2 message transmission request sent by the session management function SMF according to the PDU session creation request message, wherein the N1N2 message transmission request comprises: n2 session information, the N2 session information comprising: n3 tunnel information of a user plane function UPF side;
And the AMF generates the preset tunnel information according to the N1N2 message transmission request.
In an optional implementation manner, the generating module is specifically configured to extract the N2 session information according to the N1N2 message transmission request by using the AMF;
and the AMF generates the preset tunnel information according to the N2 session information.
In an alternative embodiment, when the terminal switches from the connected state to the idle state, the UPF is indicated to clear the N3 tunnel information of the RAN side, and the N3 tunnel information of the home side is reserved.
In a sixth aspect, the present invention provides a data communication method apparatus, including:
the receiving module is used for receiving an N2 request message sent by an access and mobility management function (AMF) by the Radio Access Network (RAN); the N2 request message is generated by the AMF according to a service request message and preset tunnel information, where the service request message is a request message sent by the AMF when a terminal received by the AMF needs to switch from an idle state to a connection state, and the service request message includes: PDU session state and uplink data state;
The preset tunnel information includes: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service receiving information at the UPF side of the user plane function;
A return module, configured to return an N2 response message to the AMF according to the N2 request message, so that the AMF obtains a result of creating an N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message, where the N2 response message includes: n3 tunnel information on the radio access network RAN side.
In a seventh aspect, the present invention provides a data communication method apparatus, including:
A sending module, configured to send an N1N2 message transmission request to an access and mobility management function AMF by a session management function SMF in a PDU session establishment process, so that the AMF obtains N2 session information and generates preset tunnel information according to the N1N2 message transmission request, generates an N2 request message according to a service request message and the preset tunnel information, sends the N2 request message to a radio access network RAN, receives an N2 response message returned by the radio access network RAN, and obtains a creation result of an N3 tunnel between the radio access network RAN and a user plane function UPF according to the N2 response message;
Wherein, the preset tunnel information includes: the N2 session information, the N2 session information including: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service receiving information at the UPF side of the user plane function;
the service request message is a request message sent when the terminal received by the AMF needs to switch from an idle state to a connection state, and the service request message includes: PDU session state and uplink data state;
the N2 response message includes: n3 tunnel information on the radio access network RAN side.
In an eighth aspect, the present invention provides a data communication method apparatus, including:
A sending module, configured to send a service request message to an access and mobility management function AMF when a terminal needs to switch from an idle state to a connection state, so that the AMF obtains a creation result of an N3 tunnel between a radio access network RAN and a user plane function UPF, where the creation result of the N3 tunnel between the RAN and the UPF is obtained by the AMF according to an N2 response message, where the N2 response message is returned by the RAN according to the N2 request message sent by the AMF, and the N2 request message is generated by the AMF according to the service request message and preset tunnel information;
the preset tunnel information includes: in the PDU session establishment process, the access and mobile management function AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF;
The N2 session information includes: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: the user plane function UPF side receives the message by the N3 tunnel information and the service, and the N2 response message comprises: n3 tunnel information at the RAN side of the wireless access network;
the service request message includes: PDU session state and uplink data state.
In a ninth aspect, the present invention provides an electronic apparatus, comprising: a processor, a storage medium, and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is operating, the processor executing the machine-readable instructions to perform the steps of the data communication method as in any of the previous embodiments.
In a tenth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of a data communication method according to any of the preceding embodiments.
The beneficial effects of the application are as follows:
In the data communication method, the device, the electronic equipment and the storage medium provided by the embodiment of the application, the access and mobility management function AMF receives the service request message sent when the terminal needs to be switched from the idle state to the connection state, and the service request message comprises: PDU session state and uplink data state; AMF generates N2 request message according to the service request message and the preset tunnel information; the preset tunnel information comprises the following steps: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: n3 tunnel information of a user plane function UPF side; the AMF sends an N2 request message to the radio access network RAN, and receives an N2 response message returned by the radio access network RAN, wherein the N2 response message comprises: n3 tunnel information at the RAN side of the wireless access network; the AMF obtains the creation result of the N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message, so that after the AMF receives the service request message sent when the terminal needs to be switched from the idle state to the connection state every time, the AMF can generate the N2 request message according to the service request message and the preset tunnel information without carrying out multiple signaling interactions with the SMF, the UPF and the like, network resources can be saved, and the interaction efficiency of the service request flow is further improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a network architecture suitable for use in the method provided by embodiments of the present application;
fig. 2 is a schematic flow chart of a data communication method according to an embodiment of the present application;
fig. 3 is a flow chart of another data communication method according to an embodiment of the present application;
Fig. 4 is a flow chart of another data communication method according to an embodiment of the present application;
fig. 5 is a flow chart of another data communication method according to an embodiment of the present application;
fig. 6 is a flow chart of another data communication method according to an embodiment of the present application;
FIG. 7 is a schematic diagram of an interaction flow provided in an embodiment of the present application;
Fig. 8 is a schematic diagram of a functional module of a data communication device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures.
The technical scheme of the embodiment of the application can be applied to various local communication systems, such as: global mobile communications (global system for mobile communications, GSM) system, code division multiple access (code division multiple access, CDMA) system, wideband code division multiple access (wideband code division multiple access, WCDMA) system, general packet radio service (GENERAL PACKET radio service, GPRS), long term evolution (long term evolution, LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (time division duplex, TDD), universal mobile communications system (universal mobile telecommunication system, UMTS), worldwide interoperability for microwave access (worldwide interoperability for microwave access, wiMAX) communications system, fifth generation (5th generation,5G) communications system, or future new radio access technology (new radio access technology, NR), etc.
Fig. 1 is a schematic diagram of a network architecture suitable for use in the method provided by the embodiment of the present application. As shown in fig. 1, the network architecture may be, for example, a non-roaming (non-roaming) architecture. The network architecture may specifically include the following network elements:
1. Terminal equipment (UE): a user equipment, terminal, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or user device may be referred to. The UE may also be a cellular phone, a cordless phone, a session initiation protocol (session initiation protocol, SIP) phone, a wireless local loop (wireless local loop, WLL) station, a personal digital assistant (personal DIGITAL ASSISTANT, PDA), a handheld device with wireless communication capabilities, a computing device or other processing device connected to a wireless modem, a car-mounted device, a wearable device, a terminal device in a 5G network or a terminal device in a future evolved public land mobile communication network (public land mobile network, PLMN), etc., as well as an end device, a logical entity, a smart device, a terminal device such as a cell phone, a smart terminal, or a communication device such as a server, gateway, base station, controller, etc., or an internet of things (Internet of things, ioT) device such as a sensor, an electricity meter, a water meter, etc. The embodiment of the present application is not limited thereto.
2. Access Network (AN): the network access function is provided for authorized users in a specific area, and transmission tunnels with different qualities can be used according to the level of the users, the requirements of services and the like. The access network may be an access network employing different access technologies. There are two types of current radio access technologies: third generation partnership project (3rd generation partnership project,3GPP) access technologies (e.g., radio access technologies employed in 3G, 4G, or 5G systems) and non-third generation partnership project (non-3 GPP) access technologies. The 3GPP access technology refers to an access technology conforming to the 3GPP standard specification, and an access network employing the 3GPP access technology is referred to as a radio access network (radio access network, RAN), wherein an access network device in the 5G system is referred to as a next generation base station node (next generation Node Base station, gNB). The non-3GPP access technology refers to an access technology that does not conform to the 3GPP standard specification, for example, a null technology represented by an Access Point (AP) in WIFI.
An access network implementing access network functions based on wireless communication technology may be referred to as a radio access network (radio access network, RAN). The radio access network can manage radio resources, provide access service for the terminal, and further complete the forwarding of control signals and user data between the terminal and the core network.
An access network device may comprise, among other things, a device in an access network that communicates over the air-interface, through one or more sectors, with wireless terminals. The access network system may be configured to convert received air frames to and from internet protocol (internet protocol, IP) packets as a router between the wireless terminal and the rest of the access network, which may include an IP network. The radio access network system may also coordinate attribute management for the air interface. It should be understood that access network devices include, but are not limited to: an evolved node B (eNB), a radio network controller (radio network controller, RNC), a Node B (NB), a base station controller (base station controller, BSC), a base transceiver station (base transceiver station, BTS), a home base station (e.g., home evolved nodeB, or home node B, HNB), a Base Band Unit (BBU), an Access Point (AP) in a wireless fidelity (WIRELESS FIDELITY, WIFI) system, a wireless relay node, a wireless backhaul node, a transmission point (transmission and reception point, TRP, or transmission point, TP), etc., may also be 5G, e.g., NR, a gNB in a system, or a transmission point (TRP or TP), one or a group (including multiple antenna panels) of base stations in a 5G system antenna panels, or may also be network nodes constituting a gNB or transmission point, such as a baseband unit (BBU)), or a distributed unit (distribute dunit, DU), etc.
In some deployments, the gNB may include a centralized unit (centralized unit, CU) and DUs. The gNB may also include a Radio Unit (RU). The CU implements part of the functions of the gNB, the DU implements part of the functions of the gNB, for example, the CU implements the functions of a radio resource control (radio resource control, RRC), a packet data convergence layer protocol (PACKET DATA convergence protocol, PDCP) layer, and the DU implements the functions of a radio link control (radio link control, RLC), a medium access control (MEDIA ACCESS control, MAC), and a Physical (PHY) layer. Since the information of the RRC layer may eventually become information of the PHY layer or be converted from the information of the PHY layer, under this architecture, higher layer signaling, such as RRC layer signaling, may also be considered to be transmitted by the DU or by the du+cu. It is understood that the access network device may be a CU node, or a DU node, or a device comprising a CU node and a DU node. In addition, the CU may be divided into access network devices in an access network (radio access network, RAN), or may be divided into access network devices in a Core Network (CN), which is not limited herein.
3. Access and mobility management function (ACCESS AND mobility management function, AMF) entity: the method is mainly used for mobility management, access management and the like, and can be used for realizing other functions besides session management in the functions of a mobility management entity (mobility MANAGEMENT ENTITY, MME), such as legal interception, access authorization (or authentication) and the like. In the embodiment of the application, the method and the device can be used for realizing the functions of the access and mobile management network elements.
4. Session management function (session management function, SMF) entity: the method is mainly used for session management, internet protocol (Internet Protocol, IP) address allocation and management of the UE, terminal nodes of a selective manageable user plane function, policy control or charging function interface, downlink data notification and the like. In the embodiment of the application, the method and the device can be used for realizing the function of the session management network element.
5. User plane function (User Plane Function, UPF) entity: i.e. a data plane gateway. Can be used for packet routing and forwarding, or quality of service (quality of service, qoS) handling of user plane data, etc. User data may be accessed to a Data Network (DN) through the network element. In the embodiment of the application, the method and the device can be used for realizing the functions of the user plane gateway.
6. Policy control function (policy control function, PCF) entity: a unified policy framework for guiding network behavior, providing policy rule information for control plane function network elements (e.g., AMF, SMF network elements, etc.), and the like.
7. Unified data management (unified DATA MANAGEMENT, UDM) entity: for handling user identification, access authentication, registration, or mobility management, etc.
8. N3IWF (Non-3 GPP Inter Working Function ): is responsible for accessing untrusted non-3GPP access networks (e.g., wi-Fi) to the 5G core network. The UE and the N3IWF establish an IPsec tunnel, and the N3IWF is connected to a control plane and a user plane of the 5G core network through an N2 interface and an N3 interface respectively.
In the network architecture, an N1 interface is a reference point between a terminal and an AMF entity; the N2 interface is a reference point of AN and AMF entities, and is used for sending non-access stratum (NAS) messages; the N3 interface is a reference point between the (R) AN and the UPF entity, for data transmission, etc.; the N4 interface is a reference point between the SMF entity and the UPF entity, and is used for transmitting information such as tunnel identification information, data buffer indication information, downlink data notification message, and the like of the N3 connection; the N6 interface is a reference point between the UPF entity and the DN for data transfer, etc.
It should be understood that the network architecture applied to the embodiments of the present application is merely an exemplary network architecture described from the perspective of a conventional point-to-point architecture and a service architecture, and the network architecture to which the embodiments of the present application are applicable is not limited thereto, and any network architecture capable of implementing the functions of the respective network elements described above is applicable to the embodiments of the present application.
It should also be understood that the AMF entity, SMF entity, UPF entity, PCF entity and UDM entity shown in fig. 1 may be understood as network elements in the core network for implementing different functions, e.g. may be combined into network slices as required. The core network elements may be independent devices, or may be integrated in the same device to implement different functions, which is not limited in the present application.
Hereinafter, for convenience of explanation, an entity for implementing an AMF will be referred to as an AMF, and an entity for implementing a PCF will be referred to as a PCF. It should be understood that the above designations are merely for distinguishing between different functions, and do not represent that these network elements are separate physical devices, and the specific form of the network elements is not limited in the present application, and may be, for example, integrated in the same physical device or may be separate physical devices. Furthermore, the above designations are merely for convenience in distinguishing between different functions and should not be construed as limiting the application in any way, and the application does not exclude the possibility of employing other designations in 5G networks and other networks in the future. For example, in a 6G network, some or all of the individual network elements may follow the terminology in 5G, possibly by other names, etc. The description is unified herein, and will not be repeated.
It should also be understood that the names of interfaces between the network elements in fig. 1 are only an example, and the names of interfaces in the specific implementation may be other names, which are not limited in particular by the present application. Furthermore, the names of the transmitted messages (or signaling) between the various network elements described above are also merely an example, and do not constitute any limitation on the function of the message itself.
In the prior art, a 5G network is used for communication, and when a terminal is in an idle state and uplink data needs to be sent, a service request flow is often required to be triggered, and the number of signaling in the network is greatly increased to complete the sending of the uplink data.
Specifically, when the terminal is in an idle state and there is uplink data to be transmitted, the terminal sends a Service Request message (Service Request) to the AMF, and carries a cell PDU session state (PDU session status) and an uplink data state (uplink data status); after the AMF receives the Service Request message (Service Request), it sends an update session management context Request message (UpdateSMContextRequest) to the SMF to synchronize PDU session state (PDU session status) and uplink data state (uplink data status) to the SMF; next, the SMF sends a session update request message (Session Modification Request) to the UPF to synchronize the PDU session state (PDU session status) and uplink data state (uplink data status) to the UPF; the UPF replies a session update response message (Session Modification Response) to the SMF, carrying a PDU session state synchronization result and N3 tunnel information at the UPF side; the SMF replies an update session management context request response message (UpdateSMContextResponse) to the AMF, carrying a PDU session state synchronization result and N3 tunnel information on the UPF side, and then, after the AMF carries out correlation processing, obtaining a creation result of the N3 tunnel between the radio access network RAN and the user plane function UPF.
It can be seen that a large amount of signaling exists in the existing service request flow, so that a problem of relatively high network resource consumption often exists in the communication process.
In view of this, the present application provides a data communication method, which can reduce network resources consumed in a service request flow without affecting an original communication function, and can also improve interaction efficiency of the service request flow.
Fig. 2 is a schematic flow chart of a data communication method according to an embodiment of the present application, and an execution subject of the method may be an access and mobility management function AMF in a local communication system. As shown in fig. 2, the method may include:
s101, the AMF receives a service request message sent when the terminal needs to be switched from an idle state to a connection state.
Wherein the service request message includes: a PDU session state (PDU session status) and an upstream data state (uplink data status).
It can be understood that, when the AMF receives a service request message sent when the terminal needs to switch from the idle state to the connected state, which indicates that the terminal needs to send uplink data to the network side, the AMF may send a service request message to request to establish a communication link between the radio access network RAN and the user plane function UPF, that is, an N3 tunnel. Wherein PDU session status may indicate a PDU session identifier that is activated in the PDU session establishment process and a PDU session identifier that is not activated, which may correspond to 15 PDU sessions that may be used for the terminal; uplink data status may indicate a pdu session identification that uplink data needs to be sent.
S102, the AMF generates an N2 request message according to the service request message and the preset tunnel information.
The preset tunnel information comprises the following steps: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: the user plane function UPF side N3 tunnel information and service accept message.
Referring to the PDU session establishment procedure in the prior art, in the process of initiating the PDU session creation request by the terminal, the SMF may send an N1N2 message transmission request (N1N 2 MESSEGETRANSFER) to the AMF, and then, at this time, for the AMF, may acquire N2 session information (N2 sm info) in the message according to the N1N2 message transmission request (N1N 2 MESSEGETRANSFER), where the N2 session information may include N3 tunnel information on the user plane function UPF side, and optionally, the N3 tunnel information on the UPF side may include: the N3 tunnel endpoint identifier allocated on the UPF side is not limited herein, and may be different according to the actual application scenario. Further, for the AMF, an N2 Request message (N2 Request) may be generated according to the N2 session information and the service Request message, where the N2 Request message (N2 Request) may carry N3 tunnel information and a service accept message (SERVICE ACCEPT) on the user plane function UPF side.
The specific value of the N3 tunnel information on the UPF side in the N2 request message may be obtained according to the N2 session information; in some embodiments, depending on the actual application scenario, the service accept message may include: PDU session state (PDU session status), PDU session successful activation result (PDU session reactivation result), or reason for PDU session not being successfully activated (PDU session reactivation result error cause). Wherein PDU session reactivation result may indicate that, in the pdu session identifier indicated by uplink data status that there is uplink data to be sent, the pdu session identifier that is successfully activated; PDU session reactivation result error cause may indicate a specific reason for being unable to be activated when there is a pdu session that cannot be activated in the pdu session identifier indicated in uplink data status that there is upstream data to be sent.
S103, the AMF sends an N2request message to the radio access network RAN, and receives an N2 response message returned by the radio access network RAN, wherein the N2 response message comprises: n3 tunnel information on the radio access network RAN side.
The AMF may further send the generated N2 Request message (N2 Request) to the RAN, and the RAN may return N3 tunnel information of the home terminal, that is, N3 tunnel information on the RAN side, to the AMF when receiving the N2 Request message. Alternatively, the N3 tunnel information of the RAN side may include: the N3 tunnel endpoint identity assigned at the RAN side, etc., is not limited herein.
S104, the AMF obtains the creation result of the N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message.
Based on the above description, the AMF may acquire the N3 tunnel information on the RAN side according to the N2 response message returned by the RAN, and then may further acquire, by using an SMF network element and a UPF network element in the local communication system, a creation result of the N3 tunnel between the RAN and the UPF, where the creation result may optionally include: an indication of whether the N3 tunnel was successfully created, a tunnel endpoint identification of the N3 tunnel that was successfully created, etc. It can be understood that if the creation result indicates that the creation of the N3 tunnel between the RAN and the UPF is successful, uplink data may be sent to the network side through the N3 tunnel. In this process, it can be seen that, after the AMF in the embodiment of the present application receives the service request message sent when the terminal needs to switch from the idle state to the connection state, the N2 request message can be directly generated according to the service request message and the preset tunnel information.
In summary, an embodiment of the present application provides a data communication method, including: the access and mobility management function AMF receives a service request message sent when the terminal needs to be switched from an idle state to a connection state, wherein the service request message comprises: PDU session state and uplink data state; AMF generates N2 request message according to the service request message and the preset tunnel information; the preset tunnel information comprises the following steps: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: n3 tunnel information of a user plane function UPF side; the AMF sends an N2 request message to the radio access network RAN, and receives an N2 response message returned by the radio access network RAN, wherein the N2 response message comprises: n3 tunnel information at the RAN side of the wireless access network; the AMF obtains the creation result of the N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message, so that after the AMF receives the service request message sent when the terminal needs to be switched from the idle state to the connection state every time, the AMF can generate the N2 request message according to the service request message and the preset tunnel information without carrying out multiple signaling interactions with the SMF, the UPF and the like, network resources can be saved, and the interaction efficiency of the service request flow is further improved.
Fig. 3 is a flow chart of another data communication method according to an embodiment of the present application. Optionally, as shown in fig. 3, the step of obtaining, by the AMF, a creation result of the N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message may include:
s201, AMF sends a request message for updating session management context to session management function SMF according to N2 response message, so as to send a session update request to user plane function UPF through SMF.
Wherein updating the session management context request message comprises: the N3 tunnel information at the RAN side, the session update request includes: n3 tunnel information on the RAN side.
After the AMF receives the N2 response message, an update session management context request message (UpdateSMContextRequest) may be sent to the SMF, where the message may carry N3 tunnel information on the RAN side; for the SMF, further, the SMF may send a session update request (Session Modification Request) to the UPF, where the session update request may carry N3 tunnel information on the RAN side.
S202, the AMF receives an updated session management context response message returned by the SMF, and the updated session management context response message is generated by the SMF according to the session update response message returned by the UPF.
The session update response message includes a creation result of an N3 tunnel between the RAN and the UPF, and the session update response message includes a creation result of an N3 tunnel between the RAN and the UPF.
Based on the above description, for the UPF, after receiving the session update request (Session Modification Request) sent by the SMF, the UPF may return a session update response message (Session Modification Response) to the SMF, and carry a creation result of the N3 tunnel between the RAN and the UPF, where the creation result of the N3 tunnel may specifically include: the RAN-side assigned N3 tunnel endpoint identification, the UPF-side assigned N3 tunnel endpoint identification, etc., are not limited herein.
For the SMF, the SMF may generate an update session management context response message (UpdateSMContextResponse) after receiving the session update response message (Session Modification Response) returned by the UPF, and send the update session management context response message (UpdateSMContextResponse) to the AMF, where the response message may carry the creation result of the N3 tunnel between the RAN and the UPF. It can be understood that, at this time, the AMF may obtain a creation result of the N3 tunnel, and if the creation result indicates that the N3 tunnel between the RAN and the UPF is created successfully, uplink data may be sent to the network side through the N3 tunnel.
Fig. 4 is a flow chart of another data communication method according to an embodiment of the present application, where, as shown in fig. 4, before an AMF receives a service request message sent when a terminal needs to switch from an idle state to a connected state, the method further includes:
S301, the AMF receives a PDU session creation request message sent by the terminal.
S302, the AMF receives an N1N2 message transmission request sent by the session management function SMF according to the PDU session creation request message.
Wherein the N1N2 message transmission request includes: n2 session information, the N2 session information including: the user plane functions the N3 tunnel information on the UPF side.
S303, AMF generates preset tunnel information according to the N1N2 message transmission request.
Before the AMF receives the service request message sent when the terminal needs to switch from the idle state to the connection state, the terminal may send a PDU session creation request message to the AMF, the AMF may send a corresponding signaling to the SMF according to the PDU session creation request message, and after performing multiple signaling interactions through network elements such as PCF, UPF, UDM, the SMF may send an N1N2 message transmission request (N1N 2 MESSEGETRANSFER) to the AMF, for the AMF, the AMF may generate preset tunnel information according to the N1N2 message transmission request.
Fig. 5 is a flow chart of another data communication method according to an embodiment of the present application. Optionally, as shown in fig. 5, the step of generating the preset tunnel information by the AMF according to the N1N2 message transmission request may include:
S401, AMF extracts N2 session information according to the N1N2 message transmission request.
S402, AMF generates preset tunnel information according to the N2 session information.
As can be seen from the above description, the N1N2 message transmission request (N1N 2 MESSEGETRANSFER) may include N2 session information (N2 sm info), and the N2 session information may include: the user plane function UPF side may include N3 tunnel information, i.e. the N2 session information may include tunnel endpoints allocated by the UPF side for the N3 tunnel during the PDU session. Therefore, after the AMF acquires the N1N2 message transmission request, the AMF can extract N2 session information therein, preset tunnel information can be generated according to the N2 session information, and further after the AMF receives a service request message sent when the terminal needs to be switched from an idle state to a connection state, the AMF can generate the N2 request message according to the service request message and the preset tunnel information stored in advance, so that a repeated signaling interaction process of acquiring N3 tunnel information on the UPF side between the AMF and the SMF and UPF can be omitted, network resources can be saved, and the interaction efficiency of the service request flow can be improved.
Optionally, when the terminal switches from the connection state to the idle state, the UPF is indicated to clear the N3 tunnel information on the RAN side, and the N3 tunnel information on the home side is reserved.
In order to further improve the interaction efficiency of the service request flow in the application, for the UPF, when the terminal is switched from a connection state to an idle state, the SMF can instruct the UPF to clear the N3 tunnel information of the RAN side and reserve the N3 tunnel information of the current side, wherein the UPF can improve the operation performance of the UPF by clearing the N3 tunnel information of the RAN side, and the UPF can timely determine the endpoint mark distributed for the N3 tunnel on the UPF side according to the N3 tunnel information reserved on the current side when receiving the session update request (Session Modification Request) sent by the SMF, so that a session update response message can be timely returned to the SMF, thereby improving the interaction efficiency of the service request flow.
Fig. 6 is a flow chart of another data communication method according to an embodiment of the present application, as shown in fig. 6, the method may include:
s501, the radio access network RAN receives an N2 request message sent by an access and mobility management function AMF.
The N2 request message is generated by the AMF according to the service request message and preset tunnel information, where the service request message is a request message sent when the terminal received by the AMF needs to switch from an idle state to a connection state, and the service request message includes: PDU session state and uplink data state.
The preset tunnel information comprises the following steps: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: the user plane function UPF side N3 tunnel information and service accept message.
S502, the RAN returns an N2 response message to the AMF according to the N2 request message so that the AMF obtains a creation result of an N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message, wherein the N2 response message comprises: n3 tunnel information on the radio access network RAN side.
In the embodiment of the present application, the description of the N2 request message and the preset tunnel information can be referred to the related description, and will not be repeated here.
For the RAN, the RAN can receive an N2 request message generated and sent by the AMF according to the service request message and the preset tunnel information; according to the N2 request message, an N2 response message can be returned to the AMF, and the AMF can further acquire the creation result of the N3 tunnel between the RAN and the UPF through an SMF network element and a UPF network element in a local communication system according to the N3 tunnel information on the RAN side of the wireless access network in the N2 response message. If the creation result indicates that the creation of the N3 tunnel between the RAN and the UPF is successful, uplink data may be sent to the network side through the N3 tunnel.
By applying the embodiment of the application, after the AMF receives the service request message sent when the terminal needs to be switched from the idle state to the connection state, the N3 tunnel information of the UPF side can be directly obtained through the preset tunnel information, so that the repeated signaling interaction process of the AMF, the SMF and the UPF for obtaining the N3 tunnel information of the UPF side can be omitted, network resources can be saved, and the interaction efficiency of the service request flow can be improved.
Optionally, the embodiment of the application further provides a data communication method, which may include:
In the PDU session establishment process, a session management function SMF sends an N1N2 message transmission request to an access and mobility management function AMF, so that the AMF obtains N2 session information and generates preset tunnel information according to the N1N2 message transmission request, generates N2 request information according to the service request information and the preset tunnel information, sends the N2 request information to a radio access network RAN, receives an N2 response message returned by the radio access network RAN, and obtains a creation result of an N3 tunnel between the radio access network RAN and a user plane function UPF according to the N2 response message.
The preset tunnel information comprises the following steps: n2 session information, the N2 session information including: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service acceptance information of a user plane function UPF side; the service request message is a request message sent when the terminal received by the AMF needs to switch from an idle state to a connection state, and the service request message includes: PDU session state and uplink data state; the N2 response message includes: n3 tunnel information on the radio access network RAN side.
In the embodiment of the present application, the description of the N2 request message and the preset tunnel information can be referred to the related description, and will not be repeated here.
For the SMF, the SMF may send an N1N2 message transmission request to the AMF in the PDU session establishment process, and then the AMF may obtain N2 session information and generate preset tunnel information according to the N1N2 message transmission request, where the preset tunnel information may include: n3 tunnel information on the UPF side.
By applying the embodiment of the application, after the AMF receives the service request message sent when the terminal needs to be switched from the idle state to the connection state, the N3 tunnel information of the UPF side can be directly obtained through the preset tunnel information, so that the repeated signaling interaction process of the AMF, the SMF and the UPF for obtaining the N3 tunnel information of the UPF side can be omitted, network resources can be saved, and the interaction efficiency of the service request flow can be improved.
Optionally, the embodiment of the application further provides a data communication method, which may include:
When the terminal needs to switch from the idle state to the connection state, a service request message is sent to an access and mobility management function AMF, so that the AMF obtains a creation result of an N3 tunnel between a radio access network RAN and a user plane function UPF.
The method comprises the steps that a creation result of an N3 tunnel between the RAN and the UPF is obtained by the AMF according to an N2 response message, wherein the N2 response message is returned by the RAN according to an N2 request message sent by the AMF, and the N2 request message is generated by the AMF according to a service request message and preset tunnel information; the preset tunnel information comprises the following steps: in the PDU session establishment process, accessing and moving management function AMF to obtain N2 session information through N1N2 message transmission request sent by session management function SMF; the N2 session information includes: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: the N3 tunnel information and service accept message at the user plane function UPF side, and the N2 response message includes: n3 tunnel information at the RAN side of the wireless access network; the service request message includes: PDU session state and uplink data state.
In the embodiment of the present application, the description of the N2 request message and the preset tunnel information can be referred to the related description, and will not be repeated here.
By applying the embodiment of the application, after the AMF receives the service request message sent when the terminal needs to be switched from the idle state to the connection state, the N3 tunnel information of the UPF side can be directly obtained through the preset tunnel information, so that the repeated signaling interaction process of the AMF, the SMF and the UPF for obtaining the N3 tunnel information of the UPF side can be omitted, network resources can be saved, and the interaction efficiency of the service request flow can be improved.
Fig. 7 is a schematic diagram of an interaction flow provided in an embodiment of the present application, and as shown in fig. 7, the method may include:
S601, when the terminal needs to switch from an idle state to a connection state, a Service Request message (Service Request) is sent to the AMF, wherein the Service Request message comprises: PDU session state and uplink data state.
S602, the AMF generates an N2Request message (N2 Request) according to the service Request message and the preset tunnel information, and sends the N2Request message (N2 Request) to the radio access network RAN.
The description of the preset tunnel information and the N2 Request message (N2 Request) may refer to the relevant parts, and will not be repeated herein.
S603, the RAN returns an N2 Response message (N2 Response) to the AMF according to the N2 Request message (N2 Request), where the N2 Response message (N2 Response) includes: n3 tunnel information on the radio access network RAN side.
S604, the AMF sends an update session management context request message (UpdateSMContextRequest) to the SMF according to the N2 Response message (N2 Response), and the update session management context request message (UpdateSMContextRequest) includes: n3 tunnel information on the RAN side.
S605, the SMF sends a session update request (Session Modification Request) to the UPF, the session update request (Session Modification Request) including: n3 tunnel information on the RAN side.
S606, the UPF returns a session update response message (Session Modification Response) to the SMF, the session update response message (Session Modification Response) including: creation of an N3 tunnel between RAN and UPF.
S607, the SMF returns an update session management context response message (UpdateSMContextResponse) to the AMF according to the session update response message (Session Modification Response), the update session management context response message (UpdateSMContextResponse) including: creation of an N3 tunnel between RAN and UPF.
Fig. 8 is a schematic diagram of a functional module of a data communication device according to an embodiment of the present application, where the device may be the aforementioned AMF, and the basic principle and the technical effects of the device are the same as those of the corresponding method embodiment, and for brevity, reference may be made to the corresponding contents of the method embodiment. As shown in fig. 8, the data communication apparatus 200 may include:
The receiving module 210 is configured to receive, by using the AMF, a service request message sent when the terminal needs to switch from an idle state to a connected state, where the service request message includes: PDU session state and uplink data state;
A generating module 220, configured to generate an N2 request message according to the service request message and preset tunnel information by using the AMF; the preset tunnel information includes: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service receiving information at the UPF side of the user plane function;
a sending module 230, configured to send the N2 request message to a radio access network RAN by using the AMF, and receive an N2 response message returned by the radio access network RAN, where the N2 response message includes: n3 tunnel information at the RAN side of the wireless access network;
an obtaining module 240, configured to obtain, according to the N2 response message, a result of creating the N3 tunnel between the radio access network RAN and the user plane function UPF by using the AMF.
In an alternative embodiment, the obtaining module 240 is specifically configured to send, according to the N2 response message, an update session management context request message to a session management function SMF, so as to send, by the SMF, a session update request to a user plane function UPF, where the update session management context request message includes: the session update request includes N3 tunnel information at the RAN side: n3 tunnel information at RAN side;
The AMF receives an updated session management context response message returned by the SMF, wherein the updated session management context response message is generated by the SMF according to a session update response message returned by the UPF, the updated session management context response message comprises a creation result of an N3 tunnel between the RAN and the UPF, and the session update response message comprises a creation result of the N3 tunnel between the RAN and the UPF.
In an optional implementation manner, the receiving module 210 is further configured to receive a PDU session creation request message sent by the terminal by using the AMF;
The AMF receives an N1N2 message transmission request sent by the session management function SMF according to the PDU session creation request message, wherein the N1N2 message transmission request comprises: n2 session information, the N2 session information comprising: n3 tunnel information of a user plane function UPF side;
And the AMF generates the preset tunnel information according to the N1N2 message transmission request.
In an optional implementation manner, the generating module 220 is specifically configured to extract the N2 session information according to the N1N2 message transmission request by using the AMF;
and the AMF generates the preset tunnel information according to the N2 session information.
In an alternative embodiment, when the terminal switches from the connected state to the idle state, the UPF is indicated to clear the N3 tunnel information of the RAN side, and the N3 tunnel information of the home side is reserved.
In a sixth aspect, the present invention provides a data communication method apparatus, including:
the receiving module is used for receiving an N2 request message sent by an access and mobility management function (AMF) by the Radio Access Network (RAN); the N2 request message is generated by the AMF according to a service request message and preset tunnel information, where the service request message is a request message sent by the AMF when a terminal received by the AMF needs to switch from an idle state to a connection state, and the service request message includes: PDU session state and uplink data state;
The preset tunnel information includes: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service receiving information at the UPF side of the user plane function;
A return module, configured to return an N2 response message to the AMF according to the N2 request message, so that the AMF obtains a result of creating an N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message, where the N2 response message includes: n3 tunnel information on the radio access network RAN side.
In a seventh aspect, the present invention provides a data communication method apparatus, including:
A sending module, configured to send an N1N2 message transmission request to an access and mobility management function AMF by a session management function SMF in a PDU session establishment process, so that the AMF obtains N2 session information and generates preset tunnel information according to the N1N2 message transmission request, generates an N2 request message according to a service request message and the preset tunnel information, sends the N2 request message to a radio access network RAN, receives an N2 response message returned by the radio access network RAN, and obtains a creation result of an N3 tunnel between the radio access network RAN and a user plane function UPF according to the N2 response message;
Wherein, the preset tunnel information includes: the N2 session information, the N2 session information including: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service receiving information at the UPF side of the user plane function;
the service request message is a request message sent when the terminal received by the AMF needs to switch from an idle state to a connection state, and the service request message includes: PDU session state and uplink data state;
the N2 response message includes: n3 tunnel information on the radio access network RAN side.
In an eighth aspect, the present invention provides a data communication method apparatus, including:
A sending module, configured to send a service request message to an access and mobility management function AMF when a terminal needs to switch from an idle state to a connection state, so that the AMF obtains a creation result of an N3 tunnel between a radio access network RAN and a user plane function UPF, where the creation result of the N3 tunnel between the RAN and the UPF is obtained by the AMF according to an N2 response message, where the N2 response message is returned by the RAN according to the N2 request message sent by the AMF, and the N2 request message is generated by the AMF according to the service request message and preset tunnel information;
the preset tunnel information includes: in the PDU session establishment process, the access and mobile management function AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF;
The N2 session information includes: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: the user plane function UPF side receives the message by the N3 tunnel information and the service, and the N2 response message comprises: n3 tunnel information at the RAN side of the wireless access network;
The service request message includes: a PDU session state and the uplink data state.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more Application SPECIFIC INTEGRATED Circuits (ASIC), or one or more microprocessors, or one or more field programmable gate arrays (Field Programmable GATE ARRAY FPGA), etc. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present application, which may be the aforementioned AMF, RAN, SMF or terminal, but is not limited thereto. As shown in fig. 9, the electronic device may include: processor 310, storage medium 320, and bus 330, storage medium 320 storing machine-readable instructions executable by processor 310. When the electronic device is running, processor 310 communicates with storage medium 320 via bus 330, processor 310 executes the machine-readable instructions to perform the steps of the method embodiments described above. The specific implementation manner and the technical effect are similar, and are not repeated here.
Optionally, the present application further provides a storage medium, on which a computer program is stored, which when being executed by a processor performs the steps of the above-described method embodiments. The specific implementation manner and the technical effect are similar, and are not repeated here.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical functional division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform part of the steps of the methods of the embodiments of the application. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The above is only a preferred embodiment of the present application, and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application. It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. The above is only a preferred embodiment of the present application, and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method of data communication, the method comprising:
The access and mobile management function AMF receives a service request message sent when the terminal needs to be switched from an idle state to a connection state, wherein the service request message comprises: PDU session state and uplink data state;
The AMF generates an N2 request message according to the service request message and preset tunnel information; the preset tunnel information includes: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: the user plane function UPF side N3 tunnel information and service acceptance information;
the AMF sends the N2 request message to a Radio Access Network (RAN), and receives an N2 response message returned by the Radio Access Network (RAN), wherein the N2 response message comprises: n3 tunnel information at the RAN side of the wireless access network;
the AMF obtains the creation result of the N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message;
The AMF obtains the creation result of the N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message, and the method comprises the following steps:
The AMF sends a session management context updating request message to a session management function SMF according to the N2 response message, and receives the session management context updating response message returned by the SMF; the update session management context request message includes: and the updated session management context response message comprises the creation result of the N3 tunnel between the RAN and the UPF.
2. The method of claim 1 wherein the SMF is configured to send a session update request to a user plane function UPF and to generate an update session management context response message from a session update response message returned by the UPF, the session update request comprising: and the session update response message comprises the creation result of the N3 tunnel between the RAN and the UPF.
3. The method of claim 1, wherein before the AMF receives a service request message sent when the terminal needs to switch from an idle state to a connected state, the method further comprises:
the AMF receives a PDU session creation request message sent by a terminal;
The AMF receives an N1N2 message transmission request sent by the session management function SMF according to the PDU session creation request message, wherein the N1N2 message transmission request comprises: n2 session information, the N2 session information comprising: n3 tunnel information of a user plane function UPF side;
And the AMF generates the preset tunnel information according to the N1N2 message transmission request.
4. The method of claim 3, wherein the AMF generating the preset tunnel information according to the N1N2 message transmission request comprises:
The AMF extracts the N2 session information according to the N1N2 message transmission request;
and the AMF generates the preset tunnel information according to the N2 session information.
5. The method according to any of claims 2-4, wherein when the terminal switches from a connected state to an idle state, the UPF is indicated to clear the N3 tunnel information on the RAN side, and the N3 tunnel information on the home side is reserved.
6. A method of data communication, comprising:
The radio access network RAN receives an N2 request message sent by an access and mobility management function AMF; the N2 request message is generated by the AMF according to a service request message and preset tunnel information, where the service request message is a request message sent by the AMF when a terminal received by the AMF needs to switch from an idle state to a connection state, and the service request message includes: PDU session state and uplink data state;
The preset tunnel information includes: in the PDU session establishment process, the AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF, wherein the N2 session information comprises: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service acceptance information of a user plane function UPF side;
the RAN returns an N2 response message to the AMF according to the N2 request message so that the AMF obtains a creation result of an N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message, wherein the N2 response message comprises: n3 tunnel information at the RAN side of the wireless access network;
The AMF is specifically configured to send an update session management context request message to a session management function SMF according to the N2 response message, and receive an update session management context response message returned by the SMF; the update session management context request message includes: and the updated session management context response message comprises the creation result of the N3 tunnel between the RAN and the UPF.
7. A method of data communication, comprising:
In the PDU session establishment process, a session management function SMF sends an N1N2 message transmission request to an access and mobility management function AMF, so that the AMF obtains N2 session information and generates preset tunnel information according to the N1N2 message transmission request, the AMF generates an N2 request message according to a service request message and the preset tunnel information, sends the N2 request message to a radio access network RAN, receives an N2 response message returned by the radio access network RAN, and obtains a creation result of an N3 tunnel between the radio access network RAN and a user plane function UPF according to the N2 response message;
Wherein, the preset tunnel information includes: the N2 session information, the N2 session information including: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: n3 tunnel information and service acceptance information of a user plane function UPF side;
the service request message is a request message sent when the terminal received by the AMF needs to switch from an idle state to a connection state, and the service request message includes: PDU session state and uplink data state;
the N2 response message includes: n3 tunnel information at the RAN side of the wireless access network;
The AMF obtains the creation result of the N3 tunnel between the radio access network RAN and the user plane function UPF according to the N2 response message, and the method comprises the following steps:
The AMF sends a session management context updating request message to a session management function SMF according to the N2 response message, and receives the session management context updating response message returned by the SMF; the update session management context request message includes: and the updated session management context response message comprises the creation result of the N3 tunnel between the RAN and the UPF.
8. A method of data communication, the method comprising:
when a terminal needs to be switched from an idle state to a connection state, sending a service request message to an access and mobile management function (AMF) so that the AMF obtains a creation result of an N3 tunnel between a Radio Access Network (RAN) and a User Plane Function (UPF), wherein the creation result of the N3 tunnel between the RAN and the UPF is obtained by the AMF according to an N2 response message, the N2 response message is returned by the RAN according to an N2 request message sent by the AMF, and the N2 request message is generated by the AMF according to the service request message and preset tunnel information;
the preset tunnel information includes: in the PDU session establishment process, the access and mobile management function AMF obtains N2 session information through an N1N2 message transmission request sent by a session management function SMF;
the N2 session information includes: the N3 tunnel information on the user plane function UPF side, the N2 request message includes: the N3 tunnel information and service acceptance message of the user plane function UPF side, the N2 response message includes: n3 tunnel information at the RAN side of the wireless access network;
The service request message includes: PDU session state and uplink data state;
The AMF is specifically configured to send an update session management context request message to a session management function SMF according to the N2 response message, and receive an update session management context response message returned by the SMF; the update session management context request message includes: and the updated session management context response message comprises the creation result of the N3 tunnel between the RAN and the UPF.
9. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating over the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the data communication method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the data communication method according to any of claims 1-7.
CN202210048306.9A 2022-01-17 Data communication method, device, electronic equipment and storage medium Active CN114363975B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210048306.9A CN114363975B (en) 2022-01-17 Data communication method, device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210048306.9A CN114363975B (en) 2022-01-17 Data communication method, device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114363975A CN114363975A (en) 2022-04-15
CN114363975B true CN114363975B (en) 2024-06-28

Family

ID=

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109392024A (en) * 2017-08-11 2019-02-26 华为技术有限公司 A kind of control method and relevant device of quality of service stream
CN111373792A (en) * 2017-11-19 2020-07-03 Lg电子株式会社 Handover method in wireless communication system and apparatus therefor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109392024A (en) * 2017-08-11 2019-02-26 华为技术有限公司 A kind of control method and relevant device of quality of service stream
CN111373792A (en) * 2017-11-19 2020-07-03 Lg电子株式会社 Handover method in wireless communication system and apparatus therefor

Similar Documents

Publication Publication Date Title
CN112995977B (en) Method and equipment for accessing target cell
US11864103B2 (en) Network slicing method and device, and storage medium
WO2020019961A1 (en) Communication method, access network device, and terminal device
CN113382468B (en) Address allocation method for local network device, electronic device, and storage medium
WO2011039571A1 (en) Apparatus and method for providing access to a local area network
WO2023279776A1 (en) Multi-mode terminal access control method and apparatus, electronic device, and storage medium
JP7383827B2 (en) Time synchronization methods, electronic equipment and storage media
WO2023066383A1 (en) Data transmission method and apparatus, and storage medium
CN114554620A (en) Data communication method, device, electronic equipment and storage medium
US20230254729A1 (en) Migration method and apparatus for iab-node
CN114980074B (en) Data communication method, device, equipment and medium based on virtual local area network
US20120252472A1 (en) Wireless communication system, user terminal, base station, and communication method
CN114363975B (en) Data communication method, device, electronic equipment and storage medium
CN114390622A (en) Information transmission method and device and communication equipment
CN114363975A (en) Data communication method, device, electronic equipment and storage medium
CN116056171B (en) Terminal switching system, terminal switching method, electronic equipment and storage medium
CN114630355B (en) Fault recovery method, device, equipment and storage medium based on core network
CN114745776B (en) Clock synchronization method, device, equipment and medium based on wireless network
WO2023273824A1 (en) Handover method and apparatus, network device and relay terminal
WO2023116627A1 (en) Information processing method and apparatus, and readable storage medium
WO2023066009A1 (en) Endogenous service transmission method and apparatus, and storage medium
WO2023241335A1 (en) Multicast service transmission processing method and apparatus
EP4383935A1 (en) Communication method and device
WO2023066337A1 (en) Data forwarding method and apparatus
WO2015042883A1 (en) Uplink service transmission method, downlink service transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant