WO2016015228A1 - Network registration method and terminal device - Google Patents

Network registration method and terminal device Download PDF

Info

Publication number
WO2016015228A1
WO2016015228A1 PCT/CN2014/083245 CN2014083245W WO2016015228A1 WO 2016015228 A1 WO2016015228 A1 WO 2016015228A1 CN 2014083245 W CN2014083245 W CN 2014083245W WO 2016015228 A1 WO2016015228 A1 WO 2016015228A1
Authority
WO
WIPO (PCT)
Prior art keywords
registration
registration request
terminal
apn parameter
network
Prior art date
Application number
PCT/CN2014/083245
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/083245 priority Critical patent/WO2016015228A1/en
Publication of WO2016015228A1 publication Critical patent/WO2016015228A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a network registration method and a terminal device. Background technique
  • LTE Long Term Evolution
  • UMTS Universal Mobile Telecommunications System
  • CS circuit switching
  • EPS Evolved Packet System
  • multiple bearer and processing mechanisms are introduced in the LTE network.
  • the LTE network is accompanied by the establishment of a packet data network (PDN) connection of the default bearer in the attach (also called registration) process.
  • PDN packet data network
  • An Access Point Name is used during the LTE Attach process to establish a default PDN connection.
  • PDN Access Point Name
  • the default PDN connection is also established in the following ways:
  • Mode 1 The UE does not carry the APN parameter when performing LTE Attach.
  • the APN parameter used is sent by the network side, and the APN establishes a default PDN connection to ensure the success of the LTE Attach.
  • Mode 2 The UE carries the APN parameter when performing the LTE Attach. At this time, the default PDN connection is established by using the APN parameter carried by the UE. In this mode, if the APN parameter carried by the UE is incorrect, the LTE Attach fails.
  • the LTE network rejects the LTE Attach.
  • the UE cannot register in the LTE network.
  • the UE cannot use the services provided by the LTE network. Summary of the invention
  • the embodiment of the present invention provides a network registration method and a terminal device, which are used to solve the problem that the UE fails to register to the LTE network because the UE uses the wrong APN parameter for LTE Attach in the prior art.
  • a network registration method includes:
  • the terminal After determining that the first registration request initiated by the terminal to the network server is rejected, the terminal initiates a second registration request to the network server, where the first registration request carries a default APN parameter; the second registration request does not carry The APN parameter, or the second registration request carries the APN parameter that the terminal successfully registers to the network from the saved one;
  • the terminal receives the registration accept message returned by the network server for the second registration request, and determines that the user has successfully registered to the network, where the accept message carries the APN sent by the network server to the terminal. .
  • the method further includes: after receiving the registration accept message returned by the network server, the terminal saves first information related to registration of the terminal
  • the registration accept message is a registration accept message returned by the network server for the first registration request and/or the second registration request;
  • the first information includes at least one of the following information: an APN parameter used by the terminal for registration, time information at the time of registration, identification ID information used at the time of registration, and public land where the registration is located.
  • Mobile network PLMN information used by the terminal for registration, time information at the time of registration, identification ID information used at the time of registration, and public land where the registration is located.
  • the terminal sends, to the network server, a second APN parameter that carries the terminal from the saved successful registration to the network.
  • Registration request including:
  • the terminal selects at least one APN parameter from the saved first information related to the successful registration, and initiates the second registration request to the network server, where the second registration request carries the terminal The APN parameter selected.
  • the method further includes:
  • the terminal selects at least one APN parameter from the saved first information related to the successful registration, and re-initiates a second registration request to the network server, where the second registration request is re-initiated The APN parameter selected by the terminal.
  • the terminal from the saved first information, Select at least one APN parameter, including:
  • the terminal determines, from the saved first information, an APN parameter that is the same as the ID information currently used by the terminal and/or the information of the currently located PLMN, and selects from the determined APN parameters. At least one APN parameter.
  • the terminal selects at least one APN parameter from the determined APN parameters, including:
  • the terminal selects the APN parameter with the smallest interval from the determined APN parameters according to the interval between the registration time information corresponding to each APN parameter and the current time.
  • a terminal device includes:
  • a first processing module configured to initiate a second registration request to the network server after determining that the first registration request initiated by the network server is rejected; wherein the first registration request carries a default APN parameter; The second registration request does not carry the APN parameter, or the second registration request carries the APN parameter that the terminal successfully registers to the network.
  • a second processing module configured to: after the first processing module receives the registration accept message returned by the network server for the second registration request, determine that the terminal device to which the network device belongs has successfully registered to the network.
  • the terminal device further includes: a storage module, configured to save, after the first processing module receives the registration accept message returned by the network server, First information related to registration of the terminal device, wherein the registration The accept message is a registration accept message returned by the network server for the first registration request and/or the second registration request;
  • the first information includes at least one of the following information: an APN parameter used by the terminal for registration, time information at the time of registration, identification ID information used at the time of registration, and public land where the registration is located.
  • Mobile network PLMN information used by the terminal for registration, time information at the time of registration, identification ID information used at the time of registration, and public land where the registration is located.
  • the terminal device further includes:
  • the first processing module initiates, to the network server, a second registration request that carries the APN parameter that the terminal successfully saves from the saved network to the network, including:
  • the second processing module is further configured to:
  • selecting at least one APN parameter includes:
  • the second processing module selects the at least one APN parameter from the determined APN parameters, including: From the determined APN parameters, the APN parameters with the smallest interval are sequentially selected according to the interval between the registration time information corresponding to each APN parameter and the current time.
  • a terminal device includes:
  • a transceiver configured to initiate a second registration request to the network server after determining that the first registration request initiated by the network server is rejected; wherein the first registration request carries a default APN parameter; the second registration The request does not carry the APN parameter, or the second registration request carries the APN parameter that the terminal successfully registers to the network from the saved one;
  • a processor configured to determine, after the transceiver receives the registration accept message returned by the network server for the second registration request, that the terminal device to which the network device belongs has successfully registered to the network.
  • the transceiver and the processor are connected by a bus.
  • the terminal device further includes: a memory, configured to save, after the transceiver receives the registration accept message returned by the network server, Registering related first information, where the registration accept message is a registration accept message returned by the network server for the first registration request and/or the second registration request;
  • the first information includes at least one of the following information: an APN parameter used by the terminal device to register, time information at the time of registration, identification ID information used at the time of registration, and public land where the registration is located.
  • Mobile network PLMN information used by the terminal device to register, time information at the time of registration, identification ID information used at the time of registration, and public land where the registration is located.
  • the transceiver sends, to the network server, an APN parameter that carries the terminal from the saved successful registration to the network.
  • the processor is specifically used to:
  • the processor is further configured to: Determining that the second registration request of the set number of times initiated is rejected;
  • APN parameter selected by the processor is carried in the middle.
  • the first saved by the processor from the memory In the information, select at least one APN parameter, including:
  • an APN parameter that is the same as the ID information currently used by the terminal device and/or the information of the currently located PLMN, and selecting at least one of the determined APN parameters.
  • the determining, by the processor, the at least one APN parameter from the determined APN parameters including:
  • the APN parameters with the smallest interval are sequentially selected according to the interval between the registration time information corresponding to each APN parameter and the current time.
  • the method and the terminal device provided by the embodiment of the present invention after determining that the first registration request initiated by the network server is rejected, initiates a second registration request to the network server, where the first registration request carries the APN parameter;
  • the APN parameter is not carried in the request, or the second registration request carries the APN parameter that the terminal successfully registers to the network after being saved.
  • After receiving the registration accept message returned by the network server for the second registration request it is determined that the terminal has successfully registered.
  • the success rate of registration to the network is improved, and the user can enjoy the service provided by the LTE network in the LTE network environment, thereby improving the user experience.
  • FIG. 1 is a flowchart of a terminal using an incorrect APN for registration in an LTE network
  • Embodiment 1 of the present invention is a flowchart of Embodiment 1 of the present invention.
  • FIG. 4 is a schematic diagram of a terminal device provided by the present invention
  • FIG. 5 is a schematic diagram of another terminal device provided by the present invention. detailed description
  • the terminal after the first registration request for the terminal to carry the APN parameter is rejected, the terminal initiates a second registration request to the network server, where the second registration request does not carry the APN parameter, or the second registration request carries the terminal.
  • the saved APN parameters successfully registered to the network are used to improve the success rate of registration to the network, so that the user can enjoy the services provided by the LTE network in the LTE network environment.
  • the technical solution provided by the present invention is preferably applicable to an LTE system and a subsequent evolved system.
  • the wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal
  • RAN Radio Access Network
  • the computers for example, can be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange language and/or data with the wireless access network.
  • a wireless terminal may also be called a system, a Subscriber Unit, a Subscriber Station, a Mobile Station, a Mobile, a Remote Station, an Access Point, Remote Terminal, Access Terminal, User Terminal, User Agent, User Device, or User Equipment.
  • a method for registering a network includes: S21: After determining that the first registration request initiated by the terminal to the network server is rejected, the terminal sends the network to the network.
  • the server initiates a second registration request, where the first registration request carries the default APN parameter; the second registration request does not carry the APN parameter, or the second registration request carries the APN parameter that the terminal successfully registers to the network.
  • the network server After the terminal initiates the first registration request to the network server, if the network server receives a registration rejection (reject) returned by the first registration request, it determines that the first registration request is rejected.
  • a registration rejection reject
  • the terminal After receiving the registration accept message returned by the network server for the second registration request, the terminal determines that it has successfully registered to the network.
  • the terminal after determining that the first registration request initiated by the terminal to the network server is rejected, the terminal initiates a second registration request to the network server, where the first registration request carries a default APN parameter; the second registration request does not carry The APN parameter, or the second registration request, carries the APN parameter that the terminal successfully registers to the network from the saved one; after receiving the registration accept message returned by the network server for the second registration request, the terminal determines that it has successfully registered to the network. After the terminal determines that the first registration request for carrying the APN parameter initiated by the network server is rejected, the terminal initiates a second registration request to the network server that does not carry the APN parameter or carries the terminal to successfully save the APN parameter from the successfully registered network to the network. Therefore, the success rate of the terminal registration to the network is improved, and the user can enjoy the service provided by the LTE network in the LTE network environment, thereby improving the user experience.
  • the method further includes:
  • the terminal After receiving the registration accept message returned by the network server, the terminal saves the first information related to the registration of the terminal, where the registration accept message is a registration acceptance returned by the network server for the first registration request and/or the second registration request.
  • the first information includes at least one of the following information: an APN parameter used by the terminal for registration, time information at the time of registration, and ID information used when registering (eg, an international mobile subscriber identifier (International Mobile Subscriber) Identifier, IMSI)), and the information of the Public Land Mobile Network (PLMN) where the registration was made.
  • APN parameter used by the terminal for registration
  • time information at the time of registration e.g., time information at the time of registration
  • ID information used when registering eg, an international mobile subscriber identifier (International Mobile Subscriber) Identifier, IMSI)
  • PLMN Public Land Mobile Network
  • the terminal After receiving the registration accept message returned by the network server for the first registration request and/or the second registration request, the terminal determines that it has successfully registered to the network, and saves the first related to the successful registration of the terminal. information. Further, if the registration accept message is a registration accept message returned by the network server for the first registration request, the first information includes at least one of the following information: an APN parameter carried in the first registration request, and a time of registration Information, ID information used for registration (such as IMSI), and information about the PLMN at the time of registration;
  • the first information includes at least one of the following information: an APN parameter carried in the registration accept message, time information at the time of registration, The ID information (such as IMSI) used at the time of registration, and the information of the PLMN at the time of registration.
  • the terminal initiates, to the network server, a second registration request that carries the APN parameter that the terminal successfully saves from the saved registration to the network, including:
  • the terminal selects at least one APN parameter from the saved first information related to the successful registration, and initiates the second registration request to the network server, where the second registration request carries the APN parameter selected by the terminal.
  • the terminal initiates a second registration request to the network server, and includes the following two preferred implementation manners:
  • Manner 1 The terminal initiates a second registration request only to the network server.
  • the network server After receiving the second registration request initiated by the terminal, can complete the registration of the terminal in the network, and then complete the registration to the terminal. Returning the registration acceptance message, and carrying the APN parameter sent by the network server to the terminal; if the registration of the terminal in the network cannot be completed, returning the registration rejection message to the terminal.
  • the network server determines whether the APN parameter carried in the second registration request is appropriate after receiving the second registration request. If appropriate, the network server completes the registration acceptance message returned to the terminal after the terminal registers in the network; if not, the network server returns a registration rejection message to the terminal.
  • the terminal determines that it has successfully registered to the network.
  • Manner 2 The terminal initiates at least two second registration requests to the network server.
  • the terminal determines that the first second registration request initiated by the terminal to the network server is rejected, and then tries again.
  • the web server initiates a second registration request until either of the second registration request is accepted or the second number of registration requests are rejected.
  • the network server for any second registration request initiated by the terminal, if the network server can complete the registration of the terminal in the network after receiving the second registration request initiated by the terminal, the network server returns to the terminal after completing the registration.
  • the terminal determines that it has successfully registered to the network.
  • the terminal first initiates a second registration request that does not carry the APN parameter to the network server, and after all the second registration requests that do not carry the APN parameter are rejected, the terminal initiates the set number of mobile terminals to the network server. a second registration request from the saved APN parameter successfully registered to the network; or
  • the terminal first initiates a second registration request of the set number of times to the network server, and initiates the setting to the network server after all the initiated registration requests are rejected from all the saved APN parameters of the successfully registered APN parameters of the network.
  • the second registration request does not carry the APN parameter.
  • the set number of times is an empirical value, which may be one time or multiple times.
  • the user can set the specific value according to the actual needs.
  • the method further includes: the terminal determining that the second registration request initiated by the terminal is rejected;
  • the terminal selects at least one APN parameter from the saved first information related to the successful registration, and re-initiates a second registration request to the network server, where the re-initiated second registration request carries the APN parameter selected by the terminal. Specifically, if the second registration request initiated by the terminal that does not carry the APN parameter is rejected, the terminal selects an APN parameter from the saved first information, and re-initiates the carrying of the selected APN to the network server.
  • the terminal selects at least one APN parameter from the saved first information, including: the terminal determines, from the saved first information, the ID information currently used by the terminal and/or the current PLMN.
  • the information is the same APN parameter, and from the determined APN parameters, at least one APN parameter is selected.
  • the terminal determines, from the saved first information, an APN parameter that is the same as the ID information currently used by the terminal, and selects at least one APN parameter from the determined APN parameters; or The terminal determines the same APN parameter from the saved first information, and selects at least one APN parameter from the determined APN parameter; or, the terminal saves from the saved In an information, an APN parameter that is the same as the ID information currently used by the terminal and the information of the currently located PLMN is determined, and at least one APN parameter is selected from the determined APN parameters.
  • the terminal selects at least one APN parameter from the determined APN parameters, including: the terminal selects the interval between the registration time information and the current time according to each APN parameter from the determined APN parameters, and sequentially selects the interval. The smallest APN parameter.
  • the terminal first selects the APN parameter with the smallest interval, and re-initiates the second registration request. If the registration fails, the APN parameter with the smallest interval is selected from the remaining APN parameters, and the second registration request is re-initiated, and so on, until the registration is repeated. The second registration request initiated or the second registration request reinitiated each time is rejected.
  • the terminal may select another APN parameter from the determined APN parameters to re-initiate the second registration request, such as random selection, which is not specific to the embodiment.
  • the selection method is limited. A method for activating the Internet Protocol IP provided by the embodiment of the present invention is described in detail below with reference to two specific embodiments.
  • Embodiment 1 uses an LTE network registration as an example. As shown in FIG. 3, the embodiment includes the following process:
  • the terminal In the LTE network, the terminal initiates a registration request carrying the APN parameter to attempt to register in the LTE network;
  • the terminal saves the currently used APN, and the International Mobile Subscriber Identifier (IMSI) of the terminal and the PLMN where the terminal is currently located no longer perform other operations;
  • IMSI International Mobile Subscriber Identifier
  • the terminal performs step 2.
  • the terminal re-initiates the registration request, and the APN parameter is not carried in the registration request; if the network environment supports the network to send the APN, the registration can be successful;
  • the terminal checks the IMSI and PLMN of the terminal from the information used by the saved LTE network, and compares the current IMSI and PLMN of the terminal, and checks whether other APNs have been successfully registered to the LTE network before, if any, These APN parameters (ie, preferred APN parameters) are then carried in the registration request to attempt to register into the LTE network.
  • APN parameters ie, preferred APN parameters
  • the attempt sequence is based on the principle of proximity, that is, using the APN used in the most recent time, and if it fails, then the used APN parameters are carried in the registration request for a longer time.
  • Embodiment 2 The network of the LTE of the A operator only supports the manner in which the PN registration must carry the APN (ie, the mode mentioned in the background art 2).
  • the LTE network of the operator B also supports the mode of carrying the APN and not carrying the APN when the LTE is registered (that is, the mode 1 and mode 2 mentioned in the background art), that is, if the LTE is registered without the APN, the registration can be successful.
  • User C is an old customer of A carrier. Because of the business trip, user C replaces the carrier B's card and starts to use carrier B's network. User C uses the A carrier APN to register the LTE network in the LTE network environment of the operator B. After the LTE registration fails, the user C re-attempts to use the APN to register the LTE network of the business B, and the network support of the operator B actively delivers the APN, so the LTE registration is successful.
  • an embodiment of the present invention provides a terminal device.
  • the terminal device includes:
  • the first processing module 41 is configured to initiate a second registration request to the network server after determining that the first registration request initiated by the network server is rejected, where the first registration request carries a default APN parameter;
  • the second registration request does not carry the APN parameter, or the second registration request carries the APN parameter that the terminal successfully registers to the network from the saved one;
  • the second processing module 42 is configured to receive, by the first processing module 41, the registration accept message returned by the network server for the second registration request, and determine that the terminal device to which the network device belongs has successfully registered to the network.
  • the first processing module 41 after determining that the first registration request initiated by the network server is rejected, the first processing module 41 initiates a second registration request to the network server, where the first registration request carries a default APN parameter; The registration request does not carry the APN parameter, or the second registration request carries the APN parameter from the saved successful registration to the network; the second processing module 42 receives the registration returned by the network server for the second registration request at the first processing module 41. After acceptance, it is determined that the terminal device to which it belongs has been successfully registered to the network. After the first processing module 41 determines that the first registration request for carrying the APN parameter initiated by the network server is rejected, the first processing module 41 initiates the APN parameter that does not carry the APN parameter or carries the successfully registered registration to the network. The second registration request improves the success rate of the terminal device to register with the network, so that the user can enjoy the service provided by the LTE network in the LTE network environment, thereby improving the user experience.
  • the terminal device further includes:
  • the storage module 43 is configured to save, after the first processing module 41 receives the registration accept message returned by the network server, first information related to registration of the terminal device, where the registration accept message is a first registration of the network server a registration acceptance message returned by the request and/or the second registration request; wherein the first information includes at least one of the following information: an APN parameter used for registration of the terminal device, time information at the time of registration, and registration time Identification ID information used (eg IMSI), and the information of the public land mobile network PLMN where the registration is located.
  • the registration accept message is a registration accept message returned by the network server for the first registration request
  • the first information includes at least one of the following information: an APN parameter carried in the first registration request, and a registration time Time information, ID information used for registration (such as IMSI), and information about the PLMN at the time of registration;
  • the first information includes at least one of the following information: an APN parameter carried in the registration accept message, time information at the time of registration, The ID information (such as IMSI) used at the time of registration, and the information of the PLMN at the time of registration.
  • the first processing module 41 initiates a second registration request to the network server, including the following two preferred implementations:
  • the first processing module 41 initiates a second registration request to the network server only once.
  • the network server After receiving the second registration request initiated by the first processing module 41, can complete the registration of the terminal device in the network, After the registration is completed, the registration accept message is returned to the first processing module 41, and the APN parameter sent by the network server to the terminal device is carried. If the terminal device is not registered in the network, the first processing module 41 is sent to the first processing module 41. Returns a registration rejection message.
  • the network server determines whether the APN parameter carried in the second registration request is appropriate after receiving the second registration request. If appropriate, the network server completes the registration accept message returned to the first processing module 41 after the terminal device registers with the network; if not, the network server returns a registration reject message to the first processing module 41.
  • the second processing module 42 determines that the terminal device to which it belongs has been successfully registered in the network.
  • the first processing module 41 initiates at least two second registration requests to the network server. In this mode, in order to avoid problems caused by the transmission process (such as data garbled, etc.)
  • the network server rejects the second registration request, and the first processing module 41 determines that the first second registration request initiated by the network server is rejected, and then attempts to initiate a second registration request to the network server until any second registration request The second registration request accepted or set the number of times is rejected.
  • the network device can complete the registration of the terminal device in the network. And returning the registration accept message to the first processing module 41 after the registration is completed, and carrying the APN parameter sent by the network server to the terminal device; if the registration of the terminal device in the network cannot be completed, the first Processing module 41 returns a registration reject message.
  • the first processing module 41 first initiates a second registration request that does not carry the APN parameter to the network server, and initiates the setting to the network server after all the second registration requests that do not carry the APN parameter are rejected. The number of times carries a second registration request from the saved APN parameter that was successfully registered to the network; or
  • the first processing module 41 first initiates a second registration request of the set number of times to the network server, and after all the second registration requests that carry the APN parameters from the saved successfully registered to the network are rejected, and then go to the network server.
  • a second registration request that does not carry an APN parameter is initiated for a set number of times.
  • the set number of times is an empirical value, which may be one time or multiple times.
  • the user can set the specific value according to the actual needs.
  • the second processing module 42 is further configured to:
  • the second processing module 42 selects one of the first information that has been saved by the storage module 43.
  • the APN parameters are re-initiated, and the second registration request carrying the selected APN parameter is re-initiated to the network server; if the second re-initiated registration request is rejected, the second processing module 42 re-enters the remaining first information. Selecting an APN parameter, and re-initiating a second registration request carrying the selected APN parameter to the network server, and so on, until a second re-initiated second registration request is accepted or a second registration request is re-initiated each time Both were rejected.
  • the second processing module 42 selects at least one APN parameter from the first information saved by the storage module 43, including:
  • the APN parameter that is the same as the ID information currently used by the terminal device and/or the information of the currently located PLMN is determined, and at least one of the determined APN parameters is selected. APN parameters.
  • the second processing module 42 determines, from the first information that has been saved by the storage module 43, the APN parameter that is the same as the ID information currently used by the terminal device, and from the determined APN parameters, Selecting at least one APN parameter; or, the second processing module 42 determines, from the first information that has been saved by the storage module 43, the APN parameter that is the same as the information of the PLMN that the terminal device is currently located, and from the determined APN parameter, Selecting at least one APN parameter; or, the second processing module 42 determines, from the first information that has been saved by the storage module 43, the APN parameter that is the same as the ID information currently used by the terminal device and the information of the currently located PLMN, and Among the determined APN parameters, at least one APN parameter is selected.
  • the second processing module 42 selects at least one APN parameter from the determined APN parameters, including:
  • the interval between the registration time information and the current time is selected according to each APN parameter, and the APN parameters with the smallest interval are sequentially selected.
  • the second processing module 42 first selects the APN parameter with the smallest interval, and re-initiates the second registration request. If the registration fails, the APN parameter with the smallest interval is selected from the remaining APN parameters, and the second registration request is re-initiated. By analogy, the second registration request is accepted until the second registration request is reinitiated or rejected.
  • the second processing module 42 can also use other The method selects an APN parameter from the determined APN parameter to re-initiate the second registration request, such as a random selection.
  • the embodiment of the present invention does not limit the specific selection manner.
  • an embodiment of the present invention provides a terminal device. As shown in FIG. 5, the terminal device includes:
  • the transceiver 51 is configured to initiate a second registration request to the network server after determining that the first registration request initiated by the network server is rejected, where the first registration request carries a default APN parameter; The APN parameter is not carried, or the second registration request carries the APN parameter from the saved successful registration to the network;
  • the processor 52 is configured to determine, after the transceiver 51 receives the registration accept message returned by the network server for the second registration request, that the terminal device to which the network device belongs has successfully registered to the network.
  • the transceiver 51 and the processor 52 are connected by a bus.
  • the transceiver 51 initiates a second registration request to the network server after determining that the first registration request initiated by the network server is rejected, wherein the first registration request carries a default APN parameter; the second registration request The APN parameter is not carried in the second registration request, or the second registration request carries the APN parameter from the saved successful registration to the network; after receiving the registration accept message returned by the network server for the second registration request, the processor 52 determines itself.
  • the associated terminal device has been successfully registered to the network.
  • the transceiver 51 determines that the first registration request for carrying the APN parameter initiated by the network server is rejected, the transceiver 51 initiates the non-carrier APN parameter or carries the selected information from the saved first information related to the successful registration.
  • the second registration request of the APN parameter improves the success rate of the terminal device to register with the network, so that the user can enjoy the service provided by the LTE network in the LTE network environment, thereby improving the user experience.
  • the terminal device further includes:
  • the memory 53 is configured to save, after the transceiver 51 receives the registration accept message returned by the network server, first information related to registration of the terminal device, where the registration accept message is a network server for the first registration request and/or Or a registration acceptance message returned by the second registration request;
  • the first information includes at least one of the following information: an APN parameter used for registration of the terminal device, time information at the time of registration, and identifier ID information used when registering, And the information of the public land mobile network PLMN where the registration is located.
  • the registration accept message is a registration accept message returned by the network server for the first registration request
  • the first information includes at least one of the following information: an APN parameter carried in the first registration request, and a registration time Time information, ID information used for registration (such as IMSI), and information about the PLMN at the time of registration;
  • the first information includes at least one of the following information: an APN parameter carried in the registration accept message, time information at the time of registration, The ID information (such as IMSI) used at the time of registration, and the information of the PLMN at the time of registration.
  • the transceiver 51 initiates a second registration request to the network server, including the following two preferred implementations:
  • Method 1 the transceiver 51 initiates a second registration request to the network server only once.
  • the registration is completed.
  • the backward transceiver 51 returns a registration accept message and carries the APN parameter sent by the network server to the terminal device; if the terminal device is not registered in the network, the registration reject message is returned to the transceiver 51.
  • the network server determines whether the APN parameter carried in the second registration request is appropriate after receiving the second registration request. If appropriate, the network server completes the registration accept message returned to the transceiver 51 after the terminal device registers with the network; if not, the network server returns a registration reject message to the transceiver 51.
  • the processor 52 determines that the terminal device to which it belongs has successfully registered in the network.
  • Mode 2 The transceiver 51 initiates at least two second registration requests to the network server.
  • the network server rejects the second registration request, and the transceiver 51 determines that the first second registration request initiated by the network server is rejected, and then attempts to initiate a second registration request to the network server until any second registration request is accepted. Or the second registration request of the set number of times is rejected.
  • the network server can complete the registration of the terminal device in the network after receiving the second registration request initiated by the transceiver 51, the completion is completed.
  • the registration accept message is returned to the transceiver 51, and carries the APN parameter sent by the network server to the terminal device; if the terminal device is not registered in the network, the registration rejection message is returned to the transceiver 51.
  • the transceiver 51 first initiates a second registration request that does not carry the APN parameter to the network server, and after all the second registration requests that do not carry the APN parameter are rejected, the network server initiates the set number of times. Carrying a second registration request from the saved APN parameters successfully registered to the network; or
  • the transceiver 51 first initiates a second registration request of the set number of times to the network server, and initiates a second registration request that carries the APN parameter from the saved successful registration to the network, and then initiates the setting to the network server.
  • the set number of times is an empirical value, which may be one time or multiple times.
  • the user can set the specific value according to the actual needs.
  • the processor 52 is further configured to:
  • the processor 52 selects an APN parameter from the first information saved in the memory 53. And re-initiating a second registration request carrying the selected APN parameter to the network server; if the second re-initiated registration request is rejected, the processor 52 selects an APN parameter from the remaining first information, and A second registration request carrying the selected APN parameter is re-initiated to the network server, and so on, until a second re-initiated second registration request is accepted or a second re-initiated second registration request is rejected.
  • the processor 52 selects at least one APN parameter from the first information saved by the memory 53, including:
  • the APN parameter that is the same as the ID information currently used by the terminal device and/or the information of the currently located PLMN is determined, and at least one APN is selected from the determined APN parameters. parameter.
  • the processor 52 determines, from the first information that has been saved in the memory 53, the same APN parameter that is currently used by the terminal device, and selects at least one of the determined APN parameters.
  • the APN parameter or, the processor 52 determines the APN parameter that is the same as the information of the PLMN where the terminal device is currently located, and selects at least one APN parameter from the determined APN parameters.
  • the processor 52 determines, from the first information that has been saved in the memory 53, the APN parameter that is the same as the ID information currently used by the terminal device and the information of the currently located PLMN, and selects at least from the determined APN parameters.
  • An APN parameter is included in the processor 52 determines, from the first information that has been saved in the memory 53, the same APN parameter that is currently used by the terminal device, and selects at least one of the determined APN parameters.
  • the processor 52 selects at least one APN parameter from the determined APN parameters, including:
  • the interval between the registration time information and the current time is selected according to each APN parameter, and the APN parameters with the smallest interval are sequentially selected.
  • the processor 52 first selects the APN parameter with the smallest interval, and re-initiates the second registration request. If the registration fails, the APN parameter with the smallest interval is selected from the remaining APN parameters, and the second registration request is re-initiated, and so on. The second registration request until either re-initiation of the re-initiation is accepted or the second registration request is re-initiated each time.
  • the processor 52 can also use other methods.
  • an APN parameter is selected to re-initiate the second registration request, such as a random selection.
  • the embodiment of the present invention does not limit the specific selection manner.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
  • a computer-usable storage medium including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.

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 network registration method and a terminal device, which are used for solving the problem in the prior art that a UE uses a false APN parameter to implement LTE Attach and thus cannot be registered to an LTE network. The method comprises: after determining that a first registration request initiated by a terminal to a network server is rejected, the terminal sends a second registration request to the network server, wherein the first registration request carries a default APN parameter, and the second registration request does not carry an APN parameter, or the second registration request carries an APN parameter indicating that the terminal is successfully registered to a network; and the terminal receives a registration accept message returned by the network server for the second registration request, and determines that the terminal is successfully registered to the network. Therefore, the success rate of registration to the network is increased, a user can enjoy a service provided by the LTE network in the LTE network environment, and the user experience is improved.

Description

一种网絡注册方法和终端设备  Network registration method and terminal device
技术领域 Technical field
本发明涉及无线通信技术领域, 特别涉及一种网络注册方法和终端设备。 背景技术  The present invention relates to the field of wireless communication technologies, and in particular, to a network registration method and a terminal device. Background technique
为了满足用户不断增强的移动宽带和高数据率传输的需求, 3GPP开始了 通用移动通信系统 ( Universal Mobile Telecommunications System, UMTS )技 术的长期演进 ( Long Term Evolution, LTE )项目。 LTE网络中取消了电路交 换域( Circuit Switch, CS ), 釆用了全因特网协议的扁平化网络架构。 为了确 保演进的分组系统( Evolved Packet System, EPS )充分发挥自身的技术优势, LTE网络中引入多种承载及处理机制。 为了实现用户设备( UE )的永远在线, LTE网络在附着(Attach, 也称为注册)过程中伴随着默认承载的分组数据网 ( Packet Data Network, PDN )连接的建立。  In order to meet the increasing demands of users for mobile broadband and high data rate transmission, 3GPP began the Long Term Evolution (LTE) project of the Universal Mobile Telecommunications System (UMTS) technology. The circuit switching (CS) is eliminated in the LTE network, and the flat network architecture of the entire Internet protocol is adopted. In order to ensure that the Evolved Packet System (EPS) fully utilizes its own technological advantages, multiple bearer and processing mechanisms are introduced in the LTE network. In order to implement the always-on of the user equipment (UE), the LTE network is accompanied by the establishment of a packet data network (PDN) connection of the default bearer in the attach (also called registration) process.
在 LTE Attach的过程中会使用一个接入点名称( Access Point Name , APN ) 来建立一个默认的 PDN连接。 根据网络配置的不同, 默认的 PDN连接的建 立方式也有所区别, 主要有以下几种方式:  An Access Point Name (APN) is used during the LTE Attach process to establish a default PDN connection. Depending on the network configuration, the default PDN connection is also established in the following ways:
方式 1、 UE在进行 LTE Attach的时候不携带 APN参数, 所使用的 APN 参数由网络侧下发,并由该 APN来建立默认的 PDN连接, 以确保 LTE Attach 的成功。  Mode 1: The UE does not carry the APN parameter when performing LTE Attach. The APN parameter used is sent by the network side, and the APN establishes a default PDN connection to ensure the success of the LTE Attach.
方式 2、 UE在进行 LTE Attach的时候携带有 APN参数, 此时, 默认的 PDN连接使用该 UE携带的 APN参数来建立。 该方式下, 若 UE携带的 APN 参数不正确, 则 LTE Attach失败。  Mode 2: The UE carries the APN parameter when performing the LTE Attach. At this time, the default PDN connection is established by using the APN parameter carried by the UE. In this mode, if the APN parameter carried by the UE is incorrect, the LTE Attach fails.
从上述描述可以看出, 方式 2中若 UE使用了错误的 APN参数进行 LTE Attach, 则 LTE网络就会拒绝该 LTE Attach, 如图 1所示, 该场景下, UE就 无法在 LTE网络中注册, 这样, 即使该 UE处于 LTE网络环境下, 其也无法 使用 LTE网络提供的服务。 发明内容 As shown in the above description, if the UE uses the wrong APN parameter for LTE Attach, the LTE network rejects the LTE Attach. As shown in Figure 1, the UE cannot register in the LTE network. Thus, even if the UE is in an LTE network environment, it cannot use the services provided by the LTE network. Summary of the invention
本发明实施例提供了一种网络注册方法和终端设备, 用于解决现有技术 中由于 UE使用了错误的 APN参数进行 LTE Attach, 导致无法注册到 LTE网 络的问题。  The embodiment of the present invention provides a network registration method and a terminal device, which are used to solve the problem that the UE fails to register to the LTE network because the UE uses the wrong APN parameter for LTE Attach in the prior art.
第一方面, 一种网络注册方法, 包括:  In a first aspect, a network registration method includes:
终端确定自身向网络服务器发起的第一注册请求被拒绝后, 向所述网络 服务器发起第二注册请求; 其中, 所述第一注册请求中携带默认 APN参数; 所述第二注册请求中不携带 APN参数, 或者, 所述第二注册请求中携带所述 终端从已保存的成功注册到网络的 APN参数;  After determining that the first registration request initiated by the terminal to the network server is rejected, the terminal initiates a second registration request to the network server, where the first registration request carries a default APN parameter; the second registration request does not carry The APN parameter, or the second registration request carries the APN parameter that the terminal successfully registers to the network from the saved one;
所述终端接收所述网络服务器针对所述第二注册请求返回的注册接受消 息, 确定自身已成功注册到所述网络, 其中, 所述接受消息携带所述网络服 务器下发给所述终端的 APN。  The terminal receives the registration accept message returned by the network server for the second registration request, and determines that the user has successfully registered to the network, where the accept message carries the APN sent by the network server to the terminal. .
结合第一方面, 在第一种可能的实现方式中, 所述方法还包括: 所述终端在接收到所述网络服务器返回的注册接受消息后, 保存与所述 终端的注册相关的第一信息, 其中, 所述注册接受消息是所述网络服务器针 对所述第一注册请求和 /或所述第二注册请求返回的注册接受消息;  With reference to the first aspect, in a first possible implementation, the method further includes: after receiving the registration accept message returned by the network server, the terminal saves first information related to registration of the terminal The registration accept message is a registration accept message returned by the network server for the first registration request and/or the second registration request;
其中, 所述第一信息包括以下信息中的至少一种信息: 所述终端的注册 所使用的 APN参数、 注册时的时间信息、 注册时所使用的标识 ID信息、 以 及注册时所在的公共陆地移动网 PLMN的信息。  The first information includes at least one of the following information: an APN parameter used by the terminal for registration, time information at the time of registration, identification ID information used at the time of registration, and public land where the registration is located. Mobile network PLMN information.
结合第一方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述终端向所述网络服务器发起携带所述终端从已保存的成功注册到网络的 APN参数的第二注册请求, 包括:  With reference to the first possible implementation manner of the first aspect, in a second possible implementation, the terminal sends, to the network server, a second APN parameter that carries the terminal from the saved successful registration to the network. Registration request, including:
所述终端从已保存的与成功注册相关的第一信息中, 选择至少一个 APN 参数, 并向所述网络服务器发起所述第二注册请求, 其中, 所述第二注册请 求中携带所述终端选择的所述 APN参数。  The terminal selects at least one APN parameter from the saved first information related to the successful registration, and initiates the second registration request to the network server, where the second registration request carries the terminal The APN parameter selected.
结合第一方面的第一种可能的实现方式、 或者第一方面的第二种可能的 实现方式, 在第三种可能的实现方式中, 若所述第二注册请求中不携带 APN 参数, 该方法还包括: Combining the first possible implementation of the first aspect, or the second possible aspect of the first aspect In a third possible implementation manner, if the second registration request does not carry the APN parameter, the method further includes:
所述终端确定发起的设定次数的所述第二注册请求均被拒绝;  Determining, by the terminal, that the second registration request of the set number of times initiated is rejected;
所述终端从已保存的与成功注册相关的第一信息中, 选择至少一个 APN 参数, 并重新向所述网络服务器发起第二注册请求, 其中, 重新发起的所述 第二注册请求中携带所述终端选择的所述 APN参数。  The terminal selects at least one APN parameter from the saved first information related to the successful registration, and re-initiates a second registration request to the network server, where the second registration request is re-initiated The APN parameter selected by the terminal.
结合第一方面的第二种可能的实现方式、 结合第一方面的第三种可能的 实现方式, 在第四种可能的实现方式中, 所述终端从已保存的所述第一信息 中, 选择至少一个 APN参数, 包括:  With reference to the second possible implementation of the first aspect, in combination with the third possible implementation of the first aspect, in a fourth possible implementation, the terminal, from the saved first information, Select at least one APN parameter, including:
所述终端从已保存的所述第一信息中, 确定出与所述终端当前所使用的 ID信息和 /或当前所在的 PLMN的信息相同的 APN参数, 并从确定出的 APN 参数中, 选择至少一个 APN参数。  The terminal determines, from the saved first information, an APN parameter that is the same as the ID information currently used by the terminal and/or the information of the currently located PLMN, and selects from the determined APN parameters. At least one APN parameter.
结合第一方面的第四种可能的实现方式, 在第五种可能的实现方式中, 所述终端从确定出的 APN参数中, 选择至少一个 APN参数, 包括:  With reference to the fourth possible implementation of the first aspect, in a fifth possible implementation, the terminal selects at least one APN parameter from the determined APN parameters, including:
所述终端从确定出的 APN参数中, 按照各 APN参数对应的注册时间信 息与当前时间的间隔大小, 依次选择间隔最小的 APN参数。  The terminal selects the APN parameter with the smallest interval from the determined APN parameters according to the interval between the registration time information corresponding to each APN parameter and the current time.
第二方面, 一种终端设备, 包括:  In a second aspect, a terminal device includes:
第一处理模块, 用于在确定自身向网络服务器发起的第一注册请求被拒 绝后, 向所述网络服务器发起第二注册请求; 其中, 所述第一注册请求携带 默认 APN参数; 所述第二注册请求中不携带 APN参数, 或者, 所述第二注 册请求中携带所述终端从已保存的成功注册到网络的 APN参数;  a first processing module, configured to initiate a second registration request to the network server after determining that the first registration request initiated by the network server is rejected; wherein the first registration request carries a default APN parameter; The second registration request does not carry the APN parameter, or the second registration request carries the APN parameter that the terminal successfully registers to the network.
第二处理模块, 用于在所述第一处理模块接收到所述网络服务器针对所 述第二注册请求返回的注册接受消息, 确定自身所属的终端设备已成功注册 到网络。  And a second processing module, configured to: after the first processing module receives the registration accept message returned by the network server for the second registration request, determine that the terminal device to which the network device belongs has successfully registered to the network.
结合第二方面, 在第一种可能的实现方式中, 该终端设备还包括: 存储模块, 用于在所述第一处理模块接收到所述网络服务器返回的注册 接受消息后, 保存与所述终端设备的注册相关的第一信息, 其中, 所述注册 接受消息是所述网络服务器针对所述第一注册请求和 /或所述第二注册请求返 回的注册接受消息; With reference to the second aspect, in a first possible implementation, the terminal device further includes: a storage module, configured to save, after the first processing module receives the registration accept message returned by the network server, First information related to registration of the terminal device, wherein the registration The accept message is a registration accept message returned by the network server for the first registration request and/or the second registration request;
其中, 所述第一信息包括以下信息中的至少一种信息: 所述终端的注册 所使用的 APN参数、 注册时的时间信息、 注册时所使用的标识 ID信息、 以 及注册时所在的公共陆地移动网 PLMN的信息。  The first information includes at least one of the following information: an APN parameter used by the terminal for registration, time information at the time of registration, identification ID information used at the time of registration, and public land where the registration is located. Mobile network PLMN information.
结合第二方面的第一种可能的实现方式, 在第二种可能的实现方式中, 该终端设备还包括:  With reference to the first possible implementation of the second aspect, in a second possible implementation manner, the terminal device further includes:
所述第一处理模块向所述网络服务器发起携带所述终端从已保存的成功 注册到网络的 APN参数的第二注册请求, 包括:  The first processing module initiates, to the network server, a second registration request that carries the APN parameter that the terminal successfully saves from the saved network to the network, including:
从所述存储模块已保存的与成功注册相关的第一信息中, 选择至少一个 APN参数, 并向所述网络服务器发起所述第二注册请求, 其中, 所述第二注 册请求中携带所述终端选择的所述 APN参数。  And selecting at least one APN parameter from the first information related to the successful registration that is saved by the storage module, and initiating the second registration request to the network server, where the second registration request carries the The APN parameter selected by the terminal.
结合的第二方面的第一种可能的实现方式、 或者第二方面的第二种可能 的实现方式,在第三种可能的实现方式中,若所述第二注册请求中不携带 APN 参数, 所述第二处理模块还用于:  With the first possible implementation of the second aspect, or the second possible implementation of the second aspect, in a third possible implementation, if the second registration request does not carry the APN parameter, The second processing module is further configured to:
确定发起的设定次数的所述第二注册请求均被拒绝;  Determining that the second registration request of the set number of times initiated is rejected;
从所述存储模块已保存的与成功注册相关的第一信息中, 选择至少一个 APN参数, 并重新向所述网络服务器发起第二注册请求, 其中, 重新发起的 所述第二注册请求中携带所述第二处理模块所选择的 APN参数。  Selecting at least one APN parameter from the first information related to the successful registration that is saved by the storage module, and re-initiating a second registration request to the network server, where the second registration request is re-initiated The APN parameter selected by the second processing module.
结合第二方面的第二种可能的实现方式、 或者结合第二方面的第三种可 能的实现方式, 在第四种可能的实现方式中, 所述第二处理模块从所述存储 模块已保存的所述第一信息中, 选择至少一个 APN参数, 包括:  With reference to the second possible implementation of the second aspect, or the third possible implementation of the second aspect, in a fourth possible implementation, the second processing module is saved from the storage module In the first information, selecting at least one APN parameter includes:
从所述存储模块已保存的所述第一信息中, 确定出与所述终端设备当前 所使用的 ID信息和 /或当前所在的 PLMN的信息相同的 APN参数, 并从确定 出的 APN参数中, 选择至少一个 APN参数。  Determining, from the first information that has been saved by the storage module, an APN parameter that is the same as the ID information currently used by the terminal device and/or the information of the currently located PLMN, and is determined from the determined APN parameter. , select at least one APN parameter.
结合第二方面的第四种可能的实现方式, 在第五种可能的实现方式中, 所述第二处理模块从确定出的 APN参数中, 选择至少一个 APN参数, 包括: 从确定出的 APN参数中, 按照各 APN参数对应的注册时间信息与当前 时间的间隔大小, 依次选择间隔最小的 APN参数。 With reference to the fourth possible implementation of the second aspect, in a fifth possible implementation manner, the second processing module selects the at least one APN parameter from the determined APN parameters, including: From the determined APN parameters, the APN parameters with the smallest interval are sequentially selected according to the interval between the registration time information corresponding to each APN parameter and the current time.
第三方面, 一种终端设备, 该终端设备包括:  In a third aspect, a terminal device includes:
收发机, 用于在确定自身向网络服务器发起的第一注册请求被拒绝后, 向所述网络服务器发起第二注册请求;其中,所述第一注册请求携带默认 APN 参数; 所述第二注册请求中不携带 APN参数, 或者, 所述第二注册请求中携 带所述终端从已保存的成功注册到网络的 APN参数;  a transceiver, configured to initiate a second registration request to the network server after determining that the first registration request initiated by the network server is rejected; wherein the first registration request carries a default APN parameter; the second registration The request does not carry the APN parameter, or the second registration request carries the APN parameter that the terminal successfully registers to the network from the saved one;
处理器, 用于在所述收发机接收到所述网络服务器针对所述第二注册请 求返回的注册接受消息后, 确定自身所属的终端设备已成功注册到网络。  And a processor, configured to determine, after the transceiver receives the registration accept message returned by the network server for the second registration request, that the terminal device to which the network device belongs has successfully registered to the network.
其中, 所述收发机和所述处理器之间通过总线连接。  The transceiver and the processor are connected by a bus.
结合第三方面, 在第一种可能的实现方式中, 该终端设备还包括: 存储器, 用于在所述收发机接收到所述网络服务器返回的注册接受消息 后, 保存与所述终端设备的注册相关的第一信息, 其中, 所述注册接受消息 是所述网络服务器针对所述第一注册请求和 /或所述第二注册请求返回的注册 接受消息;  With reference to the third aspect, in a first possible implementation, the terminal device further includes: a memory, configured to save, after the transceiver receives the registration accept message returned by the network server, Registering related first information, where the registration accept message is a registration accept message returned by the network server for the first registration request and/or the second registration request;
其中, 所述第一信息包括以下信息中的至少一种信息: 所述终端设备注 册所使用的 APN参数、 注册时的时间信息、 注册时所使用的标识 ID信息、 以及注册时所在的公共陆地移动网 PLMN的信息。  The first information includes at least one of the following information: an APN parameter used by the terminal device to register, time information at the time of registration, identification ID information used at the time of registration, and public land where the registration is located. Mobile network PLMN information.
结合第三方面的第一种可能的实现方式, 在第二种可能的实现方式中, 所述收发机向所述网络服务器发起携带所述终端从已保存的成功注册到网络 的 APN参数的第二注册请求, 所述处理器具体用于:  With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner, the transceiver sends, to the network server, an APN parameter that carries the terminal from the saved successful registration to the network. Second registration request, the processor is specifically used to:
从所述存储器已保存的与成功注册相关的第一信息中, 选择至少一个 APN参数, 并使所述收发机向所述网络服务器发起所述第二注册请求, 其中, 所述第二注册请求中携带所述终端选择的所述 APN参数。  Selecting, from the first information related to the successful registration that the memory has been saved, at least one APN parameter, and causing the transceiver to initiate the second registration request to the network server, where the second registration request Carrying the APN parameter selected by the terminal.
结合第三方面的第一种可能的实现方式、 或者结合第三方面的第二种可 能的实现方式, 在第三种可能的实现方式中, 若所述第二注册请求中不携带 APN参数, 所述处理器还用于: 确定发起的设定次数的所述第二注册请求均被拒绝; With the first possible implementation of the third aspect, or the second possible implementation of the third aspect, in the third possible implementation, if the second registration request does not carry the APN parameter, The processor is further configured to: Determining that the second registration request of the set number of times initiated is rejected;
从存储器已保存的与成功注册相关的第一信息中, 选择至少一个 APN参 数, 并使所述收发机重新向所述网络服务器发起第二注册请求, 其中, 重新 发起的所述第二注册请求中携带所述处理器所选择的 APN参数。  Selecting at least one APN parameter from the first information related to the successful registration that is saved in the memory, and causing the transceiver to re-initiate a second registration request to the network server, where the second registration request is re-initiated The APN parameter selected by the processor is carried in the middle.
结合第三方面的第二种可能的实现方式、 或者结合第三方面的第三种可 能的实现方式, 在第四种可能的实现方式中, 所述处理器从所述存储器已保 存的第一信息中, 选择至少一个 APN参数, 包括:  With reference to the second possible implementation of the third aspect, or in combination with the third possible implementation of the third aspect, in a fourth possible implementation, the first saved by the processor from the memory In the information, select at least one APN parameter, including:
从所述存储器已保存的第一信息中, 确定出与所述终端设备当前所使用 的 ID信息和 /或当前所在的 PLMN的信息相同的 APN参数, 并从确定出的 APN参数中, 选择至少一个 APN参数。  Determining, from the first information that has been saved in the memory, an APN parameter that is the same as the ID information currently used by the terminal device and/or the information of the currently located PLMN, and selecting at least one of the determined APN parameters. An APN parameter.
结合第三方面的第四种可能的实现方式, 在第五种可能的实现方式中, 所述处理器从确定出的 APN参数中, 选择至少一个 APN参数, 包括:  With reference to the fourth possible implementation manner of the third aspect, in a fifth possible implementation, the determining, by the processor, the at least one APN parameter from the determined APN parameters, including:
从确定出的 APN参数中, 按照各 APN参数对应的注册时间信息与当前 时间的间隔大小, 依次选择间隔最小的 APN参数。  From the determined APN parameters, the APN parameters with the smallest interval are sequentially selected according to the interval between the registration time information corresponding to each APN parameter and the current time.
本发明实施例提供的方法和终端设备中, 确定自身向网络服务器发起的 第一注册请求被拒绝后, 向网络服务器发起第二注册请求; 其中, 第一注册 请求中携带 APN参数; 第二注册请求中不携带 APN参数, 或者, 第二注册 请求中携带终端从已保存的成功注册到网络的 APN参数; 在接收到网络服务 器针对第二注册请求返回的注册接受消息后, 确定自身已成功注册到网络中, 从而提高了注册到网络的成功率, 使用户在 LTE网络环境下, 能够享用 LTE 网络提供的服务, 提高了用户体验。 附图说明  The method and the terminal device provided by the embodiment of the present invention, after determining that the first registration request initiated by the network server is rejected, initiates a second registration request to the network server, where the first registration request carries the APN parameter; The APN parameter is not carried in the request, or the second registration request carries the APN parameter that the terminal successfully registers to the network after being saved. After receiving the registration accept message returned by the network server for the second registration request, it is determined that the terminal has successfully registered. In the network, the success rate of registration to the network is improved, and the user can enjoy the service provided by the LTE network in the LTE network environment, thereby improving the user experience. DRAWINGS
图 1为 LTE网络中终端使用错误 APN进行注册的流程图;  FIG. 1 is a flowchart of a terminal using an incorrect APN for registration in an LTE network;
图 2为本发明提供的一种网络注册方法的流程图;  2 is a flowchart of a network registration method provided by the present invention;
图 3为本发明提供的实施例一的流程图;  3 is a flowchart of Embodiment 1 of the present invention;
图 4为本发明提供的一种终端设备的示意图; 图 5为本发明提供的另一种终端设备的示意图。 具体实施方式 4 is a schematic diagram of a terminal device provided by the present invention; FIG. 5 is a schematic diagram of another terminal device provided by the present invention. detailed description
本发明实施例中, 终端发起携带 APN参数的第一注册请求被拒绝后, 向 网络服务器发起第二注册请求, 该第二注册请求中不携带 APN参数, 或者, 该第二注册请求中携带终端从已保存的成功注册到网络的 APN参数, 以提高 了注册到网络的成功率, 使用户在 LTE网络环境下, 能够享用 LTE网络提供 的服务。  In the embodiment of the present invention, after the first registration request for the terminal to carry the APN parameter is rejected, the terminal initiates a second registration request to the network server, where the second registration request does not carry the APN parameter, or the second registration request carries the terminal. The saved APN parameters successfully registered to the network are used to improve the success rate of registration to the network, so that the user can enjoy the services provided by the LTE network in the LTE network environment.
本发明提供的技术方案优选适用于 LTE系统以及后续的演进系统。 向用户提供语音和 /或数据连通性的设备, 具有无线连接功能的手持式设备、 或连接到无线调制解调器的其他处理设备。 无线终端可以经无线接入网 (例 如, RAN, Radio Access Network )与一个或多个核心网进行通信, 无线终端 可以是移动终端,如移动电话(或称为"蜂窝"电话)和具有移动终端的计算机, 例如, 可以是便携式、 袖珍式、 手持式、 计算机内置的或者车载的移动装置, 它们与无线接入网交换语言和 /或数据。 例如, 个人通信业务(PCS, Personal Communication Service ) 电话、 无绳电话、 会话发起协议(SIP )话机、 无线 本地环路( WLL, Wireless Local Loop )站、个人数字助理( PDA, Personal Digital Assistant )等设备。 无线终端也可以称为系统、 订户单元( Subscriber Unit )、 订户站( Subscriber Station ), 移动站( Mobile Station )、 移动台 ( Mobile )、 远 程站( Remote Station )、接入点( Access Point )、远程终端( Remote Terminal )、 接入终端( Access Terminal )、用户终端( User Terminal )、用户代理( User Agent )、 用户设备 ( User Device )、 或用户装备 ( User Equipment )。  The technical solution provided by the present invention is preferably applicable to an LTE system and a subsequent evolved system. A device that provides voice and/or data connectivity to a user, a handheld device with wireless connectivity, or other processing device connected to a wireless modem. The wireless terminal can communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), which can be a mobile terminal, such as a mobile phone (or "cellular" phone) and with a mobile terminal The computers, for example, can be portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile devices that exchange language and/or data with the wireless access network. For example, Personal Communication Service (PCS) phones, cordless phones, Session Initiation Protocol (SIP) phones, Wireless Local Loop (WLL) stations, Personal Digital Assistant (PDA), etc. . A wireless terminal may also be called a system, a Subscriber Unit, a Subscriber Station, a Mobile Station, a Mobile, a Remote Station, an Access Point, Remote Terminal, Access Terminal, User Terminal, User Agent, User Device, or User Equipment.
下面结合说明书附图对本发明实施例作进一步详细描述。 应当理解, 此 处所描述的实施例仅用于说明和解释本发明, 并不用于限定本发明。  The embodiments of the present invention are further described in detail below with reference to the accompanying drawings. It is to be understood that the embodiments described herein are intended to illustrate and explain the invention and are not intended to limit the invention.
如图 2所示, 本发明实施例提供的一种网络注册方法, 该方法包括: S21、 终端确定自身向网络服务器发起的第一注册请求被拒绝后, 向网络 服务器发起第二注册请求; 其中, 第一注册请求中携带默认 APN参数; 第二 注册请求中不携带 APN参数, 或者, 第二注册请求中携带终端从已保存的成 功注册到网络的 APN参数。 As shown in FIG. 2, a method for registering a network according to an embodiment of the present invention includes: S21: After determining that the first registration request initiated by the terminal to the network server is rejected, the terminal sends the network to the network. The server initiates a second registration request, where the first registration request carries the default APN parameter; the second registration request does not carry the APN parameter, or the second registration request carries the APN parameter that the terminal successfully registers to the network.
其中, 终端向网络服务器发起第一注册请求后, 若接收到网络服务器针 对该第一注册请求返回的注册拒绝(reject ), 则确定该第一注册请求被拒绝。  After the terminal initiates the first registration request to the network server, if the network server receives a registration rejection (reject) returned by the first registration request, it determines that the first registration request is rejected.
S22、 终端在接收到网络服务器针对第二注册请求返回的注册接受 ( accept ) 消息后, 确定自身已成功注册到网络中。  S22. After receiving the registration accept message returned by the network server for the second registration request, the terminal determines that it has successfully registered to the network.
本发明实施例中, 终端确定自身向网络服务器发起的第一注册请求被拒 绝后,向网络服务器发起第二注册请求;其中,第一注册请求中携带默认 APN 参数; 第二注册请求中不携带 APN参数, 或者第二注册请求中携带终端从已 保存的成功注册到网络的 APN参数; 终端在接收到网络服务器针对第二注册 请求返回的注册接受消息后, 确定自身已成功注册到网络中。 由于终端在确 定向网络服务器发起的携带 APN参数的第一注册请求被拒绝后, 又向网络服 务器发起了不携带 APN参数或携带终端从已保存的成功注册到网络的 APN 参数的第二注册请求, 从而提高了终端注册到网络的成功率, 使用户在 LTE 网络环境下, 能够享用 LTE网络提供的服务, 提高了用户体验。  In the embodiment of the present invention, after determining that the first registration request initiated by the terminal to the network server is rejected, the terminal initiates a second registration request to the network server, where the first registration request carries a default APN parameter; the second registration request does not carry The APN parameter, or the second registration request, carries the APN parameter that the terminal successfully registers to the network from the saved one; after receiving the registration accept message returned by the network server for the second registration request, the terminal determines that it has successfully registered to the network. After the terminal determines that the first registration request for carrying the APN parameter initiated by the network server is rejected, the terminal initiates a second registration request to the network server that does not carry the APN parameter or carries the terminal to successfully save the APN parameter from the successfully registered network to the network. Therefore, the success rate of the terminal registration to the network is improved, and the user can enjoy the service provided by the LTE network in the LTE network environment, thereby improving the user experience.
在实施中, 该方法还包括:  In implementation, the method further includes:
终端在接收到网络服务器返回的注册接受消息后, 保存与该终端的注册 相关的第一信息, 其中, 该注册接受消息是网络服务器针对第一注册请求和 / 或第二注册请求返回的注册接受消息;  After receiving the registration accept message returned by the network server, the terminal saves the first information related to the registration of the terminal, where the registration accept message is a registration acceptance returned by the network server for the first registration request and/or the second registration request. Message
其中, 该第一信息包括以下信息中的至少一种信息: 该终端的注册所使 用的 APN参数、 注册时的时间信息、 注册时所使用的 ID信息 (如国际移动 用户标识符( International Mobile Subscriber Identifier, IMSI ) )、 以及注册时所 在的公共陆地移动网 (Public Land Mobile Network, PLMN ) 的信息。  The first information includes at least one of the following information: an APN parameter used by the terminal for registration, time information at the time of registration, and ID information used when registering (eg, an international mobile subscriber identifier (International Mobile Subscriber) Identifier, IMSI)), and the information of the Public Land Mobile Network (PLMN) where the registration was made.
具体的, 终端在接收到网络服务器针对第一注册请求和 /或第二注册请求 返回的注册接受消息后, 确定自身已成功注册到网络中, 并保存与该终端本 次成功注册相关的第一信息。 进一步, 若该注册接受消息是网络服务器针对第一注册请求返回的注册 接受消息, 则该第一信息包括以下信息中的至少一种信息: 第一注册请求中 携带的 APN参数、 注册时的时间信息、 注册时所使用的 ID信息 (如 IMSI )、 以及注册时所在的 PLMN的信息; Specifically, after receiving the registration accept message returned by the network server for the first registration request and/or the second registration request, the terminal determines that it has successfully registered to the network, and saves the first related to the successful registration of the terminal. information. Further, if the registration accept message is a registration accept message returned by the network server for the first registration request, the first information includes at least one of the following information: an APN parameter carried in the first registration request, and a time of registration Information, ID information used for registration (such as IMSI), and information about the PLMN at the time of registration;
若该注册接受消息是网络服务器针对第二注册请求返回的注册接受消 息, 则该第一信息包括以下信息中的至少一种信息: 该注册接受消息中携带 的 APN参数、 注册时的时间信息、 注册时所使用的 ID信息 (如 IMSI )、 以 及注册时所在的 PLMN的信息。  If the registration accept message is a registration accept message returned by the network server for the second registration request, the first information includes at least one of the following information: an APN parameter carried in the registration accept message, time information at the time of registration, The ID information (such as IMSI) used at the time of registration, and the information of the PLMN at the time of registration.
在实施中, S21中, 终端向网络服务器发起携带该终端从已保存的成功注 册到网络的 APN参数的第二注册请求, 包括:  In an implementation, in S21, the terminal initiates, to the network server, a second registration request that carries the APN parameter that the terminal successfully saves from the saved registration to the network, including:
终端从已保存的与成功注册相关的第一信息中 ,选择至少一个 APN参数 , 并向网络服务器发起所述第二注册请求, 其中, 该第二注册请求中携带该终 端选择的 APN参数。  The terminal selects at least one APN parameter from the saved first information related to the successful registration, and initiates the second registration request to the network server, where the second registration request carries the APN parameter selected by the terminal.
在实施中, S21中, 终端向网络服务器发起第二注册请求, 包括以下两种 优选的实现方式:  In an implementation, in S21, the terminal initiates a second registration request to the network server, and includes the following two preferred implementation manners:
方式一、 终端向网络服务器仅发起一次第二注册请求。  Manner 1: The terminal initiates a second registration request only to the network server.
该方式下, 若该第二注册请求中不携带 APN参数, 则: 网络服务器在接 收到终端发起的第二注册请求后, 若能够完成终端在网络中的注册, 则在完 成注册后向该终端返回注册接受消息, 并携带该网络服务器下发给该终端的 APN参数; 若不能完成终端在网络中的注册, 则向该终端返回注册拒绝消息。  In this mode, if the second registration request does not carry the APN parameter, the network server, after receiving the second registration request initiated by the terminal, can complete the registration of the terminal in the network, and then complete the registration to the terminal. Returning the registration acceptance message, and carrying the APN parameter sent by the network server to the terminal; if the registration of the terminal in the network cannot be completed, returning the registration rejection message to the terminal.
该方式下, 若第二注册请求中携带终端从已保存的成功注册到网络的 APN参数, 则: 网络服务器接收到该第二注册请求后, 判断该第二注册请求 中携带的 APN参数是否合适, 若合适, 网络服务器完成该终端在网络中的注 册后, 向终端返回的注册接受消息; 若不合适, 网络服务器向终端返回注册 拒绝消息。  In this mode, if the second registration request carries the saved APN parameter that is successfully registered to the network, the network server determines whether the APN parameter carried in the second registration request is appropriate after receiving the second registration request. If appropriate, the network server completes the registration acceptance message returned to the terminal after the terminal registers in the network; if not, the network server returns a registration rejection message to the terminal.
该方式下, 若终端向网络服务器发起第二注册请求之后, 接收到网络服 务器返回的注册接受消息, 则该终端确定自身已成功注册到网络。 方式二、 终端向网络服务器发起至少两次第二注册请求。 In this manner, if the terminal receives the registration accept message returned by the network server after initiating the second registration request to the network server, the terminal determines that it has successfully registered to the network. Manner 2: The terminal initiates at least two second registration requests to the network server.
该方式下, 为了避免由于传输过程中出现问题(如数据乱码等) 而导致 网络服务器拒绝第二注册请求, 终端确定自身向网络服务器发起的第一次第 二注册请求被拒绝后, 再次尝试向该网络服务器发起第二注册请求, 直至任 一次第二注册请求被接受或者设定次数的第二注册请求均被拒绝。  In this mode, in order to avoid the network server rejecting the second registration request due to a problem in the transmission process (such as data garbled, etc.), the terminal determines that the first second registration request initiated by the terminal to the network server is rejected, and then tries again. The web server initiates a second registration request until either of the second registration request is accepted or the second number of registration requests are rejected.
该方式下, 对于终端发起的任一次第二注册请求, 若网络服务器在接收 到终端发起的任一次第二注册请求后, 能够完成终端在网络中的注册, 则在 完成注册后向该终端返回注册接受消息; 若网络服务器不能完成终端在网络 中的注册, 则向该终端返回注册拒绝消息。  In this mode, for any second registration request initiated by the terminal, if the network server can complete the registration of the terminal in the network after receiving the second registration request initiated by the terminal, the network server returns to the terminal after completing the registration. The registration accept message; if the network server cannot complete the registration of the terminal in the network, a registration rejection message is returned to the terminal.
该方式下, 若终端向网络服务器发起的任一次第二注册请求被接受, 则 终端确定自身已成功注册到了网络中。  In this mode, if any second registration request initiated by the terminal to the network server is accepted, the terminal determines that it has successfully registered to the network.
该方式下, 终端向网络服务器发起至少两次第二注册请求时, 包括以下 两种方式:  In this mode, when the terminal initiates at least two second registration requests to the network server, the following two methods are included:
终端先向网络服务器发起设定次数的不携带 APN参数的第二注册请求, 在所发起的所有不携带 APN参数的第二注册请求均被拒绝后, 再向网络服务 器发起设定次数的携带终端从已保存的成功注册到网络的 APN参数的第二注 册请求; 或者  The terminal first initiates a second registration request that does not carry the APN parameter to the network server, and after all the second registration requests that do not carry the APN parameter are rejected, the terminal initiates the set number of mobile terminals to the network server. a second registration request from the saved APN parameter successfully registered to the network; or
终端先向网络服务器发起设定次数的第二注册请求, 在所发起的所有携 带终端从已保存的成功注册到网络的 APN参数的第二注册请求均被拒绝后, 再向网络服务器发起设定次数的不携带 APN参数的第二注册请求。  The terminal first initiates a second registration request of the set number of times to the network server, and initiates the setting to the network server after all the initiated registration requests are rejected from all the saved APN parameters of the successfully registered APN parameters of the network. The second registration request does not carry the APN parameter.
其中, 设定次数为经验值, 其可以为一次, 也可以为多次。 用户可以才艮 据实际需要设定具体数值。  The set number of times is an empirical value, which may be one time or multiple times. The user can set the specific value according to the actual needs.
该方式下,若第二注册请求中不携带 APN参数,较佳地,该方法还包括: 终端确定发起的设定次数的第二注册请求均被拒绝;  In this manner, if the second registration request does not carry the APN parameter, the method further includes: the terminal determining that the second registration request initiated by the terminal is rejected;
终端从已保存的与成功注册相关的第一信息中 ,选择至少一个 APN参数 , 并重新向网络服务器发起第二注册请求, 其中, 重新发起的第二注册请求中 携带终端所选择的 APN参数。 具体的, 若终端所发起的不携带 APN参数的第二注册请求被拒绝, 则终 端从已保存的第一信息中, 先选择一个 APN参数重新, 并向该网络服务器重 新发起携带所选的 APN参数的第二注册请求; 若本次重新发起的第二注册请 求被拒绝, 再从剩余的第一信息中, 选择一个 APN参数, 并向该网络服务器 重新发起携带所选的 APN参数的第二注册请求, 依次类推, 直至某次重新发 起的第二注册请求被接受或每次重新发起的第二注册请求均被拒绝。 The terminal selects at least one APN parameter from the saved first information related to the successful registration, and re-initiates a second registration request to the network server, where the re-initiated second registration request carries the APN parameter selected by the terminal. Specifically, if the second registration request initiated by the terminal that does not carry the APN parameter is rejected, the terminal selects an APN parameter from the saved first information, and re-initiates the carrying of the selected APN to the network server. a second registration request of the parameter; if the second registration request re-initiated is rejected, and then selecting an APN parameter from the remaining first information, and re-initiating the second APN parameter carrying the selected APN parameter to the network server The registration request, and so on, until a second re-initiated second registration request is accepted or each re-initiated second registration request is rejected.
较佳地, 终端从已保存的第一信息中, 选择至少一个 APN参数, 包括: 终端从已保存的第一信息中, 确定出与该终端当前所使用的 ID信息和 / 或当前所在的 PLMN的信息相同的 APN参数, 并从确定出的 APN参数中, 选择至少一个 APN参数。  Preferably, the terminal selects at least one APN parameter from the saved first information, including: the terminal determines, from the saved first information, the ID information currently used by the terminal and/or the current PLMN. The information is the same APN parameter, and from the determined APN parameters, at least one APN parameter is selected.
具体包括以下三种实现方式: 终端从已保存的第一信息中, 确定出与该 终端当前所使用的 ID信息相同的 APN参数, 并从确定出的 APN参数中, 选 择至少一个 APN参数; 或者, 终端从已保存的第一信息中, 确定出与该终端 当前所在的 PLMN的信息相同的 APN参数, 并从确定出的 APN参数中 , 选 择至少一个 APN参数; 或者, 终端从已保存的第一信息中, 确定出与该终端 当前所使用的 ID信息和当前所在的 PLMN的信息相同的 APN参数, 并从确 定出的 APN参数中, 选择至少一个 APN参数。  Specifically, the following three implementation manners are implemented: the terminal determines, from the saved first information, an APN parameter that is the same as the ID information currently used by the terminal, and selects at least one APN parameter from the determined APN parameters; or The terminal determines the same APN parameter from the saved first information, and selects at least one APN parameter from the determined APN parameter; or, the terminal saves from the saved In an information, an APN parameter that is the same as the ID information currently used by the terminal and the information of the currently located PLMN is determined, and at least one APN parameter is selected from the determined APN parameters.
较佳地, 终端从确定出的 APN参数中, 选择至少一个 APN参数, 包括: 终端从确定出的 APN参数中, 按照各 APN参数选择对应的注册时间信 息与当前时间的间隔大小, 依次选择间隔最小的 APN参数。  Preferably, the terminal selects at least one APN parameter from the determined APN parameters, including: the terminal selects the interval between the registration time information and the current time according to each APN parameter from the determined APN parameters, and sequentially selects the interval. The smallest APN parameter.
具体的, 终端先选择间隔最小的 APN参数, 重新发起第二注册请求, 若 注册失败, 再从剩余的 APN参数中, 选择间隔最小的 APN参数, 重新发起 第二注册请求, 依次类推, 直至重新发起的第二注册请求被接受或每次重新 发起的第二注册请求均被拒绝。  Specifically, the terminal first selects the APN parameter with the smallest interval, and re-initiates the second registration request. If the registration fails, the APN parameter with the smallest interval is selected from the remaining APN parameters, and the second registration request is re-initiated, and so on, until the registration is repeated. The second registration request initiated or the second registration request reinitiated each time is rejected.
当然, 除了上述优选的选择方式外, 终端还可以釆用其他的方式从确定 出的 APN参数中, 选择一个 APN参数, 以重新发起第二注册请求, 如随机 选择, 本发明实施例不对具体的选择方式进行限定。 下面结合两个具体实施例, 对本发明实施例提供的一种互联网协议 IP的 激活方法进行详细说明。 Of course, in addition to the foregoing preferred selection manner, the terminal may select another APN parameter from the determined APN parameters to re-initiate the second registration request, such as random selection, which is not specific to the embodiment. The selection method is limited. A method for activating the Internet Protocol IP provided by the embodiment of the present invention is described in detail below with reference to two specific embodiments.
实施例一、 本实施例以 LTE网络注册为例进行说明, 如图 3所示, 本实 施例包括以下过程:  Embodiment 1 This embodiment uses an LTE network registration as an example. As shown in FIG. 3, the embodiment includes the following process:
1 :在 LTE网络下,终端发起携带 APN参数的注册请求,以尝试注册 LTE 网络中;  1 : In the LTE network, the terminal initiates a registration request carrying the APN parameter to attempt to register in the LTE network;
如果注册请求被接受(即注册成功), 终端保存当前使用的 APN, 该终端 的国际移动用户标识符 ( International Mobile Subscriber Identifier, IMSI )和该 终端当前所在的 PLMN, 不再继续其他操作;  If the registration request is accepted (ie, the registration is successful), the terminal saves the currently used APN, and the International Mobile Subscriber Identifier (IMSI) of the terminal and the PLMN where the terminal is currently located no longer perform other operations;
如果注册请求被拒绝, 则终端执行步骤 2。  If the registration request is rejected, the terminal performs step 2.
2: 终端重新发起注册请求, 此次注册请求中不携带 APN参数; 如果网络环境支持网络下发 APN的话, 此次注册可以成功;  2: The terminal re-initiates the registration request, and the APN parameter is not carried in the registration request; if the network environment supports the network to send the APN, the registration can be successful;
如果网络环境不支持主动下发 APN的话, 会继续返回注册拒绝, 则终端 执行步骤 3。  If the network environment does not support the active delivery of APN, it will continue to return to the registration rejection, and the terminal performs step 3.
3: 终端从已保存的 LTE 网络注册成功所使用的信息中终端的 IMSI和 PLMN, 并对比该终端当前的 IMSI和 PLMN, 检查之前是否使用过其他 APN 成功注册到 LTE网络, 如果有的话, 则将这些 APN参数(即优选的 APN参 数)携带在注册请求中以尝试注册到 LTE网络中。  3: The terminal checks the IMSI and PLMN of the terminal from the information used by the saved LTE network, and compares the current IMSI and PLMN of the terminal, and checks whether other APNs have been successfully registered to the LTE network before, if any, These APN parameters (ie, preferred APN parameters) are then carried in the registration request to attempt to register into the LTE network.
较佳地,尝试次序按就近原则,即使用最近时间内使用的 APN进行尝试, 如果失败则再将更久一些使用过的 APN参数携带在注册请求中进行尝试。  Preferably, the attempt sequence is based on the principle of proximity, that is, using the APN used in the most recent time, and if it fails, then the used APN parameters are carried in the registration request for a longer time.
实施例二、 A运营商的 LTE的网络仅支持 LTE注册时必须携带有 APN 的方式 (即背景技术所提到的方式 2 )。 而运营商 B的 LTE网络同时支持 LTE 注册时携带 APN和不携带 APN的方式(即背景技术所提到的方式 1和方式 2 ), 也就是说如果 LTE注册时不带 APN也可以注册成功。  Embodiment 2: The network of the LTE of the A operator only supports the manner in which the PN registration must carry the APN (ie, the mode mentioned in the background art 2). The LTE network of the operator B also supports the mode of carrying the APN and not carrying the APN when the LTE is registered (that is, the mode 1 and mode 2 mentioned in the background art), that is, if the LTE is registered without the APN, the registration can be successful.
用户 C是 A运营商的老客户, 因为出差的原因, 用户 C更换运营商 B的 卡, 并开始使用运营商 B的网络。 用户 C在运营商 B的 LTE网络环境下, 使 用 A运营商 APN去注册 LTE网络。 LTE注册失败后, 用户 C会重新尝试使用不带 APN的方式去注册营商 B 的 LTE网络, 而运营商 B的网络支持主动下发 APN, 所以 LTE注册成功。 User C is an old customer of A carrier. Because of the business trip, user C replaces the carrier B's card and starts to use carrier B's network. User C uses the A carrier APN to register the LTE network in the LTE network environment of the operator B. After the LTE registration fails, the user C re-attempts to use the APN to register the LTE network of the business B, and the network support of the operator B actively delivers the APN, so the LTE registration is successful.
基于同一发明构思, 本发明实施例提供了一种终端设备, 如图 4 所示, 该终端设备包括:  Based on the same inventive concept, an embodiment of the present invention provides a terminal device. As shown in FIG. 4, the terminal device includes:
第一处理模块 41 , 用于在确定自身向网络服务器发起的第一注册请求被 拒绝后, 向所述网络服务器发起第二注册请求; 其中, 所述第一注册请求携 带默认 APN参数; 所述第二注册请求中不携带 APN参数, 或者, 所述第二 注册请求中携带所述终端从已保存的成功注册到网络的 APN参数;  The first processing module 41 is configured to initiate a second registration request to the network server after determining that the first registration request initiated by the network server is rejected, where the first registration request carries a default APN parameter; The second registration request does not carry the APN parameter, or the second registration request carries the APN parameter that the terminal successfully registers to the network from the saved one;
第二处理模块 42,用于在第一处理模块 41接收到所述网络服务器针对所 述第二注册请求返回的注册接受消息, 确定自身所属的终端设备已成功注册 到网络。  The second processing module 42 is configured to receive, by the first processing module 41, the registration accept message returned by the network server for the second registration request, and determine that the terminal device to which the network device belongs has successfully registered to the network.
本发明实施例中, 第一处理模块 41在确定自身向网络服务器发起的第一 注册请求被拒绝后, 向网络服务器发起第二注册请求; 其中, 第一注册请求 中携带默认 APN参数; 第二注册请求中不携带 APN参数, 或者第二注册请 求中携带从已保存的成功注册到网络的 APN参数; 第二处理模块 42在第一 处理模块 41接收到网络服务器针对第二注册请求返回的注册接受后, 确定自 身所属的终端设备已成功注册到网络中。 由于第一处理模块 41在确定向网络 服务器发起的携带 APN参数的第一注册请求被拒绝后, 又向网络服务器发起 了不携带 APN参数或携带从已保存的成功注册到网络的 APN参数的第二注 册请求, 从而提高了终端设备注册到网络的成功率, 使用户在 LTE网络环境 下, 能够享用 LTE网络提供的服务, 提高了用户体验。  In the embodiment of the present invention, after determining that the first registration request initiated by the network server is rejected, the first processing module 41 initiates a second registration request to the network server, where the first registration request carries a default APN parameter; The registration request does not carry the APN parameter, or the second registration request carries the APN parameter from the saved successful registration to the network; the second processing module 42 receives the registration returned by the network server for the second registration request at the first processing module 41. After acceptance, it is determined that the terminal device to which it belongs has been successfully registered to the network. After the first processing module 41 determines that the first registration request for carrying the APN parameter initiated by the network server is rejected, the first processing module 41 initiates the APN parameter that does not carry the APN parameter or carries the successfully registered registration to the network. The second registration request improves the success rate of the terminal device to register with the network, so that the user can enjoy the service provided by the LTE network in the LTE network environment, thereby improving the user experience.
在实施中, 该终端设备还包括:  In implementation, the terminal device further includes:
存储模块 43 ,用于在第一处理模块 41接收到所述网络服务器返回的注册 接受消息后, 保存与终端设备的注册相关的第一信息, 其中, 该注册接受消 息是网络服务器针对第一注册请求和 /或第二注册请求返回的注册接受消息; 其中, 所述第一信息包括以下信息中的至少一种信息: 该终端设备的注 册所使用的 APN参数、注册时的时间信息、注册时所使用的标识 ID信息(如 IMSI )、 以及注册时所在的公共陆地移动网 PLMN的信息。 The storage module 43 is configured to save, after the first processing module 41 receives the registration accept message returned by the network server, first information related to registration of the terminal device, where the registration accept message is a first registration of the network server a registration acceptance message returned by the request and/or the second registration request; wherein the first information includes at least one of the following information: an APN parameter used for registration of the terminal device, time information at the time of registration, and registration time Identification ID information used (eg IMSI), and the information of the public land mobile network PLMN where the registration is located.
具体的, 若该注册接受消息是网络服务器针对第一注册请求返回的注册 接受消息, 则该第一信息包括以下信息中的至少一种信息: 第一注册请求中 携带的 APN参数、 注册时的时间信息、 注册时所使用的 ID信息 (如 IMSI )、 以及注册时所在的 PLMN的信息;  Specifically, if the registration accept message is a registration accept message returned by the network server for the first registration request, the first information includes at least one of the following information: an APN parameter carried in the first registration request, and a registration time Time information, ID information used for registration (such as IMSI), and information about the PLMN at the time of registration;
若该注册接受消息是网络服务器针对第二注册请求返回的注册接受消 息, 则该第一信息包括以下信息中的至少一种信息: 该注册接受消息中携带 的 APN参数、 注册时的时间信息、 注册时所使用的 ID信息 (如 IMSI )、 以 及注册时所在的 PLMN的信息。  If the registration accept message is a registration accept message returned by the network server for the second registration request, the first information includes at least one of the following information: an APN parameter carried in the registration accept message, time information at the time of registration, The ID information (such as IMSI) used at the time of registration, and the information of the PLMN at the time of registration.
在实施中, 第一处理模块 41向网络服务器发起第二注册请求, 包括以下 两种优选的实现方式:  In an implementation, the first processing module 41 initiates a second registration request to the network server, including the following two preferred implementations:
方式一、 第一处理模块 41向网络服务器仅发起一次第二注册请求。  In a first manner, the first processing module 41 initiates a second registration request to the network server only once.
该方式下, 若该第二注册请求中不携带 APN参数, 则: 网络服务器在接 收到第一处理模块 41发起的第二注册请求后, 若能够完成该终端设备在网络 中的注册, 则在完成注册后向该第一处理模块 41返回注册接受消息, 并携带 该网络服务器下发给该终端设备的 APN参数; 若不能完成该终端设备在网络 中的注册, 则向该第一处理模块 41返回注册拒绝消息。  In this mode, if the second registration request does not carry the APN parameter, the network server, after receiving the second registration request initiated by the first processing module 41, can complete the registration of the terminal device in the network, After the registration is completed, the registration accept message is returned to the first processing module 41, and the APN parameter sent by the network server to the terminal device is carried. If the terminal device is not registered in the network, the first processing module 41 is sent to the first processing module 41. Returns a registration rejection message.
该方式下, 若第二注册请求中携带从已保存的成功注册到网络的 APN参 数, 则: 网络服务器接收到该第二注册请求后, 判断该第二注册请求中携带 的 APN参数是否合适,若合适, 网络服务器完成终端设备在网络中的注册后, 向第一处理模块 41返回的注册接受消息; 若不合适, 网络服务器向第一处理 模块 41返回注册拒绝消息。  In this manner, if the second registration request carries the saved APN parameter that is successfully registered to the network, the network server determines whether the APN parameter carried in the second registration request is appropriate after receiving the second registration request. If appropriate, the network server completes the registration accept message returned to the first processing module 41 after the terminal device registers with the network; if not, the network server returns a registration reject message to the first processing module 41.
该方式下, 若第一处理模块 41向网络服务器发起的第二注册请求之后, 接收到网络服务器返回的注册接受消息, 则第二处理模块 42确定自身所属的 终端设备已成功注册到了网络中。  In this manner, if the first registration module 41 receives the registration accept message returned by the network server after the second registration request initiated by the network server, the second processing module 42 determines that the terminal device to which it belongs has been successfully registered in the network.
方式二、 第一处理模块 41向网络服务器发起至少两次第二注册请求。 该方式下, 为了避免由于传输过程中出现问题(如数据乱码等) 而导致 网络服务器拒绝第二注册请求, 第一处理模块 41确定自身向网络服务器发起 的第一次第二注册请求被拒绝后, 再次尝试向该网络服务器发起第二注册请 求, 直至任一次第二注册请求被接受或者设定次数的第二注册请求均被拒绝。 Manner 2: The first processing module 41 initiates at least two second registration requests to the network server. In this mode, in order to avoid problems caused by the transmission process (such as data garbled, etc.) The network server rejects the second registration request, and the first processing module 41 determines that the first second registration request initiated by the network server is rejected, and then attempts to initiate a second registration request to the network server until any second registration request The second registration request accepted or set the number of times is rejected.
该方式下, 对于第一处理模块 41发起的任一次第二注册请求, 若网络服 务器在接收到第一处理模块 41发起的任一次第二注册请求后, 能够完成该终 端设备在网络中的注册, 则在完成注册后向该第一处理模块 41返回注册接受 消息, 并携带该网络服务器下发给该终端设备的 APN参数; 若不能完成该终 端设备在网络中的注册, 则向该第一处理模块 41返回注册拒绝消息。  In this manner, for any second registration request initiated by the first processing module 41, if the network server receives the second registration request initiated by the first processing module 41, the network device can complete the registration of the terminal device in the network. And returning the registration accept message to the first processing module 41 after the registration is completed, and carrying the APN parameter sent by the network server to the terminal device; if the registration of the terminal device in the network cannot be completed, the first Processing module 41 returns a registration reject message.
该方式下,第一处理模块 41向网络服务器发起至少两次第二注册请求时, 包括以下两种方式:  In this manner, when the first processing module 41 initiates at least two second registration requests to the network server, the following two methods are included:
第一处理模块 41先向网络服务器发起设定次数的不携带 APN参数的第 二注册请求, 在所发起的所有不携带 APN参数的第二注册请求均被拒绝后, 再向网络服务器发起设定次数的携带从已保存的成功注册到网络的 APN参数 的第二注册请求; 或者  The first processing module 41 first initiates a second registration request that does not carry the APN parameter to the network server, and initiates the setting to the network server after all the second registration requests that do not carry the APN parameter are rejected. The number of times carries a second registration request from the saved APN parameter that was successfully registered to the network; or
第一处理模块 41先向网络服务器发起设定次数的第二注册请求, 在所发 起的所有携带从已保存的成功注册到网络的 APN参数的第二注册请求均被拒 绝后, 再向网络服务器发起设定次数的不携带 APN参数的第二注册请求。  The first processing module 41 first initiates a second registration request of the set number of times to the network server, and after all the second registration requests that carry the APN parameters from the saved successfully registered to the network are rejected, and then go to the network server. A second registration request that does not carry an APN parameter is initiated for a set number of times.
其中, 设定次数为经验值, 其可以为一次, 也可以为多次。 用户可以才艮 据实际需要设定具体数值。  The set number of times is an empirical value, which may be one time or multiple times. The user can set the specific value according to the actual needs.
该方式下, 若第二注册请求中不携带 APN参数, 较佳地, 该第二处理模 块 42还用于:  In this manner, if the second registration request does not carry the APN parameter, preferably, the second processing module 42 is further configured to:
确定第一处理模块 41发起的设定次数的第二注册请求均被拒绝; 从存储 模块 43 已保存的第一信息中, 选择至少一个 APN参数, 并重新向网络服务 器发起第二注册请求, 其中, 重新发起的第二注册请求中携带该第二处理模 块 42所选择的 APN参数。  Determining that the second registration request initiated by the first processing module 41 is rejected; from the first information saved by the storage module 43, selecting at least one APN parameter, and re-initiating a second registration request to the network server, where The second registration request that is re-initiated carries the APN parameter selected by the second processing module 42.
具体的, 若第一处理模块 41所发起的不携带 APN参数的第二注册请求 被拒绝, 则第二处理模块 42从存储模块 43 已保存的第一信息中, 先选择一 个 APN参数重新, 并向该网络服务器重新发起携带所选的 APN参数的第二 注册请求; 若本次重新发起的第二注册请求被拒绝, 第二处理模块 42再从剩 余的第一信息中, 选择一个 APN参数, 并向该网络服务器重新发起携带所选 的 APN参数的第二注册请求, 依次类推, 直至某次重新发起的第二注册请求 被接受或每次重新发起的第二注册请求均被拒绝。 Specifically, if the second registration request initiated by the first processing module 41 does not carry the APN parameter is rejected, the second processing module 42 selects one of the first information that has been saved by the storage module 43. The APN parameters are re-initiated, and the second registration request carrying the selected APN parameter is re-initiated to the network server; if the second re-initiated registration request is rejected, the second processing module 42 re-enters the remaining first information. Selecting an APN parameter, and re-initiating a second registration request carrying the selected APN parameter to the network server, and so on, until a second re-initiated second registration request is accepted or a second registration request is re-initiated each time Both were rejected.
较佳地, 第二处理模块 42从存储模块 43 已保存的第一信息中, 选择至 少一个 APN参数, 包括:  Preferably, the second processing module 42 selects at least one APN parameter from the first information saved by the storage module 43, including:
从存储模块 43已保存的第一信息中, 确定出与该终端设备当前所使用的 ID信息和 /或当前所在的 PLMN的信息相同的 APN参数, 并从确定出的 APN 参数中, 选择至少一个 APN参数。  From the first information that has been saved by the storage module 43, the APN parameter that is the same as the ID information currently used by the terminal device and/or the information of the currently located PLMN is determined, and at least one of the determined APN parameters is selected. APN parameters.
具体包括以下三种实现方式: 第二处理模块 42从存储模块 43 已保存的 第一信息中, 确定出与终端设备当前所使用的 ID信息相同的 APN参数, 并 从确定出的 APN参数中, 选择至少一个 APN参数; 或者, 第二处理模块 42 从存储模块 43已保存的第一信息中,确定出与终端设备当前所在的 PLMN的 信息相同的 APN参数,并从确定出的 APN参数中,选择至少一个 APN参数; 或者, 第二处理模块 42从存储模块 43 已保存的第一信息中, 确定出与终端 设备当前所使用的 ID信息和当前所在的 PLMN的信息相同的 APN参数, 并 从确定出的 APN参数中, 选择至少一个 APN参数。  Specifically, the following three implementation manners are included: the second processing module 42 determines, from the first information that has been saved by the storage module 43, the APN parameter that is the same as the ID information currently used by the terminal device, and from the determined APN parameters, Selecting at least one APN parameter; or, the second processing module 42 determines, from the first information that has been saved by the storage module 43, the APN parameter that is the same as the information of the PLMN that the terminal device is currently located, and from the determined APN parameter, Selecting at least one APN parameter; or, the second processing module 42 determines, from the first information that has been saved by the storage module 43, the APN parameter that is the same as the ID information currently used by the terminal device and the information of the currently located PLMN, and Among the determined APN parameters, at least one APN parameter is selected.
较佳地, 第二处理模块 42从确定出的 APN参数中, 选择至少一个 APN 参数, 包括:  Preferably, the second processing module 42 selects at least one APN parameter from the determined APN parameters, including:
从确定出的 APN参数中, 按照各 APN参数选择对应的注册时间信息与 当前时间的间隔大小, 依次选择间隔最小的 APN参数。  From the determined APN parameters, the interval between the registration time information and the current time is selected according to each APN parameter, and the APN parameters with the smallest interval are sequentially selected.
具体的, 第二处理模块 42先选择间隔最小的 APN参数, 重新发起第二 注册请求, 若注册失败, 再从剩余的 APN参数中, 选择间隔最小的 APN参 数, 重新发起第二注册请求, 依次类推, 直至任一次重新发起的第二注册请 求被接受或每次重新发起的第二注册请求均被拒绝。  Specifically, the second processing module 42 first selects the APN parameter with the smallest interval, and re-initiates the second registration request. If the registration fails, the APN parameter with the smallest interval is selected from the remaining APN parameters, and the second registration request is re-initiated. By analogy, the second registration request is accepted until the second registration request is reinitiated or rejected.
当然, 除了上述优选的选择方式外, 第二处理模块 42还可以釆用其他的 方式从确定出的 APN参数中, 选择一个 APN参数, 以重新发起第二注册请 求, 如随机选择, 本发明实施例不对具体的选择方式进行限定。 Of course, in addition to the above preferred selection methods, the second processing module 42 can also use other The method selects an APN parameter from the determined APN parameter to re-initiate the second registration request, such as a random selection. The embodiment of the present invention does not limit the specific selection manner.
基于同一发明构思, 本发明实施例提供了一种终端设备, 如图 5 所示, 该终端设备包括:  Based on the same inventive concept, an embodiment of the present invention provides a terminal device. As shown in FIG. 5, the terminal device includes:
收发机 51 ,用于在确定自身向网络服务器发起的第一注册请求被拒绝后, 向所述网络服务器发起第二注册请求; 其中, 第一注册请求中携带默认 APN 参数; 第二注册请求中不携带 APN参数, 或者, 第二注册请求中携带从已保 存的成功注册到网络的 APN参数;  The transceiver 51 is configured to initiate a second registration request to the network server after determining that the first registration request initiated by the network server is rejected, where the first registration request carries a default APN parameter; The APN parameter is not carried, or the second registration request carries the APN parameter from the saved successful registration to the network;
处理器 52,用于在收发机 51接收到所述网络服务器针对所述第二注册请 求返回的注册接受消息后, 确定自身所属的终端设备已成功注册到网络。  The processor 52 is configured to determine, after the transceiver 51 receives the registration accept message returned by the network server for the second registration request, that the terminal device to which the network device belongs has successfully registered to the network.
其中, 收发机 51和处理器 52之间通过总线连接。  The transceiver 51 and the processor 52 are connected by a bus.
本发明实施例中, 收发机 51在确定自身向网络服务器发起的第一注册请 求被拒绝后, 向网络服务器发起第二注册请求; 其中, 第一注册请求中携带 默认 APN参数; 第二注册请求中不携带 APN参数, 或者第二注册请求中携 带从已保存的成功注册到网络的 APN参数; 收发机 51在接收到网络服务器 针对第二注册请求返回的注册接受消息后, 处理器 52确定自身所属的终端设 备已成功注册到网络中。由于收发机 51在确定向网络服务器发起的携带 APN 参数的第一注册请求被拒绝后, 又向网络服务器发起了不携带 APN参数或携 带从已保存的与成功注册相关的第一信息中选择的 APN参数的第二注册请 求, 从而提高了终端设备注册到网络的成功率, 使用户在 LTE网络环境下, 能够享用 LTE网络提供的服务, 提高了用户体验。  In the embodiment of the present invention, the transceiver 51 initiates a second registration request to the network server after determining that the first registration request initiated by the network server is rejected, wherein the first registration request carries a default APN parameter; the second registration request The APN parameter is not carried in the second registration request, or the second registration request carries the APN parameter from the saved successful registration to the network; after receiving the registration accept message returned by the network server for the second registration request, the processor 52 determines itself. The associated terminal device has been successfully registered to the network. After the transceiver 51 determines that the first registration request for carrying the APN parameter initiated by the network server is rejected, the transceiver 51 initiates the non-carrier APN parameter or carries the selected information from the saved first information related to the successful registration. The second registration request of the APN parameter improves the success rate of the terminal device to register with the network, so that the user can enjoy the service provided by the LTE network in the LTE network environment, thereby improving the user experience.
在实施中, 该终端设备还包括:  In implementation, the terminal device further includes:
存储器 53 ,用于在收发机 51接收到所述网络服务器返回的注册接受消息 后, 保存与终端设备的注册相关的第一信息, 其中, 该注册接受消息是网络 服务器针对第一注册请求和 /或第二注册请求返回的注册接受消息;  The memory 53 is configured to save, after the transceiver 51 receives the registration accept message returned by the network server, first information related to registration of the terminal device, where the registration accept message is a network server for the first registration request and/or Or a registration acceptance message returned by the second registration request;
其中, 所述第一信息包括以下信息中的至少一种信息: 该终端设备的注 册所使用的 APN参数、 注册时的时间信息、 注册时所使用的标识 ID信息、 以及注册时所在的公共陆地移动网 PLMN的信息。 The first information includes at least one of the following information: an APN parameter used for registration of the terminal device, time information at the time of registration, and identifier ID information used when registering, And the information of the public land mobile network PLMN where the registration is located.
具体的, 若该注册接受消息是网络服务器针对第一注册请求返回的注册 接受消息, 则该第一信息包括以下信息中的至少一种信息: 第一注册请求中 携带的 APN参数、 注册时的时间信息、 注册时所使用的 ID信息 (如 IMSI )、 以及注册时所在的 PLMN的信息;  Specifically, if the registration accept message is a registration accept message returned by the network server for the first registration request, the first information includes at least one of the following information: an APN parameter carried in the first registration request, and a registration time Time information, ID information used for registration (such as IMSI), and information about the PLMN at the time of registration;
若该注册接受消息是网络服务器针对第二注册请求返回的注册接受消 息, 则该第一信息包括以下信息中的至少一种信息: 该注册接受消息中携带 的 APN参数、 注册时的时间信息、 注册时所使用的 ID信息 (如 IMSI )、 以 及注册时所在的 PLMN的信息。  If the registration accept message is a registration accept message returned by the network server for the second registration request, the first information includes at least one of the following information: an APN parameter carried in the registration accept message, time information at the time of registration, The ID information (such as IMSI) used at the time of registration, and the information of the PLMN at the time of registration.
在实施中, 收发机 51向网络服务器发起第二注册请求, 包括以下两种优 选的实现方式:  In an implementation, the transceiver 51 initiates a second registration request to the network server, including the following two preferred implementations:
方式一、 收发机 51向网络服务器仅发起一次第二注册请求。  Method 1, the transceiver 51 initiates a second registration request to the network server only once.
该方式下, 若该第二注册请求中不携带 APN参数, 则: 网络服务器在接 收到收发机 51发起的第二注册请求后, 若能够完成该终端设备在网络中的注 册, 则在完成注册后向收发机 51返回注册接受消息, 并携带该网络服务器下 发给该终端设备的 APN参数; 若不能完成该终端设备在网络中的注册, 则向 收发机 51返回注册拒绝消息。  In this mode, if the APN parameter is not carried in the second registration request, after the network server receives the second registration request initiated by the transceiver 51, if the registration of the terminal device in the network can be completed, the registration is completed. The backward transceiver 51 returns a registration accept message and carries the APN parameter sent by the network server to the terminal device; if the terminal device is not registered in the network, the registration reject message is returned to the transceiver 51.
该方式下, 若第二注册请求中携带从已保存的成功注册到网络的 APN参 数, 则: 网络服务器接收到该第二注册请求后, 判断该第二注册请求中携带 的 APN参数是否合适,若合适, 网络服务器完成终端设备在网络中的注册后, 向收发机 51返回的注册接受消息; 若不合适, 网络服务器向收发机 51返回 注册拒绝消息。  In this manner, if the second registration request carries the saved APN parameter that is successfully registered to the network, the network server determines whether the APN parameter carried in the second registration request is appropriate after receiving the second registration request. If appropriate, the network server completes the registration accept message returned to the transceiver 51 after the terminal device registers with the network; if not, the network server returns a registration reject message to the transceiver 51.
该方式下, 若收发机 51向网络服务器发起的第二注册请求之后, 接收到 网络服务器返回的注册接受消息, 则处理器 52确定自身所属的终端设备已成 功注册到了网络中。  In this mode, if the transceiver 51 returns a registration accept message returned by the network server after the second registration request initiated by the network server, the processor 52 determines that the terminal device to which it belongs has successfully registered in the network.
方式二、 收发机 51向网络服务器发起至少两次第二注册请求。  Mode 2: The transceiver 51 initiates at least two second registration requests to the network server.
该方式下, 为了避免由于传输过程中出现问题(如数据乱码等) 而导致 网络服务器拒绝第二注册请求, 收发机 51确定自身向网络服务器发起的第一 次第二注册请求被拒绝后, 再次尝试向该网络服务器发起第二注册请求, 直 至任一次第二注册请求被接受或者设定次数的第二注册请求均被拒绝。 In this mode, in order to avoid problems caused by the transmission process (such as data garbled, etc.) The network server rejects the second registration request, and the transceiver 51 determines that the first second registration request initiated by the network server is rejected, and then attempts to initiate a second registration request to the network server until any second registration request is accepted. Or the second registration request of the set number of times is rejected.
该方式下, 对于收发机 51发起的任一次第二注册请求, 若网络服务器在 接收到收发机 51发起的任一次第二注册请求后, 能够完成该终端设备在网络 中的注册, 则在完成注册后向收发机 51返回注册接受消息, 并携带该网络服 务器下发给该终端设备的 APN参数;若不能完成该终端设备在网络中的注册, 则向收发机 51返回注册拒绝消息。  In this manner, for any second registration request initiated by the transceiver 51, if the network server can complete the registration of the terminal device in the network after receiving the second registration request initiated by the transceiver 51, the completion is completed. After registration, the registration accept message is returned to the transceiver 51, and carries the APN parameter sent by the network server to the terminal device; if the terminal device is not registered in the network, the registration rejection message is returned to the transceiver 51.
该方式下, 收发机 51向网络服务器发起至少两次第二注册请求时, 包括 以下两种方式:  In this manner, when the transceiver 51 initiates at least two second registration requests to the network server, the following two methods are included:
收发机 51先向网络服务器发起设定次数的不携带 APN参数的第二注册 请求, 在所发起的所有不携带 APN参数的第二注册请求均被拒绝后, 再向网 络服务器发起设定次数的携带从已保存的成功注册到网络的 APN参数的第二 注册请求; 或者  The transceiver 51 first initiates a second registration request that does not carry the APN parameter to the network server, and after all the second registration requests that do not carry the APN parameter are rejected, the network server initiates the set number of times. Carrying a second registration request from the saved APN parameters successfully registered to the network; or
收发机 51先向网络服务器发起设定次数的第二注册请求, 在所发起的所 有携带从已保存的成功注册到网络的 APN参数的第二注册请求均被拒绝后, 再向网络服务器发起设定次数的不携带 APN参数的第二注册请求。  The transceiver 51 first initiates a second registration request of the set number of times to the network server, and initiates a second registration request that carries the APN parameter from the saved successful registration to the network, and then initiates the setting to the network server. A fixed number of second registration requests that do not carry APN parameters.
其中, 设定次数为经验值, 其可以为一次, 也可以为多次。 用户可以才艮 据实际需要设定具体数值。  The set number of times is an empirical value, which may be one time or multiple times. The user can set the specific value according to the actual needs.
该方式下, 若第二注册请求中不携带 APN参数, 较佳地, 处理器 52还 用于:  In this manner, if the second registration request does not carry the APN parameter, preferably, the processor 52 is further configured to:
确定收发机 51 发起的设定次数的第二注册请求均被拒绝; 从存储器 53 已保存的第一信息中, 选择至少一个 APN参数, 并重新向网络服务器发起第 二注册请求, 其中, 重新发起的第二注册请求中携带处理器 52所选择的 APN 参数。  Determining that the second registration request initiated by the transceiver 51 is rejected; from the first information saved in the memory 53, selecting at least one APN parameter, and re-initiating a second registration request to the network server, where The second registration request carries the APN parameter selected by the processor 52.
具体的, 若收发机 51所发起的不携带 APN参数的第二注册请求被拒绝, 则处理器 52从存储器 53已保存的第一信息中, 先选择一个 APN参数重新, 并向该网络服务器重新发起携带所选的 APN参数的第二注册请求; 若本次重 新发起的第二注册请求被拒绝, 处理器 52再从剩余的第一信息中, 选择一个 APN参数,并向该网络服务器重新发起携带所选的 APN参数的第二注册请求, 依次类推, 直至某次重新发起的第二注册请求被接受或每次重新发起的第二 注册请求均被拒绝。 Specifically, if the second registration request initiated by the transceiver 51 that does not carry the APN parameter is rejected, the processor 52 selects an APN parameter from the first information saved in the memory 53. And re-initiating a second registration request carrying the selected APN parameter to the network server; if the second re-initiated registration request is rejected, the processor 52 selects an APN parameter from the remaining first information, and A second registration request carrying the selected APN parameter is re-initiated to the network server, and so on, until a second re-initiated second registration request is accepted or a second re-initiated second registration request is rejected.
较佳地,处理器 52从存储器 53已保存的第一信息中,选择至少一个 APN 参数, 包括:  Preferably, the processor 52 selects at least one APN parameter from the first information saved by the memory 53, including:
从存储器 53已保存的第一信息中,确定出与该终端设备当前所使用的 ID 信息和 /或当前所在的 PLMN的信息相同的 APN参数, 并从确定出的 APN参 数中, 选择至少一个 APN参数。  From the first information that has been saved in the memory 53, the APN parameter that is the same as the ID information currently used by the terminal device and/or the information of the currently located PLMN is determined, and at least one APN is selected from the determined APN parameters. parameter.
具体包括以下三种实现方式: 处理器 52从存储器 53 已保存的第一信息 中, 确定出与终端设备当前所使用的 ID信息相同的 APN参数, 并从确定出 的 APN参数中, 选择至少一个 APN参数; 或者, 处理器 52从存储器 53 已 保存的第一信息中, 确定出与终端设备当前所在的 PLMN的信息相同的 APN 参数, 并从确定出的 APN参数中, 选择至少一个 APN参数; 或者, 处理器 52从存储器 53已保存的第一信息中, 确定出与终端设备当前所使用的 ID信 息和当前所在的 PLMN的信息相同的 APN参数,并从确定出的 APN参数中, 选择至少一个 APN参数。  Specifically, the following three implementation manners are included: The processor 52 determines, from the first information that has been saved in the memory 53, the same APN parameter that is currently used by the terminal device, and selects at least one of the determined APN parameters. The APN parameter; or, the processor 52 determines the APN parameter that is the same as the information of the PLMN where the terminal device is currently located, and selects at least one APN parameter from the determined APN parameters. Alternatively, the processor 52 determines, from the first information that has been saved in the memory 53, the APN parameter that is the same as the ID information currently used by the terminal device and the information of the currently located PLMN, and selects at least from the determined APN parameters. An APN parameter.
较佳地, 处理器 52从确定出的 APN参数中, 选择至少一个 APN参数, 包括:  Preferably, the processor 52 selects at least one APN parameter from the determined APN parameters, including:
从确定出的 APN参数中, 按照各 APN参数选择对应的注册时间信息与 当前时间的间隔大小, 依次选择间隔最小的 APN参数。  From the determined APN parameters, the interval between the registration time information and the current time is selected according to each APN parameter, and the APN parameters with the smallest interval are sequentially selected.
具体的, 处理器 52先选择间隔最小的 APN参数, 重新发起第二注册请 求, 若注册失败, 再从剩余的 APN参数中, 选择间隔最小的 APN参数, 重 新发起第二注册请求, 依次类推, 直至任一次重新发起的第二注册请求被接 受或每次重新发起的第二注册请求均被拒绝。  Specifically, the processor 52 first selects the APN parameter with the smallest interval, and re-initiates the second registration request. If the registration fails, the APN parameter with the smallest interval is selected from the remaining APN parameters, and the second registration request is re-initiated, and so on. The second registration request until either re-initiation of the re-initiation is accepted or the second registration request is re-initiated each time.
当然, 除了上述优选的选择方式外, 处理器 52还可以釆用其他的方式从 确定出的 APN参数中, 选择一个 APN参数, 以重新发起第二注册请求, 如 随机选择, 本发明实施例不对具体的选择方式进行限定。 Of course, in addition to the preferred selection described above, the processor 52 can also use other methods. Among the determined APN parameters, an APN parameter is selected to re-initiate the second registration request, such as a random selection. The embodiment of the present invention does not limit the specific selection manner.
本领域内的技术人员应明白, 本发明的实施例可提供为方法、 系统、 或 计算机程序产品。 因此, 本发明可釆用完全硬件实施例、 完全软件实施例、 或结合软件和硬件方面的实施例的形式。 而且, 本发明可釆用在一个或多个 其中包含有计算机可用程序代码的计算机可用存储介质 (包括但不限于磁盘 存储器、 CD-ROM、 光学存储器等)上实施的计算机程序产品的形式。  Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or a combination of software and hardware. Moreover, the invention can be embodied in the form of one or more computer program products embodied on a computer-usable storage medium (including but not limited to disk storage, CD-ROM, optical storage, etc.) in which computer usable program code is embodied.
本发明是参照根据本发明实施例的方法、 设备(系统)、 和计算机程序产 品的流程图和 /或方框图来描述的。 应理解可由计算机程序指令实现流程图 和 /或方框图中的每一流程和 /或方框、 以及流程图和 /或方框图中的流程 和 /或方框的结合。 可提供这些计算机程序指令到通用计算机、 专用计算机、 嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器, 使得通 过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流 程图一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的 装置。  The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowcharts and/or block diagrams, and combinations of flow and/or blocks in the flowcharts and/or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设 备以特定方式工作的计算机可读存储器中, 使得存储在该计算机可读存储器 中的指令产生包括指令装置的制造品, 该指令装置实现在流程图一个流程或 多个流程和 /或方框图一个方框或多个方框中指定的功能。  The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上, 使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的 处理, 从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图 一个流程或多个流程和 /或方框图一个方框或多个方框中指定的功能的步 骤。  These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
尽管已描述了本发明的优选实施例, 但本领域内的技术人员一旦得知了 基本创造性概念, 则可对这些实施例作出另外的变更和修改。 所以, 所附权 利要求意欲解释为包括优选实施例以及落入本发明范围的所有变更和修改。 发明的精神和范围。 这样, 倘若本发明的这些修改和变型属于本发明权利要 求及其等同技术的范围之内, 则本发明也意图包含这些改动和变型在内。 Although the preferred embodiment of the invention has been described, it will be apparent to those skilled in the art that, Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and the modifications and The spirit and scope of the invention. Thus, it is intended that the present invention cover the modifications and the modifications of the invention

