CN105939167A - Data transmission method and system, terminal, electronic signature device - Google Patents
Data transmission method and system, terminal, electronic signature device Download PDFInfo
- Publication number
- CN105939167A CN105939167A CN201610146864.3A CN201610146864A CN105939167A CN 105939167 A CN105939167 A CN 105939167A CN 201610146864 A CN201610146864 A CN 201610146864A CN 105939167 A CN105939167 A CN 105939167A
- Authority
- CN
- China
- Prior art keywords
- electronic signature
- signature equipment
- terminal
- bluetooth
- order
- 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
- 238000000034 method Methods 0.000 title claims abstract description 152
- 230000005540 biological transmission Effects 0.000 title claims abstract description 112
- 238000004891 communication Methods 0.000 claims abstract description 30
- 238000012545 processing Methods 0.000 claims abstract description 19
- 238000012790 confirmation Methods 0.000 claims description 58
- 238000001514 detection method Methods 0.000 claims description 55
- 230000005672 electromagnetic field Effects 0.000 claims description 41
- 230000005611 electricity Effects 0.000 claims description 7
- BQCADISMDOOEFD-UHFFFAOYSA-N Silver Chemical compound [Ag] BQCADISMDOOEFD-UHFFFAOYSA-N 0.000 claims description 3
- 229910052709 silver Inorganic materials 0.000 claims description 3
- 239000004332 silver Substances 0.000 claims description 3
- 238000004080 punching Methods 0.000 claims 1
- 238000012546 transfer Methods 0.000 description 30
- 238000005516 engineering process Methods 0.000 description 19
- 238000005299 abrasion Methods 0.000 description 15
- 230000003993 interaction Effects 0.000 description 14
- 238000013459 approach Methods 0.000 description 13
- 241001062009 Indigofera Species 0.000 description 4
- 230000009977 dual effect Effects 0.000 description 4
- 238000012163 sequencing technique Methods 0.000 description 4
- 238000012360 testing method Methods 0.000 description 4
- 238000004134 energy conservation Methods 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000012634 fragment Substances 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 210000001138 tear Anatomy 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a data transmission method and system, a terminal and an electronic signature device. The data transmission method comprises the steps of establishing NFC (Near Field Communication) connection between the terminal and the electronic signature device; sending a Bluetooth address of the electronic signature device to the terminal through the NFC connection by the electronic signature device; sending the Bluetooth address of the terminal and a first message to the electronic signature device through the NFC connection by the terminal; processing the first message by the electronic signature device to obtain a second message, and broadcasting the Bluetooth address of the electronic signature device; carrying out Bluetooth address scanning by the terminal to obtain the Bluetooth address which is obtained through the NFC connection; establishing Bluetooth connection between the terminal and the electronic signature device which corresponds to the Bluetooth address obtained through the NFC connection; and sending the second message to the terminal through the Bluetooth connection by the electronic signature device.
Description
Technical field
The present invention relates to electronic signature field, particularly relate to a kind of based on near-field communication (Near Field Communication, NFC)
Technology and the data transmission method of Bluetooth technology, terminal, electronic signature equipment and system.
Background technology
At present, in electronic signature field, it is adaptable to electronic signature equipment (U-shield of such as industrial and commercial bank, the K treasured etc. of agricultural bank of Net silver
Product) it is wired connection, such as USB interface, audio interface etc. with the connected mode of terminal (such as PC, mobile phone etc.).
Owing to plug repeatedly operates, interface easily weares and teares and causes electronic signature equipment and terminal loose contact, thus affects between the two
Data are transmitted.
If additionally, using bluetooth to carry out data transmission, owing to the connection in advance of bluetooth was matched between terminal and electronic signature equipment
Journey is the most loaded down with trivial details, hence in so that electronic signature equipment uses not quickly and convenient, is unfavorable for customer experience.
Summary of the invention
It is contemplated that at least overcome one of drawbacks described above to provide a kind of data transmission method, terminal, electronic signature equipment and system,
Use the radio connection that is combined with Bluetooth technology of NFC technique, it is to avoid the abrasion of wireline interface, it is to avoid bluetooth
Loaded down with trivial details pairing process, it is therefore prevented that data are stolen and monitor, it is ensured that data safety, improves message transmission rate, improves
Consumer's Experience.
A kind of data transmission method of offer, terminal, electronic signature equipment and system are provided.
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, including:
Electronic signature equipment enters the electromagnetic field of terminal, and electronic signature equipment judges whether to march into the arena, the most then electronic signature equipment
Receiving the order that terminal sends, otherwise, electronic signature equipment continues to determine whether to march into the arena;
The order that the electronic signature equipment terminal to receiving sends judges, if order is anti-collision loop command, conflicts and examine
Survey order, cease and desist order, one of them in bad command, then electronic signature equipment waits and seeks order, if ordering as seeking
Order, then response is sought the response of order and is sent to terminal by electronic signature equipment;
Response is sought after the response of order is sent to terminal by electronic signature equipment, and the terminal received is sent out by electronic signature equipment
The order sent judges, if order is anti-collision loop command, then electronic signature equipment waits collision detection order, if order
For collision detection order, then electronic signature equipment will confirm that the confirmation of collision detection order is sent to terminal, wherein, confirms
Information comprises the unique identifier UID of electronic signature equipment;
After electronic signature equipment will confirm that the confirmation of collision detection order is sent to terminal, electronic signature equipment is to receiving
Terminal send order judge, if order for exploration card order, anti-collision loop command, collision detection order, mistake life
One of them in order, then electronic signature equipment waits select command, if order is select command, then electronic signature equipment will be rung
The response answering select command is sent to terminal, wherein, when the response of response select command includes the wait that electronic signature equipment is supported
Between, in baud rate, history byte, vendor code at least one, then electronic signature equipment is set up NFC with terminal and is connected;
Electronic signature equipment receives reading order and the Bluetooth address of terminal that terminal sends;
The Bluetooth address of electronic signature equipment is sent to terminal by NFC connection by electronic signature equipment;
Electronic signature equipment is received terminal and is connected the first information sent by NFC;
Electronic signature equipment leaves the electromagnetic field of terminal;
The electronic signature equipment prompting first information;
Electronic signature equipment is receiving after confirming the confirmation instruction that the first information is correct, the first information is carried out process and obtains
Second information;
Electronic signature equipment radio advertising bag, wherein, advertisement bag at least includes the Bluetooth address of electronic signature equipment and is connect by terminal
Receive;
The electronic signature equipment terminal corresponding with the Bluetooth address of terminal is set up bluetooth and is connected;
Second information is sent to terminal by bluetooth connection by electronic signature equipment.
Additionally, the electronic signature equipment terminal corresponding with the Bluetooth address of terminal is set up bluetooth and is connected as electronic signature equipment and terminal
Terminal corresponding to Bluetooth address set up low-power consumption bluetooth and connect.
Another aspect of the present invention provides a kind of data transmission method, including:
Terminal, after electronic signature equipment enters the electromagnetic field of terminal, sends to electronic signature equipment and seeks order;
Terminal receives electronic signature equipment response and seeks the response of order;
Terminal sends collision detection order to electronic signature equipment;
Terminal receives electronic signature equipment and confirms the confirmation of collision detection order, and wherein, confirmation comprises electronic signature and sets
Standby unique identifier UID;
Terminal sends select command to electronic signature equipment;
Terminal receives the response of electronic signature equipment response select command, and wherein, the response of response select command includes electronic signature
At least one in the waiting time of equipment support, baud rate, history byte, vendor code, then terminal and electronic signature equipment
Set up NFC to connect;
Terminal sends reading order and the Bluetooth address of terminal to electronic signature equipment;
Terminal is received electronic signature equipment and is connected the Bluetooth address of the electronic signature equipment sent by NFC;
The first information is sent to electronic signature equipment by NFC connection by terminal;
Terminal, after electronic signature equipment leaves the electromagnetic field of terminal, receives the advertisement bag that electronic signature equipment sends, wherein, extensively
Accuse bag and at least include the Bluetooth address of electronic signature equipment;
Terminal obtains Bluetooth address list according to advertisement bag;
Whether terminal judges Bluetooth address list exists and connects the Bluetooth address got, the most then terminal scanning by NFC
To being connected the Bluetooth address got by NFC;
Terminal with connect electronic signature equipment corresponding to the Bluetooth address that gets by NFC and set up bluetooth and connect;
Terminal is received electronic signature equipment and is connected the second information sent by bluetooth, and wherein, the second information is electronic signature equipment
The first information is processed the information obtained.
Additionally, after terminal receives the second information that electronic signature equipment connects transmission by bluetooth, method also includes: terminal will
Second information is sent to bank server.
Additionally, terminal with connect electronic signature equipment corresponding to the Bluetooth address that gets by NFC and set up bluetooth and be connected as terminal
The connection of low-power consumption bluetooth is set up with connecting electronic signature equipment corresponding to the Bluetooth address got by NFC.
Another aspect of the present invention provides a kind of terminal, including: the first NFC module and the first bluetooth module;
First NFC module, after the electromagnetic field entering terminal in electronic signature equipment, sends to electronic signature equipment and seeks life
Make and receive electronic signature equipment response and seek the response of order;Send collision detection order to electronic signature equipment and receive electronics
Signature device confirms the confirmation of collision detection order, and wherein, confirmation comprises the unique identifier UID of electronic signature equipment;
Sending select command to electronic signature equipment and receive the response of electronic signature equipment response select command, wherein, response selects life
The response of order include in waiting time that electronic signature equipment supports, baud rate, history byte, vendor code at least one;
Reading order and the Bluetooth address of terminal is sent to electronic signature equipment;Receive electronic signature equipment and connected the electricity sent by NFC
The Bluetooth address of sub-signature device;Connected by NFC and the first information is sent to electronic signature equipment;Receive electronic signature equipment
The advertisement bag sent, wherein advertisement bag at least includes the Bluetooth address of electronic signature equipment;By the Bluetooth address of electronic signature equipment
It is sent to the first bluetooth module;
Whether the first bluetooth module, for obtaining Bluetooth address list according to advertisement bag, and judge to exist in Bluetooth address list logical
Cross NFC and connect the Bluetooth address got;Build with the electronic signature equipment connecting the Bluetooth address got corresponding by NFC
Vertical bluetooth connects;Receiving electronic signature equipment and connected the second information sent by bluetooth, wherein, the second information is electronic signature
Equipment processes the information obtained to the first information.
Additionally, terminal also includes: communication module, communication module is for sending the second information to bank server.
Additionally, the first bluetooth module is low-power consumption bluetooth module.
Another aspect of the present invention provides a kind of electronic signature equipment, including: the second NFC module, reminding module, confirmation
Module, data processing module and the second bluetooth module;
Second NFC module, is used for judging whether electronic signature equipment marches into the arena;Receive the order of terminal transmission and judge, if
Order then sends response seek the response of order for seeking order, if order is collision detection order, sends confirmation collision detection life
The confirmation of order, wherein, confirmation comprises the unique identifier UID of electronic signature equipment, if order is select command,
Send the response of response select command, wherein, the response of response select command include waiting time that electronic signature equipment supports,
At least one in baud rate, history byte, vendor code;Receive reading order and the Bluetooth address of terminal that terminal sends;
Connected by NFC and the Bluetooth address of electronic signature equipment is sent to terminal;Receive terminal and connect, by NFC, first sent
Information;And the first information is sent to data processing module, the Bluetooth address of terminal is sent to the second bluetooth module;
Reminding module, for display and/or the speech play first information;
Confirm module, be used for receiving confirmation instruction, and indicate data processing module to perform the operation that the first information is processed,
Wherein, confirm that instruction is used for indicating reminding module to show and/or the first information of speech play is correct;
Data processing module, obtains the second information for the first information carries out process, and sends the second information to the second bluetooth
Module;
Second bluetooth module, for radio advertising bag, wherein, advertisement bag at least includes the Bluetooth address of electronic signature equipment;With
The terminal that the Bluetooth address of terminal is corresponding sets up bluetooth connection;Connected by bluetooth and the second information is sent to terminal.
Additionally, the second bluetooth module is low-power consumption bluetooth module.
Another aspect of the present invention provides a kind of data transmission system, including: above-mentioned terminal and above-mentioned electronic signature set
Standby.
Additionally, system also includes: bank server, bank server is for receiving the second information that terminal sends.
As seen from the above technical solution provided by the invention, the data transmission method that the present invention provides, terminal have employed NFC
The wireless mode that technology is combined with Bluetooth technology is connected with electronic signature equipment, and wireless data transfer mode avoids wired
The abrasion of interface, terminal and electronic signature equipment exchange the Bluetooth address of the other side by NFC thus avoid the loaded down with trivial details pairing of bluetooth
Process, it is therefore prevented that data are stolen and monitor, it is ensured that data safety, terminal receives electronic signature equipment by bluetooth approach and returns
It is back to the process information of terminal, improves message transmission rate, improve Consumer's Experience.
The data transmission method that the present invention provides, it is wireless with what Bluetooth technology was combined that electronic signature equipment have employed NFC technique
Mode is connected with terminal, and wireless data transfer mode avoids the abrasion of wireline interface, electronic signature equipment and terminal and passes through NFC
Exchange the Bluetooth address of the other side thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen and monitor, it is ensured that number
According to safety, electronic signature equipment is back to the process information of terminal and is transmitted by bluetooth approach, improves message transmission rate, carries
High Consumer's Experience.
The terminal that the present invention provides, have employed wireless mode and electronic signature equipment company that NFC technique is combined with Bluetooth technology
Connecing, wireless data transfer mode avoids the abrasion of wireline interface, terminal and electronic signature equipment and exchanges the other side's by NFC
Bluetooth address thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen and monitor, it is ensured that data safety, eventually
Hold the process information being back to terminal by bluetooth approach reception electronic signature equipment, improve message transmission rate, improve use
Family is experienced.
The electronic signature equipment that the present invention provides, have employed wireless mode and terminal company that NFC technique is combined with Bluetooth technology
Connecing, wireless data transfer mode avoids the abrasion of wireline interface, electronic signature equipment and terminal and exchanges the other side's by NFC
Bluetooth address thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen and monitor, it is ensured that data safety, electricity
Sub-signature device is back to the process information of terminal and is transmitted by bluetooth approach, improves message transmission rate, improves user's body
Test.
The data transmission system that the present invention provides, terminal and electronic signature equipment have employed NFC technique and be combined with Bluetooth technology
Radio connection, wireless data transfer mode avoids the abrasion of wireline interface, both sides by NFC exchange both sides indigo plant
Tooth address thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen and monitor, it is ensured that data safety, electronics
Signature device is back to the process information of terminal and is transmitted by bluetooth approach, improves message transmission rate, improves Consumer's Experience.
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.
Fig. 1 is the structural representation of the data transmission system of the embodiment of the present invention 1;
Fig. 2 is the schematic flow sheet of the data transmission method corresponding with the embodiment of the present invention 1;
Fig. 3 is to set up, with the data transmission method of the embodiment of the present invention 1, the schematic flow sheet that NFC is connected;
Fig. 4 is the terminal structure schematic diagram of the data transmission system using the embodiment of the present invention 1;
Fig. 5 is the schematic flow sheet using the terminal of data transmission system of the embodiment of the present invention 1 to carry out data transmission;
Fig. 6 is that the terminal of the data transmission system using the embodiment of the present invention 1 sets up the schematic flow sheet that NFC connects
Fig. 7 is the electronic signature equipment structural representation of the data transmission system using the embodiment of the present invention 1;
Fig. 8 is the schematic flow sheet using the electronic signature equipment of data transmission system of the embodiment of the present invention 1 to carry out data transmission;
Fig. 9 is that the electronic signature equipment of the data transmission system using the embodiment of the present invention 1 sets up the schematic flow sheet that NFC connects.
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.
Describe the present invention below in conjunction with drawings and Examples.
Embodiment 1
Present embodiments providing a kind of data transmission system, Fig. 1 is the structural representation of the data transmission system that the present embodiment provides.
As it is shown in figure 1, this data transmission system includes terminal 10 and electronic signature equipment 20.Terminal 10 and electronic signature equipment 20
Between carry out data transmission, send the Bluetooth address of self including twocouese the other side, terminal 10 sends to electronic signature equipment 20
The first information, electronic signature equipment 20 send treated the second information etc. obtained to terminal 10.Concrete data transmission system
Including:
Electronic signature equipment 20 enters the electromagnetic field of terminal 10, and sets up NFC with terminal 10 and be connected;Terminal 10 is to electronics label
Name equipment 20 sends reading order and the Bluetooth address of terminal 10;Electronic signature equipment 20 is connected by NFC will electronic signature
The Bluetooth address of equipment 20 is sent to terminal 10;The first information is sent to electronic signature equipment by NFC connection by terminal 10
20;Electronic signature equipment 20 leaves the electromagnetic field of terminal 10;Electronic signature equipment 20 points out the first information;Electronic signature equipment
20 are receiving after confirming the confirmation instruction that the first information is correct, and the first information is processed by electronic signature equipment 20
To the second information;Electronic signature equipment 20 radio advertising bag, wherein, described advertisement bag at least includes described electronic signature equipment
Bluetooth address;Terminal 10 receives the advertisement bag that electronic signature equipment 20 sends;Terminal 10 obtains Bluetooth address row according to advertisement bag
Table;Terminal 10 judges whether there is the Bluetooth address got by NFC connection, the most then terminal in Bluetooth address list
10 scan the Bluetooth address got by NFC connection;Terminal 10 is corresponding with the Bluetooth address received by NFC
Electronic signature equipment 20 set up bluetooth connect;Second information is sent to terminal 10 by bluetooth connection by electronic signature equipment 20.
In the present embodiment, electronic signature equipment 20 enters the electromagnetic field of terminal 10, and sets up, with terminal 10, the mistake that NFC is connected
Cheng Wei:
Electronic signature equipment 20 enters the electromagnetic field of terminal 10, and electronic signature equipment 20 judges whether to march into the arena, the most then electronics
Signature device 20 receives the order that terminal 10 sends, and otherwise, electronic signature equipment 20 continues to determine whether to march into the arena;
Terminal 10 sends to electronic signature equipment and seeks order, the order that the electronic signature equipment 20 terminal 10 to receiving sends
Judge, if order be anti-collision loop command, collision detection order, cease and desist order, one of them in bad command,
Then electronic signature equipment 20 waits and seeks order, if order is for seeking order, then response is sought order by electronic signature equipment 20
Response be sent to terminal 10;
Response is sought after the response of order is sent to terminal 10 by electronic signature equipment 20, and terminal 10 is to electronic signature equipment
20 send collision detection order, and the order that the electronic signature equipment 20 terminal 10 to receiving sends judges, if order is
Anti-collision loop command, then electronic signature equipment 20 waits collision detection order, if order is collision detection order, then electronics label
Name equipment 20 will confirm that the confirmation of collision detection order is sent to terminal 10, and wherein, confirmation comprises electronic signature and sets
The unique identifier UID of standby 20;
After electronic signature equipment 20 will confirm that the confirmation of collision detection order is sent to terminal 10, terminal 10 is to electronics label
Name equipment 20 sends select command, and the order that the electronic signature equipment 20 terminal 10 to receiving sends judges, if order
For one of them in exploration card order, anti-collision loop command, collision detection order, bad command, then electronic signature equipment 20
Waiting select command, if order is select command, then the response of response select command is sent to terminal by electronic signature equipment 20
10, wherein, the response of response select command include waiting time that electronic signature equipment 20 supports, baud rate, history byte,
At least one in vendor code, then electronic signature equipment 20 is set up NFC with terminal 10 and is connected.
In the present embodiment, seek order and refer to that terminal 10 is held for the electronic signature equipment 20 in the electromagnetic field of detecting terminal 10
Whether the order of row, when terminal 10 sends and seeks order, exist the electronics label meeting form in the electromagnetic field of detecting terminal 10
Name equipment 20, then electronic signature equipment 20 will return response response to terminal 10;
The order that anti-collision loop command refers to prevent command collision and circulates, is a loop command, therefore, and electronic signature
After equipment 20 receives anti-collision loop command, electronic signature equipment 20 does not perform follow-up operation, and execution etc. are to be operated;
Collision detection order refers to detect in the electromagnetic field of terminal 10 whether there is the order of multiple electronic signature equipment 20,
Electronic signature equipment 20 just can carry out this order after responding the response seeking order and operate accordingly;
Select command refers to the order that terminal 10 sends after selecting to communicate with this electronic signature equipment 20, only signs electronically
Equipment 20 will confirm that the confirmation of collision detection order just can carry out after being sent to terminal 10 this order operate accordingly with
Instruction electronic signature equipment 20 terminal 10 selects to be in communication with;
Cease and desist order the order referring to make electronic signature equipment 20 stop operation, be when terminal 10 runs into the system failure,
The order that terminal 10 forced electronic signature device 20 stops operation, and execution etc. are to be operated;
Bad command refers to when terminal 10 occurs run-time error, and terminal 10 indicates to the mistake of electronic signature equipment 20, therefore,
After electronic signature equipment 20 receives bad command, electronic signature equipment 20 no longer carries out follow-up operation, and performs to wait behaviour
Make.
In the present embodiment, the bluetooth that electronic signature equipment 20 is set up with terminal 10 is connected as low-power consumption bluetooth and is connected ((Bluetooth
Low Energy, BLE).Due to the features such as the BLE technical data high and low power consumption of transfer rate, therefore, terminal and electronics label
Data transmission between name equipment can also meet the purpose of high-speed transfer and low-power consumption.
As an optional embodiment of the present invention, terminal 10 can be smart mobile phone, notebook computer, panel computer, PC
Any form of terminal such as machine.When terminal 10 is smart mobile phone, smart mobile phone can be configured with NFC module, can pass through
This NFC module realizes being connected with the NFC of electronic signature equipment, it addition, smart mobile phone the most on the market is provided with bluetooth merit
Can, such that it is able to realize being connected and Bluetooth communication with the bluetooth of electronic signature equipment, can be corresponding by installing on smart mobile phone
APP application software call NFC module and bluetooth module, it is achieved smart mobile phone be connected with the NFC of electronic signature equipment with
Bluetooth communication.When terminal 10 is the terminals such as notebook computer, panel computer, PC, notebook computer, panel computer,
The terminals such as PC can pass through the external NFC device of USB interface, and (such as, ACR122U NFC non-contact IC card is read
Write device/sensing IC-card card reader), thus realize being connected and NFC communication with the NFC of electronic signature equipment, the most on the market
Notebook computer is provided with Bluetooth function, and what panel computer had possesses Bluetooth function, and have does not possesses Bluetooth function, and PC
The most not possessing Bluetooth function, in the case of not possessing Bluetooth function, panel computer and PC can be external by USB interface
One Bluetooth adapter or bluetooth rod, thus realize being connected and Bluetooth communication with the bluetooth of electronic signature equipment, it addition, in notes
NFC device and bluetooth can be called by installing corresponding client software in the terminals such as this computer, panel computer, PC
Equipment, it is achieved the terminals such as notebook computer, panel computer, PC are connected and Bluetooth communication with the NFC of electronic signature equipment.
Certainly, the invention is not limited in above-mentioned several terminal form, as long as corresponding function can have been coordinated with electronic signature equipment
Terminal, all should belong to protection scope of the present invention.
As an optional embodiment of the present invention, electronic signature equipment 20 can be the K treasured etc. of the U-shield of industrial and commercial bank, agricultural bank
Product, electronic signature equipment 20 can be provided with NFC module and bluetooth module so that electronic signature equipment can by NFC with
The mode of bluetooth is communicated with terminal rather than is communicated with terminal by the wired mode of USB interface or audio interface,
Therefore the abrasion of wireline interface is avoided.
When terminal 10 need to set up with electronic signature equipment 20 NFC be connected time, terminal 10 can open the APP of support NFC
Application software or connect NFC device, when terminal initiate data transmission service time, terminal 10 can according to prompting by self with
Electronic signature equipment 20 is touched, or electronic signature equipment 20 is touched with NFC device, so that terminal 10 and electronics
Signature device 20 is set up NFC and is connected.
Owing to terminal 10 and electronic signature equipment 20 have exchanged the Bluetooth address of both sides by NFC connection, it is simple to electronics label below
Name equipment 20 is directly set up bluetooth and is connected and carries out data transmission with terminal 10, it is not necessary to carries out Bluetooth pairing again, improves user
Experience.Wherein, the process setting up bluetooth connection is the process instigating Bluetooth channels to connect, and makes the process that Bluetooth channels connects not
Including Bluetooth pairing processes and bluetooth binding procedure.
Meanwhile, the Bluetooth address of terminal 10 is issued to electronic signature equipment 20 so that both sides by terminal 10 not only by NFC
Set up bluetooth to connect, but also connected by NFC and the first information is sent to electronic signature equipment 20, efficiently avoid elder generation
Carry out data transmission the problem that the message transmission rate that causes is low after carrying out Bluetooth pairing, prevent data be stolen and monitor simultaneously,
Ensure that data safety.
As an optional embodiment of the present invention, in process of exchange, the first information can be information to be signed, specifically may be used
Thinking Transaction Information, such as Transaction Information can at least include account and the amount of money, it is also possible to includes transaction details information etc..
It addition, electronic signature equipment 20 can be provided with display screen, the display screen display first information, and/or speaker can be provided with,
The speech play first information, in order to user confirms the verity of this first information.Additionally, electronic signature equipment 20 is also provided with
Button (physical button or virtual key), if the first information of electronic signature equipment 20 display is accurate, then button receives really
Recognize instruction, and indicate electronic signature equipment 20 that the first information is processed.Display screen ensure that information to be signed with button is dual
Verity.
As an optional embodiment of the present invention, in process of exchange, the place that the first information is carried out by electronic signature equipment 20
Reason can be that signature processes, and obtains signing messages that is second information, to realize certification to user identity, prevent data tampering and
Deny.
As an optional embodiment of the present invention, the advertisement bag in terminal 10 scanning circumstance, electronic signature equipment 20 is broadcasted
Advertisement bag in comprise the Bluetooth address of electronic signature equipment 20, terminal 10 obtains Bluetooth address row according to the advertisement bag received
Table, then judges whether there are the Bluetooth address got by NFC connection, the most then terminal 10 in Bluetooth address list
Scanning and connect, by NFC, the Bluetooth address that gets, then terminal 10 is set up bluetooth with electronic signature equipment 20 and is connected.Eventually
End 10 scans the Bluetooth address of electronic signature equipment 20, and electronic signature equipment 20 obtains the Bluetooth address of terminal 10,
Therefore terminal 10 and electronic signature equipment 20 can directly set up bluetooth connect carry out data transmission, it is not necessary to carry out bluetooth again and join
Right, improve Consumer's Experience.
Further, since electronic signature equipment 20 is connected by bluetooth, the second information is sent to terminal 10, thus it is guaranteed that number
According to efficiency of transmission.After the second information is sent, electronic signature equipment 20 can with between terminal 10 by bluetooth be connected into
Row repeatedly data interaction, until electronic signature equipment 20 and terminal 10 to complete total data mutual;Certainly, electronic signature equipment
20 i.e. can also complete and the data interaction of terminal 10 having sent the second information, now, in electronic signature equipment 20 with whole
After end 10 completes data interaction, electronic signature equipment 20 can automatically disconnect bluetooth with terminal 10 and be connected, it is ensured that safety,
When needing to set up connection every time, it is required between terminal 10 with electronic signature equipment 20 be connected transmission each again through NFC
Bluetooth address to the other side, set up simultaneously bluetooth connect carry out data interaction.
Electronic signature equipment 20 can also carry out power-off operation after having performed all operations, reaches energy-conservation purpose.Such as:
The mode of power-off operation can be performed by nothing operation in Preset Time, can perform, by receiving shutdown command, the behaviour that shuts down
The modes such as work.
As an optional embodiment of the present invention, this data transmission system can also include: bank server 30, and bank takes
Business device 30 is for receiving the second information that terminal 20 sends, thus operates accordingly.Such as, in process of exchange, silver
Second information is verified after receiving the second information by row server 30, and after being verified, transfer accounts according to Transaction Information execution,
Deduct fees, payment etc. operates.
Of course, after the operation such as bank server 30 performs to transfer accounts, deduct fees according to Transaction Information, payment, it is also possible to terminal
10 return confirmation.After terminal 10 receives confirmation, can perform exit APP application software or close NFC device
Operation, thus complete this time to conclude the business.
The data transmission system provided by the present embodiment, terminal and electronic signature equipment have employed NFC technique and enter with Bluetooth technology
The radio connection that row combines, wireless data transfer mode avoids the abrasion of wireline interface, and both sides are double by NFC exchange
Side Bluetooth address thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen and monitor, it is ensured that data safety,
Electronic signature equipment is back to the process information of terminal and is transmitted by bluetooth approach, improves message transmission rate, improves user
Experience.
Fig. 2 is the schematic flow sheet of the data transmission method corresponding with the data transmission system of the present embodiment offer.Such as Fig. 2 institute
Showing, this data transmission method comprises the following steps (S101-S117):
Step S101: terminal 10 is set up NFC with electronic signature equipment 20 and is connected;
In specific implementation process, terminal 10 is opened and is supported the APP application software of NFC or connect NFC device, works as terminal
When initiating data transmission service, self can be touched with electronic signature equipment 20 by terminal 10 according to prompting, or by electronics label
Name equipment 20 and the NFC device touching of terminal 10, be connected so that terminal 10 sets up NFC with electronic signature equipment 20.
Terminal 10 is set up the detailed process that NFC is connected and is comprised the following steps (S1011-S1017) with electronic signature equipment 20, as
Shown in Fig. 3:
S1011: electronic signature equipment 20 judges whether to march into the arena, the most then perform step S1012;The most again perform step 1
Rapid S1011;
In specific implementation process, electronic signature equipment 20 is touched with terminal 10, and the coil of electronic signature equipment 20 can be felt gradually
Should arrive the electromagnetic field of terminal 10, the main control chip being connected with coil increases gradually from coil power taking, therefore, specifically, and electronics label
Name equipment 20 judges whether to march into the arena to include: electronic signature equipment 20 judges the commutating voltage of the main control chip output being connected with coil
Whether it is changed to high level from low level.If electronic signature equipment 20 detects that commutating voltage that main control chip exports is from low level
Being changed to high level, electronic signature equipment 20 just can detect that electronic signature equipment 20 is marched into the arena.If judgement electronic signature equipment
20 march into the arena, then perform step S1012, and otherwise, electronic signature equipment 20 continues executing with step S1011.
S1012: electronic signature equipment 20 receives the order of self terminal 10, and the order to receiving from terminal 10 judges,
If the order received is anti-collision loop command, collision detection order, cease and desist order, one of them in bad command,
Then electronic signature equipment execution etc. are to be operated and continue the order received is carried out judgement i.e. step S1012;If received
Order for seeking order, then performs step S1013;
In specific implementation process, when electronic signature equipment 20 receive anti-collision loop command, collision detection order, cease and desist order,
When one of them in bad command is ordered, electronic signature equipment 20 does not perform follow-up operation, and execution etc. are to be operated and continue
The order received is judged i.e. to perform step S1012.Order, the electromagnetism of detecting terminal 10 is sought when terminal 10 sends
Whether there is the electronic signature equipment 20 meeting form in Chang, then electronic signature equipment 20 will return response response to terminal 10,
This electronic signature equipment 20 i.e. performs step S1014.
S1013: electronic signature equipment 20 returns response to terminal 10 and seeks the response of order;
In specific implementation process, seek order when terminal 10 sends, whether exist in the electromagnetic field of detecting terminal 10 and meet form
Electronic signature equipment 20, electronic signature equipment 20 receive terminal 10 send when seeking order, electronic signature equipment 20
Return response and seek the response of order, meet the electronic signature equipment 20 of form to indicate terminal 10 to exist in its electromagnetic field.
Such as, when terminal 10 is NFC device, whether the electronic signature equipment 20 in the electromagnetic field of NFC device detection oneself is supported
NFC communication, when electronic signature equipment 20 receives the exploration card order that NFC device sends, if this electronic signature equipment 20 is supported
NFC communication, then this electronic signature equipment 20 returns a response, can prop up to indicate NFC device to exist in its electromagnetic field
Hold the electronic signature equipment 20 of NFC communication.
S1014: electronic signature equipment 20 receives the order of self terminal 10, and the order to receiving from terminal 10 judges,
If the order now received is anti-collision loop command, then electronic signature signature execution etc. is to be operated and continues receiving
Order carries out judgement i.e. step S1014;If the order now received is collision detection order, then perform step S1015;
Owing to collision detection order is to detect the order that whether there is multiple electronic signature equipment 20 in the electromagnetic field of terminal 10,
Therefore, after electronic signature equipment 20 receives collision detection order, electronic signature equipment 20 will return confirmation to terminal 10,
I.e. perform step S1015.
S1015: electronic signature equipment 20 returns confirmation to terminal 10, and wherein, confirmation comprises electronic signature equipment
The unique identifier (User Identification, be abbreviated as UID) of 20;
After electronic signature equipment 20 receives collision detection order, owing to electronic signature equipment 20 returns to the confirmation letter of terminal 10
Breath contains the unique identifier UID of electronic signature equipment 20, thereby ensure that present terminal 10 only with electronic signature equipment 20
Communicating, when electronic signature equipment 20 is active, terminal 10 just can carry out data with electronic signature equipment 20
Communicate.
S1016: electronic signature equipment 20 receives the order of self terminal 10, and the order to receiving from terminal 10 judges,
If the order now received in exploration card order, anti-collision loop command, collision detection order, bad command wherein it
One, then electronic signature equipment execution etc. are to be operated and continue the order received is carried out judgement i.e. step S1016;If now
The order received is select command, then perform step S1017.
Select command refers to the order that terminal 10 sends after selecting to communicate with this electronic signature equipment 20, only signs electronically
Equipment 20 just can carry out this order after terminal 10 returns confirmation and operate accordingly, to indicate electronic signature equipment 20 eventually
End 10 selects to be in communication with.
Step S1017: electronic signature equipment 20 returns the response of response select command to terminal 10, and wherein, response selects life
The response of order includes one of them in waiting time that electronic signature equipment 20 supports, baud rate, history byte, vendor code.
By step S1011 to step S1017, electronic signature equipment 20 is set up NFC with terminal 10 and is connected.
Step S102: electronic signature equipment 20 receives reading order and the Bluetooth address of terminal 10 that terminal 10 sends;
In specific implementation process, reading order refers to that terminal 10 reads the order of the Bluetooth address of electronic signature equipment 20, it is simple to
Rear terminal 10 is directly set up bluetooth and is connected and carries out data transmission with electronic signature equipment 20, it is not necessary to carry out Bluetooth pairing again,
Improve Consumer's Experience.
Step S103: the Bluetooth address of electronic signature equipment 20 is sent to terminal by NFC connection by electronic signature equipment 20
10;
By this step, terminal 10 obtains the Bluetooth address of electronic signature equipment 20, it is simple to rear terminal 10 and electronic signature
Equipment 20 is directly set up bluetooth connection and is carried out data transmission, it is not necessary to carries out Bluetooth pairing again, improves Consumer's Experience.Wherein,
The process setting up bluetooth connection is the process instigating Bluetooth channels to connect, and the process making Bluetooth channels connect does not includes Bluetooth pairing
Process and bluetooth binding procedure.
Step S104: terminal 10 is connected by NFC the first information is sent to electronic signature equipment 20;
Concrete, step S103 and step S104 do not have sequencing, it is also possible to first carry out S104, then carry out step S103,
Specifically determining by practical situation, this is not defined by the present embodiment;
Connect the transmission first information by NFC, efficiently avoid the data carrying out data transmission causing after first carrying out Bluetooth pairing
The problem that transfer rate is low, prevents data be stolen and monitor, it is ensured that data safety simultaneously;
By this step, electronic signature equipment 20 obtains the Bluetooth address of terminal 10, it is simple to below electronic signature equipment 20 with
Terminal 10 is directly set up bluetooth connection and is carried out data transmission, it is not necessary to carries out Bluetooth pairing again, improves Consumer's Experience;
Step S105: electronic signature equipment 20 leaves the electromagnetic field of terminal 10;
After above-mentioned steps S101-S104 terminates, self can be removed by terminal 10 from electronic signature equipment 20, or according to carrying
Show and self removed from electronic signature equipment 20, i.e. electronic signature equipment 20 leaves the electromagnetic field of terminal 10, terminal 10 and electricity
Sub-signature device 20 can disconnect NFC and connect.
Step S106: electronic signature equipment 20 shows and/or the speech play first information;
Concrete, electronic signature equipment 20 can be provided with display screen, the display screen display first information, and/or can be provided with and raise one's voice
Device, the speech play first information, in order to user confirms the verity of this first information, in process of exchange, the first information is concrete
Can be that Transaction Information, such as Transaction Information at least include account and the amount of money, it is also possible to include transaction details information etc..
Step S107: electronic signature equipment 20 receives and confirms instruction;
Concrete, electronic signature equipment 20 can be provided with button (physical button or virtual key), if electronic signature equipment
The first information of 20 displays and/or speech play is accurate, then button receives and confirms instruction, and indicates electronic signature equipment 20 to the
One information processes.
By step S106 and step S107, the display screen display of electronic signature equipment 20 and/or the speech play first information,
So that user confirms the verity of this transaction, adding the effect of button, dual mode ensure that the verity of information to be signed.
Step S108: electronic signature equipment 20 carries out process to the first information and obtains the second information;
Concrete, processing mode can be to sign the first information, obtains signing messages that is second information.
Step S109: electronic signature equipment 20 radio advertising bag;
The advertisement bag of electronic signature equipment 20 broadcast contains the Bluetooth address of electronic signature equipment 20, by this step, electricity
Terminal around sub-signature device 20 just can detect electronic signature equipment 20, could set up bluetooth even with electronic signature equipment 20
Connect.
Step S110: the advertisement bag in terminal 10 scanning circumstance, and scan the Bluetooth address got by NFC connection;
Concrete, terminal 10 receives the advertisement bag that electronic signature equipment 20 sends, and obtains Bluetooth address list according to advertisement bag,
Whether then judge to exist in Bluetooth address list and connect, by NFC, the Bluetooth address got, the most then terminal 10 scans
To being connected the Bluetooth address got by NFC.
Step S111: terminal 10 is set up bluetooth with electronic signature equipment 20 and is connected;
Concrete, terminal 10 scans the Bluetooth address of electronic signature equipment 20, and electronic signature equipment 20 obtains terminal
The Bluetooth address of 10, therefore terminal 10 and electronic signature equipment 20 can directly set up bluetooth connect carry out data transmission, be not required to
To carry out Bluetooth pairing again, to improve Consumer's Experience.Wherein, the process setting up bluetooth connection is the mistake instigating Bluetooth channels to connect
Journey, and the process making Bluetooth channels connect does not includes Bluetooth pairing processes and bluetooth binding procedure.
As long as additionally, step S110 complete after step s 104, before step S111, specifically enter by practical situation
OK, the present embodiment is not intended to the sequencing of step S110 and step S106-S109.
Step S112: electronic signature equipment 20 is connected the second information transmission to terminal 10 by bluetooth;
After the second information is sent, electronic signature equipment 20 can carry out many number of times with being connected by bluetooth between terminal 10
According to alternately, until electronic signature equipment 20 and terminal 10 to complete total data mutual;Certainly, electronic signature equipment 20 can also
I.e. complete and the data interaction of terminal 10 having sent the second information, now, complete with terminal 10 in electronic signature equipment 20
After data interaction, electronic signature equipment 20 can automatically disconnect bluetooth with terminal 10 and be connected, it is ensured that safety, every time
When needing to set up connection, it is required between terminal 10 with electronic signature equipment 20 be connected, again through NFC, the bluetooth that transmission is various
Address, to the other side, is set up bluetooth connection simultaneously and is carried out data interaction.
Step S113: electronic signature equipment 20 is shut down;
Of coursing, after above-mentioned steps all completes, electronic signature equipment 20 can carry out power-off operation, reaches energy-conservation purpose.
Step S114: the second information received is sent to bank server 30 by terminal 10;
Step S115: bank server 30 operates after receiving the second information accordingly;
Concrete, the second information is verified after receiving the second information by bank server 30, and after being verified, according to friendship
Easily information perform to transfer accounts, deduct fees, the operation such as payment.
Step S116: bank server 30 will confirm that information is sent to terminal 10;
Of course, after the operation such as bank server 30 performs to transfer accounts, deduct fees according to Transaction Information, payment, it is also possible to terminal
10 return confirmation.
Step S117: terminal 10 completes this time to conclude the business.
Concrete, after terminal 10 completes transaction, can perform exit APP application software or close the operation of NFC device.
The data transmission system provided by the present embodiment and method, terminal and electronic signature equipment have employed NFC technique and bluetooth
The radio connection that technology is combined, wireless data transfer mode avoids the abrasion of wireline interface, and both sides pass through NFC
Exchange the Bluetooth address of both sides thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen and monitor, it is ensured that number
According to safety, electronic signature equipment is back to the process information of terminal and is transmitted by bluetooth approach, improves message transmission rate, carries
High Consumer's Experience.
Fig. 4 is the structural representation of the terminal of the data transmission system using the present embodiment.As shown in Figure 4, terminal 10 includes:
First NFC module 11 and the first bluetooth module 12.
First NFC module 11, for after electronic signature equipment 20 enters the electromagnetic field of terminal 10, to electronic signature equipment
20 send to seek order and receive electronic signature equipment 20 response and seek the response of order;Conflict is sent to electronic signature equipment 20
Sense command also receives electronic signature equipment 20 and confirms the confirmation of collision detection order, and wherein, confirmation comprises electronics label
The unique identifier UID of name equipment 20;Send select command to electronic signature equipment 20 and receive electronic signature equipment 20 and respond
The response of select command, wherein, the response of response select command include waiting time that electronic signature equipment 20 supports, baud rate,
At least one in history byte, vendor code, i.e. it is used for setting up NFC with electronic signature equipment 20 and is connected, concrete, the
One NFC module can be NFC module or NFC device, and when terminal initiates data transmission service, terminal 10 can root
According to prompting, self is touched with electronic signature equipment 20, or makes electronic signature equipment touch the NFC device being connected with terminal 10,
It is connected so that terminal 10 sets up NFC with electronic signature equipment 20.
First NFC module 11, is additionally operable to send reading order and the Bluetooth address of terminal 10 to electronic signature equipment 20;Receive
Electronic signature equipment 20 connects the Bluetooth address of the electronic signature equipment 20 sent by NFC;Connected first by NFC
Information is sent to electronic signature equipment 20.Terminal 10 obtains the Bluetooth address of electronic signature equipment 20, it is simple to rear terminal 10
Directly set up bluetooth to be connected carry out data transmission with electronic signature equipment 20, it is not necessary to carry out Bluetooth pairing again, improve user's body
Test.Wherein, the process setting up bluetooth connection is the process instigating Bluetooth channels to connect, and the process making Bluetooth channels connect is not wrapped
Include Bluetooth pairing processes and bluetooth binding procedure.And, the first information is sent to sign electronically by terminal 10 by NFC connection
Equipment 20, efficiently avoid the problem that the message transmission rate carrying out data transmission causing after first carrying out Bluetooth pairing is low, simultaneously
Prevent data to be stolen and monitor, it is ensured that data safety.
First NFC module 11 also receives the advertisement bag that electronic signature equipment 20 sends, and wherein advertisement bag at least includes electronic signature
The Bluetooth address of equipment 20;Also the Bluetooth address of electronic signature equipment 20 is sent to the first bluetooth module 12, it is simple to first is blue
Tooth module 12 carries out Bluetooth address scanning.
Whether the first bluetooth module 12 obtains Bluetooth address list according to advertisement bag, and judge to exist in Bluetooth address list to pass through
NFC connects the Bluetooth address got, and then terminal 10 connects, with by NFC, the electronics label that the Bluetooth address got is corresponding
Name equipment 20 is set up bluetooth and is connected, and terminal 10 is received electronic signature equipment 20 and connected the second information sent by bluetooth,
Wherein, the second information is that electronic signature equipment 20 processes the information obtained to the first information.
The terminal provided by the present embodiment, have employed wireless mode and electronic signature that NFC technique is combined with Bluetooth technology
Equipment connects, and wireless data transfer mode is avoided the abrasion of wireline interface, terminal and electronic signature equipment and exchanged by NFC
The Bluetooth address of the other side thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen and monitor, it is ensured that data are pacified
Entirely, terminal receives electronic signature equipment by bluetooth approach and is back to the process information of terminal, improves message transmission rate, carries
High Consumer's Experience.
In an optional embodiment of the present embodiment, terminal 10 can also include that communication module 13, communication module 13 are used for
Sending the second information to bank server, bank server operates accordingly, such as, transfer accounts, deduct fees, the operation such as payment.
By this optional embodiment, transaction completes.
In the present embodiment, the first bluetooth module 12 can be BLE module.Owing to BLE technical data transfer rate is high and low
The features such as power consumption, therefore, the transmission of data between terminal and electronic signature equipment can also meet high-speed transfer and low-power consumption
Purpose.
The terminal provided by the present embodiment, have employed wireless mode and electronic signature that NFC technique is combined with Bluetooth technology
Equipment connects, and wireless data transfer mode is avoided the abrasion of wireline interface, terminal and electronic signature equipment and exchanged by NFC
The Bluetooth address of the other side thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen and monitor, it is ensured that data are pacified
Entirely, terminal receives electronic signature equipment by bluetooth approach and is back to the process information of terminal, improves message transmission rate, carries
High Consumer's Experience.And, when the first bluetooth module is BLE module, it is also possible to realize high-speed transfer and low-power consumption.
Fig. 5 is the schematic flow sheet using the terminal of data transmission system of the present embodiment to carry out data transmission.As it is shown in figure 5,
This data transmission method comprises the following steps (S201-S208):
Step S201: the first NFC module 11 is set up NFC with electronic signature equipment 20 and is connected;
In specific implementation process, the first NFC module can be NFC module or NFC device, when terminal 10 initiates data
During transmission business, self can be touched with electronic signature equipment 20 by terminal 10 according to prompting, or by electronic signature equipment 20
Touching NFC device, so that the first NFC module 11 is set up NFC with electronic signature equipment 20 and is connected.
First NFC module 11 is set up the detailed process that NFC is connected and is comprised the following steps with electronic signature equipment 20
(S2011-S2016), as shown in Figure 6:
S2011: the first NFC module 11 is after electronic signature equipment 20 enters the electromagnetic field of terminal 10, to electronic signature equipment
Order is sought in 20 transmissions;
In specific implementation process, seek order when the first NFC module 11 sends, detect the electromagnetic field of the first NFC module 11
The most whether there is the electronic signature equipment 20 meeting form, then electronic signature equipment 20 will return sound to the first NFC module 11
Should reply, i.e. this electronic signature equipment 20 performs step S2012.
S2012: the first NFC module 11 receives electronic signature equipment 20 return response and seeks the response of order;
In specific implementation process, seek order when the first NFC module 11 sends, detect the electromagnetic field of the first NFC module 11
The most whether there is the electronic signature equipment 20 meeting form, electronic signature equipment 20 receives what the first NFC module 11 sent
When seeking order, electronic signature equipment 20 returns response and seeks the response of order, to indicate the first NFC module 11 at its electromagnetism
The electronic signature equipment 20 meeting form is there is in.Such as, when the first NFC module 11 is NFC device, NFC sets
Whether the electronic signature equipment 20 in the electromagnetic field of standby detection oneself supports that NFC communication, electronic signature equipment 20 receive NFC
During the exploration card order that equipment sends, if this electronic signature equipment 20 supports NFC communication, then this electronic signature equipment 20 returns one
Individual response, can support the electronic signature equipment 20 of NFC communication to indicate NFC device to exist in its electromagnetic field.
S2013: the first NFC module 11 sends collision detection order to electronic signature equipment;
Owing to collision detection order is to detect in the electromagnetic field of the first NFC module 11 whether there is multiple electronic signature equipment
The order of 20, therefore, after electronic signature equipment 20 receives collision detection order, electronic signature equipment 20 will be to a NFC
Module 11 returns confirmation, i.e. performs step S2014.
S2014: the first NFC module 11 receives the confirmation that electronic signature equipment 20 returns, and wherein, confirmation comprises
The unique identifier (User Identification, be abbreviated as UID) of electronic signature equipment 20;
After electronic signature equipment 20 receives collision detection order, owing to electronic signature equipment 20 returns to the first NFC module
The confirmation of 11 contains the unique identifier UID of electronic signature equipment 20, thereby ensure that current first NFC module 11
Only communicating with electronic signature equipment 20, when electronic signature equipment 20 is active, the first NFC module 11 is just
Data communication can be carried out with electronic signature equipment 20.
S2015: the first NFC module 11 sends select command to electronic signature equipment;
Select command refers to the order that the first NFC module 11 sends after selecting to communicate with this electronic signature equipment 20, only
Electronic signature equipment 20 just can carry out this order after the first NFC module 11 returns confirmation and operate accordingly, with instruction
Electronic signature equipment 20 first NFC module 11 selects to be in communication with.
Step S2016: the first NFC module 11 receive electronic signature equipment 20 return response select command response, wherein,
The response of response select command includes in waiting time that electronic signature equipment 20 supports, baud rate, history byte, vendor code
One of them.
By step S2011 to step S2016, the first NFC module 11 is set up NFC with electronic signature equipment 20 and is connected.
Step S202: the first NFC module 11 sends reading order and the Bluetooth address of terminal 10 to electronic signature equipment 20;
In specific implementation process, reading order refers to that the first NFC module 11 reads the life of the Bluetooth address of electronic signature equipment 20
Order, it is simple to rear terminal 10 is directly set up bluetooth and is connected and carries out data transmission with electronic signature equipment 20, it is not necessary to carry out indigo plant again
Tooth matches, and improves Consumer's Experience.
Step S203: the first NFC module 11 is received electronic signature equipment 20 and connected the electronic signature equipment sent by NFC
The Bluetooth address of 20;
By this step, the first NFC module 11 obtains the Bluetooth address of electronic signature equipment 20, it is simple to rear terminal 10
Directly set up bluetooth to be connected carry out data transmission with electronic signature equipment 20, it is not necessary to carry out Bluetooth pairing again, improve user's body
Test.Wherein, the process setting up bluetooth connection is the process instigating Bluetooth channels to connect, and the process making Bluetooth channels connect is not wrapped
Include Bluetooth pairing processes and bluetooth binding procedure.
Step S204: the first NFC module 11 is connected by NFC the first information is sent to electronic signature equipment 20;
Concrete, step S203 and step S204 do not have sequencing, it is also possible to first carry out S204, then carry out step S203;
Connect the transmission first information by NFC, efficiently avoid the data carrying out data transmission causing after first carrying out Bluetooth pairing
The problem that transfer rate is low, prevents data be stolen and monitor, it is ensured that data safety simultaneously;
By this step, electronic signature equipment 20 obtains the Bluetooth address of terminal 10, it is simple to below electronic signature equipment 20 with
Terminal 10 is directly set up bluetooth connection and is carried out data transmission, it is not necessary to carries out Bluetooth pairing again, improves Consumer's Experience;
After above-mentioned steps terminates, self can be removed by terminal 10 from electronic signature equipment 20, or according to prompting by self from
Electronic signature equipment 20 is removed, i.e. terminal 10 can disconnect NFC with electronic signature equipment 20 and is connected.
Step S205: the advertisement bag in the first bluetooth module 12 scanning circumstance, and scan to be connected by NFC and get
Bluetooth address;
Concrete, the first bluetooth module 12 receives the advertisement bag that electronic signature equipment 20 sends, and obtains bluetooth according to advertisement bag
Whether address list, then judge to exist in Bluetooth address list and connect, by NFC, the Bluetooth address got, the most then and the
One bluetooth module 12 scans and connects, by NFC, the Bluetooth address got.
Step S206: the first bluetooth module 12 is set up bluetooth with electronic signature equipment 20 and is connected;
Concrete, the first bluetooth module 12 scans the Bluetooth address of electronic signature equipment 20, and electronic signature equipment 20 obtains
The Bluetooth address of terminal 10, therefore the first bluetooth module 12 and electronic signature equipment 20 can directly be set up bluetooth and connect and carry out
Data are transmitted, it is not necessary to carry out Bluetooth pairing again, improve Consumer's Experience.Wherein, the process setting up bluetooth connection is to instigate indigo plant
The process of tooth channel connection, and the process making Bluetooth channels connect does not includes Bluetooth pairing processes and bluetooth binding procedure.
Step S207: the first bluetooth module 12 is received electronic signature equipment 20 and connected the second information sent by bluetooth;
After the second information is sent, electronic signature equipment 20 can carry out many number of times with being connected by bluetooth between terminal 10
According to alternately, until electronic signature equipment 20 and terminal 10 to complete total data mutual;Certainly, electronic signature equipment 20 can also
I.e. complete and the data interaction of terminal 10 having sent the second information, now, complete with terminal 10 in electronic signature equipment 20
After data interaction, electronic signature equipment 20 can automatically disconnect bluetooth with terminal 10 and be connected, it is ensured that safety, every time
When needing to set up connection, it is required between terminal 10 with electronic signature equipment 20 be connected, again through NFC, the bluetooth that transmission is various
Address, to the other side, is set up bluetooth connection simultaneously and is carried out data interaction.
Step S208: the second information received is sent to bank server 30 by communication module 13;
Concrete, the second information is verified after receiving the second information by bank server 30, and after being verified, according to friendship
Easily information perform to transfer accounts, deduct fees, the operation such as payment.Of course, bank server 30 performs to transfer accounts, deduct fees according to Transaction Information,
After the operations such as payment, it is also possible to return confirmation to terminal 10.After terminal 10 receives confirmation, performing to exit APP should
With software or the operation of closing NFC device, thus complete this time to conclude the business.
The data transmission method provided by the present embodiment, terminal have employed the wireless parties that NFC technique is combined with Bluetooth technology
Formula is connected with electronic signature equipment, and wireless data transfer mode avoids the abrasion of wireline interface, terminal and electronic signature equipment
Exchange the Bluetooth address of the other side by NFC thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen and monitor,
Ensure that data safety, terminal receives electronic signature equipment by bluetooth approach and is back to the process information of terminal, improves data
Transfer rate, improves Consumer's Experience.
Fig. 7 is the electronic signature equipment structural representation of the data transmission system using the present embodiment.As it is shown in fig. 7, electronics label
Name equipment 20 includes: the second NFC module 21, reminding module 22, confirmation module 23, data processing module 24 and second are blue
Tooth module 25.
Second NFC module 21, is used for judging whether described electronic signature equipment marches into the arena;Receive the order of described terminal transmission also
Judge, if order is for seeking order, send the response seeking order described in response, if order is collision detection order, send out
Sending the confirmation confirming described collision detection order, wherein, described confirmation comprises unique knowledge of described electronic signature equipment
Alias UID, if order is select command, sends the response responding described select command, wherein, and described response select command
Response include in waiting time that described electronic signature equipment supports, baud rate, history byte, vendor code at least one,
I.e. set up NFC with terminal 10 to be connected.Concrete, when terminal 10 is touched with electronic signature equipment 20, or by electronics label
The NFC device touching of name equipment 20 and terminal 10 so that the second NFC module 21 is set up NFC with terminal 10 and is connected.
Second NFC module 21, is additionally operable to receive reading order and the Bluetooth address of described terminal that described terminal sends;Pass through
The Bluetooth address of electronic signature equipment 20 is sent to terminal 10 by NFC connection, and receives terminal 10 by NFC connection
The first information sent, and the first information is sent to data processing module 24, the Bluetooth address of terminal 10 is sent to second blue
Tooth module 25.Electronic signature equipment 20 and terminal 10 exchange the Bluetooth address of both sides, it is simple to below electronic signature equipment 20 with
Terminal 10 is directly set up bluetooth connection and is carried out data transmission, it is not necessary to carries out Bluetooth pairing again, improves Consumer's Experience.Wherein,
The process setting up bluetooth connection is the process instigating Bluetooth channels to connect, and the process making Bluetooth channels connect does not includes Bluetooth pairing
Process and bluetooth binding procedure.And, electronic signature equipment 20 connects the first information receiving terminal 10 transmission by NFC,
Efficiently avoid the problem that the message transmission rate carrying out data transmission causing after first carrying out Bluetooth pairing is low, prevent number simultaneously
According to being stolen and monitoring, it is ensured that data safety.
Reminding module 22, is used for pointing out the first information, in order to user confirms the verity of this transaction.
Concrete, reminding module can be display screen and/or speaker.
Confirm module 23, be used for receiving confirmation instruction, and indicate data processing module to perform the operation that the first information is processed,
Wherein, confirm that instruction is used for indicating reminding module to show and/or the first information of speech play is correct.
Concrete, confirm that module can be button, if reminding module 22 shows and/or the first information of speech play accurate,
Then button receives and confirms instruction, and indicates subsequent execution to process the first information.
By reminding module 22 and confirmation module 23, dual mode ensure that the verity of information to be signed.
Data processing module 24, obtains the second information for the first information is carried out process, and concrete, processing mode can be right
The first information is signed, and obtains signing messages that is second information.Then, the second information is sent to the second bluetooth module 25;
Second bluetooth module 25, for radio advertising bag, wherein, described advertisement bag at least includes the indigo plant of described electronic signature equipment
Tooth address, then corresponding with the Bluetooth address of terminal 10 terminal 10 is set up bluetooth and is connected.Therefore, the second bluetooth module 25 He
Terminal 10 can directly be set up bluetooth connection and carry out data transmission, it is not necessary to carries out Bluetooth pairing again, improves Consumer's Experience.
Second information is sent to terminal 10 also by bluetooth connection by the second bluetooth module 25, improves message transmission rate.
The electronic signature equipment provided by the present embodiment, have employed wireless mode that NFC technique is combined with Bluetooth technology with
Terminal connects, and wireless data transfer mode is avoided the abrasion of wireline interface, electronic signature equipment and terminal and exchanged by NFC
The Bluetooth address of the other side thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen and monitor, it is ensured that data are pacified
Entirely, electronic signature equipment is back to the process information of terminal and is transmitted by bluetooth approach, improves message transmission rate, improves
Consumer's Experience.
In an optional embodiment of the present embodiment, the second bluetooth module 25 can be BLE module.Due to BLE technology
The features such as the high and low power consumption of message transmission rate, therefore, the data transmission between terminal and electronic signature equipment can also meet height
Speed transmission and the purpose of low-power consumption.
The electronic signature equipment provided by the present embodiment, have employed wireless mode that NFC technique is combined with Bluetooth technology with
Terminal connects, and wireless data transfer mode is avoided the abrasion of wireline interface, electronic signature equipment and terminal and exchanged by NFC
The Bluetooth address of the other side thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen, it is ensured that data safety, electricity
Sub-signature device is back to the process information of terminal and is transmitted by bluetooth approach, improves message transmission rate, improves user's body
Test.And, when the first bluetooth module is BLE module, it is also possible to realize high-speed transfer and low-power consumption.
Fig. 8 is the schematic flow sheet using the electronic signature equipment of data transmission system of the present embodiment to carry out data transmission.Such as figure
Shown in 8, this data transmission method comprises the following steps (S301-S312):
Step S301: the second NFC module 21 is set up NFC with terminal 10 and is connected;
In specific implementation process, when terminal 10 is touched with electronic signature equipment 20, or by electronic signature equipment 20 and terminal
The NFC device touching of 10, the second NFC module 21 is set up NFC with terminal 10 and is connected.
Second NFC module 21 is set up the detailed process that NFC is connected and is comprised the following steps (S3011-S3017) with terminal 10,
As shown in Figure 3:
S3011: the second NFC module 21 judges whether to march into the arena, the most then perform step S3012;The most again perform step 1
Rapid S3011;
In specific implementation process, the second NFC module 21 is touched with terminal 10, and the coil of the second NFC module 21 can be gradually
Sensing the electromagnetic field of terminal 10, the main control chip being connected with coil increases gradually from coil power taking, therefore, specifically, and second
NFC module 21 judges whether to march into the arena to include: the second NFC module 21 judges the rectified current of the main control chip output being connected with coil
Whether pressure is changed to high level from low level.If the second NFC module 21 detects that commutating voltage that main control chip exports is from low
Level is changed to high level, and the second NFC module 21 just can detect that the second NFC module 21 is marched into the arena.If judging the 2nd NFC
Module 21 is marched into the arena, then perform step S3012, and otherwise, the second NFC module 21 continues executing with step S3011.
S3012: the second NFC module 21 receives the order of self terminal 10, and the order to receiving from terminal 10 judges,
If the order received is anti-collision loop command, collision detection order, cease and desist order, one of them in bad command,
Then electronic signature equipment execution etc. are to be operated and continue the order received is carried out judgement i.e. step S3012;If received
Order for seeking order, then performs step S3013;
In specific implementation process, when the second NFC module 21 receives anti-collision loop command, collision detection order, stops life
Make, one of them order in bad command time, the second NFC module 21 does not perform follow-up operation, and execution etc. are to be operated
And continue to judge i.e. to perform step S3012 to the order received.Order, detecting terminal 10 is sought when terminal 10 sends
Electromagnetic field in whether there is the second NFC module 21 meeting form, then the second NFC module 21 will return sound to terminal 10
Should reply, i.e. this second NFC module 21 performs step S3014.
S3013: the second NFC module 21 returns response to terminal 10 and seeks the response of order;
In specific implementation process, seek order when terminal 10 sends, whether exist in the electromagnetic field of detecting terminal 10 and meet form
The second NFC module 21, the second NFC module 21 receive terminal 10 send when seeking order, the second NFC module
21 return response seeks the response of order, meets the second NFC module 21 of form to indicate terminal 10 to exist in its electromagnetic field.
Such as, when terminal 10 is NFC device, whether the second NFC module 21 in the electromagnetic field of NFC device detection oneself props up
Hold NFC communication, when the second NFC module 21 receives the exploration card order that NFC device sends, if this second NFC module 21
Support NFC communication, then this second NFC module 21 returns a response, to indicate NFC device to exist in its electromagnetic field
The second NFC module 21 of NFC communication can be supported.
S3014: the second NFC module 21 receives the order of self terminal 10, and the order to receiving from terminal 10 judges,
If the order now received is anti-collision loop command, then electronic signature signature execution etc. is to be operated and continues receiving
Order carries out judgement i.e. step S3014;If the order now received is collision detection order, then perform step S3015;
Owing to collision detection order is to detect the order that whether there are multiple second NFC module 21 in the electromagnetic field of terminal 10,
Therefore, after the second NFC module 21 receives collision detection order, the second NFC module 21 will return confirmation letter to terminal 10
Breath, i.e. performs step S3015.
S3015: the second NFC module 21 returns confirmation to terminal 10, and wherein, confirmation comprises the second NFC module
The unique identifier (User Identification, be abbreviated as UID) of 21;
After second NFC module 21 receives collision detection order, owing to the second NFC module 21 returns to the confirmation of terminal 10
Information contains the unique identifier UID of the second NFC module 21, thereby ensure that present terminal 10 only with the 2nd NFC mould
Block 21 communicates, and when the second NFC module 21 is active, terminal 10 just can be with the second NFC module 21
Carry out data communication.
S3016: the second NFC module 21 receives the order of self terminal 10, and the order to receiving from terminal 10 judges,
If the order now received in exploration card order, anti-collision loop command, collision detection order, bad command wherein it
One, then electronic signature equipment execution etc. are to be operated and continue the order received is carried out judgement i.e. step S3016;If now
The order received is select command, then perform step S3017.
Select command refers to the order that terminal 10 sends after selecting to communicate, the only the 2nd NFC with this second NFC module 21
Module 21 just can carry out this order after terminal 10 returns confirmation and operate accordingly, to indicate the second NFC module 21
Terminal 10 selects to be in communication with.
Step S3017: the second NFC module 21 returns the response of response select command to terminal 10, and wherein, response selects life
The response of order include waiting time that the second NFC module 21 supports, baud rate, history byte, in vendor code wherein it
One.
By step S3011 to step S3017, the second NFC module 21 is set up NFC with terminal 10 and is connected.
Step S302: the second NFC module 21 receives reading order and the Bluetooth address of terminal 10 that terminal 10 sends;
In specific implementation process, reading order refers to that terminal 10 reads the order of the Bluetooth address of the second NFC module 21, it is simple to
Rear terminal 10 is directly set up bluetooth and is connected and carries out data transmission with the second NFC module 21, it is not necessary to carry out Bluetooth pairing again,
Improve Consumer's Experience.
Step S303: the Bluetooth address of electronic signature equipment 20 is sent to terminal by NFC connection by the second NFC module 21
10;
By this step, terminal 10 obtains the Bluetooth address of electronic signature equipment 20, it is simple to rear terminal 10 and electronic signature
Equipment 20 is directly set up bluetooth connection and is carried out data transmission, it is not necessary to carries out Bluetooth pairing again, improves Consumer's Experience.Wherein,
The process setting up bluetooth connection is the process instigating Bluetooth channels to connect, and the process making Bluetooth channels connect does not includes Bluetooth pairing
Process and bluetooth binding procedure.
Step S304: the second NFC module 21 is received terminal 10 and connected the first information sent by NFC;
Concrete, step S303 and step S304 do not have sequencing, it is also possible to first carry out S304, then carry out step S303,
Specifically being determined by practical situation, this is not defined by the present embodiment;
Connect the transmission first information by NFC, efficiently avoid the data carrying out data transmission causing after first carrying out Bluetooth pairing
The problem that transfer rate is low, prevents data be stolen and monitor, it is ensured that data safety simultaneously.Step S305: the 2nd NFC
The first information and will be sent to data processing module 24 by module 21, and the Bluetooth address of terminal 10 is sent to the second bluetooth module
25;
By this step, it is simple to the second bluetooth module 25 is directly set up bluetooth and is connected and carries out data transmission with terminal 10, it is not necessary to
Carry out Bluetooth pairing again, improve Consumer's Experience.
Step S306: the second NFC module 21 leaves the electromagnetic field of terminal 10;
After above-mentioned steps S301-S305 terminates, self can be removed by terminal 10 from the second NFC module 21, or according to carrying
Showing and self removed from the second NFC module 21, the i.e. second NFC module 21 leaves the electromagnetic field of terminal 10, terminal 10 with
Second NFC module 21 can disconnect NFC and connect.
Step S307: reminding module 22 shows and/or the speech play first information;
Concrete, reminding module 22 can be provided with display screen, the display screen display first information, and/or can be provided with speaker,
The speech play first information, in order to user confirms the verity of this first information, in process of exchange, the first information is the most permissible
Account and the amount of money is at least included, it is also possible to include transaction details information etc. for Transaction Information, such as Transaction Information.
Step S308: confirm that module 23 receives and confirm instruction;
Concrete, confirm that module 23 can be provided with button (physical button or virtual key), if reminding module 22 display and
/ or the first information of speech play accurate, then button receives and confirms instruction, and indicates data processing module 24 to perform the first letter
Breath processes.
By step S307 and step S308, the dual verity that ensure that information to be signed.
Step S309: data processing module 24 carries out process and obtains the second information the first information, and the second information is sent extremely
Second bluetooth module 25;
Concrete, processing mode can be to sign the first information, obtains signing messages that is second information.
Step S310: the second bluetooth module 25 radio advertising bag;
The advertisement bag of the second bluetooth module 25 broadcast contains the Bluetooth address of electronic signature equipment 20, by this step, electricity
Terminal around sub-signature device 20 just can detect electronic signature equipment 20, could set up bluetooth even with electronic signature equipment 20
Connect.
Step S311: the terminal 10 that the second bluetooth module 25 is corresponding with the Bluetooth address of terminal 10 is set up bluetooth and connected;
Concrete, terminal 10 scans the Bluetooth address of electronic signature equipment 20, and electronic signature equipment 20 obtains terminal
The Bluetooth address of 10, therefore terminal 10 and electronic signature equipment 20 can directly set up bluetooth connect carry out data transmission, be not required to
To carry out Bluetooth pairing again, to improve Consumer's Experience.Wherein, the process setting up bluetooth connection is the mistake instigating Bluetooth channels to connect
Journey, and the process making Bluetooth channels connect does not includes Bluetooth pairing processes and bluetooth binding procedure.
Step S312: the second information is sent to terminal 10 by bluetooth connection by the second bluetooth module 25.
Of course, after the second information is sent, electronic signature equipment 20 can with between terminal 10 by bluetooth be connected into
Row repeatedly data interaction, until electronic signature equipment 20 and terminal 10 to complete total data mutual;Certainly, electronic signature equipment
20 i.e. can also complete and the data interaction of terminal 10 having sent the second information, now, in electronic signature equipment 20 with whole
After end 10 completes data interaction, electronic signature equipment 20 can automatically disconnect bluetooth with terminal 10 and be connected, it is ensured that safety,
When needing to set up connection every time, it is required to be connected transmission again through NFC between terminal 10 with electronic signature equipment 20 various
Bluetooth address to the other side, set up simultaneously bluetooth connect carry out data interaction.
The data transmission method provided by the present embodiment, electronic signature equipment have employed NFC technique and is combined with Bluetooth technology
Wireless mode be connected with terminal, wireless data transfer mode avoids the abrasion of wireline interface, electronic signature equipment and terminal
Exchange the Bluetooth address of the other side by NFC thus avoid the loaded down with trivial details pairing process of bluetooth, it is therefore prevented that data are stolen and monitor,
Ensure that data safety, electronic signature equipment is back to the process information of terminal and is transmitted by bluetooth approach, improves data transmission
Speed, improves Consumer's Experience.
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.
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.
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 (12)
1. a data transmission method, it is characterised in that including:
Electronic signature equipment enters the electromagnetic field of terminal, and described electronic signature equipment judges whether to march into the arena, the most described electronics
Signature device receives the order that described terminal sends, and otherwise, described electronic signature equipment continues to determine whether to march into the arena;
The order that the described terminal that receives is sent by described electronic signature equipment judges, if order be anti-collision loop command,
Collision detection order, cease and desist order, one of them in bad command, the most described electronic signature equipment waits seeks order, if
Order seeks order described in being, the response seeking order described in response is sent to described terminal by the most described electronic signature equipment;
After the response seeking order described in response is sent to described terminal by described electronic signature equipment, described electronic signature equipment
The order sending the described terminal received judges, if order is described anti-collision loop command, the most described electronic signature
Equipment waits described collision detection order, if order is described collision detection order, the most described electronic signature equipment will confirm that described
The confirmation of collision detection order is sent to described terminal, and wherein, described confirmation comprises described electronic signature equipment only
One identifier UID;
After described electronic signature equipment will confirm that the confirmation of described collision detection order is sent to described terminal, described electronics
The order that the signature device described terminal to receiving sends judges, if order follows for described exploration card order, described anti-collision
One of them in ring order, described collision detection order, described bad command, the most described electronic signature equipment waits and selects life
Order, if order is select command, the response responding described select command is sent to described terminal by the most described electronic signature equipment,
Wherein, the response of described response select command include waiting time that described electronic signature equipment supports, baud rate, history byte,
At least one in vendor code, then electronic signature equipment is set up NFC with terminal and is connected;
Described electronic signature equipment receives reading order and the Bluetooth address of described terminal that described terminal sends;
The Bluetooth address of described electronic signature equipment is sent to described terminal by described NFC connection by described electronic signature equipment;
Described electronic signature equipment is received described terminal and is connected the first information sent by described NFC;
Described electronic signature equipment leaves the electromagnetic field of described terminal;
Described electronic signature equipment points out the described first information;
Described electronic signature equipment is receiving after confirming the confirmation instruction that the first information is correct, carries out the described first information
Process obtains the second information;
Described electronic signature equipment radio advertising bag, wherein, described advertisement bag at least includes the bluetooth ground of described electronic signature equipment
Location is also received by described terminal;
The described electronic signature equipment described terminal corresponding with the Bluetooth address of described terminal is set up bluetooth and is connected;
Described second information is sent to described terminal by the connection of described bluetooth by described electronic signature equipment.
Method the most according to claim 1, it is characterised in that described electronic signature equipment and the Bluetooth address of described terminal
Corresponding described terminal is set up the described terminal that bluetooth is connected as described electronic signature equipment corresponding with the Bluetooth address of described terminal and is built
Vertical low-power consumption bluetooth connects.
3. a data transmission method, it is characterised in that including:
Terminal, after electronic signature equipment enters the electromagnetic field of terminal, sends to described electronic signature equipment and seeks order;
Described terminal receives the response seeking order described in the response of described electronic signature equipment;
Described terminal sends collision detection order to described electronic signature equipment;
Described terminal receives described electronic signature equipment and confirms the confirmation of described collision detection order, wherein, described confirmation letter
Breath comprises the unique identifier UID of described electronic signature equipment;
Described terminal sends select command to described electronic signature equipment;
Described terminal receives described electronic signature equipment and responds the response of described select command, wherein, described response select command
Response include in waiting time that described electronic signature equipment supports, baud rate, history byte, vendor code at least one,
Then terminal is set up NFC with electronic signature equipment and is connected;
Described terminal sends reading order and the Bluetooth address of described terminal to described electronic signature equipment;
Described terminal is received described electronic signature equipment and is connected the Bluetooth address of the electronic signature equipment sent by described NFC;
Described terminal is connected by described NFC the first information is sent to described electronic signature equipment;
Described terminal, after described electronic signature equipment leaves the electromagnetic field of described terminal, receives what described electronic signature equipment sent
Advertisement bag, wherein, described advertisement bag at least includes the Bluetooth address of described electronic signature equipment;
Described terminal obtains Bluetooth address list according to described advertisement bag;
Whether Bluetooth address list described in described terminal judges exists and connects, by described NFC, the Bluetooth address got, if so,
The most described terminal scanning is to being connected the Bluetooth address got by described NFC;
Described terminal with connect described electronic signature equipment corresponding to the Bluetooth address that gets by described NFC and set up bluetooth even
Connect;
Described terminal is received described electronic signature equipment and is connected the second information sent, wherein, described second letter by described bluetooth
Breath processes, for described electronic signature equipment, the information obtained to the described first information.
Method the most according to claim 3, it is characterised in that described terminal receives described electronic signature equipment by described
After bluetooth connects the second information sent, described method also includes:
Described second information is sent to bank server by described terminal.
5. according to the method described in claim 3 or 4, it is characterised in that described terminal is connected acquisition with by described NFC
To described electronic signature equipment corresponding to Bluetooth address set up bluetooth and be connected as described terminal and be connected acquisition with by described NFC
To described electronic signature equipment corresponding to Bluetooth address set up low-power consumption bluetooth and connect.
6. a terminal, it is characterised in that including: the first NFC module and the first bluetooth module;
Described first NFC module, after the electromagnetic field entering terminal in electronic signature equipment, sends out to described electronic signature equipment
Send and seek order and receive the response seeking order described in the response of described electronic signature equipment;Punching is sent to described electronic signature equipment
Prominent sense command also receives described electronic signature equipment and confirms the confirmation of described collision detection order, wherein, described confirmation letter
Breath comprises the unique identifier UID of described electronic signature equipment;Send select command to described electronic signature equipment and receive described
Electronic signature equipment responds the response of described select command, and wherein, the response of described response select command includes described electronic signature
At least one in the waiting time of equipment support, baud rate, history byte, vendor code;Send out to described electronic signature equipment
Send reading order and the Bluetooth address of described terminal;Receive described electronic signature equipment and connected the electronics label sent by described NFC
The Bluetooth address of name equipment;Connected by described NFC and the first information is sent to described electronic signature equipment;Receive described electronics
The advertisement bag that signature device sends, wherein said advertisement bag at least includes the Bluetooth address of described electronic signature equipment;By described electricity
The Bluetooth address of sub-signature device is sent to described first bluetooth module;
Described first bluetooth module, for obtaining Bluetooth address list according to described advertisement bag, and judges described Bluetooth address list
In whether exist and connect, by described NFC, the Bluetooth address that gets;Be connected the Bluetooth address got by described NFC
Corresponding described electronic signature equipment is set up bluetooth and is connected;Receive described electronic signature equipment and connect, by described bluetooth, the sent
Two information, wherein, described second information is that described electronic signature equipment processes the information obtained to the described first information.
Terminal the most according to claim 6, it is characterised in that described terminal also includes: communication module, described communication mould
Block is for sending described second information to bank server.
8. according to the terminal described in claim 6 or 7, it is characterised in that described first bluetooth module is low-power consumption bluetooth module.
9. an electronic signature equipment, it is characterised in that including: the second NFC module, reminding module, confirmation module, number
According to processing module and the second bluetooth module;
Described second NFC module, is used for judging whether described electronic signature equipment marches into the arena;Receive the order of described terminal transmission also
Judge, if order is for seeking order, send the response seeking order described in response, if order is collision detection order, send out
Sending the confirmation confirming described collision detection order, wherein, described confirmation comprises unique knowledge of described electronic signature equipment
Alias UID, if order is select command, sends the response responding described select command, wherein, and described response select command
Response include in waiting time that described electronic signature equipment supports, baud rate, history byte, vendor code at least one;
Receive reading order and the Bluetooth address of described terminal that described terminal sends;Connected electronic signature equipment by described NFC
Bluetooth address is sent to described terminal;Receive described terminal and connected the first information sent by described NFC;And by described first
Information is sent to described data processing module, and the Bluetooth address of described terminal is sent to the second bluetooth module;
Described reminding module, for the first information described in display and/or speech play;
Described confirmation module, is used for receiving confirmation instruction, and indicates described data processing module to perform to carry out the described first information
The operation processed, wherein, described confirmation instruction is for indicating described reminding module to show and/or the described first information of speech play
Correctly;
Described data processing module, obtains the second information for the described first information is carried out process, and described second information is sent out
Deliver to the second bluetooth module;
Described second bluetooth module, for radio advertising bag, wherein, described advertisement bag at least includes described electronic signature equipment
Bluetooth address;The described terminal corresponding with the Bluetooth address of described terminal is set up bluetooth and is connected;Connected described by described bluetooth
Second information is sent to described terminal.
Electronic signature equipment the most according to claim 9, it is characterised in that described second bluetooth module is that low-power consumption is blue
Tooth module.
11. 1 kinds of data transmission systems, it is characterised in that including: terminal as described in any one of claim 6 to 8 and such as
Electronic signature equipment described in any one of claim 9 to 10.
12. systems according to claim 11, it is characterised in that described system also includes: bank server, described silver
Row server is for receiving described second information that described terminal sends.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610146864.3A CN105939167B (en) | 2016-03-15 | 2016-03-15 | A kind of data transmission method, terminal, electronic signature equipment and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610146864.3A CN105939167B (en) | 2016-03-15 | 2016-03-15 | A kind of data transmission method, terminal, electronic signature equipment and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105939167A true CN105939167A (en) | 2016-09-14 |
CN105939167B CN105939167B (en) | 2018-11-30 |
Family
ID=57151319
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610146864.3A Active CN105939167B (en) | 2016-03-15 | 2016-03-15 | A kind of data transmission method, terminal, electronic signature equipment and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105939167B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019024590A1 (en) * | 2017-07-31 | 2019-02-07 | 华为技术有限公司 | Method and device for transmitting data |
CN111818493A (en) * | 2020-05-21 | 2020-10-23 | 上海橙群微电子有限公司 | Data transmission method, wireless network system, node and readable storage medium |
CN112104943A (en) * | 2020-09-22 | 2020-12-18 | 深圳市汇顶科技股份有限公司 | Address transmission method, Bluetooth chip, Bluetooth headset and electronic equipment |
CN114220214A (en) * | 2021-11-24 | 2022-03-22 | 天地融电子(天津)有限公司 | Method and system for collecting payment packet with electronic signature by card swiping POS machine |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100251261A1 (en) * | 2009-03-27 | 2010-09-30 | Oberthur Technologies | Method and Device for Automatically Selecting an Application That Can Be Implemented by Said Device |
CN103761492A (en) * | 2013-12-10 | 2014-04-30 | 上海动联信息技术股份有限公司 | Method of non-contact device for carrying out operation on multiple cards on the basis of 13.56 MHz working frequency |
US20140344153A1 (en) * | 2013-05-15 | 2014-11-20 | Thanigaivel Ashwin Raj | Mobile tokenization hub |
WO2015149723A1 (en) * | 2014-04-03 | 2015-10-08 | 华为终端有限公司 | Method, device and system for establishing secure connection |
CN105162497A (en) * | 2015-08-04 | 2015-12-16 | 天地融科技股份有限公司 | Data transmission method, terminal, electronic signature device and system |
-
2016
- 2016-03-15 CN CN201610146864.3A patent/CN105939167B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100251261A1 (en) * | 2009-03-27 | 2010-09-30 | Oberthur Technologies | Method and Device for Automatically Selecting an Application That Can Be Implemented by Said Device |
US20140344153A1 (en) * | 2013-05-15 | 2014-11-20 | Thanigaivel Ashwin Raj | Mobile tokenization hub |
CN103761492A (en) * | 2013-12-10 | 2014-04-30 | 上海动联信息技术股份有限公司 | Method of non-contact device for carrying out operation on multiple cards on the basis of 13.56 MHz working frequency |
WO2015149723A1 (en) * | 2014-04-03 | 2015-10-08 | 华为终端有限公司 | Method, device and system for establishing secure connection |
CN105162497A (en) * | 2015-08-04 | 2015-12-16 | 天地融科技股份有限公司 | Data transmission method, terminal, electronic signature device and system |
Non-Patent Citations (1)
Title |
---|
马捷等: "用NFC技术快速建立蓝牙安全连接问题研究", 《计算机应用与软件》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2019024590A1 (en) * | 2017-07-31 | 2019-02-07 | 华为技术有限公司 | Method and device for transmitting data |
CN109327808A (en) * | 2017-07-31 | 2019-02-12 | 华为技术有限公司 | A kind of method and apparatus transmitting data |
CN109327808B (en) * | 2017-07-31 | 2021-04-20 | 华为技术有限公司 | Data transmission method and equipment |
CN111818493A (en) * | 2020-05-21 | 2020-10-23 | 上海橙群微电子有限公司 | Data transmission method, wireless network system, node and readable storage medium |
CN111818493B (en) * | 2020-05-21 | 2023-11-07 | 上海橙群微电子有限公司 | Data transmission method, wireless network system, node, and readable storage medium |
CN112104943A (en) * | 2020-09-22 | 2020-12-18 | 深圳市汇顶科技股份有限公司 | Address transmission method, Bluetooth chip, Bluetooth headset and electronic equipment |
CN114220214A (en) * | 2021-11-24 | 2022-03-22 | 天地融电子(天津)有限公司 | Method and system for collecting payment packet with electronic signature by card swiping POS machine |
CN114220214B (en) * | 2021-11-24 | 2024-05-24 | 天地融电子(天津)有限公司 | Method and system for collecting payment packet with electronic signature by POS machine |
Also Published As
Publication number | Publication date |
---|---|
CN105939167B (en) | 2018-11-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11741455B2 (en) | Systems and methods for providing near field communications | |
CN105162497B (en) | A kind of data transmission method, terminal, electronic signature equipment and system | |
US20120089507A1 (en) | Device, system and transaction method for integrating payment function and receipt function | |
CN105074745A (en) | Method for controlling payment device for selecting payment means | |
CN103886455A (en) | Digital wallet device for virtual wallet | |
CN102469081B (en) | Method, equipment and system for operating smart card | |
JP2005353048A (en) | Method for recharging affiliated card by use of radio device | |
CN105939167A (en) | Data transmission method and system, terminal, electronic signature device | |
EP3139319A1 (en) | Service providing device for cancelling ticket, ticket cancel guide system comprising the same, control method thereof and non-transitory computer readable storage medium having computer program recorded thereon | |
JP2009205234A (en) | Electronic settlement system and method, program, and medium | |
TWI625684B (en) | Mobile payment method and mobile payment device | |
CN104657854B (en) | Allow the wireless power source of payment transaction | |
CN103701782A (en) | Data transmission method and system | |
CN103810598A (en) | Payment system and payment method based on terminal device | |
JP2020022110A (en) | Charge control system, application program and control method in charge control system | |
CN103177360A (en) | Paying system and method based on unified personal information | |
KR20140050168A (en) | Multiple payment method and terminal for payment | |
US7832634B1 (en) | Customer care intelligent routing | |
CN105787735A (en) | Payment processing method and device, and terminal | |
KR101288288B1 (en) | Method for Providing Collective Application of Module Type | |
US20200160332A1 (en) | Processing payments | |
WO2016169165A1 (en) | Method and device for topping up electricity prepayment meters | |
KR20180006599A (en) | Method for Providing Asynchronous Reverse Direction Payment based on Application Interlocking by using Radio Signal Device | |
KR20180006598A (en) | Method for Providing Asynchronous Reverse Direction Payment based on Application Interlocking by using Radio Signal Device | |
KR100730409B1 (en) | Sim card automatic charging device, and method for the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |