CN112740634A - Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment - Google Patents

Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment Download PDF

Info

Publication number
CN112740634A
CN112740634A CN201880097894.7A CN201880097894A CN112740634A CN 112740634 A CN112740634 A CN 112740634A CN 201880097894 A CN201880097894 A CN 201880097894A CN 112740634 A CN112740634 A CN 112740634A
Authority
CN
China
Prior art keywords
vowi
state
network
registration
information
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.)
Granted
Application number
CN201880097894.7A
Other languages
Chinese (zh)
Other versions
CN112740634B (en
Inventor
马裕清
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology Co Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Shenzhen Huantai Technology 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 Guangdong Oppo Mobile Telecommunications Corp Ltd, Shenzhen Huantai Technology Co Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN112740634A publication Critical patent/CN112740634A/en
Application granted granted Critical
Publication of CN112740634B publication Critical patent/CN112740634B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • 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

Abstract

The invention relates to a method for acquiring a registration state of a voice service based on Wi-Fi, which comprises the following steps: acquiring on-off state information of Vowi-Fi based voice service and a Vowi-Fi registration state, caching, updating the Vowi-Fi registration state according to the Vowi-Fi on-off state information, and controlling a Vowi-Fi icon to be displayed or hidden according to the Vowi-Fi registration state. Correspondingly, the invention also provides a device for acquiring the registration state of the voice service based on the Wi-Fi, the electronic equipment and a readable storage medium, so that the accuracy and the stability of the Vowi-Fi icon display are improved.

Description

Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment Technical Field
The invention relates to the technical field of communication, in particular to a method and a device for acquiring a registration state of a voice service based on Wi-Fi, an electronic device and a computer-readable storage medium.
Background
With the popularization of Wi-Fi in public places, when the coverage range of LTE cannot reach full coverage and indoor coverage is weak, a non-3 GPP network communication function Vowi-Fi (Voice over Wi-Fi based Voice service) based on a Wi-Fi access technology comes up. The Vowi-Fi technology is a Vowi-Fi voice service provided for a user by an operator by utilizing a Wi-Fi hotspot. The Vowi-Fi technology can solve the problem that an operator has poor mobile signals in indoor coverage and remote mountain areas, so that a user can make and receive voice or video calls in a place with Wi-Fi signals like a cellular network. However, the existing electronic equipment has the problem that the Vowi-Fi icon display is unstable.
Disclosure of Invention
Based on this, there is a need to provide a method, an apparatus, an electronic device and a computer-readable storage medium capable of solving the instability of the display of the VoWi-Fi icon.
The embodiment of the application provides a method for acquiring a registration state of a voice service based on Wi-Fi, which comprises the following steps:
acquiring on-off state information of voice service Vowi-Fi based on Wi-Fi and a registration state of the Vowi-Fi, and caching;
updating the registration state of the Vowi-Fi according to the on-off state information of the Vowi-Fi;
and controlling the icon of the Vowi-Fi to be displayed or hidden according to the registration state of the Vowi-Fi.
The embodiment of the application provides a device for acquiring a registration state of a voice service based on Wi-Fi, which comprises:
the acquisition module is used for acquiring the on-off state information of the Vowi-Fi based voice service Vowi-Fi and the registration state of the Vowi-Fi and caching the information;
the updating module is used for updating the registration state of the Vowi-Fi according to the on-off state information of the Vowi-Fi;
and the display module is used for controlling the icon of the Vowi-Fi to be displayed or hidden according to the registration state of the Vowi-Fi.
An embodiment of the present application further provides an electronic device, including a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor is enabled to execute:
acquiring on-off state information of voice service Vowi-Fi based on Wi-Fi and a registration state of the Vowi-Fi, and caching;
updating the registration state of the Vowi-Fi according to the on-off state information of the Vowi-Fi;
and controlling the icon of the Vowi-Fi to be displayed or hidden according to the registration state of the Vowi-Fi.
Embodiments of the present application further provide a computer non-transitory readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of processing an application program as described above.
When the method is implemented by the electronic equipment and the computer-readable storage medium, the on-off state information of the Vowi-Fi based voice service is acquired and cached, the registration state of the Vowi-Fi is updated according to the on-off state information of the Vowi-Fi, and the icon of the Vowi-Fi is controlled to be displayed or hidden according to the registration state of the Vowi-Fi, so that the accuracy and the stability of the display of the Vowi-Fi icon are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings of the embodiments can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a method for obtaining a registration status of a Wi-Fi based voice service according to an embodiment;
FIG. 2 is a schematic diagram of an apparatus for acquiring a registration status of a Wi-Fi-based voice service according to an embodiment;
FIG. 3 is a schematic diagram of an internal structure of an electronic device according to an embodiment;
fig. 4 is a block diagram of a partial structure of an electronic device related to a computer device provided in an embodiment of the present application.
Detailed Description
To facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
As shown in fig. 1, an embodiment of the present application provides a method for acquiring a registration status of a voice service based on Wi-Fi, which is applied to an electronic device, and the method includes:
s110, acquiring the on-off state information of the Vowi-Fi based voice service Vowi-Fi and the registration state of the Vowi-Fi, and caching.
Vowi-Fi is a voice service based on Wi-Fi, and by using electronic equipment with a Vowi-Fi function, voice calling and answering can be carried out in a traditional dialing mode under a Wi-Fi environment without downloading an APP application program by a user. The Vowi-Fi is a function built in electronic equipment, and can directly enter a core network of an operator to realize the intercommunication with a cellular network.
The switch state information of the Wi-Fi based voice service, VoWi-Fi, may be displayed on a display interface of the electronic device, and specifically, the display interface may display the prompt information in a pop-up window, a floating frame, or the like, where the prompt information may include a yes selection button and a no selection button, and carry a prompt to prompt a corresponding operation, for example, whether to turn on a VoWi-Fi function, and a yes selection button and a no selection button are configured below the same. And receiving control instructions input by the user through the 'yes' and 'no' selection keys, and carrying out corresponding operation according to the control instructions. Specifically, when the fact that the 'yes' selection key is clicked is monitored, if the fact that a control instruction for starting the Vowi-Fi input by a user is received is explained, the starting state information of the Vowi-Fi is cached; when the condition that the No selection key is clicked is monitored, if the fact that a control instruction for closing the Vowi-Fi input by a user is received is explained, the closing state information of the Vowi-Fi is cached. In addition, if the control instruction input by the user is not received within the preset time, the control instruction can be operated by default, and corresponding operation is executed. The default operation may be preset by the user, for example, the default operation is an operation in which a "yes" selection key is selected, and the like. The preset time may also be preset by a user or default, for example, 30 seconds, 60 seconds, and the like, and the specific numerical value is not limited in the embodiment of the present application.
In the embodiment of the application, after the Vowi-Fi function is started, in order to facilitate a user to use the Vowi-Fi function, an operation interface or an identifier of the Vowi-Fi function can be added to a user interface of the electronic device and displayed in the user interface. For example, a switch for Vowi-Fi is displayed on the setup interface.
The registration state of the Vowi-Fi comprises a registration state and an unregistered state, and after the electronic equipment is started, the registration state of the Vowi-Fi is generated and cached with the on-off state information of the Vowi-Fi.
And S120, updating the registration state of the Vowi-Fi according to the on-off state information of the Vowi-Fi.
In one embodiment, an electronic device may include a processor and a modem, the modem transmitting a registration status of the Vowi-Fi to the processor, the processor generating switch status information when a Vowi-Fi switch is turned on or off by a user, the processor caching the switch status information of the Vowi-Fi and updating the registration status of the Vowi-Fi according to the switch status information of the Vowi-Fi.
After the electronic equipment is started, the modem executes whether to register the Vowi-Fi according to the last switching operation of the Vowi-Fi by a user, if the last state of the Vowi-Fi before the electronic equipment is started is the starting state, the modem directly registers the Vowi-Fi and the registration is successful after the electronic equipment is started, then the registration state is directly sent to the processor, and the processor displays the registration state on the state display column in the form of a Vowi-Fi icon. At this time, if the real on-off state of the Vowi-Fi is the unopened state, the processor does not send the Vowi-Fi in the unopened state to the modem, the modem has waited to send the registered state of the Vowi-Fi to the processor, and the processor displays the registered state in the state display column in the form of a Vowi-Fi icon. And after the processor sends the Vowi-Fi to the modem in the non-opening state, the modem turns off the Vowi-Fi again, so that the phenomenon that the Vowi-Fi icon display disappears again is caused.
In the embodiment of the application, whether the Vowi-Fi switch state is the on state is judged according to the Vowi-Fi switch state parameter.
Specifically, after receiving the on-off state information of the Vowi-Fi, acquiring the configuration parameters of the Vowi-Fi, wherein the configuration parameters comprise the on-off state parameters of the Vowi-Fi and the registration parameters of the Vowi-Fi, and updating the registration state of the Vowi-Fi according to the on-off state parameters of the Vowi-Fi and the registration parameters of the Vowi-Fi. The configuration parameters of the Vowi-Fi can reflect the Vowi-Fi network service, and when the on-off state parameters of the Vowi-Fi are changed, the registration parameters of the Vowi-Fi are changed. Therefore, the Vowi-Fi switch state information can be judged by using the switch state parameter of the Vowi-Fi, and whether the Vowi-Fi network service can be used or not is judged by using the registration parameter of the Vowi-Fi, so that whether the Vowi-Fi voice call function can be normally used or not is judged, and the registration state of the Vowi-Fi is updated. The Vowi-Fi registration status can be displayed in a status bar of the electronic device so that the user can see the Vowi-Fi registration status in real time.
If the on-off state of the Vowi-Fi is not in the on state, updating the registered state of the Vowi-Fi to be an unregistered state;
if the on-off state of the Vowi-Fi is the on state, judging whether the Vowi-Fi is registered successfully according to the registration parameters of the Vowi-Fi;
if the Vowi-Fi is not registered successfully, updating the registration state of the Vowi-Fi to be an unregistered state;
and if the Vowi-Fi registration is successful, updating the registration state of the Vowi-Fi to be the registered state.
S130, controlling the Vowi-Fi icon to be displayed or hidden according to the registration state of the Vowi-Fi.
When the registration state of the Vowi-Fi is the registered state, displaying an icon of the Vowi-Fi;
and when the registered state of the Vowi-Fi is the unregistered state, hiding the icon of the Vowi-Fi.
According to the embodiment of the application, the on-off state information of the Vowi-Fi based voice service is obtained and cached, the registration state of the Vowi-Fi is updated according to the on-off state information of the Vowi-Fi, the icon of the Vowi-Fi is controlled to be displayed or hidden according to the registration state of the Vowi-Fi, and the accuracy and the stability of the Vowi-Fi icon display are improved.
In one embodiment, after the register state of the Vowi-Fi is updated according to the on-off state information of the Vowi-Fi, the registered network information of the Vowi-Fi is obtained, the validity of the Vowi-Fi network is judged according to the network information and the corresponding register state of the Vowi-Fi, and the display or hiding of a Vowi-Fi icon is controlled according to the validity of the Vowi-Fi network.
The network information may include one or more combinations of registered VoWi-Fi network names, network signal values, and network types. For example, the network signal value, the network name and the registered network type or a combination of multiple pieces of network information may be included, and the specific combination form is not limited.
The network information refers to information for describing a VoWi-Fi network that the electronic device currently registers, including but not limited to a registered network name, a registered network type, a network signal value, and the like.
The registered network name refers to a Vowi-Fi network name currently registered by the electronic equipment. For example, the registered network name may be Wi-Fi-1, Wi-Fi-china, etc.
The signal value is a network signal strength indicating that the electronic device is currently connected. Such as 350k, 600k or 800k, etc.
The registered network type may be a fixed network broadband type or a mobile network type. The network type corresponding to the public network IP may be read from the database, for example, when the public network IP is within a range of an initial IP and a terminating IP of the fixed network broadband, it may be determined that the network type of the public network IP is the fixed network broadband, and when the public network IP is within a range of the initial IP and the terminating IP of the mobile network, it may be determined that the network type of the public network IP is the mobile network.
And judging whether the Vowi-Fi is an effective network or not according to the network information and the registration state of the Vowi-Fi. The method specifically comprises the following steps:
judging whether the network information is consistent with the corresponding registration state of the Vowi-Fi;
for example, if the registration state of the VoWi-Fi is unregistered, and when the network information includes a signal value, a registered network name, and a registered network type, if the signal value is 0dB, the registered network name is out of service, and the registered network type is out of network, since the acquired network information is invalid information, it may be determined that the acquired network information is consistent with the registration state of the VoWi-Fi. On the contrary, if the signal value is 0dB, the registered network name is Wi-Fi-china and the registered network type is no network, the registered network name is valid information, so that the valid information in the acquired network information can be determined, and further the inconsistency between the acquired network information and the registered state of Vowi-Fi can be determined.
The valid information and the invalid information refer to validity and invalidity of individual information in the network information, for example, when a signal value of a registered Vowi-Fi network is 0dB, the signal value is invalid information, and when the signal value of the registered Vowi-Fi network is 100k, the signal value is valid information; when the registered Vowi-Fi registered network signal name is out of service, the registered network signal name is invalid information, and when the registered Vowi-Fi registered network signal name is Wi-Fi-china, the registered network signal name is valid information.
If the registration state of the Vowi-Fi is registered, when the acquired network information is valid information, the acquired network information is determined to be consistent with the registration state of the Vowi-Fi, and when the acquired network information contains invalid information, the acquired network information is determined to be inconsistent with the registration state of the Vowi-Fi.
If the registration state of the Vowi-Fi is registered, the electronic equipment can be determined to have access to the Vowi-Fi network, that is, for the electronic equipment, the network information displayed on the display bar of the electronic equipment is valid information. Therefore, when the network information acquired by the electronic equipment is valid information, the acquired network information can be determined to be consistent with the registration state of the Vowi-Fi, and conversely, when invalid information exists in the acquired network information, the acquired network information can be determined to be inconsistent with the registration state of the Vowi-Fi.
If the network information is consistent with the corresponding registration state of the Vowi-Fi, the Vowi-Fi is an effective network;
and if the network information is inconsistent with the corresponding registration state of the Vowi-Fi, the Vowi-Fi is an invalid network.
If the Vowi-Fi is an effective network, controlling an icon of the Vowi-Fi to be displayed;
and if the Vowi-Fi is an invalid network, controlling the icon of the Vowi-Fi to hide.
Specifically, the processor may include an information transmission layer, an information analysis layer, an information judgment layer, and an information display layer, wherein the information transmission layer may receive the network information transmitted by the modem and transmit the received network information to the information analysis layer, and the information analysis layer analyzes the received network information and transmits the analyzed network information to the information judgment layer, so that the information judgment layer may identify the network information. After the information judging layer receives the analyzed network information, whether the network information is consistent with the registration state cached in the cache region or not is judged, if yes, the network information is sent to the cache region, and the Vowi-Fi icon display state of the information display layer is updated.
According to the embodiment of the application, whether the Vowi-Fi is an effective network or not is judged according to the network information and the corresponding registration state of the Vowi-Fi, and if the Vowi-Fi is the effective network, the display state of a Vowi-Fi icon is updated; if the network is invalid, the display state of the Vowi-Fi icon is kept, the Vowi-Fi icon is not updated, the accuracy of Vowi-Fi network display is improved, and user experience is improved.
In one embodiment, if the last state of the Vowi-Fi is the on state before the electronic device is turned on, the modem directly registers the Vowi-Fi after the electronic device is turned on and the registration is successful. And after the electronic equipment is started, the real state of the Vowi-Fi is a non-started state, the processor sends the Vowi-Fi in the non-started state to the modem, and the modem does not upload the registration state of the Vowi-Fi and sends the registration state to the processor before not receiving the started state of the Vowi-Fi transmitted by the processor, so that the stability of the Vowi-Fi icon display is ensured.
In one embodiment, if the network information is inconsistent with the corresponding registration state of the VoWi-Fi, the network information may be queried at preset time intervals, and when the network information obtained after querying is consistent with the corresponding registration state of the VoWi-Fi, it is determined that the VoWi-Fi is an active network, and the display state of a VoWi-Fi icon is updated.
Specifically, when the acquired network information is inconsistent with the registration state of the Vowi-Fi, the electronic device may query all information in the network information of the Vowi-Fi network every preset time period, judge whether the queried network information is consistent with the registration state of the Vowi-Fi, and if so, send the network information to a cache region, and update the icon display state of the Vowi-Fi of the information display layer; and if not, continuously re-inquiring all information in the network information of the Vowi-Fi network at preset time intervals until the re-inquired network information is consistent with the registration state of the Vowi-Fi. However, since there may be information consistent with the registration state of the VoWi-Fi in the network information acquired last time, it takes a lot of time to query all information in the network information every preset time. In order to save time and improve the display efficiency of network information and a Vowi-Fi icon, the electronic equipment can also determine information inconsistent with the registration state of the Vowi-Fi in the acquired network information, then inquire the information inconsistent with the changed registration state in the network information every preset time length, judge whether the inquired information is consistent with the registration state of the Vowi-Fi, if so, send the network information to a cache region, and update the network information and the Vowi-Fi icon display state which are correspondingly displayed on the Vowi-Fi information display layer; and if not, continuously inquiring the inconsistent information again at intervals of preset time, sending the network information to the cache region until the inquired information is equal to the inquired information again, and updating the network information and the icon display state of the Vowi-Fi, which are correspondingly displayed on the information display layer.
According to the embodiment of the application, after the network information is inconsistent with the corresponding registration state of the Vowi-Fi, the network information can be inquired at intervals of preset time, when the network information obtained after inquiry is consistent with the corresponding registration state of the Vowi-Fi, the Vowi-Fi is judged to be an effective network, the icon display state of the Vowi-Fi is updated, the icon display accuracy of the Vowi-Fi is improved, and the user experience is improved.
In one embodiment, after controlling the icon of the VoWi-Fi to be displayed or hidden according to the registration state of the VoWi-Fi, the method further includes: and selecting one Vowi-Fi from the Vowi-Fi list to automatically connect according to the Vowi-Fi connection record of the electronic equipment.
In one embodiment, selecting one of the VoWi-Fi auto-connects in the VoWi-Fi list specifically includes:
detecting signal intensity values of a plurality of Vowi-Fi in a current Vowi-Fi list;
comparing the signal intensity values of the plurality of Vowi-Fi to obtain a network with the maximum signal intensity value;
and automatically connecting the electronic equipment to the network with the maximum signal strength value.
According to the embodiment of the application, the signal intensity values of a plurality of Vowi-Fi in the current Vowi-Fi list are detected, and the electronic equipment is automatically connected to the network with the maximum signal intensity value, so that the connection efficiency of the Vowi-Fi network can be improved, and the user experience is improved.
As shown in fig. 2, the present embodiment provides an apparatus 20 for acquiring a registration status of a Wi-Fi-based voice service, the apparatus includes an acquiring module 21, an updating module 22 and a displaying module 23, wherein,
the acquisition module 21 is configured to acquire and cache on-off state information of a voice service VoWi-Fi and a registration state of the VoWi-Fi based on Wi-Fi;
Vowi-Fi is a voice service based on Wi-Fi, and by using electronic equipment with a Vowi-Fi function, voice calling and answering can be carried out in a traditional dialing mode under a Wi-Fi environment without downloading an APP application program by a user. The Vowi-Fi is a function built in electronic equipment, and can directly enter a core network of an operator to realize the intercommunication with a cellular network.
The switch state information of the Wi-Fi based voice service, VoWi-Fi, may be displayed on a display interface of the electronic device, and specifically, the display interface may display the prompt information in a pop-up window, a floating frame, or the like, where the prompt information may include a yes selection button and a no selection button, and carry a prompt to prompt a corresponding operation, for example, whether to turn on a VoWi-Fi function, and a yes selection button and a no selection button are configured below the same. And receiving a control instruction input by the user through the 'yes' and 'no' selection keys, and carrying out corresponding operation according to the control instruction. Specifically, when it is monitored that the yes selection key is clicked, it is described that the obtaining module 21 obtains a control instruction for starting the VoWi-Fi input by the user, and caches the starting state information of the VoWi-Fi; when the 'no' selection key is clicked, it indicates that the obtaining module 21 obtains a control instruction for closing the Vowi-Fi input by the user, and caches the closing state information of the Vowi-Fi. In addition, if the control instruction input by the user is not acquired within the preset time, the default operation determines the control instruction, and corresponding operation is executed. The default operation may be preset by the user, for example, the default operation is an operation in which a "yes" selection key is selected, and the like. The preset time may also be preset by a user or default, for example, 30 seconds, 60 seconds, and the like, and the specific numerical value is not limited in the embodiment of the present application.
In the embodiment of the application, after the Vowi-Fi function is started, in order to facilitate a user to use the Vowi-Fi function, an operation interface/identifier of the Vowi-Fi function can be added to a user interface of the terminal device and displayed in the user interface. For example, a button of the Vowi-Fi is displayed on the dialing interface, and a switch of the Vowi-Fi is displayed on the setting interface.
The registration state of the VoWi-Fi includes a registration state and an unregistered state, and after the electronic device is turned on, the registration state of the VoWi-Fi is generated, and the acquisition module 21 caches the registration state of the VoWi-Fi and the on-off state information of the VoWi-Fi.
The updating module 22 is used for updating the registration state of the Vowi-Fi according to the on-off state information of the Vowi-Fi;
in one embodiment, the electronic device may comprise a processor and a modem, and the processor may comprise the acquisition module 21, the update module 22 and the display module 23 of the apparatus 20. The modem transmits the registration state of the Vowi-Fi to the processor, when a user turns on or turns off a Vowi-Fi switch, the modem generates switch state information, the acquisition module 21 acquires the switch state information and caches the switch state information, then the switch state information is transmitted to the updating module 22 in the processor, and the updating module 22 updates the registration state of the Vowi-Fi according to the switch state information of the Vowi-Fi.
After the electronic equipment is started, the modem executes whether to register the Vowi-Fi according to the last switching operation of the Vowi-Fi by a user, if the last state of the Vowi-Fi before the electronic equipment is started is the starting state, the modem directly registers the Vowi-Fi and the registration is successful after the electronic equipment is started, then the registration state is directly sent to the processor, and the processor displays the registration state on the state display column in the form of a Vowi-Fi icon. At this time, if the real on-off state of the Vowi-Fi is the unopened state, the processor does not send the Vowi-Fi in the unopened state to the modem, the modem has waited to send the registered state of the Vowi-Fi to the processor, and the processor displays the registered state in the state display column in the form of a Vowi-Fi icon. And after the processor sends the Vowi-Fi to the modem in the unopened state, the modem turns off the Vowi-Fi again, so that the phenomenon that the Vowi-Fi icon display disappears again appears.
In the embodiment of the application, whether the Vowi-Fi switch state is the on state is judged according to the Vowi-Fi switch state parameter.
Specifically, the obtaining module 21 obtains the configuration parameters of the VoWi-Fi after obtaining the on-off state information of the VoWi-Fi, where the configuration parameters include the on-off state parameters of the VoWi-Fi and the registration parameters of the VoWi-Fi, and updates the registration state of the VoWi-Fi according to the on-off state parameters of the VoWi-Fi and the registration parameters of the VoWi-Fi. The configuration parameters of the Vowi-Fi can reflect the Vowi-Fi network service, and when the on-off state parameters of the Vowi-Fi are changed, the registration parameters of the Vowi-Fi are changed. Therefore, the Vowi-Fi switch state information can be judged by using the switch state parameter of the Vowi-Fi, and whether the Vowi-Fi network service can be used or not is judged by using the registration parameter of the Vowi-Fi, so that whether the Vowi-Fi voice call function can be normally used or not is judged, and the registration state of the Vowi-Fi is updated.
If the on-off state of the Vowi-Fi is not on, the updating module 22 updates the registered state of the Vowi-Fi to be an unregistered state;
if the on-off state of the Vowi-Fi is the on state, the updating module 22 judges whether the Vowi-Fi is registered successfully according to the registration parameter of the Vowi-Fi;
if the Vowi-Fi is not registered successfully, the updating module 22 updates the registration state of the Vowi-Fi to be an unregistered state;
if the registration of the VoWi-Fi is successful, the updating module 22 updates the registration state of the VoWi-Fi to the registered state.
And the display module 23 is configured to control the icon of the VoWi-Fi to be displayed or hidden according to the registration state of the VoWi-Fi.
When the registration state of the Vowi-Fi is the registered state, the display module 23 displays an icon of the Vowi-Fi;
when the registered state of the VoWi-Fi is the unregistered state, the display module 23 hides the icon of the VoWi-Fi.
According to the embodiment of the application, the on-off state information of the Vowi-Fi based voice service and the registration state of the Vowi-Fi are acquired through the acquisition module 21 and cached, the update module 22 updates the registration state of the Vowi-Fi according to the on-off state information of the Vowi-Fi, and the display module 23 controls the icon of the Vowi-Fi to be displayed or hidden according to the registration state of the Vowi-Fi, so that the accuracy and the stability of the Vowi-Fi icon display are improved.
In one embodiment, the apparatus further includes a determining module (not shown in the figure), after the updating module 22 updates the registration state of the VoWi-Fi according to the on-off state information of the VoWi-Fi, the determining module obtains the network information of the registered VoWi-Fi, determines the validity of the VoWi-Fi network according to the network information and the corresponding registration state of the VoWi-Fi, and controls the display or hiding of the VoWi-Fi icon according to the validity of the VoWi-Fi network.
The network information may include one or more combinations of registered VoWi-Fi network names, network signal values, and network types. For example, the network signal value, the network name and the registered network type or a combination of multiple pieces of network information may be included, and the specific combination form is not limited.
The network information refers to information for describing a VoWi-Fi network that the electronic device currently registers, including but not limited to a registered network name, a registered network type, a network signal value, and the like.
The registered network name refers to a Vowi-Fi network name currently registered by the electronic equipment. For example, the registered network name may be Wi-Fi-1, Wi-Fi-china, etc.
The signal value is a network signal strength indicating that the electronic device is currently connected. Such as 350k, 600k or 800k, etc.
The registered network type may be a fixed network broadband type or a mobile network type. The network type corresponding to the public network IP may be read from the database, for example, when the public network IP is within a range of an initial IP and a terminating IP of the fixed network broadband, it may be determined that the network type of the public network IP is the fixed network broadband, and when the public network IP is within a range of the initial IP and the terminating IP of the mobile network, it may be determined that the network type of the public network IP is the mobile network.
And judging whether the Vowi-Fi is an effective network or not according to the network information and the registration state of the Vowi-Fi. The method specifically comprises the following steps:
the judging module judges whether the network information is consistent with the corresponding registration state of the Vowi-Fi;
for example, if the registration state of the VoWi-Fi is unregistered, and when the network information includes a signal value, a registered network name, and a registered network type, if the signal value is 0dB, the registered network name is out of service, and the registered network type is out of network, since the acquired network information is invalid information, it may be determined that the acquired network information is consistent with the registration state of the VoWi-Fi. On the contrary, if the signal value is 0dB, the registered network name is Wi-Fi-china and the registered network type is no network, the registered network name is valid information, so that the valid information in the acquired network information can be determined, and further the inconsistency between the acquired network information and the registered state of Vowi-Fi can be determined.
The valid information and the invalid information refer to validity and invalidity of individual information in the network information, for example, when a signal value of a registered Vowi-Fi network is 0dB, the signal value is invalid information, and when the signal value of the registered Vowi-Fi network is 100k, the signal value is valid information; when the registered Vowi-Fi registered network signal name is out of service, the registered network signal name is invalid information, and when the registered Vowi-Fi registered network signal name is Wi-Fi-china, the registered network signal name is valid information.
If the registration state of the Vowi-Fi is registered, when the acquired network information is valid information, the acquired network information is determined to be consistent with the registration state of the Vowi-Fi, and when the acquired network information contains invalid information, the acquired network information is determined to be inconsistent with the registration state of the Vowi-Fi.
If the registration state of the Vowi-Fi is registered, the electronic equipment can be determined to have access to the Vowi-Fi network, that is, for the electronic equipment, the network information displayed on the display bar of the mobile terminal is valid information. Therefore, when the network information acquired by the electronic equipment is valid information, the acquired network information can be determined to be consistent with the registration state of the Vowi-Fi, and conversely, when invalid information exists in the acquired network information, the acquired network information can be determined to be inconsistent with the registration state of the Vowi-Fi.
If the network information is consistent with the corresponding registration state of the Vowi-Fi, the Vowi-Fi is an effective network;
and if the network information is inconsistent with the corresponding registration state of the Vowi-Fi, the Vowi-Fi is an invalid network.
If the judgment module judges that the Vowi-Fi is an effective network, the display module 23 controls an icon of the Vowi-Fi to display;
if the determining module determines that the VoWi-Fi is an invalid network, the display module 23 controls the icon of the VoWi-Fi to be hidden.
According to the embodiment of the application, whether the Vowi-Fi is an effective network or not is judged according to the network information and the corresponding registration state of the Vowi-Fi, and if the Vowi-Fi is the effective network, the display state of a Vowi-Fi icon is updated; if the network is invalid, the display state of the Vowi-Fi icon is kept, the Vowi-Fi icon is not updated, the accuracy of Vowi-Fi network display is improved, and user experience is improved.
In one embodiment, if the last state of the Vowi-Fi is the on state before the electronic device is turned on, the modem directly registers the Vowi-Fi after the electronic device is turned on and the registration is successful. And after the electronic equipment is started, the real state of the Vowi-Fi is a non-started state, the processor sends the Vowi-Fi in the non-started state to the modem, and the modem does not upload the registration state of the Vowi-Fi and sends the registration state to the processor before not receiving the started state of the Vowi-Fi transmitted by the processor, so that the stability of the Vowi-Fi icon display is ensured.
In one embodiment, if the network information is inconsistent with the corresponding registration state of the VoWi-Fi, the network information may be queried at preset time intervals, and when the network information obtained after querying is consistent with the corresponding registration state of the VoWi-Fi, it is determined that the VoWi-Fi is an active network, and the display state of a VoWi-Fi icon is updated.
Specifically, when the acquired network information is inconsistent with the registration state of the Vowi-Fi, the electronic device may query all information in the network information of the Vowi-Fi network every preset time period, judge whether the queried network information is consistent with the registration state of the Vowi-Fi, and if so, send the network information to a cache region, and update the icon display state of the Vowi-Fi of the information display layer; and if not, continuously re-inquiring all information in the network information of the Vowi-Fi network at preset time intervals until the re-inquired network information is consistent with the registration state of the Vowi-Fi. However, since there may be information consistent with the registration state of the VoWi-Fi in the network information acquired last time, it takes a lot of time to query all information in the network information every preset time. In order to save time and improve the display efficiency of network information and a Vowi-Fi icon, the electronic equipment can also determine information inconsistent with the registration state of the Vowi-Fi in the acquired network information, then inquire the information inconsistent with the changed registration state in the network information every preset time length, judge whether the inquired information is consistent with the registration state of the Vowi-Fi, if so, send the network information to a cache region, and update the network information and the Vowi-Fi icon display state which are correspondingly displayed on the Vowi-Fi information display layer; and if not, continuously inquiring the inconsistent information again at intervals of preset time, sending the network information to the cache region until the inquired information is equal to the inquired information again, and updating the network information and the icon display state of the Vowi-Fi, which are correspondingly displayed on the information display layer.
According to the embodiment of the application, after the network information is inconsistent with the corresponding registration state of the Vowi-Fi, the network information is inquired at intervals of preset time, when the network information obtained after inquiry is consistent with the corresponding registration state of the Vowi-Fi, the Vowi-Fi is judged to be an effective network, the icon display state of the Vowi-Fi is updated, the icon display accuracy of the Vowi-Fi is improved, and the user experience is improved.
In one embodiment, after controlling the icon of the VoWi-Fi to be displayed or hidden according to the registration state of the VoWi-Fi, the method further includes: and selecting one Vowi-Fi from the Vowi-Fi list to automatically connect according to the Vowi-Fi connection record of the electronic equipment.
In one embodiment, selecting one of the VoWi-Fi auto-connects in the VoWi-Fi list specifically includes:
detecting signal intensity values of a plurality of Vowi-Fi in a current Vowi-Fi list;
comparing the signal intensity values of the plurality of Vowi-Fi to obtain a network with the maximum signal intensity value;
and automatically connecting the electronic equipment to the network with the maximum signal strength value.
According to the embodiment of the application, the signal intensity values of a plurality of Vowi-Fi in the current Vowi-Fi list are detected, and the electronic equipment is automatically connected to the network with the maximum signal intensity value, so that the connection efficiency of the Vowi-Fi network can be improved, and the user experience is improved.
Fig. 3 is a schematic diagram of an internal structure of an electronic device according to an embodiment. As shown in fig. 3, the electronic device includes a processor, a nonvolatile storage medium, an internal memory, and a network interface, a sound collection device, a speaker, a display screen, and an input device, which are connected by a system bus. Wherein the non-volatile storage medium of the terminal stores an operating system and computer readable instructions. The computer readable instructions, when executed by a processor, implement a method of processing an application program for an electronic device. The processor is used for providing calculation and control capability and supporting the operation of the whole electronic equipment. Internal memory in the electronic device provides an environment for the execution of computer-readable instructions in the non-volatile storage medium. The display screen of the electronic device may be a liquid crystal display screen or an electronic ink display screen, and the input device may be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a housing of the electronic device, or an external keyboard, a touch pad or a mouse. The electronic device may be a mobile phone, a tablet computer, or a personal digital assistant or a wearable device, etc. Those skilled in the art will appreciate that the architecture shown in fig. 3 is a block diagram of only a portion of the architecture associated with the subject application, and does not constitute a limitation on the electronic devices to which the subject application may be applied, and that a particular electronic device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The method for processing the application program may specifically be:
acquiring on-off state information of voice service Vowi-Fi based on Wi-Fi and a registration state of the Vowi-Fi, and caching;
updating the registration state of the Vowi-Fi according to the on-off state information of the Vowi-Fi;
and controlling the icon of the Vowi-Fi to be displayed or hidden according to the registration state of the Vowi-Fi.
In addition, the embodiment of the present application also provides a computer non-volatile readable storage medium, on which a computer program is stored, and the computer program realizes the steps of processing the application program as described above when being executed by a processor.
The embodiment of the invention also provides computer equipment. As shown in fig. 4, for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and details of the technology are not disclosed, please refer to the method portion of the embodiment of the present invention. The computer device may be any terminal device including an electronic device, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of sales), a vehicle-mounted computer, a wearable device, and the like, taking the computer device as the electronic device as an example:
fig. 4 is a block diagram of a partial structure of an electronic device related to a computer device provided in an embodiment of the present invention. Referring to fig. 4, the electronic device includes: radio Frequency (RF) circuitry 410, memory 420, input unit 430, display unit 440, sensor 450, audio circuitry 460, wireless fidelity (Wi-Fi) module 470, processor 480, and power supply 490. Those skilled in the art will appreciate that the electronic device configuration shown in fig. 4 does not constitute a limitation of the electronic device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The RF circuit 410 may be used for receiving and transmitting signals during information transmission or communication, and may receive downlink information of a base station and then process the downlink information to the processor 480; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 410 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
The memory 420 may be used to store software programs and modules, and the processor 480 executes various functional applications and data processing of the electronic device by operating the software programs and modules stored in the memory 420. The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the electronic device, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic device 400. Specifically, the input unit 430 may include a touch panel 431 and other input devices 432. The touch panel 431, which may also be referred to as a touch screen, may collect touch operations of a user on or near the touch panel 431 (e.g., operations of a user on or near the touch panel 431 using any suitable object or accessory such as a finger or a stylus) and drive a corresponding connection device according to a preset program. In one embodiment, the touch panel 431 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 480, and receives and executes commands sent from the processor 480. In addition, the touch panel 431 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 430 may include other input devices 432 in addition to the touch panel 431. In particular, other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
The display unit 440 may be used to display information input by a user or information provided to the user and various menus of the electronic device. The display unit 440 may include a display panel 441. In one embodiment, the Display panel 441 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, the touch panel 431 may cover the display panel 441, and when the touch panel 431 detects a touch operation thereon or nearby, the touch panel is transmitted to the processor 480 to determine the type of the touch event, and then the processor 480 provides a corresponding visual output on the display panel 441 according to the type of the touch event. Although in fig. 4, the touch panel 431 and the display panel 441 are two separate components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 431 and the display panel 441 may be integrated to implement the input and output functions of the electronic device.
The electronic device 400 may also include at least one sensor 450, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 441 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 441 and/or the backlight when the electronic device is moved to the ear. The motion sensor can comprise an acceleration sensor, the acceleration sensor can be used for detecting the magnitude of acceleration in each direction, the magnitude and the direction of gravity can be detected when the motion sensor is static, and the motion sensor can be used for identifying the application (such as horizontal and vertical screen switching) of the posture of the electronic equipment, and relevant functions (such as pedometer and knocking) of vibration identification and the like; the electronic device may be provided with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor.
The audio circuit 460, speaker 461 and microphone 462 may provide an audio interface between a user and the electronic device. The audio circuit 460 may transmit the electrical signal converted from the received audio data to the speaker 461, and convert the electrical signal into a sound signal for output by the speaker 461; on the other hand, the microphone 462 converts the collected sound signal into an electrical signal, which is received by the audio circuit 460 and converted into audio data, which is then processed by the audio data output processor 480 and then transmitted to another electronic device via the RF circuit 410, or the audio data is output to the memory 420 for subsequent processing.
Wi-Fi belongs to short-distance wireless transmission technology, and electronic equipment can help a user to send and receive e-mails, browse webpages, access streaming media and the like through a Wi-Fi module 470, and provides wireless broadband internet access for the user. Although fig. 4 shows a Wi-Fi module 470, it is understood that it does not belong to the essential components of the electronic device 400 and may be omitted as needed.
The processor 480 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 420 and calling data stored in the memory 420, thereby integrally monitoring the electronic device. In one embodiment, processor 480 may include one or more processing units. In one embodiment, processor 480 may integrate an application processor and a modem processor, wherein the application processor primarily handles operating systems, user interfaces, applications, and the like; the modem processor handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 480.
The electronic device 400 further includes a power supply 490 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 480 via a power management system that may be configured to manage charging, discharging, and power consumption.
In one embodiment, the electronic device 400 may also include a camera, a bluetooth module, and the like.
In an embodiment of the invention, the computer device comprises a processor 480 which, when executing a computer program stored on a memory, implements the methods of the embodiments described above.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a non-volatile computer-readable storage medium, and can include the processes of the embodiments of the methods described above when the program is executed. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), or the like. Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, performs the methods of the above embodiments.
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (20)

  1. A method for acquiring a registration state of a voice service based on Wi-Fi is applied to electronic equipment, and is characterized by comprising the following steps:
    acquiring on-off state information of voice service Vowi-Fi based on Wi-Fi and a registration state of the Vowi-Fi, and caching;
    updating the registration state of the Vowi-Fi according to the on-off state information of the Vowi-Fi;
    and controlling the icon of the Vowi-Fi to be displayed or hidden according to the registration state of the Vowi-Fi.
  2. The method of claim 1, wherein the updating the registration status of the VoWi-Fi according to the on-off status information of the VoWi-Fi comprises:
    acquiring configuration parameters of the Vowi-Fi, wherein the configuration parameters comprise on-off state parameters of the Vowi-Fi and registration parameters of the Vowi-Fi;
    and updating the registration state of the Vowi-Fi according to the switch state parameter of the Vowi-Fi and the registration parameter of the Vowi-Fi.
  3. The method of claim 2, wherein updating the registration status of the VoWi-Fi based on the on-off status parameter of the VoWi-Fi and the registration status parameter of the VoWi-Fi comprises:
    judging whether the Vowi-Fi switch state is an on state or not according to the Vowi-Fi switch state parameter;
    if the on-off state of the Vowi-Fi is not in the on state, updating the registered state of the Vowi-Fi to be an unregistered state;
    if the on-off state of the Vowi-Fi is the on state, judging whether the Vowi-Fi is registered successfully according to the registration parameters of the Vowi-Fi;
    if the Vowi-Fi is not registered successfully, updating the registration state of the Vowi-Fi to be an unregistered state;
    and if the Vowi-Fi registration is successful, updating the registration state of the Vowi-Fi to be the registered state.
  4. The method according to claim 1, wherein the controlling the icon of the VoWi-Fi to be displayed or hidden according to the registration status of the VoWi-Fi comprises:
    acquiring network information of the Vowi-Fi, wherein the network information comprises one or more combinations of registered Vowi-Fi network names, network signal values and network types;
    judging whether the Vowi-Fi is an effective network or not according to the network information and the registration state of the Vowi-Fi;
    if the Vowi-Fi is an effective network, controlling an icon of the Vowi-Fi to be displayed;
    and if the Vowi-Fi is an invalid network, controlling the icon of the Vowi-Fi to hide.
  5. The method of claim 4, wherein the determining whether the VoWi-Fi is a valid network according to the network information and the registration status of the VoWi-Fi comprises:
    judging whether the network information is consistent with the corresponding registration state of the Vowi-Fi;
    if the network information is consistent with the corresponding registration state of the Vowi-Fi, the Vowi-Fi is an effective network;
    and if the network information is inconsistent with the corresponding registration state of the Vowi-Fi, the Vowi-Fi is an invalid network.
  6. The method according to claim 5, further comprising, after the network information is inconsistent with the corresponding registration status of the VoWi-Fi:
    and inquiring the network information every other preset time, and when the network information obtained after inquiry is consistent with the corresponding registration state of the Vowi-Fi, determining the Vowi-Fi to be an effective network.
  7. The method according to claim 1, further comprising, after controlling the icon of the VoWi-Fi to be displayed or hidden according to the registration status of the VoWi-Fi, the step of:
    and selecting one Vowi-Fi from the Vowi-Fi list to automatically connect according to the Vowi-Fi connection record of the electronic equipment.
  8. The method of claim 7, wherein selecting one of the VoWi-Fi automatic connections on the VoWi-Fi list comprises:
    detecting signal intensity values of a plurality of Vowi-Fi in a current Vowi-Fi list;
    comparing the signal intensity values of the plurality of Vowi-Fi to obtain a network with the maximum signal intensity value;
    and automatically connecting the electronic equipment to the network with the maximum signal strength value.
  9. The method of claim 1, wherein the electronic device comprises a processor and a modem, the method further comprising:
    and the modem transmits the registration state of the Vowi-Fi to the processor, and the processor caches the on-off state information of the Vowi-Fi and updates the registration state of the Vowi-Fi according to the on-off state information of the Vowi-Fi.
  10. A voice service Vowi-Fi registration state acquisition device based on Wi-Fi is applied to electronic equipment, and is characterized in that the device comprises:
    the acquisition module is used for acquiring the on-off state information of the Vowi-Fi based voice service Vowi-Fi and the registration state of the Vowi-Fi and caching the information;
    the updating module is used for updating the registration state of the Vowi-Fi according to the on-off state information of the Vowi-Fi;
    and the display module is used for controlling the icon of the Vowi-Fi to be displayed or hidden according to the registration state of the Vowi-Fi.
  11. The apparatus of claim 10, wherein the update module updates the registration status of the VoWi-Fi according to the switch status information of the VoWi-Fi, and comprises:
    acquiring configuration parameters of the Vowi-Fi, wherein the configuration parameters comprise on-off state parameters of the Vowi-Fi and registration parameters of the Vowi-Fi;
    and updating the registration state of the Vowi-Fi according to the switch state parameter of the Vowi-Fi and the registration parameter of the Vowi-Fi.
  12. The apparatus of claim 11, wherein the update module updates the registration status of the VoWi-Fi according to the on-off status parameter of the VoWi-Fi and the registration status parameter of the VoWi-Fi comprises:
    judging whether the Vowi-Fi switch state is an on state or not according to the Vowi-Fi switch state parameter;
    if the on-off state of the Vowi-Fi is not in the on state, updating the registered state of the Vowi-Fi to be an unregistered state;
    if the on-off state of the Vowi-Fi is the on state, judging whether the Vowi-Fi is registered successfully according to the registration parameters of the Vowi-Fi;
    if the Vowi-Fi is not registered successfully, updating the registration state of the Vowi-Fi to be an unregistered state;
    and if the Vowi-Fi registration is successful, updating the registration state of the Vowi-Fi to be the registered state.
  13. The apparatus according to claim 10, wherein the display module controls the icon of the VoWi-Fi to be displayed or hidden according to the registration status of the VoWi-Fi, and comprises:
    acquiring network information of Vowi-Fi, wherein the network information comprises a registered Vowi-Fi network name, a registered Vowi-Fi network signal value and a registered Vowi-Fi network type;
    judging whether the Vowi-Fi is an effective network or not according to the network information;
    if the Vowi-Fi is an effective network, controlling an icon of the Vowi-Fi to be displayed;
    and if the Vowi-Fi is an invalid network, controlling the icon of the Vowi-Fi to hide.
  14. The apparatus of claim 13, wherein the means for determining whether the VoWi-Fi is a valid network according to the network information comprises:
    judging whether the network information is consistent with the corresponding registration state of the Vowi-Fi;
    if the network information is consistent with the corresponding registration state of the Vowi-Fi, the Vowi-Fi is an effective network;
    and if the network information is inconsistent with the corresponding registration state of the Vowi-Fi, the Vowi-Fi is an invalid network.
  15. The apparatus of claim 14, further comprising an inquiry module, configured to inquire the network information every preset time period after the network information is inconsistent with the corresponding registration state of the VoWi-Fi, and when the network information obtained after inquiry is consistent with the corresponding registration state of the VoWi-Fi, the VoWi-Fi is an active network.
  16. The apparatus of claim 10, further comprising a connection module configured to select one of the VoWi-Fi auto-connections from a VoWi-Fi list displayed in the display module according to a VoWi-Fi connection record of the electronic device.
  17. The apparatus of claim 16, wherein the connection module selects one of the VoWi-Fi automatic connections from a VoWi-Fi list displayed in the display module according to a VoWi-Fi connection record of the electronic device, comprising:
    detecting signal intensity values of a plurality of Vowi-Fi in a current Vowi-Fi list;
    comparing the signal intensity values of the plurality of Vowi-Fi to obtain a network with the maximum signal intensity value;
    and automatically connecting the electronic equipment to the network with the maximum signal strength value.
  18. The apparatus of claim 10, wherein the apparatus comprises a processor and a modem, wherein the modem transmits the registration status of the VoWi-Fi to the processor, and wherein the processor buffers the on/off status information of the VoWi-Fi and updates the registration status of the VoWi-Fi according to the on/off status information of the VoWi-Fi.
  19. An electronic device comprising a memory and a processor, the memory having stored therein a computer program that, when executed by the processor, causes the processor to perform the steps of the Wi-Fi based voice service registration status acquisition method according to any of claims 1-9.
  20. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 9.
