[go: up one dir, main page]

WO2022233265A1 - Network access method and apparatus - Google Patents

Network access method and apparatus Download PDF

Info

Publication number
WO2022233265A1
WO2022233265A1 PCT/CN2022/090119 CN2022090119W WO2022233265A1 WO 2022233265 A1 WO2022233265 A1 WO 2022233265A1 CN 2022090119 W CN2022090119 W CN 2022090119W WO 2022233265 A1 WO2022233265 A1 WO 2022233265A1
Authority
WO
WIPO (PCT)
Prior art keywords
sim card
address
epdg address
epdg
authentication request
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.)
Ceased
Application number
PCT/CN2022/090119
Other languages
French (fr)
Chinese (zh)
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
Publication of WO2022233265A1 publication Critical patent/WO2022233265A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • 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

Definitions

  • the embodiments of the present application relate to the field of information processing, and in particular, to a network access method and apparatus.
  • VoWiFi Voice over Wi-Fi
  • a SIM card may be randomly selected to initiate the VoWiFi service. If any SIM card cannot carry out the VoWiFi service, it may lead to If the VoWiFi service fails to be launched, the authentication and other processes need to be performed again, the time for the interaction between the electronic device and the network will increase, and the efficiency of VoWiFi service access will also decrease.
  • an embodiment of the present application provides a network access method, which is applied to an electronic device, where the electronic device includes multiple SIM cards, and the method may include:
  • an embodiment of the present application provides a network access device, which is applied to an electronic device, where the electronic device includes a plurality of user identification modules SIM cards, and the device may include:
  • an obtaining module configured to obtain the ePDG address of the target evolved packet data gateway, where the target ePDG address is the ePDG address registered by the first SIM card for the wireless fidelity-based voice service VoWiFi and has passed the authentication;
  • the control module is configured to control the second SIM card to initiate an authentication request through the target ePDG address.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, where the program or instruction is executed by the processor When implementing the steps of the method as described in the first aspect.
  • an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented.
  • an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the method described in the first aspect.
  • the target ePDG address that the first SIM card registers for the wireless fidelity-based voice service VoWiFi and passes the authentication is obtained, and then the second SIM card is controlled to initiate an authentication request through the target ePDG address. Since the target ePDG address is the gateway address through which the authentication request initiated by the first SIM card passes, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, which can reduce the time for interaction with the network and improve access to VoWiFi. business efficiency.
  • FIG. 3 is a flowchart of a method for implementing network access provided by an embodiment of the present application.
  • FIG. 4 is a flowchart of another method for implementing network access provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a network access device according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device according to another embodiment of the present application.
  • the network access method provided by the embodiment of the present application can be applied to at least the following application scenarios, which are described below.
  • electronic devices with multiple card slots can install multiple SIM cards, allowing users to have one electronic device and experience the services of different operators, but also bring challenges to some businesses.
  • the probability that each SIM card can successfully conduct business is a, b, ⁇ , n, where n is a positive integer.
  • the value range of each probability is in [0,1].
  • the probability of successfully performing the VoWiFi service is a; when there are two cards, the probability of successfully performing the VoWiFi service is between [a, ab], and so on. The more the number of SIM cards, the lower the probability of successful VoWiFi business.
  • the embodiments of the present application provide a network access method and device, so as to solve the problem of low access efficiency of the VoWiFi service in the related art with the increase of SIM cards.
  • the method provided by the embodiment of the present application can be applied to any scenario where the access efficiency of the VoWiFi service is low as the number of SIM cards increases, in addition to the above application scenarios.
  • the second SIM card is controlled to initiate an authentication request through the target ePDG address by obtaining the target ePDG address that the first SIM card registers for the wireless fidelity-based voice service VoWiFi and passes the authentication. Since the target ePDG address is the gateway address through which the authentication request initiated by the first SIM card passes, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, which can reduce the time for interaction with the network and improve access to VoWiFi. business efficiency.
  • the electronic device 100 For any SIM card in the electronic device 100, it is possible to connect to the ePDG 300 through any WiFi wireless access point (ie, the network 200). Then, the ePDG300 is connected to the PGW400. Finally, the IMS core network 500 is accessed through the PGW 400 . Since the electronic device 100 and the ePDG 300 are in a public network and there are insecure factors, an IPSec secure tunnel will be established between the electronic device 100 and the ePDG 300, and the electronic device 100 can complete the identity authentication and IPSec establishment process through the IKEv2 protocol. After the IPSec is established, the VoWiFi service can be registered with the IMS core network and subsequent service calls can be made. Based on the solution shown in FIG.
  • the ePDG address is queried, and then each SIM card is controlled to initiate an authentication request to the corresponding ePDG address; in the first
  • the second SIM card is controlled to initiate an authentication request to the target ePDG address that has passed the authentication request. Since the speed of obtaining the target ePDG address passed by the authentication request is much faster than the speed of re-querying the ePDG address, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, thereby reducing the time for interacting with the network. , to improve the efficiency of accessing VoWiFi services.
  • FIG. 2 is a flowchart of a network access method provided by an embodiment of the present application.
  • the network access method may include steps 210 to 220, and the method is applied to a network access device, as follows:
  • step 210 a target ePDG address is obtained, and the target ePDG address is the ePDG address registered by the first SIM card for VoWiFi and passed the authentication.
  • Step 220 controlling the second SIM card to initiate an authentication request through the target ePDG address.
  • the network access method provided by the present application controls the second SIM card to initiate an authentication request through the target ePDG address by obtaining the target ePDG address registered by the first SIM card for the wireless fidelity-based voice service VoWiFi and passing the authentication. Since the target ePDG address is the gateway address through which the authentication request initiated by the first SIM card passes, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, which can reduce the time for interaction with the network and improve access to VoWiFi. business efficiency.
  • a SIM card is a subscriber identification card held by mobile users of the Global System for Mobile Communications (GSM).
  • GSM Global System for Mobile Communications
  • the GSM system identifies GSM users through the SIM card.
  • the same SIM card can be used on different electronic devices. Electronic devices can only be used after inserting a SIM card.
  • the SIM card is the key for the electronic device to connect to the GSM network. After the SIM card is installed in the electronic device, it can enjoy various services provided by the network operator.
  • VoWiFi technology came into being. This technology uses the existing Wi-Fi (WIreless-Fidelity, wireless fidelity) network to realize wireless VoIP voice calls. Users can make roaming voice calls at any time within the coverage of WLAN network through VoWiFi electronic devices. ,video call.
  • VoWiFi uses WiFi as an access network, and ultimately accesses IMS (IP Multimedia Subsystem, IP Multimedia Subsystem), which is an IP voice service that operators can control and manage.
  • IMS IP Multimedia Subsystem, IP Multimedia Subsystem
  • step 210 is involved.
  • step 210 the following steps may also be included:
  • the authentication result of the first SIM card is that the authentication request has passed, and the authentication result of the second SIM card is that the authentication request has failed;
  • the electronic device can know which ePDGs authenticated by the SIM cards are available according to the authentication result. That is, it is determined that the authentication result is the target ePDG address corresponding to the first SIM card that has passed the authentication request.
  • the first SIM card that passes the authentication request may register for VoWiFi through the target ePDG address.
  • the ePDG address is queried to determine the updated ePDG address; multiple SIM cards are controlled to initiate authentication requests to the updated ePDG address.
  • the ePDG information can be queried again through the static query method configured locally or the dynamic query method through DNS to determine the updated ePDG address. Then control multiple SIM cards to initiate an authentication request to the updated ePDG address.
  • step 220 is involved.
  • the second SIM card Determine the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs; if the first operator and the second operator are consistent, or, if the first operator and the second operator Under the condition that the business complies with the preset contract conditions, the second SIM card is controlled to initiate an authentication request to the target ePDG address.
  • step 220 the following steps may be specifically included:
  • Step 310 Determine the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs.
  • Step 320 in the case that the first operator is consistent with the second operator, control the second SIM card to initiate an authentication request to the target ePDG address.
  • step 220 the following steps may be specifically included:
  • Step 410 Determine the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs.
  • Step 420 in the case that the first operator and the second operator meet the preset contract conditions, control the second SIM card to initiate an authentication request to the target ePDG address.
  • the second SIM card can be controlled to initiate an authentication request to the target ePDG address.
  • the electronic device includes multiple SIM cards, as long as one SIM card (the first SIM card) is successfully registered with VoWiFi, and the first operator is the same as the second operator, or in the first SIM card Under the condition that the first operator and the second operator meet the preset contract conditions, other SIM cards (second SIM cards) can learn from the target ePDG address of the first SIM card to initiate VoWiFi registration. Since the electronic device knows the target ePDG address selected by all SIM cards that have successfully registered with VoWiFi, the second SIM card cannot be registered for VoWiFi due to the unavailability of the ePDG address. This can greatly improve the success rate and efficiency of VoWiFi access, thereby improving the user experience.
  • the target ePDG address selected by all SIM cards that have successfully registered with VoWiFi
  • the second SIM card cannot be registered for VoWiFi due to the unavailability of the ePDG address. This can greatly improve the success rate and efficiency of VoWiFi access, thereby improving the user experience.
  • step 220 the following steps may also be included:
  • the ePDG address of the second SIM card is re-queried in the authentication result, and the updated ePDG address of the second SIM card is determined, and the updated ePDG address is the authentication In the result, the ePDG address other than the target ePDG address passed the authentication request; the second SIM card is controlled to initiate an authentication request to the updated ePDG address.
  • the second SIM card that cannot be registered on VoWiFi due to invalid ePDG can first try the target ePDG address. If the second SIM card fails to initiate an authentication request to the target ePDG address, the ePDG address of the second SIM card can be re-queried. In the authentication result, the ePDG addresses that pass the authentication request except the target ePDG address are determined, that is, the updated ePDG address of the second SIM card. Then, the second SIM card is controlled to initiate an authentication request to the updated ePDG address.
  • the ePDG address can be queried by the original static query or dynamic DNS query again to determine the updated ePDG address, and then control the second SIM card to send The updated ePDG address initiates an authentication request.
  • the target ePDG address that the first SIM card registers for the wireless fidelity-based voice service VoWiFi and passes the authentication is obtained, and then the second SIM card is controlled to initiate an authentication request through the target ePDG address. Since the target ePDG address is the gateway address through which the authentication request initiated by the first SIM card passes, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, which can reduce the time for interaction with the network and improve access to VoWiFi. business efficiency.
  • the execution body may be a network access device, or a control module in the network access device for executing the loading network access method.
  • the network access method provided by the embodiment of the present application is described by taking the network access device executing the method for loading the network access as an example.
  • FIG. 5 is a schematic structural diagram of a network access apparatus according to an embodiment of the present application.
  • the network access apparatus 500 may include:
  • the obtaining module 510 is configured to obtain the target EPG ePDG address, where the target ePDG address is the ePDG address registered by the first SIM card for the wireless fidelity-based voice service VoWiFi and has passed the authentication.
  • the control module 520 is configured to control the second SIM card to initiate an authentication request through the target ePDG address.
  • the obtaining module 510 is further configured to obtain an authentication result of each SIM card sending an authentication request to the ePDG address.
  • the network access apparatus 500 may further include:
  • the first determining module is further configured to determine the target ePDG address corresponding to the first SIM card.
  • control module 520 includes:
  • the second determining module is configured to determine the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs.
  • the control module 520 is specifically configured to control the second SIM card to the target when the first operator and the second operator are consistent, or when the first operator and the second operator meet the preset contract conditions.
  • the ePDG address initiates an authentication request.
  • the network access apparatus 500 may further include:
  • the query module is used to query the ePDG address in response to the access request of each SIM card to VoWiFi, and obtain the address query result.
  • the control module 520 is further configured to control each SIM card to initiate an authentication request to the ePDG address corresponding to the address query result.
  • the network access apparatus 500 may further include:
  • the third determination module is used to re-query the ePDG address of the second SIM card in the authentication result when the second SIM card fails to initiate the authentication request to the target ePDG address, and determine the updated ePDG address of the second SIM card,
  • the updated ePDG address is the ePDG address that passes the authentication request except the target ePDG address in the authentication result.
  • the network access device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the apparatus may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc.
  • the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc.
  • NAS network attached storage
  • PC personal computer
  • TV television
  • teller machine a teller machine
  • self-service machine etc.
  • the network access device in this embodiment of the present application may be a device having an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.
  • the network access apparatus provided in the embodiments of the present application can implement each process implemented by the network access apparatus in the method embodiments of FIG. 2 to FIG. 4 . To avoid repetition, details are not repeated here.
  • an embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601, the program Or when the instruction is executed by the processor 601, each process of the above-mentioned embodiment of the method for creating a chat group can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device according to another embodiment of the present application.
  • the electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710 and a power supply 711 and other components.
  • the input unit 704 may include a graphics processor 7041 and a microphone 7042; the display unit 706 may include a display panel 7061; the user input unit 707 may include a touch panel 7071 and other input devices 7072; and the memory 709 may include application programs and operating systems.
  • the electronic device 700 may also include a power supply (such as a battery) for supplying power to various components, and the power supply 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and Power management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .
  • the network module 702 is configured to obtain the ePDG address of the target evolved packet data gateway, where the target ePDG address is the ePDG address registered by the first SIM card for the wireless fidelity-based voice service VoWiFi and has passed the authentication.
  • the processor 710 is configured to control the second SIM card to initiate an authentication request through the target ePDG address.
  • the network module 702 is further configured to obtain an authentication result of each SIM card sending an authentication request to the ePDG address.
  • the processor 710 is further configured to determine the first SIM card and the second SIM card according to the authentication result; the authentication result of the first SIM card is that the authentication request has passed, and the authentication result of the second SIM card is that the authentication request has failed.
  • the processor 710 is further configured to determine the target ePDG address corresponding to the first SIM card.
  • the processor 710 is further configured to determine the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs.
  • the processor 710 is further configured to control the second SIM card to the target when the first operator and the second operator are consistent, or when the first operator and the second operator meet preset contract conditions.
  • the ePDG address initiates an authentication request.
  • the processor 710 is further configured to query the ePDG address in response to each SIM card's access request to VoWiFi, and obtain an address query result.
  • the processor 710 is further configured to control each SIM card to initiate an authentication request to the ePDG address corresponding to the address query result.
  • the processor 710 is further configured to re-query the ePDG address of the second SIM card in the authentication result in the event that the second SIM card fails to initiate an authentication request to the target ePDG address, and determine that after the update of the second SIM card
  • the updated ePDG address is the ePDG address that passes the authentication request except the target ePDG address in the authentication result.
  • the processor 710 is further configured to control the second SIM card to initiate an authentication request to the updated ePDG address.
  • 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 instruction is executed by a processor, each process of the foregoing network access method embodiment is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device described in the foregoing embodiments.
  • the readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • An 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 run a program or an instruction to implement the foregoing network access method embodiments and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.
  • the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.
  • a storage medium such as ROM/RAM, magnetic disk, CD-ROM

