CN107835507B - Communication processing method applied to Bluetooth shield and Bluetooth shield - Google Patents

Communication processing method applied to Bluetooth shield and Bluetooth shield Download PDF

Info

Publication number
CN107835507B
CN107835507B CN201711033521.7A CN201711033521A CN107835507B CN 107835507 B CN107835507 B CN 107835507B CN 201711033521 A CN201711033521 A CN 201711033521A CN 107835507 B CN107835507 B CN 107835507B
Authority
CN
China
Prior art keywords
bluetooth
shield
communication connection
bluetooth shield
usb
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
CN201711033521.7A
Other languages
Chinese (zh)
Other versions
CN107835507A (en
Inventor
陈柳章
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Minghua Alliance Technology Co Ltd
Original Assignee
Beijing Minghua Alliance Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Minghua Alliance Technology Co Ltd filed Critical Beijing Minghua Alliance Technology Co Ltd
Priority to CN201711033521.7A priority Critical patent/CN107835507B/en
Publication of CN107835507A publication Critical patent/CN107835507A/en
Priority to PCT/CN2018/098065 priority patent/WO2019085560A1/en
Application granted granted Critical
Publication of CN107835507B publication Critical patent/CN107835507B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/34User authentication involving the use of external additional devices, e.g. dongles or smart cards
    • G06F21/35User authentication involving the use of external additional devices, e.g. dongles or smart cards communicating wirelessly

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a communication processing method applied to a Bluetooth shield, the Bluetooth shield and a computer readable storage medium, wherein the communication processing method comprises the following steps: monitoring an acquisition event of a Bluetooth connection message when a Bluetooth shield is in a USB communication connection state, wherein the Bluetooth connection message is related to the Bluetooth shield for establishing Bluetooth communication connection; when an acquisition event of the Bluetooth connection message is monitored, controlling the Bluetooth shield to establish Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message, wherein the corresponding equipment is sending equipment of the Bluetooth connection message; and if the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state. The technical scheme provided by the invention can simplify the operation process of switching the Bluetooth shield from the USB communication connection state to the Bluetooth communication connection state.

Description

Communication processing method applied to Bluetooth shield and Bluetooth shield
Technical Field
The invention relates to the technical field of Bluetooth shields, in particular to a communication processing method applied to a Bluetooth shield, the Bluetooth shield and a computer readable storage medium.
Background
With the deep popularization of electronic commerce, the use of electronic payment is more and more popular, and a user can conveniently complete almost all financial services through an online bank. Because of the property security problem, a secure identity authentication mechanism needs to be embedded in the process of financial management business through online banking.
The U shield is a hardware device providing a Universal Serial Bus (USB) interface and a secure identity authentication mechanism, a single chip microcomputer or an intelligent card chip is arranged in the U shield, a certain storage space is provided, a private key and a digital certificate of a user can be stored, and the authentication of the identity of the user can be realized by utilizing a public key algorithm arranged in the U shield. The bluetooth shield is an improved device based on the U shield, and can be understood as a U shield with a bluetooth function. The Bluetooth shield expands the function of the U shield to the mobile terminal by using the Bluetooth technology, breaks the physical limitation of the safety identity authentication mechanism of the U shield on the use of the mobile terminal, and further improves the safety of the mobile payment transaction of the user technically.
Currently, when a bluetooth shield accesses a device supporting USB communication, such as a personal computer (i.e., a PC), a notebook, etc., through a USB interface, the bluetooth shield establishes a USB communication connection with the device to establish a USB communication channel. Because the current bluetooth shield only supports single-channel communication (namely, the bluetooth shield cannot adopt the bluetooth communication channel and the USB communication channel to communicate simultaneously), if the user wants to adopt the bluetooth communication channel of the bluetooth shield to communicate at this moment, the user needs to disconnect the established USB communication connection on the bluetooth shield first, and then can establish the bluetooth communication connection based on the bluetooth communication channel of the bluetooth shield, and the operation process is tedious.
Disclosure of Invention
The present invention provides a communication processing method applied to a bluetooth shield, a bluetooth shield and a computer readable storage medium, which are used to simplify the operation process of switching the bluetooth shield from a USB communication connection state to a bluetooth communication connection state.
The first aspect of the present invention provides a communication processing method applied to a bluetooth shield, including:
monitoring an acquisition event of a Bluetooth connection message when a Bluetooth shield is in a USB communication connection state, wherein the Bluetooth connection message is related to the Bluetooth shield for establishing Bluetooth communication connection;
when an acquisition event of the Bluetooth connection message is monitored, controlling the Bluetooth shield to establish Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message, wherein the corresponding equipment is sending equipment of the Bluetooth connection message;
and if the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
Based on the first aspect of the present invention, in a first possible implementation manner, if the bluetooth shield successfully establishes a bluetooth communication connection with a corresponding device based on the bluetooth connection message, the disconnecting the USB communication connection of the bluetooth shield and controlling the bluetooth shield to enter a bluetooth communication connection state specifically includes:
and if the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message and the Bluetooth shield does not process an APDU command through a USB interface currently, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
Based on the first possible implementation manner of the first aspect of the present invention, in a second possible implementation manner, after the controlling the bluetooth shield to establish a bluetooth communication connection with a corresponding device based on the bluetooth connection message, the method further includes:
if the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message and the Bluetooth shield is currently processing an APDU command through a USB interface, then:
the Bluetooth communication connection is disconnected, and the Bluetooth communication connection is disconnected,
alternatively, the first and second electrodes may be,
and after the Bluetooth shield finishes processing the APDU command, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
Based on the first aspect of the present invention, or the first possible implementation manner of the first aspect of the present invention, or the second possible implementation manner of the first aspect of the present invention, in a third possible implementation manner, the communication processing method further includes:
when the Bluetooth shield is disconnected from the Bluetooth communication connection, enabling the USB interface of the Bluetooth shield so as to respond to a USB connection request of an external communicable device when the Bluetooth shield is connected with the external communicable device through the USB interface, wherein the USB connection request is used for requesting to establish USB communication connection with the Bluetooth shield, and the external communicable device is a device supporting USB communication.
Based on the first aspect of the present invention, or the first possible implementation manner of the first aspect of the present invention, or the second possible implementation manner of the first aspect of the present invention, in a fourth possible implementation manner, the communication processing method further includes:
and if the USB interface of the Bluetooth shield is not connected with external communication equipment when the Bluetooth shield is disconnected from Bluetooth communication connection, controlling the Bluetooth shield to enter a dormant state or controlling the Bluetooth shield to shut down, wherein the external communication equipment is equipment supporting USB communication.
Based on the first aspect of the present invention, or the first possible implementation manner of the first aspect of the present invention, or the second possible implementation manner of the first aspect of the present invention, in a fifth possible implementation manner, the communication method further includes:
if the connection between the USB interface of the Bluetooth shield and external communication equipment is detected in the dormant state of the Bluetooth shield, waking up the Bluetooth shield;
and/or the presence of a gas in the gas,
and if the USB interface of the Bluetooth shield is not connected with external communication equipment in the power-off state of the Bluetooth shield, controlling the Bluetooth shield to be powered on.
The second aspect of the present invention provides a bluetooth shield, comprising:
the Bluetooth chip module and the safety chip module;
the Bluetooth chip module is used for monitoring an acquisition event of a Bluetooth connection message when a Bluetooth shield is in a USB communication connection state, and establishing Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message when the acquisition event of the Bluetooth connection message is monitored, wherein the Bluetooth connection message is related to the Bluetooth shield in establishing the Bluetooth communication connection, and the corresponding equipment is sending equipment of the Bluetooth connection message;
the Bluetooth chip module is also used for: when the Bluetooth chip module and the corresponding equipment successfully establish Bluetooth communication connection, sending a notification message to the security chip, wherein the notification message is used for notifying the security chip module that the Bluetooth communication connection is successful;
the secure chip module is configured to: and when the notification message is received, disconnecting the USB communication connection of the Bluetooth shield, and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
Based on the second aspect of the present invention, in a first possible implementation manner, the secure chip module is specifically configured to: when the notification message is received, judging whether the Bluetooth shield processes an APDU command through a USB interface currently; and if the Bluetooth shield is judged not to process the APDU command through the USB interface currently, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
Based on the first possible implementation manner of the second aspect of the present invention, in a second possible implementation manner, the secure chip module is further configured to: after judging whether the Bluetooth shield processes the APDU command through the USB interface currently, if judging that the Bluetooth shield processes the APDU command through the USB interface currently, then: triggering the Bluetooth chip module to disconnect the Bluetooth communication connection, or after the Bluetooth shield finishes processing the APDU command, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
A third aspect of the present invention provides a bluetooth shield, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the communication processing method of the first aspect or any possible implementation manner of the first aspect.
A fourth aspect of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the communication processing method mentioned in the first aspect or any of the possible implementation manners of the first aspect.
Therefore, in the scheme of the invention, when the Bluetooth shield is in the USB communication connection state, the acquisition event of the Bluetooth connection message is monitored, and when the acquisition event of the Bluetooth connection message is monitored, the Bluetooth shield is controlled to establish the Bluetooth communication connection with the corresponding equipment, the USB communication connection of the Bluetooth shield is disconnected when the Bluetooth communication connection is successfully established, and the Bluetooth shield is controlled to enter the Bluetooth communication connection state, so that the Bluetooth shield is automatically switched from the USB communication connection to the Bluetooth communication connection. The switching process does not need human participation, so that the operation process of switching the Bluetooth shield from the USB communication connection state to the Bluetooth communication connection state is effectively simplified. In addition, the USB communication connection of the Bluetooth shield is disconnected when the Bluetooth shield and the corresponding equipment successfully establish the Bluetooth communication connection, so that the effective switching of the communication connection state of the Bluetooth shield can be ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic flow chart illustrating a communication processing method according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a communication processing apparatus according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of an embodiment of a Bluetooth shield provided in the present invention;
fig. 4 is a schematic structural diagram of another embodiment of the bluetooth shield provided by the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a communication processing method applied to a bluetooth shield according to an embodiment of the present invention is described below, where the communication processing method according to the embodiment of the present invention includes:
step 101, monitoring an acquisition event of a Bluetooth connection message when a Bluetooth shield is in a USB communication connection state;
in the embodiment of the invention, the Bluetooth shield refers to equipment integrating a Bluetooth function and a U shield function. When the bluetooth shield is in the USB communication connection state, it indicates that the bluetooth shield has been inserted into an external communicable device (the external communicable device is a device supporting USB communication, such as a PC, a notebook, etc.) through a USB interface and establishes a USB communication connection, and at this time, the bluetooth shield performs communication using a USB communication channel.
The Bluetooth connection message is related to the Bluetooth communication connection established by the Bluetooth shield.
In an application scenario, the bluetooth connection message may be a bluetooth connection request message initiated by a peripheral device and requesting to establish a bluetooth communication connection with the bluetooth shield. Specifically, when the bluetooth shield starts the bluetooth function, the bluetooth shield broadcasts the bluetooth related information thereof, so that the devices located around the bluetooth shield can search the bluetooth shield based on the bluetooth technology and initiate the bluetooth connection request message for the bluetooth shield.
In another application scenario, the bluetooth connection message may also be a message that is broadcasted by devices located around the bluetooth shield and carries a device identifier (e.g., a device serial number) of the bluetooth shield. Specifically, if a history of establishing a bluetooth communication connection with the bluetooth shield exists in a certain device, when the subsequent device starts a bluetooth function, the device broadcasts a bluetooth connection message carrying a device identifier of the bluetooth shield. In the embodiment of the present invention, after the bluetooth shield starts the bluetooth function, a message unrelated to the bluetooth communication connection established by the bluetooth shield (i.e., a message not carrying the device identifier of the bluetooth shield) may be filtered from messages broadcasted by devices located around the bluetooth shield, and a bluetooth connection message related to the bluetooth communication connection established by the bluetooth shield (i.e., a message carrying the device identifier of the bluetooth shield) may be obtained from the messages.
In step 101, an acquisition event of the bluetooth connection message is monitored so that the user can know the acquisition event in time when the bluetooth connection message is acquired.
102, when monitoring an acquisition event of the Bluetooth connection message, controlling the Bluetooth shield to establish Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message;
in step 102, when an acquisition event of the bluetooth connection message is monitored in the USB communication connection state of the bluetooth shield, it indicates that the bluetooth shield has a requirement for establishing a bluetooth communication connection, and at this time, the bluetooth shield is controlled to establish a bluetooth communication connection with a corresponding device based on the bluetooth connection message. Wherein, the corresponding device is the sending device of the Bluetooth connection message. Specifically, the process of the bluetooth shield establishing the bluetooth communication connection with the corresponding device based on the bluetooth connection message may be implemented by referring to the prior art, and is not described herein again.
103, if the bluetooth shield successfully establishes the bluetooth communication connection with the corresponding equipment based on the bluetooth connection message, disconnecting the USB communication connection of the bluetooth shield, and controlling the bluetooth shield to enter a bluetooth communication connection state;
in step 103, when the bluetooth shield successfully establishes a bluetooth communication connection with a corresponding device based on the bluetooth connection message (which is equivalent to a successful bluetooth pairing), the USB communication connection of the bluetooth shield is disconnected, and the bluetooth shield is controlled to enter a bluetooth communication connection state. When the Bluetooth shield is in the Bluetooth communication connection state, the Bluetooth shield communicates by adopting a Bluetooth communication channel. It should be understood that, if the bluetooth shield is powered on and is not in the USB communication connection state, the bluetooth shield will enter the bluetooth communication connection state at this time if the bluetooth shield successfully establishes the bluetooth communication connection with the peripheral device.
Specifically, the disconnecting of the USB communication connection of the bluetooth shield may be a USB soft-unplugging process performed on the bluetooth shield. The above USB soft-pull processing can be implemented by referring to the prior art, and is not described herein again.
To better understand the communication processing method shown in fig. 1, a specific application scenario is described below. The bluetooth shield in this application scenario includes: the Bluetooth safety chip comprises a Bluetooth chip module (used for providing a Bluetooth communication function), a safety chip (mainly used for carrying out digital decryption and storing a digital certificate) and a USB interface, wherein the Bluetooth chip module and the safety chip can be connected through a serial port, the USB interface and the safety chip are electrically connected, and in an application scene, the safety chip and the USB interface can be integrated in the safety chip module. When the bluetooth shield is in a USB communication connection state, if the bluetooth chip module obtains a bluetooth connection message, the security chip is not notified once, and a bluetooth communication connection is established with a corresponding device based on the bluetooth connection message, and when the bluetooth communication connection is successfully established with the corresponding device based on the bluetooth connection message, an instruction (for example, a notification message) indicating that the bluetooth communication connection is successfully established is sent to the security chip, and the security chip performs a USB soft-unplugging process on the bluetooth shield under the instruction of the instruction, and switches the communication channel of the bluetooth shield to a bluetooth communication channel, so as to control the bluetooth shield to enter the bluetooth communication connection state.
In order to avoid that when the user is performing a transaction through the USB interface of the bluetooth shield, the USB communication connection of the bluetooth shield is disconnected to affect the transaction, optionally, step 103 may be specifically represented as: and if the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message and the Bluetooth shield does not process an APDU command through a USB interface currently, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state. Specifically, for the APDU command, reference may be made to the existing description, and details thereof are not repeated herein. Further, step 102 may be followed by: if the bluetooth shield successfully establishes bluetooth communication connection with the corresponding device based on the bluetooth connection message and the bluetooth shield is currently processing an APDU command through a USB interface, then: and disconnecting the Bluetooth communication connection, or after waiting for the Bluetooth shield to process the APDU command, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state. Optionally, the USB interface of the bluetooth shield is turned off when the bluetooth shield is in the bluetooth communication connection state. By this alternative, when the bluetooth shield is in the bluetooth communication connection state, even if the bluetooth shield is plugged into the USB interface of an external communicable device such as a PC or a notebook, the bluetooth communication connection state of the bluetooth shield is maintained and the USB connection request (the USB connection request is used to request the bluetooth shield to establish the USB communication connection) is not received, i.e. the USB communication connection between the bluetooth shield and the external communicable device is not established. Of course, when the bluetooth shield is plugged into the USB interface of an external communicable device such as a PC or a notebook, the bluetooth shield can obtain power supply from the external communicable device regardless of whether a USB communication connection is established. In addition, in a scenario where the bluetooth shield is configured with a rechargeable battery, the rechargeable battery may be in a charging state at this time.
Further, when the bluetooth shield disconnects the bluetooth communication connection, the USB interface of the bluetooth shield is enabled, so that when the bluetooth shield connects to an external communicable device through the USB interface, the USB connection request of the external communicable device is responded, wherein the external communicable device is a device supporting USB communication. Explaining by a specific application scene, when the bluetooth shield is in a bluetooth communication connection state and is inserted into an external communicable device through a USB interface, if the bluetooth shield is disconnected from the bluetooth communication connection at this time, because the USB interface of the bluetooth shield is inserted into the external communicable device, the USB interface of the bluetooth shield can be enabled at this time, so that the bluetooth shield can establish the USB communication connection with the external communicable device, thereby realizing automatic switching from the bluetooth communication connection state to the USB communication connection state.
In order to save the power consumption of the bluetooth shield, the bluetooth shield may be controlled to enter a sleep state or be powered off when the bluetooth shield does not establish a bluetooth communication connection and the USB interface of the bluetooth shield is not connected to an external communicable device (i.e., the USB interface is not plugged into the external communicable device). Optionally, the communication method in the embodiment of the present invention may include:
and if the USB interface of the Bluetooth shield is not connected with the external communication equipment when the Bluetooth shield is disconnected from the Bluetooth communication connection, controlling the Bluetooth shield to enter a dormant state or controlling the Bluetooth shield to shut down. Specifically, when the bluetooth shield disconnects the bluetooth communication connection, it may be detected whether the USB interface of the bluetooth shield is connected to an external communicable device, and if it is detected that the USB interface of the bluetooth shield is not connected to the external communicable device, the bluetooth shield is controlled to enter a sleep state or to be powered off; and/or when the USB interface of the Bluetooth shield is pulled out of the external communication equipment, detecting whether the Bluetooth shield is in a Bluetooth communication connection state, and if the Bluetooth shield is not in the Bluetooth communication connection state, controlling the Bluetooth shield to enter a dormant state or power off.
Further, in the dormant state of the bluetooth shield, the bluetooth shield can be waken up when detecting that the USB interface of the bluetooth shield is connected to an external communicable device or when receiving a preset first key instruction. And/or, in the power-off state of the bluetooth shield, controlling the bluetooth shield to be powered on when detecting that the USB interface of the bluetooth shield is connected with an external communication device or when receiving a preset second key instruction.
It should be noted that the communication processing method in the embodiment of the present invention may be applied to a communication processing apparatus, and the communication processing apparatus may be a stand-alone device or may be integrated in the bluetooth shield, which is not limited herein.
As can be seen from the above, in the embodiment of the present invention, when the bluetooth shield is in the USB communication connection state, the bluetooth shield is controlled to establish the bluetooth communication connection with the corresponding device, and when the bluetooth communication connection is successfully established, the bluetooth shield is controlled to disconnect the USB communication connection of the bluetooth shield, and the bluetooth shield is controlled to enter the bluetooth communication connection state, so that the bluetooth shield is automatically switched from the USB communication connection to the bluetooth communication connection. The switching process does not need human participation, so that the operation process of switching the Bluetooth shield from the USB communication connection state to the Bluetooth communication connection state is effectively simplified. In addition, the USB communication connection of the Bluetooth shield is disconnected when the Bluetooth shield and the corresponding equipment successfully establish the Bluetooth communication connection, so that the effective switching of the communication connection state of the Bluetooth shield can be ensured.
Example two
As shown in fig. 2, the communication processing apparatus 200 in the embodiment of the present invention includes:
a monitoring unit 201, configured to monitor an acquisition event of a bluetooth connection message when a bluetooth shield is in a USB communication connection state, where the bluetooth connection message is related to a bluetooth communication connection established by the bluetooth shield;
a first control unit 202, configured to control the bluetooth shield to establish a bluetooth communication connection with a corresponding device based on the bluetooth connection message when the monitoring unit 201 monitors an acquisition event of the bluetooth connection message, where the corresponding device is a sending device of the bluetooth connection message;
and the second control unit 203 is configured to disconnect the USB communication connection of the bluetooth shield and control the bluetooth shield to enter a bluetooth communication connection state when the bluetooth shield successfully establishes a bluetooth communication connection with a corresponding device based on the bluetooth connection message.
Optionally, the second control unit 203 is specifically configured to: and when the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message and the Bluetooth shield does not process an APDU command through a USB interface currently, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
Optionally, the communication processing apparatus in the embodiment of the present invention further includes: and the third control unit is used for disconnecting the Bluetooth communication connection when the Bluetooth shield successfully establishes the Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message and processes an APDU command through a USB interface at present, or disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state after waiting for the Bluetooth shield to process the APDU command.
Optionally, the communication processing apparatus in the embodiment of the present invention further includes: the enabling unit is used for enabling the USB interface of the Bluetooth shield when the Bluetooth shield is disconnected from the Bluetooth communication connection, so that when the Bluetooth shield is connected with external communication equipment through the USB interface, a USB connection request of the external communication equipment is responded, wherein the USB connection request is used for requesting to establish the USB communication connection with the Bluetooth shield, and the external communication equipment is equipment supporting USB communication.
Optionally, the communication processing apparatus in the embodiment of the present invention further includes: and the power saving control unit is used for controlling the Bluetooth shield to enter a dormant state or controlling the Bluetooth shield to shut down when the Bluetooth shield is disconnected from Bluetooth communication connection and the USB interface of the Bluetooth shield is not connected with external communication equipment. That is, if the USB interface of the bluetooth shield is not plugged into the external communicable device when the bluetooth shield disconnects the bluetooth communication connection, the power-saving control unit controls the bluetooth shield to enter the sleep state or controls the bluetooth shield to shut down
Optionally, the communication processing apparatus in the embodiment of the present invention further includes: the first wake-up unit and/or the second wake-up unit. The first awakening unit is used for awakening the Bluetooth shield when detecting that the USB interface of the Bluetooth shield is connected with external communication equipment in the dormant state of the Bluetooth shield. The second awakening unit is used for controlling the Bluetooth shield to be started when the USB interface of the Bluetooth shield is detected to be connected with external communication equipment in the power-off state of the Bluetooth shield.
It should be noted that the communication processing method in the embodiment of the present invention may be applied to a communication processing apparatus, and the communication processing apparatus may be a stand-alone device or may be integrated in the bluetooth shield, which is not limited herein.
As can be seen from the above, the communication processing apparatus in the embodiment of the present invention monitors an acquisition event of a bluetooth connection message when the bluetooth shield is in the USB communication connection state, and when the acquisition event of the bluetooth connection message is monitored, controls the bluetooth shield to establish a bluetooth communication connection with a corresponding device, and disconnects the USB communication connection of the bluetooth shield when the bluetooth communication connection is successfully established, and controls the bluetooth shield to enter the bluetooth communication connection state, so that the bluetooth shield is automatically switched from the USB communication connection to the bluetooth communication connection. The switching process does not need human participation, so that the operation process of switching the Bluetooth shield from the USB communication connection state to the Bluetooth communication connection state is effectively simplified. In addition, the USB communication connection of the Bluetooth shield is disconnected when the Bluetooth shield and the corresponding equipment successfully establish the Bluetooth communication connection, so that the effective switching of the communication connection state of the Bluetooth shield can be ensured.
EXAMPLE III
Referring to fig. 3, the bluetooth shield in the embodiment of the present invention includes: a Bluetooth chip module 301 and a security chip module 302; the bluetooth chip module 301 and the security chip module 302 may be connected via a serial port. The USB interface (not shown) of the bluetooth shield may be integrated in the security chip module 302, or may exist independently of the security chip module 302.
The bluetooth chip module 301 is configured to monitor an acquisition event of a bluetooth connection message when a bluetooth shield is in a USB communication connection state, and establish a bluetooth communication connection with a corresponding device based on the bluetooth connection message when the acquisition event of the bluetooth connection message is monitored, where the bluetooth connection message is related to the bluetooth shield for establishing the bluetooth communication connection, and the corresponding device is a sending device of the bluetooth connection message;
bluetooth chip module 301 is also used for: when the Bluetooth chip module and the corresponding equipment successfully establish Bluetooth communication connection, sending a notification message to the security chip, wherein the notification message is used for notifying the security chip module that the Bluetooth communication connection is successful;
the secure chip module 302 is configured to: and when the notification message is received, disconnecting the USB communication connection of the Bluetooth shield, and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
Optionally, the secure chip module 302 is specifically configured to: when the notification message is received, judging whether the Bluetooth shield processes an APDU command through a USB interface currently; and if the Bluetooth shield is judged not to process the APDU command through the USB interface currently, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
Further, the secure chip module 302 may also be configured to: after judging whether the Bluetooth shield processes the APDU command through the USB interface currently, if judging that the Bluetooth shield processes the APDU command through the USB interface currently, then: triggering the Bluetooth chip module to disconnect the Bluetooth communication connection, or after the Bluetooth shield finishes processing the APDU command, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
Optionally, the secure chip module 302 may further be configured to: when the Bluetooth shield is disconnected from the Bluetooth communication connection, enabling the USB interface of the Bluetooth shield so as to respond to a USB connection request of an external communicable device when the Bluetooth shield is connected with the external communicable device through the USB interface, wherein the USB connection request is used for requesting to establish USB communication connection with the Bluetooth shield, and the external communicable device is a device supporting USB communication.
Optionally, the secure chip module 302 may further be configured to: and when the USB interface of the Bluetooth shield is not connected with external communication equipment when the Bluetooth shield is disconnected from Bluetooth communication connection, controlling the Bluetooth shield to enter a dormant state or controlling the Bluetooth shield to be powered off, wherein the external communication equipment is equipment supporting USB communication.
Optionally, the secure chip module 302 may further be configured to: when detecting that a USB interface of the Bluetooth shield is connected with external communicable equipment in the dormant state of the Bluetooth shield, waking up the Bluetooth shield; and/or controlling the Bluetooth shield to be started when detecting that the USB interface of the Bluetooth shield is connected with external communication equipment in the power-off state of the Bluetooth shield.
Example four
Referring to fig. 4, a bluetooth shield according to an embodiment of the present invention includes: a memory 401, one or more processors 402 (only one shown in fig. 4), and computer programs stored on the memory 401 and executable on the processors. Wherein: the memory 401 is used to store software programs and modules, and the processor 402 executes various functional applications and data processing by operating the software programs and units stored in the memory 401. Specifically, the processor 402, by running the above-mentioned computer program stored in the memory 401, implements the steps of:
monitoring an acquisition event of a Bluetooth connection message when a Bluetooth shield is in a USB communication connection state, wherein the Bluetooth connection message is related to the establishment of Bluetooth communication connection;
when an acquisition event of the Bluetooth connection message is monitored, controlling the Bluetooth shield to establish Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message, wherein the corresponding equipment is sending equipment of the Bluetooth connection message;
and if the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
Assuming that the above is the first possible implementation manner, in a second possible implementation manner provided on the basis of the first possible implementation manner, if the bluetooth shield successfully establishes a bluetooth communication connection with a corresponding device based on the bluetooth connection message, the disconnecting the USB communication connection of the bluetooth shield and controlling the bluetooth shield to enter a bluetooth communication connection state specifically includes:
and if the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message and the Bluetooth shield does not process an APDU command through a USB interface currently, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
In a third possible implementation manner provided as the basis for the second possible implementation manner, after controlling the bluetooth shield to establish a bluetooth communication connection with a corresponding device based on the bluetooth connection message, the processor 402 further implements the following steps when executing the above computer program stored in the memory 401:
if the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message and the Bluetooth shield is currently processing an APDU command through a USB interface, then:
the Bluetooth communication connection is disconnected, and the Bluetooth communication connection is disconnected,
alternatively, the first and second electrodes may be,
and after the Bluetooth shield finishes processing the APDU command, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
In a fourth possible implementation manner provided on the basis of the first possible implementation manner, the second possible implementation manner, or the third possible implementation manner, the processor 402 further implements the following steps when executing the computer program stored in the memory 401:
when the Bluetooth shield is disconnected from the Bluetooth communication connection, enabling the USB interface of the Bluetooth shield so as to respond to a USB connection request of an external communicable device when the Bluetooth shield is connected with the external communicable device through the USB interface, wherein the USB connection request is used for requesting to establish USB communication connection with the Bluetooth shield, and the external communicable device is a device supporting USB communication.
In a fifth possible implementation manner provided on the basis of the first possible implementation manner, the second possible implementation manner, or the third possible implementation manner, the processor 402 further implements the following steps when executing the computer program stored in the memory 401:
and if the USB interface of the Bluetooth shield is not connected with external communication equipment when the Bluetooth shield is disconnected from Bluetooth communication connection, controlling the Bluetooth shield to enter a dormant state or controlling the Bluetooth shield to shut down, wherein the external communication equipment is equipment supporting USB communication.
In a sixth possible implementation manner provided on the basis of the first possible implementation manner, the second possible implementation manner, or the third possible implementation manner, the processor 402 further implements the following steps when executing the computer program stored in the memory 401:
if the connection between the USB interface of the Bluetooth shield and external communication equipment is detected in the dormant state of the Bluetooth shield, waking up the Bluetooth shield;
and/or the presence of a gas in the gas,
and if the USB interface of the Bluetooth shield is detected to be connected with external communication equipment in the power-off state of the Bluetooth shield, controlling the Bluetooth shield to be powered on.
Further, as shown in fig. 4, the bluetooth shield may further include: one or more input devices 403 (only one shown in fig. 4) and one or more output devices 404 (only one shown in fig. 4). The memory 401, processor 402, input device 403, and output device 404 are connected by a bus 405.
It should be understood that in the present embodiment, the Processor 402 may be a Central Processing Unit (CPU), and the Processor may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, a discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 403 may include a USB interface, a bluetooth chip, a keyboard, a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of a fingerprint), a microphone, etc., and the output device 404 may include a display, a speaker, etc.
Memory 404 may include both read-only memory and random access memory and provides instructions and data to processor 401. Some or all of the memory 404 may also include non-volatile random access memory. For example, the memory 404 may also store device type information.
As can be seen from the above, in the embodiment of the present invention, when the bluetooth shield is in the USB communication connection state, the bluetooth shield is controlled to establish the bluetooth communication connection with the corresponding device, and when the bluetooth communication connection is successfully established, the bluetooth shield is controlled to disconnect the USB communication connection of the bluetooth shield, and the bluetooth shield is controlled to enter the bluetooth communication connection state, so that the bluetooth shield is automatically switched from the USB communication connection to the bluetooth communication connection. The switching process does not need human participation, so that the operation process of switching the Bluetooth shield from the USB communication connection state to the Bluetooth communication connection state is effectively simplified. In addition, the USB communication connection of the Bluetooth shield is disconnected when the Bluetooth shield and the corresponding equipment successfully establish the Bluetooth communication connection, so that the effective switching of the communication connection state of the Bluetooth shield can be ensured.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned functions may be distributed as different functional units and modules according to needs, that is, the internal structure of the apparatus may be divided into different functional units or modules to implement all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the above-described modules or units is only one logical functional division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium and can implement the steps of the embodiments of the method when the computer program is executed by a processor. The computer program includes computer program code, and the computer program code may be in a source code form, an object code form, an executable file or some intermediate form. The computer-readable storage medium may include: any entity or device capable of carrying the above-mentioned computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable storage medium may contain other contents which can be appropriately increased or decreased according to the requirements of the legislation and the patent practice in the jurisdiction, for example, in some jurisdictions, the computer readable storage medium does not include an electrical carrier signal and a telecommunication signal according to the legislation and the patent practice.
The above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (11)

