CN117715138A - Data card switching method and device, readable storage medium and chip - Google Patents

Data card switching method and device, readable storage medium and chip Download PDF

Info

Publication number
CN117715138A
CN117715138A CN202211086017.4A CN202211086017A CN117715138A CN 117715138 A CN117715138 A CN 117715138A CN 202211086017 A CN202211086017 A CN 202211086017A CN 117715138 A CN117715138 A CN 117715138A
Authority
CN
China
Prior art keywords
card
data
terminal equipment
surfing
wireless fidelity
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.)
Pending
Application number
CN202211086017.4A
Other languages
Chinese (zh)
Inventor
朱念
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202211086017.4A priority Critical patent/CN117715138A/en
Publication of CN117715138A publication Critical patent/CN117715138A/en
Pending legal-status Critical Current

Links

Abstract

The present disclosure relates to a data card switching method, a device, a readable storage medium and a chip, the data card switching method comprising: under the condition that the terminal equipment uses the wireless fidelity network to perform data surfing and the terminal equipment uses the wireless fidelity network to perform Vowifi communication based on the auxiliary card, determining the state of the wireless fidelity network, if the wireless fidelity network is in an unavailable state, switching the Vowifi communication to Volte communication based on the auxiliary card, and activating the data bearing of the auxiliary card to support data surfing, so that surfing interruption and communication interruption of a user can be avoided, and the user can still continue to perform communication and surfing when the wireless fidelity network is unavailable.

Description

