CN107040289B - Information transmission method and device based on near field communication - Google Patents

Information transmission method and device based on near field communication Download PDF

Info

Publication number
CN107040289B
CN107040289B CN201611095180.1A CN201611095180A CN107040289B CN 107040289 B CN107040289 B CN 107040289B CN 201611095180 A CN201611095180 A CN 201611095180A CN 107040289 B CN107040289 B CN 107040289B
Authority
CN
China
Prior art keywords
verification
sender
communication
receiver
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201611095180.1A
Other languages
Chinese (zh)
Other versions
CN107040289A (en
Inventor
麦祖儿
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Jietaitong Trading Co.,Ltd.
Original Assignee
Guangzhou Jietaitong Trading Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Jietaitong Trading Co ltd filed Critical Guangzhou Jietaitong Trading Co ltd
Priority to CN201611095180.1A priority Critical patent/CN107040289B/en
Publication of CN107040289A publication Critical patent/CN107040289A/en
Application granted granted Critical
Publication of CN107040289B publication Critical patent/CN107040289B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00571Electronically 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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00896Electronically 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/321Cryptographic 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/3213Cryptographic 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic 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/3228One-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
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME 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/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00309Electronically 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/0042Electronically 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/00476Electronically 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/005Electronically 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 an information transmission method and a device based on near field communication, wherein the method comprises the following steps: the first communication terminal generates a group of verification tokens, the second communication terminal generates a group of verification tokens, and the respective verification tokens are sent to a counterpart to be stored; one of the first communication end and the second communication end is a sender, and the other one is a receiver; a sender randomly generates a group of random serial numbers and sends a verification token, the random serial numbers and control information stored in the random serial numbers to a receiver; the receiving side judges whether the authentication token sent by the sending side is the same as the authentication token generated by the sending side, and judges whether the random serial number sent by the sending side at this time is the same as the random serial number stored before this time. The invention has the advantages that a group of random serial numbers which are different every time and a group of verification tokens of the opposite side which are pre-stored by the two sides are added into the control information sent by the sender to carry out double verification judgment, thereby improving the unlocking safety of the electronic lock.

Description

Information transmission method and device based on near field communication
Technical Field
The present invention relates to information transmission technologies, and in particular, to an information transmission method and apparatus based on near field communication.
Background
With the rise of each large network car booking platform, the network car booking is gradually convenient for the life of people; at this time, a new type of net appointment vehicle is being invisibly raised, and the vehicle is changed into a bicycle by the aid of a vehicle. At present, in each big city, the users can see the network appointment bicycles everywhere, and the network appointment bicycles under the platform can be used only by registering on the platform of the network appointment bicycle. The networked bicycles are not managed by personnel, and the management and the use of the bicycles are realized through the communication between the intelligent electronic lock on the bicycles and the mobile phone of the user; although the management mode is convenient for users and platform merchants, a lot of problems still exist, many other useful people can use some hacker technologies to crack the intelligent electronic lock of the bicycle on the internet, and the most common way is to attack different sending information to the intelligent electronic lock through replay so as to crash the intelligent electronic lock.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide an information transmission method and an information transmission device based on near field communication, which can improve the unlocking safety of an intelligent electronic lock.
The purpose of the invention is realized by adopting the following technical scheme:
the information transmission method based on the near field communication comprises the following steps:
s1, the first communication terminal generates a group of verification tokens and sends the verification tokens to the second communication terminal for storage; the second communication terminal generates a group of verification tokens and sends the verification tokens to the first communication terminal for storage;
s2, any one of the first communication terminal and the second communication terminal is used as a sender, and the other one is used as a receiver; a sender randomly generates a group of random serial numbers and sends a verification token, the random serial numbers and control information stored in the random serial numbers to a receiver;
s3, the receiver stores the random serial number received this time; if the following two conditions are met, the verification is passed, the receiver executes the control information, otherwise, the control information is discarded, and the process is ended; the two conditions are: the authentication token sent by the sender is the same as the authentication token generated by the receiver, and the random sequence number sent by the sender at this time is not the same as the random sequence number stored by the receiver before this time.
Preferably, the authentication token consists of a number of random numbers.
Information transmission device based on short-range communication includes:
the first token generation module is applied to the first communication terminal, and is used for randomly generating a group of verification tokens and sending the verification tokens to the second communication terminal for storage;
and the second token generation module is applied to the second communication terminal and used for randomly generating a group of verification tokens and sending the verification tokens to the first communication terminal for storage.
And the sequence number generation module is applied to the sender and used for randomly generating a group of random sequence numbers. Any one of the first communication terminal and the second communication terminal is used as a sending terminal, and the other one is used as a receiving terminal.
And the sending module is applied to the sender and used for sending the verification token, the random serial number and the control information stored in the sending module to the receiver.
The storage judging module is applied to the receiving party and used for storing the received random serial number; if the following two conditions are met, the verification is passed, the receiver executes the control information, otherwise, the control information is discarded, and the process is ended; the two conditions are: the authentication token sent by the sender is the same as the authentication token generated by the receiver, and the random sequence number sent by the sender at this time is not the same as the random sequence number stored by the receiver before this time.
Preferably, the authentication token consists of a number of random numbers.
Compared with the prior art, the invention has the beneficial effects that: a group of random serial numbers which are different every time and a group of verification tokens of the other party which are stored by two parties in advance are added into control information sent by a sender to carry out double verification judgment, so that the unlocking safety of the electronic lock is improved.
Drawings
FIG. 1 is a flow chart of an electronic lock unlocking method of the present invention;
FIG. 2 is a flowchart of a method for transmitting information based on short-range communication according to the present invention;
FIG. 3 is a block diagram of an information transmission apparatus based on short-range communication according to the present invention;
FIG. 4 is a block diagram of an electronic lock unlocking device of the present invention;
fig. 5 is a schematic structural diagram of a beacon system for vehicle positioning according to the present invention.
FIG. 6 is a flow chart of a vehicle locating method of the present invention;
FIG. 7 is a flow chart of a locking method of the shared vehicle of the present invention;
FIG. 8 is a flow chart of the locking device of the shared vehicle of the present invention.
Detailed Description
The invention will be further described with reference to the accompanying drawings and the detailed description below:
the invention provides a Bluetooth intelligent horseshoe lock (also called intelligent lock, electronic lock, Bluetooth lock or lock) scheme, which is based on AES128 encrypted communication, a bidirectional token and a serialized instruction so as to ensure the safe communication between a mobile phone application and an intelligent lock. And meanwhile, a Bluetooth ble master-slave mode and a beacon (bike) protocol are supported, and when the lock is in an open state, the lock can return the car within the broadcast range of beacon equipment so as to standardize the behavior of the user for returning the car and parking the car.
The invention generally comprises two parts: unlocking and locking of the intelligent lock.
First, unlock
The electronic lock unlocking method is applied to an electronic lock unlocking system, and the system comprises an intelligent mobile terminal, an electronic lock and a remote server; the intelligent mobile terminal can be but is not limited to a smart phone, and the electronic lock can be but is not limited to a Bluetooth lock. As shown in fig. 1, the method comprises the following steps:
step 101, the intelligent mobile terminal acquires identity information of the electronic lock, and the intelligent mobile terminal sends the user information and the identity information to a remote server.
The method for the intelligent mobile terminal to acquire the identity information of the electronic lock from the remote server may be as follows: the intelligent mobile terminal obtains a plurality of electronic locks near the geographical position of the intelligent mobile terminal and identity information of the electronic locks from the remote server, selects one electronic lock from the electronic locks, and obtains the identity information of the electronic lock.
The method for the intelligent mobile terminal to acquire the identity information of the electronic lock from the remote server can also be as follows: the two-dimensional code that contains the identity information of electronic lock is pasted on the instrument of riding instead of walk that electronic lock used, and intelligent movement end is through scanning this two-dimensional code, directly acquires the identity information of this electronic lock.
Each intelligent mobile terminal comprises at least one piece of user information, including account balance information, credit information, contact information and the like of the user.
And 102, the remote server verifies the user information and the identity information and sends verification information to the intelligent mobile terminal.
The verification of the user information by the remote server comprises verifying whether an account of the user information is a registered user, whether the amount in the account of the user information is enough for the user to unlock the electronic lock and use a transportation tool applied by the electronic lock.
The verification of the identity information of the electronic lock by the remote server comprises the following steps: and verifying whether the state of the electronic lock is locked or not, and avoiding other users from using the travel tool.
And 103, the intelligent mobile terminal sends unlocking request information to the remote server according to the verification information.
When the user receives the verification information through the intelligent mobile terminal and displays the travel tool corresponding to the identity information of the electronic lock, the user can send unlocking request information to the remote server through the intelligent mobile terminal.
And step 104, the remote server sends the electronic lock identification information and the safety verification information to the intelligent mobile terminal according to the unlocking request information.
And 105, the intelligent mobile terminal establishes connection with the electronic lock according to the electronic lock identification information.
And 106, the intelligent mobile terminal sends unlocking information to the electronic lock according to the safety verification information.
The remote server sends electronic lock identification information and safety verification information to the mobile intelligent terminal, wherein the electronic lock identification information is mainly used for enabling a user to find a corresponding electronic lock, and the electronic lock identification information is needed to find a corresponding accurate electronic lock when a plurality of transportation tools are parked at one place; and then, according to the operation of the user and through the safety verification information, unlocking information is sent to the electronic lock.
Step 107, the electronic lock judges whether the unlocking is successful, and if so, the electronic lock sends successful feedback information to the intelligent mobile terminal; otherwise, sending failure feedback information to the intelligent mobile terminal, and returning to the step 106; and ending the process until the failure feedback information is sent to the intelligent mobile terminal for the third time.
After the unlocking is successful, the user can start to use the travel tool, the intelligent mobile terminal sends successful feedback information to the remote server, and the remote server carries out charging; and ending the charging until the user stops using the travel tool and locks the electronic lock. The whole process using the travel tool is finished.
If the unlocking fails, the electronic lock sends failure feedback information to the intelligent mobile terminal, the intelligent mobile terminal can actively send unlocking information to the electronic lock again for unlocking retry, and if the unlocking still fails after twice retry, the process is ended.
In the above process, the smart mobile terminal (referred to as a first communication terminal) and the electronic lock (referred to as a second communication terminal) realize short-distance information transmission. As shown in fig. 2, the information transmission method of the near field communication includes the following steps:
step 201, a first communication terminal randomly generates a group of verification tokens and sends the verification tokens to a second communication terminal for storage; and the second communication terminal randomly generates a group of verification tokens and sends the verification tokens to the first communication terminal for storage.
The authentication token consists of a certain number of random numbers.
Step 202, any one of the first communication terminal and the second communication terminal is used as a sending terminal, and the other one is used as a receiving terminal; the sender randomly generates a group of random serial numbers and sends the stored authentication token, the random serial numbers and the control information to the receiver.
The sender sends control information to the receiving mode, and both the sender and the receiving mode need to be added with an authentication token and a random serial number; the authentication token ensures the security of the control information;
the random sequence number is randomly generated by the sender according to the uniqueness rule to ensure the uniqueness of the instruction, and the sender needs to randomly generate a group of random sequence numbers each time sending instruction information to ensure that the random sequence numbers are different from the random sequence numbers sent before. The receiver is protected from being crashed by a replay attack by a hacker.
Step 203, the receiving party stores the random serial number received this time; the receiver judges whether the authentication token sent by the sender is the same as the authentication token randomly generated by the sender, and judges whether the random serial number sent by the sender at this time is the same as the stored random serial number sent by the previous sender; if the first judgment result is yes and the second judgment result is no, the verification is passed, and the receiver executes the control information; otherwise, discarding the control information and ending the process.
The invention also discloses a device for realizing information transmission of near field communication between the intelligent mobile terminal and the electronic lock, as shown in fig. 3, the device specifically comprises:
the first token generation module is applied to the first communication terminal, and is used for randomly generating a group of verification tokens and sending the verification tokens to the second communication terminal for storage;
and the second token generation module is applied to the second communication terminal and used for randomly generating a group of verification tokens and sending the verification tokens to the first communication terminal for storage.
And the sequence number generation module is applied to the sender and used for randomly generating a group of random sequence numbers. Any one of the first communication terminal and the second communication terminal is used as a sending terminal, and the other one is used as a receiving terminal.
And the sending module is applied to the sender and used for sending the verification token, the random serial number and the control information stored in the sending module to the receiver.
The storage judging module is applied to the receiving party and used for storing the received random serial number; judging whether the verification token sent by the sender is the same as the verification token randomly generated by the sender, and judging whether the random serial number sent by the sender at this time is the same as the stored random serial number sent by the previous sender; if the first judgment result is yes and the second judgment result is no, the verification is passed, and the receiver executes the control information; otherwise, discarding the control information and ending the process.
The invention also discloses an unlocking device corresponding to the electronic lock unlocking method, as shown in fig. 4, the unlocking device specifically comprises:
the acquisition module is applied to the intelligent mobile terminal and used for acquiring the identity information of the electronic lock, and the intelligent mobile terminal sends the user information and the identity information to the remote server.
Specifically, the obtaining module includes a first obtaining module and/or a second obtaining module, and the first obtaining module is configured to obtain, from the remote server, a plurality of electronic locks near the geographic location of the remote server and identity information of the electronic locks, select one of the electronic locks from the plurality of electronic locks, and obtain the identity information of the electronic lock.
And the second acquisition module is used for scanning the two-dimensional code on the travel tool applied to the electronic lock and directly acquiring the identity information of the electronic lock.
And the verification module is applied to the remote server and used for verifying the user information and the identity information and sending the verification information to the intelligent mobile terminal.
And the first unlocking module is applied to the intelligent mobile terminal and used for sending unlocking request information to the remote server according to the verification information.
And the safety information module is applied to the remote server and used for sending the electronic lock identification information and the safety verification information to the intelligent mobile terminal according to the unlocking request information.
And the connecting module is applied to the intelligent mobile terminal and used for establishing connection with the electronic lock according to the electronic lock identification information.
And the second unlocking module is applied to the intelligent mobile terminal and used for sending unlocking information to the electronic lock according to the safety verification information.
The judging module is applied to the electronic lock and used for judging whether unlocking is successful or not, and if so, sending successful feedback information to the intelligent mobile terminal; otherwise, sending failure feedback information to the intelligent mobile terminal and returning the failure feedback information to the second unlocking module; and ending the process until the failure feedback information is sent to the intelligent mobile terminal for the third time.
Second, locking
Cell-phone app (remove intelligent end) can monitor lock and peripheral beacon equipment information simultaneously, cell-phone app and lock and beacon just can intercommunicate in respective communication distance, receive legal beacon signal when app, and when judging signal strength and reaching the specified value, just allow the user to return the car, in order to reach the fence function, the standard user parks the car, otherwise, signal strength weak or no lock signal and beacon signal, then can't establish the communication, the car is returned for invalid, the system also will not the propelling movement information give the user.
Specifically, the beacon system for realizing the vehicle positioning is realized by realizing mutual communication in respective communication distance through the mobile phone app, the lock and the beacon, and then the returning vehicle is standardized through the signal strength.
The Beacon system for positioning the vehicles comprises Beacon equipment and an intelligent lock, wherein the Beacon technology is a low-power-consumption Bluetooth technology, a Beacon base station can create a signal area, and when the equipment enters the signal area, a corresponding application program can prompt a user whether to need to access the signal network. The Beacon technology is the prior art, the Beacon equipment is applied to the road surface of a traffic road, and a plurality of Beacon equipment are arranged on the same road according to actual conditions, so that a plurality of areas are provided for users to return and take vehicles, and convenience is brought to the public. The intelligence lock is installed on the vehicle, and the vehicle generally is bicycle, electric motor car, and this intelligence lock can communicate each other with Beacon equipment. The intelligent lock can detect the broadcast signal transmitted by the Beacon equipment, and when the broadcast signal is detected, the current position information of the corresponding vehicle is obtained according to the signal intensity of the received broadcast signal.
In addition, on the other hand, the beacon system can further comprise a smart phone, the smart phone and the smart lock are communicated with each other, the smart phone receives the position information from the smart lock, and judges whether the current parking of the vehicle corresponding to the smart lock is legal or not according to the position information.
The following is illustrated by a specific embodiment:
the vehicle walks on a road, and the road surface of this road is provided with five Beacon equipment, evenly sets up. In fig. 5, a, b, c, d and e respectively represent five Beacon devices. The five Beacon devices all send out broadcast signals, and the broadcast signals transmitted by each Beacon device cover a certain area. Suppose that no broadcast signal exists at the middlemost positions of the Beacon equipment a and the Beacon equipment b, when the vehicle travels to the position, the intelligent lock cannot communicate with the Beacon equipment, cannot calculate the current position information of the vehicle, and cannot return the vehicle. And when the vehicle walks to between Beacon equipment b and Beacon equipment c, Beacon equipment c connection communication this moment, then the intelligent lock detects the broadcast signal that this Beacon equipment c sent, and the intensity of broadcast signal decides according to the distance between intelligent lock and this Beacon equipment, and the distance is more near, then the signal is stronger. The intelligent lock obtains the position information of the vehicle according to the signal intensity, and feeds back the position information to the intelligent mobile phone. Because the broadcast signal transmitted by each Beacon device covers a certain area, although some areas have the broadcast signal which can be contacted with the intelligent lock, the intelligent lock cannot allow the car to be returned because the intelligent lock is too far away from the Beacon device so as to prevent errors, the position information stored in the intelligent mobile phone is legal, the position information is illegal, the intelligent mobile phone can be judged according to the position information transmitted by the intelligent lock, the car can be returned when the intelligent mobile phone is legal, and otherwise the user cannot be successfully returned even if the intelligent mobile phone continues to return the car. In fact, the car is returned according to the signal intensity, and the purpose of returning the car can be achieved only when the signal intensity is larger than a specified threshold value. Through this kind of mode, can prevent to park at will, because it sets up Beacon equipment more for the website is extensive, increased and can return the car website, provide convenience for the user trip, and provide sufficient safety guarantee.
The present invention also provides a vehicle positioning method, which is applied to the beacon system for vehicle positioning provided by the present invention, as shown in fig. 6, and comprises the following steps:
601, receiving a broadcast signal sent by Beacon equipment on a road surface by an intelligent lock, and checking the signal intensity of the broadcast signal;
step 602, the intelligent lock calculates the current position information of the vehicle corresponding to the intelligent lock according to the signal strength of the broadcast signal.
If a smart phone is further provided, after S2 is executed, the method further includes the following steps:
step 603, the smart lock sends position information to the smart phone;
and step 604, the smart phone judges whether the current parking of the vehicle corresponding to the smart lock is legal or not according to the position information, if so, the vehicle can be returned, and otherwise, the vehicle cannot be returned. In step 604, when it is determined that the vehicle is illegal, the smartphone further displays information on a legal parking position.
The locking method of the shared vehicle, i.e. the method for standardizing returning, as shown in fig. 7, comprises the following steps:
step 701, receiving a locking signal; when a car needs to be returned, two locking signals for triggering the car returning are provided, one is to judge the signal by directly moving a lock and then triggering a locking signal to be transmitted to a background server, and the other is to trigger a locking signal to the background server by clicking on a mobile phone for locking, so as to prompt a user to prepare for locking; in the present embodiment, only the mobile phone is used to perform the locking operation, but the present invention is not limited to this, and the specific manner of directly locking the trigger signal is similar to the manner of locking the trigger signal of the mobile phone;
step 702, judging whether a check broadcast signal is received, if so, executing the next step, and if not, failing to return the vehicle;
7021, judging whether the intensity of the check broadcast signal reaches a preset value, if so, executing step 703, and if not, failing to return the vehicle; when a user prepares to lock, the lock is switched to a master mode, peripheral beacon equipment signals are scanned and received, the mobile phone can monitor information of the lock and the peripheral beacon equipment at the same time, the mobile phone, the lock and the beacon equipment can communicate with each other only within the communication distance, when the mobile phone receives the legal beacon signals, the legal beacon signals are signals capable of being analyzed by the mobile phone, and when the signal strength reaches a specified value, the strength of the signals is judged according to the distance from the beacon equipment, if the signal strength is far away, the signal strength is weak, even if the signal strength is not, no method is used for identifying, if the signal strength is near, the signal strength is high, the user is allowed to return to the vehicle to achieve the function of the electronic fence, and the parking of the user is standardized;
the method comprises the following steps that the judgment distances of beacon equipment in different places can be correspondingly designed according to actual terrains, because road conditions of all the places are different, great difference exists when the distance is set, if the same standard is adopted, and parking disorder conditions possibly exist in partial areas, the corresponding judgment distances are set according to the road parking conditions of different areas, so that the system is more humanized, if the signal intensity is weak or no lock signal or beacon signal exists, communication cannot be established, the car returning is invalid, the system does not push information to a user, and the user cannot return the car;
step 703, returning the vehicle successfully; when the conditions are met, the vehicle can be returned, and the background server can send a corresponding signal to the mobile phone to inform the user of completing the vehicle returning operation.
The invention provides a locking method of a shared vehicle, and provides a locking device, as shown in fig. 8, which comprises the following modules:
a signal receiving module: the locking device is arranged on the server and used for receiving a locking signal;
a first judgment module: the system comprises a server and a control module, wherein the server is used for judging whether a check broadcast signal is received or not, if so, executing a next module, and if not, returning to the vehicle fails;
a second judging module: and the server is used for judging whether the intensity of the check broadcast signal reaches a preset value, if so, executing a result feedback module, and if not, failing to return the vehicle.
A result feedback module: and returning the vehicle successfully.
Various other modifications and changes may be made by those skilled in the art based on the above-described technical solutions and concepts, and all such modifications and changes should fall within the scope of the claims of the present invention.

Claims (4)

1. The information transmission method based on the short-distance communication is characterized by comprising the following steps:
s1, the first communication terminal generates a group of verification tokens and sends the verification tokens to the second communication terminal for storage; the second communication terminal generates a group of verification tokens and sends the verification tokens to the first communication terminal for storage; the first communication end is an intelligent mobile end, the second communication end is an electronic lock, and the electronic lock is applied to the travel tool; the intelligent mobile terminal acquires a plurality of electronic locks near the geographical position of the intelligent mobile terminal and identity information of the electronic locks from the remote server, selects one electronic lock from the electronic locks and acquires the identity information of the electronic lock;
s2, any one of the first communication terminal and the second communication terminal is used as a sender, and the other one is used as a receiver; a sender randomly generates a group of random serial numbers and sends a verification token, the random serial numbers and control information stored in the random serial numbers to a receiver;
s3, the receiver stores the random serial number received this time; if the following two conditions are met, the verification is passed, the receiver executes the control information, otherwise, the control information is discarded, and the process is ended; the two conditions are: the authentication token sent by the sender is the same as the authentication token generated by the receiver, and the random sequence number sent by the sender at this time is not the same as the random sequence number stored by the receiver before this time.
2. The method for transmitting information based on short-range communication according to claim 1, wherein the authentication token is composed of a certain number of random numbers.
3. Information transmission device based on near field communication, characterized by, include:
the first token generation module is applied to the first communication terminal, and is used for randomly generating a group of verification tokens and sending the verification tokens to the second communication terminal for storage; the first communication end is an intelligent mobile end, the second communication end is an electronic lock, and the electronic lock is applied to the travel tool; the intelligent mobile terminal acquires a plurality of electronic locks near the geographical position of the intelligent mobile terminal and identity information of the electronic locks from the remote server, selects one electronic lock from the electronic locks and acquires the identity information of the electronic lock;
the second token generation module is applied to the second communication end and used for randomly generating a group of verification tokens and sending the verification tokens to the first communication end for storage;
the sequence number generation module is applied to the sender and used for randomly generating a group of random sequence numbers; any one of the first communication end and the second communication end is used as a sender, and the other one is used as a receiver;
the sending module is applied to the sender and used for sending the verification token, the random serial number and the control information stored in the sending module to the receiver;
the storage judging module is applied to the receiving party and used for storing the received random serial number;
if the following two conditions are met, the verification is passed, the receiver executes the control information, otherwise, the control information is discarded, and the process is ended; the two conditions are: the authentication token sent by the sender is the same as the authentication token generated by the receiver, and the random sequence number sent by the sender at this time is not the same as the random sequence number stored by the receiver before this time.
4. The near field communication-based information transmission apparatus according to claim 3, wherein the authentication token is composed of a certain number of random numbers.
CN201611095180.1A 2016-12-01 2016-12-01 Information transmission method and device based on near field communication Active CN107040289B (en)

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 CN107040289A (en) 2017-08-11
CN107040289B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107845254A (en) * 2017-11-01 2018-03-27 余雪梅 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
CN107680282A (en) * 2017-11-01 2018-02-09 余雪梅 A kind of shared bicycle parks management method and its system
CN108111998B (en) * 2017-12-18 2023-06-20 北京博创联动科技有限公司 Wireless unlocking method and system

Citations (5)

* Cited by examiner, † Cited by third party
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107040289A (en) 2017-08-11

Similar Documents

Publication Publication Date Title
WO2018098840A1 (en) Beacon system for vehicle positioning and vehicle positioning method
US9561779B2 (en) Start system for a motor vehicle
CN112822630B (en) Data processing method of device and computer-readable storage medium
CN107835500B (en) Identifying vehicles using mobile devices
CN107040289B (en) Information transmission method and device based on near field communication
CN105835834B (en) Method and system for the vehicles of the certification equipped with passive keyless systems
CN104794640B (en) Vehicle management method based on cloud server side and cloud server thereof
JP6426574B2 (en) Car sharing system and vehicle loan return method
CN104670158B (en) A kind of electric motor car method of controlling security
CN106898063A (en) A kind of locking means and device of the shared vehicles
CN106714168B (en) Automatic authentication method and system based on distance activation
CN106878279A (en) Charging and conversion electric facility and the automatic right-discriminating method and system for treating charging and conversion electric object
CN107341877A (en) Public bike renting system and its control method and device
US20200062215A1 (en) Method for authorizing access to a motor vehicle for use by a third party, and system
CN106875519A (en) A kind of electronic lock unlocking method and its device
JP2009127284A (en) Electronic key system for vehicle, reservation server, vehicle sharing system, and unlocking method
CN107578561B (en) Vehicle leasing system and method based on Internet of things
CN107393058A (en) A kind of electronic lock is locked method, storage medium, electronic equipment and the system of unblock
CN110027507B (en) Multi-dimensional lock state switching method and system for shared automobile
EP3140825B1 (en) Authentication method for vehicular number plate recognition
CN108242180A (en) Stop management-control method and parking managing and control system
JP6213258B2 (en) POSITION INFORMATION AUTHENTICATION SYSTEM, POSITIONING TERMINAL, AND POSITION INFORMATION ACQUISITION DEVICE
CN107545606A (en) A kind of shared Vehicular system and its application method
CN107341874A (en) The control method and system of lock
CN112967422B (en) Method, apparatus, device, storage medium and program product for vehicle use

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
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.

GR01 Patent grant
GR01 Patent grant