Control method, device, computer equipment and storage medium for registration network

By automatically determining and retrying the network access point, it solves the problem of cumbersome manual operations for users when network registration fails, improves the efficiency of network registration and avoids terminal unavailability.

CN112423287BActive Publication Date: 2024-10-15FIBOCOM WIRELESS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011162322.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-27
Publication Date
2024-10-15
Estimated Expiration
2040-10-27

AI Technical Summary

Technical Problem

When the existing network registration method fails, the user needs to perform manual operations, resulting in low efficiency of network registration and the terminal being unavailable for a long time.

Method used

By judging whether the network registration error message is related to the access point error, read the retry access point list, start the retry counter to traverse the access points for automatic retry registration, and use the dial timer and retry counter to control the number of retries and duration.

Benefits of technology

A recovery mechanism for automatic switching of access points is implemented to avoid manual operations by users, improve network registration efficiency, and prevent terminals from being unavailable for long periods of time.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112423287B_ABST
    Figure CN112423287B_ABST
Patent Text Reader

Abstract

The present application relates to a control method, device, computer equipment and storage medium for registering a network. The method includes: when a modem receives an error message for network registration, determining whether the error message is related to an access point error; if so, sending the error message to an application processor through a wireless interface layer, and when the application processor receives the error message, reading a retry access point list; starting a retry counter, and traversing the access points in the retry access point list to retry registration. This method can automatically perform network registration retries through a recovery mechanism that automatically switches access points, avoiding the need for users to manually perform a series of tedious operations, thereby effectively improving the efficiency of registering a network, and also avoiding the terminal being in an unavailable state, bringing convenience to users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a control method, device, computer equipment and storage medium for a registration network. Background Art

[0002] With the development of computer technology and the advent of the 5G era, the emergence of the Internet has brought great convenience to modern life. More and more users can handle various services online by using terminal devices. Most smart terminals already have LTE (Long Term Evolution) capabilities, and even terminals that support 5G capabilities are already on the market. In order for a terminal to use network capabilities such as LTE, the first condition is to successfully register with the corresponding network.

[0003] However, in the current network registration method, various factors may cause the terminal to fail to register with the network, thus affecting the normal use of the user. Therefore, when the network registration fails, the user needs to manually try to switch and re-register. If the user makes a manual operation error, the terminal will be unavailable for a long time, which may easily lead to low efficiency in network registration. Summary of the invention

[0004] Based on this, it is necessary to provide a registration network control method, device, computer equipment and storage medium that can improve the efficiency of the registration network in response to the above technical problems.

[0005] A method for controlling a registration network, the method comprising:

[0006] When the modem receives an error message for network registration, determining whether the error message is related to an access point error;

[0007] If yes, the error message is sent to the application processor through the wireless interface layer, and when the application processor receives the error message, the retry access point list is read;

[0008] A retry counter is started, and the access points in the retry access point list are traversed to perform retry registration.

[0009] In one of the embodiments, the error message includes an error code;

[0010] The determining whether the error message is related to an access point error includes:

[0011] According to the error code, it is determined whether the error message is related to an access point error.

[0012] In one of the embodiments, the retry access point list is preset based on a SIM card;

[0013] The starting of the retry counter and traversing the access points in the retry access point list to retry registration includes:

[0014] If the access points in the retry access point list have a priority order, the access points in the retry access point list are traversed in the priority order to perform retry registration.

[0015] In one embodiment, traversing the access points in the retry access point list to retry registration includes:

[0016] If registration is still unsuccessful after traversing the access points in the retry access point list, starting a preset timer;

[0017] When the timer times out, the retry counter is restarted, and the access points in the retry access point list are traversed to retry registration.

[0018] In one embodiment, the method further comprises:

[0019] Starting a dialing timer, wherein the dialing timer is used to control the duration of each dialing;

[0020] When the access point in the retry access point list performs a retry registration each time, if it is detected that the dial timer has timed out, the next access point is switched to perform a retry registration.

[0021] In one embodiment, the retry counter is used to control the number of times the retry access point list is traversed;

[0022] The starting of the retry counter and traversing the access points in the retry access point list to retry registration includes:

