Gating device, gating processing method and device, terminal and storage medium

By setting up a selection device and card slot structure in the terminal, up to two SIM cards can be selected to connect to the processor, solving the problem of difficulty in supporting multiple SIM cards in the prior art, and realizing simple and low-cost multi-card selection without changing the processor logic.

CN121603035APending Publication Date: 2026-03-03BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411132914.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-16
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Existing terminals only support dual SIM dual standby, making it difficult to support multiple SIM cards without changing the processor logic, resulting in high cost, high complexity, and unsuitability for most terminals.

Method used

A gating device, including a card slot and gating structure, is set in the terminal. Up to two SIM cards can be connected to the processor through selection instructions. Multi-card selection is achieved by utilizing the existing GPIO interface, avoiding major modifications to the processor.

Benefits of technology

It enables the simultaneous use of multiple SIM cards without changing the processor logic, simplifying operation, reducing costs, and providing strong adaptability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121603035A_ABST
    Figure CN121603035A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, in particular to a gating device, a gating processing method and device, a terminal and a computer readable storage medium. The device is arranged on a terminal, and comprises a card slot used for placing at least three SIM cards; the SIM card connecting structure comprises a plurality of connectors, the connectors correspond to the positions, used for placing the SIM cards, in the card slot, and the connectors are used for connecting the SIM cards placed at the corresponding positions; and the gating structure is used for conducting the processor with at most two connectors in the plurality of connectors based on a selection instruction according to the received selection instruction so as to select at most two SIM cards from the at least three SIM cards to be connected to the processor. A plurality of SIM cards can be loaded in the terminal, and at most two SIM cards in the plurality of SIM cards can be connected to the processor by arranging the gating device, so that multi-card standby selection is realized. The scheme disclosed by the invention is simpler, more convenient, high in adaptability and lower in cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of communication technology, and in particular to a gating device, gating processing method, apparatus, terminal and computer-readable storage medium. Background Technology

[0002] Currently, terminals only support dual SIM dual standby, meaning that two SIM (Subscriber Identity Module) cards can work simultaneously. However, users may hold more than two SIM cards, and in some scenarios, users may want to be able to use a single terminal to carry more than two SIM cards at the same time.

[0003] There are terminal design schemes that support three cards, but such schemes require significant logical modifications to the terminal system software, as well as the design of chips and supporting circuits. They are costly, complex, and not applicable to most terminals.

[0004] Therefore, the current challenge is to enable a terminal to support multiple SIM cards by making minor modifications to the existing dual-SIM dual-standby terminal solution without changing the original dual-SIM dual-standby control logic. Summary of the Invention

[0005] To overcome the problems existing in the related technologies, this disclosure provides a gating device, a gating processing method, an apparatus, a terminal, and a computer-readable storage medium, which can solve the above-mentioned problems.

[0006] According to a first aspect of the present disclosure, a gating device is provided, the device being disposed in a terminal, the device comprising: a card slot for holding at least three SIM cards; a SIM card connection structure including a plurality of connectors, the connectors corresponding to positions in the card slot for holding SIM cards, the connectors being used to connect the SIM cards placed at the corresponding positions; and a gating structure for connecting a processor to at most two of the plurality of connectors based on a received selection instruction, thereby selecting at most two SIM cards from the at least three SIM cards to connect to the processor.

[0007] According to a second aspect of the present disclosure, a gating processing method is provided, executed by a gating device as described in the first aspect, the method comprising: receiving a selection instruction issued by the processor; and selecting up to two SIM cards from at least three SIM cards to connect to the processor according to the control instruction.

[0008] According to a third aspect of the present disclosure, a gating processing apparatus is provided, performed by the gating apparatus as described in the first aspect, the apparatus comprising: a receiving unit configured to receive the selection instruction issued by the processor; and a selection unit configured to select up to two SIM cards from at least three SIM cards to be connected to the processor according to the control instruction.

[0009] According to a fourth aspect of the present disclosure, a terminal is provided, comprising: a gating device as described in the first aspect, and a processor.

