VoWiFi control method and device, storage medium and product

By querying the available information of the VoWiFi function in the setting database and controlling the use of the VoWiFi function according to the query results, the problem of user terminal devices failing to enable the VoWiFi function multiple times on the same WiFi network is solved, achieving reduced power consumption and flexible function control.

CN120769226AActive Publication Date: 2025-10-10HONOR DEVICE CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410373921.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-27
Publication Date
2025-10-10
Estimated Expiration
2044-03-27

AI Technical Summary

Technical Problem

The user terminal device fails to enable the VoWiFi function multiple times on the same WiFi network, resulting in high power consumption and inability to flexibly control the VoWiFi function.

Method used

By determining whether the location area and mobile network contract information of the terminal device support the VoWiFi function, query the available information of the VoWiFi function of the target WiFi network in the setting database, and control the use of the VoWiFi function according to the query results, including enabling or disabling the VoWiFi function, to avoid repeated attempts.

Benefits of technology

This reduces the power consumption of terminal devices, improves the control flexibility of the VoWiFi function, and reduces the power consumption when trying to connect to the same WiFi network multiple times.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120769226A_ABST
    Figure CN120769226A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a VoWiFi control method and device, a storage medium and a product, and relates to the technical field of communication. The method comprises the following steps: determining a current position area of terminal equipment and mobile network subscription information of the terminal equipment; if both the location area and the mobile network subscription information support the VoWiFi function, inquiring available information of the VoWiFi function of a target WiFi network currently connected with the terminal equipment in a set database; and controlling the use of the VoWiFi function of the terminal device based on the query result. According to the invention, when the VoWiFi function of the WiFi network is inquired to be unavailable for the first time, the VoWiFi function of the terminal equipment is directly closed, and when the terminal equipment is connected with the WiFi network next time, the VoWiFi function of the terminal equipment does not need to be started, so that the power consumption of the terminal equipment is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a VoWiFi control method, device, storage medium, and product. Background Art

[0002] Wireless-Fidelity (WiFi) networks are increasingly being used as a supplement to cellular data networks. To improve the service delivery of user equipment (UE) in indoor environments, operators have introduced the Voice over WiFi (VoWiFi) feature. With VoWiFi enabled, UEs can make and receive voice and video calls over the WiFi network.

[0003] However, currently, the UE cannot flexibly control the switch of the VoWiFi function. It often happens that under the same WiFi network, the UE fails to turn on the VoWiFi function after multiple attempts, which leads to high power consumption of the UE. Summary of the Invention

[0004] Various aspects of the present application provide a VoWiFi control method, device, storage medium, and product for reducing power consumption of a terminal device.

[0005] In a first aspect, an embodiment of the present application provides a VoWiFi control method, the method comprising:

[0006] Determining the current location area of ​​the terminal device and the mobile network subscription information of the terminal device;

[0007] If both the location area and the mobile network subscription information support the VoWiFi function, querying the setting database for VoWiFi function availability information of the target WiFi network to which the terminal device is currently connected, where the VoWiFi function availability information is used to describe whether the VoWiFi function is available under the target WiFi network;

[0008] Based on the query result, use of the VoWiFi function of the terminal device is controlled.

[0009] In a possible implementation, controlling the use of the VoWiFi function of the terminal device based on the query result includes:

[0010] If the VoWiFi function availability information is found in the setting database, and the VoWiFi function availability information indicates that the VoWiFi function is unavailable under the target WiFi network, the VoWiFi function of the terminal device is turned off.

[0011] In a possible implementation, controlling the use of the VoWiFi function of the terminal device based on the query result includes:

[0012] If the VoWiFi function availability information is found in the setting database, and the VoWiFi function availability information indicates that the VoWiFi function is available under the target WiFi network, the VoWiFi function of the terminal device is enabled.

[0013] In a possible implementation, controlling the use of the VoWiFi function of the terminal device based on the query result includes:

[0014] If the VoWiFi function availability information is not found in the setting database, registering the VoWiFi function of the target WiFi network;

[0015] If the registration fails, the VoWiFi function of the terminal device is disabled;

[0016] If the registration is successful, the VoWiFi function of the terminal device is enabled.

[0017] In a possible implementation, the method further includes:

[0018] According to the registration result, the VoWiFi function availability information corresponding to the target WiFi network is generated to be updated into the setting database.

[0019] In a possible implementation, generating, based on the registration result, the VoWiFi function availability information corresponding to the target WiFi network includes:

[0020] If the registration is successful, then generating VoWiFi function available information indicating that the VoWiFi function is available under the target WiFi network; or,

[0021] If the registration fails, registration failure reason data is obtained, so as to generate VoWiFi function available information indicating that the VoWiFi function is unavailable under the target WiFi network according to the obtained registration failure reason data.

[0022] In a possible implementation, registering the VoWiFi function of the target WiFi network includes:

[0023] Sending a registration request message to a registration server, so that the registration server determines registration response information of the VoWiFi function of the terminal device under the target WiFi network according to the mobile network subscription information of the terminal device and the network bandwidth type of the target WiFi network;

[0024] receive the registration response information sent by the registration server, wherein the registration response information comprises registration failure reason data when registration fails.

[0025] In a possible implementation, the setting database comprises a local setting database and / or a cloud setting database.