Landscapes

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

Abstract

Disclosed in the embodiments of the present application are a network access method and apparatus, which method is applicable to an electronic device, the electronic device comprising a plurality of SIM cards. The method comprises: acquiring a target evolved packet data gateway (ePDG) address, the target ePDG address being an ePDG address with which a first SIM card registers a voice over Wi-Fi (VoWiFi) service and is certified; and controlling a second SIM card to initiate an authentication request by means of the target ePDG address.

Description

一种网络接入方法和装置A kind of network access method and device

相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS

本申请要求享有于2021年05月06日提交的名称为“一种网络接入方法和装置”的中国专利申请202110490829.4的优先权,该申请的全部内容通过引用并入本文中。This application claims the priority of Chinese Patent Application No. 202110490829.4 filed on May 6, 2021, entitled "A Method and Device for Network Access", the entire contents of which are incorporated herein by reference.

技术领域technical field

本申请实施例涉及信息处理领域,尤其涉及一种网络接入方法和装置。The embodiments of the present application relate to the field of information processing, and in particular, to a network access method and apparatus.

背景技术Background technique

随着技术的不断发展,多卡槽的电子设备可以安装多个用户身份识别模块(Subscriber Identity Module,SIM)卡,让用户同时体验不同运营商服务的同时,也给一些业务带来了挑战。With the continuous development of technology, electronic devices with multiple card slots can be installed with multiple Subscriber Identity Module (SIM) cards, allowing users to experience the services of different operators at the same time, but also brings challenges to some businesses.

比如,用户想使用Wi-Fi的语音业务(Voice over Wi-Fi,VoWiFi)的时候,可能会随机选择一个SIM卡发起VoWiFi业务,如果有任何一张SIM卡不能开展VoWiFi业务,都可能会导致VoWiFi业务开展的失败,这样一来,需要再次进行认证等流程,电子设备与网络进行交互的时间随之增多,VoWiFi业务接入的效率也随之降低。For example, when a user wants to use the Wi-Fi voice service (Voice over Wi-Fi, VoWiFi), a SIM card may be randomly selected to initiate the VoWiFi service. If any SIM card cannot carry out the VoWiFi service, it may lead to If the VoWiFi service fails to be launched, the authentication and other processes need to be performed again, the time for the interaction between the electronic device and the network will increase, and the efficiency of VoWiFi service access will also decrease.

由此,随着SIM卡的增多,VoWiFi业务接入效率低。Therefore, with the increase of SIM cards, the access efficiency of VoWiFi services is low.

发明内容SUMMARY OF THE INVENTION

本申请实施例提供一种网络接入方法和装置,以解决随着SIM卡的增多,VoWiFi业务接入效率低的问题。The embodiments of the present application provide a network access method and device, so as to solve the problem of low access efficiency of VoWiFi services with the increase of SIM cards.

第一方面,本申请实施例提供了一种网络接入方法,应用于电子设备,电子设备包括多个SIM卡,该方法可以包括:In a first aspect, an embodiment of the present application provides a network access method, which is applied to an electronic device, where the electronic device includes multiple SIM cards, and the method may include:

获取目标ePDG地址,目标ePDG地址为第一SIM卡注册基于VoWiFi并通过认证的ePDG地址;控制第二SIM卡通过目标ePDG地址发起认证请求。Obtain a target ePDG address, where the target ePDG address is an ePDG address registered by the first SIM card based on VoWiFi and passed the authentication; control the second SIM card to initiate an authentication request through the target ePDG address.

第二方面,本申请实施例提供了一种网络接入装置,应用于电子设备,电子设备包括多个用户身份识别模块SIM卡,该装置可以包括:In a second aspect, an embodiment of the present application provides a network access device, which is applied to an electronic device, where the electronic device includes a plurality of user identification modules SIM cards, and the device may include:

获取模块,用于获取目标演进型分组数据网关ePDG地址,目标ePDG地址为第一SIM卡注册基于无线保真的语音业务VoWiFi并通过认证的ePDG地址;an obtaining module, configured to obtain the ePDG address of the target evolved packet data gateway, where the target ePDG address is the ePDG address registered by the first SIM card for the wireless fidelity-based voice service VoWiFi and has passed the authentication;

控制模块,用于控制第二SIM卡通过目标ePDG地址发起认证请求。The control module is configured to control the second SIM card to initiate an authentication request through the target ePDG address.

第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,该程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, where the program or instruction is executed by the processor When implementing the steps of the method as described in the first aspect.

第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,该程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the method according to the first aspect are implemented.

第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面所述的方法。In a fifth aspect, an embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement the method described in the first aspect.

本申请实施例中,通过获取第一SIM卡注册基于无线保真的语音业务VoWiFi并通过认证的目标ePDG地址,然后控制第二SIM卡通过目标ePDG地址发起认证请求。由于目标ePDG地址为第一SIM卡发起的认证请求通过的网关地址,所以第二SIM卡向目标ePDG地址发起的认证请求通过的概率大大提高,进而可以减少和网络交互的时间,提高接入VoWiFi业务的效率。In the embodiment of the present application, the target ePDG address that the first SIM card registers for the wireless fidelity-based voice service VoWiFi and passes the authentication is obtained, and then the second SIM card is controlled to initiate an authentication request through the target ePDG address. Since the target ePDG address is the gateway address through which the authentication request initiated by the first SIM card passes, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, which can reduce the time for interaction with the network and improve access to VoWiFi. business efficiency.

附图说明Description of drawings

从下面结合附图对本申请的具体实施方式的描述中可以更好地理解本申请其中,相同或相似的附图标记表示相同或相似的特征。The present application can be better understood from the following description of specific embodiments of the present application in conjunction with the accompanying drawings, wherein the same or similar reference numerals denote the same or similar features.

图1为本申请实施例提供的网络接入方法的一种架构示意图;FIG. 1 is a schematic structural diagram of a network access method provided by an embodiment of the present application;

图2为本申请一实施例提供的网络接入方法的流程图;FIG. 2 is a flowchart of a network access method provided by an embodiment of the present application;

图3为本申请实施例提供的一种实现网络接入方法的流程图;3 is a flowchart of a method for implementing network access provided by an embodiment of the present application;

图4为本申请实施例提供的另一种实现网络接入方法的流程图;4 is a flowchart of another method for implementing network access provided by an embodiment of the present application;

图5为本申请一实施例提供的网络接入装置的结构示意图;FIG. 5 is a schematic structural diagram of a network access device according to an embodiment of the present application;

图6为本申请一实施例提供的电子设备的硬件结构示意图;6 is a schematic diagram of a hardware structure of an electronic device provided by an embodiment of the present application;

图7为本申请另一实施例提供的电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device according to another embodiment of the present application.

具体实施方式Detailed ways

下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.

本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the description and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the associated objects are in an "or" relationship.

本申请实施例提供的网络接入方法至少可以应用于下述应用场景中,下面进行说明。The network access method provided by the embodiment of the present application can be applied to at least the following application scenarios, which are described below.

目前,多卡槽的电子设备可以安装多个SIM卡,让用户在拥有一部电子设备,可以体验不同运营商服务的同时,也给一些业务带来了挑战。At present, electronic devices with multiple card slots can install multiple SIM cards, allowing users to have one electronic device and experience the services of different operators, but also bring challenges to some businesses.

其中,基于Wi-Fi的语音业务(Voice over Wi-Fi,VoWiFi)业务是电子设备一种比较常见的业务。VoWiFi有五种不同的网络架构,目前应用较为广泛,受到大部分电子设备厂商青睐的组网方案是S2b接口组网方案,也称作非信任域核心网络(EPC)接入方案。Among them, a Wi-Fi-based voice service (Voice over Wi-Fi, VoWiFi) service is a relatively common service of electronic equipment. VoWiFi has five different network architectures, and is currently widely used. The networking solution favored by most electronic equipment manufacturers is the S2b interface networking solution, also known as the untrusted domain core network (EPC) access solution.

其中,非信任域EPC接入方案,所有Wi-Fi(WIreless-Fidelity,无线保真)热点等非信任域设备均可以接入,通过演进型分组数据网关 (Evolevd Packet Data Gateway,ePDG)接入PDN网关(PDN Gateway,PGW),实现和EPC的互通。由于非受信域接入网络和EPC互通采用S2b接口,因此这种组网也称为S2b接口组网方案。这种方案对无线局域网(Wireless Local Area Network,WLAN)没有改造要求,安全性高,支持无缝切换,解决了语音、数据业务的连续性问题。Among them, in the untrusted domain EPC access scheme, all Wi-Fi (WIreless-Fidelity, Wireless Fidelity) hotspots and other untrusted domain devices can be accessed, and accessed through the Evolevd Packet Data Gateway (ePDG) PDN gateway (PDN Gateway, PGW), realizes the intercommunication with EPC. Since the untrusted domain access network and the EPC use the S2b interface for intercommunication, this networking is also called the S2b interface networking solution. This solution does not require modification of the Wireless Local Area Network (WLAN), has high security, supports seamless handover, and solves the problem of continuity of voice and data services.

这种方案很好地利用了现有的无线网络,只需要在原来的网络基础上,简单改造就能实现VoWiFi的功能,因此受到运营商和电子设备厂商的大力支持。在此方案中,电子设备通过非可信的无线网络接入到运营商可信的移动网络,将PGW作为WLAN和长期演进(Long Term Evolution,LTE)切换的锚点。其中,PGW是移动通信网络EPC中的重要网元。PGW为EPC网络的边界网关,提供用户的会话管理和承载控制、数据转发以及网络协议地址分配等功能。This solution makes good use of the existing wireless network, and only needs a simple transformation on the basis of the original network to realize the function of VoWiFi, so it is strongly supported by operators and electronic equipment manufacturers. In this solution, the electronic device accesses the operator's trusted mobile network through an untrusted wireless network, and uses the PGW as an anchor point for handover between WLAN and Long Term Evolution (Long Term Evolution, LTE). Among them, the PGW is an important network element in the mobile communication network EPC. The PGW is the border gateway of the EPC network and provides functions such as user session management and bearer control, data forwarding, and network protocol address allocation.

基于上述S2b接口组网方案,在经过一系列认证和鉴权后,可以实现语音、视频以及短信等业务。VoWiFi业务的开展,仅需要增加ePDG和验证、授权和记账(Authentication Authorization and Accounting,3GPP AAA)网元,其中ePDG可以看做是VoWiFi网络和PGW之间的一个连接支持网元。它连接非授信WiFi网络的终结SWu接口,通过互联网密钥交换协议(IKEv2)消息与电子设备进行交互,获取电子设备的认证信息,然后将认证信息与3GPP AAA进行交互,从而完成对用户鉴权和认证。将电子设备通过互联网安全协议(Internet Protocol Security,IPSec)隧道传输的用户数据进行解封装,通过自身和PGW之间的GTP隧道传输重新封装后的用户数据。Based on the above S2b interface networking solution, after a series of authentication and authentication, services such as voice, video, and short messages can be implemented. The development of VoWiFi service only needs to add ePDG and authentication, authorization and accounting (Authentication Authorization and Accounting, 3GPP AAA) network elements, in which ePDG can be regarded as a connection support network element between VoWiFi network and PGW. It connects to the termination SWu interface of the untrusted WiFi network, interacts with the electronic device through the Internet Key Exchange Protocol (IKEv2) message, obtains the authentication information of the electronic device, and then interacts with the 3GPP AAA to complete the user authentication. and certification. Decapsulate the user data transmitted by the electronic device through the Internet Protocol Security (IPSec) tunnel, and transmit the re-encapsulated user data through the GTP tunnel between itself and the PGW.

因此,ePDG起着连接非可信WiFi网络和PGW网元的枢纽作用。ePDG的选择对于VoWiFi业务的开展,有很大影响。Therefore, ePDG plays a pivotal role connecting untrusted WiFi networks and PGW network elements. The choice of ePDG has a great impact on the development of VoWiFi services.

对于包括多个SIM卡的电子设备而言,假设每张SIM卡能成功开展业务的概率为a、b、···、n,n为正整数。每个概率的取值范围在[0,1]。当只有一张SIM卡的时候,能成功进行VoWiFi业务的概率是a;当有两张卡时,能成功进行VoWiFi业务的概率在[a,ab]之间,依次类推,随着电子设备中的SIM卡的数量越多,能成功进行VoWiFi业务的概率则会越 低。For an electronic device including multiple SIM cards, it is assumed that the probability that each SIM card can successfully conduct business is a, b, ···, n, where n is a positive integer. The value range of each probability is in [0,1]. When there is only one SIM card, the probability of successfully performing the VoWiFi service is a; when there are two cards, the probability of successfully performing the VoWiFi service is between [a, ab], and so on. The more the number of SIM cards, the lower the probability of successful VoWiFi business.

针对相关技术出现的问题,本申请实施例提供一种网络接入方法及装置,以解决相关技术中,随着SIM卡的增多,VoWiFi业务接入效率低的问题。Aiming at the problems in the related art, the embodiments of the present application provide a network access method and device, so as to solve the problem of low access efficiency of the VoWiFi service in the related art with the increase of SIM cards.

本申请实施例提供的方法,除了可以应用到上述应用场景之外,还可以应用到任何随着SIM卡的增多,VoWiFi业务接入效率低的场景中。The method provided by the embodiment of the present application can be applied to any scenario where the access efficiency of the VoWiFi service is low as the number of SIM cards increases, in addition to the above application scenarios.

通过本申请实施例提供的方法,通过获取第一SIM卡注册基于无线保真的语音业务VoWiFi并通过认证的目标ePDG地址,控制第二SIM卡通过目标ePDG地址发起认证请求。由于目标ePDG地址为第一SIM卡发起的认证请求通过的网关地址,所以第二SIM卡向目标ePDG地址发起的认证请求通过的概率大大提高,进而可以减少和网络交互的时间,提高接入VoWiFi业务的效率。Through the method provided by the embodiment of the present application, the second SIM card is controlled to initiate an authentication request through the target ePDG address by obtaining the target ePDG address that the first SIM card registers for the wireless fidelity-based voice service VoWiFi and passes the authentication. Since the target ePDG address is the gateway address through which the authentication request initiated by the first SIM card passes, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, which can reduce the time for interaction with the network and improve access to VoWiFi. business efficiency.

基于上述应用场景,下面结合图1所示的架构图对本申请实施例提供的网络接入方法进行简要说明。Based on the above application scenario, the following briefly describes the network access method provided by the embodiment of the present application with reference to the architecture diagram shown in FIG. 1 .

首先,对于电子设备100中的任一SIM卡而言,可以通过任意一个WiFi无线访问接入点(即网络200)连接到ePDG300。然后,ePDG300连接到PGW400。最后,通过PGW400接入到IMS核心网500。由于电子设备100到ePDG300之间是公共网络,存在不安全因素,因此会在电子设备100与ePDG300之间建立一个IPSec安全隧道,电子设备100可以通过IKEv2协议来完成身份认证和IPSec建立过程。当IPSec建立完成后,就可以和向IMS核心网注册VoWiFi业务以及进行后续的业务呼叫了。基于上述图1所示的方案,所有Wi-Fi热点等非信任域设备均可以接入,通过ePDG接入PGW,以实现和核心网的互通。这种方案对WLAN没有改造要求,安全性高,保证语音以及数据业务的连续性。First, for any SIM card in the electronic device 100, it is possible to connect to the ePDG 300 through any WiFi wireless access point (ie, the network 200). Then, the ePDG300 is connected to the PGW400. Finally, the IMS core network 500 is accessed through the PGW 400 . Since the electronic device 100 and the ePDG 300 are in a public network and there are insecure factors, an IPSec secure tunnel will be established between the electronic device 100 and the ePDG 300, and the electronic device 100 can complete the identity authentication and IPSec establishment process through the IKEv2 protocol. After the IPSec is established, the VoWiFi service can be registered with the IMS core network and subsequent service calls can be made. Based on the solution shown in FIG. 1 above, all Wi-Fi hotspots and other untrusted domain devices can be accessed, and the PGW can be accessed through the ePDG to realize intercommunication with the core network. This solution does not require modification of WLAN, has high security, and ensures the continuity of voice and data services.

对于电子设备而言,响应于每个SIM卡对基于无线保真的语音业务VoWiFi的接入请求,查询ePDG地址,然后,控制每个SIM卡向所对应的ePDG地址发起认证请求;在第一SIM卡发起的认证请求通过且第二SIM卡发起的认证请求失败的情况下,控制第二SIM卡向认证请求通过的目标ePDG地址发起认证请求。由于获取认证请求通过的目标ePDG地址 的速度要远远快于重新查询ePDG地址的速度,所以第二SIM卡向目标ePDG地址发起的认证请求通过的概率大大提高,进而可以减少和网络交互的时间,提高接入VoWiFi业务的效率。For the electronic device, in response to the access request of each SIM card to the wireless fidelity-based voice service VoWiFi, the ePDG address is queried, and then each SIM card is controlled to initiate an authentication request to the corresponding ePDG address; in the first When the authentication request initiated by the SIM card passes and the authentication request initiated by the second SIM card fails, the second SIM card is controlled to initiate an authentication request to the target ePDG address that has passed the authentication request. Since the speed of obtaining the target ePDG address passed by the authentication request is much faster than the speed of re-querying the ePDG address, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, thereby reducing the time for interacting with the network. , to improve the efficiency of accessing VoWiFi services.

基于上述应用场景,下面对本申请实施例提供的网络接入方法进行详细说明。Based on the above application scenario, the network access method provided by the embodiment of the present application is described in detail below.

图2为本申请一实施例提供的网络接入方法的流程图。FIG. 2 is a flowchart of a network access method provided by an embodiment of the present application.

如图2所示,该网络接入方法可以包括步骤210-步骤220,该方法应用于网络接入装置,具体如下所示:As shown in FIG. 2 , the network access method may include steps 210 to 220, and the method is applied to a network access device, as follows:

步骤210,获取目标ePDG地址,目标ePDG地址为第一SIM卡注册VoWiFi并通过认证的ePDG地址。In step 210, a target ePDG address is obtained, and the target ePDG address is the ePDG address registered by the first SIM card for VoWiFi and passed the authentication.

步骤220,控制第二SIM卡通过目标ePDG地址发起认证请求。Step 220, controlling the second SIM card to initiate an authentication request through the target ePDG address.

本申请提供的网络接入方法,通过获取第一SIM卡注册基于无线保真的语音业务VoWiFi并通过认证的目标ePDG地址,控制第二SIM卡通过目标ePDG地址发起认证请求。由于目标ePDG地址为第一SIM卡发起的认证请求通过的网关地址,所以第二SIM卡向目标ePDG地址发起的认证请求通过的概率大大提高,进而可以减少和网络交互的时间,提高接入VoWiFi业务的效率。The network access method provided by the present application controls the second SIM card to initiate an authentication request through the target ePDG address by obtaining the target ePDG address registered by the first SIM card for the wireless fidelity-based voice service VoWiFi and passing the authentication. Since the target ePDG address is the gateway address through which the authentication request initiated by the first SIM card passes, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, which can reduce the time for interaction with the network and improve access to VoWiFi. business efficiency.

下面对本申请中涉及的专业词语进行简要介绍。The following is a brief introduction to the professional terms involved in this application.

SIM卡是全球移动通信系统(Global System for Mobile Communications,GSM)的移动用户所持有的用户识别卡。GSM系统通过SIM卡来识别GSM用户。同一张SIM卡可在不同的电子设备上使用。电子设备只有插入SIM卡后,才能入网使用。SIM卡是电子设备连接到GSM网络的钥匙,在电子设备安装了SIM卡后,可以享受网络运营商提供的各种服务。A SIM card is a subscriber identification card held by mobile users of the Global System for Mobile Communications (GSM). The GSM system identifies GSM users through the SIM card. The same SIM card can be used on different electronic devices. Electronic devices can only be used after inserting a SIM card. The SIM card is the key for the electronic device to connect to the GSM network. After the SIM card is installed in the electronic device, it can enjoy various services provided by the network operator.

VoWiFi技术应运而生,该技术是利用现有的Wi-Fi(WIreless-Fidelity,无线保真)网络实现无线的VoIP语音通话,用户可以通过VoWiFi电子设备在WLAN网络的覆盖范围内随时进行漫游语音、视频通话。VoWiFi将WiFi作为接入网,最终是要接入IMS(IP Multimedia Subsystem,IP多媒体子系统)的,它是运营商可以控制和管理的IP语音 服务。VoWiFi技术由于通信成本低,而且又能使用户获得WLAN带来的方便性,所以越来越受到人们的关注。VoWiFi technology came into being. This technology uses the existing Wi-Fi (WIreless-Fidelity, wireless fidelity) network to realize wireless VoIP voice calls. Users can make roaming voice calls at any time within the coverage of WLAN network through VoWiFi electronic devices. ,video call. VoWiFi uses WiFi as an access network, and ultimately accesses IMS (IP Multimedia Subsystem, IP Multimedia Subsystem), which is an IP voice service that operators can control and manage. VoWiFi technology has attracted more and more attention due to its low communication cost and the convenience brought by WLAN for users.

下面,对步骤210-步骤220的内容分别进行描述:Below, the contents of steps 210 to 220 are described respectively:

首先,涉及步骤210。First, step 210 is involved.

在一种可能的实施例中,在步骤210之前,还可以包括以下步骤:In a possible embodiment, before step 210, the following steps may also be included:

获取每个SIM卡向ePDG地址发起认证请求的认证结果;Obtain the authentication result that each SIM card initiates an authentication request to the ePDG address;

根据认证结果确定第一SIM卡和第二SIM卡;第一SIM卡的认证结果为认证请求通过,第二SIM卡的认证结果为认证请求失败;Determine the first SIM card and the second SIM card according to the authentication result; the authentication result of the first SIM card is that the authentication request has passed, and the authentication result of the second SIM card is that the authentication request has failed;

确定第一SIM卡对应的目标ePDG地址。Determine the target ePDG address corresponding to the first SIM card.

在所有SIM卡都完成了第一轮的ePDG认证流程之后,电子设备就可以根据认证结果得知哪些SIM卡认证的ePDG是可用的。即可以确定认证结果为认证请求通过的第一SIM卡对应的目标ePDG地址。认证请求通过的第一SIM卡可以通过目标ePDG地址注册VoWiFi。After all SIM cards have completed the first round of the ePDG authentication process, the electronic device can know which ePDGs authenticated by the SIM cards are available according to the authentication result. That is, it is determined that the authentication result is the target ePDG address corresponding to the first SIM card that has passed the authentication request. The first SIM card that passes the authentication request may register for VoWiFi through the target ePDG address.

其中,在上述涉及到的获取每个SIM卡向ePDG地址发起认证请求的认证结果的步骤之前,还可以包括以下步骤:Wherein, before the above-mentioned steps involved in obtaining the authentication result that each SIM card initiates an authentication request to the ePDG address, the following steps may also be included:

