CN112153723B - Network access method and device - Google Patents

Network access method and device Download PDF

Info

Publication number
CN112153723B
CN112153723B CN202010948808.8A CN202010948808A CN112153723B CN 112153723 B CN112153723 B CN 112153723B CN 202010948808 A CN202010948808 A CN 202010948808A CN 112153723 B CN112153723 B CN 112153723B
Authority
CN
China
Prior art keywords
network
vowifi
connection establishment
connection
electronic equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010948808.8A
Other languages
Chinese (zh)
Other versions
CN112153723A (en
Inventor
黄江民
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202010948808.8A priority Critical patent/CN112153723B/en
Publication of CN112153723A publication Critical patent/CN112153723A/en
Application granted granted Critical
Publication of CN112153723B publication Critical patent/CN112153723B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1016IP multimedia subsystem [IMS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1073Registration or de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0261Power saving arrangements in terminal devices managing power supply demand, e.g. depending on battery level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a network access method and a network access device, belongs to the technical field of communication, and can solve the problem of power consumption waste of a terminal side and a network side under the conditions of VoWiFi disconnection and network re-access of electronic equipment. The method comprises the following steps: under the condition that the electronic equipment is registered to a VoWiFi network, if the VoWiFi network is detected to be disconnected, network access setting information of the electronic equipment is acquired; and if the network access setting information indicates that the electronic equipment preferentially accesses the VoWiFi network, determining whether to trigger a connection establishment process of the VoWiFi network according to the connection context information of the VoWiFi network before the network side equipment is released currently.

Description

Network access method and device
Technical Field
The present application relates to the field of communications technologies, and in particular, to a network access method and apparatus.
Background
Currently, most operators support both VoLTE (Voice over LTE) and VoWiFi (Voice over Wi-Fi) access to their IMS networks. For an electronic device supporting both VoLTE and VoWiFi, there is usually a call preference setting option, if Wi-Fi is set to be preferred, the electronic device preferably registers in volga when connecting to an LTE network and a Wi-Fi network, and if Cellular is set to be preferred, the electronic device preferably registers in VoLTE.
In the related art, in the normal VoWiFi registration process, when IPSec tunnel is successfully established, the ePDG network starts a DPD (Dead Peer Detection) timer, and after the timer expires, the ePDG sends an IKE message to the electronic device to detect whether the electronic device is Alive (that is, whether the connection between the electronic device and the ePDG is Alive is indicated), and if an IKE response message from the electronic device is received, the electronic device is Alive (Alive); if not, the electronic device is not alive (Dead).
However, under the condition that the network side device does not know that the electronic device has been Dead, if the network side device receives the IKE or IPSec connection establishment request message from the electronic device again, the network side device does not perform an operation of responding to the new request or rejecting the new request, and at this time, the electronic device frequently triggers an invalid VoWiFi registration operation. Frequent and inefficient VoWiFi registration operations may cause wasted power consumption on the terminal side and the network side.
Disclosure of Invention
The embodiment of the application aims to provide a network access method and a network access device, which can solve the problem of power consumption waste of a terminal side and a network side under the conditions of VoWiFi disconnection and network reconnection of electronic equipment.
In a first aspect, an embodiment of the present application provides a network access method, where the method includes: under the condition that the electronic equipment is registered to a VoWiFi network, if the disconnection of the VoWiFi network is detected, network access setting information of the electronic equipment is acquired; and if the network access setting information indicates that the electronic equipment is preferentially accessed to the VoWiFi network, determining whether to trigger a connection establishment process of the VoWiFi network according to the connection context information of the VoWiFi network before the network side equipment is released currently.
In a second aspect, an embodiment of the present application provides a network access apparatus, where the apparatus includes: the acquisition module is used for acquiring network access setting information of the electronic equipment if the VoWiFi network is detected to be disconnected under the condition that the electronic equipment is registered in the VoWiFi network; and an execution module, configured to determine whether to trigger a connection establishment procedure of the VoWiFi network according to whether the network side device currently releases connection context information of the previous VoWiFi network if the network access setting information acquired by the acquisition module indicates that the electronic device preferentially accesses the VoWiFi network.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, where the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the program or instructions implement the steps of the method as described above in the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In the embodiment of the application, under the condition that the electronic device is registered in the VoWiFi network, if the disconnection of the VoWiFi network is detected, network access setting information of the electronic device is acquired, and if the network access setting information indicates that the electronic device is preferentially accessed to the VoWiFi network, whether a connection establishment process of the VoWiFi network is triggered or not is determined according to the previous connection context information of the VoWiFi network whether the network side device is released currently or not. Therefore, the method and the device ensure that the user can smoothly register the IMS service in any scene that the electronic equipment is disconnected and then connected with the Wi-Fi in the VoWiFi registration state, improve the registration performance of the IMS, avoid the power consumption problem of the terminal side and the network side caused by frequent and invalid VoWiFi registration operation, and save the resources of the terminal side and the network side.
Drawings
Fig. 1 is a flowchart illustrating a network access method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a network access device according to an embodiment of the present application;
fig. 3 is a second schematic structural diagram of a network access device according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 5 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application are capable of operation in sequences other than those illustrated or described herein, and that the terms "first," "second," etc. are generally used in a generic sense and do not limit the number of terms, e.g., a first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The network access method provided by the embodiment of the present application is described in detail below with reference to the accompanying drawings, taking an electronic device as a terminal device as an example, through a specific embodiment and an application scenario thereof.
The embodiment of the application provides an IMS registration protection method aiming at disconnection of Wi-Fi in a VoWiFi registration state.
In the related art, during the VoWiFi normal registration process, a situation of abrupt WiFi disconnection (such as manually turning on an offline mode, etc.) inevitably occurs, and such an operation is common, before the DPD timer of the ePDG server times out, the ePDG does not know that the terminal device has released the IKE connection previously established with the ePDG, that is, the ePDG still retains the IKE connection context information of the VoWiFi registration of the previous terminal device. During the period, if the preference set by the terminal device is VoWiFi priority and the operation of connecting to the Wi-Fi or LTE network is retriggered (such as turning off offline, etc.), the terminal device may preferably perform VoWiFi registration and reinitiate the IKE connection establishment procedure to the ePDG, but at this time, the ePDG may not respond to the terminal device or reject the terminal device, thereby causing an IKE establishment failure.
Generally, after IKE fails, the terminal device will Retry at a certain time interval, and it is foreseeable that this Retry procedure may fail until a DPD timer fails (Expire), and the RAT for IMS registration is not switched to LTE until the entire Retry procedure is completed, and then VoLTE is registered; this not only affects the registration performance of IMS (the user may feel that VoLTE registration is slow), but also introduces unnecessary power consumption, seriously affecting the user experience.
According to the network access method and the network access device, under the condition that the terminal equipment is registered in the VoWiFi network, if the disconnection of the VoWiFi network is detected, the network access setting information of the terminal equipment is obtained, and if the network access setting information indicates that the terminal equipment is preferentially accessed to the VoWiFi network, whether the connection establishment process of the VoWiFi network is triggered or not is determined according to the connection context information of the VoWiFi network before the network side equipment is released currently. Therefore, the terminal equipment is guaranteed to be disconnected and reconnected with the Wi-Fi in any scene under the VoWiFi registration state, the user can smoothly register the IMS service, the registration performance of the IMS is improved, meanwhile, the problem of power consumption of the terminal side and the network side caused by frequent and invalid VoWiFi registration operation is avoided, and resources of the terminal side and the network side are saved.
The embodiment of the application provides a network access method, which can be executed by terminal equipment. In other words, the network access method may be performed by software or hardware installed in the terminal device. As shown in fig. 1, a network access method provided in an embodiment of the present application may include the following steps:
step 101: under the condition that the terminal equipment is registered to the VoWiFi network, if the disconnection of the VoWiFi network is detected, the network access setting information of the terminal equipment is acquired.
The network access setting information of the terminal device is used for indicating whether the preference setting of the terminal device is set to be preferentially accessed to the VoWiFi network.
Step 102: and if the network access setting information indicates that the terminal equipment preferentially accesses the VoWiFi network, determining whether to trigger a connection establishment process of the VoWiFi network according to the connection context information of the VoWiFi network before the network side equipment is released currently.
In this embodiment of the present application, the terminal device may determine whether to register VoWiFi or register VoLTE or keep in VoLTE after connecting Wi-Fi by reading operator IPSec Tunnel connection policy information, previous IPSec Tunnel release information, DPD timer explicit information, and VoLTE registration status information in a scenario that the terminal device disconnects and reconnects a VoWiFi network according to its own IMS preference setting (i.e., the network access setting information) so as to determine whether to select to register VoWiFi or register VoLTE or keep in VoLTE after connecting Wi-Fi by reading operator IPSec Tunnel connection policy information, previous IPSec Tunnel release information, DPD timer explicit information, and VoLTE registration status information.
Optionally, in this embodiment of the present application, the step 102 may include the following step 102a or step 102b:
step 102a: and if the connection context information of the VoWiFi network before the network side equipment is released currently is determined, triggering a connection establishment process of the VoWiFi network.
Step 102b: if it is determined that the network side device does not release the connection context information currently, if the terminal device is registered to a VoLTE network currently, the terminal device continues to reside in the VoLTE network, and if the terminal device is not registered to the VoLTE network currently, a connection establishment process of the VoLTE network is triggered.
Further optionally, in this embodiment of the present application, before the step 102a, the method may further include the following step 102a1:
step 102a1: and sending a connection establishment request to the network side equipment, wherein the connection establishment request is used for indicating the connection context information of the VoWiFi network before the network side equipment is released.
Further, based on the step 102a1, the step 102a may include the following steps:
step 102a2: and under the condition that the connection establishment request is successfully sent, triggering a connection establishment process of the VoWiFi network.
Further optionally, in this embodiment of the present application, the step 102a may include the following steps:
102a3: and if detecting that the terminal equipment does not send a connection establishment request to the network side equipment, triggering a connection establishment flow of the VoWiFi network when a first timer is timed out.
The time length of the first timer is greater than or equal to the time length required by the network side equipment to release the connection context information.
Optionally, in this embodiment of the present application, since the operator in some countries is before DPD Timer Expire and does not know the terminal device Dead, if the IKE or IPSec connection establishment request message from the terminal device is received again, since the context information of the previous connection stored in the network side device is not released, the network side device may not respond to the new request or reject the new request, and thus, the VoWiFi service access of the terminal device may be abnormal.
Illustratively, in view of the above problem, when the network used by the electronic device is a network provided by the above operator, the step 102 may include the following step 102c:
step 102c: and if the network access setting information indicates that the terminal equipment preferentially accesses the VoWiFi network and the operator information of the terminal equipment contains the target mark, determining whether to trigger the connection establishment process of the VoWiFi network according to the connection context information of the VoWiFi network before the network side equipment is released currently.
Wherein the target mark is used for indicating: when the VoWiFi network is re-registered, the network side device needs to release the previous connection context information of the VoWiFi network.
Illustratively, by marking the operator information of part of operators to indicate that a terminal device using a network provided by the operator needs to make policy selection when re-registering the VoWiFi network next time, that is, to ensure that "new registration needs to ensure that old connection is released", thereby ensuring the registration performance of the IMS, and avoiding the problem of power consumption of the terminal side and the network side caused by frequent and invalid VoWiFi registration operations.
Optionally, in this embodiment of the present application, the terminal device may decide whether to register VoWiFi or register VoLTE or remain in VoLTE after connecting Wi-Fi through any of the following policies.
Firstly, the method comprises the following steps: if the IMS phone preference setting (i.e. the network access setting Information) of the terminal device is VoWiFi-first and policy selection is required, but the terminal device has initiated an IPSec Tunnel Release request (e.g. IMS De-Register and IKE Information Release request) to a network side device (e.g. ePDG) and the message is successfully sent, directly triggering an IKE connection procedure of VoWiFi to establish an IPSec Tunnel according to the configuration requirement of the current VoWiFi-first, and then registering VoWiFi.
Secondly, the method comprises the following steps: if the IMS telephone preference setting of the terminal equipment is VoWiFi priority and policy selection is required, and the terminal equipment does not initiate an IPSec Tunnel Release request to the ePDG, but the DPD Timer already indicates that the ePDG has also released IKE connection context information of the previous VoWiFi, the terminal equipment directly triggers an IKE connection process of the VoWiFi to establish the IPSec Tunnel according to the configuration requirement of the current VoWiFi priority, and then registers the VoWiFi.
Thirdly, the method comprises the following steps: if the terminal device satisfies the following 4 conditions:
condition 1: IMS phone preference setting VoWiFi preferred;
condition 2: strategy selection is needed;
condition 3: the terminal equipment does not initiate an IPSec tunnel Release request to the ePDG;
condition 4: DPD Timer has not yet Expired.
If the terminal equipment is registered in the VoLTE currently, the terminal equipment is not required to be operated, and the terminal equipment is kept in the VoLTE registered state continuously. On the contrary, if the terminal device does not register VoLTE, the current Wi-Fi preference setting is directly ignored, and a Cellular (Cellular) preferred mode is selected to register the IMS, that is, registration of VoLTE is triggered.
It should be noted that, after DPD Timer Expired, the terminal device detects that the IMS preference is set to Wi-Fi priority and registers in VoLTE, and then initiates IPSec Tunnel establishment and a registration request of VoWiFi to the network again, and the VoLTE is switched to the VoWiFi again.
According to the network access method provided by the embodiment of the application, under the condition that the terminal equipment is registered in the VoWiFi network, if the disconnection of the VoWiFi network is detected, the network access setting information of the terminal equipment is obtained, and if the network access setting information indicates that the terminal equipment is preferentially accessed to the VoWiFi network, whether the connection establishment process of the VoWiFi network is triggered or not is determined according to the connection context information of the VoWiFi network before the network side equipment is released currently. Therefore, the terminal equipment is guaranteed to be disconnected and then connected with any scene of Wi-Fi in the VoWiFi registration state, the user can smoothly register the IMS service, the registration performance of the IMS is improved, the problem of power consumption of the terminal side and the network side caused by frequent and invalid VoWiFi registration operation is avoided, and resources of the terminal side and the network side are saved.
The scheme provided by the embodiment of the present application will be exemplarily explained by 4 embodiments.
Example 1:
the method and the device mainly aim at a scene that both VoLTE and VoWiFi switches of the terminal equipment are turned on, and realize the process of optimizing IMS registration logic under the scene. Specifically, assuming that the network side device is an ePDG, a specific implementation process of the technical solution provided in the embodiment of the present application is as follows:
step S1: and the terminal equipment triggers the Wi-Fi connection operation.
Step S2: reading IMS phone preference settings of the current terminal device (i.e., the above network access setting information), reading policy selection information (example 2 described below), DPD Timer status information (example 3 described below), IPSec Tunnel status information (example 4 described below), and VoLTE registration information from a Database (Database), and combining these information to decide whether to register VoWiFi or to register VoLTE or to keep VoLTE after Wi-Fi connection.
And step S3: and if the IMS telephone preference setting of the terminal equipment is not VoWiFi priority, any operation is not needed, and the method can be continuously executed according to the existing flow of the terminal equipment.
And step S4: if the IMS telephone preference setting of the terminal equipment is VoWiFi priority, but policy selection is not needed, the IKE connection process of the VoWiFi is triggered to establish the IPSec Tunnel directly according to the configuration requirement of the current VoWiFi priority, and then the VoWiFi is registered.
Step S5: if the IMS telephone preference setting of the terminal equipment is VoWiFi priority and policy selection is needed, but the terminal equipment already initiates an IPSec Tunnel Release request to the ePDG and successfully sends out the message, an IKE connection process of the VoWiFi is triggered to establish the IPSec Tunnel directly according to the configuration requirement of the current VoWiFi priority, and then the VoWiFi is registered.
Step S6: if the IMS phone preference setting of the terminal device is VoWiFi priority and policy selection is required, and the terminal device does not initiate an IPSec Tunnel Release request to the ePDG, but the DPD Timer has failed (Expired), it indicates that the ePDG has also released the IKE connection context information of the previous VoWiFi, so the IKE connection procedure of VoWiFi is triggered to establish the IPSec Tunnel directly according to the configuration requirement of the current VoWiFi priority, and then the VoWiFi is registered.
Step S7: if the terminal device satisfies the following 4 conditions:
condition 1: IMS phone preference setting is Wi-Fi first;
condition 2: strategy selection is needed;
condition 3: the terminal equipment does not initiate an IPSec tunnel Release request to the ePDG;
condition 4: the DPD Timer has not been Expired.
If the terminal equipment is registered in the VoLTE currently, the terminal equipment is not required to be operated, and the terminal equipment is continuously kept registered in the VoLTE. On the contrary, if the terminal device does not register VoLTE, the current Wi-Fi preference setting is directly ignored, and a Cellular (Cellular) preferred mode is selected to register the IMS, that is, registration of VoLTE is triggered.
Example 2:
the method and the device mainly aim at a scene that both VoLTE and VoWiFi switches of the terminal equipment are turned on, and realize the process of optimizing IMS registration logic under the scene. Specifically, assuming that the network side device is an ePDG, a specific implementation process of the technical scheme provided in the embodiment of the present application is as follows:
step S21: and the terminal equipment triggers the Wi-Fi disconnection operation.
Step S22: if the terminal equipment is not registered in the VoWiFi service, no operation is needed, and the existing process of the terminal can be carried out.
Step S23: and if the terminal equipment is registered in the VoWiFi service, inquiring IPSec connection strategy of the current operator.
For example, some operators currently known do not accept or reject a new IKE connection establishment request initiated by a terminal device until the previous IKE connection context information of the terminal device is not released. For these operator policies, they can be obtained to the operator or the terminal device itself gets known through some tests, and then the relevant operator information is saved in Database or List for inquiry.
Step S24: and if the new registration of the current operator does not need to ensure that the old connection is released, any operation is not needed, and the current process of the terminal equipment is pressed.
Step S25: if the new registration of the current operator needs to ensure that the old connection is released, when registering VoWiFi and triggering the disconnection of Wi-Fi operation, the strategy selection needs to be made when marking the Wi-Fi connection next time, and the strategy selection is written into Database for inquiry when the Wi-Fi connection is made.
Example 3:
the method and the device mainly aim at a scene that both VoLTE and VoWiFi switches of the terminal equipment are turned on, and realize the process of optimizing IMS registration logic under the scene. Specifically, assuming that the network side device is an ePDG, a specific implementation process of the technical scheme provided in the embodiment of the present application is as follows:
step S31: the terminal device triggers an operation of disconnecting Wi-Fi in the VoWiFi registration state, and triggers an IMS De-Register SIP request message before Wi-Fi is disconnected, and successfully sends an IKE Information Delete message releasing the IPSec Tunnel, and at this time, the terminal device needs to query the IPSec connection policy of the operator (see step S23 in the second embodiment).
Step S32: and if the new registration of the current operator does not need to ensure that the old connection is released, any operation is not needed, and the current process of the terminal equipment is pressed.
Step S33: if the new registration of the current operator needs to ensure that the old connection is released, the previous IPSec Tunnel needs to be marked to be released at the moment, and the data base needs to be written in for inquiry when the Wi-Fi is connected.
Example 4:
the method and the device mainly aim at a scene that both VoLTE and VoWiFi switches of the terminal equipment are turned on, and realize the process of optimizing IMS registration logic under the scene. Specifically, assuming that the network side device is an ePDG, a specific implementation process of the technical solution provided in the embodiment of the present application is as follows:
step S41: when the terminal device successfully establishes the IPSec Tunnel by registering VoWiFi, the ePDG starts a DPD Timer, and initiates detection information to the terminal device when the DPD Timer is Expired so as to know whether the opposite terminal is in an Alive state or a Dead state. Therefore, the terminal device may mark whether the DPD Timer on the ePDG side is extended or not through subsequent operations when IPSec Tunnel connection is established or when an IKE Information message triggered by the network side during DPD Timer extended is received.
Step S41: the terminal device inquires of the IPSec connection policy of the operator (see step S23 in embodiment two).
Step S42: and if the new registration of the current operator does not need to ensure that the old connection is released, any operation is not needed, and the current process of the terminal equipment is pressed.
Step S43: and if the new registration of the current operator needs to ensure that the old connection is released, the terminal equipment reads the DPD Timer configuration T1 of the current operator.
It should be noted that the DPD Timer information T1 of the relevant operator may be obtained from the operator or known by the terminal device through some tests, and then stored in Database or List for querying.
Step S44: when the IPSec Tunnel connection is established or an IKE Information message triggered by the network side during DPD Timer Expired is received, the terminal device starts a Timer T2 (note that the time of T2 needs to be the same as T1), and marks the DPD Timer as a non-Expired state by default.
Step S45: in the operation of the local Timer T2 of the terminal device, before T2 extended, the DPD Timer extended state read in description 2 of the first embodiment of the present invention is "no".
Step S46: and when the local Timer T2 of the terminal equipment is expanded, marking the DPD Timer as an expanded state, and writing the DPD Timer into Database for inquiry when the Wi-Fi is connected. After T2 extended, the DPD Timer extended state read in description 2 of the first embodiment of the present invention is "yes".
It should be noted that, in the network access method provided in the embodiment of the present application, the execution main body may be a network access device, or a control module in the network access device, configured to execute the network access method. In the embodiment of the present application, a network access apparatus executing a network access method is taken as an example to describe the network access apparatus provided in the embodiment of the present application.
An embodiment of the present application provides a network access apparatus, as shown in fig. 2, the network access apparatus 400 includes: an obtaining module 401 and an executing module 402, wherein:
an obtaining module 401, configured to, when an electronic device is registered in a VoWiFi network, if it is detected that the VoWiFi network is disconnected, obtain network access setting information of the electronic device;
an executing module 402, configured to determine whether to trigger a connection establishment procedure of the VoWiFi network according to whether the network side device currently releases the previous connection context information of the VoWiFi network, if the network access setting information acquired by the acquiring module 401 indicates that the electronic device preferentially accesses the VoWiFi network.
Optionally, in this embodiment of the application, the executing module 402 is specifically configured to: if the connection context information of the VoWiFi network before the network side equipment is released currently is determined, triggering a connection establishment process of the VoWiFi network; if it is determined that the network-side device has not released the connection context information currently, if the electronic device has been registered in the VoLTE network currently, the electronic device continues to reside in the VoLTE network, and if the electronic device has not been registered in the VoLTE network currently, a connection establishment procedure of the VoLTE network is triggered.
Optionally, in this embodiment of the present application, as shown in fig. 3, the network access apparatus 400 further includes: a sending module 403, wherein:
a sending module 403, configured to send a connection establishment request to the network side device, where the connection establishment request is used to instruct the network side device to release connection context information of the VoWiFi network before the network side device releases the connection context information; the executing module 402 is specifically configured to: if the connection establishment request sent by the sending module 403 is successfully sent, a connection establishment procedure of the VoWiFi network is triggered.
Optionally, in this embodiment of the application, the executing module 402 is specifically configured to: if the electronic equipment is detected not to send a connection establishment request to the network side equipment, triggering a connection establishment process of the VoWiFi network when a first timer is overtime; the time length of the first timer is greater than or equal to the time length required by the network side equipment to release the connection context information.
Optionally, in this embodiment of the application, the executing module 402 is further configured to: if the network access setting information acquired by the acquisition module 401 indicates that the electronic device preferentially accesses the VoWiFi network and the operator information of the electronic device includes a target mark, determining whether to trigger a connection establishment procedure of the VoWiFi network according to whether the network-side device currently releases the previous connection context information of the VoWiFi network; wherein the target mark is used for indicating: when the VoWiFi network is re-registered, the network side device needs to release the previous connection context information of the VoWiFi network.
The network access device provided by the embodiment of the application acquires the network access setting information of the electronic equipment if the VoWiFi network is detected to be disconnected under the condition that the electronic equipment is registered in the VoWiFi network, and determines whether to trigger the connection establishment process of the VoWiFi network according to the connection context information of the VoWiFi network before the network side equipment is released currently if the network access setting information indicates that the electronic equipment is preferentially accessed to the VoWiFi network. Therefore, the method and the device ensure that the user can smoothly register the IMS service in any scene that the electronic equipment is disconnected and then connected with the Wi-Fi in the VoWiFi registration state, improve the registration performance of the IMS, avoid the problem of power consumption of the terminal side and the network side caused by frequent and invalid VoWiFi registration operation, and save resources of the terminal side and the network side.
The network access device in the embodiment of the present application may be a device, and may also be a component, an integrated circuit, or a chip in a terminal. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The network access device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The network access device provided in the embodiment of the present application can implement each process implemented by the method embodiment corresponding to fig. 1, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 800 is further provided in the embodiment of the present application, and includes a processor 801, a memory 802, and a program or an instruction that is stored in the memory 802 and is executable on the processor 801, where the program or the instruction is executed by the processor 801 to implement each process of the foregoing network access method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 110 is configured to, in a case that the electronic device is registered in a VoWiFi network, if it is detected that the VoWiFi network is disconnected, obtain network access setting information of the electronic device; the processor 110 is further configured to determine whether to trigger a connection establishment procedure of the VoWiFi network according to whether the network side device currently releases the previous connection context information of the VoWiFi network if the acquired network access setting information indicates that the electronic device preferentially accesses the VoWiFi network.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to: if the connection context information of the VoWiFi network before the network side equipment is released currently is determined, triggering a connection establishment process of the VoWiFi network; if it is determined that the network-side device has not released the connection context information currently, if the electronic device has been registered in the VoLTE network currently, the electronic device continues to reside in the VoLTE network, and if the electronic device has not been registered in the VoLTE network currently, a connection establishment procedure of the VoLTE network is triggered.
Optionally, in this embodiment of the present application, the radio frequency unit 101 is configured to send a connection establishment request to the network side device, where the connection establishment request is used to instruct the network side device to release connection context information of the VoWiFi network before the network side device releases the VoWiFi network; the processor 110 is specifically configured to: and triggering a connection establishment process of the VoWiFi network when the connection establishment request sent by the rf unit 101 is successfully sent.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to: if the electronic equipment is detected not to send a connection establishment request to the network side equipment, triggering a connection establishment process of the VoWiFi network when a first timer is overtime; the time length of the first timer is greater than or equal to the time length required by the network side equipment to release the connection context information.
Optionally, in this embodiment of the application, the processor 110 is further configured to: if the network access setting information indicates that the electronic equipment is preferentially accessed to the VoWiFi network and the operator information of the electronic equipment comprises a target mark, determining whether to trigger a connection establishment process of the VoWiFi network according to the connection context information of the VoWiFi network before the network side equipment is released currently; wherein the target mark is used for indicating: when the VoWiFi network is re-registered, the network side device needs to release the previous connection context information of the VoWiFi network.
According to the electronic equipment provided by the embodiment of the application, under the condition that the electronic equipment is registered in a VoWiFi network, if the VoWiFi network is detected to be disconnected, network access setting information of the electronic equipment is obtained, and if the network access setting information indicates that the electronic equipment is preferentially accessed to the VoWiFi network, whether a connection establishment process of the VoWiFi network is triggered or not is determined according to the connection context information of the VoWiFi network before the network side equipment is released currently. Therefore, the method and the device ensure that the user can smoothly register the IMS service in any scene that the electronic equipment is disconnected and then connected with the Wi-Fi in the VoWiFi registration state, improve the registration performance of the IMS, avoid the power consumption problem of the terminal side and the network side caused by frequent and invalid VoWiFi registration operation, and save the resources of the terminal side and the network side.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing network access method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the method embodiment of the network access method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a component of' 8230; \8230;" does not exclude the presence of another like element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatuses in the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions recited, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application or portions thereof that contribute to the prior art may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for network access, the method comprising:
under the condition that the electronic equipment is registered to a VoWiFi network, if the VoWiFi network is detected to be disconnected, network access setting information of the electronic equipment is acquired;
and if the network access setting information indicates that the electronic equipment accesses the VoWiFi network preferentially, determining whether to trigger a connection establishment process of the VoWiFi network according to the connection context information of the VoWiFi network before the network side equipment is released currently.
2. The method according to claim 1, wherein the determining whether to perform the connection establishment procedure of the VoWiFi network according to whether the network-side device currently releases the previous connection context information of the VoWiFi network comprises:
if the connection context information of the VoWiFi network before the network side equipment is released currently is determined, triggering a connection establishment process of the VoWiFi network;
if the fact that the network side equipment does not release the connection context information currently is determined, if the electronic equipment is registered to a VoLTE network currently, the electronic equipment continues to reside in the VoLTE network, and if the electronic equipment is not registered to the VoLTE network currently, a connection establishment process of the VoLTE network is triggered.
3. The method according to claim 2, wherein before the triggering the connection establishment procedure of the VoWiFi network, the method further comprises:
sending a connection establishment request to the network side equipment, wherein the connection establishment request is used for indicating connection context information of the VoWiFi network before the network side equipment is released;
if the connection context information of the VoWiFi network before the network side equipment is currently released is determined, triggering a connection establishment process of the VoWiFi network, including:
and under the condition that the connection establishment request is successfully sent, triggering a connection establishment process of the VoWiFi network.
4. The method according to claim 2, wherein if it is determined that the network-side device has released the previous context information on the connection of the VoWiFi network, triggering a connection establishment procedure of the VoWiFi network, includes:
if the electronic equipment is detected not to send a connection establishment request to the network side equipment, triggering a connection establishment process of the VoWiFi network when a first timer is overtime;
the timing duration of the first timer is greater than or equal to the duration required by the network side equipment to release the connection context information.
5. The method according to claim 1, wherein if the network access setting information indicates that the electronic device has a priority to access the VoWiFi network, the determining whether to trigger a connection establishment procedure of the VoWiFi network according to whether the network-side device currently releases the previous connection context information of the VoWiFi network comprises:
if the network access setting information indicates that the electronic equipment is preferentially accessed to the VoWiFi network and the operator information of the electronic equipment contains a target mark, determining whether to trigger a connection establishment process of the VoWiFi network according to the connection context information of the VoWiFi network before the network side equipment is released currently;
wherein the target mark is used for indicating: when the VoWiFi network is re-registered, the network side equipment needs to release the previous connection context information of the VoWiFi network.
6. A network access apparatus, the apparatus comprising:
the acquisition module is used for acquiring network access setting information of the electronic equipment if the VoWiFi network is detected to be disconnected under the condition that the electronic equipment is registered in the VoWiFi network;
and the execution module is used for determining whether to trigger a connection establishment process of the VoWiFi network according to the connection context information of the VoWiFi network before the network side equipment is released currently if the network access setting information acquired by the acquisition module indicates that the electronic equipment preferentially accesses the VoWiFi network.
7. The apparatus of claim 6, wherein the execution module is specifically configured to:
if the connection context information of the VoWiFi network before the network side equipment is released currently is determined, triggering a connection establishment process of the VoWiFi network;
if the fact that the network side equipment does not release the connection context information currently is determined, if the electronic equipment is registered to the VoLTE network currently, the electronic equipment continues to reside in the VoLTE network, and if the electronic equipment is not registered to the VoLTE network currently, a connection establishment process of the VoLTE network is triggered.
8. The apparatus of claim 7, further comprising:
a sending module, configured to send a connection establishment request to the network side device, where the connection establishment request is used to indicate connection context information of the VoWiFi network before the network side device releases the connection;
the execution module is specifically configured to:
and under the condition that the connection establishment request sent by the sending module is successfully sent, triggering a connection establishment process of the VoWiFi network.
9. The apparatus of claim 7, wherein the execution module is specifically configured to:
if the electronic equipment is detected not to send a connection establishment request to the network side equipment, triggering a connection establishment flow of the VoWiFi network when a first timer is timed out;
the timing duration of the first timer is greater than or equal to the duration required by the network side equipment to release the connection context information.
10. The apparatus of claim 6, wherein the execution module is further configured to:
if the network access setting information acquired by the acquisition module indicates that the electronic equipment is preferentially accessed to the VoWiFi network and the operator information of the electronic equipment contains a target mark, determining whether to trigger a connection establishment process of the VoWiFi network according to the connection context information of the VoWiFi network before the network side equipment is released currently;
wherein the target mark is used for indicating: when the VoWiFi network is re-registered, the network side equipment needs to release the previous connection context information of the VoWiFi network.
CN202010948808.8A 2020-09-10 2020-09-10 Network access method and device Active CN112153723B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010948808.8A CN112153723B (en) 2020-09-10 2020-09-10 Network access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010948808.8A CN112153723B (en) 2020-09-10 2020-09-10 Network access method and device

Publications (2)

Publication Number Publication Date
CN112153723A CN112153723A (en) 2020-12-29
CN112153723B true CN112153723B (en) 2022-12-09

Family

ID=73889534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010948808.8A Active CN112153723B (en) 2020-09-10 2020-09-10 Network access method and device

Country Status (1)

Country Link
CN (1) CN112153723B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3132623A4 (en) * 2014-05-29 2017-10-11 T-Mobile USA, Inc. Wi-fi calling using sip-ims handset and evolved packet data gateway
CN104066109B (en) * 2014-06-30 2018-01-26 中国联合网络通信集团有限公司 The registration management method, apparatus and system of IMS network
EP3479539B1 (en) * 2016-06-30 2023-05-10 British Telecommunications public limited company Wireless access point
US11206606B2 (en) * 2017-08-09 2021-12-21 Samsung Electronics Co., Ltd. Method and system for handling registration and session management in wireless communication system
US11570675B2 (en) * 2018-01-18 2023-01-31 British Telecommunications Public Limited Company IMS registration management

Also Published As

Publication number Publication date
CN112153723A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
US20230054710A1 (en) Method and Terminal for Supporting Voice Service and Data Service Simultaneously
EP3337245B1 (en) Method and apparatus for handling abnormality of network communication function and storage medium
JP2014524186A (en) Method and terminal for automatically accessing a Wi-Fi network
US9974010B2 (en) System and method for establishing network connection and terminal having the system
US20130324185A1 (en) Mode Switching Method and Device
CN113365234B (en) Calling method and device and electronic equipment
WO2020237523A1 (en) Method for determining network switching resource and method for configuring network switching resource
US20240007906A1 (en) Voice service switching method and apparatus and user equipment
CN107635261B (en) Network switching control method and mobile terminal
WO2020237522A1 (en) Network switch resource determining method and network switch resource configuration method
CN113453318B (en) Paging method, equipment and system
US20230088033A1 (en) Wi-fi control method and apparatus and electronic device
CN112153723B (en) Network access method and device
WO2023061347A1 (en) Call processing method and apparatus, electronic device, and storage medium
CN108476465B (en) CSFB network holding method and user terminal
CN114158100B (en) Network switching method and device, mobile terminal and readable storage medium
US10798771B2 (en) Communication method and communication apparatus
WO2024078493A1 (en) Paging method and apparatus, and electronic device and storage medium
CN112616167B (en) Switching method and device
CN115209521B (en) Message processing method, device, equipment and storage medium
WO2022198417A1 (en) Information sending method and apparatus, and information receiving method and apparatus
US20240073861A1 (en) Capability sending method and apparatus, and capability determination method and apparatus
KR20080056838A (en) Apparatus and method for resource managing in portable communication system
CN112566205A (en) Method and device for processing communication service
CN116962356A (en) Communication abnormality recovery method, device, medium and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant