WO2019007282A1 - Vehicle lock control device, vehicle lock, vehicle lock control system, and method for controlling vehicle lock - Google Patents

Vehicle lock control device, vehicle lock, vehicle lock control system, and method for controlling vehicle lock Download PDF

Info

Publication number
WO2019007282A1
WO2019007282A1 PCT/CN2018/093699 CN2018093699W WO2019007282A1 WO 2019007282 A1 WO2019007282 A1 WO 2019007282A1 CN 2018093699 W CN2018093699 W CN 2018093699W WO 2019007282 A1 WO2019007282 A1 WO 2019007282A1
Authority
WO
WIPO (PCT)
Prior art keywords
lock
communication device
vehicle lock
information
client
Prior art date
Application number
PCT/CN2018/093699
Other languages
French (fr)
Chinese (zh)
Inventor
姜磊
薛辰宇
李亚奇
段炜
Original Assignee
北京拜克洛克科技有限公司
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
Priority claimed from CN201710547023.8A external-priority patent/CN107244364A/en
Priority claimed from CN201721459980.7U external-priority patent/CN207409029U/en
Application filed by 北京拜克洛克科技有限公司 filed Critical 北京拜克洛克科技有限公司
Publication of WO2019007282A1 publication Critical patent/WO2019007282A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R25/00Fittings or systems for preventing or indicating unauthorised use or theft of vehicles
    • B60R25/20Means to switch the anti-theft system on or off
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62HCYCLE STANDS; SUPPORTS OR HOLDERS FOR PARKING OR STORING CYCLES; APPLIANCES PREVENTING OR INDICATING UNAUTHORIZED USE OR THEFT OF CYCLES; LOCKS INTEGRAL WITH CYCLES; DEVICES FOR LEARNING TO RIDE CYCLES
    • B62H5/00Appliances preventing or indicating unauthorised use or theft of cycles; Locks integral with cycles

