CN103763317B - A kind of data transmission method based on bluetooth, system and intelligent cipher key equipment - Google Patents

A kind of data transmission method based on bluetooth, system and intelligent cipher key equipment Download PDF

Info

Publication number
CN103763317B
CN103763317B CN201410022492.4A CN201410022492A CN103763317B CN 103763317 B CN103763317 B CN 103763317B CN 201410022492 A CN201410022492 A CN 201410022492A CN 103763317 B CN103763317 B CN 103763317B
Authority
CN
China
Prior art keywords
terminal
cipher key
key equipment
intelligent cipher
message
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
CN201410022492.4A
Other languages
Chinese (zh)
Other versions
CN103763317A (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.)
Tendyron Technology Co Ltd
Original Assignee
Tendyron 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 Tendyron Technology Co Ltd filed Critical Tendyron Technology Co Ltd
Priority to CN201410022492.4A priority Critical patent/CN103763317B/en
Publication of CN103763317A publication Critical patent/CN103763317A/en
Application granted granted Critical
Publication of CN103763317B publication Critical patent/CN103763317B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of data transmission method based on bluetooth, system and intelligent cipher key equipment, non intelligent machine can be made intelligent cipher key equipment can also to be used to carry out signature operation when using Mobile banking, ensure the safety of transaction, the method includes: intelligent cipher key equipment is set up Bluetooth pairing with terminal and is connected, use SDP agreement to send and search message to terminal, terminal searches the Rfcomm channel number that DUN service is corresponding, transmission lookup response message is to intelligent cipher key equipment, and intelligent cipher key equipment is to terminal Sending dialled number message;Terminal performs network dial;Intelligent cipher key equipment sends mutual message to terminal, and terminal forwards to the webserver, triggers its distribution IP address;IP address is sent to intelligent cipher key equipment by terminal;Intelligent cipher key equipment sends to terminal and sets up socket link order;Intelligent cipher key equipment sends signed data to terminal, and triggering terminal forwards to destination server on socket connects.

Description

A kind of data transmission method based on bluetooth, system and intelligent cipher key equipment
Technical field
The present invention relates to a kind of electronic technology field, particularly relate to a kind of data transmission method based on bluetooth, system and intelligence close Key equipment.
Background technology
Intelligent cipher key equipment is that catch net goes to bank the important tool of fund security.In terms of technical standpoint, intelligent cipher key equipment is to use In Web bank's electronic signature and the instrument of digital authenticating, its built-in security chip, use key algorithm that online data are added Close, deciphering and digital signature, it is ensured that the confidentiality of online transaction, verity, integrity and non-repudiation.
In the prior art, this Transaction Information, after the Transaction Information receiving outside transmission, can be signed by intelligent cipher key equipment Name operation, then signed data is played to external equipment, to guarantee verity and the non-repudiation of user identity.
Along with the development of mobile network, Mobile banking can make people process multiple financial business at any time and any place, But the non intelligent machine in mobile phone (also referred to as functional mobile phone), does not provide SDK and API to develop the 3rd for developer because of itself Fang Yingyong, its signing messages cannot be sent to the certificate server of bank by the intelligent cipher key equipment being connected with non intelligent machine, therefore, Intelligent cipher key equipment cannot be applied on non intelligent machine, and the most non intelligent machine cannot use the signature behaviour that intelligent cipher key equipment provides Make.
Now, the recoverable amount of non intelligent machine is the hugest, and intelligent cipher key equipment cannot apply the phenomenon on non intelligent machine, Cause when non intelligent machine user uses Mobile banking and cannot use intelligent cipher key equipment, it is impossible to ensure the safety of transaction.
Therefore, how to allow the user of non intelligent machine intelligent cipher key equipment can also be used to carry out signature operation when using Mobile banking, Intelligent cipher key equipment is to ensure that the safety of transaction is problem demanding prompt solution the most how to allow non intelligent machine could be used that.
Summary of the invention
Present invention seek to address that non intelligent machine cannot use the problem that intelligent cipher key equipment carries out operation of electronic signature.
A kind of data transmission method based on bluetooth of offer is provided.
Another object of the present invention is to provide a kind of intelligent cipher key equipment.
Another object of the present invention is to provide a kind of data transmission system based on bluetooth.
For reaching above-mentioned purpose, technical scheme is specifically achieved in that
One aspect of the present invention provides a kind of data transmission method based on bluetooth, including:
Intelligent cipher key equipment is set up Bluetooth pairing with terminal and is connected;
Described intelligent cipher key equipment uses service discovery protocol SDP agreement to send and searches message to described terminal;
Described terminal, according to described lookup message, searches the serial ports simulation protocol that Dial-up Network configuration file DUN service is corresponding Rfcomm channel number, and send lookup response message include described DUN to described intelligent cipher key equipment, described lookup response message The Rfcomm channel number that service is corresponding;
Described intelligent cipher key equipment, on the Rfcomm passage that described Rfcomm channel number identifies, uses DUN agreement to institute State terminal Sending dialled number message;
Described terminal performs network dial according to described dialing message, when network dial success, to institute on Rfcomm passage State intelligent cipher key equipment and send network dial success message;
Described intelligent cipher key equipment after receiving described network dial success message, use peer-peer protocol ppp protocol and network it Between interconnection protocol IP agreement to described terminal send mutual message;
Described terminal uses ppp protocol and IP agreement to forward described mutual message to the webserver, to trigger described network service Device is described terminal distribution IP address, and described IP address is sent to described terminal;
Described terminal receives the described IP address that the described webserver sends, and by described IP on described Rfcomm passage Address is sent to described intelligent cipher key equipment;
Described intelligent cipher key equipment uses described IP address to use transmission control protocol TCP agreement on described Rfcomm passage Send to described terminal and set up socket link order, be connected with the socket between destination server to indicate described terminal to set up;
Described terminal is set up and is connected with the socket between described destination server;
Described intelligent cipher key equipment sends signed data to described terminal on described Rfcomm passage, exists triggering described terminal Socket connects to the described destination server described signed data of forwarding.
Additionally, in the method, described intelligent cipher key equipment is set up Bluetooth pairing and is connected and specifically includes with terminal:
If described intelligent cipher key equipment has stored the media access control address MAC Address of described terminal, the most directly pass through Described MAC Address is set up with described terminal and is connected;
If described intelligent cipher key equipment does not store the MAC Address of described terminal, the most described intelligent cipher key equipment opens bluetooth Equipment search pattern, search bluetooth equipment around, when finding the MAC Address of described terminal, use described MAC ground Location and described terminal are set up and are connected, and after described intelligent cipher key equipment is successfully established with described terminal and to be connected, preserve described terminal MAC Address.
Another aspect of the present invention provides a kind of intelligent cipher key equipment, and described intelligent cipher key equipment is connected by Bluetooth pairing with terminal, Described intelligent cipher key equipment includes safety chip, main control chip and bluetooth transceiver, wherein:
Described main control chip, is used for storing and running bluetooth protocol repertory, and described bluetooth protocol repertory includes that service discovery protocol SDP is assisted View, Dial-up Network configuration file DUN agreement, serial ports simulation protocol Rfcomm agreement, peer-peer protocol ppp protocol, net Interconnection protocol IP agreement and transmission control protocol TCP agreement between network, and use SDP agreement to send lookup message to described indigo plant Tooth transceiver;
Described bluetooth transceiver, for being sent to described terminal by described lookup message, to trigger described terminal according to described lookup Message, searches the Rfcomm channel number that DUN service is corresponding, and sends lookup response message to described intelligent cipher key equipment, Described lookup response message includes the Rfcomm channel number that described DUN service is corresponding, described bluetooth transceiver, is additionally operable to connect Receive described lookup response message;
Described main control chip, is additionally operable to use DUN agreement Sending dialled number message to described bluetooth transceiver;
Described bluetooth transceiver, is additionally operable on the Rfcomm passage of described Rfcomm channel number mark, sends out to described terminal Send described dialing message, perform network dial according to described dialing message triggering described terminal, and when network dial success, Network dial success message is sent to described intelligent cipher key equipment;Described bluetooth transceiver, is additionally operable at described Rfcomm passage Number mark Rfcomm passage on, receive described network dial success message;
Described main control chip, is additionally operable to, after network dial success, use ppp protocol and IP agreement to send out to described bluetooth transceiver Send mutual message;
Described bluetooth transceiver, is additionally operable on the Rfcomm passage of described Rfcomm channel number mark, sends out to described terminal Send described mutual message, to indicate described terminal to use ppp protocol and IP agreement to forward described mutual message to the webserver, And to trigger the described webserver be described terminal distribution IP address, and described IP address is sent to described terminal;Described end End receives the IP address that the described webserver sends, and is sent to described IP address described on described Rfcomm passage Intelligent cipher key equipment;Described bluetooth transceiver, is additionally operable to receive on the Rfcomm passage of described Rfcomm channel number mark Described IP address;
Described main control chip, is also used for described IP address and uses Transmission Control Protocol to set up socket even to bluetooth transceiver transmission Connect instruction;
Described bluetooth transceiver, is additionally operable to use described IP address on the Rfcomm passage of described Rfcomm channel number mark Use Transmission Control Protocol to send to described terminal and set up socket link order, to indicate described terminal to set up between destination server Socket connect;
Described safety chip, is used for producing signed data, and sends to main control chip;
Described main control chip, is additionally operable to described signed data is sent to described bluetooth transceiver;
Described bluetooth transceiver, is additionally operable on described Rfcomm passage send signed data to described terminal, described to trigger Terminal forwards described signed data to destination server on socket connects.
Additionally, described intelligent cipher key equipment also includes:
Memorizer, successfully matches the media access control address MAC of the terminal being connected for storage with described intelligent cipher key equipment Address;
Described main control chip, is additionally operable to search in memory the MAC Address of described terminal, at the MAC finding described terminal During address, directly it is connected with the foundation of described terminal by described MAC Address;
Described main control chip, when being additionally operable to the MAC Address the most not finding described terminal, opens bluetooth equipment Search pattern, search bluetooth equipment around, when finding the MAC Address of described terminal, use described MAC Address with Described terminal is set up and is connected, and after described intelligent cipher key equipment is successfully established with described terminal and to be connected, protects in which memory Deposit the MAC Address of described terminal.
Another aspect of the present invention provides a kind of data transmission system based on bluetooth, and described system includes: intelligent cipher key equipment, Terminal, the webserver and destination server, wherein:
Described intelligent cipher key equipment is set up Bluetooth pairing with described terminal and is connected;
Described intelligent cipher key equipment, is used for using service discovery protocol SDP agreement to send and searches message to described terminal;
Described terminal, for according to described lookup message, searching the serial ports emulation that Dial-up Network configuration file DUN service is corresponding Agreement Rfcomm channel number, and send lookup response message include institute to described intelligent cipher key equipment, described lookup response message State the Rfcomm channel number that DUN service is corresponding;
Described intelligent cipher key equipment, is additionally operable to receive described lookup response message, in described Rfcomm channel number mark On Rfcomm passage, use DUN agreement to described terminal Sending dialled number message;
Described terminal, is additionally operable to perform network dial according to described dialing message, when network dial success, leads at Rfcomm Network dial success message is sent to described intelligent cipher key equipment on road;
Described intelligent cipher key equipment, is additionally operable to after receiving described network dial success message, uses peer-peer protocol ppp protocol With interconnection protocol IP agreement sends mutual message to described terminal between network;
Described terminal, is additionally operable to use ppp protocol and IP agreement to forward described mutual message to the described webserver;
The described webserver, being used for according to described mutual message is described terminal distribution IP address, and is sent out described IP address Give described terminal;
Described terminal, is additionally operable to receive the described IP address that the described webserver sends, and will on described Rfcomm passage Described IP address is sent to described intelligent cipher key equipment;
Described intelligent cipher key equipment, is additionally operable to receive described IP address, and uses described IP ground on described Rfcomm passage Location uses transmission control protocol TCP agreement to send to described terminal and sets up socket link order;
Described terminal, is additionally operable to, according to described socket link order, set up and be connected with the socket between described destination server;
Described destination server, is connected for setting up socket with described terminal;
Described intelligent cipher key equipment, is additionally operable on described Rfcomm passage send signed data to described terminal;
Described terminal, is additionally operable on socket connects, the described signed data received is forwarded to described destination server;
Described destination server, is additionally operable to receive described signed data.
Additionally, in this system:
Described intelligent cipher key equipment, if being additionally operable to storage have the media access control address MAC Address of described terminal, the most directly Connected described MAC Address to be connected with the foundation of described terminal;
Described intelligent cipher key equipment, is additionally operable to without the MAC Address storing described terminal, then open bluetooth equipment search Pattern, search bluetooth equipment around, when finding the MAC Address of described terminal, use and search the described MAC obtained Address and described terminal are set up and are connected, and after described intelligent cipher key equipment is successfully established with described terminal and to be connected, preserve described end The MAC Address of end;
Described terminal, is additionally operable to set up Bluetooth pairing with described intelligent cipher key equipment and is connected.
As seen from the above technical solution provided by the invention, have employed the present invention provide data transmission method based on bluetooth, Intelligent cipher key equipment and data transmission system based on bluetooth, intelligent cipher key equipment is searched terminal D UN by SDP agreement and is serviced Corresponding Rfcomm channel number, Sending dialled number message on Rfcomm passage, after terminal dialing success, intelligent cipher key equipment By terminal transparent transmission signed data to destination server, ensure being successfully transmitted of signed data.Visible, use the embodiment of the present invention The data transmission method based on bluetooth, intelligent cipher key equipment and the data transmission system based on bluetooth that there is provided can make the non-intelligence of solution Intelligent cipher key equipment can cannot be used to carry out the problem of operation of electronic signature by machine, i.e. be dialled by bluetooth DUN of the non intelligent machine of use After number function carries out network dial success so that intelligent cipher key equipment can be connected to target clothes by the network that non intelligent machine is set up Business device transmits signed data, it is ensured that the safety of user's electronic transaction.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, the required accompanying drawing used in embodiment being described below It is briefly described, it should be apparent that, the accompanying drawing in describing below is only some embodiments of the present invention, for this area From the point of view of those of ordinary skill, on the premise of not paying creative work, it is also possible to obtain other accompanying drawings according to these accompanying drawings.
The interaction diagrams of the data transmission method based on bluetooth that Fig. 1 provides for the embodiment of the present invention 1;
The flow chart that the intelligent cipher key equipment that Fig. 2 provides for the embodiment of the present invention 1 is connected with terminal Bluetooth pairing;
The structural representation of the intelligent cipher key equipment that Fig. 3 provides for the embodiment of the present invention 2;
The structural representation of the data transmission system based on bluetooth that Fig. 4 provides for this religious name embodiment 3.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, Obviously, described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Reality based on the present invention Execute example, the every other embodiment that those of ordinary skill in the art are obtained under not making creative work premise, broadly fall into Protection scope of the present invention.
In describing the invention, it is to be understood that term " " center ", " longitudinally ", " laterally ", " on ", D score, " front ", Orientation or the position relationship of the instruction such as " afterwards ", "left", "right", " vertically ", " level ", " top ", " end ", " interior ", " outward " are base In orientation shown in the drawings or position relationship, it is for only for ease of the description present invention and simplifies description rather than instruction or hint institute The device that refers to or element must have specific orientation, with specific azimuth configuration and operation, therefore it is not intended that to the present invention Restriction.Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that instruction or hint relative importance Or quantity or position.
In describing the invention, it should be noted that unless otherwise clearly defined and limited, term " install ", " being connected ", " connect " and should be interpreted broadly, connect for example, it may be fixing, it is also possible to be to removably connect, or be integrally connected;Permissible It is to be mechanically connected, it is also possible to be electrical connection;Can be to be joined directly together, it is also possible to be indirectly connected to by intermediary, can be two The connection of individual element internal.For the ordinary skill in the art, can understand that above-mentioned term is in the present invention with concrete condition In concrete meaning.
Below in conjunction with accompanying drawing, the embodiment of the present invention is described in further detail.
Embodiment 1
The interaction diagrams of the data transmission method based on bluetooth that Fig. 1 illustrates, see Fig. 1, and the present invention's is based on bluetooth Data transmission method, including:
101, intelligent cipher key equipment is set up Bluetooth pairing with terminal and is connected;
Optionally, seeing Fig. 2, a kind of implementation of this step is:
201, it is judged that on intelligent cipher key equipment, whether store the MAC Address of terminal that there is a need to be attached;
202, if described intelligent cipher key equipment has stored MAC (Media Access Control, the media visit of described terminal Ask control) address, the most directly it is connected with the foundation of described terminal by described MAC Address;
In the present embodiment, described terminal can be any support bluetooth and the DUN (Dial-up such as mobile phone, panel computer and computer Networking, Dial-up Network configuration file) service and may be coupled to the equipment of communication network, this equipment is any without installing Software.
Concrete, the display screen of intelligent cipher key equipment can show the device name of the terminal stored with list, each sets Standby title all correspond to the MAC Address of this terminal, and the terminal stored demonstrated in list can be before and intelligent key Equipment successfully matches the terminal connected, or can also be to be stored in advance on intelligent cipher key equipment, with this intelligent cipher key equipment The terminal bound.
User can be by the button on intelligent cipher key equipment, and browsing in the list demonstrated and searching needs setting of the terminal connected Standby title, if finding the terminal needing to connect, then can select this terminal by button, and obtain the MAC ground of this terminal Location, intelligent cipher key equipment carries out Bluetooth pairing by MAC Address with this terminal and is connected.
202 ', if described intelligent cipher key equipment does not store the MAC Address of described terminal, the most described intelligent cipher key equipment is opened Open bluetooth equipment search pattern, search bluetooth equipment around;
203 ', when finding the MAC Address of described terminal, use described MAC Address to set up with described terminal and be connected;
204 ', after described intelligent cipher key equipment is successfully established with described terminal and to be connected, preserve the MAC Address of described terminal.
It is concrete, if the list that shows of the display screen of described intelligent cipher key equipment does not has the device name of described terminal, then institute State intelligent cipher key equipment and open bluetooth equipment search pattern, search bluetooth equipment around, send inquiry life to bluetooth equipment around Order, around bluetooth equipment responds, and returns its MAC Address and device name, it is possible to return bluetooth equipment classification in the lump, Search result list shows on the display screen of intelligent cipher key equipment, and user can pass through button, browses also in the list demonstrated Searching the device name of the terminal needing connection, if finding the terminal needing to connect, then can select terminal by button, and Obtaining the MAC Address of this terminal, the intelligent cipher key equipment described MAC Address of use carries out Bluetooth pairing with described terminal and is connected, And after intelligent cipher key equipment is connected with terminal success Bluetooth pairing, preserve the MAC Address of terminal.
It should be noted that can also be realized by the following manner in this step:
If terminal has stored the MAC Address of intelligent cipher key equipment, terminal is directly by MAC Address and intelligent cipher key equipment Set up and connect;
If terminal does not store the MAC Address of intelligent cipher key equipment, then terminal opens bluetooth equipment search pattern, search week Enclose bluetooth equipment, when finding the MAC Address of intelligent cipher key equipment, use this MAC Address to set up with intelligent cipher key equipment Connect, and after terminal is successfully established with intelligent cipher key equipment and to be connected, the MAC Address of preservation intelligent cipher key equipment.
102, described intelligent cipher key equipment uses SDP agreement (Service Discovery Protocol, service discovery protocol) to send out Send lookup message to described terminal;
In the present embodiment, it will be appreciated that SDP is the agreement of an application layer, and intelligent cipher key equipment and terminal in transport layer Function also need to L2CAP agreement (Logical Link Control and Adaptation Protocol, logic link control and suitable Join agreement) ensure, intelligent cipher key equipment, before sending lookup message, first sets up L2CAP logical links with terminal.
103, described terminal, according to described lookup message, searches the Rfcomm that Dial-up Network configuration file DUN service is corresponding (Radio Frequency Communication, serial ports simulation protocol) channel number, and send lookup response message to described intelligence Key devices, described lookup response message includes the Rfcomm channel number that described DUN service is corresponding;
In the present embodiment, terminal, according to searching message, searches the Rfcomm that DUN service is corresponding in SDP service log list Channel number.
The Rfcomm channel number of DUN service correspondence can be unfixed.
When the type difference of terminal, the Rfcomm channel number that the DUN service of terminal support is corresponding also differs.
Terminal can be according to the needs of reality application, and for the Rfcomm channel number that DUN service distribution is corresponding, this DUN services Corresponding Rfcomm channel number can be scanned for by SDP agreement by other bluetooth equipments and obtain.
104, described intelligent cipher key equipment, on the Rfcomm passage that described Rfcomm channel number identifies, uses DUN agreement To described terminal Sending dialled number message;
In the present embodiment, dialing message is an instruction set, according to the difference of the accessible communication network of terminal, comprise GSM, GPRS, 3G and 4G dial instruction collection.
The Rfcomm passage of above-mentioned Rfcomm channel number mark is transmission data channel between intelligent cipher key equipment and terminal.Example As, by above-mentioned Rfcomm channel number mark Rfcomm passage, intelligent cipher key equipment can to terminal Sending dialled number message, Signed data etc., or, terminal sends network dial success message, signed data result etc. to intelligent cipher key equipment.
105, described terminal performs network dial according to described dialing message, when network dial success, on Rfcomm passage Network dial success message is sent to described intelligent cipher key equipment;
The process that realizes that terminal performs network dial according to dialing message may refer to existing correlation technique, does not repeats them here.
106, described intelligent cipher key equipment, after receiving described network dial success message, uses ppp protocol (Point to Point Protocol, peer-peer protocol) and IP agreement (interconnection protocol between Internet Protocol, network) to described terminal send hand over Message mutually;
107, described terminal uses ppp protocol and IP agreement to forward described mutual message to the webserver, to trigger described net Network server is described terminal distribution IP address, and described IP address is sent to described terminal;
In the present embodiment, the webserver can be mobile communication carrier's server.
108, described terminal receives the described IP address that the described webserver sends, and by institute on described Rfcomm passage State IP address and be sent to described intelligent cipher key equipment;
109, described intelligent cipher key equipment uses described IP address to use Transmission Control Protocol on described Rfcomm passage (Transmission Control Protocol, transmission control protocol) sends to described terminal and sets up socket link order, to refer to Show that described terminal is set up to be connected with the socket between destination server;
In the present embodiment, destination server can be bank server, for the signed data sent according to intelligent cipher key equipment Judge whether to next step transactional operation.
110, described terminal is set up and is connected with the socket between described destination server;
In the present embodiment, specially the socket interface of intelligent cipher key equipment is shaken hands with the socket interface of destination server Consult, and then set up socket interface channel with destination server.
111, described intelligent cipher key equipment sends signed data to described terminal on described Rfcomm passage, to trigger described end Hold and forward described signed data to described destination server on socket connects.
It is in the present embodiment, after destination server receives signed data, the most legal according to signed data checking transaction further, Next step operation is judged whether to according to the result.
It addition, after signed data or transaction are traded processing by destination server, destination server is sent out in socket connection Delivering disposable result to terminal, terminal receives trading processing result, is transmitted to described intelligence on described Rfcomm passage Key devices, this intelligent cipher key equipment carries out subsequent treatment according to trading processing result.
It is to say, using intelligent cipher key equipment and destination server (this destination server can be such as trading server) When being traded data transmission, being to be realized by terminal, detailed process is:
Data interaction is carried out based on Bluetooth technology by Rfcomm passage between intelligent cipher key equipment and terminal;
It is connected by socket between terminal with destination server and carries out data interaction.
Either terminal receives intelligent cipher key equipment and is sent to the data of destination server, or terminal receives destination server Being sent to the data of intelligent cipher key equipment, terminal is to being transmitted mutual data between intelligent cipher key equipment and destination server not Carry out any process, only play forwarding data, it is achieved the effect of data penetration transmission.
Thus, the type of terminal, data processing performance etc. are not required by the present embodiment, go for intelligent machine, it is also possible to It is applicable to non intelligent machine, and without installing any auxiliary software.
Have employed the data transmission method based on bluetooth that embodiment 1 provides, intelligent cipher key equipment searches terminal by SDP agreement The Rfcomm channel number that DUN service is corresponding, Sending dialled number message on Rfcomm passage, after terminal dialing success, intelligence Key devices, by terminal transparent transmission signed data to destination server, ensures being successfully transmitted of signed data.Visible, the present embodiment Method can solve non intelligent machine and intelligent cipher key equipment cannot be used to carry out the problem of operation of electronic signature, i.e. by using non-intelligence After the bluetooth DUN dial feature of energy machine carries out network dial success so that intelligent cipher key equipment can be set up by non intelligent machine Network connect to destination server transmit signed data, it is ensured that the safety of user's electronic transaction.
Embodiment 2
Fig. 3 illustrates the structural representation of the intelligent cipher key equipment of the present invention, sees Fig. 3, the intelligent cipher key equipment of the present invention with Terminal is connected by Bluetooth pairing, and intelligent cipher key equipment includes safety chip 301, main control chip 302 and bluetooth transceiver 303, Wherein:
Described main control chip 302, is used for storing and running bluetooth protocol repertory, and described bluetooth protocol repertory includes SDP agreement (Service Discovery Protocol, service discovery protocol), DUN (Dial-up Networking, Dial-up Network configuration file) agreement, Rfcomm (Radio Frequency Communication, serial ports simulation protocol) agreement, ppp protocol (Point to Point Protocol, peer-peer protocol), IP agreement (interconnection protocol between Internet Protocol, network) and Transmission Control Protocol (Transmission Control Protocol, transmission control protocol), and use SDP agreement to send lookup message to described bluetooth Transceiver 303;
In the present embodiment, main control chip 302 can be connected with safety chip 301 by SPI interface, passes through UART interface It is connected with bluetooth transceiver 303.
Described bluetooth transceiver 303, for being sent to described terminal by described lookup message, to trigger described terminal according to described Search message, search the Rfcomm channel number that DUN service is corresponding, and send lookup response message and set to described intelligent key Standby, described lookup response message includes the Rfcomm channel number that described DUN service is corresponding, described bluetooth transceiver 303, goes back For receiving described lookup response message;
In the present embodiment, the Rfcomm channel number that DUN service is corresponding can be unfixed.
When the type difference of terminal, the Rfcomm channel number that the DUN service of terminal support is corresponding also differs.
Terminal can be according to the needs of reality application, and for the Rfcomm channel number that DUN service distribution is corresponding, this DUN services Corresponding Rfcomm channel number can be scanned for by SDP agreement by other bluetooth equipments and obtain.
In the present embodiment, it will be appreciated that SDP is the agreement of an application layer, and intelligent cipher key equipment and terminal in transport layer Function also need to L2CAP agreement (Logical Link Control and Adaptation Protocol, logic link control and suitable Join agreement) ensure, intelligent cipher key equipment, before sending lookup message, first sets up L2CAP logical links with terminal.
Described terminal can be that any support bluetooths such as mobile phone, panel computer and computer service with DUN and may be coupled to communicate The equipment of network, this equipment is without installing any software.
Described main control chip 302, is additionally operable to use DUN agreement Sending dialled number message to described bluetooth transceiver 303;
In the present embodiment, dialing message is an instruction set, according to the difference of the accessible communication network of terminal, comprise GSM, GPRS, 3G and 4G dial instruction collection.
Described bluetooth transceiver 303, was additionally operable on the Rfcomm passage of described Rfcomm channel number mark, to described end End sends described dialing message, according to the execution network dial of described dialing message and successful in network dial to trigger described terminal Time, send network dial success message to described intelligent cipher key equipment;Described bluetooth transceiver 303, is additionally operable at described Rfcomm On the Rfcomm passage of channel number mark, receive described network dial success message;
In the present embodiment, the Rfcomm passage of above-mentioned Rfcomm channel number mark is to pass between intelligent cipher key equipment and terminal Transmission of data passage.Such as, by the Rfcomm passage of above-mentioned Rfcomm channel number mark, intelligent cipher key equipment can be to end End Sending dialled number message, signed data etc., or, terminal sends network dial success message, signature to intelligent cipher key equipment Data processed result etc..
The process that realizes that terminal performs network dial according to dialing message may refer to existing correlation technique, does not repeats them here.
Described main control chip 302, is additionally operable to, after network dial success, use ppp protocol and IP agreement to receive and dispatch to described bluetooth Device 303 sends mutual message;
Described bluetooth transceiver 303, was additionally operable on the Rfcomm passage of described Rfcomm channel number mark, to described end End sends described mutual message, to indicate described terminal to use ppp protocol and IP agreement to forward described mutual report to the webserver Literary composition, and to trigger the described webserver be described terminal distribution IP address, and described IP address is sent to described terminal;Institute State terminal and receive the IP address that the described webserver sends, and on described Rfcomm passage, described IP address is sent to Described intelligent cipher key equipment;Described bluetooth transceiver 303, is additionally operable to lead at the Rfcomm of described Rfcomm channel number mark Described IP address is received on road;
In the present embodiment, the webserver can be mobile communication carrier's server.
Described main control chip 302, is also used for described IP address and uses Transmission Control Protocol to send foundation to bluetooth transceiver 303 Socket link order;
Described bluetooth transceiver 303, is additionally operable to use described IP on the Rfcomm passage of described Rfcomm channel number mark Address uses Transmission Control Protocol to send to described terminal and sets up socket link order, to indicate described terminal to set up and destination server Between socket connect;
In the present embodiment, destination server can be bank server, for the signed data sent according to intelligent cipher key equipment Judge whether to next step transactional operation.
Described safety chip 301, is used for producing signed data, and sends to main control chip 302;
Described main control chip 302, is additionally operable to be sent to described signed data described bluetooth transceiver 303;
Described bluetooth transceiver 303, is additionally operable on described Rfcomm passage send signed data to described terminal, to trigger Described terminal forwards described signed data to destination server on socket connects.
It addition, after signed data or transaction are traded processing by destination server, destination server is sent out in socket connection Delivering disposable result to terminal, terminal receives trading processing result, is transmitted to described intelligence on described Rfcomm passage Key devices, this intelligent cipher key equipment carries out subsequent treatment according to trading processing result.
It is to say, using intelligent cipher key equipment and destination server (this destination server can be such as trading server) When being traded data transmission, being to be realized by terminal, detailed process is:
Data interaction is carried out based on Bluetooth technology by Rfcomm passage between intelligent cipher key equipment and terminal;
It is connected by socket between terminal with destination server and carries out data interaction.
Either terminal receives intelligent cipher key equipment and is sent to the data of destination server, or terminal receives destination server Being sent to the data of intelligent cipher key equipment, terminal is to being transmitted mutual data between intelligent cipher key equipment and destination server not Carry out any process, only play forwarding data, it is achieved the effect of data penetration transmission.
Thus, the type of the terminal that the present embodiment pair is connected with intelligent cipher key equipment Bluetooth matching, data processing performance etc. are not wanted Ask, go for intelligent machine, it is also possible to be applicable to non intelligent machine, and without installing any auxiliary software.
In the present embodiment, described intelligent cipher key equipment also includes:
Memorizer 304, successfully matches MAC (the Media Access of the terminal being connected for storage with described intelligent cipher key equipment Control, media interviews control) address;
In the present embodiment, memorizer is the internal memory of main control chip 302, it is also possible to be the individual chips outside main control chip 302.
Described main control chip 302, is additionally operable to search in memory the MAC Address of described terminal, is finding described terminal During MAC Address, directly it is connected with the foundation of described terminal by described MAC Address;
Concrete, the display screen of intelligent cipher key equipment can show the device name of the terminal stored with list, each sets Standby title all correspond to the MAC Address of this terminal, and the terminal stored demonstrated in list can be before and intelligent key Equipment successfully matches the terminal connected, or can also be to be stored in advance on intelligent cipher key equipment, with this intelligent cipher key equipment The terminal bound.
User can be by the button on intelligent cipher key equipment, and browsing in the list demonstrated and searching needs setting of the terminal connected Standby title, if finding the terminal needing to connect, then can select this terminal by button, and obtain the MAC ground of this terminal Location, intelligent cipher key equipment carries out Bluetooth pairing by MAC Address with this terminal and is connected.
Described main control chip 302, when being additionally operable to the MAC Address the most not finding described terminal, opens bluetooth and sets Standby search pattern, search bluetooth equipment around, when finding the MAC Address of described terminal, use described MAC Address Set up with described terminal and be connected, and after described intelligent cipher key equipment is successfully established with described terminal and to be connected, at described memorizer 304 The MAC Address of the described terminal of middle preservation.
It is concrete, if the list that shows of the display screen of described intelligent cipher key equipment does not has the device name of described terminal, then institute State intelligent cipher key equipment and open bluetooth equipment search pattern, search bluetooth equipment around, send inquiry life to bluetooth equipment around Order, around bluetooth equipment responds, and returns its MAC Address and device name, it is possible to return bluetooth equipment classification in the lump, Search result list shows on the display screen of intelligent cipher key equipment, and user can pass through button, browses also in the list demonstrated Searching the device name of the terminal needing connection, if finding the terminal needing to connect, then can select terminal by button, and Obtaining the MAC Address of this terminal, the intelligent cipher key equipment described MAC Address of use carries out Bluetooth pairing with described terminal and is connected, And after intelligent cipher key equipment is connected with terminal success Bluetooth pairing, preserve the MAC Address of terminal.
Have employed the intelligent cipher key equipment that embodiment 2 provides, terminal D UN service correspondence can be searched by SDP agreement Rfcomm channel number, Sending dialled number message on Rfcomm passage, after terminal dialing success, intelligent cipher key equipment is by eventually End transparent transmission signed data, to destination server, ensures being successfully transmitted of signed data.Visible, the intelligent cipher key equipment of the present embodiment Existing intelligent cipher key equipment can be solved cannot carry out signing by non intelligent machine and carry out the problem of operation of electronic signature, i.e. intelligence After key devices is by using the bluetooth DUN dial feature of non intelligent machine to carry out network dial success so that intelligent cipher key equipment Can be connected by the network that non intelligent machine is set up and transmit signed data to destination server, it is ensured that the safety of user's electronic transaction.
Embodiment 3
Fig. 4 illustrates the structural representation of the data transmission system based on bluetooth of the present invention, sees Fig. 4, the present invention based on The data transmission system of bluetooth, including: intelligent cipher key equipment 401, terminal 402, the webserver 403 and destination server 404, wherein:
Described intelligent cipher key equipment 401 is set up Bluetooth pairing with described terminal 402 and is connected 402;
Described intelligent cipher key equipment 401, is used for using SDP agreement (Service Discovery Protocol, service discovery protocol) Send and search message to described terminal 402;
In the present embodiment, it will be appreciated that SDP is the agreement of an application layer, intelligent cipher key equipment 401 and terminal 402 Function in transport layer also needs to L2CAP agreement (Logical Link Control and Adaptation Protocol, logical links Control and adapting protocol) ensure, intelligent cipher key equipment 401, before sending lookup message, first sets up L2CAP with terminal 402 Logical links.
Described terminal 402, for according to described lookup message, (Dial-up Networking, Dial-up Network configure to search DUN File) service corresponding Rfcomm (Radio Frequency Communication, serial ports simulation protocol) channel number, concurrently Sending lookup response message to described intelligent cipher key equipment 401, described lookup response message includes described DUN service correspondence Rfcomm channel number;
In the present embodiment, terminal 402, according to searching message, searches DUN service correspondence in SDP service log list Rfcomm channel number.
The Rfcomm channel number of DUN service correspondence can be unfixed.
When the type difference of terminal 402, the Rfcomm channel number that the DUN service of terminal support is corresponding also differs.
Terminal 402 can be according to the needs of reality application, for the Rfcomm channel number that DUN service distribution is corresponding, this DUN Rfcomm channel number corresponding to service can be scanned for by SDP agreement by other bluetooth equipments and obtain.
Described intelligent cipher key equipment 401, is additionally operable to receive described lookup response message, in described Rfcomm channel number mark On Rfcomm passage, use DUN agreement to described terminal 402 Sending dialled number message;
In the present embodiment, dialing message is an instruction set, according to the difference of the accessible communication network of terminal 402, comprises GSM, GPRS, 3G and 4G dial instruction collection.
The Rfcomm passage of above-mentioned Rfcomm channel number mark is transmission data between intelligent cipher key equipment 401 and terminal 402 Passage.Such as, by the Rfcomm passage of above-mentioned Rfcomm channel number mark, intelligent cipher key equipment 401 can be to terminal 402 Sending dialled number messages, signed data etc., or, terminal 402 sends network dial success to intelligent cipher key equipment 401 Message, signed data result etc..Described terminal 402, is additionally operable to perform network dial according to described dialing message, During network dial success, Rfcomm passage sends network dial success message to described intelligent cipher key equipment 401;
The process that realizes that terminal 402 performs network dial according to dialing message may refer to existing correlation technique, does not repeats them here.
Described intelligent cipher key equipment 401, is additionally operable to after receiving described network dial success message, uses ppp protocol (Point to Point Protocol, peer-peer protocol) and IP agreement (interconnection protocol between Internet Protocol, network) to described terminal 402 send mutual message;
Described terminal 402, is additionally operable to use ppp protocol and IP agreement to forward described mutual message to the described webserver 403;
In the present embodiment, the webserver 403 can be mobile communication carrier's server.
The described webserver 403, being used for according to described mutual message is that described terminal 402 distributes IP address, and by described IP Address is sent to described terminal 402;
Described terminal 402, is additionally operable to receive the described IP address that the described webserver 403 sends, and at described Rfcomm On passage, described IP address is sent to described intelligent cipher key equipment 401;
Described intelligent cipher key equipment 401, is additionally operable to receive described IP address, and uses described IP on described Rfcomm passage Address uses Transmission Control Protocol (Transmission Control Protocol, transmission control protocol) to send to described terminal 402 and sets up Socket link order;
Described terminal 402, is additionally operable to, according to described socket link order, set up the socket between described destination server 404 Connect;
Described destination server 404, is connected for setting up socket with described terminal 402;
In the present embodiment, destination server 404 can be bank server, for send according to intelligent cipher key equipment 401 Signed data judges whether to next step transactional operation.
Described intelligent cipher key equipment 401, is additionally operable to send signed data to described terminal 402 on described Rfcomm passage;
Described terminal 402, is additionally operable on socket connects, the described signed data received is forwarded to described destination server 404;
Described destination server 404, is additionally operable to receive described signed data.
In the present embodiment, destination server 404 is additionally operable to after receiving signed data, hands over according to signed data checking further The most legal, next step operation is judged whether to according to the result.
It addition, after signed data or transaction are traded processing by destination server 404, destination server 404 is at socket Send trading processing result in connection and receive trading processing result to terminal 402, terminal 402, at described Rfcomm passage On be transmitted to described intelligent cipher key equipment 401, this intelligent cipher key equipment 401 carries out subsequent treatment according to trading processing result.
It is to say, using intelligent cipher key equipment 401, (this destination server 404 can be such as with destination server 404 Trading server) be traded data transmission time, be to be realized by terminal 402, detailed process is:
Data interaction is carried out based on Bluetooth technology by Rfcomm passage between intelligent cipher key equipment 401 and terminal 402;
It is connected by socket between terminal 402 with destination server 404 and carries out data interaction.
Either terminal 402 receives intelligent cipher key equipment 401 and is sent to the data of destination server 404, or terminal 402 Receiving destination server 404 and be sent to the data of intelligent cipher key equipment 401, intelligent cipher key equipment 401 is taken by terminal with target It is transmitted mutual data between business device 404 and does not carry out any process, only play forwarding data, it is achieved the effect of data penetration transmission.
Thus, the type of terminal 402, data processing performance etc. are not required by the present embodiment, go for intelligent machine, also Go for non intelligent machine, and without installing any auxiliary software.
In the present embodiment, described intelligent cipher key equipment 401 is set up Bluetooth pairing with described terminal 402 and is connected specific implementation For:
Described intelligent cipher key equipment 401, if be additionally operable to storage have described terminal 402 MAC (Media Access Control, Media interviews control) address, the most directly it is connected with the foundation of described terminal 402 by described MAC Address;
In the present embodiment, described terminal 402 can be any support bluetooths such as mobile phone, panel computer and computer and DUN clothes Being engaged in and may be coupled to the equipment of communication network, this equipment is without installing any software.
Concrete, the display screen of intelligent cipher key equipment 401 can show the device name of the terminal 402 stored with list, Each device name all correspond to the MAC Address of this terminal 402, and the terminal 402 stored demonstrated in list is permissible For successfully matching the terminal 402 being connected before with intelligent cipher key equipment 401, or can also be to be stored in advance in intelligent key On equipment 401, the terminal 402 bound with this intelligent cipher key equipment 401.
User can browse and search, by the button on intelligent cipher key equipment 401, the terminal needing to connect in the list demonstrated The device name of 402, if finding the terminal 402 needing to connect, then can select this terminal 402 by button, and acquisition should The MAC Address of terminal 402, intelligent cipher key equipment 401 carries out Bluetooth pairing by MAC Address with this terminal 402 and is connected.
Described intelligent cipher key equipment 401, is additionally operable to without the MAC Address storing described terminal 402, then open bluetooth and set Standby search pattern, search bluetooth equipment around, when finding the MAC Address of described terminal 402, use lookup to obtain Described MAC Address and described terminal 402 set up and be connected, and become with described terminal 402 at described intelligent cipher key equipment 401 Merit is set up after connecting, and preserves the MAC Address of described terminal 402;
Described terminal 402, is additionally operable to set up Bluetooth pairing with described intelligent key 401 equipment and is connected.
It is concrete, if the list that shows of the display screen of described intelligent cipher key equipment 401 does not has the implementor name of described terminal 402 Claiming, the most described intelligent cipher key equipment 401 opens bluetooth equipment search pattern, search bluetooth equipment around, sets to bluetooth around Preparation send querying command, and around bluetooth equipment responds, and returns its MAC Address and device name, it is possible to return indigo plant in the lump Tooth device class, search result list shows on the display screen of intelligent cipher key equipment 401, and user can pass through button, in display The list gone out is browsed and is searched the device name of the terminal 402 needing connection, if finding the terminal 402 needing to connect, Then can select terminal 402 by button, and obtain the MAC Address of this terminal 402, intelligent cipher key equipment 401 uses described MAC Address carries out Bluetooth pairing with described terminal 402 and is connected, and joins with terminal 402 success bluetooth at intelligent cipher key equipment 401 After connecting, preserve the MAC Address of terminal 402.
It should be noted that described intelligent cipher key equipment 401 set up with described terminal 402 that Bluetooth pairing is connected can also be by following Mode realizes:
If terminal 402 has stored the MAC Address of intelligent cipher key equipment 401, terminal 402 directly by MAC Address with Intelligent cipher key equipment 401 is set up and is connected;
If terminal 402 does not store the MAC Address of intelligent cipher key equipment 401, then terminal 402 opens bluetooth equipment search Pattern, search bluetooth equipment around, when finding the MAC Address of intelligent cipher key equipment 401, use this MAC Address with Intelligent cipher key equipment 401 is set up and is connected, and after terminal 402 is successfully established with intelligent cipher key equipment 401 and to be connected, preserves intelligent The MAC Address of key devices.
Have employed the data transmission system based on bluetooth that embodiment 3 provides, intelligent cipher key equipment 401 is searched by SDP agreement The Rfcomm channel number that the service of terminal 402DUN is corresponding, Sending dialled number message on Rfcomm passage, terminal 402 dials After success, intelligent cipher key equipment 401 can get the IP address of the webserver 403 distribution, eventually through terminal 402 transparent transmission label Name data, to destination server, ensure being successfully transmitted of signed data.Visible, the system of the present embodiment can make solution non intelligent Machine cannot use intelligent cipher key equipment 401 to carry out the problem of operation of electronic signature, i.e. by using bluetooth DUN of non intelligent machine After dial feature carries out network dial success so that the network connection that intelligent cipher key equipment 401 can be set up by non intelligent machine to Destination server 404 transmits signed data, it is ensured that the safety of user's electronic transaction.
Any process described otherwise above or method describe and are construed as in flow chart or at this, represent include one or The module of code, fragment or the part of the executable instruction of the more steps for realizing specific logical function or process, and The scope of the preferred embodiment of the present invention includes other realization, wherein can not be by order that is shown or that discuss, including root According to involved function by basic mode simultaneously or in the opposite order, performing function, this should be by embodiments of the invention institute Belong to those skilled in the art to be understood.
Should be appreciated that each several part of the present invention can realize by hardware, software, firmware or combinations thereof.In above-mentioned enforcement In mode, multiple steps or method can be with storing the software or firmware that in memory and be performed by suitable instruction execution system Realize.Such as, if realized with hardware, with the most the same, available following technology well known in the art In any one or their combination realize: have and patrol for the discrete of logic gates that data signal is realized logic function Collect circuit, there is the special IC of suitable combination logic gate circuit, programmable gate array (PGA), field programmable gate Array (FPGA) etc..
Those skilled in the art are appreciated that it is permissible for realizing all or part of step that above-described embodiment method carries Instructing relevant hardware by program to complete, described program can be stored in a kind of computer-readable recording medium, this journey Sequence upon execution, including one or a combination set of the step of embodiment of the method.
Additionally, each functional unit in each embodiment of the present invention can be integrated in a processing module, it is also possible to be each Unit is individually physically present, it is also possible to two or more unit are integrated in a module.Above-mentioned integrated module is the most permissible The form using hardware realizes, it would however also be possible to employ the form of software function module realizes.If described integrated module is with software merit Can the form of module realize and as independent production marketing or when using, it is also possible to be stored in the storage of embodied on computer readable and be situated between In matter.
Storage medium mentioned above can be read only memory, disk or CD etc..
In the description of this specification, reference term " embodiment ", " some embodiments ", " example ", " concrete example ", Or specific features, structure, material or the feature that the description of " some examples " etc. means to combine this embodiment or example describes comprises In at least one embodiment or example of the present invention.In this manual, the schematic representation to above-mentioned term not necessarily refers to It is identical embodiment or example.And, the specific features of description, structure, material or feature can at any one or Multiple embodiments or example combine in an appropriate manner.
Although above it has been shown and described that embodiments of the invention, it is to be understood that above-described embodiment is exemplary, Being not considered as limiting the invention, those of ordinary skill in the art is in the case of without departing from the principle of the present invention and objective Above-described embodiment can be changed within the scope of the invention, revise, replace and modification.The scope of the present invention is by appended power Profit requires and equivalent limits.