[0010] According to a fifth aspect of the present disclosure, a computer-readable storage medium is provided having a computer program stored thereon that, when executed by a processor, implements the gating processing method as described in the second aspect.

[0011] The technical solutions provided by the embodiments of this disclosure may include the following beneficial effects:

[0012] The selection device disclosed herein allows the card slot to hold at least three SIM cards. Based on a received selection command, the selection device can select up to two SIM cards from the at least three SIM cards to connect to the terminal processor. This disclosure does not alter the processing logic of the processor in the terminal, making it adaptable to dual-SIM dual-standby terminal processors without requiring significant modifications to the processor-related circuitry. When multiple SIM cards can be installed in the terminal, by setting up the selection device, at most two of these SIM cards can be connected to the processor, achieving multi-SIM selection. The solution disclosed herein is simpler, more adaptable, and lower in cost.

[0013] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0014] The accompanying drawings, which are incorporated in and form part of this disclosure, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.

[0015] Figure 1 This is a schematic diagram of a gating device according to an exemplary embodiment of the present disclosure.

[0016] Figure 2 This is a schematic diagram of a gating structure according to an exemplary embodiment of the present disclosure.

[0017] Figure 3 This disclosure is a schematic diagram illustrating the architecture of the control logic of a gating device according to an exemplary embodiment.

[0018] Figure 4This is a schematic flowchart illustrating a gating process method according to an exemplary embodiment of the present disclosure.

[0019] Figure 5 This is a schematic diagram illustrating a display of a SIM card identifier according to an exemplary embodiment of the present disclosure.

[0020] Figure 6 This is a block diagram illustrating a gating processing apparatus according to an exemplary embodiment of the present disclosure.

[0021] Figure 7 This is a schematic block diagram of a gating processing apparatus according to an exemplary embodiment of the present disclosure. Detailed Implementation

[0022] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this disclosure. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this disclosure as detailed in the appended claims.

[0023] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The singular forms “a,” “the,” and “the” as used in this disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.

[0024] It should be understood that although the terms first, second, third, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are used only to distinguish information of the same type from one another. For example, without departing from the scope of this disclosure, first information may also be referred to as second information, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."

[0025] In a dual-SIM dual-standby solution, the two SIM cards are designated as primary and secondary, with different channel priorities. The primary and secondary SIM cards are placed in a SIM card tray. When the tray inserts both SIM cards into the slots, the chip contacts (gold fingers) of the primary and secondary SIM cards respectively contact the two SIM card connectors inside the terminal. These connectors then connect to the two GPIO (General Purpose Input / Output) interfaces on the terminal processor, thus enabling dual-SIM dual-standby.

[0026] With the maturity of dual SIM dual standby solutions, the dual SIM standby logic of current terminal processors on the software side is mature and stable. This means that if a terminal is to support more SIM cards at the same time, it requires significant modifications to the terminal processor, which is difficult, costly, and has poor versatility.

[0027] To address the aforementioned technical problems, this disclosure proposes a gating device.

[0028] Figure 1 This is a schematic diagram illustrating the structure of a gating device according to an embodiment of the present disclosure. The gating device can be disposed in a terminal 100. The terminal 100 includes, but is not limited to, communication devices such as mobile phones, tablets, wearable devices, sensors, and Internet of Things devices.

[0029] like Figure 1 As shown, the gating device includes:

[0030] Card slot 110 is for holding at least three SIM cards;

[0031] The SIM card connection structure includes multiple connectors, each connector corresponding to a position in the card slot 110 for placing a SIM card, and the connector is used to connect the SIM card placed in the corresponding position.

[0032] The strobe structure 120 is configured to connect the processor to up to two of the plurality of connectors based on a received selection instruction, so as to select up to two SIM cards from the at least three SIM cards to be connected to the processor 130.

[0033] It should be noted that some circuits between the card slot 110, the SIM card connection structure, the selection structure 120, and the processor 130 have been omitted.

