CN107277750B - A kind of switching method and intelligent cipher equipment of communication pattern - Google Patents

A kind of switching method and intelligent cipher equipment of communication pattern Download PDF

Info

Publication number
CN107277750B
CN107277750B CN201710459165.9A CN201710459165A CN107277750B CN 107277750 B CN107277750 B CN 107277750B CN 201710459165 A CN201710459165 A CN 201710459165A CN 107277750 B CN107277750 B CN 107277750B
Authority
CN
China
Prior art keywords
intelligent cipher
equipment
external equipment
mode
under
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710459165.9A
Other languages
Chinese (zh)
Other versions
CN107277750A (en
Inventor
李东声
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tendyron Technology Co Ltd
Original Assignee
Tendyron Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tendyron Technology Co Ltd filed Critical Tendyron Technology Co Ltd
Priority to CN201710459165.9A priority Critical patent/CN107277750B/en
Publication of CN107277750A publication Critical patent/CN107277750A/en
Application granted granted Critical
Publication of CN107277750B publication Critical patent/CN107277750B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/80Wireless
    • H04L2209/805Lightweight hardware, e.g. radio-frequency identification [RFID] or sensor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3234Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving additional secure or trusted devices, e.g. TPM, smartcard, USB or software token
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/02Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/04Key management, e.g. using generic bootstrapping architecture [GBA]

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The present invention provides the switching method and intelligent cipher equipment of a kind of communication pattern, this method comprises: intelligent cipher equipment under initial mode, executes and establishes the process that Bluetooth communication is connect with external equipment;Bluetooth security pairing request is sent to external equipment;Receive bluetooth security pairing response;With request after external equipment successful matching, will be switched at high speed be sent to external equipment, reception switches at high speed response, and unlatching high-frequency clock opens the power supply of safety chip, and switch to speed communication mode;Under speed communication mode, intelligent cipher equipment and external equipment carry out business datum communication;After business datum sign off, initial switching request is sent to external equipment, receives initial switching response;Under initial mode, low speed switching request is sent to external equipment;Low speed handoff response is received, intelligent cipher equipment closes screen, closing high-speed clock, the power supply of closed safe chip, and switches to low speed communication mode.

Description

A kind of switching method and intelligent cipher equipment of communication pattern
Technical field
The present invention relates to the switching methods and intelligent cipher of a kind of electronic technology field more particularly to a kind of communication pattern to set It is standby.
Background technique
It, can be according to some after supporting the intelligent cipher equipment of bluetooth communication interface and external equipment to be successfully established bluetooth connection Fixed time period carries out data communication, which is referred to as to communicate to connect interval.To improve traffic rate, generally Lesser communication connection can be selected to be spaced;And it is the power consumption for reducing intelligent cipher equipment, consider to increase dormancy time, can generally select Select biggish communication connection interval.Under different application scene, the suitable communication connection interval of intelligent cipher equipment selection so as to Suitable communication pattern is switched to be communicated with external equipment, it is most important to guarantee communication quality and efficiency.
In the prior art, intelligent cipher equipment carries out the mode of pattern switching are as follows: intelligent cipher equipment is built with external equipment After vertical connection, when needing to carry out business transaction, it is switched to high-speed mode and carries out business transaction, between being communicated to connect under high-speed mode Every smaller, be conducive to improve communication efficiency, after the completion of business transaction, then be switched to low-speed mode, communicated to connect under low-speed mode It is spaced larger, advantageously reduces power consumption, when transaction next time, then be switched to high-speed mode.
However, existing scheme is used, if also needed during intelligent cipher equipment and external equipment execute pairing process Want execution pattern switching flow, intelligent cipher equipment can preferential execution pattern switching flow, since pattern switching needs to occupy one It fixes time, frequently results in pairing process time-out, in turn result in Bluetooth communication connection and disconnect, intelligent cipher equipment and external equipment Bluetooth communication failure.
Summary of the invention
Present invention seek to address that the above problem.
The main purpose of the present invention is to provide a kind of switching methods of communication pattern;
Another object of the present invention is to provide a kind of intelligent cipher equipment.
In order to achieve the above objectives, technical solution of the present invention is specifically achieved in that
One aspect of the present invention provides a kind of switching method of communication pattern, comprising: intelligent cipher equipment is in initial mode Under, it is executed according to the messaging parameter under the initial mode and establishes the process that Bluetooth communication is connect with external equipment, wherein is described Messaging parameter includes at least communication connection interval, and the screen of the intelligent cipher equipment is in the open state;The intelligent cipher Bluetooth security pairing request is sent to the external equipment by equipment;The intelligent cipher equipment receives the external equipment and sends Bluetooth security match response;The intelligent cipher equipment will switch at high speed request with after the external equipment successful matching It is sent to the external equipment, described switch at high speed requests to carry the messaging parameter under speed communication mode, wherein the height Communication connection interval under fast communication pattern is less than the communication connection interval under the initial mode;The intelligent cipher equipment connects Receive the response that switches at high speed that the external equipment sends, unlatching high-frequency clock opens the power supply of safety chip and described Intelligent cipher equipment switches to the speed communication mode according to the messaging parameter under the speed communication mode;In the high speed Under communication pattern, the intelligent cipher equipment and the external equipment carry out business datum communication;The intelligent cipher equipment exists After business datum sign off, the intelligent cipher equipment sends initial switching request to the external equipment, described initially to cut Change the messaging parameter carried under the initial mode in request;The intelligent cipher equipment receives what the external equipment was sent Initial switching response, switches to the initial mode according to the messaging parameter under the initial mode;Under the initial mode, The low speed switching request is sent to the external equipment by the intelligent cipher equipment, and the low speed switching request carries low Messaging parameter under fast communication pattern, wherein the communication connection interval under the low speed communication mode is greater than the initial mode Under communication connection interval;The intelligent cipher equipment receives the low speed handoff response that the external equipment is sent, the intelligence Encryption device closes the screen, closes the high-frequency clock, close the safety chip power supply and the intelligence Encryption device switches to the low speed communication mode according to the messaging parameter under the low speed communication mode.
Wherein, after the intelligent cipher equipment and the safe successful matching of the external equipment, further includes: the intelligence is close Decoding apparatus generates link key, and the link key is used for transmitting between the intelligent cipher equipment and the external equipment Data are encrypted.
Another aspect of the present invention also provides a kind of intelligent cipher equipment, comprising: bluetooth communication, in initial mode Under, Bluetooth communication is established with external equipment according to the messaging parameter under the initial mode and is connect, wherein the messaging parameter is extremely Few includes communication connection interval, and the screen of the intelligent cipher equipment is in the open state;And by bluetooth security pairing request It is sent to the external equipment, receives the bluetooth security pairing response that the external equipment is sent;And in the intelligent cipher After equipment and the external equipment successful matching, request will be switched at high speed and be sent to the external equipment, described switch at high speed is asked Seek the messaging parameter carried under speed communication mode, wherein the communication connection interval under the speed communication mode is less than institute The communication connection interval under initial mode is stated, receive the external equipment transmission switches at high speed response;Switching control module is used In opening high-frequency clock, the power supply of safety chip is opened, and according to the messaging parameter control under the speed communication mode It makes the intelligent cipher equipment and switches to the speed communication mode;The bluetooth communication is also used to logical in the high speed Under letter mode, business datum communication is carried out with the external equipment;And after business datum sign off, Xiang Suoshu external equipment Initial switching request is sent, the messaging parameter under the initial mode is carried in the initial switching request, is received described outer The initial switching response that portion's equipment is sent;The switching control module is also used to according to the messaging parameter under the initial mode It controls the intelligent cipher equipment and switches to the initial mode;The bluetooth communication is also used in the initial mode Under, the low speed switching request is sent to the external equipment, the low speed switching request carries under low speed communication mode Messaging parameter, wherein under the low speed communication mode communication connection interval be greater than the initial mode under communication connection Interval;Receive the low speed handoff response that the external equipment is sent;The switching control module, is also used to close the screen, The high-frequency clock is closed, closes the power supply of the safety chip, and according to the communication under the low speed communication mode Intelligent cipher equipment described in state modulator switches to the low speed communication mode.
Wherein, the intelligent cipher equipment further include: key production module, for generating link key, the link is close Key is for encrypting the data transmitted between the intelligent cipher equipment and the external equipment.
As seen from the above technical solution provided by the invention, before the execution pattern switching for the first time of intelligent cipher equipment, It needs to have first carried out bluetooth security pairing process, that is, first carries out bluetooth security pairing process, rear execution pattern switching flow is protected It has demonstrate,proved between intelligent cipher equipment and external equipment after successful matching, then execution pattern switching, so as to avoid in Bluetooth pairing The problem of process and pattern switching process cause bluetooth connection to disconnect when being performed simultaneously.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, required use in being described below to embodiment Attached drawing be briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1-2 is the flow chart of the switching method for the communication pattern that the embodiment of the present invention 1 provides;
Fig. 3 is the structural schematic diagram for the intelligent cipher equipment that the embodiment of the present invention 2 provides.
Specific embodiment
With reference to the attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Based on this The embodiment of invention, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, belongs to protection scope of the present invention.
In the description of the present invention, it is to be understood that, term " center ", " longitudinal direction ", " transverse direction ", "upper", "lower", The orientation or positional relationship of the instructions such as "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outside" is It is based on the orientation or positional relationship shown in the drawings, is merely for convenience of description of the present invention and simplification of the description, rather than instruction or dark Show that signified device or element must have a particular orientation, be constructed and operated in a specific orientation, therefore should not be understood as pair Limitation of the invention.In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply opposite Importance or quantity or position.
In the description of the present invention, it should be noted that unless otherwise clearly defined and limited, term " installation ", " phase Even ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, or be integrally connected;It can To be mechanical connection, it is also possible to be electrically connected;It can be directly connected, can also can be indirectly connected through an intermediary Connection inside two elements.For the ordinary skill in the art, above-mentioned term can be understood at this with concrete condition Concrete meaning in invention.
The embodiment of the present invention is described in further detail below in conjunction with attached drawing.
Embodiment 1
The present embodiment provides a kind of switching methods for applying the communication pattern in intelligent cipher equipment, as shown in Figs. 1-2, Since the process of this method includes that can not present the complete method in the present embodiment in a width figure compared with multi-step, thus be in Now in fig. 1 and 2, wherein figure 1 illustrate after intelligent cipher device power-up, Bluetooth communication connection process and bluetooth are established in execution Safety matches process, and the process of speed communication mode is switched to from initial mode.Fig. 2 shows cut from speed communication mode Initial mode is shifted to, then switches to low speed communication mode from initial mode, and how to jump again under low speed communication mode It executes, switches to speed communication mode will pass through introductory die formula.
The present embodiment provides a kind of switching methods of communication pattern, include the following steps:
101, after intelligent cipher device power-up, screen opening;
Intelligent cipher equipment is a kind of achievable digital signature, based on digital certificate carries out the safety operations such as authentication Equipment, which can cooperate with external equipment (such as mobile phone, POS machine, PC machine etc.), in process of exchange Complete the confirmation and signature to transaction data.The intelligent cipher equipment is equipped with safety chip, the screen for showing data, uses In the bluetooth communication interface of realization Bluetooth communication, for the key of input validation instruction and for triggering the indigo plant for establishing bluetooth connection The components such as tooth key can be equipped with Bluetooth key in usual intelligent cipher equipment, in order to facilitate user to manually control bluetooth connection Unlatching and disconnection.It is understood that intelligent cipher equipment can also when intelligent cipher equipment only supports Blue-tooth communication method Bluetooth connection is established to be not provided with the Bluetooth key, such as after defaulting booting, disconnects bluetooth connection after shutdown, naturally it is also possible to set The Bluetooth key is set, this is not restricted.Key in intelligent cipher equipment can use physical button to realize, certainly, if Screen is touch screen, can also show that virtual key is realized using by touch screen.Private key, number are stored in safety chip The key messages such as word certificate, wherein private key can be used for being digitally signed to receiving transaction data, and digital certificate can be into Row authentication etc..
After intelligent cipher device power-up, screen is opened, screen is lit at this time.
102, the intelligent cipher equipment executes and outer under initial mode according to the messaging parameter under the initial mode Portion's equipment establishes the process of Bluetooth communication connection;
The intelligent cipher equipment is established Bluetooth communication with external equipment according to the messaging parameter under the initial mode and is connected The implementation connect is as follows: the information such as intelligent cipher device broadcasts Bluetooth address, and external equipment executes the scanning of bluetooth equipment, sweeps After retouching intelligent cipher equipment, bluetooth connection is sent to intelligent cipher equipment and establishes request, establish in request in the bluetooth connection The initial communication parameter of the external equipment is carried, the bluetooth connection which receives external equipment transmission is built After vertical request, the initial communication parameter of the external equipment and the communication as intelligent cipher equipment under initial mode are saved Parameter, and communicated according to the messaging parameter under the initial mode with external equipment, to complete the process of bluetooth connection foundation With the process of bluetooth security pairing.
103, bluetooth security pairing request is sent to the external equipment by the intelligent cipher equipment;
In the present embodiment, which can be used to request to be matched with external equipment;Or the indigo plant The safe pairing request of tooth can also be used to request and be matched with external equipment and negotiate to generate link key, the link key For being encrypted in link layer to the data transmitted between intelligent cipher equipment and external equipment.Compared with the former, Hou Zheke To carry out encryption outflow to the data transmitted between intelligent cipher equipment and external equipment using link key in link layer, improve The safety of data transmission.
Intelligent cipher equipment is connected to external equipment by Bluetooth communication and sends bluetooth security pairing request.External equipment connects After receiving bluetooth security pairing request, if agreeing to, carrying out bluetooth security matches process, sends bluetooth peace to intelligent cipher equipment Full pairing response carries in bluetooth security pairing response for agreeing the information matched safely.
It should be noted that the pairing request sent in the prior art from external equipment to intelligent cipher equipment, outside are set Standby initial setting up can initiate the pairing process for not having to generate link key, Bluetooth pairing is only completed, so that intelligent cipher is set The standby data between external equipment reduce data transmission security in link layer plaintext transmission.Through the embodiment of the present invention The technical solution of offer, intelligent cipher equipment are actively initiated pairing and cipher key agreement process, are set independent of external equipment correlation It sets, ensure that and passed after the data between intelligent cipher equipment and external equipment are encrypted in link layer transfer using link key It is defeated, improve the safety of data transmission.
104, the intelligent cipher equipment receives the bluetooth security pairing response that the external equipment is sent;
Intelligent cipher equipment is connected by Bluetooth communication receives the bluetooth security pairing response that external equipment is sent.
105, the intelligent cipher equipment will switch at high speed request and be sent to institute with after the external equipment successful matching External equipment is stated, described switch at high speed requests to carry the messaging parameter under speed communication mode;Wherein, the high-speed communication mould Communication connection interval under formula is less than the communication connection interval under the initial mode.
In general, needing to carry out business processing with external equipment after the starting of intelligent cipher equipment.Under initial mode, intelligence Encryption device switches at high speed request to external equipment transmission, for requesting to be switched under speed communication mode, to carry out business Processing.
This switch at high speed request in carry intelligent cipher equipment support speed communication mode under messaging parameter, outside Portion's equipment receives after this switches at high speed request, judges whether itself also props up according to the messaging parameter under the speed communication mode It holds, if external equipment also supports the messaging parameter under the speed communication mode, is switched at high speed to the transmission of intelligent cipher equipment Response carries the information for agreeing to be switched to speed communication mode in this switches at high speed and responds, meanwhile, external equipment Also it can be switched to according to the messaging parameter under the speed communication mode and to be matched with the speed communication mode of intelligent cipher equipment Communication pattern.
It is understood that if external equipment does not support the messaging parameter under certain mode, the meeting in handoff response The information for being used for indicating to disagree switching is carried, at this point, communication is not carried out after intelligent cipher equipment receives the handoff response The switching of mode.It will lead to the failure of pattern switching at this time.
In the present embodiment, the switching to speed communication mode is actively to be initiated by intelligent cipher equipment, and cutting at a high speed The messaging parameter under the speed communication mode for carrying intelligent cipher equipment itself support in request is changed, external equipment receives high speed If also supporting the speed communication mode after switching request, return switches at high speed response to notify intelligent cipher equipment to carry out mode Switching, while external equipment also can switch to speed communication mode according to the messaging parameter under speed communication mode.With existing skill In art, the switching of mode is usually compared by external equipment initiation, on the one hand, intelligent cipher equipment is actively initiated, and mould can be improved The safety of formula switching, on the other hand, while transmission switches at high speed request, intelligent cipher equipment is by asking switching at high speed The messaging parameter carried under the speed communication mode that itself is supported is sought, external equipment is allowed comparatively fast to know that intelligent cipher is set The standby messaging parameter supported can quickly trigger carry out pattern switching, mention so that external equipment is when also supporting the messaging parameter The high efficiency of pattern switching.
In the present embodiment, messaging parameter includes at least communication connection interval, and the communication connection interval under different mode is different, For example, establishing after Bluetooth communication connect in intelligent cipher equipment and external equipment, the communication connection interval under initial mode is taken Value may range from 30ms-50ms, and the minimum value at the communication connection interval under speed communication mode is generally 7.5ms, low speed The value at the communication connection interval under communication pattern is generally higher than 500ms.
In the present embodiment, messaging parameter is spaced in addition to communication connection, can also include communication connection delay and communication connection Time-out, the associated description being detailed in Bluetooth communication protocol.
106, the intelligent cipher equipment receives the response that switches at high speed that the external equipment sends, unlatching high-frequency clock, The power supply and the intelligent cipher equipment for opening safety chip are cut according to the messaging parameter under the speed communication mode Shift to the speed communication mode;
In the present embodiment, when switching to speed communication mode, due to needing to carry out business processing, intelligent cipher equipment can be held High-frequency clock is opened, and carries out parameter adjustment according to the messaging parameter under speed communication mode, to enter speed communication mode.
When needing to carry out business processing, the power supply of safety chip is opened, is powered for safety chip, so that safe core Piece can carry out business processing.
107, under the speed communication mode, the intelligent cipher equipment and the external equipment carry out business datum and lead to Letter;
In the present embodiment, intelligent cipher equipment carries out business datum with external equipment by the connection of established Bluetooth communication Communication, for example, intelligent cipher equipment connects the transaction data for receiving external equipment and sending, intelligent cipher equipment by Bluetooth communication Transaction data etc. after the transaction data is confirmed and signed, after returning to from signature to external equipment.
108, after business datum sign off, the intelligent cipher equipment is set the intelligent cipher equipment to the outside Preparation send initial switching to request, and the messaging parameter under the initial mode is carried in the initial switching request;
In the present embodiment, intelligent cipher equipment determines that the mode of business datum sign off may is that at the business of execution Reason, and after the data after business processing are sent to external equipment, for example, intelligent cipher is set when business processing is signature service It is standby signed to transaction data after transaction data, and the transaction data after signature is sent to external equipment Afterwards, business datum sign off is determined.Certainly, intelligent cipher equipment determines that the mode of business datum sign off may also is that Receive the notification information of the business datum sign off of external equipment transmission.This is not restricted for specific implementation.
109, the intelligent cipher equipment receives the initial switching response that the external equipment is sent, according to the introductory die Messaging parameter under formula switches to the initial mode;
In the present embodiment, after which receives the initial switching request of intelligent cipher equipment transmission, the initial mode Under messaging parameter be that the external equipment is supported, thus, it is initial at this initial switching response to be returned to intelligent cipher equipment The information for agreeing to switching is carried in handoff response, meanwhile, external equipment itself can also join according to the communication under the initial mode Number switches to the mode to match with the initial mode of intelligent cipher equipment.
110, under the initial mode, the low speed switching request is sent to the outside by the intelligent cipher equipment Equipment, the low speed switching request carry the messaging parameter under low speed communication mode;
Wherein, the communication connection interval under the low speed communication mode is greater than between the communication connection under the initial mode Every;
In the present embodiment, after intelligent cipher equipment sends low speed switching request to external equipment, it is low that external equipment receives this Fast switching request, if the messaging parameter under the low-speed mode is that the external equipment supports that external equipment can be to intelligent cipher Equipment returns to low speed handoff response and carries the information for agreeing to switching in the low speed handoff response, meanwhile, external equipment itself Also the mode to match with the low-speed mode can be switched to according to the messaging parameter under the low-speed mode.
In the present embodiment, for the power consumption for reducing intelligent cipher equipment, industry has been executed in intelligent cipher equipment and external equipment After data communication of being engaged in, the mode of low-power consumption will be switched to, for example, low speed communication mode.
111, the intelligent cipher equipment receives the low speed handoff response that the external equipment is sent, and the intelligent cipher is set It is standby to close the screen, the high-frequency clock is closed, the power supply and the intelligent cipher for closing the safety chip are set It is standby that the low speed communication mode is switched to according to the messaging parameter under the low speed communication mode.
In the present embodiment, above-mentioned steps 101-104 realizes that bluetooth is established between intelligent cipher equipment and external equipment is logical Letter connection and bluetooth security match process, and above-mentioned steps 105 are realized to step 111 switches to low speed by speed communication mode Communication pattern.
In the present embodiment, before the execution pattern switching for the first time of intelligent cipher equipment, need to have first carried out bluetooth security pairing Process, that is, bluetooth security pairing process is first carried out, rear execution pattern switching flow ensure that intelligent cipher equipment is set with outside Between standby after successful matching, then execution pattern switching, it is held simultaneously so as to avoid in Bluetooth pairing process and pattern switching process The problem of causing bluetooth connection to disconnect when row.
In addition, it is worth noting that, in the present embodiment, when switching from speed communication mode to low speed communication mode, intelligence is close Decoding apparatus first can switch to initial mode from speed communication mode, issue in initial mode and send low speed switching request, be cut with request Low speed communication mode is shifted to, in the prior art, intelligent cipher equipment is being directly switch into low-speed communication from speed communication mode Mode causes pattern switching to fail since external equipment is not supported to be directly switch into low speed communication mode from speed communication mode It compares, in scheme provided in this embodiment, intelligent cipher equipment first switches to initial mode, due to the communication ginseng under initial mode Number, external equipment are to support, thus, switch to corresponding mode again under initial mode, it can be to avoid height communication pattern The problem of directly switching leads to the failure.
Embodiment 2
The present embodiment provides a kind of intelligent cipher equipment, intelligent cipher equipment is a kind of achievable digital signature, based on number The equipment that word certificate carries out the safety operations such as authentication, the intelligent cipher equipment can be with external equipment (such as mobile phones, POS Machine, PC machine etc.) it cooperates, the confirmation and signature to transaction data are completed in process of exchange.The intelligent cipher equipment is set There are safety chip, the screen for showing data, instructed for realizing the bluetooth communication interface of Bluetooth communication, for input validation Key and for triggering the components such as Bluetooth key for establishing bluetooth connection, can be pressed equipped with bluetooth in usual intelligent cipher equipment Key, in order to facilitate user to manually control the unlatching and disconnection of bluetooth connection.It is understood that when intelligent cipher equipment is only propped up When holding Blue-tooth communication method, intelligent cipher equipment establishes bluetooth company after can also being not provided with the Bluetooth key, such as default booting It connects, bluetooth connection is disconnected after shutdown, naturally it is also possible to which the Bluetooth key is set, and this is not restricted.In intelligent cipher equipment Key can be realized using physical button, certainly, if screen is touch screen, can also be used and be shown virtually by touch screen Key is realized.The key messages such as private key, digital certificate are stored in safety chip, wherein private key can be used for receiving Transaction data is digitally signed, and digital certificate can carry out authentication etc..
As shown in figure 3, intelligent cipher equipment provided in this embodiment includes: bluetooth communication 22, switching control module 23 and safety chip 24;
Bluetooth communication 22, for being set according to the messaging parameter under the initial mode with outside under initial mode It is standby to establish Bluetooth communication connection, wherein the messaging parameter includes at least communication connection interval, the screen of the intelligent cipher equipment Curtain is in the open state;And bluetooth security pairing request is sent to the external equipment, it receives the external equipment and sends Bluetooth security match response;And it after the intelligent cipher equipment and the external equipment successful matching, will switch at high speed Request is sent to the external equipment, and described switch at high speed requests to carry the messaging parameter under speed communication mode, the height Communication connection interval under fast communication pattern is less than the communication connection interval under the initial mode, receives the external equipment hair That send switches at high speed response;
Switching control module 23 opens the power supply of safety chip 24, and according to described for opening high-frequency clock Messaging parameter control intelligent cipher equipment under speed communication mode switches to the speed communication mode;
The bluetooth communication 22, is also used under the speed communication mode, carries out business with the external equipment Data communication;And after business datum sign off, Xiang Suoshu external equipment sends initial switching request, and the initial switching is asked The messaging parameter carried under the initial mode is sought, the initial switching response that the external equipment is sent is received;
The switching control module 23 is also used to control intelligent cipher equipment according to the messaging parameter under the initial mode Switch to the initial mode;
The bluetooth communication 22 is also used under the initial mode, and the intelligent cipher equipment is by the low speed Switching request is sent to the external equipment, and the low speed switching request carries the messaging parameter under low speed communication mode, institute State the communication connection interval that the communication connection interval under low speed communication mode is greater than under the initial mode;The outside is received to set The low speed handoff response that preparation is sent;
The switching control module 23, is also used to close the screen, closes the high-frequency clock, closes the safe core The power supply of piece 24, and the low speed communication mode is switched to according to the messaging parameter under the low speed communication mode.
In the present embodiment, the intelligent cipher equipment is established according to the messaging parameter under the initial mode with external equipment Bluetooth communication connection is accomplished by the information such as intelligent cipher device broadcasts Bluetooth address, and external equipment executes bluetooth equipment Scanning after scanning to intelligent cipher equipment, sends bluetooth connection to intelligent cipher equipment and establishes request, establishes in the bluetooth connection The initial communication parameter of the external equipment is carried in request, which receives the bluetooth of external equipment transmission After request is established in connection, the initial communication parameter of the external equipment is saved and as intelligent cipher equipment under initial mode Messaging parameter, and communicated according to the messaging parameter under the initial mode with external equipment, to complete bluetooth connection foundation Process and bluetooth security pairing process.
In general, needing to carry out business processing with external equipment after the starting of intelligent cipher equipment.Under initial mode, intelligence Encryption device switches at high speed request to external equipment transmission, for requesting to be switched under speed communication mode, to carry out business Processing.
This switch at high speed request in carry intelligent cipher equipment support speed communication mode under messaging parameter, outside Portion's equipment receives after this switches at high speed request, judges whether itself also props up according to the messaging parameter under the speed communication mode It holds, if external equipment also supports the messaging parameter under the speed communication mode, is switched at high speed to the transmission of intelligent cipher equipment Response carries the information for agreeing to be switched to speed communication mode in this switches at high speed and responds.
In the present embodiment, the switching to speed communication mode is actively to be initiated by intelligent cipher equipment, and cutting at a high speed The messaging parameter under the speed communication mode for carrying intelligent cipher equipment itself support in request is changed, external equipment receives high speed If also supporting the speed communication mode after switching request, return switches at high speed response to notify intelligent cipher equipment to carry out mode Switching, while external equipment also can switch to speed communication mode according to the messaging parameter under speed communication mode.With existing skill In art, the switching of mode is usually compared by external equipment initiation, on the one hand, intelligent cipher equipment is actively initiated, and mould can be improved The safety of formula switching, on the other hand, while transmission switches at high speed request, intelligent cipher equipment is by asking switching at high speed The messaging parameter carried under the speed communication mode that itself is supported is sought, external equipment is allowed comparatively fast to know that intelligent cipher is set The standby messaging parameter supported can quickly trigger carry out pattern switching, mention so that external equipment is when also supporting the messaging parameter The high efficiency of pattern switching.
In the present embodiment, before the execution pattern switching for the first time of intelligent cipher equipment, need to have first carried out bluetooth security pairing Process, that is, bluetooth security pairing process is first carried out, rear execution pattern switching flow ensure that intelligent cipher equipment is set with outside Between standby after successful matching, then execution pattern switching, it is held simultaneously so as to avoid in Bluetooth pairing process and pattern switching process The problem of causing bluetooth connection to disconnect when row.
In addition, it is worth noting that, in the present embodiment, when switching from speed communication mode to low speed communication mode, intelligence is close Decoding apparatus first can switch to initial mode from speed communication mode, issue in initial mode and send low speed switching request, be cut with request Low speed communication mode is shifted to, in the prior art, intelligent cipher equipment is being directly switch into low-speed communication from speed communication mode Mode causes pattern switching to fail since external equipment is not supported to be directly switch into low speed communication mode from speed communication mode It compares, in scheme provided in this embodiment, intelligent cipher equipment first switches to initial mode, due to the communication ginseng under initial mode Number, external equipment are to support, thus, switch to corresponding mode again under initial mode, it can be to avoid height communication pattern The problem of directly switching leads to the failure.
As a kind of optional implementation of the present embodiment, the intelligent cipher equipment further include: key production module (figure Do not show), for generating link key, the link key between the intelligent cipher equipment and the external equipment for passing Defeated data are encrypted.
In the present embodiment, which can be used to request to be matched with external equipment;Or the indigo plant The safe pairing request of tooth can also be used to request and be matched with external equipment and negotiate to generate link key, the link key For being encrypted in link layer to the data transmitted between intelligent cipher equipment and external equipment.Compared with the former, Hou Zheke To carry out encryption outflow to the data transmitted between intelligent cipher equipment and external equipment using link key in link layer, improve The safety of data transmission.
Intelligent cipher equipment is connected to external equipment by Bluetooth communication and sends bluetooth security pairing request.External equipment connects After receiving bluetooth security pairing request, if agreeing to, carrying out bluetooth security matches process, sends bluetooth peace to intelligent cipher equipment Full pairing response carries in bluetooth security pairing response for agreeing the information matched safely.
Phase of the relevant information of intelligent cipher equipment in the present embodiment referring also to intelligent cipher equipment in embodiment 1 Close description.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example Property, it is not considered as limiting the invention, those skilled in the art are not departing from the principle of the present invention and objective In the case where can make changes, modifications, alterations, and variations to the above described embodiments within the scope of the invention.The scope of the present invention By appended claims and its equivalent limit.

Claims (4)

1. a kind of switching method of communication pattern characterized by comprising
Intelligent cipher equipment executes according to the messaging parameter under the initial mode under initial mode and establishes indigo plant with external equipment The process of tooth communication connection, wherein the messaging parameter includes at least communication connection interval, the screen of the intelligent cipher equipment It is in the open state;
Bluetooth security pairing request is sent to the external equipment by the intelligent cipher equipment;
The intelligent cipher equipment receives the bluetooth security pairing response that the external equipment is sent;
The intelligent cipher equipment is being set with after the external equipment successful matching, switching at high speed request and be sent to the outside Standby, described switch at high speed requests to carry the messaging parameter under speed communication mode, wherein logical under the speed communication mode Letter connection interval is less than the communication connection interval under the initial mode;
The intelligent cipher equipment receives the response that switches at high speed of the external equipment transmission, and unlatching high-frequency clock opens safety The power supply of chip and the intelligent cipher equipment switch to described according to the messaging parameter under the speed communication mode Speed communication mode;
Under the speed communication mode, the intelligent cipher equipment and the external equipment carry out business datum communication;
After business datum sign off, the intelligent cipher equipment is sent just the intelligent cipher equipment to the external equipment Beginning switching request carries the messaging parameter under the initial mode in initial switching request;
The intelligent cipher equipment receives the initial switching response that the external equipment is sent, according to logical under the initial mode Believe parameter switching to the initial mode;
Under the initial mode, low speed switching request is sent to the external equipment by the intelligent cipher equipment, described low Fast switching request carries the messaging parameter under low speed communication mode, wherein between the communication connection under the low speed communication mode Every the communication connection interval being greater than under the initial mode;
The intelligent cipher equipment receives the low speed handoff response that the external equipment is sent, and the intelligent cipher equipment closes institute Screen is stated, the high-frequency clock is closed, the power supply for closing the safety chip and the intelligent cipher equipment are according to institute It states the messaging parameter under low speed communication mode and switches to the low speed communication mode.
2. the method according to claim 1, wherein in the intelligent cipher equipment and external equipment safety After successful matching, further includes:
The intelligent cipher equipment generates link key, and the link key is used for the intelligent cipher equipment and the outside The data transmitted between equipment are encrypted.
3. a kind of intelligent cipher equipment characterized by comprising
Bluetooth communication, for being established according to the messaging parameter under the initial mode with external equipment under initial mode Bluetooth communication connection, wherein the messaging parameter includes at least communication connection interval, and the screen of the intelligent cipher equipment is in Open state;And bluetooth security pairing request is sent to the external equipment, receive the bluetooth that the external equipment is sent Safety pairing response;And after the intelligent cipher equipment and the external equipment successful matching, request hair will be switched at high speed It send to the external equipment, described switch at high speed requests to carry the messaging parameter under speed communication mode, wherein the high speed Communication connection interval under communication pattern is less than the communication connection interval under the initial mode, receives the external equipment and sends Switch at high speed response;
Switching control module opens the power supply of safety chip, and according to the high-speed communication for opening high-frequency clock Messaging parameter under mode controls the intelligent cipher equipment and switches to the speed communication mode;
The bluetooth communication is also used under the speed communication mode, and it is logical to carry out business datum with the external equipment Letter;And after business datum sign off, Xiang Suoshu external equipment sends initial switching request, takes in the initial switching request With the messaging parameter under the initial mode, the initial switching response that the external equipment is sent is received;
The switching control module is also used to control the intelligent cipher equipment according to the messaging parameter under the initial mode and cut Shift to the initial mode;
The bluetooth communication, is also used under the initial mode, and low speed switching request is sent to the external equipment, The low speed switching request carries the messaging parameter under low speed communication mode, wherein the communication under the low speed communication mode Connection interval is greater than the communication connection interval under the initial mode;Receive the low speed handoff response that the external equipment is sent;
The switching control module, is also used to close the screen, closes the high-frequency clock, closes the confession of the safety chip Power supply, and the intelligent cipher equipment is controlled according to the messaging parameter under the low speed communication mode and switches to the low speed Communication pattern.
4. intelligent cipher equipment according to claim 3, which is characterized in that further include:
Key production module, for generating link key, the link key is used for the intelligent cipher equipment and described outer The data transmitted between portion's equipment are encrypted.
CN201710459165.9A 2017-06-16 2017-06-16 A kind of switching method and intelligent cipher equipment of communication pattern Active CN107277750B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710459165.9A CN107277750B (en) 2017-06-16 2017-06-16 A kind of switching method and intelligent cipher equipment of communication pattern

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710459165.9A CN107277750B (en) 2017-06-16 2017-06-16 A kind of switching method and intelligent cipher equipment of communication pattern

Publications (2)

Publication Number Publication Date
CN107277750A CN107277750A (en) 2017-10-20
CN107277750B true CN107277750B (en) 2019-10-22

Family

ID=60067293

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710459165.9A Active CN107277750B (en) 2017-06-16 2017-06-16 A kind of switching method and intelligent cipher equipment of communication pattern

Country Status (1)

Country Link
CN (1) CN107277750B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107742409B (en) * 2017-11-02 2024-01-02 浙江润华机电有限公司 Multi-channel Bluetooth remote controller and method for electric winch
CN114038176A (en) * 2021-11-29 2022-02-11 四川虹美智能科技有限公司 Object anti-lost method, anti-lost device and equipment terminal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474615A (en) * 2002-06-20 2004-02-11 深圳市中兴通讯股份有限公司上海第二 Radio communication system, radio communication service change-over method and program
CN102346824A (en) * 2010-06-01 2012-02-08 索尼公司 Communication device, reader/writer device, communication system, and communication method
CN106376067A (en) * 2016-08-30 2017-02-01 上海卓易科技股份有限公司 Method and apparatus for reducing power consumption of wearable device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101588800B1 (en) * 2010-11-16 2016-02-12 한국전자통신연구원 Method For Contolling Connection Between Terminals Using Low Speed Network Communication And Device Using The Same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1474615A (en) * 2002-06-20 2004-02-11 深圳市中兴通讯股份有限公司上海第二 Radio communication system, radio communication service change-over method and program
CN102346824A (en) * 2010-06-01 2012-02-08 索尼公司 Communication device, reader/writer device, communication system, and communication method
CN106376067A (en) * 2016-08-30 2017-02-01 上海卓易科技股份有限公司 Method and apparatus for reducing power consumption of wearable device

Also Published As

Publication number Publication date
CN107277750A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
EP3468068B1 (en) Method for establishing classic bluetooth connection between dual-mode bluetooth devices, and dual-mode bluetooth device
JP4894826B2 (en) COMMUNICATION DEVICE, COMMUNICATION SYSTEM, NOTIFICATION METHOD, AND PROGRAM
JP5366990B2 (en) System, child mobile phone, method and program for parental control
KR101638908B1 (en) Dual modem device
EP2806703B1 (en) Method and terminal device for establishing wireless network connection
CN103518418B (en) A kind of method and apparatus connected between bluetooth equipment
EP2041690B1 (en) Method, system and smart card reader for management of access to a smart card
CA2907889C (en) Method and system for processing operation requests
JP7200312B2 (en) Method and terminal device for establishing a hotspot connection
JP5454864B2 (en) IC card and portable terminal system
CN104641669A (en) Apparatus and methods for controlled switching of electronic access clients without requiring network access
CN107113609A (en) The subscriber identity module provider apparatus and method that OTA for subscriber identity module container is arranged
US9247425B2 (en) Security code(s) of apparatus having at least one SIM
CN107277750B (en) A kind of switching method and intelligent cipher equipment of communication pattern
US11758599B2 (en) Bluetooth™ low energy data transfer communication system and method
CN105323824A (en) WIFI equipment, electronic device and method for assisting WIFI equipment access to network
TWI827607B (en) Device for wireless communication handover
JP2019520653A (en) System on chip and terminal
US7870305B2 (en) Proxy association for devices
CN103139373A (en) Mobile communications device providing secure element data wiping features and related methods
CN107396281A (en) The switching method and intelligent cipher equipment of a kind of communication pattern
JP2006252531A (en) Electronic settlement method and mobile communication terminal equipment therefor
CN107465995B (en) Communication mode switching method and intelligent password equipment
CN104427097B (en) Terminal device and changing method
CN107205216B (en) Communication mode switching method and intelligent password equipment

Legal Events

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