[0023] Each time an access point in the retry access point list performs a retry registration, determining whether the count value corresponding to the retry counter is zero;

[0024] If not, allowing to re-traverse the access points in the retry access point list to retry registration;

[0025] If yes, stop retrying registration.

[0026] A control device for a registration network, the device comprising:

[0027] A determination module, configured to determine whether the error message for network registration is related to an access point error when the modem receives the error message;

[0028] a reading module, configured to, if yes, send the error message to the application processor through the wireless interface layer, and when the application processor receives the error message, read the retry access point list;

[0029] The registration module is used to start a retry counter and traverse the access points in the retry access point list to retry registration.

[0030] A computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0031] When the modem receives an error message for network registration, determining whether the error message is related to an access point error;

[0032] If yes, the error message is sent to the application processor through the wireless interface layer, and when the application processor receives the error message, the retry access point list is read;

[0033] A retry counter is started, and the access points in the retry access point list are traversed to perform retry registration.

[0034] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the following steps:

[0035] When the modem receives an error message for network registration, determining whether the error message is related to an access point error;

[0036] If yes, the error message is sent to the application processor through the wireless interface layer, and when the application processor receives the error message, the retry access point list is read;

[0037] A retry counter is started, and the access points in the retry access point list are traversed to perform retry registration.

[0038] The control method, device, computer equipment and storage medium for registering a network described above, when the modem receives an error message for network registration, determines whether the error message is related to an access point error. If so, the error message is sent to the application processor through the wireless interface layer, and when the application processor receives the error message, it reads the retry access point list. The retry counter is started, and the access points in the retry access point list are traversed to retry registration. As a result, when the terminal receives a network error code, the network registration is automatically retried through the recovery mechanism of automatically switching access points, avoiding the need for the user to manually perform a series of tedious operations, thereby effectively improving the efficiency of registering the network, and also avoiding the terminal being in an unavailable state all the time, bringing convenience to the user. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 A diagram of an application environment of a control method for registering a network in an embodiment;

[0040] Figure 2A schematic diagram of a flow chart of a control method for registering a network in an embodiment;

[0041] Figure 3 A schematic flow chart of a step of determining whether a count value corresponding to a retry counter is zero in one embodiment;

[0042] Figure 4A is a flow chart of a control method for registering a network in another embodiment;

[0043] Figure 4B The figure is a schematic diagram of a process of registering a network corresponding to a mobile terminal in one embodiment;

[0044] Figure 5 is a structural block diagram of a control device for registering a network in one embodiment;

[0045] Figure 6 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0046] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0047] The control method of the registration network provided in this application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. When the modem in the terminal 102 receives the network registration error message returned by the server 104, the terminal 102 determines whether the error message is related to the access point error. If so, the terminal 102 sends the error message to the application processor through the wireless interface layer. When the application processor in the terminal 102 receives the error message, the terminal 102 reads the retry access point list. The terminal 102 starts the retry counter and traverses the access points in the retry access point list to retry registration. Among them, the terminal 102 can be but is not limited to various personal computers, laptops, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.

[0048] In one embodiment, Figure 2 As shown, a control method for a registered network is provided, and the method is applied to Figure 1 The terminal in is used as an example to illustrate, including the following steps:

[0049] Step 202: When the modem receives an error message of network registration, it determines whether the error message is related to an access point error.

