WO2019071612A1 - 同时支持语音业务和数据业务的方法和终端 - Google Patents

同时支持语音业务和数据业务的方法和终端 Download PDF

Info

Publication number
WO2019071612A1
WO2019071612A1 PCT/CN2017/106175 CN2017106175W WO2019071612A1 WO 2019071612 A1 WO2019071612 A1 WO 2019071612A1 CN 2017106175 W CN2017106175 W CN 2017106175W WO 2019071612 A1 WO2019071612 A1 WO 2019071612A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
terminal
secondary card
data
service
Prior art date
Application number
PCT/CN2017/106175
Other languages
English (en)
French (fr)
Inventor
李涛
李韬
张鑫
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN202210673484.0A priority Critical patent/CN115022473A/zh
Priority to CN202210673315.7A priority patent/CN115277960A/zh
Priority to ES17928502T priority patent/ES2942676T3/es
Priority to CN201780066018.3A priority patent/CN109891933B/zh
Priority to AU2017435229A priority patent/AU2017435229B2/en
Priority to US16/754,474 priority patent/US11463588B2/en
Priority to EP23163211.8A priority patent/EP4236463A3/en
Priority to EP17928502.8A priority patent/EP3672328B1/en
Publication of WO2019071612A1 publication Critical patent/WO2019071612A1/zh
Priority to AU2022200023A priority patent/AU2022200023B9/en
Priority to US17/875,040 priority patent/US11843721B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/0024Services and arrangements where telephone services are combined with data services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M7/00Arrangements for interconnection between switching centres
    • H04M7/006Networks other than PSTN/ISDN providing telephone service, e.g. Voice over Internet Protocol (VoIP), including next generation networks with a packet-switched transport layer
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/15Setup of multiple wireless link connections
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/22Manipulation of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/183Processing at user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface

Definitions

  • the present application relates to the field of communications, and in particular, to a method and a terminal for simultaneously supporting voice services and data services.
  • VoLTE Voice over LTE
  • IP Internet Protocol
  • IMS Internet Multimedia Subsystem
  • the current dual SIM Dual Standby (DSDS) mobile phone has only one RF antenna, so only one card can support the data service such as VoLTE as the 4G main card, and the other card can only serve as the vice. Card, and regardless of whether the secondary card has 4G enabled, it can only provide 2G/3G capability.
  • the secondary card is used to make a call, at this time, since the radio frequency antenna is exclusively occupied by the secondary card, the data service performed by the primary card is interrupted, and the mobile phone is difficult to provide data services for the user.
  • the embodiment of the present invention provides a method and a terminal for simultaneously supporting a voice service and a data service, which are used to implement a dual-card dual-standby single-pass mobile phone, and when the primary card performs data service and then makes a call through the secondary card, the data service is migrated to The secondary card enables the data service to be transmitted simultaneously through the secondary card.
  • the first aspect provides a method for simultaneously supporting a voice service and a data service, and is applied to a dual card dual standby single pass terminal.
  • the terminal supports two cards, one of which is a primary card and the other is a secondary card and a primary card.
  • Supporting the data service the secondary card supports the transmission of the voice service through the data service, or the secondary card supports the concurrent operation of the voice service and the data service;
  • the method includes: in the process of the terminal performing the data service through the primary card, the terminal performs the voice service through the secondary card Then, the terminal switches the data service performed by the primary card to the secondary card, and performs data service through the secondary card.
  • the method for supporting the voice service and the data service is provided by the embodiment of the present invention.
  • the dual-card dual-standby single-pass mobile phone can only perform data service by the primary card under the default condition, when the voice card is used for the VoLTE voice service or the WCDMA voice service,
  • the voice and data services can be simultaneously transmitted through the modem of the secondary card, so that the dual-card dual-standby single-pass mobile phone can migrate the data service to the secondary card when the primary card performs data service and then makes a call through the secondary card.
  • the secondary card connects and calls to transmit data services at the same time.
  • the method may further include: displaying, by the terminal, an option interface, where the content displayed in the option interface is used to indicate that the default mobile data is switched from the primary card to the secondary card during the voice service by the secondary card.
  • the option interface can be, for example, based on a user's trigger, entering the option displayed by the setting interface. Interface; can also be based on the user's trigger, enter the settings interface to display the dual card management options, and then enter the option interface displayed by the dual card management option; can also be understood as based on the user's trigger, enter the settings interface to display the mobile network settings options , enter the option interface displayed by the mobile network settings option.
  • the content displayed in the option interface is used to indicate that the default mobile data is switched from the primary card to the secondary card during the voice service by the secondary card, which can be understood as a function.
  • the phrase "the default mobile data is switched from the primary card to the secondary card during the voice service through the secondary card" is not required to be displayed in the option interface. As long as it can play the role of the content displayed in the option interface.
  • the method may further include: the terminal displaying the first prompt information, where the first prompt information is used to indicate that the default mobile data is switched from the primary card to the secondary card during the voice service by the secondary card.
  • the role of the first prompt information is to indicate that the default mobile data is switched from the primary card to the secondary card during the voice service by the secondary card.
  • the first prompt information is not required to display the phrase "the default mobile data is switched from the primary card to the secondary card during the voice service through the secondary card". As long as it can play the role of the first prompt information.
  • the method may further include: the terminal ends the voice service by using the secondary card, and the terminal switches the data service performed by the secondary card to the primary card, and performs data service by using the primary card.
  • the data service is automatically switched back to the primary card to ensure that the data service can continue to be used.
  • the method may further include: displaying, by the terminal, an option interface, where the content displayed in the option interface is used to indicate that the default mobile data is switched from the secondary card to the primary card after ending the voice service by the secondary card.
  • the content displayed in the option interface is used to indicate that the default mobile data is switched from the secondary card to the primary card after ending the voice service through the secondary card, which can be understood as a function. It is not required to display the phrase "The default mobile data is switched from the secondary card to the primary card after ending the voice service through the secondary card" in the option interface. As long as it can play the role of the content displayed in the option interface.
  • the option interface can be, for example, based on a user's trigger, entering the option interface displayed by the setting interface; or based on the user's trigger, entering the setting interface to display the dual card management option, and then entering the dual card management option displayed.
  • Option interface can also be understood as based on the user's trigger, enter the settings interface to display the mobile network settings options, and then enter the option interface displayed by the mobile network settings options.
  • the method may further include: the terminal displaying the second prompt information, where the second prompt information is used to indicate that the default mobile data is switched from the secondary card to the primary card after ending the voice service by the secondary card.
  • the second prompt information is used to indicate that the default mobile data is switched from the secondary card to the primary card after ending the voice service by the secondary card.
  • the second prompt information is used to indicate that the default mobile data is switched from the secondary card to the primary card after ending the voice service through the secondary card. It is not necessarily required that the second prompt information displays "the default mobile data is switched from the secondary card to the primary card after the end of the voice service by the secondary card". As long as it can function as the second prompt information.
  • the method may further include: displaying, by the terminal, an option interface, where the content displayed in the option interface is used to indicate whether the function of accessing the Internet when the secondary card is called is open.
  • This embodiment facilitates the user to control the switches of the above functions.
  • the dual card dual standby single pass is a standby network for two cards at the same time, and only a single card call is allowed.
  • This embodiment provides the specific meaning of the dual card dual standby single pass.
  • the second aspect provides a terminal, where the terminal is a dual-card dual-standby single-pass terminal, and the terminal supports two cards, one of which is a primary card and the other is a secondary card, and the terminal includes an application processor and a corresponding card.
  • the modem corresponding to the modem and the secondary card the primary card supports the data service; the secondary card supports the transmission of the voice service through the data service, or the secondary card supports the concurrent operation of the voice service and the data service; wherein the application processor is used to: correspond to the primary card During the data service of the modem, the voice service is performed by the modem corresponding to the secondary card; the data service performed by the modem corresponding to the primary card is switched to the modem corresponding to the secondary card, and the data service is performed by the modem corresponding to the secondary card.
  • the principles and benefits of the terminal can be solved.
  • the implementation of the terminal can be referred to the first The aspects and implementations of the various possible methods of the first aspect are not repeated here.
  • an electronic device comprising: a display, one or more processors, a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be Executing by the plurality of processors, the one or more programs include instructions for displaying a setting option in response to the first input when the user interface including the setting icon is displayed on the display, wherein the setting option includes the first option And in response to the second input, displaying the first option interface, the first option interface includes at least one area, and the at least one area displays: a default mobile data option and an internet access option when the secondary card is called.
  • the secondary card supports transmission of voice services through data services, or the secondary card supports concurrency of voice services (eg, VoLTE) and data services (eg, WCDMA).
  • voice services eg, VoLTE
  • data services eg, WCDMA
  • the first option is a dual card management option, or the first option is a mobile network setting option.
  • a fourth aspect provides a computer storage medium storing one or more programs, the one or more programs including instructions that, when executed by the terminal, cause the terminal to perform the first aspect and any of the embodiments described above method.
  • a computer program product comprising instructions for causing a terminal to perform the method of the first aspect and any of its embodiments when the computer program product is run on a terminal.
  • the third to fifth aspects provided by the embodiments of the present invention are all used to implement the corresponding method provided by the first aspect. Therefore, the beneficial effects that can be achieved can be beneficial in the corresponding method provided by the first aspect. effect
  • FIG. 1 is a schematic front view of a mobile phone according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a mobile phone according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram 1 of a display interface according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of a system architecture of a dual-card dual-standby single-pass terminal device based on an Android system according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart 1 of a method for simultaneously supporting a voice service and a data service according to an embodiment of the present invention
  • FIG. 6 is a schematic diagram of a terminal supporting VoLTE or WCDMA according to an embodiment of the present disclosure
  • FIG. 7 is a second schematic diagram of a display interface according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic diagram 3 of a display interface according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic flowchart 1 of communication between a call frame layer and each object of an RIL according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a call made by a secondary card and performing data services according to an embodiment of the present invention.
  • FIG. 11 is a second schematic flowchart of a method for simultaneously supporting a voice service and a data service according to an embodiment of the present disclosure
  • FIG. 12 is a schematic diagram 4 of a display interface according to an embodiment of the present invention.
  • FIG. 13 is a second schematic flowchart of communication between a call frame layer and RIL objects according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram 1 of a terminal according to an embodiment of the present invention.
  • FIG. 15 is a second schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 16 is a third schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal in the embodiment of the present invention may be various terminal devices that support dual card dual standby single pass.
  • Dual card dual standby single pass that is, two mobile phone cards, through the underlying software and control chip of the mobile phone, constantly switch between the respective networks of the two cards. Since the switching time is very fast, two SIM cards are guaranteed to be simultaneously connected to the network, but only a single one is allowed.
  • the cartoon words mean that the B card is offline when the A card is in a call, and the A card is in the offline state when the B card is in a call. When both cards are not in a call, the two cards are in the standby mode at the same time.
  • the terminal may be a wearable electronic device (such as a smart watch, etc.), a tablet computer, a desktop computer, a virtual reality device, an augmented reality device, or the like, or may be the mobile phone 200 shown in FIG. 1 or FIG. 2, which is an embodiment of the present invention.
  • a wearable electronic device such as a smart watch, etc.
  • a tablet computer such as a smart watch, etc.
  • a desktop computer such as a tablet computer
  • a virtual reality device such as an augmented reality device, or the like
  • the mobile phone 200 shown in FIG. 1 or FIG. 2 which is an embodiment of the present invention.
  • the terminal in the embodiment of the present invention may be the mobile phone 200.
  • 1 is a front view of a mobile phone 200
  • FIG. 2 is a schematic diagram of a hardware structure of the mobile phone 200. The embodiment will be specifically described below by taking the mobile phone 200 as an example.
  • the illustrated mobile phone 200 is merely an example of a terminal, and that the mobile phone 200 may have more or fewer components than those shown in the figures, two or more components may be combined, or may have Different parts.
  • the mobile phone 200 may include a radio frequency (RF) circuit 210, a memory 220, an input unit 230, a display unit 240, a sensor 250, an audio circuit 260, and a wireless fidelity (WiFi) module 270.
  • RF radio frequency
  • the structure of the handset shown in FIG. 2 does not constitute a limitation to the handset, and may include more or less components than those illustrated, or some components may be combined, or different component arrangements.
  • the components of the mobile phone 200 will be specifically described below with reference to FIG. 2:
  • the RF circuit 210 can be used for receiving and transmitting signals during the transmission and reception of information or a call.
  • the downlink information of the base station can be received and processed by the processor 280.
  • the data related to the uplink is sent to the base station.
  • RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • RF circuitry 210 can also communicate with the network and other mobile devices via wireless communication.
  • the wireless communication can use any communication standard or protocol, including but not limited to global mobile communication systems, general packet radio services, code division multiple access, wideband code division multiple access, long term evolution, email, short message service, and the like.
  • the memory 220 can be used to store software programs and data.
  • the processor 280 performs various functions and data processing of the handset 200 by running software programs and/or data stored in the memory 220.
  • the memory 220 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to The data created by the use of the mobile phone 200 (such as audio data, phone book, etc.) and the like.
  • memory 220 can include high speed random access memory, and can 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 memory 220 stores an operating system that enables the mobile phone 200 to operate, such as developed by Apple. Operating system, developed by Google Inc. Open source operating system, developed by Microsoft Corporation Operating system, etc.
  • An input unit 230 such as a touch screen, can be used to receive input numeric or character information, as well as to generate signal inputs related to user settings and function control of the handset 200.
  • the input unit 230 may include a touch panel 231 disposed on the front surface of the mobile phone 200 as shown in FIG. 1 to collect touch operations on or near the user (such as a user using a finger, a stylus, or the like, any suitable object or accessory). The operation is performed on the touch panel 231 or in the vicinity of the touch panel 231, and the corresponding connection device is driven according to a preset program.
  • the display unit 240 (ie, the display screen) can be used to display information input by the user or information provided to the user and a graphical user interface (GUI) of various menus of the mobile phone 200.
  • the display unit 240 may include a display panel 241 disposed on the front of the mobile phone 200.
  • the display panel 241 can be configured in the form of a liquid crystal display, a light emitting diode, or the like.
  • the mobile phone 200 may be provided with a touch panel 231 and a display panel 241 on the front side, and the touch panel 231 is overlaid on the display panel 241 .
  • the touch panel 231 detects a touch operation on or near it, it is transmitted to the processor 280 to determine a touch event, and then the processor 280 provides a corresponding visual output on the display panel 241 according to the type of the touch event.
  • the touch panel 231 and the display panel 241 are two independent components to implement the input and input functions of the mobile phone 200, in some embodiments, the touch panel 231 can be integrated with the display panel 241.
  • the integrated touch panel 231 and the display panel 241 may be simply referred to as a touch display screen or a display screen.
  • the terminal displays an interface, a message, and the like through a display screen.
  • the handset 200 can also include at least one type of sensor 250, such as a light sensor, motion sensor, and other sensors.
  • the mobile phone 200 can also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, and the like, and details are not described herein.
  • the audio circuit 260, the speaker 261, and the microphone 262 can provide an audio interface between the user and the handset 200.
  • the audio circuit 260 can transmit the converted electrical data of the received audio data to the speaker 261, and convert it into a sound signal output by the speaker 261.
  • the microphone 262 converts the collected sound signal into an electrical signal, and the audio circuit 260 After receiving, it is converted into audio data, and then the audio data is output to the RF circuit 210 for transmission to, for example, another mobile phone, or the audio data is output to the memory 220 for further processing.
  • WiFi is a short-range wireless transmission technology
  • the mobile phone 200 can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 270, which provides wireless broadband Internet access for users.
  • the processor 280 is a control center of the mobile phone 200, and connects various parts of the entire mobile phone by using various interfaces and lines, and executes the mobile phone 200 by running or executing a software program stored in the memory 220 and calling data stored in the memory 220. A variety of functions and processing data to monitor the phone as a whole.
  • the processor 280 can include one or more processing units; the processor 280 can also integrate an application processor and a modem, wherein the application processor primarily processes an operating system, a user interface, an application, etc., and the modem primarily processes Wireless communication. It can be understood that the above modem may also not be integrated into the processor 280. Medium, the modem and the application processor are set separately. For a dual card dual standby single pass terminal, the modem can include a modem corresponding to the primary card and a modem corresponding to the secondary card.
  • the Bluetooth module 281 is configured to perform information interaction with other devices through a short-range communication protocol such as Bluetooth.
  • the mobile phone 200 can establish a Bluetooth connection through a Bluetooth module 281 and a wearable electronic device (such as a smart watch) that also has a Bluetooth module, thereby performing data interaction.
  • the handset 200 also includes a power source 290 (such as a battery) that supplies power to the various components.
  • the power supply can be logically coupled to the processor 280 through a power management system to manage functions such as charging, discharging, and power consumption through the power management system.
  • the SIM card module 282 is configured to insert SIM cards of different specifications, such as a Nano SIM, a Micro SIM, etc., and the SIM module 282 of the embodiment supports insertion of at least two SIM cards SIM1 and SIM2.
  • One is the primary card and the other is the secondary card.
  • the primary card supports data services by default, that is, the terminal is set to pass the data service by default, and the secondary card supports the transmission of voice services (such as VoLTE) through data services or the concurrency of voice services and data services (such as Wideband Code Multiple Access (Wideband Code).
  • voice services such as VoLTE
  • Wideband Code Wideband Code Multiple Access
  • the embodiment of the present invention uses a secondary card to perform a VoLTE voice service or a WCDMA voice service as an example, but is not intended to limit the voice to only the VoLTE voice service or the WCDMA voice service.
  • the data service includes a mobile data service.
  • the primary card supports the data service by default, and the primary card can also support the voice service.
  • the at least two SIM cards can be displayed on the display panel 241.
  • the signal strength and the supported network standard can be noted that the above SIM card module can also be implemented as a virtual SIM card function, or the SIM card module can also be a soft SIM card.
  • the voice service described in the embodiment of the present invention includes Receiving calls, video calls, etc., data services include but are not limited to browsing web pages, online games For video buffering, downloading data, uploading data, etc.
  • data services include but are not limited to browsing web pages, online games For video buffering, downloading data, uploading data, etc.
  • FIG. 3 when the terminal displays a user interface including a setting icon on the display screen, the user can click the setting icon to display the setting interface, and the user can set the interface in the terminal. Click the dual card management option in the setting option to enter the dual card management option interface.
  • the option interface includes at least one area in which the default mobile data option can be displayed, and the user can set the default use mobile in the default mobile data option.
  • the SIM card of the data is the primary card (for example, the card 1), and the other SIM card (for example, the card 2) is the secondary card, so that when the user does not talk or conduct a call through the primary card, the data service can be performed through the primary card.
  • the user can also set the card 2 as the default master card using the mobile data in the default mobile data option, and the card 1 is the secondary card.
  • the "default mobile data” shown in FIG. 3 is only the default use of mobile data.
  • mobile data Internet access or “online data”, etc.
  • the above "default mobile data” Item not displayed but may be arranged in other display interface, embodiments of the present invention is not limited in the dual interface card management options.
  • FIG. 4 is a schematic structural diagram of a system of a dual-card dual-standby single-pass terminal device based on an Android system according to an embodiment of the present invention.
  • the system architecture includes a Telephony Applications layer 401, a Telephony Framework layer 402, a Radio Interface Layer (RIL) 403, and a DSDS Modem 404.
  • the call application layer 401, the talk frame layer 402, and the RIL 403 run in an application processor, and the DSDS modem 404 operates in a modem. among them:
  • the call application layer 401 includes a communication-related application such as a call, a short message, and/or a multimedia message, a contact, etc., and can access a service provided by the call frame layer 402 according to different applications, for example, when the call is made, the call frame layer can be accessed.
  • Call interface management service provided by 402.
  • the call framework layer 402 is configured to provide the call application layer 401 with communication related APIs and services, and to send corresponding commands to the RIL 403 according to the services accessed by the call application layer 401, for example, for receiving an incoming call scenario, a receive call command may be sent to the RIL 403.
  • the services provided by the call framework layer 402 include, for example, a call interface management service, a phone book service, a short message service, a user information reading service, a message registration service, and the like.
  • the API provided by the call framework layer 402 is used by the call application layer 401 to access the services provided by the call frame layer 402.
  • the call frame layer 402 instantiates a Phone object or a Line object for each SIM card for a call, and instantiates two Phone objects or lines for a dual card dual standby single pass terminal ( Line) objects, respectively, for managing calls to the primary or secondary card; however, the call frame layer 402 maintains only one data connection for data traffic.
  • the RIL 403 is responsible for translating commands from the talk frame layer 402 into modem commands and transmitting them to the DSDS modem 404, as well as receiving the processing results fed back by the DSDS modem 404.
  • the RIL 403 includes RILJ (RIL JAVA) and RILC (RIL CPP or RILD), which belongs to the Java portion of the RIL 403 and can be directly called by the talk framework layer 402, which belongs to the C/C++ portion of the RIL 403.
  • RILC communicates with RILJ through Socket, RILC serves as the server of Socket, and RILJ acts as the client of Socket.
  • RILC can obtain commands from call frame layer 402 by listening to Socket (such as receiving call command, rejecting call command, etc.) ).
  • the RILC sends modem commands to the DSDS modem 404 via serial communication. Since the RIL 403 is used for communication with the underlying modem, and the primary card and the secondary card respectively correspond to different modems, the RIL 403 includes the RIL corresponding to the primary card and the RIL corresponding to the secondary card, and the RIL corresponding to the primary card is used to manage the call and data of the primary card. Connection, the RIL corresponding to the secondary card is used to manage the call and data connection of the primary card.
  • the DSDS modem 404 is responsible for executing modem commands and interacting with the network side through the radio frequency antenna to implement communication services. For a dual card dual standby single pass terminal, each SIM card corresponds to a modem.
  • the call application in the call application layer 401 accesses the call interface management service in the call frame layer 401, and the call frame layer 401 clears the call in the non-connected state, if the call is currently being made, The current call is switched to the background and its call state is switched to the call hold state to check whether the phone number is legal. If the legal call frame layer 401 sends a call command to the RIL corresponding to the primary card in the RIL 403, the RIL 403 corresponds to the call of the primary card.
  • the RIL converts the command into a modem command to initiate a call, and sends it to the modem corresponding to the primary card in the DSDS modem 404, and the originating call operation is specifically performed by the modem corresponding to the primary card in the DSDS modem 404.
  • the network application in the call application layer 401 accesses the connection service corresponding to the primary card in the call frame layer 401, sets the data connection parameter in the call frame layer 401, and connects the data from the node.
  • the active state is switched to the active state, and the call frame layer 401 sends a data connection command to the RIL corresponding to the primary card in the RIL 403, and the RIL corresponding to the primary card in the RIL 403 converts the command into a modem command for establishing a data connection, and sends the command to the DSDS.
  • the modem corresponding to the primary card in the modem 404 is specifically configured to establish a data connection operation by the modem corresponding to the primary card in the DSDS modem 404.
  • the call frame layer 402 is responsible for clearing the route of the data service of the primary card, and the call frame layer 402 is also responsible for sending an allow data connection command and a data connection command to the RIL corresponding to the secondary card in the RIL 403.
  • the VoLTE voice service transmits voice through the PS domain
  • WCDMA supports the voice service of the CS domain and the data service of the PS domain concurrently. Therefore, the voice and data services can be simultaneously transmitted through the modem corresponding to the secondary card, so that the secondary card can be transmitted. Realize the transmission of data services while making calls. It should be noted that the function of simultaneously transmitting the voice and data services by using the modem of the secondary card can also be applied to the scenario in which the data service needs to be transmitted during the call by the secondary card, which is not limited in the embodiment of the present invention.
  • the terminal can also display an option interface, and the content displayed in the option interface is used to indicate whether the function of the Internet access when the secondary card is called is open (for example, "the secondary card call automatically By switching the data to the secondary card "switch", the user can set whether the following function is enabled by setting the switch: whether to switch the data service from the primary card to the secondary card when performing VoLTE voice service or WCDMA voice service through the secondary card. For example, when the switch is turned on, during the data service through the primary card, and then through the secondary card call, the terminal automatically switches the data service performed on the primary card to the secondary card.
  • the function of the switch may be turned on or off by default, or the operation of the switch may not be provided on the display interface.
  • the function of the switch may be turned on or off by default in the program, and the switch may not be the default.
  • the mobile data option is displayed in the same interface.
  • the "automatically switch data to the secondary card in the secondary card call" is only one possible form of the above-mentioned function on the display interface, and may also be called a secondary card call, which may be connected to the Internet, etc., and may be collectively referred to as "Internet access during a call". .
  • the embodiment of the present invention provides a method for simultaneously supporting a voice service and a data service, which can be applied to the foregoing terminal.
  • the method includes S101-S106:
  • the application of the call application layer can register to listen for the ringing event.
  • the modem corresponding to the secondary card in the DSDS modem detects the incoming call, it will broadcast a ringing event to the calling application layer through the RIL layer and the call frame layer, and the user can pass the ringing event.
  • the call interface of the call application layer answers or rejects the secondary card call.
  • the call application layer triggers the processing flow of the VoLTE voice service or the WCDMA voice service through the secondary card.
  • FIG. 6 a schematic diagram of supporting VoLTE or WCDMA for a terminal.
  • the primary card 601 may be 4G LTE
  • the secondary card 602 may be 4G LTE supporting VoLTE, usually transmitting HD voice in HD
  • the secondary card 603 may be 3G WCDMA.
  • the call application layer of the terminal notifies the call frame layer that when the terminal performs data service through the primary card, the secondary card needs to perform VoLTE voice service or WCDMA voice service.
  • the manner of notifying the call frame layer may specifically be that the call application layer accesses the call interface management service corresponding to the secondary card.
  • the call frame layer of the terminal switches the data service performed by the primary card to the secondary card, and indicates that the RIL corresponding to the secondary card in the RIL layer allows the secondary card to perform the data industry. Business.
  • the content that can be displayed in the dual card management option interface shown in FIG. 7 is used to indicate that the default mobile data is switched from the primary card (eg, card 1) to the secondary card during the voice service through the secondary card. (eg card 2).
  • the terminal may display prompt information on the display screen, where the prompt information is used to indicate that the default mobile data is switched from the primary card (eg, card 1) during the voice service by the secondary card.
  • the secondary card such as card 2.
  • the RIL corresponding to the secondary card in the RIL layer may be sent an indication indicating that the data service is allowed to be performed (for example, the RIL_REQUEST_ALLOW_DATA value is set to TRUE) to indicate that the RIL corresponding to the secondary card in the RIL layer allows the secondary card to be performed. Data business.
  • the call frame layer of the terminal may not be required to send an instruction for prohibiting data service to the RIL corresponding to the primary card in the RIL layer (for example, setting the RIL_REQUEST_ALLOW_DATA value to FALSE) to indicate the primary in the RIL layer.
  • the RIL corresponding to the card prohibits the primary card from performing data services.
  • the reason is that the secondary card occupies the radio frequency resource at this time, and the indication cannot be sent to the DSDS modem through the RIL. Therefore, the call frame layer may not send the indication, and directly returns the transmission success in the function that sends the indication.
  • FIG. 9 is a schematic flowchart of communication between a call frame layer and RIL objects according to an embodiment of the present invention.
  • GsmCdmaCallTracker object is used to provide call (CALL) management in GSM mode and CDMA mode
  • InCallDataStateMachine object is used to provide state machine management of call state
  • SubscriptionController object is used to obtain SIM card information
  • PhoneSwitcher object is used to monitor data change
  • TelephonyNetworkFactory For monitoring the switching of data
  • the DcTracker object is used to manage the connection and disconnection of the management data service in the call frame layer
  • the DataConnection object is also responsible for the connection and disconnection of the management data service in the call frame layer.
  • RILJ and RILD which belong to the RIL
  • the GsmCdmaCallTracker object calls the call_start() function to trigger the voice service through the secondary card.
  • the InCallDataStateMachine object calls the setDefaultDataSubid() function to configure the default mobile data to switch from the primary card to the secondary card.
  • the SubscriptionController object broadcasts the ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE indication to indicate the setting of the default mobile data.
  • the PhoneSwitcher object receives the broadcast and calls the onEvaluate() function to evaluate whether the secondary card satisfies the data service condition.
  • the PhoneSwitcher object calls the deactive() function to deactivate the data service of the primary card, and the PhoneSwitcher object invokes the IsSwitchingToSlave.
  • the () function switches from the primary card to the secondary card to indicate that the configuration default mobile data has been completed. This process enables the configuration of default mobile data to be switched from the primary card to the secondary card.
  • the PhoneSwitcher object calls the active() function to activate the data service of the secondary card
  • the PhoneSwitcher object calls the setDataAllowed(true) function to allow the secondary card to perform data services
  • the DcTracker object calls the setDataAllowed(true) function to allow the secondary card to perform data services.
  • the RILJ client corresponding to the secondary card sends a RIL_REQUEST_ALLOW_DATA indication with a value of TRUE to the RIL server corresponding to the secondary card, to indicate that the RIL corresponding to the secondary card in the RIL layer allows the secondary card to perform data services.
  • the process implements that the call framework layer indicates that the RIL corresponding to the secondary card in the RIL layer allows the secondary card to perform data services.
  • the RIL corresponding to the secondary card in the RIL layer indicates the tone corresponding to the secondary card in the DSDS modem of the terminal.
  • the modem allows the secondary card to perform data services.
  • the RIL corresponding to the secondary card in the RIL layer sends a modem command for allowing the secondary card to perform data service to the modem corresponding to the secondary card in the DSDS modem.
  • the call frame layer of the terminal deactivates the data service of the primary card, clears the route of the data service of the primary card, and notifies that the data connection between the upper application that uses the data service and the primary card is disconnected.
  • the data service for deactivating the primary card is implemented by sending a deactivation data service indication such as RIL_REQUEST_DEACTIVE_DATA_CALL to the RIL of the primary card through the DcTracker object of the call frame layer, but since the secondary card occupies the radio resource at this time, the indication cannot be performed by the RIL. It is sent to the DSDS modem, so the data service of the primary card can be directly activated by the DcTracker object, and the call frame layer can not send the indication and directly return the transmission success in the function that sends the indication.
  • a deactivation data service indication such as RIL_REQUEST_DEACTIVE_DATA_CALL
  • a new route (such as clearLink) can be created in the DataConnection object of the call frame layer to clear the route of the data service of the primary card.
  • the routing of the data service is stored in the call frame layer.
  • All upper-layer applications that use data services can register to monitor the data connection status. If the data connection status changes, the status of the listening data connection can be notified by broadcast.
  • Upper level application All upper-layer applications that use data services (including applications in the call application layer and other applications, such as WeChat, etc.) can register to monitor the data connection status. If the data connection status changes, the status of the listening data connection can be notified by broadcast.
  • Upper level application All upper-layer applications that use data services (including applications in the call application layer and other applications, such as WeChat, etc.) can register to monitor the data connection status. If the data connection status changes, the status of the listening data connection can be notified by broadcast.
  • the TelephonyNetworkFactory object After receiving the ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE indication by the SubscriptionController object, the TelephonyNetworkFactory object calls the onDefaultChange() function to process the mobile data switch.
  • the TelephonyNetworkFactory object calls the IsSwitchingToSlave() function to indicate that the default mobile data is switched from the primary card to the secondary card.
  • TelephonyNetworkFactory The object calls the clearDefaultLink() function to clear the route of the data service of the primary card.
  • the DcTracker object calls the newly created clearLink() function to clear the route of the data service of the primary card.
  • the call frame layer of the terminal indicates that the RIL corresponding to the secondary card in the RIL layer initiates a data service.
  • an indication of initiating a data service may be sent by the call frame layer of the terminal to the RIL of the secondary card to initiate a data service.
  • Procedure 4 After receiving the ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE indication by the SubscriptionController object, the TelephonyNetworkFactory object calls the requestNetwork() function to request the establishment of the data connection of the secondary card.
  • the DcTracker object sends an EVENT_CONNECT indication to the DataConnection object to indicate that the data connection event is established, and the DataConnection object calls setupDataCall ( The function indicates to establish a data connection, and the RILJ client sends a RIL_REQUEST_SETUP_DATA_CALL indication to the RILD server to indicate the establishment of a data connection and initiate a data service.
  • the RIL corresponding to the secondary card in the RIL layer of the terminal indicates that the modem corresponding to the secondary card in the DSDS modem of the terminal initiates a data service.
  • the RIL corresponding to the secondary card in the RIL layer sends a modem command that allows a data connection to be established to the modem corresponding to the secondary card in the DSDS modem.
  • FIG. 10A shows that the user is watching through the primary card.
  • FIG. 10B shows that the VoLTE voice service is performed by the secondary card at this time, and the VoLTE voice service is performed by the secondary card;
  • FIG. 10C shows that the video can be continuously watched while the call is made through the secondary card.
  • the method for supporting the voice service and the data service is provided by the embodiment of the present invention.
  • the dual-card dual-standby single-pass mobile phone can only perform data service by the primary card under the default condition, when the voice card is used for the VoLTE voice service or the WCDMA voice service,
  • the voice and data services can be simultaneously transmitted through the modem of the secondary card, so that the dual-card dual-standby single-pass mobile phone can migrate the data service to the secondary card when the primary card performs data service and then makes a call through the secondary card.
  • the secondary card connects and calls to transmit data services at the same time.
  • the terminal In the process in which the terminal performs the data service and the voice service through the secondary card at the same time, the terminal ends the voice service through the secondary card, and the terminal switches the data service performed by the secondary card to the primary card, and performs data service through the primary card to ensure that the transmission can continue.
  • the method may further include steps S201-S206:
  • the terminal ends the voice service by using the secondary card, and the call application layer of the terminal triggers the process of processing the voice service through the secondary card, and notifies the call frame.
  • the call application layer of the terminal triggers the process of processing the voice service through the secondary card, and notifies the call frame.
  • the call application layer application can register to monitor the call state change event.
  • the modem corresponding to the secondary card in the DSDS modem detects that the other party hangs up the call, it will broadcast a call state change event to the call application layer through the RIL layer and the call frame layer, and the call is made.
  • the application layer will actively obtain the reason for the change of the call state to the DSDS modem, and the reason for the change of the call state may be a normal hang up.
  • the call application layer triggers the end of the VoLTE voice service or the WCDMA voice service through the secondary card. Process flow.
  • the call frame layer of the terminal switches the default mobile data from the secondary card to the primary card, and indicates that the RIL corresponding to the secondary card in the RIL layer prohibits the secondary card from performing data services.
  • the call frame layer of the terminal may send an instruction for prohibiting data service to the RIL of the secondary card (for example, setting the RIL_REQUEST_ALLOW_DATA value to FALSE) to indicate that the RIL corresponding to the secondary card in the RIL layer prohibits the secondary card from performing data. business.
  • the content that can be displayed in the dual card management option interface as shown in FIG. 3 is used to indicate that the default mobile data is switched from the secondary card to the primary card after ending the voice service through the secondary card.
  • the terminal may display prompt information on the display screen, and the prompt information is used to indicate that the default mobile data is switched from the secondary card to the primary card after ending the voice service by the secondary card.
  • FIG. 13 is another schematic flowchart of communication between a call frame layer and an RIL according to an embodiment of the present invention. This step refers specifically to process five and process six in Figure 13:
  • the GsmCdmaCallTracker object calls the call_end() function to trigger the end of the voice service through the secondary card
  • the InCallDataStateMachine object calls the setDefaultDataSubid() function to set the default mobile data to switch from the secondary card to the primary card
  • the SubscriptionController object broadcasts the ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE indication to indicate the default mobile data.
  • the PhoneSwitcher object receives the broadcast and calls the onEvaluate() function to evaluate whether the primary card satisfies the data service condition.
  • the PhoneSwitcher object calls the deactive() function to activate the data service of the secondary card, and the PhoneSwitcher object calls setDataAllowed.
  • the DcTracker object calls the setDataAllowed(false) function to disable the secondary card from performing data services.
  • the RILJ client corresponding to the secondary card sends a RIL_REQUEST_ALLOW_DATA indication with a false value (FALSE) to the RIL server corresponding to the secondary card to indicate the corresponding secondary card in the RIL layer. RIL prohibits the secondary card from performing data services.
  • the PhoneSwitcher object calls the active() function to activate the data service of the primary card.
  • the processing function of switching the data service from the secondary card back to the primary card in response to the data service does not need to re-instruct the RIL of the primary card to allow data traffic (for example, RIL_REQUEST_ALLOW_DATA does not need to send TRUE).
  • the call frame layer of the terminal does not need to send an indication of initiating a data service to the RIL of the primary card (for example, RIL_REQUEST_SETUP_DATA_CALL does not need to be sent) to initiate a data service.
  • the RIL corresponding to the secondary card in the RIL layer indicates that the modem corresponding to the secondary card in the DSDS modem of the terminal prohibits the secondary card from performing data service.
  • the RIL corresponding to the secondary card in the RIL layer sends a modem command for prohibiting the secondary card from performing data service to the modem corresponding to the secondary card in the DSDS modem.
  • the call frame layer of the terminal indicates that the RIL corresponding to the secondary card in the RIL layer deactivates the data service of the secondary card.
  • an indication of deactivating the data service may be sent to the RIL corresponding to the secondary card in the RIL layer by the call frame layer of the terminal to deactivate the data service of the secondary card.
  • Procedure 7 After receiving the ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE indication by the SubscriptionController object, the TelephonyNetworkFactory object calls the releaseNetwork() function to request the release of the data connection of the secondary card.
  • the DcTracker object sends an EVENT_DISCONNECT indication to the DataConnection object to indicate that the release data connection event occurs, and the DataConnection object calls deactiveDataCall ( The function instructs to deactivate the data service, and the RILJ client sends a RIL_REQUEST_DEACTIVE_DATA_CALL indication to the RILD server to indicate that the data connection is deactivated and the data service is deactivated.
  • the call frame layer of the terminal also clears the route of the data service of the secondary card.
  • the DcTracker object as described in step S104 sends a newly created clearLink() function to the DataConnection object to clear the route of the data service of the secondary card.
  • the RIL corresponding to the secondary card in the RIL layer of the terminal indicates that the modem corresponding to the secondary card in the DSDS modem of the terminal deactivates the data service of the secondary card.
  • the RIL corresponding to the secondary card in the RIL layer sends a modem command to deactivate the data service to the modem corresponding to the secondary card in the DSDS modem.
  • the call frame layer of the terminal recovers the data service by using the primary card, and notifies the data connection recovery of the upper application primary card of the data service.
  • the TelephonyNetworkFactory object is called after the ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE directive is broadcast by the SubscriptionController object.
  • the onDefaultChange() function handles the data switch.
  • the TelephonyNetworkFactory object directly calls the IsDeactivingSlaveData() function to inactivate the data service of the secondary card to the InCallDataStateMachine object.
  • the InCallDataStateMachine object calls the resumeDefaultLink() function to restore the data connection of the primary card.
  • the TelephonyNetworkFactory object is called.
  • the resumeDefaultLink() function restores the data connection of the primary card
  • the DcTracker object calls the resumeLink() function to restore the data connection of the primary card
  • the DataConnection object is also responsible for restoring the data routing of the primary card.
  • the DataConnection object determines that the primary card is re-activating the data, so RLS_REQUEST_SETUP_DATA_CALL is not sent to the RILJ client to initiate the data service.
  • the data service is automatically switched back to the primary card to ensure that the data service can continue to be used.
  • the embodiment of the invention provides a terminal for performing the above method.
  • the embodiment of the present invention may divide the function module into the terminal device according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 14 is a schematic diagram of a possible structure of the terminal involved in the foregoing embodiment, where the terminal 200 includes: a call application layer 2011, a call frame layer 2012, and a RIL 2013. .
  • the call application layer 2011 is used to support the terminal 200 to perform the process S101 in FIG. 5, the process S201 in FIG. 11;
  • the call frame layer 2012 is used to support the terminal 200 to execute the processes S102, S104, S105 in FIG. 5, the process in FIG.
  • the RIL 2013 is used to support the terminal 200 to execute the process S103 in FIG. 5, S106, the functions of the RILJ client and the RILD server in the processes S203, S205, FIG. 9 and FIG. 13 in FIG. All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
  • FIG. 15 shows a possible structural diagram of the terminal involved in the above embodiment.
  • the terminal 200 includes a processing module 2022 and a communication module 2023.
  • the processing module 2022 is configured to control and control the action of the terminal 200.
  • the processing module 2022 is configured to support the terminal 200 to perform the functions of the call application layer 2011, the call frame layer 2012, and the RIL 2013.
  • the communication module 2023 is used to support communication between the terminal and other devices.
  • the terminal 200 may further include a storage module 2021 for storing program codes and data of the terminal.
  • the processing module 2022 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a general purpose processor, a digital signal processor (DSP), and an application specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out various exemplary logical blocks, modules and circuits described in connection with the disclosure of the embodiments of the invention.
  • the processor may also be a combination of computing functions, for example including One or more microprocessor combinations, a combination of DSP and microprocessor, and so on.
  • the communication module 2023 may be a transceiver, a transceiver circuit, a network interface or a communication interface, or the like.
  • the storage module 2021 can be a memory.
  • the processing module 2022 may be the processor 280 in FIG. 2
  • the communication module 2023 may be the RF circuit 210, the WiFi module 270, and the Bluetooth module 281 in FIG. 2
  • the storage module 2021 may be the memory 220 in FIG.
  • the terminal involved in the embodiment of the present invention may be the terminal 200 shown in FIG.
  • the terminal 200 includes a memory 2031, an application processor 2032, an RF circuit 2033, a modem 2034 corresponding to the master card, a modem 2035 corresponding to the secondary card, and a bus 2036.
  • the memory 2031, the application processor 2032, the RF circuit 2033, the modem 2034 corresponding to the primary card, and the modem 2035 corresponding to the secondary card are mutually connected by a bus 2036; the bus 2036 may be a peripheral component interconnect standard bus or an extended industry standard structure bus. Wait.
  • the bus can be divided into an address bus, a data bus, a control bus, and the like.
  • One or more programs are stored in the memory 2031, and the one or more programs include instructions that, when executed by the terminal, cause the terminal to perform correlation in any of Figures 5, 9, 11, and 13. method.
  • the application processor 2032 can execute the above-described instructions to implement the methods performed by the call application layer, the call frame layer, and the RIL of FIGS. 5, 9, 11, and 13, for example, the application processor 2032 can be used to pass the primary card.
  • the corresponding modem 2034 performs voice service through the modem 2035 corresponding to the secondary card; then, the data service performed by the modem 2034 corresponding to the primary card is switched to the modem 2035 corresponding to the secondary card, and the modem corresponding to the secondary card is passed. 2035 for data services.
  • the terminal 200 may further include: a display screen 2037.
  • the display screen 2037 is also connected to other devices through the bus 2036.
  • the application processor 2032 is further configured to control the display screen 2037 to display an option interface, and the content displayed in the option interface is used to indicate that the default mobile data is switched from the primary card to the location during the voice service performed by the modem 2035 corresponding to the secondary card. Said the secondary card.
  • the application processor 2032 is further configured to control the display screen 2037 to display the first prompt information, where the first prompt information is used to indicate that the default mobile data is switched from the primary card to the secondary during the voice service performed by the modem 2035 corresponding to the secondary card. card.
  • the application processor 2032 is further configured to: end the voice service by the modem 2035 corresponding to the secondary card, and switch the data service performed by the modem 2035 corresponding to the secondary card to the modem 2034 corresponding to the primary card, corresponding to the primary card.
  • the modem 2034 performs data services.
  • the application processor 2032 is further configured to control the display screen 2037 to display an option interface.
  • the content displayed in the option interface is used to indicate that the default mobile data is switched from the secondary card to the primary after ending the voice service by the modem 2035 corresponding to the secondary card. card.
  • the application processor 2032 is further configured to control the display screen 2037 to display the second prompt information, where the second prompt information is used to indicate that the default mobile data is switched from the secondary card to the primary after ending the voice service by the modem 2035 corresponding to the secondary card. card.
  • the application processor 2032 is further configured to control the display interface of the display screen 2037, and the option interface is displayed.
  • the content shown is used to indicate whether the function of accessing the Internet when the secondary card is talking is turned on.
  • An embodiment of the present invention further provides an electronic device, including: a display, one or more processors, a memory, and one or more programs, wherein one or more programs are stored in the memory and configured to be configured by one Executing by the plurality of processors, the one or more programs include instructions for: displaying a setting option in response to the first input when the user interface of the setting icon is displayed on the display, wherein the setting option includes the first option; In response to the second input, the first option interface is displayed, the first option interface includes at least one area, and the at least one area displays: a default mobile data option and an internet access option when the secondary card is called.
  • the first option may be a dual card management option, or the first option may set an option for the mobile network.
  • Embodiments of the present invention also provide a computer storage medium storing one or more programs, the one or more programs including instructions that, when executed by the terminal, cause the terminal to execute in FIGS. 5, 9, 11, and 13. A related method in any of the figures.
  • the embodiment of the invention further provides a computer program product comprising instructions, when the computer program product is run on the terminal, causing the terminal to execute the related method in any one of FIG. 5, FIG. 9, FIG. 11 and FIG. .
  • the terminal, the electronic device, the computer storage medium or the computer program product provided by the embodiments of the present invention are all used to perform the corresponding method provided above. Therefore, the beneficial effects that can be achieved can be referred to the corresponding correspondence provided above. The beneficial effects of the method are not repeated here.
  • the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the medium includes instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) or processor to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a flash memory, a mobile hard disk, a read only memory, a random access memory, a magnetic disk, or an optical disk, and the like, which can store program codes.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Exchange Systems With Centralized Control (AREA)

Abstract

本申请公开了一种同时支持语音业务和数据业务的方法和终端,涉及通信领域,用于实现双卡双待单通手机当用主卡进行数据业务再通过副卡接打电话时,将数据业务迁移至副卡,从而能够通过副卡接打电话同时传输数据业务。应用于双卡双待单通终端,所述终端支持两个卡,其中一个卡为主卡,另一个卡为副卡,所述主卡支持数据业务;所述副卡支持通过数据业务传输语音业务,或,所述副卡支持语音业务和数据业务的并发;该方法包括:在所述终端通过所述主卡进行数据业务的过程中,所述终端通过所述副卡进行语音业务,则所述终端将所述主卡进行的数据业务切换到所述副卡,并通过所述副卡进行数据业务。

Description

同时支持语音业务和数据业务的方法和终端
本申请要求于2017年10月9日提交中国专利局、申请号为201710931792.8、申请名称为“副卡同时支持语音业务和数据业务的方法和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,尤其涉及一种同时支持语音业务和数据业务的方法和终端。
背景技术
随着运营商的网络协议(Internet Protocol,IP)多媒体子***(IP Multimedia Subsystem,IMS)网络建设的发展,开通长期演进(Long Term Evolution,LTE)承载语音(Voice over LTE,VoLTE)业务的用户也越来越多。VoLTE业务可以实现在同一张卡上同时进行数据业务和语音业务,即可以在接打电话的同时上网。
但是当前的双卡双待单通(Dual SIM Dual Standby,DSDS)手机,因为只有一根射频天线,所以只有一张卡可以作为4G主卡支持VoLTE等数据业务,另外一张卡只能作为副卡,并且无论副卡是否开通了4G,都只能提供2G/3G能力。当用户通过主卡进行数据业务时,如果使用副卡接打电话,此时由于射频天线被副卡独占,主卡进行的数据业务就会中断,手机则难以为用户提供数据业务。
发明内容
本申请实施例提供一种同时支持语音业务和数据业务的方法和终端,用于实现双卡双待单通手机当用主卡进行数据业务再通过副卡接打电话时,将数据业务迁移至副卡,从而能够通过副卡接打电话同时传输数据业务。
为达到上述目的,本申请的实施例采用如下技术方案:
第一方面,提供了一种同时支持语音业务和数据业务的方法,应用于双卡双待单通终端,终端支持两个卡,其中一个卡为主卡,另一个卡为副卡,主卡支持数据业务;副卡支持通过数据业务传输语音业务,或,副卡支持语音业务和数据业务的并发;该方法包括:在终端通过主卡进行数据业务的过程中,终端通过副卡进行语音业务,则终端将主卡进行的数据业务切换到副卡,并通过副卡进行数据业务。
本发明实施例提供的同时支持语音业务和数据业务的方法,虽然默认条件下,双卡双待单通手机只能主卡进行数据业务,但是通过副卡进行VoLTE语音业务或WCDMA语音业务时,可以通过副卡的调制解调器来同时传输语音和数据业务,实现了双卡双待单通手机当用主卡进行数据业务再通过副卡接打电话时,将数据业务迁移至副卡,从而能够通过副卡接打电话同时传输数据业务。
在一种可能的实施方式中,该方法还可以包括:终端显示选项界面,选项界面中显示的内容用于指示在通过副卡进行语音业务过程中默认移动数据从主卡切换至副卡。该实施方式可以使用户直观了解到默认移动数据选项发生改变。
可以理解的,选项界面例如可以是基于用户的触发,进入设置界面所显示的选项 界面;也可以是基于用户的触发,进入设置界面来显示双卡管理选项,再进入双卡管理选项所显示的选项界面;也可以理解为基于用户的触发,进入设置界面来显示移动网络设置选项,进入移动网络设置选项所显示的选项界面。其中,选项界面中显示的内容用于指示在通过副卡进行语音业务过程中默认移动数据从主卡切换至所述副卡,可以理解为是一种功能。并不要求选项界面中显示“在通过所述副卡进行语音业务过程中默认移动数据从所述主卡切换至所述副卡”这句话。只要能够起到选项界面中显示内容的作用即可。
在一种可能的实施方式中,该方法还可以包括:终端显示第一提示信息,第一提示信息用于指示在通过副卡进行语音业务过程中默认移动数据从主卡切换至副卡。该实施方式可以使用户直观了解到默认移动数据选项发生改变。
可以理解的,第一提示信息的作用为指示在通过副卡进行语音业务过程中默认移动数据从主卡切换至副卡。并不要求第一提示信息显示“在通过副卡进行语音业务过程中默认移动数据从主卡切换至副卡”这句话。只要能够起到第一提示信息的作用即可。
在一种可能的实施方式中,该方法还可以包括:终端结束通过副卡进行语音业务,终端将副卡进行的数据业务切换到主卡,通过主卡进行数据业务。该实施方式可以保证副卡通话结束后,数据业务自动切换回主卡,保证能够继续使用数据业务。
在一种可能的实施方式中,该方法还可以包括:终端显示选项界面,选项界面中显示的内容用于指示在结束通过副卡进行语音业务之后默认移动数据从副卡切换至主卡。该实施方式可以使用户直观了解到默认移动数据选项发生改变。
可以理解的,选项界面中显示的内容用于指示在结束通过副卡进行语音业务之后默认移动数据从副卡切换至主卡,可以理解为是一种功能。并不要求选项界面中显示“在结束通过副卡进行语音业务之后默认移动数据从副卡切换至主卡”这句话。只要能够起到选项界面中显示内容的作用即可。
可以理解的,选项界面例如可以是基于用户的触发,进入设置界面所显示的选项界面;也可以是基于用户的触发,进入设置界面来显示双卡管理选项,再进入双卡管理选项所显示的选项界面;也可以理解为基于用户的触发,进入设置界面来显示移动网络设置选项,再进入移动网络设置选项所显示的选项界面。
在一种可能的实施方式中,该方法还可以包括:终端显示第二提示信息,第二提示信息用于指示在结束通过副卡进行语音业务之后默认移动数据从副卡切换至主卡。该实施方式可以使用户直观了解到默认移动数据选项发生改变。
可以理解的,第二提示信息的作用为指示在结束通过副卡进行语音业务之后默认移动数据从副卡切换至主卡。并不一定要求第二提示信息显示“在结束通过副卡进行语音业务之后默认移动数据从副卡切换至主卡”这句话。只要能够起到第二提示信息的作用即可。
在一种可能的实施方式中,该方法还可以包括:终端显示选项界面,选项界面中显示的内容用于指示副卡通话时可上网的功能是否打开。该实施方式便于用户控制上述功能的开关。
在一种可能的实施方式中,双卡双待单通为两个卡同时待机联网,只允许单个卡通话。该实施方式提供了双卡双待单通的具体含义。
第二方面,提供了一种终端,终端为双卡双待单通终端,终端支持两个卡,其中一个卡为主卡,另一个卡为副卡,终端包括应用处理器、主卡对应的调制解调器和副卡对应的调制解调器,主卡支持数据业务;副卡支持通过数据业务传输语音业务,或,副卡支持语音业务和数据业务的并发;其中,应用处理器用于:在通过主卡对应的调制解调器进行数据业务的过程中,通过副卡对应的调制解调器进行语音业务;则将通过主卡对应的调制解调器进行的数据业务切换到副卡对应的调制解调器,通过副卡对应的调制解调器进行数据业务。基于同一发明构思,由于该终端解决问题的原理以及有益效果可以参见上述第一方面和第一方面的各可能的方法实施方式以及所带来的有益效果,因此该终端的实施可以参见上述第一方面和第一方面的各可能的方法的实施方式,重复之处不再赘述。
第三方面,提供了一种电子设备,该电子设备包括:显示器、一个或多个处理器、存储器以及一个或多个程序,其中,一个或多个程序存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序包括用于以下操作的指令:当在显示器上显示包含设置图标的用户界面时,响应于第一输入,显示设置选项,其中设置选项包括第一选项;响应于第二输入,显示第一选项界面,第一选项界面包括至少一个区域,至少一个区域显示:默认移动数据选项和副卡通话时可上网选项。
其中,所述副卡支持通过数据业务传输语音业务,或,副卡支持语音业务(例如VoLTE)和数据业务的并发(例如WCDMA)。
在一种可能的实施方式中,第一选项为双卡管理选项,或者,第一选项为移动网络设置选项。
第四方面,提供了一种存储一个或多个程序的计算机存储介质,一个或多个程序包括指令,该指令当被终端执行时,使终端执行第一方面及其任一实施方式所述的方法。
第五方面,提供了一种包含指令的计算机程序产品,当该计算机程序产品在终端上运行时,使终端执行第一方面及其任一实施方式所述的方法。
本发明实施例提供的第三方面至第五方面均用于执行第一方面所提供的对应的方法,因此,其所能达到的有益效果可参考第一方面所提供的对应的方法中的有益效果
附图说明
为了更清楚地说明本申请或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍。
图1为本发明实施例提供的一种手机正面示意图;
图2为本发明实施例提供的一种手机的结构示意图;
图3为本发明实施例提供的一种显示界面的示意图一;
图4为本发明实施例所述的基于Android***的双卡双待单通终端设备的***架构示意图;
图5为本发明实施例提供的一种同时支持语音业务和数据业务的方法的流程示意图一;
图6为本发明实施例提供的终端支持VoLTE或WCDMA的示意图;
图7为本发明实施例提供的一种显示界面的示意图二;
图8为本发明实施例提供的一种显示界面的示意图三;
图9为本发明实施例涉及的通话框架层与RIL各对象之间通信的流程示意图一;
图10为本发明实施例提供的通过副卡拨打电话并进行数据业务的示意图;
图11为本发明实施例提供的一种同时支持语音业务和数据业务的方法的流程示意图二;
图12本发明实施例提供的一种显示界面的示意图四;
图13为本发明实施例涉及的通话框架层与RIL各对象之间通信的流程示意图二;
图14为发明实施例提供的一种终端的结构示意图一;
图15为发明实施例提供的一种终端的结构示意图二;
图16为发明实施例提供的一种终端的结构示意图三。
具体实施方式
本发明实施例中的终端可以为支持双卡双待单通的各种终端设备。双卡双待单通即两张手机卡通过手机底层软件与控制芯片,不断在两张卡的各自网络间切换,由于切换时间非常快,保证了两张SIM卡同时待机联网,但只允许单个卡通话,就是说A卡通话时B卡处于离线状态,B卡通话时A卡处于离线状态,两卡都不通话时两卡同时处于待机模式。其中,该终端可以为可穿戴电子设备(例如智能手表等)、平板电脑、台式电脑、虚拟现实装置、增强现实装置等,也可以是图1或图2所示的手机200,本发明实施例中对终端的具体形式不做特殊限制。以下实施例以手机作为例子来说明终端如何实现实施例中的具体技术方案。如图1或图2所示,本发明实施例中的终端可以为手机200。图1为手机200的正面示意图,图2为手机200的硬件结构示意图。下面以手机200为例对实施例进行具体说明。
应该理解的是,图示手机200仅仅是终端的一个范例,并且手机200可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件。
如图2所示,手机200可以包括:射频(Radio Frequency,RF)电路210、存储器220、输入单元230、显示单元240、传感器250、音频电路260、无线保真(Wireless Fidelity,WiFi)模块270、处理器280、蓝牙模块281、SIM卡模块282、以及电源290等部件。本领域技术人员可以理解,图2中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图2对手机200的各个构成部件进行具体的介绍:
RF电路210可用于在收发信息或通话过程中,信号的接收和发送,可以将基站的下行信息接收后,给处理器280处理;另外,将涉及上行的数据发送给基站。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等器件。此外,RF电路210还可以通过无线通信与网络和其他移动设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯***、通用分组无线服务、码分多址、宽带码分多址、长期演进、电子邮件、短消息服务等。
存储器220可用于存储软件程序及数据。处理器280通过运行存储在存储器220的软件程序和/或数据,从而执行手机200的各种功能以及数据处理。存储器220可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作***、至少一个功能 所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机200的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。在以下实施例中,存储器220存储有使得手机200能运行的操作***,例如苹果公司所开发的
Figure PCTCN2017106175-appb-000001
操作***,谷歌公司所开发的
Figure PCTCN2017106175-appb-000002
开源操作***,微软公司所开发的
Figure PCTCN2017106175-appb-000003
操作***等。
输入单元230(如触摸屏)可用于接收输入的数字或字符信息,以及产生与手机200的用户设置以及功能控制有关的信号输入。具体地,输入单元230可以包括如图1所示设置在手机200正面的触控面板231,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板231上或在触控面板231附近的操作),并根据预先设定的程序驱动相应的连接装置。
显示单元240(即显示屏)可用于显示由用户输入的信息或提供给用户的信息以及手机200的各种菜单的图形用户界面(Graphical User Interface,GUI)。显示单元240可包括设置在手机200正面的显示面板241。其中,显示面板241可以采用液晶显示器、发光二极管等形式来配置。
如图1所示,在一些实施例中,手机200在正面可以设置有触控面板231和显示面板241,触控面板231覆盖在显示面板241之上。当触控面板231检测到在其上或附近的触摸操作后,传送给处理器280以确定触摸事件,随后处理器280根据触摸事件的类型在显示面板241上提供相应的视觉输出。虽然在图2中,触控面板231与显示面板241是作为两个独立的部件来实现手机200的输入和输入功能,但是在某些实施例中,可以将触控面板231与显示面板241集成而实现手机200的输入和输出功能,集成后的触控面板231与显示面板241可以简称为触摸显示屏或显示屏。在本发明实施例中,终端通过显示屏显示界面、消息等。
手机200还可以包括至少一种传感器250,比如光传感器、运动传感器以及其他传感器。手机200还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,具体不再赘述。
音频电路260、扬声器261、麦克风262可提供用户与手机200之间的音频接口。音频电路260可将接收到的音频数据转换后的电信号,传输到扬声器261,由扬声器261转换为声音信号输出;另一方面,麦克风262将收集的声音信号转换为电信号,由音频电路260接收后转换为音频数据,再将音频数据输出至RF电路210以发送给比如另一手机,或者将音频数据输出至存储器220以便进一步处理。
WiFi属于短距离无线传输技术,手机200可以通过WiFi模块270帮助用户收发电子邮件、浏览网页和访问流媒体等,它为用户提供了无线的宽带互联网访问。
处理器280是手机200的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器220内的软件程序,以及调用存储在存储器220内的数据,执行手机200的各种功能和处理数据,从而对手机进行整体监控。在一些实施例中,处理器280可包括一个或多个处理单元;处理器280还可以集成应用处理器和调制解调器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调器主要处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器280 中,调制解调器和应用处理器分开设置。对于双卡双待单通终端来说,调制解调器可以包括与主卡对应的调制解调器以及与副卡对应的调制解调器。
蓝牙模块281,用于通过蓝牙这种短距离通讯协议来与其他设备进行信息交互。例如,手机200可以通过蓝牙模块281与同样具备蓝牙模块的可穿戴电子设备(例如智能手表)建立蓝牙连接,从而进行数据交互。
手机200还包括给各个部件供电的电源290(比如电池)。电源可以通过电源管理***与处理器280逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗等功能。
SIM卡模块282,用于***不同规格的SIM卡,例如Nano SIM、Micro SIM等,本实施例的SIM模块282支持***至少两个SIM卡SIM1和SIM2,对于双卡双待单通来说,其中一个为主卡,另一个为副卡。主卡默认支持数据业务,即终端设置成默认通过其进行数据业务,副卡支持通过数据业务传输语音业务(例如VoLTE)或支持语音业务和数据业务的并发(例如宽带码分多址(Wideband Code Division Multiple Access,WCDMA),为便于描述,本发明实施例以副卡进行VoLTE语音业务或WCDMA语音业务为例进行说明,但不意在限定其仅支持VoLTE语音业务或WCDMA语音业务;本发明实施例所述的数据业务包括移动数据业务。可以理解的,主卡默认支持数据业务,主卡也可以支持语音业务。相应的参照图1中所示,在显示面板241可以显示上述至少两个SIM卡的信号强度和支持的网络制式。需要说明的是,上述SIM卡模块也可以实现为虚拟的SIM卡功能,或者SIM卡模块也可以为软SIM卡。本发明实施例中所述的语音业务包括接打电话、视频通话等业务,数据业务包括但不限于浏览网页、网络游戏、视频缓冲、下载数据、上传数据等业务。参照图3中所示,终端在显示屏上显示包含设置图标的用户界面时,用户可以点击设置图标从而显示设置界面,用户可以在终端的设置界面的设置选项中点击双卡管理选项,从而进入双卡管理选项界面,该选项界面中包括至少一个区域,该至少一个区域中可以显示默认移动数据选项,用户可以在默认移动数据选项中设置默认使用移动数据的SIM卡为主卡(例如卡1),另一SIM卡(例如卡2)为副卡,这样当用户在未通话或通过主卡进行通话时,都可以通过主卡进行数据业务。可以理解的是,用户也可以在默认移动数据选项中设置卡2为默认使用移动数据的主卡,卡1为副卡。另外,图3中所示的“默认移动数据”只是默认使用移动数据的一种说法,也可以叫做“移动数据上网”,或“上网数据”等。上述“默认移动数据”选项也可以不在双卡管理选项界面中显示而是在其他设置界面中显示,本发明实施例不作限定。
图4为本发明实施例所述的基于Android***的双卡双待单通终端设备的***架构示意图。该***架构包括通话应用(Telephony Applications)层401、通话框架(Telephony Framework)层402、无线接口层(Radio Interface Layer,RIL)403、DSDS调制解调器(Modem)404。通话应用层401、通话框架层402和RIL 403运行在应用处理器中,DSDS调制解调器404运行在调制解调器中。其中:
通话应用层401包括通话、短信和/或彩信、联系人等与通信相关的应用,其可以根据不同应用访问通话框架层402提供的服务,例如拨打电话时可以访问通话框架层 402提供的通话接口管理服务。
通话框架层402用于为通话应用层401提供通信相关的API和服务,并且根据通话应用层401所访问的服务向RIL 403发送对应命令,例如对于接收来电场景可以向RIL 403发送接收呼叫命令。通话框架层402提供的服务包括例如通话接口管理服务、电话本服务、短消息服务、用户信息读取服务、消息登记服务等。通话框架层402提供的API用于通话应用层401对通话框架层402所提供的服务进行访问。通话框架层402对于通话针对每个SIM卡实例化一个通话(Phone)对象或线路(Line)对象,对于双卡双待单通终端来说,即实例化两个通话(Phone)对象或线路(Line)对象,分别用于管理主卡或副卡的通话;但是通话框架层402对于数据业务只维护一个数据连接。
RIL403负责将来自通话框架层402的命令转化为调制解调器指令,并发送给DSDS调制解调器404,也可以接收由DSDS调制解调器404反馈的处理结果。RIL403包括RILJ(RIL JAVA)和RILC(RIL CPP或称为RILD),RILJ属于RIL403的Java部分,能够被通话框架层402直接调用,RILC属于RIL403的C/C++部分。RILC与RILJ之间通过套件(Socket)通信,RILC作为Socket的服务端,RILJ作为Socket的客户端,RILC可以通过监听Socket来获取来自通话框架层402的命令(例如接收呼叫命令、拒绝呼叫命令等)。RILC通过串口通信向DSDS调制解调器404发送调制解调器指令。由于RIL403用于与底层调制解调器通信,并且主卡和副卡分别对应不同的调制解调器,所以RIL403包括主卡对应的RIL和副卡对应的RIL,主卡对应的RIL用于管理主卡的通话和数据连接,副卡对应的RIL用于管理主卡的通话和数据连接。
DSDS调制解调器404负责执行调制解调器指令,通过射频天线与网络侧交互,以实现通信业务。对于双卡双待单通终端来说,每个SIM卡对应一个调制解调器。
需要说明的是,本发明实施例虽然以Android***为例进行说明,但是其基本原理同样适用于基于iOS或Windows等操作***的终端。
示例性的,当通过主卡拨打电话时,通话应用层401中的通话应用访问通话框架层401中的通话接口管理服务,在通话框架层401清空非连接状态的通话,如果当前正在通话则将当前通话切换至后台并将其呼叫状态切换为呼叫保持状态,检查电话号码是否合法,如果合法通话框架层401向RIL403中与主卡对应的RIL发送发起呼叫命令,RIL403中与主卡的通话对应的RIL将该命令转换为发起呼叫的调制解调器指令,并且发给DSDS调制解调器404中主卡对应的调制解调器,由DSDS调制解调器404中主卡对应的调制解调器具体执行发起呼叫操作。
示例性的,当通过主卡进行数据业务时,通话应用层401中的网络应用访问通话框架层401中与主卡对应的连接服务,在通话框架层401设置数据连接参数并将数据连接从未激活状态切换为激活状态,通话框架层401向RIL403中与主卡对应的RIL发送建立数据连接命令,RIL403中与主卡对应的RIL将该命令转换为建立数据连接的调制解调器指令,并且发给DSDS调制解调器404中主卡对应的调制解调器,由DSDS调制解调器404中主卡对应的调制解调器具体执行建立数据连接操作。
现有技术中当采用副卡接打电话时,如果采用电路交换(Circuit Switch,CS)域 来传输语音,由于此时CS域独占射频天线,使得副卡的分组交换(Packet Switch,PS)域不能再占用射频天线,因此副卡不能同时支持语音业务和数据业务。本发明实施例提供的方法,在终端通过主卡进行数据业务的过程中,终端通过所述副卡进行语音业务,则终端将主卡进行的数据业务切换到副卡,并通过副卡进行数据业务。具体的,通话框架层402负责清除主卡的数据业务的路由,通话框架层402还负责向RIL403中与副卡对应的RIL发送允许数据连接命令和建立数据连接命令。由于VoLTE语音业务是通过PS域来传输语音,WCDMA支持CS域的语音业务和PS域的数据业务并发,因此均可以通过副卡对应的调制解调器来同时传输语音和数据业务,这样就可以通过副卡实现接打电话的同时传输数据业务。需要说明的是,通过副卡的调制解调器来同时传输语音和数据业务的功能也可以应用在通过副卡进行通话过程中需要传输数据业务的场景,本发明实施例不作限定。
上述功能可以通过开关来控制,参照图3中所示,终端还可以显示一选项界面,该选项界面中显示的内容用于指示副卡通话时可上网的功能是否打开(例如“副卡通话自动切换数据到副卡”开关),用户可以通过设置该开关来控制以下功能是否打开:在通过副卡进行VoLTE语音业务或WCDMA语音业务时,是否将数据业务从主卡切换至副卡。例如,该开关打开时,在通过主卡进行数据业务的过程中,再通过副卡通话,终端自动把主卡上进行的数据业务切换到副卡。需要说明的是,该开关的功能可以默认为打开或关闭,也可以不在显示界面上提供该开关的操作,可以在程序中固化该开关的功能默认为打开或关闭,该开关也可以不与默认移动数据选项在同一界面中显示。“副卡通话自动切换数据到副卡”仅是上述功能的在显示界面上的一种可能表现形式,也可叫做副卡通话可上网等,本发明实施例可以统称为“通话时可上网”。
具体的,本发明实施例提供了一种同时支持语音业务和数据业务的方法,可以应用于上述终端,参照图5中所示,该方法包括S101-S106:
S101、在终端通过主卡进行数据业务的过程中,并且终端的通话应用层触发通过副卡进行语音业务的处理流程,则终端的通话应用层通知通话框架层。
通话应用层的应用可以注册监听响铃事件,当DSDS调制解调器中与副卡对应的调制解调器检测到来电呼叫时,会通过RIL层和通话框架层向通话应用层广播响铃事件,此时用户可以通过通话应用层的来电界面接听或拒接副卡来电。
当用户在通话应用层的拨号界面通过副卡主动拨打电话,或者用户在通话应用层的来电界面接听副卡来电时,通话应用层即触发通过副卡进行VoLTE语音业务或WCDMA语音业务的处理流程。
示例性的,参照图6中所示,为终端支持VoLTE或WCDMA的示意图。主卡601可以是4G LTE,副卡602可以是支持VoLTE的4G LTE,通常用HD表示传输高清语音;或者,副卡603可以是3G WCDMA。
终端的通话应用层通知通话框架层在终端通过主卡进行数据业务时,副卡要进行VoLTE语音业务或WCDMA语音业务。通知通话框架层的方式具体可以是通话应用层访问副卡对应的通话接口管理服务。
S102、如果“副卡通话自动切换数据到副卡”开关打开,终端的通话框架层将主卡进行的数据业务切换到副卡,并指示RIL层中副卡对应的RIL允许副卡进行数据业 务。
具体的,可以通过双卡管理选项界面中,“副卡通话自动切换数据到副卡”开关的开关状态判断该开关是否打开。
可选的,可以在如图7所示的双卡管理选项界面中显示的内容用于指示:在通过副卡进行语音业务过程中,默认移动数据从主卡(例如卡1)切换至副卡(例如卡2)。或者可选的,参照图8中所示,终端可以在显示屏上显示提示信息,该提示信息用于指示在通过副卡进行语音业务过程中,默认移动数据从主卡(例如卡1)切换至副卡(例如卡2)。
可以由终端的通话框架层向RIL层中副卡对应的RIL发送允许进行数据业务的指示(例如将RIL_REQUEST_ALLOW_DATA值置为真(TRUE)),来指示RIL层中副卡对应的RIL允许副卡进行数据业务。
需要说明的是,此时可以不需要终端的通话框架层向RIL层中主卡对应的RIL发送禁止进行数据业务的指示(例如将RIL_REQUEST_ALLOW_DATA值置为假(FALSE)),来指示RIL层中主卡对应的RIL禁止主卡进行数据业务。原因在于副卡此时占用了射频资源,无法通过RIL将该指示下发给DSDS调制解调器,因此通话框架层可以不发送该指示,并在发送该指示的函数中直接返回发送成功。
基于Android 8.0版本,图9为本发明实施例涉及的通话框架层与RIL各对象之间通信的流程示意图。其中,GsmCdmaCallTracker对象用于提供GSM模式和CDMA模式的呼叫(CALL)管理,InCallDataStateMachine对象用于提供呼叫状态的状态机管理,SubscriptionController对象用于获取SIM卡信息,PhoneSwitcher对象用于监听数据的变化,TelephonyNetworkFactory用于监听数据的切换,DcTracker对象用于负责通话框架层中管理数据业务的连接、断开等,DataConnection对象同样负责通话框架层中管理数据业务的连接、断开等。除了前文所述的RILJ和RILD属于RIL以外,其余各对象均位于通话框架层。具体通信过程参照图9中的过程一和过程二:
过程一、GsmCdmaCallTracker对象调用call_start()函数以触发通过副卡进行语音业务,InCallDataStateMachine对象调用setDefaultDataSubid()函数以配置默认移动数据从主卡切换到副卡,SubscriptionController对象广播ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE指示以指示设置默认移动数据从主卡切换到副卡,PhoneSwitcher对象接收该广播后调用onEvaluate()函数对副卡是否满足数据业务条件进行评估,PhoneSwitcher对象调用deactive()函数以去激活主卡的数据业务,PhoneSwitcher对象调用IsSwitchingToSlave()函数以指示完成了配置默认移动数据从主卡切换到副卡。该过程实现了配置默认移动数据从主卡切换到副卡。
过程二、PhoneSwitcher对象调用active()函数以激活副卡的数据业务,PhoneSwitcher对象调用setDataAllowed(true)函数以允许副卡进行数据业务,DcTracker对象调用setDataAllowed(true)函数以允许副卡进行数据业务,副卡对应的RILJ客户端向副卡对应的RIL服务器发送值为真(TRUE)的RIL_REQUEST_ALLOW_DATA指示,来指示RIL层中副卡对应的RIL允许副卡进行数据业务。该过程实现了通话框架层指示RIL层中副卡对应的RIL允许副卡进行数据业务。
S103、RIL层中副卡对应的RIL指示终端的DSDS调制解调器中与副卡对应的调 制解调器允许副卡进行数据业务。
具体的,RIL层中副卡对应的RIL向DSDS调制解调器中与副卡对应的调制解调器发送允许副卡进行数据业务的调制解调器指令。
S104、终端的通话框架层去激活主卡的数据业务,清除主卡的数据业务的路由,并通知使用数据业务的上层应用与主卡的数据连接断开。
通常去激活主卡的数据业务通过通话框架层的DcTracker对象向主卡的RIL发送去激活数据业务的指示例如RIL_REQUEST_DEACTIVE_DATA_CALL来实现,但是由于副卡此时占用了射频资源,无法通过RIL将该指示下发给DSDS调制解调器,因此可以直接由DcTracker对象执行去激活主卡的数据业务,通话框架层可以不发送该指示并在发送该指示的函数中直接返回发送成功。
可以在通话框架层的数据连接(DataConnection)对象中新建清除路由(例如clearLink)的方法来清除主卡的数据业务的路由。数据业务的路由存储于通话框架层中。
所有使用数据业务的上层应用(包括通话应用层中的应用和其他应用,例如微信等)均可以注册监听数据连接状态,如果数据连接状态发生改变,则可以通过广播方式通知注册监听数据连接状态的上层应用。
具体通信过程参照图9中过程三:
过程三、TelephonyNetworkFactory对象接收到由SubscriptionController对象广播ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE指示以后,调用onDefaultChange()函数来对移动数据切换进行处理,TelephonyNetworkFactory对象调用IsSwitchingToSlave()函数以指示完成默认移动数据从主卡切换到副卡,TelephonyNetworkFactory对象调用clearDefaultLink()函数以清除主卡的数据业务的路由,DcTracker对象调用新建的clearLink()函数以清除主卡的数据业务的路由。
S105、终端的通话框架层指示RIL层中副卡对应的RIL发起数据业务。
具体的,可以由终端的通话框架层向副卡的RIL发送发起数据业务的指示(例如RIL_REQUEST_SETUP_DATA_CALL)以发起数据业务。
具体的参照图9中过程四所示:
过程四、TelephonyNetworkFactory对象接收到由SubscriptionController对象广播ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE指示以后,调用requestNetwork()函数以请求建立副卡的数据连接,DcTracker对象向DataConnection对象发送EVENT_CONNECT指示以指示发生建立数据连接事件,DataConnection对象调用setupDataCall()函数以指示建立数据连接,RILJ客户端向RILD服务端发送RIL_REQUEST_SETUP_DATA_CALL指示以指示建立数据连接并发起数据业务。
S106、终端的RIL层中副卡对应的RIL指示终端的DSDS调制解调器中与副卡对应的调制解调器发起数据业务。
具体的,RIL层中副卡对应的RIL向DSDS调制解调器中与副卡对应的调制解调器发送允许建立数据连接的调制解调器指令。
下面举例说明经过上述步骤后,可以实现通过副卡接打电话同时传输数据业务。示例性的,以副卡支持VoLTE语音业务为例,图10A示出了用户正通过主卡观看视 频;图10B示出了此时副卡有VoLTE来电,则通过副卡进行VoLTE语音业务;图10C示出了在通过副卡进行通话同时可以继续观看视频。
本发明实施例提供的同时支持语音业务和数据业务的方法,虽然默认条件下,双卡双待单通手机只能主卡进行数据业务,但是通过副卡进行VoLTE语音业务或WCDMA语音业务时,可以通过副卡的调制解调器来同时传输语音和数据业务,实现了双卡双待单通手机当用主卡进行数据业务再通过副卡接打电话时,将数据业务迁移至副卡,从而能够通过副卡接打电话同时传输数据业务。
在终端通过副卡同时进行数据业务和语音业务的过程中,终端结束通过副卡进行语音业务,则终端将副卡进行的数据业务切换到主卡,通过主卡进行数据业务,保证能够继续传输数据业务。可选的,参照图11中所示,该方法还可以包括步骤S201-S206:
S201、在终端通过副卡同时进行数据业务和语音业务的过程中,终端结束通过副卡进行语音业务,则终端的通话应用层触发结束通过副卡进行语音业务的处理流程,并通知给通话框架层。
通话应用层的应用可以注册监听通话状态改变事件,当DSDS调制解调器中与副卡对应的调制解调器检测到对方挂断通话时,会通过RIL层和通话框架层向通话应用层广播通话状态改变事件,通话应用层会向DSDS调制解调器主动获取通话状态改变原因,通话状态改变原因可以为正常挂断。
当用户在通话应用层的通话界面主动挂断副卡的通话,或者通话应用层获取通话状态改变原因为正常挂断时,通话应用层即触发结束通过副卡进行VoLTE语音业务或WCDMA语音业务的处理流程。
S202、终端的通话框架层将默认移动数据从副卡切换至主卡,并指示RIL层中副卡对应的RIL禁止副卡进行数据业务。
具体的,可以由终端的通话框架层向副卡的RIL发送禁止进行数据业务的指示(例如将RIL_REQUEST_ALLOW_DATA值置为假(FALSE)),来指示RIL层中副卡对应的RIL禁止副卡进行数据业务。
可选的,可以在如图3所示的双卡管理选项界面中显示的内容用于指示:在结束通过副卡进行语音业务之后默认移动数据从副卡切换至主卡。或者可选的,参照图12中所示,终端可以在显示屏上显示提示信息,该提示信息用于指示在结束通过副卡进行语音业务之后默认移动数据从副卡切换至主卡。
图13为本发明实施例涉及的通话框架层与RIL之间通信的另一流程示意图。本步骤具体参照图13中的过程五和过程六:
过程五、GsmCdmaCallTracker对象调用call_end()函数以触发结束通过副卡进行语音业务,InCallDataStateMachine对象调用setDefaultDataSubid()函数以设置默认移动数据从副卡切换到主卡,SubscriptionController对象广播ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE指示以指示默认移动数据从副卡切换到主卡,PhoneSwitcher对象接收该广播后调用onEvaluate()函数对主卡是否满足数据业务条件进行评估,PhoneSwitcher对象调用deactive()函数以去激活副卡的数据业务,PhoneSwitcher对象调用setDataAllowed(false)函数以禁止副卡进行数据业务, DcTracker对象调用setDataAllowed(false)函数以禁止副卡进行数据业务,副卡对应的RILJ客户端向副卡对应的RIL服务器发送值为假(FALSE)的RIL_REQUEST_ALLOW_DATA指示,来指示RIL层中副卡对应的RIL禁止副卡进行数据业务。
过程六、PhoneSwitcher对象调用active()函数以激活主卡的数据业务。与图9中所示的过程二区别在于,由于在将数据业务从主卡切换至副卡时并未禁止主卡进行数据业务,因此在响应数据业务从副卡切换回主卡的处理函数(例如onDefaultChange)中不需要重新向主卡的RIL发送允许进行数据业务的指示(例如不需要发送值为真(TRUE)的RIL_REQUEST_ALLOW_DATA)。并且由于是重新激活主卡的数据业务,终端的通话框架层不需要向主卡的RIL发送发起数据业务的指示(例如不需要发送RIL_REQUEST_SETUP_DATA_CALL)以发起数据业务。
S203、RIL层中副卡对应的RIL指示终端的DSDS调制解调器中与副卡对应的调制解调器禁止副卡进行数据业务。
具体的,RIL层中副卡对应的RIL向DSDS调制解调器中与副卡对应的调制解调器发送禁止副卡进行数据业务的调制解调器指令。
S204、终端的通话框架层指示RIL层中副卡对应的RIL去激活副卡的数据业务。
具体的,可以通过终端的通话框架层向RIL层中副卡对应的RIL发送去激活数据业务的指示(例如RIL_REQUEST_DEACTIVE_DATA_CALL)以去激活副卡的数据业务。
具体的参照图13中过程七所示:
过程七、TelephonyNetworkFactory对象接收到由SubscriptionController对象广播ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE指示以后,调用releaseNetwork()函数以请求释放副卡的数据连接,DcTracker对象向DataConnection对象发送EVENT_DISCONNECT指示以指示发生释放数据连接事件,DataConnection对象调用deactiveDataCall()函数以指示去激活数据业务,RILJ客户端向RILD服务端发送RIL_REQUEST_DEACTIVE_DATA_CALL指示以指示去激活数据连接并去激活数据业务。
同时,终端的通话框架层也会清除副卡的数据业务的路由。具体的,如步骤S104所述的DcTracker对象向DataConnection对象发送新建的clearLink()函数以清除副卡的数据业务的路由。
S205、终端的RIL层中副卡对应的RIL指示终端的DSDS调制解调器中与副卡对应的调制解调器去激活副卡的数据业务。
具体的,RIL层中副卡对应的RIL向DSDS调制解调器中与副卡对应的调制解调器发送去激活数据业务的调制解调器指令。
S206、终端的通话框架层通过主卡恢复数据业务,并通知使用数据业务的上层应用主卡的数据连接恢复。
具体的参照图13中过程八所示:
过程八、TelephonyNetworkFactory对象接收到由SubscriptionController对象广播ACTION_DEFAULT_DATA_SUBSCRIPTION_CHANGE指示以后,调用 onDefaultChange()函数来对数据切换进行处理,TelephonyNetworkFactory对象向InCallDataStateMachine对象直接调用IsDeactivingSlaveData()函数以指示去激活副卡的数据业务,InCallDataStateMachine对象调用resumeDefaultLink()函数以恢复主卡的数据连接,TelephonyNetworkFactory对象调用resumeDefaultLink()函数以恢复主卡的数据连接,DcTracker对象调用resumeLink()函数以恢复主卡的数据连接,DataConnection对象还负责恢复主卡的数据路由。
另外,DataConnection对象判断是主卡重新激活数据,因此不向RILJ客户端发送RLS_REQUEST_SETUP_DATA_CALL以发起数据业务。
该实施方式可以保证副卡通话结束后,数据业务自动切换回主卡,保证能够继续使用数据业务。
本发明实施例提供一种终端,用于执行上述方法。本发明实施例可以根据上述方法示例对终端设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本发明实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
在采用对应各个功能划分各个功能模块的情况下,图14示出了上述实施例中所涉及的终端的一种可能的结构示意图,终端200包括:通话应用层2011、通话框架层2012、RIL 2013。通话应用层2011用于支持终端200执行图5中的过程S101,图11中的过程S201;通话框架层2012用于支持终端200执行图5中的过程S102、S104、S105,图11中的过程S202、S204、S206,图9和图13中GsmCdmaCallTracker对象、InCallDataStateMachine对象、SubscriptionController对象、PhoneSwitcher对象、TelephonyNetworkFactory对象、DcTracker对象、DataConnection对象的功能;RIL 2013用于支持终端200执行图5中的过程S103、S106,图11中的过程S203、S205,图9和图13中RILJ客户端和RILD服务端的功能。其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在采用集成的单元的情况下,图15示出了上述实施例中所涉及的终端的一种可能的结构示意图。终端200包括:处理模块2022和通信模块2023。处理模块2022用于对终端200的动作进行控制管理,例如,处理模块2022用于支持终端200执行上述通话应用层2011、通话框架层2012、RIL 2013的功能。通信模块2023用于支持终端与其他设备的通信。终端200还可以包括存储模块2021,用于存储终端的程序代码和数据。
其中,处理模块2022可以是处理器或控制器,例如可以是中央处理器(Central processing unit,CPU)、通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application-Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明实施例公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含 一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块2023可以是收发器、收发电路、网络接口或通信接口等。存储模块2021可以是存储器。
具体的,处理模块2022可以为图2中的处理器280,通信模块2023可以为图2中的RF电路210、WiFi模块270、蓝牙模块281,存储模块2021可以为图2中的存储器220。
当处理模块2022为应用处理器和调制解调器,通信模块2023为RF电路,存储模块2021为存储器时,本发明实施例所涉及的终端可以为图16所示的终端200。
参照图16所示,该终端200包括:存储器2031、应用处理器2032、RF电路2033、主卡对应的调制解调器2034、副卡对应的调制解调器2035、总线2036。其中,存储器2031、应用处理器2032、RF电路2033、主卡对应的调制解调器2034和副卡对应的调制解调器2035通过总线2036相互连接;总线2036可以是外设部件互连标准总线或扩展工业标准结构总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。存储器2031中存储有一个或多个程序,所述一个或多个程序包括指令,上述指令当被终端执行时使终端执行图5、图9、图11和图13中任一附图中的相关方法。
进一步的,由于所述通话应用层、通话框架层和RIL运行在应用处理器2032中。因此,应用处理器2032可以执行上述指令以实现图5、图9、图11和图13中通话应用层、通话框架层和RIL所执行的方法,例如应用处理器2032可以用于在通过主卡对应的调制解调器2034进行数据业务的过程中,通过副卡对应的调制解调器2035进行语音业务;则将通过主卡对应的调制解调器2034进行的数据业务切换到副卡对应的调制解调器2035,通过副卡对应的调制解调器2035进行数据业务。
可选的,参照图16所示,该终端200还可以包括:显示屏2037,显示屏2037同样通过总线2036与其他器件相互连接。
可选的,应用处理器2032还用于控制显示屏2037显示选项界面,选项界面中显示的内容用于指示在通过副卡对应的调制解调器2035进行语音业务过程中默认移动数据从主卡切换至所述副卡。
可选的,应用处理器2032还用于控制显示屏2037显示第一提示信息,第一提示信息用于指示在通过副卡对应的调制解调器2035进行语音业务过程中默认移动数据从主卡切换至副卡。
可选的,应用处理器2032还用于:结束通过副卡对应的调制解调器2035进行语音业务,将通过副卡对应的调制解调器2035进行的数据业务切换到主卡对应的调制解调器2034,通过主卡对应的调制解调器2034进行数据业务。
可选的,应用处理器2032还用于控制显示屏2037显示选项界面,选项界面中显示的内容用于指示在结束通过副卡对应的调制解调器2035进行语音业务之后默认移动数据从副卡切换至主卡。
可选的,应用处理器2032还用于控制显示屏2037显示第二提示信息,第二提示信息用于指示在结束通过副卡对应的调制解调器2035进行语音业务之后默认移动数据从副卡切换至主卡。
可选的,应用处理器2032还用于控制显示屏2037显示选项界面,选项界面中显 示的内容用于指示副卡通话时可上网的功能是否打开。
本发明实施例还提供一种电子设备,该电子设备包括:显示器、一个或多个处理器、存储器以及一个或多个程序,其中,一个或多个程序存储在存储器中并被配置为由一个或多个处理器执行,一个或多个程序包括用于以下操作的指令:当在显示器上显示设置图标的用户界面时,响应于第一输入,显示设置选项,其中设置选项包括第一选项;响应于第二输入,显示第一选项界面,第一选项界面包括至少一个区域,至少一个区域显示:默认移动数据选项和副卡通话时可上网选项。其中,第一选项可以为双卡管理选项,或者,第一选项可以为移动网络设置选项。
本发明实施例还提供一种存储一个或多个程序的计算机存储介质,一个或多个程序包括指令,该指令当被终端执行时,使终端执行图5、图9、图11和图13中任一附图中的相关方法。
本发明实施例还提供了一种包含指令的计算机程序产品,当该计算机程序产品在终端上运行时,使得终端执行图5、图9、图11和图13中任一附图中的相关方法。
其中,本发明实施例提供的终端、电子设备、计算机存储介质或者计算机程序产品均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,具体不再赘述。
在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元可以采用硬件的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何在本发明揭露的技术范围内的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。

Claims (18)

  1. 一种同时支持语音业务和数据业务的方法,应用于双卡双待单通终端,所述终端支持两个卡,其中一个卡为主卡,另一个卡为副卡,其特征在于,所述主卡支持数据业务;所述副卡支持通过数据业务传输语音业务,或,所述副卡支持语音业务和数据业务的并发;所述方法包括:
    在所述终端通过所述主卡进行数据业务的过程中,所述终端通过所述副卡进行语音业务,则所述终端将所述主卡进行的数据业务切换到所述副卡,并通过所述副卡进行数据业务。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述终端显示选项界面,所述选项界面中显示的内容用于指示在通过所述副卡进行语音业务过程中默认移动数据从所述主卡切换至所述副卡。
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:
    所述终端显示第一提示信息,所述第一提示信息用于指示在通过所述副卡进行语音业务过程中默认移动数据从所述主卡切换至所述副卡。
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:
    所述终端结束通过所述副卡进行语音业务,所述终端将所述副卡进行的数据业务切换到所述主卡,通过所述主卡进行数据业务。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    所述终端显示选项界面,所述选项界面中显示的内容用于指示在结束通过所述副卡进行语音业务之后默认移动数据从所述副卡切换至所述主卡。
  6. 根据权利要求4或5所述的方法,其特征在于,所述方法还包括:
    所述终端显示第二提示信息,所述第二提示信息用于指示在结束通过所述副卡进行语音业务之后默认移动数据从所述副卡切换至所述主卡。
  7. 根据权利要求1-6任一项所述的方法,其特征在于,所述方法还包括:
    所述终端显示选项界面,所述选项界面中显示的内容用于指示副卡通话时可上网的功能是否打开。
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述双卡双待单通为两个卡同时待机联网,只允许单个卡通话。
  9. 一种终端,所述终端为双卡双待单通终端,所述终端支持两个卡,其中一个卡为主卡,另一个卡为副卡,所述终端包括应用处理器、主卡对应的调制解调器和副卡对应的调制解调器,其特征在于,所述主卡支持数据业务;所述副卡支持通过数据业务传输语音业务,或,所述副卡支持语音业务和数据业务的并发;其中,所述应用处理器用于:
    在通过所述主卡对应的调制解调器进行数据业务的过程中,通过所述副卡对应的调制解调器进行语音业务;
    则将通过所述主卡对应的调制解调器进行的数据业务切换到所述副卡对应的调制解调器,通过所述副卡对应的调制解调器进行数据业务。
  10. 根据权利要求9所述的终端,其特征在于,所述终端还包括显示屏,
    所述应用处理器还用于控制所述显示屏显示选项界面,所述选项界面中显示的内容用于指示在通过所述副卡对应的调制解调器进行语音业务过程中默认移动数据从所述主卡切换至所述副卡。
  11. 根据权利要求9或10所述的终端,其特征在于,所述终端还包括显示屏,
    所述应用处理器还用于控制所述显示屏显示第一提示信息,所述第一提示信息用于指示在通过所述副卡对应的调制解调器进行语音业务过程中默认移动数据从所述主卡切换至所述副卡。
  12. 根据权利要求9-11任一项所述的终端,其特征在于,所述应用处理器还用于:
    结束通过所述副卡对应的调制解调器进行语音业务,将通过所述副卡对应的调制解调器进行的数据业务切换到所述主卡对应的调制解调器,通过所述主卡对应的调制解调器进行数据业务。
  13. 根据权利要求12所述的终端,其特征在于,所述终端还包括显示屏,
    所述应用处理器还用于控制所述显示屏显示选项界面,所述选项界面中显示的内容用于指示在结束通过所述副卡对应的调制解调器进行语音业务之后默认移动数据从所述副卡切换至所述主卡。
  14. 根据权利要求12或13所述的终端,其特征在于,所述终端还包括显示屏,
    所述应用处理器还用于控制所述显示屏显示第二提示信息,所述第二提示信息用于指示在结束通过所述副卡对应的调制解调器进行语音业务之后默认移动数据从所述副卡切换至所述主卡。
  15. 根据权利要求9-14任一项所述的终端,其特征在于,所述终端还包括显示屏,
    所述应用处理器还用于控制所述显示屏显示选项界面,所述选项界面中显示的内容用于指示副卡通话时可上网的功能是否打开。
  16. 根据权利要求9-15任一项所述的终端,其特征在于,所述双卡双待单通为两个卡同时待机联网,只允许单个卡通话。
  17. 一种电子设备,其特征在于,包括:显示器、一个或多个处理器、存储器以及一个或多个程序,其中,所述一个或多个程序存储在所述存储器中并被配置为由所述一个或多个处理器执行,所述一个或多个程序包括用于以下操作的指令:
    当在所述显示器上显示包含设置图标的用户界面时,响应于第一输入,显示所述设置选项,其中所述设置选项包括第一选项;
    响应于第二输入,显示所述第一选项界面,所述第一选项界面包括至少一个区域,所述至少一个区域显示:默认移动数据选项和副卡通话时可上网选项。
  18. 根据权利要求17所述的电子设备,其特征在于,所述第一选项为双卡管理选项,或者,所述第一选项为移动网络设置选项。
PCT/CN2017/106175 2017-10-09 2017-10-13 同时支持语音业务和数据业务的方法和终端 WO2019071612A1 (zh)

Priority Applications (10)

Application Number Priority Date Filing Date Title
CN202210673484.0A CN115022473A (zh) 2017-10-09 2017-10-13 同时支持语音业务和数据业务的方法和终端
CN202210673315.7A CN115277960A (zh) 2017-10-09 2017-10-13 同时支持语音业务和数据业务的方法和终端
ES17928502T ES2942676T3 (es) 2017-10-09 2017-10-13 Método y terminal para admitir servicio de voz y servicio de datos simultáneamente
CN201780066018.3A CN109891933B (zh) 2017-10-09 2017-10-13 同时支持语音业务和数据业务的方法和终端
AU2017435229A AU2017435229B2 (en) 2017-10-09 2017-10-13 Method for supporting both voice service and data service and terminal
US16/754,474 US11463588B2 (en) 2017-10-09 2017-10-13 Method and terminal for supporting voice service and data service simultaneously
EP23163211.8A EP4236463A3 (en) 2017-10-09 2017-10-13 Method for supporting both voice service and data service and terminal
EP17928502.8A EP3672328B1 (en) 2017-10-09 2017-10-13 Method for supporting both voice service and data service and terminal
AU2022200023A AU2022200023B9 (en) 2017-10-09 2022-01-05 Method and terminal for supporting voice service and data service simultaneously
US17/875,040 US11843721B2 (en) 2017-10-09 2022-07-27 Method and terminal for supporting voice service and data service simultaneously

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710931792 2017-10-09
CN201710931792.8 2017-10-09

Related Child Applications (2)

Application Number Title Priority Date Filing Date
US16/754,474 A-371-Of-International US11463588B2 (en) 2017-10-09 2017-10-13 Method and terminal for supporting voice service and data service simultaneously
US17/875,040 Continuation US11843721B2 (en) 2017-10-09 2022-07-27 Method and terminal for supporting voice service and data service simultaneously

Publications (1)

Publication Number Publication Date
WO2019071612A1 true WO2019071612A1 (zh) 2019-04-18

Family

ID=66101180

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106175 WO2019071612A1 (zh) 2017-10-09 2017-10-13 同时支持语音业务和数据业务的方法和终端

Country Status (6)

Country Link
US (2) US11463588B2 (zh)
EP (2) EP3672328B1 (zh)
CN (3) CN115277960A (zh)
AU (2) AU2017435229B2 (zh)
ES (1) ES2942676T3 (zh)
WO (1) WO2019071612A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294785A (zh) * 2019-05-28 2020-06-16 展讯通信(上海)有限公司 数据卡切换方法及智能终端、可读存储介质
CN111294884A (zh) * 2020-02-25 2020-06-16 青岛海信移动通信技术股份有限公司 支持双卡双待单通的通信终端及数据服务切换方法
CN112312494A (zh) * 2019-07-25 2021-02-02 华为技术有限公司 通信方法及终端设备

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020152B (zh) * 2018-03-27 2021-08-03 华为技术有限公司 一种数据处理方法及终端设备
EP3970415A1 (en) * 2019-05-16 2022-03-23 Google LLC Dynamic voice and data mode selection
CN112218368B (zh) * 2019-07-12 2022-02-11 华为技术有限公司 一种通信方法及装置
WO2021101449A1 (en) * 2019-11-23 2021-05-27 Creative Technology Ltd System and method for transmitting data over a digital interface
CN111491290B (zh) * 2020-04-14 2021-06-29 深圳市沃特沃德股份有限公司 网络语音与ps域数据并行传输的方法、装置和计算机设备
CN111918270B (zh) * 2020-07-31 2023-02-17 展讯通信(上海)有限公司 通信卡切换处理方法和装置
CN112054933B (zh) * 2020-09-11 2023-02-24 北京字节跳动网络技术有限公司 网络中断信息处理方法、装置、终端及存储介质
CN112312509A (zh) * 2020-11-20 2021-02-02 青岛海信移动通信技术股份有限公司 移动终端及其网络接入方法
CN112969207B (zh) * 2021-02-23 2022-12-27 Oppo广东移动通信有限公司 默认数据主卡的切换方法及装置、电子设备、存储介质
CN115134931A (zh) * 2021-03-26 2022-09-30 中国联合网络通信集团有限公司 双卡数据业务实现方法和双卡双待终端
EP4265002A4 (en) * 2021-04-30 2024-06-19 Samsung Electronics Co., Ltd. METHOD AND EU FOR 5G DATA SESSION SWITCHING
CN116828635A (zh) * 2021-08-19 2023-09-29 荣耀终端有限公司 业务处理方法和装置
CN113660653B (zh) * 2021-08-30 2023-08-18 联想(北京)有限公司 一种传输方法、装置及电子设备
CN113766484A (zh) * 2021-09-07 2021-12-07 北京小米移动软件有限公司 通信方法、装置、存储介质及电子设备
WO2023115303A1 (en) * 2021-12-21 2023-06-29 Qualcomm Incorporated Voice callback feature for device with multiple subscriber identity modules
WO2023220944A1 (zh) * 2022-05-17 2023-11-23 北京小米移动软件有限公司 建立数据服务的方法、装置、终端、电子设备及存储介质
CN117693075A (zh) * 2023-05-15 2024-03-12 荣耀终端有限公司 一种sim卡切换方法及相关设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140213321A1 (en) * 2011-09-01 2014-07-31 Nokia Corporation Providing subsciber identity module function
CN103987099A (zh) * 2014-05-15 2014-08-13 宇龙计算机通信科技(深圳)有限公司 多卡多待终端的语音通话方法及***
CN105532027A (zh) * 2013-09-30 2016-04-27 高通股份有限公司 用于双sim双待(dsds)无线装置的同时语音和数据
CN106131815A (zh) * 2016-06-22 2016-11-16 努比亚技术有限公司 移动终端和实现数据业务切换的方法

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2487275B (en) * 2011-12-20 2013-01-02 Renesas Mobile Corp Modem and method of operating a wireless device
CN103517454A (zh) * 2012-06-27 2014-01-15 联发科技股份有限公司 增强信令连接释放指示处理方法
US9338805B2 (en) * 2012-11-16 2016-05-10 Mediatek, Inc. Method and apparatus for standby with a dual-standby modem and establishing single connection for one subscriber identity card
US9313709B2 (en) * 2013-11-15 2016-04-12 Mediatek Inc. Methods for call management with multiple subscriber identity cards and apparatuses using the same
US9402241B2 (en) * 2014-03-27 2016-07-26 Google Technology Holdings LLC Method and apparatus for data stream registration switching
US9167592B1 (en) * 2014-05-22 2015-10-20 Qualcomm Incorporated Signaling radio bearer timer for dual-sim dual-active user equipment transmitter sharing
US10412591B2 (en) * 2014-07-25 2019-09-10 Apple Inc. Simultaneous VoLTE and 2G/3G/LTE data in dual SIM configuration
US9407771B2 (en) * 2014-08-06 2016-08-02 Qualcomm Incorporated Call forwarding enable system and method for multi-SIM device
US20170280380A1 (en) * 2016-03-24 2017-09-28 Qualcomm Incorporated Method to dynamically switch data subscription in volte + gsm dual sim dual standby device
CN106130618A (zh) 2016-08-11 2016-11-16 华为技术有限公司 用在终端设备中的天线切换方法和装置、以及终端设备
CN106231587B (zh) * 2016-09-26 2019-11-15 努比亚技术有限公司 移动终端的数据业务切换方法与切换装置
KR102381345B1 (ko) * 2017-08-23 2022-03-31 삼성전자주식회사 복수의 무선 네트워크들에 대한 엑세스를 관리하는 무선 통신 장치 및 이의 관리 방법

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140213321A1 (en) * 2011-09-01 2014-07-31 Nokia Corporation Providing subsciber identity module function
CN105532027A (zh) * 2013-09-30 2016-04-27 高通股份有限公司 用于双sim双待(dsds)无线装置的同时语音和数据
CN103987099A (zh) * 2014-05-15 2014-08-13 宇龙计算机通信科技(深圳)有限公司 多卡多待终端的语音通话方法及***
CN106131815A (zh) * 2016-06-22 2016-11-16 努比亚技术有限公司 移动终端和实现数据业务切换的方法

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111294785A (zh) * 2019-05-28 2020-06-16 展讯通信(上海)有限公司 数据卡切换方法及智能终端、可读存储介质
CN112312494A (zh) * 2019-07-25 2021-02-02 华为技术有限公司 通信方法及终端设备
CN111294884A (zh) * 2020-02-25 2020-06-16 青岛海信移动通信技术股份有限公司 支持双卡双待单通的通信终端及数据服务切换方法

Also Published As

Publication number Publication date
CN115277960A (zh) 2022-11-01
AU2022200023B2 (en) 2023-06-29
AU2022200023B9 (en) 2023-07-13
EP3672328B1 (en) 2023-03-22
EP3672328A4 (en) 2020-11-11
AU2017435229B2 (en) 2021-10-07
CN109891933A (zh) 2019-06-14
EP4236463A2 (en) 2023-08-30
AU2022200023A1 (en) 2022-02-03
EP3672328A1 (en) 2020-06-24
CN109891933B (zh) 2022-06-14
EP4236463A3 (en) 2023-10-18
US11843721B2 (en) 2023-12-12
US20230054710A1 (en) 2023-02-23
US20200389558A1 (en) 2020-12-10
AU2017435229A1 (en) 2020-04-02
CN115022473A (zh) 2022-09-06
ES2942676T3 (es) 2023-06-05
US11463588B2 (en) 2022-10-04

Similar Documents

Publication Publication Date Title
US11843721B2 (en) Method and terminal for supporting voice service and data service simultaneously
US11240874B2 (en) Data transmission method and device
JP6888113B2 (ja) デュアルsimデュアルアクティブを実装するための通信方法および端末
WO2021190166A1 (zh) 一种网络切片确定方法和相关装置
CN106030556B (zh) 操作电子装置的功能和资源的方法
WO2019024604A1 (zh) 一种应用与网络切片的关联方法、装置和通信***
WO2020147460A1 (zh) 基于服务的通信方法、单元、***和存储介质
WO2018120239A1 (zh) 一种网络通信方法和终端
US20200228578A1 (en) Call Setup Method and Apparatus
CN115190197B (zh) 基于蓝牙耳机的通话方法、装置及存储介质
WO2023060988A1 (zh) 通信异常时的重建方法、终端设备及存储介质
WO2020103089A1 (zh) 一种双卡的通信方法及相关产品
JP2021521739A (ja) Rrc接続再確立のベアラ設定方法、端末及びネットワーク機器
JP2021521737A (ja) アクセス制御方法、メッセージ放送方法及び関連装置
WO2023169434A1 (zh) 通信方法和装置
WO2019144768A1 (zh) 一种网络注册模式切换的方法及终端
WO2022193798A1 (zh) 针对独立组网弱覆盖的方法、终端设备及存储介质
KR102596801B1 (ko) Pc5 링크 확립 방법, 장비 및 시스템
US9965341B2 (en) Method and device for exchanging data between processes
CN115396408B (zh) 一种无线音频/视频装置和无线通信方法
WO2022252716A1 (zh) 获取定时器参数的方法、终端设备及存储介质
CN108476465B (zh) 一种电路域回落csfb网络保持方法及用户终端
JP6754862B2 (ja) 端末とネットワークデバイスとの間の相互作用のための方法及び端末
WO2020001450A1 (zh) 省电管理方法、图形用户界面以及终端
WO2022206831A1 (zh) 通信方式确定方法、装置及相关设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17928502

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2017928502

Country of ref document: EP

Effective date: 20200319

ENP Entry into the national phase

Ref document number: 2017435229

Country of ref document: AU

Date of ref document: 20171013

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE