CN107484239B - Network registration exception handling method and device and user terminal - Google Patents

Network registration exception handling method and device and user terminal Download PDF

Info

Publication number
CN107484239B
CN107484239B CN201710729497.4A CN201710729497A CN107484239B CN 107484239 B CN107484239 B CN 107484239B CN 201710729497 A CN201710729497 A CN 201710729497A CN 107484239 B CN107484239 B CN 107484239B
Authority
CN
China
Prior art keywords
apn
network
user terminal
attach
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710729497.4A
Other languages
Chinese (zh)
Other versions
CN107484239A (en
Inventor
何志力
王燕飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Qiku Internet Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qiku Internet Technology Shenzhen Co Ltd filed Critical Qiku Internet Technology Shenzhen Co Ltd
Priority to CN201710729497.4A priority Critical patent/CN107484239B/en
Publication of CN107484239A publication Critical patent/CN107484239A/en
Application granted granted Critical
Publication of CN107484239B publication Critical patent/CN107484239B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition

Abstract

The invention provides a method, a device and a user terminal for processing network registration exception, which relate to the technical field of mobile communication, wherein the method is executed by the user terminal, and comprises the following steps: when network registration is carried out through a first attach request and an attach reject message of network side equipment is received, a second attach request is sent to the network side equipment, wherein an APN transmission identification bit of the first attach request carries an APN transmission identification, and an APN transmission identification bit of the second attach request is empty; when receiving an attach accepting message sent by network side equipment, modifying an APN parameter of a user terminal according to the attach accepting message; and sending a registration completion message to the network side equipment. The invention obtains the attachment accepting message sent by the network side equipment by sending the second attachment request with the APN transmission identification bit being empty, modifies the APN parameter of the user terminal according to the attachment accepting message, and completes the network registration, thereby improving the network registration experience of the user.

Description

Network registration exception handling method and device and user terminal
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method and an apparatus for handling network registration exception, and a user terminal.
Background
A UE (User Equipment or User terminal) needs to register with a network before acquiring a service, and the process of network registration is called Attach (Attach).
In the network registration process, if an attach request sent by the UE carries an APN (Access Point Name, Access Point) transfer identifier, the network side device requests the UE to send an APN parameter configured by the UE, and checks the received APN parameter to determine whether to accept the attach of the UE. However, when the APN parameter configuration of the UE is wrong, the wrong APN parameter sent to the network side device may cause a network check failure, so that the network rejects the UE attachment and the network registration fails.
Therefore, when the APN parameter configuration of the UE is wrong, the problem exists in the prior art that the user cannot complete network registration, and the network registration experience of the user is poor.
Disclosure of Invention
In view of this, an object of the present invention is to provide a method, an apparatus and a user terminal for handling network registration exception, so as to solve the problem that a user cannot complete network registration when the APN parameter configuration of a UE is incorrect, and improve the network registration experience of the user.
In a first aspect, an embodiment of the present invention provides a method for handling network registration exception, where the method is executed by a user terminal, and the method includes: when network registration is carried out through a first attach request and an attach reject message of network side equipment is received, a second attach request is sent to the network side equipment, wherein an APN transmission identification bit of the first attach request carries an APN transmission identification, and an APN transmission identification bit of the second attach request is empty; when receiving an attach accepting message sent by network side equipment, modifying an APN parameter of a user terminal according to the attach accepting message; and sending a registration completion message to the network side equipment.
In a preferred embodiment of the present invention, the step of performing network registration through the first attach request includes: sending a first attach request to network side equipment, wherein an APN transmission identification bit of the first attach request carries an APN transmission identification; when receiving an APN acquisition request sent by network side equipment, sending a response message to the network side equipment, wherein the response message comprises APN parameters configured by a user terminal.
In a preferred embodiment of the present invention, when the ue performs LTE (Long Term Evolution) network registration, the method further includes: receiving ESM (The EPS Session Management) information sent by network side equipment; extracting a rejection reason from the ESM information; and when the rejection reason is one of the following reasons, determining that the attachment rejection message of the network side equipment is received: the APN parameter is lost, the APN parameter cannot be identified, and the service corresponding to the APN parameter is not signed.
In a preferred embodiment of the present invention, the step of modifying APN parameters of the ue according to the attach accept message comprises: and extracting the APN parameter of the activated bearer from the attachment receiving message, and modifying the APN parameter of the user terminal into the APN parameter of the activated bearer.
In a preferred embodiment of the present invention, the service type carried by the second attach request is a web browsing service, and the APN parameter that has been activated for bearer is an APN parameter that is a default bearer.
In a preferred embodiment of the present invention, after sending the registration completion message to the network, the method further includes: and carrying out data transmission by adopting the modified APN parameter of the user terminal.
In a second aspect, an embodiment of the present invention further provides an apparatus for handling network registration exception, where the apparatus is disposed at a user terminal side, and the apparatus includes: a second request sending module, configured to send a second attach request to the network-side device when performing network registration through the first attach request and receiving an attach reject message of the network-side device, where an APN transfer identity is carried by an APN transfer identity bit of the first attach request, and an APN transfer identity bit of the second attach request is null; a parameter modification module, configured to modify, when receiving an attach accept message sent by a network side device, an APN parameter of a user terminal according to the attach accept message; and the completion sending module is used for sending a registration completion message to the network side equipment.
In a preferred embodiment of the present invention, the apparatus further comprises: a first request sending module, configured to send a first attach request to a network side device, where an APN transfer identifier is carried by an APN transfer identifier bit of the first attach request; and the response sending module is used for sending a response message to the network side equipment when receiving the APN acquisition request sent by the network side equipment, wherein the response message comprises APN parameters configured by the user terminal.
In a preferred embodiment of the present invention, when the ue performs LTE network registration, the apparatus further includes: the receiving module is used for receiving ESM information sent by the network side equipment; the extraction module is used for extracting the rejection reason from the ESM information; a determining module, configured to determine that an attach reject message of the network-side device is received when the reject reason is one of the following: the APN parameter is lost, the APN parameter cannot be identified, and the service corresponding to the APN parameter is not signed.
In a preferred embodiment of the present invention, the parameter modification module is specifically configured to: and extracting the APN parameter of the activated bearer from the attachment receiving message, and modifying the APN parameter of the user terminal into the APN parameter of the activated bearer.
In a preferred embodiment of the present invention, the service type carried by the second attach request is a web browsing service, and the APN parameter that has been activated for bearer is an APN parameter that is a default bearer.
In a preferred embodiment of the present invention, the apparatus further comprises: and the data transmission module is used for transmitting data by adopting the modified APN parameters of the user terminal.
In a third aspect, an embodiment of the present invention provides a user terminal, where the user terminal includes a memory and a processor, the memory is used to store a program that enables the processor to execute any one of the methods provided in the first aspect, and the processor is configured to execute the program stored in the memory.
In a fourth aspect, an embodiment of the present invention provides a computer storage medium for storing computer software instructions for an apparatus according to any one of the second aspect.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a method, a device and a user terminal for processing network registration exception, when network registration is carried out through a first attach request and an attach reject message of network side equipment is received, a second attach request is sent to the network side equipment, wherein an APN transmission identification bit of the first attach request carries an APN transmission identification, and the APN transmission identification bit of the second attach request is empty; when receiving an attach accepting message sent by network side equipment, modifying an APN parameter of a user terminal according to the attach accepting message; and sending a registration completion message to the network side equipment. By the method, the second attachment request can be automatically sent when the user terminal is refused to attach by the network side equipment, and the second attachment request is different from the content carried by the previous first attachment request, so that the processing modes adopted by the network side equipment are different, the success rate of attachment can be improved, the network registration efficiency of the user terminal is improved, and the experience degree of the user using the user terminal is improved.
Additional features and advantages of the disclosure will be set forth in the description which follows, or in part may be learned by the practice of the above-described techniques of the disclosure, or may be learned by practice of the disclosure.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart illustrating a first network registration exception handling method according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a second network registration exception handling method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a third method for handling network registration exception according to an embodiment of the present invention;
fig. 4 shows a block diagram of a first network registration exception handling apparatus according to an embodiment of the present invention;
fig. 5 is a block diagram illustrating a second network registration exception handling apparatus according to an embodiment of the present invention;
FIG. 6 is a block diagram illustrating a network registration exception handling system according to an embodiment of the present invention;
fig. 7 shows a schematic structural diagram of a user terminal according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to improve the success rate of network registration of a user terminal, the embodiment of the invention provides a method and a device for processing network registration exception and the user terminal. The user terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a vehicle-mounted computer, and the like. The following describes embodiments of the present invention in detail.
The first embodiment is as follows:
referring to a flowchart of a first network registration exception handling method shown in fig. 1, the method is executed by a user terminal, and the method includes the following steps:
step S102, when network registration is performed through the first attach request and an attach reject message of the network side equipment is received, a second attach request is sent to the network side equipment, wherein an APN transmission identification bit of the first attach request carries an APN transmission identification, and an APN transmission identification bit of the second attach request is null.
The process of network registration is called attach, when the user terminal performs network registration, an attach request needs to be sent to the network side device first, the attach request may or may not carry an APN transfer identifier, if the attach request carries an APN transfer identifier, the network side device may obtain an APN parameter configured by the user terminal from the user terminal, and perform subsequent attach operation based on the APN parameter. If the attach request does not carry the APN transfer identity, i.e. the APN transfer identity bit in the attach request is empty, the network side device does not acquire the APN configured by the user terminal from the user terminal any more, but directly enables the default APN of the network side.
When the configuration of the APN parameter of the user terminal is wrong and the user terminal performs network registration through the first attach request carrying the APN transmission identifier, the network side equipment can acquire the wrong APN parameter configured by the user terminal from the user terminal, the wrong APN parameter can cause the network side equipment to fail in inspection, and the network side equipment sends an attach rejection message to the user terminal. Based on this, in this embodiment, when performing network registration through the first attach request and receiving an attach reject message of the network side device, the ue sends a second attach request with an APN transfer identity bit being empty to the network side device. Note that, the NULL here includes an APN transfer identification bit of 0 or NULL (not filled).
Thus, the network side device receives the attachment after receiving the second attachment request, activates the bearer on the network side, and sends an attachment receiving message carrying the APN parameter of the activated bearer to the user terminal.
Step S104, when receiving the attachment accepting message sent by the network side equipment, modifying the APN parameter of the user terminal according to the attachment accepting message.
The method comprises the steps that the APN parameters of activated bearing are carried in an attach receiving message sent by network side equipment to a user terminal, and when the user terminal receives the attach receiving message, the wrong APN parameters currently configured by the user terminal can be modified into the APN parameters of activated bearing.
Step S106, a registration completion message is sent to the network side equipment.
After the modification of the APN parameter of the user terminal is completed, a registration completion message may be sent to the network side device, so that the network side device determines that the current registration/attach procedure is completed.
In the method for processing network registration exception provided by the embodiment of the present invention, when a user terminal performs network registration through a first attach request carrying an APN transfer identifier and receives an attach reject message of a network side device, a second attach request with an APN transfer identifier bit being empty is sent to the network side device; when receiving the attachment accepting message sent by the network side equipment, modifying the APN parameter of the user terminal according to the attachment accepting message, and sending a registration completion message to the network side equipment. By the method, the second attachment request can be automatically sent when the user terminal is refused to attach by the network side equipment, and the second attachment request is different from the content carried by the previous first attachment request, so that the processing modes adopted by the network side equipment are different, the success rate of attachment can be improved, the network registration efficiency of the user terminal is improved, and the experience degree of the user using the user terminal is improved.
Further, the second attach request also carries a service type, and the bearer activated by the network side device corresponds to the service type; the service types include a web browsing service (also referred to as a common service), a multimedia message service, a 4G voice-over-bearer service, and the like.
In the network registration process of the user equipment, two types of bearers are usually involved, namely a default bearer and a dedicated bearer. Wherein the default bearer is created at the time of attachment and remains online for the lifetime of the network connection. In most cases, the quality of service involved with the default bearer is for user traffic that does not require special treatment and handling, such as Web browsing. Whereas a bearer created for an already existing network connection is called a proprietary bearer, which is activated as needed. For example, some voice applications, voice services, may need to transmit large amounts of data and thus require a certain bit rate to be guaranteed, while the default bearer cannot meet this requirement, in which case an attempt will be made to establish a proprietary bearer. When they are no longer needed, the proprietary bearer may be deactivated, such as when the voice call ends.
Based on the above, considering that the user frequently performs the web browsing service, the method further includes: and when the service type carried by the second attach request is a web browsing service, the APN parameter which is activated to carry is the APN parameter which is carried by default. In addition, for the multimedia message service and the 4G bearer voice service corresponding to the special bearer, the method further comprises the following steps: when the Service type is a Multimedia message Service, the APN parameter of the activated bearer is an MMS (Multimedia message Service) APN parameter; when the service type is 4G bearer voice service, the APN parameter of the activated bearer is an IMS (IP Multimedia Subsystem) APN parameter. By the parameter setting mode, on the basis of meeting different service requirements, a bearing mode corresponding to a lower flow charge can be adopted as much as possible, and the flow overhead of the user terminal is reduced.
Example two:
fig. 2 is a flowchart illustrating a second network registration exception handling method according to an embodiment of the present invention, where the method is executed by a user terminal, and a registration process at a mobile terminal side is specifically described in the method. As shown in fig. 2, the method comprises the steps of:
step S202, sending a first attach request to a network side device, where an APN transfer identity is carried by an APN transfer identity of the first attach request. That is, the attach request sent by the ue to the network side device carries the APN transfer identity.
Step S204, when receiving an APN acquisition request sent by a network side device, sending a response message to the network side device, wherein the response message includes APN parameters configured by a user terminal. The present invention is directed to the case where the APN configuration of the ue is incorrect, that is, the APN parameter herein is an APN parameter of the APN configuration error of the ue.
Step S206, receiving ESM information sent by the network side device. The ESM information here is rejection information returned to the user terminal according to a response message sent by the user terminal after the network side device receives the response message.
In step S208, the rejection reason is extracted from the ESM information. The ESM information carries the rejection reason, and the rejection reason can be obtained by analyzing the ESM information.
Step S210, when the reject reason is as follows, determining that the attach reject message of the network side device is received: the APN parameter is lost, the APN parameter cannot be identified, and the service corresponding to the APN parameter is not signed. The lost APN parameter and the APN parameter cannot identify a code 27(Missing or unknown APN) corresponding to the existing error cause list, and a service corresponding to the APN parameter is not signed and corresponds to a code 33(Requested service option not supported).
Step S212, sending a second attach request with an empty APN transfer identification bit to the network side device, where the second attach request carries a web browsing service. And after receiving the second attachment request, the network side equipment activates the default bearer and sends an attachment accepting message carrying the APN parameters of the activated bearer to the mobile terminal.
Step S214, receiving the attach accept message sent by the network side device.
Step S216, extracting the APN parameter of the default load from the attachment accepting message, and modifying the APN parameter of the user terminal into the APN parameter of the default load.
Step S218, a registration completion message is sent to the network side device.
And step S220, carrying out data transmission by adopting the modified APN parameters of the user terminal. That is, the user terminal performs data transmission with the LTE network using the modified APN parameter of the user terminal.
The network registration exception handling method provided by the embodiment of the invention sends an attach request carrying an APN (access point name) transmission identifier to network side equipment; when receiving an attach rejection message of a network side device, sending a second attach request with an empty APN transmission identification bit to the network side device, wherein the second attach request carries a web browsing service; receiving an attachment accepting message sent by network side equipment, extracting APN parameters of a default bearer from the attachment accepting message, and modifying the APN parameters of a user terminal into the APN parameters of the default bearer; and after sending a registration completion message to the network side equipment, carrying out data transmission by adopting the modified APN parameter of the user terminal. By the method, the second attachment request can be automatically sent when the user terminal is refused to attach by the network side equipment, and the second attachment request is different from the content carried by the previous first attachment request, so that the processing modes adopted by the network side equipment are different, the success rate of attachment can be improved, the network registration efficiency of the user terminal is improved, and the experience degree of the user using the user terminal is improved.
Example three:
referring to a flow chart of a third method for handling network registration exception shown in fig. 3, a user terminal is used as a mobile phone, a network device is replaced by an LTE network, and an interaction process between the mobile phone and the LTE network is mainly shown, which specifically includes the following steps:
step S302, the mobile phone initiates a mobility attachment request to the LTE network. The mobility attach request is an attach request carrying an APN transfer identity.
Step S304, the LTE network sends APN acquisition request to the mobile phone.
Step S306, the mobile phone returns a response message carrying the APN parameter to the LTE network.
Step S308, the LTE network checks the APN parameters and the APN check fails. The LTE network checks whether the APN parameter is consistent with the default APN parameter, if not, the APN check fails; if the APN is consistent, the APN check is successful.
Step S310, the LTE network sends an attachment rejection message to the mobile phone.
Step S312, the mobile phone sends an attach request with an APN transfer identification bit empty to the LTE network.
Step S314, the LTE network accepts the attach and activates the default bearer.
Step S316, the mobile phone sends an attach complete message to the LTE network.
Step S318, the mobile phone performs data transmission with the LTE network.
According to the network registration exception handling method provided by the embodiment of the invention, the attach request with the empty APN transmission identification bit is sent to the LTE network, the APN parameter of the mobile phone is modified into the default loaded APN parameter after the attach accepting message sent by the LTE network is received, and the registration finishing message is sent to the LTE network, so that the LTE network registration is finished, the next attach process can still be automatically initiated when the APN parameter configuration of the mobile phone is wrong, and the attach request in the attach process does not carry the APN transmission identification, so that the LTE network accepts the attachment and activates the default load, further the LTE network registration is finished, and the network registration experience degree of a user is improved.
Example four:
as to the network registration exception handling method provided in the foregoing embodiment, an embodiment of the present invention provides a network registration exception handling apparatus disposed at a user terminal side, referring to a structural block diagram of the network registration exception handling apparatus shown in fig. 4, where the apparatus includes the following modules:
a second request sending module 402, configured to send a second attach request to a network-side device when network registration is performed through the first attach request and an attach reject message of the network-side device is received, where an APN transfer identifier is carried by an APN transfer identifier of the first attach request, and an APN transfer identifier of the second attach request is empty;
a parameter modification module 404, configured to modify an APN parameter of a user terminal according to an attach accept message sent by a network side device when the attach accept message is received;
a complete sending module 406, configured to send a registration complete message to the network-side device.
Further, referring to the structural block diagram of the second network registration exception handling apparatus shown in fig. 5, on the basis of fig. 4, the apparatus further includes the following modules:
a first request sending module 502, configured to send a first attach request to a network side device, where an APN transfer identifier is carried by an APN transfer identifier bit of the first attach request;
a response sending module 504, configured to send a response message to the network-side device when receiving an APN acquisition request sent by the network-side device, where the response message includes an APN parameter configured by the user terminal.
Further, as shown in fig. 5, the apparatus further includes the following modules:
a receiving module 506, configured to receive ESM information sent by a network side device;
an extracting module 508, configured to extract a rejection reason from the ESM information;
a determining module 510, configured to determine that an attach reject message of the network-side device is received when the reject reason is one of the following: the APN parameter is lost, the APN parameter cannot be identified, and the service corresponding to the APN parameter is not signed.
Further, the parameter modification module 404 is specifically configured to:
and extracting the APN parameter of the activated bearer from the attachment receiving message, and modifying the APN parameter of the user terminal into the APN parameter of the activated bearer.
Further, the service type carried by the second attach request is a web browsing service, and the APN parameter that has been activated for bearer is an APN parameter that is a default bearer.
Further, as shown in fig. 5, the apparatus further includes: and a data transmission module 512, configured to perform data transmission by using the modified APN parameter of the ue.
In summary, any of the foregoing network registration exception handling apparatuses provided in this embodiment sends an attach request carrying an APN transfer identifier to a network side device; when receiving an attach rejection message of a network side device, sending a second attach request with an APN transmission identification bit being empty to the network side device; receiving an attachment accepting message sent by network side equipment, and modifying an APN parameter of a user terminal according to the attachment accepting message; and after sending a registration completion message to the network side equipment, carrying out data transmission by adopting the modified APN parameter of the user terminal. By the method, the second attachment request can be automatically sent when the user terminal is refused to attach by the network side equipment, and the second attachment request is different from the content carried by the previous first attachment request, so that the processing modes adopted by the network side equipment are different, the success rate of attachment can be improved, the network registration efficiency of the user terminal is improved, and the experience degree of the user using the user terminal is improved.
Referring to fig. 6, a block diagram of a network registration exception handling system includes a network registration exception handling apparatus 100 and a network side device 200. The implementation of the network registration exception handling apparatus 100 is described by taking the structure of the apparatus shown in fig. 4 as an example, and the functions of each module are not described again.
The implementation principle and the resulting technical effect of the above-mentioned apparatus and system provided by this embodiment are the same as those of the above-mentioned embodiment, and for the sake of brief description, no part of the embodiments of the apparatus and system is mentioned, and reference may be made to the corresponding contents in the above-mentioned method embodiments.
Example five:
an embodiment of the present invention provides a user terminal, where the user terminal includes a memory and a processor, the memory is used to store a program that supports the processor to execute the network registration exception handling method provided in the foregoing embodiment, and the processor is configured to execute the program stored in the memory. The user terminal may also comprise a communication interface for communicating with other devices or a communication network. The user terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a vehicle-mounted computer, and the like.
Further, the present embodiment also provides a computer storage medium for storing computer software instructions for any network registration exception handling apparatus provided in the foregoing embodiments.
Fig. 7 is a schematic structural diagram of a user terminal according to an embodiment of the present invention. Referring to fig. 7, the user terminal includes: radio Frequency (RF) circuit 710, memory 720, input unit 730, display unit 740, sensor 750, audio circuit 760, wireless fidelity (WiFi) module 770, processor 780, and power supply 790. Those skilled in the art will appreciate that the user terminal architecture shown in fig. 7 does not constitute a limitation of the user terminal and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components. The following describes each component of the user terminal of this embodiment in detail with reference to fig. 7:
the RF circuit 710 may be used for receiving and transmitting signals during the process of transmitting and receiving information, and in particular, for processing the received downlink information of the base station to the processor 780; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 710 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 710 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 720 may be used to store software programs and modules, and the processor 780 performs various functional applications and data processing of the user terminal by operating the software programs and modules stored in the memory 720. The memory 720 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 720 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 730 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the user terminal. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732. The touch panel 731, also referred to as a touch screen, can collect touch operations of a user (e.g. operations of the user on or near the touch panel 731 by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 731 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 780, and can receive and execute commands from the processor 780. In addition, the touch panel 731 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 730 may include other input devices 732 in addition to the touch panel 731. In particular, other input devices 732 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 740 may be used to display information input by the user or information provided to the user and various menus of the user terminal. The Display unit 740 may include a Display panel 741, and optionally, the Display panel 741 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 731 can cover the display panel 741, and when the touch panel 731 detects a touch operation on or near the touch panel 731, the touch operation is transmitted to the processor 780 to determine the type of the touch event, and then the processor 780 provides a corresponding visual output on the display panel 741 according to the type of the touch event. Although the touch panel 731 and the display panel 741 are two independent components in fig. 7 to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 may be integrated to implement the input and output functions of the mobile phone.
The user terminal may also include at least one sensor 750, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of ambient light. Audio circuitry 760, speaker 761, and microphone 762 may provide an audio interface between a user and a user terminal. The audio circuit 760 can transmit the electrical signal converted from the received audio data to the speaker 761, and the electrical signal is converted into a sound signal by the speaker 761 and output; on the other hand, the microphone 762 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 760, processes the audio data by the audio data output processor 780, and transmits the processed audio data to, for example, another user terminal via the RF circuit 710, or outputs the audio data to the memory 720 for further processing.
WiFi belongs to short-range wireless transmission technology, and the user terminal can provide wireless broadband internet access to the user through the WiFi module 770. Although fig. 7 shows the WiFi module 770, it is understood that it does not belong to the essential constitution of the user terminal, and can be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 780 is a control center of the user terminal, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the user terminal and processes data by operating or executing software programs and/or modules stored in the memory 720 and calling data stored in the memory 720, thereby integrally monitoring the user terminal. Optionally, processor 780 may include one or more processing units; preferably, the processor 780 may be integrated with an application processor that primarily handles operating systems, user interfaces, application programs, and the like. Processor 780 may incorporate a modem processor or a modem processor may not be incorporated into processor 780.
The user terminal also includes a power supply 790 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 780 via a power management system to manage charging, discharging, and power consumption management functions via the power management system. Although not shown, the user terminal may further include a camera, a bluetooth module, and the like, which will not be described herein.
The method, the apparatus, the user terminal, and the computer program product of the computer storage medium for processing network registration exception provided in the embodiments of the present invention include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.
The embodiment of the invention also discloses:
A1. a network registration exception handling method, the method being performed by a user terminal, the method comprising:
when network registration is carried out through a first attach request and an attach reject message of a network side device is received, sending a second attach request to the network side device, wherein an APN transmission identification bit of the first attach request carries an APN transmission identification, and the APN transmission identification bit of the second attach request is empty;
when receiving an attach accepting message sent by the network side equipment, modifying the APN parameter of the user terminal according to the attach accepting message;
and sending a registration completion message to the network side equipment.
A2. The method of a1, wherein the step of performing network registration with the first attach request includes:
sending a first attach request to network side equipment, wherein an APN (access point name) transmission identification bit of the first attach request carries an APN transmission identification;
and when receiving an APN acquisition request sent by the network side equipment, sending a response message to the network side equipment, wherein the response message comprises APN parameters configured by the user terminal.
A3. According to the method of a1, when the user terminal performs LTE network registration, the method further comprises:
receiving ESM information sent by the network side equipment;
extracting a rejection reason from the ESM information;
when the reject reason is one of the following reasons, determining that an attach reject message of the network side device is received: the APN parameter is lost, the APN parameter cannot be identified, and the service corresponding to the APN parameter is not signed.
A4. According to the method of a1, the step of modifying APN parameters of the user terminal according to the attach accept message includes:
and extracting APN parameters of the activated bearer from the attachment receiving message, and modifying the APN parameters of the user terminal into the APN parameters of the activated bearer.
A5. According to the method of a4, the service type carried by the second attach request is a web browsing service, and the APN parameter that has been activated for bearer is an APN parameter that is a default bearer.
A6. According to the method of a1, after sending a registration complete message to the network, the method further comprises:
and carrying out data transmission by adopting the modified APN parameter of the user terminal.
B7. An apparatus for handling network registration exception, the apparatus being provided at a user terminal side, the apparatus comprising:
a second request sending module, configured to send a second attach request to a network-side device when performing network registration through a first attach request and receiving an attach reject message of the network-side device, where an APN transfer identifier is carried by an APN transfer identifier of the first attach request, and an APN transfer identifier of the second attach request is empty;
a parameter modification module, configured to modify, when receiving an attach accept message sent by the network side device, an APN parameter of the user terminal according to the attach accept message;
and the completion sending module is used for sending a registration completion message to the network side equipment.
B8. The apparatus of B7, the apparatus further comprising:
a first request sending module, configured to send a first attach request to a network side device, where an APN transfer identifier is carried by an APN transfer identifier bit of the first attach request;
a response sending module, configured to send a response message to the network-side device when receiving an APN acquisition request sent by the network-side device, where the response message includes APN parameters configured by the user terminal.
B9. The apparatus of B7, when the user terminal performs LTE network registration, the apparatus further comprising:
the receiving module is used for receiving the ESM information sent by the network side equipment;
the extraction module is used for extracting the rejection reason from the ESM information;
a determining module, configured to determine that the attach reject message of the network-side device is received when the reject reason is one of the following: the APN parameter is lost, the APN parameter cannot be identified, and the service corresponding to the APN parameter is not signed.
B10. According to the apparatus of B7, the parameter modification module is specifically configured to:
and extracting APN parameters of the activated bearer from the attachment receiving message, and modifying the APN parameters of the user terminal into the APN parameters of the activated bearer.
B11. According to the apparatus in B10, the service type carried by the second attach request is a web browsing service, and the APN parameter that has been activated for bearer is an APN parameter that is a default bearer.
B12. The apparatus of B7, the apparatus further comprising:
and the data transmission module is used for transmitting data by adopting the modified APN parameters of the user terminal.
C13. A user terminal comprising a memory for storing a program enabling a processor to perform the method of any of a1 to a6 and a processor configured to execute the program stored in the memory.
D14. A computer storage medium storing computer software instructions for use with an apparatus according to any one of B7 to B12.

Claims (10)

1. A method for handling network registration exception, the method being performed by a user terminal, the method comprising:
when network registration is carried out through a first attach request and an attach reject message of a network side device is received, sending a second attach request to the network side device, wherein an APN transmission identification bit of the first attach request carries an APN transmission identification, and the APN transmission identification bit of the second attach request is empty;
when receiving an attach accepting message sent by the network side equipment, modifying the APN parameter of the user terminal according to the attach accepting message;
sending a registration completion message to the network side equipment;
the step of modifying the APN parameter of the user terminal according to the attach accepting message comprises the following steps:
extracting APN parameters of the activated bearer from the attachment receiving message, and modifying the APN parameters of the user terminal into the APN parameters of the activated bearer;
the second attach request also carries a service type; the service types comprise a web page browsing service, a multimedia message service and a 4G bearing voice service;
when the service type carried by the second attach request is the web browsing service, the APN parameter of the activated bearer is the APN parameter of the default bearer;
when the service type is the multimedia message service, the APN parameter of the activated bearer is an MMS APN parameter;
and when the service type is the 4G bearer voice service, the APN parameter of the activated bearer is an IMS APN parameter.
2. The method of claim 1, wherein the step of performing network registration via the first attach request comprises:
sending a first attach request to network side equipment, wherein an APN (access point name) transmission identification bit of the first attach request carries an APN transmission identification;
and when receiving an APN acquisition request sent by the network side equipment, sending a response message to the network side equipment, wherein the response message comprises APN parameters configured by the user terminal.
3. The method of claim 1, wherein when the user terminal performs LTE network registration, the method further comprises:
receiving ESM information sent by the network side equipment;
extracting a rejection reason from the ESM information;
when the reject reason is one of the following reasons, determining that an attach reject message of the network side device is received: the APN parameter is lost, the APN parameter cannot be identified, and the service corresponding to the APN parameter is not signed.
4. The method of claim 1, wherein after sending a registration complete message to the network, the method further comprises:
and carrying out data transmission by adopting the modified APN parameter of the user terminal.
5. An apparatus for handling network registration exception, the apparatus being disposed at a user terminal side, the apparatus comprising:
a second request sending module, configured to send a second attach request to a network-side device when performing network registration through a first attach request and receiving an attach reject message of the network-side device, where an APN transfer identifier is carried by an APN transfer identifier of the first attach request, and an APN transfer identifier of the second attach request is empty;
a parameter modification module, configured to modify, when receiving an attach accept message sent by the network side device, an APN parameter of the user terminal according to the attach accept message;
a completion sending module, configured to send a registration completion message to the network side device;
the parameter modification module is specifically configured to:
extracting APN parameters of the activated bearer from the attachment receiving message, and modifying the APN parameters of the user terminal into the APN parameters of the activated bearer;
the second attach request also carries a service type; the service types comprise a web page browsing service, a multimedia message service and a 4G bearing voice service;
when the service type carried by the second attach request is the web browsing service, the APN parameter of the activated bearer is the APN parameter of the default bearer;
when the service type is a multimedia message service, the APN parameter of the activated bearer is an MMS APN parameter;
and when the service type is the 4G bearer voice service, the APN parameter of the activated bearer is an IMS APN parameter.
6. The apparatus of claim 5, further comprising:
a first request sending module, configured to send a first attach request to a network side device, where an APN transfer identifier is carried by an APN transfer identifier bit of the first attach request;
a response sending module, configured to send a response message to the network-side device when receiving an APN acquisition request sent by the network-side device, where the response message includes APN parameters configured by the user terminal.
7. The apparatus of claim 5, wherein when the user terminal performs LTE network registration, the apparatus further comprises:
the receiving module is used for receiving the ESM information sent by the network side equipment;
the extraction module is used for extracting the rejection reason from the ESM information;
a determining module, configured to determine that the attach reject message of the network-side device is received when the reject reason is one of the following: the APN parameter is lost, the APN parameter cannot be identified, and the service corresponding to the APN parameter is not signed.
8. The apparatus of claim 5, further comprising:
and the data transmission module is used for transmitting data by adopting the modified APN parameters of the user terminal.
9. A user terminal comprising a memory for storing a program enabling a processor to perform the method of any of claims 1 to 4 and a processor configured to execute the program stored in the memory.
10. A computer storage medium storing computer software instructions for use by the apparatus of any one of claims 5 to 8.
CN201710729497.4A 2017-08-22 2017-08-22 Network registration exception handling method and device and user terminal Active CN107484239B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710729497.4A CN107484239B (en) 2017-08-22 2017-08-22 Network registration exception handling method and device and user terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710729497.4A CN107484239B (en) 2017-08-22 2017-08-22 Network registration exception handling method and device and user terminal

Publications (2)

Publication Number Publication Date
CN107484239A CN107484239A (en) 2017-12-15
CN107484239B true CN107484239B (en) 2020-12-25

Family

ID=60601242

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710729497.4A Active CN107484239B (en) 2017-08-22 2017-08-22 Network registration exception handling method and device and user terminal

Country Status (1)

Country Link
CN (1) CN107484239B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111065139A (en) * 2019-12-31 2020-04-24 深圳市有方科技股份有限公司 Method and device for starting up and attaching Internet of things device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682117A (en) * 2015-12-30 2016-06-15 深圳市万普拉斯科技有限公司 Data service activation method and mobile terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105682117A (en) * 2015-12-30 2016-06-15 深圳市万普拉斯科技有限公司 Data service activation method and mobile terminal

Also Published As

Publication number Publication date
CN107484239A (en) 2017-12-15

Similar Documents

Publication Publication Date Title
CN106714250B (en) Cell registration method and device and computer readable storage medium
CN107277880B (en) Method and device for switching data network and mobile terminal
WO2015090248A1 (en) Server overload protection method and device
EP3565308A1 (en) Method and device for registering to cell
US20170316781A1 (en) Remote electronic service requesting and processing method, server, and terminal
CN106851755B (en) Cell registration method and device
CN108075899B (en) Identity authentication method, mobile terminal and computer readable storage medium
WO2019233218A1 (en) Cell measurement report processing method and apparatus, and mobile terminal
WO2017128538A1 (en) Network search control method and device
CN107182113B (en) Networking control method and device of multi-mode mobile terminal and mobile terminal
CN106961676B (en) Network searching method, device and medium
CN107484239B (en) Network registration exception handling method and device and user terminal
CN108965306B (en) Call processing method and mobile terminal
CN108541046B (en) Network selection method, terminal and storage medium
CN110831227A (en) Random access method, network equipment and terminal
CN106454799B (en) Information processing method and device
WO2019011324A1 (en) Method for determining access method of mobile terminal, storage medium, and mobile terminal
CN107172605B (en) Emergency call method, mobile terminal and computer readable storage medium
WO2019223440A1 (en) Network order adjustment method and apparatus, and mobile terminal
KR20130003361A (en) Apn changing apparatus and method, wireless terminal for apn change and record medium
CN107493592B (en) Calling method and related product
CN107864487B (en) Method for detecting terminal call and related product
CN107635289B (en) Method for detecting terminal call and related product
CN107682338B (en) Method, device and system for acquiring and processing configuration information
CN107124428B (en) Method, equipment and storage medium for improving VoLTE call success rate

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
GR01 Patent grant
GR01 Patent grant