[0050] Mobile terminals are a type of embedded computer system equipment, and their software structure can be divided into system software and application software. In the software structure of mobile terminals, system software mainly includes operating systems and middleware. Common mobile terminal operating systems include Apple's IOS, Google's Android, HP's WebOS, open source MeeGo and Microsoft Windows. Users of mobile terminals with different operating systems can send network registration requests to the network center or the corresponding proxy server of the operator through the mobile terminal, so that the mobile terminal has network capabilities. Specifically, taking the Android operating system as an example, the user can send a message to the network center for network registration by clicking on a specific access point name in the mobile terminal setting interface. When the modem in the mobile terminal device receives the network registration error message sent by the network center, the mobile terminal determines whether the received error message is related to the access point error. Among them, the access point name refers to the APN parameter. APN refers to a network access technology, which is a parameter that must be configured when surfing the Internet through a mobile phone. It determines which access method the mobile phone uses to access the network. For mobile phone users, there are many types of external networks that can be accessed, such as: Internet, WAP website, group enterprise internal network, and industry internal dedicated network. Different access points have different access ranges and access methods. How does the network side know which network to access after the mobile phone is activated and which network IP to allocate? This depends on the APN, that is, the APN determines which access method the user's mobile phone uses to access what kind of network. The error message refers to the error message sent when an error occurs, that is, when the network registration fails. Since there may be many reasons for network registration failure, it is not necessarily caused by APN errors. APN errors are only one of the reasons for network registration failure. Therefore, when the modem in the mobile terminal device receives the network registration error message sent by the network center, the mobile terminal needs to first determine whether the received error message is related to the access point error, so as to try to restore the network by switching APN. For example, when the network registration error message received by the BP side, that is, the modem, is esm_cause=33 (Requested service option not subscribed), it indicates that the error message is related to the access point error, that is, it is related to the APN parameter.

[0051] Step 204: If yes, an error message is sent to the application processor through the wireless interface layer. After the application processor receives the error message, it reads the retry access point list.

[0052] When the modem in the mobile terminal device receives the network registration error message sent by the network center, the mobile terminal determines whether the received error message is related to the access point error. If so, the terminal sends the error message to the application processor through the wireless interface layer. When the application processor receives the error message, the terminal reads the retry access point list. Among them, the application processor refers to the multimedia application processor (Multimedia Application Processor), referred to as MAP. The application processor is a very large-scale integrated circuit that expands audio and video functions and dedicated interfaces on the basis of a low-power CPU. For example, the Android system, Windows Phone system or other OS systems. The access point list refers to the apn list, and the access point list is preset based on the PLMN of the SIM card. Different SIM cards have corresponding different APN lists. For example, the mobile terminal will set up multiple APNs on the AP side, apn for ordinary data, apn for IMS registration, apn for MMS, and apn for registration of IA type. If the apn name selected by the system by default is inconsistent with the apn name required by the network side, it will cause network registration to fail. For example, when the network error message received by the BP side in the terminal is esm_cause=33 (Requested service option not subscribed), the terminal can send the error message to the AP side, that is, the application processor, through the RIL interface. After receiving the error code, the application processor reads the preset retry APN list, which contains all apns that can be tried. Since the error cause of network registration failure is not necessarily caused by an apn error, the apn error is only one of the factors that may cause the error. Therefore, when the modem receives a network registration error message, it determines whether the error message is related to an access point error. If the terminal determines that the error message is not related to the access point error, there is no need to switch the apn to attempt recovery. The terminal performs corresponding operations according to different error messages.

[0053] Step 206: Start a retry counter and traverse the access points in the retry access point list to retry registration.

[0054] When the application processor receives the error message, it reads the retry access point list. The terminal starts the retry counter and traverses the access points in the retry access point list to retry registration. Among them, the retry counter refers to a counter that is set in advance according to the number of access points in the apn list to control the number of times to retry to register the network. That is, each time the terminal attempts to register the network, the count value of the counter will automatically decrease by 1 until the count value of the counter reaches 0, then the terminal will no longer retry to register the network, that is, stop trying to switch access points for network registration. Since the retry counter is used to control how many times to traverse the apn list to try to restore the registration network, the count value of the retry counter should not be set too large to avoid too much time spent on retries.

[0055] In this embodiment, when the modem receives an error message for network registration, it is determined whether the error message is related to an access point error. If so, the error message is sent to the application processor through the wireless interface layer. When the application processor receives the error message, it reads the retry access point list. The retry counter is started, and the access points in the retry access point list are traversed to retry registration. As a result, when the terminal receives a network error code, the network registration is automatically retried through the recovery mechanism of automatically switching access points, avoiding the need for the user to manually perform a series of cumbersome operations, thereby effectively improving the efficiency of network registration, and also avoiding the terminal being in an unavailable state, which brings convenience to the user.

[0056] In one embodiment, the retry access point list is preset based on the SIM card. If there is a priority order for the access points in the retry access point list, the access points in the retry access point list are traversed in the order of priority to retry registration. Among them, the SIM card refers to the SIM (Subscriber Identity Module) card, which is an IC card held by a mobile user of the GSM system, called a user identification card. The GSM system identifies GSM users through SIM cards. The same SIM card can be used on different smartphones. A GSM mobile phone can only be connected to the network after a SIM card is inserted. At the same time, the SIM card is the key for the GSM mobile phone to connect to the GSM network. Once the SIM card is pulled out of the mobile phone, the mobile phone will not be able to enjoy the various services provided by the network operator except for emergency calls. The user only needs to insert or embed the SIM card into any GSM terminal to achieve communication. Therefore, the terminal can obtain different retry access point lists based on different SIM cards. For example, when a user enters certain special areas, because a certain network is not allowed to register in the location area, at this time, when the terminal detects that the access points in the access point list preset based on a certain SIM card have a priority order, the terminal traverses the access points in the retry access point list in the priority order to retry registration. If the terminal detects that the access points in the access point list preset based on a certain SIM card do not have a priority order, the terminal traverses the access points in the retry access point list in the order of the access points in the default retry access point list to retry registration. As a result, even when there are restrictions on access points in different areas, the access points in the retry access point list can be traversed in the priority order to retry registration, which can achieve the purpose of restoring network registration to a certain extent. Through the recovery mechanism of automatically switching access points, network registration retry is automatically performed, avoiding the need for users to manually perform a series of cumbersome operations, thereby effectively improving the efficiency of network registration, and also avoiding the terminal being in an unavailable state all the time, bringing convenience to users.

[0057] In one embodiment, the method further includes the step of starting a dial timer, specifically including:

[0058] Start the dial timer, which is used to control the duration of each dial.

[0059] When retrying registration with an access point in the access point list each time, if it is detected that the dial timer has timed out, the next access point is switched to retry registration.

[0060] When the terminal starts the retry counter and traverses the access points in the retry access point list to retry registration, the terminal also starts the dial-up timer, which is used to control the duration of each dial-up. When the terminal retries the access point in the access point list each time to retry registration, if the terminal detects that the dial-up timer has timed out, it switches to the next access point to retry registration. For example, the dial-up timer can be pre-set to a corresponding duration of 5s. If the terminal detects that the dial-up timer has timed out and still has not received a response from the network side, the terminal switches to the next access point in the apn list to retry registration. As a result, by setting the number of retries and the duration of the timer, the terminal automatically switches the access point. When retrying network registration, the number and time of the automatic attempt mechanism can be effectively controlled to avoid excessive terminal energy consumption. At the same time, it can also effectively improve the efficiency of the registration network and avoid the terminal being in an unavailable state all the time, which brings convenience to users.

[0061] In one embodiment, Figure 3 As shown, the retry counter is used to control the number of times of traversing the retry access point list, and the steps of starting the retry counter and traversing the access points in the retry access point list to retry registration include:

[0062] Step 302: Each time an access point in the retry access point list performs a retry registration, it is determined whether the count value corresponding to the retry counter is zero.

[0063] Step 304: If not, it is allowed to re-traverse the access points in the retry access point list to retry registration.

[0064] Step 306: If yes, stop retrying registration.

[0065] The terminal starts the retry counter and traverses the access points in the retry access point list to retry registration. Each time the terminal retries the access point in the access point list to retry registration, the terminal determines whether the count value corresponding to the retry counter is zero. If not, it is allowed to re-traverse the access points in the retry access point list to retry registration. If so, stop retrying registration. That is, the retry counter is used to control the number of times the retry access point list is traversed. Each time the terminal retries the access point in the access point list to retry registration, the terminal needs to detect whether the count value corresponding to the retry counter is zero. If the terminal detects that the count value corresponding to the retry counter is not zero, it is allowed to re-traverse the access points in the retry access point list to retry registration. If the terminal detects that the count value corresponding to the retry counter is zero, stop retrying registration. As a result, by setting the number of retries and the duration of the timer, the terminal automatically switches the access point. When retrying network registration, the number and time of the automatic attempt mechanism can be effectively controlled to avoid excessive terminal energy consumption. At the same time, it can also effectively improve the efficiency of registering the network, avoid the terminal being in an unavailable state for a long time, and bring convenience to users.

[0066] In one embodiment, Figure 4A As shown, a control method for a registered network is provided, and the method is applied to Figure 1 The terminal in is used as an example to illustrate, including the following steps:

[0067] Step 402: When the modem receives an error message of network registration, the error message includes an error code. According to the error code, it is determined whether the error message is related to an access point error.

[0068] Step 404: If yes, an error message is sent to the application processor through the wireless interface layer. After the application processor receives the error message, it reads the retry access point list.

[0069] Step 406: Start a retry counter and traverse the access points in the retry access point list to retry registration.

[0070] Step 408: If the registration is still unsuccessful after traversing the access points in the retry access point list, start a preset timer.

[0071] Step 410: When the timer times out, restart the retry counter and traverse the access points in the retry access point list to retry registration.

[0072] When the modem in the terminal receives an error message for network registration, the error message includes an error code. The terminal determines whether the error message is related to an access point error based on the error code. If so, the terminal sends the error message to the application processor through the wireless interface layer. After the application processor receives the error message, it reads the retry access point list. Furthermore, the terminal starts a retry counter and traverses the access points in the retry access point list to retry registration. If the terminal still fails to register successfully after traversing the access points in the retry access point list, the preset timer is started. When the terminal detects that the timer has expired, the retry counter is restarted and the access points in the retry access point list are traversed to retry registration. For example, Figure 4B As shown, it is a flowchart of the registration network corresponding to a certain mobile terminal. In the current time period, when the terminal receives an error message for network registration, the terminal determines whether the error message is related to an access point error based on the error code in the error message. That is, when the error code in the error message received by the terminal for network registration is esm_cause=33 (Requested serviceoption not subscribed), the terminal determines that the cause of the network error is related to an access point error, and the terminal sends the error message to the application processor through the wireless interface layer. After the application processor receives the error message, it reads the retry access point list. Further, the terminal starts the retry counter and traverses the access points in the retry access point list to retry registration. In the current time period, if the terminal has traversed all the access points in the retry access point list and still has not registered successfully, the terminal can start a preset timer. When the terminal detects that the timer has timed out, the terminal can restart the retry counter and re-traverse the access points in the retry access point list to retry registration. As a result, when the terminal fails to register successfully after traversing all access points in the retry access point list due to a network communication failure on the network side within a certain period of time, by starting a preset timer, the terminal can restart the retry counter in the next period of time, and re-traverse the access points in the retry access point list to retry registration, so that the terminal automatically switches the access point, and when retrying network registration, the number, time consumption and time interval of the automatic attempt mechanism can be effectively controlled, that is, through the automatic reselection and retry of the terminal, excessive terminal energy consumption is avoided, and at the same time, the efficiency of registering the network can be effectively improved, and the terminal is prevented from being in an unavailable state all the time, which brings convenience to the user.

[0073] It should be understood that although Figure 1 The steps in the flowchart of -4 are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 1-At least part of the steps in 4 may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the steps or stages in other steps.

[0074] In one embodiment, Figure 5 As shown, a control device for registering a network is provided, including: a judgment module 502, a reading module 504 and a registration module 506, wherein:

[0075] The determination module 502 is configured to determine whether the error message for network registration is related to an access point error when the modem receives the error message.

[0076] The reading module 504 is used to send an error message to the application processor through the wireless interface layer. When the application processor receives the error message, it reads the retry access point list.

[0077] The registration module 506 is used to start a retry counter and traverse the access points in the retry access point list to retry registration.

[0078] In one embodiment, the determination module is further configured to determine whether the error message is related to an access point error according to the error code.

[0079] In one embodiment, the registration module is further configured to traverse the access points in the retry access point list in order of priority to perform retry registration if there is a priority order among the access points in the retry access point list.

[0080] In one embodiment, the device further includes: a starting module.

[0081] The start module is used to start a preset timer if the registration is still unsuccessful after traversing the access points in the retry access point list. When the timer times out, the retry counter is restarted to traverse the access points in the retry access point list to retry registration.

[0082] In one embodiment, the device further includes: a detection module.

[0083] The start module is also used to start the dial timer, which is used to control the duration of each dial. The detection module is used to switch to the next access point for retrying registration if it detects that the dial timer has timed out when the access point in the retry access point list retry registration each time.

[0084] In one embodiment, the judgment module is also used to judge whether the count value corresponding to the retry counter is zero each time the access point in the retry access point list performs a retry registration; if not, allowing the access points in the retry access point list to be re-traversed for retry registration; if so, stopping the retry registration.

[0085] For the specific definition of the control device of the registration network, please refer to the definition of the control method of the registration network above, which will not be repeated here. Each module in the above-mentioned control device of the registration network can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0086] In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as follows: Figure 6 As shown. The computer device includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be achieved through WIFI, an operator network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a control method for registering a network is implemented. The display screen of the computer device can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covered on the display screen, or a button, trackball or touchpad set on the computer device housing, or an external keyboard, touchpad or mouse, etc.

[0087] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0088] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the above-mentioned method embodiments when executing the computer program.

[0089] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory or optical memory, etc. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM).

[0090] The technical features of the above embodiments may be arbitrarily combined. 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 this specification.

[0091] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A method for controlling a registration network, the method include: When the modem receives an error message for network registration, determining whether the error message is related to an access point error; If yes, the error message is sent to the application processor through the wireless interface layer, and when the application processor receives the error message, the retry access point list is read; The retry access point list is preset based on the SIM card, and the access points in the retry access point list have a priority order; Starting a retry counter, traversing the access points in the retry access point list to retry registration; The step of starting a retry counter and traversing the access points in the retry access point list to retry registration includes: Traversing the access points in the retry access point list in the priority order to retry registration; If registration is still unsuccessful after traversing the access points in the retry access point list, starting a preset timer; When the timer times out, restarting the retry counter, traversing the access points in the retry access point list in the order of priority to retry registration; The method further comprises: When the retry counter is started and the access points in the retry access point list are traversed to retry registration, a dial timer is started at the same time, and the dial timer is used to control the duration of each dial; when the access point in the retry access point list is retried to register each time, if it is detected that the dial timer has timed out, the next access point is switched to retry registration; The retry counter is used to control the number of times of traversing the retry access point list; the starting the retry counter and traversing the access points in the retry access point list to retry registration includes: Each time an access point in the retry access point list performs a retry registration, it is determined whether the count value corresponding to the retry counter is zero; if not, it is allowed to re-traverse the access points in the retry access point list to perform a retry registration; if so, the retry registration is stopped.

2. The method according to claim 1, It is characterized in that The error message includes an error code; The determining whether the error message is related to an access point error includes: According to the error code, it is determined whether the error message is related to an access point error.

3. A control device for a registration network, It is characterized in that The device comprises: A determination module, configured to determine whether the error message for network registration is related to an access point error when the modem receives the error message; A reading module, used for sending the error message to the application processor through the wireless interface layer, and when the application processor receives the error message, reading the retry access point list; the retry access point list is preset based on the SIM card, and the access points in the retry access point list have a priority order; A registration module, used to start a retry counter and traverse the access points in the retry access point list to retry registration; The registration module is also used to traverse the access points in the retry access point list in order of priority to retry registration; The device also includes a starting module, which is used to start a preset timer if the access points in the retry access point list are traversed and the registration is still not successful; when the timer times out, restart the retry counter and traverse the access points in the retry access point list in the priority order to retry the registration; The device further comprises: a detection module; the start module is further used to start a dial timer when starting a retry counter and traversing access points in the retry access point list to retry registration, and the dial timer is used to control the duration of each dial; the detection module is used to switch to the next access point for retry registration if it is detected that the dial timer times out when the access point in the retry access point list retry registration each time; The determination module is also used to determine whether the count value corresponding to the retry counter is zero each time an access point in the retry access point list performs a retry registration; if not, allow the access points in the retry access point list to be retraversed for retry registration; if so, stop retrying registration.

4. A computer device comprising a memory and a processor, wherein the memory stores a computer program, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 2 are implemented.

5. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 2 are implemented.