CN107454558A - A kind of method that master-slave equipment reaches bluetooth and connected automatically by sharing information - Google Patents
A kind of method that master-slave equipment reaches bluetooth and connected automatically by sharing information Download PDFInfo
- Publication number
- CN107454558A CN107454558A CN201710664350.1A CN201710664350A CN107454558A CN 107454558 A CN107454558 A CN 107454558A CN 201710664350 A CN201710664350 A CN 201710664350A CN 107454558 A CN107454558 A CN 107454558A
- Authority
- CN
- China
- Prior art keywords
- slave unit
- main equipment
- information
- shared information
- bluetooth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/005—Discovery of network devices, e.g. terminals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0869—Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0643—Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0869—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic 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/3236—Cryptographic 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 using cryptographic hash functions
- H04L9/3239—Cryptographic 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 using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/02—Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- 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)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Power Engineering (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention discloses a kind of method that master-slave equipment reaches bluetooth and connected automatically by sharing information, including:Main equipment obtains the shared information of slave unit;The bluetooth connection information that main equipment passes through the shared information acquisition slave unit;Main equipment initiates connection request to slave unit;Main equipment carries out mutual identity authentication with slave unit, if certification is by the way that realizing bluetooth, invention achieves following effect for connection automatically:(1) irreversible pretreatment is done before information sharing, avoids leakage of information;(2) equipment can not be directly connected to by non-contacting mode, ensure the true of information;(3) be not present multiple slave units between interfere;(4) simple, intuitive, simple operation;(5) flow complexity during reuse is reduced;(6) checking between master-slave equipment is completed based on shared information, without using key;(7) retrieval information is set, shared information is protected;(8) completed by way of technique or software, do not increase cost.
Description
Technical field
The present invention relates to Bluetooth communication field, it is automatic that bluetooth reached by shared information more particularly to a kind of master-slave equipment
The method of connection.
Background technology
In the prior art, some bluetooth connection schemes are using the side connected one by one after the legitimacy for demonstrating device name
Formula, and be that automatic connection, matching code etc. is all Software Create, security is only embodied in the secrecy of custom algorithm, right
Main equipment and slave unit do not verify means effectively.Also, connect again in use, needing to screen slave unit on the master first
Connect, it is impossible to matching is intuitively realized between entity slave unit;In addition, change when main equipment does application operating, it is necessary to repeat to connect
Connect slave unit.
Other scheme is by increasing hardware store, is connected automatically come what is realized by NFC or other communication channels
Connect, bring the increase of hardware cost.
Therefore, a kind of method that master-slave equipment reaches bluetooth and connected automatically by sharing information how is researched and developed, is become as urgently
Technical problem to be solved.
The content of the invention
The subject matter that the present invention solves is to provide a kind of master-slave equipment and reaches what bluetooth connected automatically by shared information
Method, to solve safety, the technical problem of simply and intuitively bluetooth connection between the main equipment that can not be realized and slave unit.
In order to solve the above-mentioned technical problem, to reach bluetooth by shared information the invention discloses a kind of master-slave equipment automatic
The method of connection, comprises the following steps:
Main equipment obtains the shared information of slave unit;
The bluetooth connection information that main equipment passes through the shared information acquisition slave unit;
Main equipment initiates connection request to slave unit;
Main equipment carries out mutual identity authentication with slave unit, if certification is by realizing that bluetooth connects automatically.
Further, the main equipment obtains the shared information of slave unit, including:
Main equipment obtains the shared information defaulted in the slave unit by scanning;Or
Main equipment obtains the shared information being pre-stored in the main equipment restored list or in server by inquiring about.
Further, the bluetooth connection information, including:Bluetooth title, MAC Address, or pairing code.
Further, the main equipment is by the bluetooth connection information of the shared information acquisition slave unit, in addition to:
The main equipment carries out irreversible operation to the shared information, and the irreversible operation is SHA, SM3 summary
Computing, or CRC operation.
Further, in addition to:
The main equipment obtains the user profile of the slave unit, is set to the retrieval to match with the slave unit
Information, and the retrieval information is sent into the main equipment restored list or server with the shared information and stored, should
Retrieval information is used to be matched with the shared information of the slave unit in the main equipment restored list or server.
Further, in addition to:The shared information is encrypted, and it is symmetrical close with the private key protection of birth certificate
Key.
Further, the mutual identity authentication, including:Legitimacy certification of the main equipment to slave unit, and slave unit pair
The legitimacy certification of main equipment, wherein,
Legitimacy certification of the main equipment to slave unit, comprises the following steps:
Step A:Main equipment sends random number r1 to slave unit;
Step B:Shared information UD and r1 is organized data (UD | r1) by slave unit, and the computing that makes an abstract obtains H1;
Step C:Slave unit sends H1 to main equipment;
Step D:Main equipment receives H1, and checking data are correct, then slave unit is legal;
Legitimacy certification of the slave unit to main equipment, comprises the following steps:
Step a:Slave unit generates random number r2, and r2 is sent to main equipment;
Step b:Main equipment receives r2, shared information UD and r2 is organized into data (UD | r2), the computing that makes an abstract obtains
H2;
Step c:H2 is returned to slave unit by main equipment;
Step d:Slave unit receives H2, and checking data are correct, then main equipment is legal.
Further, the retrieval information is the user name of the slave unit, cell-phone number, or account information.
Further, the shared information is shown in the slave unit by Quick Response Code, bar code, or image information mode
On.
Further, the shared information is the sequence number of the slave unit, user profile, or issues unit.
Compared with prior art, a kind of master-slave equipment of the present invention reaches what bluetooth connected automatically by shared information
Method, following effect is reached:
1st, the irreversible pretreatment such as SHA, SM3 or CRC is done before the present invention is shared to facility information, avoids leakage of information;
2nd, technical scheme of the present invention ensures that equipment can not be directly connected to by non-contacting mode, it is necessary to pass through service
Device, operating personnel judgement in the case of operation equipment, ensure the true of information, slave unit is effective;
3rd, the slave unit of main equipment of the present invention and phase responsibility connects automatically, is interfered in the absence of between multiple slave units;
4th, the shared information acquiring pattern (by scanning the modes such as bar code, Quick Response Code, image) that the present invention highlights,
Simple, intuitive, simple operation, reduce the complexity that bluetooth equipment connects;
5th, present invention reduces flow complexity when reusing;
6th, the checking between master-slave equipment of the present invention is completed based on the shared constraint of shared information, without using key;
7th, the present invention retrieves information by setting, and shared information is protected, because shared information is usually compared with privacy
Information, be not suitable for open, retrieve information by setting, retrieval obtains more intuitive user profile and is replaced, and allows user to sentence
Whether disconnected information is accurate, not only intuitively, also shared information has been done and once pretended;
8th, the present invention can be completed by way of technique or software, not increase extra cost.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, forms the part of the present invention, this hair
Bright schematic description and description is used to explain the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the side that a kind of master-slave equipment described in the embodiment of the present invention 1 reaches bluetooth and connected automatically by sharing information
The flow chart of method;
Fig. 2 is the side that a kind of master-slave equipment described in the embodiment of the present invention 2 reaches bluetooth and connected automatically by sharing information
The flow chart of method;
Fig. 3 is the side that a kind of master-slave equipment described in the embodiment of the present invention 3 reaches bluetooth and connected automatically by sharing information
The flow chart of method;
Fig. 4 is the side that a kind of master-slave equipment described in the embodiment of the present invention 4 reaches bluetooth and connected automatically by sharing information
The flow chart of method;
Fig. 5 is the side that a kind of master-slave equipment described in the embodiment of the present invention 5 reaches bluetooth and connected automatically by sharing information
The flow chart of method.
Embodiment
Some vocabulary has such as been used to censure specific components among specification and claim.Those skilled in the art should
It is understood that hardware manufacturer may call same component with different nouns.This specification and claims are not with name
The difference of title is used as the mode for distinguishing component, but is used as the criterion of differentiation with the difference of component functionally.Such as logical
The "comprising" of piece specification and claim mentioned in is an open language, therefore should be construed to " include but do not limit
In "." substantially " refer in receivable error range, those skilled in the art can be described within a certain error range solution
Technical problem, basically reach the technique effect.Specification subsequent descriptions are so described to implement the better embodiment of the present invention
Description is for the purpose of illustrating the rule of the present invention, is not limited to the scope of the present invention.Protection scope of the present invention
It is defined when depending on appended claims institute defender.
The present invention is described in further detail below in conjunction with accompanying drawing, but it is not as a limitation of the invention.
Embodiment 1
As shown in figure 1, the present embodiment provides a kind of method that master-slave equipment reaches bluetooth and connected automatically by sharing information,
Comprise the following steps:
Main equipment obtains the shared information of slave unit;
The bluetooth connection information that main equipment passes through the shared information acquisition slave unit;
Main equipment initiates connection request to slave unit;
Main equipment carries out mutual identity authentication with slave unit, if certification is by realizing that bluetooth connects automatically.
Preferably, the main equipment obtains the shared information of slave unit, including:Main equipment defaults in institute by scanning acquisition
State the shared information in slave unit;Or main equipment is pre-stored in the main equipment restored list or in server by inquiring about to obtain
The shared information.
Specifically, the main equipment obtains the shared information of slave unit, can also be obtained and defaulted in by modes such as scannings
Shared information in the slave unit.The shared information defaulted in slave unit, can be by printing, portraying, putting up
Form is arranged at the shared information in the slave unit, and it shows form and included but is not limited to:Quick Response Code, bar code, image etc.;
Certainly, the shared information defaulted in slave unit, or showed by display screen in slave unit.It is in addition, described
Main equipment obtains the shared information of slave unit, can also be pre-stored in by inquiring about acquisition in the main equipment restored list or server
In the shared information, in actual applications, after master-slave equipment First Contact Connections are completed, the shared information can be stored in this
In the restored list of main equipment, and/or it is sent to server and is stored, when carrying out second or subsequently connecting, the master
Equipment can first inquire about shared information in local restored list, if so, the shared information is then directly obtained, if in the row that locally prestore
Failure is inquired about in table, then obtains shared information by connection server again, reaches connection purpose.
Preferably, the bluetooth connection information, including:Bluetooth title, MAC Address, or pairing code.Specifically, it is described to match somebody with somebody
It is that main equipment and slave unit are each calculated by shared information to code, master polls obtain the pairing of slave unit broadcast
Code, the slave unit for the pairing code matching being only calculated with main equipment can be initiated to connect by main equipment.
Preferably, the main equipment is by the bluetooth connection information of the shared information acquisition slave unit, in addition to:It is described
Main equipment carries out irreversible operation to the shared information, and the irreversible operation is SHA (SHAxxx), SM3 summary computing,
CRC operation, or custom algorithm.Specifically, SHA (Secure Hash Algorithm) is calculated by U.S.'s tailor password
What the standards body of method --- USA National Institute of Standard and Technology (NIST) formulated, the length of summarization difference of SHA serial algorithms
For:SHA is 20 bytes (160), SHA256 is 32 bytes (256), SHA384 is 48 bytes (384), SHA512 64
Byte (512).The length of summarization of SM3 algorithms is 32 bytes (256).The algorithm was issued as password professional standard in 2012
(GM/T 0004-2012), it is issued as within 2016 national cryptographic Hash algorithm standard rules (GB/T 32905-2016).Caused data
The length of summary is longer, is more difficult to collide.CRC (Cyclic Redundancy Check) CRC is by dividing
The branch of group liner code, mainly application is binary code character for it.Coding is simple and probability of miscarriage of justice is very low, in a communications system
To being widely applied, general CRC standards have CRC-8, CRC-16, CRC-32, CRC-CCIT, wherein in network communicating system
In it is most widely used be CRC-32 standards.The custom algorithm is replaces with ' X ' to partial data, and and shared data
SHA, SM3, the combination of CRC operation result are drawn.
Preferably, the Bluetooth connecting method also includes:The main equipment obtains the user profile of the slave unit, by it
The retrieval information to match with the slave unit is arranged to, and the retrieval information and the shared information are sent to the main equipment
Stored in restored list or server, the retrieval information be used in the main equipment restored list or server with it is described from
The shared information of equipment is matched.Specifically, it is usually the information compared with privacy to share information, is not suitable for disclosure, passes through setting
Information is retrieved, whether retrieval obtains more intuitive user profile and is replaced, make user judgment information accurate, not only intuitively,
Also shared information has been done and once pretended.In actual applications, the retrieval information can be carried out preferentially in local restored list
Retrieval, so as to obtain the shared information to match, if retrieval failure, reconnects server, retrieve shared information accordingly.
Preferably, the retrieval information is the user name of the slave unit, cell-phone number, or account information.Actually using
In, the retrieval information can be consistent with user profile.The setting of the retrieval information, shared information on the one hand can be protected,
Prevent shared information leakage;On the other hand facilitate the discrimination directly perceived of user or operator to information, increase the convenient of validation of information
Property.
Specifically, when the main equipment obtains the shared information of slave unit, the main equipment obtains described from setting simultaneously
Standby user name etc. retrieves information, and it is together sent to server with the shared information and stored, so that next time steps on
Used during record.Such as:In practical application, when user's login service device on the master, server can first obtain slave unit
Retrieval information, such as user name or cell-phone number, the shared information of the slave unit is then obtained by the retrieval information retrieval, from
And the shared information is sent to main equipment.
Preferably, the Bluetooth connecting method also includes:The shared information is encrypted, and with birth certificate
Private key protects symmetric key.
Specifically, for slave unit by shared information sharing to main equipment, shared packet, which contains, is not limited to sequence number, Yong Huxin
The information of breath, distribution unit etc.;To sharing the sensitive information in information, can be encrypted, and with the private key of birth certificate
Symmetric key is protected, ensures the integrality of data.Such as:Legacy data in Quick Response Code is SN:
3031323334353637383930;Data segment 3031323334353637383930 is encrypted to
12345678901234567890, obtain new data segment:UD:12345678901234567890;KD:
Xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx, SIG:xxxxxxxxxxxxxxxxxxxx.KD is pair of birth certificate protection
Claiming key, plaintext signature obtained by private key, SIG is private key to SN | the summary result that KD is obtained signs to obtain, and ensures data
Integrality.
In, main equipment shares the information such as information, verifies the conjunction of data by obtaining birth certificate public key from server
Method, so as to obtain key message during connection:Bluetooth device name or MAC.
Preferably, the mutual identity authentication, including:Legitimacy certification of the main equipment to slave unit, and slave unit is to master
The legitimacy certification of equipment, wherein,
Legitimacy certification of the main equipment to slave unit, comprises the following steps:
Step A:Main equipment sends random number r1 to slave unit;
Step B:Shared information UD and r1 is organized data (UD | r1) by slave unit, and the computing that makes an abstract (SHA, SM3) obtains
H1;
Step C:Slave unit sends H1 to main equipment;
Step D:Main equipment receives H1, and checking data are correct, then slave unit is legal;
Legitimacy certification of the slave unit to main equipment, comprises the following steps:
Step a:Slave unit generates random number r2, and r2 is sent to main equipment;
Step b:Main equipment receives r2, and shared information UD and r2 organized into data (UD | r2), the computing that makes an abstract (SHA,
SM3 H2) is obtained;
Step c:H2 is returned to slave unit by main equipment;
Step d:Slave unit receives H2, and checking data are correct, then main equipment is legal.
Preferably, the shared information is shown in the slave unit by Quick Response Code, bar code, or image information mode
On.Specifically, the shared information, can be by printing, portraying, the form such as putting up and be arranged in the slave unit, and it shows
Form includes but is not limited to:Quick Response Code, bar code, image etc.;Certainly, the shared information, or pass through display screen exhibition
Now in slave unit, i.e. display screen is provided with the slave unit, for showing the shared information.
Preferably, the shared information is the sequence number of the slave unit, user profile, or issues unit, it is ensured that described
Shared information is unique mark.
Embodiment 2
As shown in Fig. 2 the present embodiment provides a kind of method that master-slave equipment reaches bluetooth and connected automatically by sharing information,
Comprise the following steps:
Step 1:User's login service device on the master;
Step 2:Server obtains the retrieval information such as user name, cell-phone number, and the shared information of slave unit is obtained by retrieval;
Step 3:Server sends shared information to main equipment;
Step 4:Main equipment calculates bluetooth title, the MAC Address of slave unit, or pairing code by sharing information;
Step 5:Main equipment initiates connection request to slave unit;
Step 6:Main equipment carries out mutual identity authentication with slave unit, if certification is by realizing that bluetooth connects automatically.
Embodiment 3
As shown in figure 3, the present embodiment provides another master-slave equipment reaches what bluetooth connected automatically by shared information
Method, when it is applied to master and slave equipment First Contact Connections, shared information and user profile are bundled.
Specifically, comprise the following steps:
Step 1:By the Quick Response Code or bar code of the application scan slave unit of main equipment, shared information is obtained;
Step 2:Main equipment uploads onto the server the shared information of slave unit, user profile (retrieval information);
Step 3:Information and user profile (retrieval information) are shared described in server storage, forms one-to-one relationship, with
Just retrieved during non-first connection;
Step 4:Main equipment calculates bluetooth title, the MAC Address of slave unit, or pairing code by sharing information;
Step 5:Main equipment is to the main initiation connection request of slave unit;
Step 6:Slave unit judges that information correctly then completes automatic connection, and user can perform application operating in main equipment.
Embodiment 4
As shown in figure 4, the present embodiment provides another master-slave equipment reaches what bluetooth connected automatically by shared information
Method, such case are that later each connection can be more convenient after First Contact Connections success.
Specifically, comprise the following steps:
Step 1:Main equipment by obtaining the user profile (information such as the cell-phone number that inputs, account) of slave unit, so as to
Retrieve shared information;It is described to retrieve shared information and be retrieved by server, it can also be examined in main equipment cache list
Rope obtains;
Step 2:Main equipment calculates bluetooth title, the MAC Address of slave unit, or pairing code by sharing information;
Step 3:Main equipment initiates connection request to slave unit;
Step 4:Slave unit judges that information correctly then completes automatic connection, and user can perform application operating in main equipment.
Embodiment 5
As shown in figure 5, main the present embodiment provides another master-slave equipment reaches what bluetooth connected automatically by shared information
Method, comprise the following steps:
Step 1:Shared information is obtained by the Quick Response Code or bar code of the application scan slave unit of main equipment;
Step 2:Main equipment calculates bluetooth title, the MAC Address of slave unit, or pairing code by sharing information;
Step 3:Main equipment initiates connection request to slave unit;
Step 4:Slave unit judges that information correctly then completes automatic connection, and user can perform application operating in main equipment.
Compared with prior art, a kind of master-slave equipment of the present invention reaches what bluetooth connected automatically by shared information
Method, following effect is reached:
1st, the irreversible pretreatment such as SHA, SM3 or CRCxx is done before the present invention is shared to facility information, avoids leakage of information;
2nd, technical scheme of the present invention ensures that equipment can not be directly connected to by non-contacting mode, it is necessary to pass through service
Device, operating personnel judgement in the case of operation equipment, ensure the true of information, slave unit is effective;
3rd, the slave unit of main equipment of the present invention and phase responsibility connects automatically, is interfered in the absence of between multiple slave units;
4th, the shared information acquiring pattern (by scanning the modes such as bar code, Quick Response Code, image) that the present invention highlights,
Simple, intuitive, simple operation, reduce the complexity that bluetooth equipment connects;
5th, present invention reduces flow complexity when reusing;
6th, the checking between master-slave equipment of the present invention is completed based on the shared constraint of shared information, without using key;
7th, the present invention retrieves information by setting, and shared information is protected, because shared information is usually compared with privacy
Information, be not suitable for open, retrieve information by setting, retrieval obtains more intuitive user profile and is replaced, and allows user to sentence
Whether disconnected information is accurate, not only intuitively, also shared information has been done and once pretended;
8th, the present invention can be completed by way of technique or software, not increase extra cost.
Some preferred embodiments of the present invention have shown and described in described above, but as previously described, it should be understood that the present invention
Be not limited to form disclosed herein, be not to be taken as the exclusion to other embodiment, and available for various other combinations,
Modification and environment, and above-mentioned teaching or the technology or knowledge of association area can be passed through in application contemplated scope described herein
It is modified., then all should be in this hair and the change and change that those skilled in the art are carried out do not depart from the spirit and scope of the present invention
In the protection domain of bright appended claims.
Claims (10)
1. a kind of method that master-slave equipment reaches bluetooth and connected automatically by sharing information, it is characterised in that comprise the following steps:
Main equipment obtains the shared information of slave unit;
The bluetooth connection information that main equipment passes through the shared information acquisition slave unit;
Main equipment initiates connection request to slave unit;
Main equipment carries out mutual identity authentication with slave unit, if certification is by realizing that bluetooth connects automatically.
2. Bluetooth connecting method according to claim 1, it is characterised in that the main equipment obtains the shared letter of slave unit
Breath, including:
Main equipment obtains the shared information defaulted in the slave unit by scanning;Or
Main equipment obtains the shared information being pre-stored in the main equipment restored list or in server by inquiring about.
3. Bluetooth connecting method according to claim 1, it is characterised in that the bluetooth connection information, including:Bluetooth name
Claim, MAC Address, or pairing code.
4. Bluetooth connecting method according to claim 3, it is characterised in that the main equipment is obtained by the shared information
The bluetooth connection information of slave unit is obtained, in addition to:
The main equipment carries out irreversible operation to the shared information, and the irreversible operation is SHA, SM3 summary computing,
Or CRC operation.
5. Bluetooth connecting method according to claim 1, it is characterised in that also include:
The main equipment obtains the user profile of the slave unit, is set to believe with the retrieval that the slave unit matches
Breath, and the retrieval information is sent into the main equipment restored list or server with the shared information and stored, the inspection
Rope information is used to be matched with the shared information of the slave unit in the main equipment restored list or server.
6. Bluetooth connecting method according to claim 1, it is characterised in that also include:The shared information is added
Close processing, and protect symmetric key with the private key of birth certificate.
7. Bluetooth connecting method according to claim 1, it is characterised in that the mutual identity authentication, including:Main equipment
Legitimacy certification to slave unit, and legitimacy certification of the slave unit to main equipment, wherein,
Legitimacy certification of the main equipment to slave unit, comprises the following steps:
Step A:Main equipment sends random number r1 to slave unit;
Step B:Shared information UD and r1 is organized data (UD | r1) by slave unit, and the computing that makes an abstract obtains H1;
Step C:Slave unit sends H1 to main equipment;
Step D:Main equipment receives H1, and checking data are correct, then slave unit is legal;
Legitimacy certification of the slave unit to main equipment, comprises the following steps:
Step a:Slave unit generates random number r2, and r2 is sent to main equipment;
Step b:Main equipment receives r2, shared information UD and r2 is organized into data (UD | r2), the computing that makes an abstract obtains H2;
Step c:H2 is returned to slave unit by main equipment;
Step d:Slave unit receives H2, and checking data are correct, then main equipment is legal.
8. Bluetooth connecting method according to claim 5, it is characterised in that the retrieval information is the use of the slave unit
Name in an account book, cell-phone number, or account information.
9. Bluetooth connecting method according to claim 1, it is characterised in that the shared information passes through Quick Response Code, bar shaped
Code, or image information mode are shown in the slave unit.
10. Bluetooth connecting method according to claim 1, it is characterised in that the shared information is the slave unit
Sequence number, user profile, or distribution unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710664350.1A CN107454558B (en) | 2017-08-02 | 2017-08-02 | Method for achieving Bluetooth automatic connection of master device and slave device through shared information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710664350.1A CN107454558B (en) | 2017-08-02 | 2017-08-02 | Method for achieving Bluetooth automatic connection of master device and slave device through shared information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107454558A true CN107454558A (en) | 2017-12-08 |
CN107454558B CN107454558B (en) | 2020-11-24 |
Family
ID=60490836
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710664350.1A Active CN107454558B (en) | 2017-08-02 | 2017-08-02 | Method for achieving Bluetooth automatic connection of master device and slave device through shared information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107454558B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108305068A (en) * | 2018-01-17 | 2018-07-20 | 深圳喆行科技有限公司 | A kind of recharge method and system of stored value card |
CN111147602A (en) * | 2019-12-31 | 2020-05-12 | 湖南中联重科智能技术有限公司 | Networking method and networking device for master vehicle and slave vehicle |
WO2020133566A1 (en) * | 2018-12-28 | 2020-07-02 | 江苏惠通集团有限责任公司 | Method and apparatus for seeking remote control device, and storage medium, intelligent terminal, server, and remote control system |
CN111901122A (en) * | 2020-07-14 | 2020-11-06 | 万通智控科技股份有限公司 | Method for automatically matching head trailer and receiver |
CN112351414A (en) * | 2020-10-26 | 2021-02-09 | 北京达佳互联信息技术有限公司 | Equipment control method, device, system and storage medium |
CN112351390A (en) * | 2019-08-09 | 2021-02-09 | 华为技术有限公司 | Method for mutual identification or mutual communication of Bluetooth devices |
CN113676879A (en) * | 2020-05-14 | 2021-11-19 | 华为技术有限公司 | Method, electronic device and system for sharing information |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104113362A (en) * | 2013-04-17 | 2014-10-22 | 深圳中兴网信科技有限公司 | Bluetooth pairing method and device |
CN104378145A (en) * | 2014-11-27 | 2015-02-25 | 北京深思数盾科技有限公司 | Pairing method and system of Bluetooth device |
CN104954050A (en) * | 2015-05-08 | 2015-09-30 | 深圳君正时代集成电路有限公司 | Method and system for establishing connection between Bluetooth devices and device |
CN105025433A (en) * | 2015-07-09 | 2015-11-04 | 广东欧珀移动通信有限公司 | Bluetooth pairing method and terminal |
CN105554908A (en) * | 2015-12-31 | 2016-05-04 | 福建联迪商用设备有限公司 | Method, master device, slave device and system for achieving code scanning automatic bluetooth connection |
US20160277875A1 (en) * | 2013-12-13 | 2016-09-22 | Symbol Technologies, Llc | Method of and system for pairing a bluetooth master device with a bluetooth slave device that is selected from a group of bluetooth slave devices that are in bluetooth-discoverable range with the bluetooth master device |
-
2017
- 2017-08-02 CN CN201710664350.1A patent/CN107454558B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104113362A (en) * | 2013-04-17 | 2014-10-22 | 深圳中兴网信科技有限公司 | Bluetooth pairing method and device |
US20160277875A1 (en) * | 2013-12-13 | 2016-09-22 | Symbol Technologies, Llc | Method of and system for pairing a bluetooth master device with a bluetooth slave device that is selected from a group of bluetooth slave devices that are in bluetooth-discoverable range with the bluetooth master device |
CN104378145A (en) * | 2014-11-27 | 2015-02-25 | 北京深思数盾科技有限公司 | Pairing method and system of Bluetooth device |
CN104954050A (en) * | 2015-05-08 | 2015-09-30 | 深圳君正时代集成电路有限公司 | Method and system for establishing connection between Bluetooth devices and device |
CN105025433A (en) * | 2015-07-09 | 2015-11-04 | 广东欧珀移动通信有限公司 | Bluetooth pairing method and terminal |
CN105554908A (en) * | 2015-12-31 | 2016-05-04 | 福建联迪商用设备有限公司 | Method, master device, slave device and system for achieving code scanning automatic bluetooth connection |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108305068A (en) * | 2018-01-17 | 2018-07-20 | 深圳喆行科技有限公司 | A kind of recharge method and system of stored value card |
CN108320152A (en) * | 2018-01-17 | 2018-07-24 | 深圳喆行科技有限公司 | A kind of recharge method and system of stored value card |
CN108322902A (en) * | 2018-01-17 | 2018-07-24 | 深圳喆行科技有限公司 | A kind of data transmission method and data transmission system |
WO2020133566A1 (en) * | 2018-12-28 | 2020-07-02 | 江苏惠通集团有限责任公司 | Method and apparatus for seeking remote control device, and storage medium, intelligent terminal, server, and remote control system |
CN112351390A (en) * | 2019-08-09 | 2021-02-09 | 华为技术有限公司 | Method for mutual identification or mutual communication of Bluetooth devices |
CN111147602A (en) * | 2019-12-31 | 2020-05-12 | 湖南中联重科智能技术有限公司 | Networking method and networking device for master vehicle and slave vehicle |
CN111147602B (en) * | 2019-12-31 | 2022-06-14 | 湖南中联重科智能技术有限公司 | Networking method and networking device for master vehicle and slave vehicle |
CN113676879A (en) * | 2020-05-14 | 2021-11-19 | 华为技术有限公司 | Method, electronic device and system for sharing information |
CN111901122A (en) * | 2020-07-14 | 2020-11-06 | 万通智控科技股份有限公司 | Method for automatically matching head trailer and receiver |
CN111901122B (en) * | 2020-07-14 | 2024-03-08 | 万通智控科技股份有限公司 | Method for automatically matching head trailer and receiver |
CN112351414A (en) * | 2020-10-26 | 2021-02-09 | 北京达佳互联信息技术有限公司 | Equipment control method, device, system and storage medium |
CN112351414B (en) * | 2020-10-26 | 2021-11-02 | 北京达佳互联信息技术有限公司 | Equipment control method, device, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107454558B (en) | 2020-11-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107454558A (en) | A kind of method that master-slave equipment reaches bluetooth and connected automatically by sharing information | |
US11606213B2 (en) | On-vehicle authentication system, communication device, on-vehicle authentication device, communication device authentication method and communication device manufacturing method | |
CN103795545B (en) | Safety communication method and system | |
WO2015186825A1 (en) | Communication network system, transmission node, reception node, message checking method, and computer program | |
CN107040922A (en) | Wireless network connecting method, apparatus and system | |
US20040177248A1 (en) | Network connection system | |
CN105554760B (en) | Wireless access point authentication method, apparatus and system | |
CN108762791A (en) | Firmware upgrade method and device | |
CN102273239A (en) | Solutions for identifying legal user equipments in a communication network | |
EP1280312A2 (en) | Methods, systems and computer program products for checking the validity of data | |
CN113138775B (en) | Firmware protection method and system for vehicle-mounted diagnosis system | |
CN106102058A (en) | A kind of identity identifying method and device | |
CN104247485A (en) | Network application function authorisation in a generic bootstrapping architecture | |
CN110635901A (en) | Local Bluetooth dynamic authentication method and system for Internet of things equipment | |
CN106605419A (en) | Method and system for secure SMS communications | |
CN108259460A (en) | Apparatus control method and device | |
CN109391473B (en) | Electronic signature method, device and storage medium | |
WO2015178597A1 (en) | System and method for updating secret key using puf | |
CN115473655A (en) | Terminal authentication method, device and storage medium for access network | |
CN115225672A (en) | End-to-end data transmission method, device and medium | |
CN103856938B (en) | A kind of method of encrypting and decrypting, system and equipment | |
CN107426251A (en) | Terminal security detection method and device | |
CN105187417A (en) | Authority obtaining method and device | |
CN110175471B (en) | File storage method and system | |
CN115344848B (en) | Identification acquisition method, device, equipment and computer readable storage medium |
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 | ||
CB03 | Change of inventor or designer information |
Inventor after: Yue Yunlong Inventor after: Li Dengfeng Inventor before: Li Dengfeng |
|
CB03 | Change of inventor or designer information |