CN107708106B - User identification card management method and user identification card management device - Google Patents

User identification card management method and user identification card management device Download PDF

Info

Publication number
CN107708106B
CN107708106B CN201710873730.6A CN201710873730A CN107708106B CN 107708106 B CN107708106 B CN 107708106B CN 201710873730 A CN201710873730 A CN 201710873730A CN 107708106 B CN107708106 B CN 107708106B
Authority
CN
China
Prior art keywords
user identification
target program
target
identification card
identification cards
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.)
Active
Application number
CN201710873730.6A
Other languages
Chinese (zh)
Other versions
CN107708106A (en
Inventor
刘鸣
张翔
王洪强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710873730.6A priority Critical patent/CN107708106B/en
Publication of CN107708106A publication Critical patent/CN107708106A/en
Application granted granted Critical
Publication of CN107708106B publication Critical patent/CN107708106B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72463User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions to restrict the functionality of the device
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Environmental & Geological Engineering (AREA)
  • Databases & Information Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure relates to a user identification card management method and a user identification card management device, wherein the method is suitable for a terminal, the terminal comprises a plurality of user identification cards, and the method comprises the following steps: determining whether a target program is running; if the target program is running, determining a target user identity identification card used for the target program to communicate in the plurality of user identity identification cards; and controlling other user identification cards except the target user identification card in the plurality of user identification cards to stop working. According to the embodiment of the disclosure, by controlling other user identification cards except the target user identification card in the plurality of user identification cards, it is ensured that only the target user identification card in the plurality of user identification cards communicates through the antenna of the terminal, and the antenna is not multiplexed, thereby ensuring that the first user identification card has higher gain, and further ensuring that the target program has good communication quality through the first user identification card.

Description

User identification card management method and user identification card management device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method for managing a user identification card, a device for managing a user identification card, an electronic apparatus, and a computer-readable storage medium.
Background
The current terminals such as mobile phones and the like can be suitable for two user identification cards (such as SIM cards) to respectively communicate through dual-card dual-standby configuration.
However, since only one antenna is provided in the terminal for the user identification card to use, for example, when the application communicates with the server through the first user identification card, the first user identification card may communicate with the server through the antenna, and in this process, the unused second user identification card may also communicate through the antenna, for example, interact with the base station.
This may cause the antenna to transmit and receive a signal corresponding to the second user identification card on the basis of transmitting and receiving a signal corresponding to the first user identification card, which may cause the antenna to be multiplexed, thereby reducing the gain for the first user identification card, reducing the communication quality of the first user identification card, and affecting the user experience.
Disclosure of Invention
The present disclosure provides a user identification card management method, a user identification card management apparatus, an electronic device, and a computer-readable storage medium to solve the disadvantages of the related art.
According to a first aspect of the embodiments of the present disclosure, a method for managing a user identification card is provided, which is applied to a terminal, where the terminal includes a plurality of user identification cards, and the method includes:
determining whether a target program is running;
if the target program is running, determining a target user identification card used for the target program to communicate in the plurality of user identification cards;
and controlling other user identification cards except the target user identification card in the plurality of user identification cards to stop working.
Optionally, the determining whether the target program is running comprises:
determining whether the target program runs in a foreground;
and if the target program runs in the foreground, determining a target user identification card used for the target program to communicate in the plurality of user identification cards.
Optionally, the method for managing a user identification card further includes:
after controlling the other user identification cards to stop working, monitoring whether the target program is switched from the foreground operation to the background operation;
and if the target program is switched to operate in the background, controlling the other user identification cards to work.
Optionally, the method for managing a user identification card further includes:
after controlling the other user identification cards to stop working, monitoring whether the target program stops running or not;
and if the target program stops running, controlling the other user identification cards to work.
Optionally, the method for managing a user identification card further includes:
after controlling the other user identification cards to stop working, if receiving an instruction for controlling the other user identification cards to work, controlling the other user identification cards to work
According to a second aspect of the embodiments of the present disclosure, there is provided a user identification card management apparatus, adapted to a terminal, where the terminal includes a plurality of user identification cards, the apparatus includes:
an operation determination module configured to determine whether the target program is operating;
an identification card determination module configured to determine, in a case where the target program is running, a target subscriber identity identification card used for the target program to communicate among the plurality of subscriber identity identification cards;
and the identification card control module is configured to control other user identification cards except the target user identification card in the plurality of user identification cards to stop working.
Optionally, the run determination module is configured to determine whether the target program is run in the foreground;
and the identification card determining module determines a target user identification card used for communication of the target program in the plurality of user identification cards under the condition that the target program runs in the foreground.
Optionally, the user identification card management apparatus further includes:
the foreground and background monitoring module is configured to monitor whether the target program is switched from foreground operation to background operation after controlling the other user identification cards to stop working;
the identification card control module is further configured to control the other user identification cards to work under the condition that the target program is switched to run in the background.
Optionally, the user identification card management apparatus further includes:
the operation monitoring module is configured to monitor whether the target program stops operating or not after controlling the other user identification cards to stop operating;
the identification card control module is further configured to control the other user identification cards to work under the condition that the target program stops running.
Optionally, the user identification card management apparatus further includes:
an instruction receiving module configured to receive an instruction;
the identification card control module is further configured to control the other subscriber identity identification cards to work under the condition that the instruction receiving module receives an instruction for controlling the other subscriber identity identification cards to work after controlling the other subscriber identity identification cards to stop working.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device, adapted to a terminal, where the terminal includes a plurality of user identification cards, the electronic device including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining whether a target program is running;
if the target program is running, determining a target user identification card used for the target program to communicate in the plurality of user identification cards;
and controlling other user identification cards except the target user identification card in the plurality of user identification cards to stop working.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program adapted for a terminal including a plurality of subscriber identity cards, the program when executed by a processor implementing the steps of:
determining whether a target program is running;
if the target program is running, determining a target user identification card used for the target program to communicate in the plurality of user identification cards;
and controlling other user identification cards except the target user identification card in the plurality of user identification cards to stop working.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the embodiment, the other user identification cards except the target user identification card in the plurality of user identification cards are controlled, so that only the target user identification card in the plurality of user identification cards is enabled to communicate through the antenna of the terminal, the antenna cannot be multiplexed, higher gain is guaranteed for the first user identification card, and good communication quality is guaranteed for a target program to communicate through the first user identification card.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic flow chart diagram illustrating a user identification card management method according to an exemplary embodiment.
Fig. 2 is a schematic flow chart diagram illustrating another method of user identification card management according to an example embodiment.
Fig. 3 is a schematic flow chart diagram illustrating yet another method for subscriber identity card management according to an example embodiment.
Fig. 4 is a schematic flow chart diagram illustrating yet another method for subscriber identity card management according to an example embodiment.
Fig. 5 is a schematic flow chart diagram illustrating yet another method for subscriber identity card management according to an example embodiment.
Fig. 6 is a schematic block diagram illustrating a user identification card managing apparatus according to an exemplary embodiment.
Fig. 7 is a schematic block diagram illustrating another user identification card managing apparatus according to an example embodiment.
Fig. 8 is a schematic block diagram illustrating yet another user identification card managing apparatus according to an exemplary embodiment.
Fig. 9 is a schematic block diagram illustrating yet another user identification card managing apparatus according to an exemplary embodiment.
FIG. 10 is a schematic block diagram illustrating an apparatus for subscriber identification card management in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic flow chart diagram illustrating a user identification card management method according to an exemplary embodiment. The method shown in this embodiment may be applied to a terminal provided with a subscriber identity module card, such as a mobile phone, a tablet computer, and the like, where the terminal may be provided with a plurality of subscriber identity module cards, such as two or more subscriber identity module cards, where the subscriber identity module card may be an sim (subscriber identity module) card, or may be another type of card.
As shown in fig. 1, the method for managing a user identification card according to this embodiment includes the following steps.
In step S1, it is determined whether the target program is running, and if the target program is running, step S2 is performed.
In one embodiment, the target program may be set in advance, or may be set when step S1 is executed. The target program comprises programs which need to communicate when running, such as a game program, an instant messaging program, a live video program, a meal ordering program, a network car booking program and the like.
In step S2, a target user identification card used for the target program to communicate is determined among the plurality of user identification cards.
In one embodiment, in a case where the target program is running, it may be detected whether the target program communicates with the data network through the user identification card, where the data network may be provided by an operator, and the electronic device may communicate with the data network through the user identification card by establishing a communication connection with the base station.
In one embodiment, in the case that a plurality of subscriber identity cards are provided in the terminal, the target program may communicate through one of the subscriber identity cards, for example, two subscriber identity cards, a subscriber identity card 1 and a subscriber identity card 2, are provided in the terminal, and when the target program communicates using the subscriber identity card 1, the subscriber identity card 1 is the target subscriber identity card. Although the user id card 2 is not used, the user id card 2 still needs to communicate with, for example, a base station, so that the base station can determine the current status of the user id card 2.
In one embodiment, the interface sim. getcurrentactivslotnum () may be called to determine the target subscriber identity card used by the target program to communicate.
In step S3, the other user identification cards except the target user identification card in the plurality of user identification cards are controlled to stop working.
In one embodiment, the other user id cards may be controlled to stop working by calling the interface public void set site for phone (int phoneId, String state).
In one embodiment, by controlling other user identification cards than the target user identification card in the plurality of user identification cards, for example, according to the above embodiment, in the case that the target program uses the user identification card 1 to perform communication, the user identification card 2 may be controlled to stop working, that is, the user identification card 2 stops communication, for example, stops communication with a base station, thereby stopping receiving information and incoming call. The antenna can not be multiplexed, so that the first user identity identification card is ensured to have higher gain, and the target program is ensured to have good communication quality through the first user identity identification card.
Fig. 2 is a schematic flow chart diagram illustrating another method of user identification card management according to an example embodiment. As shown in fig. 2, the determining whether the target program is running includes:
in step S11, it is determined whether the target program is running in the foreground;
and if the target program runs in the foreground, determining a target user identification card used for the target program to communicate in the plurality of user identification cards.
In one embodiment, if the target program is running in the foreground, it may be determined that the user is currently using the target program, and then the following steps S2 and S3 may be performed to ensure that only the target user id card of the plurality of user id cards communicates through the antenna of the terminal. If the target program is not running in the foreground, it can be determined that the user does not currently use the target program, and subsequent steps S2 and S3 do not need to be executed, so that the other user id cards can perform normal communication, and the terminal can receive and send communication data in time through the other user id cards.
Fig. 3 is a schematic flow chart diagram illustrating yet another method for subscriber identity card management according to an example embodiment. As shown in fig. 3, the method for managing a user identification card further includes:
in step S4, after controlling the other user id cards to stop working, monitoring whether the target program is shifted from foreground operation to background operation, and if the target program is shifted to background operation, executing step S5;
in step S5, the other user identification card is controlled to operate.
In one embodiment, after the other user identification cards are controlled to stop working, the running state of the target program can be monitored, and if the target program is switched from running in a foreground to running in a background, it can be determined that the target program is not used by the user currently, so that the other user identification cards can be controlled to work, the other user identification cards can be ensured to communicate normally, and the terminal can receive and send communication data in time through the other user identification cards.
In one embodiment, the other user id cards may be controlled to work by calling the interface public void set site for phone (int phoneId, String state).
Fig. 4 is a schematic flow chart diagram illustrating yet another method for subscriber identity card management according to an example embodiment. As shown in fig. 4, the method for managing a user identification card further includes:
in step S6, after controlling the other user id cards to stop working, monitoring whether the target program stops running, and if the target program stops running, executing step S7;
in step S7, the other user identification card is controlled to operate.
In one embodiment, after controlling the other user identification cards to stop working, the running state of the target program may be monitored, and if the target program changes from running to running, it may be determined that the user has stopped using the target program, so that the other user identification cards may be controlled to work, and it is ensured that the other user identification cards may communicate normally, so that the terminal may receive and send communication data in time through the other user identification cards.
In one embodiment, the other user id cards may be controlled to work by calling the interface public void set site for phone (int phoneId, String state).
Fig. 5 is a schematic flow chart diagram illustrating yet another method for subscriber identity card management according to an example embodiment. As shown in fig. 5, the method for managing a user identification card further includes:
in step S8, after the other user identification cards are controlled to stop working, if an instruction for controlling the other user identification cards to work is received, the other user identification cards are controlled to work.
In an embodiment, after controlling the other subscriber identity cards to stop working, an instruction input by a user may be monitored, and if the instruction controlling the other subscriber identity cards to work is received (for example, the user adjusts the states of the other subscriber identity cards from unavailable to available in the setting options of the terminal), it may be determined that the user needs to use the other subscriber identity cards for communication, so that the other subscriber identity cards may be controlled to work, and it is ensured that the other subscriber identity cards may communicate normally, so that the terminal may receive and send communication data in time through the other subscriber identity cards.
In one embodiment, the other user id cards may be controlled to work by calling the interface public void set site for phone (int phoneId, String state).
Corresponding to the embodiment of the user identification card management method, the disclosure also provides an embodiment of a user identification card management device.
Fig. 6 is a schematic block diagram illustrating a user identification card management apparatus according to an exemplary embodiment, where the user identification card management apparatus is applied to a terminal including a plurality of user identification cards. As shown in fig. 6, the user identification card management apparatus includes:
an operation determination module 1 configured to determine whether a target program is operating;
an identification card determination module 2 configured to determine, in a case where the target program is running, a target user identification card used for the target program to communicate among the plurality of user identification cards;
and the identification card control module 3 is configured to control other user identification cards except the target user identification card in the plurality of user identification cards to stop working.
Optionally, the run determination module is configured to determine whether the target program is run in the foreground;
and the identification card determining module determines a target user identification card used for communication of the target program in the plurality of user identification cards under the condition that the target program runs in the foreground.
Fig. 7 is a schematic block diagram illustrating another user identification card managing apparatus according to an example embodiment. As shown in fig. 7, the user identification card management apparatus further includes:
the foreground and background monitoring module 4 is configured to monitor whether the target program is switched from foreground operation to background operation after controlling the other user identification cards to stop working;
wherein, the identification card control module 3 is further configured to control the other user identification cards to work under the condition that the target program is transferred to be operated in the background.
Fig. 8 is a schematic block diagram illustrating yet another user identification card managing apparatus according to an exemplary embodiment. As shown in fig. 8, the user identification card management apparatus further includes:
the operation monitoring module 5 is configured to monitor whether the target program stops operating after controlling the other user identification cards to stop operating;
wherein, the identification card control module 3 is further configured to control the other user identification cards to work when the target program stops running.
Fig. 9 is a schematic block diagram illustrating yet another user identification card managing apparatus according to an exemplary embodiment. As shown in fig. 9, the user identification card management apparatus further includes:
an instruction receiving module 6 configured to receive an instruction;
the identification card control module 3 is further configured to control the other user identification cards to work after controlling the other user identification cards to stop working and under the condition that the instruction receiving module 6 receives an instruction for controlling the other user identification cards to work.
With regard to the apparatus in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments of the related method, and will not be described in detail here.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
The embodiment of the present disclosure further relates to an electronic device, which is suitable for a terminal, where the terminal includes a plurality of user identification cards, and the electronic device includes:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining whether a target program is running;
if the target program is running, determining a target user identification card used for the target program to communicate in the plurality of user identification cards;
and controlling other user identification cards except the target user identification card in the plurality of user identification cards to stop working.
Embodiments of the present disclosure also relate to a computer-readable storage medium having stored thereon a computer program adapted for use in a terminal, the terminal comprising a plurality of subscriber identity cards, the program when executed by a processor implementing the steps of:
determining whether a target program is running;
if the target program is running, determining a target user identification card used for the target program to communicate in the plurality of user identification cards;
and controlling other user identification cards except the target user identification card in the plurality of user identification cards to stop working.
Fig. 10 is a schematic block diagram illustrating an apparatus 1000 for subscriber identity card management in accordance with an example embodiment. For example, the apparatus 1000 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the device 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support operations at the apparatus 1000. Examples of such data include instructions for any application or method operating on device 1000, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power supply component 1006 provides power to the various components of the device 1000. The power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the device 1000 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1000 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, audio component 1010 includes a Microphone (MIC) configured to receive external audio signals when apparatus 1000 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the device 1000. For example, sensor assembly 1014 may detect an open/closed state of device 1000, the relative positioning of components, such as a display and keypad of device 1000, the change in position of device 1000 or a component of device 1000, the presence or absence of user contact with device 1000, the orientation or acceleration/deceleration of device 1000, and the change in temperature of device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate communications between the apparatus 1000 and other devices in a wired or wireless manner. The device 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the methods shown in any of the embodiments of fig. 1-5 described above.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1004 comprising instructions, executable by the processor 1020 of the device 1000 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A user identification card management method is applicable to a terminal, the terminal comprises a plurality of user identification cards, and the method comprises the following steps:
determining whether a target program is running;
if the target program is running, determining a target user identification card used for the target program to communicate in the plurality of user identification cards; and other user identification cards except the target user identification card carry out communication except the target program;
and controlling other user identification cards except the target user identification card in the plurality of user identification cards to stop working.
2. The method of claim 1, wherein determining whether the target program is running comprises:
determining whether the target program runs in a foreground;
and if the target program runs in the foreground, determining a target user identification card used for the target program to communicate in the plurality of user identification cards.
3. The method of claim 1, further comprising:
after controlling the other user identification cards to stop working, monitoring whether the target program is switched from the foreground operation to the background operation;
and if the target program is switched to operate in the background, controlling the other user identification cards to work.
4. The method of claim 1, further comprising:
after controlling the other user identification cards to stop working, monitoring whether the target program stops running or not;
and if the target program stops running, controlling the other user identification cards to work.
5. The method of any of claims 1 to 4, further comprising:
and after controlling the other user identification cards to stop working, if receiving an instruction for controlling the other user identification cards to work, controlling the other user identification cards to work.
6. A sim card management apparatus adapted for a terminal including a plurality of sim cards, the apparatus comprising:
an operation determination module configured to determine whether the target program is operating;
an identification card determination module configured to determine, in a case where the target program is running, a target subscriber identity identification card used for the target program to communicate among the plurality of subscriber identity identification cards; and other user identification cards except the target user identification card carry out communication except the target program;
and the identification card control module is configured to control other user identification cards except the target user identification card in the plurality of user identification cards to stop working.
7. The apparatus of claim 6, wherein the run determination module is configured to determine whether a target program is running in the foreground;
and the identification card determining module determines a target user identification card used for communication of the target program in the plurality of user identification cards under the condition that the target program runs in the foreground.
8. The apparatus of claim 6, further comprising:
the foreground and background monitoring module is configured to monitor whether the target program is switched from foreground operation to background operation after controlling the other user identification cards to stop working;
the identification card control module is further configured to control the other user identification cards to work under the condition that the target program is switched to run in the background.
9. The apparatus of claim 6, further comprising:
the operation monitoring module is configured to monitor whether the target program stops operating or not after controlling the other user identification cards to stop operating;
the identification card control module is further configured to control the other user identification cards to work under the condition that the target program stops running.
10. The apparatus of any one of claims 6 to 9, further comprising:
an instruction receiving module configured to receive an instruction;
the identification card control module is further configured to control the other subscriber identity identification cards to work under the condition that the instruction receiving module receives an instruction for controlling the other subscriber identity identification cards to work after controlling the other subscriber identity identification cards to stop working.
11. An electronic device adapted for use with a terminal including a plurality of subscriber identity cards, the electronic device comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining whether a target program is running;
if the target program is running, determining a target user identification card used for the target program to communicate in the plurality of user identification cards; and other user identification cards except the target user identification card carry out communication except the target program;
and controlling other user identification cards except the target user identification card in the plurality of user identification cards to stop working.
12. A computer-readable storage medium, having stored thereon a computer program adapted for use in a terminal, the terminal comprising a plurality of subscriber identity cards, the program when executed by a processor implementing the steps of:
determining whether a target program is running;
if the target program is running, determining a target user identification card used for the target program to communicate in the plurality of user identification cards; and other user identification cards except the target user identification card carry out communication except the target program;
and controlling other user identification cards except the target user identification card in the plurality of user identification cards to stop working.
CN201710873730.6A 2017-09-25 2017-09-25 User identification card management method and user identification card management device Active CN107708106B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710873730.6A CN107708106B (en) 2017-09-25 2017-09-25 User identification card management method and user identification card management device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710873730.6A CN107708106B (en) 2017-09-25 2017-09-25 User identification card management method and user identification card management device

Publications (2)

Publication Number Publication Date
CN107708106A CN107708106A (en) 2018-02-16
CN107708106B true CN107708106B (en) 2021-01-15

Family

ID=61176123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710873730.6A Active CN107708106B (en) 2017-09-25 2017-09-25 User identification card management method and user identification card management device

Country Status (1)

Country Link
CN (1) CN107708106B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111343686B (en) * 2020-05-21 2021-10-01 北京小米移动软件有限公司 Data switching method and device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101951635A (en) * 2010-09-16 2011-01-19 展讯通信(上海)有限公司 Multi-card multi-standby communication device and gain tracking method of non-business card
CN102075630A (en) * 2011-01-21 2011-05-25 惠州Tcl移动通信有限公司 Mobile terminal capable of automatically switching standby mode of SIM card and method thereof
US8050705B2 (en) * 2006-10-12 2011-11-01 Dell Products L.P. Subscriber identity module unlocking service portal
CN102790960A (en) * 2012-06-30 2012-11-21 北京创毅讯联科技股份有限公司 Method, chip and terminal capable of achieving access of multi-mode communication modules to user identification card
CN104135757A (en) * 2014-06-20 2014-11-05 北京创毅视讯科技有限公司 Method and device of reducing power consumption of terminal as well as baseband chip
CN104159281A (en) * 2014-08-27 2014-11-19 深圳市中兴移动通信有限公司 A method and a device for saving electricity of a mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8874167B2 (en) * 2009-11-17 2014-10-28 Broadcom Corporation Method and system for multi-standby operation for a multi-SIM multi-standby communication device
US20150045041A1 (en) * 2013-08-12 2015-02-12 Qualcomm Incorporated Devices and methods for establishing transcoder-free communication paths with multi-sim devices
US20150079986A1 (en) * 2013-09-13 2015-03-19 Qualcomm Incorporated System and Methods for Optimizing Service Acquisition From Power Save Mode on a Multi-SIM Device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8050705B2 (en) * 2006-10-12 2011-11-01 Dell Products L.P. Subscriber identity module unlocking service portal
CN101951635A (en) * 2010-09-16 2011-01-19 展讯通信(上海)有限公司 Multi-card multi-standby communication device and gain tracking method of non-business card
CN102075630A (en) * 2011-01-21 2011-05-25 惠州Tcl移动通信有限公司 Mobile terminal capable of automatically switching standby mode of SIM card and method thereof
CN102790960A (en) * 2012-06-30 2012-11-21 北京创毅讯联科技股份有限公司 Method, chip and terminal capable of achieving access of multi-mode communication modules to user identification card
CN104135757A (en) * 2014-06-20 2014-11-05 北京创毅视讯科技有限公司 Method and device of reducing power consumption of terminal as well as baseband chip
CN104159281A (en) * 2014-08-27 2014-11-19 深圳市中兴移动通信有限公司 A method and a device for saving electricity of a mobile terminal

Also Published As

Publication number Publication date
CN107708106A (en) 2018-02-16

Similar Documents

Publication Publication Date Title
CN106790043B (en) Method and device for sending message in live broadcast application
CN109451877B (en) Unmanned aerial vehicle control method and device, unmanned aerial vehicle and remote control equipment
CN108810866B (en) Method and device for connecting intelligent equipment and storage medium
US11284398B2 (en) Communication link configuration method and device
CN107635074B (en) Method, apparatus and computer-readable storage medium for controlling alarm
CN107846730B (en) Call forwarding method and device
US20220256497A1 (en) Methods and apparatuses for receiving paging signaling, and methods and apparatuses for transmitting paging signaling
CN110622534B (en) MDT (minimization drive test) information sending method and device and MDT information receiving method and device
CN106507282B (en) Wireless connection control method and device
CN110383891B (en) Network switching resource determining method and network switching resource configuration method
CN105163290B (en) roaming prompting method and device
CN106535166B (en) Data service processing method and device
CN106170141B (en) Mobile terminal network switching method and device
CN106465160B (en) Network function switching method and device
CN107371222B (en) Virtual card disabling method and device
CN105227426B (en) Application interface switching method and device and terminal equipment
CN106933111B (en) Method and device for controlling equipment
CN106535147B (en) Communication signal processing method and device
CN106506808B (en) Method and device for prompting communication message
CN109787890B (en) Instant messaging method, device and storage medium
CN107708106B (en) User identification card management method and user identification card management device
CN108401518B (en) Channel coordination method and device
CN107277422B (en) Video call method, device and system
CN113016200B (en) Capability interaction method and device, interaction triggering method and device
CN106060104B (en) Application management method and device

Legal Events

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