Claims (6)

1. a data transmission method based on bluetooth, it is characterised in that including:
Intelligent cipher key equipment is set up Bluetooth pairing with terminal and is connected;
Described intelligent cipher key equipment uses service discovery protocol SDP agreement to send and searches message to described terminal;
Described terminal, according to described lookup message, searches the serial ports simulation protocol that Dial-up Network configuration file DUN service is corresponding Rfcomm channel number, and send lookup response message include described DUN to described intelligent cipher key equipment, described lookup response message The Rfcomm channel number that service is corresponding;
Described intelligent cipher key equipment, on the Rfcomm passage that described Rfcomm channel number identifies, uses DUN agreement to institute State terminal Sending dialled number message;
Described terminal performs network dial according to described dialing message, when network dial success, to institute on Rfcomm passage State intelligent cipher key equipment and send network dial success message;
Described intelligent cipher key equipment after receiving described network dial success message, use peer-peer protocol ppp protocol and network it Between interconnection protocol IP agreement to described terminal send mutual message;
Described terminal uses ppp protocol and IP agreement to forward described mutual message to the webserver, to trigger described network service Device is described terminal distribution IP address, and described IP address is sent to described terminal;
Described terminal receives the described IP address that the described webserver sends, and by described IP on described Rfcomm passage Address is sent to described intelligent cipher key equipment;
Described intelligent cipher key equipment uses described IP address to use transmission control protocol TCP agreement on described Rfcomm passage Send to described terminal and set up socket link order, be connected with the socket between destination server to indicate described terminal to set up;
Described terminal is set up and is connected with the socket between described destination server;
Described intelligent cipher key equipment sends signed data to described terminal on described Rfcomm passage, exists triggering described terminal Socket connects to the described destination server described signed data of forwarding.
Method the most according to claim 1, it is characterised in that described intelligent cipher key equipment and terminal set up Bluetooth pairing even Connect and specifically include:
If described intelligent cipher key equipment has stored the media access control address MAC Address of described terminal, the most directly pass through Described MAC Address is set up with described terminal and is connected;
If described intelligent cipher key equipment does not store the MAC Address of described terminal, the most described intelligent cipher key equipment opens bluetooth Equipment search pattern, search bluetooth equipment around, when finding the MAC Address of described terminal, use described MAC ground Location and described terminal are set up and are connected, and after described intelligent cipher key equipment is successfully established with described terminal and to be connected, preserve described terminal MAC Address.
3. an intelligent cipher key equipment, it is characterised in that described intelligent cipher key equipment is connected by Bluetooth pairing with terminal, described Intelligent cipher key equipment includes safety chip, main control chip and bluetooth transceiver, wherein:
Described main control chip, is used for storing and running bluetooth protocol repertory, and described bluetooth protocol repertory includes that service discovery protocol SDP is assisted View, Dial-up Network configuration file DUN agreement, serial ports simulation protocol Rfcomm agreement, peer-peer protocol ppp protocol, net Interconnection protocol IP agreement and transmission control protocol TCP agreement between network, and use SDP agreement to send lookup message to described indigo plant Tooth transceiver;
Described bluetooth transceiver, for being sent to described terminal by described lookup message, to trigger described terminal according to described lookup Message, searches the Rfcomm channel number that DUN service is corresponding, and sends lookup response message to described intelligent cipher key equipment, Described lookup response message includes the Rfcomm channel number that described DUN service is corresponding, described bluetooth transceiver, is additionally operable to connect Receive described lookup response message;
Described main control chip, is additionally operable to use DUN agreement Sending dialled number message to described bluetooth transceiver;
Described bluetooth transceiver, is additionally operable on the Rfcomm passage of described Rfcomm channel number mark, sends out to described terminal Send described dialing message, perform network dial according to described dialing message triggering described terminal, and when network dial success, Network dial success message is sent to described intelligent cipher key equipment;Described bluetooth transceiver, is additionally operable at described Rfcomm passage Number mark Rfcomm passage on, receive described network dial success message;
Described main control chip, is additionally operable to, after network dial success, use ppp protocol and IP agreement to send out to described bluetooth transceiver Send mutual message;
Described bluetooth transceiver, is additionally operable on the Rfcomm passage of described Rfcomm channel number mark, sends out to described terminal Send described mutual message, to indicate described terminal to use ppp protocol and IP agreement to forward described mutual message to the webserver, And to trigger the described webserver be described terminal distribution IP address, and described IP address is sent to described terminal;Described end End receives the IP address that the described webserver sends, and is sent to described IP address described on described Rfcomm passage Intelligent cipher key equipment;Described bluetooth transceiver, is additionally operable to receive on the Rfcomm passage of described Rfcomm channel number mark Described IP address;
Described main control chip, is also used for described IP address and uses Transmission Control Protocol to set up socket even to bluetooth transceiver transmission Connect instruction;
Described bluetooth transceiver, is additionally operable to use described IP address on the Rfcomm passage of described Rfcomm channel number mark Use Transmission Control Protocol to send to described terminal and set up socket link order, to indicate described terminal to set up between destination server Socket connect;
Described safety chip, is used for producing signed data, and sends to main control chip;
Described main control chip, is additionally operable to described signed data is sent to described bluetooth transceiver;
Described bluetooth transceiver, is additionally operable on described Rfcomm passage send signed data to described terminal, described to trigger Terminal forwards described signed data to destination server on socket connects.
Equipment the most according to claim 3, it is characterised in that described intelligent cipher key equipment also includes:
Memorizer, successfully matches the media access control address MAC of the terminal being connected for storage with described intelligent cipher key equipment Address;
Described main control chip, is additionally operable to search in memory the MAC Address of described terminal, at the MAC finding described terminal During address, directly it is connected with the foundation of described terminal by described MAC Address;
Described main control chip, when being additionally operable to the MAC Address the most not finding described terminal, opens bluetooth equipment Search pattern, search bluetooth equipment around, when finding the MAC Address of described terminal, use described MAC Address with Described terminal is set up and is connected, and after described intelligent cipher key equipment is successfully established with described terminal and to be connected, protects in which memory Deposit the MAC Address of described terminal.
5. a data transmission system based on bluetooth, it is characterised in that described system includes: intelligent cipher key equipment, terminal, The webserver and destination server, wherein:
Described intelligent cipher key equipment is set up Bluetooth pairing with described terminal and is connected;
Described intelligent cipher key equipment, is used for using service discovery protocol SDP agreement to send and searches message to described terminal;
Described terminal, for according to described lookup message, searching the serial ports emulation that Dial-up Network configuration file DUN service is corresponding Agreement Rfcomm channel number, and send lookup response message include institute to described intelligent cipher key equipment, described lookup response message State the Rfcomm channel number that DUN service is corresponding;
Described intelligent cipher key equipment, is additionally operable to receive described lookup response message, in described Rfcomm channel number mark On Rfcomm passage, use DUN agreement to described terminal Sending dialled number message;
Described terminal, is additionally operable to perform network dial according to described dialing message, when network dial success, leads at Rfcomm Network dial success message is sent to described intelligent cipher key equipment on road;
Described intelligent cipher key equipment, is additionally operable to after receiving described network dial success message, uses peer-peer protocol ppp protocol With interconnection protocol IP agreement sends mutual message to described terminal between network;
Described terminal, is additionally operable to use ppp protocol and IP agreement to forward described mutual message to the described webserver;
The described webserver, being used for according to described mutual message is described terminal distribution IP address, and is sent out described IP address Give described terminal;
Described terminal, is additionally operable to receive the described IP address that the described webserver sends, and will on described Rfcomm passage Described IP address is sent to described intelligent cipher key equipment;
Described intelligent cipher key equipment, is additionally operable to receive described IP address, and uses described IP ground on described Rfcomm passage Location uses transmission control protocol TCP agreement to send to described terminal and sets up socket link order;
Described terminal, is additionally operable to, according to described socket link order, set up and be connected with the socket between described destination server;
Described destination server, is connected for setting up socket with described terminal;
Described intelligent cipher key equipment, is additionally operable on described Rfcomm passage send signed data to described terminal;
Described terminal, is additionally operable on socket connects, the described signed data received is forwarded to described destination server;
Described destination server, is additionally operable to receive described signed data.
System the most according to claim 5, it is characterised in that:
Described intelligent cipher key equipment, if being additionally operable to storage have the media access control address MAC Address of described terminal, the most directly Connected described MAC Address to be connected with the foundation of described terminal;
Described intelligent cipher key equipment, is additionally operable to without the MAC Address storing described terminal, then open bluetooth equipment search Pattern, search bluetooth equipment around, when finding the MAC Address of described terminal, use and search the described MAC obtained Address and described terminal are set up and are connected, and after described intelligent cipher key equipment is successfully established with described terminal and to be connected, preserve described end The MAC Address of end;
Described terminal, is additionally operable to set up Bluetooth pairing with described intelligent cipher key equipment and is connected.
CN201410022492.4A 2014-01-17 2014-01-17 A kind of data transmission method based on bluetooth, system and intelligent cipher key equipment Active CN103763317B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410022492.4A CN103763317B (en) 2014-01-17 2014-01-17 A kind of data transmission method based on bluetooth, system and intelligent cipher key equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410022492.4A CN103763317B (en) 2014-01-17 2014-01-17 A kind of data transmission method based on bluetooth, system and intelligent cipher key equipment

Publications (2)

Publication Number Publication Date
CN103763317A CN103763317A (en) 2014-04-30
CN103763317B true CN103763317B (en) 2016-09-14

Family

ID=50530477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410022492.4A Active CN103763317B (en) 2014-01-17 2014-01-17 A kind of data transmission method based on bluetooth, system and intelligent cipher key equipment

Country Status (1)

Country Link
CN (1) CN103763317B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104507037B (en) * 2014-12-12 2017-11-28 飞天诚信科技股份有限公司 A kind of method realized intelligent key apparatus and bluetooth binding is carried out with mobile device
CN111246440B (en) * 2017-06-13 2024-02-09 天地融科技股份有限公司 Method and system for safety communication of Bluetooth equipment
CN109978526B (en) * 2019-01-25 2022-07-12 惠州高盛达科技有限公司 Sharing device Bluetooth payment method, system and storage medium
CN110446197B (en) * 2019-08-13 2022-06-07 山东爱德邦智能科技有限公司 Communication control method, device, equipment and storage medium of intelligent equipment
CN112543424B (en) * 2020-12-30 2022-04-26 合肥工业大学 Autonomous edge control method for distributed smart power grid
CN112911559B (en) * 2021-01-19 2023-01-17 北京塞宾科技有限公司 Wireless data communication method, system, equipment and storage medium
CN115379008B (en) * 2022-07-12 2024-05-07 南京隆远电气技术有限公司 Data transfer station system based on network server

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1366757A (en) * 2000-03-07 2002-08-28 索尼株式会社 Communication device and communication method
US7325048B1 (en) * 2002-07-03 2008-01-29 3Com Corporation Method for automatically creating a modem interface for use with a wireless device
CN101252376A (en) * 2008-03-27 2008-08-27 宇龙计算机通信科技(深圳)有限公司 System and method for connecting blue tooth equipment and mobile communication terminal thereof
CN101807995A (en) * 2010-01-18 2010-08-18 北京天地融科技有限公司 Electronic signature tool supporting wireless communication and processing method thereof for communicating with terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001251366A (en) * 2000-03-07 2001-09-14 Sony Corp Communication system and communication method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1366757A (en) * 2000-03-07 2002-08-28 索尼株式会社 Communication device and communication method
US7325048B1 (en) * 2002-07-03 2008-01-29 3Com Corporation Method for automatically creating a modem interface for use with a wireless device
CN101252376A (en) * 2008-03-27 2008-08-27 宇龙计算机通信科技(深圳)有限公司 System and method for connecting blue tooth equipment and mobile communication terminal thereof
CN101807995A (en) * 2010-01-18 2010-08-18 北京天地融科技有限公司 Electronic signature tool supporting wireless communication and processing method thereof for communicating with terminal

Also Published As

Publication number Publication date
CN103763317A (en) 2014-04-30

Similar Documents

Publication Publication Date Title
CN103763317B (en) A kind of data transmission method based on bluetooth, system and intelligent cipher key equipment
CN107395343B (en) Certificate management method and system
CN104081742B (en) Method and apparatus for providing federated service accounts
US9530165B2 (en) Financial transaction system
CN107079058A (en) The business of block chain node performs method, device and node device
CN110826043B (en) Digital identity application system and method, identity authentication system and method
CN107070909A (en) Method for sending information, message receiving method, apparatus and system
CN115879929A (en) Managing credentials on an electronic device with online resources
WO2019206201A1 (en) Method for transmitting configuration file, related device and storage medium
CN108616882A (en) Household appliance matches network method, method of network entry, device, storage medium and equipment
CN105678553A (en) Method, device and system for processing order information
US8781131B2 (en) Key distribution method and system
CN105721413A (en) Service processing method and apparatus
CN109074571A (en) Method of commerce and equipment based on near-field communication NFC
EP1216538A1 (en) Method and apparatus for executing secure data transfer in a wireless network
CN110169028A (en) Update method, terminal and the server of network insertion weight discriminating information
CN111355732B (en) Link detection method and device, electronic equipment and storage medium
CN107483213A (en) A kind of method of safety certification, relevant apparatus and system
CN109102297A (en) A kind of voidable method of payment and device
CN104899532A (en) Method, apparatus and system for acquiring identity card information
CN101765100A (en) Method, system and device for realizing mobile office
CN106535090A (en) Pairing method for Bluetooth device and intelligent device and Bluetooth device
CN109495429A (en) A kind of method for authenticating, terminal and server
CN109996229A (en) Data transmission method, device, electronic equipment and storage medium based on DHT network
Perlman Technology inequality: Opportunities and challenges for mobile financial services

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant