WO2016095188A1 - Method and terminal for restoring network service - Google Patents

Method and terminal for restoring network service Download PDF

Info

Publication number
WO2016095188A1
WO2016095188A1 PCT/CN2014/094324 CN2014094324W WO2016095188A1 WO 2016095188 A1 WO2016095188 A1 WO 2016095188A1 CN 2014094324 W CN2014094324 W CN 2014094324W WO 2016095188 A1 WO2016095188 A1 WO 2016095188A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
ehplmn
hplmn
3gpp
terminal
Prior art date
Application number
PCT/CN2014/094324
Other languages
French (fr)
Chinese (zh)
Inventor
刘海波
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2014/094324 priority Critical patent/WO2016095188A1/en
Priority to CN201480060714.XA priority patent/CN105917706B/en
Publication of WO2016095188A1 publication Critical patent/WO2016095188A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Definitions

  • the present invention relates to the field of communications, and in particular, to a method and terminal for restoring a network service.
  • the network side may issue some reason value to the mobile phone, causing the card to be invalid (SIM/USIM invalid), which may result in the mobile phone service being unavailable.
  • the reason why the card is invalid is called the reject reason value.
  • the network side sends these rejection reason values in order to prevent illegal mobile phones or illegal SIM card users from accessing the network.
  • the SIM card is an abbreviation of Subscriber Identity Module, also known as user identification card, smart card.
  • the embodiment of the invention provides a method and a terminal for restoring a network service, and is used to try to restore the correct network service when receiving the reject reason value sent by the error.
  • a first aspect of the embodiments of the present invention provides a method for restoring a network service, including:
  • the card When receiving the reject reason value sent by the first network, the card is not invalidated, and the network service of the first network is attempted according to the preset time interval;
  • the method before the step of attempting to acquire the network service of the first network according to the preset interval, the method further includes:
  • the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN;
  • the first network is an HPLMN or an EHPLMN, triggering the step of attempting to acquire a network service of the first network according to a preset interval time;
  • the first network is added to the forbidden network list, and the step of triggering the search for other available networks is triggered.
  • the method further includes:
  • the received reject reason value is modified to be a first cause value, and the first cause value is a cause value added in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
  • the method further includes:
  • the method further includes:
  • the received reject reason value is modified to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
  • a second aspect of the embodiments of the present invention provides a terminal, including:
  • the first obtaining module is configured to: when the rejection reason value sent by the first network is received, not to invalidate the card, and try to acquire the network service of the first network according to the preset time interval;
  • a search module configured to search whether there are other available networks when the number of times the first acquisition module acquires the network service failure of the first network reaches a preset threshold
  • a second obtaining module configured to: when the searching module determines that other available networks exist, obtain a network service of the searched available network;
  • a resident module configured to: when the search module determines that there are no other available networks Restricted residency on a network.
  • the terminal further includes:
  • a determining module configured to determine, when receiving the reject reason value sent by the first network, whether the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN, when determining that the first network is an HPLMN or The EHPLMN triggers the first obtaining module to trigger the search module by adding the first network to the forbidden network list when it is determined that the first network is not the HPLMN and the EHPLMN.
  • the terminal further includes:
  • the first modification module is configured to: when receiving the reject reason value sent by the first network, modify the received reject cause value as a first cause value, where the first cause value is in the protocol specifications 3GPP 24.301 and 3GPP 24.008 Increased cause value.
  • the terminal further includes:
  • a second modification module when determining that the first network is HPLMN or EHPLMN, modifying the received reject reason value to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
  • a third modification module configured to modify the received reject reason value to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008 when determining that the first network is not HPLMN and EHPLMN.
  • a third aspect of the embodiments of the present invention provides a terminal, including:
  • Input device output device, processor and memory
  • the processor is configured to perform the following steps by invoking an operation instruction stored by the memory:
  • the card When receiving the reject reason value sent by the first network, the card is not invalidated, and the network service of the first network is attempted according to the preset time interval;
  • the processor is further configured to perform the following steps:
  • the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN;
  • the first network is an HPLMN or an EHPLMN, triggering the step of attempting to acquire a network service of the first network according to a preset interval time;
  • the first network is added to the forbidden network list, and the step of triggering the search for other available networks is triggered.
  • the processor is further configured to perform the following steps:
  • the received reject cause value is modified to be a first cause value, and the first cause value is a cause value added in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
  • the processor is further configured to perform the following steps:
  • the received reject reason value is modified to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
  • the received reject reason value is modified to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
  • the embodiment of the present invention has the following advantages: in the embodiment of the present invention, after receiving the reject reason value sent by the first network, the terminal does not set the card to be invalid, and attempts to acquire the first network multiple times. If the network service can obtain the network service of the first network, the terminal successfully recovers to the correct network service. If the network service of the first network is not obtained within the preset threshold number, the search is performed. There are other available networks. If other available networks are searched, the network services of other available networks that are searched for are obtained, and after obtaining the network services of the available networks, the correct network services are successfully restored, and the network service is avoided. Due to the network side's own problems, or the temporary network deployment is not standardized, the value of the rejection is incorrectly issued, and the terminal user can no longer use the correct network service.
  • FIG. 1 is a schematic flowchart of a method for restoring a network service according to an embodiment of the present invention
  • FIG. 2 is another schematic flowchart of a method for restoring a network service according to an embodiment of the present invention
  • FIG. 3 is a schematic structural diagram of a terminal in an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of another terminal in an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another terminal in an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another terminal in an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another terminal in an embodiment of the present invention.
  • rejection cause value indicates the value of the cause of invalidation of the card issued by the network side to the mobile phone.
  • the number of such cause values may be different, for example, #3, #6 specified in 3GPP 24.301. #7, #8, and #2, #3, #6, #7, #8 specified in 3GPP 24.008 are reject reason values.
  • the term "restricted residency” means that the network service resides on one network but cannot fully use the network, and only some emergency calls can be made.
  • an embodiment of a method for restoring a network service in an embodiment of the present invention includes:
  • the card When receiving the reject reason value sent by the first network, the card is not invalidated, and the network service of the first network is attempted according to the preset time interval.
  • the terminal does not put the card in the terminal (SIM/USIM) when receiving the reject reason value sent by the first network in the process of registering, updating the location, updating the route, updating the tracking area, and initiating the service request. Set to invalid, try to obtain the network service of the first network according to the preset time interval.
  • the preset time interval can be preset, and the network service representation of the first network is attempted to be obtained according to the preset time interval. If the network service of the first network cannot be successfully obtained, the preset interval is separated every time. Time, try again to get the network service of the first network.
  • the terminal attempts to obtain the network service of the first network according to the preset time interval. If the network service fails, the terminal reacquires according to the preset time interval. When the number of failed network service failures of the first network reaches a preset threshold, the search exists. Other available networks.
  • the terminal After the terminal searches for other available networks, when it is determined that there are other available networks, the network service of the searched available network is obtained, and after obtaining the network service of the available network, the terminal is restored to the correct network service.
  • the camping is restricted on the first network.
  • the terminal When it is determined that there are no other available networks, or when the network service of the searchable available network is not available, the terminal restricts the presence on the first network.
  • the terminal after receiving the reject reason value sent by the first network, the terminal does not set the card to be invalid, and attempts to acquire the network service of the first network multiple times, and if the network service of the first network is obtained, The terminal successfully recovers to the correct network service. If the network service of the first network is not obtained within the preset threshold number, the search may find other available networks. If other available networks are searched, the terminal obtains After searching for the available network services of the available network, the network service of the available network is successfully restored to the correct network service, thereby avoiding the problem of the network side itself or the irregularity of the temporary network deployment. The reason for rejecting the reason for the error is issued, and the end user is no longer able to use the correct network service.
  • the terminal may first determine whether the first network is an HPLMN or an EHPLMN, and then perform subsequent processing according to the determination result.
  • the method for restoring the network service in the embodiment of the present invention is specifically described below. Referring to FIG. 2, the present invention is implemented.
  • Another embodiment of a method for restoring a network service in an example includes:
  • the step 202 is triggered. If it is determined that the first network is not HPLMN and EHPLMN, the first network is added to the forbidden network list, and step 203 is triggered;
  • the terminal does not put the card in the terminal (SIM/USIM) when receiving the reject reason value sent by the first network in the process of registering, updating the location, updating the route, updating the tracking area, and initiating the service request.
  • SIM/USIM the card in the terminal
  • step 202 is triggered;
  • the first network is added to the forbidden network list, and step 203 is triggered.
  • not HPLMN and EHPLMN indicate neither HPLMN nor EHPLMN.
  • the HPLMN is short for Home PLMN, indicating the home PLMN
  • EHPLMN is short for Equivalent Home PLMN, indicating peer-to-peer PLMN
  • PLMN is short for PublicLand Mobile Network, indicating public land mobile network.
  • the terminal will not attempt to obtain the network service of the network before restarting.
  • the first network Determining whether the first network is an HPLMN or an EHPLMN, the purpose of which is to determine whether the first network is a home network of the card in the terminal, for example, if the carrier of the card in the terminal is Unicom, and the first network is a Unicom network
  • the first network is the HPLMN or EHPLMN of the card. If the first network is a mobile network, the first network is not the HPLMN or EHPLMN of the card.
  • the operation may be performed according to the newly added cause value in the protocol.
  • the cause value may be that the terminal may modify the received reject reason value as a first cause value, where the first cause value is a value added in the protocol specifications 3GPP 24.301 and 3GPP 24.008, and the specific step of the terminal performing the first cause value That is, in step 201 to step 205, the number of the first cause value may be set to any number that is not in the current protocol.
  • the first cause value may be set to #112, and after the terminal receives the reject reason value, That is, the reject reason value is modified to #112, and the subsequent operations are performed according to the behavior corresponding to #112 in the protocol.
  • the reject reason value is an existing cause value in the protocol specification, and the subsequent operation is performed according to the modified cause value. For example, if the first network is determined to be HPLMN or EHPLMN, the reject cause value is modified as a protocol specification.
  • the terminal will trigger the execution of step 202 according to the behavior specified in the protocol specification 3GPP 24.301 and 3GPP 24.008 in #17 or #15; if it is determined that the first network is not HPLMN And EHPLMN, if the rejection reason value is modified as #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008, the terminal will follow the behavior specified in #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
  • the first network joins the barred network list and triggers step 203.
  • the terminal determines that the first network is an HPLMN or an EHPLMN, the terminal attempts to acquire the network service of the first network according to a preset interval time;
  • the re-acquisition is performed according to the preset time interval.
  • the subsequent steps are triggered.
  • the preset time interval can be preset, and the network service representation of the first network is attempted to be obtained according to the preset time interval. If the network service of the first network cannot be successfully obtained, the preset interval is separated every time. Time, try again to get the network service of the first network.
  • the terminal When the terminal acquires the network service failure number of the first network reaches a preset threshold, or determines that the first network is not the HPLMN and the EHPLMN and joins the first network to the forbidden network list, the terminal searches for whether there are other available networks.
  • the terminal After the terminal searches for other available networks, when it is determined that there are other available networks, the network service of the searched available network is obtained, and after obtaining the network service of the available network, the terminal is restored to the correct network service.
  • the camping is restricted on the first network.
  • the terminal When it is determined that there are no other available networks, or when the network service of the searchable available network is not available, the terminal restricts the presence on the first network.
  • the terminal may be based on whether the first network is HPLMN or EHPLMN. Perform different operations so that you can recover to the correct network service more quickly according to the actual situation.
  • the reason value including the above steps may be added in the protocol specification, and the rejection reason value is modified to the increased cause value, which does not violate the provisions of the existing protocol, and also ensures that the terminal does not have problems due to the network side itself, or The temporary network network is not standardized, and the reason for rejecting the error is incorrectly issued, and the terminal user cannot use the correct network service again.
  • the terminal resides in the first network, and the terminal sends a service request to the first network, and the first network error is sent, and the reject reason value is sent to the terminal;
  • the terminal modifies the reject cause value as a first cause value, for example, #112, where the first cause value is a cause value of the newly added protocols 3GPP 24.301 and 3GPP 24.008, according to the specification corresponding to the #112,
  • the terminal performs the following operations:
  • the terminal determines whether the first network is a HPLMN or an EHPLMN of the card in the terminal;
  • the operator of the card in the terminal is Unicom
  • the first network is a Unicom network
  • the terminal determines that the first network is HPLMN or EHPLMN
  • the terminal starts the timer T1 (preset time interval), and limits the camping in the T1 time, T1
  • the network service of the first network is re-acquired on the first network. If the failure occurs, the T1 is reset and the attempt is repeated; if the failure limit number N (preset threshold) is obtained, the network of the first network is acquired.
  • the terminal successfully obtains the correct network service; if the number of failures reaches the upper limit, the network service of the first network has not been successfully obtained, and the network service is not retried, and the search for other available networks is performed. Obtaining the network service of the second network to the available second network; if the other available network is not searched, the terminal restricts the resident on the first network;
  • the operator of the card in the terminal is Unicom
  • the first network is a mobile network
  • the terminal determines that the first network is not HPLMN and EHPLMN
  • the terminal joins the first network to the network forbidden list, and no longer attempts to obtain the first before the terminal restarts.
  • Network service of a network such as initiating registration retry, location update/routing update/tracking area update retry, service request retry, etc.; and immediately searching for the existence of other available networks, if searching for available second network, obtaining The network service of the second network; if no other available networks are searched, the terminal restricts the presence on the first network.
  • an embodiment of the terminal in the embodiment of the present invention includes:
  • the first obtaining module 301 is configured to: when the rejection reason value sent by the first network is received, not to invalidate the card, and try to acquire the network service of the first network according to the preset time interval;
  • the searching module 302 is configured to search whether there are other available networks when the number of times that the first network acquisition failure of the first network fails to reach the preset threshold.
  • the second obtaining module 303 is configured to: when the searching module 302 determines that there are other available networks, obtain the searched network service of the available network;
  • the resident module 304 is configured to restrict the camping on the first network when the search module 302 determines that there are no other available networks.
  • the first acquiring module 301 does not invalidate the card, and attempts to acquire the network service of the first network multiple times, if the first network can be obtained.
  • the network service the terminal successfully recovered to the correct network service, if the network service of the first network is not obtained within the preset threshold number
  • the search module 302 searches for whether there are other available networks, if the search
  • the second obtaining module 303 obtains the network services of the other available networks that are searched, and after obtaining the network services of the available network, the network service is successfully restored to the correct network service, thereby avoiding the network side.
  • the problem of its own, or the irregular network network is not standardized, the value of the rejection reason issued by the error, and the end user can no longer use the correct network service.
  • the terminal may first determine whether the first network is an HPLMN or an EHPLMN, and then perform subsequent processing according to the determination result.
  • the following describes the terminal in the embodiment of the present invention. Referring to FIG. 4, the terminal in the embodiment of the present invention is used. In another embodiment, the foregoing terminal further includes:
  • the determining module 401 is configured to determine, when receiving the reject reason value sent by the first network, whether the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN, when determining that the first network is an HPLMN Or the EHPLMN, triggering the first obtaining module 301, when it is determined that the first network is not the HPLMN and the EHPLMN, adding the first network to the forbidden network list, triggering the search module 302.
  • the determining module 401 can trigger different modules according to whether the first network is HPLMN or EHPLMN, so that the correct network service can be restored to the actual situation more quickly.
  • the operation may be performed. It is executed according to the newly added reason value in the protocol, or it can be executed according to other reason values in the existing protocol:
  • the foregoing terminal further includes:
  • the first modification module 501 is configured to: when receiving the reject reason value sent by the first network, modify the received reject cause value as a first cause value, where the first cause value is in the protocol specifications 3GPP 24.301 and 3GPP 24.008 The reason value added in .
  • a new cause value is added to the protocol specification, and the execution operation corresponding to the cause value is customized.
  • the first modification module 501 modifies the rejection cause value to the added new cause value, and does not violate the existing protocol. The provision also ensures that the terminal will not be able to use the correct network service because the network side itself does not have the problem of the network side, or the temporary network network is not standardized, and the reason for the rejection is incorrectly issued.
  • the terminal shown in FIG. 3 or FIG. 4 may further include:
  • the second modification module 601 is configured to, when determining that the first network is an HPLMN or an EHPLMN, modify the received reject reason value to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
  • the third modification module 602 is configured to modify the received reject reason value to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008 when determining that the first network is not HPLMN and EHPLMN.
  • the second modification module 601 and the third modification module 602 modify the rejection reason value to the existing cause value in the protocol specification according to different situations, and do not need to additionally increase the cause value and the corresponding behavior, that is, Recovery of network services can be achieved.
  • the terminal resides in the first network, and the terminal sends a service request to the first network, and the first network error is sent, and the reject reason value is sent to the terminal;
  • the first modification module 501 modifies the reject cause value as a first cause value, for example, #112, where the first cause value is a new add-in protocol 3GPP 24.301 and 3GPP 24.008.
  • the reason value according to the specification corresponding to #112, the terminal performs the following operations:
  • the determining module 401 determines whether the first network is a HPLMN or an EHPLMN of the card in the terminal;
  • the operator of the card in the terminal is Unicom
  • the first network is a Unicom network
  • the determining module 401 determines that the first network is HPLMN or EHPLMN
  • the terminal starts the timer T1 (preset time interval), and limits the resident in the T1 time.
  • the first obtaining module 301 re-acquires the network service of the first network on the first network.
  • the first acquiring module 301 attempts again; if the failure limit number N (preset) If the first acquisition module 301 obtains the network service of the first network, the terminal successfully obtains the correct network service; if the number of failures reaches the upper limit, the first acquisition module 301 has not successfully obtained the first If the network service of the network is not retried, the search module 302 searches for other available networks. If the second network is available, the second obtaining module 303 obtains the network service of the second network; For other available networks, the resident module 304 limits residency on the first network;
  • the operator of the card in the terminal is Unicom
  • the first network is a mobile network
  • the determining module 401 determines that the first network is not the HPLMN and the EHPLMN, and adds the first network to the network forbidden list, and the first obtaining module 301 before the terminal restarts. No longer try to obtain network services of the first network, such as initiate registration retry, location update/route update/tracking area update retry, service request retry, etc.
  • search module 302 immediately searches for the existence of other available networks, if search To the available second network, the second obtaining module 303 acquires the network service of the second network; if no other available networks are searched, the resident module 304 limits the resident on the first network.
  • another embodiment of the terminal in the embodiment of the present invention includes:
  • the input device 701, the output device 702, the processor 703, and the memory 704 (wherein the number of processors 703 in the terminal 700 may be one or more, and one processor 703 is taken as an example in FIG. 7).
  • the input device 701, the output device 702, the processor 703, and the memory 704 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
  • the processor 703 is configured to perform the following steps by calling an operation instruction stored in the memory 704:
  • the card When receiving the reject reason value sent by the first network, the card is not invalidated, and the network service of the first network is attempted according to the preset time interval;
  • the processor 703 is further configured to perform the following steps:
  • the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN;
  • the first network is an HPLMN or an EHPLMN, triggering the step of attempting to acquire a network service of the first network according to a preset interval time;
  • the first network is not an HPLMN and an EHPLMN, adding the first network to a forbidden network list, triggering the search whether there are other available networks;
  • the processor 703 is further configured to perform the following steps:
  • the received reject reason value is modified as a first cause value, and the first cause value is a cause value added in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
  • the processor 703 is further configured to perform the following steps:
  • the received reject reason value is modified to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
  • the received reject reason value is modified to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Disclosed are a method and terminal for restoring a network service, which are used for attempting to restore to a correct network service when a refusal reason value mistakenly issued is received. The method in the embodiments of the present invention comprises: after receiving a refusal reason value sent by a first network, a terminal does not set a card as invalid, and makes multiple attempts to acquire a network service of the first network; if the network service of the first network can be acquired, then the terminal successfully restores to a correct network service; if the network service of the first network cannot be acquired within a pre-set number of times of a threshold value, then it is searched whether other available networks exist; and if other available networks are searched, then network services of the other searched available networks are acquired.