Definitions

  • the present disclosure relates to the field of lock technology, and in particular to a vehicle lock control device, a vehicle lock, a lock control system, and a method for controlling a lock using the wireless communication technology.
  • the existing shared bicycle is provided with a smart code lock or a mechanical code lock.
  • a two-dimensional code scanning area is generally set and/or a car lock identification mark is printed on the vehicle body, and the user can scan the two-dimensional code through the mobile phone APP.
  • the two-dimensional code is scanned so that the user terminal can automatically obtain the lock identification mark, or the user directly reads the lock identification mark printed on the vehicle body, and inputs the lock identification mark to the user terminal by manual input.
  • the two-dimensional code in the two-dimensional code scanning area on the vehicle body and the lock identification mark printed on the vehicle body are easily damaged due to human or non-human reasons, and once the two-dimensional code and the lock recognition If the logo is destroyed, the user cannot obtain the lock identification mark corresponding to the lock of the vehicle normally, so that the correct unlock password cannot be obtained, which affects the use of the shared bicycle.
  • an object of embodiments of the present invention is to provide a vehicle lock control device, a vehicle lock, a vehicle lock control system, and a method for controlling a vehicle lock.
  • One or more wireless communication devices are arranged in the lock, and the near field communication is directly performed with the mobile device, and the corresponding vehicle of the lock can be obtained without the user scanning the two-dimensional code or manually inputting the lock identification mark. Lock identification. Thus, even if the two-dimensional code and the lock identification mark on the vehicle body are destroyed, the normal use of the shared bicycle will not be affected.
  • the wireless communication device is an NFC communication device or a radio frequency identifier.
  • the lock control device may include only the NFC communication device as the wireless communication device, or only the radio frequency identifier as the wireless communication device, and may also include both the NFC communication device and the radio frequency identifier.
  • an embodiment of the present invention provides a vehicle lock control apparatus, including: a main controller, an NFC communication device, and a mobile communication device.
  • the NFC communication device is connected to the main controller, and configured to: receive a wake-up instruction sent by the client, wake up the main controller based on the wake-up instruction, and send the wake-up instruction to the a main controller; receiving a lock identification identifier returned by the main controller, and transmitting the lock identification identifier to the client; receiving an unlock command sent by the client, and extracting the unlock command Password information and pass the password information to the primary controller.
  • the main controller is configured to: receive the wake-up instruction sent by the NFC communication device, acquire the lock identification identifier according to the wake-up instruction, and return the lock identification identifier to the NFC communication device;
  • the password information is matched with the pre-stored lock code, and if the two are consistent, the control lock is opened; and the lock code is executed on the original lock code according to the key synchronization command and the new lock code. Synchronization and/or update operations.
  • the mobile communication device is electrically connected to the main controller, and configured to: receive a key synchronization instruction sent by the server, and send the key synchronization instruction to the main controller, where the key A new lock code is carried in the sync command.
  • an embodiment of the present invention provides a first possible implementation manner of the first aspect, wherein the car lock control device further includes a satellite positioning device electrically connected to the main controller, where the satellite positioning device is used Receiving a satellite signal, and generating lock position information according to the satellite signal, and transmitting the lock position information to the main controller.
  • the main controller is further configured to send the lock position information to the server through the wireless communication device every preset time, or receive a position adjustment sent by the server by using the mobile communication device When the command is fetched, the lock position information is transmitted to the server through the wireless communication device.
  • an embodiment of the present invention provides a second possible implementation manner of the first aspect, wherein the vehicle lock control apparatus further includes a radio frequency identifier electrically connected to the controller, the radio frequency identifier is configured to receive The card data information sent by the peripheral device is sent to the controller.
  • the controller is configured to receive the card data information sent by the radio frequency identifier, and control the smart car lock to perform an unlocking operation according to the card data information.
  • an embodiment of the present invention provides a third possible implementation of the first aspect, wherein the vehicle lock control apparatus further includes a security element electrically coupled to the controller, the security element for receiving The card data information sent by the controller is generated, and the encrypted information obtained by encrypting the card data information is generated.
  • an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, wherein the car lock control device further includes a memory electrically connected to the controller, the memory for storing the card swipe Data information, unlock time information, and lockout time information.
  • the embodiment of the present invention provides a fifth possible implementation manner of the first aspect, wherein the controller is further configured to receive background transaction information fed back by the server, where the background transaction information is Generated after pre-authorizing the card data information. And the controller is electrically connected to the indication component, the indication component is configured to indicate a transaction status corresponding to the background transaction information, or indicate an operation status of the smart car lock.
  • an embodiment of the present invention provides a sixth possible implementation of the first aspect, wherein the indicating component comprises at least one of the following components: a buzzer, an indicator light.
  • the embodiment of the present invention provides a seventh possible implementation manner of the first aspect, wherein the sound component is configured to receive a sound control instruction sent by the controller, and issue the sound control command according to the sound control instruction Sound indication information.
  • the embodiment of the present invention further provides a vehicle lock, comprising: a vehicle lock body and the vehicle lock control device according to any one of claims 1-8, wherein the vehicle lock control device is installed at the Said on the body of the car lock.
  • an embodiment of the present invention provides a first possible implementation manner of the second aspect, wherein the car lock further includes an indication component, the indication component is electrically connected to the controller, and is configured to indicate that the background transaction information corresponds to The status of the transaction, or indicates the working status of the smart car lock.
  • an embodiment of the present invention provides a second possible implementation of the second aspect, wherein the indicating component comprises at least one of the following components: a buzzer, an indicator light.
  • an embodiment of the present invention provides a third possible implementation manner of the second aspect, wherein the car lock further comprises a sound component electrically connected to the controller and configured to receive the controller The transmitted sound control command and sound indication information is issued according to the sound control command.
  • the embodiment of the present invention further provides a vehicle lock control system, comprising the vehicle lock control device, the client, and the server according to any one of the foregoing first aspects.
  • the client is provided with an NFC card reading device
  • the car lock control device is provided with an NFC communication device
  • the client and the server are connected by a wireless network.
  • the client is configured to: generate a wake-up command, and send the wake-up command to the lock control device by using the NFC card reading device; and receive a lock identification identifier returned by the lock control device; Sending the lock identification number to the server, and receiving password information corresponding to the lock identification identifier returned by the server.
  • the lock control device is configured to return a lock identification mark to the client after receiving the wake-up instruction.
  • the server is configured to receive a car lock identification identifier sent by the client, obtain password information corresponding to the identifier according to the car lock identification identifier, and return the password information to the client.
  • an embodiment of the present invention further provides a method for controlling a lock
  • the lock includes a lock control device
  • the lock control device includes a main controller, an NFC communication device, and a mobile communication device.
  • the method includes: receiving, by the NFC communication device, a wake-up instruction sent by a client; returning a lock identification identifier to the NFC communication device according to the wake-up instruction, and controlling the NFC communication device to identify the lock Sending an identifier to the client; after controlling the NFC communication device to send the lock identifier to the client, receiving, by the NFC communication device, an unlock command sent by the client, where
  • the unlocking instruction carries the password information; extracts the password information in the unlocking instruction, and matches the password information with the pre-stored lock code; when the two are consistent, the control lock is opened; and the mobile communication is Receiving, by the device, a key synchronization instruction sent by the server, where the key synchronization instruction carries a new lock code; according to the new lock code, the original
  • the embodiment of the present invention provides a first possible implementation manner of the fourth aspect, wherein the method further includes: receiving vehicle lock position information sent by the satellite positioning device; and the vehicle is preset every preset time.
  • the lock position information is sent to the server through the wireless communication device, or
  • the vehicle lock position information is transmitted to the server via the wireless communication device when the location acquisition command transmitted by the server is received by the mobile communication device.
  • the NFC communication device can be used to receive the wake-up instruction sent by the external client, wake up the main controller, and send the wake-up instruction to the main controller, and the main controller acquires the lock identification according to the wake-up instruction.
  • the identification is returned to the NFC communication device, and the NFC communication device transmits the lock identification number to the outside world, so that the client having the NFC communication function can be captured by the outside, so that the client acquires the lock identification mark.
  • the user does not need to scan the two-dimensional code on the vehicle body to obtain the car lock identification mark, and does not need to obtain the car lock identification mark by means of visual reading, but directly adopts NFC communication to obtain the car from the main controller.
  • the lock identification mark does not affect the normal use of the shared bicycle even if the two-dimensional code area or the printed lock identification mark is not present on the vehicle body, or the two-dimensional code area on the vehicle body and the printed vehicle lock identification mark are destroyed.
  • the embodiment of the present invention may further receive the card swiping data information sent by the peripheral device by using the radio frequency identifier electrically connected to the controller, and send the swiping card data information to the controller; the controller receives the swipe card data information sent by the radio frequency identifier, Control the smart car lock to perform the unlocking operation according to the card data information.
  • the embodiment of the present invention also It can be unlocked by radio frequency identification, which is convenient, fast and safe.
  • FIG. 1 is a schematic structural view of at least a part of a vehicle lock control device according to an embodiment of the present invention
  • FIG. 2 is a schematic structural view of at least a part of another type of vehicle lock control device according to an embodiment of the present invention.
  • FIG. 3 is a flow chart showing at least a part of a vehicle lock control method according to an embodiment of the present invention.
  • FIG. 4 is a flow chart showing at least a part of another vehicle lock control method according to an embodiment of the present invention.
  • FIG. 5 is a flow chart showing at least a part of another car lock control method according to an embodiment of the present invention.
  • FIG. 6 is a flow chart showing at least a part of another car lock control method provided by an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of at least a part of a vehicle lock control system according to an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of at least a part of a smart car lock system according to an embodiment of the present invention.
  • FIG. 9 is a schematic structural view showing at least a part of a smart car lock provided by an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of at least a part of another smart car lock provided by an embodiment of the present invention.
  • the shared bicycle unlocking method includes: setting a two-dimensional code area/or a vehicle lock identification mark printing area on the shared bicycle, and the user obtains the corresponding car of the shared bicycle by using the user terminal to scan the two-dimensional code in the two-dimensional code area.
  • the lock identification mark or directly reading the lock identification mark printed on the shared bicycle body and inputting to the user terminal, the user terminal uses the lock identification mark to communicate with the server, and obtains the car corresponding to the lock identification mark from the server
  • the password is locked so that the user can unlock the shared bicycle lock according to the lock code.
  • the present invention provides a vehicle lock control device, a vehicle lock, a lock control system, and a method for controlling the lock, which can destroy the two-dimensional code and the lock identification mark on the body of the shared bicycle. Under the premise, or on the premise that the QR code and the vehicle identification are not set on the body of the shared bicycle, it will not affect the normal use of the shared bicycle.
  • the lock control system is mainly applied to the lock of various vehicles, and the user terminal can communicate by near field wireless communication.
  • the NFC obtains the lock identification mark corresponding to the lock of the vehicle from the lock control system.
  • the vehicle may be any one of a bicycle, an electric vehicle, an electric assist bicycle, a tricycle, an automobile, etc., and the embodiment of the present invention preferably applies the above-described vehicle lock to a shared bicycle.
  • the terms “installation”, “connected”, and “connected” are to be understood broadly, and may be, for example, a fixed connection or a detachable connection, or Connected integrally; can be mechanical or electrical; can be directly connected or indirectly connected through an intermediate medium, which can be the internal communication between the two components.
  • installation can be understood broadly, and may be, for example, a fixed connection or a detachable connection, or Connected integrally; can be mechanical or electrical; can be directly connected or indirectly connected through an intermediate medium, which can be the internal communication between the two components.
  • a vehicle lock control apparatus includes a main controller and a NFC (Near Field Communication) communication device.
  • the NFC communication device is configured to receive a wake-up instruction sent by a client, wake up the main controller based on the wake-up instruction, and send the wake-up instruction to the main controller to receive the main controller.
  • the returned car lock identification is configured to receive a wake-up instruction sent by a client, wake up the main controller based on the wake-up instruction, and send the wake-up instruction to the main controller to receive the main controller.
  • the returned car lock identification is configured to receive a wake-up instruction sent by a client, wake up the main controller based on the wake-up instruction, and send the wake-up instruction to the main controller to receive the main controller.
  • the main controller is configured to receive the wake-up instruction sent by the NFC communication device, acquire the lock identification identifier according to the wake-up instruction, and return the lock identification identifier to the NFC communication device.
  • the main controller is generally a low-power MCU (Micro programmed Control Unit). In addition to being able to return a lock identification number corresponding to the wake-up command to the NFC communication device according to the wake-up command, it is also used to implement a standard protocol for NFC.
  • the NFC communication device is connected to the main controller through a serial interface, and when the NFC communication device receives the communication request, the main controller is woken up by the interrupt.
  • the NFC communication device includes: an NFC interface chip and an NFC antenna.
  • the NCF interface chip is used to implement the card simulation function, and the client communicating with it is provided with an NFC module, and the NFC module can have a card reading function, so that the NFC interface chip can communicate with the client to implement data exchange and receive commands. .
  • the communication distance is generally within 10cm.
  • NFC antennas are typically coils fabricated in a printed circuit board process or a winding process.
  • the protection layer is further disposed on the outside of the NFC antenna; the protection layer is provided with a prompting layer, and the prompting layer is used to prompt the user to hold the client near the prompting layer when he wants to open the lock of the shared bicycle.
  • the vehicle lock control device provided by the embodiment of the invention comprises a main controller and an NFC communication device.
  • the NFC communication device is configured to receive the wake-up instruction sent by the external client, wake up the main controller, and send the wake-up instruction to the main controller, and the main controller acquires the lock identification mark according to the wake-up instruction, and returns the NFC communication device to the NFC communication device.
  • the NFC communication device transmits the lock identification number to the outside world, so that the client having the NFC communication function can be captured by the outside, so that the client acquires the lock identification mark.
  • the user does not need to scan the two-dimensional code on the vehicle body to obtain the car lock identification mark, and does not need to obtain the car lock identification mark by means of visual reading, but directly adopts NFC communication to obtain the car from the main controller.
  • the lock identification mark does not affect the normal use of the shared bicycle even if the two-dimensional code area on the vehicle body and the printed vehicle lock identification mark are destroyed.
  • the client After obtaining the lock identification number, the client can communicate with the server and send the lock identification to the server, so that the server returns the corresponding password information to the client according to the lock identification.
  • the vehicle lock control device provided by the embodiment of the present invention can be installed on the smart car lock or on the non-intelligent password lock.
  • the client When it is installed on the non-intelligent password car lock, after the client obtains the password information sent by the server, the client displays the password information to the user, and the user can manually input the password information into the car lock, or manually control The lock is unlocked in the state corresponding to the password information.
  • the client When it is installed on the smart car lock, the user does not need to manually input the password information into the lock, and the client automatically generates an unlock command after receiving the password information sent by the server, and the unlock command is carried in the unlock command.
  • the password information is sent to the NFC communication device.
  • the NFC communication device is further configured to receive an unlocking instruction sent by the client; the unlocking instruction carries the password information, extracts password information in the unlocking instruction, and transmits the password information to The main controller.
  • the main controller is further configured to match the password information with a pre-stored car lock password, and if the two are consistent, control the car lock to open.
  • the vehicle lock control apparatus provided by the embodiment of the present invention further includes a mobile communication apparatus.
  • the mobile communication device is electrically coupled to the main controller.
  • the mobile communication device is configured to receive a key synchronization instruction sent by the server, and send the key synchronization instruction to the main controller.
  • the key synchronization command carries a new lock code.
  • the main controller is further configured to perform a synchronization and/or update operation of the lock code of the original lock code according to the key synchronization command and the new lock code.
  • the mobile communication device generally includes: a GSM (Global System for Mobile Communication) communication device, a 3G (3rd-Generation, third generation mobile communication) device, and a 4g (4th-generation, fourth generation mobile communication) device. At least one of nb-iot (Narrow Band Internet of Things) devices.
  • GSM Global System for Mobile Communication
  • 3G 3rd-Generation, third generation mobile communication
  • 4g 4th-generation, fourth generation mobile communication
  • nb-iot Narrow Band Internet of Things
  • the MCU integrates a storage device and has a certain storage capacity.
  • the lock code of the car is generally pre-existing in the main controller.
  • the server sends the mobile communication device to the main controller.
  • the key synchronization command the key synchronization command carries a new lock code.
  • the main controller After receiving the key synchronization command, the main controller will parse the new lock code from the user, replace the original stored lock code with the new lock code, and complete the synchronization of the lock code and/or Update operation.
  • the client uses the password information to communicate with the lock control device.
  • the synchronization and/or update of the lock code is prohibited until the lock is opened.
  • the server After receiving the lock identification identifier sent by the client, the server generates a key synchronization prohibition instruction, and marks the lock identification identifier according to the key synchronization prohibition instruction; the duration of the key synchronization prohibition instruction It is longer than the time when the user uses the shared bicycle; when the server receives the lock information sent by the client or the car lock control device, the key synchronization prohibition command will be revoked.
  • the server Before the server generates the key synchronization instruction, determining whether the key synchronization prohibition instruction exists, if not, generating a key synchronization instruction, and transmitting the key synchronization instruction to the lock control device; if yes, terminating the lock on the vehicle The synchronization and/or update control of the password is generated until the key synchronization prohibition instruction is revoked.
  • the server determines whether the car lock identification identifier sent by the client is received in the previous preset time period; if yes, generates a key synchronization instruction; if not, determines the pre-determination Whether to receive the lock information sent by the client or the lock control device within the time period, and if so, generate a key synchronization command; if otherwise, the synchronization and/or update control of the lock code is suspended until the client is received End or lock lock information sent by the lock control device.
  • the car lock control device After receiving the key synchronization command sent by the server, the car lock control device determines whether the car lock is in an open state, or determines whether a wake-up command or an unlock command sent by the client is received within a preset time period; If yes, return information of the reject key synchronization instruction to the server; after receiving the information of the reject key synchronization instruction, the server suspends synchronization and/or update control of the lock code until receiving the client or the lock Control the device to send the lock information.
  • the generation and transmission of the key synchronization command on the server is triggered by the vehicle lock control device: the vehicle lock control device determines whether it is in an unlocked state every preset time or under the trigger of an external condition, or Whether the wake-up command or the unlock command sent by the client is received in the previous preset time period; if not, the control itself enters a state prohibiting communication with the client, and sends a lock code update instruction to the server; the server is receiving After the lock code update instruction is generated, a corresponding password synchronization command is generated, and the password synchronization command is sent to the lock control device; the new lock code of the lock control device performs the synchronization of the lock code of the original lock code. After the update operation and/or update operation, the state of prohibiting communication with the client is released.
  • the vehicle lock control device provided by the embodiment of the present invention further includes a satellite positioning device based on the above embodiments.
  • the satellite positioning device is electrically coupled to the main controller.
  • the satellite positioning device is configured to receive a satellite signal, generate lock position information according to the satellite signal, and transmit the lock position information to the main controller.
  • the main controller is further configured to send the lock position information to the server through the wireless communication device every preset time, or receive a position acquisition instruction sent by the server by using the mobile communication device The lock position information is transmitted to the server via the wireless communication device.
  • the satellite positioning device comprises: one or more of a GPS (Global Positioning System) positioning device, a Beidou positioning device, a GLONASG GLONASS positioning device, and a Galileo positioning device.
  • GPS Global Positioning System
  • the satellite positioning device generates a lock position information according to satellite signals. Taking GPS as an example, the satellite positioning device can capture the satellites to be tested selected according to a certain satellite cut-off angle, and track the operation of these satellites. When it captures the satellite signal transmitted by the tracked satellite, it can measure the pseudo-distance of the satellite positioning device and the rate of change of the distance, thereby demodulating data such as satellite orbit parameters. Based on these data, the satellite positioning device can perform positioning calculation according to the positioning and settlement method, and calculate information such as latitude, longitude, altitude, speed, time and the like of the current geographical location.
  • a satellite positioning device can receive satellite signals transmitted by satellites, measure its pseudorange and pseudorange rate of change, and extract and process navigation messages from satellite signals. The above data is processed and the location, speed and time information of the user is calculated.
  • the vehicle lock control device provided by the embodiment of the present invention further includes a power supply.
  • the power supply is connected to at least one of the main controller, the satellite positioning device, the mobile communication device, and the NFC interface chip.
  • the power supply is used to supply various voltages to the entire lock control.
  • the voltages employed by the various parts of the lock control device are different.
  • a voltage conversion circuit is also provided between the power supply and each part.
  • the specific connection relationship between the power supply and the power supply is determined by the connection structure of the entire lock control device. For example, if the voltage of the NFC interface chip is derived from the main controller, the power supply and the NFC interface chip are not. Direct physical connection, but only connected to the main controller.
  • a further embodiment of the present invention further provides a vehicle lock control method, which is applicable to a vehicle lock control device comprising a main controller and an NFC communication device.
  • the method may include step S02 and Step S04, in step S02, the wake-up instruction sent by the client is received by the NFC communication device.
  • step S04 according to the wake-up instruction, the car lock identification identifier is returned to the NFC communication device, and the NFC communication device is controlled to send the car lock identification identifier to the client.
  • the NFC communication device receives the wake-up command sent by the external client, wakes up the main controller, and sends the wake-up command to the main controller.
  • the main controller acquires the lock identification mark according to the wake-up instruction and returns it to the NFC communication device, and the NFC communication device transmits the lock identification identifier to the outside, so that the client having the NFC communication function can be captured by the outside, thereby making the client
  • the terminal obtains the lock identification number.
  • the user does not need to scan the two-dimensional code on the vehicle body to obtain the car lock identification mark, and does not need to obtain the car lock identification mark by means of visual reading, but directly adopts NFC communication to obtain the car from the main controller.
  • the lock identification mark does not affect the normal use of the shared bicycle even if the two-dimensional code area on the vehicle body and the printed vehicle lock identification mark are destroyed.
  • the method may further include the following steps. S12, S14 and S16.
  • step S12 the unlocking command sent by the client is received by the NFC communication device, and the unlocking command carries the password information.
  • step S14 the password information in the unlock command is extracted, and the password information is matched with the pre-stored lock code.
  • step S16 when the password information coincides with the pre-stored lock code, the lock is controlled to be turned on.
  • the vehicle lock control method provided by the embodiment of the present invention may further include steps S22 and S24 on the basis of the foregoing embodiment.
  • step S22 the key synchronization command sent by the server is received by the mobile communication device, and the key synchronization command carries a new lock code.
  • step S24 the original lock code is synchronized and/or updated according to the new lock code.
  • the vehicle lock control method provided by the embodiment of the present invention may further include step S32 and step S34 on the basis of the foregoing embodiment.
  • step S32 the lock position information transmitted by the satellite positioning device is received.
  • step S34 the lock position information is transmitted to the server through the wireless communication device every preset time, or the position acquisition instruction sent by the server is received by the mobile communication device. The lock position information is transmitted to the server via the wireless communication device.
  • steps S32-S34 have no determined sequential execution relationship with the execution steps in the embodiments provided in FIG. 3 to FIG. 5 above, and may be performed in parallel with any of the above steps, or may be before any of the above steps or Execute later.
  • the present disclosure also provides a vehicle lock, which, in addition to the above embodiments, includes a vehicle lock body and the vehicle lock control device of any of the above embodiments. Wherein the lock control device is mounted on the lock body.
  • a further embodiment of the present invention further provides a vehicle lock control system, as shown in FIG. 7, comprising the vehicle lock control device, the client and the server as described in any one of the above embodiments.
  • the client is provided with an NFC card reading device
  • the car lock control device is provided with an NFC communication device.
  • the client and the server are connected by a wireless network;
  • the client is configured to: generate a wake-up command, and send the wake-up command to the lock control device through the NFC card reading device; receive a lock identification identifier returned by the lock control device; The car lock identification identifier is sent to the server, and receives password information corresponding to the car lock identification identifier returned by the server.
  • the lock control device is configured to: after receiving the wake-up command, return a lock identification identifier to the client.
  • the server is configured to: receive a car lock identification identifier sent by the client, acquire password information corresponding to the identifier according to the car lock identification identifier, and return the password information to the client .
  • a computer program product for a vehicle lock control device, a vehicle lock, a vehicle lock control system, and a method for controlling a lock provided by an embodiment of the present invention includes a computer readable storage medium storing program code, the program code including instructions for being applicable to For the specific implementation, refer to the method embodiment, and details are not described herein again.
  • the present disclosure also provides a lock control device, a lock or a lock control system, It may include a radio frequency identifier 11 and a controller 12.
  • FIG. 9 shows a car lock 1 including a radio frequency identifier 11 and a controller 12, which may also be referred to as a smart car lock 1.
  • the lock 1 may further include a housing, and the radio frequency identifier 11 and the controller 12 may be disposed in a cavity of the housing.
  • the radio frequency identifier 11 and the controller 12 in conjunction with FIGS.
  • the car lock 1 reads the card data information of the peripheral device 2 through the radio frequency identifier 11, and can transmit the card card data information to the server 3. Therefore, the server 3 generates an unlock control command after performing verification processing according to the card data information, and the lock 1 can perform an unlock operation according to the unlock control command.
  • the above-mentioned lock 1 can also perform an unlocking operation directly according to the above-mentioned card swiping information, thereby further improving the user experience.
  • the radio frequency identifier 11 is configured to receive the card data information sent by the peripheral device 2, and send the card data information to the controller 12.
  • the controller 12 is configured to receive the card swiping data information sent by the radio frequency identifier 11 and control the car lock 1 to perform the unlocking operation according to the swiping card data information.
  • the lock 1 includes a housing; the inner cavity of the housing is provided with a radio frequency identifier 11 and a controller 12; the radio frequency identifier 11 and the controller 12 are electrically connected; and the radio frequency identifier 11 receives the swipe data information sent by the peripheral device 2, And sending the card data information to the controller 12; the controller 12 receives the card data information sent by the radio frequency identifier 11, and controls the car lock 1 to perform the unlocking operation according to the card data information, which can be unlocked by using the radio frequency identification method, which is convenient, fast and safe. Higher sex.
  • the car lock 1 provided by the embodiment of the present invention reads the card data information sent by the peripheral device 2 through the radio frequency identifier 11 , and the controller 12 can receive the card data according to the connection relationship with the radio frequency identifier 11 .
  • Information, and according to the above swipe data information, the lock 1 is controlled to perform an unlock operation.
  • the above-mentioned lock 1 can be unlocked in the following two ways.
  • the lock 1 can send the swipe data information to the server 3, and the receiving server 3 performs an unlock control command generated after the verification processing according to the swipe data information, and performs an unlock operation according to the unlock control command, that is, online.
  • Unlocking secondly, the lock 1 can also perform an unlocking operation according to the swipe data information when detecting that the wireless signal strength of the server 3 connected to the lock 1 is weak, that is, offline unlocking to meet different Different needs of users.
  • the peripheral device 2 may be a terminal device, an IC (Integrated Circuit Card), or a bank card (such as a debit card, a credit card, etc.).
  • the radio frequency identifier 11 will read the card data information in the peripheral device 2.
  • the card data information includes at least a card number, and may further include information such as a household name, an ID number, and a card swiping time.
  • the radio frequency identifier 11 operates in a low power mode and a normal mode. Under normal working conditions, the module is in a low power mode, and only when the corresponding trigger condition is met (eg, card/cell phone proximity) When it is time to enter the normal working mode.
  • an NFC (Near Field Communication) reader/writer is preferably used as the radio frequency identifier 11 in the embodiment of the present invention, and the card reader supports Data communication of Type A and Type B of ISO/IEC 14443.
  • vehicle lock 1 provided by the embodiment of the present invention may be any one of a lock such as a bicycle lock, an electric vehicle lock, and an electric assist bicycle lock.
  • the car lock 1 provided by the embodiment of the present invention further includes a security element 13.
  • the security element 13 can encrypt the card data information. .
  • the hardware security of the lock 1 provided by the embodiment of the present invention should be dependent on the internal secure element 13 (SE), the key should be stored inside the secure element 13, and the security element 13 provides critical encryption and decryption operations.
  • SE internal secure element 13
  • the authentication method is also slightly different.
  • the server 3 must send the transaction message to the UnionPay background, so that the validity of the current card is verified by the UnionPay or the issuing bank, for example, whether the application ciphertext is valid, that is, at this time, the car lock 1 needs to be
  • the received card data information is encrypted according to a certain manner, and the server 3 decrypts by key pairing according to the corresponding decryption rule to ensure mutual authentication or one-way authentication, and the card lock 1 sends the card data information to the background. Will not be tampered with.
  • the above-mentioned lock 1 can also encrypt the hardware identification number thereof through the above-mentioned secure element 13, and the server 3 also performs necessary check after receiving the corresponding encrypted data to avoid possible connection to the pseudo peripheral device 2. Trading risk.
  • the above-mentioned car lock 1 is responsible for authentication, and the embodiment of the present invention preferably adopts offline data authentication (DDA) for authentication.
  • DDA offline data authentication
  • the embodiment of the present invention provides that the power supply of the lock 1 can supply power to the radio frequency identifier 11, the controller 12 and the secure element 13.
  • the power source is powered by a connection relationship with an active external power source, and can be directly powered by a passive internal battery.
  • the vehicle lock 1 provided by the embodiment of the present invention further includes a wireless communication component 14 capable of realizing data communication between the lock 1 and the server 3.
  • the wireless communication component may be a WIFI (Wireless Fidelity) component, may be a GPRS (General Packet Radio Service) component, or may be a GSM (Global System for Mobile Communication).
  • the components of the present invention can adopt different communication modules for different user requirements, and the applicability is stronger.
  • the memory 15 in the embodiment of the present invention stores the card data information, the unlocking time information, and the lockout time information when the lock 1 and the server 3 cannot perform real-time communication, so that the lock 1 is again After accessing the server 3, the above-described information stored in the memory 15 can be transmitted to the server 3, so that the server 3 performs settlement processing based on the above information.
  • the lock 1 provided by the embodiment of the present invention can generate an unlocking control signal not only in the online state but also through the transaction result of the pre-authorized transaction of the third-party payment system by the server 3, thereby realizing the unlocking of the lock, and also
  • the lock 1 is in the offline state, the lock is directly unlocked according to the above-mentioned card data information, and when it is in the online state again, the settlement is performed, thereby further improving the user experience.
  • the vehicle lock 1 provided by the embodiment of the present invention is further provided with a positioning component 16 that acquires position information of the lock 1 and transmits the position information to the memory 15 and/or the wireless communication component 14 .
  • the positioning member 16 can be the same component as the satellite positioning device in the embodiment shown in FIG. 2, but can also be an additional positioning component.
  • the memory 15 is capable of accepting and storing the location information transmitted by the positioning component 16, and the wireless communication component 14 is capable of receiving the location information transmitted by the location component 16 and transmitting the location information to the server 3.
  • the positioning component 16 may upload the acquired location information to the server 3 according to a preset time interval, and may also receive a positioning instruction sent by the controller 12, and send the current location information of the lock 1 to the wireless communication according to the positioning instruction.
  • Component 14 wherein the positioning command is generated based on the lock information of the lock 1, the wireless communication unit 14 receives the current position information and the lock information, and transmits the current position information and the lock information to the server 3, that is, only in the lock 1 The current position information is sent only when the lock is blocked to further secure the safety of the vehicle loaded with the lock 1.
  • the vehicle lock 1 provided by the embodiment of the present invention is further provided with an indication component 17, which can not only indicate the working state of the vehicle lock 1, but also can instruct the server 3 to feed back the data of the card data.
  • the transaction status corresponding to the acquired transaction information generated after the transaction is authorized.
  • the indicating component 17 may be one or a combination of a buzzer and an indicator light.
  • the indicating component 17 in the embodiment of the present invention may be one, or may be multiple, which may be correspondingly indicated according to the blinking frequency and/or the blinking color of the indicator light, and may also be based on the sound size of the buzzer and/or The duration of the sound is correspondingly indicated, and the specific indication manner will not be described here.
  • the lock 1 provided by the embodiment of the present invention is further provided with a clock component capable of providing a clock pulse, and the clock pulse provides a reference for other functions of the lock 1 according to the embodiment of the present invention.
  • the above clock pulse can also be used for transaction timestamp and parameter validity judgment.
  • the vehicle lock 1 provided by the embodiment of the present invention further includes a sound component 18, and the sound component 18 can issue a voice prompt message when receiving the sound control command sent by the controller 12, for example, when unlocking When successful, remind the user to prompt the message "Please brush again" to improve the user experience.
  • the vehicle lock 1 provided by the invention comprises a casing; the inner cavity of the casing is provided with a radio frequency identifier 11 and a controller 12; the radio frequency identifier 11 and the controller 12 are electrically connected; the radio frequency identifier 11 receives the card swiping sent by the peripheral device 2 Data information, and the card data information is sent to the controller 12; the controller 12 receives the card data information sent by the radio frequency identifier 11, and controls the lock 1 to perform the unlocking operation according to the card data information, which can be unlocked by using a radio frequency identification method, which is convenient Fast and safe.
  • the embodiment of the invention further provides a vehicle, wherein the vehicle using the above-mentioned vehicle lock 1 is unlocked by using a radio frequency identification method, which has high security, and is convenient and quick to make the user's use experience better.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the portion of the technical solution of the present disclosure that contributes in essence or to the prior art or the portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
  • each functional unit in the embodiment provided by the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the portion of the technical solution of the present disclosure that contributes in essence or to the prior art or the portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .

Abstract

A vehicle lock control device, a vehicle lock, a vehicle lock control system, and a method for controlling a vehicle lock are provided. The vehicle lock control device comprises: a main controller, and an NFC communication device and a mobile communication device electrically connected to the main controller. The NFC communication device is used for receiving a wake-up instruction sent by a client, and for waking up the main controller in accordance with the wake-up instruction; receiving a vehicle lock identification identifier returned by the main controller, and sending the vehicle lock identification identifier to the client; receiving an unlock instruction sent by the client, extracting password information from the unlock instruction, and transmitting the password information to the main controller. The main controller is used for receiving the wake-up instruction sent by the NFC communication device, obtaining the vehicle lock identification identifier, and returning said identifier to the NFC communication device; matching the password information to a pre-stored vehicle lock password and, if the two match, controlling the vehicle lock to open; on the basis of a cryptographic key synchronization instruction and a new vehicle lock password, performing a vehicle lock password synchronization operation and/or an update operation in respect of the original vehicle lock password. The mobile communication device is used for receiving the password synchronization instruction sent by a server and sending same to the main controller, said password synchronization instruction carrying a new vehicle lock password.

Description

车锁控制装置、车锁、车锁控制系统、以及控制车锁的方法Car lock control device, car lock, car lock control system, and method for controlling car lock 技术领域Technical field
本公开涉及锁具技术领域,具体而言,涉及应用无线通信技术的车锁控制装置、车锁、车锁控制系统、以及用于控制车锁的方法。The present disclosure relates to the field of lock technology, and in particular to a vehicle lock control device, a vehicle lock, a lock control system, and a method for controlling a lock using the wireless communication technology.
背景技术Background technique
随着当今社会对新能源及环保事业的关注,共享单车作为一种公共出行方式,越来越受到大家欢迎。With the attention of today's society to new energy and environmental protection, sharing bicycles as a public travel mode is getting more and more popular.
现有的共享单车上设置有智能密码锁或者机械密码锁,在车身上一般会设置二维码扫描区和/或在车身上印刷车锁识别标识,用户通过手机APP可以对二维码扫描区的二维码进行扫描,以使用户终端能够自动获得车锁识别标识,或者用户直接读取车身上所印刷的车锁识别标识,采用手动输入的方式将车锁识别标识输入至用户终端。The existing shared bicycle is provided with a smart code lock or a mechanical code lock. On the vehicle body, a two-dimensional code scanning area is generally set and/or a car lock identification mark is printed on the vehicle body, and the user can scan the two-dimensional code through the mobile phone APP. The two-dimensional code is scanned so that the user terminal can automatically obtain the lock identification mark, or the user directly reads the lock identification mark printed on the vehicle body, and inputs the lock identification mark to the user terminal by manual input.
但是实际上,在车身上的二维码扫描区中的二维码以及印刷在车身上的车锁识别标识都很容易由于人为或者非人为的原因而损坏,而一旦二维码和车锁识别标识被破坏,用户就无法正常获得车锁对应的车锁识别标识,从而无法获得正确的开锁密码,影响共享单车的使用。However, in fact, the two-dimensional code in the two-dimensional code scanning area on the vehicle body and the lock identification mark printed on the vehicle body are easily damaged due to human or non-human reasons, and once the two-dimensional code and the lock recognition If the logo is destroyed, the user cannot obtain the lock identification mark corresponding to the lock of the vehicle normally, so that the correct unlock password cannot be obtained, which affects the use of the shared bicycle.
发明内容Summary of the invention
有鉴于此,本发明实施例的目的在于提供一种车锁控制装置、车锁、车锁控制系统、以及用于控制车锁的方法。在车锁内设置了采用了一种或多种无线通信设备,直接与移动设备进行近场通信,不需要用户扫描二维码或者手动输入车锁识别标识,就能够获得车锁的对应的车锁识别标识。这样,即使车身上的二维码和车锁识别标识被破坏,也不会影响共享单车的正常使用。所述无线通信设备为NFC通信装置或射频识别器。车锁控制装置既可以仅包括NFC通信装置作为无线通信设备,又可以仅包括射频识别器作为无线通信设备,还可以包括NFC通信装置和射频识别器二者。In view of this, an object of embodiments of the present invention is to provide a vehicle lock control device, a vehicle lock, a vehicle lock control system, and a method for controlling a vehicle lock. One or more wireless communication devices are arranged in the lock, and the near field communication is directly performed with the mobile device, and the corresponding vehicle of the lock can be obtained without the user scanning the two-dimensional code or manually inputting the lock identification mark. Lock identification. Thus, even if the two-dimensional code and the lock identification mark on the vehicle body are destroyed, the normal use of the shared bicycle will not be affected. The wireless communication device is an NFC communication device or a radio frequency identifier. The lock control device may include only the NFC communication device as the wireless communication device, or only the radio frequency identifier as the wireless communication device, and may also include both the NFC communication device and the radio frequency identifier.
第一方面,本发明实施例提供了一种车锁控制装置,包括:主控制器、NFC通信装置和移动通信装置。其中,所述NFC通信装置与所述主控制 器连接,且用于:接收客户端所发送的唤醒指令,基于所述唤醒指令唤醒所述主控制器,并将所述唤醒指令发送至所述主控制器;接收所述主控制器返回的车锁识别标识,并将所述车锁识别标识发送给所述客户端;接收所述客户端所发送的开锁指令,提取所述开锁指令中的密码信息,并将所述密码信息传递至所述主控制器。所述主控制器用于:接收NFC通信装置所发送的所述唤醒指令,并根据所述唤醒指令获取所述车锁识别标识,并将所述车锁识别标识返回给所述NFC通信装置;将所述密码信息与预存的车锁密码进行匹配,如果两者一致,则控制车锁打开;根据所述密钥同步指令和新的车锁密码,对原有的车锁密码执行车锁密码的同步和/或更新操作。所述移动通信装置与所述主控制器电连接,且用于:接收服务器所发送的密钥同步指令,并将所述密钥同步指令发送至所述主控制器,其中,所述密钥同步指令中携带有新的车锁密码。In a first aspect, an embodiment of the present invention provides a vehicle lock control apparatus, including: a main controller, an NFC communication device, and a mobile communication device. The NFC communication device is connected to the main controller, and configured to: receive a wake-up instruction sent by the client, wake up the main controller based on the wake-up instruction, and send the wake-up instruction to the a main controller; receiving a lock identification identifier returned by the main controller, and transmitting the lock identification identifier to the client; receiving an unlock command sent by the client, and extracting the unlock command Password information and pass the password information to the primary controller. The main controller is configured to: receive the wake-up instruction sent by the NFC communication device, acquire the lock identification identifier according to the wake-up instruction, and return the lock identification identifier to the NFC communication device; The password information is matched with the pre-stored lock code, and if the two are consistent, the control lock is opened; and the lock code is executed on the original lock code according to the key synchronization command and the new lock code. Synchronization and/or update operations. The mobile communication device is electrically connected to the main controller, and configured to: receive a key synchronization instruction sent by the server, and send the key synchronization instruction to the main controller, where the key A new lock code is carried in the sync command.
结合第一方面,本发明实施例提供了第一方面的第一种可能的实施方式,其中,车锁控制装置还包括与所述主控制器电连接的卫星定位装置,所述卫星定位装置用于接收卫星信号,并根据所述卫星信号生成车锁位置信息,以及将所述车锁位置信息传递至所述主控制器。所述主控制器还用于每隔预设时间将所述车锁位置信息通过所述无线通信装置发送至所述服务器,或者在通过所述移动通信装置接收到所述服务器所发送的位置调取指令时,将所述车锁位置信息通过所述无线通信装置发送至所述服务器。In conjunction with the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, wherein the car lock control device further includes a satellite positioning device electrically connected to the main controller, where the satellite positioning device is used Receiving a satellite signal, and generating lock position information according to the satellite signal, and transmitting the lock position information to the main controller. The main controller is further configured to send the lock position information to the server through the wireless communication device every preset time, or receive a position adjustment sent by the server by using the mobile communication device When the command is fetched, the lock position information is transmitted to the server through the wireless communication device.
结合第一方面,本发明实施例提供了第一方面的第二种可能的实施方式,其中,车锁控制装置还包括与所述控制器电连接的射频识别器,所述射频识别器用于接收外围设备发送的刷卡数据信息,并将所述刷卡数据信息发送至所述控制器。所述控制器用于接收所述射频识别器发送的刷卡数据信息,根据所述刷卡数据信息控制所述智能车锁执行开锁操作。In conjunction with the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, wherein the vehicle lock control apparatus further includes a radio frequency identifier electrically connected to the controller, the radio frequency identifier is configured to receive The card data information sent by the peripheral device is sent to the controller. The controller is configured to receive the card data information sent by the radio frequency identifier, and control the smart car lock to perform an unlocking operation according to the card data information.
结合第一方面,本发明实施例提供了第一方面的第三种可能的实施方式,其中,车锁控制装置还包括与所述控制器电连接的安全元件,所述安全元件用于接收所述控制器发送的刷卡数据信息,并生成对所述刷卡数据信息进行加密后的加密信息。In conjunction with the first aspect, an embodiment of the present invention provides a third possible implementation of the first aspect, wherein the vehicle lock control apparatus further includes a security element electrically coupled to the controller, the security element for receiving The card data information sent by the controller is generated, and the encrypted information obtained by encrypting the card data information is generated.
结合第一方面,本发明实施例提供了第一方面的第四种可能的实施方式,其中,车锁控制装置还包括与所述控制器电连接的存储器,所述存储器用于存储所述刷卡数据信息、开锁时间信息和闭锁时间信息。In conjunction with the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, wherein the car lock control device further includes a memory electrically connected to the controller, the memory for storing the card swipe Data information, unlock time information, and lockout time information.
结合第一方面,本发明实施例提供了第一方面的第五种可能的实施方式,其中,所述控制器还用于接收所述服务器反馈的后台交易信息,其中,所述后台交易信息是对所述刷卡数据信息进行预授权交易后生成的。且所述控制器电连接到指示部件,所述指示部件用于指示所述后台交易信息对应的交易状态,或指示所述智能车锁的工作状态。With reference to the first aspect, the embodiment of the present invention provides a fifth possible implementation manner of the first aspect, wherein the controller is further configured to receive background transaction information fed back by the server, where the background transaction information is Generated after pre-authorizing the card data information. And the controller is electrically connected to the indication component, the indication component is configured to indicate a transaction status corresponding to the background transaction information, or indicate an operation status of the smart car lock.
结合第一方面,本发明实施例提供了第一方面的第六种可能的实施方式,其中,所述指示部件包括以下部件中的至少一个:蜂鸣器、指示灯。In conjunction with the first aspect, an embodiment of the present invention provides a sixth possible implementation of the first aspect, wherein the indicating component comprises at least one of the following components: a buzzer, an indicator light.
结合第一方面,本发明实施例提供了第一方面的第七种可能的实施方式,其中,所述声音部件用于接收所述控制器发送的声音控制指令,并根据所述声音控制指令发出声音指示信息。With reference to the first aspect, the embodiment of the present invention provides a seventh possible implementation manner of the first aspect, wherein the sound component is configured to receive a sound control instruction sent by the controller, and issue the sound control command according to the sound control instruction Sound indication information.
第二方面,本发明实施例还提供一种车锁,包括:车锁主体以及上述权利要求1-8任意一项所述的车锁控制装置,且其中,所述车锁控制装置安装在所述车锁主体上。In a second aspect, the embodiment of the present invention further provides a vehicle lock, comprising: a vehicle lock body and the vehicle lock control device according to any one of claims 1-8, wherein the vehicle lock control device is installed at the Said on the body of the car lock.
结合第二方面,本发明实施例提供了第二方面的第一种可能的实施方式,其中,车锁还包括指示部件,所述指示部件电连接到控制器,且用于指示后台交易信息对应的交易状态,或指示所述智能车锁的工作状态。With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, wherein the car lock further includes an indication component, the indication component is electrically connected to the controller, and is configured to indicate that the background transaction information corresponds to The status of the transaction, or indicates the working status of the smart car lock.
结合第二方面,本发明实施例提供了第二方面的第二种可能的实施方式,其中,所述指示部件包括以下部件中的至少一个:蜂鸣器、指示灯。In conjunction with the second aspect, an embodiment of the present invention provides a second possible implementation of the second aspect, wherein the indicating component comprises at least one of the following components: a buzzer, an indicator light.
结合第二方面,本发明实施例提供了第二方面的第三种可能的实施方式,其中,车锁还包括声音部件,所述声音部件电连接到控制器,且用于接收所述控制器发送的声音控制指令,并根据所述声音控制指令发出声音指示信息。With reference to the second aspect, an embodiment of the present invention provides a third possible implementation manner of the second aspect, wherein the car lock further comprises a sound component electrically connected to the controller and configured to receive the controller The transmitted sound control command and sound indication information is issued according to the sound control command.
第三方面,本发明实施例还提供一种车锁控制系统,包括如上述第一方面的任意一项实施例所述的车锁控制装置、客户端以及服务器。所述客户端上设置有NFC读卡装置,所述车锁控制装置上设置有NFC通信装置,且所述客户端以及所述服务器通过无线网络连接。其中,所述客户端用于:生成唤醒指令,并将所述唤醒指令通过所述NFC读卡装置发送至所述车锁控制装置;接收所述车锁控制装置所返回的车锁识别标识;将所述车锁 识别标识发送给所述服务器,并接收所述服务器返回的与所述车锁识别标识对应的密码信息。所述车锁控制装置用于在接收所述唤醒指令后,向所述客户端返回车锁识别标识。所述服务器用于接收所述客户端所发送的车锁识别标识,根据所述车锁识别标识,获取与所述识别标识对应的密码信息,并将所述密码信息返回给所述客户端。In a third aspect, the embodiment of the present invention further provides a vehicle lock control system, comprising the vehicle lock control device, the client, and the server according to any one of the foregoing first aspects. The client is provided with an NFC card reading device, the car lock control device is provided with an NFC communication device, and the client and the server are connected by a wireless network. The client is configured to: generate a wake-up command, and send the wake-up command to the lock control device by using the NFC card reading device; and receive a lock identification identifier returned by the lock control device; Sending the lock identification number to the server, and receiving password information corresponding to the lock identification identifier returned by the server. The lock control device is configured to return a lock identification mark to the client after receiving the wake-up instruction. The server is configured to receive a car lock identification identifier sent by the client, obtain password information corresponding to the identifier according to the car lock identification identifier, and return the password information to the client.
第四方面,本发明实施例还提供一种用于控制车锁的方法,所述车锁包括车锁控制装置,所述车锁控制装置包括主控制器、NFC通信装置以及移动通信装置,所述方法包括:通过所述NFC通信装置接收客户端所发送的唤醒指令;根据所述唤醒指令,向所述NFC通信装置返回车锁识别标识,并控制所述NFC通信装置将所述车锁识别标识向所述客户端发送;在控制所述NFC通信装置将所述车锁识别标识向所述客户端发送之后,通过所述NFC通信装置接收所述客户端所发送的开锁指令,其中,所述开锁指令中携带有密码信息;提取所述开锁指令中的密码信息,并将所述密码信息与预存的车锁密码进行匹配;在两者一致时,控制车锁打开;通过所述移动通信装置接收服务器所发送的密钥同步指令,所述密钥同步指令中携带有新的车锁密码;根据新的所述车锁密码,对原有的车锁密码进行同步和/或更新操作。In a fourth aspect, an embodiment of the present invention further provides a method for controlling a lock, the lock includes a lock control device, and the lock control device includes a main controller, an NFC communication device, and a mobile communication device. The method includes: receiving, by the NFC communication device, a wake-up instruction sent by a client; returning a lock identification identifier to the NFC communication device according to the wake-up instruction, and controlling the NFC communication device to identify the lock Sending an identifier to the client; after controlling the NFC communication device to send the lock identifier to the client, receiving, by the NFC communication device, an unlock command sent by the client, where The unlocking instruction carries the password information; extracts the password information in the unlocking instruction, and matches the password information with the pre-stored lock code; when the two are consistent, the control lock is opened; and the mobile communication is Receiving, by the device, a key synchronization instruction sent by the server, where the key synchronization instruction carries a new lock code; according to the new lock code, the original The lock password synchronization and / or updating.
结合第四方面,本发明实施例提供了第四方面的第一种可能的实施方式,其中,方法还包括:接收卫星定位装置所发送的车锁位置信息;每隔预设时间将所述车锁位置信息通过无线通信装置发送至服务器,或者,With reference to the fourth aspect, the embodiment of the present invention provides a first possible implementation manner of the fourth aspect, wherein the method further includes: receiving vehicle lock position information sent by the satellite positioning device; and the vehicle is preset every preset time. The lock position information is sent to the server through the wireless communication device, or
在通过移动通信装置接收到所述服务器所发送的位置调取指令时,将所述车锁位置信息通过所述无线通信装置发送至所述服务器。The vehicle lock position information is transmitted to the server via the wireless communication device when the location acquisition command transmitted by the server is received by the mobile communication device.
在本发明的实施例中,可利用NFC通信装置接收外界客户端所发送的唤醒指令,唤醒主控制器,并将该唤醒指令发送给主控制器,主控制器根据唤醒指令,获取车锁识别标识,并返回给NFC通信装置,NFC通信装置再将车锁识别标识传递至外界,从而能够让外界具有NFC通信功能的客户端捕捉到,从而使得客户端获取到车锁识别标识。在这个过程中,用户不需要扫描车身上的二维码以获得车锁识别标识,也不需要通过肉眼读取的方式获得车锁识别标识,而是直接采用NFC通信,从主控制器获得车锁识别标识,即使车身上不存在二维码区域或没有印刷车锁识别标识,或车身上的二维码区域以及印刷的车锁识别标识被破坏,也不会影响共享单车的正常使用。In the embodiment of the present invention, the NFC communication device can be used to receive the wake-up instruction sent by the external client, wake up the main controller, and send the wake-up instruction to the main controller, and the main controller acquires the lock identification according to the wake-up instruction. The identification is returned to the NFC communication device, and the NFC communication device transmits the lock identification number to the outside world, so that the client having the NFC communication function can be captured by the outside, so that the client acquires the lock identification mark. In this process, the user does not need to scan the two-dimensional code on the vehicle body to obtain the car lock identification mark, and does not need to obtain the car lock identification mark by means of visual reading, but directly adopts NFC communication to obtain the car from the main controller. The lock identification mark does not affect the normal use of the shared bicycle even if the two-dimensional code area or the printed lock identification mark is not present on the vehicle body, or the two-dimensional code area on the vehicle body and the printed vehicle lock identification mark are destroyed.
此外,本发明的实施例还可利用与控制器电连接的射频识别器接收外围设备发送的刷卡数据信息,并将刷卡数据信息发送至控制器;控制器接收射频识别器发送的刷卡数据信息,根据刷卡数据信息控制智能车锁执行开锁操作。这样,在车身上不存在二维码区域或没有印刷车锁识别标识的情况下,或在车身上的二维码区域以及印刷的车锁识别标识被破坏的情况下,本发明的实施例还能够采用射频识别方式进行开锁,方便快捷且安全性较高。In addition, the embodiment of the present invention may further receive the card swiping data information sent by the peripheral device by using the radio frequency identifier electrically connected to the controller, and send the swiping card data information to the controller; the controller receives the swipe card data information sent by the radio frequency identifier, Control the smart car lock to perform the unlocking operation according to the card data information. Thus, in the case where there is no two-dimensional code area on the vehicle body or there is no printed lock identification mark, or in the case where the two-dimensional code area on the vehicle body and the printed lock identification mark are broken, the embodiment of the present invention also It can be unlocked by radio frequency identification, which is convenient, fast and safe.
为使本公开的上述目的、特征和优点能更明显易懂,下文特举较佳实施例,并配合所附附图,作详细说明如下。The above described objects, features, and advantages of the present invention will become more apparent from the description of the appended claims.
附图说明DRAWINGS
为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍。应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定。对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is understood that the following drawings are merely illustrative of certain embodiments of the invention and are not intended to Other relevant figures may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1示出了本发明实施例所提供的一种车锁控制装置的至少一部分的结构示意图;1 is a schematic structural view of at least a part of a vehicle lock control device according to an embodiment of the present invention;
图2示出了本发明实施例所提供的另一种车锁控制装置的至少一部分的结构示意图;2 is a schematic structural view of at least a part of another type of vehicle lock control device according to an embodiment of the present invention;
图3示出了本发明实施例所提供的一种车锁控制方法的至少一部分的流程图;3 is a flow chart showing at least a part of a vehicle lock control method according to an embodiment of the present invention;
图4示出了本发明实施例所提供的另一种车锁控制方法的至少一部分的流程图;4 is a flow chart showing at least a part of another vehicle lock control method according to an embodiment of the present invention;
图5示出了本发明实施例所提供的另一种车锁控制方法的至少一部分的流程图;FIG. 5 is a flow chart showing at least a part of another car lock control method according to an embodiment of the present invention;
图6示出了本发明实施例所提供的另一种车锁控制方法的至少一部分的流程图;6 is a flow chart showing at least a part of another car lock control method provided by an embodiment of the present invention;
图7示出了本发明实施例所提供的一种车锁控制系统的至少一部分的结构示意图;FIG. 7 is a schematic structural diagram of at least a part of a vehicle lock control system according to an embodiment of the present invention;
图8示出了本发明实施例所提供的一种智能车锁系统的至少一部分的结构示意图;FIG. 8 is a schematic structural diagram of at least a part of a smart car lock system according to an embodiment of the present invention;
图9示出了本发明实施例所提供的一种智能车锁的至少一部分的结构示 意图;FIG. 9 is a schematic structural view showing at least a part of a smart car lock provided by an embodiment of the present invention;
图10示出了本发明实施例所提供的另一种智能车锁的至少一部分的结构示意图。FIG. 10 is a schematic structural diagram of at least a part of another smart car lock provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is apparent that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. The components of the embodiments of the invention, which are generally described and illustrated in the figures herein, may be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the invention in the claims All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
目前共享单车开锁方式包括:在共享单车上设置二维码区域/或车锁识别标识印刷区域,用户通过使用用户终端扫描二维码区域中的二维码获得该共享单车的车锁对应的车锁识别标识,或者直接读取印刷在共享单车车身上的车锁识别标识并输入到用户终端,用户终端使用该车锁识别标识与服务器进行通信,从服务器获取与该车锁识别标识对应的车锁密码,从而用户能够根据车锁密码将共享单车的车锁打开。但是实际上,不管是二维码扫描区还是印刷在共享单车车身上的车锁识别标识,都很容易由于人为或者非人为原因而破坏,最终导致共享单车的使用受到影响。同时,用户通过客户端扫描二维码或者读取车身上的车锁识别标识,都需要亮度较高的光线,不利于在光线昏暗的情况下扫描或者读取。另,通过扫描二维码的方式还会耗费较长的开锁时间,客户感受度差。此外,通过扫码方式获取的密码比较单一固定,且容易泄露给其他使用者,从而使得公共车辆存在一定的安全隐患。基于此,本申请提供的一种车锁控制装置、车锁、车锁控制系统、以及用于控制车锁的方法,可以在共享单车的车身上的二维码和车锁识别标识被破坏的前提下,或在共享单车的车身上不设置二维码和车所识别标识的前提下,也不会影响共享单车的正常使用。At present, the shared bicycle unlocking method includes: setting a two-dimensional code area/or a vehicle lock identification mark printing area on the shared bicycle, and the user obtains the corresponding car of the shared bicycle by using the user terminal to scan the two-dimensional code in the two-dimensional code area. The lock identification mark, or directly reading the lock identification mark printed on the shared bicycle body and inputting to the user terminal, the user terminal uses the lock identification mark to communicate with the server, and obtains the car corresponding to the lock identification mark from the server The password is locked so that the user can unlock the shared bicycle lock according to the lock code. However, in fact, whether it is a two-dimensional code scanning area or a car lock identification mark printed on a shared bicycle body, it is easy to be destroyed by human or non-human reasons, and finally the use of the shared bicycle is affected. At the same time, the user scans the QR code through the client or reads the car lock identification mark on the vehicle body, which requires high brightness light, which is not conducive to scanning or reading in the case of dim light. In addition, by scanning the two-dimensional code, it also takes a long time to unlock, and the customer feels poor. In addition, the passwords obtained by the scanning method are relatively fixed and easily leaked to other users, so that the public vehicles have certain security risks. Based on this, the present invention provides a vehicle lock control device, a vehicle lock, a lock control system, and a method for controlling the lock, which can destroy the two-dimensional code and the lock identification mark on the body of the shared bicycle. Under the premise, or on the premise that the QR code and the vehicle identification are not set on the body of the shared bicycle, it will not affect the normal use of the shared bicycle.
为便于对本实施例进行理解,首先对本发明实施例所公开的一种车锁控制系统进行详细介绍,该车锁控制系统主要应用于各种车辆的车锁上,用户 终端能够通过近场无线通信NFC从该车锁控制系统获取到车锁对应的车锁识别标识。In order to facilitate the understanding of the embodiment, a vehicle lock control system disclosed in the embodiment of the present invention is first introduced in detail. The lock control system is mainly applied to the lock of various vehicles, and the user terminal can communicate by near field wireless communication. The NFC obtains the lock identification mark corresponding to the lock of the vehicle from the lock control system.
其中,上述车辆可以为自行车、电动车、电助力自行车、三轮车、汽车等车辆中的任意一种,本发明实施例优选地将上述车锁应用于共享单车。The vehicle may be any one of a bicycle, an electric vehicle, an electric assist bicycle, a tricycle, an automobile, etc., and the embodiment of the present invention preferably applies the above-described vehicle lock to a shared bicycle.
需要注意的是,在本公开的描述中,术语“中心”、“上”、“下”、“左”、“右”、“竖直”、“水平”、“内”、“外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本公开和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本公开的限制。此外,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。It should be noted that in the description of the present disclosure, the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. The orientation or positional relationship indicated is based on the orientation or positional relationship shown in the drawings, and is merely for the convenience of describing the present disclosure and the simplified description, and does not indicate or imply that the device or component referred to has a specific orientation, in a specific orientation. The construction and operation are therefore not to be construed as limiting the disclosure. Moreover, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
另外,在本公开的描述中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或一体地连接;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连,可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本公开中的具体含义。In addition, in the description of the present disclosure, the terms "installation", "connected", and "connected" are to be understood broadly, and may be, for example, a fixed connection or a detachable connection, or Connected integrally; can be mechanical or electrical; can be directly connected or indirectly connected through an intermediate medium, which can be the internal communication between the two components. The specific meanings of the above terms in the present disclosure can be understood in the specific circumstances by those skilled in the art.
参见图1所示,本发明实施例所提供的车锁控制装置包括主控制器和NFC(Near Field Communication,近场无线通信)通信装置。其中,所述NFC通信装置用于接收客户端所发送的唤醒指令,基于所述唤醒指令唤醒所述主控制器,并将所述唤醒指令发送至所述主控制器,接收所述主控制器返回的车锁识别标识。Referring to FIG. 1 , a vehicle lock control apparatus according to an embodiment of the present invention includes a main controller and a NFC (Near Field Communication) communication device. The NFC communication device is configured to receive a wake-up instruction sent by a client, wake up the main controller based on the wake-up instruction, and send the wake-up instruction to the main controller to receive the main controller. The returned car lock identification.
所述主控制器用于接收NFC通信装置所发送的所述唤醒指令,并根据所述唤醒指令,获取所述车锁识别标识,并将所述车锁识别标识返回给所述NFC通信装置。The main controller is configured to receive the wake-up instruction sent by the NFC communication device, acquire the lock identification identifier according to the wake-up instruction, and return the lock identification identifier to the NFC communication device.
在具体实现的时候,主控制器一般为低功耗的MCU(Micro programmed Control Unit,微程序控制器)。除了能够根据唤醒指令向NFC通信装置返回与唤醒指令对应的车锁识别标识外,还用来实现NFC的标准协议。NFC通信装置通过串行接口与主控制器相连,当NFC通信装置接收到通信请求时,通过中断来唤醒主控制器。其中,NFC通信装置包括:NFC接口芯片以及NFC天线。NCF接口芯片用来实现卡模拟功能,而与之通信的客户端上则设置有NFC模块,该NFC模块能具有读卡功能,从而NFC接口芯片能够与客户端进行通信,实现数据交换以及接收命令。其中,通信距离一般在 10cm之内。NFC天线一般为印刷电路板工艺或者绕线工艺制作的线圈。在NFC天线的外部还包括有保护层;该保护层上设置有提示层,该提示层用于提示用户在想要打开共享单车的车锁时,持客户端靠近该提示层附近。In the specific implementation, the main controller is generally a low-power MCU (Micro programmed Control Unit). In addition to being able to return a lock identification number corresponding to the wake-up command to the NFC communication device according to the wake-up command, it is also used to implement a standard protocol for NFC. The NFC communication device is connected to the main controller through a serial interface, and when the NFC communication device receives the communication request, the main controller is woken up by the interrupt. The NFC communication device includes: an NFC interface chip and an NFC antenna. The NCF interface chip is used to implement the card simulation function, and the client communicating with it is provided with an NFC module, and the NFC module can have a card reading function, so that the NFC interface chip can communicate with the client to implement data exchange and receive commands. . Among them, the communication distance is generally within 10cm. NFC antennas are typically coils fabricated in a printed circuit board process or a winding process. The protection layer is further disposed on the outside of the NFC antenna; the protection layer is provided with a prompting layer, and the prompting layer is used to prompt the user to hold the client near the prompting layer when he wants to open the lock of the shared bicycle.
本发明实施例所提供的车锁控制装置包括主控制器、NFC通信装置。NFC通信装置用于接收外界客户端所发送的唤醒指令,唤醒主控制器,并将该唤醒指令发送给主控制器,主控制器根据唤醒指令,获取车锁识别标识,并返回给NFC通信装置,NFC通信装置再将车锁识别标识传递至外界,从而能够让外界具有NFC通信功能的客户端捕捉到,从而使得客户端获取到车锁识别标识。在这个过程中,用户不需要扫描车身上的二维码以获得车锁识别标识,也不需要通过肉眼读取的方式获得车锁识别标识,而是直接采用NFC通信,从主控制器获得车锁识别标识,即使车身上的二维码区域以及印刷的车锁识别标识被破坏,也不会影响共享单车的正常使用。The vehicle lock control device provided by the embodiment of the invention comprises a main controller and an NFC communication device. The NFC communication device is configured to receive the wake-up instruction sent by the external client, wake up the main controller, and send the wake-up instruction to the main controller, and the main controller acquires the lock identification mark according to the wake-up instruction, and returns the NFC communication device to the NFC communication device. The NFC communication device transmits the lock identification number to the outside world, so that the client having the NFC communication function can be captured by the outside, so that the client acquires the lock identification mark. In this process, the user does not need to scan the two-dimensional code on the vehicle body to obtain the car lock identification mark, and does not need to obtain the car lock identification mark by means of visual reading, but directly adopts NFC communication to obtain the car from the main controller. The lock identification mark does not affect the normal use of the shared bicycle even if the two-dimensional code area on the vehicle body and the printed vehicle lock identification mark are destroyed.
客户端在获取到车锁识别标识之后,就能够与服务器进行通信,将车锁识别标识发送给服务器,以使服务器根据该车锁识别标识向客户端返回对应的密码信息。After obtaining the lock identification number, the client can communicate with the server and send the lock identification to the server, so that the server returns the corresponding password information to the client according to the lock identification.
需要注意的是,本发明实施例所提供的车锁控制装置既能够安装在智能车锁上,也能够安装在非智能的密码车锁上。当其安装在非智能的密码车锁上的时候,客户端在获取到服务器所发送的密码信息之后,会向用户显示该密码信息,用户可以手动将该密码信息输入至车锁,或者手动控制车锁处于该密码信息对应的状态,从而解锁。当其安装在智能车锁上的时候,不需要用户手动将密码信息输入至车锁中,客户端会在接收到服务器所发送的密码信息后,自动生成开锁指令,在开锁指令中携带有该密码信息,并将该开锁指令发送至NFC通信装置。具体地,所述NFC通信装置还用于接收客户端所发送的开锁指令;所述开锁指令中携带有所述密码信息,提取所述开锁指令中的密码信息,并将所述密码信息传递至所述主控制器。所述主控制器还用于将所述密码信息与预存的车锁密码进行匹配,如果两者一致,则控制车锁打开。It should be noted that the vehicle lock control device provided by the embodiment of the present invention can be installed on the smart car lock or on the non-intelligent password lock. When it is installed on the non-intelligent password car lock, after the client obtains the password information sent by the server, the client displays the password information to the user, and the user can manually input the password information into the car lock, or manually control The lock is unlocked in the state corresponding to the password information. When it is installed on the smart car lock, the user does not need to manually input the password information into the lock, and the client automatically generates an unlock command after receiving the password information sent by the server, and the unlock command is carried in the unlock command. The password information is sent to the NFC communication device. Specifically, the NFC communication device is further configured to receive an unlocking instruction sent by the client; the unlocking instruction carries the password information, extracts password information in the unlocking instruction, and transmits the password information to The main controller. The main controller is further configured to match the password information with a pre-stored car lock password, and if the two are consistent, control the car lock to open.
另外,参见图2所示,本发明实施例所提供的车锁控制装置还包括移动通信装置。所述移动通信装置与所述主控制器电连接。所述移动通信装置用于接收服务器所发送的密钥同步指令,并将所述密钥同步指令发送至主控制器。所述密钥同步指令中携带有新的车锁密码。所述主控制器还用于根据所 述密钥同步指令和新的所述车锁密码,对原有的车锁密码执行车锁密码的同步和/或更新操作。In addition, referring to FIG. 2, the vehicle lock control apparatus provided by the embodiment of the present invention further includes a mobile communication apparatus. The mobile communication device is electrically coupled to the main controller. The mobile communication device is configured to receive a key synchronization instruction sent by the server, and send the key synchronization instruction to the main controller. The key synchronization command carries a new lock code. The main controller is further configured to perform a synchronization and/or update operation of the lock code of the original lock code according to the key synchronization command and the new lock code.
在具体实现的时候,当同一套密码使用时间较久,会出现共享单车的开锁密码被人记录、从而不需要经过服务器的许可就能够开锁的情况,这就需要在一定条件触发下,对主控制器中预存的车祸密码进行更新;同时,车锁还会出现各种故障需要维修的情况,可能导致主控制器内数据丢失等情况,需要对车锁进行密码重置。为了解决上述问题,在主控制器上连接了移动通信装置。该移动通信装置一般包括:GSM(Global System for Mobile Communication,全球移动通信系统)通信装置、3G(3rd-Generation,第三代移动通信)装置、4g(4th-generation,第四代移动通信)装置、nb-iot(Narrow Band Internet of Things,基于蜂窝的窄带物联网)装置中至少一种。In the specific implementation, when the same set of passwords is used for a long time, there will be cases where the unlocking password of the shared bicycle is recorded, so that the lock can be unlocked without permission of the server, which needs to be triggered under certain conditions. The pre-stored car accident password in the controller is updated; at the same time, the car lock may also have various faults that need to be repaired, which may result in data loss in the main controller, etc., and the password lock of the car lock is required. In order to solve the above problem, a mobile communication device is connected to the main controller. The mobile communication device generally includes: a GSM (Global System for Mobile Communication) communication device, a 3G (3rd-Generation, third generation mobile communication) device, and a 4g (4th-generation, fourth generation mobile communication) device. At least one of nb-iot (Narrow Band Internet of Things) devices.
具体地,MCU会集成有存储设备,具有一定的存储能力,车锁密码一般是预存在主控制器中,当需要对车锁密码进行更新的时候,服务器会通过移动通信装置向主控制器阿松密钥同步指令,密钥同步指令中携带了新的车锁密码。主控制器在接收到该密钥同步指令之后,会将新的车锁密码从中解析出来,使用新的车锁密码,替换原来存储的车锁密码,从而完成对车锁密码的同步和/或更新操作。Specifically, the MCU integrates a storage device and has a certain storage capacity. The lock code of the car is generally pre-existing in the main controller. When the lock code is required to be updated, the server sends the mobile communication device to the main controller. The key synchronization command, the key synchronization command carries a new lock code. After receiving the key synchronization command, the main controller will parse the new lock code from the user, replace the original stored lock code with the new lock code, and complete the synchronization of the lock code and/or Update operation.
另外,为了避免客户端从服务器获取的密码信息和车锁控制系统中的车锁密码不匹配,在客户端从服务器获取到密码信息之后,到客户端使用该密码信息与车锁控制装置进行通信打开车锁之前,车锁密码的同步和/或更新操作都是被禁止的。禁止的方法有多种:In addition, in order to prevent the password information acquired by the client from the server and the lock code of the lock control system from being mismatched, after the client obtains the password information from the server, the client uses the password information to communicate with the lock control device. The synchronization and/or update of the lock code is prohibited until the lock is opened. There are several ways to ban:
1、服务器在接收到客户端所发送的车锁识别标识后,生成一密钥同步禁止指令,并依据该密钥同步禁止指令对车锁识别标识进行标记;该密钥同步禁止指令的存续时间长于用户使用共享单车的时间;当服务器接收到客户端或者车锁控制装置所发送的关锁信息时,该密钥同步禁止指令才会被撤销。After receiving the lock identification identifier sent by the client, the server generates a key synchronization prohibition instruction, and marks the lock identification identifier according to the key synchronization prohibition instruction; the duration of the key synchronization prohibition instruction It is longer than the time when the user uses the shared bicycle; when the server receives the lock information sent by the client or the car lock control device, the key synchronization prohibition command will be revoked.
在服务器生成密钥同步指令之前,判断密钥同步禁止指令是否存在,如果否,则生成密钥同步指令,并将该密钥同步指令向车锁控制装置发送;如果是,则中止对车锁密码的同步和/或更新控制,直到密钥同步禁止指令被撤销后,方生成该密钥同步指令。Before the server generates the key synchronization instruction, determining whether the key synchronization prohibition instruction exists, if not, generating a key synchronization instruction, and transmitting the key synchronization instruction to the lock control device; if yes, terminating the lock on the vehicle The synchronization and/or update control of the password is generated until the key synchronization prohibition instruction is revoked.
2、服务器在生成密钥同步指令之前,判断之前的预设时间段内是否接 收到客户端所发送的车锁识别标识;如果是,则生成密钥同步指令;如果否,则判断在该预设时间段内是否接收到客户端或者车锁控制装置所发送的关锁信息,如果是,则生成密钥同步指令;如果否则中止对车锁密码的同步和/或更新控制,直到接收到客户端或者车锁控制装置所发送的关锁信息为止。2. Before generating the key synchronization instruction, the server determines whether the car lock identification identifier sent by the client is received in the previous preset time period; if yes, generates a key synchronization instruction; if not, determines the pre-determination Whether to receive the lock information sent by the client or the lock control device within the time period, and if so, generate a key synchronization command; if otherwise, the synchronization and/or update control of the lock code is suspended until the client is received End or lock lock information sent by the lock control device.
3、车锁控制装置在接收到服务器所发送的密钥同步指令之后,判断车锁是否处于打开状态,或者判断之前的预设时间段内是否接收到客户端所发送的唤醒指令或开锁指令;如果是,则向服务器返回拒绝密钥同步指令的信息;服务器在接收到该拒绝密钥同步指令的信息之后,中止对车锁密码的同步和/或更新控制,直到接收到客户端或者车锁控制装置所发送的关锁信息为止。3. After receiving the key synchronization command sent by the server, the car lock control device determines whether the car lock is in an open state, or determines whether a wake-up command or an unlock command sent by the client is received within a preset time period; If yes, return information of the reject key synchronization instruction to the server; after receiving the information of the reject key synchronization instruction, the server suspends synchronization and/or update control of the lock code until receiving the client or the lock Control the device to send the lock information.
4、服务器上密钥同步指令的产生和发送是由车锁控制装置进行触发的:车锁控制装置每隔预设的时间,或者在外部条件的触发下,判断自身是否处于开锁状态,或者在之前的预设时间段内是否接收到客户端所发送的唤醒指令或者开锁指令;如果否,则控制自身进入禁止与客户端进行通信的状态,并向服务器发送车锁密码更新指示;服务器在接收到该车锁密码更新指示之后,生成对应的密码同步指令,并将密码同步指令发送给车锁控制装置;车锁控制装置新的车锁密码对原有的车锁密码执行车锁密码的同步和/或更新操作之后,解除自身禁止与客户端进行通信的状态。4. The generation and transmission of the key synchronization command on the server is triggered by the vehicle lock control device: the vehicle lock control device determines whether it is in an unlocked state every preset time or under the trigger of an external condition, or Whether the wake-up command or the unlock command sent by the client is received in the previous preset time period; if not, the control itself enters a state prohibiting communication with the client, and sends a lock code update instruction to the server; the server is receiving After the lock code update instruction is generated, a corresponding password synchronization command is generated, and the password synchronization command is sent to the lock control device; the new lock code of the lock control device performs the synchronization of the lock code of the original lock code. After the update operation and/or update operation, the state of prohibiting communication with the client is released.
参见图2所示,本发明实施例所提供的车锁控制装置中,在上述实施例的基础上,还包括卫星定位装置。所述卫星定位装置与所述主控制器电连接。所述卫星定位装置用于接收卫星信号,并根据所述卫星信号生成车锁位置信息,以及将所述车锁位置信息传递至所述主控制器。所述主控制器还用于每隔预设时间将所述车锁位置信息通过所述无线通信装置发送至所述服务器,或者在通过所述移动通信装置接收到服务器所发送的位置调取指令时,将所述车锁位置信息通过所述无线通信装置发送至所述服务器。Referring to FIG. 2, the vehicle lock control device provided by the embodiment of the present invention further includes a satellite positioning device based on the above embodiments. The satellite positioning device is electrically coupled to the main controller. The satellite positioning device is configured to receive a satellite signal, generate lock position information according to the satellite signal, and transmit the lock position information to the main controller. The main controller is further configured to send the lock position information to the server through the wireless communication device every preset time, or receive a position acquisition instruction sent by the server by using the mobile communication device The lock position information is transmitted to the server via the wireless communication device.
在具体实现的时候,卫星定位装置包括:GPS(Global Positioning System,全球定位系统)定位装置、北斗定位装置、格洛纳斯glonass定位装置以及伽利略定位装置中一种或者多种。In a specific implementation, the satellite positioning device comprises: one or more of a GPS (Global Positioning System) positioning device, a Beidou positioning device, a GLONASG GLONASS positioning device, and a Galileo positioning device.
卫星定位装置根据卫星信号生成车锁位置信息的过程,以GPS为例,卫星定位装置能够捕获到按照一定卫星截止角所选择的待测卫星,并跟踪这些卫星的运行。当其捕获到所跟踪的卫星所发送的卫星信号时,即可测量出 卫星定位装置的伪距离和距离的变化率,从而解调出卫星轨道参数等数据。根据这些数据,就卫星定位装置就能够按照定位结算方法进行定位计算,计算出当前地理位置的经纬度、高度、速度、时间等信息。以glonass为例,卫星定位装置能接收卫星发射的卫星信号,并测量其伪距和伪距变化率,同时从卫星信号中提取并处理导航电文。上述数据进行处理并计算出用户所在的位置、速度和时间信息。The satellite positioning device generates a lock position information according to satellite signals. Taking GPS as an example, the satellite positioning device can capture the satellites to be tested selected according to a certain satellite cut-off angle, and track the operation of these satellites. When it captures the satellite signal transmitted by the tracked satellite, it can measure the pseudo-distance of the satellite positioning device and the rate of change of the distance, thereby demodulating data such as satellite orbit parameters. Based on these data, the satellite positioning device can perform positioning calculation according to the positioning and settlement method, and calculate information such as latitude, longitude, altitude, speed, time and the like of the current geographical location. Taking glonass as an example, a satellite positioning device can receive satellite signals transmitted by satellites, measure its pseudorange and pseudorange rate of change, and extract and process navigation messages from satellite signals. The above data is processed and the location, speed and time information of the user is calculated.
另外,参见图2所示,本发明实施例所提供的车锁控制装置中,还包括供电电源。所述供电电源与所述主控制器、所述卫星定位装置、所述移动通信装置、所述NFC接口芯片中至少一项连接。In addition, as shown in FIG. 2, the vehicle lock control device provided by the embodiment of the present invention further includes a power supply. The power supply is connected to at least one of the main controller, the satellite positioning device, the mobile communication device, and the NFC interface chip.
供电电源用于为整个车锁控制装置提供各种电压。优选地,由于车锁控制装置的各个部分所采用的电压不同。供电电源与各个部分之间还设置有电压转换电路。另,供电电源具体与哪一部分有直接的连接关系,是依赖于整个车锁控制装置的连接结构决定的,例如,如果NFC接口芯片的电压来源于主控制器,那么供电电源与NFC接口芯片没有直接的物理连接关系,而仅仅与主控制器连接。The power supply is used to supply various voltages to the entire lock control. Preferably, the voltages employed by the various parts of the lock control device are different. A voltage conversion circuit is also provided between the power supply and each part. In addition, the specific connection relationship between the power supply and the power supply is determined by the connection structure of the entire lock control device. For example, if the voltage of the NFC interface chip is derived from the main controller, the power supply and the NFC interface chip are not. Direct physical connection, but only connected to the main controller.
本发明又一实施例还提供一种车锁控制方法,所述方法可应用在包括主控制器以及NFC通信装置所组成的车锁控制装置中,参见图3所示,方法可包括步骤S02和步骤S04,在步骤S02中,通过NFC通信装置接收客户端所发送的唤醒指令。在步骤S04中,根据所述唤醒指令,向所述NFC通信装置返回车锁识别标识,并控制所述NFC通信装置将所述车锁识别标识发送给客户端。A further embodiment of the present invention further provides a vehicle lock control method, which is applicable to a vehicle lock control device comprising a main controller and an NFC communication device. Referring to FIG. 3, the method may include step S02 and Step S04, in step S02, the wake-up instruction sent by the client is received by the NFC communication device. In step S04, according to the wake-up instruction, the car lock identification identifier is returned to the NFC communication device, and the NFC communication device is controlled to send the car lock identification identifier to the client.
在本发明实施例所提供的车锁控制方法中,NFC通信装置接收外界客户端所发送的唤醒指令,唤醒主控制器,并将该唤醒指令发送给主控制器。主控制器根据唤醒指令,获取车锁识别标识,并返回给NFC通信装置,NFC通信装置再将车锁识别标识传递至外界,从而能够让外界具有NFC通信功能的客户端捕捉到,从而使得客户端获取到车锁识别标识。在这个过程中,用户不需要扫描车身上的二维码以获得车锁识别标识,也不需要通过肉眼读取的方式获得车锁识别标识,而是直接采用NFC通信,从主控制器获得车锁识别标识,即使车身上的二维码区域以及印刷的车锁识别标识被破坏,也不会影响共享单车的正常使用。In the car lock control method provided by the embodiment of the present invention, the NFC communication device receives the wake-up command sent by the external client, wakes up the main controller, and sends the wake-up command to the main controller. The main controller acquires the lock identification mark according to the wake-up instruction and returns it to the NFC communication device, and the NFC communication device transmits the lock identification identifier to the outside, so that the client having the NFC communication function can be captured by the outside, thereby making the client The terminal obtains the lock identification number. In this process, the user does not need to scan the two-dimensional code on the vehicle body to obtain the car lock identification mark, and does not need to obtain the car lock identification mark by means of visual reading, but directly adopts NFC communication to obtain the car from the main controller. The lock identification mark does not affect the normal use of the shared bicycle even if the two-dimensional code area on the vehicle body and the printed vehicle lock identification mark are destroyed.
另外,参见图4所示,在本发明实施例所提供的车锁控制方法中,在所 述控制所述NFC通信装置将所述车锁识别标识向所述客户端发送之后,还可包括步骤S12、S14和S16。在步骤S12中,通过NFC通信装置接收客户端所发送的开锁指令,所述开锁指令中携带有所述密码信息。在步骤S14中,提取所述开锁指令中的密码信息,并将所述密码信息与预存的车锁密码进行匹配。在步骤S16中,在所述密码信息与预存的车锁密码两者一致时,控制车锁打开。In addition, as shown in FIG. 4, in the vehicle lock control method provided by the embodiment of the present invention, after the controlling the NFC communication device to send the vehicle lock identification identifier to the client, the method may further include the following steps. S12, S14 and S16. In step S12, the unlocking command sent by the client is received by the NFC communication device, and the unlocking command carries the password information. In step S14, the password information in the unlock command is extracted, and the password information is matched with the pre-stored lock code. In step S16, when the password information coincides with the pre-stored lock code, the lock is controlled to be turned on.
另外,参见图5所示,本发明实施例所提供的车锁控制方法,在上述实施例的基础上,还可包括步骤S22和S24。在步骤S22中,通过移动通信装置接收服务器所发送的密钥同步指令,所述密钥同步指令中携带有新的车锁密码。在步骤S24中,根据新的所述车锁密码,对原有的车锁密码进行同步和/或更新操作。In addition, referring to FIG. 5, the vehicle lock control method provided by the embodiment of the present invention may further include steps S22 and S24 on the basis of the foregoing embodiment. In step S22, the key synchronization command sent by the server is received by the mobile communication device, and the key synchronization command carries a new lock code. In step S24, the original lock code is synchronized and/or updated according to the new lock code.
另外,参见图6所示,本发明实施例所提供的车锁控制方法,在上述实施例的基础上,还可包括步骤S32和步骤S34。在步骤S32中,接收卫星定位装置所发送的车锁位置信息。在步骤S34中,每隔预设时间将所述车锁位置信息通过所述无线通信装置发送至所述服务器,或者,在通过所述移动通信装置接收到所述服务器所发送的位置调取指令时,将所述车锁位置信息通过所述无线通信装置发送至所述服务器。In addition, referring to FIG. 6, the vehicle lock control method provided by the embodiment of the present invention may further include step S32 and step S34 on the basis of the foregoing embodiment. In step S32, the lock position information transmitted by the satellite positioning device is received. In step S34, the lock position information is transmitted to the server through the wireless communication device every preset time, or the position acquisition instruction sent by the server is received by the mobile communication device. The lock position information is transmitted to the server via the wireless communication device.
需要注意的是,步骤S32-S34与上述图3-图5所提供的实施例中的执行步骤并无确定的先后执行关系,可以和上述任意步骤并行执行,也可以在上述任意一个步骤之前或者之后执行。It should be noted that steps S32-S34 have no determined sequential execution relationship with the execution steps in the embodiments provided in FIG. 3 to FIG. 5 above, and may be performed in parallel with any of the above steps, or may be before any of the above steps or Execute later.
本公开还提供一种车锁,其在上述实施例的基础上,包括车锁主体以及上述任意一个实施例所述的车锁控制装置。其中,所述车锁控制装置安装在所述车锁主体上。The present disclosure also provides a vehicle lock, which, in addition to the above embodiments, includes a vehicle lock body and the vehicle lock control device of any of the above embodiments. Wherein the lock control device is mounted on the lock body.
本发明的又一实施例还提供一种车锁控制系统,参见图7所示,包括如上述任意一个实施例所述的车锁控制装置、客户端以及服务器。所述客户端上设置有NFC读卡装置,所述车锁控制装置上设置有NFC通信装置。所述客户端以及所述服务器通过无线网络连接;A further embodiment of the present invention further provides a vehicle lock control system, as shown in FIG. 7, comprising the vehicle lock control device, the client and the server as described in any one of the above embodiments. The client is provided with an NFC card reading device, and the car lock control device is provided with an NFC communication device. The client and the server are connected by a wireless network;
所述客户端用于:生成唤醒指令,并将所述唤醒指令通过所述NFC读卡装置发送至所述车锁控制装置;接收所述车锁控制装置所返回的车锁识别标识;将所述车锁识别标识发送给所述服务器,并接收所述服务器返回的与所述车锁识别标识对应的密码信息。The client is configured to: generate a wake-up command, and send the wake-up command to the lock control device through the NFC card reading device; receive a lock identification identifier returned by the lock control device; The car lock identification identifier is sent to the server, and receives password information corresponding to the car lock identification identifier returned by the server.
所述车锁控制装置用于:在接收所述唤醒指令后,向所述客户端返回车锁识别标识。The lock control device is configured to: after receiving the wake-up command, return a lock identification identifier to the client.
所述服务器用于:接收所述客户端所发送的车锁识别标识,根据所述车锁识别标识,获取与所述识别标识对应的密码信息,并将所述密码信息返回给所述客户端。The server is configured to: receive a car lock identification identifier sent by the client, acquire password information corresponding to the identifier according to the car lock identification identifier, and return the password information to the client .
本实施例中,车锁控制装置、客户端以及服务器的具体功能和交互方式可参见图1对应的实施例的记载,在此不再赘述。For the specific functions and interaction modes of the car lock control device, the client, and the server, refer to the description of the corresponding embodiment in FIG. 1 , and details are not described herein again.
本发明实施例所提供的车锁控制装置、车锁、车锁控制系统以及控制车锁的方法的计算机程序产品包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行前面方法实施例中所述的方法,具体实现可参见方法实施例,在此不再赘述。A computer program product for a vehicle lock control device, a vehicle lock, a vehicle lock control system, and a method for controlling a lock provided by an embodiment of the present invention includes a computer readable storage medium storing program code, the program code including instructions for being applicable to For the specific implementation, refer to the method embodiment, and details are not described herein again.
作为单独的实施例,或与前文所提及的车锁控制装置、车锁或车锁控制系统的实施例相结合,本公开还提出一种车锁控制装置、车锁或车锁控制系统,其可以包括射频识别器11和控制器12。图9示出了包括射频识别器11和控制器12的车锁1,亦可称为智能车锁1。其中车锁1还可包括壳体,射频识别器11和控制器12可设置在壳体的内腔中。对于包括射频识别器11和控制器12的实施例,结合图8和图9,车锁1通过射频识别器11读取外围设备2的刷卡数据信息,并可以将该刷卡数据信息发送至服务器3以便服务器3根据该刷卡数据信息进行验证处理后生成开锁控制指令,车锁1则能够根据该开锁控制指令执行开锁操作。另外,上述车锁1还可以直接根据上述刷卡信息执行开锁操作,进一步提高用户的使用体验度。As a separate embodiment, or in combination with the embodiments of the previously described lock control device, lock or lock control system, the present disclosure also provides a lock control device, a lock or a lock control system, It may include a radio frequency identifier 11 and a controller 12. FIG. 9 shows a car lock 1 including a radio frequency identifier 11 and a controller 12, which may also be referred to as a smart car lock 1. The lock 1 may further include a housing, and the radio frequency identifier 11 and the controller 12 may be disposed in a cavity of the housing. For the embodiment including the radio frequency identifier 11 and the controller 12, in conjunction with FIGS. 8 and 9, the car lock 1 reads the card data information of the peripheral device 2 through the radio frequency identifier 11, and can transmit the card card data information to the server 3. Therefore, the server 3 generates an unlock control command after performing verification processing according to the card data information, and the lock 1 can perform an unlock operation according to the unlock control command. In addition, the above-mentioned lock 1 can also perform an unlocking operation directly according to the above-mentioned card swiping information, thereby further improving the user experience.
其中,射频识别器11用于接收外围设备2发送的刷卡数据信息,并将刷卡数据信息发送至控制器12。控制器12用于接收射频识别器11发送的刷卡数据信息,根据刷卡数据信息控制车锁1执行开锁操作。The radio frequency identifier 11 is configured to receive the card data information sent by the peripheral device 2, and send the card data information to the controller 12. The controller 12 is configured to receive the card swiping data information sent by the radio frequency identifier 11 and control the car lock 1 to perform the unlocking operation according to the swiping card data information.
这样,车锁1包括壳体;壳体的内腔设置有射频识别器11和控制器12;射频识别器11和控制器12电连接;射频识别器11接收外围设备2发送的刷卡数据信息,并将刷卡数据信息发送至控制器12;控制器12接收射频识别器11发送的刷卡数据信息,根据刷卡数据信息控制车锁1执行开锁操作,其能够采用射频识别方式进行开锁,方便快捷且安全性较高。Thus, the lock 1 includes a housing; the inner cavity of the housing is provided with a radio frequency identifier 11 and a controller 12; the radio frequency identifier 11 and the controller 12 are electrically connected; and the radio frequency identifier 11 receives the swipe data information sent by the peripheral device 2, And sending the card data information to the controller 12; the controller 12 receives the card data information sent by the radio frequency identifier 11, and controls the car lock 1 to perform the unlocking operation according to the card data information, which can be unlocked by using the radio frequency identification method, which is convenient, fast and safe. Higher sex.
具体的,本发明实施例提供的车锁1通过射频识别器11读取外围设备2发送的刷卡数据信息,控制器12则能够根据与上述射频识别器11之间的连 接关系,接收上述刷卡数据信息,并根据上述刷卡数据信息控制车锁1执行开锁操作。其中,上述车锁1可以采用以下两种方式进行开锁。其一,该车锁1可以将上述刷卡数据信息发送至服务器3,接收服务器3根据该刷卡数据信息进行验证处理后生成的开锁控制指令,并根据该开锁控制指令执行开锁操作,也即,联机开锁,其二,该车锁1还可以在检测到与该车锁1连接的服务器3的无线信号强度较弱时,直接根据该刷卡数据信息执行开锁操作,也即,离线开锁,以满足不同用户的不同需求。Specifically, the car lock 1 provided by the embodiment of the present invention reads the card data information sent by the peripheral device 2 through the radio frequency identifier 11 , and the controller 12 can receive the card data according to the connection relationship with the radio frequency identifier 11 . Information, and according to the above swipe data information, the lock 1 is controlled to perform an unlock operation. Wherein, the above-mentioned lock 1 can be unlocked in the following two ways. First, the lock 1 can send the swipe data information to the server 3, and the receiving server 3 performs an unlock control command generated after the verification processing according to the swipe data information, and performs an unlock operation according to the unlock control command, that is, online. Unlocking, secondly, the lock 1 can also perform an unlocking operation according to the swipe data information when detecting that the wireless signal strength of the server 3 connected to the lock 1 is weak, that is, offline unlocking to meet different Different needs of users.
其中,上述外围设备2可以是终端设备,还可以是IC(Integrated Circuit Card,集成电路卡),还可以是各种银行卡(如借记卡、信用卡等)。在上述外围设备2靠近上述射频识别器11时,该射频识别器11将读取上述外围设备2中的刷卡数据信息。其中,该刷卡数据信息至少包括卡号,还可以包括户主姓名、身份证号、刷卡时间等信息。The peripheral device 2 may be a terminal device, an IC (Integrated Circuit Card), or a bank card (such as a debit card, a credit card, etc.). When the peripheral device 2 is close to the radio frequency identifier 11, the radio frequency identifier 11 will read the card data information in the peripheral device 2. The card data information includes at least a card number, and may further include information such as a household name, an ID number, and a card swiping time.
为了降低射频识别器11的功耗,该射频识别器11采用低功耗模式和正常模式工作,在一般工作条件下,模块处于低功耗模式,只有在满足相应触发条件(如卡片/手机靠近时)下才进入正常工作模式。另外,考虑本发明实施例提供的车锁1的具体应用场景,本发明实施例优选的将NFC(Near Field Communication,近距离无线通信)读写器作为上述射频识别器11,该读卡器支持ISO/IEC14443的TypeA、TypeB的数据通信。In order to reduce the power consumption of the radio frequency identifier 11, the radio frequency identifier 11 operates in a low power mode and a normal mode. Under normal working conditions, the module is in a low power mode, and only when the corresponding trigger condition is met (eg, card/cell phone proximity) When it is time to enter the normal working mode. In addition, considering a specific application scenario of the vehicle lock 1 provided by the embodiment of the present invention, an NFC (Near Field Communication) reader/writer is preferably used as the radio frequency identifier 11 in the embodiment of the present invention, and the card reader supports Data communication of Type A and Type B of ISO/IEC 14443.
值得说明的是,本发明实施例提供的车锁1可以为自行车锁、电动车锁、电助力自行车锁等锁具中的任意一种。It should be noted that the vehicle lock 1 provided by the embodiment of the present invention may be any one of a lock such as a bicycle lock, an electric vehicle lock, and an electric assist bicycle lock.
进一步的,考虑到上述刷卡数据信息可以涵盖有一些敏感数据信息,因此,本发明实施例提供的车锁1还包括安全元件13,参见图10,该安全元件13能够对上述刷卡数据信息进行加密。Further, it is considered that the above-mentioned card data information may include some sensitive data information. Therefore, the car lock 1 provided by the embodiment of the present invention further includes a security element 13. Referring to FIG. 10, the security element 13 can encrypt the card data information. .
其中,本发明实施例提供的车锁1的硬件安全应当依赖于内部安全元件13(SE),密钥应存储在安全元件13内部,并由安全元件13提供关键的加解密运算。The hardware security of the lock 1 provided by the embodiment of the present invention should be dependent on the internal secure element 13 (SE), the key should be stored inside the secure element 13, and the security element 13 provides critical encryption and decryption operations.
其中,对应于上述两种不同的开锁方式,其认证方式也略有不同。对应于联机开锁而言,服务器3必须将交易报文送至银联后台,从而由银联或发卡行认证当前卡的合法性,例如应用密文是否有效,也即,此时,车锁1需要对接收的刷卡数据信息按照一定的方式进行加密,服务器3则按照对应的解密规则通过密钥配对的方式进行解密,以保证实现双向认证或者单向认 证,保证车锁1发给后台的刷卡数据信息等不会被篡改。此外,上述车锁1还能够通过上述安全元件13对其硬件标识号进行加密,服务器3在接收到相应的加密数据后也要进行必要的核对,以避免为伪外围设备2所可能带来的交易风险。对应于联机开锁而言,上述车锁1负责认证,本发明实施例优选采用脱机数据认证(DDA)进行认证。Among them, corresponding to the above two different unlocking methods, the authentication method is also slightly different. Corresponding to the online unlocking, the server 3 must send the transaction message to the UnionPay background, so that the validity of the current card is verified by the UnionPay or the issuing bank, for example, whether the application ciphertext is valid, that is, at this time, the car lock 1 needs to be The received card data information is encrypted according to a certain manner, and the server 3 decrypts by key pairing according to the corresponding decryption rule to ensure mutual authentication or one-way authentication, and the card lock 1 sends the card data information to the background. Will not be tampered with. In addition, the above-mentioned lock 1 can also encrypt the hardware identification number thereof through the above-mentioned secure element 13, and the server 3 also performs necessary check after receiving the corresponding encrypted data to avoid possible connection to the pseudo peripheral device 2. Trading risk. Corresponding to the online unlocking, the above-mentioned car lock 1 is responsible for authentication, and the embodiment of the present invention preferably adopts offline data authentication (DDA) for authentication.
进一步的,本发明实施例提供车锁1的电源可以为上述射频识别器11、控制器12和安全元件13进行供电。其中,上述电源通过与有源外接电源的连接关系进行供电,还可以采用无源内置电池方式直接进行供电。Further, the embodiment of the present invention provides that the power supply of the lock 1 can supply power to the radio frequency identifier 11, the controller 12 and the secure element 13. The power source is powered by a connection relationship with an active external power source, and can be directly powered by a passive internal battery.
进一步的,参见图10,本发明实施例提供的车锁1还包括无线通信部件14,该无线通信部件14能够实现车锁1与服务器3之间的数据通信。其中,上述无线通信部件可以是WIFI(Wireless Fidelity,无线保真)部件,可以是GPRS(General Packet Radio Service,通用分组无线服务)部件,还可以GSM(Global System for Mobile Communication,全球移动通信系统)部件,本发明实施例可以针对不同的用户需求采用不同的通信模块,适用性更强。Further, referring to FIG. 10, the vehicle lock 1 provided by the embodiment of the present invention further includes a wireless communication component 14 capable of realizing data communication between the lock 1 and the server 3. The wireless communication component may be a WIFI (Wireless Fidelity) component, may be a GPRS (General Packet Radio Service) component, or may be a GSM (Global System for Mobile Communication). The components of the present invention can adopt different communication modules for different user requirements, and the applicability is stronger.
进一步的,参见图10,本发明实施例中的存储器15在上述车锁1与服务器3无法进行实时通信时,会存储刷卡数据信息、以及开锁时间信息和闭锁时间信息以便于该车锁1再次接入服务器3后,能够将存储器15中存储的上述信息均发送至服务器3,以便于该服务器3基于上述信息进行结算处理。也即,本发明实施例提供的车锁1不仅可以在处于在线状态下通过服务器3对接第三方支付系统进行预授权交易后的交易结果生成开锁控制信号,实现车锁的开启,还可以在该车锁1处于离线状态时,直接根据上述刷卡数据信息进行开锁,并在再次处于在线状态时,进行结算,从而进一步提升用户的使用体验度。Further, referring to FIG. 10, the memory 15 in the embodiment of the present invention stores the card data information, the unlocking time information, and the lockout time information when the lock 1 and the server 3 cannot perform real-time communication, so that the lock 1 is again After accessing the server 3, the above-described information stored in the memory 15 can be transmitted to the server 3, so that the server 3 performs settlement processing based on the above information. That is, the lock 1 provided by the embodiment of the present invention can generate an unlocking control signal not only in the online state but also through the transaction result of the pre-authorized transaction of the third-party payment system by the server 3, thereby realizing the unlocking of the lock, and also When the lock 1 is in the offline state, the lock is directly unlocked according to the above-mentioned card data information, and when it is in the online state again, the settlement is performed, thereby further improving the user experience.
进一步的,参见图10,本发明实施例提供的车锁1还设置有定位部件16,该定位部件16获取车锁1的位置信息,并将位置信息发送至存储器15和/或无线通信部件14。其中,对于同时包括图2所示的部件以及图10所示部件的车锁,定位部件16可与图2所示实施例中的卫星定位装置为同一部件,但也可以为额外的定位部件。其中,上述存储器15能够接受并存储定位部件16发送的位置信息,无线通信部件14则能够接收定位部件16发送的位置信息,并将位置信息发送至服务器3。Further, referring to FIG. 10, the vehicle lock 1 provided by the embodiment of the present invention is further provided with a positioning component 16 that acquires position information of the lock 1 and transmits the position information to the memory 15 and/or the wireless communication component 14 . . Wherein, for a vehicle lock that includes both the components shown in FIG. 2 and the components shown in FIG. 10, the positioning member 16 can be the same component as the satellite positioning device in the embodiment shown in FIG. 2, but can also be an additional positioning component. The memory 15 is capable of accepting and storing the location information transmitted by the positioning component 16, and the wireless communication component 14 is capable of receiving the location information transmitted by the location component 16 and transmitting the location information to the server 3.
其中,上述定位部件16可以按照预设时间间隔将获取的各个位置信息 上传至服务器3,还可以接收控制器12发送的定位指令,根据该定位指令将车锁1的当前位置信息发送至无线通信部件14,其中,定位指令是根据车锁1的闭锁信息生成的,无线通信部件14接收当前位置信息和闭锁信息,并将当前位置信息和闭锁信息发送至服务器3,也即,只有在车锁1闭锁时才发送当前位置信息,以进一步保障装载有该车锁1的车辆的安全性。The positioning component 16 may upload the acquired location information to the server 3 according to a preset time interval, and may also receive a positioning instruction sent by the controller 12, and send the current location information of the lock 1 to the wireless communication according to the positioning instruction. Component 14, wherein the positioning command is generated based on the lock information of the lock 1, the wireless communication unit 14 receives the current position information and the lock information, and transmits the current position information and the lock information to the server 3, that is, only in the lock 1 The current position information is sent only when the lock is blocked to further secure the safety of the vehicle loaded with the lock 1.
进一步的,参见图10,本发明实施例提供的车锁1还设置有指示部件17,该指示部件17不仅能够指示车锁1的工作状态,还能够指示服务器3反馈的对刷卡数据信息进行预授权交易后生成的后天交易信息对应的交易状态。Further, referring to FIG. 10, the vehicle lock 1 provided by the embodiment of the present invention is further provided with an indication component 17, which can not only indicate the working state of the vehicle lock 1, but also can instruct the server 3 to feed back the data of the card data. The transaction status corresponding to the acquired transaction information generated after the transaction is authorized.
其中,上述指示部件17可以是蜂鸣器和指示灯中的一种或组合。本发明实施例中的指示部件17可以为一个,还可以为多个,其可以是根据指示灯的闪烁频率和/或闪烁颜色进行对应的指示,还可以根据蜂鸣器的声音大小和/或声音时长进行对应的指示,具体的指示方式在此不做赘述。Wherein, the indicating component 17 may be one or a combination of a buzzer and an indicator light. The indicating component 17 in the embodiment of the present invention may be one, or may be multiple, which may be correspondingly indicated according to the blinking frequency and/or the blinking color of the indicator light, and may also be based on the sound size of the buzzer and/or The duration of the sound is correspondingly indicated, and the specific indication manner will not be described here.
进一步的,本发明实施例提供的车锁1还设置有时钟部件,该时钟部件能够提供时钟脉冲,该时钟脉冲为车锁1的其他功能提供了参考,基于本发明实施例提供的车锁1的具体应用场景,上述时钟脉冲还能够用于交易时间戳及参数有效性判断等。Further, the lock 1 provided by the embodiment of the present invention is further provided with a clock component capable of providing a clock pulse, and the clock pulse provides a reference for other functions of the lock 1 according to the embodiment of the present invention. The specific application scenario, the above clock pulse can also be used for transaction timestamp and parameter validity judgment.
进一步的,参见图10,本发明实施例提供的车锁1还包括声音部件18,该声音部件18能够在接收到控制器12发送的声音控制指令时,发出语音提示信息,比如,在开锁不成功时,提醒用户“请再刷一次卡”等提示信息,以提高用户的体验度。Further, referring to FIG. 10, the vehicle lock 1 provided by the embodiment of the present invention further includes a sound component 18, and the sound component 18 can issue a voice prompt message when receiving the sound control command sent by the controller 12, for example, when unlocking When successful, remind the user to prompt the message "Please brush again" to improve the user experience.
本发明提供的车锁1,包括壳体;壳体的内腔设置有射频识别器11和控制器12;射频识别器11和控制器12电连接;射频识别器11接收外围设备2发送的刷卡数据信息,并将刷卡数据信息发送至控制器12;控制器12接收射频识别器11发送的刷卡数据信息,根据刷卡数据信息控制车锁1执行开锁操作,其能够采用射频识别方式进行开锁,方便快捷且安全性较高。The vehicle lock 1 provided by the invention comprises a casing; the inner cavity of the casing is provided with a radio frequency identifier 11 and a controller 12; the radio frequency identifier 11 and the controller 12 are electrically connected; the radio frequency identifier 11 receives the card swiping sent by the peripheral device 2 Data information, and the card data information is sent to the controller 12; the controller 12 receives the card data information sent by the radio frequency identifier 11, and controls the lock 1 to perform the unlocking operation according to the card data information, which can be unlocked by using a radio frequency identification method, which is convenient Fast and safe.
本发明实施例还提供了一种车辆,应用上述车锁1的车辆采用射频识别方式进行开锁,安全性较高,且方便快捷使得用户的使用体验度更佳。The embodiment of the invention further provides a vehicle, wherein the vehicle using the above-mentioned vehicle lock 1 is unlocked by using a radio frequency identification method, which has high security, and is convenient and quick to make the user's use experience better.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system and the device described above can refer to the corresponding process in the foregoing method embodiments, and details are not described herein again.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the portion of the technical solution of the present disclosure that contributes in essence or to the prior art or the portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
另外,在本公开提供的实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in the embodiment provided by the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The functions may be stored in a computer readable storage medium if implemented in the form of a software functional unit and sold or used as a standalone product. Based on such understanding, the portion of the technical solution of the present disclosure that contributes in essence or to the prior art or the portion of the technical solution may be embodied in the form of a software product stored in a storage medium, including The instructions are used to cause a computer device (which may be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and the like. .
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释,此外,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。It should be noted that similar reference numerals and letters indicate similar items in the following figures. Therefore, once an item is defined in a drawing, it is not necessary to further define and explain it in the subsequent drawings. Moreover, the terms "first", "second", "third", and the like are used merely to distinguish a description, and are not to be construed as indicating or implying a relative importance.
最后应说明的是:以上所述实施例,仅为本发明的具体实施方式,用以说明本发明的技术方案,而非对其限制,本发明的保护范围并不局限于此,尽管参照前述实施例进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案 的本质脱离本发明实施例技术方案的精神和范围。都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that the above-mentioned embodiments are merely specific embodiments of the present invention, and are used to explain the technical solutions of the present invention, and are not limited thereto, and the scope of protection of the present invention is not limited thereto, although reference is made to the foregoing. The embodiments are described in detail, and those skilled in the art should understand that any one skilled in the art can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the disclosure. The changes are easily conceived, or the equivalents of the technical features are replaced by the equivalents of the technical solutions of the embodiments of the present invention. All should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应所述以权利要求的保护范围为准。The above is only the specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present disclosure. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the claims.
本申请要求于2017年7月6日递交的中国专利申请第201710547023.8号的优先权,以及于2017年11月3日递交的中国专利申请第201721459980.7号的优先权,所述中国专利申请的公开内容在此通过全文引用而作为本申请的一部分。The present application claims the priority of the Chinese Patent Application No. 201710547023.8, filed on Jul. 6, 2017, and the priority of the Chinese Patent Application No. 201721459980.7, filed on November 3, 2017, the disclosure of This is incorporated herein by reference in its entirety.

Claims (15)

  1. 一种车锁控制装置,包括:A vehicle lock control device includes:
    主控制器;main controller;
    NFC通信装置;NFC communication device;
    移动通信装置;Mobile communication device;
    其中,所述NFC通信装置与所述主控制器连接,且用于:The NFC communication device is connected to the main controller and is used to:
    接收客户端所发送的唤醒指令,基于所述唤醒指令唤醒所述主控制器,并将所述唤醒指令发送至所述主控制器;Receiving a wake-up instruction sent by the client, waking up the main controller based on the wake-up instruction, and sending the wake-up instruction to the main controller;
    接收所述主控制器返回的车锁识别标识,并将所述车锁识别标识发送给所述客户端;Receiving a lock identification identifier returned by the main controller, and transmitting the lock identification identifier to the client;
    接收所述客户端所发送的开锁指令,提取所述开锁指令中的密码信息,并将所述密码信息传递至所述主控制器;Receiving an unlock command sent by the client, extracting password information in the unlock command, and transmitting the password information to the main controller;
    所述移动通信装置与所述主控制器电连接,且用于:The mobile communication device is electrically connected to the main controller and is configured to:
    接收服务器所发送的密钥同步指令,并将所述密钥同步指令发送至所述主控制器,其中,所述密钥同步指令中携带有新的车锁密码;Receiving a key synchronization instruction sent by the server, and sending the key synchronization instruction to the main controller, where the key synchronization instruction carries a new lock code;
    所述主控制器用于:The main controller is used to:
    接收NFC通信装置所发送的所述唤醒指令,并根据所述唤醒指令获取所述车锁识别标识,并将所述车锁识别标识返回给所述NFC通信装置;Receiving, by the NFC communication device, the wake-up instruction, and acquiring the lock identification identifier according to the wake-up instruction, and returning the lock identification identifier to the NFC communication device;
    将所述密码信息与预存的车锁密码进行匹配,如果两者一致,则控制车锁打开;Matching the password information with a pre-stored lock code, if the two are consistent, controlling the lock to be opened;
    根据所述密钥同步指令和新的车锁密码,对原有的车锁密码执行车锁密码的同步和/或更新操作。The synchronization and/or update operation of the lock code is performed on the original lock code according to the key synchronization command and the new lock code.
  2. 根据权利要求1所述的车锁控制装置,还包括与所述主控制器电连接的卫星定位装置,所述卫星定位装置用于接收卫星信号,并根据所述卫星信号生成车锁位置信息,以及将所述车锁位置信息传递至所述主控制器;A vehicle lock control apparatus according to claim 1, further comprising satellite positioning means electrically connected to said main controller, said satellite positioning means for receiving satellite signals, and generating vehicle lock position information based on said satellite signals, And transmitting the lock position information to the main controller;
    所述主控制器还用于每隔预设时间将所述车锁位置信息通过所述无线通信装置发送至所述服务器,或者在通过所述移动通信装置接收到所述服务器所发送的位置调取指令时,将所述车锁位置信息通过所述无线通信装置发 送至所述服务器。The main controller is further configured to send the lock position information to the server through the wireless communication device every preset time, or receive a position adjustment sent by the server by using the mobile communication device When the command is fetched, the lock position information is transmitted to the server through the wireless communication device.
  3. 如权利要求1所述的车锁控制装置,还包括与所述控制器电连接的射频识别器,所述射频识别器用于接收外围设备发送的刷卡数据信息,并将所述刷卡数据信息发送至所述控制器;A lock control device according to claim 1, further comprising a radio frequency identifier electrically connected to said controller, said radio frequency identifier being adapted to receive card swiping data information transmitted by said peripheral device, and transmitting said swiping card data information to The controller;
    所述控制器用于接收所述射频识别器发送的刷卡数据信息,根据所述刷卡数据信息控制所述智能车锁执行开锁操作。The controller is configured to receive the card data information sent by the radio frequency identifier, and control the smart car lock to perform an unlocking operation according to the card data information.
  4. 根据权利要求3所述的车锁控制装置,还包括与所述控制器电连接的安全元件,所述安全元件用于接收所述控制器发送的刷卡数据信息,并生成对所述刷卡数据信息进行加密后的加密信息。A vehicle lock control apparatus according to claim 3, further comprising a security element electrically connected to said controller, said security element for receiving card swiping data information sent by said controller, and generating information for said swiping card data Encrypted encrypted information.
  5. 如权利要求3所述的车锁控制装置,还包括与所述控制器电连接的存储器,所述存储器用于存储所述刷卡数据信息、开锁时间信息和闭锁时间信息。A vehicle lock control apparatus according to claim 3, further comprising a memory electrically connected to said controller, said memory for storing said credit card data information, unlocking time information, and lockout time information.
  6. 根据权利要求3所述的车锁控制装置,所述控制器还用于接收所述服务器反馈的后台交易信息,其中,所述后台交易信息是对所述刷卡数据信息进行预授权交易后生成的;The lock control device according to claim 3, wherein the controller is further configured to receive background transaction information fed back by the server, wherein the background transaction information is generated after pre-authorizing the card data information. ;
    且所述控制器电连接到指示部件,所述指示部件用于指示所述后台交易信息对应的交易状态,或指示所述智能车锁的工作状态。And the controller is electrically connected to the indication component, the indication component is configured to indicate a transaction status corresponding to the background transaction information, or indicate an operation status of the smart car lock.
  7. 根据权利要求6所述的车锁控制装置,所述指示部件包括以下部件中的至少一个:蜂鸣器、指示灯。The vehicle lock control device according to claim 6, wherein the indication member comprises at least one of the following components: a buzzer, an indicator light.
  8. 根据权利要求3所述的车锁控制装置,所述控制器电连接到声音部件,所述声音部件用于接收所述控制器发送的声音控制指令,并根据所述声音控制指令发出声音指示信息。The lock control device according to claim 3, wherein said controller is electrically connected to a sound component for receiving a sound control command transmitted by said controller, and sounding instruction information is issued according to said sound control command .
  9. 一种车锁,包括:车锁主体以及上述权利要求1-8任意一项所述的车锁控制装置,且其中,所述车锁控制装置安装在所述车锁主体上。A vehicle lock comprising: a vehicle lock body and the vehicle lock control device according to any one of claims 1 to 8, wherein the vehicle lock control device is mounted on the vehicle lock body.
  10. 如权利要求9所述的车锁,还包括指示部件,所述指示部件电连接到控制器,且用于指示后台交易信息对应的交易状态,或指示所述智能车锁的工作状态。The vehicle lock according to claim 9, further comprising an indication unit electrically connected to the controller and configured to indicate a transaction status corresponding to the background transaction information or to indicate an operational status of the smart bicycle lock.
  11. 如权利要求10所述的车锁,所述指示部件包括以下部件中的至少一个:蜂鸣器、指示灯。A vehicle lock according to claim 10, said indicating member comprising at least one of the following components: a buzzer, an indicator light.
  12. 如权利要求9所述的车锁,还包括声音部件,所述声音部件电连接到控制器,且用于接收所述控制器发送的声音控制指令,并根据所述声 音控制指令发出声音指示信息。A vehicle lock according to claim 9, further comprising a sound component electrically connected to the controller and configured to receive a sound control command transmitted by said controller and to issue an audible indication information according to said sound control command .
  13. 一种车锁控制系统,包括如上述权利要求1-8任意一项所述的车锁控制装置、客户端以及服务器;A vehicle lock control system comprising the vehicle lock control device, the client and the server according to any one of the preceding claims 1-8;
    所述客户端上设置有NFC读卡装置,所述车锁控制装置上设置有NFC通信装置,且所述客户端以及所述服务器通过无线网络连接;An NFC card reading device is disposed on the client, an NFC communication device is disposed on the car lock control device, and the client and the server are connected through a wireless network;
    其中,所述客户端用于:Wherein the client is used to:
    生成唤醒指令,并将所述唤醒指令通过所述NFC读卡装置发送至所述车锁控制装置;Generating a wake-up instruction and transmitting the wake-up command to the lock control device through the NFC card reading device;
    接收所述车锁控制装置所返回的车锁识别标识;Receiving a lock identification mark returned by the lock control device;
    将所述车锁识别标识发送给所述服务器,并接收所述服务器返回的与所述车锁识别标识对应的密码信息;Sending the lock identification number to the server, and receiving password information corresponding to the lock identification identifier returned by the server;
    所述车锁控制装置用于在接收所述唤醒指令后,向所述客户端返回车锁识别标识;The lock control device is configured to return a lock identification identifier to the client after receiving the wake-up instruction;
    所述服务器用于接收所述客户端所发送的车锁识别标识,根据所述车锁识别标识,获取与所述识别标识对应的密码信息,并将所述密码信息返回给所述客户端。The server is configured to receive a car lock identification identifier sent by the client, obtain password information corresponding to the identifier according to the car lock identification identifier, and return the password information to the client.
  14. 一种用于控制车锁的方法,所述车锁包括车锁控制装置,所述车锁控制装置包括主控制器、NFC通信装置以及移动通信装置,所述方法包括:A method for controlling a vehicle lock, the vehicle lock comprising a vehicle lock control device, the vehicle lock control device comprising a main controller, an NFC communication device, and a mobile communication device, the method comprising:
    通过所述NFC通信装置接收客户端所发送的唤醒指令;Receiving, by the NFC communication device, a wake-up instruction sent by the client;
    根据所述唤醒指令,向所述NFC通信装置返回车锁识别标识,并控制所述NFC通信装置将所述车锁识别标识向所述客户端发送;Returning, to the NFC communication device, a car lock identification identifier according to the wake-up instruction, and controlling the NFC communication device to send the car lock identification identifier to the client;
    在控制所述NFC通信装置将所述车锁识别标识向所述客户端发送之后,通过所述NFC通信装置接收所述客户端所发送的开锁指令,其中,所述开锁指令中携带有密码信息;Receiving, by the NFC communication device, an unlocking instruction sent by the client after controlling the NFC communication device to send the car lock identification identifier to the client, where the unlocking command carries password information ;
    提取所述开锁指令中的密码信息,并将所述密码信息与预存的车锁密码进行匹配;Extracting the password information in the unlocking instruction, and matching the password information with the pre-stored lock code;
    在两者一致时,控制车锁打开;When the two are consistent, the control car lock is opened;
    通过所述移动通信装置接收服务器所发送的密钥同步指令,所述密钥同步指令中携带有新的车锁密码;Receiving, by the mobile communication device, a key synchronization instruction sent by the server, where the key synchronization instruction carries a new vehicle lock password;
    根据新的所述车锁密码,对原有的车锁密码进行同步和/或更新操作。The original lock code is synchronized and/or updated according to the new lock code.
  15. 根据权利要求14所述的方法,还包括:The method of claim 14 further comprising:
    接收卫星定位装置所发送的车锁位置信息;Receiving the lock position information sent by the satellite positioning device;
    每隔预设时间将所述车锁位置信息通过无线通信装置发送至服务器,或者,Sending the lock position information to the server through the wireless communication device every preset time, or
    在通过移动通信装置接收到所述服务器所发送的位置调取指令时,将所述车锁位置信息通过所述无线通信装置发送至所述服务器。The vehicle lock position information is transmitted to the server via the wireless communication device when the location acquisition command transmitted by the server is received by the mobile communication device.
PCT/CN2018/093699 2017-07-06 2018-06-29 Vehicle lock control device, vehicle lock, vehicle lock control system, and method for controlling vehicle lock WO2019007282A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201710547023.8 2017-07-06
CN201710547023.8A CN107244364A (en) 2017-07-06 2017-07-06 A kind of lock control device, control method, lock and lock control system
CN201721459980.7U CN207409029U (en) 2017-11-03 2017-11-03 A kind of intelligent bicycle lock and vehicle
CN201721459980.7 2017-11-03

Publications (1)

Publication Number Publication Date
WO2019007282A1 true WO2019007282A1 (en) 2019-01-10

Family

ID=64949730

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/093699 WO2019007282A1 (en) 2017-07-06 2018-06-29 Vehicle lock control device, vehicle lock, vehicle lock control system, and method for controlling vehicle lock

Country Status (1)

Country Link
WO (1) WO2019007282A1 (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060214779A1 (en) * 2005-03-23 2006-09-28 Fujitsu Ten Limited Stolen vehicle recovery support apparatus
CN104691657A (en) * 2015-03-26 2015-06-10 苏州大学 Virtual key-based vehicle lock control system and smart vehicle lock comprising same
CN104842802A (en) * 2015-05-08 2015-08-19 深圳市家信信息科技开发有限公司 Vehicle controller system and electric vehicle
CN105704131A (en) * 2016-02-03 2016-06-22 武汉天梯极客网络科技有限公司 Vehicle lock control method and cloud management server
CN205365825U (en) * 2015-12-14 2016-07-06 山东科技大学 Public bicycle intelligence lock control system based on NFC technique
CN205440625U (en) * 2016-01-04 2016-08-10 东北大学秦皇岛分校 Bicycle intelligent system
CN107244364A (en) * 2017-07-06 2017-10-13 东峡大通(北京)管理咨询有限公司 A kind of lock control device, control method, lock and lock control system
CN207409029U (en) * 2017-11-03 2018-05-25 东峡大通(北京)管理咨询有限公司 A kind of intelligent bicycle lock and vehicle

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060214779A1 (en) * 2005-03-23 2006-09-28 Fujitsu Ten Limited Stolen vehicle recovery support apparatus
CN104691657A (en) * 2015-03-26 2015-06-10 苏州大学 Virtual key-based vehicle lock control system and smart vehicle lock comprising same
CN104842802A (en) * 2015-05-08 2015-08-19 深圳市家信信息科技开发有限公司 Vehicle controller system and electric vehicle
CN205365825U (en) * 2015-12-14 2016-07-06 山东科技大学 Public bicycle intelligence lock control system based on NFC technique
CN205440625U (en) * 2016-01-04 2016-08-10 东北大学秦皇岛分校 Bicycle intelligent system
CN105704131A (en) * 2016-02-03 2016-06-22 武汉天梯极客网络科技有限公司 Vehicle lock control method and cloud management server
CN107244364A (en) * 2017-07-06 2017-10-13 东峡大通(北京)管理咨询有限公司 A kind of lock control device, control method, lock and lock control system
CN207409029U (en) * 2017-11-03 2018-05-25 东峡大通(北京)管理咨询有限公司 A kind of intelligent bicycle lock and vehicle

Similar Documents

Publication Publication Date Title
CN104670158B (en) A kind of electric motor car method of controlling security
CN104627021B (en) A kind of electrombile control method
US20160306955A1 (en) Performing user seamless authentications
KR101565848B1 (en) Method and apparatus for vehicle control by using mobile terminal
CN110473327B (en) Lock control method, system and storage medium based on NFC
CN104727658A (en) Intelligent lock, intelligent key and control method and device thereof
CN103390297A (en) Multiple security control security system and security information processing method
US11562054B2 (en) Authorized gesture control methods and apparatus
US20200402039A1 (en) Validating transactions using information transmitted through magnetic fields
JP2007137136A (en) Electronic key system and communication unit
CN103582184A (en) Double-card smart phone high in safety performance
JP2007261495A (en) Vehicle antitheft device and vehicle antitheft method
CN206968837U (en) A kind of lock control device, lock and lock control system
CN202939674U (en) Multiple safety management security device and system
US20180054317A1 (en) Communication system for the detection of a driving license
CN105184871A (en) Travel ticket business management system based on mobile near field communication (NFC), and management method thereof
WO2019007282A1 (en) Vehicle lock control device, vehicle lock, vehicle lock control system, and method for controlling vehicle lock
US20210320918A1 (en) Authorized remote control device gesture control methods and apparatus
JP2008269415A (en) One-time password issuing system
CN100466516C (en) Biological identifying device and method for proofing replay attach
US20230102561A1 (en) Verification Method and Apparatus
KR101378810B1 (en) Certificate saving method
WO2024029285A1 (en) User authentication method, user authentication digital key system, and mobile device program
CN115527294B (en) NFC signal vehicle unlocking method of security chip and security chip device
US20240005299A1 (en) Methods and apparatus for facilitating nfc transactions

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18828568

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 26/05/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18828568

Country of ref document: EP

Kind code of ref document: A1