响应于每个SIM卡对VoWiFi的接入请求,查询ePDG地址,得到地址查询结果;控制每个SIM卡向地址查询结果对应的ePDG地址发起认证请求。In response to the access request of each SIM card to VoWiFi, query the ePDG address to obtain the address query result; control each SIM card to initiate an authentication request to the ePDG address corresponding to the address query result.

电子设备的多个SIM卡分别发起VoWiFi业务,通过本地配置的静态查询方式或通过域名系统(Domain Name System,DNS)的动态查询方式,来查询ePDG信息,得到地址查询结果。在得到地址查询结果之后,就可以控制每个SIM卡向地址查询结果对应的ePDG地址发起认证请求。Multiple SIM cards of the electronic device respectively initiate VoWiFi services, and query ePDG information through the static query method configured locally or through the dynamic query method of the Domain Name System (DNS) to obtain the address query result. After the address query result is obtained, each SIM card can be controlled to initiate an authentication request to the ePDG address corresponding to the address query result.

在一种可能的实施例中,在多个SIM卡发起的认证请求失败的情况下,查询ePDG地址,确定更新后的ePDG地址;控制多个SIM卡向更新后的ePDG地址发起认证请求。In a possible embodiment, when the authentication requests initiated by multiple SIM cards fail, the ePDG address is queried to determine the updated ePDG address; multiple SIM cards are controlled to initiate authentication requests to the updated ePDG address.

如果多个SIM卡发起的认证请求均失败,则可以重新通过本地配置的静态查询方式或通过DNS的动态查询方式,来查询ePDG信息,以确定更新后的ePDG地址。然后控制多个SIM卡向更新后的ePDG地址发起认证请求。If the authentication requests initiated by multiple SIM cards fail, the ePDG information can be queried again through the static query method configured locally or the dynamic query method through DNS to determine the updated ePDG address. Then control multiple SIM cards to initiate an authentication request to the updated ePDG address.

接着,涉及步骤220。Next, step 220 is involved.

由于ePDG无效而不能注册VoWiFi的第二SIM卡,可以优先尝试其他成功注册上VoWiFi的第一SIM卡的目标ePDG地址,从中选择其中合适的ePDG进行尝试。由于目标ePDG地址是第一SIM卡先前已经认证通过的,所以第二SIM卡向目标ePDG地址发起认证请求时,认证结果为认证通过的概率大大提高。Since the ePDG is invalid and the second SIM card of VoWiFi cannot be registered, the target ePDG address of the first SIM card successfully registered with VoWiFi can be tried preferentially, and a suitable ePDG can be selected to try. Since the target ePDG address is previously authenticated by the first SIM card, when the second SIM card initiates an authentication request to the target ePDG address, the probability that the authentication result is an authentication pass is greatly increased.

也就是说,通过上述多卡先验的方法,假设每张SIM卡能成功开展业务的概率为a、b、···、n,n为正整数。每个概率的取值范围在[0,1]。当只有一张SIM卡的时候,不能成功进行VoWiFi业务的概率是1-a;当有两张卡时,不能成功进行VoWiFi业务的概率在[(1-a)(1-b),1-a]之间,依次类推,只需要一张卡VoWiFi能正常开展,其他的卡都认为能正常开展。此时VoWiFi业务的失败概率为(1-a)(1-b)···(1-n),卡数越多,失败的概率反而越低,这充分利用了多卡的优势,能提高手机多卡情况下VoWiFi业务成功开展的概率。That is to say, through the above-mentioned multi-card prior method, it is assumed that the probability that each SIM card can successfully conduct business is a, b, ···, n, where n is a positive integer. The value range of each probability is [0, 1]. When there is only one SIM card, the probability of failing to conduct VoWiFi services is 1-a; when there are two cards, the probability of failing to conduct VoWiFi services is [(1-a)(1-b), 1- a], and so on, only one card is needed for VoWiFi to work normally, and other cards are considered to be able to work normally. At this time, the failure probability of VoWiFi service is (1-a)(1-b)...(1-n). The more cards there are, the lower the failure probability is. This makes full use of the advantages of multiple cards and can improve the Probability of successful VoWiFi service development in the case of multiple SIM cards.

其中,步骤220中,具体可以包括以下步骤:Wherein, in step 220, the following steps may be specifically included:

确定第一SIM卡所属的第一运营商,以及第二SIM卡所属的第二运营商;在第一运营商与第二运营商一致的情况下,或者,在第一运营商与第二运营商满足预设合约条件的情况下,控制第二SIM卡向目标ePDG地址发起认证请求。Determine the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs; if the first operator and the second operator are consistent, or, if the first operator and the second operator Under the condition that the business complies with the preset contract conditions, the second SIM card is controlled to initiate an authentication request to the target ePDG address.

其中,如图3所示,步骤220中,具体可以包括以下步骤:Wherein, as shown in FIG. 3, in step 220, the following steps may be specifically included:

步骤310,确定第一SIM卡所属的第一运营商,以及第二SIM卡所属的第二运营商。Step 310: Determine the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs.

步骤320,在第一运营商与第二运营商一致的情况下,控制第二SIM卡向目标ePDG地址发起认证请求。Step 320, in the case that the first operator is consistent with the second operator, control the second SIM card to initiate an authentication request to the target ePDG address.

即在第一SIM卡与第二SIM卡所属于相同的运营商的情况下,可以控制第二SIM卡向目标ePDG地址发起认证请求。That is, when the first SIM card and the second SIM card belong to the same operator, the second SIM card can be controlled to initiate an authentication request to the target ePDG address.

另外,如图4所示,步骤220中,具体可以包括以下步骤:In addition, as shown in FIG. 4 , in step 220, the following steps may be specifically included:

步骤410,确定第一SIM卡所属的第一运营商,以及第二SIM卡所属的第二运营商。Step 410: Determine the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs.

步骤420,在第一运营商与第二运营商满足预设合约条件的情况下,控制第二SIM卡向目标ePDG地址发起认证请求。Step 420, in the case that the first operator and the second operator meet the preset contract conditions, control the second SIM card to initiate an authentication request to the target ePDG address.

即在第一SIM卡与第二SIM卡所属的运营商属于签订了合约,彼此互相认可的运营商的情况下,可以控制第二SIM卡向目标ePDG地址发起认证请求。That is, when the operators to which the first SIM card and the second SIM card belong are operators that have signed a contract and mutually recognize each other, the second SIM card can be controlled to initiate an authentication request to the target ePDG address.

由此,在电子设备包括多个SIM卡的情况下,只要有SIM卡(第一SIM卡)成功注册上了VoWiFi,并且在第一运营商与第二运营商一致的情况下,或者在第一运营商与第二运营商满足预设合约条件的情况下,其他的SIM卡(第二SIM卡)就可以借鉴第一SIM卡的目标ePDG地址,发起VoWiFi注册。由于电子设备知道所有成功注册上VoWiFi的SIM卡所选择的目标ePDG地址,因此由于ePDG地址不可用而导致不能注册VoWiFi的第二SIM卡,可以选择先验的已经认证通过的目标ePDG地址,发起新的请求,这样可以大大提高VoWiFi的接入成功率和效率,从而改善用户体验。Therefore, in the case that the electronic device includes multiple SIM cards, as long as one SIM card (the first SIM card) is successfully registered with VoWiFi, and the first operator is the same as the second operator, or in the first SIM card Under the condition that the first operator and the second operator meet the preset contract conditions, other SIM cards (second SIM cards) can learn from the target ePDG address of the first SIM card to initiate VoWiFi registration. Since the electronic device knows the target ePDG address selected by all SIM cards that have successfully registered with VoWiFi, the second SIM card cannot be registered for VoWiFi due to the unavailability of the ePDG address. This can greatly improve the success rate and efficiency of VoWiFi access, thereby improving the user experience.

在另一种可能的实施例中,在步骤220之后,还可以包括以下步骤:In another possible embodiment, after step 220, the following steps may also be included:

在第二SIM卡向目标ePDG地址发起认证请求失败的情况下,在认证结果中重新查询第二SIM卡的ePDG地址,确定第二SIM卡的更新后的ePDG地址,更新后的ePDG地址为认证结果中除目标ePDG地址以外的认证请求通过的ePDG地址;控制第二SIM卡向更新后的ePDG地址发起认证请求。In the case where the second SIM card fails to initiate the authentication request to the target ePDG address, the ePDG address of the second SIM card is re-queried in the authentication result, and the updated ePDG address of the second SIM card is determined, and the updated ePDG address is the authentication In the result, the ePDG address other than the target ePDG address passed the authentication request; the second SIM card is controlled to initiate an authentication request to the updated ePDG address.

电子设备中由于无效ePDG不能注册上VoWiFi的第二SIM卡可以先尝试目标ePDG地址,如果第二SIM卡向目标ePDG地址发起认证请求也失败,则可以重新查询第二SIM卡的ePDG地址,从认证结果中确定除目标ePDG地址以外的认证请求通过的ePDG地址,即第二SIM卡的更新后的ePDG地址。然后控制第二SIM卡向更新后的ePDG地址发起认证请求。In the electronic device, the second SIM card that cannot be registered on VoWiFi due to invalid ePDG can first try the target ePDG address. If the second SIM card fails to initiate an authentication request to the target ePDG address, the ePDG address of the second SIM card can be re-queried. In the authentication result, the ePDG addresses that pass the authentication request except the target ePDG address are determined, that is, the updated ePDG address of the second SIM card. Then, the second SIM card is controlled to initiate an authentication request to the updated ePDG address.

另外,如果第二SIM卡向更新后的ePDG地址发起认证请求也失败,则可以再次按原来的静态查询或动态DNS查询来查询ePDG地址,确定更新后的ePDG地址,然后控制第二SIM卡向更新后的ePDG地址发起认证 请求。In addition, if the second SIM card fails to initiate an authentication request to the updated ePDG address, the ePDG address can be queried by the original static query or dynamic DNS query again to determine the updated ePDG address, and then control the second SIM card to send The updated ePDG address initiates an authentication request.

综上,在本申请实施例中,通过获取第一SIM卡注册基于无线保真的语音业务VoWiFi并通过认证的目标ePDG地址,然后控制第二SIM卡通过目标ePDG地址发起认证请求。由于目标ePDG地址为第一SIM卡发起的认证请求通过的网关地址,所以第二SIM卡向目标ePDG地址发起的认证请求通过的概率大大提高,进而可以减少和网络交互的时间,提高接入VoWiFi业务的效率。To sum up, in the embodiment of the present application, the target ePDG address that the first SIM card registers for the wireless fidelity-based voice service VoWiFi and passes the authentication is obtained, and then the second SIM card is controlled to initiate an authentication request through the target ePDG address. Since the target ePDG address is the gateway address through which the authentication request initiated by the first SIM card passes, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, which can reduce the time for interaction with the network and improve access to VoWiFi. business efficiency.

需要说明的是,本申请实施例提供的网络接入方法,执行主体可以为网络接入装置,或者该网络接入装置中的用于执行加载网络接入方法的控制模块。本申请实施例中以网络接入装置执行加载网络接入方法为例,说明本申请实施例提供的网络接入方法。It should be noted that, in the network access method provided by the embodiments of the present application, the execution body may be a network access device, or a control module in the network access device for executing the loading network access method. In the embodiment of the present application, the network access method provided by the embodiment of the present application is described by taking the network access device executing the method for loading the network access as an example.

另外,基于上述网络接入方法,本申请实施例还提供了一种网络接入装置,具体结合图5进行详细说明。In addition, based on the foregoing network access method, an embodiment of the present application further provides a network access apparatus, which will be described in detail with reference to FIG. 5 .

图5为本申请一实施例提供的网络接入装置结构示意图。FIG. 5 is a schematic structural diagram of a network access apparatus according to an embodiment of the present application.

如图5所示,该网络接入装置500可以包括:As shown in FIG. 5, the network access apparatus 500 may include:

获取模块510,用于获取目标演进型分组数据网关ePDG地址,目标ePDG地址为第一SIM卡注册基于无线保真的语音业务VoWiFi并通过认证的ePDG地址。The obtaining module 510 is configured to obtain the target EPG ePDG address, where the target ePDG address is the ePDG address registered by the first SIM card for the wireless fidelity-based voice service VoWiFi and has passed the authentication.

控制模块520,用于控制第二SIM卡通过目标ePDG地址发起认证请求。The control module 520 is configured to control the second SIM card to initiate an authentication request through the target ePDG address.

在一种可能的实施例中,获取模块510,还用于获取每个SIM卡向ePDG地址发起认证请求的认证结果。In a possible embodiment, the obtaining module 510 is further configured to obtain an authentication result of each SIM card sending an authentication request to the ePDG address.

该网络接入装置500还可以包括:The network access apparatus 500 may further include:

第一确定模块,用于根据认证结果确定第一SIM卡和第二SIM卡;第一SIM卡的认证结果为认证请求通过,第二SIM卡的认证结果为认证请求失败。The first determination module is used for determining the first SIM card and the second SIM card according to the authentication result; the authentication result of the first SIM card is that the authentication request has passed, and the authentication result of the second SIM card is that the authentication request has failed.

第一确定模块,还用于确定第一SIM卡对应的目标ePDG地址。The first determining module is further configured to determine the target ePDG address corresponding to the first SIM card.

在一种可能的实施例中,控制模块520包括:In a possible embodiment, the control module 520 includes:

第二确定模块,用于确定第一SIM卡所属的第一运营商,以及第二 SIM卡所属的第二运营商。The second determining module is configured to determine the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs.

控制模块520,具体用于在第一运营商与第二运营商一致的情况下,或者,在第一运营商与第二运营商满足预设合约条件的情况下,控制第二SIM卡向目标ePDG地址发起认证请求。The control module 520 is specifically configured to control the second SIM card to the target when the first operator and the second operator are consistent, or when the first operator and the second operator meet the preset contract conditions. The ePDG address initiates an authentication request.

在一种可能的实施例中,该网络接入装置500还可以包括:In a possible embodiment, the network access apparatus 500 may further include:

查询模块,用于响应于每个SIM卡对VoWiFi的接入请求,查询ePDG地址,得到地址查询结果。The query module is used to query the ePDG address in response to the access request of each SIM card to VoWiFi, and obtain the address query result.

控制模块520,还用于控制每个SIM卡向地址查询结果对应的ePDG地址发起认证请求。The control module 520 is further configured to control each SIM card to initiate an authentication request to the ePDG address corresponding to the address query result.

在一种可能的实施例中,该网络接入装置500还可以包括:In a possible embodiment, the network access apparatus 500 may further include:

第三确定模块,用于在第二SIM卡向目标ePDG地址发起认证请求失败的情况下,在认证结果中重新查询第二SIM卡的ePDG地址,确定第二SIM卡的更新后的ePDG地址,更新后的ePDG地址为认证结果中除目标ePDG地址以外的认证请求通过的ePDG地址。The third determination module is used to re-query the ePDG address of the second SIM card in the authentication result when the second SIM card fails to initiate the authentication request to the target ePDG address, and determine the updated ePDG address of the second SIM card, The updated ePDG address is the ePDG address that passes the authentication request except the target ePDG address in the authentication result.

控制模块520,还用于控制第二SIM卡向更新后的ePDG地址发起认证请求。The control module 520 is further configured to control the second SIM card to initiate an authentication request to the updated ePDG address.

综上,本申请实施例提供的网络接入装置,通过获取第一SIM卡注册基于无线保真的语音业务VoWiFi并通过认证的目标ePDG地址,然后控制第二SIM卡通过目标ePDG地址发起认证请求。由于目标ePDG地址为第一SIM卡发起的认证请求通过的网关地址,所以第二SIM卡向目标ePDG地址发起的认证请求通过的概率大大提高,进而可以减少和网络交互的时间,提高接入VoWiFi业务的效率。To sum up, the network access device provided by the embodiments of the present application obtains the target ePDG address that the first SIM card registers for the wireless fidelity-based voice service VoWiFi and passes the authentication, and then controls the second SIM card to initiate an authentication request through the target ePDG address. . Since the target ePDG address is the gateway address through which the authentication request initiated by the first SIM card passes, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, thereby reducing the time for interaction with the network and improving access to VoWiFi. business efficiency.

本申请实施例中的网络接入装置,可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached storage,NAS)、个人计算机(personal computer, PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The network access device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The apparatus may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palmtop computer, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., the non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (television, TV), a teller machine or a self-service machine, etc. This application Examples are not specifically limited.

本申请实施例中的网络接入装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The network access device in this embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiments of the present application.

本申请实施例提供的网络接入装置能够实现图2-图4的方法实施例中网络接入装置实现的各个过程,为避免重复,这里不再赘述。The network access apparatus provided in the embodiments of the present application can implement each process implemented by the network access apparatus in the method embodiments of FIG. 2 to FIG. 4 . To avoid repetition, details are not repeated here.

可选地,如图6所示,本申请实施例还提供一种电子设备600,包括处理器601,存储器602,存储在存储器602上并可在处理器601上运行的程序或指令,该程序或指令被处理器601执行时实现上述聊天群组的创建方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 6 , an embodiment of the present application further provides an electronic device 600, including a processor 601, a memory 602, and a program or instruction stored in the memory 602 and executable on the processor 601, the program Or when the instruction is executed by the processor 601, each process of the above-mentioned embodiment of the method for creating a chat group can be implemented, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.

需要注意的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the aforementioned mobile electronic devices and non-mobile electronic devices.

图7为本申请另一实施例提供的电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device according to another embodiment of the present application.

该电子设备700包括但不限于:射频单元701、网络模块702、音频输出单元703、输入单元704、传感器705、显示单元706、用户输入单元707、接口单元708、存储器709、处理器710以及电源711等部件。其中,输入单元704可以包括图形处理器7041和麦克风7042;显示单元706可以包括显示面板7061;用户输入单元707可以包括触控面板7071以及其他输入设备7072;存储器709可以包括应用程序和操作系统。The electronic device 700 includes but is not limited to: a radio frequency unit 701, a network module 702, an audio output unit 703, an input unit 704, a sensor 705, a display unit 706, a user input unit 707, an interface unit 708, a memory 709, a processor 710 and a power supply 711 and other components. The input unit 704 may include a graphics processor 7041 and a microphone 7042; the display unit 706 may include a display panel 7061; the user input unit 707 may include a touch panel 7071 and other input devices 7072; and the memory 709 may include application programs and operating systems.

本领域技术人员可以理解,电子设备700还可以包括给各个部件供电的电源(比如电池),电源711可以通过电源管理系统与处理器710逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 700 may also include a power supply (such as a battery) for supplying power to various components, and the power supply 711 may be logically connected to the processor 710 through a power management system, so as to manage charging, discharging, and Power management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation on the electronic device. The electronic device may include more or less components than the one shown, or combine some components, or arrange different components, which will not be repeated here. .

网络模块702,用于获取目标演进型分组数据网关ePDG地址,目标ePDG地址为第一SIM卡注册基于无线保真的语音业务VoWiFi并通过认 证的ePDG地址。The network module 702 is configured to obtain the ePDG address of the target evolved packet data gateway, where the target ePDG address is the ePDG address registered by the first SIM card for the wireless fidelity-based voice service VoWiFi and has passed the authentication.

处理器710,用于控制第二SIM卡通过目标ePDG地址发起认证请求。The processor 710 is configured to control the second SIM card to initiate an authentication request through the target ePDG address.

可选地,网络模块702,还用于获取每个SIM卡向ePDG地址发起认证请求的认证结果。Optionally, the network module 702 is further configured to obtain an authentication result of each SIM card sending an authentication request to the ePDG address.

处理器710,还用于根据认证结果确定第一SIM卡和第二SIM卡;第一SIM卡的认证结果为认证请求通过,第二SIM卡的认证结果为认证请求失败。The processor 710 is further configured to determine the first SIM card and the second SIM card according to the authentication result; the authentication result of the first SIM card is that the authentication request has passed, and the authentication result of the second SIM card is that the authentication request has failed.

处理器710,还用于确定第一SIM卡对应的目标ePDG地址。The processor 710 is further configured to determine the target ePDG address corresponding to the first SIM card.

可选地,处理器710,还用于确定第一SIM卡所属的第一运营商,以及第二SIM卡所属的第二运营商。Optionally, the processor 710 is further configured to determine the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs.

处理器710,还用于在第一运营商与第二运营商一致的情况下,或者,在第一运营商与第二运营商满足预设合约条件的情况下,控制第二SIM卡向目标ePDG地址发起认证请求。The processor 710 is further configured to control the second SIM card to the target when the first operator and the second operator are consistent, or when the first operator and the second operator meet preset contract conditions. The ePDG address initiates an authentication request.

可选地,处理器710,还用于响应于每个SIM卡对VoWiFi的接入请求,查询ePDG地址,得到地址查询结果。Optionally, the processor 710 is further configured to query the ePDG address in response to each SIM card's access request to VoWiFi, and obtain an address query result.

处理器710,还用于控制每个SIM卡向地址查询结果对应的ePDG地址发起认证请求。The processor 710 is further configured to control each SIM card to initiate an authentication request to the ePDG address corresponding to the address query result.

可选地,处理器710,还用于在第二SIM卡向目标ePDG地址发起认证请求失败的情况下,在认证结果中重新查询第二SIM卡的ePDG地址,确定第二SIM卡的更新后的ePDG地址,更新后的ePDG地址为认证结果中除目标ePDG地址以外的认证请求通过的ePDG地址。Optionally, the processor 710 is further configured to re-query the ePDG address of the second SIM card in the authentication result in the event that the second SIM card fails to initiate an authentication request to the target ePDG address, and determine that after the update of the second SIM card The updated ePDG address is the ePDG address that passes the authentication request except the target ePDG address in the authentication result.

处理器710,还用于控制第二SIM卡向更新后的ePDG地址发起认证请求。The processor 710 is further configured to control the second SIM card to initiate an authentication request to the updated ePDG address.

本申请实施例中,通过获取第一SIM卡注册基于无线保真的语音业务VoWiFi并通过认证的目标ePDG地址,然后控制第二SIM卡通过目标ePDG地址发起认证请求。由于目标ePDG地址为第一SIM卡发起的认证请求通过的网关地址,所以第二SIM卡向目标ePDG地址发起的认证请求通过的概率大大提高,进而可以减少和网络交互的时间,提高接入VoWiFi 业务的效率。In the embodiment of the present application, the target ePDG address that the first SIM card registers for the wireless fidelity-based voice service VoWiFi and passes the authentication is obtained, and then the second SIM card is controlled to initiate an authentication request through the target ePDG address. Since the target ePDG address is the gateway address through which the authentication request initiated by the first SIM card passes, the probability of passing the authentication request initiated by the second SIM card to the target ePDG address is greatly increased, which can reduce the time for interaction with the network and improve access to VoWiFi. business efficiency.

本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述网络接入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。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 instruction is executed by a processor, each process of the foregoing network access method embodiment is implemented, and can achieve The same technical effect, in order to avoid repetition, will not be repeated here.

其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the foregoing embodiments. The readable storage medium includes a computer-readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.

本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述网络接入方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An 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 run a program or an instruction to implement the foregoing network access method embodiments and can achieve the same technical effect, in order to avoid repetition, it will not be repeated here.

应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-a-chip, or a system-on-a-chip, or the like.

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element. In addition, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in the reverse order depending on the functions involved. To perform functions, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to some examples may be combined in other examples.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品 的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence or in a part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, CD-ROM), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of this application.

上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of this application, without departing from the scope of protection of the purpose of this application and the claims, many forms can be made, which all fall within the protection of this application.

Claims (13)

一种网络接入方法,应用于电子设备,所述电子设备包括多个用户身份识别模块SIM卡,包括:A network access method is applied to an electronic device, wherein the electronic device includes a plurality of user identity identification module SIM cards, including: 获取目标演进型分组数据网关ePDG地址,所述目标ePDG地址为第一SIM卡注册基于无线保真的语音业务VoWiFi并通过认证的ePDG地址;Acquiring a target evolved packet data gateway ePDG address, where the target ePDG address is the ePDG address registered by the first SIM card for the wireless fidelity-based voice service VoWiFi and has passed the authentication; 控制第二SIM卡通过所述目标ePDG地址发起认证请求。Controlling the second SIM card to initiate an authentication request through the target ePDG address. 根据权利要求1所述的方法,在所述获取目标演进型分组数据网关ePDG地址之前,所述方法还包括:The method according to claim 1, before acquiring the target EPG ePDG address, the method further comprises: 获取每个SIM卡向ePDG地址发起认证请求的认证结果;Obtain the authentication result that each SIM card initiates an authentication request to the ePDG address; 根据所述认证结果确定所述第一SIM卡和所述第二SIM卡;所述第一SIM卡的认证结果为认证请求通过,所述第二SIM卡的认证结果为认证请求失败;Determine the first SIM card and the second SIM card according to the authentication result; the authentication result of the first SIM card is that the authentication request has passed, and the authentication result of the second SIM card is that the authentication request has failed; 确定所述第一SIM卡对应的所述目标ePDG地址。Determine the target ePDG address corresponding to the first SIM card. 根据权利要求1所述的方法,其中,所述控制第二SIM卡通过所述目标ePDG地址发起认证请求,包括:The method according to claim 1, wherein the controlling the second SIM card to initiate an authentication request through the target ePDG address comprises: 确定所述第一SIM卡所属的第一运营商,以及所述第二SIM卡所属的第二运营商;determining the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs; 在所述第一运营商与所述第二运营商一致的情况下,或者,在所述第一运营商与所述第二运营商满足预设合约条件的情况下,控制所述第二SIM卡向所述目标ePDG地址发起认证请求。In the case that the first operator and the second operator are consistent, or in the case that the first operator and the second operator satisfy a preset contract condition, control the second SIM The card initiates an authentication request to the target ePDG address. 根据权利要求2所述的方法,在所述获取每个SIM卡向ePDG发起认证请求的认证结果之前,所述方法还包括:The method according to claim 2, before acquiring the authentication result that each SIM card initiates an authentication request to the ePDG, the method further comprises: 响应于所述每个SIM卡对所述VoWiFi的接入请求,查询ePDG地址,得到地址查询结果;In response to the access request of each SIM card to the VoWiFi, query the ePDG address to obtain an address query result; 控制所述每个SIM卡向所述地址查询结果对应的ePDG地址发起认证请求。Controlling each SIM card to initiate an authentication request to the ePDG address corresponding to the address query result. 根据权利要求2所述的方法,在所述控制所述第二SIM卡向所述 目标ePDG地址发起认证请求之后,所述方法还包括:The method according to claim 2, after the control of the second SIM card to initiate an authentication request to the target ePDG address, the method further comprises: 在所述第二SIM卡向所述目标ePDG地址发起认证请求失败的情况下,在所述认证结果中重新查询所述第二SIM卡的ePDG地址,确定所述第二SIM卡的更新后的ePDG地址,所述更新后的ePDG地址为所述认证结果中除所述目标ePDG地址以外的认证请求通过的ePDG地址;In the case that the second SIM card fails to initiate an authentication request to the target ePDG address, re-query the ePDG address of the second SIM card in the authentication result, and determine the updated ePDG address of the second SIM card. ePDG address, where the updated ePDG address is the ePDG address where the authentication request other than the target ePDG address passes in the authentication result; 控制所述第二SIM卡向所述更新后的ePDG地址发起认证请求。Controlling the second SIM card to initiate an authentication request to the updated ePDG address. 一种网络接入装置,应用于电子设备,所述电子设备包括多个SIM卡,包括:A network access device, applied to electronic equipment, the electronic equipment includes multiple SIM cards, including: 获取模块,用于获取目标演进型分组数据网关ePDG地址,所述目标ePDG地址为第一SIM卡注册基于无线保真的语音业务VoWiFi并通过认证的ePDG地址;an obtaining module, configured to obtain the ePDG address of the target evolved packet data gateway, where the target ePDG address is the ePDG address registered by the first SIM card for the wireless fidelity-based voice service VoWiFi and has passed the authentication; 控制模块,用于控制第二SIM卡通过所述目标ePDG地址发起认证请求。A control module, configured to control the second SIM card to initiate an authentication request through the target ePDG address. 根据权利要求6所述的装置,其中,所述获取模块,还用于获取每个SIM卡向ePDG地址发起认证请求的认证结果;The device according to claim 6, wherein the obtaining module is further configured to obtain the authentication result of each SIM card initiating an authentication request to the ePDG address; 所述装置还包括:The device also includes: 第一确定模块,用于根据所述认证结果确定所述第一SIM卡和所述第二SIM卡;所述第一SIM卡的认证结果为认证请求通过,所述第二SIM卡的认证结果为认证请求失败;a first determination module, configured to determine the first SIM card and the second SIM card according to the authentication result; the authentication result of the first SIM card is that the authentication request has passed, and the authentication result of the second SIM card The authentication request failed; 所述第一确定模块,还用于确定所述第一SIM卡对应的所述目标ePDG地址。The first determining module is further configured to determine the target ePDG address corresponding to the first SIM card. 根据权利要求6所述的装置,其中,所述控制模块包括:The apparatus of claim 6, wherein the control module comprises: 第二确定模块,用于确定所述第一SIM卡所属的第一运营商,以及所述第二SIM卡所属的第二运营商;a second determining module, configured to determine the first operator to which the first SIM card belongs, and the second operator to which the second SIM card belongs; 所述控制模块,具体用于在所述第一运营商与所述第二运营商一致的情况下,或者,在所述第一运营商与所述第二运营商满足预设合约条件的情况下,控制所述第二SIM卡向所述目标ePDG地址发起认证请求。The control module is specifically configured to, when the first operator and the second operator are consistent, or when the first operator and the second operator meet preset contract conditions Next, control the second SIM card to initiate an authentication request to the target ePDG address. 根据权利要求7所述的装置,所述装置还包括:The apparatus of claim 7, further comprising: 查询模块,用于响应于所述每个SIM卡对所述VoWiFi的接入请求, 查询ePDG地址,得到地址查询结果;a query module, configured to query the ePDG address in response to the access request of each SIM card to the VoWiFi, and obtain an address query result; 所述控制模块,还用于控制所述每个SIM卡向所述地址查询结果对应的ePDG地址发起认证请求。The control module is further configured to control each SIM card to initiate an authentication request to the ePDG address corresponding to the address query result. 根据权利要求7所述的装置,所述装置还包括:The apparatus of claim 7, further comprising: 第三确定模块,用于在所述第二SIM卡向所述目标ePDG地址发起认证请求失败的情况下,在所述认证结果中重新查询所述第二SIM卡的ePDG地址,确定所述第二SIM卡的更新后的ePDG地址,所述更新后的ePDG地址为所述认证结果中除所述目标ePDG地址以外的认证请求通过的ePDG地址;A third determining module, configured to re-query the ePDG address of the second SIM card in the authentication result when the second SIM card fails to initiate an authentication request to the target ePDG address, and determine the first The updated ePDG address of the two SIM cards, where the updated ePDG address is the ePDG address through which the authentication requests other than the target ePDG address in the authentication result pass; 所述控制模块,还用于控制所述第二SIM卡向所述更新后的ePDG地址发起认证请求。The control module is further configured to control the second SIM card to initiate an authentication request to the updated ePDG address. 一种电子设备,包括处理器以及存储有计算机程序指令的存储器;An electronic device including a processor and a memory storing computer program instructions; 所述处理器执行所述计算机程序指令时实现如权利要求1至5中任意一项所述的网络接入方法。When the processor executes the computer program instructions, the network access method according to any one of claims 1 to 5 is implemented. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序指令,所述计算机程序指令被处理器执行时实现如权利要求1至5中任意一项所述的网络接入方法。A computer-readable storage medium, wherein computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are executed by a processor, any one of claims 1 to 5 is implemented. network access method. 一种芯片,其特征在于,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任意一项所述的网络接入方法。A chip, characterized in that the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement any one of claims 1 to 5 The described network access method.
PCT/CN2022/090119 2021-05-06 2022-04-29 Network access method and apparatus Ceased WO2022233265A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110490829.4A CN113242591B (en) 2021-05-06 2021-05-06 Network access method and device
CN202110490829.4 2021-05-06

