CN116193419A - Communication method, device and equipment - Google Patents

Communication method, device and equipment Download PDF

Info

Publication number
CN116193419A
CN116193419A CN202310123035.3A CN202310123035A CN116193419A CN 116193419 A CN116193419 A CN 116193419A CN 202310123035 A CN202310123035 A CN 202310123035A CN 116193419 A CN116193419 A CN 116193419A
Authority
CN
China
Prior art keywords
sim card
card
mode
dual
sim
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310123035.3A
Other languages
Chinese (zh)
Inventor
朱岳军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310123035.3A priority Critical patent/CN116193419A/en
Publication of CN116193419A publication Critical patent/CN116193419A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application discloses a call method, a call device and call equipment, and belongs to the technical field of communication. The communication method comprises the following steps: determining a double-card mode according to the cell frequency bands of the first SIM card and the second SIM card; and under the condition that the communication is carried out through the first SIM card and the double-card mode is the double-card double-standby DSDS mode, switching the communication data of the second SIM card from the second SIM card to the first SIM card.

Description

Communication method, device and equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a communication method, a communication device and communication equipment.
Background
The dual card dual pass (Dua l S I M Dua l Act I ve, DSDA) mode refers to the simultaneous telephone call by two subscriber identity module (Subscr I ber I dent I f I cat I on Modu l e, sim) cards that the electronic device can install.
However, each sim card only supports a part of the frequency bands, and does not support all the frequency bands, so that the electronic device cannot support all the frequency band combinations. When the electronic device is performing a cell switch, it is possible to switch from DSDA mode to dual card dual standby (Dua l S I M Dua l Standby, DSDS) mode. At this time, when data transmission is performed by using one of the two sim cards, if a phone call is performed by using the other sim card at this time, the data transmission is interrupted.
Disclosure of Invention
The embodiment of the application aims to provide a call method, a call device and call equipment, which can ensure that when a double-card mode of electronic equipment is switched from a DSDA mode to a DSDS mode, data transmission of one SIM card is not interrupted when the other SIM card is used for telephone call.
In a first aspect, an embodiment of the present application provides a call method, including:
determining a double-card mode according to the cell frequency bands of the first SIM card and the second SIM card;
and under the condition that the telephone call is carried out through the first SIM card and the double-card mode is the DSDS mode, switching the communication data of the second SIM card from the second SIM card to the first SIM card.
In a second aspect, an embodiment of the present application provides a call apparatus, including:
the determining module is used for determining a double-card mode according to the cell frequency bands where the first SIM card and the second SIM card are positioned;
and the switching module is used for switching the communication data of the second SiM card from the second SiM card to the first SiM card under the condition that the telephone call is carried out through the first SiM card and the double-card mode is the DSDS mode.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method as described in the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface, the communication interface being coupled to the processor, the processor being configured to execute programs or instructions for implementing the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the dual-card mode is determined according to the cell frequency bands where the first SIM card and the second SIM card are located; and under the condition that the telephone call is carried out through the first SIM card and the double-card mode is the DSDS mode, switching the communication data of the second SIM card from the second SIM card to the first SIM card. In this way, when the dual card mode of the electronic device is switched from the DSDA mode to the DSDS mode, the data transmission of one sim card is not interrupted when the phone call is made with the other sim card.
Drawings
Fig. 1 is a flow chart of a call method according to some embodiments of the present application;
FIG. 2 is a schematic diagram of a process for switching data provided in some embodiments of the present application;
fig. 3 is a schematic structural diagram of a call device according to some embodiments of the present application;
FIG. 4 is a schematic structural diagram of an electronic device provided in some embodiments of the present application;
fig. 5 is a schematic hardware structure of an electronic device according to some embodiments of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The following describes in detail the call method, device and equipment provided in the embodiments of the present application through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
The call method provided by the embodiment of the invention can be applied to the scenes such as the change of the cell frequency band where the installed SIM card is located after the electronic equipment performs cell switching or reselection, for example, after the cell switching or reselection of the electronic equipment carried by the user occurs in the scene of the user movement, the cell frequency band where the installed SIM card of the electronic equipment is located changes, wherein the scene of the user movement includes but is not limited to: driving, riding public transportation, riding high-speed rail, etc.
Fig. 1 is a flow chart of a call method according to some embodiments of the present application. The communication method can comprise the following steps:
step 101: and determining a double-card mode according to the cell frequency bands of the first and second SIM cards.
In some possible implementations of the embodiments of the present application, when the first sim card and the second sim card perform initial network registration, or when cell reselection or handover is performed, and when one sim card frequency band changes, the cell frequency band where the first sim card and the second sim card are located is acquired; the cell frequency band where the first and second SIM cards are located can also be obtained in the process of utilizing one of the SIM cards to carry out telephone conversation; the frequency bands of the cells where the first sim card and the second sim card are located may also be acquired at intervals of a period of time, for example, the frequency bands of the cells where the first sim card and the second sim card are located are acquired at intervals of 1 second, and for example, the frequency bands of the cells where the first sim card and the second sim card are located are acquired at intervals of 0.5 second.
Step 102: and under the condition that the telephone call is carried out through the first SIM card and the double-card mode is the DSDS mode, switching the communication data of the second SIM card from the second SIM card to the first SIM card.
In the DSDA mode, when the electronic equipment performs telephone call through one of the two installed SIM cards, communication data of the other SIM card cannot be affected, namely communication data transmission of the other SIM card cannot be interrupted, and simultaneously, telephone call can be performed through the other SIM card; in the DSDS mode, when the electronic device performs a telephone call through one of the installed two sim cards, the communication data transmission of the other sim card is interrupted, and the telephone call cannot be performed through the other sim card.
The specific implementation of each of the above steps will be described in detail below.
In the embodiment of the application, the dual-card mode is determined according to the cell frequency bands where the first SIM card and the second SIM card are located; and under the condition that the telephone call is carried out through the first SIM card and the double-card mode is the DSDS mode, switching the communication data of the second SIM card from the second SIM card to the first SIM card. In this way, when the dual card mode of the electronic device is switched from the DSDA mode to the DSDS mode, the data transmission of one sim card is not interrupted when the phone call is made with the other sim card.
In some possible implementations of the embodiments of the present application, the call method of the embodiments of the present application may be applied to an electronic device with DSDA capability.
In some possible implementations of embodiments of the present application, an application processor (App l i cat i on Processor, AP) of the electronic device stores an attribute value for indicating whether the electronic device is DSDA capable, through which it is known whether the electronic device is DSDA capable.
In some possible implementations of embodiments of the present application, the phone call in embodiments of the present application includes, but is not limited to, making and receiving a call.
In some embodiments of the present application, an sim card 1 and an sim card 2 are installed in an electronic device, when cell switching occurs, a cell frequency band where the sim card 1 is located changes, at this time, a cell frequency band where the sim card 1 and the sim card 2 are located is obtained from a switching configuration message received through a network side, and then, a dual card mode is determined to be a DSDS mode according to the cell frequency band. The communication data of the sm card 2 is switched from the sm card 2 to the sm card 1 when the telephone call is made through the sm card 1, or the communication data of the sm card 1 is switched from the sm card 1 to the sm card 2 when the telephone call is made through the sm card 2.
In some embodiments of the present application, an sim card 1 and an sim card 2 are installed in an electronic device, when cell switching occurs, the cell frequency bands where the sim card 1 and the sim card 2 are located are all changed, at this time, the cell frequency bands where the sim card 1 and the sim card 2 are located are obtained from a switching configuration message received through a network side, and then, a dual card mode is determined to be a DSDS mode according to the cell frequency bands. The communication data of the sm card 2 is switched from the sm card 2 to the sm card 1 when the telephone call is made through the sm card 1, or the communication data of the sm card 1 is switched from the sm card 1 to the sm card 2 when the telephone call is made through the sm card 2.
In some possible implementations of embodiments of the present application, step 101 may include: under the condition that at least one frequency band supported by the first SIM card and the second SIM card does not comprise a cell frequency band, determining that the dual-card mode is a dual-card dual-standby DSDS mode; and determining that the dual-card mode is a dual-card dual-pass DSDA mode under the condition that at least one frequency band supported by the first SIM card and the second SIM card comprises a cell frequency band.
In some possible implementations of the embodiments of the present application, when the electronic device is powered on, a cell frequency band where the first sim card and the second sim card are located may be obtained from a system message received by the network side, and when the electronic device performs cell switching or reselection, the cell frequency band where the first sim card and the second sim card are located may be obtained from a switching configuration message or a reselection configuration message received by the network side.
In some possible implementations of the embodiments of the present application, the frequency bands supported by the first sim card and the second sim card may be obtained from a radio frequency (Rad I o Frequency, RF) database, where the RF database stores all frequency band combinations where two sim cards support DSDA capabilities.
In some possible implementations of the embodiments of the present application, after each acquisition of a cell frequency band in which the first sim card and the second sim card are located, the frequency bands supported by the first sim card and the second sim card may be acquired from the RF database.
In some embodiments of the present application, the frequency bands supported by the first sim card and the second sim card acquired from the RF database are: the SIM card 1 supports an N78 frequency band, and the SIM card 2 supports an N41 frequency band; the obtained cell frequency bands of the first and second SIM cards are: the SiM card 1 is in the N78 frequency band, and the SiM card 2 is in the N79 frequency band. At this time, the frequency bands supported by the first and second sim cards do not include the cell frequency bands where the first and second sim cards are located, and the dual card mode is determined to be the DSDS mode.
In some embodiments of the present application, the frequency bands supported by the first sim card and the second sim card acquired from the RF database are: the SIM card 1 supports an N78 frequency band, and the SIM card 2 supports an N41 frequency band; the obtained cell frequency bands of the first and second SIM cards are: the SiM card 1 is in the N78 frequency band, and the SiM card 2 is in the N41 frequency band. At this time, the frequency bands supported by the first and second sim cards include the cell frequency bands where the first and second sim cards are located, and the dual card mode is determined to be the DSDA mode.
In some embodiments of the present application, the frequency bands supported by the first sim card and the second sim card acquired from the RF database are: the SIM card 1 supports an N78 frequency band, and the SIM card 2 supports an N41 frequency band and an N79 frequency band; the obtained cell frequency bands of the first and second SIM cards are: the SiM card 1 is in the N28 frequency band, and the SiM card 2 is in the N79 frequency band. At this time, the frequency bands supported by the first and second sim cards do not include the cell frequency bands where the first and second sim cards are located, and the dual card mode is determined to be the DSDS mode.
In some embodiments of the present application, the frequency bands supported by the first sim card and the second sim card acquired from the RF database are: the SIM card 1 supports an N78 frequency band, and the SIM card 2 supports an N41 frequency band and an N79 frequency band; the obtained cell frequency bands of the first and second SIM cards are: the SiM card 1 is in the N28 frequency band, and the SiM card 2 is in the N1 frequency band. At this time, the frequency bands supported by the first and second sim cards do not include the cell frequency bands where the first and second sim cards are located, and the dual card mode is determined to be the DSDS mode.
In some embodiments of the present application, the frequency bands supported by the first sim card and the second sim card acquired from the RF database are: the SIM card 1 supports an N78 frequency band, and the SIM card 2 supports an N41 frequency band and an N79 frequency band; the obtained cell frequency bands of the first and second SIM cards are: the SiM card 1 is in the N78 frequency band, and the SiM card 2 is in the N41 frequency band. At this time, the frequency bands supported by the first and second sim cards include the cell frequency bands where the first and second sim cards are located, and the dual card mode is determined to be the DSDA mode.
The frequency range of the N41 frequency band is usually 2515MHz to 2675MHz, the frequency range of the N78 frequency band is usually 3400MHz to 3600MHz, the frequency range of the N79 frequency band is usually 4800MHz to 4900MHz, the frequency range of the N28 frequency band is usually 703MHz to 733MHz or 758MHz to 788MHz, and the frequency range of the N1 frequency band is usually 1940MHz to 1965MHz.
In some possible implementations of embodiments of the present application, both sim cards may be established with a communication data public data network (Pub l I c Data Network, PDN).
When the communication data is switched to the SIM card, the PDN of the dual card still maintains a connection state, and is switched to a network interface between a wireless interface layer interface (Rad I o I nterface Layer JAVA, RI LJ) or a wireless interface layer process (Rad I o I nterface Layer Demon, RI LD). When the communication data is in the first SIM card, the network interface from the second SIM card RI LJ/RI LD to the Modem (Modem) is in a suspicious (speed) state; when the communication data is in the second SIM card, the network interface from the first SIM card RI LJ/RI LD to the Modem is in a speed state.
In the embodiment of the application, compared with the prior art that only the SIM card for telephone call establishes the PDN connection, the dual PDN connection has lower time delay when the SIM card is switched, can achieve second-level data switching, and further can avoid communication data interruption.
In some possible implementations of the embodiments of the present application, after step 102, the call method provided in the embodiments of the present application may further include: and in the case that the dual card mode is switched from the DSDS mode to the DSDA mode, switching the communication data of the second SiM card from the first SiM card to the second SiM card.
In some embodiments of the present application, an sim card 1 and an sim card 2 are installed in an electronic device, when a cell handover occurs, a cell frequency band where the sim card 1 is located changes, at this time, a cell frequency band where the sim card 1 and the sim card 2 are located is obtained from a handover configuration message received through a network side, and then, a dual card mode is determined to be a DSDS mode according to the cell frequency band and the frequency bands supported by the sim card 1 and the sim card 2 obtained from an RF database. When a telephone call is made through the sim card 1, the communication data of the sim card 2 is switched from the sim card 2 to the sim card 1. When the telephone call is carried out through the SIM card 1, cell switching occurs again, the cell frequency band where the SIM card 1 is located changes again, the cell frequency bands where the SIM card 1 and the SIM card 2 are located are obtained from the switching configuration information received by the network side, and then the double-card mode is determined to be the DSDA mode according to the cell frequency bands and the frequency bands supported by the SIM card 1 and the SIM card 2 obtained from the RF database. At this time, the dual card mode is switched from the DSDS mode to the DSDA mode, and the communication data of the sim card 2 is switched from the sim card 1 to the sim card 2.
In some embodiments of the present application, an sim card 1 and an sim card 2 are installed in an electronic device, when cell switching occurs, the cell frequency bands where the sim card 1 and the sim card 2 are located are all changed, at this time, the cell frequency bands where the sim card 1 and the sim card 2 are located are obtained from a switching configuration message received through a network side, and then, a dual card mode is determined to be a DSDS mode according to the cell frequency bands and the frequency bands supported by the sim card 1 and the sim card 2 obtained from an RF database. When a telephone call is made through the sim card 1, the communication data of the sim card 2 is switched from the sim card 2 to the sim card 1. When the telephone call is carried out through the SIM card 1, cell switching occurs again, the cell frequency band where the SIM card 1 and the SIM card 2 are located changes again, the cell frequency band where the SIM card 1 and the SIM card 2 are located is obtained from the switching configuration information received by the network side, and then the double-card mode is determined as the DSDA mode according to the cell frequency band and the frequency band supported by the SIM card 1 and the SIM card 2 obtained from the RF database. At this time, the dual card mode is switched from the DSDS mode to the DSDA mode, and the communication data of the sim card 2 is switched from the sim card 1 to the sim card 2.
In the embodiment of the present application, when the dual card mode is switched from the DSDS mode to the DSDA mode, by switching the communication data of the second sim card back to the second sim card, excessive consumption of the traffic of the first sim card can be avoided.
In some possible implementations of the embodiments of the present application, after step 102, the call method provided in the embodiments of the present application may further include: after the telephone call through the first sim card is ended, the communication data of the second sim card is switched from the first sim card to the second sim card.
It can be understood that, in the case where the phone call through the first sim card is ended and the communication data of the second sim card is switched back to the second sim card, the electronic device is always in the DSDS mode during the phone call through the first sim card.
In some embodiments of the present application, an sim card 1 and an sim card 2 are installed in an electronic device, when a cell handover occurs, a cell frequency band where the sim card 1 is located changes, at this time, a cell frequency band where the sim card 1 and the sim card 2 are located is obtained from a handover configuration message received through a network side, and then, a dual card mode is determined to be a DSDS mode according to the cell frequency band and a frequency band supported by the sim card 1 and the sim card 2 obtained from an RF database. When a telephone call is made through the sim card 1, the communication data of the sim card 2 is switched from the sim card 2 to the sim card 1. When the telephone call through the sim card 1 is ended, the communication data of the sim card 2 is switched from the sim card 1 to the sim card 2.
In some embodiments of the present application, an sim card 1 and an sim card 2 are installed in an electronic device, when a cell handover occurs, a cell frequency band where the sim card 2 is located changes, at this time, a cell frequency band where the sim card 1 and the sim card 2 are located is obtained from a handover configuration message received through a network side, and then, a dual card mode is determined to be a DSDS mode according to the cell frequency band and a frequency band supported by the sim card 1 and the sim card 2 obtained from an RF database. When a telephone call is made through the sim card 1, the communication data of the sim card 2 is switched from the sim card 2 to the sim card 1. When the telephone call through the sim card 1 is ended, the communication data of the sim card 2 is switched from the sim card 1 to the sim card 2.
In the embodiment of the application, after the telephone call through the first sim card is ended, the communication data of the second sim card is switched back to the second sim card, so that excessive consumption of the traffic of the first sim card can be avoided.
In some possible implementations of the embodiments of the present application, after step 101, the call method provided by the embodiments of the present application may further include: reporting a double-card mode to an application processor through a modem; accordingly, step 102 may include: and switching the communication data of the second SiM card from the second SiM card to the first SiM card through the application processor.
In the embodiment of the application, the electronic equipment supporting the DSDA capability can keep good data communication in the mobile phone call process by matching the modem with the application processor, so that the data communication interruption caused by switching to the DSDS mode is avoided.
The data switching process is described below with reference to fig. 2.
Step 201: and acquiring the cell frequency bands of the first and second SIM cards.
Step 202: acquiring a stored frequency band supported by a first SIM card and a second SIM card from an RF database;
step 203: judging whether the frequency bands supported by the first and second SIM cards comprise the cell frequency bands where the first and second SIM cards are located, if not, executing step 204, and if so, executing step 210;
step 204: determining that the dual card mode is a DSDS mode;
step 205: when a telephone call is made through the first SiM card, switching communication data of the second SiM card from the second SiM card to the first SiM card;
step 206: judging whether the telephone call through the first SIM card is ended, if not, executing S207, and if so, executing S209;
step 207: judging whether the frequency bands supported by the first and second SIM cards comprise the cell frequency bands where the first and second SIM cards are located, if so, executing S208, and if not, continuing executing step 206;
step 208: determining that the double-card mode is a DSDA mode;
step 209: switching communication data of the second SiM card from the first SiM card to the second SiM card;
step 210: and determining the double-card mode as a DSDA mode, and keeping the communication data of the SIM card without switching the SIM card.
It should be noted that, in the call method provided in the embodiment of the present application, the executing body may be a call device. In the embodiment of the present application, a call device executing a call method is taken as an example, and the call device provided in the embodiment of the present application is described.
Fig. 3 is a schematic structural diagram of a call device according to some embodiments of the present application. The telephony device 300 may include:
a determining module 301, configured to determine a dual-card mode according to a cell frequency band where the first sim card and the second sim card are located;
and the switching module 302 is configured to switch the communication data of the second sim card from the second sim card to the first sim card when the phone call is performed through the first sim card and the dual card mode is the DSDS mode.
In the embodiment of the application, the dual-card mode is determined according to the cell frequency bands where the first SIM card and the second SIM card are located; and under the condition that the telephone call is carried out through the first SIM card and the double-card mode is the DSDS mode, switching the communication data of the second SIM card from the second SIM card to the first SIM card. In this way, when the dual card mode of the electronic device is switched from the DSDA mode to the DSDS mode, the data transmission of one sim card is not interrupted when the phone call is made with the other sim card.
In some possible implementations of embodiments of the present application, the switching module 302 may also be configured to:
and in the case that the dual card mode is switched from the DSDS mode to the DSDA mode, switching the communication data of the second SiM card from the first SiM card to the second SiM card.
In the embodiment of the present application, when the dual card mode is switched from the DSDS mode to the DSDA mode, by switching the communication data of the second sim card back to the second sim card, excessive consumption of the traffic of the first sim card can be avoided.
In some possible implementations of embodiments of the present application, the switching module 302 may also be configured to:
after the communication through the first sim card is ended, the communication data of the second sim card is switched from the first sim card to the second sim card.
In the embodiment of the application, after the telephone call through the first sim card is ended, the communication data of the second sim card is switched back to the second sim card, so that excessive consumption of the traffic of the first sim card can be avoided.
In some possible implementations of embodiments of the present application, the determining module 301 may be specifically configured to:
under the condition that at least one frequency band supported by the first SIM card and the second SIM card does not comprise a cell frequency band, determining that the dual-card mode is a dual-card dual-standby DSDS mode;
and determining that the dual-card mode is a dual-card dual-pass DSDA mode under the condition that at least one frequency band supported by the first SIM card and the second SIM card comprises a cell frequency band.
In some possible implementations of embodiments of the present application, the telephony device 300 may further include:
the modem is used for reporting the double-card mode to the application processor;
and the application processor is used for switching the communication data of the second SiM card from the second SiM card to the first SiM card.
In the embodiment of the application, the electronic equipment supporting the DSDA capability can keep good data communication in the mobile phone call process by matching the modem with the application processor, so that the data communication interruption caused by switching to the DSDS mode is avoided.
The call device in the embodiment of the present application may be a component in an electronic device, such as an integrated circuit, or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet, notebook, palmtop, vehicle-mounted electronic device, mobile internet appliance (Mob I l e I nternet Devi ce, md), augmented reality (augmented rea l ity, AR)/virtual reality (vi rtua l rea l ity, VR) device, robot, wearable device, ultra mobile personal computer (u l tra-mob I l e persona l computer, UMPC), netbook or personal digital assistant (persona l D I gita l ass I stant, PDA), etc., but also a server, network attached storage (Network Attached Storage, NAS), personal computer (persona l computer, PC), television (te l evi s ion, TV), teller machine or self-service machine, etc., and the embodiments of the present application are not particularly limited.
The electronic device in the embodiment of the application may be an electronic device having an operating system. The operating system may be an android (android) operating system, an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The call device provided in the embodiment of the present application can implement each process in the call method embodiments of fig. 1 to 2, and in order to avoid repetition, a detailed description is omitted here.
Optionally, as shown in fig. 4, the embodiment of the present application further provides an electronic device 400, including a processor 401 and a memory 402, where the memory 402 stores a program or an instruction that can be executed on the processor 401, and the program or the instruction implements each step of the foregoing embodiments of the call method when executed by the processor 401, and the steps can achieve the same technical effect, so that repetition is avoided, and details are not repeated here.
In some possible implementations of embodiments of the present application, the processor 401 may include a Central Processing Unit (CPU), or an application specific integrated circuit (App l I cat I on Spec I f I C I ntegrated Ci rcu it, AS ic), or may be configured to implement one or more integrated circuits of embodiments of the present application.
In some possible implementations of embodiments of the present application, memory 402 may include Read-On-y Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic disk storage media devices, optical storage media devices, flash Memory devices, electrical, optical, or other physical/tangible Memory storage devices. Thus, in general, memory 402 includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising computer-executable instructions and when the software is executed (e.g., by one or more processors) it is operable to perform the operations described with reference to the conversation methods in accordance with embodiments of the present application.
Fig. 5 is a schematic hardware structure of an electronic device according to some embodiments of the present application.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, and processor 510.
Those skilled in the art will appreciate that the electronic device 500 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 510 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
In some possible implementations of the embodiments of the present application, the electronic device 500 in the embodiments of the present application has DSDA capabilities and is installed with a first sim card and a second sim card.
Wherein the processor 510 is configured to: determining a double-card mode according to the cell frequency bands of the first SIM card and the second SIM card; and under the condition that the telephone call is carried out through the first SIM card and the double-card mode is the DSDS mode, switching the communication data of the second SIM card from the second SIM card to the first SIM card.
In the embodiment of the application, the dual-card mode is determined according to the cell frequency bands where the first SIM card and the second SIM card are located; and under the condition that the telephone call is carried out through the first SIM card and the double-card mode is the DSDS mode, switching the communication data of the second SIM card from the second SIM card to the first SIM card. In this way, when the dual card mode of the electronic device is switched from the DSDA mode to the DSDS mode, the data transmission of one sim card is not interrupted when the phone call is made with the other sim card.
In some possible implementations of embodiments of the present application, processor 510 may also be configured to:
and in the case that the dual card mode is switched from the DSDS mode to the DSDA mode, switching the communication data of the second SiM card from the first SiM card to the second SiM card.
In the embodiment of the present application, when the dual card mode is switched from the DSDS mode to the DSDA mode, by switching the communication data of the second sim card back to the second sim card, excessive consumption of the traffic of the first sim card can be avoided.
In some possible implementations of embodiments of the present application, processor 510 may also be configured to:
after the communication through the first sim card is ended, the communication data of the second sim card is switched from the first sim card to the second sim card.
In the embodiment of the application, after the telephone call through the first sim card is ended, the communication data of the second sim card is switched back to the second sim card, so that excessive consumption of the traffic of the first sim card can be avoided.
In some possible implementations of embodiments of the present application, processor 510 may be specifically configured to:
under the condition that at least one frequency band supported by the first SIM card and the second SIM card does not comprise a cell frequency band, determining that the dual-card mode is a dual-card dual-standby DSDS mode;
and determining that the dual-card mode is a dual-card dual-pass DSDA mode under the condition that at least one frequency band supported by the first SIM card and the second SIM card comprises a cell frequency band.
In some possible implementations of embodiments of the present application, processor 510 may include one or more processing units; processor 510 may integrate an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., with a modem that primarily processes wireless communication signals, such as a baseband processor.
In some possible implementations of embodiments of the present application, the processor 510 may be integrated with only the application processor, and the modem is not integrated in the processor 510, based on which the electronic device 500 may further include:
a modem 511 for reporting the dual card mode to the processor 510;
accordingly, an application processor in processor 510 may be used to switch the communication data of the second sim card from the second sim card to the first sim card.
In the embodiment of the application, the electronic equipment supporting the DSDA capability can keep good data communication in the mobile phone call process by matching the modem with the application processor, so that the data communication interruption caused by switching to the DSDS mode is avoided.
It should be appreciated that in embodiments of the present application, the input unit 504 may include a graphics processor (Graph i cs Process i ng Un it, GPU) 5041 and a microphone 5042, with the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen. Touch panel 5071 may include two parts, a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 509 may include volatile memory or nonvolatile memory, or the memory 509 may include both volatile and nonvolatile memory. The nonvolatile Memory may be Read-On-y Memory (ROM), programmable Read-only Memory (PROM), erasable programmable Read-only Memory (Erasab e PROM, EPROM), electrically erasable programmable Read-only Memory (E l ectr i ca l l y EPROM, EEPROM), or flash Memory, among others. The volatile memory may be random access memory (Random Access Memory, RAM), static random access memory (Stat ic RAM, SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double data rate Synchronous dynamic random access memory (Doub l e Data Rate SDRAM, ddr SDRAM), enhanced SDRAM (ESDRAM), synchronous link dynamic random access memory (syncl nk DRAM, SLDRAM), and direct memory bus RAM (DRRAM). Memory 509 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, where the program or the instruction implements each process of the foregoing call method embodiment when executed by a processor, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
The processor is a processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, and examples of the computer readable storage medium include a non-transitory computer readable storage medium such as ROM, RAM, magnetic disk, or optical disk.
The embodiment of the application also provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the communication method embodiment, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
The embodiments of the present application further provide a computer program product, which is stored in a storage medium, and the program product is executed by at least one processor to implement the respective processes of the foregoing embodiments of the call method, and achieve the same technical effects, so that repetition is avoided, and details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (11)

1. A method of communicating, the method comprising:
determining a double-card mode according to the cell frequency bands of the first SIM card and the second SIM card;
and under the condition that the telephone call is carried out through the first SIM card and the double-card mode is a double-card double-standby DSDS mode, switching the communication data of a second SIM card from the second SIM card to the first SIM card.
2. The method of claim 1, wherein after the switching of the communication data of the second SIM card from the second SIM card to the first SIM card, the method further comprises:
and under the condition that the dual-card mode is switched from the dual-card dual-standby DSDS mode to the dual-card dual-pass DSDA mode, switching the communication data from the first SIM card to the second SIM card.
3. The method of claim 1, wherein after the switching of the communication data of the second SIM card from the second SIM card to the first SIM card, the method further comprises:
and switching the communication data from the first SIM card to the second SIM card after the telephone conversation through the first SIM card is ended.
4. The method of claim 1, wherein determining the dual card mode based on the cell frequency bands in which the first SIM card and the second SIM card are located comprises:
under the condition that at least one frequency band supported by the first SIM card and the second SIM card does not comprise the cell frequency band, determining that the dual-card mode is a dual-card dual-standby DSDS mode;
and under the condition that at least one frequency band supported by the first SIM card and the second SIM card comprises the cell frequency band, determining that the double-card mode is a double-card double-pass DSDA mode.
5. The method according to claim 1, wherein after determining the dual card mode according to the cell frequency bands in which the first SIM card and the second SIM card are located, the method further comprises:
reporting the dual card mode to an application processor via a modem;
the switching the communication data of the second SIM card from the second SIM card to the first SIM card includes:
and switching the communication data from the second SIM card to the first SIM card through the application processor.
6. A telephony device, the device comprising:
the determining module is used for determining a double-card mode according to the cell frequency bands of the first SIM card and the second SIM card;
and the switching module is used for switching the communication data of the second SIM card from the second SIM card to the first SIM card under the condition that the telephone call is carried out through the first SIM card and the double-card mode is a double-card double-standby DSDS mode.
7. The apparatus of claim 6, wherein the switching module is further configured to:
and under the condition that the dual-card mode is switched from the dual-card dual-standby DSDS mode to the dual-card dual-pass DSDA mode, switching the communication data from the first SIM card to the second SIM card.
8. The apparatus of claim 6, wherein the switching module is further configured to:
and switching the communication data from the first SIM card to the second SIM card after the communication through the first SIM card is ended.
9. The apparatus of claim 6, wherein the determining module is specifically configured to:
under the condition that at least one frequency band supported by the first SIM card and the second SIM card does not comprise the cell frequency band, determining that the dual-card mode is a dual-card dual-standby DSDS mode;
and under the condition that at least one frequency band supported by the first SIM card and the second SIM card comprises the cell frequency band, determining that the double-card mode is a double-card double-pass DSDA mode.
10. The apparatus of claim 6, wherein the apparatus further comprises:
the modem is used for reporting the double-card mode to the application processor;
and the application processor is used for switching the communication data from the second SIM card to the first SIM card.
11. An electronic device, the electronic device comprising: a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the call method of any one of claims 1 to 5.
CN202310123035.3A 2023-02-15 2023-02-15 Communication method, device and equipment Pending CN116193419A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310123035.3A CN116193419A (en) 2023-02-15 2023-02-15 Communication method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310123035.3A CN116193419A (en) 2023-02-15 2023-02-15 Communication method, device and equipment

Publications (1)

Publication Number Publication Date
CN116193419A true CN116193419A (en) 2023-05-30

Family

ID=86434068

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310123035.3A Pending CN116193419A (en) 2023-02-15 2023-02-15 Communication method, device and equipment

Country Status (1)

Country Link
CN (1) CN116193419A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117395618A (en) * 2023-10-19 2024-01-12 北京小米移动软件有限公司 Data link switching method, device, storage medium and chip

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117395618A (en) * 2023-10-19 2024-01-12 北京小米移动软件有限公司 Data link switching method, device, storage medium and chip
CN117395618B (en) * 2023-10-19 2024-03-01 北京小米移动软件有限公司 Data link switching method, device, storage medium and chip

Similar Documents

Publication Publication Date Title
CN105554884A (en) Method and device for paging response
CN105357735B (en) Method and device for accessing cell
CN116193419A (en) Communication method, device and equipment
CN105549836B (en) Method for processing message on screen locking interface of mobile electronic terminal and mobile electronic terminal
KR102254716B1 (en) Mobile terminal for cell reselection in cellular mobile communication system and methods therefor
CN110637502B (en) Data processing method and device, electronic equipment and computer readable storage medium
CN114125739B (en) Network switching method and device, electronic equipment and storage medium
CN114531712B (en) Wireless communication method and device, mobile terminal and non-transitory readable storage medium
CN109451832B (en) Wireless communication method, device and computer readable storage medium
CN112866983B (en) Control method, control device and electronic equipment
CN115567901A (en) Method, device, equipment and storage medium for operating user identity identification card
CN114449542B (en) Cell registration method, device and medium
CN113282361A (en) Window processing method and electronic equipment
CN110337823B (en) Information configuration method and device, service processing method and device and base station
CN106125985B (en) A kind of control method and terminal
CN112996138A (en) Communication establishing method, device and storage medium
CN107635264B (en) Cell reselection method, mobile terminal and computer readable storage medium
CN106686702B (en) Network connection processing method and terminal
CN117395618B (en) Data link switching method, device, storage medium and chip
CN110716985B (en) Node information processing method, device and medium
WO2023020386A1 (en) Emergency service processing method and device and readable storage medium
CN108551767B (en) Method and device for acquiring Minimum SI
CN106658448B (en) Voice communication method and device
CN117062097A (en) Configuration method and device of UE policy information, first network function and terminal
CN117750457A (en) Cell switching method and device, electronic equipment, storage medium and chip

Legal Events

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