CN113472548A - Electronic card control method, electronic card and terminal - Google Patents

Electronic card control method, electronic card and terminal Download PDF

Info

Publication number
CN113472548A
CN113472548A CN202010246561.5A CN202010246561A CN113472548A CN 113472548 A CN113472548 A CN 113472548A CN 202010246561 A CN202010246561 A CN 202010246561A CN 113472548 A CN113472548 A CN 113472548A
Authority
CN
China
Prior art keywords
electronic card
chip
control interface
main control
apdu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010246561.5A
Other languages
Chinese (zh)
Inventor
陶震
成进
董帅甫
罗嵩
刘禹轩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN202010246561.5A priority Critical patent/CN113472548A/en
Publication of CN113472548A publication Critical patent/CN113472548A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application provides a control method of an electronic card, the electronic card and a terminal, wherein the electronic card comprises a main control interface chip and a plurality of electronic card chips connected with the main control interface chip, and the method comprises the following steps: the main control interface chip determines a target electronic card chip from the plurality of electronic card chips; the main control interface chip controls the target electronic card chip to enter a working state and keeps electronic card chips except the target electronic card chip in a non-working state. The starting control method has the advantages that the original circuit interface can be used on the basis that the physical structure of the original circuit interface of the terminal is not changed, and the starting control of a plurality of electronic card chips with the capacity of being capable of being accessed to a plurality of operator networks through one electronic card by the terminal is realized.

Description

Electronic card control method, electronic card and terminal
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a control method for an electronic card, an electronic card and a terminal.
Background
The internet of things technology is the third information technology revolution after computers and the internet, has the characteristics of real-time performance and interactivity, and is widely applied to multiple fields of city management, digital families, positioning navigation, logistics management, security systems and the like.
The Internet of things card is a traffic card provided by an operator and meeting the networking requirements of an intelligent terminal and the management requirements of the Internet of things industry on terminal networking. The Internet of things card and the telephone card are mounted in the same way and are mounted in the card slot of the terminal. At present, a plurality of terminals are only provided with one card slot, so that the terminal can only be provided with one internet of things card, only has the capability of accessing a single operator network, and cannot have the capability of accessing a plurality of operator networks.
Disclosure of Invention
In view of the above problems, embodiments of the present application are proposed to provide a control method of an electronic card, an electronic card and a terminal that overcome or at least partially solve the above problems.
In order to solve the above problem, an embodiment of the present application discloses a method for controlling an electronic card, where the electronic card includes a main control interface chip and a plurality of electronic card chips connected to the main control interface chip, and the method includes:
the main control interface chip determines a target electronic card chip from the plurality of electronic card chips;
the main control interface chip controls the target electronic card chip to enter a working state and keeps electronic card chips except the target electronic card chip in a non-working state.
Optionally, the determining, by the master control interface chip, a target electronic card chip from the plurality of electronic card chips includes:
the main control interface chip acquires target chip information from a preset nonvolatile memory;
and the main control interface chip adopts the target chip information to determine a target electronic card chip from the plurality of electronic card chips.
Optionally, the method further comprises:
the master control interface chip receives an Application Protocol Data Unit (APDU) instruction;
the master control interface chip executes the APDU instruction; or, forwarding the APDU command to the target electronic card chip, and receiving a response message or an active command returned by the target electronic card chip.
Optionally, the main control interface chip is connected to an external circuit interface, and the main control interface chip receives an application protocol data unit APDU instruction, including:
and the master control interface chip receives the APDU command sent by the circuit interface.
Optionally, the master control interface chip executes the APDU instruction; or, forwarding the APDU command to the target electronic card chip, and receiving a response message or an active command returned by the target electronic card chip, including:
The master control interface chip judges whether the APDU instruction is a preset instruction or not;
if the APDU instruction is the preset instruction, the master control interface chip executes the APDU instruction;
if the APDU command is not the preset command, the main control interface chip forwards the APDU command to the target electronic card chip and receives a response message or an active command returned by the target electronic card chip.
Optionally, the method further comprises:
and the main control interface chip sends the response message or the active command to the circuit interface.
Optionally, the controlling the target electronic card chip to enter a working state by the main control interface chip, and keeping the electronic card chips except the target electronic card chip in a non-working state includes:
and the main control interface chip controls the target electronic card chip to be electrified and started, and keeps electronic card chips except the target electronic card chip not to be electrified.
The embodiment of the application also discloses a control method of the electronic card, wherein the electronic card comprises a main control interface chip and a plurality of electronic card chips connected with the main control interface chip; the method comprises the following steps:
the master control interface chip receives an APDU instruction;
The master control interface chip executes the APDU instruction; or, forwarding the APDU command to a target electronic card chip in the plurality of electronic card chips, and receiving a response message or an active command returned by the target electronic card chip.
The embodiment of the present application further discloses an electronic card, including:
the electronic card comprises a main control interface chip and a plurality of electronic card chips connected with the main control interface chip;
the main control interface chip is used for determining a target electronic card chip from the plurality of electronic card chips; and controlling the target electronic card chip to be electrified and started, and keeping electronic card chips except the target electronic card chip not to be electrified.
Optionally, the main control interface chip is configured to obtain target chip information from a preset nonvolatile memory; and determining a target electronic card chip from the plurality of electronic card chips by adopting the target chip information.
Optionally, the master control interface chip is further configured to receive an APDU instruction; executing the APDU instruction; or, forwarding the APDU command to the target electronic card chip, and receiving a response message or an active command returned by the target electronic card chip.
Optionally, the master control interface chip is connected with an external circuit interface;
And the main control interface chip is used for receiving the APDU command sent by the circuit interface.
Optionally, the master control interface chip is configured to determine whether the APDU instruction is a preset instruction; if the APDU instruction is the preset instruction, executing the APDU instruction; and if the APDU instruction is not the preset instruction, forwarding the APDU instruction to the target electronic card chip, and receiving a response message or an active command returned by the target electronic card chip.
Optionally, the main control interface chip is further configured to send the response message or the active command to the circuit interface.
Optionally, the main control interface chip is configured to control the target electronic card chip to be powered on and started, and keep electronic card chips except the target electronic card chip not powered on.
The embodiment of the present application further discloses an electronic card, including:
the electronic card comprises a main control interface chip and a plurality of electronic card chips connected with the main control interface chip;
the master control interface chip is used for receiving an APDU instruction; executing the APDU instruction; or, forwarding the APDU command to a target electronic card chip in the plurality of electronic card chips, and receiving a response message or an active command returned by the target electronic card chip.
The embodiment of the application further discloses a terminal, which includes: a circuit interface and an electronic card; the electronic card comprises a main control interface chip connected with the circuit interface and a plurality of electronic card chips connected with the main control interface chip;
the main control interface chip is used for determining a target electronic card chip from the plurality of electronic card chips; and controlling the target electronic card chip to enter a working state and keeping electronic card chips except the target electronic card chip in a non-working state.
The embodiment of the application further discloses a terminal, which includes: a circuit interface and an electronic card; the electronic card comprises a main control interface chip connected with the circuit interface and a plurality of electronic card chips connected with the main control interface chip;
the master control interface chip is used for receiving an APDU instruction; executing the APDU instruction; or, forwarding the APDU command to a target electronic card chip in the plurality of electronic card chips, and receiving a response message or an active command returned by the target electronic card chip.
The embodiment of the application also discloses a device, including:
one or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform one or more methods as described above.
One or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform one or more methods as described above, are also disclosed.
The embodiment of the application has the following advantages:
in the embodiment of the application, the main control interface chip can determine a target electronic card chip from a plurality of electronic card chips; and controlling the target electronic card chip to enter a working state and keeping the electronic card chips except the target electronic card chip in a non-working state, thereby realizing the control of the starting of different electronic card chips. The starting control method has the advantages that the original circuit interface can be used on the basis that the physical structure of the original circuit interface of the terminal is not changed, and the starting control of a plurality of electronic card chips with the capacity of being capable of being accessed to a plurality of operator networks through one electronic card by the terminal is realized.
In the embodiment of the application, the master control interface chip can receive an APDU command; executing an APDU instruction; or, the APDU command is forwarded to the target electronic card chip, and a response message or an active command returned by the target electronic card chip is received, so that the APDU command is communicated between the main control interface chip and the electronic card chip, and the electronic card chip is communicated with an operator network.
Drawings
FIG. 1 is a block diagram of an electronic card embodiment 1 of the present application;
FIG. 2 is a flowchart illustrating the activation of an electronic card chip according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating the activation of an electronic card chip according to an embodiment of the present application;
FIG. 4 is a flowchart illustrating steps of embodiment 1 of a method for controlling an electronic card according to the present application;
fig. 5 is a flowchart illustrating steps of an electronic card control method according to embodiment 2 of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
In order to be able to make a terminal with only a single card slot also capable of connecting to multiple operator networks. One of the core concepts of the embodiments of the present application is to provide a novel electronic card, which has a plurality of electronic card chips, and can use the original circuit interface on the basis of not changing the physical structure of the original circuit interface of the terminal, so that the terminal can access a plurality of operator networks through the electronic card chips of the electronic card.
The electronic card of the embodiment of the application can include, but is not limited to, an internet of things card, a SIM card of a mobile phone, a mini-SIM card, a micro-SIM card, a na-SIM card, and the like.
Referring to fig. 1, a structural diagram of an electronic card embodiment 1 of the present application is shown, where the electronic card may specifically include: the electronic card comprises a main control interface chip 10 and a plurality of electronic card chips 11 connected with the main control interface chip 10; a main control interface chip 10 for determining a target electronic card chip from the plurality of electronic card chips 11; and controlling the target electronic card chip to enter a working state and keeping electronic card chips except the target electronic card chip in a non-working state.
The main control interface chip 10 provides main control logic for the electronic card, and implements work control on a plurality of electronic card chips 11.
The electronic card chip 11 is a chip capable of providing access to a network of an operator, and a plurality of electronic card chips 11 can be respectively accessed to a plurality of networks of the operator. When the electronic card works, only one electronic card chip 11 in the electronic card enters the working state at the same moment, and the rest electronic card chips 11 are kept in the non-working state.
In the embodiment of the present application, the main control interface chip 10 supplies power to the target electronic card chip, so that the target electronic card chip is powered on and started and enters a working mode to perform normal operation.
The main control interface chip 10 keeps the electronic card chips except the target electronic card chip in a non-working state.
The electronic card chip being in the non-working state may include: the electronic card chip is not electrified, or the electronic card chip is electrified but is in a sleep mode, and the electronic card chip does not normally work in the sleep mode.
In practice, the terminal is provided with a circuit interface for connection to the electronic card. For example, the existing terminal with only one card slot is provided with a circuit interface to connect with the SIM card. The electronic card of the application can use the original circuit interface on the basis of not changing the physical structure of the original circuit interface of the terminal, and the main control interface chip 10 obtains the power supply starting of the circuit interface.
In this embodiment, the main control interface chip 10 is configured to obtain target chip information from a preset nonvolatile memory; and determining a target electronic card chip from the plurality of electronic card chips by adopting the target chip information.
The preset nonvolatile Memory may be a Non-Volatile Memory (NVM) area built in the main control interface chip 10, or may be an NVM area externally connected to the chip.
Target chip information is configured in the preset nonvolatile memory, and the target chip information indicates the current target electronic card chip. For example, an electronic card chip 1, an electronic card chip 2, and an electronic card chip 3 are disposed in the electronic card, and the target chip information indicates that the electronic card chip 1 is a target electronic card chip.
In order to enable those skilled in the art to better understand the embodiments of the present application, the following description is given by way of an example: referring to fig. 2, a flowchart of electronic card chip start-up in the embodiment of the present application is shown, where the flowchart may include:
1. the main control interface chip is powered on and started by an external circuit.
2. The main control interface chip reads target chip information from a preset nonvolatile memory, and determines a target electronic card chip by adopting the target chip information, such as determining the electronic card chip 1 as the target electronic card chip.
3. The main control interface chip controls the electronic card chip 1 to be electrified and keeps the electronic card chip 2 not to be electrified.
4. The electronic card chip 1 is powered on by the main control interface chip.
The terminal and the electronic card communicate with each other through an Application Protocol Data Unit (APDU) command. For the novel electronic card of the embodiment of the present application, the processing of the APDU command may be controlled by the main control interface chip 10.
In this embodiment of the present application, the main control interface chip 10 is further configured to receive an APDU instruction; executing the APDU instruction; or, forwarding the APDU command to the target electronic card chip, and receiving a response message or an active command returned by the target electronic card chip.
Specifically, the main control interface chip 10 receives an APDU instruction sent by the circuit interface. The main control interface chip 10 judges whether the APDU command is a preset command; and if the APDU command is a preset command, analyzing and executing the APDU command.
The main control interface chip 10 may be preset with an APDU instruction list, and the APDU instruction recorded in the APDU instruction list is a preset instruction. The preset instructions may include APDU instructions for file access operations such as selecting files, reading files, writing files, and the like.
And if the APDU command is not a preset command, forwarding the APDU command to the target electronic card chip, and receiving a response message or an active command returned by the target electronic card chip.
After the target electronic card chip executes the APDU command, the response message or the active command returned to the main control interface chip 10 may be sent by the main control interface chip 10, and the response message or the active command returned by the target electronic card chip may be sent to the circuit interface, so as to implement communication with the terminal.
Referring to fig. 3, a flowchart of electronic card chip start-up in the embodiment of the present application is shown, where the flowchart may include:
1. the circuit interface sends an APDU command to the master control interface chip 10.
2. The main control interface chip 10 analyzes whether the APDU command is a preset command recorded in a preset APDU command list.
3. If the APDU command is a preset command, the main control interface chip 10 parses and executes the APDU command.
4. If the APDU command is not a preset command, the main control interface chip 10 forwards the APDU command to a currently configured target electronic card chip, such as the electronic card chip 1.
5. The main control interface chip 10 receives a response message or a proactive command returned by the electronic card chip 1.
6. The master interface chip 10 forwards the response message or the proactive command to the circuit interface.
In the embodiment of the application, the main control interface chip can determine a target electronic card chip from a plurality of electronic card chips; and controlling the target electronic card chip to enter a working state and keeping the electronic card chips except the target electronic card chip in a non-working state, thereby realizing the control of the starting of different electronic card chips. The starting control method has the advantages that the original circuit interface can be used on the basis that the physical structure of the original circuit interface of the terminal is not changed, and the starting control of a plurality of electronic card chips with the capacity of being capable of being accessed to a plurality of operator networks through one electronic card by the terminal is realized.
In the embodiment of the application, the master control interface chip can receive an APDU command; executing an APDU instruction; or, the APDU command is forwarded to the target electronic card chip, and a response message or an active command returned by the target electronic card chip is received, so that the APDU command is communicated between the main control interface chip and the electronic card chip, and the electronic card chip is communicated with an operator network.
The application also discloses an electronic card embodiment 2, the electronic card specifically includes: the electronic card comprises a main control interface chip and a plurality of electronic card chips connected with the main control interface chip; the master control interface chip is used for receiving an APDU instruction; executing the APDU instruction; or, forwarding the APDU command to a target electronic card chip in the plurality of electronic card chips, and receiving a response message or an active command returned by the target electronic card chip.
The electronic card of the embodiment of the application realizes the communication processing of the APDU instruction with the electronic card chip by the main control interface chip, thereby communicating with the operator network through the electronic card chip. The terminal can use the original circuit interface on the basis of not changing the physical structure of the original circuit interface of the terminal, and the terminal can have the capacity of accessing a plurality of operator networks through one electronic card.
In the embodiment of the application, the master control interface chip can receive an APDU command; executing an APDU instruction; or, the APDU command is forwarded to the target electronic card chip, and a response message or an active command returned by the target electronic card chip is received. The APDU command communication processing method and the APDU command communication processing device have the advantages that the original circuit interface can be used on the basis that the physical structure of the original circuit interface of the terminal is not changed, the APDU command communication processing between the main control interface chip and the electronic card chip is achieved, and therefore the electronic card chip is communicated with an operator network.
Referring to fig. 4, a flowchart illustrating steps of embodiment 1 of a method for controlling an electronic card according to the present application is shown, where the electronic card includes a main control interface chip and a plurality of electronic card chips connected to the main control interface chip, and the method specifically includes the following steps:
step 401, the main control interface chip determines a target electronic card chip from the plurality of electronic card chips;
specifically, the main control interface chip may obtain target chip information from a preset nonvolatile memory; and determining a target electronic card chip from the plurality of electronic card chips by adopting the target chip information.
Step 402, the main control interface chip controls the target electronic card chip to enter a working state and keeps electronic card chips except the target electronic card chip in a non-working state.
Specifically, the main control interface chip controls the target electronic card chip to be powered on and started, and keeps electronic card chips except the target electronic card chip not powered on.
In an embodiment of the present application, the method for controlling an electronic card may further include: the master control interface chip receives an Application Protocol Data Unit (APDU) instruction; the master control interface chip executes the APDU instruction; or, forwarding the APDU command to the target electronic card chip, and receiving a response message or an active command returned by the target electronic card chip.
Specifically, the step of the master control interface chip receiving the APDU command may include: and the master control interface chip receives the APDU command sent by the circuit interface.
The master control interface chip executes the APDU instruction; or, the step of forwarding the APDU command to the target electronic card chip and receiving a response message or an active command returned by the target electronic card chip may include: the master control interface chip judges whether the APDU instruction is a preset instruction or not; if the APDU instruction is the preset instruction, the master control interface chip executes the APDU instruction; if the APDU command is not the preset command, the main control interface chip forwards the APDU command to the target electronic card chip and receives a response message or an active command returned by the target electronic card chip.
In an embodiment of the present application, the method for controlling an electronic card may further include: and the main control interface chip sends the response message or the active command to the circuit interface.
In the embodiment of the application, a target electronic card chip is determined from a plurality of electronic card chips by a main control interface chip; and controlling the target electronic card chip to enter a working state and keeping the electronic card chips except the target electronic card chip in a non-working state, thereby realizing the control of the starting of different electronic card chips. The starting control method has the advantages that the original circuit interface can be used on the basis that the physical structure of the original circuit interface of the terminal is not changed, and the starting control of a plurality of electronic card chips with the capacity of being capable of being accessed to a plurality of operator networks through one electronic card by the terminal is realized.
In the embodiment of the application, the APDU instruction can be received by the main control interface chip; executing an APDU instruction; or, the APDU command is forwarded to the target electronic card chip, and a response message or an active command returned by the target electronic card chip is received, so that the APDU command is communicated between the main control interface chip and the electronic card chip, and the electronic card chip is communicated with an operator network.
Referring to fig. 5, a flowchart illustrating steps of embodiment 2 of a method for controlling an electronic card according to the present application is shown, where the electronic card includes a main control interface chip and a plurality of electronic card chips connected to the main control interface chip, and the method specifically includes the following steps:
step 501, the master control interface chip receives an APDU command;
specifically, the main control interface chip is connected with an external circuit interface; and the main control interface chip receives the APDU instruction sent by the circuit interface.
Step 502, the master control interface chip executes the APDU command; or, forwarding the APDU command to a target electronic card chip in the plurality of electronic card chips, and receiving a response message or an active command returned by the target electronic card chip.
Specifically, the master control interface chip judges whether the APDU command is a preset command;
If the APDU instruction is a preset instruction, the master control interface chip executes the APDU instruction;
if the APDU command is not a preset command, the main control interface chip forwards the APDU command to the target electronic card chip and receives a response message or an active command returned by the target electronic card chip.
In the embodiment of the application, the APDU instruction can be received by the main control interface chip; executing an APDU instruction; or, the APDU command is forwarded to the target electronic card chip, and a response message or an active command returned by the target electronic card chip is received. The APDU command communication processing method and the APDU command communication processing device have the advantages that the original circuit interface can be used on the basis that the physical structure of the original circuit interface of the terminal is not changed, the APDU command communication processing between the main control interface chip and the electronic card chip is achieved, and therefore the electronic card chip is communicated with an operator network.
The application also discloses a terminal embodiment 1, which specifically includes: a circuit interface and an electronic card; the electronic card comprises a main control interface chip connected with the circuit interface and a plurality of electronic card chips connected with the main control interface chip;
the main control interface chip is used for determining a target electronic card chip from the plurality of electronic card chips; and controlling the target electronic card chip to enter a working state and keeping electronic card chips except the target electronic card chip in a non-working state. In one example, the master interface chip is used for controlling the target electronic card chip to be powered on and keeping electronic card chips except the target electronic card chip not powered on.
In the embodiment of the application, the terminal can determine a target electronic card chip from a plurality of electronic card chips by a main control interface chip; and controlling the target electronic card chip to enter a working state and keeping the electronic card chips except the target electronic card chip in a non-working state, thereby realizing the control of the starting of different electronic card chips. The starting control method has the advantages that the original circuit interface can be used on the basis that the physical structure of the original circuit interface of the terminal is not changed, and the starting control of a plurality of electronic card chips with the capacity of being capable of being accessed to a plurality of operator networks through one electronic card by the terminal is realized.
The application also discloses a terminal embodiment 2, which specifically includes: a circuit interface and an electronic card; the electronic card comprises a main control interface chip connected with the circuit interface and a plurality of electronic card chips connected with the main control interface chip;
the master control interface chip is used for receiving an APDU instruction; executing the APDU instruction; or, forwarding the APDU command to a target electronic card chip in the plurality of electronic card chips, and receiving a response message or an active command returned by the target electronic card chip.
In the embodiment of the application, the terminal can receive the APDU command by the main control interface chip; executing an APDU instruction; or, the APDU command is forwarded to the target electronic card chip, and a response message or an active command returned by the target electronic card chip is received. The APDU command communication processing method and the APDU command communication processing device have the advantages that the original circuit interface can be used on the basis that the physical structure of the original circuit interface of the terminal is not changed, the APDU command communication processing between the main control interface chip and the electronic card chip is achieved, and therefore the electronic card chip is communicated with an operator network.
An embodiment of the present application further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform methods as described in embodiments of the present application.
Embodiments of the present application also provide one or more machine-readable media having instructions stored thereon, which when executed by one or more processors, cause the processors to perform the methods of embodiments of the present application.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present application may take the form of a computer program product embodied on one or more machine-readable media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The foregoing describes in detail an electronic card control method, an electronic card and a terminal provided by the present application, and specific examples are applied herein to explain the principles and embodiments of the present application, and the descriptions of the foregoing embodiments are only used to help understand the method and the core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (20)

1. A control method of an electronic card is characterized in that the electronic card comprises a main control interface chip and a plurality of electronic card chips connected with the main control interface chip, and the method comprises the following steps:
the main control interface chip determines a target electronic card chip from the plurality of electronic card chips;
the main control interface chip controls the target electronic card chip to enter a working state and keeps electronic card chips except the target electronic card chip in a non-working state.
2. The method of claim 1, wherein the master interface chip determines a target electronic card chip from the plurality of electronic card chips, comprising:
the main control interface chip acquires target chip information from a preset nonvolatile memory;
and the main control interface chip adopts the target chip information to determine a target electronic card chip from the plurality of electronic card chips.
3. The method of claim 1, further comprising:
the master control interface chip receives an Application Protocol Data Unit (APDU) instruction;
the master control interface chip executes the APDU instruction; or, forwarding the APDU command to the target electronic card chip, and receiving a response message or an active command returned by the target electronic card chip.
4. The method of claim 3, wherein the master interface chip is connected to an external circuit interface, and the master interface chip receives an Application Protocol Data Unit (APDU) command, and comprises:
and the master control interface chip receives the APDU command sent by the circuit interface.
5. The method of claim 3, wherein the APDU command is executed by the master control interface chip; or, forwarding the APDU command to the target electronic card chip, and receiving a response message or an active command returned by the target electronic card chip, including:
the master control interface chip judges whether the APDU instruction is a preset instruction or not;
if the APDU instruction is the preset instruction, the master control interface chip executes the APDU instruction;
if the APDU command is not the preset command, the main control interface chip forwards the APDU command to the target electronic card chip and receives a response message or an active command returned by the target electronic card chip.
6. The method of claim 3, further comprising:
and the main control interface chip sends the response message or the active command to the circuit interface.
7. The method of claim 1, wherein the master interface chip controls the target electronic card chip to enter an operating state and keeps electronic card chips other than the target electronic card chip in a non-operating state, comprising:
and the main control interface chip controls the target electronic card chip to be electrified and started, and keeps electronic card chips except the target electronic card chip not to be electrified.
8. The control method of the electronic card is characterized in that the electronic card comprises a main control interface chip and a plurality of electronic card chips connected with the main control interface chip; the method comprises the following steps:
the master control interface chip receives an APDU instruction;
the master control interface chip executes the APDU instruction; or, forwarding the APDU command to a target electronic card chip in the plurality of electronic card chips, and receiving a response message or an active command returned by the target electronic card chip.
9. An electronic card, comprising:
the electronic card comprises a main control interface chip and a plurality of electronic card chips connected with the main control interface chip;
the main control interface chip is used for determining a target electronic card chip from the plurality of electronic card chips; and controlling the target electronic card chip to be electrified and started, and keeping electronic card chips except the target electronic card chip not to be electrified.
10. The electronic card of claim 9,
the main control interface chip is used for acquiring target chip information from a preset nonvolatile memory; and determining a target electronic card chip from the plurality of electronic card chips by adopting the target chip information.
11. The electronic card of claim 9,
the master control interface chip is also used for receiving an APDU command; executing the APDU instruction; or, forwarding the APDU command to the target electronic card chip, and receiving a response message or an active command returned by the target electronic card chip.
12. The electronic card of claim 11, wherein the master interface chip interfaces with external circuitry;
and the main control interface chip is used for receiving the APDU command sent by the circuit interface.
13. The electronic card of claim 11,
the master control interface chip is used for judging whether the APDU instruction is a preset instruction or not; if the APDU instruction is the preset instruction, executing the APDU instruction; and if the APDU instruction is not the preset instruction, forwarding the APDU instruction to the target electronic card chip, and receiving a response message or an active command returned by the target electronic card chip.
14. The electronic card of claim 11,
the main control interface chip is further configured to send the response message or the active command to the circuit interface.
15. The electronic card of claim 9,
the main control interface chip is used for controlling the target electronic card chip to be electrified and started and keeping electronic card chips except the target electronic card chip not to be electrified.
16. An electronic card, comprising:
the electronic card comprises a main control interface chip and a plurality of electronic card chips connected with the main control interface chip;
the master control interface chip is used for receiving an APDU instruction; executing the APDU instruction; or, forwarding the APDU command to a target electronic card chip in the plurality of electronic card chips, and receiving a response message or an active command returned by the target electronic card chip.
17. A terminal, comprising: a circuit interface and an electronic card; the electronic card comprises a main control interface chip connected with the circuit interface and a plurality of electronic card chips connected with the main control interface chip;
the main control interface chip is used for determining a target electronic card chip from the plurality of electronic card chips; and controlling the target electronic card chip to enter a working state and keeping electronic card chips except the target electronic card chip in a non-working state.
18. A terminal, comprising: a circuit interface and an electronic card; the electronic card comprises a main control interface chip connected with the circuit interface and a plurality of electronic card chips connected with the main control interface chip;
the master control interface chip is used for receiving an APDU instruction; executing the APDU instruction; or, forwarding the APDU command to a target electronic card chip in the plurality of electronic card chips, and receiving a response message or an active command returned by the target electronic card chip.
19. An apparatus, comprising:
one or more processors; and
one or more machine-readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform the method of one or more of claims 1-7 or 8.
20. One or more machine readable media having instructions stored thereon that, when executed by one or more processors, cause the processors to perform the method of one or more of claims 1-7 or 8.
CN202010246561.5A 2020-03-31 2020-03-31 Electronic card control method, electronic card and terminal Pending CN113472548A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010246561.5A CN113472548A (en) 2020-03-31 2020-03-31 Electronic card control method, electronic card and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010246561.5A CN113472548A (en) 2020-03-31 2020-03-31 Electronic card control method, electronic card and terminal