[0034] In some embodiments, card slot 110 may include a card tray and a card insertion slot.

[0035] The SIM card tray is used to hold the SIM card. The tray has pre-set positions for the SIM card, such as... Figure 1The dotted line on the SIM card slot 110 is shown. Inserting the SIM card tray containing the SIM card into the SIM card slot allows the SIM card to be connected to the terminal. It should be noted that subsequent embodiments of this disclosure do not strictly distinguish between the concepts of SIM card tray and SIM card slot; the SIM card slot can be considered as the tray that holds the SIM card.

[0036] In some embodiments, the card slot 110 is used to hold at least three SIM cards.

[0037] The card slot 110 can have at least three slots arranged side-by-side for placing SIM cards. For example... Figure 1 As shown, the card slot 110 has three card slots arranged side by side, which can accommodate three SIM cards. Furthermore, in some embodiments, the card slot 110 can also accommodate SIM cards on both sides of a predetermined SIM card placement position. For example... Figure 1 As shown, each of the three card slots in the card slot 110 can hold one SIM card on both sides, so the card slot 110 can hold a maximum of six SIM cards.

[0038] The requirement is at least three and no more than eight. Due to the limited internal space of the terminal, it is generally difficult to leave enough space inside the terminal to accommodate more than eight SIM cards. Therefore, the number of SIM cards placed in the card slot can not exceed eight.

[0039] In some embodiments, the gating structure 120 may, based on a received selection instruction, connect the processor to up to two of the plurality of connectors to select up to two SIM cards from at least three SIM cards to connect to the processor 130.

[0040] The strobe structure 120 can select up to two SIM cards from at least three SIM cards in the card slot 110 to connect to the processor 130, while the remaining SIM cards remain disconnected. The strobe structure 120 can switch the SIM cards connected to the processor 130 according to a selection command; it can connect disconnected SIM cards to the processor 130 or disconnect SIM cards connected to the processor 130. At most two SIM cards can be connected to the processor 130 at any given time.

[0041] Since the number of SIM cards connected to the processor 130 is still two, the solution proposed in this disclosure does not actually require much modification to the processor 130 of the terminal. The processor 130 still needs to retain two GPIO interfaces for connecting to at most two SIM cards.

[0042] In some embodiments, the strobe structure 120 may also select a first number of SIM cards currently connected to the processor 130 to switch to another first number of SIM cards according to the received switching instruction, wherein the first number is less than or equal to 2.

[0043] With a first number of SIM cards already connected to the processor 130, a switching command can be used to disconnect a portion of the SIM cards connected to the processor 130 and connect the remaining SIM cards to the processor 130, thus completing the SIM card switching. Since the processor 130 supports a maximum of two SIM cards working simultaneously, the first number is less than or equal to two.

[0044] The gating device proposed in this disclosure, without altering the processing logic and interface of the existing terminal processor, can improve the card slot and set a gating structure to enable a terminal to store at least three SIM cards and select up to two SIM cards to connect to the processor. This meets the needs of users who want to use three or more SIM cards in one terminal. In related technologies, since the card slot can only hold two SIM cards, whenever a user needs to use a third SIM card in addition to the two SIM cards already connected to the processor, the card slot must be ejected, and the third SIM card must be unloaded and reinstalled. However, in the solution of this disclosure, three or more SIM cards can be inserted into the card slot at once using the gating device proposed in this disclosure. When a third SIM card is needed, the SIM card switching can be achieved simply and conveniently by selecting and activating the third SIM card.

[0045] Figure 2 This is a schematic diagram of a gating structure according to an embodiment of the present disclosure.

[0046] In some embodiments, the SIM card connection structure 210 includes a plurality of connectors, the connectors corresponding to positions in the card slot for placing SIM cards, and the connectors being used to connect to the SIM cards placed at the corresponding positions.