Data card switching method and device, readable storage medium and chip
Technical Field
The disclosure relates to the field of communication technologies, and in particular, to a data card switching method, a device, a readable storage medium and a chip.
Background
Voice over WiFi (Voice over IP service over Wi-Fi network) calls can be made to Voice calls under Wi-Fi networks without requiring calls over LTE (Long Term Evolution ) networks.
In the related art, when the terminal equipment with the double cards is based on the auxiliary card and the wifi network is used for simultaneously carrying out Vowifi communication and data surfing, when the wifi network is unavailable, the terminal equipment cannot continue to carry out data surfing, so that the user surfing is interrupted, the user cannot continue to carry out communication and surfing, and the user experience is affected.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a data card switching method, a device, a readable storage medium and a chip, in which when a wireless fidelity network is used for data surfing and a terminal device uses the wireless fidelity network to perform a Vowifi call based on a sub-card, when the wireless fidelity network is unavailable, the Vowifi call is switched to a Volte call based on the sub-card, and the data bearer of the sub-card is activated to support data surfing, so that a user can continue to perform the call and surfing.
According to a first aspect of an embodiment of the present disclosure, there is provided a data card switching method, including:
under the condition that terminal equipment uses a wireless fidelity network to conduct data surfing and the terminal equipment uses the wireless fidelity network to conduct Vowifi communication based on a secondary card, determining the state of the wireless fidelity network;
and if the wireless fidelity network is in an unavailable state, switching the Vowifi call to the Volter call based on the auxiliary card, and activating a data bearing function of the auxiliary card to support data surfing.
Optionally, activating a data bearing function of the secondary card to support data surfing includes:
updating the data card identifier in the application framework layer of the terminal equipment into the identifier of the auxiliary card;
and activating the data bearing function of the auxiliary card through the baseband circuit of the terminal equipment so as to support data surfing.
Optionally, before activating the data bearing function of the secondary card to support data surfing, the method further comprises:
determining a target application corresponding to the terminal equipment for data surfing;
the activating the data bearing function of the secondary card to support data surfing comprises the following steps:
and when the target application belongs to a preset application, activating the data bearing function of the auxiliary card to support data surfing, wherein the preset application is an application allowing the auxiliary card to surf the internet.
Optionally, before the terminal device uses the wireless fidelity network to perform data surfing and the terminal device uses the wireless fidelity network to perform Vowifi communication based on the sub-card, the method further comprises:
detecting whether the terminal equipment is networked;
when the terminal equipment is not networked, determining whether an application name which characterizes and allows the auxiliary card to surf the internet exists in a database of the terminal equipment;
when the database of the terminal equipment does not have the application name of which the characterization allows the auxiliary card to surf the internet, acquiring a first application packet of which the characterization allows the auxiliary card to surf the internet in the hard coding of the terminal equipment, wherein the first application packet comprises at least one application name;
and updating the first application package to a database of the terminal equipment to determine the preset application.
Optionally, before the terminal device uses the wireless fidelity network to perform data surfing and the terminal device uses the wireless fidelity network to perform Vowifi communication based on the sub-card, the method further comprises:
detecting whether the terminal equipment is networked;
when the terminal equipment is networked, acquiring a second application package which characterizes and allows the auxiliary card to surf the internet from a server, wherein the second application package comprises at least one application name;
and updating the second application package to a database of the terminal equipment to determine the preset application.
Optionally, the method further comprises:
and when the end of the Volten call is detected, switching the carrier supporting the data bearing of the data Internet surfing from the auxiliary card to the main card.
According to a second aspect of the embodiments of the present disclosure, there is provided a data card switching device, including:
the first determining module is configured to determine the state of the wireless fidelity network under the condition that the terminal equipment uses the wireless fidelity network to conduct data surfing and the terminal equipment uses the wireless fidelity network to conduct Vowifi communication based on the auxiliary card.
The first switching module is configured to switch the Vowifi call to the Volter call based on the auxiliary card if the wireless fidelity network is in an unavailable state, and activate a data bearing function of the auxiliary card to support data surfing.
According to a third aspect of the embodiments of the present disclosure, there is provided a data card switching device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the data card switching method provided in the first aspect of the present disclosure.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the data card switching method provided in the first aspect of the present disclosure.
According to a fifth aspect of embodiments of the present disclosure, there is provided a chip comprising a processor and an interface; the processor is configured to read the instructions to perform the steps of the data card switching method provided in the first aspect of the present disclosure.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
the terminal equipment uses the wireless fidelity network to perform data surfing and the terminal equipment determines the state of the wireless fidelity network under the condition that the terminal equipment uses the wireless fidelity network to perform Vowifi communication based on the auxiliary card, if the wireless fidelity network is in an unavailable state, the Vowifi communication is switched to Volte communication based on the auxiliary card, and the data bearing of the auxiliary card is activated to support data surfing, so that surfing interruption and call interruption of a user can be avoided, and the user can still continue to perform communication and surfing when the wireless fidelity network is unavailable.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flow chart illustrating a method of data card handoff according to an exemplary embodiment.
Fig. 2 is a flow chart illustrating a method of configuring a preset application according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating another method of configuring a preset application according to an exemplary embodiment.
Fig. 4 is a flowchart illustrating a method of activating a secondary card, according to an exemplary embodiment.
Fig. 5 is a block diagram illustrating a data card switching device according to an exemplary embodiment.
Fig. 6 is a block diagram illustrating an apparatus for data card switching according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
In the related art, when the terminal device can support dual cards, one card can be designated as a main card according to the wish of a user, the other card is an auxiliary card, and the main card and the auxiliary card can both support the Volter call of the user, but can only access to the internet based on the main card, and the Vowifi call can realize the voice call under the Wi-Fi (wireless fidelity) network without the call based on the LTE network, so that the Vowifi call can be realized under the Wi-Fi network based on the main card or the auxiliary card.
However, when the terminal device uses the wireless fidelity network to perform data surfing and the terminal device uses the wireless fidelity network to perform Vowifi communication based on the auxiliary card, when the wifi network is unavailable, for example, when the wifi signal strength is smaller than the preset signal strength or the wifi signal strength is larger than or equal to the preset signal strength, but the current wifi network cannot support the terminal device to perform data surfing, the terminal device cannot continue to use the wifi network to perform data surfing, so that the user surfing is interrupted, the user cannot continue to perform communication and surfing, and the user experience is affected.
In view of the above problems, embodiments of the present disclosure provide a data card switching method, apparatus, readable storage medium, and chip, where a terminal device uses a wireless fidelity network to perform data surfing, and the terminal device uses a wireless fidelity network to perform a Vowifi call based on a sub-card, determines a state of the wireless fidelity network, if the wireless fidelity network is in an unavailable state, switches the Vowifi call to a Volte call based on the sub-card, and activates a data bearer of the sub-card to support data surfing, so that a user can continue to perform the call and surfing.
Fig. 1 is a flowchart illustrating a data card switching method according to an exemplary embodiment, which may be used in a terminal device, as shown in fig. 1, including the following steps.
In step S101, in the case that the terminal device uses the wireless fidelity network to perform data surfing, and the terminal device uses the wireless fidelity network to perform Vowifi communication based on the sub-card, the state of the wireless fidelity network is determined.
In this embodiment, when the terminal device is placed with two cards and the wireless fidelity network is available, the user can use the wireless fidelity network to perform Vowifi call based on the main card or the auxiliary card, the terminal device is provided with a monitoring device, the terminal device can monitor the call and the network state through the monitoring device, when the terminal device is monitored to perform Vowifi call based on the auxiliary card and the wireless fidelity network is used for data surfing, the state of the wireless fidelity network can be detected.
When the terminal equipment moves, the signal intensity of the wireless fidelity network detected by the terminal equipment is changed, or when the wireless fidelity equipment is powered off or fails, the signal intensity of the wireless fidelity network detected by the terminal equipment is also changed.
In one possible implementation, the method for determining the state of the wireless fidelity network may be: and detecting the signal intensity of the wireless fidelity network, and determining that the wireless fidelity network is in an unavailable state when the signal intensity of the wireless fidelity network is smaller than the preset signal intensity. When the signal intensity of the wireless fidelity network is larger than or equal to the preset signal intensity, judging whether the wireless fidelity network supports the terminal equipment to perform data surfing, and when the wireless fidelity network does not support the terminal equipment to perform data surfing, determining that the wireless fidelity network is in an unavailable state.
In step S102, if the wireless fidelity network is in an unavailable state, the Vowifi call is switched to the Volte call based on the sub-card, and the data bearing function of the sub-card is activated to support data surfing.
When the wireless fidelity network is determined to be in an unavailable state, in the situation, because the Vowifi call is based on the auxiliary card, namely the user hopes to make a call based on the auxiliary card, the Vowifi call can be switched to the Volte call based on the auxiliary card, and the data bearing function of the main card cannot be activated to conduct data surfing under the condition that the Volte call is based on the auxiliary card, at the moment, the data bearing function of the auxiliary card can be activated to support data surfing, thereby avoiding the Internet surfing interruption and the call interruption of the user, and enabling the user to continue to conduct the call and surfing when the wireless fidelity network is unavailable.
Fig. 2 is a flowchart of a method for configuring a preset application according to an exemplary embodiment, as shown in fig. 2, in a possible implementation manner, before determining a signal strength of a wireless fidelity network in a case that a terminal device uses the wireless fidelity network to perform Vowifi call and data surfing based on a sub-card, the data card switching method further includes the following steps:
in step S201, it is detected whether the terminal device is networked.
Wherein detecting whether the terminal device is networked may include at least one of: detecting whether the terminal equipment can use a wifi network; detecting whether the terminal equipment can use the data; detecting whether terminal equipment is connected to the internet through Bluetooth sharing; and detecting whether the terminal equipment is connected to the internet through USB sharing.
In step S202, when the terminal device is not networked, it is determined whether there is an application name characterizing that the sub card is permitted to surf the internet in the database of the terminal device.
When the terminal device is detected to be incapable of using the wifi network, the terminal device is detected to be incapable of using the data, the terminal device is detected to be not connected to the internet through Bluetooth sharing, and the terminal device is detected to be not connected to the internet through USB sharing, the terminal device can be determined to be not connected to the internet. In this case, it may be determined whether there is an application name characterizing that the sub card is allowed to surf the internet in the database of the terminal device, wherein the database of the terminal device is a local database of the terminal device.
In step S203, when there is no application name characterizing that the sub-card is allowed to surf the internet in the database of the terminal device, a first application package characterizing that the sub-card is allowed to surf the internet in the hard code of the terminal device is obtained, where the first application package includes at least one application name.
When the fact that the application names of the tokens allowing the sub-card to surf the internet do not exist in the database of the terminal equipment is detected, namely, when the application package names of the tokens allowing the sub-card to surf the internet in the database of the terminal equipment are empty, a first application package of the tokens allowing the sub-card to surf the internet in the hard coding of the terminal equipment can be obtained.
The hard code of the terminal equipment is a code written in a read-only memory of the terminal equipment, the hard code corresponding to a first application packet which characterizes the allowing of the auxiliary card to access the internet can be written in the read-only memory of the terminal equipment, the first application packet which defaults to allow the auxiliary card to access the internet can be obtained after analysis by obtaining the corresponding hard code, and the first application packet can comprise at least one application name.
When the fact that the application names of which the characters allow the auxiliary card to surf the internet exist in the database of the terminal equipment is detected, namely, when the application package names of which the characters allow the auxiliary card to surf the internet are not empty in the database of the terminal equipment, the fact that the application names of which the characters allow the auxiliary card to surf the internet exist in the database of the current terminal equipment can be directly determined to be preset applications.
In step S204, the first application package is updated to the database of the terminal device, so as to obtain the preset application.
And updating all application names included in the first application package into a database of the terminal equipment, for example, updating the application package names into the database of the terminal equipment, and determining a preset application allowing the auxiliary card to surf the internet according to the application package names in the database of the terminal equipment when required.
In this embodiment, when the terminal device is not networked and there is no application name in the database of the terminal device that characterizes the application that allows the sub-card to access the internet, the corresponding application name that characterizes the application that allows the sub-card to access the internet may be directly obtained from the hard code of the terminal device, so as to determine the preset application.
When the hard code of the terminal equipment does not have the first application packet which is characterized by allowing the auxiliary card to surf the internet, the data bearing function of the auxiliary card is not activated.
Fig. 3 is a flowchart illustrating another method for configuring a preset application according to an exemplary embodiment, as shown in fig. 3, in another embodiment, before determining a signal strength of a wireless fidelity network in a case that a terminal device performs a Vowifi call and a data surfing using the wireless fidelity network based on a sub-card, the method further includes the steps of:
in step S301, it is detected whether the terminal device is networked.
In step S302, when the terminal device has been networked, a second application package characterizing that the sub-card is allowed to surf the internet is acquired from the server, the second application package including at least one application name.
The server can obtain the second application package of which the characterization allows the secondary card to surf the internet according to the terminal identification corresponding to the terminal equipment after receiving the acquisition request of the second application package sent by the terminal equipment, and returns the obtained second application package to the terminal equipment so as to enable the terminal equipment to obtain the second application package of which the characterization allows the secondary card to surf the internet.
In step S303, the second application package is updated to the database of the terminal device to determine the preset application.
In this embodiment, when the terminal device is networked, the corresponding application name that characterizes and allows the sub-card to access the internet may be directly obtained from the server, so as to determine the preset application.
In one possible implementation, before activating the data bearer of the secondary card to support data surfing, the method further comprises:
and determining a target application corresponding to the terminal equipment for data surfing.
In this embodiment, the terminal device may monitor on or off of an application according to an internally set monitoring device, so as to determine a target application currently being used by the terminal device.
After determining the target application currently being used by the terminal device, whether the target application belongs to a preset application or not can be determined according to the application name of the target application. The preset application is an application for allowing the secondary card to surf the internet, and comprises at least one application name. When the application name of the target application is the same as any one of the application names contained in the preset application, the target application can be determined to belong to the preset application, so that the data bearing of the auxiliary card is activated to support data surfing.
And when the target application does not belong to the preset application, the data bearing function of the auxiliary card is not activated.
In this embodiment, a preset application may be configured for the terminal device, and when the target application currently being used by the terminal device belongs to the preset application, the data bearing function of the secondary card is activated to support data surfing.
Fig. 4 is a flowchart illustrating a method of activating a secondary card, as shown in fig. 4, according to an exemplary embodiment, in one possible implementation, activating a data bearing function of the secondary card to support data surfing, including the steps of:
in step S401, the data card identifier in the application framework layer of the terminal device is updated to the identifier of the sub card.
In this embodiment, the frame layer (application frame layer) may update the data card identifier to the identifier of the sub card, for example, the identifier corresponding to the sub card is 0, the identifier corresponding to the main card is 1, and the identifier bit for the data card identifier in the application frame layer of the terminal device may be assigned to 0, so that updating the data card identifier in the application frame layer of the terminal device to the identifier of the sub card is completed.
In step S402, the data bearing function of the sub-card is activated by the baseband circuit of the terminal device to support data surfing.
In this embodiment, when the data card identifier in the application framework layer of the terminal device is updated, the baseband circuit of the terminal device is triggered to activate the data bearer of the corresponding card. When the data card identifier in the application framework layer of the terminal equipment is updated to the identifier of the auxiliary card, the baseband circuit of the terminal equipment can be triggered to activate the data bearing of the auxiliary card. When the data card identifier in the application framework layer of the terminal equipment is updated to be the identifier of the main card, the baseband circuit of the terminal equipment can be triggered to activate the data bearing function of the main card, so that a user can access to the network based on the auxiliary card.
The terminal equipment can trigger the internal baseband circuit to generate interaction information for activating the auxiliary card, and the data bearing of the auxiliary card can be activated through the interaction between the terminal equipment and the network equipment. When the data bearing of the auxiliary card is successfully activated, the data uplink and downlink icons of the auxiliary card can be displayed in a notification status column of the terminal equipment.
In one possible implementation, after switching the Vowifi call to the Volte call based on the secondary card and activating the data bearer of the secondary card to support data surfing, the carrier of the data bearer supporting data surfing is switched from the secondary card to the primary card when detecting that the Volte call is over. Thereby enabling the user to access the data based on the master card.
In this embodiment, when the end of the Volte call is detected by the monitoring device, the data card identifier in the application framework layer of the terminal device may be updated to the identifier of the main card, and the baseband circuit of the terminal device activates the data bearer of the main card, so that the terminal device uses the main card to perform data surfing.
In another embodiment, after switching the Vowifi call to the Volte call based on the sub card and activating the data bearer of the sub card to support data surfing, if no new Volte call based on the sub card is detected within a preset period of time after detecting that the Volte call is over, the carrier of the data bearer supporting data surfing is switched from the sub card to the main card. The preset duration may be 5 seconds. Thereby avoiding frequent switching of the data card between the main card and the sub card.
Fig. 5 is a block diagram illustrating a data card switching device according to an exemplary embodiment. Referring to fig. 5, the apparatus 500 includes a first determination module 501 and a first switching module 502.
The first determining module 501 is configured to determine a state of the wireless fidelity network in a case that the terminal device uses the wireless fidelity network to perform data surfing and the terminal device uses the wireless fidelity network to perform Vowifi call based on the sub card.
The first switching module 502 is configured to switch the Vowifi call to the Volte call based on the sub-card if the wireless fidelity network is in an unavailable state, and activate the data bearing function of the sub-card to support data surfing.
Optionally, the first switching module 502 includes:
the first updating module is configured to update the data card identifier in the application framework layer of the terminal equipment to the identifier of the auxiliary card;
and the activation module is configured to activate the data bearing function of the auxiliary card through the baseband circuit of the terminal equipment so as to support data surfing.
Optionally, the apparatus further comprises:
the second determining module is configured to determine a target application corresponding to the terminal equipment for data surfing;
the first switching module 502 includes:
and the activating sub-module is configured to activate the data bearing of the auxiliary card to support data surfing when the target application belongs to a preset application, wherein the preset application is an application allowing the auxiliary card to surf the internet.
Optionally, the apparatus further comprises:
a first detection module configured to detect whether the terminal device is networked;
the third determining module is configured to determine whether an application name which characterizes the fact that the auxiliary card is allowed to surf the internet exists in a database of the terminal equipment when the terminal equipment is not networked;
the first acquisition module is configured to acquire a first application package of which the characterization allows the sub card to surf the internet in the hard coding of the terminal equipment when the application name of which the characterization allows the sub card to surf the internet does not exist in the database of the terminal equipment, wherein the first application package comprises at least one application name;
and the second updating module is configured to update the first application package into the database of the terminal equipment so as to determine the preset application.
Optionally, the apparatus further comprises:
a second detection module configured to detect whether the terminal device is networked;
the second acquisition module is configured to acquire a second application package which characterizes and allows the auxiliary card to surf the internet from the server when the terminal equipment is networked, wherein the second application package comprises at least one application name;
and the third updating module is configured to update the second application package into the database of the terminal equipment so as to determine the preset application.
Optionally, the apparatus further comprises:
and the second switching module is configured to switch the carrier supporting the data bearing of the data internet from the auxiliary card to the main card when the end of the Volter call is detected.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The present disclosure also provides a computer readable storage medium having stored thereon computer program instructions which, when executed by a processor, implement the steps of the data card switching method provided by the present disclosure.
Fig. 6 is a block diagram illustrating an apparatus for data card switching according to an exemplary embodiment. For example, apparatus 600 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 6, apparatus 600 may include one or more of the following components: a processing component 602, a memory 604, a power component 606, a multimedia component 608, an audio component 610, an input/output interface 612, a sensor component 614, and a communication component 616.
The processing component 602 generally controls overall operation of the apparatus 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or part of the steps of the data card switching method described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 may include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on the apparatus 600, contact data, phonebook data, messages, pictures, videos, and the like. The memory 604 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 606 provides power to the various components of the device 600. The power supply components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen between the device 600 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 600 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 610 is configured to output and/or input audio signals. For example, the audio component 610 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The input/output interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor assembly 614 may detect the open/closed state of the device 600, the relative positioning of the components, such as the display and keypad of the device 600, the sensor assembly 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, the orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communication between the apparatus 600 and other devices in a wired or wireless manner. The device 600 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 616 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for performing the data card switching methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 604, including instructions executable by processor 620 of apparatus 600 to perform the data card switching method described above. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
The apparatus may be a stand-alone electronic device or may be part of a stand-alone electronic device, for example, in one embodiment, the apparatus may be an integrated circuit (Integrated Circuit, IC) or a chip, where the integrated circuit may be an IC or may be a collection of ICs; the chip may include, but is not limited to, the following: GPU (Graphics Processing Unit, graphics processor), CPU (Central Processing Unit ), FPGA (Field Programmable Gate Array, programmable logic array), DSP (Digital Signal Processor ), ASIC (Application Specific Integrated Circuit, application specific integrated circuit), SOC (System on Chip, SOC, system on Chip or System on Chip), etc. The integrated circuit or chip may be configured to execute executable instructions (or code) to implement the data card switching method described above. The executable instructions may be stored on the integrated circuit or chip or may be retrieved from another device or apparatus, such as the integrated circuit or chip including a processor, memory, and interface for communicating with other devices. The executable instructions may be stored in the memory, which when executed by the processor implement the data card switching method described above; alternatively, the integrated circuit or the chip may receive the executable instruction through the interface and transmit the executable instruction to the processor for execution, so as to implement the data card switching method described above.
In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above described data card switching method when executed by the programmable apparatus.

Claims (10)

1. A method for switching a data card, comprising:
under the condition that terminal equipment uses a wireless fidelity network to conduct data surfing and the terminal equipment uses the wireless fidelity network to conduct Vowifi communication based on a secondary card, determining the state of the wireless fidelity network;
and if the wireless fidelity network is in an unavailable state, switching the Vowifi call to the Volter call based on the auxiliary card, and activating a data bearing function of the auxiliary card to support data surfing.
2. The method of claim 1, wherein activating the data bearing function of the secondary card to support data surfing comprises:
updating the data card identifier in the application framework layer of the terminal equipment into the identifier of the auxiliary card;
and activating the data bearing function of the auxiliary card through the baseband circuit of the terminal equipment so as to support data surfing.
3. The data card switching method according to claim 1, wherein before activating the data bearing function of the sub card to support data surfing, the method further comprises:
determining a target application corresponding to the terminal equipment for data surfing;
the activating the data bearing function of the secondary card to support data surfing comprises the following steps:
and when the target application belongs to a preset application, activating the data bearing function of the auxiliary card to support data surfing, wherein the preset application is an application allowing the auxiliary card to surf the internet.
4. A data card switching method according to claim 3, wherein before the terminal device uses a wireless fidelity network for data surfing and the terminal device uses a wireless fidelity network for Vowifi call based on the sub-card, the method further comprises:
detecting whether the terminal equipment is networked;
when the terminal equipment is not networked, determining whether an application name which characterizes and allows the auxiliary card to surf the internet exists in a database of the terminal equipment;
when the database of the terminal equipment does not have the application name of which the characterization allows the auxiliary card to surf the internet, acquiring a first application packet of which the characterization allows the auxiliary card to surf the internet in the hard coding of the terminal equipment, wherein the first application packet comprises at least one application name;
and updating the first application package to a database of the terminal equipment to determine the preset application.
5. A data card switching method according to claim 3, wherein before the terminal device uses a wireless fidelity network for data surfing and the terminal device uses a wireless fidelity network for Vowifi call based on the sub-card, the method further comprises:
detecting whether the terminal equipment is networked;
when the terminal equipment is networked, acquiring a second application package which characterizes and allows the auxiliary card to surf the internet from a server, wherein the second application package comprises at least one application name;
and updating the second application package to a database of the terminal equipment to determine the preset application.
6. The data card switching method according to claim 1, wherein the method further comprises:
and when the end of the Volten call is detected, switching the carrier supporting the data bearing of the data Internet surfing from the auxiliary card to the main card.
7. A data card switching device, comprising:
the first determining module is configured to determine the state of the wireless fidelity network under the condition that the terminal equipment uses the wireless fidelity network to conduct data surfing and the terminal equipment uses the wireless fidelity network to conduct Vowifi communication based on the auxiliary card;
and the first switching module is configured to switch the Vowifi call to the Volter call based on the auxiliary card if the wireless fidelity network is in an unavailable state, and activate a data bearing function of the auxiliary card to support data surfing.
8. A data card switching device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the steps of the data card switching method of any one of claims 1 to 6.
9. A computer readable storage medium having stored thereon computer program instructions, which when executed by a processor, implement the steps of the data card switching method of any of claims 1 to 6.
10. A chip, comprising a processor and an interface; the processor is configured to read instructions to perform the steps of the data card switching method of any one of claims 1 to 6.
CN202211086017.4A 2022-09-06 2022-09-06 Data card switching method and device, readable storage medium and chip Pending CN117715138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211086017.4A CN117715138A (en) 2022-09-06 2022-09-06 Data card switching method and device, readable storage medium and chip

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211086017.4A CN117715138A (en) 2022-09-06 2022-09-06 Data card switching method and device, readable storage medium and chip

Publications (1)

Publication Number Publication Date
CN117715138A true CN117715138A (en) 2024-03-15

Family

ID=90157547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211086017.4A Pending CN117715138A (en) 2022-09-06 2022-09-06 Data card switching method and device, readable storage medium and chip

Country Status (1)

Country Link
CN (1) CN117715138A (en)

Similar Documents

Publication Publication Date Title
RU2640646C2 (en) Method and device for cloud card transmission
CN110622616B (en) Control method and device for inactivity timer
EP3136699A1 (en) Method and device for connecting external equipment
US20160255521A1 (en) Method and apparatus for testing a smart device
CN112166634A (en) Paging reason sending method and device and paging reason acquiring method and device
CN109314913B (en) Access control limiting method and device
EP3681242A1 (en) Network connection method and device
CN110383891B (en) Network switching resource determining method and network switching resource configuration method
CN110622534B (en) MDT (minimization drive test) information sending method and device and MDT information receiving method and device
CN109644457B (en) Resource allocation method and device
CN113825196A (en) Network switching resource determining method and network switching resource configuration method
EP3565374A1 (en) Region configuration method and device
CN108476379B (en) Information recording method and information recording apparatus
US11197192B2 (en) Network connection management method, device and system
CN105357735B (en) Method and device for accessing cell
CN116133044A (en) Cell type indication method and device
EP3771232B1 (en) Information reporting and configuration method and device, user equipment and base station
US11265924B2 (en) Method and device for data transmission
US20230224771A1 (en) Method and apparatus for updating radio notification area
CN110637502B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN113016200B (en) Capability interaction method and device, interaction triggering method and device
CN114980257B (en) Method, device, mobile terminal and storage medium for displaying network identification information
CN112640569B (en) Connection establishment method and device
CN114430370B (en) Method, device, equipment and storage medium for determining network slice
CN117715138A (en) Data card switching method and device, readable storage medium and chip

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