Description

一种恢复网络服务的方法和终端Method and terminal for restoring network service 技术领域Technical field
本发明涉及通信领域,尤其涉及一种恢复网络服务的方法和终端。The present invention relates to the field of communications, and in particular, to a method and terminal for restoring a network service.
背景技术Background technique
在手机注册、位置更新、路由更新、跟踪区更新、发起业务请求等过程中,网络侧可能对手机下发一些原因值导致卡无效(SIM/USIM invalid),从而导致手机业务不可用,这些导致卡无效的原因值称为拒绝原因值。在正常情况下,网络侧下发这些拒绝原因值,是为了防止非法的手机或非法的SIM卡用户接入网络。其中,SIM卡是客户识别模块(Subscriber Identity Module)的缩写,也称为用户身份识别卡、智能卡。In the process of mobile phone registration, location update, routing update, tracking area update, and initiating service request, the network side may issue some reason value to the mobile phone, causing the card to be invalid (SIM/USIM invalid), which may result in the mobile phone service being unavailable. The reason why the card is invalid is called the reject reason value. Under normal circumstances, the network side sends these rejection reason values in order to prevent illegal mobile phones or illegal SIM card users from accessing the network. Among them, the SIM card is an abbreviation of Subscriber Identity Module, also known as user identification card, smart card.
但在实际应用中,申请人发现,在较多场景下由于网络侧自身的问题,会错误下发这类会导致卡无效的拒绝原因值,或者终端用户遇到某些机构临时搭建的测试网络和试验网络,在终端尝试接入这些临时网络的时候,也可能会由于该临时网络布网的不规范而下发这类拒绝原因值。However, in practical applications, the applicant finds that in many scenarios, due to the network side's own problems, such a rejection reason value that causes the card to be invalid may be issued incorrectly, or the terminal user encounters a test network temporarily established by some organizations. And the trial network, when the terminal tries to access these temporary networks, it may also issue such a rejection reason value due to the irregularity of the temporary network deployment.
这样因为网络侧自身的问题,或临时网络布网的不规范,而错误下发的拒绝原因值,会导致终端用户无法再使用正确的网络服务。In this way, because the network side itself, or the temporary network network is not standardized, the value of the rejection reason sent by the error will cause the end user to no longer use the correct network service.
发明内容Summary of the invention
本发明实施例提供了一种恢复网络服务的方法和终端,用于当接收到错误下发的拒绝原因值时,尝试恢复到正确的网络服务。The embodiment of the invention provides a method and a terminal for restoring a network service, and is used to try to restore the correct network service when receiving the reject reason value sent by the error.
本发明实施例第一方面提供了一种恢复网络服务的方法,包括:A first aspect of the embodiments of the present invention provides a method for restoring a network service, including:
当接收到第一网络下发的拒绝原因值时,不将卡置为无效,按照预置时间间隔尝试获取第一网络的网络服务;When receiving the reject reason value sent by the first network, the card is not invalidated, and the network service of the first network is attempted according to the preset time interval;
当获取所述第一网络的网络服务失败的次数达到预置阈值时,搜索是否存在其他的可用网络;When the number of failed network service acquisitions of the first network reaches a preset threshold, searching for other available networks;
当确定存在其他的可用网络时,获取搜索到的可用网络的网络服务;Obtaining the network service of the searched available network when it is determined that there are other available networks;
当确定不存在其他的可用网络时,在所述第一网络上限制驻留。 Restricting residency on the first network when it is determined that there are no other available networks.
结合本发明实施例的第一方面,本发明实施例第一方面的第一种实现方式中,所述按照预置间隔时间尝试获取所述第一网络的网络服务的步骤之前还包括:With reference to the first aspect of the embodiments of the present invention, in the first implementation manner of the first aspect of the embodiments of the present disclosure, before the step of attempting to acquire the network service of the first network according to the preset interval, the method further includes:
判断所述第一网络是否为归属公共陆地移动网络HPLMN或对等归属网络EHPLMN;Determining whether the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN;
若确定所述第一网络是HPLMN或EHPLMN,触发所述按照预置间隔时间尝试获取所述第一网络的网络服务的步骤;If it is determined that the first network is an HPLMN or an EHPLMN, triggering the step of attempting to acquire a network service of the first network according to a preset interval time;
若确定所述第一网络不是HPLMN和EHPLMN,将所述第一网络加入禁止网络列表,触发所述搜索是否存在其它的可用网络的步骤。If it is determined that the first network is not an HPLMN and an EHPLMN, the first network is added to the forbidden network list, and the step of triggering the search for other available networks is triggered.
结合本发明实施例的第一方面或第一方面的第一种实现方式,本发明实施例第一方面的第二种实现方式中,所述不将卡置为无效的步骤之前还包括:In conjunction with the first aspect of the embodiment of the present invention or the first implementation manner of the first aspect, in the second implementation manner of the first aspect of the embodiment of the present disclosure, before the step of not placing the card as invalid, the method further includes:
修改接收到的拒绝原因值为第一原因值,所述第一原因值为在协议规范3GPP 24.301和3GPP 24.008中增加的原因值。The received reject reason value is modified to be a first cause value, and the first cause value is a cause value added in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
结合本发明实施例第一方面的第一种实现方式,本发明实施例第一方面的第三种实现方式中,,所述若确定所述第一网络是HPLMN或EHPLMN的步骤之后还包括:With reference to the first implementation manner of the first aspect of the embodiment of the present invention, in a third implementation manner of the first aspect of the embodiment of the present invention, after the step of determining that the first network is a HPLMN or an EHPLMN, the method further includes:
将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#17或#15;Modifying the received rejection reason value to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
所述若确定所述第一网络不是HPLMN和EHPLMN的步骤之后还包括:After the step of determining that the first network is not HPLMN and EHPLMN, the method further includes:
将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#13或#14。The received reject reason value is modified to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
本发明实施例第二方面提供了一种终端,包括:A second aspect of the embodiments of the present invention provides a terminal, including:
第一获取模块,用于当接收到第一网络下发的拒绝原因值时,不将卡置为无效,按照预置时间间隔尝试获取第一网络的网络服务;The first obtaining module is configured to: when the rejection reason value sent by the first network is received, not to invalidate the card, and try to acquire the network service of the first network according to the preset time interval;
搜索模块,用于当所述第一获取模块获取所述第一网络的网络服务失败的次数达到预置阈值时,搜索是否存在其他的可用网络;a search module, configured to search whether there are other available networks when the number of times the first acquisition module acquires the network service failure of the first network reaches a preset threshold;
第二获取模块,用于当所述搜索模块确定存在其他的可用网络时,获取搜索到的可用网络的网络服务;a second obtaining module, configured to: when the searching module determines that other available networks exist, obtain a network service of the searched available network;
驻留模块,用于当所述搜索模块确定不存在其他的可用网络时,在所述第 一网络上限制驻留。a resident module, configured to: when the search module determines that there are no other available networks Restricted residency on a network.
结合本发明实施例的第二方面,本发明实施例第二方面的第一种实现方式中,所述终端还包括:With reference to the second aspect of the embodiments of the present invention, in a first implementation manner of the second aspect of the embodiments, the terminal further includes:
判断模块,用于当接收到第一网络下发的拒绝原因值时,判断所述第一网络是否为归属公共陆地移动网络HPLMN或对等归属网络EHPLMN,当确定所述第一网络是HPLMN或EHPLMN,触发所述第一获取模块,当确定所述第一网络不是HPLMN和EHPLMN,将所述第一网络加入禁止网络列表,触发所述搜索模块。a determining module, configured to determine, when receiving the reject reason value sent by the first network, whether the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN, when determining that the first network is an HPLMN or The EHPLMN triggers the first obtaining module to trigger the search module by adding the first network to the forbidden network list when it is determined that the first network is not the HPLMN and the EHPLMN.
结合本发明实施例的第二方面或第二方面的第一种实现方式,本发明实施例第二方面的第二种实现方式中,所述终端还包括:With reference to the second aspect of the embodiment of the present invention or the first implementation manner of the second aspect, in the second implementation manner of the second aspect of the embodiment, the terminal further includes:
第一修改模块,用于当接收到第一网络下发的拒绝原因值时,修改接收到的拒绝原因值为第一原因值,所述第一原因值为在协议规范3GPP 24.301和3GPP 24.008中增加的原因值。The first modification module is configured to: when receiving the reject reason value sent by the first network, modify the received reject cause value as a first cause value, where the first cause value is in the protocol specifications 3GPP 24.301 and 3GPP 24.008 Increased cause value.
结合本发明实施例第二方面的第一种实现方式,本发明实施例第二方面的第三种实现方式中,所述终端还包括:With reference to the first implementation manner of the second aspect of the embodiment of the present invention, in a third implementation manner of the second aspect of the embodiment, the terminal further includes:
第二修改模块,用于当确定所述第一网络是HPLMN或EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#17或#15;a second modification module, when determining that the first network is HPLMN or EHPLMN, modifying the received reject reason value to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
第三修改模块,用于当确定所述第一网络不是HPLMN和EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#13或#14。And a third modification module, configured to modify the received reject reason value to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008 when determining that the first network is not HPLMN and EHPLMN.
本发明实施例第三方面提供了一种终端,包括:A third aspect of the embodiments of the present invention provides a terminal, including:
输入装置、输出装置、处理器和存储器;Input device, output device, processor and memory;
通过调用所述存储器存储的操作指令,所述处理器用于执行如下步骤:The processor is configured to perform the following steps by invoking an operation instruction stored by the memory:
当接收到第一网络下发的拒绝原因值时,不将卡置为无效,按照预置时间间隔尝试获取第一网络的网络服务;When receiving the reject reason value sent by the first network, the card is not invalidated, and the network service of the first network is attempted according to the preset time interval;
当获取所述第一网络的网络服务失败的次数达到预置阈值时,搜索是否存在其他的可用网络;When the number of failed network service acquisitions of the first network reaches a preset threshold, searching for other available networks;
当确定存在其他的可用网络时,获取搜索到的可用网络的网络服务; Obtaining the network service of the searched available network when it is determined that there are other available networks;
当确定不存在其他的可用网络时,在所述第一网络上限制驻留。Restricting residency on the first network when it is determined that there are no other available networks.
结合本发明实施例的第三方面,本发明实施例第三方面的第一种实现方式中,所述处理器还用于执行如下步骤:With reference to the third aspect of the embodiments of the present invention, in a first implementation manner of the third aspect of the embodiments, the processor is further configured to perform the following steps:
判断所述第一网络是否为归属公共陆地移动网络HPLMN或对等归属网络EHPLMN;Determining whether the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN;
若确定所述第一网络是HPLMN或EHPLMN,触发所述按照预置间隔时间尝试获取所述第一网络的网络服务的步骤;If it is determined that the first network is an HPLMN or an EHPLMN, triggering the step of attempting to acquire a network service of the first network according to a preset interval time;
若确定所述第一网络不是HPLMN和EHPLMN,将所述第一网络加入禁止网络列表,触发所述搜索是否存在其它的可用网络的步骤。If it is determined that the first network is not an HPLMN and an EHPLMN, the first network is added to the forbidden network list, and the step of triggering the search for other available networks is triggered.
结合本发明实施例的第三方面或第三方面的第一种实现方式,本发明实施例第三方面的第二种实现方式中,所述处理器还用于执行如下步骤:With reference to the third aspect of the embodiment of the present invention or the first implementation manner of the third aspect, in the second implementation manner of the third aspect of the embodiment, the processor is further configured to perform the following steps:
当接收到第一网络下发的拒绝原因值时,修改接收到的拒绝原因值为第一原因值,所述第一原因值为在协议规范3GPP 24.301和3GPP 24.008中增加的原因值。When the reject reason value sent by the first network is received, the received reject cause value is modified to be a first cause value, and the first cause value is a cause value added in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
结合本发明实施例第三方面的第一种实现方式,本发明实施例第三方面的第三种实现方式中,所述处理器还用于执行如下步骤:With reference to the first implementation manner of the third aspect of the embodiments of the present invention, in a third implementation manner of the third aspect of the embodiments, the processor is further configured to perform the following steps:
当确定所述第一网络是HPLMN或EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#17或#15;When it is determined that the first network is HPLMN or EHPLMN, the received reject reason value is modified to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
当确定所述第一网络不是HPLMN和EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#13或#14。When it is determined that the first network is not HPLMN and EHPLMN, the received reject reason value is modified to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
从以上技术方案可以看出,本发明实施例具有以下优点:本发明实施例中,终端接收到第一网络发送的拒绝原因值后,不将卡置为无效,多次尝试获取第一网络的网络服务,如能获取到该第一网络的网络服务,则该终端成功的恢复到了正确的网络服务,若在预置阈值的次数内都获取不到该第一网络的网络服务,则搜索是否存在其他的可用网络,若搜索到其他的可用网络,则获取该搜索到的其他的可用网络的网络服务,获取到该可用网络的网络服务后,也成功的恢复到了正确的网络服务,避免了因网络侧自身的问题,或临时网络布网的不规范,错误下发的拒绝原因值,而导致的终端用户无法再使用正确的网络服务的问题。 It can be seen from the above technical solution that the embodiment of the present invention has the following advantages: in the embodiment of the present invention, after receiving the reject reason value sent by the first network, the terminal does not set the card to be invalid, and attempts to acquire the first network multiple times. If the network service can obtain the network service of the first network, the terminal successfully recovers to the correct network service. If the network service of the first network is not obtained within the preset threshold number, the search is performed. There are other available networks. If other available networks are searched, the network services of other available networks that are searched for are obtained, and after obtaining the network services of the available networks, the correct network services are successfully restored, and the network service is avoided. Due to the network side's own problems, or the temporary network deployment is not standardized, the value of the rejection is incorrectly issued, and the terminal user can no longer use the correct network service.
附图说明DRAWINGS
图1为本发明实施例中恢复网络服务的方法一个流程示意图;FIG. 1 is a schematic flowchart of a method for restoring a network service according to an embodiment of the present invention;
图2为本发明实施例中恢复网络服务的方法另一个流程示意图;2 is another schematic flowchart of a method for restoring a network service according to an embodiment of the present invention;
图3为本发明实施例中终端一个结构示意图;3 is a schematic structural diagram of a terminal in an embodiment of the present invention;
图4为本发明实施例中终端另一个结构示意图;4 is a schematic structural diagram of another terminal in an embodiment of the present invention;
图5为本发明实施例中终端另一个结构示意图;FIG. 5 is a schematic structural diagram of another terminal in an embodiment of the present invention; FIG.
图6为本发明实施例中终端另一个结构示意图;6 is a schematic structural diagram of another terminal in an embodiment of the present invention;
图7为本发明实施例中终端另一个结构示意图。FIG. 7 is a schematic structural diagram of another terminal in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
此处在本发明的描述中使用的术语是用于描述特定实施例的目的并且不旨在作为对本发明的限制。The terminology used in the description of the present invention is for the purpose of describing particular embodiments and is not intended to limit the invention.
术语“拒绝原因值”表示网络侧对手机下发的导致卡无效的原因值,在不同的协议中,这类原因值的编号可能不同,例如,在3GPP 24.301里面规定的#3、#6、#7、#8,与在3GPP 24.008里面规定的#2、#3、#6、#7、#8,均为拒绝原因值。The term "rejection cause value" indicates the value of the cause of invalidation of the card issued by the network side to the mobile phone. In different protocols, the number of such cause values may be different, for example, #3, #6 specified in 3GPP 24.301. #7, #8, and #2, #3, #6, #7, #8 specified in 3GPP 24.008 are reject reason values.
术语“限制驻留”表示驻留在一个网络,但是不能完全使用该网络的网络服务,仅能进行一些紧急呼叫。The term "restricted residency" means that the network service resides on one network but cannot fully use the network, and only some emergency calls can be made.
请参阅图1,本发明实施例中恢复网络服务的方法一个实施例包括:Referring to FIG. 1, an embodiment of a method for restoring a network service in an embodiment of the present invention includes:
101、当接收到第一网络下发的拒绝原因值时,不将卡置为无效,按照预置时间间隔尝试获取第一网络的网络服务;101. When receiving the reject reason value sent by the first network, the card is not invalidated, and the network service of the first network is attempted according to the preset time interval.
终端在第一网络上注册、位置更新、路由更新、跟踪区更新、发起业务请求等过程中,当接收到第一网络下发的拒绝原因值时,不将终端中的卡(SIM/USIM)置为无效,按照预置时间间隔尝试获取第一网络的网络服务。 The terminal does not put the card in the terminal (SIM/USIM) when receiving the reject reason value sent by the first network in the process of registering, updating the location, updating the route, updating the tracking area, and initiating the service request. Set to invalid, try to obtain the network service of the first network according to the preset time interval.
可以理解的是,该预置时间间隔可以预先设定,按照预置时间间隔尝试获取第一网络的网络服务表示,若不能成功的获取该第一网络的网络服务,则每间隔该预置间隔时间,重新再尝试获取该第一网络的网络服务。It can be understood that the preset time interval can be preset, and the network service representation of the first network is attempted to be obtained according to the preset time interval. If the network service of the first network cannot be successfully obtained, the preset interval is separated every time. Time, try again to get the network service of the first network.
可以理解的是,若成功获取了该第一网络的网络服务,则该终端成功的恢复到了正确的网络服务。It can be understood that if the network service of the first network is successfully obtained, the terminal successfully recovers to the correct network service.
102、当获取所述第一网络的网络服务失败的次数达到预置阈值时,搜索是否存在其他的可用网络;102. When the number of failures of obtaining the network service of the first network reaches a preset threshold, searching for whether there are other available networks;
终端按照预置时间间隔尝试获取该第一网络的网络服务,若失败,则按照该预置时间间隔重新获取,当获取该第一网络的网络服务失败的次数达到预置阈值时,搜索是否存在其他的可用网络。The terminal attempts to obtain the network service of the first network according to the preset time interval. If the network service fails, the terminal reacquires according to the preset time interval. When the number of failed network service failures of the first network reaches a preset threshold, the search exists. Other available networks.
103、当确定存在其他的可用网络时,获取搜索到的可用网络的网络服务;103. Obtain a network service of the searched available network when it is determined that there are other available networks;
终端搜索是否存在其他可用网络后,当确定存在其他的可用网络时,获取搜索到的可用网络的网络服务,获取到该可用网络的网络服务后,该终端即恢复到了正确的网络服务。After the terminal searches for other available networks, when it is determined that there are other available networks, the network service of the searched available network is obtained, and after obtaining the network service of the available network, the terminal is restored to the correct network service.
104、当确定不存在其他的可用网络时,在所述第一网络上限制驻留。104. When it is determined that there are no other available networks, the camping is restricted on the first network.
当确定不存在其他的可用网络时,或获取不到搜索到的可用网络的网络服务时,该终端在该第一网络上限制驻留。When it is determined that there are no other available networks, or when the network service of the searchable available network is not available, the terminal restricts the presence on the first network.
本发明实施例中,终端接收到第一网络发送的拒绝原因值后,不将卡置为无效,多次尝试获取第一网络的网络服务,如能获取到该第一网络的网络服务,则该终端成功的恢复到了正确的网络服务,若在预置阈值的次数内都获取不到该第一网络的网络服务,则搜索是否存在其他的可用网络,若搜索到其他的可用网络,则获取该搜索到的其他的可用网络的网络服务,获取到该可用网络的网络服务后,也成功的恢复到了正确的网络服务,避免了因网络侧自身的问题,或临时网络布网的不规范,错误下发的拒绝原因值,而导致的终端用户无法再使用正确的网络服务的问题。In the embodiment of the present invention, after receiving the reject reason value sent by the first network, the terminal does not set the card to be invalid, and attempts to acquire the network service of the first network multiple times, and if the network service of the first network is obtained, The terminal successfully recovers to the correct network service. If the network service of the first network is not obtained within the preset threshold number, the search may find other available networks. If other available networks are searched, the terminal obtains After searching for the available network services of the available network, the network service of the available network is successfully restored to the correct network service, thereby avoiding the problem of the network side itself or the irregularity of the temporary network deployment. The reason for rejecting the reason for the error is issued, and the end user is no longer able to use the correct network service.
在实际应用中,终端可以先判断该第一网络是否为HPLMN或EHPLMN,再根据判断结果进行后续处理,下面对本发明实施例中恢复网络服务的方法进行具体描述,请参阅图2,本发明实施例中恢复网络服务的方法另一个实施例包括: In an actual application, the terminal may first determine whether the first network is an HPLMN or an EHPLMN, and then perform subsequent processing according to the determination result. The method for restoring the network service in the embodiment of the present invention is specifically described below. Referring to FIG. 2, the present invention is implemented. Another embodiment of a method for restoring a network service in an example includes:
201、当接收到第一网络下发的拒绝原因值时,不将卡置为无效,判断所述第一网络是否为HPLMN或EHPLMN,若确定该第一网络是HPLMN或EHPLMN,则触发步骤202,若确定该第一网络不是HPLMN和EHPLMN,将该第一网络加入禁止网络列表,并触发步骤203;If the first network is an HPLMN or an EHPLMN, the step 202 is triggered. If it is determined that the first network is not HPLMN and EHPLMN, the first network is added to the forbidden network list, and step 203 is triggered;
终端在第一网络上注册、位置更新、路由更新、跟踪区更新、发起业务请求等过程中,当接收到第一网络下发的拒绝原因值时,不将终端中的卡(SIM/USIM)置为无效,先判断该第一网络是否为HPLMN或EHPLMN;The terminal does not put the card in the terminal (SIM/USIM) when receiving the reject reason value sent by the first network in the process of registering, updating the location, updating the route, updating the tracking area, and initiating the service request. Set to invalid, first determine whether the first network is HPLMN or EHPLMN;
若确定该第一网络是HPLMN或EHPLMN,则触发步骤202;If it is determined that the first network is HPLMN or EHPLMN, then step 202 is triggered;
若确定该第一网络不是HPLMN和EHPLMN,将该第一网络加入禁止网络列表,并触发步骤203。其中,不是HPLMN和EHPLMN表示既不是HPLMN,也不是EHPLMN。If it is determined that the first network is not HPLMN and EHPLMN, the first network is added to the forbidden network list, and step 203 is triggered. Among them, not HPLMN and EHPLMN indicate neither HPLMN nor EHPLMN.
其中,HPLMN为是Home PLMN的简写,表示归属PLMN,EHPLMN是Equivalent Home PLMN的简写,表示对等归属PLMN;而PLMN是PublicLand Mobile Network的简写,表示公共陆地移动网络。The HPLMN is short for Home PLMN, indicating the home PLMN, EHPLMN is short for Equivalent Home PLMN, indicating peer-to-peer PLMN; and PLMN is short for PublicLand Mobile Network, indicating public land mobile network.
对于加入了禁止网络列表的网络,终端在重启之前都不会再尝试获取该网络的网络服务。For a network that has joined the forbidden network list, the terminal will not attempt to obtain the network service of the network before restarting.
判断第一网络是否为HPLMN或EHPLMN,其目的主要是判定该第一网络是否为该终端中卡的归属网络,例如,若该终端中卡的运营商为联通,而该第一网络为联通网络,则该第一网络是该卡的HPLMN或EHPLMN,若该第一网络为移动网络,则该第一网络不是该卡的HPLMN或EHPLMN。Determining whether the first network is an HPLMN or an EHPLMN, the purpose of which is to determine whether the first network is a home network of the card in the terminal, for example, if the carrier of the card in the terminal is Unicom, and the first network is a Unicom network The first network is the HPLMN or EHPLMN of the card. If the first network is a mobile network, the first network is not the HPLMN or EHPLMN of the card.
可以理解的是,终端接收到第一网络下发的拒绝原因值时之后的操作可以是按照在协议中新增加的原因值来执行的,具体的,当终端接收到第一网络下发的拒绝原因值时,该终端可以修改接收到的拒绝原因值为第一原因值,该第一原因值为在协议规范3GPP 24.301和3GPP 24.008中增加的原因值,终端执行该第一原因值的具体步骤即可以为步骤201至步骤205,该第一原因值的编号可以设定为任一个目前协议中没有的编号,例如可以设定该第一原因值为#112,终端接收到拒绝原因值后,即将该拒绝原因值修改为#112,按照协议中#112对应的行为来执行后续操作。It can be understood that, after the terminal receives the reject reason value sent by the first network, the operation may be performed according to the newly added cause value in the protocol. Specifically, when the terminal receives the rejection sent by the first network, The cause value may be that the terminal may modify the received reject reason value as a first cause value, where the first cause value is a value added in the protocol specifications 3GPP 24.301 and 3GPP 24.008, and the specific step of the terminal performing the first cause value That is, in step 201 to step 205, the number of the first cause value may be set to any number that is not in the current protocol. For example, the first cause value may be set to #112, and after the terminal receives the reject reason value, That is, the reject reason value is modified to #112, and the subsequent operations are performed according to the behavior corresponding to #112 in the protocol.
除了按照在协议中增加新的原因值以及对应的执行步骤之外,也可以修改 该拒绝原因值为协议规范中现有的原因值,按照修改后的原因值来执行后续操作,例如,可以设定若确定该第一网络是HPLMN或EHPLMN,则修改该拒绝原因值为协议规范3GPP 24.301和3GPP 24.008中的#17或#15,则终端会按照协议规范3GPP 24.301和3GPP 24.008中的#17或#15中规定的行为,触发步骤202的执行;若确定该第一网络不是HPLMN和EHPLMN,则修改该拒绝原因值为协议规范3GPP 24.301和3GPP 24.008中的#13或#14,则终端会按照协议规范3GPP 24.301和3GPP 24.008中的#13或#14中规定的行为,将该第一网络加入禁止网络列表,并触发步骤203。It can be modified in addition to adding new cause values and corresponding execution steps in the protocol. The reject reason value is an existing cause value in the protocol specification, and the subsequent operation is performed according to the modified cause value. For example, if the first network is determined to be HPLMN or EHPLMN, the reject cause value is modified as a protocol specification. 3GPP 24.301 and #17 or #15 in 3GPP 24.008, the terminal will trigger the execution of step 202 according to the behavior specified in the protocol specification 3GPP 24.301 and 3GPP 24.008 in #17 or #15; if it is determined that the first network is not HPLMN And EHPLMN, if the rejection reason value is modified as #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008, the terminal will follow the behavior specified in #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008. The first network joins the barred network list and triggers step 203.
202、按照预置间隔时间尝试获取所述第一网络的网络服务;202. Try to acquire a network service of the first network according to a preset interval.
当终端确定该第一网络是HPLMN或EHPLMN时,终端按照预置间隔时间尝试获取该第一网络的网络服务;When the terminal determines that the first network is an HPLMN or an EHPLMN, the terminal attempts to acquire the network service of the first network according to a preset interval time;
若成功,则该终端成功的恢复到了正确的网络服务;If successful, the terminal successfully recovers to the correct network service;
若失败,则按照该预置时间间隔重新获取,当获取该第一网络的网络服务失败的次数达到预置阈值时,触发后续步骤。If the failure occurs, the re-acquisition is performed according to the preset time interval. When the number of failed network service acquisitions of the first network reaches a preset threshold, the subsequent steps are triggered.
可以理解的是,该预置时间间隔可以预先设定,按照预置时间间隔尝试获取第一网络的网络服务表示,若不能成功的获取该第一网络的网络服务,则每间隔该预置间隔时间,重新再尝试获取该第一网络的网络服务。It can be understood that the preset time interval can be preset, and the network service representation of the first network is attempted to be obtained according to the preset time interval. If the network service of the first network cannot be successfully obtained, the preset interval is separated every time. Time, try again to get the network service of the first network.
203、搜索是否存在其他的可用网络;203. Search for whether there are other available networks;
当终端获取第一网络的网络服务失败的次数达到预置阈值时,或确定该第一网络不是HPLMN和EHPLMN并将该第一网络加入禁止网络列表后,终端搜索是否存在其他的可用网络。When the terminal acquires the network service failure number of the first network reaches a preset threshold, or determines that the first network is not the HPLMN and the EHPLMN and joins the first network to the forbidden network list, the terminal searches for whether there are other available networks.
204、当确定存在其他的可用网络时,获取搜索到的可用网络的网络服务;204. Obtain a network service of the searched available network when it is determined that there are other available networks;
终端搜索是否存在其他可用网络后,当确定存在其他的可用网络时,获取搜索到的可用网络的网络服务,获取到该可用网络的网络服务后,该终端即恢复到了正确的网络服务。After the terminal searches for other available networks, when it is determined that there are other available networks, the network service of the searched available network is obtained, and after obtaining the network service of the available network, the terminal is restored to the correct network service.
205、当确定不存在其他的可用网络时,在所述第一网络上限制驻留。205. When it is determined that there are no other available networks, the camping is restricted on the first network.
当确定不存在其他的可用网络时,或获取不到搜索到的可用网络的网络服务时,该终端在该第一网络上限制驻留。When it is determined that there are no other available networks, or when the network service of the searchable available network is not available, the terminal restricts the presence on the first network.
本发明实施例中,终端可以根据该第一网络是否为HPLMN或EHPLMN 执行不同的操作,这样可以更加快速的根据实际情况恢复到正确的网络服务。并且可以在协议规范中增加包含有上述步骤的原因值,将拒绝原因值修改为增加的原因值,不会违反现有协议的规定,也同时保证了终端不会因网络侧自身的问题,或临时网络布网的不规范,错误下发的拒绝原因值,而导致的终端用户无法再使用正确的网络服务。In the embodiment of the present invention, the terminal may be based on whether the first network is HPLMN or EHPLMN. Perform different operations so that you can recover to the correct network service more quickly according to the actual situation. And the reason value including the above steps may be added in the protocol specification, and the rejection reason value is modified to the increased cause value, which does not violate the provisions of the existing protocol, and also ensures that the terminal does not have problems due to the network side itself, or The temporary network network is not standardized, and the reason for rejecting the error is incorrectly issued, and the terminal user cannot use the correct network service again.
为便于理解,下面以一具体应用场景对本发明实施例中恢复网络服务的方法进行具体描述:For ease of understanding, the method for restoring network services in the embodiment of the present invention is specifically described in a specific application scenario:
终端驻留在第一网络中,终端向该第一网络发起业务请求的过程中,该第一网络错误,下发拒绝原因值到终端;The terminal resides in the first network, and the terminal sends a service request to the first network, and the first network error is sent, and the reject reason value is sent to the terminal;
终端接收该拒绝原因值后,修改该拒绝原因值为第一原因值,例如#112,该第一原因值为新增加进协议3GPP 24.301和3GPP 24.008的原因值,按照该#112对应的规范,终端执行如下操作:After receiving the reject reason value, the terminal modifies the reject cause value as a first cause value, for example, #112, where the first cause value is a cause value of the newly added protocols 3GPP 24.301 and 3GPP 24.008, according to the specification corresponding to the #112, The terminal performs the following operations:
终端判断该第一网络是否为终端中卡的HPLMN或EHPLMN;The terminal determines whether the first network is a HPLMN or an EHPLMN of the card in the terminal;
例如终端中卡的运营商为联通,该第一网络为联通网络,终端确定该第一网络为HPLMN或EHPLMN,终端启动定时器T1(预置时间间隔),在T1时间内限制驻留,T1超时后重新在该第一网络上获取该第一网络的网络服务,若失败,则重置T1,再次尝试;若在失败上限次数N(预置阈值)内,获取到该第一网络的网络服务,则该终端成功获取到正确的网络服务;若失败次数达到该上限次数N还未成功获取到该第一网络的网络服务,则不再重试,搜索是否存在其他的可用网络,若搜索到可用的第二网络,获取该第二网络的网络服务;若搜索不到其他的可用网络,则终端在该第一网络上限制驻留;For example, the operator of the card in the terminal is Unicom, the first network is a Unicom network, the terminal determines that the first network is HPLMN or EHPLMN, and the terminal starts the timer T1 (preset time interval), and limits the camping in the T1 time, T1 After the timeout expires, the network service of the first network is re-acquired on the first network. If the failure occurs, the T1 is reset and the attempt is repeated; if the failure limit number N (preset threshold) is obtained, the network of the first network is acquired. If the service fails, the terminal successfully obtains the correct network service; if the number of failures reaches the upper limit, the network service of the first network has not been successfully obtained, and the network service is not retried, and the search for other available networks is performed. Obtaining the network service of the second network to the available second network; if the other available network is not searched, the terminal restricts the resident on the first network;
例如终端中卡的运营商为联通,该第一网络为移动网络,终端确定该第一网络不是HPLMN和EHPLMN,终端将该第一网络加入网络禁止列表,在终端重启前都不再尝试获取第一网络的网络服务,例如发起注册重试、位置更新/路由更新/跟踪区更新重试、业务请求重试等;并立即搜索是否存在其他的可用网络,若搜索到可用的第二网络,获取该第二网络的网络服务;若搜索不到其他的可用网络,则终端在该第一网络上限制驻留。For example, the operator of the card in the terminal is Unicom, the first network is a mobile network, and the terminal determines that the first network is not HPLMN and EHPLMN, and the terminal joins the first network to the network forbidden list, and no longer attempts to obtain the first before the terminal restarts. Network service of a network, such as initiating registration retry, location update/routing update/tracking area update retry, service request retry, etc.; and immediately searching for the existence of other available networks, if searching for available second network, obtaining The network service of the second network; if no other available networks are searched, the terminal restricts the presence on the first network.
下面对本发明实施例中的终端进行描述,请参阅图3,本发明实施例中终端一个实施例包括: The following describes the terminal in the embodiment of the present invention. Referring to FIG. 3, an embodiment of the terminal in the embodiment of the present invention includes:
第一获取模块301,用于当接收到第一网络下发的拒绝原因值时,不将卡置为无效,按照预置时间间隔尝试获取第一网络的网络服务;The first obtaining module 301 is configured to: when the rejection reason value sent by the first network is received, not to invalidate the card, and try to acquire the network service of the first network according to the preset time interval;
搜索模块302,用于当所述第一获取模块301获取所述第一网络的网络服务失败的次数达到预置阈值时,搜索是否存在其他的可用网络;The searching module 302 is configured to search whether there are other available networks when the number of times that the first network acquisition failure of the first network fails to reach the preset threshold.
第二获取模块303,用于当所述搜索模块302确定存在其他的可用网络时,获取搜索到的可用网络的网络服务;The second obtaining module 303 is configured to: when the searching module 302 determines that there are other available networks, obtain the searched network service of the available network;
驻留模块304,用于当所述搜索模块302确定不存在其他的可用网络时,在所述第一网络上限制驻留。The resident module 304 is configured to restrict the camping on the first network when the search module 302 determines that there are no other available networks.
本发明实施例中,终端接收到第一网络发送的拒绝原因值后,第一获取模块301不将卡置为无效,多次尝试获取第一网络的网络服务,如能获取到该第一网络的网络服务,则该终端成功的恢复到了正确的网络服务,若在预置阈值的次数内都获取不到该第一网络的网络服务,则搜索模块302搜索是否存在其他的可用网络,若搜索到其他的可用网络,则第二获取模块303获取该搜索到的其他的可用网络的网络服务,获取到该可用网络的网络服务后,也成功的恢复到了正确的网络服务,避免了因网络侧自身的问题,或临时网络布网的不规范,错误下发的拒绝原因值,而导致的终端用户无法再使用正确的网络服务的问题。In the embodiment of the present invention, after the terminal receives the reject reason value sent by the first network, the first acquiring module 301 does not invalidate the card, and attempts to acquire the network service of the first network multiple times, if the first network can be obtained. The network service, the terminal successfully recovered to the correct network service, if the network service of the first network is not obtained within the preset threshold number, the search module 302 searches for whether there are other available networks, if the search After the other available networks, the second obtaining module 303 obtains the network services of the other available networks that are searched, and after obtaining the network services of the available network, the network service is successfully restored to the correct network service, thereby avoiding the network side. The problem of its own, or the irregular network network is not standardized, the value of the rejection reason issued by the error, and the end user can no longer use the correct network service.
在实际应用中,终端可以先判断该第一网络是否为HPLMN或EHPLMN,再根据判断结果进行后续处理,下面对本发明实施例中终端进行具体描述,请参阅图4,作为本发明实施例中终端另一个实施例,上述终端还包括:In a practical application, the terminal may first determine whether the first network is an HPLMN or an EHPLMN, and then perform subsequent processing according to the determination result. The following describes the terminal in the embodiment of the present invention. Referring to FIG. 4, the terminal in the embodiment of the present invention is used. In another embodiment, the foregoing terminal further includes:
判断模块401,用于当接收到第一网络下发的拒绝原因值时,判断所述第一网络是否为归属公共陆地移动网络HPLMN或对等归属网络EHPLMN,当确定所述第一网络是HPLMN或EHPLMN,触发所述第一获取模块301,当确定所述第一网络不是HPLMN和EHPLMN,将所述第一网络加入禁止网络列表,触发所述搜索模块302。The determining module 401 is configured to determine, when receiving the reject reason value sent by the first network, whether the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN, when determining that the first network is an HPLMN Or the EHPLMN, triggering the first obtaining module 301, when it is determined that the first network is not the HPLMN and the EHPLMN, adding the first network to the forbidden network list, triggering the search module 302.
本发明实施例中,判断模块401可以根据该第一网络是否为HPLMN或EHPLMN触发不同的模块,这样可以更加快速的根据实际情况恢复到正确的网络服务。In the embodiment of the present invention, the determining module 401 can trigger different modules according to whether the first network is HPLMN or EHPLMN, so that the correct network service can be restored to the actual situation more quickly.
在实际应用中,终端接收到第一网络下发的拒绝原因值时之后的操作可以 是按照在协议中新增加的原因值来执行的,也可以是按照为现有协议中其他的原因值来执行的:In an actual application, after the terminal receives the reject reason value sent by the first network, the operation may be performed. It is executed according to the newly added reason value in the protocol, or it can be executed according to other reason values in the existing protocol:
可选的,请参阅图5,作为本发明实施例中终端另一个实施例,上述终端还包括:Optionally, referring to FIG. 5, as another embodiment of the terminal in the embodiment of the present invention, the foregoing terminal further includes:
第一修改模块501,用于当接收到第一网络下发的拒绝原因值时,修改接收到的拒绝原因值为第一原因值,所述第一原因值为在协议规范3GPP 24.301和3GPP 24.008中增加的原因值。The first modification module 501 is configured to: when receiving the reject reason value sent by the first network, modify the received reject cause value as a first cause value, where the first cause value is in the protocol specifications 3GPP 24.301 and 3GPP 24.008 The reason value added in .
本实施例中,在协议规范中增加新的原因值,自定义该原因值对应的执行操作,第一修改模块501将拒绝原因值修改为增加的新的原因值,不会违反现有协议的规定,也同时保证了终端不会因网络侧自身的问题,或临时网络布网的不规范,错误下发的拒绝原因值,而导致的终端用户无法再使用正确的网络服务。In this embodiment, a new cause value is added to the protocol specification, and the execution operation corresponding to the cause value is customized. The first modification module 501 modifies the rejection cause value to the added new cause value, and does not violate the existing protocol. The provision also ensures that the terminal will not be able to use the correct network service because the network side itself does not have the problem of the network side, or the temporary network network is not standardized, and the reason for the rejection is incorrectly issued.
可选的,请参阅图6,作为本发明实施例中终端另一个实施例,上述图3或图4所示的终端还可以包括:Optionally, referring to FIG. 6, as another embodiment of the terminal in the embodiment of the present invention, the terminal shown in FIG. 3 or FIG. 4 may further include:
第二修改模块601,用于当确定所述第一网络是HPLMN或EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#17或#15;The second modification module 601 is configured to, when determining that the first network is an HPLMN or an EHPLMN, modify the received reject reason value to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
第三修改模块602,用于当确定所述第一网络不是HPLMN和EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#13或#14。The third modification module 602 is configured to modify the received reject reason value to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008 when determining that the first network is not HPLMN and EHPLMN.
本发明实施例中,第二修改模块601与第三修改模块602根据不同的情况,将该拒绝原因值修改为协议规范中现有的原因值,不需要另外再增加原因值及对应行为,即可以实现对网络服务的恢复。In the embodiment of the present invention, the second modification module 601 and the third modification module 602 modify the rejection reason value to the existing cause value in the protocol specification according to different situations, and do not need to additionally increase the cause value and the corresponding behavior, that is, Recovery of network services can be achieved.
为了便于理解上述实施例,下面以上述终端各个模块在一个具体应用场景中的交互过程进行说明:In order to facilitate the understanding of the foregoing embodiments, the following describes the interaction process of each module of the foregoing terminal in a specific application scenario:
终端驻留在第一网络中,终端向该第一网络发起业务请求的过程中,该第一网络错误,下发拒绝原因值到终端;The terminal resides in the first network, and the terminal sends a service request to the first network, and the first network error is sent, and the reject reason value is sent to the terminal;
终端接收该拒绝原因值后,第一修改模块501修改该拒绝原因值为第一原因值,例如#112,该第一原因值为新增加进协议3GPP 24.301和3GPP 24.008 的原因值,按照该#112对应的规范,终端执行如下操作:After receiving the reject reason value, the first modification module 501 modifies the reject cause value as a first cause value, for example, #112, where the first cause value is a new add-in protocol 3GPP 24.301 and 3GPP 24.008. The reason value, according to the specification corresponding to #112, the terminal performs the following operations:
判断模块401判断该第一网络是否为终端中卡的HPLMN或EHPLMN;The determining module 401 determines whether the first network is a HPLMN or an EHPLMN of the card in the terminal;
例如终端中卡的运营商为联通,该第一网络为联通网络,判断模块401确定该第一网络为HPLMN或EHPLMN,终端启动定时器T1(预置时间间隔),在T1时间内限制驻留,T1超时后第一获取模块301重新在该第一网络上获取该第一网络的网络服务,若失败,则重置T1,第一获取模块301再次尝试;若在失败上限次数N(预置阈值)内,第一获取模块301获取到该第一网络的网络服务,则该终端成功获取到正确的网络服务;若失败次数达到该上限次数N第一获取模块301还未成功获取到该第一网络的网络服务,则不再重试,搜索模块302搜索是否存在其他的可用网络,若搜索到可用的第二网络,第二获取模块303获取该第二网络的网络服务;若搜索不到其他的可用网络,则驻留模块304在该第一网络上限制驻留;For example, the operator of the card in the terminal is Unicom, the first network is a Unicom network, the determining module 401 determines that the first network is HPLMN or EHPLMN, and the terminal starts the timer T1 (preset time interval), and limits the resident in the T1 time. After the T1 times out, the first obtaining module 301 re-acquires the network service of the first network on the first network. If it fails, resets the T1, and the first acquiring module 301 attempts again; if the failure limit number N (preset) If the first acquisition module 301 obtains the network service of the first network, the terminal successfully obtains the correct network service; if the number of failures reaches the upper limit, the first acquisition module 301 has not successfully obtained the first If the network service of the network is not retried, the search module 302 searches for other available networks. If the second network is available, the second obtaining module 303 obtains the network service of the second network; For other available networks, the resident module 304 limits residency on the first network;
例如终端中卡的运营商为联通,该第一网络为移动网络,判断模块401确定该第一网络不是HPLMN和EHPLMN,将该第一网络加入网络禁止列表,第一获取模块301在终端重启前都不再尝试获取第一网络的网络服务,例如发起注册重试、位置更新/路由更新/跟踪区更新重试、业务请求重试等;搜索模块302立即搜索是否存在其他的可用网络,若搜索到可用的第二网络,第二获取模块303获取该第二网络的网络服务;若搜索不到其他的可用网络,则驻留模块304在该第一网络上限制驻留。For example, the operator of the card in the terminal is Unicom, the first network is a mobile network, and the determining module 401 determines that the first network is not the HPLMN and the EHPLMN, and adds the first network to the network forbidden list, and the first obtaining module 301 before the terminal restarts. No longer try to obtain network services of the first network, such as initiate registration retry, location update/route update/tracking area update retry, service request retry, etc.; search module 302 immediately searches for the existence of other available networks, if search To the available second network, the second obtaining module 303 acquires the network service of the second network; if no other available networks are searched, the resident module 304 limits the resident on the first network.
请参阅图7,本发明实施例中终端另一个实施例包括:Referring to FIG. 7, another embodiment of the terminal in the embodiment of the present invention includes:
输入装置701、输出装置702、处理器703和存储器704(其中终端700中的处理器703的数量可以一个或多个,图7中以一个处理器703为例)。在本发明的一些实施例中,输入装置701、输出装置702、处理器703和存储器704可通过总线或其它方式连接,其中,图7中以通过总线连接为例。The input device 701, the output device 702, the processor 703, and the memory 704 (wherein the number of processors 703 in the terminal 700 may be one or more, and one processor 703 is taken as an example in FIG. 7). In some embodiments of the present invention, the input device 701, the output device 702, the processor 703, and the memory 704 may be connected by a bus or other means, wherein the bus connection is taken as an example in FIG.
其中,通过调用存储器704存储的操作指令,处理器703用于执行如下步骤:The processor 703 is configured to perform the following steps by calling an operation instruction stored in the memory 704:
当接收到第一网络下发的拒绝原因值时,不将卡置为无效,按照预置时间间隔尝试获取第一网络的网络服务;When receiving the reject reason value sent by the first network, the card is not invalidated, and the network service of the first network is attempted according to the preset time interval;
当获取所述第一网络的网络服务失败的次数达到预置阈值时,搜索是否存 在其他的可用网络;Whether the search is saved when the number of failed network service acquisitions of the first network reaches a preset threshold In other available networks;
当确定存在其他的可用网络时,获取搜索到的可用网络的网络服务;Obtaining the network service of the searched available network when it is determined that there are other available networks;
当确定不存在其他的可用网络时,在所述第一网络上限制驻留;Restricting residency on the first network when it is determined that there are no other available networks;
本发明的一些实施例中,所述处理器703还用于执行如下步骤:In some embodiments of the present invention, the processor 703 is further configured to perform the following steps:
判断所述第一网络是否为归属公共陆地移动网络HPLMN或对等归属网络EHPLMN;Determining whether the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN;
若确定所述第一网络是HPLMN或EHPLMN,触发所述按照预置间隔时间尝试获取所述第一网络的网络服务的步骤;If it is determined that the first network is an HPLMN or an EHPLMN, triggering the step of attempting to acquire a network service of the first network according to a preset interval time;
若确定所述第一网络不是HPLMN和EHPLMN,将所述第一网络加入禁止网络列表,触发所述搜索是否存在其它的可用网络的步骤;If it is determined that the first network is not an HPLMN and an EHPLMN, adding the first network to a forbidden network list, triggering the search whether there are other available networks;
本发明的一些实施例中,所述处理器703还用于执行如下步骤:In some embodiments of the present invention, the processor 703 is further configured to perform the following steps:
当接收到第一网络下发的拒绝原因值时,修改接收到的拒绝原因值为第一原因值,所述第一原因值为在协议规范3GPP 24.301和3GPP 24.008中增加的原因值;When the reject reason value sent by the first network is received, the received reject reason value is modified as a first cause value, and the first cause value is a cause value added in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
本发明的一些实施例中,所述处理器703还用于执行如下步骤:In some embodiments of the present invention, the processor 703 is further configured to perform the following steps:
当确定所述第一网络是HPLMN或EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#17或#15;When it is determined that the first network is HPLMN or EHPLMN, the received reject reason value is modified to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
当确定所述第一网络不是HPLMN和EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#13或#14。When it is determined that the first network is not HPLMN and EHPLMN, the received reject reason value is modified to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。 In the several embodiments provided by the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 The above embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the embodiments are modified, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention.

Claims (12)

  1. 一种恢复网络服务的方法,其特征在于,包括:A method for restoring a network service, comprising:
    当接收到第一网络下发的拒绝原因值时,不将卡置为无效,按照预置时间间隔尝试获取第一网络的网络服务;When receiving the reject reason value sent by the first network, the card is not invalidated, and the network service of the first network is attempted according to the preset time interval;
    当获取所述第一网络的网络服务失败的次数达到预置阈值时,搜索是否存在其他的可用网络;When the number of failed network service acquisitions of the first network reaches a preset threshold, searching for other available networks;
    当确定存在其他的可用网络时,获取搜索到的可用网络的网络服务;Obtaining the network service of the searched available network when it is determined that there are other available networks;
    当确定不存在其他的可用网络时,在所述第一网络上限制驻留。Restricting residency on the first network when it is determined that there are no other available networks.
  2. 根据权利要求1所述的方法,其特征在于,所述按照预置间隔时间尝试获取所述第一网络的网络服务的步骤之前还包括:The method according to claim 1, wherein the step of attempting to acquire the network service of the first network according to the preset interval time further comprises:
    判断所述第一网络是否为归属公共陆地移动网络HPLMN或对等归属网络EHPLMN;Determining whether the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN;
    若确定所述第一网络是HPLMN或EHPLMN,触发所述按照预置间隔时间尝试获取所述第一网络的网络服务的步骤;If it is determined that the first network is an HPLMN or an EHPLMN, triggering the step of attempting to acquire a network service of the first network according to a preset interval time;
    若确定所述第一网络不是HPLMN和EHPLMN,将所述第一网络加入禁止网络列表,触发所述搜索是否存在其它的可用网络的步骤。If it is determined that the first network is not an HPLMN and an EHPLMN, the first network is added to the forbidden network list, and the step of triggering the search for other available networks is triggered.
  3. 根据权利要求1或2所述的方法,其特征在于,所述不将卡置为无效的步骤之前还包括:The method according to claim 1 or 2, wherein the step of not placing the card as invalid further comprises:
    修改接收到的拒绝原因值为第一原因值,所述第一原因值为在协议规范3GPP 24.301和3GPP 24.008中增加的原因值。The received reject reason value is modified to be a first cause value, and the first cause value is a cause value added in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
  4. 根据权利要求2所述的方法,其特征在于,所述若确定所述第一网络是HPLMN或EHPLMN的步骤之后还包括:The method according to claim 2, wherein the step of determining that the first network is a HPLMN or an EHPLMN further comprises:
    将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#17或#15;Modifying the received rejection reason value to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
    所述若确定所述第一网络不是HPLMN和EHPLMN的步骤之后还包括:After the step of determining that the first network is not HPLMN and EHPLMN, the method further includes:
    将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#13或#14。The received reject reason value is modified to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
  5. 一种终端,其特征在于,包括:A terminal, comprising:
    第一获取模块,用于当接收到第一网络下发的拒绝原因值时,不将卡置为 无效,按照预置时间间隔尝试获取第一网络的网络服务;The first obtaining module is configured to: when receiving the reject reason value sent by the first network, do not set the card as Invalid, try to obtain the network service of the first network according to the preset time interval;
    搜索模块,用于当所述第一获取模块获取所述第一网络的网络服务失败的次数达到预置阈值时,搜索是否存在其他的可用网络;a search module, configured to search whether there are other available networks when the number of times the first acquisition module acquires the network service failure of the first network reaches a preset threshold;
    第二获取模块,用于当所述搜索模块确定存在其他的可用网络时,获取搜索到的可用网络的网络服务;a second obtaining module, configured to: when the searching module determines that other available networks exist, obtain a network service of the searched available network;
    驻留模块,用于当所述搜索模块确定不存在其他的可用网络时,在所述第一网络上限制驻留。a resident module for limiting residency on the first network when the search module determines that there are no other available networks.
  6. 根据权利要求5所述的终端,其特征在于,所述终端还包括:The terminal according to claim 5, wherein the terminal further comprises:
    判断模块,用于当接收到第一网络下发的拒绝原因值时,判断所述第一网络是否为归属公共陆地移动网络HPLMN或对等归属网络EHPLMN,当确定所述第一网络是HPLMN或EHPLMN,触发所述第一获取模块,当确定所述第一网络不是HPLMN和EHPLMN,将所述第一网络加入禁止网络列表,触发所述搜索模块。a determining module, configured to determine, when receiving the reject reason value sent by the first network, whether the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN, when determining that the first network is an HPLMN or The EHPLMN triggers the first obtaining module to trigger the search module by adding the first network to the forbidden network list when it is determined that the first network is not the HPLMN and the EHPLMN.
  7. 根据权利要求5或6所述的终端,其特征在于,所述终端还包括:The terminal according to claim 5 or 6, wherein the terminal further comprises:
    第一修改模块,用于当接收到第一网络下发的拒绝原因值时,修改接收到的拒绝原因值为第一原因值,所述第一原因值为在协议规范3GPP 24.301和3GPP 24.008中增加的原因值。The first modification module is configured to: when receiving the reject reason value sent by the first network, modify the received reject cause value as a first cause value, where the first cause value is in the protocol specifications 3GPP 24.301 and 3GPP 24.008 Increased cause value.
  8. 根据权利要求6所述的终端,其特征在于,所述终端还包括:The terminal according to claim 6, wherein the terminal further comprises:
    第二修改模块,用于当确定所述第一网络是HPLMN或EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#17或#15;a second modification module, when determining that the first network is HPLMN or EHPLMN, modifying the received reject reason value to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
    第三修改模块,用于当确定所述第一网络不是HPLMN和EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#13或#14。And a third modification module, configured to modify the received reject reason value to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008 when determining that the first network is not HPLMN and EHPLMN.
  9. 一种终端,其特征在于,包括:A terminal, comprising:
    输入装置、输出装置、处理器和存储器;Input device, output device, processor and memory;
    通过调用所述存储器存储的操作指令,所述处理器用于执行如下步骤:The processor is configured to perform the following steps by invoking an operation instruction stored by the memory:
    当接收到第一网络下发的拒绝原因值时,不将卡置为无效,按照预置时间间隔尝试获取第一网络的网络服务; When receiving the reject reason value sent by the first network, the card is not invalidated, and the network service of the first network is attempted according to the preset time interval;
    当获取所述第一网络的网络服务失败的次数达到预置阈值时,搜索是否存在其他的可用网络;When the number of failed network service acquisitions of the first network reaches a preset threshold, searching for other available networks;
    当确定存在其他的可用网络时,获取搜索到的可用网络的网络服务;Obtaining the network service of the searched available network when it is determined that there are other available networks;
    当确定不存在其他的可用网络时,在所述第一网络上限制驻留。Restricting residency on the first network when it is determined that there are no other available networks.
  10. 根据权利要求9所述的终端,其特征在于,所述处理器还用于执行如下步骤:The terminal according to claim 9, wherein the processor is further configured to perform the following steps:
    判断所述第一网络是否为归属公共陆地移动网络HPLMN或对等归属网络EHPLMN;Determining whether the first network is a home public land mobile network HPLMN or a peer-to-peer home network EHPLMN;
    若确定所述第一网络是HPLMN或EHPLMN,触发所述按照预置间隔时间尝试获取所述第一网络的网络服务的步骤;If it is determined that the first network is an HPLMN or an EHPLMN, triggering the step of attempting to acquire a network service of the first network according to a preset interval time;
    若确定所述第一网络不是HPLMN和EHPLMN,将所述第一网络加入禁止网络列表,触发所述搜索是否存在其它的可用网络的步骤。If it is determined that the first network is not an HPLMN and an EHPLMN, the first network is added to the forbidden network list, and the step of triggering the search for other available networks is triggered.
  11. 根据权利要求9或10所述的方法,其特征在于,所述处理器还用于执行如下步骤:The method according to claim 9 or 10, wherein the processor is further configured to perform the following steps:
    当接收到第一网络下发的拒绝原因值时,修改接收到的拒绝原因值为第一原因值,所述第一原因值为在协议规范3GPP 24.301和3GPP 24.008中增加的原因值。When the reject reason value sent by the first network is received, the received reject cause value is modified to be a first cause value, and the first cause value is a cause value added in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
  12. 根据权利要求9所述的方法,其特征在于,所述处理器还用于执行如下步骤:The method according to claim 9, wherein the processor is further configured to perform the following steps:
    当确定所述第一网络是HPLMN或EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#17或#15;When it is determined that the first network is HPLMN or EHPLMN, the received reject reason value is modified to #17 or #15 in the protocol specifications 3GPP 24.301 and 3GPP 24.008;
    当确定所述第一网络不是HPLMN和EHPLMN时,将接收到的拒绝原因值修改为协议规范3GPP 24.301和3GPP 24.008中的#13或#14。 When it is determined that the first network is not HPLMN and EHPLMN, the received reject reason value is modified to #13 or #14 in the protocol specifications 3GPP 24.301 and 3GPP 24.008.
PCT/CN2014/094324 2014-12-19 2014-12-19 Method and terminal for restoring network service WO2016095188A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2014/094324 WO2016095188A1 (en) 2014-12-19 2014-12-19 Method and terminal for restoring network service
CN201480060714.XA CN105917706B (en) 2014-12-19 2014-12-19 A kind of method and terminal for restoring network service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/094324 WO2016095188A1 (en) 2014-12-19 2014-12-19 Method and terminal for restoring network service

Publications (1)

Publication Number Publication Date
WO2016095188A1 true WO2016095188A1 (en) 2016-06-23

Family

ID=56125648

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/094324 WO2016095188A1 (en) 2014-12-19 2014-12-19 Method and terminal for restoring network service

Country Status (2)

Country Link
CN (1) CN105917706B (en)
WO (1) WO2016095188A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109195217A (en) * 2018-10-23 2019-01-11 Oppo广东移动通信有限公司 The processing method and processing device of LTE network refusal behavior
CN109246847A (en) * 2017-05-16 2019-01-18 成都鼎桥通信技术有限公司 Method for network access and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10477400B2 (en) * 2017-08-10 2019-11-12 Qualcomm Incorporated Forbidden network list management
CN108271243B (en) * 2018-01-22 2020-06-30 维沃移动通信有限公司 Location area updating method and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674635A (en) * 2008-09-10 2010-03-17 中国移动通信集团公司 Method and user device for solving call restriction between different systems
CN102143558A (en) * 2011-03-24 2011-08-03 华为终端有限公司 Method and device for processing network reject message
CN102457831A (en) * 2010-10-29 2012-05-16 中国移动通信集团公司 Control method, device, terminal and system for terminal access

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101674635A (en) * 2008-09-10 2010-03-17 中国移动通信集团公司 Method and user device for solving call restriction between different systems
CN102457831A (en) * 2010-10-29 2012-05-16 中国移动通信集团公司 Control method, device, terminal and system for terminal access
CN102143558A (en) * 2011-03-24 2011-08-03 华为终端有限公司 Method and device for processing network reject message

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109246847A (en) * 2017-05-16 2019-01-18 成都鼎桥通信技术有限公司 Method for network access and system
CN109246847B (en) * 2017-05-16 2020-12-01 成都鼎桥通信技术有限公司 Network access method and system
CN109195217A (en) * 2018-10-23 2019-01-11 Oppo广东移动通信有限公司 The processing method and processing device of LTE network refusal behavior
CN109195217B (en) * 2018-10-23 2021-06-04 Oppo广东移动通信有限公司 Method and device for processing LTE network rejection behavior

