A service request processing method, device, medium and equipment
By obtaining the international mobile user identity code of the user equipment and releasing the radio resource control link when the core network restarts, the problem of user equipment disconnection caused by core network restart is solved, and normal access and service recovery of user equipment are achieved.
Patent Information
- Application Number
- CN202510975905.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-16
- Publication Date
- 2025-10-03
- Estimated Expiration
- 2045-07-16
AI Technical Summary
When the core network restarts, user devices cannot sense and reconnect in time, resulting in network disconnection. Especially in enterprise-level communication networks, it makes it impossible to restore services in time.
The base station sends an identity request message to the mobility management entity to obtain the international mobile user identity code of the user equipment, perform identity authentication, and release the radio resource control link. Then, the user equipment is paged using the international mobile user identity code to prompt it to reattach.
This solves the problem of user equipment being disconnected from the network when the core network is restarted, ensuring that user equipment can access the core network normally, avoiding invalid signaling occupying air interface resources, and achieving rapid service recovery.
Smart Images

Figure CN120475374B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile communications, and in particular to a service request processing method, device, medium and equipment. Background Art
[0002] Currently, large-scale fourth-generation (4G) and fifth-generation (5G) mobile communication technology networks exist worldwide. These networks serve larger operators, connecting numerous base stations and serving millions or even hundreds of millions of users. Smaller enterprise-level communication networks are used by companies in industries such as coal mining, petroleum, chemical engineering, and power generation. Private or operator core networks operating within communication systems often experience internal or external factors that cause them to reboot. For example, power outages within enterprise networks or certain regions can cause unexpected core network reboots, while internal failures or software upgrades within operator core networks can cause network-wide or partial core network reboots.
[0003] A core network restart is detected by the base station connected to the core network, but the user equipment (UE) may be in the idle state, without a signal connection to the base station or the core network. The UE is unaware of the unexpected core network restart and cannot take action, nor can the core network or base station promptly notify the UE to re-register. When the UE is powered on again from the off state, it attempts to enter the connected state from the idle state and initiate a service request procedure to restore service. Before the core network restart, the UE and the core network undergo security negotiation. Signaling exchanges between the two parties must be protected by a security context, with encryption and integrity protection. If security checks fail, the message is discarded. Consequently, if the UE initiates a service request message, and the core network restarts, and the UE's registration information and security context are lost, the UE can only receive a service reject. Furthermore, a service reject is not protected by a security context. The 3rd Generation Partnership Project (3GPP) stipulates that once a security context is established, both parties must use encryption and integrity protection mechanisms to secure signaling. The UE rejects the service request without security context protection, then initiates another service request, and the cycle continues. This results in users being unable to access the internet and use services. In private network scenarios, core network restarts are common, preventing timely service recovery. In carrier core networks, occasional core network restarts or software upgrades have caused millions of users to disconnect and lose connections, resulting in serious incidents.
[0004] Therefore, the prior art urgently needs a server request processing method that can solve the problem of UE being disconnected from the network when the core network is restarted. Summary of the Invention
[0005] Based on this, it is necessary to provide a service request processing method, apparatus, medium and device to address the above technical issues. The method can solve the access problem of user equipment when the core network is restarted.
[0006] The present invention adopts the following technical solutions:
[0007] The present invention provides a service request processing method, comprising:
[0008] When the base station sends a service request to the mobility management entity and the mobility management entity fails verification, the mobility management entity sends a downlink non-access stratum message and an identity request message to the base station; the identity request message is used to obtain the international mobile subscriber identity of the user equipment;
[0009] The base station sends an identity request to the user equipment to obtain an identity response message carrying the international mobile subscriber identity code of the user equipment, and then embeds the identity response message into an uplink non-access stratum message and sends it to the mobility management entity;
[0010] When the mobility management entity receives the uplink transmission non-access layer message, it sends a user equipment context release command message to the base station;
[0011] Sending a user equipment context release command message to the user equipment through the base station, so that the user equipment completes the release of the radio resource control link, and after the release is completed, sending a user equipment context release completion message to the mobility management entity through the base station;
[0012] After the mobility management entity receives the user equipment context release completion message and an interval of 1 second, the base station sends a paging message and pages the user equipment using the international mobile user identity code; the paging message carries the international mobile user identity code;
[0013] After receiving the paging message, the user equipment initiates an attach procedure to the mobility management entity.
[0014] Preferably, the conditions for the mobility management entity verification failure include the user equipment context being lost and the subscription information being invalid.
[0015] Preferably, the method further comprises:
[0016] When the mobility management entity sends a paging message to the base station a preset number of times at an interval of 1 second and does not receive an attach request sent by the user equipment, the mobility management entity deletes the context information of the user equipment.
[0017] The present invention provides a service request processing device, comprising:
[0018] A first sending module is configured to send a downlink transmission non-access stratum message and an identity request message to the base station through the mobility management entity when the base station sends a service request to the mobility management entity and the mobility management entity fails verification; the identity request message is used to obtain an international mobile subscriber identity code of the user equipment;
[0019] A second sending module is configured to send an identity request to a user equipment through a base station to obtain an identity response message carrying an international mobile subscriber identity code of the user equipment, and embed the identity response message into an uplink transmission non-access stratum message and then send it to a mobility management entity;
[0020] A third sending module is configured to send a user equipment context release command message to the base station after the mobility management entity receives the uplink transmission non-access layer message;
[0021] A release module is configured to send a user equipment context release command message to the user equipment through the base station, so that the user equipment completes the release of the radio resource control link, and after the release is completed, send a user equipment context release completion message to the mobility management entity through the base station;
[0022] A paging module is configured to send a paging message through a base station after the mobility management entity receives a user equipment context release completion message and after an interval of 1 second, and to page the user equipment using the international mobile user identity code; the paging message carries the international mobile user identity code;
[0023] The attach module is configured to initiate an attach process to the mobility management entity after the user equipment receives the paging message.
[0024] The present invention provides a computer-readable storage medium, wherein the storage medium stores a computer program, and when the computer program is executed by a processor, the service request processing method is implemented.
[0025] The present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above-mentioned service request processing method when executing the program.
[0026] At least one of the above technical solutions adopted by the present invention can achieve the following beneficial effects:
[0027] When the base station sends a service request to the mobility management entity and the mobility management entity fails to verify, it sends an identity request message to the base station to obtain the international mobile user identity code of the user equipment. By actively triggering the identity authentication process, the problem of permanent network disconnection caused by the loss of core network status in the traditional solution is solved; when the mobility management entity receives the uplink transmission non-access layer message, it sends a user equipment context release command message to the base station to enable the user equipment to complete the release of the radio resource control link, forcibly release the radio resources, and avoid invalid signaling from continuously occupying the air interface resources; after the mobility management entity receives the user equipment context release completion message and an interval of 1 second, it sends a paging message through the base station and pages the user equipment with the international mobile user identity code; after the user equipment receives the paging message, it initiates an attachment process to the mobility management entity, so that the terminal and the core network are connected again, and the terminal is registered in the core network again to ensure normal access of the mobile phone. This method can solve the problem of UE disconnection when the core network is restarted. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0029] Figure 1 A schematic diagram of network connections of a core network in the prior art provided by the present invention;
[0030] Figure 2 A schematic diagram of the processing flow of a core network failure provided by the present invention;
[0031] Figure 3 A flow chart of a service request processing method provided by the present invention;
[0032] Figure 4 A flow chart of server request processing provided by the present invention;
[0033] Figure 5 A schematic diagram of a service request processing device provided by the present invention;
[0034] Figure 6 A schematic diagram of a computer device for implementing a service request processing method provided by the present invention. DETAILED DESCRIPTION
[0035] To make the objectives, technical solutions, and advantages of the present invention more clear, the technical solutions of the present invention will be clearly and completely described below in conjunction with specific embodiments of the present invention and corresponding drawings. Obviously, the embodiments described are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0036] Devices such as desktop computers, servers, and laptop computers that can execute the solution of the present invention are described below with the server as the execution subject for the sake of convenience.
[0037] In the existing technology, 3GPP standards and existing network deployments, most of them are based on Figure 1 In the illustrated format, the base station connects to the Mobility Management Entity (MME) of the 4G core network via the S1-MME interface, connects to the 4G core network's Serving Gateway (SGW) via the S1-U interface, connects to the Packet Data Network Gateway (PGW), and connects to the external network via the Service Gateway Interface (SGI) interface. Core network equipment is typically deployed on general-purpose physical servers, virtual machine platforms, or containers. The base station and core network are connected via switches.
[0038] The standard networking setup typically involves base stations connecting to the core network, which performs user authentication and data backhaul. However, the UE is not physically connected to the core network and cannot perceive its operating status. If the core network restarts, user information context between the core network and the UE may become out of sync. In this scenario, when the UE transitions from idle to connected state, it initiates a Service Request procedure. This procedure requests the establishment of a radio bearer and S1 connection for data transmission or signaling. If the network cannot satisfy the UE's Service Request, it sends a Service Reject message to reject the UE's service request.
[0039] Terminal-side triggering conditions: The UE has uplink data to send; the UE receives notification of the arrival of downlink data (via a Paging message); the UE needs to send NAS signaling, such as a TAU request or an Attach request.
[0040] Network-side triggering conditions: The UE context is lost or invalid due to a core network restart caused by a software upgrade or other reasons.
[0041] The process of handling core network failure in the existing technology is as follows: Figure 2 shown.
[0042] Step 1. UE sends a Service Request message: The UE sends an RRC connection request to the eNodeB through the Radio Resource Control (RRC) connection establishment process. After the RRC connection is established, the UE sends a Service Request to the MME through a NAS message.
[0043] Step 2: MME check failure: The MME finds that the UE context is lost, the subscription information is invalid, or other problems occur; the MME decides to reject the UE's request.
[0044] Step 3: MME sends a Service Reject message: The MME sends a Service Reject message to the UE via a NAS message, carrying the rejection reason.
[0045] Step 4: The base station sends a Service Reject message to the UE.
[0046] During the paging process, if the core network restarts or experiences other issues, it will not be able to respond to a Service Request message without the UE context. The core network will respond with a Service Reject message without encryption and integrity protection, which the UE will reject. The UE will then repeatedly initiate the Service Request process. This will result in the UE being unable to access the internet, and consumers will complain about the network being unavailable.
[0047] The present invention proposes a method for processing service requests. By re-requesting the IMSI from the UE and adding a series of process controls, a UE in a security context asymmetry situation can be reattached, restoring the security context to a consistent state, allowing the UE to resume online access. This method allows the core network to process UEs that initially submitted service requests without a registration request during software upgrades or faulty restarts, ensuring that after the core network software upgrade or recovery, a large number of UEs will not be in a suspended state, repeatedly sending service requests.
[0048] The technical solutions provided by various embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0049] Figure 3The following is a flow chart of a service request processing method in the present invention, which specifically includes the following steps:
[0050] S301: When the base station sends a service request to the mobility management entity and the mobility management entity fails to verify, a downlink transmission non-access stratum message and an identity request message are sent to the base station through the mobility management entity; the identity request message is used to obtain the international mobile subscriber identity code of the user equipment.
[0051] In an exemplary embodiment, the conditions for the mobility management entity verification failure include the user equipment context being lost and the subscription information being invalid.
[0052] S302: Send an identity request to the user equipment through the base station to obtain an identity response message carrying the international mobile subscriber identity code of the user equipment, and embed the identity response message into an uplink non-access layer message and send it to the mobility management entity.
[0053] S303: After receiving the uplink transmission non-access stratum message, the mobility management entity sends a user equipment context release command message to the base station.
[0054] S304: Send a user equipment context release command message to the user equipment through the base station, so that the user equipment completes the release of the radio resource control link, and after the release is completed, send a user equipment context release completion message to the mobility management entity through the base station.
[0055] S305: After the mobility management entity receives the user equipment context release completion message and after an interval of 1 second, the mobility management entity sends a paging message through the base station and pages the user equipment using the international mobile subscriber identity code; the paging message carries the international mobile subscriber identity code.
[0056] S306: After receiving the paging message, the user equipment initiates an attach procedure to the mobility management entity.
[0057] In an exemplary embodiment, the method further includes: when the mobility management entity sends a preset number of paging messages to the base station at intervals of 1 second and does not receive an attach request sent by the user equipment, the mobility management entity deletes the context information of the user equipment.
[0058] Specifically, the first preset number of times is set according to specific engineering practice.
[0059] In an exemplary embodiment, the present invention provides Figure 4 The server request processing flow chart shown.
[0060] Step 1: The UE sends a Service Request message.
[0061] Step 2: The base station encapsulates the NAS message Service Request message into an S1AP message (S1AP is the control plane signaling protocol between the eNodeB (base station) and the MME (mobility management entity) in the LTE / EPC network, responsible for managing the signaling interaction between the user equipment (UE) and the core network) Initial UE message and sends it to the MME.
[0062] Step 3: If the core network cannot find the user context due to a restart or other reasons, a check fail will be performed.
[0063] Step 4: The MME sends a Downlink Transport NAS message plus an Identity Request to the ENB. The Identity Request indicates that the user is requesting to obtain the IMSI.
[0064] Step 5: The base station sends an Identity Request message to the UE.
[0065] Step 6: After receiving the message, the UE will send a NAS message Identity Response (carrying IMSI) according to the instructions.
[0066] Step 7: The base station embeds the Identity Response (carrying the IMSI) into an Uplink transport NAS message and sends it to the MME.
[0067] Step 8: After receiving the message, the MME saves the IMSI and then sends a UE Context Release Command message to the base station to return the UE to the IDLE state.
[0068] Step 9: The eNodeB sends an RRC Connection Release message to the UE and releases the connection with the UE.
[0069] Step 10: The eNodeB responds to the MME with a UE Context Release Complete message.
[0070] Step 11: After receiving the UE Context Release Complete message, the MME sends a paging message to the base station after an interval of 1 second. The content of the paging message carries the IMSI in step 7.
[0071] Step 12: The base station uses the IMSI to page the terminal UE.
[0072] Step 13: After receiving the paging message from the base station, the terminal UE needs to initiate an Attach Procedure after receiving the message because it is an IMSI paging method.
[0073] When applying a service request processing method provided by the present invention, it is not necessary to Figure 2 The steps are executed in the order shown. The specific execution order of the steps can be determined according to needs, and the present invention does not limit this.
[0074] The above is a service request processing method provided by one or more embodiments of the present invention. Based on the same idea, the present invention also provides a corresponding service request processing device, such as Figure 5 shown.
[0075] Figure 5 A schematic diagram of a service request processing device provided by the present invention includes:
[0076] The first sending module 501 is used to send a downlink transmission non-access layer message and an identity request message to the base station through the mobility management entity when the base station sends a service request to the mobility management entity and the mobility management entity fails to verify; the identity request message is used to obtain the international mobile user identity code of the user equipment.
[0077] The second sending module 502 is used to send the identity request to the user equipment through the base station to obtain the identity response message carrying the international mobile user identity code of the user equipment, and embed the identity response message into the uplink transmission non-access layer message and then send it to the mobility management entity.
[0078] The third sending module 503 is configured to send a user equipment context release command message to the base station after the mobility management entity receives the uplink transmission non-access stratum message.
[0079] The release module 504 is configured to send a user equipment context release command message to the user equipment through the base station to enable the user equipment to complete the release of the radio resource control link, and send a user equipment context release completion message to the mobility management entity through the base station after the release is completed.
[0080] The paging module 505 is configured to send a paging message via the base station after the mobility management entity receives the user equipment context release completion message and after an interval of 1 second, and to page the user equipment using the international mobile subscriber identity code; the paging message carries the international mobile subscriber identity code.
[0081] The attach module 506 is configured to initiate an attach procedure to the mobility management entity after the user equipment receives the paging message.
[0082] For the specific definition of a service request processing device, please refer to the definition of a service request processing method above and will not be repeated here. Each module in the above-mentioned service request processing device can be implemented in whole or in part through software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each of the above modules.
[0083] The present invention also provides a computer-readable storage medium, which stores a computer program, which can be used to execute the above Figure 3 Provides a service request processing method.
[0084] The present invention also provides Figure 6 The structural diagram of the computer equipment shown in FIG. Figure 6 As shown in the figure, at the hardware level, the computer device includes a processor, an internal bus, a network interface, a memory, and a non-volatile memory. Of course, it may also include other hardware required for the business. The processor reads the corresponding computer program from the non-volatile memory into the memory and then runs it to achieve the above Figure 3 Provides a service request processing method.
[0085] Those skilled in the art will appreciate that all or part of the processes in the above-described method embodiments can be implemented by instructing the relevant hardware using a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes in the above-described method embodiments. Any reference to memory, storage, database, or other media used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile memory may include read-only memory (ROM), magnetic tape, floppy disk, flash memory, or optical storage. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).
[0086] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of the present invention.
Claims
1. A service request processing method, characterized in that: include: When the base station sends a service request to the mobility management entity and the mobility management entity fails verification, the mobility management entity sends a downlink transmission non-access stratum message and an identity request message to the base station; the identity request message is used to obtain the international mobile subscriber identity of the user equipment; Sending the identity request to the user equipment through the base station to obtain an identity response message carrying an international mobile subscriber identity code of the user equipment, and embedding the identity response message into an uplink transmission non-access stratum message and then sending it to the mobility management entity; When the mobility management entity receives the uplink transmission non-access stratum message, it sends a user equipment context release command message to the base station; Sending the user equipment context release command message to the user equipment through the base station, so that the user equipment completes the release of the radio resource control link, and sending a user equipment context release completion message to the mobility management entity through the base station after the release is completed; After the mobility management entity receives the user equipment context release completion message and at an interval of 1 second, the mobility management entity sends a paging message through the base station and pages the user equipment using the international mobile subscriber identity code. When the mobility management entity sends a preset number of paging messages to the base station at an interval of 1 second and does not receive an attach request process sent by the user equipment, the mobility management entity deletes the context information of the user equipment; the paging message carries the international mobile subscriber identity code; After receiving the paging message, the user equipment initiates an attach request process to the mobility management entity.
2. The method according to claim 1, wherein The conditions for the mobility management entity verification failure include the context of the user equipment being lost and the subscription information being invalid.
3. A service request processing device, characterized in that: include: A first sending module is configured to, when a base station sends a service request to a mobility management entity and the mobility management entity fails verification, send a downlink transmission non-access stratum message and an identity request message to the base station through the mobility management entity; the identity request message is used to obtain an international mobile subscriber identity of a user equipment; A second sending module is configured to send the identity request to the user equipment through the base station to obtain an identity response message carrying an international mobile subscriber identity code of the user equipment, and embed the identity response message into an uplink transmission non-access layer message and then send it to the mobility management entity; A third sending module is configured to send a user equipment context release command message to the base station after the mobility management entity receives the uplink transmission non-access layer message; A release module is configured to send the user equipment context release command message to the user equipment through the base station, so that the user equipment completes the release of the radio resource control link, and after the release is completed, send a user equipment context release completion message to the mobility management entity through the base station; a paging module, configured to send a paging message through the base station after the mobility management entity receives the user equipment context release completion message at an interval of 1 second, and page the user equipment using the international mobile subscriber identity code; when the mobility management entity sends a preset number of paging messages to the base station at an interval of 1 second and does not receive an attach request process sent by the user equipment, the mobility management entity deletes the context information of the user equipment; the paging message carries the international mobile subscriber identity code; The attach module is configured to initiate an attach request process to the mobility management entity after the user equipment receives the paging message.
4. A computer-readable storage medium, characterized in that The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 2 is implemented.
5. A computer device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein when the processor executes the program, the method according to any one of claims 1 to 2 is implemented.
Citation Information
Patent Citations
User equipment and paging processing method thereof
CN102348278A
Mobility management unit and processing method for restarting same
WO2012034468A1