[0047] by Figure 2 For example, card slot 110 can hold SIM cards on both the front and back. Figure 2 The two SIM card slots can actually accommodate a total of four SIM cards. At position A in the diagram, the SIM card connection structure 210 may include a SIM card connector A1 corresponding to the front of the position and a SIM card connector A2 corresponding to the back of the position. Similarly, position B may include connectors B1 and B2.

[0048] Based on these connectors, when a terminal is inserted into the card slot 110, the gold fingers of the correctly placed SIM card in the card slot 110 can connect with the corresponding connector, thereby connecting the SIM card to the terminal. It should be noted that SIM card access to the terminal does not necessarily mean access to the processor. In the technical scenario disclosed herein, at least three SIM card access terminals can exist simultaneously; however, the number of SIM cards simultaneously accessing the processor does not exceed two.

[0049] like Figure 2 As shown, in some embodiments, the gating structure 120 may include:

[0050] The strobe chip 220 includes a first pin 230 and a plurality of second pins 240. The first pin 230 is connected to the processor 120, and the plurality of second pins 240 are respectively connected to the connector 210.

[0051] The first pin 230 is turned on by at most two of the plurality of second pins 240 based on a selection command.

[0052] It should be noted that, Figure 2 This is merely a feasible embodiment and should not be construed as limiting the technical solutions of this disclosure.

[0053] In some embodiments, the strobe chip 220 includes a first pin 230 and a plurality of second pins 240, wherein the first pin 230 is connected to the processor 120 and the plurality of second pins 240 are respectively connected to the connector 210.

[0054] by Figure 2 For example, the first pin 230 may include first pin a and first pin b, which are respectively connected to two GPIO interfaces provided on the processor 120 (these two interfaces are also the interfaces on the processor that connect to the SIM card in the dual-SIM dual-standby solution). The second pin 240 is connected to the connector 210. For example, second pin A1 is connected to connector A1, second pin A2 is connected to connector A2, second pin B1 is connected to connector B1, and second pin B2 is connected to connector B2.

[0055] In some embodiments, the first pin and the second pin can be a single pin or a group of pins formed by multiple pins.

[0056] The number of pins in a first pin and / or a second pin can be determined based on the number of contacts on the connector that connects to the SIM card. For example, if a single SIM card has 3 gold fingers, then there are 3 contacts on the corresponding connector, and the number of pins corresponding to the second pin of the connector connected to these 3 contacts is also 3. The number of pins on the first pin and the interface on the processor are also 3.

[0057] In some embodiments, the first pin 230 is turned on with up to two of the plurality of second pins 240 based on a selection instruction.

[0058] A selection circuit can be provided between the first pin 230 and the second pin 240 on the selection chip 220, so that when the selection chip 220 receives a selection command, the first pin 230 can select up to two second pins 240 from a plurality of second pins 240 to be turned on, so that the selected second pins 240 can be connected to the processor, thereby connecting the SIM card corresponding to the selected second pins 240 to the processor and putting the SIM card into working state.

[0059] In some embodiments, the strobe chip 220 includes two first pins 230 and two control pins, wherein the control pins correspond to the first pins 230 and are used to adjust the second pins 240 that are connected to the corresponding first pins 230 according to the selection instruction.

[0060] These two control pins can be control pin 1 and control pin 2. Each control pin corresponds to a first pin 230. According to the received selection command, the control pin can adjust the second pin 240 that is turned on by the corresponding first pin 230.

[0061] In some embodiments, the strobe chip includes four second pins, wherein one of the first pins is configured to be connected to two of the four second pins, and another of the first pins is configured to be connected to the other two of the four second pins.

[0062] by Figure 2 For example, the first pin a can be used to connect with the second pins A1 and A2, and the first pin b can be used to connect with the second pins B1 and B2. Control pin 1 corresponds to the first pin a, and control pin 2 corresponds to the first pin b.

[0063] In some embodiments, the control pin is used to adjust the second pin 240 that is connected to the corresponding first pin 230 according to the selection instruction, including: when the control pin receives a high-level signal, controlling the corresponding first pin to be connected to a second pin; when the control pin receives a low-level signal, controlling the corresponding first pin to be connected to another second pin.

[0064] by Figure 2 For example, when control pin 1 receives a high-level signal, the first pin a and the second pin A1 are connected; when control pin 1 receives a low-level signal, the first pin a and the second pin A2 are connected.

[0065] This embodiment is only an example. In actual operation, the selection instruction is not limited to high and low level signals, and the correspondence between the first pin and the second pin can also be changed. For example, in one scenario, the first pin a corresponds to the second pin A1 and the second pin A2, while in another scenario, the first pin a can correspond to the second pin A1 and the second pin B2.

[0066] The second pin 240, which is connected to the corresponding first pin 230, is adjusted by controlling the pin, which is a simple and reliable method.

[0067] The gating structure proposed in this disclosure is simple to construct, has low cost, and is easy to implement.

[0068] Figure 3 This is a schematic diagram illustrating the architecture of the control logic of a gating device according to an embodiment of the present disclosure.

[0069] like Figure 3 As shown, the design can proceed from the Android Framework layer all the way down to the gating chip layer, reaching the point where high and low level drive functions provided by the chip manufacturer can be called. At the Android Framework layer, a multi-SIM card management program (MultiSimManager.java) and a multi-SIM card service program (MultiSimManagerService.java) can be created. Through the JNI (Java Native Interface) call bridge (com_android_xxxx.cpp) function, selection instructions are sent to the gating chip. The gating chip contains a Linux kernel and driver logic. Based on this Linux kernel and driver logic, the function GPIO_Control_Pin_Status(gpio_tpin, boolean output) is called to control the state of the GPIO pins. In this embodiment, (pin=1, output=1) represents sending a high-level signal to control pin 1 on the gating chip, and (pin=2, output=0) represents sending a low-level signal to control pin 2 on the gating chip. As described above... Figure 2 In the example embodiment, these two selection commands (level signals) can make the second pin A1 conduct with the first pin a, and can make the second pin B2 conduct with the second pin b.

[0070] Figure 4This is a schematic flowchart illustrating a gating process according to an embodiment of the present disclosure. The gating process can be executed by the gating device in the above embodiment. The gating device is set on a terminal, which includes, but is not limited to, communication devices such as mobile phones, tablets, wearable devices, sensors, and Internet of Things devices.

[0071] like Figure 4 As shown, the gating processing method includes:

[0072] In step S401, the selection instruction issued by the processor is received;

[0073] In step S402, at most two SIM cards are selected from the at least three SIM cards and connected to the processor according to the control command.

[0074] In some embodiments, the gating device may receive a selection instruction from the terminal processor.

[0075] The selection command can be triggered by the user. The specific triggering method will be described in detail below, and will not be elaborated here.

[0076] In some embodiments, the gating device may select up to two SIM cards from the at least three SIM cards to connect to the processor, according to the control instructions.

[0077] Once a SIM card is connected to the processor, it will be in working condition. Based on the processor's design, up to two SIM cards can be used simultaneously.

[0078] In some embodiments, the method further includes: obtaining information for each SIM card; and displaying an identifier for each SIM card.

[0079] The SIM card detection program can be triggered when the user inserts or removes the card from the card slot.

[0080] Since there are at least three slots in the card slot to hold SIM cards, which exceeds the number of SIM cards that the processor can handle at one time (a dual-standby processor can handle a maximum of two SIM cards at a time), and in actual applications, users may not fill the card slot with SIM cards, it is necessary to obtain the information of each SIM card individually.

[0081] In some embodiments, obtaining information about each SIM card may include: sequentially turning on the second pins to the processor according to a selection instruction, so that the processor can obtain whether the connector corresponding to each second pin is connected to a SIM card, and if the connector is connected to a SIM card, obtaining the information of that SIM card.

[0082] For example, a card slot may have four slots, accommodating up to four SIM cards. However, since it's uncertain whether the user has inserted four SIM cards, each slot needs to be individually connected to the processor. If the processor can read the SIM card information after connection, it indicates that a SIM card is present in that slot. If the processor cannot read the SIM card information after connection, it indicates that a SIM card is not present in that slot or that the SIM card is faulty.

[0083] In some embodiments, after obtaining information about all SIM cards, the processor can be enabled by default with the first and second SIM cards out of at least three SIM cards.

[0084] At least three SIM cards can have a priority order, and the SIM card that is connected to the processor by default can be selected based on the priority order.

[0085] The above-described connection of the second pin to the processor is merely a feasible and easily understood example and should not be construed as limiting the scope of this disclosure.

[0086] Figure 5 This is a schematic diagram illustrating a display of a SIM card identifier according to an embodiment of the present disclosure.

[0087] In some embodiments, the information of the read SIM cards can be displayed, and the identifier of each read SIM card can be displayed on the terminal interface.

[0088] like Figure 5 As shown, the identifiers of a SIM card may include, but are not limited to: SIM card serial number, operator, SIM card corresponding number, balance, and working status.

[0089] In some embodiments, the method further includes: generating a selection instruction in response to receiving a first operation identifying a first SIM card among the at least three SIM cards, wherein the selection instruction is used to trigger the selection of the first SIM card to connect to the processor; and / or generating a disconnect instruction in response to receiving a second operation identifying a first SIM card among the at least three SIM cards, wherein the disconnect instruction is used to trigger the selection of the first SIM card to disconnect from the processor.

[0090] Users can trigger the first action based on the identifier displayed on a non-working SIM card, for example, by... Figure 5 For example, the first operation could be a user clicking the virtual "ON" button on the first SIM card, or a user clicking the identifier of the first SIM card. After triggering the first operation, a selection command can be generated to instruct the first SIM card to be connected to the processor.

[0091] The user can trigger a second operation by the identifier displayed on the SIM card when it is in operation, in order to disconnect the SIM card from the processor.

[0092] In some embodiments, if two SIM cards are already connected to the processor when a first operation is received in response to the identification of the first SIM card among the at least three SIM cards, then either of the two SIM cards is first disconnected from the processor, and then the first SIM card is connected to the processor.

[0093] Since the processor can only support two SIM cards in active state at a time, it cannot communicate with three SIM cards simultaneously. Therefore, if there are two active SIM cards and the first operation is triggered on another SIM card, one of the two active SIM cards must be deactivated before the other SIM card can be activated.

[0094] In some embodiments, selecting either of the two SIM cards to disconnect from the processor may include:

[0095] Issue a prompt indicating that the first SIM card can only be reconnected to the processor after any selected SIM card has been disconnected from the processor; and / or,

[0096] Randomly select either of the two SIM cards and disconnect it from the processor.

[0097] In some embodiments, in response to two second SIM cards being connected to the processor, and the two second SIM cards not including the first SIM card, upon receiving the selection instruction, at least one of the following is triggered: triggering the selection of the first SIM card to be connected to the processor, and triggering the selection of an unused SIM card among the two second SIM cards to be disconnected from the processor; triggering the selection of the first SIM card to be connected to the processor, and triggering the selection of a secondary SIM card among the two second SIM cards to be disconnected from the processor.

[0098] When two SIM cards are already connected to the processor, and the first operation on the first SIM card is triggered, it is necessary to disconnect at least one of the two connected SIM cards from the processor. One possible approach is to determine the priority order of the two connected SIM cards, select the SIM card that is not currently in use by the terminal to disconnect, and / or select the secondary SIM card to disconnect.

[0099] In this embodiment, if the terminal is using one SIM card, the other SIM card is in an unused state. For example, if the terminal is using data traffic on one SIM card or is communicating through one SIM card, the other SIM card can be considered unused. Selecting the unused SIM card to disconnect during disconnection avoids disconnecting the SIM card in use, which could affect terminal functionality and user experience.

[0100] If both SIM cards are inactive, the secondary SIM card will be disconnected. Compared to the primary SIM card, the secondary SIM card is used less frequently, so disconnecting it reduces the impact on the device.

[0101] Corresponding to the embodiments of the gating processing method of this disclosure, this disclosure also provides embodiments of a corresponding gating processing apparatus.

[0102] Please see Figure 6 , Figure 6 This is a block diagram of a gating processing apparatus according to one embodiment of the present disclosure. The gating processing apparatus is performed by the gating apparatus described in the above embodiments.

[0103] like Figure 6 As shown, the gating processing device includes:

[0104] The receiving unit 610 is configured to receive the selection instruction issued by the processor;

[0105] Selection unit 620 is configured to select up to two SIM cards from the at least three SIM cards and connect them to the processor according to the control instructions.

[0106] In some embodiments, the device is further configured to: acquire information for each of the SIM cards; and display an identifier for each of the SIM cards.

[0107] In some embodiments, the apparatus is further configured to: generate a selection instruction in response to receiving a first operation identifying a first SIM card among the at least three SIM cards, wherein the selection instruction is used to trigger the selection of the first SIM card to connect to the processor; and / or, generate a disconnect instruction in response to receiving a second operation identifying a first SIM card among the at least three SIM cards, wherein the disconnect instruction is used to trigger the selection of the first SIM card to disconnect from the processor.

[0108] In some embodiments, in response to two second SIM cards being connected to the processor, and the two second SIM cards not including the first SIM card, upon receiving the selection instruction, at least one of the following is triggered: triggering the selection of the first SIM card to be connected to the processor, and triggering the selection of an unused SIM card among the two second SIM cards to be disconnected from the processor; triggering the selection of the first SIM card to be connected to the processor, and triggering the selection of a secondary SIM card among the two second SIM cards to be disconnected from the processor.

[0109] The specific implementation process of the functions and roles of each unit in the above device can be found in the implementation process of the corresponding steps in the above method, and will not be repeated here.

[0110] Embodiments of this disclosure also propose a terminal, including: the gating device described in the above embodiments, and a processor. The terminal includes, but is not limited to, communication devices such as mobile phones, tablets, wearable devices, sensors, and IoT devices.

[0111] Embodiments of this disclosure also provide an electronic device, including: a processor and a memory; the memory for storing a computer program; and the processor for executing a gating process method as described in any of the above embodiments by invoking the computer program.

[0112] Embodiments of this disclosure also provide a computer-readable storage medium having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the gating processing method as described in any of the above embodiments.

[0113] Figure 7 This is a schematic block diagram illustrating a gating processing apparatus 700 according to embodiments of the present disclosure. For example, apparatus 700 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness equipment, personal digital assistant, etc.

[0114] Reference Figure 7 The device 700 may include one or more of the following components: processing component 702, memory 704, power supply component 706, multimedia component 708, audio component 710, input / output (I / O) interface 712, sensor component 714, and communication component 716.

[0115] Processing component 702 typically controls the overall operation of device 700, such as operations associated with display, telephone calls, data communication, camera operation, and recording. Processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the information receiving method described above. Furthermore, processing component 702 may include one or more modules to facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.

[0116] Memory 704 is configured to store various types of data to support the operation of device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, etc. Memory 704 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 storage, flash memory, magnetic disk, or optical disk.

[0117] Power supply assembly 706 provides power to the various components of device 700. Power supply assembly 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to device 700.

[0118] Multimedia component 708 includes a screen that provides an output interface between the device 700 and the 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 touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 708 includes a front-facing camera and / or a rear-facing camera. When the device 700 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0119] Audio component 710 is configured to output and / or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when device 700 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 704 or transmitted via communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.

[0120] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0121] Sensor assembly 714 includes one or more sensors for providing state assessments of various aspects of device 700. For example, sensor assembly 714 may detect the on / off state of device 700, the relative positioning of components such as the display and keypad of device 700, changes in the position of device 700 or a component of device 700, the presence or absence of user contact with device 700, the orientation or acceleration / deceleration of device 700, and temperature changes of device 700. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 714 may also include an accelerometer, a gyroscope, a magnetometer, a pressure sensor, or a temperature sensor.

[0122] Communication component 716 is configured to facilitate wired or wireless communication between device 700 and other devices. Device 700 can access wireless networks based on communication standards, such as WiFi, 2G, 3G, 4G LTE, 5G NR, or combinations thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 716 also includes a near-field communication (NFC) module to facilitate short-range communication. 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.

[0123] In an exemplary embodiment, the apparatus 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the information receiving method described above.

[0124] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, which can be executed by the processor 720 of the device 700 to complete the above-described information receiving method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0125] Other embodiments of this disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure herein. This disclosure is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this disclosure are indicated by the following claims.

[0126] It should be understood that this disclosure is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this disclosure is limited only by the appended claims.

[0127] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0128] The methods and apparatus provided in the embodiments of this disclosure have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this disclosure. The descriptions of the embodiments above are only for the purpose of helping to understand the methods and core ideas of this disclosure. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this disclosure. Therefore, the content of this specification should not be construed as a limitation of this disclosure.

Claims

1. A gating device, characterized in that, The device is disposed in a terminal, and the device includes: Card slot, for holding at least three SIM cards; A SIM card connection structure includes multiple connectors, each connector corresponding to a position in the card slot for placing a SIM card, and the connector is used to connect the SIM card placed in the corresponding position. A gating structure is used to connect the processor to up to two of the plurality of connectors based on a received selection instruction, so as to select up to two SIM cards from the at least three SIM cards to be connected to the processor.

2. The apparatus according to claim 1, characterized in that, The gating structure includes: The strobe chip includes a first pin and a plurality of second pins, wherein the first pin is connected to the processor and the plurality of second pins are respectively connected to the connector; The first pin is connected to at most two of the plurality of second pins based on a selection command.

3. The apparatus according to claim 2, characterized in that, The selection chip includes two first pins and two control pins, wherein the control pins correspond to the first pins and are used to adjust the second pins that are connected to the corresponding first pins according to the selection command.

4. The apparatus according to claim 2, characterized in that, The gating chip includes four second pins, wherein one of the first pins is used to connect with two of the four second pins, and the other of the first pins is used to connect with the other two of the four second pins.

5. A terminal, characterized in that, The terminal includes: The gating device according to any one of claims 1-4; The processor.

6. A gating processing method, characterized in that, The method, executed by the terminal of claim 5, comprises: The selection instruction issued by the processor is received; According to the control instructions, at most two SIM cards are selected from the at least three SIM cards and connected to the processor.

7. The method according to claim 6, characterized in that, The method further includes: Obtain information for each of the SIM cards; Display the identifier for each of the SIM cards.

8. The method according to claim 7, characterized in that, The method further includes: In response to receiving a first operation identifying the first SIM card among the at least three SIM cards, a selection instruction is generated, wherein the selection instruction is used to trigger the selection of the first SIM card to connect to the processor; and / or, In response to receiving a second operation identifying the first SIM card among the at least three SIM cards, a disconnect command is generated, wherein the disconnect command is used to trigger the selection of the first SIM card to disconnect from the processor.

9. The method according to claim 8, characterized in that, In response to two second SIM cards being connected to the processor, and the two second SIM cards not including the first SIM card, upon receiving the selection instruction, at least one of the following is triggered: Trigger selection to connect the first SIM card to the processor, and trigger selection to disconnect the unused SIM card among the two second SIM cards from the processor; The system triggers the selection of the first SIM card to connect to the processor, and triggers the selection of the two secondary SIM cards to disconnect from the processor.

10. A gating processing device, characterized in that, Configured in the terminal of claim 5, the device includes: The receiving unit is configured to receive the selection instruction issued by the processor; The selection unit is configured to select up to two SIM cards from the at least three SIM cards and connect them to the processor, according to the control instructions.

11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the gating process method as described in any one of claims 6-9.