CN108650664A - A kind of control method of bluetooth connection, terminal and bluetooth SIM card - Google Patents
A kind of control method of bluetooth connection, terminal and bluetooth SIM card Download PDFInfo
- Publication number
- CN108650664A CN108650664A CN201810350449.9A CN201810350449A CN108650664A CN 108650664 A CN108650664 A CN 108650664A CN 201810350449 A CN201810350449 A CN 201810350449A CN 108650664 A CN108650664 A CN 108650664A
- Authority
- CN
- China
- Prior art keywords
- bluetooth
- terminal
- sim card
- bluetooth connection
- target
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephone Function (AREA)
- Telephonic Communication Services (AREA)
Abstract
This application discloses a kind of control method of bluetooth connection, terminal and bluetooth SIM cards, for in the case where not increasing user's operation, the bluetooth connection between terminal and bluetooth SIM card is established in time, is sent out broadcast data packet always without bluetooth SIM card, has been saved resource.The embodiment of the present application method includes:When the object run of terminal performance objective application, terminal generates target Bluetooth connection request, and target Bluetooth connection request is sent to server, so that server sends the first notification information according to target Bluetooth connection request to bluetooth SIM card, bluetooth SIM card establishes long connection with terminal before this, and the first notification information is used to indicate bluetooth SIM card and establishes bluetooth connection with terminal;Later, terminal sets up bluetooth connection with bluetooth SIM card.
Description
Technical field
This application involves a kind of field of communication technology more particularly to control method of bluetooth connection, terminal and bluetooth SIM
Card.
Background technology
User using terminal (such as:Mobile phone, tablet etc.) bluetooth, the functions such as WIFI, NFC when, for example, utilizing terminal
NFC or WIFI function carry out sharing files, carry out Bluetooth voice call etc. using Bluetooth function, then establishing communication link with terminal
The slave equipment connect will start wireless communication module, to open the service of wireless communication module support, to establish and terminal
Communication connection.Can be established with terminal communication connection slave equipment can there are many, such as mobile phone, PC intelligent terminal set
It is standby, can also be the intelligent wearable device such as Intelligent bracelet, smartwatch.And the client identification module with bluetooth communication capability
(Subscriber Identity Module, SIM) card also belongs to one kind from the device, alternatively referred to as bluetooth SIM card.
Bluetooth SIM card is while there is the slave equipment of ISO7816 and bluetooth connection mode, bluetooth SIM card to pass through ISO7816
The long connection (length connection is unbroken connection, and generally contact connects) with terminal can be established, long connection is passed through
Mode user can be realized call by terminal, receive information, the functions such as online, but can not achieve terminal and bluetooth SIM card it
Between other instruct interaction.If desired the transmission for realizing certain data between terminal and bluetooth SIM card, then need to establish terminal with
Bluetooth connection between bluetooth SIM card.
However, before terminal and bluetooth SIM card establish bluetooth connection, bluetooth SIM card will be sent out always broadcast number
According to packet, until bluetooth connection is established with the terminal, and this process needs continuous drain, causes the wasting of resources.
Invention content
The embodiment of the present application provides a kind of control method of bluetooth connection, terminal and bluetooth SIM card, for not increasing
In the case of adding user's operation, the bluetooth connection between terminal and bluetooth SIM card is established in time, without bluetooth SIM card one
It directly is sent out broadcast data packet, has saved resource.
Specific technical solution includes:
The embodiment of the present application first aspect provides a kind of control method of bluetooth connection, and this method includes:
When the object run of terminal performance objective application, the terminal generates target Bluetooth connection request, the target
Operation includes carrying out data interaction with bluetooth SIM card;
The target Bluetooth connection request is sent to server by the terminal, so that the server is according to the mesh
It marks Bluetooth connection request and sends the first notification information to bluetooth SIM card, the bluetooth SIM card is to establish long connection with the terminal
SIM card, first notification information is used to indicate the bluetooth SIM card and the terminal and establishes bluetooth connection;
The terminal establishes the bluetooth connection with the bluetooth SIM card.
Preferably, the terminal generation target Bluetooth connection request includes:
The terminal generates Bluetooth connection request;
The terminal is encrypted the Bluetooth connection request using Target Public Key to generate target Bluetooth connection request,
The Target Public Key is the corresponding public key of target personal account, and the target personal account is the corresponding individual of the intended application
Account.
Preferably, after the terminal and the bluetooth SIM card establish the bluetooth connection, the method further includes:
When the terminal closes the intended application, the terminal determines that the object run is completed or the terminal carries out
When the object run is more than preset duration, the terminal sends the second notification information to the bluetooth SIM card, and described second is logical
Know that information is used to indicate the bluetooth SIM card and disconnects the bluetooth connection;
Or,
When the terminal closes the intended application or the terminal carries out the object run more than preset duration, institute
It states bluetooth SIM card and disconnects the bluetooth connection automatically;
Or,
When the terminal closes the intended application, the terminal determines that the object run is completed or the terminal carries out
When the object run is more than preset duration, the terminal sends third notice by the server to the bluetooth SIM card
Information, the third notice information are used to indicate the bluetooth SIM card and disconnect the bluetooth connection.
The embodiment of the present application second aspect additionally provides a kind of control method of bluetooth connection, and this method includes:
Bluetooth SIM card obtains the first notification information that server is sent, and first notification information is the server root
It is generated according to the target Bluetooth connection request got from terminal, the target Bluetooth connection request is answered by the terminal performance objective
It is generated when object run, the object run includes carrying out data interaction, the bluetooth SIM card with the bluetooth SIM card
To establish the SIM card of long connection with terminal, first notification information is used to indicate the bluetooth SIM card and is established with the terminal
Bluetooth connection;
The bluetooth SIM card establishes the bluetooth connection with the terminal.
Preferably, before the bluetooth SIM card and the terminal establish the bluetooth connection, the method further includes:
If the bluetooth connection generated is encrypted using Target Public Key for the terminal for the target Bluetooth connection request
Request, then the bluetooth SIM card is decrypted first notification information using the private key stored in the bluetooth SIM card.
Preferably, after the bluetooth SIM card and the terminal establish the bluetooth connection, the method further includes:
The bluetooth SIM card obtains the second notification information that the terminal is sent, or, described in bluetooth SIM card acquisition
The third notice information that terminal is sent by the server;
The bluetooth SIM card disconnects the bluetooth connection.
The embodiment of the present application third aspect provides a kind of terminal, which includes:
Generation unit, for when the object run that terminal performance objective is applied, the terminal to generate target Bluetooth connection
Request, the object run include carrying out data interaction with bluetooth SIM card;
First transmission unit, for the target Bluetooth connection request to be sent to server, so that the server
The first notification information is sent to bluetooth SIM card according to the target Bluetooth connection request, the bluetooth SIM card is and the terminal
The SIM card of long connection is established, first notification information is used to indicate the bluetooth SIM card and establishes bluetooth company with the terminal
It connects;
Unit is established, for establishing the bluetooth connection with the bluetooth SIM card.
Preferably, the generation unit is specifically used for:
Generate Bluetooth connection request;
The Bluetooth connection request is encrypted using Target Public Key to generate target Bluetooth connection request, the target
Public key is the corresponding public key of target personal account, and the target personal account is the corresponding personal account of the intended application.
Preferably, the terminal further includes:
Second transmission unit, for working as, the terminal closes the intended application, the terminal determines the object run
When completion or the terminal carry out the object run more than preset duration, the second notification information is sent to the bluetooth SIM card,
Second notification information is used to indicate the bluetooth SIM card and disconnects the bluetooth connection;
Or,
Second transmission unit, for working as, the terminal closes the intended application, the terminal determines the object run
When completion or the terminal carry out the object run more than preset duration, sent out to the bluetooth SIM card by the server
Third notice information, the third notice information is sent to be used to indicate the bluetooth SIM card and disconnect the bluetooth connection.
The embodiment of the present application fourth aspect provides a kind of bluetooth SIM card, which includes:
First acquisition unit, the first notification information for obtaining server transmission, first notification information is described
Server is generated according to the target Bluetooth connection request got from terminal, and the target Bluetooth connection request is held by the terminal
It is generated when the object run of row intended application, the object run includes carrying out data interaction, the indigo plant with the bluetooth SIM card
Tooth SIM card is that the SIM card of long connection is established with terminal, first notification information be used to indicate the bluetooth SIM card with it is described
Terminal establishes bluetooth connection;
Unit is established, for establishing the bluetooth connection with the terminal.
Preferably, the first acquisition unit is additionally operable to:
If the bluetooth connection generated is encrypted using Target Public Key for the terminal for the target Bluetooth connection request
Request, then the first acquisition unit solves first notification information using the private key stored in the bluetooth SIM card
It is close.
Preferably, the bluetooth SIM card further includes:
Second acquisition unit, the second notification information sent for obtaining the terminal, or, logical for obtaining the terminal
Cross the third notice information that the server is sent;
Switching units, for disconnecting the bluetooth connection.
The 5th aspect of the embodiment of the present application also provides a kind of terminal, which includes:
Processor, memory, bus and input/output interface, the processor, memory and input/output interface pass through this
Bus connects;Have program stored therein code in the memory, and the program code is for storing operational order;The processor is for calling
The terminal needs in the control method of any one of the embodiment of the present application bluetooth connection are executed when program code in the memory
The step of execution.
The 6th aspect of the embodiment of the present application also provides a kind of bluetooth SIM card, which includes:
Microprocessor, memory, bus and input/output interface, the microprocessor, memory and input/output interface are logical
Cross bus connection;Have program stored therein code in the memory, and the program code is for storing operational order;The microprocessor is used
The indigo plant in the control method of any one of the embodiment of the present application bluetooth connection is executed when calling the program code in the memory
Tooth SIM card needs the step of executing.
The 7th aspect of the embodiment of the present application provides a kind of computer program product including instruction, when it is transported on computers
When row so that the computer executes the step of control method of any one of the embodiment of the present application bluetooth connection.
The embodiment of the present application eighth aspect also provides a kind of computer readable storage medium, it should be noted that the application
Technical solution substantially all or part of the part that contributes to existing technology or the technical solution can be in other words
It is expressed in the form of software products, which is stored in a storage medium, above-mentioned for being stored as
Computer software instructions used in relevant device, when the instruction is run on computers so that computer executes the application reality
The step of applying the control method of any one of example bluetooth connection.
The storage medium can be USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), deposit at random
The various media that can store program code such as access to memory (Random Access Memory, RAM), magnetic disc or CD,
It does not limit herein specifically.
As can be seen from the above technical solutions, the embodiment of the present application has the following advantages:
When the object run of terminal performance objective application, terminal generates target Bluetooth connection request, and by target Bluetooth
Connection request is sent to server, so that server sends the first notice according to target Bluetooth connection request to bluetooth SIM card
Information, before this bluetooth SIM card long connection is established with terminal, the first notification information is used to indicate bluetooth SIM card and end
Bluetooth connection is established at end;Later, terminal sets up bluetooth connection with bluetooth SIM card.It, can in the case where not increasing user's operation
To establish the bluetooth connection between terminal and bluetooth SIM card in time, and bluetooth SIM card is no longer needed to be sent out broadcast number always
According to packet, to save resource.
Description of the drawings
Fig. 1 is control method one embodiment schematic diagram of the embodiment of the present application bluetooth connection;
Fig. 2 is another embodiment schematic diagram of control method of the embodiment of the present application bluetooth connection;
Fig. 3 is one embodiment schematic diagram of the embodiment of the present application terminal;
Fig. 4 is one embodiment schematic diagram of the embodiment of the present application bluetooth SIM card;
Fig. 5 is another embodiment schematic diagram of the embodiment of the present application terminal;
Fig. 6 is another embodiment schematic diagram of the embodiment of the present application bluetooth SIM card.
Specific implementation mode
The embodiment of the present application provides a kind of control method of bluetooth connection, terminal and bluetooth SIM card, for not increasing
In the case of adding user's operation, the bluetooth connection between terminal and bluetooth SIM card is established in time, without bluetooth SIM card one
It directly is sent out broadcast data packet, has saved resource.
For ease of understanding, the detailed process in the embodiment of the present application is described below, referring specifically to Fig. 1:
101, terminal generates target Bluetooth connection request;
When terminal executes the object run for being installed on the intended application in the terminal, terminal will be generated by intended application
Target Bluetooth connection request, the object run may include the processes such as the data transmission of data interaction carried out with bluetooth SIM card.
For example, the application of China Construction Bank is equipped in the mobile phone such as " Construction Bank APP ", if then mobile phone is turned with Construction Bank APP
During account, mobile phone needs transfer information executing signature operation, then mobile phone will generate target indigo plant by Construction Bank APP at this time
Tooth connection request.
It should be noted that the terminal can be the intelligent terminals such as mobile phone, PC, tablet computer, it can also
It is the intelligent wearable device such as smartwatch, Intelligent bracelet, phone wrist-watch, specifically terminal is not limited herein.
It should also be noted that, in some embodiments of the application, terminal generates target Bluetooth by intended application
Connection request can be that terminal first generates general Bluetooth connection request, and then terminal recycles intended application (e.g., above-mentioned to build
Row APP) corresponding to target personal account (e.g., the owner of mobile phone can correspond to when installing Construction Bank APP there are one Construction Bank APP
Personal account, it is assumed that the personal account is " kevin**** ", as target personal account) corresponding public key is to generating at the beginning
Bluetooth connection request be encrypted, encrypted Bluetooth connection request is known as the target Bluetooth connection request in the application.
102, target Bluetooth connection request is sent to server by terminal;
It, will further should by the intended application after terminal generates target Bluetooth connection request by intended application
Target Bluetooth connection request is sent to server corresponding with terminal, after server gets the target Bluetooth connection request,
The first notification information can be requested to generate according to the target Bluetooth, and first notification information is sent to establish with terminal and is contacted
The bluetooth SIM card of formula connection (generally long connection), first notification information are used to indicate bluetooth SIM card and establish bluetooth with terminal
Connection.
It should be noted that first notification information can be only that terminal, server and bluetooth SIM card are recognizable
Specific format computer instruction, after bluetooth SIM card gets the computer instruction, it is known that needing which type of is executed
Operation.In addition, first notification information can also be short message, server get terminal transmission target Bluetooth connection request it
Afterwards, which is organized into short message, and is further asked target Bluetooth connection by corresponding operator
It asks to be sent in a manner of short message and establishes the bluetooth SIM card that contact is connect with the terminal, bluetooth SIM card gets the short message
Later, it will also be appreciated that needing which type of operation executed.Specific the first notification information of the application couple does not limit.
Terminal just carries the indigo plant when sending target Bluetooth connection request to server in the target Bluetooth connection request
The identification information of tooth SIM card, the identification information is corresponding with bluetooth SIM card, and server gets the identification information and can identify
Go out corresponding bluetooth SIM card.Alternatively, carrying the personal account bound with the bluetooth SIM card in the target Bluetooth connection request
Information, the personal account information is corresponding with the bluetooth SIM card, server get the personal account information can find with
Binding bluetooth SIM card.How corresponding bluetooth is specifically identified by target Bluetooth connection request to server herein
SIM card does not limit.
It should also be noted that, in some embodiments of the application, if target Bluetooth connection request is encrypted
Bluetooth connection request, then bluetooth SIM card also need to first with the private key stored in the bluetooth SIM card to first notification information into
Row decryption, bluetooth SIM card can just be known and execute the concrete operations indicated by first notification information after decryption.It should be noted that
If first notification information is notified with short message mode, then bluetooth SIM card also needs to that short message is first parsed into instruction,
It is decrypted again.
It should also be noted that, in some embodiments of the application, for machine card channel (except ISO7816 with
The outer long connection type of another kind) terminal, user can also be using machine card channel rather than directly to bluetooth by the way of short message
SIM card sends target Bluetooth connection request.
103, terminal and bluetooth SIM card establish bluetooth connection.
After bluetooth SIM card gets the target Bluetooth connection request that the terminal of server forwarding generates, terminal will be with
Bluetooth SIM card establishes bluetooth connection.
It should be noted that in some embodiments of the application, terminal and bluetooth SIM card establish bluetooth connection it
Afterwards, if terminal determines that (e.g., above-mentioned transfer information has been executed label by mobile phone owner by bluetooth SIM card for object run completion
Name operation), then terminal will send the second notification information to bluetooth SIM card, and the second notification information is used to indicate the disconnection of bluetooth SIM card
The bluetooth connection.Can also be that (e.g., mobile phone owner closes above-mentioned Construction Bank when terminal closes the intended application that is currently running
When APP), terminal closes intended application This move and just triggers terminal to bluetooth SIM card the second notification information of transmission, and second is logical
Know that information is used to indicate bluetooth SIM card and disconnects the bluetooth connection.It can also be when it is more than default that terminal, which carries out object run,
It is long that (e.g., above-mentioned mobile phone owner due to having answered a phone leads to that above-mentioned signature has not been completed in 5 minutes in preset duration
Operation), then also can triggering terminal will send the second notification information to bluetooth SIM card, the second notification information be used to indicate bluetooth SIM
Card disconnects the bluetooth connection.It does not limit herein specifically.
Refer to it should be noted that second notification information can be terminal and the identifiable computer of bluetooth SIM card
It enables, which is that the bluetooth connection between the terminal by having built up and bluetooth SIM card passes to bluetooth SIM card
, it is used to indicate bluetooth SIM card and disconnects established bluetooth connection.It should also be noted that, in some embodiment party of the application
In formula, after terminal establishes bluetooth connection with bluetooth SIM card, when terminal closes intended application (e.g., the mobile phone master being currently running
People closes above-mentioned Construction Bank APP), terminal determine object run complete (e.g., mobile phone owner passes through above-mentioned transfer information
Bluetooth SIM card has executed signature operation) or terminal carry out object run be more than preset duration (e.g., above-mentioned mobile phone owner due to
Having answered a phone leads to that signature operation has not been completed in 5 minutes in preset duration) when, terminal will also be triggered to end
Corresponding server is held to send third notice information, the third notice information is sent to bluetooth SIM card by server again later, the
Three notification informations are used to indicate bluetooth SIM card and disconnect the bluetooth connection.It should be noted that the third notice information can be
Short message, it is therefore desirable to the participation of server.
It should also be noted that, in some embodiments of the application, for closing the target being currently running when terminal
It is more than that preset duration is (e.g., above-mentioned to carry out object run using (e.g., mobile phone owner closes above-mentioned Construction Bank APP) or terminal
Mobile phone owner due to having answered a phone leads to that signature operation has not been completed in 5 minutes in preset duration) when,
It can be the setting waiting-timeout duration in bluetooth SIM card, also may be used once more than the bluetooth SIM card end if the waiting-timeout duration
To disconnect the bluetooth connection with the terminal automatically.
In the embodiment of the present application, when the object run of terminal performance objective application, terminal generates target Bluetooth connection
Request, and is sent to server by target Bluetooth connection request so that server according to target Bluetooth connection request to bluetooth
SIM card sends the first notification information, and bluetooth SIM card establishes long connection with terminal before this, and the first notification information is used for
Instruction bluetooth SIM card establishes bluetooth connection with terminal;Later, terminal sets up bluetooth connection with bluetooth SIM card.In the application reality
It applies in example, only when terminal needs to carry out data interaction with bluetooth SIM card, terminal can just send out target Bluetooth connection request,
It notifies bluetooth SIM card to start bluetooth connection, after bluetooth SIM card opens bluetooth, just externally sends broadcast data packet.And it is being not required to
When carrying out data interaction by Bluetooth channels and bluetooth SIM card, bluetooth connection can be disconnected automatically, has not only saved resource,
And eliminate the security risk that will be always existed and be formed after bluetooth connection in the prior art is established.
The corresponding embodiments of Fig. 1 are to be discussed from end side to the control method of bluetooth connection, below from bluetooth SIM
Card side illustrates the control method of bluetooth connection, referring specifically to Fig. 2, the control method of the embodiment of the present application bluetooth connection
Another embodiment includes:
201, bluetooth SIM card obtains the first notification information that server is sent;
Bluetooth SIM card obtains the first notification information that server is sent, which is server according to from end
The target Bluetooth connection request got is held to generate, which is grasped by the target that the terminal performance objective is applied
Generation when making, the object run may include the processes such as the data transmission of data interaction carried out with bluetooth SIM card, the bluetooth
SIM card is that the SIM card of long connection is established with terminal, which is used to indicate the bluetooth SIM card and the terminal
Establish bluetooth connection.
It should be noted that above-mentioned long connection refers to unbroken connection, generally contact connects, such as terminal and installation
It is exactly that long connection is established by ISO7816 modes in the bluetooth SIM card in terminal.Terminal is sending target Bluetooth company to server
When connecing request, the identification information of the bluetooth SIM card, the identification information and bluetooth are just carried in the target Bluetooth connection request
SIM card corresponds to, and server, which gets the identification information, can identify corresponding bluetooth SIM card.Or target Bluetooth connection
The personal account information bound with the bluetooth SIM card is carried in request, the personal account information is corresponding with the bluetooth SIM card,
Server, which gets the personal account information, can find the bluetooth SIM card bound therewith.Specifically herein to server such as
What identifies that corresponding bluetooth SIM card is not limited by target Bluetooth connection request.
It should also be noted that, in some embodiments of the application, utilized if target Bluetooth connection request is terminal
Target Public Key is encrypted and the Bluetooth connection request that generates, then bluetooth SIM card is also needed to first with being stored in the bluetooth SIM card
Private key first notification information is decrypted, bluetooth SIM card can just be known and execute first notification information after decryption
Indicated concrete operations.If it should be noted that first notification information is notified with short message mode, then bluetooth SIM card
It also needs to that short message is first parsed into instruction, then is decrypted.
202, bluetooth SIM card and terminal establish bluetooth connection.
After bluetooth SIM card gets the target Bluetooth connection request of terminal generation of server forwarding, bluetooth SIM card
Bluetooth connection will be established with terminal.
It should be noted that in some embodiments of the application, if bluetooth SIM card gets the second of terminal transmission
Notification information or bluetooth SIM card get the third notice information that terminal is sent by server corresponding with terminal, then blue
Tooth SIM card will be switched off and the established bluetooth connection of terminal.
In the embodiment of the present application, only when terminal needs to carry out data interaction with bluetooth SIM card, server can just obtain
The target Bluetooth connection request of terminal transmission is got, bluetooth SIM card can just get the first notification information from server later,
Bluetooth SIM card is to get the first notification information by the long connection of foundation, and notice bluetooth SIM card starts bluetooth connection, blue
After tooth SIM card opens bluetooth, just externally send broadcast data packet, and need not pass through Bluetooth channels and bluetooth SIM card into
When row data interaction, bluetooth connection can be disconnected automatically, has not only saved resource, and eliminates bluetooth connection in the prior art
The security risk that will be always existed and be formed after foundation.
The corresponding embodiments of Fig. 1 and Fig. 2 be respectively from end side and bluetooth SIM card side in a manner of flow chart to indigo plant
The control method of tooth connection is expounded, and is illustrated separately below to the relevant device in the embodiment of the present application, correlation is set
Standby includes terminal and bluetooth SIM card, and referring specifically to Fig. 3, one embodiment of the embodiment of the present application terminal includes:
Generation unit 301, for when the object run that terminal performance objective is applied, the terminal to generate target Bluetooth and connects
Request is connect, the object run includes carrying out data interaction with bluetooth SIM card;
First transmission unit 302, for the target Bluetooth connection request to be sent to server, so that the service
Device sends the first notification information according to the target Bluetooth connection request to bluetooth SIM card, and the bluetooth SIM card is and the end
The SIM card of long connection is established at end, and first notification information is used to indicate the bluetooth SIM card and establishes bluetooth company with the terminal
It connects;
Unit 303 is established, for establishing the bluetooth connection with the bluetooth SIM card.
It should be noted that in some embodiments of the application, generation unit 301 specifically can be also used for:
Generate Bluetooth connection request;
The Bluetooth connection request is encrypted using Target Public Key to generate target Bluetooth connection request, the target
Public key is the corresponding public key of target personal account, and the target personal account is the corresponding personal account of the intended application.
In some embodiments of the application, terminal can also include the second transmission unit 304:
Second transmission unit 304 closes the intended application for working as the terminal, the terminal determines the target behaviour
When making completion or the terminal progress object run more than preset duration, sends the second notice to the bluetooth SIM card and believe
Breath, second notification information are used to indicate the bluetooth SIM card and disconnect the bluetooth connection;
Or,
Second transmission unit 304 closes the intended application for working as the terminal, the terminal determines the target behaviour
Make to complete or when the terminal carries out the object run and is more than preset duration, by the server to the bluetooth SIM card
Third notice information is sent, the third notice information is used to indicate the bluetooth SIM card and disconnects the bluetooth connection.
It should be noted that in some embodiments of the application, answered for closing the target being currently running when terminal
It is more than preset duration (e.g., above-mentioned hand to carry out object run with (e.g., mobile phone owner closes above-mentioned Construction Bank APP) or terminal
Owner people due to having answered a phone leads to that signature operation has not been completed in 5 minutes in preset duration) etc. other situations when,
Bluetooth SIM card end can also be by being arranged waiting-timeout duration, once more than the bluetooth SIM card end if the waiting-timeout duration
The bluetooth connection with terminal can be disconnected automatically.
Relevant device in the embodiment of the present application further includes the bluetooth that long connection is established with terminal other than including terminal
SIM card, referring specifically to Fig. 4, one embodiment of the embodiment of the present application bluetooth SIM card includes:
First acquisition unit 401, the first notification information for obtaining server transmission, first notification information is institute
It states server to be generated according to the target Bluetooth connection request got from terminal, the target Bluetooth connection request is by the terminal
It is generated when the object run of performance objective application, the object run includes carrying out data interaction with the bluetooth SIM card, described
Bluetooth SIM card is that the SIM card of long connection is established with terminal, and first notification information is used to indicate the bluetooth SIM card and institute
It states terminal and establishes bluetooth connection;
Unit 402 is established, for establishing the bluetooth connection with the terminal.
It should be noted that in some embodiments of the application, first acquisition unit 401 specifically can be also used for:
If the bluetooth connection generated is encrypted using Target Public Key for the terminal for the target Bluetooth connection request
Request, then the first acquisition unit 401 carries out first notification information using the private key stored in the bluetooth SIM card
Decryption.
In some embodiments of the application, bluetooth SIM card can also include:
Second acquisition unit 403, the second notification information sent for obtaining the terminal, or, for obtaining the end
Hold the third notice information sent by the server;
Switching units 404, for disconnecting the bluetooth connection.
Angle of the above figure 3 to Fig. 4 from modular functionality entity is respectively to the terminal in the embodiment of the present invention, bluetooth SIM
Card is described, and is described in detail below from the angle of hardware handles to the terminal in the embodiment of the present invention, please refers to figure
5,500 one embodiment of terminal of the embodiment of the present invention includes:
(the wherein quantity of processor 503 can be with for input unit 501, output device 502, processor 503 and memory 504
One or more, in Fig. 5 by taking a processor 503 as an example).In some embodiments of the invention, input unit 501, output
Device 502, processor 503 and memory 504 can be connected by bus or other means, wherein to be connected by bus in Fig. 5
For.
Wherein, by the operational order for calling memory 504 to store, processor 503 is corresponding for executing Fig. 1 to Fig. 2
The step of needing terminal to execute in embodiment.
Referring to Fig. 6, one embodiment of bluetooth SIM card of the embodiment of the present invention includes:
(wherein memory 604 may include for input unit 601, output device 602, microprocessor 603 and memory 604
Program memory ROM, working storage RAM, data storage EEPROM).In some embodiments of the invention, input unit
601, output device 602, microprocessor 603 and memory 604 can be connected by bus or other means, wherein with logical in Fig. 6
It crosses for bus connection.
Wherein, by the operational order for calling memory 604 to store, microprocessor 603 is corresponded to for executing Fig. 1 to Fig. 2
Embodiment in need bluetooth SIM card execute the step of.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with
It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit
It divides, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or component
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be the indirect coupling by some interfaces, device or unit
It closes or communicates to connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple
In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also
It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list
The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can be stored in a computer read/write memory medium.Based on this understanding, the technical solution of the application is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the application Fig. 1 to Fig. 2 embodiment the methods
All or part of step.And storage medium above-mentioned includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various
The medium of program code can be stored.
The above, above example are only to illustrate the technical solution of the application, rather than its limitations;Although with reference to before
Embodiment is stated the application is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to preceding
The technical solution recorded in each embodiment is stated to modify or equivalent replacement of some of the technical features;And these
Modification or replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.
Claims (12)
1. a kind of control method of bluetooth connection, which is characterized in that including:
When the object run of terminal performance objective application, the terminal generates target Bluetooth connection request, the object run
Including carrying out data interaction with bluetooth SIM card;
The target Bluetooth connection request is sent to server by the terminal, so that the server is according to target indigo plant
Tooth connection request sends the first notification information to bluetooth SIM card, and the bluetooth SIM card is to establish long connection with the terminal
SIM card, first notification information are used to indicate the bluetooth SIM card and establish bluetooth connection with the terminal;
The terminal establishes the bluetooth connection with the bluetooth SIM card.
2. according to the method described in claim 1, it is characterized in that, terminal generation target Bluetooth connection request includes:
The terminal generates Bluetooth connection request;
The terminal is encrypted the Bluetooth connection request using Target Public Key to generate target Bluetooth connection request, described
Target Public Key is the corresponding public key of target personal account, and the target personal account is that corresponding of the intended application is acknowledged a debt
Family.
3. according to the method described in any one of claim 1-2, which is characterized in that in the terminal and the bluetooth SIM card
It establishes after the bluetooth connection, the method further includes:
When the terminal closing intended application, the terminal determine described in the object run completion or terminal progress
When object run is more than preset duration, the terminal sends the second notification information, the second notice letter to the bluetooth SIM card
Breath is used to indicate the bluetooth SIM card and disconnects the bluetooth connection;
Or,
When the terminal closes the intended application or the terminal carries out the object run more than preset duration, the indigo plant
Tooth SIM card disconnects the bluetooth connection automatically;
Or,
When the terminal closing intended application, the terminal determine described in the object run completion or terminal progress
When object run is more than preset duration, the terminal sends third notice information by the server to the bluetooth SIM card,
The third notice information is used to indicate the bluetooth SIM card and disconnects the bluetooth connection.
4. a kind of control method of bluetooth connection, which is characterized in that including:
Bluetooth SIM card obtain server send the first notification information, first notification information be the server according to from
The target Bluetooth connection request that terminal is got generates, and the target Bluetooth connection request is applied by the terminal performance objective
Generated when object run, the object run include with the bluetooth SIM card carry out data interaction, the bluetooth SIM card be with
Terminal establishes the SIM card of long connection, and first notification information is used to indicate the bluetooth SIM card and establishes bluetooth with the terminal
Connection;
The bluetooth SIM card establishes the bluetooth connection with the terminal.
5. according to the method described in claim 4, it is characterized in that, establishing the indigo plant in the bluetooth SIM card and the terminal
Before tooth connection, the method further includes:
If the Bluetooth connection request generated is encrypted using Target Public Key for the terminal for the target Bluetooth connection request,
Then the bluetooth SIM card is decrypted first notification information using the private key stored in the bluetooth SIM card.
6. according to the method described in any one of claim 4-5, which is characterized in that in the bluetooth SIM card and the terminal
It establishes after the bluetooth connection, the method further includes:
The bluetooth SIM card obtains the second notification information that the terminal is sent, or, the bluetooth SIM card obtains the terminal
The third notice information sent by the server;
The bluetooth SIM card disconnects the bluetooth connection.
7. a kind of terminal, which is characterized in that including:
Generation unit is used for when the object run that terminal performance objective is applied, and the terminal generates target Bluetooth connection request,
The object run includes carrying out data interaction with bluetooth SIM card;
First transmission unit, for the target Bluetooth connection request to be sent to server so that the server according to
The target Bluetooth connection request sends the first notification information to bluetooth SIM card, and the bluetooth SIM card is to be established with the terminal
The SIM card of long connection, first notification information are used to indicate the bluetooth SIM card and establish bluetooth connection with the terminal;
Unit is established, for establishing the bluetooth connection with the bluetooth SIM card.
8. terminal according to claim 7, which is characterized in that the generation unit is specifically used for:
Generate Bluetooth connection request;
The Bluetooth connection request is encrypted using Target Public Key to generate target Bluetooth connection request, the Target Public Key
For the corresponding public key of target personal account, the target personal account is the corresponding personal account of the intended application.
9. according to the terminal described in any one of claim 7-8, which is characterized in that the terminal further includes:
Second transmission unit closes the intended application for working as the terminal, the terminal determines that the object run is completed
Or the terminal sends the second notification information when carrying out the object run and being more than preset duration to the bluetooth SIM card, it is described
Second notification information is used to indicate the bluetooth SIM card and disconnects the bluetooth connection;
Or,
Second transmission unit closes the intended application for working as the terminal, the terminal determines that the object run is completed
Or the terminal is when carrying out the object run and being more than preset duration, and the is sent to the bluetooth SIM card by the server
Three notification informations, the third notice information are used to indicate the bluetooth SIM card and disconnect the bluetooth connection.
10. a kind of bluetooth SIM card, which is characterized in that including:
First acquisition unit, the first notification information for obtaining server transmission, first notification information are the service
Device is generated according to the target Bluetooth connection request got from terminal, and the target Bluetooth connection request executes mesh by the terminal
It is generated when the object run for marking application, the object run includes carrying out data interaction, the bluetooth with the bluetooth SIM card
SIM card is that the SIM card of long connection is established with terminal, and first notification information is used to indicate the bluetooth SIM card and the end
Bluetooth connection is established at end;
Unit is established, for establishing the bluetooth connection with the terminal.
11. bluetooth SIM card according to claim 10, which is characterized in that the first acquisition unit is additionally operable to:
If the Bluetooth connection request generated is encrypted using Target Public Key for the terminal for the target Bluetooth connection request,
Then the first acquisition unit is decrypted first notification information using the private key stored in the bluetooth SIM card.
12. the bluetooth SIM card according to any one of claim 10-11, which is characterized in that the bluetooth SIM card is also wrapped
It includes:
Second acquisition unit, the second notification information sent for obtaining the terminal, or, passing through institute for obtaining the terminal
State the third notice information of server transmission;
Switching units, for disconnecting the bluetooth connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810350449.9A CN108650664B (en) | 2018-04-18 | 2018-04-18 | Bluetooth connection control method, terminal and Bluetooth SIM card |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810350449.9A CN108650664B (en) | 2018-04-18 | 2018-04-18 | Bluetooth connection control method, terminal and Bluetooth SIM card |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108650664A true CN108650664A (en) | 2018-10-12 |
CN108650664B CN108650664B (en) | 2022-02-01 |
Family
ID=63746827
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810350449.9A Active CN108650664B (en) | 2018-04-18 | 2018-04-18 | Bluetooth connection control method, terminal and Bluetooth SIM card |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108650664B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113286286A (en) * | 2021-05-28 | 2021-08-20 | 深圳市科奈信科技有限公司 | Bluetooth privacy connection method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101718984A (en) * | 2009-11-30 | 2010-06-02 | 中兴通讯股份有限公司 | Remote controller, Bluetooth hands-free equipment and Bluetooth control system and method |
CN102663477A (en) * | 2012-03-09 | 2012-09-12 | 武汉天喻信息产业股份有限公司 | Bluetooth-technology-based radiofrequency SIM card and application system thereof |
CN103152329A (en) * | 2013-02-07 | 2013-06-12 | 中金金融认证中心有限公司 | Method and system for identity authentication by Bluetooth |
CN104732265A (en) * | 2015-03-31 | 2015-06-24 | 苏州海博智能系统有限公司 | Bluetooth intelligent card chip, Bluetooth intelligent card and Bluetooth connection activation method thereof |
CN105188017A (en) * | 2015-08-13 | 2015-12-23 | 苏州海博智能系统有限公司 | Working method and system for activating Bluetooth of smart card |
CN106211032A (en) * | 2016-06-28 | 2016-12-07 | 公安部第三研究所 | The pairing of bluetooth SIM and the method for digital signature process is realized based on STK |
CN106993266A (en) * | 2017-03-31 | 2017-07-28 | 东信和平科技股份有限公司 | A kind of method of bluetooth SIM card pairing connection |
WO2017172511A1 (en) * | 2016-04-01 | 2017-10-05 | Google Inc. | Method and apparatus for providing peer based network switching |
CN107277935A (en) * | 2016-04-07 | 2017-10-20 | 国民技术股份有限公司 | Bluetooth communication method, device and its application system and equipment |
-
2018
- 2018-04-18 CN CN201810350449.9A patent/CN108650664B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101718984A (en) * | 2009-11-30 | 2010-06-02 | 中兴通讯股份有限公司 | Remote controller, Bluetooth hands-free equipment and Bluetooth control system and method |
CN102663477A (en) * | 2012-03-09 | 2012-09-12 | 武汉天喻信息产业股份有限公司 | Bluetooth-technology-based radiofrequency SIM card and application system thereof |
CN103152329A (en) * | 2013-02-07 | 2013-06-12 | 中金金融认证中心有限公司 | Method and system for identity authentication by Bluetooth |
CN104732265A (en) * | 2015-03-31 | 2015-06-24 | 苏州海博智能系统有限公司 | Bluetooth intelligent card chip, Bluetooth intelligent card and Bluetooth connection activation method thereof |
CN105188017A (en) * | 2015-08-13 | 2015-12-23 | 苏州海博智能系统有限公司 | Working method and system for activating Bluetooth of smart card |
WO2017172511A1 (en) * | 2016-04-01 | 2017-10-05 | Google Inc. | Method and apparatus for providing peer based network switching |
CN107277935A (en) * | 2016-04-07 | 2017-10-20 | 国民技术股份有限公司 | Bluetooth communication method, device and its application system and equipment |
CN106211032A (en) * | 2016-06-28 | 2016-12-07 | 公安部第三研究所 | The pairing of bluetooth SIM and the method for digital signature process is realized based on STK |
CN106993266A (en) * | 2017-03-31 | 2017-07-28 | 东信和平科技股份有限公司 | A kind of method of bluetooth SIM card pairing connection |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113286286A (en) * | 2021-05-28 | 2021-08-20 | 深圳市科奈信科技有限公司 | Bluetooth privacy connection method and device |
CN113286286B (en) * | 2021-05-28 | 2023-08-29 | 深圳市科奈信科技有限公司 | Bluetooth privacy connection method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108650664B (en) | 2022-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR100883556B1 (en) | Method for processing and transmitting data on a mobile telephone network and microchip onboard system | |
CN105516962A (en) | Account opening method and system based on eUICC (Embedded Universal Integrated Circuit Card) | |
CN102724315B (en) | The remote-operated method and system of smart card are realized based on smart card web page server | |
WO2021223672A1 (en) | Near field communication (nfc) method and apparatus, and electronic device | |
CN103067918B (en) | Method, device and system of privacy data anonymization in communication network | |
CN104471600A (en) | Safety unit management method and terminal | |
KR20100058527A (en) | Method and device for managing application data in an nfc system in response to the sending or receiving of data without contact | |
CN103455349A (en) | Method and device for accessing intelligent card by application program | |
CN105281809A (en) | Auxiliary bluetooth low-power-consumption equipment pairing method and system | |
CN103974216B (en) | A kind of information processing method and electronic equipment | |
CN108632327A (en) | Method for processing business, device and storage medium | |
CN103686688A (en) | Method and device for protecting user address list of mobile terminal and mobile terminal | |
US20160309324A1 (en) | Method of managing communication between a secure element and a host device | |
CN208188814U (en) | A kind of embedded device and its remote update system | |
CN104468558B (en) | Data security management method and device and terminal | |
CN108650664A (en) | A kind of control method of bluetooth connection, terminal and bluetooth SIM card | |
CN103546873B (en) | Services through one key pushed processing method and processing device | |
CN103619053A (en) | Method for using user identification cards and communication system | |
CN112423068A (en) | Smart television debugging method and device, mobile terminal and readable storage medium | |
CN101841806A (en) | Service card information processing method, device and system and communication terminal | |
CN104714760B (en) | A kind of method and device for reading and writing storage device | |
WO2023065708A1 (en) | Information processing method, system, and apparatus | |
CN110677843A (en) | Application method and device of virtual SIM card based on block chain | |
CN108566322A (en) | Call method and device, storage medium and electronic device | |
CN102547661B (en) | Method and device for establishing communication between Android system and telecommunications smart 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 |