Also Published As

Publication number Publication date
CN105917706B (en) 2019-04-05
CN105917706A (en) 2016-08-31

Similar Documents

Publication Publication Date Title
US11096051B2 (en) Connection establishment method, device, and system
JP6022612B2 (en) Method and apparatus for signal scanning and signal acquisition for multiple radio interface devices
WO2016095188A1 (en) Method and terminal for restoring network service
US11683218B2 (en) Compromised network node detection system
CN109195217B (en) Method and device for processing LTE network rejection behavior
CN105636048B (en) Terminal and method and device for identifying pseudo base station
WO2014154101A1 (en) Method and device for implementing fast network connection
EP3454605B1 (en) Network search method and apparatus under double-card mode, and computer storage medium
WO2018010425A1 (en) Method and apparatus for pushing and receiving wi-fi hotspot information, and storage medium
CN103747504A (en) Communicator and communication method
WO2016082517A1 (en) Method and device for recovering network connection
CN106028309B (en) Method and device for restoring main card in dual-card dual-standby terminal to data network
WO2022233175A1 (en) Processing method, terminal, and computer storage medium
US10104215B2 (en) Blacklist management method and device
WO2017181465A1 (en) Access point name configuration method and device
WO2017050016A1 (en) Multi-domain communications method and terminal
RU2015116527A (en) METHOD FOR IMPLEMENTING ROAMING IN CASE OF DISTURBANCE OF FUNCTIONING OF DATA TRANSFER SERVICE IN MOBILE PHONE NETWORK
WO2019134623A1 (en) Capacity expansion and reduction method, device, apparatus and computer readable storage medium
KR101655822B1 (en) Method and program for accessing internet protocol, and telematics device and computer readable medium for performing the same
EP2983085B1 (en) Method and apparatus for informing connection condition between external device and router
CN106105365A (en) Method for switching network, device and terminal
CN110891290B (en) Method and device for reestablishing intra-cell handover
CN114945173B (en) Cross-PLMN signaling forwarding method, electronic equipment and storage medium
CN112887161B (en) Mobile network detection method and device
CN115942430A (en) Communication method, communication device, terminal and computer-readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14908223

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14908223

Country of ref document: EP

Kind code of ref document: A1