Claims

权 利 要 求 Rights request
1、 一种网络注册方法, 其特征在于, 包括:  A network registration method, comprising:
终端确定自身向网络服务器发起的第一注册请求被拒绝后, 向所述网络 服务器发起第二注册请求;其中,所述第一注册请求携带默认接入点名称 APN 参数; 所述第二注册请求中不携带 APN参数, 或者, 所述第二注册请求中携 带所述终端从已保存的成功注册到网络的 APN参数;  After determining that the first registration request initiated by the terminal to the network server is rejected, the terminal initiates a second registration request to the network server, where the first registration request carries a default access point name APN parameter; the second registration request The APN parameter is not carried in the network, or the second registration request carries the APN parameter that the terminal successfully registers to the network from the saved one;
所述终端接收所述网络服务器针对所述第二注册请求返回的注册接受消 息, 确定自身已成功注册到网络。  The terminal receives the registration acceptance message returned by the network server for the second registration request, and determines that it has successfully registered to the network.
2、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括:  2. The method according to claim 1, wherein the method further comprises:
所述终端在接收到所述网络服务器返回的注册接受消息后, 保存与所述 终端的注册相关的第一信息, 其中, 所述注册接受消息是所述网络服务器针 对所述第一注册请求和 /或所述第二注册请求返回的注册接受消息;  After receiving the registration accept message returned by the network server, the terminal saves first information related to registration of the terminal, where the registration accept message is that the network server is for the first registration request and / or a registration acceptance message returned by the second registration request;
其中, 所述第一信息包括以下信息中的至少一种信息: 所述终端的注册 成功所使用的 APN参数、 注册时的时间信息、 注册时所使用的标识 ID信息、 以及注册时所在的公共陆地移动网 PLMN的信息。  The first information includes at least one of the following information: an APN parameter used by the terminal for successful registration, time information at the time of registration, identification ID information used at the time of registration, and a publicity at the time of registration. Information on the land mobile network PLMN.
3、 如权利要求 2所述的方法, 其特征在于, 所述终端向所述网络服务器 发起携带所述终端从已保存的成功注册到网络的 APN参数的第二注册请求, 包括:  The method of claim 2, wherein the terminal initiates a second registration request to the network server to carry the APN parameter that the terminal successfully saves from the registered network to the network, including:
所述终端从已保存的与成功注册相关的第一信息中, 选择至少一个 APN 参数, 并向所述网络服务器发起所述第二注册请求, 其中, 所述第二注册请 求中携带所述终端选择的所述 APN参数。  The terminal selects at least one APN parameter from the saved first information related to the successful registration, and initiates the second registration request to the network server, where the second registration request carries the terminal The APN parameter selected.
4、 如权利要求 2或 3所述的方法, 其特征在于, 若所述第二注册请求中 不携带 APN参数, 该方法还包括:  The method according to claim 2 or 3, wherein if the second registration request does not carry the APN parameter, the method further includes:
所述终端确定发起的设定次数的所述第二注册请求均被拒绝;  Determining, by the terminal, that the second registration request of the set number of times initiated is rejected;
所述终端从已保存的与成功注册相关的第一信息中, 选择至少一个 APN 参数, 并重新向所述网络服务器发起第二注册请求, 其中, 重新发起的所述 第二注册请求中携带所述终端选择的所述 APN参数。 The terminal selects at least one APN parameter from the saved first information related to successful registration, and re-initiates a second registration request to the network server, where the re-initiated The second registration request carries the APN parameter selected by the terminal.
5、 如权利要求 3或 4所述的方法, 其特征在于, 所述终端从已保存的所 述第一信息中, 选择至少一个 APN参数, 包括:  The method according to claim 3 or 4, wherein the terminal selects at least one APN parameter from the saved first information, including:
所述终端从已保存的所述第一信息中, 确定出与所述终端当前所使用的 ID信息和 /或当前所在的 PLMN的信息相同的 APN参数, 并从确定出的 APN 参数中, 选择至少一个 APN参数。  The terminal determines, from the saved first information, an APN parameter that is the same as the ID information currently used by the terminal and/or the information of the currently located PLMN, and selects from the determined APN parameters. At least one APN parameter.
6、 如权利要求 5 所述的方法, 其特征在于, 所述终端从确定出的 APN 参数中, 选择至少一个 APN参数, 包括:  The method according to claim 5, wherein the terminal selects at least one APN parameter from the determined APN parameters, including:
所述终端从确定出的 APN参数中, 按照各 APN参数对应的注册时间信 息与当前时间的间隔大小, 依次选择间隔最小的 APN参数。  The terminal selects the APN parameter with the smallest interval from the determined APN parameters according to the interval between the registration time information corresponding to each APN parameter and the current time.
7、 一种终端设备, 其特征在于, 包括:  7. A terminal device, comprising:
第一处理模块, 用于在确定自身向网络服务器发起的第一注册请求被拒 绝后, 向所述网络服务器发起第二注册请求; 其中, 所述第一注册请求携带 默认接入点名称 APN参数; 所述第二注册请求中不携带 APN参数, 或者, 所述第二注册请求中携带所述终端从已保存的成功注册到网络的 APN参数; 第二处理模块, 用于在所述第一处理模块接收到所述网络服务器针对所 述第二注册请求返回的注册接受消息, 确定自身所属的终端设备已成功注册 到网络。  a first processing module, configured to initiate a second registration request to the network server after determining that the first registration request initiated by the network server is rejected; wherein the first registration request carries a default access point name APN parameter The second registration request does not carry the APN parameter, or the second registration request carries the APN parameter that the terminal successfully registers to the network, and the second processing module is used to be in the first The processing module receives the registration accept message returned by the network server for the second registration request, and determines that the terminal device to which the network device belongs has successfully registered to the network.
8、 如权利要求 7所述的终端设备, 其特征在于, 该终端设备还包括: 存储模块, 用于在所述第一处理模块接收到所述网络服务器返回的注册 接受消息后, 保存与所述终端设备的注册相关的第一信息, 其中, 所述注册 接受消息是所述网络服务器针对所述第一注册请求和 /或所述第二注册请求返 回的注册接受消息;  The terminal device according to claim 7, wherein the terminal device further comprises: a storage module, configured to save and save after the first processing module receives the registration accept message returned by the network server a first information related to registration of the terminal device, where the registration accept message is a registration accept message returned by the network server for the first registration request and/or the second registration request;
其中, 所述第一信息包括以下信息中的至少一种信息: 所述终端的注册 所使用的 APN参数、 注册时的时间信息、 注册时所使用的标识 ID信息、 以 及注册时所在的公共陆地移动网 PLMN的信息。  The first information includes at least one of the following information: an APN parameter used by the terminal for registration, time information at the time of registration, identification ID information used at the time of registration, and public land where the registration is located. Mobile network PLMN information.
9、 如权利要求 8所述的终端设备, 其特征在于, 所述第一处理模块向所 述网络服务器发起携带所述终端从已保存的成功注册到网络的 APN参数的第 二注册请求, 包括: The terminal device according to claim 8, wherein the first processing module is The second registration request of the network server to carry the APN parameter that the terminal successfully saves from the saved registration to the network includes:
从所述存储模块已保存的与成功注册相关的第一信息中, 选择至少一个 APN参数, 并向所述网络服务器发起所述第二注册请求, 其中, 所述第二注 册请求中携带所述终端选择的所述 APN参数。  And selecting at least one APN parameter from the first information related to the successful registration that is saved by the storage module, and initiating the second registration request to the network server, where the second registration request carries the The APN parameter selected by the terminal.
10、 如权利要求 8或 9所述的终端设备, 其特征在于, 若所述第二注册 请求中不携带 APN参数, 所述第二处理模块还用于:  The terminal device according to claim 8 or 9, wherein, if the second registration request does not carry the APN parameter, the second processing module is further configured to:
确定发起的设定次数的所述第二注册请求均被拒绝;  Determining that the second registration request of the set number of times initiated is rejected;
从所述存储模块已保存的与成功注册相关的第一信息中, 选择至少一个 APN参数, 并重新向所述网络服务器发起第二注册请求, 其中, 重新发起的 所述第二注册请求中携带所述第二处理模块所选择的 APN参数。  Selecting at least one APN parameter from the first information related to the successful registration that is saved by the storage module, and re-initiating a second registration request to the network server, where the second registration request is re-initiated The APN parameter selected by the second processing module.
11、 如权利要求 9或 10所述的终端设备, 其特征在于, 所述第二处理模 块从所述存储模块已保存的所述第一信息中,选择至少一个 APN参数, 包括: 从所述存储模块已保存的所述第一信息中, 确定出与所述终端设备当前 所使用的 ID信息和 /或当前所在的 PLMN的信息相同的 APN参数, 并从确定 出的 APN参数中, 选择至少一个 APN参数。  The terminal device according to claim 9 or 10, wherein the second processing module selects at least one APN parameter from the first information that has been saved by the storage module, including: The first information that has been saved by the storage module determines an APN parameter that is the same as the ID information currently used by the terminal device and/or the information of the currently located PLMN, and selects at least the determined APN parameter. An APN parameter.
12、 如权利要求 11所述的终端设备, 其特征在于, 所述第二处理模块从 确定出的 APN参数中, 选择至少一个 APN参数, 包括:  The terminal device according to claim 11, wherein the second processing module selects at least one APN parameter from the determined APN parameters, including:
从确定出的 APN参数中, 按照各 APN参数对应的注册时间信息与当前 时间的间隔大小, 依次选择间隔最小的 APN参数。  From the determined APN parameters, the APN parameters with the smallest interval are sequentially selected according to the interval between the registration time information corresponding to each APN parameter and the current time.
13、 一种终端设备, 其特征在于, 包括:  13. A terminal device, comprising:
收发机, 用于在确定自身向网络服务器发起的第一注册请求被拒绝后, 向所述网络服务器发起第二注册请求; 其中, 所述第一注册请求携带默认接 入点名称 APN参数; 所述第二注册请求中不携带 APN参数, 或者, 所述第 二注册请求中携带所述终端从已保存的成功注册到网络的 APN参数;  a transceiver, configured to initiate a second registration request to the network server after determining that the first registration request initiated by the network server is rejected; wherein the first registration request carries a default access point name APN parameter; The APN parameter is not carried in the second registration request, or the second registration request carries the APN parameter that the terminal successfully registers to the network from the saved one;
处理器, 用于在所述收发机接收到所述网络服务器针对所述第二注册请 求返回的注册接受消息后, 确定自身所属的终端设备已成功注册到网络。 And a processor, configured to determine, after the transceiver receives the registration accept message returned by the network server for the second registration request, that the terminal device to which the network device belongs has successfully registered to the network.
14、 如权利要求 13所述的终端设备, 其特征在于, 该终端设备还包括: 存储器, 用于在所述收发机接收到所述网络服务器返回的注册接受消息 后, 保存与所述终端设备的注册相关的第一信息, 其中, 所述注册接受消息 是所述网络服务器针对所述第一注册请求和 /或所述第二注册请求返回的注册 接受消息; The terminal device according to claim 13, wherein the terminal device further comprises: a memory, configured to save the terminal device after the transceiver receives the registration accept message returned by the network server The registration-related first information, wherein the registration accept message is a registration accept message returned by the network server for the first registration request and/or the second registration request;
其中, 所述第一信息包括以下信息中的至少一种信息: 所述终端设备注 册所使用的 APN参数、 注册时的时间信息、 注册时所使用的标识 ID信息、 以及注册时所在的公共陆地移动网 PLMN的信息。  The first information includes at least one of the following information: an APN parameter used by the terminal device to register, time information at the time of registration, identification ID information used at the time of registration, and public land where the registration is located. Mobile network PLMN information.
15、 如权利要求 14所述的终端设备, 其特征在于, 所述收发机向所述网 络服务器发起携带所述终端从已保存的成功注册到网络的 APN参数的第二注 册请求, 所述处理器具体用于:  The terminal device according to claim 14, wherein the transceiver initiates, to the network server, a second registration request that carries the APN parameter of the terminal successfully saved from the saved network to the network, the processing Specifically used to:
从所述存储器已保存的与成功注册相关的第一信息中, 选择至少一个 APN参数, 并使所述收发机向所述网络服务器发起所述第二注册请求, 其中, 所述第二注册请求中携带所述终端选择的所述 APN参数。  Selecting, from the first information related to the successful registration that the memory has been saved, at least one APN parameter, and causing the transceiver to initiate the second registration request to the network server, where the second registration request Carrying the APN parameter selected by the terminal.
16、 如权利要求 14或 15所述的终端, 其特征在于, 若所述第二注册请 求中不携带 APN参数, 所述处理器还用于:  The terminal according to claim 14 or 15, wherein if the second registration request does not carry the APN parameter, the processor is further configured to:
确定发起的设定次数的所述第二注册请求均被拒绝;  Determining that the second registration request of the set number of times initiated is rejected;
从存储器已保存的与成功注册相关的第一信息中, 选择至少一个 APN参 数, 并使所述收发机重新向所述网络服务器发起第二注册请求, 其中, 重新 发起的所述第二注册请求中携带所述处理器所选择的 APN参数。  Selecting at least one APN parameter from the first information related to the successful registration that is saved in the memory, and causing the transceiver to re-initiate a second registration request to the network server, where the second registration request is re-initiated The APN parameter selected by the processor is carried in the middle.
17、 如权利要求 15或 16所述的终端设备, 其特征在于, 所述处理器从 所述存储器已保存的第一信息中, 选择至少一个 APN参数, 包括:  The terminal device according to claim 15 or 16, wherein the processor selects at least one APN parameter from the first information that has been saved by the processor, and includes:
从所述存储器已保存的第一信息中, 确定出与所述终端当前所使用的 ID 信息和 /或当前所在的 PLMN的信息相同的 APN参数, 并从确定出的 APN参 数中, 选择至少一个 APN参数。  Determining, from the first information saved by the memory, an APN parameter that is the same as the ID information currently used by the terminal and/or the information of the currently located PLMN, and selecting at least one of the determined APN parameters. APN parameters.
18、 如权利要求 17所述的终端设备, 其特征在于, 所述处理器从确定出 的 APN参数中, 选择至少一个 APN参数, 包括: 从确定出的 APN参数中, 按照各 APN参数对应的注册时间信息与当前 时间的间隔大小, 依次选择间隔最小的 APN参数。 The terminal device according to claim 17, wherein the processor selects at least one APN parameter from the determined APN parameters, including: From the determined APN parameters, the APN parameters with the smallest interval are sequentially selected according to the interval between the registration time information corresponding to each APN parameter and the current time.
PCT/CN2014/083245 2014-07-29 2014-07-29 Network registration method and terminal device WO2016015228A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/083245 WO2016015228A1 (en) 2014-07-29 2014-07-29 Network registration method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2014/083245 WO2016015228A1 (en) 2014-07-29 2014-07-29 Network registration method and terminal device

Publications (1)

Publication Number Publication Date
WO2016015228A1 true WO2016015228A1 (en) 2016-02-04

Family

ID=55216595

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/083245 WO2016015228A1 (en) 2014-07-29 2014-07-29 Network registration method and terminal device

Country Status (1)

Country Link
WO (1) WO2016015228A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188866A (en) * 2007-12-07 2008-05-28 华为技术有限公司 Context activation method and device for packet data protocol
CN101990280A (en) * 2009-08-04 2011-03-23 华为技术有限公司 Default access point name selection method and device
US20130337808A1 (en) * 2012-06-15 2013-12-19 Qualcomm Incorporated Facilitating service access for multi-mode devices
US20140024370A1 (en) * 2012-07-17 2014-01-23 Apple Inc. Method and apparatus for establishing a communication connection
CN103702390A (en) * 2013-11-29 2014-04-02 宇龙计算机通信科技(深圳)有限公司 Terminal and method for establishing access point name list

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188866A (en) * 2007-12-07 2008-05-28 华为技术有限公司 Context activation method and device for packet data protocol
CN101990280A (en) * 2009-08-04 2011-03-23 华为技术有限公司 Default access point name selection method and device
US20130337808A1 (en) * 2012-06-15 2013-12-19 Qualcomm Incorporated Facilitating service access for multi-mode devices
US20140024370A1 (en) * 2012-07-17 2014-01-23 Apple Inc. Method and apparatus for establishing a communication connection
CN103702390A (en) * 2013-11-29 2014-04-02 宇龙计算机通信科技(深圳)有限公司 Terminal and method for establishing access point name list

Similar Documents

Publication Publication Date Title
CN108574969B (en) Connection processing method and device in multi-access scene
US11477242B2 (en) Network security management method, and apparatus
CN110278619B (en) PDU session establishment method and device
US20190261299A1 (en) Dual card dual active communication method, terminal, network, and system
US10805793B2 (en) Communication method and device
WO2009030164A1 (en) A method, system and device for preventing the degradation attack while terminal is moving
US10897791B2 (en) Methods and devices for configuring and acquiring emergency number
CN110891271A (en) Authentication method and device
TWI792590B (en) Method for pdu session establishment accept handling and user equipment thereof
WO2020233688A1 (en) Voice communication method and device thereof
EP3648512A1 (en) Method for processing session in wireless communication, and terminal device
JP2008537868A (en) Apparatus and method for requesting start of communication session using performance configuration parameters by card application toolkit
WO2014048302A1 (en) Service processing method and device and communication system
WO2016179966A1 (en) Method for realizing network access, terminal and computer storage medium
WO2013004905A1 (en) Trusted wireless local area network access
WO2014075534A1 (en) Communication path switching method and device, and switching processing device and system
CN110933709B (en) Protocol data unit session management method and communication device
JP2018518113A (en) Method for discovering handover function of mobile communication network, system for discovering handover function of mobile communication network, user apparatus, program and computer program product
WO2013159310A1 (en) Method for accessing packet switching network, wlan access system and user equipment
WO2019096279A1 (en) Secure communication method and device
JP7367186B2 (en) Paging methods and equipment
CN111757316B (en) Service connection method and device
WO2016015228A1 (en) Network registration method and terminal device
CN116097751A (en) Re-anchoring with SMF reselection
CN108093473A (en) A kind of register method and MME

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: 14898460

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: 14898460

Country of ref document: EP

Kind code of ref document: A1