WO2020154922A1 - 智能锁控制方法及装置 - Google Patents

智能锁控制方法及装置 Download PDF

Info

Publication number
WO2020154922A1
WO2020154922A1 PCT/CN2019/073780 CN2019073780W WO2020154922A1 WO 2020154922 A1 WO2020154922 A1 WO 2020154922A1 CN 2019073780 W CN2019073780 W CN 2019073780W WO 2020154922 A1 WO2020154922 A1 WO 2020154922A1
Authority
WO
WIPO (PCT)
Prior art keywords
smart lock
processor
terminal
unlocking information
unlocking
Prior art date
Application number
PCT/CN2019/073780
Other languages
English (en)
French (fr)
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201980028744.5A priority Critical patent/CN112106118B/zh
Priority to PCT/CN2019/073780 priority patent/WO2020154922A1/zh
Publication of WO2020154922A1 publication Critical patent/WO2020154922A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit

Definitions

  • This application relates to the technical field of smart lock control, and in particular to smart lock control methods and devices.
  • Smart terminals can be used to interact with other devices.
  • the smart terminal is used to control the opening or closing of the smart lock.
  • the smart lock is a lock that can be controlled and unlocked by the smart terminal, including but not limited to a door lock or a car lock.
  • a smart lock as a car lock as an example
  • a smart key application (applet) for controlling the opening of the car door is installed in the smart terminal, and the user controls the opening or closing of the car lock through the applet.
  • This application provides a smart lock control method and device to improve the security of unlocking smart locks.
  • this application provides the following technical solutions.
  • the present application provides a smart lock control device, which may be a component in a terminal.
  • a smart lock control device which may be a component in a terminal.
  • the device includes: a receiving device and a processor.
  • the receiving device is used to receive a response signal triggered by a user's operation of the button, generate a control signal based on the response signal, and provide the control signal to the processor.
  • the processor is configured to receive a control signal, and in response to the control signal, control the communication device to send unlocking information for unlocking the smart lock to the smart lock, where the unlocking information includes instruction information for instructing the operation.
  • the smart lock control device provided by the present application can monitor the user's operation of the button, and send unlocking information to the smart lock based on the user's operation to control the unlocking of the smart lock. Since the smart lock can be unlocked only when the key operation of the vehicle owner is triggered, the safety of unlocking the smart lock can be improved.
  • the device further includes a communication device for sending unlocking information to the smart lock.
  • the processor is also used to monitor the control signal from the receiving device within a preset time period after establishing a communication connection with the smart lock. In this way, it can be ensured that the user's operation of the key is only valid for a period of time, and the security of unlocking the smart lock can be improved.
  • the processor is also used to perform two-way authentication with the smart lock through the communication device to determine the legitimacy of the smart lock's identity. In this way, if the two-way authentication is passed, it indicates that the identity of the smart lock is legal, and the device can continue to execute the smart lock control process in this application to respond to the unlocking demand of the user.
  • the sent unlocking information is encrypted by a secret key; the processor is also used to negotiate the secret key with the smart lock through the communication device. In this way, by encrypting the unlocking information, the probability of tampering with the unlocking information can be reduced, and the security of unlocking the smart lock can be further improved.
  • the processor includes SE. Compared with traditional processors, SE is more secure to improve the security of unlocking smart locks.
  • the receiving device includes a PMU.
  • this application provides a smart lock control device, which may be a terminal or a component in the terminal.
  • the device includes a button and the device in any example of the first aspect described above. Buttons are used to respond to user operations and trigger response signals.
  • the present application provides a smart lock control device, which includes a key recognition drive and control unit.
  • the key recognition drive is used to receive the control signal from the receiving device, and the control signal is generated by the receiving device based on the response signal triggered by the user's operation of the key.
  • the control unit is configured to control the communication device to send unlocking information for unlocking the smart lock to the smart lock in response to the control signal, and the unlocking information includes instruction information for instructing the operation.
  • control unit is an operating system.
  • it can be a COS system or a native system that supports key applications.
  • the key recognition driver is also used to monitor the control signal from the receiving device within a preset time period after establishing a communication connection with the smart lock.
  • control unit is also used to perform two-way authentication with the smart lock through the communication device to determine the legitimacy of the smart lock's identity.
  • the sent unlocking information is encrypted by the secret key; the control unit is also used to negotiate the secret key with the smart lock through the communication device.
  • the present application provides a smart lock control device, which may be a smart lock or a component in a smart lock.
  • the equipment includes a communication device and a processor.
  • the communication device is used to receive unlocking information from the terminal, and the unlocking information is used to unlock the smart lock; the unlocking information includes instruction information used to instruct the user to operate the key.
  • the processor is used to control the unlocking of the smart lock in response to the unlocking information.
  • the processor is also used to perform two-way authentication with the terminal through the communication device to determine the legitimacy of the terminal's identity.
  • the received unlocking information is encrypted by a secret key.
  • the processor is also used to negotiate a secret key with the terminal through the communication device.
  • the present application provides a smart lock control method, which is applied to a terminal or a component of the terminal.
  • the method includes: receiving a response signal triggered by a user's operation of a button, and generating a control signal based on the response signal. After that, in response to the control signal, unlocking information for unlocking the smart lock is sent to the smart lock, where the unlocking information includes instruction information indicating an operation.
  • the unlocking information being sent is encrypted with a secret key.
  • the terminal or components in the terminal can also perform the following steps: negotiate a secret key with the smart lock.
  • the terminal or the components in the terminal can also perform two-way authentication with the smart lock through a communication device to determine the legitimacy of the smart lock's identity.
  • the present application provides a smart lock control method, which is applied to a smart lock or a component in a smart lock.
  • the method includes: receiving unlocking information from a terminal, the unlocking information is used to unlock the smart lock, and the unlocking information includes instruction information used to instruct a user to operate a key.
  • the smart lock is controlled to be unlocked.
  • the received unlocking information is encrypted by a secret key.
  • the method also includes: negotiating a secret key with the terminal.
  • the terminal or components in the terminal can also perform two-way authentication with the terminal through the communication device to determine the legitimacy of the terminal's identity.
  • the user's operation on the preset button may refer to the user's preset operation on the preset button, and the preset operation includes, but is not limited to, a long press operation and a short press operation on the preset button .
  • the short-press operation can be a preset number of pressing operations on a preset button within a specified time, for example, double-clicking the power button twice within 2s, and pressing the power button 3 times within 2s can be regarded as a preset operating.
  • the preset operation can be configured by the terminal by default or set by the user.
  • an embodiment of the present application provides a smart lock control device, which has the function of realizing the smart lock control method of any one of the fifth aspect or the sixth aspect.
  • This function can be realized by hardware, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions.
  • a smart lock control device including: a processor and a memory; the memory is used to store computer execution instructions, and when the smart lock control device is running, the processor executes the computer execution instructions stored in the memory, So that the smart lock control device executes the smart lock control method of any one of the fifth aspect or the sixth aspect.
  • a smart lock control device including: a processor; the processor is configured to couple with a memory, and after reading an instruction in the memory, execute the smart lock according to any one of the fifth or sixth aspects according to the instruction. Lock control method.
  • an embodiment of the present application also provides a computer-readable storage medium, including instructions, which when run on a computer or processor, cause the computer or processor to execute the method of the fifth or sixth aspect.
  • the embodiments of the present application also provide a computer program product, including instructions, which when run on a computer or a processor, cause the computer or the processor to execute the method of the fifth or sixth aspect.
  • an embodiment of the present application provides a smart lock control device.
  • the device may be a chip system.
  • the chip system includes a processor and a memory for realizing the functions of the above method.
  • the chip system can be composed of chips, or can include chips and other discrete devices.
  • a smart lock control device in a thirteenth aspect, is provided.
  • the device may be a circuit system.
  • the circuit system includes a processing circuit configured to execute the smart lock control method according to any one of the fifth or sixth aspects.
  • an embodiment of the present application provides a system, which includes the apparatus or equipment of any one of the first to fourth aspects, the seventh to ninth aspects, the twelfth aspect, and the thirteenth aspect, and /Or the readable storage medium in the tenth aspect, and/or the computer program product in the eleventh aspect.
  • FIG. 1 is a schematic diagram of the architecture of a smart lock control system provided by an embodiment of the application
  • Figure 2 is a schematic structural diagram of a smart lock control device provided by an embodiment of the application.
  • Figure 3 is a schematic structural diagram of a smart lock control device provided by an embodiment of the application.
  • Figure 4(a) is a schematic diagram of inSE
  • Figure 4(b) is a schematic diagram of eSE
  • FIG. 5 is a schematic diagram of software running on a processor provided by an embodiment of the application.
  • FIG. 6 is a schematic flowchart of a smart lock control method provided by an embodiment of the application.
  • FIG. 7 is a schematic structural diagram of a smart lock control device provided by an embodiment of the application.
  • Fig. 8 is an interface diagram of a smart lock control method provided by an embodiment of the application.
  • the smart lock control method provided in the embodiments of the present application can be applied to a smart lock control system.
  • the smart lock control system includes a terminal and a smart lock communicating with the terminal.
  • FIG. 1 is only an example, and the smart lock may be other types of locks that are controlled and unlocked by various signals such as interrupt signals.
  • the embodiment of the present application does not limit the specific form of the smart lock.
  • the terminal involved in the embodiment of the present application may be a mobile phone, a tablet computer, a wearable device, a portable device, and other communication terminals that have a communication function with a smart lock.
  • the device may be a terminal, or a component in the terminal.
  • the smart lock control device may include a memory 101, a processor 102, a communication device 103, and a bus 104, and the memory 101, the processor 102, and the communication device 103 are connected to each other through the bus 104.
  • the memory 101 can be used to store data, software programs, and modules, and it mainly includes a program storage area and a data storage area.
  • the program storage area can store an operating system, at least one application program required for a function, etc.
  • the data storage area can store the device Data created during use, etc.
  • the aforementioned operating system may include a general operating system (for example, an Android system) or a secure operating system.
  • the secure operating system is a dedicated operating system.
  • the operating system involved in the embodiments of this application mainly refers to an on-chip operating system (Chip Operating System, COS) or a native operating system, or other operating systems for supporting the smart key applet, which are described here in a unified manner and will not be described in detail below.
  • COS Chip Operating System
  • the application program required by the above at least one function may include a smart key applet based on an operating system such as COS.
  • the data stored in the above-mentioned storage data area may include a secret key for encrypting and unlocking information, and the unlocking information is used for unlocking the smart lock.
  • the memory 101 may be a floppy disk, a hard disk such as a built-in hard disk and a mobile hard disk, a magnetic disk, an optical disk, a magneto-optical disk such as a compact disc read-only memory (CD_ROM), a digital video disc (digital video disc read) -only memory, DVD_ROM), non-volatile storage devices such as random access memory (RAM), read-only memory (ROM), programmable read-only memory, PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory, or those in the technical field Any other known storage medium.
  • RAM random access memory
  • ROM read-only memory
  • PROM programmable read-only memory
  • EPROM erasable programmable read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • flash memory or those in the technical field Any other known storage medium.
  • the processor 102 is used to control and manage the actions of the device, for example, by running or executing software programs and/or modules stored in the memory 101 and calling data stored in the memory 101 to perform various functions and processing of the device data.
  • the processor 102 may include at least one of a secure element (SE), a central processing unit, a digital signal processor, an artificial intelligence (AI) processor, a microprocessor, or a microcontroller.
  • SE secure element
  • AI artificial intelligence
  • the SE may be integrated in the system-on-chip (SOC) 301 of the device.
  • the SE may be referred to as inSE.
  • the power management unit (PMU) 105 is connected to the SOC 301, and the PMU 105 is also connected to the SE 1021 through GPIO.
  • the button 106 can be connected to the SOC 301 through the PMU 105, and connected to the SE 1021 through the PMU 105.
  • the communication device 103 in FIG. 2 may be a near field communication (NFC) module 1031, or a near field communication device of other modes such as Bluetooth (not shown in the figure).
  • NFC near field communication
  • the SE 1021 may be connected to the SOC 301 through a serial peripheral interface (Serial Peripheral Interface, SPI).
  • the SE 1021 may be referred to as eSE.
  • the button 106 can be connected to the SOC 301 through the PMU 105, and the button is connected to the SE 1021 through the PMU 105.
  • the NFC module 1031 is connected to the SOC 301 and SE 1021 respectively.
  • the processor may also optionally include an application specific integrated circuit, a field programmable gate array or other programmable logic devices, transistor logic devices, hardware accelerators, or any combination thereof.
  • the processor may also be a combination that implements computing functions.
  • the processor 102 may optionally include other hardware accelerators, and this combination may be used to support the device to perform the function of the smart lock control in the present application.
  • the specific process of the smart lock control method refer to the following The description in the method embodiment.
  • the communication device 103 is used to support the device 200 to communicate with other devices.
  • the communication device 103 may be a receiver, a receiving circuit, a transmitter, a transmitting circuit, a transceiver with a transceiving function, a transceiving circuit, etc.
  • the communication device 103 is a transceiver circuit based on near field communication (NFC), or a near field communication device in other modes such as Bluetooth.
  • NFC near field communication
  • the bus 104 may be a peripheral component interconnection standard (PCI) bus, or an extended industry standard architecture (EISA) bus, etc.
  • PCI peripheral component interconnection standard
  • EISA extended industry standard architecture
  • the bus can be divided into address bus, data bus, control bus, etc. For ease of representation, only a thick line is used in FIG. 2, but it does not mean that there is only one bus or one type of bus.
  • the device 200 may further include a button 106, and the button 106 may be connected to the processor.
  • the button 106 is used to receive a user's operation, such as receiving a user's double-click operation.
  • the processor can control the unlocking of the smart lock based on the user's operation of the button 106.
  • the specific device 200 controls the unlocking of the smart lock by sending information to the smart lock.
  • the smart lock control device 200 further includes a power management unit (PMU) 105.
  • the button 106 is connected to the PMU 105, and the PMU 105 is connected to the processor through a general purpose input output (GPIO).
  • GPIO general purpose input output
  • the operation of the button 106 can trigger an interrupt signal (also referred to as a response signal in this article).
  • the PMU 105 receives the response signal, generates a control signal based on the interrupt signal (response signal), and controls it through GPIO
  • the signal is passed to the processor. It can be understood that the operation of receiving the response signal and generating the control signal of the PMU 105 can be performed by another dedicated device instead.
  • the processor 102 itself can be regarded as a smart lock control device, which can be used as a computing core to realize the smart lock control function.
  • the processor 102 and the PMU 105 may be located in a smart lock control device, which may jointly implement the smart lock control function.
  • the processor 102 and the communication device 103 may be located in a smart lock control device, or the processor 102, the PMU 105 and the communication device 103 may be located in a smart lock control device.
  • the device can be one or more chips, chipsets, or can selectively run software to work.
  • the smart lock control device 300 may be the smart lock itself, or a component located in the smart lock, which may be controlled by the aforementioned terminal.
  • the smart lock control device 300 may include a processor 302 and a communication device 303.
  • the smart lock control device 300 further includes a memory 301 and a bus 304.
  • the memory 301, the processor 302, the communication device 303, and the bus 304, as well as the functions of the various components refer to the related description in FIG. 2, which will not be repeated here.
  • the processor 302 can run computer program instructions stored in the memory 301 to control the communication device 303 to implement signal transmission, or to process the signal received by the communication device 303, and to implement the unlocking operation of the smart lock.
  • the operation performed by the processor 302 in the smart lock corresponds to the operation performed by the processor 102 in the terminal, and is used to cooperate with the processor 102 to perform an unlocking operation to realize the interoperation between the smart lock and the terminal, thereby realizing smart unlocking and ensuring safety.
  • the software architecture of the computer program instructions run by the processor 302 may be similar to the software corresponding to FIG. 5 or FIG. 7 run by the processor 102 of the terminal, except that the case identification driver is not included.
  • the software architecture may include an operating system and a key application, both of which run on the processor 302 to control the unlocking operation. For details, please refer to the operation S608 in FIG. 6.
  • FIG. 5 is a schematic diagram of the architecture of software running on the processor 102 according to an embodiment of the application.
  • the processor 102 which may specifically be an SE, may be used to run an operating system 502, a key recognition driver 503, and a key application (applet) 501.
  • the key application 501 is also called a key application, a smart key application, a smart key application, etc., and its name does not constitute a restriction on the key application.
  • the key application 501 runs on the operating system 502, and can obtain information about the user's operation of the keys by calling the interface provided by the operating system 502 for accessing hardware and resources.
  • the information that the user operates on the key can be referred to as key information for short, which is used to indicate which key the user performs what kind of operation.
  • the key information can indicate that the user performs the power button. Perform a double-click operation.
  • the operating system 502 provides an interface for the key application 501 to access hardware and resources.
  • the operating system 502 provides an Application Programming Interface (API) for the key application 501.
  • API Application Programming Interface
  • the operating system 502 provides a security confirmation API (GetSecure Confirmation API) for the key application 501.
  • GetSecure Confirmation API GetSecure Confirmation API
  • the key recognition driver 503 is used for judging the information of the user operating the key according to the control signal reported by the PMU to the processor through the GPIO, that is, judging the key information. And the key information can be returned to the operating system 502. For example, double-clicking the power button within 2s is the operation that triggers the smart lock control process, that is, the preset operation described below.
  • the button recognition driver 503 detects two control signals on the GPIO within 2s, it means that the user is in 2s. The key is pressed twice in the internal, and the key recognition driver 503 reports the key information to the operating system 502.
  • the embodiment of the present application provides a smart lock control method, which is used in a scenario where a terminal controls and unlocks a smart lock.
  • the method includes the following steps:
  • the smart lock sends a select command to the terminal.
  • the terminal receives the select command from the smart lock.
  • the smart lock sends a command to the terminal through, for example, the communication device 303 shown in FIG. 3.
  • the select command carries an application identifier (AID), which is used to instruct to open the applet corresponding to the AID in the terminal.
  • AID application identifier
  • the terminal switches the state of the key application to the active state.
  • the active state of the key application refers to that the key application can be used to communicate with the smart lock to control and unlock the smart lock.
  • the terminal cannot complete the process of controlling and unlocking the smart lock.
  • the terminal switches the applet corresponding to the AID to the active state according to the AID in the received select command.
  • the terminal switches the state of the key application to the active state through, for example, the processor 302 shown in FIG. 2.
  • the terminal feeds back a confirmation message to the smart lock.
  • the smart lock receives a confirmation message from the terminal.
  • the confirmation message is used to confirm that the terminal has switched the key application to the active state.
  • the key application in the active state feeds back a confirmation message to the smart lock.
  • the terminal and the smart lock perform two-way authentication. It is understandable that, in order to ensure the safety of unlocking the smart lock, the terminal needs to verify whether the identity of the smart lock is legal. Similarly, the smart lock also needs to verify whether the identity of the terminal is legal. Among them, the specific method for the two-way authentication between the terminal and the smart lock can be found in the prior art, and will not be repeated here.
  • the processor 102 of the terminal performs two-way authentication with the smart lock through the communication device 103.
  • the processor 302 of the smart lock performs two-way authentication with the terminal through the communication device 303.
  • the terminal negotiates a secret key with the smart lock.
  • the unlocking information used to unlock the smart lock needs to be encrypted and/or signed and/or integrity checked. Therefore, the secret key used for encryption and other operations needs to be negotiated in advance.
  • the processor 102 of the terminal negotiates a secret key with the smart lock through the communication device 103.
  • the processor 302 of the smart lock negotiates the secret key with the terminal through the communication device 303.
  • the terminal establishes a communication connection with the smart lock. It can be understood that after the terminal establishes a communication connection with the smart lock, the terminal can control and unlock the smart lock by further interacting with the smart lock. Based on this, the smart lock control method provided by the embodiment of the present application further includes the following steps:
  • buttons mentioned in the embodiments of the present application refer to preset buttons that can trigger the terminal to execute the smart lock control method in the embodiments of the present application.
  • the preset key can be a power key, a volume key, other physical keys, or a combination key formed by one or more of these keys.
  • the embodiment of the application does not limit the type of the preset button.
  • the user's operation on the preset button may refer to the user's preset operation on the preset button, and the preset operation includes but is not limited to a long press operation and a short press operation on the preset button.
  • the short-press operation can be a preset number of pressing operations on a preset button within a specified time, for example, double-clicking the power button twice within 2s, and pressing the power button 3 times within 2s can be regarded as a preset operating.
  • the preset operation can be configured by the terminal by default or set by the user.
  • the user opens the unlock smart lock setting item 1002 in the interface 1001, so that the terminal has the function of controlling unlocking the smart lock, and the terminal can perform the steps in the embodiment of this application. Smart lock control method.
  • the user can also choose to double-click the power button 1004 in the interface 1003. Subsequently, the user can trigger the unlocking of the smart lock by double-clicking the power button, or choose the long-press power button option in the interface 1003, correspondingly, Later, the user can trigger the unlocking of the smart lock by long pressing the power button.
  • the user can also select the newly added setting item 1005 in the interface 1003 and enter a custom preset operation.
  • the custom preset operation is to press the power button three times within 2s.
  • a prompt interface can be output to prompt the user whether to confirm Unlock the smart lock. See Figure 8(c), terminal output interface 1006: Are you sure to unlock the smart lock? The user clicks the "Yes” option, and the terminal continues to execute the smart lock control process to control the unlocking of the smart lock. The user clicks the "No" option, and the terminal does not execute the smart lock control process and does not unlock the smart lock.
  • the default operation is long pressing the power button.
  • the terminal When the terminal is turned on, if the user long presses the power button, it may also trigger the terminal restart or shutdown . At this time, the terminal may output an interface, which is used to prompt the user whether to confirm that the preset operation is used to unlock the smart lock. Referring to Figure 8 (d), the terminal output interface 1007, the user can trigger the unlocking process of the smart lock by selecting the "unlock" option.
  • the terminal monitors the user's operation of the button.
  • the principle of the terminal monitoring the user's operation of the button is, for example, that the user's operation of the button triggers a response signal, and the response signal is transmitted to the PMU.
  • the PMU generates a control signal based on the response signal and provides the control signal to the processor through GPIO. In this way, the processor of the terminal can wait to read the control signal on the GPIO within a preset time, and can determine the user's operation on the button.
  • the processor can wait for the signal caused by the above operation, for example, By waiting to read the two control signals on the GPIO within 2s, it shows that the user has pressed the button twice within 2s.
  • the preset time period is 10s as an example. The user holds the terminal close to the smart lock and establishes a communication connection with the smart lock through S601 to S605. Within 10s from the establishment of the communication connection, the terminal If the user's operation on the preset button is monitored (for example, the user double-clicks the power button within 2s), it indicates that the user's intention is to unlock the smart lock, and the terminal may continue to perform the following step S607.
  • Step S607 is to reduce the probability of falsely triggering the process of unlocking the smart lock, and reduce the security problems caused by false triggering of the unlocking smart lock.
  • the terminal sends unlocking information to the smart lock.
  • the smart lock receives unlocking information from the terminal.
  • the unlocking information includes instruction information used to instruct the user to operate the button, and the unlocking information is used to unlock the smart lock.
  • the terminal determines whether the user has performed a preset operation on the preset button by monitoring the control signal on the GPIO (for example, pressing the power button twice within 2s), when it is determined that the user has preset the preset button During operation, the terminal sends unlocking information to the smart lock.
  • the key application 501 of the terminal sends unlocking information to the smart lock by calling the communication device 103.
  • the indication information indicating the preset operation can be represented by 1 bit.
  • the indication information is 1, it means that the terminal has monitored the user's preset operation of the preset button.
  • the indication information is 0, it means that the terminal is in the preset period of time.
  • the user's preset operation of the preset button is not monitored.
  • the instruction information indicating the preset operation may also be expressed in other forms, and the embodiment of the present application does not limit the specific form of the instruction information.
  • the unlocking information transmitted in the communication can be processed.
  • the unlocking information is processed using the secret key negotiated in the flow shown above.
  • the secret keys involved in the embodiments of this application include, but are not limited to, the private key of the terminal, the public key of the terminal, the private key of the smart lock, the public key of the smart lock, and the message authentication code (MAC) secret. key.
  • the terminal signs the unlocking information and sends the signed unlocking information to the smart lock.
  • the terminal first uses a preset algorithm to process the unlock information, generates a digest of the unlock information, and then signs the digest.
  • the terminal uses the hash function to calculate the digest of the unlocking information, and uses the terminal's own private key to sign the digest.
  • the terminal encrypts the unlocking information, and sends the encrypted unlocking information to the smart lock.
  • the terminal uses the public key of the smart lock to encrypt the unlock information and the digest of the signature to obtain the ciphertext.
  • the smart lock after receiving the encrypted unlocking information, uses the smart lock's own private key to decrypt the above-mentioned ciphertext to obtain the plaintext of the unlocking information and the digest of the signature. After that, the smart lock uses the terminal's public key to unlock the digest of the signature. In this way, only the public key of the terminal can unlock the signature of the terminal, and the smart lock can confirm that the unlocking information is sent by the terminal. Only the private key of the smart lock can decrypt the ciphertext encrypted with the public key of the smart lock, so that the terminal can confirm that the unlocking information can only be read by the smart lock.
  • the terminal and the smart lock protect the integrity of the unlocking information.
  • the terminal calculates the MAC of the unlocking information, and sends the MAC and unlocking information to the smart lock.
  • the smart lock After the smart lock receives the MAC and unlocking information, it checks the integrity of the MAC and unlocking information to ensure the integrity of the unlocking information.
  • encryption, decryption, signature, de-signature, and integrity protection please refer to the prior art, which will not be repeated here.
  • S608 Control unlocking the smart lock in response to the unlocking information.
  • the smart lock receives unlocking information, indicating that the user has performed a preset operation on the preset button, that is, the user's intention is to unlock the smart lock, and at this time, the smart lock is turned on.
  • the unlocking information received by the smart lock includes instruction information 1, indicating that the user performs a preset operation on the preset button, and the smart lock is opened to respond to the unlocking demand of the user.
  • the smart lock control method provided by the present application monitors the user's preset operation of the preset button, and sends unlocking information to the smart lock based on the user's operation of the button to control the unlocking of the smart lock.
  • the user's operation of the button indicates that the user's intention is to unlock the smart lock, which can reduce the probability of accidentally triggering the unlocking process of the smart lock.
  • the smart lock can be unlocked only when the vehicle owner's button operation is triggered, which can improve the safety of unlocking the smart lock.
  • the PMU can also be powered on to turn on the terminal to execute the smart lock.
  • the process of unlocking the lock improves the probability of successfully unlocking the smart lock.
  • the PMU can only turn on the terminal without lighting the screen of the terminal to reduce the power consumption of the terminal.
  • the terminal or the smart lock includes hardware structures and/or software modules corresponding to the respective functions.
  • the present application can be implemented in a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the smart lock control device involved in the above embodiments may be a system-level device.
  • the internal software part or hardware part can be independently used to realize the function of smart lock control.
  • Fig. 7 shows a possible structural schematic diagram of a smart lock control device involved in this embodiment.
  • the smart lock control device corresponds to the software part of FIG. 5, and can run on the processor 102, and specifically can be an SE. See Figure 7.
  • the device includes a key recognition driver 503 and a control unit 701 shown in FIG. 5. Among them, the key recognition driver 503 is used to receive control signals from the receiving device.
  • the receiving device is, for example, but not limited to, the PMU 105 shown in FIG.
  • the control signal is generated by the PMU 105 based on a response signal triggered by the user's operation of the button.
  • the key recognition driver 503 is also used to provide control signals to the control unit 701.
  • the control unit 701 may be an operating system, for example, a COS system, or a native system.
  • the control unit 701 is configured to receive a control signal from the key recognition driver 503 and execute S606 of the process shown in FIG. 6, that is, in response to the control signal, control the communication device to send unlocking information to the smart lock.
  • the unlocking information is used to unlock the smart lock, and includes instruction information used to instruct the operation of the key.
  • the control unit 701 may also provide an API for the key application.
  • the key application can obtain whether the user has operated the key through the API.
  • the key application learns that the user has operated the key (for example, pressing the power key twice within 2 seconds)
  • the key application calls the communication device to send unlocking information to the smart lock.
  • the key application calls the NFC module to send unlock information to the smart lock.
  • the key recognition driver 503 is specifically configured to monitor the control signal from the receiving device within a preset time period after establishing a communication connection with the smart lock.
  • the preset time period is 10s.
  • the key recognition driver monitors the control signal transmitted by the PMU to the processor through the GPIO (for example, there are two control signals on the GPIO within 2s)
  • the terminal sends unlocking information to the smart lock to instruct to unlock the smart lock.
  • the terminal may not send unlocking information to the smart lock.
  • control unit 701 is further configured to control the communication device to perform S604 in the process shown in FIG. 6, that is, perform two-way authentication with the smart lock through the communication device to determine the smart lock Legality of identity.
  • the unlocking information that is sent is encrypted by a secret key.
  • control unit 701 is further configured to control the communication device so that the communication device executes S605 in the process shown in FIG. 6, that is, negotiates the secret key with the smart lock through the communication device.
  • the embodiment of the present application also provides another smart lock control device, which corresponds to the software part in FIG. 5 and can run under the operating system shown in FIG. 5.
  • the device can be a key application in the terminal.
  • the key application is used to obtain the user's button operation from the operating system and send unlock information to the smart lock.
  • unlocking information please refer to the description above.
  • the key application obtains the user's operation of the button from the operating system, which can be specifically implemented as: the operating system can actively report the operation information to the key application, or the key application polls the API provided by the operating system to obtain the operation information information.
  • the operating system can actively report the operation information to the key application, or the key application polls the API provided by the operating system to obtain the operation information information.
  • the key application sends unlocking information to the smart lock, which can be specifically implemented as: the key application calls the communication device of the terminal through the API provided by the operating system, so that the communication device executes S607 in the process shown in Figure 6, that is, to the smart lock Send unlock information.
  • the key application calls the NFC module of the terminal through the API provided by the operating system, and the terminal sends unlocking information to the smart lock through the NFC module.
  • the key application is used to obtain the user's operation of the button from the operating system and send unlocking information to the smart lock, which specifically includes: used for the preset time period after the terminal and the smart lock are connected , Get the user's operation on the button.
  • the preset time period is 10s.
  • the key application obtains the user's pre-operation of the button from the operating system, and the key application sends unlocking information to the smart lock to indicate unlocking smart Lock.
  • the key application does not obtain the user's preset operation of the preset button from the operating system (for example, to obtain the double-click operation of the power button), the key application can Does not send unlock information to the smart lock.
  • the following describes another smart lock control device in the embodiment of the present application from the perspective of hardware processing.
  • Another smart lock control device provided by the embodiment of the present application corresponds to the hardware part of FIG. 2 to provide hardware computing power for the smart lock control function.
  • the device may be a chip system in the terminal, including a processor 102 and a receiving device (for example, it may be the PMU shown in FIG. 2), and the specific structure may be as shown in FIG.
  • the PMU 105 is used to perform S606 in the process shown in FIG. 2 as an example, in this embodiment of the application, the PMU 105 is used to perform S606 in the process shown in FIG.
  • the response signal generates a control signal. It is also used to provide the control signal to the processor.
  • the processor 102 is configured to receive the control signal from the PMU 105.
  • the processor 102 may further control the communication device to execute S607 of the process shown in FIG. 6 in response to the control signal, that is, control the communication device to send the unlocking information for unlocking the smart lock to the smart lock.
  • the unlocking information includes instruction information used to instruct the user to operate a key.
  • the device further includes a communication device.
  • the communication device is configured to execute S607 of the process shown in FIG. 6 under the control of the processor 102, that is, send the unlocking information to the smart lock.
  • the communication device may be an NFC-based chip or the like. The embodiments of this application do not limit the specific implementation form of the communication device.
  • the processor is further configured to monitor the control signal from the PMU 105 within a preset time period starting from establishing a communication connection with the smart lock. If the control signal is monitored within the preset time period, the processor executes the unlocking smart lock process in the foregoing embodiment. If the control signal is not monitored within the preset time period, it means that the user's intention is not to unlock the smart lock, and the processor no longer performs the process of unlocking the smart lock.
  • the processor is further configured to perform two-way authentication with the smart lock through the communication device to determine the legality of the smart lock's identity.
  • the unlocking information that is sent is encrypted by a secret key.
  • the processor is further configured to negotiate a secret key with the smart lock through the communication device.
  • the processor is an SE.
  • a smart lock control device which may be a terminal.
  • the device includes a processor as shown in Figure 2 and a button as shown in Figure 2.
  • the specific structure can be seen in Figure 2.
  • the button is used to respond to the user's operation and trigger the response signal.
  • the button is used to respond to a user's double-click operation and trigger a response signal.
  • the device includes a PMU.
  • the buttons can be connected to the processor through the PMU.
  • the embodiment of the present application also provides a smart lock control device, which may be a smart lock. Referring to FIG.
  • the device includes: a communication device 303 and a processor 302.
  • the communication device 303 is configured to perform S607 in the process shown in FIG. 6, that is, to receive unlocking information from the terminal.
  • the unlocking information is used to unlock the smart lock, and the unlocking information includes the Instructions for the operation.
  • the processor 302 is configured to execute S608 in the process shown in FIG. 6, that is, control to unlock the smart lock in response to the unlock information.
  • the processor 302 is further configured to perform two-way authentication with the terminal through the communication device to determine the legitimacy of the terminal's identity.
  • the received unlocking information is encrypted by a secret key, and the processor 302 is further configured to negotiate a secret key with the terminal through the communication device.
  • the device may also include the bus 304 and the memory 301 shown in FIG. 2. Among them, the detailed introduction of the bus and the memory can refer to the related description of FIG. 2, which will not be repeated here.
  • the embodiment of the present application also provides a computer-readable storage medium that stores instructions in the computer-readable storage medium when it runs on a device (for example, the device may be a single-chip microcomputer, chip, computer, or processor, etc.) At this time, the device is caused to perform one or more steps of the terminal or the smart lock in the foregoing method embodiment. If each component module of the above-mentioned smart lock control device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in the computer readable storage medium.
  • the embodiments of the application also provide a computer program product containing instructions.
  • the technical solution of the application is essentially or a part that contributes to the prior art, or all or part of the technical solution can be a software product
  • the computer software product is stored in a storage medium and includes a number of instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor therein execute the various embodiments of this application All or part of the steps of the method of the terminal or the smart lock.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Lock And Its Accessories (AREA)

Abstract

一种智能锁控制方法及装置,涉及智能锁控制技术领域,用于提升解锁智能锁的安全性。其中,该方法包括:接收由用户对按键的操作而触发的响应信号,并基于响应信号生成控制信号,响应于控制信号向智能锁发送用于解锁智能锁的解锁信息,解锁信息包括指示操作的指示信息。

Description

智能锁控制方法及装置 技术领域
本申请涉及智能锁控制技术领域,尤其涉及智能锁控制方法及装置。
背景技术
目前,智能终端的功能日益丰富。智能终端可以被应用于与其他设备进行交互。在智能终端的一种应用场景中,智能终端被用于控制智能锁的开启或关闭。所述智能锁是一种能够被所述智能终端控制并解锁的锁,包括但不限于门锁或车锁。以智能锁为车锁为例,智能终端中安装有用于控制车门开启的智能钥匙应用程序(applet),用户通过applet控制车锁开启或关闭。
在上述利用智能终端开启车锁时,存在中继攻击的威胁。即车主不在车旁时,攻击者甲靠近车主,攻击者靠近车门,甲通过特定设备获取车主通过终端applet发出的信号,并通过该特定设备向攻击者乙所持有设备发送获取的信号。如此,攻击者乙通过设备向车锁发送该信号,可控制车锁解锁,开启车门。
可见,在中继攻击的场景中,即使车主并不在车旁,攻击者甲、乙也可通过获取车主所持终端的解锁信号来开启车门,导致解锁智能锁的方式存在较为严重的安全隐患。
发明内容
本申请提供智能锁控制方法及装置,提升解锁智能锁方式的安全性。为达到上述目的,本申请提供如下技术方案。
第一方面,本申请提供一种智能锁控制装置,该装置可以为终端中的组件。比如可以为终端中的芯片***。该装置包括:接收装置和处理器。其中,接收装置,用于接收由用户对按键的操作而触发的响应信号,基于响应信号生成控制信号,并向处理器提供控制信号。处理器,用于接收控制信号,响应于控制信号控制通信器件向智能锁发送用于解锁智能锁的解锁信息,解锁信息包括用于指示该操作的指示信息。
本申请提供的智能锁控制装置,能够监听用户对按键的操作,并基于用户的操作向智能锁发送解锁信息,以控制解锁智能锁。由于在车主的按键操作触发下,才可解锁智能锁,因此可提升解锁智能锁的安全性。
在一种可能的设计中,装置还包括通信器件,用于向智能锁发送解锁信息。
在一种可能的设计中,处理器,还用于在与智能锁建立通信连接后,在预设时段内监听来自接收装置的控制信号。如此,能够保证用户对按键的操作仅在一段时间内有效,可提升解锁智能锁的安全性。
在一种可能的设计中,处理器,还用于通过通信器件与智能锁进行双向鉴权,以确定智能锁的身份的合法性。如此,若双向鉴权通过,说明智能锁的身份合法,该装置可继续执行本申请中智能锁控制流程,以响应用户的解锁需求。
在一种可能的设计中,被发送的解锁信息被秘钥加密;处理器,还用于通过通信器件与智能锁协商秘钥。如此,通过加密解锁信息,可降低解锁信息被篡改的概率, 进一步提升解锁智能锁的安全性。
在一种可能的设计中,处理器包括SE。相比于传统的处理器,SE的安全性更高,以提升解锁智能锁的安全性。
在一种可能的设计中,接收装置包括PMU。
第二方面,本申请提供一种智能锁控制设备,该设备可以是终端,或者终端中的组件。该设备包括按键和上述第一方面的任一示例中的装置。按键,用于响应于用户的操作,并触发响应信号。
第三方面,本申请提供一种智能锁控制装置,该装置包括按键识别驱动和控制单元。其中,按键识别驱动,用于接收来自接收装置的控制信号,控制信号是接收装置基于由用户对按键的操作而触发的响应信号而生成。控制单元,用于响应于控制信号控制通信器件向智能锁发送用于解锁智能锁的解锁信息,解锁信息包括用于指示操作的指示信息。
在一种可能的设计中,控制单元为操作***。比如,可以为支持钥匙应用的COS***,native***等。
在一种可能的设计中,按键识别驱动,还用于在与智能锁建立通信连接后,在预设时段内监听来自接收装置的控制信号。
在一种可能的设计中,控制单元,还用于通过通信器件与智能锁进行双向鉴权,以确定智能锁的身份的合法性。
在一种可能的设计中,被发送的解锁信息被秘钥加密;控制单元,还用于通过通信器件与智能锁协商秘钥。
第四方面,本申请提供一种智能锁控制设备,该设备可以是智能锁或智能锁中的组件。该设备包括通信器件和处理器。其中,通信器件,用于接收来自终端的解锁信息,解锁信息用于解锁智能锁;解锁信息包括用于指示用户对按键的操作的指示信息。处理器,用于响应于解锁信息以控制解锁智能锁。
在一种可能设计中,处理器,还用于通过通信器件与终端进行双向鉴权,以确定终端的身份的合法性。
在一种可能的设计中,被接收的解锁信息被秘钥加密。处理器,还用于通过通信器件与终端协商秘钥。
第五方面,本申请提供一种智能锁控制方法,该方法应用于终端或终端的组件中。该方法包括:接收由用户对按键的操作而触发的响应信号,并基于响应信号生成控制信号。之后,响应于控制信号向智能锁发送用于解锁智能锁的解锁信息,解锁信息包括指示操作的指示信息。
在一种可能的设计中,被发送的解锁信息被秘钥加密。
终端或终端中的组件还可以执行如下步骤:与智能锁协商秘钥。
在一种可能的设计中,终端或终端中的组件还可以通过通信器件与智能锁进行双向鉴权,以确定智能锁的身份的合法性。
第六方面,本申请提供一种智能锁控制方法,该方法应用于智能锁或智能锁中的组件。该方法包括:接收来自终端的解锁信息,解锁信息用于解锁智能锁,解锁信息包括用于指示用户对按键的操作的指示信息。响应于解锁信息以控制解锁智能锁。
在一种可能的设计中,被接收的解锁信息被秘钥加密。方法还包括:与终端协商秘钥。
在一种可能的设计中,终端或终端中的组件还可以通过通信器件与终端进行双向鉴权,以确定终端的身份的合法性。
在上述任一方面的一种实现方式中,用户对预设按键的操作可以指用户对预设按键的预设操作,预设操作包括但不限于对预设按键的长按操作、短按操作。其中,短按操作可以是,在规定时间内对预设按键进行预设数目的按压操作,比如,在2s内双击2次电源键,在2s内3次按下电源键均可视为预设操作。该预设操作可以是终端默认配置的,也可以由用户设置。
第七方面,本申请实施例提供一种智能锁控制装置,该装置具有实现上述第五方面或第六方面中任一项的智能锁控制方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第八方面,提供一种智能锁控制装置,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该智能锁控制装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该智能锁控制装置执行如上述第五方面或第六方面中任一项的智能锁控制方法。
第九方面,提供一种智能锁控制装置,包括:处理器;处理器用于与存储器耦合,并读取存储器中的指令之后,根据指令执行如上述第五或第六方面中任一项的智能锁控制方法。
第十方面,本申请实施例中还提供一种计算机可读存储介质,包括指令,当其在计算机或处理器上运行时,使得计算机或处理器执行第五或第六方面的方法。
第十一方面,本申请实施例中还提供一种计算机程序产品,包括指令,当其在计算机上或处理器运行时,使得计算机或处理器执行第五或第六方面的方法。
第十二方面,本申请实施例提供了一种智能锁控制装置,该装置可以为芯片***,该芯片***包括处理器,还可以包括存储器,用于实现上述方法的功能。该芯片***可以由芯片构成,也可以包含芯片和其他分立器件。
第十三方面,提供一种智能锁控制装置,该装置可以为电路***,电路***包括处理电路,处理电路被配置为执行如上述第五或第六方面中任一项的智能锁控制方法。
第十四方面,本申请实施例提供了一种***,***包括第一至第四方面、第七至第九方面、第十二方面、第十三方面中任一方面的装置或设备,和/或第十方面中的可读存储介质,和/或第十一方面中的计算机程序产品。
附图说明
图1为本申请实施例提供的智能锁控制***的架构示意图;
图2为本申请实施例提供的智能锁控制设备的结构示意图;
图3为本申请实施例提供的智能锁控制设备的结构示意图;
图4(a)为inSE的示意图;
图4(b)为eSE的示意图;
图5为本申请实施例提供的处理器上运行的软件的示意图;
图6为本申请实施例提供的智能锁控制方法的流程示意图;
图7为本申请实施例提供的智能锁控制装置的结构示意图;
图8为本申请实施例提供的智能锁控制方法的界面图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B。本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。本文中的“至少一个”表示一个或多个。在本申请的描述中,“多个”是指两个或多于两个。第一、第二仅仅是为了区分不同对象,并不表示特定顺序或具有其他含义。
本申请实施例提供的智能锁控制方法可应用于智能锁控制***中。如图1所示,以智能锁是车锁为例,智能锁控制***包括终端和与终端进行通信的智能锁。当然,图1仅是举例,智能锁可以是被中断信号等各类信号控制并解锁的其他种类的锁,本申请实施例对智能锁的具体形态不进行限制。其中,本申请实施例涉及的终端可以是手机、平板电脑、可穿戴设备、便携式设备等具有与智能锁通信功能的通信终端。
参见图2,为本申请实施例提供的智能锁控制设备的一种可能的结构示意图。例如,该设备可以是终端,或者终端中的部件。在一种可能的实现方式中,智能锁控制设备可以包括存储器101、处理器102、通信器件103和总线104,存储器101、处理器102以及通信器件103通过总线104相互连接。
其中,存储器101可用于存储数据、软件程序以及模块,主要包括存储程序区和存储数据区,存储程序区可存储操作***、至少一个功能所需的应用程序等,存储数据区可存储该装置的使用时所创建的数据等。在本申请实施例中,上述操作***可以包括通用操作***(比如,安卓***)或安全操作***。可选的,安全操作***为专用操作***。本申请实施例涉及的操作***主要指片内操作***(Chip Operating System,COS)或native操作***,或者其他的用于支持智能钥匙applet的操作***,这里统一说明,下文不再赘述。基于以上描述,上述至少一个功能所需的应用程序可以包括基于COS等操作***的智能钥匙applet。上述存储数据区存储的数据可以包括用于加密解锁信息的秘钥等,解锁信息用于解锁智能锁。
在一些可行的实施例中,存储器101可以是软盘,硬盘如内置硬盘和移动硬盘,磁盘,光盘,磁光盘如只读光盘(compact disc read-only memory,CD_ROM)、数字视盘(digital video disc read-only memory,DVD_ROM),非易失性存储设备如随机存取存储器(random access memory,RAM)、只读存储器(read-only memory,ROM)、可编程只读存储器(programmable read-only memory,PROM)、可擦写可编程只读存储器(erasable programmable read-only memory,EPROM)、电可擦写可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、闪存、或者技术领域内所公知的任意其他形式的存储介质。
处理器102用于对设备的动作进行控制管理,比如,通过运行或执行存储在存储器101内的软件程序和/或模块,以及调用存储在存储器101内的数据,执行设备的各种功能和处理数据。其中,处理器102可以包括安全元件(Secure element,SE)、中央处理单元、数字信号处理器、人工智能(artificial intelligence,AI)处理器、微处理 器、或微控制器等的至少一个。下文以处理器中的SE执行软件程序并实现解锁控制为例做介绍,但这不用于限定本发明。
在一种实施例中,以处理器包括SE为例,参见图4(a),SE可集成在设备的***级芯片(System on Chip,SOC)301中,此时,SE可称为inSE。其中,图4(a)中,电源管理单元(PMU)105与SOC 301连接,PMU 105还通过GPIO与SE 1021连接。按键106可通过PMU 105连接到SOC 301,并通过PMU 105连接到SE 1021。图2中的通信器件103可以为近场通信(near field communica-tion,NFC)模块1031,或蓝牙等其他模式的近距离通信器件(图中并未示出)。
或者,参见图4(b),示例性的,SE 1021可以通过串行外设接口(Serial Peripheral Interface,SPI)与SOC 301连接,此时,SE 1021可称为eSE。图4(b)中,按键106可通过PMU 105连接SOC 301,按键通过PMU 105连接到SE 1021。NFC模块1031分别与SOC 301和SE 1021连接。
可选的,处理器还选择性包括专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、晶体管逻辑器件、硬件加速器或者其任意组合。可选的,处理器也可以是实现计算功能的组合。进一步的,在本申请实施例中,处理器102可选择性包括其他硬件加速器,该组合可用于支持设备执行本申请中智能锁控制的功能,其中,智能锁控制方法的具体过程可以参见下述方法实施例中的描述。
通信器件103用于支持设备200与其他设备进行通信。通信器件103可以是接收器、接收电路、发送器、发送电路、具有收发功能的收发器、收发电路等。比如,通信器件103是基于近场通信(near field communica-tion,NFC)的收发电路,或蓝牙等其他模式的近距离通信器件。
总线104可以是外设部件互连标准(peripheral component interconnect,PCI)总线,或者扩展工业标准结构(extended industry standard architecture,EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,图2中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
可选的,设备200还可以包括按键106,该按键106可连接到处理器。按键106用于接收用户的操作,比如接收用户的双击操作,如此,处理器可以基于用户对按键106的操作控制解锁智能锁。具体设备200通过向智能锁发送信息来控制所述智能锁的解锁。
可选的,智能锁控制设备200还包括电源管理单元(Power Management Unit,PMU)105。按键106连接到PMU 105,PMU 105通过通用输入/输出(general purpose input output,GPIO)连接到处理器。当用户按压按键106时,按键106操作可触发中断信号(在本文中也称为响应信号),PMU 105接收该响应信号,基于该将中断信号(响应信号)生成控制信号,并通过GPIO将控制信号传递给处理器。可以理解PMU 105的接收该响应信号并生成控制信号的操作可以由另一专用器件代替执行。
在本申请实施例的一些实现方式中,处理器102本身可以视为一个智能锁控制装置,其可作为运算核心实现智能锁控制功能。或者,处理器102和PMU 105可位于一个智能锁控制装置,其可共同实现智能锁控制功能。或者,处理器102和通信器件103可位于一个智能锁控制装置中,或者,处理器102、PMU 105和通信器件103可位于 一个智能锁控制装置中。该装置可以是一个或多个芯片、芯片组,或可以选择性运行软件来工作。
参见图3,为本申请实施例提供的智能锁控制设备的一种可能的结构示意图。例如,该智能锁控制设备300可以是智能锁本身,或者位于智能锁中的部件,可以被如前所述的终端所控制。在一种可能的实现方式中,智能锁控制设备300可以包括处理器302和通信器件303。可选的,智能锁控制设备300还包括存储器301、总线304。其中,存储器301、处理器302、通信器件303和总线304之间的连接关系,以及各个部件的作用可参见图2相关描述,这里不再赘述。处理器302可运行存储于存储器301中的计算机程序指令来控制通信器件303实现信号发送,或处理通信器件303接收的信号,并实现智能锁的解锁操作。智能锁内处理器302执行的操作与终端内处理器102执行的操作相对应,用来和处理器102配合执行解锁操作,以实现智能锁和终端之间的互操作,从而实现智能解锁并保证安全性。具体的操作流程可以参照图6所示。可以理解,处理器302运行的计算机程序指令的软件架构可以与终端的处理器102所运行的对应于图5或图7的软件相类似,只是不包括案件识别驱动。具体地,该软件架构可包括操作***和钥匙应用,两者共同运行于处理器302,实现控制解锁操作,具体可参照图6中的S608操作。
图5为本申请实施例提供的一种处理器102上运行的软件的架构示意图。其中,处理器102,具体可以是SE,可用于运行操作***502、按键识别驱动503和钥匙应用(applet)501。在本申请实施例中,钥匙应用501也称为钥匙应用程序、智能钥匙应用、智能钥匙应用程序等,其名称并不构成对钥匙应用程序的限制。钥匙应用501运行在操作***502上面,可以通过调用操作***502提供的访问硬件和资源的接口,来获取用户对按键进行操作的信息。在本申请实施例的后续描述中,用户对按键进行操作的信息可简称为按键信息,用以表示用户对哪一按键进行了何种操作,比如,按键信息可以表示用户对电源(power)键进行双击操作。
操作***502,为钥匙应用501提供访问硬件和资源的接口。示例性的,操作***502为钥匙应用501提供应用程序编程接口((Application Programming Interface,API),参见图5,操作***502为钥匙应用501提供安全确认API(GetSecureConfirmation API)。如此,操作***502可以主动将按键信息上报给钥匙应用501,或者,钥匙应用501轮询该API,进而获取按键信息。
按键识别驱动503,用于根据PMU通过GPIO上报给处理器的控制信号,判断用户对按键进行操作的信息,即判断按键信息。并可以向操作***502返回该按键信息。比如,设置2s内双击电源键为触发智能锁控制流程的操作,即下文所描述的预设操作,则当按键识别驱动503在2s内检测到GPIO上的两个控制信号,则说明用户在2s内对按键进行了两次按压操作,按键识别驱动503将该按键信息上报给操作***502。
本申请实施例提供一种智能锁控制方法,用于终端控制解锁智能锁的场景。参见图6,该方法包括如下步骤:
S601、智能锁向终端发送选择(select)命令。相应的,终端从智能锁接收select命令。作为一种可能的实现方式,智能锁通过例如图3所示的通信器件303向终端发送命令。其中,select命令携带应用标识符(application identifier,AID),用于指示 开启终端中AID对应的applet。
S602、终端将钥匙应用的状态切换为活跃状态。其中,钥匙应用的活跃状态指的是钥匙应用可用于与智能锁进行通信,以用于控制解锁智能锁。反之,当钥匙应用不处于活跃状态时,终端无法完成控制解锁智能锁的流程。具体的,终端根据接收的select命令中的AID,将AID对应的applet切换为活跃状态。作为一种可能的实现方式,终端通过例如图2所示的处理器302将钥匙应用的状态切换为活跃状态。
(可选的)S603、终端向智能锁反馈确认消息。相应的,智能锁从终端接收确认消息。该确认消息用于确认终端已将钥匙应用切换为活跃状态。作为一种可能的实现方式,活跃状态的钥匙应用向智能锁反馈确认消息。
S604、终端与智能锁进行双向鉴权。可以理解的是,为了保证解锁智能锁的安全性,终端需验证智能锁的身份是否合法,同样的,智能锁也需验证终端的身份是否合法。其中,终端与智能锁进行双向鉴权的具体方式,可参见现有技术,这里不再赘述。作为一种可能的实现方式,终端的处理器102通过通信器件103与智能锁进行双向鉴权。相应的,智能锁的处理器302通过通信器件303与终端进行双向鉴权。
S605、终端与智能锁协商秘钥。其中,为了保证解锁智能锁的安全性,需对用于解锁智能锁的解锁信息进行加密和/或签名和/或完整性校验等,因此,需预先协商加密等操作所使用的秘钥。协商秘钥的具体流程,可参见现有技术,这里不再赘述。作为一种可能的实现方式,终端的处理器102通过通信器件103与智能锁协商秘钥。相应的,智能锁的处理器302通过通信器件303与终端协商秘钥。
通过上述S601至S605,终端与智能锁建立通信连接,可以理解的是,当终端与智能锁建立通信连接后,终端可通过进一步与智能锁交互信息控制解锁智能锁。基于此,本申请实施例提供的智能锁控制方法还包括如下步骤:
S606、接收由用户对按键的操作而触发的响应信号,基于该响应信号生成控制信号。其中,本申请实施例所提及的按键指的是可触发终端执行本申请实施例中智能锁控制方法的预设按键。比如,预设按键可以是电源键,音量键,其他实体按键,或者,还可以是其中一种或多种按键形成的组合键。本申请实施例对预设按键的类型不进行限制。
在一种实现方式中,用户对预设按键的操作可以指用户对预设按键的预设操作,预设操作包括但不限于对预设按键的长按操作、短按操作。其中,短按操作可以是,在规定时间内对预设按键进行预设数目的按压操作,比如,在2s内双击2次电源键,在2s内3次按下电源键均可视为预设操作。该预设操作可以是终端默认配置的,也可以由用户设置。以用户设置预设操作为例,参见图8中(a),用户在界面1001中开启解锁智能锁设置项1002,使得终端具有控制解锁智能锁的功能,进而终端能够执行本申请实施例中的智能锁控制方法。参见图8中(b),用户还可以在界面1003中选择双击电源键1004,后续,用户通过双击电源键可触发解锁智能锁,或者,在界面1003中选择长按电源键选项,相应的,后续,用户通过长按电源键可触发解锁智能锁。当然,用户还可以在界面1003中选择新增设置项1005,并输入自定义的预设操作。比如,自定义的预设操作为2s内三次按压电源键。
以预设操作是长按操作为例,可选的,为了防止用户误触预设按键导致解锁智能 锁,可以在用户对预设按键的预设操作后,输出提示界面,以提示用户是否确认解锁智能锁。参见图8中(c),终端输出界面1006:是否确认解锁智能锁?用户点击“是”选项,终端继续执行智能锁控制流程,以控制解锁智能锁。用户点击“否”选项,终端不执行智能锁控制流程,不解锁智能锁。
以预设操作是长按电源键为例,可选的,预设操作为对电源键的长按操作,当终端处于开机状态时,若用户长按电源键,则还可能触发终端重启或关机。此时,终端可输出界面,该界面用于提示用户是否确认该预设操作用于解锁智能锁。参见图8中(d),终端输出界面1007,用户通过选择“解锁”选项,可触发解锁智能锁流程。
作为一种可能的实现方式,在与所述智能锁建立连接后的预设时段内,终端监听用户对按键的操作。终端监听用户对按键的操作的原理比如为:用户对按键的操作触发响应信号,该响应信号传递至PMU,PMU基于响应信号生成控制信号,并通过GPIO向处理器提供控制信号。如此,终端的处理器可在预设时间内等待读取GPIO上的控制信号,可确定用户对按键的操作,比如,在2s内,处理器可等待由以上所述操作导致的信号,例如在2s内通过等待读取到GPIO上的两个控制信号,说明用户在2s内对按键进行了两次按压操作。如下以智能锁与终端之间通过NFC协议通信,预设时段为10s为例,用户手持终端接近智能锁,并通过S601至S605与智能锁建立通信连接,从建立通信连接开始的10s内,终端监听到用户对预设按键的操作(比如用户在2s内双击电源键),则说明用户的意图是解锁智能锁,终端可继续执行如下步骤S607。若用户手持终端接近智能锁后,从终端与智能锁建立通信连接开始的10s内,均未监听到用户双击电源键,则说明用户的意图并非解锁智能锁,终端不执行如下控制解锁智能锁的步骤S607,以降低误触发解锁智能锁流程的概率,减少误触发解锁智能锁导致的安全问题。
S607、响应于控制信号,终端向所述智能锁发送解锁信息。相应的,智能锁从终端接收解锁信息。其中,所述解锁信息包括用于指示用户对所述按键的操作的指示信息,所述解锁信息用于解锁智能锁。
如S606所描述,终端通过监听GPIO上的控制信号,来判断用户是否对预设按键进行了预设操作(比如在2s内按压2次电源键),当确定用户对预设按键进行了预设操作时,终端向智能锁发送解锁信息。作为一种可能的实现方式,终端的钥匙应用501通过调用通信器件103向智能锁发送解锁信息。
示例性的,指示预设操作的指示信息可以用1bit表示,当指示信息为1时,表示终端监听到用户对预设按键的预设操作,当指示信息为0时,表示终端在预设时段内未监听到用户对预设按键的预设操作。当然,指示预设操作的指示信息还可以用其他形式表示,本申请实施例不对指示信息的具体形式进行限制。
作为一种可能的实现方式,为了提升解锁信息的安全性,可对通信中传输的解锁信息进行处理。比如,使用上述所示流程中协商的秘钥对解锁信息进行处理。其中,本申请实施例中所涉及的秘钥包括但不限于终端的私钥、终端的公钥、智能锁的私钥、智能锁的公钥,以及消息验证码(Message Authentication Code,MAC)秘钥。
可选的,终端对解锁信息进行签名,并向智能锁发送签名的解锁信息。具体的,终端先使用预设算法处理解锁信息,生成解锁信息的摘要,再对摘要进行签名。比如, 终端使用hash函数计算解锁信息的摘要,并使用终端自己的私钥对摘要进行签名。可选的,终端加密解锁信息,并向智能锁发送加密的解锁信息。具体的,终端使用智能锁的公钥加密解锁信息和签名的摘要,得到密文。
相应的,智能锁在接收到加密的解锁信息后,使用智能锁自己的私钥解密上述密文,得到解锁信息的明文和签名的摘要。之后,智能锁使用终端的公钥解签上述签名的摘要。如此,只有终端的公钥才能解签终端的签名,智能锁就能确认解锁信息是终端发来的。只有智能锁的私钥才能解密用智能锁公钥加密的密文,这样终端就能确认解锁信息只能被智能锁读取。
可选的,终端和智能锁对解锁信息进行完整性保护。具体的,终端计算解锁信息的MAC,并向智能锁发送该MAC和解锁信息。智能锁在接收到MAC和解锁信息后,对MAC和解锁信息进行完整性校验,以确保解锁信息的完整性。关于加解密、签名、解签、完整性保护的具体方式,可参见现有技术,这里不再赘述。
S608、响应于所述解锁信息以控制解锁智能锁。智能锁接收到解锁信息,说明用户对预设按键进行了预设操作,即用户的意图是解锁智能锁,此时,智能锁开启。示例性的,智能锁接收的解锁信息包括指示信息1,说明用户对预设按键进行了预设操作,则智能锁开启,以响应用户的解锁需求。
本申请提供的智能锁控制方法,监听用户对预设按键的预设操作,并基于用户对按键的操作向智能锁发送解锁信息,以控制解锁智能锁。用户对按键的操作说明用户的意图是解锁智能锁,可减少误触发解锁智能锁流程的概率。并且在车主的按键操作触发下,才可解锁智能锁,能够提升解锁智能锁的安全性。
进一步的,采用本申请实施例提供的智能锁控制方法,即使终端处于关机状态,当终端接近智能锁时,由于智能锁的场强较强,也可以由PMU上电,将终端开机,执行智能锁解锁的流程,提升解锁智能锁的成功概率。此时,PMU可以仅将终端开机,而不点亮终端的屏幕,以降低终端功耗。
上述对本申请实施例提供的智能锁控制方法进行了介绍。可以理解的是,终端或智能锁为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的结构及算法步骤,本申请能够以硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
以上实施例涉及的智能锁控制装置可以是一个***级装置。其内部的软件部分或硬件部分可以独立的分别具体用于实现智能锁控制的功能。图7示出了本实施例中所涉及的一种智能锁控制装置的一种可能的结构示意图。该智能锁控制装置对应于图5的软件部分,可以运行于处理器102,具体可以是SE上。参见图7。该装置包括图5所示的按键识别驱动503和控制单元701。其中,按键识别驱动503,用于接收来自接收装置的控制信号。其中,接收装置比如但不限于为图2所示的PMU 105,控制信号是PMU 105基于由用户对按键的操作而触发的响应信号而生成。按键识别驱动503还用于向控制单元701提供控制信号。控制单元701,可以为操作***,比如可以为COS ***,可以是native***等。该控制单元701,用于从按键识别驱动503接收控制信号,并执行如图6所示流程的S606,即响应于控制信号,控制通信器件向智能锁发送解锁信息。所述解锁信息用于解锁智能锁,且包括用于指示用于对按键的操作的指示信息。
作为一种可能的实现方式,结合图5相关的描述,控制单元701还可以为钥匙应用提供API。如此,钥匙应用可以通过API获取用户是否对按键进行了操作。当钥匙应用获知用户对按键进行了操作(比如在2s内按压2次电源键),在控制单元701的控制下,钥匙应用调用通信器件向智能锁发送解锁信息。比如,钥匙应用调用NFC模块向智能锁发送解锁信息。
在一种可能的实施方式中,所述按键识别驱动503,具体用于在与智能锁建立通信连接后,在预设时段内监听来自所述接收装置的所述控制.信号。比如,预设时段为10s,在从终端与智能锁建立连接开始的10s内,若按键识别驱动监听到PMU通过GPIO传递给处理器的控制信号(比如2s内GPIO上存在两个控制信号),则终端向智能锁发送解锁信息,用以指示解锁智能锁。相反的,从终端与智能锁建立连接开始的10s内,按键识别驱动未监听到来自接收装置的控制信号用户对预设,则终端可以不向智能锁发送解锁信息。
可选的,控制单元701,还用于控制所述通信器件,以执行如图6所示流程中的S604,即通过通信器件与所述智能锁进行双向鉴权,以确定所述智能锁的身份的合法性。可选的,被发送的所述解锁信息被秘钥加密。相应的,所述控制单元701,还用于控制所述通信器件,使得通信器件执行图图6所示流程中的S605,即通过通信器件与所述智能锁协商所述秘钥。
在一种可能的实现方式中,结合图1至图5,当控制单元701、按键识别驱动503分别通过软件形式实现时,上述功能模块所对应的软件程序包括在存储器101中,处理器102通过运行存储器101中包括的上述功能模块在内的软件程序以实现上述功能模块对应的功能。
本申请实施例还提供另一种智能锁控制装置,该装置对应于图5中的软件部分,可以运行在图5所示的操作***下。该装置可以是终端中的钥匙应用。钥匙应用,用于从操作***获取用户对按键的操作,并向智能锁发送解锁信息。解锁信息的详细介绍可参见上文描述。
可选的,钥匙应用从操作***获取用户对按键的操作,可以具体实现为:操作***可以主动将操作的信息上报给钥匙应用,或者,钥匙应用轮询操作***提供的API,进而获取操作的信息。
可选的,钥匙应用向智能锁发送解锁信息,可以具体实现为:钥匙应用通过操作***提供的API调用终端的通信器件,使得通信器件执行如图6所示流程中的S607,即向智能锁发送解锁信息。比如,钥匙应用通过操作***提供的API调用终端的NFC模块,终端通过NFC模块向智能锁发送解锁信息。
在一种可能的实施方式中,钥匙应用,用于从操作***获取用户对按键的操作,并向智能锁发送解锁信息,具体包括:用于在终端与智能锁建立连接后的预设时段内,获取用户对按键的操作。示例性的,预设时段为10s,在终端与智能锁建立连接后的 10s内,钥匙应用从操作***获取到用户对按键的预操作,则钥匙应用向智能锁发送解锁信息,用以指示解锁智能锁。相反的,从终端与智能锁建立连接开始的10s内,钥匙应用未从操作***获取到用户对预设按键的预设操作(比如,为获取到对电源键的双击操作),则钥匙应用可以不向智能锁发送解锁信息。
下面从硬件处理的角度对本申请实施例中的另一种智能锁控制装置进行描述。本申请实施例还提供的另一种智能锁控制装置,对应于图2的硬件部分,来为智能锁控制功能提供硬件算力。该装置可以为终端中的芯片***,包括处理器102和接收装置(比如可以为图2所示的PMU),具体结构可以如图2所示。
以接收装置为图2所示的PMU为例,在本申请实施例中,PMU 105,用于执行图6所示流程中S606,即接收由用户对按键的操作而触发的响应信号,并基于所述响应信号生成控制信号。还用于向所述处理器提供所述控制信号。
处理器102,用于从PMU 105接收所述控制信号。处理器102,还可以响应于所述控制信号控制通信器件执行如图6所示流程的S607,即控制通信器件向所述智能锁发送所述用于解锁智能锁的解锁信息。其中,所述解锁信息包括用于指示所述用户对按键的操作的指示信息。
在一种可能的实施方式中,所述装置还包括通信器件。所述通信器件,用于在处理器102的控制下,执行如图6所示流程的S607,即向所述智能锁发送所述解锁信息。该通信器件可以为基于NFC的芯片等。本申请实施例对通信器件的具体实现形式不做限定。在一种可能的实施方式中,所述处理器,还用于从与智能锁建立通信连接开始的预设时段内监听来自PMU 105的所述控制信号。若在预设时段内监听到控制信号,则处理器执行上述实施例中的解锁智能锁流程。若预设时段内未监听到控制信号,说明用户的意图并非解锁智能锁,则处理器不再进行解锁智能锁的流程。
在一种可能的实施方式中,所述处理器,还用于通过所述通信器件与所述智能锁进行双向鉴权,以确定所述智能锁的身份的合法性。在一种可能的实施方式中,被发送的所述解锁信息被秘钥加密。所述处理器,还用于通过所述通信器件与所述智能锁协商秘钥。在一种可能的实施方式中,所述处理器为SE。
从硬件处理的角度,本申请实施例还提供一种智能锁控制设备,该设备可以为终端。该设备包括如图2所示的处理器和如图2所示的按键。具体结构可参见图2。其中,处理器102执行的动作可参见图2所示处理器102的相关描述。按键,用于响应于用户的操作,并触发所述响应信号。比如,按键用于响应于用户的双击操作,并触发响应信号。可选的,该设备包括PMU。可选的,按键可通过PMU连接至处理器。本申请实施例还提供一种智能锁控制设备,该设备可以为智能锁。参见图3,该设备包括:通信器件303和处理器302。其中,所述通信器件303,用于执行如图6所示流程中的S607,即接收来自终端的解锁信息,所述解锁信息用于解锁智能锁,所述解锁信息包括用于指示用户对按键的操作的指示信息。处理器302,用于执行如图6所示流程中的S608,即响应于所述解锁信息以控制解锁所述智能锁。
在一种可能的实施方式中,所述处理器302,还用于通过所述通信器件与所述终端进行双向鉴权,以确定所述终端的身份的合法性。在一种可能的实施方式中,被接收的所述解锁信息被秘钥加密,所述处理器302,还用于通过所述通信器件与所述终 端协商秘钥。作为一种可能的实现方式,该设备还可以包括图2所示的总线304和存储器301。其中,总线和存储器的详细介绍,可参见图2相关的描述,这里不再赘述。
本申请实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在一个设备(比如,该设备可以是单片机,芯片、计算机或处理器等)上运行时,使得该设备执行上述方法实施例中终端或智能锁的一个或多个步骤。上述智能锁控制装置的各组成模块如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在所述计算机可读取存储介质中。
基于这样的理解,本申请实施例还提供一种包含指令的计算机程序产品,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或其中的处理器执行本申请各个实施例终端或智能锁的所述方法的全部或部分步骤。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (20)

  1. 一种智能锁控制装置,其特征在于,包括接收装置和处理器;
    所述接收装置,用于接收由用户对按键的操作而触发的响应信号,基于所述响应信号生成控制信号,并向所述处理器提供所述控制信号;
    所述处理器,用于接收所述控制信号,响应于所述控制信号控制通信器件向智能锁发送用于解锁智能锁的解锁信息,所述解锁信息包括用于指示所述操作的指示信息。
  2. 根据权利要求1所述的智能锁控制装置,其特征在于,所述装置还包括通信器件,用于向所述智能锁发送所述解锁信息。
  3. 根据权利要求1或2所述的智能锁控制装置,其特征在于,所述处理器,还用于在与智能锁建立通信连接后,在预设时段内监听来自所述接收装置的所述控制信号。
  4. 根据权利要求1至3中任一项所述的智能锁控制装置,其特征在于,所述处理器,还用于通过所述通信器件与所述智能锁进行双向鉴权,以确定所述智能锁的身份的合法性。
  5. 根据权利要求1至4中任一项所述的智能锁控制装置,其特征在于,被发送的所述解锁信息被秘钥加密;所述处理器,还用于通过所述通信器件与所述智能锁协商所述秘钥。
  6. 根据权利要求1至5中任一项所述的智能锁控制装置,其特征在于,所述处理器包括安全元件SE。
  7. 根据权利要求1至6中任一项所述的智能锁控制装置,其特征在于,所述接收装置包括电源管理单元PMU。
  8. 一种智能锁控制设备,其特征在于,包括按键和如权利要求1至7中任一项所述的装置;
    所述按键,用于响应于所述用户的所述操作,并触发所述响应信号。
  9. 一种智能锁控制装置,其特征在于,包括:
    按键识别驱动,用于接收来自接收装置的控制信号,所述控制信号是所述接收装置基于由用户对按键的操作而触发的响应信号而生成;
    控制单元,用于响应于所述控制信号控制通信器件向所述智能锁发送用于解锁智能锁的解锁信息,所述解锁信息包括用于指示所述操作的指示信息。
  10. 根据权利要求9所述的智能锁控制装置,其特征在于,所述按键识别驱动,还用于在与智能锁建立通信连接后,在预设时段内监听来自所述接收装置的所述控制信号。
  11. 根据权利要求9或10所述的智能锁控制装置,其特征在于,所述控制单元,还用于通过所述通信器件与所述智能锁进行双向鉴权,以确定所述智能锁的身份的合法性。
  12. 根据权利要求9至11中任一项所述的智能锁控制装置,其特征在于,被发送的所述解锁信息被秘钥加密;所述控制单元,还用于通过所述通信器件与所述智能锁协商所述秘钥。
  13. 一种智能锁控制设备,其特征在于,包括通信器件和处理器;
    所述通信器件,用于接收来自终端的解锁信息,所述解锁信息用于解锁智能锁; 所述解锁信息包括用于指示用户对按键的操作的指示信息;
    处理器,用于响应于所述解锁信息以控制解锁所述智能锁。
  14. 根据权利要求13所述的智能锁控制设备,其特征在于,所述处理器,还用于通过所述通信器件与所述终端进行双向鉴权,以确定所述终端的身份的合法性。
  15. 根据权利要求13或14所述的智能锁控制设备,其特征在于,被接收的所述解锁信息被秘钥加密;所述处理器,还用于通过所述通信器件与所述终端协商所述秘钥。
  16. 一种智能锁控制方法,其特征在于,包括:
    接收由用户对按键的操作而触发的响应信号;
    基于所述响应信号生成控制信号;
    响应于所述控制信号向智能锁发送用于解锁智能锁的解锁信息,所述解锁信息包括指示所述操作的指示信息。
  17. 根据权利要求16所述的智能锁控制方法,其特征在于,被发送的所述解锁信息被秘钥加密;还包括:与所述智能锁协商所述秘钥。
  18. 一种智能锁控制方法,其特征在于,包括:
    接收来自终端的解锁信息,所述解锁信息用于解锁智能锁;所述解锁信息包括用于指示用户对按键的操作的指示信息;
    响应于所述解锁信息以控制解锁所述智能锁。
  19. 根据权利要求18所述的智能锁控制方法,其特征在于,被接收的所述解锁信息被秘钥加密;所述方法还包括:与所述终端协商所述秘钥。
  20. 一种可读存储介质,其特征在于,包括程序或指令,当所述程序或指令在计算机或处理器上运行时,用于驱动所述计算机或处理器执行如权利要求16至19中任一项所述的智能锁控制方法。
PCT/CN2019/073780 2019-01-29 2019-01-29 智能锁控制方法及装置 WO2020154922A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201980028744.5A CN112106118B (zh) 2019-01-29 2019-01-29 智能锁控制方法及装置
PCT/CN2019/073780 WO2020154922A1 (zh) 2019-01-29 2019-01-29 智能锁控制方法及装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/073780 WO2020154922A1 (zh) 2019-01-29 2019-01-29 智能锁控制方法及装置

Publications (1)

Publication Number Publication Date
WO2020154922A1 true WO2020154922A1 (zh) 2020-08-06

Family

ID=71840283

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/073780 WO2020154922A1 (zh) 2019-01-29 2019-01-29 智能锁控制方法及装置

Country Status (2)

Country Link
CN (1) CN112106118B (zh)
WO (1) WO2020154922A1 (zh)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111932741A (zh) * 2020-08-14 2020-11-13 四川巧盒物联科技有限公司 一种基于基站通讯的循环包装箱智能锁批量解锁方法
CN111932737A (zh) * 2020-08-14 2020-11-13 四川巧盒物联科技有限公司 一种基于基站通讯的包装箱智能锁生物识别解锁方法
CN111932739A (zh) * 2020-08-14 2020-11-13 四川巧盒物联科技有限公司 一种基于基站通讯的循环包装箱智能锁解锁方法
CN111932740A (zh) * 2020-08-14 2020-11-13 四川巧盒物联科技有限公司 一种基于基站通讯与电子围栏的包装箱智能锁解锁方法
CN112564894A (zh) * 2020-11-11 2021-03-26 杭州浙程科技有限公司 一种智能钥匙动态秘钥开无源锁的方法
CN112860128A (zh) * 2021-04-13 2021-05-28 多玛凯拔科技有限公司 一种智能锁抗误触发干扰控制方法及***

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243022B1 (en) * 1998-09-09 2001-06-05 Honda Giken Kogyo Kabushiki Kaisha Remote control device using two-way communication for a vehicle opening system
CN103061619A (zh) * 2012-12-24 2013-04-24 上海斐讯数据通信技术有限公司 汽车车门解锁***及解锁方法
US20130135094A1 (en) * 2006-05-11 2013-05-30 International Business Machines Corporation Determination of a status of a door lock
CN107657700A (zh) * 2017-10-20 2018-02-02 上海爱优威软件开发有限公司 一种基于电子锁的终端防盗方法
CN108986276A (zh) * 2018-07-12 2018-12-11 安徽祥吉汽车服务有限公司 安全智能汽车门锁

Family Cites Families (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB8408538D0 (en) * 1984-04-03 1984-05-16 Senelco Ltd Transmitter-responder systems
DE102006048369A1 (de) * 2006-10-09 2008-04-10 Huf Hülsbeck & Fürst Gmbh & Co. Kg Elektronischer Schlüssel
CN102110319B (zh) * 2009-12-24 2013-03-27 比亚迪股份有限公司 用于遥控门锁的无线跳码***、装置及方法
JP2012101708A (ja) * 2010-11-11 2012-05-31 Tokai Rika Co Ltd 車載通信機
CN102991453B (zh) * 2012-11-29 2015-10-28 奇瑞汽车股份有限公司 一种启动车辆的控制方法及装置
CN103237142A (zh) * 2013-04-25 2013-08-07 刘义柏 一种通过蓝牙耳机和手机产生汽车控制指令的方法
CN203460981U (zh) * 2013-09-30 2014-03-05 重庆云晶电子科技有限公司 摩托车无钥匙启动智能保护***
CN103617659A (zh) * 2013-11-01 2014-03-05 南京物联传感技术有限公司 一种无线开锁方法
CN105574958B (zh) * 2014-10-14 2018-11-23 珠海优特电力科技股份有限公司 电脑钥匙
CN105991819A (zh) * 2015-02-02 2016-10-05 陈文洲 可于待机模式下操作的手机遥控门锁***
CN105187617A (zh) * 2015-06-11 2015-12-23 上海锳科迩电子股份有限公司 一种智能手机按键控制车辆防盗的方法
CN106677615A (zh) * 2015-11-05 2017-05-17 高邮市新华汽车附件有限公司 一种汽车钥匙
CN106971435A (zh) * 2016-01-14 2017-07-21 ***通信集团公司 一种开锁方法、***、车载装置和移动终端
CN105788044A (zh) * 2016-03-03 2016-07-20 陈健强 基于智能手环敲击次数的汽车解锁实现方法及***
CN108932765A (zh) * 2017-05-24 2018-12-04 北京卡多宝信息技术有限公司 一种智能锁及其控制方法、智能锁***
CN107798759A (zh) * 2017-11-20 2018-03-13 美的智慧家居科技有限公司 门锁开门方法、门锁及计算机可读存储介质
CN108729762B (zh) * 2018-04-19 2020-06-05 美智光电科技有限公司 电子锁的控制***、控制方法及智能门锁
CN109245327B (zh) * 2018-10-08 2024-05-24 嫡尔美妆鞋包服饰(广州)有限公司 一种智能锁及其使用方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6243022B1 (en) * 1998-09-09 2001-06-05 Honda Giken Kogyo Kabushiki Kaisha Remote control device using two-way communication for a vehicle opening system
US20130135094A1 (en) * 2006-05-11 2013-05-30 International Business Machines Corporation Determination of a status of a door lock
CN103061619A (zh) * 2012-12-24 2013-04-24 上海斐讯数据通信技术有限公司 汽车车门解锁***及解锁方法
CN107657700A (zh) * 2017-10-20 2018-02-02 上海爱优威软件开发有限公司 一种基于电子锁的终端防盗方法
CN108986276A (zh) * 2018-07-12 2018-12-11 安徽祥吉汽车服务有限公司 安全智能汽车门锁

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111932741A (zh) * 2020-08-14 2020-11-13 四川巧盒物联科技有限公司 一种基于基站通讯的循环包装箱智能锁批量解锁方法
CN111932737A (zh) * 2020-08-14 2020-11-13 四川巧盒物联科技有限公司 一种基于基站通讯的包装箱智能锁生物识别解锁方法
CN111932739A (zh) * 2020-08-14 2020-11-13 四川巧盒物联科技有限公司 一种基于基站通讯的循环包装箱智能锁解锁方法
CN111932740A (zh) * 2020-08-14 2020-11-13 四川巧盒物联科技有限公司 一种基于基站通讯与电子围栏的包装箱智能锁解锁方法
CN112564894A (zh) * 2020-11-11 2021-03-26 杭州浙程科技有限公司 一种智能钥匙动态秘钥开无源锁的方法
CN112860128A (zh) * 2021-04-13 2021-05-28 多玛凯拔科技有限公司 一种智能锁抗误触发干扰控制方法及***
CN112860128B (zh) * 2021-04-13 2024-02-27 多玛凯拔科技有限公司 一种智能锁抗误触发干扰控制方法及***

Also Published As

Publication number Publication date
CN112106118A (zh) 2020-12-18
CN112106118B (zh) 2022-03-11

Similar Documents

Publication Publication Date Title
WO2020154922A1 (zh) 智能锁控制方法及装置
US11228420B2 (en) Securing audio communications
EP3198500B1 (en) Trusted computing
CN109218263B (zh) 一种控制方法及装置
US10360369B2 (en) Securing sensor data
KR101239297B1 (ko) 정보 보호 시스템 및 방법
US20100332833A1 (en) Link key injection mechanism for personal area networks
KR20040075293A (ko) 컴퓨팅 장치를 보안 네트워크에 접속시키기 위한 방법 및시스템
WO2021135593A1 (zh) 一种分享设备的方法及电子设备
CN103488920B (zh) 一种无线信息安全设备的实现方法及***
CN105325021B (zh) 用于远程便携式无线设备认证的方法和装置
US12019717B2 (en) Method for the secure interaction of a user with a mobile terminal and a further entity
CN105787319A (zh) 基于虹膜识别的便携式终端及其方法
CN112214753A (zh) 一种认证方法及装置、电子设备、存储介质
CN115734221B (zh) 物联网设备管理方法、设备、移动终端、装置及存储介质
KR102366869B1 (ko) 디지털 키 서비스 확장 및 제공 시스템 및 방법
CN114978784B (zh) 一种数据保护设备及***
CN108270910A (zh) 移动终端
KR101368772B1 (ko) 키 입력 보호 방법과 이를 위한 키 보호 장치

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: 19913836

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19913836

Country of ref document: EP

Kind code of ref document: A1