Publications (1)

Publication Number Publication Date
CN113472548A true CN113472548A (en) 2021-10-01

Family

ID=77865726

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010246561.5A Pending CN113472548A (en) 2020-03-31 2020-03-31 Electronic card control method, electronic card and terminal

Country Status (1)

Country Link
CN (1) CN113472548A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116703391A (en) * 2022-09-23 2023-09-05 荣耀终端有限公司 Electronic card activation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100823679B1 (en) * 2007-03-15 2008-04-18 주식회사 와이즈캐치 Ic chip for numerous smart cards
US20090036166A1 (en) * 2007-07-31 2009-02-05 Hong-Kai Yen Combi-SIM card framework of electronic purse combining non-contacting transceiver of mobile device
CN102655547A (en) * 2011-03-01 2012-09-05 凹凸电子(武汉)有限公司 Electronic device for data transmission, controller and control method thereof
CN109151803A (en) * 2018-08-31 2019-01-04 星汉智能科技股份有限公司 Information interacting method and device, intelligent card chip and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100823679B1 (en) * 2007-03-15 2008-04-18 주식회사 와이즈캐치 Ic chip for numerous smart cards
US20090036166A1 (en) * 2007-07-31 2009-02-05 Hong-Kai Yen Combi-SIM card framework of electronic purse combining non-contacting transceiver of mobile device
CN102655547A (en) * 2011-03-01 2012-09-05 凹凸电子(武汉)有限公司 Electronic device for data transmission, controller and control method thereof
CN109151803A (en) * 2018-08-31 2019-01-04 星汉智能科技股份有限公司 Information interacting method and device, intelligent card chip and terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116703391A (en) * 2022-09-23 2023-09-05 荣耀终端有限公司 Electronic card activation method and device
CN116703391B (en) * 2022-09-23 2024-04-26 荣耀终端有限公司 Electronic card activation method and device

Similar Documents

Publication Publication Date Title
EP3116161B1 (en) Security unit management method and terminal
JP2930257B2 (en) Portable electronic devices
US7481373B2 (en) Triggering a proactive session from an applet in a smart card
EP2377291B1 (en) Portable mobile communication device and method of controlling near field communication
US8452330B2 (en) Mobile terminal and method for providing terminal related information in power-off state
US8408474B2 (en) Method for speeding up the detection and the activation of the communication interface between a terminal and a UICC
US20030115371A1 (en) Method of setting communication environment between smart card and mobile terminal using layered architecture of protocol stack
JP4780110B2 (en) Method, system, and microcontroller card for communicating application services from a microcontroller card to a terminal
US20220382920A1 (en) Terminal and communication method
EP1895743A1 (en) A method for implementing a wireless personal communication protocol for an IC Card
CN113472548A (en) Electronic card control method, electronic card and terminal
EP2086283A1 (en) Dual mode terminal and method for processing data service thereof
CN102890635A (en) Method and device for loading digital signal processor
KR101318594B1 (en) Methods and devices for data access in combined sim and mass storage cards
JP6480082B2 (en) Subscriber identification module (SIM) access profile (SAP) improvements
CN102255999A (en) Method for determining communication protocol between terminal and smart card and expansion card
CN111913666B (en) Method and device compatible with Nand particles with different protocols, computer equipment and storage medium
CN108616870A (en) The method and apparatus for identifying the terminal preferentially customized
CN116113011A (en) Network connection method and device and electronic equipment
JP7424536B1 (en) Electronic information storage medium, IC chip, IC card, communication parameter transmission method, and program
CN102957788B (en) Method for reading and writing card of mobile terminal with double base-band chips
WO2008104601A2 (en) Method of managing command execution in an electronic token
JP5983987B2 (en) IC card communication method and IC card
CN117278345B (en) Energy saving method and device applied to network equipment
CN1331049C (en) Single-board telecommunication software loading method

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40060949

Country of ref document: HK

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20211001