CN109426324B - Power-on control method, AP chip and mobile terminal - Google Patents

Power-on control method, AP chip and mobile terminal Download PDF

Info

Publication number
CN109426324B
CN109426324B CN201710765453.7A CN201710765453A CN109426324B CN 109426324 B CN109426324 B CN 109426324B CN 201710765453 A CN201710765453 A CN 201710765453A CN 109426324 B CN109426324 B CN 109426324B
Authority
CN
China
Prior art keywords
chip
short
power
communication chip
distance communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710765453.7A
Other languages
Chinese (zh)
Other versions
CN109426324A (en
Inventor
辛桂珍
潘时林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201710765453.7A priority Critical patent/CN109426324B/en
Priority to PCT/CN2018/102567 priority patent/WO2019042260A1/en
Publication of CN109426324A publication Critical patent/CN109426324A/en
Application granted granted Critical
Publication of CN109426324B publication Critical patent/CN109426324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/322Aspects of commerce using mobile devices [M-devices]
    • G06Q20/3227Aspects of commerce using mobile devices [M-devices] using secure elements embedded in M-devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/30Payment architectures, schemes or protocols characterised by the use of specific devices or networks
    • G06Q20/32Payment architectures, schemes or protocols characterised by the use of specific devices or networks using wireless devices
    • G06Q20/327Short range or proximity payments by means of M-devices
    • G06Q20/3278RFID or NFC payments by means of M-devices
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/20Individual registration on entry or exit involving the use of a pass
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Accounting & Taxation (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

Provided are a power-on control method, an AP chip and a mobile terminal. The AP chip is integrated with SE which is coupled with the short-distance communication chip, the AP chip is coupled with the PMU, and the short-distance communication chip is also coupled with the PMU. The AP chip is used for determining whether the short-distance communication chip triggers the startup or not after being electrified; if the short-distance communication chip triggers the startup, controlling the SE to be electrified; under the condition that the AP chip is in a power-off state, the PMU supplies power to the AP chip after detecting a power-on signal, and the short-distance communication chip sends the power-on signal to the PMU when detecting a radio-frequency signal meeting a preset condition. The SE is used to communicate with the short-range communication chip after power-up. According to the scheme provided by the embodiment of the application, the shutdown card swiping function is realized aiming at the scheme of the built-in SE.

Description

Power-on control method, AP chip and mobile terminal
Technical Field
The embodiment of the Application relates to the technical field of chips, in particular to a power-on control method, an Application Processor (AP) chip and a mobile terminal.
Background
At present, a mobile terminal has a card swiping function instead of a bank card, a bus card, an access card and the like.
When the mobile terminal realizes a card swiping function (particularly, a card swiping payment function), the problem of data security needs to be considered. In the prior art, data security during card swiping is ensured by a Secure Element (SE) in hardware. The SE is provided with an encryption and decryption logic circuit and is used for encrypting and decrypting data interacted between the mobile terminal and the card reading equipment in the card swiping process so as to improve the safety of the data.
In the prior art, there are two schemes of external SE and internal SE. The external SE scheme is that SE is arranged outside an AP chip (also called a main chip) of the mobile terminal, namely the SE and the AP chip are two mutually independent chips; the built-in SE scheme refers to that the SE is integrated on an AP chip of the mobile terminal, that is, the SE is a part of the AP chip. For the built-in SE scheme, whether the SE starts depends on whether a Power Management Unit (PMU) of the mobile terminal supplies Power to the AP chip. When the mobile terminal is in a power-on state, the PMU supplies power to the AP chip, the AP is in a power-on state, and the SE is also in a power-on state; when the mobile terminal is in a power-off state, the PMU stops supplying power to the AP chip, the AP is in a power-off state, and the SE is also in the power-off state.
For the scheme of built-in SE, when the mobile terminal is in a power-off state, since the SE integrated on the AP chip is in a power-off state, a function of completing a card swiping operation in the power-off state (hereinafter referred to as a "power-off card swiping function") cannot be implemented.
Disclosure of Invention
The embodiment of the application provides a power-on control method, an AP chip and a mobile terminal, and aims to solve the problem that in the prior art, when the mobile terminal is in a power-off state, due to the fact that the SE integrated on the AP chip is in a power-off state, the power-off card swiping function cannot be achieved.
In a first aspect, an embodiment of the present application provides an AP chip, where the AP chip has an SE integrated thereon, the SE is coupled to a short-range communication chip, the AP chip is coupled to a PMU, and the short-range communication chip is also coupled to the PMU;
the AP chip is used for determining whether the short-distance communication chip triggers the startup or not after being electrified; if the short-distance communication chip triggers the startup, controlling the SE to be electrified; under the condition that the AP chip is in a power-off state, the PMU supplies power to the AP chip after detecting a power-on signal, and the short-distance communication chip sends the power-on signal to the PMU when detecting a radio-frequency signal meeting a preset condition. And an SE for communicating with the short-range communication chip after power-on.
In the scheme that this application embodiment provided, to the scheme of built-in SE, send power-on signal to the PMU when detecting the radio-frequency signal that accords with preset condition through the short distance communication chip, PMU detects power-on signal and supplies power to the AP chip, so that the SE of integration on the AP chip is gone up the power and is started, and then communicate with the short distance communication chip, in order to accomplish the operation of punching the card, thereby realized shutting and punching the card function, in order to satisfy the user better and realize the payment of punching the card under being in low-electricity shutdown state to mobile terminal, public transit is punched the card, the actual application demand of operations such as entrance guard of punching the card, the technical scheme that this application embodiment provided has stronger practical value.
Optionally, the AP chip determining whether the power-on is triggered by the short-range communication chip includes the following two possible embodiments.
In a possible embodiment, the AP chip is configured to receive an indication signal sent by the PMU after power-on, where the indication signal is used to indicate whether the startup is triggered by the short-range communication chip; and determining whether the short-distance communication chip triggers the startup according to the indication signal. In another possible implementation manner, the AP chip is configured to determine that the short-range communication chip triggers power on if it is detected that the preset pin receives a preset signal sent by the short-range communication chip after power on.
In the scheme provided by the embodiment of the application, the AP chip is powered on and started before the SE, and the SE is controlled to be powered on under the condition that the AP chip is determined to be powered on by triggering the short-distance communication chip, so that the power consumption is saved.
In yet another possible design, the preset condition is that the radio frequency signal includes a preset identifier, or the preset condition is that a frequency band of the radio frequency signal is within a preset frequency band.
By the mode, the short-distance communication chip can accurately identify the radio frequency signal related to the card swiping function provided by the short-distance communication chip.
In another possible design, the AP chip is further configured to: and if the short-distance communication chip does not trigger the startup, executing normal startup operation, wherein the normal startup operation comprises starting an operating system and displaying a User Interface (UI), and the normal startup operation does not comprise controlling the SE to be electrified.
In yet another possible design, the AP chip is to: if the short-distance communication chip is triggered to start, loading a first bootstrap program, wherein the first bootstrap program is used for controlling the SE to be powered on; and if the short-distance communication chip does not trigger the startup, loading a second bootstrap program, wherein the second bootstrap program is used for executing normal startup operation. And the data volume of the first bootstrap program is smaller than that of the second bootstrap program.
Through the mode, under the condition that the AP chip is determined to be started by triggering of the short-distance communication chip, the SE can be started up in an electrified mode more quickly by loading and operating the first bootstrap program with relatively small data volume, and the processing overhead of the AP chip is saved.
In yet another possible design, the AP chip is further configured to load an execution program of the SE from a memory external to the AP chip to a memory internal to the AP chip, where the execution program is configured to implement a card swiping function. And the SE is also used for loading the execution program of the AP chip into a memory inside the SE from the memory inside the AP chip after being powered on.
By the mode, the execution program of the SE is stored in the memory outside the AP chip, so that the storage space of the SE can be saved, and the SE can be designed to be lighter and thinner.
In yet another possible design, the AP chip is further to: executing shutdown operation after a preset time length after the SE is powered on; alternatively, a timer is started after the SE is powered on; resetting the timer when receiving a reset command sent by the SE, wherein the SE sends the reset command to the AP chip every time the SE receives a signal from the short-distance communication chip; when the timer times out, a shutdown operation is performed.
Through the two modes, the automatic shutdown is executed after the card swiping operation is completed, and the waste of the electric quantity of the mobile terminal is avoided.
On the other hand, the embodiment of the present application provides a power-on control method, which is applied to an AP chip integrated with an SE, where the SE is coupled to a short-range communication chip, the AP chip is coupled to a PMU, and the short-range communication chip is also coupled to the PMU. The method comprises the following steps: after the AP chip is powered on, determining whether the short-distance communication chip triggers the startup or not; if the short-distance communication chip triggers the startup, controlling the SE to be electrified; under the condition that the AP chip is in a power-off state, the PMU supplies power to the AP chip after detecting a power-on signal, and the short-distance communication chip sends the power-on signal to the PMU when detecting a radio-frequency signal meeting a preset condition; after the SE is powered up, it communicates with the short-range communication chip.
In yet another aspect, embodiments of the present application provide a mobile terminal that includes an AP chip, a short-range communication chip, a PMU, and a SE integrated on the AP chip, wherein the SE is coupled with the short-range communication chip, the AP chip is coupled with the PMU, and the short-range communication chip is also coupled with the PMU. The short-distance communication chip is used for sending a power-on signal to the PMU when detecting the radio-frequency signal meeting the preset condition; the PMU is used for supplying power to the AP chip after detecting the power-on signal; the AP chip is used for determining whether the short-distance communication chip triggers the startup or not after being electrified; if the short-distance communication chip triggers the startup, controlling the SE to be electrified; and an SE for communicating with the short-range communication chip after power-on.
Compared with the prior art, in the scheme provided by the embodiment of the application, aiming at the scheme of the built-in SE, the short-distance communication chip sends the power-on signal to the PMU when detecting the radio-frequency signal meeting the preset condition, the PMU detects the power-on signal and supplies power to the AP chip, so that the SE integrated on the AP chip is powered on and started, and then communicates with the short-distance communication chip to finish the card swiping operation, thereby realizing the shutdown card swiping function, and better meeting the practical application requirements of the user on realizing the card swiping payment, the bus card swiping, the entrance guard card swiping and other operations when the mobile terminal is in the low-power shutdown state.
Drawings
FIG. 1 is a schematic illustration of an implementation environment provided by one embodiment of the present application;
fig. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an AP chip according to an embodiment of the present application;
FIG. 4 is a flowchart of a power-up control method according to an embodiment of the present application;
FIG. 5 is a flowchart of a power-up control method according to another embodiment of the present application;
FIG. 6 is a flowchart of a power-up control method according to another embodiment of the present application;
fig. 7 is a schematic structural diagram of an AP chip according to another embodiment of the present application;
fig. 8 is a flowchart of a power-on control method according to another embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The system architecture and the service scenario described in the embodiment of the present application are for more clearly illustrating the technical solution of the embodiment of the present application, and do not constitute a limitation to the technical solution provided in the embodiment of the present application, and it can be known by a person skilled in the art that the technical solution provided in the embodiment of the present application is also applicable to similar technical problems along with the evolution of the system architecture and the appearance of a new service scenario.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an embodiment of the present application is shown. The implementation environment includes: a mobile terminal 10 and a card reading device 20.
The mobile terminal 10 may be a portable electronic device such as a cellular phone, a tablet computer, a wearable device, or the like.
The card reading device 20 may be any electronic device with a card reading function, such as a POS (Point Of Sales) machine, a bus card reader, an entrance guard card reader, and the like.
For example, when the card reading device 20 is a POS machine, the mobile terminal 10 may communicate with the card reading device 20 instead of a bank card to complete a card payment operation; when the card reading device 20 is a bus card reader, the mobile terminal 10 may replace a bus card to communicate with the card reading device 20 to complete a bus card swiping operation; when the card reading device 20 is an entrance guard card reader, the mobile terminal 10 may replace an entrance guard card to communicate with the card reading device 20 to complete entrance guard card swiping operation.
The mobile terminal 10 and the card reading device 20 are equipped with adaptive short-range communication chips, and the card swiping operation is completed through the communication of the short-range communication chips. Illustratively, the short-range Communication chip is a Near Field Communication (NFC) chip.
In the embodiment of the present application, as shown in fig. 2, the mobile terminal 10 adopts a scheme of a built-in SE. The mobile terminal 10 may include: AP chip 11, short-range communication chip 13, PMU14, and SE12 integrated on AP chip 11. Where SE12 is coupled to short-range communication chip 13, AP chip 11 is coupled to PMU14, and short-range communication chip 13 is also coupled to PMU 14.
The AP chip 11 is configured to run a general operating system of the mobile terminal 10, such as an Android (Android) operating system, an iOS operating system, a Windows operating system, and the like. The AP chip 11 is responsible for processing various operations of the mobile terminal 10, including power-on and power-off operations. The AP chip 11 includes at least one processor for running a program required to be run by the AP chip and at least one memory for storing data of the program loaded by the AP chip and the program run by the processor, in addition to the SE 12.
The SE12 is used for communicating with the short-range communication chip 13 and encrypting and decrypting data interacted between the mobile terminal 10 and the card reading device 20 during the card swiping process to improve the security of the data.
The short-range communication chip 13 is used for communicating with the card reading device 20 through a short-range wireless communication protocol to realize card swiping operation. For example, when the short-range communication chip 13 is an NFC chip, the NFC chip of the mobile terminal 10 and the NFC chip of the card reader 20 may communicate with each other based on a Radio Frequency Identification (RFID) protocol.
PMU14 is a highly integrated power management unit for portable applications that provides regulated power to the chips (e.g., including AP chip 11, SE12, and short-range communication chip 13, as described above).
Optionally, as shown in fig. 2, the mobile terminal 10 further includes: and a battery 15. Battery 15 is coupled to PMU14 and short-range communication chip 13, respectively. The battery 15 is used to provide power to the mobile terminal 10.
Optionally, the mobile terminal 10 further includes an external memory, which refers to a memory external to the AP chip 11. The memory outside the AP chip 11 may be an Embedded multimedia memory Card (eMMc) or a Universal Flash Storage (UFS). The Memory external to the AP chip 11 includes a playback Protected Memory Block (RPMB) for storing the execution program of the SE 12.
Exemplarily, as shown in fig. 3, a schematic diagram of a structure of the AP chip 11 is shown. The AP chip 11 includes: a main processor 111, a microprocessor 112, a Read-Only Memory (ROM) 113, a Random Access Memory (RAM) 114, and an SE 12.
The main processor 111 of the AP chip 11 is used for processing various operations of the AP chip 11, such as a normal power-on operation. The microprocessor 112 of the AP chip 11 is mainly used for processing various operations when the AP chip 11 implements the shutdown card swiping function. The main processor 111 of the AP chip 11 may be an ARM processor, and the microprocessor 112 of the AP chip 11 may be a Micro Control Unit (MCU).
The ROM 113 of the AP chip 11 is a memory from which only data stored in advance can be read out in the AP chip 11.
The RAM 114 of the AP chip 11 is a memory in the AP chip 11 capable of directly interacting data with the processor (including the main processor 111 and the microprocessor 112), and is generally used as a storage medium for temporary data of a program in which the processor is operating.
Optionally, the AP chip 11 further includes a Double Data Rate Controller (DDRC) for controlling Data interaction between the AP chip 11 and the Double Data Rate memory.
As shown in fig. 3, SE12 includes: a processor 121, a ROM 122 and a RAM 123.
The ROM 122 of the SE12 is a memory from which only data stored in advance can be read out in the SE 12.
The RAM 123 of the SE12 is a memory in the SE12 capable of directly interacting with the processor 121, typically as a storage medium for temporary data of programs in operation of the processor 121.
The processor 121 of the SE12 is configured to execute the execution program of the SE12 to implement the functions of the SE 12.
Alternatively, the SE12 and the AP chip 11 exchange data through an Inter-Process Communication (IPC) mechanism.
In the embodiment of the application, a technical scheme capable of realizing shutdown card swiping function is provided for the scheme of the built-in SE, so that the practical application requirements of the user on the operations of card swiping payment, bus card swiping, entrance guard card swiping and the like under the condition that the mobile terminal is in a low-power shutdown state are better met, and the technical scheme provided by the embodiment of the application has high practical value.
The embodiments of the present application will be described in further detail below based on the common aspects related to the embodiments of the present application described above.
With reference to the mobile terminal 10 shown in fig. 2, when the power-off card swiping function is implemented, the functions of the components thereof are as follows:
and the short-distance communication chip 13 is used for sending a power-on signal to the PMU14 when detecting the radio-frequency signal meeting the preset condition.
In the case where the mobile terminal 10 is in the power-off state, the short-range communication chip 13 in the mobile terminal 10 detects whether there is a radio frequency signal that meets a preset condition. The card reading device 20 capable of cooperating with the mobile terminal 10 to implement the card swiping function may emit a radio frequency signal meeting a preset condition to the outside, where the radio frequency signal is used to enable the mobile terminal 10 around the card reading device 20 to sense the presence of the card reading device 20. For example, the card reading device 20 continuously transmits the radio frequency signal, or transmits the radio frequency signal to the outside once every predetermined time interval. After detecting the radio frequency signal, the short-range communication chip 13 in the mobile terminal 10 detects whether the radio frequency signal meets a preset condition, and if the radio frequency signal meets the preset condition, sends a power-on signal to the PMU 14.
For example, assuming that the short-range communication chip 13 is an NFC chip, when the NFC chip detects a radio frequency signal meeting a preset condition, a power-on signal is sent to the PMU 14.
Optionally, the preset condition is that the radio frequency signal includes a preset identifier. The preset identifier is used for the short-range communication chip 13 in the mobile terminal 10 to identify whether the radio frequency signal received by the short-range communication chip is a radio frequency signal related to the card swiping function provided by the short-range communication chip. Or, the preset condition is that the frequency of the radio frequency signal is within a preset frequency band. The preset frequency band may be preset according to actual requirements, for example, the preset frequency band may be a frequency band used by NFC, or may be a sub-frequency band in the frequency band used by NFC. Of course, in other possible embodiments, the preset condition may also be that the interval of the radio frequency signal is a preset time duration, and the preset time duration may be a numerical value or a value range. In practical applications, the preset condition may be preset according to actual requirements, so as to ensure that the short-distance communication chip 13 can accurately identify the radio frequency signal related to the card swiping function provided by itself and other radio frequency signals unrelated to the card swiping function.
PMU14 is configured to supply power to AP chip 11 after detecting the power-on signal.
In the case that the AP chip is in the power-down state, the PMU14 supplies power to the AP chip 11 after detecting the power-up signal, so that the AP chip 11 is powered on and started. The power-down state refers to a state in which the chip is not powered on, and is also called a power-off state. In the embodiment of the present application, since the scheme of the built-in SE12 is adopted, and the SE12 is integrated on the AP chip 11, the PMU14 can also power on the SE12 after supplying power to the AP chip 11.
In one example, the AP chip 11 and the SE12 are powered on at the same time. For example, the AP chip 11 and the SE12 are connected to the same power line, and when the power line is turned on, the AP chip 11 and the SE12 are powered on at the same time.
In another example, the AP chip 11 is powered up prior to SE 12. After the AP chip 11 is powered on, it is determined whether the short-range communication chip 13 triggers power on, and if the short-range communication chip 13 triggers power on, the AP chip 11 controls the SE12 to be powered on.
The power-up signal is a signal for instructing PMU14 to power AP chip 11. For example, PMU14 has a pin for indicating a power-up signal, and the power-up signal is indicated by high and low levels of the pin. The power-up signal detected by PMU14 may originate from short-range communication chip 13 or may be caused by PMU14 detecting the power-up signal when mobile terminal 10 is normally powered on. For example, when the mobile terminal 10 is turned on by a key, turned on at regular time, or turned on by charging, the relevant elements will also send a power-on signal to the PMU14, and accordingly, the PMU14 will detect the power-on signal. PMU14, for whatever reason detects the power-up signal, provides power to AP chip 11.
After the AP chip 11 is powered on, it needs to determine whether the power-on is triggered by the short-range communication chip 13, so as to determine whether to control the SE12 to be powered on. If the short-distance communication chip 13 triggers the startup, the AP chip 11 controls the SE12 to be powered on. The startup triggered by the short-range communication chip 13 indicates that the mobile terminal 11 needs to perform a card swiping operation with the card reading device 10, and the card swiping operation needs to be performed by the SE12 to communicate with the short-range communication chip 13, so that the AP chip 11 controls the SE12 to be powered on and started up under the condition that the startup triggered by the short-range communication chip 13 is determined.
In addition, if the power-on is not triggered by the short-range communication chip 13, the AP chip 11 performs a normal power-on operation. The normal boot operation includes starting an operating system and displaying a UI, and the normal boot operation does not include controlling the SE12 to be powered on.
And an SE12 for communicating with the short-range communication chip 13 after power-on.
After the SE12 is powered on and started, it communicates with the short-range communication chip 13 to complete the card swiping operation. Illustratively, when the card reading device 20 is a POS machine, after the SE12 is powered on, the SE communicates with the short-range communication chip 13, and the short-range communication chip 13 communicates with the POS machine to complete the card swiping payment operation; when the card reading device 20 is a bus card reader, after the SE12 is powered on, the SE12 communicates with the short-distance communication chip 13, and the short-distance communication chip 13 communicates with the bus card reader to finish bus card swiping operation; when the card reading device 20 is an entrance guard card reader, after the SE12 is powered on, the short-distance communication chip 13 communicates with the entrance guard card reader, and the short-distance communication chip 13 communicates with the entrance guard card reader, so that entrance guard card swiping operation is completed.
Alternatively, after the SE12 is powered on, it can communicate with the short-range communication chip 13 through a Single Wire Protocol (SWP).
In the scheme that this application embodiment provided, to the scheme of built-in SE, send power-on signal to the PMU when detecting the radio-frequency signal that accords with preset condition through the short distance communication chip, PMU detects power-on signal and supplies power to the AP chip, so that the SE of integration on the AP chip is gone up the power and is started, and then communicate with the short distance communication chip, in order to accomplish the operation of punching the card, thereby realized shutting and punching the card function, in order to satisfy the user better and realize the payment of punching the card under being in low-electricity shutdown state to mobile terminal, public transit is punched the card, the actual application demand of operations such as entrance guard of punching the card, the technical scheme that this application embodiment provided has stronger practical value.
Optionally, the AP chip 11 determines whether the short-range communication chip 13 triggers power-on, including the following two possible implementations:
in one possible embodiment, the AP chip 11 is configured to: after power-on, receiving an indication signal sent by the PMU14, where the indication signal is used to indicate whether power-on is triggered by the short-range communication chip 13; it is determined whether the power-on is triggered by the short-range communication chip 13 according to the indication signal. The PMU14 can determine the source of the power-on signal, and if the source of the power-on signal is the short-range communication chip 13, the PMU14 sends an indication signal to the AP chip 11, where the indication signal indicates that the power-on is triggered by the short-range communication chip 13, for example, the indication signal is "1"; on the contrary, if the power-on signal is not from the short-range communication chip 13, the PMU14 sends an indication signal to the AP chip 11, for example, the indication signal is "0", to indicate that the power-on is not triggered by the short-range communication chip 13.
In another possible embodiment, the AP chip 11 is configured to: after power-on, if it is detected that the preset pin receives a preset signal sent by the short-range communication chip 13, it is determined that the short-range communication chip 13 triggers power-on. The short-distance communication chip 13 is electrically connected with a preset pin of the AP chip 11, the short-distance communication chip 13 sends a preset signal to the AP chip 11 after detecting a radio frequency signal meeting a preset condition, and if the AP chip 11 detects that the preset pin receives the preset signal sent by the short-distance communication chip 13, the short-distance communication chip 13 is determined to trigger starting up, and the SE12 is controlled to be powered on; on the contrary, if the AP chip 11 does not detect that the preset pin receives the preset signal sent by the short-range communication chip 13, the normal power-on operation is executed, and the SE12 is not controlled to be powered on. The preset signal may be a power-on signal or a specific signal. The preset pin may be a General Purpose Input Output (GPIO) pin or other Input/Output pins that the AP chip 11 can recognize.
Optionally, after determining whether the power-on is triggered by the short-range communication chip 13, the AP chip 11 is further configured to: if the short-distance communication chip 13 triggers the startup, a first bootstrap program is loaded, and the first bootstrap program is used for controlling the SE12 to be electrified; if the short-distance communication chip 13 does not trigger the startup, loading a second bootstrap program, wherein the second bootstrap program is used for executing normal startup operation; and the data volume of the first bootstrap program is smaller than that of the second bootstrap program. In the case that the AP chip 11 determines that the startup is triggered by the short-range communication chip 13, the SE12 can be powered up and started up more quickly by loading and running the first boot program with a relatively small data volume, which helps to save the processing overhead of the AP chip 11.
Optionally, the AP chip 11 is further configured to: the execution program of the SE12 is loaded from a memory outside the AP chip 11 into a memory inside the AP chip 11. The executing program of the SE12 is used for realizing a card swiping function so as to complete card swiping operation. The execution program of the SE12 may be stored in a memory outside the AP chip 11, and by acquiring the execution program of the SE from the memory outside the AP chip 11, the storage space of the SE may be saved, so that the SE can be designed to be thinner and lighter. In other possible embodiments, the execution program of the SE12 may also be stored in a memory inside the SE12, or in a memory inside the AP chip 11.
Accordingly, the SE12 is also used to load its execution program from the memory inside the AP chip 11 to the memory inside the SE12 after power-on. The SE12 loads its execution program from the memory inside the AP chip 11 into the memory inside the SE 12. The SE cannot directly load the execution program of the SE12 from the memory outside the AP chip 11, so the AP chip 11 loads the execution program of the SE12 from the memory outside the AP chip 11 to the memory inside the AP chip 11, and the SE12 loads the execution program from the memory inside the AP chip 11 to the memory inside the SE12 and runs the execution program.
Alternatively, the mobile terminal 10 may be restored to the power-off state after the card swiping operation is completed, so the AP chip 11 may perform the power-off operation after the card swiping operation is completed.
In one possible embodiment, the AP chip 11 is configured to: after the SE12 is powered on and started, the AP chip 11 executes a shutdown operation after a preset time period. For example, assuming that the preset time period is 10 seconds, the AP chip 11 performs a shutdown operation after the SE12 is powered on and started for 10 seconds.
In another possible embodiment, the AP chip 11 is configured to: after the SE12 is powered on and started, starting a timer; resetting the timer upon receiving a reset command sent by the SE 12; when the timer times out, a shutdown operation is performed. When the SE12 communicates with the short-range communication chip 13, a reset command is sent to the AP chip 11 every time a signal from the short-range communication chip 13 is received, and the AP chip 11 resets the timer when receiving the reset command.
Through the two modes, the automatic shutdown is executed after the card swiping operation is completed, and the waste of the electric quantity of the mobile terminal is avoided. In addition, in the automatic shutdown process, if the AP chip 11 receives a trigger signal for normal startup, the shutdown operation is not executed, and the normal startup operation is directly executed.
The following are examples of the method of the present application, which correspond to the above product examples.
Referring to fig. 4, a flowchart of a power-on control method according to an embodiment of the present application is shown. The method can be applied to the mobile terminal shown in fig. 2. The method may include the steps of:
step 401, when detecting a radio frequency signal meeting a preset condition, the short-distance communication chip sends a power-on signal to the PMU.
Under the condition that the mobile terminal is in a power-off state, the short-distance communication chip in the mobile terminal is in an idle state, and the short-distance communication chip detects whether radio-frequency signals meeting preset conditions exist or not. The card reading equipment which can be matched with the mobile terminal to realize the card swiping function can emit radio frequency signals meeting preset conditions outwards, and the radio frequency signals are used for enabling the mobile terminal around the card reading equipment to sense the existence of the card reading equipment. After detecting the radio-frequency signal, the short-distance communication chip in the mobile terminal detects whether the radio-frequency signal meets a preset condition, and if the radio-frequency signal meets the preset condition, the short-distance communication chip sends a power-on signal to the PMU.
For example, assuming that the short-range communication chip is an NFC chip, when the NFC chip detects a radio frequency signal meeting a preset condition, a power-on signal is sent to the PMU.
Optionally, the preset condition is that the radio frequency signal includes a preset identifier. The preset identification is used for the short-distance communication chip in the mobile terminal to identify whether the received radio frequency signal is a radio frequency signal related to the card swiping function provided by the short-distance communication chip. Or, the preset condition is that the frequency of the radio frequency signal is within a preset frequency band. The preset frequency band may be preset according to actual requirements, for example, the preset frequency band may be a frequency band used by NFC, or may be a sub-frequency band in the frequency band used by NFC. Of course, in other possible embodiments, the preset condition may also be that the interval of the radio frequency signal is a preset time duration, and the preset time duration may be a numerical value or a value range. In practical application, the preset condition can be preset according to actual requirements, so that the short-distance communication chip can accurately identify the radio frequency signal related to the card swiping function provided by the short-distance communication chip and other radio frequency signals which are not related.
At step 402, the PMU provides power to the AP chip after detecting the power-on signal.
Under the condition that the AP chip is in a power-off state, the PMU supplies power to the AP chip after detecting a power-on signal, so that the AP chip is powered on and started. In the embodiment of the application, because a scheme of built-in SE is adopted, the SE is integrated on the AP chip, so that the SE can be powered on and started after the PMU supplies power to the AP chip.
The power-up signal is a signal used to instruct the PMU to power the AP chip. For example, a PMU is provided with a pin for indicating a power-on signal, and the power-on signal is represented by high and low levels of the pin. The power-on signal detected by the PMU may be from the short-range communication chip or may be caused by the PMU detecting the power-on signal when the mobile terminal is normally powered on. For example, when the mobile terminal is turned on by pressing a key, turned on at regular time, or turned on by charging, the relevant elements may also send a power-on signal to the PMU, and accordingly, the PMU may detect the power-on signal. The PMU, for whatever reason, detects the power-up signal, supplies power to the AP chip.
In step 403, after the AP chip is powered on, it is determined whether the short-range communication chip triggers power on.
After the AP chip is powered on, whether the short-distance communication chip triggers the startup or not needs to be determined, so that whether the SE is controlled to be powered on or not is determined. Optionally, the AP chip determines whether the short-range communication chip triggers power on, including the following two possible implementations:
in a possible implementation manner, after the AP chip is powered on, the AP chip receives an indication signal sent by the PMU, where the indication signal is used to indicate whether the short-range communication chip triggers power on, and the AP chip determines whether the short-range communication chip triggers power on according to the indication signal. The PMU can determine the source of the power-on signal, and if the source of the power-on signal is the short-distance communication chip, the PMU sends an indication signal for indicating that the short-distance communication chip triggers the startup, for example, the indication signal is "1"; on the contrary, if the source of the power-on signal is not the short-range communication chip, the PMU sends an indication signal to the AP chip, where the indication signal indicates that the power-on is not triggered by the short-range communication chip, for example, the indication signal is "0".
In another possible implementation, after the AP chip is powered on, if it is detected that the preset pin receives a preset signal sent by the short-range communication chip, it is determined that the short-range communication chip triggers power on. The short-distance communication chip is electrically connected with a preset pin of the AP chip, the short-distance communication chip sends a preset signal to the AP chip after detecting a radio-frequency signal meeting a preset condition, and if the AP chip detects that the preset pin receives the preset signal sent by the short-distance communication chip, the short-distance communication chip is determined to trigger starting; otherwise, if the AP chip does not detect that the preset pin receives the preset signal sent by the short-range communication chip, it is determined that the startup is not triggered by the short-range communication chip. The preset signal may be a power-on signal or a specific signal. The preset pin can be a GPIO pin or an input/output pin which can be identified by other AP chips.
And step 404, if the short-distance communication chip triggers the startup, the AP chip controls the SE to be powered on.
The startup is triggered by the short-distance communication chip, which means that the mobile terminal needs to perform card swiping operation with the card reading device, and the card swiping operation needs the SE to communicate with the short-distance communication chip, so that the AP chip controls the SE to be powered on and started under the condition that the startup is triggered by the short-distance communication chip.
In addition, if the startup is not triggered by the short-distance communication chip, the AP chip executes normal startup operation, wherein the normal startup operation comprises the startup of an operating system and the display of a UI (user interface), and the normal startup operation does not comprise the control of the SE (secure element) power-on.
Through the mode, the AP chip is powered on and started before the SE, and the SE is controlled to be powered on under the condition that the AP chip is determined to be started by triggering the short-distance communication chip, so that the power consumption is saved.
In other possible embodiments, the AP chip may also be powered on at the same time as the SE.
At step 405, after the SE is powered up, it communicates with the short-range communication chip.
And after the SE is powered on and started, the SE communicates with the short-distance communication chip to finish the card swiping operation. Illustratively, when the card reading device is a POS machine, after the SE is powered on, the SE communicates with the short-distance communication chip, and the short-distance communication chip communicates with the POS machine to complete the card swiping payment operation; when the card reading device is a bus card reader, after the SE is powered on, the SE communicates with the short-distance communication chip, and the short-distance communication chip communicates with the bus card reader to finish bus card swiping operation; when the card reading device is an entrance guard card reader, the SE is electrified and then communicates with the short-distance communication chip, and the short-distance communication chip communicates with the entrance guard card reader to finish entrance guard card swiping operation. Alternatively, after the SE is powered up, it can communicate with the short-range communication chip through the SWP.
In the scheme that this application embodiment provided, to the scheme of built-in SE, send power-on signal to the PMU when detecting the radio-frequency signal that accords with preset condition through the short distance communication chip, PMU detects power-on signal and supplies power to the AP chip, so that the SE of integration on the AP chip is gone up the power and is started, and then communicate with the short distance communication chip, in order to accomplish the operation of punching the card, thereby realized shutting and punching the card function, in order to satisfy the user better and realize the payment of punching the card under being in low-electricity shutdown state to mobile terminal, public transit is punched the card, the actual application demand of operations such as entrance guard of punching the card, the technical scheme that this application embodiment provided has stronger practical value.
Referring to fig. 5, a flowchart of a power-on control method according to another embodiment of the present application is shown. The method can be applied to the mobile terminal shown in fig. 2. The method may include the steps of:
in step 501, when detecting a radio frequency signal, the short-range communication chip sends a power-on signal to the PMU.
Step 501 is the same as step 401 in the embodiment of fig. 4, and refer to the description in the embodiment of fig. 4, which is not repeated herein.
At step 502, the PMU supplies power to the AP chip after detecting the power-on signal.
The PMU supplies power to the AP chip after detecting the power-on signal so as to enable the AP chip to be powered on and started.
In step 503, the AP chip runs the first ROM program, and loads the boot program through the first ROM program.
After the AP chip is powered on and started, the first ROM program is operated, the boot program is loaded into a memory inside the AP chip from a memory outside the AP chip through the first ROM program, and the boot program is operated. The first ROM program is used to load a boot program that controls the SE to power up.
Optionally, the AP chip loads the boot program into the RAM of the AP chip, and the host processor or the microprocessor in the AP chip runs the boot program.
In the embodiment, the boot program is stored in the memory outside the AP chip, which saves the memory space of the AP chip, so that the AP chip can be designed to be thinner and lighter. In other possible embodiments, the boot program may also be stored in a memory inside the AP chip, and the AP chip may directly run the boot program after power-on start.
Optionally, the boot program is also used to perform normal boot operations.
Optionally, before the first ROM program or the boot program is run, the AP chip checks the validity of the program to be run to ensure data security. Exemplarily, taking the bootstrap as an example, if the verification result is that the bootstrap is legal, the AP chip runs the bootstrap; and if the verification result is that the bootstrap program is illegal, the AP chip does not run the bootstrap program.
In step 504, the AP chip determines whether the short-range communication chip triggers a boot process by a boot program.
The manner for determining whether the power-on is triggered by the short-range communication chip is described in the embodiment of fig. 4, and the description of this embodiment is omitted.
In step 505, if the short-range communication chip triggers the startup, the AP chip loads the execution program of the SE from the memory outside the AP chip to the memory inside the AP chip through the bootstrap program.
The executing program of the SE is used for implementing a card swiping function to complete the card swiping operation, and for example, the executing program may be a Card Operating System (COS). In this embodiment, the SE execution program is also stored in the memory outside the AP chip, and by obtaining the SE execution program from the memory outside the AP chip, the storage space of the SE can be saved, so that the SE can be designed to be thinner and lighter. In other possible embodiments, the execution program of the SE may also be stored in a memory internal to the SE, or in a memory internal to the AP chip.
In addition, if the startup is not triggered by the short-distance communication chip, the AP chip executes normal startup operation through a bootstrap program.
In step 506, the AP chip controls the SE to be powered on through the bootstrap program.
In step 507, the SE runs the second ROM program, and loads the execution program of the SE through the second ROM program.
After the SE is powered on and started, a second ROM program is run, and the second ROM program is used for loading an execution program of the SE.
Alternatively, the execution program of the SE loaded by the SE through the second ROM program may be an image file, and the image file may make a specific series of files into a single file according to a certain format, so as to facilitate loading and running.
The SE loads its execution program from memory inside the AP chip into memory inside the SE. The SE cannot directly load the executing program of the SE from the memory outside the AP chip, so the executing program of the SE is loaded from the memory outside the AP chip to the memory inside the AP chip by the AP chip, and then the executing program of the SE is loaded from the memory inside the AP chip to the memory inside the SE by the second ROM program and is operated.
Alternatively, the second ROM program is executed by a processor in the SE, and the SE loads its execution program into the RAM of the SE and is executed by the processor of the SE.
Optionally, before the SE runs the second ROM program or executes the program, the validity of the program to be run is checked to ensure data security. Illustratively, taking an execution program of the SE as an example, if the result of the verification is that the execution program of the SE is legal, the SE runs the execution program; and if the result of the verification is that the execution program of the SE is illegal, the SE does not run the execution program.
In step 508, the AP chip provides the external storage driver to the SE via the bootstrap program.
The AP chip provides an external storage drive for the SE through a bootstrap program, so that the SE can read and write a memory outside the AP chip.
In step 509, the SE communicates with the short-range communication chip through its execution program to complete the card swiping operation.
After running the execution program, the SE communicates with the short-distance communication chip, and in the communication process, the SE can read data needing to be sent to the short-distance communication chip from a memory outside the AP chip, and meanwhile, the SE can write the data received from the short-distance communication chip into the memory outside the AP chip.
After the card swiping operation is completed, the mobile terminal can be restored to the power-off state, so that the AP chip can execute the power-off operation after the card swiping operation is completed.
In a possible implementation manner, after the SE is powered on and started, the AP chip executes a shutdown operation after a preset time period. The AP chip can execute shutdown operation after a preset time length through a bootstrap program. For example, assuming that the preset time duration is 10 seconds, the AP chip performs a shutdown operation through the boot program after the SE is powered on and started for 10 seconds.
In another possible implementation, after the SE is powered on and started, the AP chip starts a timer, resets the timer when receiving a reset command sent by the SE, and executes a shutdown operation when the timer times out. When the SE is communicated with the short-distance communication chip, a reset command is sent to the AP chip every time the signal from the short-distance communication chip is received, and the AP chip resets the timer through a bootstrap program after receiving the reset command.
Through the two modes, the automatic shutdown is executed after the card swiping operation is completed, and the waste of the electric quantity of the mobile terminal is avoided. In addition, in the automatic shutdown process, if the AP chip receives a trigger signal for normal startup, the shutdown operation is not executed, and the normal startup operation is directly executed.
Alternatively, referring to fig. 3 in combination, where the AP chip includes a main processor and a microprocessor, the PMU provides power to the microprocessor of the AP chip, but does not provide power to the main processor of the AP chip, after detecting the power-on signal. Accordingly, the microprocessor of the AP chip is powered on and started, and the main processor is not powered on. And the microprocessor determines whether the startup is triggered by the short-distance communication chip after being powered on, and controls the SE to be powered on under the condition that the startup is triggered by the short-distance communication chip. For example, after the microprocessor is powered on and started, the microprocessor runs a first ROM program, and the first ROM program executes the operation. The power consumption of the microprocessor is less than that of the main processor, and the power consumption of the AP chip is reduced by powering on the microprocessor instead of the main processor. In addition, when the microprocessor determines that the short-distance communication chip does not trigger the starting, the microprocessor triggers the main processor to be electrified, and the main processor executes normal starting operation.
In the scheme that this application embodiment provided, to the scheme of built-in SE, send power-on signal to the PMU when detecting the radio-frequency signal that accords with preset condition through the short distance communication chip, PMU detects power-on signal and supplies power to the AP chip, so that the SE of integration on the AP chip is gone up the power and is started, and then communicate with the short distance communication chip, in order to accomplish the operation of punching the card, thereby realized shutting and punching the card function, in order to satisfy the user better and realize the payment of punching the card under the low-power shutdown state to mobile terminal, public transit is punched the card, the actual application demand of operations such as entrance guard of punching the card, the technical scheme that this application embodiment provided has stronger practical value.
Referring to fig. 6, a flowchart of a power-on control method according to another embodiment of the present application is shown. The method can be applied to the mobile terminal shown in fig. 2. The method may include the steps of:
step 601, when detecting the radio frequency signal meeting the preset condition, the short-distance communication chip sends a power-on signal to the PMU.
At step 602, the PMU supplies power to the AP chip after detecting the power-on signal.
Step 603, the AP chip runs a first ROM program, and determines whether the short-distance communication chip triggers starting up or not through the first ROM program; if yes, go to step 604; if not, the following step 610 is performed.
In step 604, the AP chip loads a first boot program.
And if the short-distance communication chip is triggered to start, the AP chip loads a first bootstrap program from a memory outside the AP chip to a memory inside the AP chip through a first ROM program and runs the first bootstrap program, wherein the first bootstrap program is used for controlling the SE to be powered on.
In step 605, the AP chip loads the execution program of the SE from the memory outside the AP chip to the memory inside the AP chip through the first boot program.
In step 606, the AP chip controls the SE to power up via the first bootstrap program.
In step 607, the SE executes the second ROM program, and loads the execution program from the memory inside the AP chip to the memory inside the SE through the second ROM program.
At step 608, the AP chip provides the external storage driver to the SE through the first bootstrap program.
In step 609, the SE communicates with the short-range communication chip through its execution program to complete the card swiping operation.
At step 610, the AP chip loads a second boot program.
And if the short-distance communication chip does not trigger the startup, the AP chip loads a second bootstrap program from a memory outside the AP chip to a memory inside the AP chip through the first ROM program and runs the second bootstrap program, wherein the second bootstrap program is used for executing normal startup operation.
In step 611, the AP chip executes a normal boot operation through the second boot program.
And if the AP chip determines that the startup is not triggered by the short-distance communication chip, executing normal startup operation through a second bootstrap program, and not controlling the SE to be powered on.
In this embodiment, the data amount of the first boot program is smaller than the data amount of the second boot program. Under the condition that the AP chip is determined to be started by triggering of the short-distance communication chip, the SE can be started up in an electrified mode more quickly by loading and running the first bootstrap program with relatively small data volume, and processing overhead of the AP chip is saved.
In the scheme that this application embodiment provided, to the scheme of built-in SE, send power-on signal to PMU when detecting the radio frequency signal that accords with preset condition through the short distance communication chip, PMU detects power-on signal back AP chip power supply, so that the SE of integration on the AP chip is gone up the power and is started, and then communicate with the short distance communication chip, in order to accomplish the operation of punching the card, thereby realized shutting and punching the card function, in order to satisfy the user better and realize the payment of punching the card, public transit is punched the card, the actual application demand of operations such as entrance guard of punching the card under being in the low-electricity shutdown state to mobile terminal, the technical scheme that this application embodiment provided has stronger practical value.
In addition, under the condition that the AP chip is determined to be started by triggering of the short-distance communication chip, the SE can be started up in a power-on mode more quickly by loading and running the first bootstrap program with relatively small data volume, and processing overhead of the AP chip is saved.
An exemplary embodiment of the present application further provides an AP chip, as shown in fig. 7, the AP chip 71 has a SE 72 integrated thereon. Where SE 72 is coupled to a short-range communication chip 73, AP chip 71 is coupled to PMU 74, and short-range communication chip 73 is also coupled to PMU 74.
The AP chip 71 is configured to determine whether the power-on is triggered by the short-range communication chip 73 after power-on; if the short-distance communication chip 73 triggers the startup, the SE 72 is controlled to be powered on. In the case that the AP chip 71 is in the power-off state, the PMU 74 supplies power to the AP chip 71 after detecting the power-on signal, and the short-range communication chip 73 sends the power-on signal to the PMU 74 when detecting the radio-frequency signal meeting the preset condition.
The SE 72 is used to communicate with the short-range communication chip 73 after power-up.
An exemplary embodiment of the present application further provides a power-on control method, which is applied to an AP chip integrated with an SE. Wherein the SE is coupled to the short-range communication chip, the AP chip is coupled to the PMU, and the short-range communication chip is also coupled to the PMU. As shown in fig. 8, the method includes the following steps:
step 801, after the AP chip is powered on, determining whether the AP chip is triggered to start up by the short-distance communication chip;
under the condition that the AP chip is in a power-off state, the PMU supplies power to the AP chip after detecting a power-on signal, and the short-distance communication chip sends the power-on signal to the PMU when detecting a radio-frequency signal meeting a preset condition;
step 802, if the short-distance communication chip triggers the startup, the AP chip controls the SE to be powered on;
at step 803, after the SE is powered on, it communicates with the short-range communication chip.
The description about the two embodiments of fig. 7 and fig. 8 is referred to the description about the corresponding contents above, and will not be repeated herein.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the embodiments of the present application in further detail, and it should be understood that the above-mentioned embodiments are only specific embodiments of the present application, and are not intended to limit the scope of the embodiments of the present application, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the embodiments of the present application should be included in the scope of the embodiments of the present application.

Claims (11)

1. An Application Processor (AP) chip, wherein a Secure Element (SE) is integrated on the AP chip, the SE is coupled with a short-range communication chip, the AP chip is coupled with a Power Management Unit (PMU), and the short-range communication chip is also coupled with the PMU;
the AP chip is used for determining whether the short-distance communication chip triggers the startup or not after being electrified; if the short-distance communication chip triggers the startup, controlling the SE to be powered on; if the short-distance communication chip does not trigger the startup, executing normal startup operation, wherein the normal startup operation comprises starting an operating system and displaying a User Interface (UI), and the normal startup operation does not comprise controlling the SE to be powered on; under the condition that the AP chip is in a power-off state, the PMU supplies power to the AP chip after detecting a power-on signal, and the short-distance communication chip sends the power-on signal to the PMU when detecting a radio-frequency signal meeting a preset condition;
the SE is used for communicating with the short-distance communication chip after being powered on.
2. The AP chip of claim 1, wherein the AP chip is configured to:
after power-on, receiving an indication signal sent by the PMU, wherein the indication signal is used for indicating whether the short-distance communication chip triggers power-on or not;
and determining whether the short-distance communication chip triggers the startup or not according to the indication signal.
3. The AP chip of claim 1, wherein the AP chip is configured to:
after the short-distance communication chip is powered on, if the preset pin is detected to receive a preset signal sent by the short-distance communication chip, the short-distance communication chip is determined to trigger the power-on.
4. The AP chip of claim 1, wherein the predetermined condition is that the RF signal includes a predetermined identifier, or wherein the predetermined condition is that the frequency of the RF signal is within a predetermined frequency band.
5. The AP chip of claim 1, wherein the AP chip is configured to:
if the short-distance communication chip triggers starting, loading a first bootstrap program, wherein the first bootstrap program is used for controlling the SE to be powered on;
if the short-distance communication chip does not trigger the startup, loading a second bootstrap program, wherein the second bootstrap program is used for executing the normal startup operation;
wherein the data volume of the first boot program is smaller than the data volume of the second boot program.
6. The AP chip according to any one of claims 1 to 5,
the AP chip is also used for loading an executive program of the SE from a memory outside the AP chip to a memory inside the AP chip, and the executive program is used for realizing a card swiping function;
and the SE is also used for loading the execution program from the memory inside the AP chip to the memory inside the SE after the power-on.
7. The AP chip of any one of claims 1 to 5, wherein the AP chip is further configured to:
executing shutdown operation after a preset time length after the SE is powered on;
alternatively, the first and second electrodes may be,
starting a timer after the SE is powered on; resetting the timer upon receiving a reset command sent by the SE, wherein the reset command is sent to the AP chip by the SE each time the SE receives a signal from the short-range communication chip; and when the timer is overtime, executing shutdown operation.
8. A power-on control method is applied to an Application Processor (AP) chip integrated with a Safety Element (SE), wherein the SE is coupled with a short-distance communication chip, the AP chip is coupled with a Power Management Unit (PMU), and the short-distance communication chip is also coupled with the PMU;
the method comprises the following steps:
after the AP chip is powered on, determining whether the short-distance communication chip triggers the startup or not; under the condition that the AP chip is in a power-off state, the PMU supplies power to the AP chip after detecting a power-on signal, and the short-distance communication chip sends the power-on signal to the PMU when detecting a radio-frequency signal meeting a preset condition;
if the short-distance communication chip triggers the startup, the AP chip controls the SE to be powered on; if the short-distance communication chip does not trigger the startup, executing normal startup operation, wherein the normal startup operation comprises starting an operating system and displaying a User Interface (UI), and the normal startup operation does not comprise controlling the SE to be powered on;
the SE communicates with the short-range communication chip after being powered up.
9. The method of claim 8, wherein after the AP chip controls the SE to power up, further comprising:
the AP chip loads an executive program of the SE from a memory outside the AP chip to a memory inside the AP chip, and the executive program is used for realizing a card swiping function;
and after the SE is powered on, loading the execution program from a memory inside the AP chip to a memory inside the SE.
10. The method according to claim 8 or 9, wherein after the AP chip controls the SE to power up, the method further comprises:
the AP chip executes shutdown operation after the SE is powered on for a preset time;
alternatively, the first and second electrodes may be,
the AP chip starts a timer after the SE is powered on; the AP chip resets the timer when receiving a reset command sent by the SE, wherein the SE sends the reset command to the AP chip every time the SE receives a signal from the short-distance communication chip; and when the timer is over time, the AP chip executes shutdown operation.
11. A mobile terminal, characterized in that the mobile terminal comprises: an Application Processor (AP) chip, a short-range communication chip, a Power Management Unit (PMU) and a Secure Element (SE) integrated on the AP chip, wherein the SE is coupled with the short-range communication chip, the AP chip is coupled with the PMU, and the short-range communication chip is also coupled with the PMU;
the short-distance communication chip is used for sending a power-on signal to the PMU when a radio-frequency signal meeting a preset condition is detected;
the PMU is used for supplying power to the AP chip after the power-on signal is detected;
the AP chip is used for determining whether the short-distance communication chip triggers the startup or not after being electrified; if the short-distance communication chip triggers the startup, controlling the SE to be powered on; if the short-distance communication chip does not trigger the startup, executing normal startup operation, wherein the normal startup operation comprises starting an operating system and displaying a User Interface (UI), and the normal startup operation does not comprise controlling the SE to be powered on;
the SE is used for communicating with the short-distance communication chip after being powered on.
CN201710765453.7A 2017-08-30 2017-08-30 Power-on control method, AP chip and mobile terminal Active CN109426324B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710765453.7A CN109426324B (en) 2017-08-30 2017-08-30 Power-on control method, AP chip and mobile terminal
PCT/CN2018/102567 WO2019042260A1 (en) 2017-08-30 2018-08-27 Power-on control method, ap chip and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710765453.7A CN109426324B (en) 2017-08-30 2017-08-30 Power-on control method, AP chip and mobile terminal

Publications (2)

Publication Number Publication Date
CN109426324A CN109426324A (en) 2019-03-05
CN109426324B true CN109426324B (en) 2021-01-29

Family

ID=65504132

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710765453.7A Active CN109426324B (en) 2017-08-30 2017-08-30 Power-on control method, AP chip and mobile terminal

Country Status (2)

Country Link
CN (1) CN109426324B (en)
WO (1) WO2019042260A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112153119B (en) * 2020-09-09 2023-03-21 锐捷网络股份有限公司 Control equipment, method and system
CN115454517B (en) * 2022-11-11 2023-03-10 山东云海国创云计算装备产业创新中心有限公司 Method, system, storage medium, device and chip for multi-medium secure boot

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101916950A (en) * 2010-04-06 2010-12-15 上海复旦微电子股份有限公司 Safety chip concentrator
CN201838037U (en) * 2009-12-29 2011-05-18 北京万集科技有限责任公司 Multi-awakening-source awakening circuit used for ETC (electronic temperature controller) vehicle-mounted unit
CN201878132U (en) * 2010-11-03 2011-06-22 东莞宇龙通信科技有限公司 Mobile terminal
CN202095097U (en) * 2011-05-10 2011-12-28 武汉天喻信息产业股份有限公司 SE module capable of expanding multiple ways SWP protocol interface
CN102316226A (en) * 2011-09-23 2012-01-11 惠州Tcl移动通信有限公司 NFC (near field communication) mobile terminal
US8171525B1 (en) * 2011-09-15 2012-05-01 Google Inc. Enabling users to select between secure service providers using a central trusted service manager
CN103064816A (en) * 2013-01-07 2013-04-24 华为终端有限公司 SIM (subscriber identity module) card hot plug protection method and terminal, and SIM card in-place power-down swiping method and terminal
CN203643943U (en) * 2013-12-31 2014-06-11 青岛歌尔声学科技有限公司 Multifunctional starting circuit and Bluetooth product
CN104485982A (en) * 2014-11-20 2015-04-01 广东欧珀移动通信有限公司 Intelligent accessory-based NFC (near field communication) method and system
CN106101406A (en) * 2016-06-07 2016-11-09 Tcl移动通信科技(宁波)有限公司 A kind of shutdown quarter-bell based on mobile terminal triggers processing method and mobile terminal
CN107071714A (en) * 2017-06-05 2017-08-18 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal and its bluetooth loading control method and storage device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8352323B2 (en) * 2007-11-30 2013-01-08 Blaze Mobile, Inc. Conducting an online payment transaction using an NFC enabled mobile communication device
CN101281611A (en) * 2008-05-27 2008-10-08 北京握奇数据系统有限公司 Double-interface smart card and method for starting non-contact application
CN101894290B (en) * 2010-04-06 2015-07-08 上海复旦微电子集团股份有限公司 Non-contact communication device
CN102325203B (en) * 2011-05-10 2015-06-17 惠州Tcl移动通信有限公司 Mobile terminal and communication device thereof
CN102411742A (en) * 2011-12-27 2012-04-11 大唐微电子技术有限公司 Mobile terminal
CN105379171B (en) * 2013-08-12 2019-01-04 英特尔公司 Method, equipment and system for secure near field communication framework
CN204810251U (en) * 2015-05-28 2015-11-25 比亚迪股份有限公司 Switching on and shutting down circuit of consumer and consumer

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201838037U (en) * 2009-12-29 2011-05-18 北京万集科技有限责任公司 Multi-awakening-source awakening circuit used for ETC (electronic temperature controller) vehicle-mounted unit
CN101916950A (en) * 2010-04-06 2010-12-15 上海复旦微电子股份有限公司 Safety chip concentrator
CN201878132U (en) * 2010-11-03 2011-06-22 东莞宇龙通信科技有限公司 Mobile terminal
CN202095097U (en) * 2011-05-10 2011-12-28 武汉天喻信息产业股份有限公司 SE module capable of expanding multiple ways SWP protocol interface
US8171525B1 (en) * 2011-09-15 2012-05-01 Google Inc. Enabling users to select between secure service providers using a central trusted service manager
CN102316226A (en) * 2011-09-23 2012-01-11 惠州Tcl移动通信有限公司 NFC (near field communication) mobile terminal
CN103064816A (en) * 2013-01-07 2013-04-24 华为终端有限公司 SIM (subscriber identity module) card hot plug protection method and terminal, and SIM card in-place power-down swiping method and terminal
CN203643943U (en) * 2013-12-31 2014-06-11 青岛歌尔声学科技有限公司 Multifunctional starting circuit and Bluetooth product
CN104485982A (en) * 2014-11-20 2015-04-01 广东欧珀移动通信有限公司 Intelligent accessory-based NFC (near field communication) method and system
CN106101406A (en) * 2016-06-07 2016-11-09 Tcl移动通信科技(宁波)有限公司 A kind of shutdown quarter-bell based on mobile terminal triggers processing method and mobile terminal
CN107071714A (en) * 2017-06-05 2017-08-18 Tcl移动通信科技(宁波)有限公司 A kind of mobile terminal and its bluetooth loading control method and storage device

Also Published As

Publication number Publication date
CN109426324A (en) 2019-03-05
WO2019042260A1 (en) 2019-03-07

Similar Documents

Publication Publication Date Title
JP5314107B2 (en) System and method for managing and controlling near field communication in a mobile multi-function device when the device is uncharged or only partially charged
US9288107B2 (en) Method and system for controlling operations in a mobile communication device that is enabled for near field communication (NFC)
CN109478904B (en) NFC service processing method, terminal and storage medium
EP2629499B1 (en) Battery management scheme for NFC
KR102507530B1 (en) Method for probiding smart key service and electronic device thereof
US10120427B1 (en) Multi-chip reference counting power management
CN102739293B (en) Management of secure element deadlock
US20130225074A1 (en) Non-volatile memory for nfc router
CN109426324B (en) Power-on control method, AP chip and mobile terminal
EP3404585B1 (en) Method for keeping working state of smart card entering field again, and smart card
CN109815749B (en) System, method and chip for controlling SE
JP2009043251A (en) Multifunctioned ic card
KR102374828B1 (en) Electronic device transmitting data obtained from an external device based on identification information of a cover device to the cover device and control method thereof
CN107155164B (en) NFC power management apparatus and method
WO2016180645A1 (en) Rfid transponder, rfid transponder arrangement and method for communication between an rfid transponder and a reading device
JP2017126125A (en) Ic card, portable electronic apparatus and processor
KR101882710B1 (en) Mobile terminal and communication system having the same
CN117131474A (en) Secure firmware deployment method and system and electronic equipment
US8521935B2 (en) Portable electronic apparatus, control method for portable electronic apparatus, and IC card
EP3050001B1 (en) A method and system for initiating a function in an electronic device
JP6438245B2 (en) COMMUNICATION DEVICE, ITS CONTROL METHOD, PROGRAM
CN115913798A (en) Power supply for electronic devices
TW201539245A (en) Power supply device and electronic device with the power supply device
JP2004152210A (en) Ic card
JP2012022356A (en) Ic card

Legal Events

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