1. A communication processing method applied to a Bluetooth shield is characterized by comprising the following steps:
monitoring an acquisition event of a Bluetooth connection message when a Bluetooth shield is in a USB communication connection state, wherein the Bluetooth connection message is related to the Bluetooth shield for establishing Bluetooth communication connection;
when an acquisition event of the Bluetooth connection message is monitored, controlling the Bluetooth shield to establish Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message, wherein the corresponding equipment is sending equipment of the Bluetooth connection message;
and if the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message, disconnecting the USB communication connection of the Bluetooth shield, controlling the Bluetooth shield to enter a Bluetooth communication connection state, and communicating with the corresponding equipment by adopting a Bluetooth communication channel.
2. The communication processing method according to claim 1, wherein if the bluetooth shield successfully establishes the bluetooth communication connection with the corresponding device based on the bluetooth connection message, disconnecting the USB communication connection of the bluetooth shield, and controlling the bluetooth shield to enter a bluetooth communication connection state specifically includes:
and if the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message and the Bluetooth shield does not process an APDU command through a USB interface currently, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
3. The communication processing method according to claim 2, wherein after controlling the bluetooth shield to establish a bluetooth communication connection with a corresponding device based on the bluetooth connection message, the method further comprises:
if the Bluetooth shield successfully establishes Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message and the Bluetooth shield is currently processing an APDU command through a USB interface, then:
the Bluetooth communication connection is disconnected, and the Bluetooth communication connection is disconnected,
alternatively, the first and second electrodes may be,
and after the Bluetooth shield finishes processing the APDU command, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
4. The communication processing method according to any one of claims 1 to 3, further comprising:
when the Bluetooth shield is disconnected from the Bluetooth communication connection, enabling the USB interface of the Bluetooth shield so as to respond to a USB connection request of an external communicable device when the Bluetooth shield is connected with the external communicable device through the USB interface, wherein the USB connection request is used for requesting to establish USB communication connection with the Bluetooth shield, and the external communicable device is a device supporting USB communication.
5. The communication processing method according to any one of claims 1 to 3, further comprising:
and if the USB interface of the Bluetooth shield is not connected with external communication equipment when the Bluetooth shield is disconnected from Bluetooth communication connection, controlling the Bluetooth shield to enter a dormant state or controlling the Bluetooth shield to shut down, wherein the external communication equipment is equipment supporting USB communication.
6. The communication processing method according to any one of claims 1 to 3, further comprising:
if the connection between the USB interface of the Bluetooth shield and external communication equipment is detected in the dormant state of the Bluetooth shield, waking up the Bluetooth shield;
and/or the presence of a gas in the gas,
and if the USB interface of the Bluetooth shield is detected to be connected with external communication equipment in the power-off state of the Bluetooth shield, controlling the Bluetooth shield to be powered on.
7. A Bluetooth shield, comprising:
the Bluetooth chip module and the safety chip module;
the Bluetooth chip module is used for monitoring an acquisition event of a Bluetooth connection message when a Bluetooth shield is in a USB communication connection state, and establishing Bluetooth communication connection with corresponding equipment based on the Bluetooth connection message when the acquisition event of the Bluetooth connection message is monitored, wherein the Bluetooth connection message is related to the Bluetooth shield in establishing the Bluetooth communication connection, and the corresponding equipment is sending equipment of the Bluetooth connection message;
the Bluetooth chip module is also used for: when the Bluetooth chip module and the corresponding equipment successfully establish Bluetooth communication connection, sending a notification message to the security chip, wherein the notification message is used for notifying the security chip module that the Bluetooth communication connection is successful;
the secure chip module is configured to: and when the notification message is received, disconnecting the USB communication connection of the Bluetooth shield, controlling the Bluetooth shield to enter a Bluetooth communication connection state, and communicating with the corresponding equipment by adopting a Bluetooth communication channel.
8. The Bluetooth shield of claim 7, wherein,
the secure chip module is specifically configured to: when the notification message is received, judging whether the Bluetooth shield processes an APDU command through a USB interface currently; and if the Bluetooth shield is judged not to process the APDU command through the USB interface currently, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
9. The bluetooth shield of claim 8, wherein the security chip module is further configured to: after judging whether the Bluetooth shield processes the APDU command through the USB interface currently, if judging that the Bluetooth shield processes the APDU command through the USB interface currently, then: triggering the Bluetooth chip module to disconnect the Bluetooth communication connection, or after the Bluetooth shield finishes processing the APDU command, disconnecting the USB communication connection of the Bluetooth shield and controlling the Bluetooth shield to enter a Bluetooth communication connection state.
10. A Bluetooth shield comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method according to any of claims 1 to 6 are performed by the processor when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201711033521.7A 2017-10-30 2017-10-30 Communication processing method applied to Bluetooth shield and Bluetooth shield Active CN107835507B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201711033521.7A CN107835507B (en) 2017-10-30 2017-10-30 Communication processing method applied to Bluetooth shield and Bluetooth shield
PCT/CN2018/098065 WO2019085560A1 (en) 2017-10-30 2018-08-01 Communication processing method applied to bluetooth shield and bluetooth shield

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711033521.7A CN107835507B (en) 2017-10-30 2017-10-30 Communication processing method applied to Bluetooth shield and Bluetooth shield

Publications (2)

Publication Number Publication Date
CN107835507A CN107835507A (en) 2018-03-23
CN107835507B true CN107835507B (en) 2020-02-21

Family

ID=61650832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711033521.7A Active CN107835507B (en) 2017-10-30 2017-10-30 Communication processing method applied to Bluetooth shield and Bluetooth shield

Country Status (2)

Country Link
CN (1) CN107835507B (en)
WO (1) WO2019085560A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107835507B (en) * 2017-10-30 2020-02-21 北京明华联盟科技有限公司 Communication processing method applied to Bluetooth shield and Bluetooth shield

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203502964U (en) * 2013-08-27 2014-03-26 江艳玲 Bluetooth USB (Universal Serial Bus) key capable of being connected with mobile phone
CN103702323A (en) * 2013-12-19 2014-04-02 北京深思数盾科技有限公司 Wireless information security equipment system and method
CN105700983A (en) * 2014-11-26 2016-06-22 北京握奇智能科技有限公司 USBKey and USBKey working mode judgment method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017051429A1 (en) * 2015-09-22 2017-03-30 Smartron India Private Limited System and method for switching communication protocol between two devices
CN107835507B (en) * 2017-10-30 2020-02-21 北京明华联盟科技有限公司 Communication processing method applied to Bluetooth shield and Bluetooth shield

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203502964U (en) * 2013-08-27 2014-03-26 江艳玲 Bluetooth USB (Universal Serial Bus) key capable of being connected with mobile phone
CN103702323A (en) * 2013-12-19 2014-04-02 北京深思数盾科技有限公司 Wireless information security equipment system and method
CN105700983A (en) * 2014-11-26 2016-06-22 北京握奇智能科技有限公司 USBKey and USBKey working mode judgment method

Also Published As

Publication number Publication date
CN107835507A (en) 2018-03-23
WO2019085560A1 (en) 2019-05-09

Similar Documents

Publication Publication Date Title
CN112911556B (en) Method for establishing classical Bluetooth connection between dual mode Bluetooth devices and dual mode Bluetooth device
CN109417758B (en) Bluetooth connection method and terminal
US11216549B2 (en) Security verification method and device
US11200561B2 (en) NFC service processing method, terminal, and NFC chip
US20190369711A1 (en) Management of near field communications using a low power express mode of an electronic device
US11157893B2 (en) Electronic device including a plurality of payment modules
EP3069255B1 (en) Method and apparatus for connecting communication of electronic devices
KR20160117443A (en) Devices and methods for portable processing and application execution
CN108337913A (en) Fingerprint login method, micro-control unit, fingerprint power supply module and electric terminal
EP3712829A1 (en) Electronic device including a plurality of payment modules
US20180240109A1 (en) Data Processing Method and System, and Wearable Electronic Device
CN112580051A (en) Starting-up control method and device
WO2011103734A1 (en) Method of terminal equipment for implementing near field communication and terminal equipment for implementing near field communication
AU2016432617A1 (en) Fingerprint recognition method and terminal device
CN209746652U (en) Control unit for improving use safety of intelligent lock
CN115514842A (en) Method, device, chip and storage medium for prompting device electric quantity information
CN107835507B (en) Communication processing method applied to Bluetooth shield and Bluetooth shield
KR20180069640A (en) Method for charging electronic device, electronic device, and storage medium
CN104123512A (en) Method and device for switching between intelligent secrete key equipment modes
CN113282361B (en) Window processing method and electronic equipment
WO2019085915A1 (en) Bluetooth connection method, terminal and bluetooth device
EP3217620B1 (en) Data interaction method and system
CN114765759A (en) Network data processing method and device and electronic equipment
CN105657164A (en) Method and device for eliminating service restriction of portable terminal
CN112448419A (en) Mobile terminal charging state switching method and device

Legal Events

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