Publications (1)

Publication Number Publication Date
WO2022233265A1 true WO2022233265A1 (en) 2022-11-10

Family

ID=77132237

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/090119 Ceased WO2022233265A1 (en) 2021-05-06 2022-04-29 Network access method and apparatus

Country Status (2)

Country Link
CN (1) CN113242591B (en)
WO (1) WO2022233265A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116760930B (en) * 2023-08-17 2023-11-10 Tcl通讯科技(成都)有限公司 Call processing method and device, storage medium and electronic equipment
WO2025175738A1 (en) * 2024-02-22 2025-08-28 中国电信股份有限公司技术创新中心 Vowifi service management and control method and apparatus, computer device, and storage medium

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113242591B (en) * 2021-05-06 2023-05-23 维沃移动通信有限公司 Network access method and device
CN114401513B (en) * 2021-12-27 2023-10-20 中国电信股份有限公司 Authority authentication method and device for terminal equipment
CN114726832A (en) * 2022-04-13 2022-07-08 展讯通信(上海)有限公司 Bearer establishment method, device, medium and terminal equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017136959A1 (en) * 2016-02-09 2017-08-17 Qualcomm Incorporated Multi-subscriber identity module (sim) connection sharing
CN107371157A (en) * 2016-05-13 2017-11-21 北京旅信顺捷软件科技有限公司 Operator ePDG gateway accessings system and the method for realizing mobile communication
US20180110081A1 (en) * 2016-10-14 2018-04-19 Telefonica Digital Espana Method and system for a mobile communication device to access through a second mobile telecommunication network to services offered by a first mobile telecommunication network
CN108377479A (en) * 2016-11-08 2018-08-07 展讯通信(上海)有限公司 Multi-card mobile terminal and its method for processing business, device
CN110049496A (en) * 2019-05-31 2019-07-23 维沃移动通信有限公司 A kind of method for network access and mobile terminal
CN110446277A (en) * 2019-07-09 2019-11-12 广东以诺通讯有限公司 VoWiFi service access method for dual-card terminal and terminal
CN113242591A (en) * 2021-05-06 2021-08-10 维沃移动通信有限公司 Network access method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110366221B (en) * 2019-07-09 2021-08-10 广东以诺通讯有限公司 Method for selecting VoWiFi service by dual-card terminal and terminal
CN111093289A (en) * 2019-12-24 2020-05-01 维沃移动通信有限公司 Service transmission method and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017136959A1 (en) * 2016-02-09 2017-08-17 Qualcomm Incorporated Multi-subscriber identity module (sim) connection sharing
CN107371157A (en) * 2016-05-13 2017-11-21 北京旅信顺捷软件科技有限公司 Operator ePDG gateway accessings system and the method for realizing mobile communication
US20180110081A1 (en) * 2016-10-14 2018-04-19 Telefonica Digital Espana Method and system for a mobile communication device to access through a second mobile telecommunication network to services offered by a first mobile telecommunication network
CN108377479A (en) * 2016-11-08 2018-08-07 展讯通信(上海)有限公司 Multi-card mobile terminal and its method for processing business, device
CN110049496A (en) * 2019-05-31 2019-07-23 维沃移动通信有限公司 A kind of method for network access and mobile terminal
CN110446277A (en) * 2019-07-09 2019-11-12 广东以诺通讯有限公司 VoWiFi service access method for dual-card terminal and terminal
CN113242591A (en) * 2021-05-06 2021-08-10 维沃移动通信有限公司 Network access method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116760930B (en) * 2023-08-17 2023-11-10 Tcl通讯科技(成都)有限公司 Call processing method and device, storage medium and electronic equipment
WO2025175738A1 (en) * 2024-02-22 2025-08-28 中国电信股份有限公司技术创新中心 Vowifi service management and control method and apparatus, computer device, and storage medium

Also Published As

Publication number Publication date
CN113242591B (en) 2023-05-23
CN113242591A (en) 2021-08-10

Similar Documents

Publication Publication Date Title
US11737045B2 (en) Connection processing method and apparatus in multi-access scenario
CN113242591B (en) Network access method and device
US12238632B2 (en) Service configuration method, communication apparatus, and communication system
EP3739483B1 (en) Systems and methods for remote device security attestation and manipulation detection
WO2018161796A1 (en) Connection processing method and apparatus in multi-access scenario
US20210112411A1 (en) Multi-factor authentication in private mobile networks
US11743716B2 (en) Establishing untrusted non-3GPP sessions without compromising security
US20080311881A1 (en) Emergency call services for wireless network roaming
US12439360B2 (en) Service obtaining method and apparatus, and communication device and readable storage medium
WO2022237693A1 (en) Method for authenticating nswo service, and device and storage medium
US12052628B2 (en) Method and apparatus for security context handling during inter-system change
US20240380730A1 (en) Enabling distributed non-access stratum terminations
WO2021233395A1 (en) Communication method and apparatus, and computer-readable storage medium
CN108616805A (en) A kind of configuration of emergency numbers, acquisition methods and device
JP5382479B2 (en) Communication technology between access network and core network
WO2023143554A1 (en) Pin establishment method and device
WO2023143412A1 (en) Ip address assignment method, device, and readable storage medium
WO2023143411A1 (en) Device authentication methods, apparatus and communication device
WO2023071836A1 (en) Communication method and apparatus
US12490089B2 (en) Network nodes and methods therein for facilitating registration of terminal device
US12506793B2 (en) Session initiation protocol (SIP) based transfer of user information from an inviting user to an invited user
CN118804369B (en) Communication method, communication device, electronic equipment and storage medium
WO2017129101A1 (en) Routing control method, apparatus and system
CN107770772A (en) A kind of method and apparatus that unaware certification online is realized by APP
CN116567779A (en) PIN formation method and equipment

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

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

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 17/04/2024)

122 Ep: pct application non-entry in european phase

Ref document number: 22798606

Country of ref document: EP

Kind code of ref document: A1