[0026] In a possible implementation, the querying, in the setting database, of the VoWiFi function available information of the target WiFi network currently connected by the terminal device comprises:

[0027] If the VoWiFi function available information is not queried in the local setting database, the VoWiFi function available information is queried in the cloud setting database.

[0028] In a second aspect, an embodiment of the present application provides a VoWiFi control device, and the device comprises:

[0029] a determination module configured to determine a current location area of a terminal device and mobile network subscription information of the terminal device;

[0030] a querying module configured to, if the location area and the mobile network subscription information both support a VoWiFi function, query, in a setting database, VoWiFi function available information of a target WiFi network currently connected by the terminal device, the VoWiFi function available information being used to describe whether the VoWiFi function is available under the target WiFi network;

[0031] a control module configured to control use of the VoWiFi function of the terminal device based on a query result.

[0032] In a third aspect, an embodiment of the present application provides a terminal device, comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the terminal device is triggered to execute the method in the first aspect.

[0033] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, comprising stored program, wherein when the program runs, the device where the computer readable storage medium is located is controlled to execute the method in the first aspect.

[0034] In a fifth aspect, an embodiment of the present application provides a computer program product, comprising a computer program, when the computer program is executed by a processor of an electronic device, the processor is caused to execute the method in the first aspect.

[0035] The VoWiFi control method provided in the embodiment of the present application determines the current location area of ​​the terminal device and the mobile network subscription information of the terminal device. If both the location area and the mobile network subscription information support the VoWiFi function, the VoWiFi function availability information of the target WiFi network to which the terminal device is currently connected is queried in the setting database to determine whether the VoWiFi function is available under the target WiFi network. Based on the query result, the use of the VoWiFi function of the terminal device can be controlled. It should be understood that if the terminal device connects to the same WiFi network multiple times, the VoWiFi function availability information of the WiFi network can be queried in the setting database. If it is determined that the VoWiFi function of the WiFi network is unavailable based on the VoWiFi function availability information, the VoWiFi function of the terminal device can be directly turned off when the VoWiFi function of the WiFi network is found to be unavailable for the first time. When the terminal device connects to the WiFi network again next time, there is no need to try to turn on the VoWiFi function of the terminal device, thereby ensuring the power consumption of the terminal device. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0037] Figure 1 A flowchart of a VoWiFi control method provided in an embodiment of the present application;

[0038] Figure 2 A flowchart of registering the VoWiFi function of a target WiFi network provided in an embodiment of the present application;

[0039] Figure 3 A specific example diagram of a VoWiFi control method provided in an embodiment of the present application;

[0040] Figure 4 A schematic diagram of the structure of a VoWiFi control device provided in an embodiment of the present application;

[0041] Figure 5 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0042] Figure 6 A software structure block diagram of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0043] To make the purpose, technical solutions, and advantages of this application more clear, the technical solutions of this application will be clearly and completely described below in conjunction with the specific embodiments of this application and the corresponding drawings. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.

[0044] Wireless-Fidelity (WiFi) networks are increasingly being used as a supplement to cellular data networks. To improve the service delivery of user equipment (UE) in indoor environments, operators offer the Voice over WiFi (VoWiFi) feature. With VoWiFi enabled, UEs can make and receive voice and video calls over the WiFi network. However, currently, UEs lack the ability to flexibly turn VoWiFi on and off. Consequently, UEs often fail to enable VoWiFi multiple times on the same WiFi network, resulting in high UE power consumption.

[0045] In view of this, the present application solves the above problem based on the following ideas: First, determine whether the current location area of ​​the terminal device and the mobile network contract information of the terminal device support the VoWiFi function. If supported, query the VoWiFi function availability information of the target WiFi network to which the terminal device is currently connected in the setting database to determine whether the VoWiFi function is available under the target WiFi network. Secondly, control the use of the VoWiFi function of the terminal device based on the query result. It should be understood that if the terminal device connects to the same WiFi network multiple times, the VoWiFi function availability information of the WiFi network can be queried in the setting database. If it is determined that the VoWiFi function of the WiFi network is unavailable based on the VoWiFi function availability information, then when the VoWiFi function of the WiFi network is found to be unavailable for the first time, the VoWiFi function of the terminal device can be directly turned off. When the terminal device connects to the WiFi network next time, there is no need to try to turn on the VoWiFi function of the terminal device, thereby ensuring the power consumption of the terminal device.

[0046] Figure 1 A flowchart of a VoWiFi control method provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes the following steps:

[0047] 101. Determine the current location area of ​​the terminal device and the mobile network subscription information of the terminal device.

[0048] Among them, the terminal device can be any device with WiFi network function and capable of voice calls, such as a smart phone, tablet computer, smart watch, etc., which are not listed here one by one.

[0049] 102. If the location area and the mobile network contract information both support the VoWiFi function, the VoWiFi function availability information of the target WiFi network to which the terminal device is currently connected is queried in the setting database. The VoWiFi function availability information is used to describe whether the VoWiFi function is available in the target WiFi network.

[0050] The setting database includes a local setting database and / or a cloud setting database.

[0051] When the settings database is a local settings database, it includes at least information about location areas that support the VoWiFi function, the Service Set Identifiers (SSIDs) and BSSIDs of multiple WiFi networks, and information about the availability of the VoWiFi function for each WiFi network. The SSID is a name used to uniquely identify a wireless local area network (WLAN), allowing users to find and connect to the desired network within the WLAN. The BSSID is a unique identifier used to identify each basic service set within the wireless network.

[0052] By querying the local settings database for the VoWiFi function availability information of the target WiFi network currently connected to the terminal device, the user can better control the use of the VoWiFi function of the terminal device, avoid repeated attempts when connecting to the same WiFi network multiple times, and reduce the power consumption of the terminal device of the current user.

[0053] When the setting database is a cloud-based setting database, the cloud-based setting database includes at least location area information supporting the VoWiFi function, SSIDs and BSSIDs of multiple WiFi networks, and VoWiFi function availability information of each WiFi network.

[0054] By querying the cloud settings database for the VoWiFi function availability information of the target WiFi network currently connected to the terminal device, users can achieve data sharing, allowing more users' terminal devices to query the cloud settings database for the VoWiFi function availability information of the WiFi network when connecting to a certain WiFi network, thereby better controlling the use of the VoWiFi function of the terminal device, avoiding the problem of repeated attempts when connecting to the same WiFi network multiple times, and reducing the power consumption of terminal devices of more users.

[0055] When the setting database includes a local setting database and a cloud setting database, in actual application, the VoWiFi function availability information can be queried in the local setting database first. If the VoWiFi function availability information is not found in the local setting database, the VoWiFi function availability information is queried in the cloud setting database.

[0056] Combining the above two situations, by querying the VoWiFi function availability information in the local setting database and the cloud setting database in turn, not only can the power consumption of the terminal device of the current user or more users be reduced, but the probability of querying the VoWiFi function availability information can also be increased, laying the foundation for better control of the use of the VoWiFi function of the terminal device in the future.

[0057] It should be noted that to ensure the accuracy of the VoWiFi function availability information retrieved from the settings database, a lifecycle can be set for the VoWiFi function availability information stored in the settings database. For example, when the VoWiFi function availability information is stored in the settings database for one month, it is considered to be invalid. In this case, when the terminal device queries the settings database for the VoWiFi function availability information, it will indicate that the VoWiFi function availability information does not exist, and the above operation will need to be repeated.

[0058] 103. Based on the query result, control the use of the VoWiFi function of the terminal device.

[0059] In actual applications, a subscriber identity module (SIM) is inserted into the terminal device. The public land mobile network (PLMN) corresponding to the SIM card can be used to determine the mobile network of the terminal device, that is, the operator corresponding to the mobile network of the terminal device, such as China Unicom, China Mobile, China Telecom, etc.

[0060] It should be understood that a PLMN primarily consists of three parts: the country code, the operator code, and the mobile country code. The operator code is a unique identifier for different operators within a specific country or region. For example, China Mobile's operator code is 00, China Unicom's is 01, and China Telecom's is 03. The mobile country code is an identification number that combines the country code and operator code. For example, China Mobile's mobile country code is 46000, China Unicom's is 46001, and China Telecom's is 46003.

[0061] For step 101, the current location area of ​​the terminal device can be determined based on the Global Positioning System (GPS) configured on the terminal device, or the positioning capability of the terminal device's cellular mobile network can be used to determine the current location area of ​​the terminal device, and this is not limited here. The current location area of ​​the terminal device refers to the current location of the terminal device, which can be accurate to the province, city, county, etc., and can be determined based on actual conditions.

[0062] The mobile network contract information of the terminal device may include: the mobile network type of the terminal device, and the contract information under the mobile network type. Among them, the mobile network type of the terminal device includes a mobile network of the mobile type (the corresponding operator is China Mobile), a mobile network of the Unicom type (the corresponding operator is China Unicom), etc. The contract information under the mobile network type can be understood as the mobile network type under the operator. For example, the terminal device has signed a 4G network contract under the mobile network of the mobile type. Simply put, the SIM card inserted by the user in the terminal device is used to handle China Mobile's 4G network service.

[0063] For step 102 and step 103, it should be noted that there are three necessary conditions for the use of the VoWiFi function: 1. The current location area of ​​the terminal device supports the VoWiFi function (for example, the terminal device is currently located in Beijing, and Beijing supports the VoWiFi function); 2. The mobile network contract information of the terminal device supports the VoWiFi function (for example, the SIM card inserted by the terminal device user in the terminal device is for China Telecom's 5G service, and the area where the SIM card is processed is a location area that supports the VoWiFi function, that is, the mobile network contract information supports the VoWiFi function); 3. The target WiFi network currently connected to the terminal device supports the VoWiFi function (for example, the target WiFi network currently connected to the terminal device is a home WiFi network, rather than a WiFi network in an enterprise or other public area, it can be considered that the target WiFi network currently connected to the terminal device supports the VoWiFi function).

[0064] Therefore, after determining the current location area of ​​the terminal device and the mobile network subscription information of the terminal device in step 101, it can be determined whether the current location area of ​​the terminal device and the mobile network subscription information of the terminal device support the VoWiFi function. The specific determination method is as follows:

[0065] When determining whether the current location area of ​​the terminal device supports the VoWiFi function:

[0066] It should be understood that the terminal device stores the location area supporting VoWiFi function when it is shipped. If the location area supporting VoWiFi function is updated subsequently, the server updates the location area supporting VoWiFi function in the preconfigured location area list and interacts with the terminal device to update the location area supporting VoWiFi function to the terminal device. In the specific judgment, it is only necessary to check whether the stored location area supporting VoWiFi function in the terminal device contains the current location area of the terminal device. If it contains, it means that the current location area of the terminal device supports VoWiFi function. If it does not contain, it means that the current location area of the terminal device does not support VoWiFi function.

[0067] In the judgment of whether the mobile network subscription information of the terminal device supports VoWiFi function:

[0068] In actual application, the SIM card of the set operator supporting VoWiFi function can be directly inserted into the terminal device, for example, the SIM card of China Telecom supporting VoWiFi function is directly inserted into the terminal device. At this time, the terminal device can determine whether the SIM card of China Telecom has handled 5G network service by reading the SIM card information. If yes, it is considered that the mobile network subscription information of the terminal device supports VoWiFi function. If no, it is considered that the mobile network subscription information of the terminal device does not support VoWiFi function.

[0069] If it is determined that the current location area of the terminal device and the mobile network subscription information of the terminal device both support VoWiFi function, the VoWiFi function available information of the target WiFi network currently connected by the terminal device can be queried in the set database, and then the VoWiFi function of the terminal device is enabled or closed according to the query result. The specific implementation mode of this step can be referred to in subsequent embodiments, and will not be described in detail here.

[0070] Based on the above, the VoWiFi control method provided in the embodiment of the present application determines the current location area of ​​the terminal device and the mobile network subscription information of the terminal device. If both the location area and the mobile network subscription information support the VoWiFi function, the VoWiFi function availability information of the target WiFi network to which the terminal device is currently connected is queried in the setting database to determine whether the VoWiFi function is available under the target WiFi network. Based on the query result, the use of the VoWiFi function of the terminal device can be controlled. It should be understood that if the terminal device connects to the same WiFi network multiple times, the VoWiFi function availability information of the WiFi network can be queried in the setting database. If it is determined that the VoWiFi function of the WiFi network is unavailable based on the VoWiFi function availability information, the VoWiFi function of the terminal device can be directly turned off when the VoWiFi function of the WiFi network is found to be unavailable for the first time. When the terminal device connects to the WiFi network again next time, there is no need to try to turn on the VoWiFi function of the terminal device, thereby ensuring the power consumption of the terminal device.

[0071] The following describes how to control the use of the VoWiFi function of the terminal device based on the query results:

[0072] As an implementation method: if the VoWiFi function availability information is queried in the setting database, and the VoWiFi function availability information indicates that the VoWiFi function is not available under the target WiFi network, the VoWiFi function of the terminal device is turned off.

[0073] It should be understood that if the VoWiFi function availability information is queried in the setting database, and based on the VoWiFi function availability information, it can be determined that the VoWiFi function is not available under the target WiFi network, it means that the terminal device may have connected to the target WiFi network before, and the target WiFi network cannot support the VoWiFi function. The specific reason may be that the target WiFi network is a public WiFi network and does not meet the requirements for setting up a home WiFi network.

[0074] As another implementation manner: if the VoWiFi function availability information is found in the setting database, and the VoWiFi function availability information indicates that the VoWiFi function is available in the target WiFi network, the VoWiFi function of the terminal device is enabled.

[0075] It should be understood that if the VoWiFi function availability information is queried in the setting database, and based on the VoWiFi function availability information, it can be determined that the VoWiFi function is available under the target WiFi network, then it means that the terminal device may have been connected to the target WiFi network before, and the target WiFi network can support the VoWiFi function. At this time, it is sufficient to enable the VoWiFi function of the terminal device.

[0076] As another implementation method: if the VoWiFi function availability information is not found in the setting database, the VoWiFi function of the target WiFi network is registered; if the registration fails, the VoWiFi function of the terminal device is disabled; if the registration is successful, the VoWiFi function of the terminal device is enabled.

[0077] In actual application, if the VoWiFi function available information is not found in the setting database, it means that the terminal device may not have connected to the target WiFi network before. At this time, the VoWiFi function registration of the target WiFi network can be performed. Figure 2 As shown, the specific steps for registering the VoWiFi function of the target WiFi network include:

[0078] 201. Send a registration request message to a registration server, so that the registration server determines registration response information of the VoWiFi function of the terminal device in the target WiFi network according to the mobile network subscription information of the terminal device and the network bandwidth type of the target WiFi network.

[0079] 202. Receive registration response information sent by the registration server. When the registration fails, the registration response information includes registration failure reason data.

[0080] During specific implementation, the terminal device sends a registration request message to the registration server. The registration request message may carry the mobile network contract information of the terminal device (for example, the operator corresponding to the SIM card in the terminal device is China Telecom, and its network type is 4G network) and the bandwidth type of the target WiFi network (for example, the bandwidth type of the target WiFi network is public network bandwidth).

[0081] After receiving the registration request, the server determines a registration response for the terminal device's VoWiFi function on the target WiFi network based on the information contained in the registration request and sends it to the terminal. If registration is successful, the VoWiFi function is enabled on the terminal device. If registration fails, the VoWiFi function is disabled, and the registration response contains the reason for the registration failure, such as "The target WiFi network does not have a home-type network bandwidth" or "The terminal user is using a 4G network," among other reasons.

[0082] By returning registration failure reason data to the terminal device when registration fails, the user can clearly understand the reason for the registration failure, and then try to re-register after making improvements to the registration failure reason, thereby improving the user experience.

[0083] Furthermore, after the VoWiFi function of the target WiFi network is registered, the VoWiFi function availability information corresponding to the target WiFi network may be generated according to the registration result, so as to be updated into the setting database.

[0084] Specifically, if registration is successful, VoWiFi function availability information is generated, indicating that the VoWiFi function is available on the target WiFi network; or if registration fails, registration failure reason data is obtained, and VoWiFi function availability information is generated, indicating that the VoWiFi function is unavailable on the target WiFi network based on the obtained registration failure reason data. However, regardless of whether registration is successful or failed, the VoWiFi function availability information indicating whether the VoWiFi function is available or unavailable on the target WiFi network needs to be updated to the settings database so that the terminal device can directly query the VoWiFi function availability information in the settings database when it subsequently connects to the target WiFi network. In particular, if the VoWiFi function availability information is found to indicate that the VoWiFi function is unavailable on the WiFi network, the VoWiFi function of the terminal device can be directly turned off without having to try to turn on the VoWiFi function of the terminal device again, thereby reducing the power consumption of the terminal device.

[0085] For ease of understanding, a specific example is provided below to illustrate the solution of this application:

[0086] Assume that the operator of the SIM card inserted in the terminal device is China Telecom, and its mobile network type is 4G network. In actual applications, operators that support the VoWiFi function include China Telecom, and the mobile network type that supports the VoWiFi function is 5G network. Based on this scenario, if Figure 3 As shown, when implementing:

[0087] S1. Determine the current location area of ​​the terminal device and the mobile network subscription information of the terminal device.

[0088] S2. Determine whether the location area and mobile network subscription information support the VoWiFi function. If not, disable the VoWiFi function of the terminal device. If supported, query the setting database for information on the availability of the VoWiFi function of the target WiFi network currently connected to the terminal device.

[0089] S3. If the VoWiFi function availability information is found in the setting database, determine whether the VoWiFi function availability information indicates that the VoWiFi function is available under the target WiFi network. If so, enable the VoWiFi function of the terminal device. If not, disable the VoWiFi function of the terminal device.

[0090] S4. If the VoWiFi function availability information is not found in the setting database, the VoWiFi function of the target WiFi network is registered; if the registration is successful, the VoWiFi function of the terminal device is enabled; if the registration fails, the VoWiFi function of the terminal device is disabled, and the registration failure reason data returned by the server is received, such as "No such name", "NETWORK_FAILRE", "9001USER_UNKOWN", "AUTHENTICATION FAILED", etc.

[0091] To facilitate understanding, the following example illustrates a scenario where registration failure reason data may be returned when enabling the VoWiFi function on a terminal device:

[0092] Scenario 1: A 4G subscriber in a province with VoWiFi has a VoWiFi-enabled device. In this scenario, the device may receive a "9001USER_UNKOWN" error message (because the user is not currently a 5G subscriber). In this case, the user can restart the device, re-insert the SIM card, or re-register at the beginning of each month. Registration failure in this scenario may occur during the authentication phase.

[0093] Scenario 2: A 4G or 5G subscriber in a province with VoWiFi roams to a province where VoWiFi is not supported. In this scenario, the terminal device may receive a "No such name" message (because the terminal device's current location area does not support VoWiFi). In this case, the terminal device will record that the target WiFi network it is currently connected to does not support VoWiFi and upload this VoWiFi availability information to the settings database. Subsequent terminal devices will stop attempting to register for VoWiFi after receiving a "No such name" message. Registration failures in this scenario may occur during the DNS query phase.

[0094] To facilitate understanding of the "authentication phase" and "DNS query phase" in scenarios 1 and 2, let's use an example. The Evolved Packet Data Gateway (EPDG) is a core network element. To enable VoWiFi, a terminal device must first connect to the EPDG and then connect to the core network. For example, if a terminal device connects to a WiFi network and registers for VoWiFi, it first performs a Domain Name System (DNS) query, which essentially queries the EPDG address. If the DNS query successfully finds the EPDG address, VoWiFi registration is successful. If the server returns a failure reason, such as "No such name," during this process, registration failed in the first DNS query phase. If the DNS query successfully finds the EPDG address, the authentication phase begins. If authentication succeeds, the terminal device's user is legitimate, and VoWiFi registration is then performed on the core network.

[0095] Scenario 3: A 5G subscriber (whose terminal device supports the VoWiFi function) in a province where VoWiFi is not deployed roams to a province where the VoWiFi function is supported. In this scenario, the terminal device may receive an "AUTHENTICATION FAILED" message (because the mobile network contract location of the SIM card inserted in the terminal device does not support the VoWiFi function). In this case, the target WiFi network currently connected to the terminal device is recorded as not supporting the VoWiFi function, and the information on the availability of the VoWiFi function is uploaded to the settings database. In this case, you can wait until the list of areas supporting the VoWiFi function is updated, or the user can re-insert the SIM card and try to re-register. The registration failure in this scenario may occur during the authentication stage.

[0096] Scenario 4: A 4G subscriber (terminal device supports VoWiFi function) in a province where VoWiFi is not deployed roams to a province that supports VoWiFi function. In this scenario, the terminal device may receive "AUTHENTICATION FAILED" (because the mobile network contract location of the SIM card inserted in the terminal device does not support the VoWiFi function, and the user has applied for a 4G mobile network, which does not support the VoWiFi function). In this case, it is recorded that the target WiFi network currently connected to the terminal device does not support the VoWiFi function, and the availability information of this VoWiFi function is uploaded to the setting database. In addition, you can wait until the list of areas that support the VoWiFi function is updated, or the user can re-insert the SIM card and try to re-register. The registration failure in this scenario may occur during the authentication stage.

[0097] Scenario 5: China Telecom's 4G or 5G subscribers (terminal devices supporting the VoWiFi function) access China Telecom's WiFi network other than home broadband. In this scenario, the terminal device may receive a "NETWORK FAILRE" message (because the WiFi network the terminal device accesses may be China Telecom's public WiFi network, which does not support the VoWiFi function). In this case, the target WiFi network currently connected to the terminal device is recorded as not supporting the VoWiFi function, and the availability information of this VoWiFi function is uploaded to the settings database. Subsequently, the terminal device will stop attempting to register for the VoWiFi function after receiving "NETWORK_FAILRE". A timer can be set here, and re-registration can be attempted after the time period set by the timer expires. The registration failure in this scenario may occur during the authentication stage.

[0098] Scenario 6: A China Telecom 4G or 5G subscriber (with a VoWiFi-supported device) accesses a Wi-Fi network from a different network. In this scenario, the device may receive a "No such name" message (because the Wi-Fi network the device is connected to could be China Mobile's or China Unicom's, which do not support VoWiFi). In this case, the device will record that the target Wi-Fi network the device is currently connected to does not support VoWiFi, and upload this information to the settings database. Subsequently, the device will stop attempting to register for VoWiFi after receiving a "NETWORK FAILURE" message. Registration failure in this scenario may occur during the DNS query phase.

[0099] In some of the processes described in the above embodiments and the accompanying drawings, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or may be executed in parallel. The sequence numbers of the operations, such as 201, 202, etc., are only used to distinguish between different operations, and the sequence numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., and do not represent a sequential order, nor do they limit "first" and "second" to different types.

[0100] The VoWiFi control device of one or more embodiments of the present application will be described in detail below. Those skilled in the art will appreciate that these devices can be configured using commercially available hardware components through the steps taught in this solution.

[0101] Figure 4 A VoWiFi control device is provided in an embodiment of the present application, such as Figure 4 As shown, the device includes: a determination module 11, a query module 12 and a control module 13.

[0102] Determination module 11, used to determine the current location area of ​​the terminal device and the mobile network subscription information of the terminal device;

[0103] A query module 12 is configured to query the setting database for VoWiFi function availability information of the target WiFi network to which the terminal device is currently connected, if both the location area and the mobile network subscription information support the VoWiFi function. The VoWiFi function availability information is used to describe whether the VoWiFi function is available in the target WiFi network.

[0104] The control module 13 is used to control the use of the VoWiFi function of the terminal device based on the query result.

[0105] Optionally, the control module 13 is specifically configured to: if the VoWiFi function availability information is found in the setting database, and the VoWiFi function availability information indicates that the VoWiFi function is unavailable on the target WiFi network, disable the VoWiFi function of the terminal device. Furthermore, if the VoWiFi function availability information is found in the setting database, and the VoWiFi function availability information indicates that the VoWiFi function is available on the target WiFi network, enable the VoWiFi function of the terminal device. Furthermore, if the VoWiFi function availability information is not found in the setting database, register the VoWiFi function for the target WiFi network; if registration fails, disable the VoWiFi function of the terminal device; and if registration is successful, enable the VoWiFi function of the terminal device.

[0106] Optionally, the device further includes: an updating module, configured to generate VoWiFi function availability information corresponding to the target WiFi network according to the registration result, so as to update the information into the setting database.

[0107] Optionally, the update module is specifically used to: if the registration is successful, generate VoWiFi function available information indicating that the VoWiFi function is available under the target WiFi network; or, if the registration fails, obtain registration failure reason data to generate VoWiFi function available information indicating that the VoWiFi function is unavailable under the target WiFi network based on the obtained registration failure reason data.

[0108] Optionally, the control module 13 is specifically used to: send a registration request message to a registration server, so that the registration server determines the registration response information of the VoWiFi function of the terminal device under the target WiFi network based on the mobile network contract information of the terminal device and the network bandwidth type of the target WiFi network; receive the registration response message sent by the registration server, wherein, when the registration fails, the registration response message includes registration failure reason data.

[0109] Optionally, the setting database includes a local setting database and / or a cloud setting database.

[0110] Optionally, the query module 12 is specifically configured to: if the VoWiFi function availability information is not found in the local setting database, query the VoWiFi function availability information in the cloud setting database.

[0111] Figure 4The device shown can execute the steps performed based on the VoWiFi control method in the aforementioned embodiment. The detailed execution process and technical effects can be found in the description of the aforementioned embodiment, which will not be repeated here.

[0112] An embodiment of the present application further provides a terminal device, comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the terminal device is triggered to execute the above-mentioned VoWiFi control method.

[0113] The terminal device may be a mobile phone, a wearable device, a tablet computer, a vehicle-mounted terminal, etc. The embodiments of the present application do not limit the specific technology and specific device form adopted by the terminal device.

[0114] In order to better understand the embodiments of the present application, the structure of the terminal device to which the embodiments of the present application are applicable is described below. Figure 5 FIG. 1 is a schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Figure 5 The terminal device 10 shown may include a processor 110 , a memory 120 , a universal serial bus (USB) interface 130 , a power supply 140 , a communication module 150 , a display screen 160 , and the like.

[0115] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 10. In other embodiments of the present application, the terminal device 10 may include more or fewer components than shown in the figure, or combine certain components, or split certain components, or arrange the components differently. The illustrated components can be implemented in hardware, software, or a combination of software and hardware. The processor 110 may include one or more processing units, for example: the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a digital signal processor (DSP, baseband processor), etc. Among them, different processing units may be independent devices or integrated into one or more processors.

[0116] The controller can generate operation control signals according to the instruction operation code and timing signal to complete the control of instruction fetching and execution.

[0117] Processor 110 may also include a memory for storing instructions and data. In some embodiments, the memory in processor 110 is a cache memory. This memory can store instructions or data that have just been used or are being recycled by processor 110. If processor 110 needs to use the same instruction or data again, it can directly access the memory. This avoids duplicate accesses, reduces processor 110 latency, and thus improves system efficiency.

[0118] The power supply 140 supplies power to the terminal device 10 .

[0119] The communication module 150 can use any transceiver or similar device to provide the terminal device 10 with the following functions:

[0120] Wireless Local Area Networks (WLAN) (such as Wireless Fidelity (Wi-Fi) networks), Bluetooth (BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR) and other wireless communication solutions. The communication module 150 can be one or more devices that integrate at least one communication processing module. The communication module 150 receives electromagnetic waves via an antenna, frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110. The communication module 150 can also receive the signal to be sent from the processor 110, frequency modulate it, amplify it, and convert it into electromagnetic waves for radiation through the antenna.

[0121] In some embodiments, the antenna of the terminal device 10 is coupled to the communication module 150 so that the terminal device 10 can communicate with a network and other devices via wireless communication technologies. The wireless communication technologies may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), wideband code division multiple access (WCDMA), time-division code division multiple access (TD-SCDMA), long term evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technology. The GNSS may include global positioning system (GPS), global navigation satellite system (GLONASS), Beidou navigation satellite system (BDS), quasi-zenith satellite system (QZSS) and / or satellite based augmentation system (SBAS).

[0122] The terminal device 10 implements display functions through a GPU, display screen 160, and an application processor. The GPU is a microprocessor for image processing that connects the display screen 160 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or modify display information.

[0123] The display screen 160 is used to display images, videos, etc. The display screen 160 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a MiniLED, a MicroLED, a Micro-oLed, or a quantum dot light-emitting diode (QLED). In some embodiments, the terminal device 10 may include one or N display screens 160, where N is a positive integer greater than 1.

[0124] The memory 120 can be used to store one or more computer programs, each of which includes instructions. The processor 110 can execute the instructions stored in the memory 120, thereby enabling the terminal device 10 to perform various functional applications and data processing. The memory 120 may include a program storage area and a data storage area. The program storage area may store an operating system.

[0125] The data storage area can store data created during the use of the terminal device 10. In addition, the memory 120 can

[0126] It includes high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. In some embodiments, the processor 110 can enable the terminal device 10 to perform various functional applications and data processing by running instructions stored in the memory 120 and / or instructions stored in the memory provided in the processor 110.

[0127] Figure 6 This is a software structure block diagram of a terminal device provided in an embodiment of the present application.

[0128] A layered architecture divides software into several layers, each with distinct roles and responsibilities. Layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers: the application layer, the application framework layer, the Android runtime and system libraries, and the kernel layer.

[0129] The application layer can include a series of application packages.

[0130] Figure 6 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, short message, etc.

[0131] The application framework layer provides an application programming interface (API) and programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0132] Figure 6 As shown, the framework layer may include a phone framework, a Bluetooth framework, an audio framework, and the like.

[0133] The phone framework is used to manage phone applications. It can obtain the display size, determine whether there is a status bar, lock the screen, take screenshots, etc.

[0134] The Bluetooth framework is used to provide Bluetooth functionality.

[0135] The audio framework is used to provide audio data.

[0136] The Android Runtime consists of the core library and the virtual machine. The Android runtime is responsible for scheduling and management of the Android system.

[0137] The core library consists of two parts: one is the function that needs to be called by the Java language, and the other is the Android core library.

[0138] The application and framework layers run in a virtual machine. The virtual machine executes Java files from the application and framework layers as binary files. The virtual machine manages object lifecycles, stack management, thread management, security and exception management, and garbage collection.

[0139] The hardware abstraction layer can include multiple functional modules, such as call manager, Bluetooth manager, audio manager, etc.

[0140] The call manager is used to manage call functions.

[0141] The Bluetooth manager is used to manage Bluetooth functions.

[0142] The audio manager supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The audio manager can also support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0143] The driver layer is the layer between hardware and software. The driver layer includes at least display driver, Bluetooth driver, audio driver, etc.

[0144] The following is an example of the workflow of the software and hardware of the terminal device 10 based on the VoWiFi control scenario.

[0145] The processor 110 determines the current location area of ​​the terminal device and the mobile network subscription information of the terminal device; if the location area and the mobile network subscription information both support the VoWiFi function, the processor 110 queries the setting database for the VoWiFi function availability information of the target WiFi network to which the terminal device is currently connected; and based on the query result, controls the use of the VoWiFi function of the terminal device.

[0146] The embodiment of the present application also provides a computer-readable storage medium, which includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned VoWiFi control method. Those skilled in the art should understand that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0147] An embodiment of the present application further provides a computer program product, which includes: a computer program, which, when executed by a processor of an electronic device, causes the processor to execute the above-mentioned VoWiFi control method.

[0148] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0149] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0150] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.

[0151] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0152] In a typical configuration, a computing device includes one or more processors (CPUs), input / output interfaces, network interfaces, and memory.

[0153] Memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. Memory is an example of a computer-readable medium.

[0154] Computer-readable media includes permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. The information can be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media (transitory media), such as modulated data signals and carrier waves.

[0155] It should also be noted that the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, commodity, or apparatus that includes a series of elements includes not only those elements but also other elements not explicitly listed, or includes elements inherent to such process, method, commodity, or apparatus. In the absence of further limitations, an element defined by the phrase "comprises a ..." does not exclude the presence of other identical elements in the process, method, commodity, or apparatus that includes the element.

[0156] The foregoing is merely an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should all be included within the scope of the claims of the present application.

Claims

1. A VoWiFi control method, characterized in that: include: Determining the current location area of ​​the terminal device and the mobile network subscription information of the terminal device; If both the location area and the mobile network subscription information support the VoWiFi function, querying the setting database for VoWiFi function availability information of the target WiFi network to which the terminal device is currently connected, where the VoWiFi function availability information is used to describe whether the VoWiFi function is available under the target WiFi network; Based on the query result, use of the VoWiFi function of the terminal device is controlled.

2. The method according to claim 1, characterized in that The controlling the use of the VoWiFi function of the terminal device based on the query result includes: If the VoWiFi function availability information is found in the setting database, and the VoWiFi function availability information indicates that the VoWiFi function is unavailable under the target WiFi network, the VoWiFi function of the terminal device is turned off.

3. The method according to claim 1, characterized in that The controlling the use of the VoWiFi function of the terminal device based on the query result includes: If the VoWiFi function availability information is found in the setting database, and the VoWiFi function availability information indicates that the VoWiFi function is available under the target WiFi network, the VoWiFi function of the terminal device is enabled.

4. The method according to claim 1, wherein The controlling the use of the VoWiFi function of the terminal device based on the query result includes: If the VoWiFi function availability information is not found in the setting database, registering the VoWiFi function of the target WiFi network; If the registration fails, the VoWiFi function of the terminal device is disabled; If the registration is successful, the VoWiFi function of the terminal device is enabled.

5. The method according to claim 4, characterized in that The method further comprises: According to the registration result, the VoWiFi function availability information corresponding to the target WiFi network is generated to be updated into the setting database.

6. The method according to claim 5, characterized in that The generating, based on the registration result, the VoWiFi function availability information corresponding to the target WiFi network includes: If the registration is successful, then generating VoWiFi function available information indicating that the VoWiFi function is available under the target WiFi network; or, If the registration fails, registration failure reason data is obtained, so as to generate VoWiFi function available information indicating that the VoWiFi function is unavailable under the target WiFi network according to the obtained registration failure reason data.

7. The method according to any one of claims 4 to 6, characterized in that The VoWiFi function registration of the target WiFi network includes: Sending a registration request message to a registration server, so that the registration server determines registration response information of the VoWiFi function of the terminal device under the target WiFi network according to the mobile network subscription information of the terminal device and the network bandwidth type of the target WiFi network; The registration response information sent by the registration server is received, wherein when registration fails, the registration response information includes registration failure reason data.

8. The method according to claim 1, characterized in that The setting database includes a local setting database and / or a cloud setting database.

9. The method according to claim 8, characterized in that The querying of the setting database for the VoWiFi function availability information of the target WiFi network currently connected to the terminal device includes: If the VoWiFi function availability information is not found in the local setting database, the VoWiFi function availability information is found in the cloud setting database.

10. A terminal device, characterized in that: The method comprises a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the terminal device is triggered to execute the method according to any one of claims 1 to 9.

11. A computer-readable storage medium, characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 9.

12. A computer program product, characterized in that include: A computer program, when executed by a processor of an electronic device, causes the processor to perform the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • VoWiFi service updating method, control method and related device

    CN109862552A

  • Method for selecting to access VoWiFi network by terminal and mobile terminal

    CN110149677A

  • VoWifi service fulfillment method, system, device, medium and product

    CN115334049A

  • IMS call network switching method and device, terminal and readable storage medium

    CN115884281A

  • Parameter setting method, terminal equipment and readable storage medium

    CN117135562A