CN201880097894.7A 2018-11-13 2018-11-13 Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment Active CN112740634B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/115111 WO2020097776A1 (en) 2018-11-13 2018-11-13 Method and apparatus for acquiring registration state of wifi-based voice service, and electronic device

Publications (2)

Publication Number Publication Date
CN112740634A true CN112740634A (en) 2021-04-30
CN112740634B CN112740634B (en) 2023-04-04

Family

ID=70730974

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201880097894.7A Active CN112740634B (en) 2018-11-13 2018-11-13 Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment

Country Status (2)

Country Link
CN (1) CN112740634B (en)
WO (1) WO2020097776A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023045921A1 (en) * 2021-09-24 2023-03-30 维沃移动通信有限公司 Display method and apparatus, and electronic device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114449511B (en) * 2022-01-20 2023-11-14 惠州Tcl移动通信有限公司 Product activation method, device, electronic equipment and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106713350A (en) * 2017-01-20 2017-05-24 深圳市万普拉斯科技有限公司 IMS (IP Multimedia Subsystem) registration status update reporting method and device
CN106899957A (en) * 2017-01-13 2017-06-27 深圳市万普拉斯科技有限公司 The bearing calibration of IMS registration state and device
CN106937273A (en) * 2017-01-20 2017-07-07 深圳市万普拉斯科技有限公司 HD icons display control method and device
CN107426813A (en) * 2017-05-11 2017-12-01 青岛海信移动通信技术股份有限公司 The display methods and device of the network information

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984343B (en) * 2012-10-10 2015-09-02 小米科技有限责任公司 Information cuing method, device and mobile terminal
US9615242B2 (en) * 2015-07-07 2017-04-04 T-Mobile Usa, Inc. Determining a service leakage rate within a wireless communication network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106899957A (en) * 2017-01-13 2017-06-27 深圳市万普拉斯科技有限公司 The bearing calibration of IMS registration state and device
CN106713350A (en) * 2017-01-20 2017-05-24 深圳市万普拉斯科技有限公司 IMS (IP Multimedia Subsystem) registration status update reporting method and device
CN106937273A (en) * 2017-01-20 2017-07-07 深圳市万普拉斯科技有限公司 HD icons display control method and device
CN107426813A (en) * 2017-05-11 2017-12-01 青岛海信移动通信技术股份有限公司 The display methods and device of the network information

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023045921A1 (en) * 2021-09-24 2023-03-30 维沃移动通信有限公司 Display method and apparatus, and electronic device

Also Published As

Publication number Publication date
CN112740634B (en) 2023-04-04
WO2020097776A1 (en) 2020-05-22

Similar Documents

Publication Publication Date Title
CN107430394B (en) Method, server, mobile terminal and device for data interaction with vehicle machine
WO2019205916A1 (en) Frequency point selection method and device, and mobile terminal
CN108255683B (en) Method for prompting message in terminal and terminal
CN106250122B (en) Information prompting method and device
CN108495349B (en) Switching method of operator network and mobile terminal
CN112740634B (en) Registration state acquisition method and device based on Wi-Fi voice service and electronic equipment
CN109167752B (en) Mobile terminal and method and device for automatically logging in application platform
CN107770449B (en) Continuous shooting method, electronic device and storage medium
CN109101327B (en) Switching of light application and mobile terminal
CN111417929A (en) Interface display method and control terminal
CN106851784B (en) network scanning method and terminal equipment
CN106850957B (en) Application notification management method and device and mobile terminal
CN110602766B (en) Personal hotspot identification method and method for determining association relationship between terminals
CN109976612B (en) Application function implementation method, wearable device, mobile phone and computer-readable storage medium
CN111225105B (en) Method for controlling screen work, mobile terminal and storage medium
CN109348425B (en) Positioning information updating method, device, equipment and storage medium
CN109041212B (en) Positioning method and wearable device
CN110891262A (en) Bluetooth pairing method, system and terminal equipment
CN107391732B (en) Function guiding method and device of application program and terminal equipment
CN106020945B (en) Shortcut item adding method and device
CN111314900B (en) Wireless connection method, wireless connection device and mobile terminal
CN106879046B (en) Network scanning method and terminal equipment
WO2016119616A1 (en) User terminal dialing method and user terminal
CN106714149B (en) Wireless network access method, device and terminal equipment
WO2020010965A1 (en) Mobile terminal, and method and device for updating application thereof

Legal Events

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