CN116647938A - Request response method, apparatus and storage medium - Google Patents
Request response method, apparatus and storage medium Download PDFInfo
- Publication number
- CN116647938A CN116647938A CN202310678321.6A CN202310678321A CN116647938A CN 116647938 A CN116647938 A CN 116647938A CN 202310678321 A CN202310678321 A CN 202310678321A CN 116647938 A CN116647938 A CN 116647938A
- Authority
- CN
- China
- Prior art keywords
- session
- information
- network element
- history
- historical
- 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.)
- Pending
Links
- 230000004044 response Effects 0.000 title claims abstract description 114
- 238000000034 method Methods 0.000 title claims abstract description 113
- 230000008569 process Effects 0.000 claims abstract description 41
- 230000006870 function Effects 0.000 claims description 40
- 238000013523 data management Methods 0.000 claims description 38
- 238000007726 management method Methods 0.000 claims description 30
- 238000004891 communication Methods 0.000 abstract description 19
- ORQBXQOJMQIAOY-UHFFFAOYSA-N nobelium Chemical compound [No] ORQBXQOJMQIAOY-UHFFFAOYSA-N 0.000 description 25
- 238000011084 recovery Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 7
- 238000013459 approach Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000010295 mobile communication Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 238000013475 authorization Methods 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000003139 buffering effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 238000000802 evaporation-induced self-assembly Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000008447 perception Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- CSRZQMIRAZTJOY-UHFFFAOYSA-N trimethylsilyl iodide Substances C[Si](C)(C)I CSRZQMIRAZTJOY-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/18—Management of setup rejection or failure
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a request response method, a request response device and a storage medium, relates to the technical field of communication, and is used for solving the problem that network service cannot be realized easily due to failure of a contracted network. The method is applied to a first network element and comprises the following steps: receiving a session request message for requesting establishment of a session for the UE; the session request message includes session establishment information corresponding to the session; and responding to the session request message based on the session establishment information and the historical session information of the UE in the historical session process.
Description
Technical Field
The present application belongs to the field of communication technologies, and in particular, to a request response method, a request response device, and a storage medium.
Background
Currently, network services such as a registration procedure and a session establishment procedure of a UE in a fifth generation mobile communication technology (5th generation mobile communication technology,5G) network generally need to be implemented based on an authentication service function (authentication server function, AUSF) and a unified data management (unified data management, UDM) function of a subscription network side. As 5G network core functions, AUSF and UDM functions generally adopt a primary-standby deployment mode to enhance network disaster recovery capability.
However, under abnormal conditions such as bearing network faults, power supply faults, equipment faults or disaster recovery faults, AUSF and UDM functions of a contracted network side are easy to be invalid, so that network elements located in a 5G core network cannot respond to service requests, and network services cannot be realized.
Disclosure of Invention
The application provides a request response method, a request response device and a storage medium, which are used for solving the problem that network service cannot be realized easily due to the failure of a contracted network.
In order to achieve the above purpose, the application adopts the following technical scheme:
in a first aspect, a request response method is provided, applied to a first network element, and includes: receiving a session request message for requesting establishment of a session for the UE; the session request message includes session establishment information corresponding to the session; and responding to the session request message based on the session establishment information and the historical session information of the UE in the historical session process.
Optionally, when the first network element is an access and mobility management function (access and mobility management function, AMF) network element, before receiving the session request message for requesting to establish a session for the UE, the request response method further comprises:
receiving a registration request message sent by UE; the registration request message includes temporary identification information; the temporary identification information is used for identifying a historical AMF network element for providing network service for the UE; the history AMF network element stores history use information corresponding to the UE; the historical usage information includes security context information and historical session information;
When the user data management network element is in a working state, registering the UE on the user data management network element, and storing the security uplink information of the UE in the registration process;
when the user data management network element is in a failure state and is matched with the temporary identification information, the security context information corresponding to the UE is read, and a registration request message is responded based on the security context information;
when the user data management network element is in a failure state and is not matched with the temporary identification information, historical use information is acquired from the historical AMF network element based on the temporary identification information, and the registration request message is responded based on security context information in the historical use information.
Optionally, the session establishment information includes a data network name and network area information; the history session information includes first subscription information for performing service area management; the method for responding to the session request message based on the session establishment information and the historical session information of the UE in the historical session process specifically comprises the following steps:
acquiring historical session information;
determining a session management function (session management function, SMF) network element conforming to the data network name, the network area information and the first subscription information as a target SMF network element;
And sending a session request message for establishing a session for the UE to the target SMF network element.
Optionally, the session establishment information includes UE identification information and a data network name; the history session information comprises the corresponding relation between at least one history session and at least one SMF network element; the method for responding to the session request message based on the session establishment information and the historical session information of the UE in the historical session process specifically comprises the following steps:
acquiring historical session information;
determining at least one SMF network element with a corresponding relation with a target historical session as a target SMF network element; the target history session is used for representing a history session corresponding to the UE identification information and corresponding to the data network name;
and sending a session request message for establishing a session for the UE to the target SMF network element.
Optionally, after sending a session request message for establishing a session for the UE to the target SMF network element, the request response method further includes:
updating the corresponding relation between the session and the target SMF network element in the history use information;
and sending updated historical use information to other AMF network elements belonging to the same pool group.
Optionally, the session establishment information includes information on a network name and a network area of the data; when the first network element is an SMF network element, the history session information comprises second subscription information for session management; the method for responding to the session request message based on the session establishment information and the historical session information of the UE in the historical session process specifically comprises the following steps:
Acquiring historical session information;
determining a user plane function (user plane function, UPF) network element conforming to the data network name, the network area information and the second subscription information as a target UPF network element;
and respectively sending configuration information corresponding to the session to the UE and the target UPF network element.
Optionally, the session establishment information includes UE identification information and a data network name; when the first network element is an SMF network element, the history session information comprises the corresponding relation between at least one history session and at least one UPF network element; a method of responding to a request to establish a session based on session establishment information and historical session information, comprising:
acquiring historical session information;
determining a UPF network element with a corresponding relation with a target historical session in at least one UPF network element as a target UPF network element; the target history session is used for representing a history session corresponding to the UE identification information and corresponding to the data network name;
and respectively sending configuration information corresponding to the session to the UE and the target UPF network element.
Optionally, after sending configuration information corresponding to the session to the UE and the target UPF network element respectively, the method further includes:
updating the corresponding relation between the session and the target UPF network element in the history session information;
And sending updated historical session information to other UPF network elements belonging to the same pool group.
Optionally, the session establishment information includes temporary identification information, a data network name, network area information, and UE identification information; the temporary identification information is used for identifying a historical AMF network element for providing network service for the UE; the history AMF network element stores history session information corresponding to the UE; the history session information comprises the corresponding relation between at least one history session and at least one SMF network element; when the first network element is a mobility management entity (mobility management entity, MME), a method of responding to a request to establish a session based on session establishment information and historical session information, comprising:
acquiring historical session information from a historical AMF network element based on the temporary identification information;
determining a target SMF network element according to the data network name, the UE identification information and the historical session information, and respectively transmitting first configuration information corresponding to the session to the UE and the target SMF network element;
and determining a Serving Gateway (SGW) corresponding to the network area information, and respectively sending second configuration information corresponding to the session to the UE and the SGW.
In a second aspect, a request response device is provided, applied to a first network element, and includes: a receiving unit and a responding unit;
A receiving unit configured to receive a session request message for requesting establishment of a session for a UE; the session request message includes session establishment information corresponding to the session;
and the response unit is used for responding to the session request message based on the session establishment information and the historical session information of the UE in the historical session process.
Optionally, when the first network element is an AMF network element, the receiving unit is further configured to receive a registration request message sent by the UE; the registration request message includes temporary identification information; the temporary identification information is used for identifying a historical AMF network element for providing network service for the UE; the history AMF network element stores history use information corresponding to the UE; the historical usage information includes security context information and historical session information;
the response unit is also used for registering the UE on the user data management network element when the user data management network element is in a working state and storing the security uplink information of the UE in the registration process;
the response unit is further used for reading the security context information corresponding to the UE when the user data management network element is in a failure state and is matched with the temporary identification information, and responding to the registration request message based on the security context information;
and a response unit for acquiring the history use information from the history AMF network element based on the temporary identification information and responding to the registration request message based on the security context information in the history use information when the user data management network element is in the failure state and is not matched with the temporary identification information.
Optionally, the session establishment information includes a data network name and network area information; the history session information includes first subscription information for performing service area management; the response unit is specifically used for:
acquiring historical session information;
determining an SMF network element which accords with the data network name, the network area information and the first subscription information as a target SMF network element;
and sending a session request message for establishing a session for the UE to the target SMF network element.
Optionally, the session establishment information includes UE identification information and a data network name; the history session information comprises the corresponding relation between at least one history session and at least one SMF network element; the response unit is specifically used for:
acquiring historical session information;
determining at least one SMF network element with a corresponding relation with a target historical session as a target SMF network element; the target history session is used for representing a history session corresponding to the UE identification information and corresponding to the data network name;
and sending a session request message for establishing a session for the UE to the target SMF network element.
Optionally, the request response device further includes: an updating unit and a transmitting unit;
the updating unit is used for updating the corresponding relation between the session and the target SMF network element in the history use information;
And the sending unit is used for sending the updated historical use information to other AMF network elements belonging to the same pool group.
Optionally, the session establishment information includes information on a network name and a network area of the data; when the first network element is an SMF network element, the history session information comprises second subscription information for session management; the response unit is specifically used for:
acquiring historical session information;
determining a UPF network element which accords with the data network name, the network area information and the second subscription information as a target UPF network element;
and respectively sending configuration information corresponding to the session to the UE and the target UPF network element.
Optionally, the session establishment information includes UE identification information and a data network name; when the first network element is an SMF network element, the history session information comprises the corresponding relation between at least one history session and at least one UPF network element; the response unit is specifically used for:
acquiring historical session information;
determining a UPF network element with a corresponding relation with a target historical session in at least one UPF network element as a target UPF network element; the target history session is used for representing a history session corresponding to the UE identification information and corresponding to the data network name;
and respectively sending configuration information corresponding to the session to the UE and the target UPF network element.
Optionally, the updating unit is further configured to update the corresponding relationship between the session and the target UPF network element in the historical session information;
and the sending unit is also used for sending updated historical session information to other UPF network elements belonging to the same pool group.
Optionally, the session establishment information includes temporary identification information, a data network name, network area information, and UE identification information; the temporary identification information is used for identifying a historical AMF network element for providing network service for the UE; the history AMF network element stores history session information corresponding to the UE; the history session information comprises the corresponding relation between at least one history session and at least one SMF network element; when the first network element is an MME, the response unit is specifically configured to:
acquiring historical session information from a historical AMF network element based on the temporary identification information;
determining a target SMF network element according to the data network name, the UE identification information and the historical session information, and respectively transmitting first configuration information corresponding to the session to the UE and the target SMF network element;
and determining SGW corresponding to the network area information, and respectively sending second configuration information corresponding to the session to the UE and the SGW.
In a third aspect, a request response device is provided, comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; the processor, when executed by the request response device, executes computer-executable instructions stored in the memory to cause the request response device to perform the method of the first aspect and any one of its alternatives.
The request response means may be the network device or may be a part of the network device, such as a system-on-chip in the network device. The system-on-a-chip is configured to support the network device to implement the functions involved in the first aspect and any optional implementation thereof, e.g. to receive, determine, and offload data and/or information involved in the request response method described above. The chip system includes a chip, and may also include other discrete devices or circuit structures.
In a fourth aspect, there is provided a computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the method of the first aspect and any one of the alternatives thereof.
It should be noted that the above-mentioned computer instructions may be stored in whole or in part on the first computer readable storage medium. The first computer readable storage medium may be packaged together with the processor of the request response device or may be packaged separately from the processor of the request response device, which is not limited in the present application.
In the present application, the names of the above-described request responding devices do not constitute limitations on the devices or function modules themselves, and in actual implementations, these devices or function modules may appear under other names. Insofar as the function of each device or function module is similar to that of the present application, it falls within the scope of the claims of the present application and the equivalents thereof.
These and other aspects of the application will be more readily apparent from the following description.
The technical scheme provided by the application has at least the following beneficial effects:
based on any of the above aspects, in the present application, the first network element may receive a session request message for requesting to establish a session for the UE, and respond to the session request message based on the session establishment information and historical session information of the UE in a historical session process. Based on the above, the application can directly respond to the session request message through the history session information of the UE in the history session process under the condition that the AUSF and UDM functions of the contracted network side are invalid, thereby realizing the network service for establishing the session and avoiding the problem that the service request cannot be responded caused by the contracted network invalidation. Therefore, the application can be used for improving the problem that network service is easy to be unable to be realized due to the failure of the contracted network.
Drawings
Fig. 1 is a schematic diagram of a network architecture according to an embodiment of the present application;
fig. 2 is a schematic diagram of yet another network architecture according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a request response system according to an embodiment of the present application;
fig. 4 is a schematic hardware structure of an electronic device according to an embodiment of the present application;
FIG. 5 is a flowchart of a request response method according to an embodiment of the present application;
FIG. 6 is a flowchart of another request response method according to an embodiment of the present application;
FIG. 7 is a flowchart of another request response method according to an embodiment of the present application;
FIG. 8 is a flowchart of another request response method according to an embodiment of the present application;
FIG. 9 is a flowchart of another request response method according to an embodiment of the present application;
FIG. 10 is a flowchart of another request response method according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a request response device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. 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, in the embodiments of the present application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
In order to clearly describe the technical solution of the embodiment of the present application, in the embodiment of the present application, the words "first", "second", etc. are used to distinguish identical items or similar items having substantially the same function and effect, and those skilled in the art will understand that the words "first", "second", etc. are not limited in number and execution order.
Furthermore, the terms "comprising" and "having" in the embodiments of the application and in the claims and drawings are not exclusive. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules but may include other steps or modules not listed.
In order to facilitate understanding of the application, relevant elements to which the application relates will now be described.
At present, 5G is fused and applied to a plurality of industrial fields such as industry, medical treatment, education, traffic and the like by virtue of the excellent characteristics of large bandwidth, low time delay, wide connection and high safety, and plays an energized effect. In 5G networks, the transmission of data depends on the data path.
Fig. 1 is a schematic diagram of an architecture for establishing a data path in a 5G network. The UE may initiate a registration request to the AMF network element. Registration is the process by which the UE requests authorization to use a service from the subscribing network. After registration, the UE may enjoy the services provided by the network.
The AMF network element may obtain authentication information and subscription information from the network element jointly deployed with AUSF and UDM functions, so as to complete bidirectional authentication between the UE and the network, and perform encryption and integrity protection procedures. After the authentication is passed, the AMF network element can execute operations such as registration of the UE on the network element with the UDM function, subscription information acquisition, subscription data change notification and the like. After successful registration, the AMF network element may assign a globally unique temporary identity (5G globally unique temporary identifier,5G-GUTI) to the UE.
The UE may send a session establishment request to the AMF network element carrying the information such as the 5G-GUTI and the data network name (data network name, DNN) to establish a data path to the data network corresponding to the DNN. The AMF network element may select the SMF network element based on the single network slice selection assistance information (single network slice selection assistance information, S-NSSAI), DNN information, tracking area code (tracking area code, TAC) information, and forward the session establishment request.
The SMF may perform operations such as registration of the session in the network element deploying the UDM function, taking subscription information, and notifying of subscription data change after receiving the session establishment request forwarded by the AMF network element. And the SMF network element can select the UPF network element according to the S-NSSAI, DNN information and TAC information, and inform the selected UPF network element and the wireless side to establish a data path from the UE to the UPF network element. In particular, the DNN may be used to identify external DNs, and the UPF network element may act as a user plane data anchor, transmitting user data flows to different external DNs according to the DNN. That is, in the UPF network element, different DNNs are bound to external data outlets such as different virtual local area networks (virtual local area network, VLAN), virtual private networks (virtual private network, VPN), private lines, and the like, so that data flows of the different DNNs enter different data outlets and reach different data networks.
Based on this, the UE can successfully register in the 5G network and perform data transmission smoothly based on the established data path.
With reference to fig. 1, as shown in fig. 2, a network element jointly deployed with AUSF and UDM functions is taken as a user database in a 5G network, is an essential core device in the 5G network, and carries important functions of providing user and service data storage, management, registration, authentication and the like, and a main and standby deployment mode is generally adopted to enhance the disaster recovery capability of the network.
However, under the abnormal conditions of bearing network faults, power supply faults, equipment faults or disaster recovery faults, the AUSF and UDM functions of the primary and secondary deployment of the contracted network side are easily caused to be in fault states. In this case, the network user can operate by inertia according to the current 5G business process. However, in the scenarios of cross AMF network element movement, cross network system switching and new startup user, the network element positioned in the 5G core network cannot respond to the service request, so that the service interruption problem can occur, and the user service perception is seriously affected.
In view of the above problems, an embodiment of the present application provides a request response method, where a first network element may receive a session request message for requesting to establish a session for a UE, and respond to the session request message based on the session establishment information and historical session information of the UE in a historical session process. Based on the above, the application can directly respond to the session request message through the history session information of the UE in the history session process under the condition that the AUSF and UDM functions of the contracted network side are invalid, thereby realizing the network service for establishing the session and avoiding the problem that the service request cannot be responded caused by the contracted network invalidation. Therefore, the application can be used for improving the problem that network service is easy to be unable to be realized due to the failure of the contracted network.
The request response method is suitable for a request response system. Fig. 3 shows one configuration of the request response system 100. As shown in fig. 3, the request response system 100 may include: a session requesting device 101 and a first network element 102. A communication connection may be established between the session requesting device 101 and the first network element 102 via a wired network or a wireless network.
Note that, the session request device 101 in fig. 3 may be a UE or an AMF network element. When the session requesting device 101 is a UE, the first network element 102 may be an AMF network element. When the session requesting device 101 is a UE, the first network element 102 may also be an MME. When the session request device 101 is an AMF network element, the first network element 102 may be an SMF network element. Fig. 3 is an example of one device configuration of the session request device 101 and the first network element 102 provided in the embodiment of the present application, and is not limited to the specific device configuration of the session request device 101 and the first network element 102.
In a possible manner, when the first network element 102 is an AMF network element or MME, the first network element 102 may be communicatively connected with one or more session requesting devices 101 (i.e. a plurality of UEs). For ease of understanding, the application is illustrated by taking as an example a communication connection between a first network element 102 and a session requesting device 101.
In a possible manner, when the session-requesting device 101 is an AMF network element, the session-requesting device 101 may be communicatively connected with one or more first network elements 102 (i.e., a plurality of SMF network elements). For ease of understanding, the application is illustrated by taking as an example a communication connection between the session requesting device 101 and one of the first network elements 102.
Alternatively, when the session-requesting device 101 is a UE, the UE may be a device that provides voice and/or data connectivity to the user, a handheld device with wireless connectivity, or other processing device connected to a wireless modem. The UE may communicate with one or more core networks via a radio access network (radio access network, RAN). The UE may be a mobile terminal, such as a computer with a mobile terminal, or a portable, pocket, hand-held, computer-built-in mobile device that exchanges voice and/or data with the radio access network. Such as cell phones, tablet computers, notebook computers, netbooks and personal digital assistants (personal digital assistant, PDA).
Optionally, when the session request device 101 or the first network element is an AMF network element, the AMF network element may have access and mobility management functions and may be used to provide registration services, mobility management services, service flow monitoring services, and the like for the UE.
Optionally, when the first network element is an MME, the MME may be configured to provide access control, mobility management, attach and detach, session management and SGW and packet data network gateway (packet data network gateway, PGW) selection.
Optionally, when the first network element is an SMF network element, the SMF network element may have a session management function for providing services such as a tunnel maintenance service, an internet protocol (internet protocol, IP) address allocation and management service, a policy enforcement service, and control in QoS, charging data collection, and roaming.
The SMF network element may also have a packet data network gateway control plane (packet data network gateway control plane, PGWC) function, which may act on both fourth generation mobile communication technology (the 4th generation mobile communication technology, 4G) networks and 5G networks.
Alternatively, when the session request device 101 is an AMF network element and the first network element 102 is an SMF network element, the session request device 101 and the first network element 102 in fig. 3 may be devices that are set independently from each other, or may be functional modules that are integrated in the same device. The embodiments of the present application are not limited in this regard.
It is easy to understand that, when the session request device 101 and the first network element 102 are functional modules integrated in the same device, the communication manner between the session request device 101 and the first network element 102 is communication between internal modules of the device. In this case, the communication flow therebetween is the same as "in the case where the session request device 101 and the first network element 102 are set independently of each other".
For ease of understanding, the present application will be mainly described by taking the example that the session requesting device 101 and the first network element 102 are provided independently of each other.
Alternatively, when the session request device 101 is an AMF network element and the first network element 102 is an SMF network element, the session request device 101 and the first network element 102 may be servers. The server may be a single server or may be a server cluster composed of a plurality of servers. In some implementations, the server cluster may also be a distributed cluster.
Fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application. The electronic device may be the session request device 101 or the first network element 102. The electronic device may comprise a processor 21, a memory 22, a communication interface 23, a bus 24. The processor 21, the memory 22 and the communication interface 23 may be connected by a bus 24.
The processor 21 is a control center of the electronic device, and may be one processor or a collective term of a plurality of processing elements. For example, the processor 21 may be a CPU, or may be another general-purpose processor. Wherein the general purpose processor may be a microprocessor or any conventional processor or the like.
As one example, processor 21 may include one or more CPUs, such as CPU0 and CPU1 shown in fig. 4.
Memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (random access memory, RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), magnetic disk storage or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible implementation, the memory 22 may exist separately from the processor 21, and the memory 22 may be connected to the processor 21 by a bus 24 for storing instructions or program code. The processor 21, when calling and executing instructions or program code stored in the memory 22, is capable of implementing a request response method provided by the following embodiments of the present application.
In another possible implementation, the memory 22 may also be integrated with the processor 21.
The communication interface 23 is used for connecting the electronic device with other devices through a communication network, which may be an ethernet, a radio access network, a wireless local area network (wireless local area networks, WLAN), etc. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
Bus 24 may be an industry standard architecture (industry standard architecture, ISA) bus, an external device interconnect (peripheral component interconnect, PCI) bus, or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The bus may be classified as an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in fig. 4, but not only one bus or one type of bus.
It should be noted that the structure shown in fig. 4 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown in fig. 4, or may combine some components, or may be arranged in different components.
Referring to fig. 3, when the session request device 101 is a UE and the first network element 102 is an AMF network element, as shown in fig. 5, a flow chart of a request response method according to an embodiment of the present application is shown. The request response method may be applied to the first network element 102 in the request response system 100 shown in fig. 3, i.e. the AMF network element in fig. 5. The request response method comprises the following steps: S501-S502.
S501, the AMF network element receives a session request message for requesting to establish a session for the UE.
The session request message may include session establishment information corresponding to the session.
In one possible approach, the session requested to be established for the UE may be a protocol data unit (protocol data unit, PDU) session.
In a possible manner, the session establishment information may include UE identification information, a data network name corresponding to the session, and network area information in which the UE is located.
The UE identity information may be an international mobile subscriber identity (international mobile subscriber identity, IMSI) or a mobile station international subscriber identity (mobile subscriber international ISDN number, MSISDN).
The data network name may be used to identify the data network corresponding to the session establishment requested by the UE. After the session is established, a data path between the UE and the data network may be implemented to meet the service requirements of the UE.
The network area information may be TAC information, a cell identification code, and the like.
In one possible manner, the UE may send a session request message to the AMF network element when data transmission with the data network is required. Accordingly, the AMF network element may receive a session request message from the UE.
S502, the AMF network element responds to the session request message based on the session establishment information and the historical session information of the UE in the historical session process.
It should be noted that, the AMF network element may record historical usage information corresponding to the UE identification information in a process of providing network services such as registration service and session establishment service for the UE. The historical usage information may include security context information and historical session information. The history session information may include subscription information and the like acquired by the AMF network element from the network element deploying the UDM function in the process of providing network services such as registration service and session establishment service for the UE.
In one possible manner, the AMF network element may, after receiving a session request message for requesting to establish a session for the UE, read stored historical session information to respond to the session request message further based on the session establishment information and the historical session information of the UE during the historical session. Specifically, the AMF network element may determine a target SMF network element for providing a session establishment service based on session establishment information and historical session information of the UE in a historical session process, and instruct the target SMF network element to establish a session corresponding to the session request message.
In an embodiment, before S501, that is, before the AMF network element receives a session request message for requesting to establish a session for the UE, the request response method provided by the embodiment of the present application further includes: S601-S604.
S601, the AMF network element receives a registration request message sent by the UE.
Wherein the registration request message may include temporary identification information. The temporary identification information may be used to identify a historical AMF network element that provides network services for the UE. The history AMF network element may store history usage information corresponding to the UE. The historical usage information may include security context information and historical session information.
In one possible approach, the temporary identification information may be 5G-GUTI. The 5G-GUTI may consist of a globally unique AMF identity (globally unique AMF identifier, GUAMI) of the historical AMF network element and a 5G temporary mobile subscription identity (5G-temporary mobile subscriber identity, 5G-TMSI) of the UE.
It should be noted that, for UEs that have performed a registration procedure in the 5G network, these UEs may store temporary identification information allocated to the AMF network element when registration is completed.
In the scenario of a UE reboot (which may also be referred to as a reboot) and a UE moving across AMF network elements, the UE needs to re-register to establish a session. In this case, the UE may send a registration request message carrying temporary identification information stored by the UE to the AMF network element. Accordingly, the AMF network element may receive the registration request message sent by the UE. The UE moving across AMF network elements means that the UE moves from the service range of the AMF network element (i.e., the history AMF network element) to which the temporary identification information is allocated to the UE, to the service range of other AMF network elements.
S602, when the user data management network element is in a working state, the AMF network element registers the UE on the user data management network element and stores the security uplink information of the UE in the registration process.
In a possible manner, in the 5G network, the user data management network element may be disposed on the subscription network side, and may be a network element disposed with a UDM function. The user data management network element may also be deployed with an AUSF.
In an implementation manner, the AMF network element may monitor an operation state of a user data management network element not belonging to the subscription network side through a mechanism such as heartbeat communication.
In an implementation manner, if the AUSF and UDM functions of the subscription network side work normally, that is, the user data management network element is in a working state, after the AMF network element receives a registration request message from the UE, the registration of the UE may be completed according to a registration procedure shown in fig. 1.
The AMF network element may store security context information corresponding to encryption and integrity protection procedures of the UE in the registration process, first subscription information obtained from the UDM network element and used for performing service area management, and the like, as historical usage information (may also be referred to as disaster recovery backup information) corresponding to UE identification information. Such history usage information may be applied in case the user data management network element is in a disabled state, and not applied to a normal registration procedure, session establishment procedure, etc.
In one possible approach, the security context information may include a data encryption algorithm, a data integrity protection algorithm, and the like.
S603, when the user data management network element is in a failure state and is matched with the temporary identification information, the AMF network element reads the security context information corresponding to the UE and responds to the registration request message based on the security context information.
In one possible approach, the AMF network element may be configured with a disaster recovery bypass function. Under the disaster recovery bypass function, the AMF network element may not perform a registration procedure of the UE on the UDM network element, and a procedure of acquiring the first subscription information from the UDM network element, and a subscription change procedure for the first subscription information of the UE on the UDM network element.
If the AUSF and UDM functions of the signing network side fail, namely the user data management network element is in a failure state, the AMF network element can start a disaster recovery bypass function after receiving the registration request message of the UE, and analyze the registration request message to obtain temporary identification information. The AMF network element may determine whether it matches the temporary identification information, i.e. whether the temporary identification information is generated for it and allocated to the UE.
If the AMF network element determines that the AMF network element matches with the temporary identifier information, it may indicate that the AMF network element is a historical AMF network element that provides network services for the UE before the user data management network element is in a failure state, where historical usage information corresponding to the UE is stored. The AMF network element may read security context information corresponding to the UE from the stored historical usage information corresponding to the UE and respond to the registration request message based on the security context information in case the user data management network element is in a disabled state and matches with the temporary identification information.
Specifically, the AMF network element may parse the security context information to obtain a data encryption algorithm, a data integrity protection algorithm, and the like, and send the data encryption algorithm, the data integrity protection algorithm, and the like obtained by solving to the UE. Correspondingly, the UE may receive a data encryption algorithm, a data integrity protection algorithm, etc. from the AMF network element, so as to realize secure transmission of data. Based on the above, the application can support the service request response to the UE and ensure the safety of the UE data transmission process under the condition that the user data management network element is in a failure state.
S604, when the user data management network element is in a failure state and is not matched with the temporary identification information, the AMF network element acquires historical use information from the historical AMF network element based on the temporary identification information, and responds to the registration request message based on the security context information in the historical use information.
In a possible way, in a 5G network, network storage function (network repository function, NRF) network elements may be used to manage registration and status detection etc. of functional network elements (e.g. AMF network elements and SMF network elements etc.). The registered information may include a function type, a network address, a service list, and the like.
In a possible manner, if the AMF network element determines that the AMF network element does not match the temporary identifier information, it may indicate that the AMF network element is not a historical AMF network element that provides network services for the UE before the user data management network element is in a failure state, and does not store historical usage information corresponding to the UE.
The AMF network element may send temporary identification information to the NRF network element in case the user data management network element is in a failure state and does not match the temporary identification information. Correspondingly, the NRF network element may receive temporary identification information from the AMF network element, analyze the temporary identification information to determine identification information of the history AMF network element, read a network address of the history AMF network element corresponding to the identification information of the history AMF network element, and send the network address of the history AMF network element to the AMF network element.
Accordingly, the AMF network element may receive the network address of the history AMF network element from the NRF network element, and send an information acquisition request carrying UE identification information to the network address. In response to the information acquisition request, the history AMF network element may read history usage information corresponding to the UE identification information and send the history usage information corresponding to the UE identification information to the AMF network element. Accordingly, the AMF network element may receive the history usage information corresponding to the UE identification information from the history AMF network element and respond to the registration request message based on the security context information in the history usage information.
In one possible manner, the AMF network element may store the history use information corresponding to the UE identification information, and after responding to the registration request message based on the security context information in the history use information, send a response success message to the history AMF network element. Accordingly, the history AMF network element may receive the response success message and delete the stored history usage information corresponding to the UE identification information.
In a possible manner, the AMF network element may allocate new temporary identification information to the UE and notify the UE to replace the temporary identification information allocated by the historical AMF network element with the new temporary identification information. Based on the above, when the UE moves across the AMF network element again, the AMF network element in the area where the UE moves can conveniently acquire the historical usage information corresponding to the UE based on the new temporary identification information, so as to support the response to the service request of the UE.
In one embodiment, in S502, that is, when the AMF network element responds to the session request message based on the session establishment information and the history session information of the UE in the history session process, an alternative implementation manner is provided in an embodiment of the present application, including: S701-S703.
S701, the AMF network element acquires history session information.
In a possible manner, when the user data management network element is in a failure state, after receiving the session request message from the UE, the AMF network element may read, from the stored historical usage information corresponding to the UE identification information, historical session information corresponding to the UE identification information, that is, historical session information of the UE in a historical session process.
In a possible manner, the historical usage information corresponding to the UE identification information stored by the AMF network element may be recorded by the AMF network element when the user data management network element is in an operating state, or may be obtained from the historical AMF network element after the user data management network element is in a failure state.
S702, the AMF network element determines the SMF network element which accords with the data network name, the network area information and the first subscription information as a target SMF network element.
In a possible manner, in a case where the history session information includes the first subscription information for performing service area management, the AMF network element may determine, as the target SMF network element, an SMF network element that supports access to a data network corresponding to the data network name and supports network service to a network area corresponding to the network area information, from among a plurality of SMF network elements that are assigned to a service area corresponding to the first subscription information, the SMF network element that is to be the SMF network element that conforms to the data network name, the network area information, and the first subscription information.
S703, the AMF network element sends a session request message for establishing a session for the UE to the target SMF network element.
It should be noted that, the history session information corresponding to the UE identification information stored in the history AMF network element may further include a correspondence between at least one history session and at least one SMF network element. The correspondence may include information related to a network address and a domain name of the SMF network element. The SMF network element may store second subscription information for session management corresponding to the history session. Different history sessions may have a correspondence with the same SMF network element. Each history session may also have a correspondence with both UE identification information and data network name. The second subscription information may include parameters for establishing a session, such as session type, session and service continuity (session and service continuity, SSC) pattern, etc.
In order to facilitate implementation of the session establishment procedure, in S604, that is, when the AMF network element obtains the history usage information from the history AMF network element based on the temporary identifier information, the second subscription information corresponding to the UE identifier information may also be obtained. Specifically, when the history AMF network element reads the history usage information corresponding to the UE identification information, the second subscription information for session management may be acquired from the SMF network element having a correspondence with the history session corresponding to the UE identification information, and the second subscription information may be sent to the AMF network element. When deleting the stored history usage information corresponding to the UE identification information, the history AMF network element may notify the SMF network element having a corresponding relation with the history session corresponding to the UE identification information to delete the stored second subscription information.
Based on this, in case the AMF network element does not match the temporary identification information, the AMF network element may send a session request message carrying the second subscription information to the target SMF network element. Accordingly, the target SMF network element may receive the session request message from the AMF network element, and parse the session request message to obtain the second subscription information, so as to establish a session corresponding to the UE.
In a possible manner, in the case where the AMF network element matches the temporary identifier information and the history session corresponding to the UE identifier information and the data network name does not have a corresponding relationship with the target SMF network element, the AMF network element may acquire the second subscription information from the SMF network element having a corresponding relationship with the history session corresponding to the UE identifier information and the data network name, and send a session request message carrying the second subscription information to the target SMF network element.
Under the condition that the AMF network element is matched with the temporary identification information and the corresponding relation exists between the historical session corresponding to the UE identification information and the data network name and the target SMF network element, the AMF network element can directly send the session request message to the target SMF network element.
In one embodiment, in S502, that is, when the AMF network element responds to the session request message based on the session establishment information and the history session information of the UE in the history session process, another alternative implementation manner is provided in the embodiment of the present application, which includes: S801-S803.
S801, the AMF network element acquires history session information.
It should be understood that the implementation of S801 may refer to the specific description in S802, and will not be described herein.
S802, the AMF network element determines the SMF network element with the corresponding relation with the target historical session in at least one SMF network element as a target SMF network element.
Wherein the target history session may be used to represent a history session corresponding to the UE identification information and to the data network name.
In a possible manner, in a case where the history session information includes a correspondence between at least one history session and at least one SMF network element, if the AMF network element determines that a history session corresponding to the UE identification information and corresponding to the data network name, that is, a target history session, is determined in the at least one history session, it may indicate that there is an SMF network element storing second subscription information corresponding to the target history session. In this case, the AMF network element may determine, as the target SMF network element, an SMF network element having a correspondence with the target history session in the at least one SMF network element, so as to provide a session establishment service for the UE through the target SMF network element.
S803, the AMF network element sends a session request message for establishing a session for the UE to the target SMF network element.
In an implementation manner, as shown in fig. 6 in conjunction with fig. 5, the AMF network element may respond to a session request message from the UE, determine, according to the implementation manner described in S701-S702 or S801-S802 above, a target SMF network element based on session establishment information and historical session information of the UE in a historical session process, and send, to the target SMF network element, a session request message for establishing a session for the UE, so that the target SMF network element provides a session establishment service for the UE.
In one embodiment, after the AMF network element sends a session request message for establishing a session for the UE to the target SMF network element, the request response method provided by the embodiment of the present application further includes: S901-S902.
And S901, updating the corresponding relation between the session and the target SMF network element in the history use information by the AMF network element.
In a possible manner, if the session currently requested to be established by the UE and one historical session included in the historical usage information have a correspondence with the same data network name, the AMF network element may delete the correspondence between the one historical session information and the SMF network element in the historical usage information, and store the correspondence between the session currently requested to be established by the UE and the target SMF network element in the historical usage information.
S902, the AMF network element sends updated historical use information to other AMF network elements belonging to the same pool group.
In a possible manner, the AMF network element may send updated historical usage information to other AMF network elements belonging to the same pool, so that when the UE moves into a service area of other AMF network elements of the same pool, a service response service can be efficiently provided for the UE.
Referring to fig. 3, when the session request device 101 is an AMF network element and the first network element 102 is an SMF network element, as shown in fig. 7, a flow chart of a request response method according to an embodiment of the present application is shown. The request response method may be applied to the first network element 102 in the request response system 100 shown in fig. 3, i.e. the SMF network element in fig. 7. The request response method comprises the following steps: S1001-S1002.
S1001, the SMF network element receives a session request message for requesting to establish a session for the UE.
The session request message may include session establishment information corresponding to the session.
In one possible approach, the session requested to be established for the UE may be a PDU session.
In a possible manner, the session establishment information may include UE identification information, a data network name corresponding to the session, and network area information in which the UE is located.
The UE identity information may be an international mobile subscriber identity (international mobile subscriber identity, IMSI) or a mobile station international subscriber identity (mobile subscriber international ISDN number, MSISDN).
The data network name may be used to identify the data network corresponding to the session establishment requested by the UE. After the session is established, a data path between the UE and the data network may be implemented to meet the service requirements of the UE.
The network area information may be TAC information, a cell identification code, and the like.
In a possible manner, after the AMF network element receives the session request message from the UE, the SMF network element may be selected based on the method in S502, and the session request message may be sent to the selected SMF network element (i.e., the target SMF network element). Accordingly, the SMF network element may receive a session request message from the AMF network element.
S1002, the SMF network element responds to the session request message based on the session establishment information and the historical session information of the UE in the historical session process.
In a possible manner, the SMF network element may record historical session information corresponding to the UE identification information during a process of providing a network service such as a session establishment service for the UE. The history session information may include second subscription information for session management. The second subscription information may have a correspondence with UE identification information in the session establishment information and a data network name in the session establishment information at the same time.
Or, the session request message received by the SMF network element from the AMF network element may include historical session information of the UE in the historical session process. The history session information may include second subscription information for session management.
The SMF network element may determine a UPF network element for providing a data transmission service for the UE based on the session establishment information and second subscription information included in the history session information, and send session configuration information to the UE and the determined UPF network element, respectively, to respond to the session request message. The session configuration information may include information such as session identification and session type.
In a possible manner, the history session information corresponding to the UE identification information recorded by the SMF network element may further include a correspondence between at least one history session and at least one network element.
The SMF network element may read the stored history session information after receiving the session request message from the AMF network element, and further determine whether a target history session corresponding to the UE identification information and to the data network name exists in the at least one history session. If the target history session exists, the SMF network element may send session configuration information to the UPF network element corresponding to the UE and the target history session, respectively, so as to respond to the session request message.
In one embodiment, in S1002, that is, when the SMF network element responds to the session request message based on the session establishment information and the history session information of the UE in the history session process, an embodiment of the present application provides an optional implementation manner, including: S1101-S1103.
S1101, the SMF network element obtains history session information.
In a possible manner, in a case that the SMF network element does not store the history session information corresponding to the UE, after the SMF network element receives the session request message from the AMF network element, the SMF network element may parse the session request message to obtain the history session information corresponding to the UE.
In a possible manner, when the SMF network element stores the history session information corresponding to the UE, the SMF network element may read the stored history session information corresponding to the UE after receiving the session request message from the AMF network element.
S1102, the SMF network element determines the UPF network element which accords with the data network name, the network area information and the second subscription information as a target UPF network element.
In a possible manner, the SMF network element may determine, as the target UPF network element, a UPF network element that supports configuration of relevant parameters in the second subscription information, supports access to a data network corresponding to the data network name, and supports provision of a network service to a network area corresponding to the network area information, that is, a UPF network element that conforms to the data network name, the network area information, and the second subscription information.
And S1103, the SMF network element respectively sends configuration information corresponding to the session to the UE and the target UPF network element.
The configuration information corresponding to the session may include information such as session identifier, session type, and SCC mode.
In one embodiment, in S1002, that is, when the SMF network element responds to the session request message based on the session establishment information and the history session information of the UE in the history session process, an embodiment of the present application provides an optional implementation manner, including: S1201-S1203.
S1201, the SMF network element obtains history session information.
S1202, the SMF network element determines a UPF network element with a corresponding relation with a target historical session in at least one UPF network element as a target UPF network element.
Wherein the target history session may be used to represent a history session corresponding to the UE identification information and to the data network name.
In a possible manner, in the case that the history session information includes a correspondence between at least one history session and at least one UPF network element, if the SMF network element determines that, in the at least one history session, a history session corresponding to the UE identification information and corresponding to the data network name, that is, a target history session, it may indicate that a UPF network element supporting establishment of the session is stored. In this case, the SMF network element may determine, as the target UPF network element, a UPF network element in which a correspondence exists between the at least one UPF network element and the target historical session, so as to provide a session establishment service for the UE through the target UPF network element.
And S1203, the SMF network element respectively sends configuration information corresponding to the session to the UE and the target UPF network element.
In an implementation manner, as shown in fig. 8 in conjunction with fig. 7, the SMF network element may respond to the session request message from the AMF network element, determine, according to the implementation manner described in S1101-S1102 or S1201-S1202, the target UPF network element based on the session establishment information and the historical session information of the UE in the historical session process, and send configuration information corresponding to the session to the UE and the target UPF network element, respectively, so as to establish a session corresponding to the UE.
In an embodiment, after the SMF network element sends configuration information corresponding to a session to the UE and the target UPF network element respectively, the request response method provided by the embodiment of the present application further includes: S1301-S1302.
S1301, the SMF network element updates the corresponding relation between the session and the target UPF network element in the history session information.
In a possible manner, if the session currently requested to be established by the UE and one historical session included in the historical session information have a corresponding relationship with the same data network name, the SMF network element may delete the corresponding relationship between the one historical session information and the UPF network element in the historical session information, and store the corresponding relationship between the session currently requested to be established by the UE and the target UPF network element in the historical session information.
S1302, the SMF network element sends updated historical session information to other UPF network elements belonging to the same pool group.
In a possible manner, the SMF network element may send updated historical session information to other SMF network elements belonging to the same pool group, so that the AMF network element distributes the UE to the other SMF network elements of the same pool group, thereby efficiently providing service response service for the UE.
Referring to fig. 3, when the session request device 101 is a UE and the first network element 102 is an MME, as shown in fig. 9, a flow chart of a request response method provided by an embodiment of the present application is shown. The request response method may be applied to the first network element 102 in the request response system 100 shown in fig. 3, i.e. the MME in fig. 9. The request response method comprises the following steps: S1401-S1402.
S1401, the MME receives a session request message for requesting to establish a session for the UE.
The session request message may include session establishment information corresponding to the session.
In one possible approach, the session requested to be established for the UE may be a packet data network (packet data network, PDN) session.
In a possible manner, the session establishment information may include temporary identification information, UE identification information, a data network name corresponding to the session, and network area information in which the UE is located.
The temporary identification information may be used to identify a historical AMF network element that provides network services for the UE. The history AMF network element may store history session information corresponding to the UE. The history session information includes a correspondence of at least one history session and at least one SMF network element. The correspondence may include information related to a network address and a domain name of the SMF network element. The temporary identification information may be 5G-GUTI. For UEs that have performed a registration procedure in the 5G network, these UEs may store temporary identification information assigned to them by the AMF network element when registration is completed.
The UE identification information may be IMSI or MSISDN.
The data network name may be used to identify the data network corresponding to the session establishment requested by the UE. After the session is established, a data path between the UE and the data network may be implemented to meet the service requirements of the UE.
The network area information may be TAC information, a cell identification code, and the like.
In a possible manner, in a case that the user data management network element at the subscription network side is in a failure state and the UE is switched from the 5G network system to the 4G network system, the UE may send a session request message to the MME in the 4G network. Correspondingly, the MME may receive the session request message from the UE, and parse the session request message to obtain temporary identification information, UE identification information, a data network name corresponding to the session, network area information where the UE is located, and so on.
S1402, the MME responds to the session request message based on the session establishment information and the history session information of the UE in the history session process.
In an implementation manner, as shown in fig. 10 in conjunction with fig. 9, the MME may obtain, from the historical AMF network element, historical session information based on the temporary identification information in response to the session request message from the UE, determine a target SMF network element according to the data network name, the UE identification information, and the historical session information, and send first configuration information corresponding to the session to the UE and the target SMF network element, respectively. And, the MME may determine an SGW corresponding to the network area information and transmit second configuration information corresponding to the session to the UE and the SGW, respectively.
Specifically, the MME may send temporary identification information in the session establishment information to a domain name server (domain name server, DNS) when acquiring history session information from the history AMF network element based on the temporary identification information. Accordingly, the DNS may receive the temporary identifier information, analyze the temporary identifier information to determine identifier information of the historical AMF network element, read a network address of the historical AMF network element corresponding to the identifier information of the historical AMF network element, and send the network address of the historical AMF network element to the MME.
Accordingly, the MME may receive a network address of the historical AMF network element from the DNS and send an information acquisition request carrying UE identification information to the network address. In response to the information acquisition request, the history AMF network element may read history session information corresponding to the UE identification information and send the history session information corresponding to the UE identification information to the MME. Accordingly, the MME may receive historical session information corresponding to the UE identification information from the historical AMF network element.
When determining a target SMF network element according to the data network name, the UE identification information and the historical session information, the MME can determine the target historical session corresponding to the data network name and the UE identification information, and determine the SMF network element corresponding to the historical session information and the target historical session as the target SMF network element. Further, the MME may send first configuration information corresponding to the session to the UE and the target SMF network element, respectively. The first configuration information may include an IP address and an access point name (access point name, APN) allocated to the UE in the session. In this case, the target SMF network element functions identically to the PGWC for handling and controlling packet data communication services in the 4G network.
The MME may select an SGW corresponding to the network area information in the session establishment information and send second configuration information corresponding to the session to the UE and the SGW, respectively. The second configuration information may include information such as a session identifier corresponding to the session.
Based on the method, the system and the device, the service request response of the UE in the process of switching from the 5G network mode to the 4G network mode can be supported under the condition that the user data management network element of the contracted network side is in a failure state, so that the communication service of the UE in a cross-network mode scene is realized.
The application realizes the disaster recovery bypass function by enhancing the disaster recovery capability of the AMF network element and the SMF network element in the 5G network, namely buffering the security context, subscription data, session information and the like by the AMF network element and the SMF network element, can effectively dredge the service when the AUSF and UDM functions at the subscription network side fail, improves the reliability of the 5G network, optimizes network resources, enhances the risk resistance capability of the network, and is beneficial to building the safe, agile and intelligent 5G network.
The foregoing description of the solution provided by the embodiments of the present application has been mainly presented in terms of a method. To achieve the above functions, it includes corresponding hardware structures and/or software modules that perform the respective functions. Those of skill in the art will readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The embodiment of the application can divide the functional modules of the first network element according to the method example, for example, each functional module can be divided corresponding to each function, or two or more functions can be integrated in one processing module. The integrated modules may be implemented in hardware or in software functional modules. Optionally, the division of the modules in the embodiment of the present application is schematic, which is merely a logic function division, and other division manners may be actually implemented.
Fig. 11 is a schematic structural diagram of a request response device according to an embodiment of the present application. The request response means may be applied to the first network element and may be used to perform the request response method as shown in fig. 5-10. The request response device includes: applied to a first network element, comprising: a receiving unit 1501 and a responding unit 1502;
a receiving unit 1501 for receiving a session request message for requesting establishment of a session for a UE; the session request message includes session establishment information corresponding to the session; for example, in connection with fig. 5, the receiving unit 1501 may be used to perform S501.
A response unit 1502, configured to respond to the session request message based on the session establishment information and the historical session information of the UE in the historical session process. For example, in connection with fig. 5, the response unit 1502 may be used to perform S502.
Optionally, when the first network element is an AMF network element, the receiving unit 1501 is further configured to receive a registration request message sent by the UE; the registration request message includes temporary identification information; the temporary identification information is used for identifying a historical AMF network element for providing network service for the UE; the history AMF network element stores history use information corresponding to the UE; the historical usage information includes security context information and historical session information; for example, the receiving unit 1501 may be used to perform S601.
The response unit 1502 is further configured to register the UE on the user data management network element when the user data management network element is in a working state, and store security uplink information of the UE in a registration process; for example, the response unit 1502 may be used to perform S602.
A response unit 1502, configured to, when the user data management network element is in a failure state and matches with the temporary identifier information, read security context information corresponding to the UE, and respond to the registration request message based on the security context information; for example, the response unit 1502 may be used to perform S603.
The response unit 1502 is further configured to, when the user data management network element is in a failure state and does not match the temporary identification information, obtain historical usage information from the historical AMF network element based on the temporary identification information, and respond to the registration request message based on security context information in the historical usage information. For example, the response unit 1502 may be used to perform S604.
Optionally, the session establishment information includes a data network name and network area information; the history session information includes first subscription information for performing service area management; the response unit 1502 is specifically configured to:
acquiring historical session information; for example, the response unit 1502 may be used to perform S701.
Determining an SMF network element which accords with the data network name, the network area information and the first subscription information as a target SMF network element; for example, the response unit 1502 may be used to perform S702.
And sending a session request message for establishing a session for the UE to the target SMF network element. For example, the response unit 1502 may be used to perform S703.
Optionally, the session establishment information includes UE identification information and a data network name; the history session information comprises the corresponding relation between at least one history session and at least one SMF network element; the response unit 1502 is specifically configured to:
acquiring historical session information; for example, the response unit 1502 may be used to perform S801.
Determining at least one SMF network element with a corresponding relation with a target historical session as a target SMF network element; the target history session is used for representing a history session corresponding to the UE identification information and corresponding to the data network name; for example, the response unit 1502 may be used to perform S802.
And sending a session request message for establishing a session for the UE to the target SMF network element. For example, the response unit 1502 may be used to perform S803.
Optionally, the request response device further includes: an updating unit 1503 and a transmitting unit 1504;
an updating unit 1503, configured to update the corresponding relationship between the session and the target SMF network element in the history use information; for example, the update unit 1503 may be used to perform S901.
A sending unit 1504, configured to send updated historical usage information to other AMF network elements belonging to the same pool group. For example, the transmission unit 1504 may be used to perform S902.
Optionally, the session establishment information includes information on a network name and a network area of the data; when the first network element is an SMF network element, the history session information comprises second subscription information for session management; the response unit 1502 is specifically configured to:
acquiring historical session information; for example, the response unit 1502 may be configured to perform S1101.
Determining a UPF network element which accords with the data network name, the network area information and the second subscription information as a target UPF network element; for example, the response unit 1502 may be used to perform S1102.
And respectively sending configuration information corresponding to the session to the UE and the target UPF network element. For example, the response unit 1502 may be used to perform S1103.
Optionally, the session establishment information includes UE identification information and a data network name; when the first network element is an SMF network element, the history session information comprises the corresponding relation between at least one history session and at least one UPF network element; the response unit 1502 is specifically configured to:
acquiring historical session information; for example, the response unit 1502 may be used to perform S1201.
Determining a UPF network element with a corresponding relation with a target historical session in at least one UPF network element as a target UPF network element; the target history session is used for representing a history session corresponding to the UE identification information and corresponding to the data network name; for example, the response unit 1502 may be used to perform S1202.
And respectively sending configuration information corresponding to the session to the UE and the target UPF network element. For example, the response unit 1502 may be used to perform S1203.
Optionally, the updating unit 1503 is further configured to update the corresponding relationship between the session and the target UPF network element in the history session information; for example, the update unit 1503 may be used to perform S1301.
The sending unit 1504 is further configured to send updated historical session information to other UPF network elements belonging to the same pool group. For example, the transmission unit 1504 may be used to perform S1302.
Optionally, the session establishment information includes temporary identification information, a data network name, network area information, and UE identification information; the temporary identification information is used for identifying a historical AMF network element for providing network service for the UE; the history AMF network element stores history session information corresponding to the UE; the history session information comprises the corresponding relation between at least one history session and at least one SMF network element; when the first network element is an MME, the response unit 1502 is specifically configured to:
acquiring historical session information from a historical AMF network element based on the temporary identification information;
determining a target SMF network element according to the data network name, the UE identification information and the historical session information, and respectively transmitting first configuration information corresponding to the session to the UE and the target SMF network element;
and determining SGW corresponding to the network area information, and respectively sending second configuration information corresponding to the session to the UE and the SGW.
Those skilled in the art will appreciate that in one or more of the examples described above, the functions described in the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, these functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
From the foregoing description of the embodiments, it will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of functional modules is illustrated, and in practical application, the above-described functional allocation may be implemented by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to implement all or part of the functions described above.
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 above-described embodiments of the apparatus are merely illustrative, and the modules or units may be divided into only one type of logic function, and there may be other manners of dividing the modules or units when actually implemented. For example, multiple units or components may be combined or may be integrated into another device, 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 parts may or may not be physically separate, and the parts shown as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed in a plurality of different places. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the scope of the present application should be included in the present application. Therefore, the protection scope of the application is subject to the protection scope of the claims.
Claims (12)
1. A request response method, applied to a first network element, comprising:
receiving a session request message for requesting to establish a session for user equipment UE; the session request message includes session establishment information corresponding to the session;
and responding to the session request message based on the session establishment information and the historical session information of the UE in the historical session process.
2. The request response method according to claim 1, wherein when the first network element is an access and mobility management function AMF network element, before receiving a session request message for requesting to establish a session for a UE, the method further comprises:
receiving a registration request message sent by the UE; the registration request message includes temporary identification information; the temporary identification information is used for identifying a historical AMF network element for providing network service for the UE; the history AMF network element stores history use information corresponding to the UE; the history use information includes security context information and the history session information;
When a user data management network element is in a working state, registering the UE on the user data management network element, and storing security uplink information of the UE in a registration process;
when the user data management network element is in a failure state and is matched with the temporary identification information, the security context information corresponding to the UE is read, and the registration request message is responded based on the security context information;
when the user data management network element is in a failure state and is not matched with the temporary identification information, acquiring the historical use information from the historical AMF network element based on the temporary identification information, and responding to the registration request message based on security context information in the historical use information.
3. The request response method according to claim 2, wherein the session establishment information includes a data network name and network area information; the history session information includes first subscription information for performing service area management; the responding to the session request message based on the session establishment information and the historical session information of the UE in the historical session process includes:
Acquiring the history session information;
determining a Session Management Function (SMF) network element conforming to the data network name, the network area information and the first subscription information as a target SMF network element;
and sending a session request message for establishing the session for the UE to the target SMF network element.
4. The request response method according to claim 2, wherein the session establishment information includes UE identification information and a data network name; the history session information comprises the corresponding relation between at least one history session and at least one SMF network element; the responding to the session request message based on the session establishment information and the historical session information of the UE in the historical session process includes:
acquiring the history session information;
determining an SMF network element with a corresponding relation with a target historical session in the at least one SMF network element as a target SMF network element; the target historical session is used for representing a historical session corresponding to the UE identification information and corresponding to the data network name;
and sending a session request message for establishing the session for the UE to the target SMF network element.
5. The request response method according to claim 3 or 4, wherein after the sending a session request message to the target SMF network element for establishing the session for the UE, further comprising:
Updating the corresponding relation between the session and the target SMF network element in the history use information;
and sending the updated historical use information to other AMF network elements belonging to the same pool group.
6. The request response method according to claim 1, wherein the session establishment information includes a data network name and network area information; when the first network element is an SMF network element, the history session information comprises second subscription information for session management; the responding to the session request message based on the session establishment information and the historical session information of the UE in the historical session process includes:
acquiring the history session information;
determining a user plane function UPF network element conforming to the data network name, the network area information and the second subscription information as a target UPF network element;
and respectively sending configuration information corresponding to the session to the UE and the target UPF network element.
7. The request response method according to claim 1, wherein the session establishment information includes UE identification information and a data network name; when the first network element is an SMF network element, the history session information comprises the corresponding relation between at least one history session and at least one UPF network element; the responding to the request for establishing the session based on the session establishment information and the historical session information comprises the following steps:
Acquiring the history session information;
determining a UPF network element with a corresponding relation with a target historical session in the at least one UPF network element as a target UPF network element; the target historical session is used for representing a historical session corresponding to the UE identification information and corresponding to the data network name;
and respectively sending configuration information corresponding to the session to the UE and the target UPF network element.
8. The request response method according to claim 6 or 7, wherein after the sending configuration information corresponding to the session to the UE and the target UPF network element, respectively, the method further comprises:
updating the corresponding relation between the session and the target UPF network element in the history session information;
and sending the updated historical session information to other UPF network elements belonging to the same pool group.
9. The request response method according to claim 1, wherein the session establishment information includes temporary identification information, a data network name, network area information, and UE identification information; the temporary identification information is used for identifying a historical AMF network element for providing network service for the UE; the history AMF network element stores history session information corresponding to the UE; the history session information comprises the corresponding relation between at least one history session and at least one SMF network element; when the first network element is a mobility management entity MME, the responding to the request for establishing the session based on the session establishment information and the history session information includes:
Acquiring the history session information from the history AMF network element based on the temporary identification information;
determining a target SMF network element according to the data network name, the UE identification information and the historical session information, and respectively sending first configuration information corresponding to the session to the UE and the target SMF network element;
and determining a service gateway SGW corresponding to the network area information, and respectively sending second configuration information corresponding to the session to the UE and the SGW.
10. A request response device, characterized by being applied to a first network element, comprising: a receiving unit and a responding unit;
the receiving unit is used for receiving a session request message for requesting to establish a session for the UE; the session request message includes session establishment information corresponding to the session;
the response unit is used for responding to the session request message based on the session establishment information and the historical session information of the UE in the historical session process.
11. A request response device comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; the processor, when executed by the request response device, executes the computer-executable instructions stored by the memory to cause the request response device to perform the request response method of any one of claims 1-9.
12. A computer readable storage medium comprising computer executable instructions which, when run on a computer, cause the computer to perform the request response method of any of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310678321.6A CN116647938A (en) | 2023-06-08 | 2023-06-08 | Request response method, apparatus and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310678321.6A CN116647938A (en) | 2023-06-08 | 2023-06-08 | Request response method, apparatus and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116647938A true CN116647938A (en) | 2023-08-25 |
Family
ID=87618765
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310678321.6A Pending CN116647938A (en) | 2023-06-08 | 2023-06-08 | Request response method, apparatus and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116647938A (en) |
-
2023
- 2023-06-08 CN CN202310678321.6A patent/CN116647938A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109951824B (en) | Communication method and device | |
CN111771394B (en) | System and method for UE context and PDU session context management | |
CN106982458B (en) | Network slice selection method and device | |
US20190394833A1 (en) | Multi Access Packet/Protocol Data Unit Session | |
CN108605269B (en) | Session management method and device | |
EP3788766B1 (en) | Direct user equipment to user equipment without data network access identifier | |
EP2428001B1 (en) | Method for supporting pdn gw selection | |
CN109661006B (en) | Message interaction method and device and interoperation function | |
CN114946268A (en) | Control of network slices | |
CN109167670B (en) | PFCP connection processing method, device, network element, system and storage medium | |
KR20210142725A (en) | Core paging processing | |
US20120252481A1 (en) | Machine to machine communication in a communication network | |
EP3410752B1 (en) | Mobility management method, apparatus and system | |
CN102714615B (en) | Node fault processing method, system and related device | |
CN110461013B (en) | Network element selection method and device | |
CN101730072B (en) | Packet data web gateway identification saving method and system in multi-access scene | |
US20120307798A1 (en) | Session Management Method and System Based on M2M Application, and Apparatus | |
US12022377B2 (en) | Traffic routing towards local area data network per application function request | |
JP2021503199A (en) | Communication terminals, how to request a connection, network components and how to service the communication terminal | |
EP3297333A1 (en) | Access method and corresponding access node, terminal and communication network | |
EP3703420A1 (en) | Session context processing method, network elements, and terminal device | |
CN107404715B (en) | Position information providing method and device | |
CN106304160B (en) | Bearer creation and base station switching processing method and device | |
WO2021209189A1 (en) | Server computer, method for providing an application, mobile communication network and method for providing access to a server computer | |
CN113259924B (en) | Private network subscription information updating method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |