CN107040289A - Information transferring method and its device based on Near Field Communication - Google Patents
Information transferring method and its device based on Near Field Communication Download PDFInfo
- Publication number
- CN107040289A CN107040289A CN201611095180.1A CN201611095180A CN107040289A CN 107040289 A CN107040289 A CN 107040289A CN 201611095180 A CN201611095180 A CN 201611095180A CN 107040289 A CN107040289 A CN 107040289A
- Authority
- CN
- China
- Prior art keywords
- sequence number
- recipient
- sender
- random sequence
- checking token
- 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
- 238000004891 communication Methods 0.000 title claims abstract description 65
- 238000000034 method Methods 0.000 title claims abstract description 21
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000012795 verification Methods 0.000 abstract description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000012546 transfer Methods 0.000 description 3
- 230000004807 localization Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B5/00—Near-field transmission systems, e.g. inductive or capacitive transmission systems
- H04B5/70—Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00571—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00896—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
-
- 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/321—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 involving a third party or a trusted authority
- H04L9/3213—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 involving a third party or a trusted authority using tickets or tokens, e.g. Kerberos
-
- 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/3226—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 a predetermined code, e.g. password, passphrase or PIN
- H04L9/3228—One-time or temporary data, i.e. information which is sent for every authentication or authorization, e.g. one-time-password, one-time-token or one-time-key
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00309—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks
- G07C2009/0042—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed
- G07C2009/00476—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed dynamically
- G07C2009/005—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated with bidirectional data transmission between data carrier and locks the transmitted data signal containing a code which is changed dynamically whereby the code is a random code
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Signal Processing (AREA)
- Lock And Its Accessories (AREA)
Abstract
The invention discloses the information transferring method based on Near Field Communication and its device, this method includes:First communication ends generate one group of checking token, and the second communication ends generate one group of checking token, and respective checking token is sent to other side and stored;Any in first communication ends and the second communication ends is sender, and another is recipient;Sender generates one group of random sequence number at random, and the checking token, random sequence number and the control information that are stored are sent to recipient;Recipient judges whether the checking token that sender sends is identical with checking token of its generation, and judges whether this sender random sequence number sent and the random sequence number stored before this have identical.The advantage of the invention is that by adding one group of different random sequence number every time in the control information that sender sends, and the checking token of other side that one group of both sides prestores, double verification judgement is carried out, the unblock security of electronic lock is improved.
Description
Technical field
The present invention relates to the information transmission technology, more particularly to information transferring method and its device based on Near Field Communication.
Background technology
With the rise of each big net about car platform, net about car gradually facilitates the life of people;Now, there is a kind of Novel net about
Car quietly rises, and its walking-replacing tool becomes bicycle by automobile.Present each big city, can see the net being seen everywhere
About bicycle, it is only necessary to which user is registered on the platform of the net about car, you can use the net about bicycle under the platform.And
And net about bicycle does not have personal management, realized by the communication of the intelligent electronic lock and user mobile phone that are carried on bicycle pair
The management of bicycle and use;Although such management mode facilitates the peaceful Tianwan businessman family of user, but still suffers from many problems,
Many unique people can go to crack the intelligent electronic lock of net about bicycle using some hacking techniques, and most common way is
Intelligent electronic lock is sent information to by Replay Attack difference, so that intelligent electronic lock collapses.
The content of the invention
In order to overcome the deficiencies in the prior art, it is an object of the invention to provide the information transfer side based on Near Field Communication
Method and its device, it can improve the security of the unblock of intelligent electronic lock.
The purpose of the present invention is realized using following technical scheme:
Information transferring method based on Near Field Communication, comprises the following steps:
S1, the first communication ends generate one group of checking token, and transmission to the second communication ends are stored;Second communication ends are given birth to
Into one group of checking token, and send to the first communication ends and stored;
Any one in S2, the first communication ends and the second communication ends is as sender, and another is used as recipient;Sender
One group of random sequence number is generated at random, and the checking token, random sequence number and the control information that are stored are sent to recipient;
The random sequence number that S3, recipient's storage are this time received;Meet following two conditions simultaneously to be then verified, receive
Fang Zhihang control information, otherwise abandons control information, and flow terminates;Two conditions are:Checking token that sender sends and
The checking token of recipient's generation is identical, this time the random sequence number that sends of sender and recipient stored before this time with
Machine sequence number is not identical.
Preferably, the checking token is made up of a number of random number.
Information carrying means based on Near Field Communication, including:
First token generation module, applied to the first communication ends, for generating one group of checking token at random, and sends to the
Two communication ends are stored;
Second token generation module, applied to the second communication ends, for generating one group of checking token at random, and sends to the
One communication ends are stored.
Serial number gencration module, applied to sender, for generating one group of random sequence number at random.First communication ends and second are led to
Any one in end is believed as sender, and another is used as recipient.
Sending module, applied to sender, for the checking token stored, random sequence number and control information send to
Recipient.
Store judge module, applied to recipient, the random sequence number this time received for storing;Following two are met simultaneously
Individual condition is then verified, and recipient performs control information, otherwise abandons control information, flow terminates;Two conditions are:Send
The checking token that side is sent is identical with the checking token that recipient generates, random sequence number and reception that this time sender sends
The random sequence number that side is stored before this time is not identical.
Preferably, the checking token is made up of a number of random number.
Compared with prior art, the beneficial effects of the present invention are:By adding one in the control information that sender sends
Group different random sequence number every time, and the checking token of other side that one group of both sides prestores, carry out double verification judgement,
Improve the unblock security of electronic lock.
Brief description of the drawings
Fig. 1 is the flow chart of the electronic lock unlocking method of the present invention;
Fig. 2 is the flow chart of the information transferring method based on Near Field Communication of the present invention;
Fig. 3 is the module connection figure of the information carrying means based on Near Field Communication of the present invention;
Fig. 4 is the module connection figure of the electronics device for locking and unlocking of the present invention;
Fig. 5 is used for the structural representation for the beacon system that the vehicles are positioned for the present invention's.
Fig. 6 is the flow chart of the vehicles localization method of the present invention;
Fig. 7 is the flow chart of the locking means of the shared vehicles of the present invention;
Fig. 8 is the flow chart of the locking device of the shared vehicles of the present invention.
Embodiment
Below, with reference to accompanying drawing and embodiment, the present invention is described further:
The present invention provides a kind of blue-tooth intelligence horseshoe lock and (is also known as smart lock, electronic lock, bluetooth lock below or locks) scheme, its
Based on AES128 coded communications, bi-directional tokens, serializing instruction, to ensure that mobile phone is applied and smart lock secure communication.Prop up simultaneously
Bluetooth ble master slave modes are held, beacon (Bi Ken) agreement, when lock is in opening, is locked in beacon device broadcasts scopes
It is interior just to return the car, returned the car the behavior of parking cars with specification user.
Present invention generally comprises two partial contents:The unblock and locking of smart lock.
First, unlock
Electronic lock unlocking method, applied to electronics unlocking system, the system includes intelligent sliding moved end, electronic lock and long-range
Server;The intelligent sliding moved end can be but not limited to smart mobile phone, and the electronic lock can be but not limited to bluetooth lock.Such as
Shown in Fig. 1, comprise the following steps:
Step 101, intelligent sliding moved end obtain the identity information of electronic lock, and intelligent sliding moved end is by user profile and identity information
Send to remote server.
Intelligent sliding moved end can be from the mode of the identity information of remote server acquisition electronic lock:Intelligent sliding moved end is from remote
Journey server obtains the multiple electronic locks and its identity information of its geographic vicinity, and intelligent sliding moved end is from multiple electronic locks
One of electronic lock is selected, and obtains the identity information of the electronic lock.
Intelligent sliding moved end can also be from the mode of the identity information of remote server acquisition electronic lock:Electronic lock is applied
Walking-replacing tool on post the Quick Response Code of the identity information comprising electronic lock, intelligent sliding moved end is by scanning the Quick Response Code, directly
Obtain the identity information of the electronic lock.
All include the user profile of at least one on each intelligent sliding moved end, including the user account balance information,
Credit information and contact details etc..
Step 102, remote server are verified to user profile and identity information, and checking information is sent to intelligence
Mobile terminal.
Whether the account that checking of the remote server to user profile includes verifying the user profile is registered user, the use
The work of riding instead of walk that the whether enough users of the amount of money are unlocked to electronic lock and applied using the electronic lock in the account of family information
Tool.
Checking of the remote server to the identity information of electronic lock includes:Whether the state for verifying the electronic lock is locking,
Other users have been avoided to use the walking-replacing tool.
Step 103, intelligent sliding moved end send unlocking request information to remote server according to checking information.
Checking information is received when user is terminated by intelligent mobile, display can use the identity information correspondence of the electronic lock
Walking-replacing tool when, user can pass through intelligent sliding moved end and send unlocking request information to remote server.
Step 104, remote server send electronic lock identification information and safety check information extremely according to unlocking request information
Intelligent sliding moved end.
Step 105, intelligent sliding moved end are set up according to electronic lock identification information and electronic lock and connected.
Step 106, intelligent sliding moved end send unlocking information to electronic lock according to safety check information.
Remote server sends electronic lock identification information and safety check information to intelligent movable end, electronic lock identification information
It is used primarily for family and finds corresponding electronic lock, because when multiple walking-replacing tools one lead to and are parked at one, then needs electronics
Lock identification information goes to find corresponding accurate electronic lock;Sent further according to the operation of user, and by safety check information
Unlocking information is to electronic lock.
Step 107, electronic lock judge whether to unlock successfully, if it is send successfully feedback information to intelligent sliding moved end;
Otherwise failure feedback information is sent to intelligent sliding moved end, and return to step 106;Until third time sends failure feedback information to intelligence
Energy mobile terminal, then terminate.
After unlocking successfully, user can begin to use walking-replacing tool, and intelligent sliding moved end sends success feedback information to remote
Journey server, remote server simultaneously carries out charging;Until user stops using walking-replacing tool and electronic lock is locked, then count
Expense terminates.It is whole to be terminated using the flow of walking-replacing tool.
If unblock failure, electronic lock sends failure feedback information to intelligent sliding moved end, and intelligent sliding moved end can actively again
Transmission unlocking information is unlocked to electronic lock to be retried, if still unlocking failure after retrying twice, terminates flow.
In said process, low coverage is realized in intelligent sliding moved end (being referred to as the first communication ends) with electronic lock (being referred to as the second communication ends)
From information transfer.As shown in Fig. 2 the information transferring method of above-mentioned Near Field Communication comprises the following steps:
Step 201, the first communication ends generate one group of checking token at random, and transmission to the second communication ends are stored;The
Two communication ends generate one group of checking token at random, and transmission to the first communication ends are stored.
Checking token is made up of a number of random number.
Any one in step 202, the first communication ends and the second communication ends is as sender, and another is used as recipient;
Sender generates one group of random sequence number at random, and the checking token, random sequence number and the control information that are stored are sent to reception
Side.
Sender sends control information to the mode of reception, it is necessary to additional identification token and random sequence number;The checking token
It ensure that the security of control information;
The random sequence number is generated by sender according to uniqueness regular random, and to ensure to instruct uniqueness, sender is each
When sending command information, it is required for generating one group of random sequence number at random, it is ensured that the random sequence number with sending before is different.Prevent from connecing
Debit is collapsed by the Replay Attack of hacker.
The random sequence number that step 203, recipient's storage are this time received;Recipient judges the checking order that sender sends
Whether board and its checking token for generating at random identical, and judge random sequence number that this sender sends and storage it
Whether the random sequence number that preceding sender sends has identical;If first judged result is yes, and second judged result
It is no, is then verified, recipient performs control information;Otherwise control information is abandoned, flow terminates.
The device of the information transfer of Near Field Communication, such as Fig. 3 are realized the invention also discloses intelligent sliding moved end and electronic lock
It is shown, specifically include:
First token generation module, applied to the first communication ends, for generating one group of checking token at random, and sends to the
Two communication ends are stored;
Second token generation module, applied to the second communication ends, for generating one group of checking token at random, and sends to the
One communication ends are stored.
Serial number gencration module, applied to sender, for generating one group of random sequence number at random.First communication ends and second are led to
Any one in end is believed as sender, and another is used as recipient.
Sending module, applied to sender, for the checking token stored, random sequence number and control information send to
Recipient.
Store judge module, applied to recipient, the random sequence number this time received for storing;And judge that sender sends out
Whether the checking token sent and its checking token generated at random are identical, and judge the stochastic ordering that this sender sends
Number and storage before the random sequence number that sends of sender whether have identical;If first judged result is yes, Yi Ji
Two judged results are no, then are verified, and recipient performs control information;Otherwise control information is abandoned, flow terminates.
The invention also discloses tripper corresponding with above-mentioned electronic lock unlocking method, as shown in figure 4, specifically including:
Acquisition module, applied to intelligent sliding moved end, the identity information for obtaining electronic lock, user is believed in intelligent sliding moved end
Breath and identity information are sent to remote server.
Specifically, acquisition module include the first acquisition module and/or the second acquisition module, the first acquisition module, for from
Remote server obtains the multiple electronic locks and its identity information of its geographic vicinity, is selected wherein from multiple electronic locks
One electronic lock, and obtain the identity information of the electronic lock.
Second acquisition module, the Quick Response Code on applied walking-replacing tool is locked for scanning electron, the electronics is directly obtained
The identity information of lock.
Authentication module, applied to remote server, believes for being verified to user profile and identity information, and by checking
Breath is sent to intelligent sliding moved end.
First unlocked state, applied to intelligent sliding moved end, for sending unlocking request information to long-range according to checking information
Server.
Security information module, applied to remote server, for sending electronic lock identification information according to unlocking request information
With safety check information to intelligent sliding moved end.
Link block, applied to intelligent sliding moved end, is connected for being set up according to electronic lock identification information and electronic lock.
Second unlocked state, applied to intelligent sliding moved end, for sending unlocking information to electronics according to safety check information
Lock.
Judge module, applied to electronic lock, for judging whether to unlock successfully, if it is sends successfully that feedback information is extremely
Intelligent sliding moved end;Otherwise failure feedback information is sent to intelligent sliding moved end, and returns to the second unlocked state;Until third time is sent
Failure feedback information then terminates to intelligent sliding moved end.
2nd, lock
Mobile phone app (intelligent movable end) can while listening for lock and periphery beacon facility informations, mobile phone app and lock and
Beacon can be just in communication with each other in respective communication distance, when app receives legal beacon signals, and judge signal
When intensity reaches setting, just user is allowed to return the car, to reach fence function, specification user parks car, and otherwise, signal is strong
Degree is weak or without lock signal and beacon signals, then can not set up communication, now return the car and returned the car to be invalid, system will not also be pushed away
Breath deliver letters to user.
Specifically, mobile phone app and lock and beacon are first passed through and realizes that mutually communication is realized in respective communication distance
The beacon system of vehicles positioning, then again by signal intensity to carry out specification of returning the car.
The beacon system of vehicles positioning includes Beacon equipment and smart lock, and Beacon technologies are low-power consumption bluetooth skills
Art, beacon base station can create a signal area, and when equipment enters the region, corresponding application program will point out user
Whether need to access this signal network.Beacon technologies are prior art, and the present invention is applied on the road surface of traffic highway
On, multiple Beacon equipment are set according to actual conditions on same path, is returned the car, taken for user with providing multiple regions
Car, it is convenient popular.Smart lock is installed on a vehicle, and the vehicles are generally bicycle, electric car, and the smart lock can be with
Beacon equipment is communicated each other.Smart lock can detect the broadcast singal launched from Beacon equipment, and in inspection
When measuring the broadcast singal, the current position of the corresponding vehicles is obtained according to the signal intensity of received broadcast singal
Information.
Still further aspect, beacon system can also include the intercommunication of smart mobile phone, the smart mobile phone and smart lock,
The smart mobile phone receives the positional information from smart lock, and judges the corresponding vehicles of smart lock according to the positional information
Whether current parking is legal.
Illustrated below by a specific implementation case:
The vehicles are walked on a road, and the road surface of the road is provided with five Beacon equipment, is uniformly arranged.Fig. 5
Middle a, b, c, d, e represent five Beacon equipment respectively.Five Beacon equipment all send broadcast singal, each Beacon equipment
The broadcast singal launched covers certain region.Assuming that Beacon equipment a and Beacon equipment b most centre position is not wide
Signal is broadcast, when the vehicles run to the position, then smart lock can not be communicated with Beacon equipment, can not also calculate friendship
The current positional information of logical instrument, so can not return the car.And when the vehicles run to Beacon equipment b and Beacon equipment c
Between, now Beacon equipment c connection communications, then smart lock detect the broadcast singal transmitted by Beacon equipment c, broadcast
The intensity of signal determines that distance is nearer, then signal is stronger according to the distance between smart lock and the Beacon equipment.Smart lock root
The positional information of the vehicles is obtained according to signal intensity, feedback position information is into smart mobile phone.Due to each Beacon equipment
The broadcast singal launched all covers certain region, but has some regions although to have broadcast singal to be obtained with smart lock
Contact, but can not allow to return the car because of too remote apart from Beacon equipment, to prevent going wrong, therefore stored in smart mobile phone
Have where information is then legal, where information is illegal, and the positional information sent according to smart lock is carried out
Judge, just prompting can return the car when legal, otherwise continue the success that can not also return the car of returning the car even if user.In fact, namely root
Returned the car according to signal intensity, only when signal intensity is more than defined threshold value, can be only achieved the purpose returned the car.By this
Mode, can prevent arbitrarily parking, Beacon equipment is set due to having more so that website extensively, adds the website that can return the car, is
It is convenient that user's trip is provided, and provides enough safety guarantee.
The present invention also provides vehicles localization method, applied to the beacon positioned provided by the present invention for the vehicles
System, as shown in fig. 6, comprising the following steps:
Step 601, smart lock receive the broadcast singal transmitted by the Beacon equipment on road surface, and examine the broadcast singal
Signal intensity;
It is current that step 602, smart lock calculate the corresponding vehicles of smart lock according to the signal intensity of the broadcast singal
Positional information.
In the case where being also equipped with smart mobile phone, perform and also comprised the following steps after S2:
Step 603, smart lock send positional information to smart mobile phone;
Step 604, smart mobile phone judge whether the corresponding vehicles of smart lock currently close by parking according to the positional information
Method, if so, then display can return the car, otherwise, display can not return the car.In step 604, when determining illegal, intelligent hand
Machine also shows that legal parking space confidence ceases.
The locking means of the shared vehicles, i.e., the method for carrying out specification to returning the car, as shown in fig. 7, it includes following step
Suddenly:
Lock signal in step 701, reception;When needing to be returned the car, have herein two kinds trigger return the car lock
Signal, one kind is, by directly moving lockset, then to trigger a upper lock signal and transmit to background server to enter the signal
Row judges that another locked by being clicked on mobile phone, to trigger a upper lock signal to background server, so as to point out
User prepares to lock;Only be depicted by mobile phone to carry out operation of locking in the present embodiment, but its be not restricted in
Such a mode, it is similar by way of the concrete mode for trigger signal of directly locking is locked with mobile phone trigger signal;
Step 702, determine whether to receive a verification broadcast singal, if it is, next step is performed, if it is not, then
Return the car unsuccessfully;
Step 7021, judge verify broadcast singal intensity whether reach preset value, if it is, perform step 703, such as
It is really no, then return the car unsuccessfully;When user prepares to lock, lock will be switched to holotype, and scan and receive the beacon on periphery
Device signal, mobile phone can also monitor lock and periphery beacon facility informations simultaneously, and mobile phone, lock and beacon equipment are only at it
It can be in communication with each other in communication distance, when mobile phone receives legal beacon signals, the legal beacon signals are can
With the signal parsed by mobile phone, and when judging that signal intensity reaches setting, the power of signal is according to distance
The distance of beacon equipment is judged, if far away, signal intensity is weak, even without, then identification of having no idea,
If from obtaining closely, signal intensity is big, just allows user to return the car to reach the function of fence, specification user parks car;
The judging distance of the beacon equipment of specific different places can accordingly be set according to actual landform
Meter, because each land-service road situation is different, so set apart from when can exist than larger difference, if all used
Same standard, some areas there may be the situation for parking confusion, therefore set phase according to different regions road parking situation
The judging distance answered is so that its more hommization, if signal intensity is weak or without lock signal and without beacon signals, nothing
Method sets up communication, now returns the car and is returned the car to be invalid, system will not also push information to user, user can not return the car;
Step 703, success of returning the car;When above-mentioned condition is all met, you can returned the car, background server can be sent
Corresponding signal to mobile phone notifies user to complete operation of returning the car.
A kind of locking device is provided the invention provides a kind of locking means of shared vehicles, as shown in figure 8, including
With lower module:
Receive signaling module:Server is arranged at, for receiving upper lock signal;
First judge module:Server is arranged at, for determining whether to receive a verification broadcast singal, if it is,
Next module is then performed, if it is not, then returning the car unsuccessfully;
Second judge module:Server is arranged at, whether the intensity for judging to verify broadcast singal reaches preset value, such as
It is really, then implementing result feedback module, if it is not, then returning the car unsuccessfully.
As a result feedback module:Return the car success.
It will be apparent to those skilled in the art that technical scheme that can be as described above and design, make other various
It is corresponding to change and deformation, and all these change and deformation should all belong to the protection domain of the claims in the present invention
Within.
Claims (4)
1. the information transferring method based on Near Field Communication, it is characterised in that comprise the following steps:
S1, the first communication ends generate one group of checking token, and transmission to the second communication ends are stored;Second communication ends generation one
Group verifies token, and transmission to the first communication ends are stored;
Any one in S2, the first communication ends and the second communication ends is as sender, and another is used as recipient;Sender is random
One group of random sequence number is generated, and the checking token, random sequence number and the control information that are stored are sent to recipient;
The random sequence number that S3, recipient's storage are this time received;Meet following two conditions simultaneously to be then verified, recipient holds
Row control information, otherwise abandons control information, and flow terminates;Two conditions are:Checking token and reception that sender sends
Fang Shengcheng checking token is identical, the stochastic ordering that the random sequence number and recipient that this time sender sends are stored before this time
It is number not identical.
2. the information transferring method based on Near Field Communication as claimed in claim 1, it is characterised in that the checking token by
A number of random number composition.
3. the information carrying means based on Near Field Communication, it is characterised in that including:
First token generation module, applied to the first communication ends, leads to for generating one group of checking token at random, and sending to second
Letter end is stored;
Second token generation module, applied to the second communication ends, leads to for generating one group of checking token at random, and sending to first
Letter end is stored.
Serial number gencration module, applied to sender, for generating one group of random sequence number at random.First communication ends and the second communication ends
In any one as sender, another is used as recipient;
Sending module, applied to sender, sends to reception for the checking token stored, random sequence number and control information
Side;
Store judge module, applied to recipient, the random sequence number this time received for storing;
Meet following two conditions simultaneously to be then verified, recipient performs control information, otherwise abandons control information, flow knot
Beam;Two conditions are:The checking token that sender sends is identical with the checking token that recipient generates, and this time sender sends
The random sequence number that the random sequence number and recipient come are stored before this time is not identical.
4. the information carrying means based on Near Field Communication as claimed in claim 3, it is characterised in that the checking token by
A number of random number composition.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611095180.1A CN107040289B (en) | 2016-12-01 | 2016-12-01 | Information transmission method and device based on near field communication |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611095180.1A CN107040289B (en) | 2016-12-01 | 2016-12-01 | Information transmission method and device based on near field communication |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107040289A true CN107040289A (en) | 2017-08-11 |
CN107040289B CN107040289B (en) | 2021-06-08 |
Family
ID=59530356
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611095180.1A Active CN107040289B (en) | 2016-12-01 | 2016-12-01 | Information transmission method and device based on near field communication |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107040289B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107680282A (en) * | 2017-11-01 | 2018-02-09 | 余雪梅 | A kind of shared bicycle parks management method and its system |
CN107767660A (en) * | 2017-11-01 | 2018-03-06 | 程炽坤 | A kind of shared bicycle fixed point parking method and its system |
CN107845254A (en) * | 2017-11-01 | 2018-03-27 | 余雪梅 | A kind of shared bicycle parks management method and its system |
CN108111998A (en) * | 2017-12-18 | 2018-06-01 | 北京博创联动科技有限公司 | A kind of wireless method for unlocking and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101551920A (en) * | 2009-05-04 | 2009-10-07 | 中兴通讯股份有限公司 | Entrance guard system and validated user remote unlocking method |
US8066181B2 (en) * | 2001-07-10 | 2011-11-29 | Xatra Fund Mx, Llc | RF transaction authentication using a random number |
CN102547691A (en) * | 2010-12-22 | 2012-07-04 | 国民技术股份有限公司 | Security electronic control system and method based on 2.4G radio frequency identification (RFID) smart card system |
CN103927803A (en) * | 2014-04-21 | 2014-07-16 | 西南交通大学 | Active radio frequency identification (RFID)-based power door lock control system |
CN105184931A (en) * | 2015-09-30 | 2015-12-23 | 上海艾迅士建筑科技有限公司 | Bluetooth-based unlocking method, system and hand-held terminal and Bluetooth-based electronic lock |
-
2016
- 2016-12-01 CN CN201611095180.1A patent/CN107040289B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8066181B2 (en) * | 2001-07-10 | 2011-11-29 | Xatra Fund Mx, Llc | RF transaction authentication using a random number |
CN101551920A (en) * | 2009-05-04 | 2009-10-07 | 中兴通讯股份有限公司 | Entrance guard system and validated user remote unlocking method |
CN102547691A (en) * | 2010-12-22 | 2012-07-04 | 国民技术股份有限公司 | Security electronic control system and method based on 2.4G radio frequency identification (RFID) smart card system |
CN103927803A (en) * | 2014-04-21 | 2014-07-16 | 西南交通大学 | Active radio frequency identification (RFID)-based power door lock control system |
CN105184931A (en) * | 2015-09-30 | 2015-12-23 | 上海艾迅士建筑科技有限公司 | Bluetooth-based unlocking method, system and hand-held terminal and Bluetooth-based electronic lock |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107680282A (en) * | 2017-11-01 | 2018-02-09 | 余雪梅 | A kind of shared bicycle parks management method and its system |
CN107767660A (en) * | 2017-11-01 | 2018-03-06 | 程炽坤 | A kind of shared bicycle fixed point parking method and its system |
CN107845254A (en) * | 2017-11-01 | 2018-03-27 | 余雪梅 | A kind of shared bicycle parks management method and its system |
CN108111998A (en) * | 2017-12-18 | 2018-06-01 | 北京博创联动科技有限公司 | A kind of wireless method for unlocking and system |
CN108111998B (en) * | 2017-12-18 | 2023-06-20 | 北京博创联动科技有限公司 | Wireless unlocking method and system |
Also Published As
Publication number | Publication date |
---|---|
CN107040289B (en) | 2021-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106851529A (en) | For the beacon system and vehicles localization method of vehicles positioning | |
CN106898063A (en) | A kind of locking means and device of the shared vehicles | |
CN106875519A (en) | A kind of electronic lock unlocking method and its device | |
CN104794640B (en) | Vehicle management method based on cloud server side and cloud server thereof | |
CN107393058A (en) | A kind of electronic lock is locked method, storage medium, electronic equipment and the system of unblock | |
CN107040289A (en) | Information transferring method and its device based on Near Field Communication | |
CN103035054B (en) | NFC intelligent automobile key system with permission and authorization functions | |
CN107734460A (en) | A kind of method and terminal that bluetooth lock intelligent unlocking is realized based on mobile terminal | |
US20130015947A1 (en) | Method and system for access authorization | |
JP5260430B2 (en) | Electronic key system | |
CN108569250A (en) | The automatic authorization method of bluetooth key based on shared automobile | |
CN106920145A (en) | A kind of compatible shared car rental system high and its vehicle leasing method | |
CN108665724A (en) | Limit the system and method for stand to be parked cars | |
CN105608765A (en) | Access authorization control method and device | |
KR101896032B1 (en) | Local public transport rental management system using electronic fence | |
CN106504052A (en) | The rent method of vehicle and system, server | |
CN1227688A (en) | Method and apparatus for providing anonymous data transfer in a communication system | |
JP2012144905A (en) | Electronic key system | |
CN109754100A (en) | Authentication method, recording medium, server and vehicle deploying system | |
CN106878279A (en) | Charging and conversion electric facility and the automatic right-discriminating method and system for treating charging and conversion electric object | |
CN107578561B (en) | Vehicle leasing system and method based on Internet of things | |
WO2018232903A1 (en) | Method and system for managing charging parking space | |
CN110027507B (en) | Multi-dimensional lock state switching method and system for shared automobile | |
CN105894635A (en) | Vehicular remote unlocking system and method | |
CN108833455A (en) | Bicycle shared system based on the perception of region Wi-Fi network |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210416 Address after: Room B65, 501, No. 55, TIYU West Road, Tianhe District, Guangzhou City, Guangdong Province (office use only) Applicant after: Guangzhou Jietaitong Trading Co.,Ltd. Address before: Room F, 57/F, 1 Yinhu Tianfeng Building, 559 Sha Road, Ma'an Shanxi, New Territories Applicant before: SURE RICH ELECTRONICS TECHNOLOGY Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |