+

WO2020125667A1 - Device control method, apparatus and system - Google Patents

Device control method, apparatus and system Download PDF

Info

Publication number
WO2020125667A1
WO2020125667A1 PCT/CN2019/126245 CN2019126245W WO2020125667A1 WO 2020125667 A1 WO2020125667 A1 WO 2020125667A1 CN 2019126245 W CN2019126245 W CN 2019126245W WO 2020125667 A1 WO2020125667 A1 WO 2020125667A1
Authority
WO
WIPO (PCT)
Prior art keywords
password
display
display mode
target
keyboard
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2019/126245
Other languages
French (fr)
Chinese (zh)
Inventor
黄灿峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yunding Network Technology Beijing Co Ltd
Original Assignee
Yunding Network Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from CN201811548185.4A external-priority patent/CN109559415A/en
Priority claimed from CN201811552301.XA external-priority patent/CN111340978B/en
Application filed by Yunding Network Technology Beijing Co Ltd filed Critical Yunding Network Technology Beijing Co Ltd
Publication of WO2020125667A1 publication Critical patent/WO2020125667A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/36User authentication by graphic or iconic representation
    • 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 field of information processing technology, and in particular, to a device control method, device, and system.
  • the device control system includes: a storage device that stores a set of instructions; and one or more processors in communication with the storage device, wherein, when the instructions are executed, the one or more processors are configured to cause all
  • the system obtain the password keyboard display instruction; generate the password keyboard display interface on the target device according to the display mode corresponding to the display instruction; obtain the password information input into the password keyboard display interface, and according to the display mode and pre
  • the stored password verifies the password information, and if the verification is successful, the target device is controlled to enter a target state that matches the pre-stored password.
  • One of the embodiments provides a device control method, which includes: acquiring a password keyboard display instruction; generating a password keyboard display interface on a target device according to a display mode corresponding to the display instruction; acquiring an input into the password keyboard display interface Password information, and verify the password information according to the display mode and the pre-stored password, and if the verification is successful, control the target device to enter a target state that matches the pre-stored password.
  • One of the embodiments of the present application provides a computer-readable storage medium.
  • the storage medium stores computer instructions, and when executed by one or more processors of the system, causes the system to: obtain a password keyboard display instruction; generate a password keyboard on the target device according to the display mode corresponding to the display instruction Display interface; obtain the password information input into the password keyboard display interface, and verify the password information according to the display mode and the pre-stored password, and if the verification is successful, control the target device to enter the The stored password matches the target state.
  • the control method is applied to a smart device.
  • the method includes: in response to the received password keyboard display instruction, determining a display mode corresponding to the display instruction according to the password keyboard display instruction; and matching the password keyboard according to the display mode Display the logo to be displayed in the display; receive the password information entered by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset unlock password, and if the verification is successful, control the smart device Unlock.
  • One of the embodiments of the present application provides a control method.
  • the method includes: in response to the received password keyboard display instruction, determining the display mode corresponding to the display instruction according to the password keyboard display instruction; Display the logo for display; receive the password information entered by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset smart door lock unlock password, and if the verification is successful, control the smart The door is unlocked.
  • the display mode includes an out-of-order display mode
  • the one or more processors are further configured to cause the system to:
  • a target display interface of the password keyboard is generated, and the target display interface includes at least two display indicators displayed out of order.
  • the target device includes a smart device having a keyboard capable of displaying a password; or a smart device composed of a cipher and a smart device.
  • the one or more processors are further configured to cause the system to:
  • the generation mode corresponding to the display instruction includes one of the following:
  • the one or more processors are further configured to cause the system to:
  • the target display interface of the password keyboard is generated according to the target display mode
  • the target display interface of the password keyboard is generated according to the preset out-of-order display mode.
  • the one or more processors are further configured to cause the system to:
  • the target display mode setting prompt information is generated; the prompt information is used to prompt the target device to currently set the target display mode corresponding to the out-of-order display mode.
  • the one or more processors are further configured to cause the system to:
  • the one or more processors are further configured to cause the system to:
  • the target device If the verification is unsuccessful, control the target device to maintain the original state and generate prompt information; the prompt information includes information prompting the wrong password;
  • the one or more processors are further configured to cause the system to:
  • the one or more processors are further configured to cause the system to:
  • the one or more processors are further configured to cause the system to:
  • the display mode includes an out-of-sequence display mode, wherein displaying the to-be-displayed identifier in the password keyboard according to the display mode includes: according to the out-of-sequence display mode, displaying the to-be-displayed in the password keyboard Logo for display.
  • the displaying the to-be-displayed identifier in the password keyboard according to the out-of-order display mode includes: determining whether a target display mode matching the out-of-order display mode corresponding to the current user of the smart device is recorded; if so, Then, the logo to be displayed is displayed on the password keyboard according to the target display mode; if not, the logo to be displayed is displayed on the password keyboard according to the preset out-of-order display mode.
  • the method further includes: if no target display mode matching the out-of-order display mode corresponding to the current user of the smart device is recorded, generating prompt information corresponding to the out-of-order display mode, wherein the prompt information is used to The current user of the smart device is prompted to determine the target display mode corresponding to the out-of-order display mode.
  • displaying the to-be-displayed identifiers in the password keyboard according to the out-of-order display mode includes: creating an array matching the display matrix in the password keyboard; randomly adding each to-be-displayed identifier to the array To obtain the data to be displayed; display the array to be displayed in the password keyboard.
  • the method further includes: displaying the logo to be displayed in the password keyboard according to the display mode, and presenting the displayed password keyboard on the display interface of the client; responding to the client Send the received password information entered by the user on the password keyboard to the smart device, verify the password information based on the display mode and the preset unlock password, and if the verification is successful, control the smart device to unlock .
  • the smart device includes a trigger area, wherein, in response to the received password keyboard display instruction, determining the display mode corresponding to the display instruction according to the password keyboard display instruction includes: The trigger area receives a password keyboard display instruction; the display mode corresponding to the display instruction is determined according to the display instruction.
  • the verification of the password information according to the display mode and the preset unlock password includes: recording the key sequence number of the user pressing the password keyboard one by one, and querying and obtaining from the array corresponding to the current password keyboard The target identification corresponding to the key sequence number; verifying each target identification with the corresponding identification information in the preset unlock password, and if each target identification completely matches the identification information in the preset decoding password, the verification is successful.
  • the method further includes: in response to unsuccessful verification of the entered password information, controlling the smart device to maintain the current state, and/or generating warning information.
  • the method further includes: if the verification is unsuccessful, controlling the smart door lock to maintain the locked state, and generating a prompt message to prompt the user that the password information entered is incorrect; if the verification is unsuccessful, the corresponding verification If the number of times exceeds the threshold number of times, alarm information is generated, and the alarm information is sent to a preset destination.
  • An embodiment of the present invention provides a device control method, device, and system, by acquiring a password keyboard display instruction; generating a password keyboard display interface on a target device according to the display mode corresponding to the display instruction; obtaining input to the password keyboard display The password information in the interface, and verify the password information according to the display mode and the pre-stored password. If the verification is successful, the target device is controlled to enter a target state that matches the pre-stored password.
  • the display interface of the password keyboard is matched with the display mode, which makes the display interface diversified, solves the problem of stealing the password through the fixed password keyboard, and improves the security of the control of the target device.
  • FIG. 1 is a schematic diagram of an application scenario of a device control system according to some embodiments of the present application
  • FIG. 2 is an exemplary flowchart of a device control method according to some embodiments of the present application.
  • FIG. 3 is a schematic diagram of a display manner of a smart door lock password keyboard according to some embodiments of the present application.
  • FIG. 4 is a schematic diagram showing another display mode of a smart door lock password keyboard according to some embodiments of the present application.
  • FIG. 5 is an exemplary flowchart of a target device control method according to some embodiments of the present application.
  • FIG. 6 is a schematic flowchart of a method for displaying a password keyboard out of order according to some embodiments of the present application
  • FIG. 7 is a schematic flowchart of a control method applied to a smart device according to some embodiments of the present application.
  • FIG. 8 is a schematic flowchart of a control method applied to an intelligent door lock according to some embodiments of the present application.
  • FIG. 9 is a schematic structural diagram of a device control device according to some embodiments of the present application.
  • FIG. 10 is a schematic structural diagram of a control device applied to a smart device according to some embodiments of the present application.
  • FIG. 11 is a schematic structural diagram of an intelligent door lock according to some embodiments of the present application.
  • system is a method for distinguishing different components, elements, parts, parts or assemblies at different levels.
  • the words can be replaced by other expressions.
  • FIG. 1 is a schematic diagram of an application scenario of a device control system according to some embodiments of the present application.
  • the device control system 100 can manage the information display state and control authority of the target device.
  • the target device may have one or more password keyboard display states, and an entity (user or device) with control authority may control it to switch between different password keyboard display states, for example, it may
  • the instruction carries the password keyboard display instruction, and when the password keyboard display instruction is verified and matched to the corresponding password keyboard display interface, the password keyboard display state switching is performed.
  • the target equipment may include equipment such as vehicles, lockers, electrical equipment, smart locks, smart switches, electronic equipment, adjustment devices, etc. that require input of password information for control.
  • the equipment control system 100 can be widely used in various production and living fields such as residential houses, office buildings, factories, schools, hospitals, hotels, and rental houses.
  • the device control system includes at least a server 110, a network 120, a target device 130, and a user terminal 140.
  • the server 110 may process data and/or information related to the control of the target device 130 to perform one or more functions described in this application.
  • the server 110 may include one or more processors to process related data and/or information.
  • the server 110 may acquire password keyboard display interface information, pre-stored password information, and/or attribute information set by the user terminal 140 associated with a user with management authority for the target device 130.
  • the attribute information may indicate the corresponding password keyboard display interface information and/or the valid time, frozen state, legal input channel, etc. of the pre-stored password information.
  • the server 110 may send preset password information and attribute information to the corresponding target device 130.
  • the server 110 may acquire the status information of the target device 130 through the network 120 and send the status information to the user terminal 140, so that the relevant user can grasp the working status of the target device 130 in time.
  • the server 110 may obtain the display interface information of the current password keyboard of the target device 130 through the network 120, and send the information to the user terminal 140, so that the relevant user can timely grasp the display state of the password keyboard of the target device 130, and determine whether The current display state of the target device 130 needs to be replaced.
  • the server 110 may also send a control instruction to the corresponding target device 130 based on the request to control the target device 130 to complete the corresponding state switching, such as the switching of the working state of the target device and/or the password keyboard display of the target device Interface switching.
  • the server 110 may be a single server or a server group, and the server may be centralized or distributed (e.g., the server 110 may be a distributed system).
  • the server 110 may be local or remote.
  • the server 110 may be implemented on a cloud platform (ie, cloud server).
  • the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, inter-cloud, multiple clouds, etc., or any combination of the above examples.
  • the server 110 may be implemented on a computing device.
  • the server 110 may be implemented on a mobile device.
  • the server may be a processor provided in the target device.
  • the network 120 may be used for the exchange of information and/or data.
  • One or more components (server 110, target device 130, and user terminal 140) in the system can send information/data to other components through the network 120.
  • the network 120 may be any one or combination of wired or wireless networks.
  • the network 120 may include a cable network, a wired network, an optical fiber network, a long-distance communication network, an intranet, the Internet, a local area network (LAN), a wide area network (Wide Area Network, WAN), and a wireless local area network (Wireless Local Area Area Networks, WLAN), metropolitan area network (Metropolitan Area Network, MAN), public switched telephone network (Public Switched Telephone Network, PSTN), general packet radio service (General Packet Radio Service (GPRS) network, mobile phone network, Bluetooth network, ZigBee network , Near Field Communication (NFC) network, Narrowband Internet of Things NB-IoT/LoRa, etc. or any combination of the above examples.
  • LAN local area network
  • WAN Wide Area Network
  • WLAN Wireless Local Area Network
  • WLAN metropolitan area network
  • PSTN public switched telephone network
  • GPRS General Packet Radio Service
  • mobile phone network Bluetooth network
  • ZigBee network ZigBee network
  • NFC Near Field Communication
  • NFC Near Field
  • the network 120 may include one or more network access points.
  • the network 120 may include wired or wireless network access points, such as base stations and/or Internet exchange points 120-1, 120-2, and so on.
  • the access point Through the access point, one or more components of the device control system 100 may be connected to the network 120 to exchange data and/or information.
  • the target device 130 may have more than one state, and may switch between different states based on instructions.
  • the state includes the display state of the target device's password keyboard in addition to the state of the target device itself.
  • the state of the target device 130 may include an on state, an off state, a sleep state, a working state, and the like.
  • the state of the smart lock, locker, smart switch, and smart cat's eye can include the open state and the closed state; the state of the vehicle, electrical equipment, and adjustment device can include the open state, the closed state, the sleep state, and the working state.
  • the status of the target device 130 may also characterize the status of an application, for example, the status of the electronic device may include the payment status, browsing status, information storage status, and so on.
  • the target device 130 page may include one or more processors to process related data and/or information.
  • the target device 130 may verify the control instruction.
  • the control instructions may include password keyboard display instructions, password information, and the like.
  • the target device 130 can obtain control instructions through its password keyboard, image acquisition device, biometric collection device, voice collection device, and other input devices, and verify the control instructions, for example, by collecting the user's biometrics, the user's authority to issue the instruction Perform verification, and if the verification result is legal, receive the control command input by the user and complete the state switching corresponding to the control command.
  • the target device 130 locally stores the password information used to verify the control instruction (eg, a pre-stored password, and the password information to be verified carried by the control instruction may be the password information received through the password keyboard display interface).
  • the target device 130 may also locally store a password keyboard display mode corresponding to the target device and a password keyboard display interface corresponding to each password keyboard display mode.
  • the target device 130 when the face information received through the password keyboard display interface matches the display mode and the pre-stored password, it is determined that the control command corresponding to the password information is legal, and then the target device 130 performs state switching. For example, if the target device 130 includes a smart door lock, when a control command (ie, a state corresponding to a pre-stored password) is used to instruct the smart door lock to switch from a closed state to an open state.
  • a control command ie, a state corresponding to a pre-stored password
  • the password information received through the generated password keyboard display interface matches the display mode and the pre-stored password, which proves that the password information is legal, that is, the control instruction is legal, and the smart door lock can be switched from the closed state to the open state .
  • the target device 130 has a display module for displaying the display interface of the password keyboard.
  • the target device 130 has the display module built in; in another possible implementation, the target device 130 includes a cipher and a smart device connected by wireless or wired means.
  • the cipher is used to display the display interface of the password keyboard, and the cipher is also used to collect the password information input by the user.
  • the verification process of the password information may be completed by a cipher.
  • the smart device receives the verification result, and controls the device state switching according to the verification result, including but not limited to unlocking, locking, and powering up the device, generating reminder information, alarm information, and information push.
  • the display mode of the password keyboard and the pre-stored password may be preset by a user with administrative authority (for example, the owner of the target device 130, which may be simply referred to as an administrator user), and stored in the target device 130 Internal.
  • the display mode of the password keyboard and the pre-stored password may be stored in the server 110 by the administrator user in advance, and the target device 130 may periodically communicate with the server 110 to obtain the display mode and the pre-stored password keyboard Password and save it locally.
  • the administrator user can also set the display mode of the password keyboard and the attribute information of the pre-stored password, so that the target device 130 can verify the password information based on the attribute information, so that the target device 130 can be managed in various ways.
  • each display mode and the corresponding pre-stored password may have different attribute information, and the attribute information may include its corresponding validity Time, invalid state, early warning state, and input channels, etc. So that the administrator user can assign the display mode of the password keyboard with different attributes and the pre-stored password to assign it to users with different permissions.
  • the target device 130 may also generate one or more display modes based on a built-in algorithm.
  • the user terminal 140 or the server 110 distinguishes different target devices 130 by number.
  • the target device 130 may have an independent communication module.
  • the communication module may implement a communication function based on any one of the networks listed above or any combination of the networks listed above.
  • the user terminal 140 may include, but is not limited to, a smartphone 140-1, a tablet computer 140-2, a notebook computer 140-3, a desktop computer, a personal digital assistant (Personal Digital Assistance, PDA), a handheld game console, Smart glasses, smart watches, wearable devices, virtual display devices, display enhancement devices, etc. or any combination thereof.
  • the user terminal 140 can exchange data with other devices in the device control system 100 through the network 120.
  • the user terminal 140 may be a terminal device of an administrator user, which may directly or indirectly (eg, through a server) communicate with the target device 130.
  • the terminal device may store an algorithm similar to that on the target device 130 to generate one or more display modes or pre-stored passwords.
  • the user terminal 140 may send a synchronization generation instruction to the target device 130 to instruct the target device 130 to generate one or more display modes and corresponding pre-stored passwords and password keyboard display interfaces by using its local algorithm.
  • the user terminal associated with the administrator user can distribute the above information generated by it to the user of the target device, thereby efficiently distributing the use authority of the target device to relevant personnel.
  • the administrator user generates a control password for a certain state of the target device, and can send the control password to other users of the target device through the user terminal associated with the administrator user, so that other users can control the target device through the control password Entering the corresponding state realizes the purpose of distributing the control authority of the target device to relevant personnel.
  • an administrator user can send the door lock password of a meeting room to the meeting participants to determine the user information that has the authority to use the meeting room.
  • the corresponding meeting personnel can enter the conference room through the door lock code.
  • the user terminal associated with the administrator user may also communicate with the server 110, and save the preset display mode, the password keyboard display interface, and the pre-stored password information on the server 110.
  • the user terminal 140 may also send a management instruction to the server 110 to update the attribute information of one or more of the above information.
  • the user terminal 140 may also receive the status information of the target device 130 directly or through the server 110 to timely grasp the status of the target device 130. For example, you can view its current password keyboard display interface, you can also get its current working status.
  • the server 110, the target device 120, and the user terminal 140 may each be provided with storage devices, or an independent storage device may be separately provided in the system 100 for storing data and/or instructions.
  • the server 110 may be an integrated memory, or may be a separately provided storage device (such as a big data server). In this case, the server 110 may access the storage device through the network 120.
  • the storage device may include mass storage, removable memory, volatile read-write memory, read-only memory (ROM), etc., or any combination of the above examples.
  • the mass storage may include a magnetic disk, an optical disk, a solid-state hard disk, and so on.
  • the removable memory may include a flash disk, a floppy disk, an optical disk, a memory card, a compact hard disk, a magnetic tape, and the like.
  • the volatile read-only memory may include random access memory (RAM).
  • the random access memory may include dynamic random access memory (DRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), static random access memory (SRAM), thyristor random access memory (T-RAM), and zero capacitance memory (Z- RAM) etc.
  • DRAM dynamic random access memory
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • SRAM static random access memory
  • T-RAM thyristor random access memory
  • Z- RAM zero capacitance memory
  • the read-only memory may include masked read-only memory (MROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) ), compact hard disk read-only memory (CD-ROM) and digital multi-function hard disk read-only memory, etc.
  • MROM masked read-only memory
  • PROM programmable read-only memory
  • EPROM erasable programmable read-only memory
  • EEPROM electrically erasable programmable read-only memory
  • CD-ROM compact hard disk read-only memory
  • digital multi-function hard disk read-only memory etc.
  • the storage device may also be implemented on a cloud platform.
  • the cloud platform may be similar to the cloud platform exemplified above, which will not be repeated here.
  • FIG. 2 is an exemplary flowchart of a device control method according to some embodiments of the present application.
  • one or more steps in the process 200 may be implemented in the device control system 100 shown in FIG. 1.
  • one or more steps in the process 200 may be stored in the storage device as instructions, and be called and/or executed by one or more processors.
  • the one or more processors may be processors in the target device 130, and thus the process 200 may be implemented on the target device 130.
  • the password keyboard is a keyboard for the target device 130, which may be a touch keyboard, that is, the password keyboard is displayed through a display interface of the password keyboard.
  • the corresponding target device needs to verify the user's authority, that is, the user needs to enter the corresponding password information.
  • the password keyboard in the embodiment of the present application may not be displayed in real time, or may have different display modes for different users. Therefore, it is necessary to obtain the display instructions of the password keyboard first.
  • the display instruction may be an instruction sent by the user terminal 140 communicating with the target device 130, or may be a password keyboard display instruction received through the trigger area of the target device 130.
  • the password keyboard display instruction is used to instruct the display of the password keyboard.
  • the display mode of the password keyboard provided in the embodiment of the present application is mainly determined based on the received display instruction. That is, the target device may have a default password keyboard display mode. When a display command is received, the display mode may be switched, or the default display mode may not be stored, and the display mode may be directly determined according to the received display command.
  • the generation mode corresponding to the display instruction includes one of the following:
  • the display interface or the password keyboard of the target device is a touchable structure, that is, the user can input corresponding instructions or information by touching the display interface or the password keyboard, and at this time, the user is received on the display interface or the password keyboard of the target device After the touch signal, the corresponding processor will generate a display instruction in response to the touch signal.
  • the password keyboard of the target device has a matching trigger area, such as a trigger key or a touch area.
  • the trigger area can represent the reception of the display instruction, that is, when the user triggers the trigger area, the corresponding password keyboard will be displayed on the target device, or if the target device is composed of an intelligent device and a cipher, then the smart The corresponding password keyboard is displayed on the cipher connected to the device. That is, when the trigger area receives the user's trigger instruction, the processor of the target device generates a display instruction in response to the trigger instruction, so that it displays the corresponding password keyboard.
  • the target device communicates with the user terminal, and the target device may receive the instruction sent by the user and obtain the display instruction.
  • the instruction sent by the corresponding user may be a display instruction, or may be information that can parse the display instruction. For example, if a user sends an unlocking instruction, in order to verify the user's authority before unlocking, he needs to input password information, that is, a corresponding password keyboard needs to be displayed to obtain his input information, and the unlocking instruction can be used to generate a display instruction.
  • the target device is in communication with the user terminal, the password keyboard display instruction sent by the user terminal is received, and the display mode corresponding to the display instruction is determined according to the password keyboard display instruction.
  • the user terminal may be a user device connected to the target device, that is, a user performs communication data interaction with the target device through the user terminal.
  • the trigger signal received in the trigger area generates a display instruction.
  • the display mode corresponding to the display instruction is determined according to the display instruction.
  • the trigger area can be a physical key, that is, a password keyboard display mode switching button is set on the target device, and the key can be triggered to switch the display mode of the password keyboard; correspondingly, the trigger area can also be a sensor
  • the area for example, the touch area, determines the display mode according to the input trajectory of the recognized user.
  • a specific sliding trajectory can be set to represent the corresponding display mode; it can also be an infrared sensing area, which can recognize the user's gesture, for example, the user
  • the display mode can be switched by setting a switching gesture.
  • the display mode in the embodiment of the present application may be a plurality of display modes set by the user, or a plurality of display modes that can be selected by the smart device and provided to the user.
  • the display mode can be set according to the order of the logos to be displayed in the password keyboard, or the device can be configured according to the content of the displayed logo, where the logo to be displayed represents the display content in the password keyboard, for example, it can be numbers, special symbols, It can also be a simple figure or icon, such as a triangle, a five-pointed star, or various small icons generated according to the display appearance of the set password keyboard.
  • the target display interface includes at least two display marks matching the display mode.
  • the display interface generated according to the password keyboard in the embodiment of the present application may also include several identifiers to be selected, such as numbers 1-9, or some letters and special characters.
  • these signs are not arranged in a fixed display mode or display order, that is, they can be displayed differently according to different display instructions.
  • S203 Obtain the password information input into the display interface of the password keyboard, and verify the password information according to the display mode and the pre-stored password. If the verification is successful, execute S204;
  • the target display interface When the target display interface is displayed in the password input interface of the target device, the user can select an identifier in the target display interface, that is, enter the password information.
  • the target information When receiving the password information entered by the user in the current password keyboard, in addition to verifying the correct password preset by the user (that is, the pre-stored password), the target information needs to be extracted according to the corresponding display mode to obtain accurate Validation results.
  • different display modes may verify information in different ways, for example, in the sequential display mode, since the position of each display logo in the display interface of the password keyboard is fixed at the time, only the password may be used. The order of inputting information can be judged whether it is the same as the order marked in the correct password.
  • the target device Only if the verification is successful, will the target device be controlled to enter the target state that matches the pre-stored password. That is, the user can set different passwords to achieve different states of the target device. For example, by setting the password 1, the folder A can be displayed, and by setting the password 2, the specific contents of the folder A can be displayed.
  • the target device is a smart lock, if the state of the smart lock corresponding to the password C is the unlocked state, and the state of the smart lock corresponding to the password D is the anti-lock state. Then, if the obtained password information matches the verification of the password C, the smart lock is controlled to be unlocked; if the obtained password information matches the verification of the password D, the smart lock is controlled to be unlocked.
  • the above description of the process 200 is only for example and explanation, and does not limit the scope of application of the present application.
  • various modifications and changes can be made to the process 200 under the guidance of this application.
  • these amendments and changes are still within the scope of this application.
  • the password keyboard display interface corresponding to the display instruction is generated, and then the password information input into the password keyboard display interface is obtained, and the password information is verified according to the display mode and the pre-stored password.
  • the control of the target state that matches the stored password meets the user's different display requirements for the password keyboard and the security requirements for entering the password.
  • the display mode may include an order display mode, a reverse order display mode, and an out-of-order display mode.
  • the sequential display mode characterizes that the logos on the password keyboard display interface are arranged in a certain order, such as "1, 2, 3" in the order of increasing numbers;
  • the reverse display mode can characterize the logos on the password keyboard display interface through the reverse order
  • the arrangement mode is arranged, such as "3, 2, 1" this kind of number decreasing mode;
  • the out-of-order display mode indicates that the logo on the display interface of the password keyboard has no display rule and is a random order. Such as "1, 3, 2" mode.
  • the target display interface of the password keyboard may be generated based on the out-of-order display mode.
  • the target display interface includes at least two display indicators displayed out of order.
  • the disordered order refers to a display mode different from the normal order of the password keyboard in the prior art, that is, the logo displayed on the password keyboard has no certain rules to follow, and it can be understood that it is displayed randomly.
  • the order is displayed in the order of “1,2,3”, and the disorder in the present application may be “2,3,1”.
  • a password for turning on the target device is usually set.
  • the user needs to input the password to enable the target device to turn on.
  • the password keyboard provided by the target device needs to be used for password input.
  • the characters to be displayed in the password keyboard including 10 numbers from 0-9, plus 2 function keys of "*" and "#", and a total of 12 keys as an example.
  • the shape of these keys and the function of the smart device Correspondingly, it can be a physical key or a virtual key, for example, a touch screen key.
  • the arrangement of these buttons is usually a sequential arrangement.
  • the existing smart door lock password keyboard solution is shown in Fig. 3, which uses 12 physical keys or capacitive touch keys to form a 3*4 matrix password keyboard. In this solution, each key The position is fixed so that the numbers can only be arranged in a fixed order. This digital arrangement display mode is easy to be cracked and has poor security.
  • the display instruction includes an out-of-order display instruction
  • the corresponding display step in the method is: displaying the numbers in the password keyboard according to the out-of-order display mode, that is, because the target device defaults
  • the digital display mode is the sequential display in FIG. 3.
  • the target device randomly disrupts the arrangement order of the 10 digits 0-9, and then displays it in the password keyboard, as shown in FIG. 4.
  • the corresponding password number is entered according to the password keyboard displayed in disorder.
  • the smart device is a smart door lock, it can prevent outsiders from standing behind the user and guessing the user by remembering the user's input position. Password.
  • FIG. 5 is an exemplary flowchart of a target device control method according to some embodiments of the present application.
  • one or more steps in the process 300 may be implemented in the smart device control system 100 shown in FIG. 1.
  • one or more steps in the process 300 may be stored in the storage device as instructions, and be called and/or executed by one or more processors.
  • the one or more processors may be processors in the smart device 130, and thus the process 300 may be implemented on the smart device 130.
  • the process 300 it may first be determined whether the target device stores the target display mode corresponding to the current user.
  • the out-of-order display instructions of the password keyboard may represent the out-of-order display instructions of the identifiers displayed in the password keyboard.
  • the password keyboard out-of-order display instruction may include requesting a state control instruction to the target device 130, that is, the password keyboard out-of-order display instruction is not a direct display instruction obtained, but is obtained in an associated control instruction of. For example, if the current operator (for example, a visitor) needs to input password information on the target device, that is, it will generate a state control command of the target device, then the corresponding target device 130 will obtain The password keyboard displays the commands out of order.
  • the user of the smart lock if it needs to unlock, it will generate an unlock command and send the unlock command to the smart lock, and the processor of the smart lock and the unlock command will generate a password keyboard out-of-order display command, so that Subsequently, a display interface of the corresponding password keyboard can be generated based on the password keyboard display instruction.
  • the user is allowed to display the characters to be displayed in the password keyboard according to the predefined display mode of the user, for example, the user can determine the arrangement of the numbers by himself, or can determine the target display through the alternative provided by the target device Mode, and then displayed in the password keyboard of the target device. If the user has not determined the target display mode before, the target device will perform digital display according to the system-preset display mode, for example, the target device will randomly display the numbers and display them.
  • the target display mode setting prompt information is generated; the prompt information is used to prompt the current use of the target device to set the target display mode corresponding to the out-of-order display mode .
  • the prompt information is used to prompt the current user of the smart device to determine the target display mode corresponding to the out-of-order display mode.
  • the target device When the target device receives the out-of-order display instruction, the target device will find that the target display mode corresponding to the current user is not loaded by searching the memory chip, and then it will generate a prompt message. If the target device is connected to the client, you can use The prompt information is sent to the client, and then the display interface of the client will display the prompt information, prompting the user of the client to determine an out-of-order display mode, or customize an out-of-order display mode, so that the display mode is the user and the target The display mode between devices; the prompt information can also be displayed directly on the target device to remind the current user to set the corresponding target display mode.
  • the target device When the target device is to be displayed in this display mode, the user can quickly find the location of the password to be input, further reducing the time for others to peep into the password input, and improving the security of the password input.
  • a password for turning on the target device is usually set.
  • the user needs to enter the password to enable the target device to turn on.
  • the password keyboard provided by the target device needs to be used for password input.
  • the characters to be displayed in the password keyboard including 10 numbers from 0-9, plus 2 function keys of "*" and "#", and a total of 12 keys as an example.
  • the shape of these keys and the function of the smart device Correspondingly, it can be a physical key or a virtual key, for example, a touch screen key.
  • the arrangement of these buttons is usually a sequential arrangement.
  • the existing smart door lock password keyboard solution is shown in Fig. 3, which uses 12 physical keys or capacitive touch keys to form a 3*4 matrix password keyboard. In this solution, each key The position is fixed so that the numbers can only be arranged in a fixed order.
  • the password keyboard display interface shown in FIG. 4 is used as the target display interface of the corresponding target mode. If the corresponding target display mode is not stored, it can also be customized according to the out-of-order display mode of FIG. 4 or generate a default out-of-order display interface.
  • the logo may be randomly added to any position of the logo in the password keyboard, or may be added in a preset out-of-order manner.
  • the method may be encapsulated as an algorithm and stored in the server 110 or the target device 130, so that the server 110 or the target device 130 can generate a corresponding password keyboard display interface when running.
  • 6 is an exemplary flowchart of a device control method according to some embodiments of the present application, which may specifically be a schematic flowchart of a password keyboard out-of-order display method; in some embodiments, one of the corresponding processes in FIG.
  • steps in the device control system 100 shown in FIG. 1 can be implemented in the device control system 100 shown in FIG. 1.
  • one or more steps in the process corresponding to FIG. 6 may be stored in the storage device as instructions, and be called and/or executed by one or more processors.
  • the one or more processors may be processors in the smart device 130, and thus the process corresponding to FIG. 6 may be implemented on the target device 130.
  • the created array is the same as the display matrix of the password keyboard. For example, if the display matrix in the password keyboard is a 3*4 matrix, the created array should also be in a 3*4 matrix format.
  • S403 Display the array to be displayed in the password keyboard to obtain a target display interface of the password keyboard.
  • the array to be displayed is obtained, and then the array to be displayed is displayed in the password keyboard to obtain the target display interface of the password keyboard. That is, the password keyboard corresponding to the array NUM[10] filled with numbers is displayed in the corresponding display area as the target display interface.
  • the embodiment of the present application further includes a flow of a password verification method, and one or more steps in the flow may be implemented in the intelligent device control system 100 shown in FIG. 1.
  • one or more steps in the flow of the password verification method may be stored in the storage device as instructions, and may be called and/or executed by one or more processors.
  • the one or more processors may be processors in the target device 130, and thus the process may be implemented on the target device 130.
  • the specific process includes:
  • the target device 130 may gradually record the key sequence number of the triggered key on the target display interface, and then the target device 130 may find the pre-stored password on its memory, or the memory corresponding to the server 110. Then, the target device 130 verifies each target identification with the pre-stored password, and if they match completely, the verification is successful. The target device 130 can output information that the verification is successful, and can also execute the control state corresponding to the verification success.
  • the out-of-order algorithm to generate the array NUM[10], and generate the interface of the password keyboard according to the order of the out-of-order array; record the key sequence number [i] of the password keyboard pressed by the user, and select the out-of-order array NUM[10]
  • the real number NUM[i] represented by the key sequence number is queried out, and the real number is passed into the password verification module to verify with the preset unlock password.
  • the verification process can verify only one password ID entered by the user at a time. If the password ID entered by the current user is successfully verified, repeat the above process to verify the next password ID entered by the user. If the password is verified in the order entered, each password ID is successfully verified, and a successful verification result is obtained. If the verification of a password ID fails during the process, the password ID after the password ID will not be verified, and the relevant information about the verification failure will be output directly.
  • the flow corresponding to the method described below may also be stored as an instruction in the target device 130 or the server 110, so that the target device or server can be invoked and/or executed when performing the corresponding verification process. That is, another verification process includes:
  • the process flow for successful verification is introduced.
  • a process for verifying the password information input by the user if the verification is unsuccessful, one or more steps in the process of unsuccessful verification may be in The device system 100 shown in FIG. 1 is implemented.
  • one or more steps in a process flow that fails verification may be stored in the storage device in the form of instructions and called and/or executed by one or more processors.
  • the one or more processors may be processors in the target device 130, and thus the process may be implemented on the target device 130.
  • the process can include the following steps:
  • the target device If the verification is unsuccessful, control the target device to maintain the original state and generate a prompt message; the prompt message includes information about a wrong password;
  • the current state of the target device must be kept unchanged. For example, if the target device is a smart lock, the unlock state will not be performed.
  • the server 110 may verify the password information. If the verification is unsuccessful, the server 110 generates a device state maintenance instruction and sends the instruction to the target device 130, so that the target device 130 maintains the original state. At the same time, the server 110 may also generate corresponding prompt information for prompting the target device 130 that the current user input password information is wrong, or may be information that the corresponding control state cannot be reached. In another implementation manner, the target device 130 may perform verification, and when verification is unsuccessful, control itself to maintain the original state, and output corresponding prompt information indicating that the password information is wrong.
  • the server 110 or the target device 130 can also generate an alarm message to prompt that the input information cannot control the unlocking of the smart device.
  • the alarm message can be sent to the destination, which characterizes Users or devices that can monitor smart devices further ensure the security of smart devices.
  • the warning information may be generated after the verification is unsuccessful, or the warning information may be generated when the verification is unsuccessful after a certain number of times to avoid the warning caused by the user's incorrect input.
  • the password keyboard may be displayed on the user terminal 140 according to the determined display mode.
  • the target device 130 may call the following process to display the password keyboard on the user terminal, and receive the password information input by the user terminal and verify the password information.
  • the process includes:
  • the password information is verified based on the display mode and the preset unlock password, and if the verification is successful, then Controlling the smart device to unlock.
  • the user can display the password keyboard based on the currently used user terminal 140 and input the corresponding password information, thereby realizing the convenience of using the user terminal 140 to unlock the target device 130, thereby improving the security of the target device 130 unlocking.
  • the following describes the above embodiments according to specific application scenarios, taking the smart device corresponding to the target device as a smart terminal as an example for description.
  • the initial state of the smart device is the screen off state, and the unlocked target state is that touch operation is possible State, you need to enter the password and the password is correct to reach the target state from the initial state.
  • a touch button is provided on the side of the smart terminal.
  • the function of the touch button is to switch the display mode of the password keyboard.
  • the default display mode of the password keyboard of the smart terminal is to sequentially display the numbers in the password keyboard when the user dials
  • the smart terminal is instructed to switch to the out-of-order display mode, and then the smart terminal displays the password keyboard while arranging the numbers in the password keyboard out of order, and then receives the password information input by the user, and according to the The out-of-sequence order and the number of the password input by the user and the order of each input number are verified. If the verification is successful, the smart terminal is unlocked and the user can perform subsequent input.
  • the smart terminal can provide the user with a selectable out-of-order mode, from which the user can determine a target display mode as his own out-of-order display mode, thereby increasing the speed of entering the password and realizing personalized security settings.
  • FIG. 7 is an exemplary flowchart of a method for controlling a smart device according to some embodiments of the present application. This method is applied to smart devices.
  • the display mode of the password keyboard provided in the embodiment of the application is mainly determined based on the received display instruction. That is, the smart device may have a default password keyboard display mode. When a display command is received, the display mode may be switched, or the default display mode may not be stored, and the display mode may be directly determined according to the received display command.
  • the smart device communicates with the client, the password keyboard display instruction sent by the client is received, and according to the password keyboard display instruction, the display mode corresponding to the display instruction is determined.
  • the client may be a user device connected to the smart device, that is, the user interacts with the smart device through the client to communicate data.
  • the trigger area can be a physical key, that is, a password keyboard display mode switching button is set on the smart device, and the key can be triggered to switch the display mode of the password keyboard; correspondingly, the trigger area can also be a sensor
  • the area for example, the touch area, determines the display mode according to the user’s input trajectory.
  • a specific sliding trajectory can be set to represent the corresponding display mode; it can also be an infrared sensing area, which can recognize the user’s gesture, for example, the user
  • the display mode can be switched by setting a switching gesture.
  • the display mode in the embodiment of the present invention may be a plurality of display modes defined by the user, or a plurality of display modes that can be selected by the smart device and provided to the user.
  • the display mode can be set according to the order of the logos to be displayed in the password keyboard, or the device can be configured according to the content of the displayed logo, where the logo to be displayed represents the display content in the password keyboard, for example, it can be numbers, special symbols, It can also be a simple figure or icon, such as a triangle, a five-pointed star, or various small icons generated according to the display appearance of the set password keyboard.
  • the display mode includes an out-of-order display mode, and the corresponding steps may be:
  • the logos to be displayed will be displayed randomly instead of being displayed in the order in the default display mode.
  • a password for turning on the smart device is usually set.
  • the user needs to enter the password to enable the smart device to turn on.
  • the password keyboard provided by the smart device needs to be used for password input.
  • the characters to be displayed in the password keyboard including 10 numbers from 0-9, plus 2 function keys of "*" and "#", and a total of 12 keys as an example.
  • the shape of these keys and the function of the smart device Correspondingly, it can be a physical key or a virtual key, for example, a touch screen key.
  • the arrangement of these buttons is usually a sequential arrangement.
  • the existing smart door lock password keyboard solution is shown in Fig. 3, which uses 12 physical keys or capacitive touch keys to form a 3*4 matrix password keyboard. In this solution, each key The position is fixed so that the numbers can only be arranged in a fixed order. This digital arrangement display mode is easy to be cracked and has poor security.
  • the display instruction includes out-of-order display formulation
  • the corresponding display step in the method is: display the numbers in the password keyboard according to the out-of-order display mode, that is, due to the default of the smart device
  • the digital display mode is the sequential display in FIG. 3.
  • the smart device randomly disrupts the arrangement order of the 10 digits 0-9, and then displays it in the password keyboard, as shown in FIG. 4.
  • the corresponding password number is entered according to the password keyboard displayed in disorder. If the smart device is a smart door lock, it can prevent outsiders from standing behind the user and guessing the user by remembering the user's input position. Password.
  • the period of the smart device password display mode that is, how often to change the number arrangement, if you want to make the security level higher, you can change the number display mode every time you unlock, so that even if there is sweat on the password keyboard Residuals, physical wear and other traces can not be used by outsiders to crack passwords.
  • the process includes:
  • the logo to be displayed is displayed on the password keyboard according to the preset random display mode.
  • the user is allowed to display the characters to be displayed in the password keyboard according to the predefined display mode of the user, for example, the user can determine the arrangement of the numbers by himself, or can determine the target display through the alternative provided by the smart device Mode, and then displayed in the password keyboard of the smart device. If the user has not determined the target display mode before, the smart device will perform digital display according to the preset display mode of the system, that is, the smart device randomly arranges the numbers and displays them.
  • the prompt information corresponding to the out-of-order display mode is generated, wherein the prompt information is used to alert the current user of the smart device Determine the target display mode corresponding to the out-of-order display mode.
  • the smart device When the smart device receives the out-of-order display instruction, the smart device will find that the target display mode corresponding to the current user is not loaded by searching the memory chip, and it will generate a prompt message. If the smart device is connected to the client, you can use The prompt information is sent to the client, and then the display interface of the client will display the prompt information, prompting the user of the client to determine an out-of-order display mode, or customize a out-of-order display mode, so that the display mode is user and smart The display mode between devices; the prompt information can also be displayed directly on the smart device to remind the current user to set the corresponding target display mode.
  • the smart device performs the to-be-displayed display in this display mode, the user can quickly find the location of the password to be input, further reducing the time for others to spy on the password input, and improving the security of the password input.
  • a method for displaying the password keyboard out of order includes:
  • S503. Receive the password information entered by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset unlock password. If the verification is successful, the smart device is controlled to unlock.
  • the target information When receiving the password information entered by the user in the current password keyboard, in addition to the verification according to the unlock password preset by the user, the target information needs to be extracted according to the corresponding display mode to obtain accurate verification results.
  • An embodiment of the present invention also provides a password verification method, including:
  • Each of the target identification and the corresponding identification information in the preset unlock password is verified, and if each target identification completely matches the identification information in the preset decoding password, the verification is successful.
  • the process is: use the out-of-order algorithm to generate the array NUM[10], and generate the interface of the password keyboard according to the order of the out-of-order array; record the key sequence number [i] of the password keyboard that the user presses, and select the array NUM[ 10]
  • the real number NUM[i] represented by the key sequence number is queried, and the real number is passed into the password verification module to verify with the preset unlock password.
  • the verification process can verify only one password ID entered by the user at a time If the password ID entered by the current user is successfully verified, repeat the above process to verify the next password ID entered by the user. If the password is verified in the order of input, each password ID is successfully verified, and the result of successful verification is obtained. During the verification process, if a password ID fails to be verified, the password ID after the password ID will not be verified again, and the relevant information about the verification failure is directly output.
  • the verification process can also be:
  • the method for unlocking a smart device provided in this application in response to a received password keyboard display instruction, can obtain a corresponding display mode according to the display instruction, so that the logo to be displayed in the password keyboard is displayed according to the display mode, which can be seen in the present invention
  • the display mode of the password keyboard provided in the embodiment may include multiple types, which are related to the user's selection, and finally are verified according to the password information entered by the user in the current password keyboard. If the verification is successful, the unlocking of the smart device is controlled. That is, a custom display mode can be implemented on the password keyboard of the smart device, which makes the user more personalized when entering the password through the password keyboard corresponding to the display mode, and solves the problem that the input password is easily stolen.
  • the smart device In response to the unsuccessful verification of the input password information, the smart device is controlled to maintain the current state and/or generate warning information.
  • warning information can be generated to prompt that the input information cannot control the unlocking of the smart device.
  • the warning information can be sent to the destination, which characterizes the user or device that can monitor the smart device. Ensure the security of smart devices.
  • the password keyboard can be displayed on the client according to the determined display mode. which is:
  • the password information is verified based on the display mode and the preset unlock password, and if the verification is successful, then Controlling the smart device to unlock.
  • the user can display the password keyboard based on the currently used client and input the corresponding password information, and realize the convenience of using the client to control the unlocking of the smart device, thereby improving the security of unlocking the smart device.
  • the initial state of the smart device is the screen off state
  • the unlocked target state is a state where touch operation can be performed.
  • a touch button is provided on the side of the smart terminal.
  • the function of the touch button is to switch the display mode of the password keyboard.
  • the default display mode of the password keyboard of the smart terminal is to sequentially display the numbers in the password keyboard when the user dials
  • the smart terminal is instructed to switch to the out-of-order display mode, and then the smart terminal displays the password keyboard while arranging the numbers in the password keyboard out of order, and then receives the password information input by the user, and according to the The out-of-sequence order and the number of the password input by the user and the order of each input number are verified. If the verification is successful, the smart terminal is unlocked and the user can perform subsequent input.
  • the smart terminal can provide the user with a selectable out-of-order mode, from which the user can determine a target display mode as his own out-of-order display mode, thereby increasing the speed of entering the password and realizing personalized security settings.
  • a control method is also provided in an embodiment of the present application.
  • the method is applied to an intelligent door lock. Referring to FIG. 8, the method includes:
  • S602 Display the logo to be displayed in the password keyboard according to the display mode
  • S603 Receive the password information entered by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset smart door lock unlock password, and if the verification is successful, control the smart door lock to unlock .
  • the display mode of the password keyboard provided in the embodiment of the present invention is mainly determined based on the display instruction received by the smart door lock. That is, the smart door lock may have a default password keyboard display mode. When a display command is received, the display mode may be switched, or the default display mode may not be stored, and the display mode may be directly determined according to the received display command.
  • the smart door lock there are different ways to receive the display instructions of the password keyboard, which can be received through the device connected to the smart door lock, or through the corresponding area of the smart door lock .
  • the smart door lock includes a communication unit through which the communication unit communicates with the client
  • the password keyboard display instruction sent by the client is received according to the communication unit
  • the display mode corresponding to the display instruction is determined according to the password keyboard display instruction .
  • the client may be a user device connected to the smart device, that is, the user interacts with the smart device through the client to communicate data.
  • the device corresponding to the client may be a mobile phone, a tablet computer, or a watch with a communication function Wait.
  • the smart door lock includes a trigger unit
  • the password display instruction is received through the trigger area set by the trigger unit; the display mode corresponding to the display instruction is determined according to the display instruction.
  • the trigger area can be a physical key, that is, a password keyboard display mode switching button is set on the smart device, and the key can be triggered to switch the display mode of the password keyboard; correspondingly, the trigger area can also be a sensor
  • the area for example, the touch area, determines the display mode according to the input trajectory of the recognized user.
  • a specific sliding trajectory can be set to represent the corresponding display mode; it can also be an infrared sensing area, which can recognize the user's gesture, for example, the user
  • the display mode can be switched by setting a switching gesture.
  • the display mode in the embodiment of the present invention may be a plurality of display modes defined by the user, or a plurality of display modes that can be selected by the smart device and provided to the user.
  • the display mode can be set according to the order of the logos to be displayed in the password keyboard, or the device can be configured according to the content of the displayed logo, where the logo to be displayed represents the display content in the password keyboard, for example, it can be numbers, special symbols, It can also be a simple figure or icon, such as a triangle, a five-pointed star, or various small icons generated according to the display appearance of the set password keyboard.
  • the display mode includes an out-of-order display mode, and the corresponding steps may be:
  • a password for unlocking the smart door lock is usually set.
  • the user needs to enter the password to unlock the smart door lock.
  • the password keyboard provided by Smart is needed to enter the password.
  • the characters to be displayed in the password keyboard including 10 numbers from 0-9, plus 2 function keys of "*" and "#", and a total of 12 keys as an example.
  • the shape of these keys and the function of the smart device Correspondingly, it can be a physical key or a virtual key, for example, a touch screen key.
  • the arrangement of these buttons is usually a sequential arrangement.
  • the existing smart door lock password keyboard solution is shown in Fig. 3, which uses 12 physical keys or capacitive touch keys to form a 3*4 matrix password keyboard. In this solution, each key The position is fixed so that the numbers can only be arranged in a fixed order. This digital arrangement display mode is easy to be cracked and has poor security.
  • the display instruction includes out-of-order display formulation
  • the corresponding display step in the method is: display the numbers in the password keyboard according to the out-of-order display mode, that is, due to the default of the smart door lock
  • the digital display mode is the sequential display in Figure 3.
  • the smart device randomly disrupts the arrangement order of the 10 numbers 0-9, and then displays it in the password keyboard, as shown in Figure 4. .
  • the corresponding password number is input according to the password keyboard displayed in disorder, which can prevent outsiders from standing behind the user and guessing the user's password by remembering the user's input position.
  • the process includes:
  • the logo to be displayed is displayed on the password keyboard according to the preset random display mode.
  • the user is allowed to display the characters to be displayed in the password keyboard according to the predefined display mode of the user, for example, the user can determine the arrangement of the numbers by himself, or can determine the target through the alternative provided by the smart door lock The display mode is then displayed in the password keypad of the smart door lock. If the user has not determined the target display mode before, the smart door lock will perform digital display according to the preset display mode of the system, that is, the smart device randomly displays the numbers after digital arrangement.
  • the prompt information corresponding to the out-of-order display mode is generated, wherein the prompt information is used to remind the current of the smart door lock
  • the user determines the target display mode corresponding to the out-of-order display mode.
  • the smart door lock When the smart door lock receives the out-of-order display instruction, the smart door lock will find that the target display mode corresponding to the current user is not loaded by searching the storage chip, and then it will generate a prompt message, if the smart device is connected to the client, You can send the prompt information to the client, and then the display interface of the client will display the prompt information, prompting the user of the client to determine an out-of-order display mode, or customize a out-of-order display mode, so that the display mode is the user
  • the display mode with the smart device; the prompt information can also be displayed directly on the smart device to remind the current user to set the corresponding target display mode.
  • the smart door lock When the smart door lock is to be displayed in this display mode, the user can quickly find the location of the password to be input, further reducing the time for others to peep into the password input, and improving the security of the password input.
  • a password keyboard out-of-order display method includes:
  • the target information When receiving the password information entered by the user in the current password keyboard, in addition to the verification according to the unlock password preset by the user, the target information needs to be extracted according to the corresponding display mode to obtain accurate verification results.
  • An embodiment of the present invention also provides a password verification method, including:
  • Each of the target identification and the corresponding identification information in the preset unlock password is verified, and if each target identification completely matches the identification information in the preset decoding password, the verification is successful.
  • the process is: use the out-of-order algorithm to generate the array NUM[10], and generate the interface of the password keyboard according to the order of the out-of-order array; record the key sequence number [i] of the password keyboard pressed by the user, and from the out-of-order array NUM[ 10]
  • the real number NUM[i] represented by the key sequence number is queried, and the real number is passed into the password verification module to verify with the preset unlock password.
  • the verification process can verify only one password ID entered by the user at a time If the password ID entered by the current user is successfully verified, the above process is repeated to verify the next password ID entered by the user. If the password is verified in the order entered, each password ID is successfully verified, and the result of successful verification is obtained. During the verification process, if a password ID fails to be verified, the password ID after the password ID will not be verified again, and the relevant information about the verification failure is directly output.
  • the verification process can also be:
  • the intelligent door lock control method provided by the present invention can determine the corresponding password keyboard display mode in response to the received password keyboard display mode, so as to display the logo to be displayed in the password keyboard according to the display mode, and finally based on the user input
  • the password information, display mode and preset unlock password are used for unlock verification. If the verification is successful, the smart door lock is controlled to unlock. Since the display mode corresponds to the user, a variety of password keyboard display methods that meet user needs can be realized, and the diversity and personalization of the password keyboard display method are realized, thereby improving the user experience and solving the problem of using a single display mode. Password is easy to be stolen.
  • the smart door lock is controlled to maintain the locked state, and a prompt message is generated to prompt the user that the password information entered is incorrect.
  • the locked state of the smart door lock will be maintained and the user will be prompted to enter the wrong password.
  • an alarm message will be generated, the alarm
  • the information can be reflected by an alarm, such as a buzzer for a smart door lock to sound the alarm, or the corresponding alarm information can be sent to the destination, for example, the main user of the smart door lock prompts that the user has failed to enter the password multiple times. To avoid losses caused by criminals trying to enter the room.
  • the threshold can be set according to the user's specific use. This method of early warning not only improves security, but also improves the user's experience.
  • the password keyboard can be displayed on the client according to the determined display mode. which is:
  • the password information is verified based on the display mode and the preset unlock password, and if the verification is successful, then Control the intelligent door lock to unlock.
  • the user can display the password keyboard and input the corresponding password information based on the currently used client, and realize the convenience of using the client to control the unlocking of the smart door lock, thereby improving the security of unlocking the smart door lock.
  • the client can also set the display mode corresponding to the password keyboard, that is, the pre-device display mode, and then store the display mode in the smart door lock, which can be called when the smart door lock displays the identification information. display.
  • the processing performance of some smart door locks is limited. If each user randomly generates a display mode and sends it to a smart device for display, the storage and processing performance of the smart door lock will have If it is lowered, then at this time, the client will be instructed to determine the display mode corresponding to the password keyboard according to the preset display mode selection scheme. For example, the client APP pre-sets M specific password arrangement rules, the user selects N (N is not greater than M) through the client APP, and the smart device selects one of the N arrangement methods to update the password keyboard each time The number display mode in.
  • the smart door lock control method in the above embodiment will be described below according to a specific design structure of the smart door lock.
  • the entire smart door lock system it can include three modules: door lock hardware, door lock software, and client APP.
  • the following sub-modules introduce their respective functional principles.
  • the door lock hardware mainly includes door lock main control, display screen, touch screen, wireless module and other modules.
  • the display screen may be an LCD display screen, and the touch screen may be a capacitive touch screen.
  • the door lock main control controls the LCD display to display the password keyboard; the door lock main control controls the capacitive touch screen to receive the password input by the user.
  • the wireless module is responsible for communicating with the mobile phone and transmitting APP instructions from the mobile phone client.
  • the door lock software mainly implements the following functions.
  • the door lock master control controls the LCD display to display a 3*4 matrix keyboard. Each key has a corresponding icon to display the corresponding function of the key.
  • the door lock master receives the password input by the capacitive touch screen, obtains the position coordinates, and calculates which button the user presses.
  • the door lock master uses an out-of-order algorithm to calculate the random order of the 10 numbers 0-9, and controls the LCD display to display the 10 numbers in that order.
  • the main function of the client APP is to control the door lock to open or close the out-of-order password function.
  • the implementation is as follows:
  • the client APP sends commands to the door lock to remotely control the door lock to open or close the out-of-order password function
  • the door lock After the door lock receives the control command, it immediately switches the password keyboard display mode.
  • the LCD display screen is used as the output mode of the password keypad of the smart door lock, and the capacitive touch screen is used as the input mode.
  • the LCD display shows a 3*4 matrix password keyboard, where the 10 numbers 0-9 are arranged out of order. Before entering the password each time, the numeric keys on the password keyboard will be rearranged randomly, and the sequence is different from the previous arrangement. Users can choose to turn on or off the password keyboard random ordering function.
  • the passwords are displayed out of order, which prevents outsiders from standing behind by remembering the user's input position to guess the user's password when entering the password.
  • the device control apparatus includes an instruction acquisition unit 701, an interface generation unit 702, and a verification unit 703.
  • the instruction obtaining unit 701 is used to obtain a password keyboard display instruction.
  • a password keyboard display instruction For more information on obtaining the password keyboard display instruction, please refer to the relevant description of step 201, and no further description is provided here.
  • the interface generating unit 702 is used to generate a password keyboard display interface on the target device according to the display mode corresponding to the display instruction; for more content about generating a password display interface on the target device according to the display mode corresponding to the display instruction, please refer to the steps The relevant description of 202 will not be repeated here.
  • the verification unit 703 is configured to obtain the password information input into the display interface of the password keyboard, and verify the password information according to the display mode and the pre-stored password. If the verification is successful, the target device is controlled to enter and The pre-stored password matches the target state. For more details of this process, please refer to the relevant descriptions of steps 203 and 204, which will not be repeated here.
  • system and its modules shown in FIG. 9 can be implemented in various ways.
  • the system and its modules may be implemented by hardware, software, or a combination of software and hardware.
  • the hardware part can be implemented with dedicated logic;
  • the software part can be stored in the memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware.
  • an appropriate instruction execution system such as a microprocessor or dedicated design hardware.
  • the above methods and systems can be implemented using computer-executable instructions and/or included in the processor control code, for example, on a carrier medium such as a magnetic disk, CD or DVD-ROM, such as a read-only memory (firmware Such codes are provided on programmable memories or data carriers such as optical or electronic signal carriers.
  • the system and its modules of this specification can be implemented not only by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc. It can also be implemented by software executed by various types of processors, for example, or by a combination of the above hardware circuits and software (for example, firmware).
  • a control device applied to a smart device is also provided.
  • the device includes:
  • the first determining unit 1001 is configured to determine the display mode corresponding to the display instruction according to the received password keyboard display instruction in response to the received password keyboard display instruction;
  • the first display unit 1002 is configured to display the logo to be displayed in the password keyboard according to the display mode;
  • the first control unit 1003 is configured to receive the password information input by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset unlock password, and if the verification is successful, control the smart device Unlock.
  • the first display unit 1001 includes:
  • the out-of-order display subunit is used to display the to-be-displayed identifier in the password keyboard according to the out-of-order display mode.
  • the system further includes:
  • the judging unit is used to judge whether the target display mode matching the out-of-order display mode corresponding to the current user of the smart device is recorded; if it is, then display the logo to be displayed on the password keyboard according to the target display mode; if not, Then, the logo to be displayed is displayed on the password keyboard according to the preset random display mode.
  • the device further includes:
  • the prompt information generating unit is configured to generate prompt information corresponding to the out-of-order display mode if no target display mode matching the out-of-order display mode corresponding to the current user of the smart device is recorded, wherein the prompt information is used to prompt the smart
  • the current user of the device determines the target display mode corresponding to the out-of-order display mode.
  • the out-of-order display subunit is specifically used for:
  • the device further includes a connection unit, wherein the connection unit is used to communicate and connect the smart device with the client;
  • the first determining unit is specifically configured to receive a password keyboard display instruction sent by the client, and determine a display mode corresponding to the display instruction according to the password keyboard display instruction.
  • the system further includes:
  • the client display unit is used to display the logo to be displayed in the password keyboard according to the display mode, and present the displayed password keyboard on the display interface of the client;
  • a client response unit for responding to the client sending the password information received by the user on the password keyboard to the smart device, and performing the password information based on the display mode and the preset unlock password Verify, if the verification is successful, control the smart device to unlock.
  • the device further includes:
  • the receiving unit is configured to receive a password keyboard display instruction through the trigger area of the smart device, and determine a display mode corresponding to the display instruction according to the display instruction.
  • the first control unit 1003 includes:
  • the recording subunit is used to record the key sequence numbers of the password keyboard pressed by the user one by one, and to query and obtain the target identifier corresponding to the key sequence number from the array corresponding to the current password keyboard;
  • the verification subunit is used for verifying each target identification and the corresponding identification information in the preset unlock password. If each target identification completely matches the identification information in the preset decoding password, the verification is successful.
  • the device further includes:
  • the early warning unit is configured to control the smart device to maintain the current state and/or generate early warning information in response to the unsuccessful verification of the input password information.
  • the display mode of the password keyboard is determined by the first determining unit, and the logo to be displayed in the password keyboard is displayed according to the display mode by the first display unit. Verification of the entered password information. Therefore, the display mode of the password keyboard is determined according to the user's display instructions, which makes the display mode personalized and uncertain, thereby reducing the risk of password theft during the password input process and improving the security of the smart device .
  • the device and its modules shown in FIG. 10 can be implemented in various ways.
  • the system and its modules may be implemented by hardware, software, or a combination of software and hardware.
  • the hardware part can be implemented with dedicated logic;
  • the software part can be stored in the memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware.
  • an appropriate instruction execution system such as a microprocessor or dedicated design hardware.
  • the above methods and systems can be implemented using computer-executable instructions and/or included in the processor control code, for example, on a carrier medium such as a magnetic disk, CD or DVD-ROM, such as a read-only memory (firmware Such codes are provided on programmable memories or data carriers such as optical or electronic signal carriers.
  • the system and its modules of this specification can be implemented not only by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc. It can also be implemented by software executed by various types of processors, for example, or by a combination of the above hardware circuits and software (for example, firmware).
  • the device includes:
  • the second determining unit 1101 is configured to determine a display mode corresponding to the display instruction according to the password keyboard display instruction in response to the received password keyboard display instruction;
  • the second display unit 1102 is configured to display the logo to be displayed in the password keyboard according to the display mode
  • the second control unit 1103 is configured to receive the password information input by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset smart door lock unlock password, and if the verification is successful, control The intelligent door lock is unlocked.
  • the smart door lock further includes:
  • Communication unit used for communication connection with the client, receiving the password keyboard display command sent by the client;
  • the trigger unit is used to receive the password keyboard display instructions.
  • the smart door lock further includes:
  • the prompt information generating unit is configured to control the smart door lock to maintain a locked state if the verification is unsuccessful, and generate prompt information to prompt the user that the password information entered is incorrect.
  • the smart door lock further includes:
  • the warning information generating unit is configured to generate alarm information if the number of verifications corresponding to unsuccessful verification exceeds a threshold number of times, and send the alarm information to a preset destination.
  • the second display unit 21 includes:
  • the out-of-order display subunit is used to display the to-be-displayed identifier in the password keyboard according to the out-of-order display mode.
  • the smart door lock further includes:
  • the judging unit is used to judge whether the target display mode matching the out-of-order display mode corresponding to the current user of the smart door lock is recorded; if it is, then the logo to be displayed is displayed on the password keyboard according to the target display mode; if not , The logo to be displayed is displayed on the password keyboard according to the preset random display mode.
  • the smart door lock further includes:
  • the setting information generating unit is configured to generate prompt information corresponding to the out-of-order display mode if no target display mode matching the out-of-order display mode corresponding to the current user of the smart door lock is recorded, wherein the prompt information is used to prompt the The current user determines the target display mode corresponding to the out-of-order display mode.
  • the out-of-order display subunit is specifically used for:
  • the second determining unit is specifically configured to receive a password keyboard display instruction sent by the client, and determine a display mode corresponding to the display instruction according to the password keyboard display instruction.
  • the smart door lock further includes:
  • a sending unit configured to display the logo to be displayed in the password keyboard according to the display mode, and send the displayed password keyboard to the display interface of the client;
  • the receiving unit is configured to receive the password information sent by the client, verify the password information based on the display mode and the preset unlock password, and if the verification is successful, control the smart door lock to unlock.
  • the display mode of the password keyboard is determined by the mode determination unit, the to-be-displayed logo in the password keyboard is displayed according to the display mode by the display unit, and the password information input by the user is verified in the verification unit. Therefore, the display mode of the password keyboard is determined according to the user's display instructions, which makes the display mode personalized and uncertain, thereby reducing the risk of password theft during the password input process and improving the security of the smart door lock Sex.
  • the smart door lock includes a processor and a memory, and the above-mentioned mode determination unit, display unit, verification unit, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to achieve corresponding functions.
  • An embodiment of the present application provides a computer-readable storage medium that stores computer instructions, and when the instructions are executed by one or more processors of the system, causing the system to:
  • the target display interface including at least two display identifiers matching the display mode
  • the target device is controlled to enter a target state that matches the pre-stored password.
  • the present application uses specific words to describe the embodiments of the present application.
  • “one embodiment”, “one embodiment”, and/or “some embodiments” mean a certain feature, structure, or characteristic related to at least one embodiment of the present application. Therefore, it should be emphasized and noted that the reference to “one embodiment” or “one embodiment” or “an alternative embodiment” at two or more different places in this specification does not necessarily refer to the same embodiment .
  • certain features, structures, or characteristics in one or more embodiments of the present application may be combined as appropriate.
  • the computer storage medium may contain a propagated data signal containing a computer program code, for example, on baseband or as part of a carrier wave.
  • the propagated signal may have multiple manifestations, including electromagnetic, optical, etc., or a suitable combination.
  • the computer storage medium may be any computer-readable medium other than the computer-readable storage medium, and the medium may be connected to an instruction execution system, apparatus, or device to communicate, propagate, or transmit a program for use.
  • Program code located on a computer storage medium may be propagated through any suitable medium, including radio, cable, fiber optic cable, RF, or similar media, or any combination of the foregoing.
  • the computer program codes required for the operation of each part of this application can be written in any one or more programming languages, including object-oriented programming languages such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET, Python Etc., conventional programming languages such as C, Visual Basic, Fortran 2003, Perl, COBOL 2002, PHP, ABAP, dynamic programming languages such as Python, Ruby and Groovy, or other programming languages.
  • the program code may run entirely on the user's computer, or as an independent software package on the user's computer, or partly on the user's computer, partly on a remote computer, or entirely on the remote computer or server.
  • the remote computer can be connected to the user's computer through any form of network, such as a local area network (LAN) or a wide area network (WAN), or connected to an external computer (eg, via the Internet), or in a cloud computing environment, or as a service Use as software as a service (SaaS).
  • LAN local area network
  • WAN wide area network
  • SaaS software as a service
  • Some embodiments use numbers describing the number of components and attributes. It should be understood that such numbers used in embodiment descriptions use the modifiers "about”, “approximately”, or “generally” in some examples. Grooming. Unless otherwise stated, “approximately”, “approximately” or “substantially” indicates that the figures allow a variation of ⁇ 20%.
  • the numerical parameters used in the specification and claims are all approximate values, and the approximate values may be changed according to the characteristics required by individual embodiments. In some embodiments, the numerical parameters should consider the specified significant digits and adopt the method of general digit retention. Although the numerical fields and parameters used to confirm the breadth of their ranges in some embodiments of the present application are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A device control method, apparatus and system. The device control system comprises: a storage device that stores a set of instructions; and one or more processors that communicate with the storage device, wherein when the instructions are executed, the one or more processors are configured to cause the system to: obtain a password keypad display instruction (S201); generate a password keypad display interface on a target device according to a display mode corresponding to the display instruction (S202); obtain password information entered into the password keypad display interface, and verify the password information according to the display mode and a pre-stored password (S203); and if the verification is successful, control the target device to enter a target state that matches the pre-stored password (S204). The present method, apparatus and system solve the problem of stealing a password by means of a fixed password keypad, and improve the security of controlling the target device.

Description

一种设备控制方法、装置及系统Device control method, device and system

交叉引用cross reference

本申请要求于2018年12月18日提交的中国申请号201811552301.X,发明名称为“一种智能设备解锁方法及系统”的国内申请优先权以及2018年12月18日提交的中国申请号201811548185.4,发明名称为“一种智能门锁控制方法及智能门锁”的国内申请优先权,全部内容通过引用并入本文。This application requires the Chinese application number 201811552301.X filed on December 18, 2018, the domestic application priority titled "A method and system for unlocking a smart device" and the Chinese application number 201811548185.4 filed on December 18, 2018 The domestic application priority of the invention titled "A Smart Door Lock Control Method and Smart Door Lock" is incorporated herein by reference.

技术领域Technical field

本申请涉及信息处理技术领域,尤其涉及一种设备控制方法、装置及系统。This application relates to the field of information processing technology, and in particular, to a device control method, device, and system.

背景技术Background technique

伴随着智能设备的日渐流行,为了保证智能设备用户的隐私,通常需要通过智能设备的键盘输入用户的密码,才能访问或者使用该智能设备。例如,在智能家居领域中的智能锁,需要输入一定的密码才能够使得该智能锁开启。由于现有技术中智能设备的密码键盘中标识信息显示方式相同,当用户通过键盘输入密码时容易造成密码被偷窥从而泄露密码,使得设备使用不安全。With the increasing popularity of smart devices, in order to ensure the privacy of smart device users, it is usually necessary to enter the user's password through the smart device's keyboard to access or use the smart device. For example, a smart lock in the field of smart home needs a certain password to be able to open the smart lock. Since the identification information in the password keyboard of the smart device in the prior art is displayed in the same way, when the user enters the password through the keyboard, it is easy to cause the password to be peeped to reveal the password, making the device unsafe to use.

发明内容Summary of the invention

本申请实施例之一提供一种设备控制系统。所述设备控制系统包括:存储一组指令的存储设备;以及与所述存储设备通信的一个或以上处理器,其中,当执行所述指令时,所述一个或以上处理器被配置为使所述系统:获取密码键盘显示指令;依据所述显示指令对应的显示模式在目标设备上生成密码键盘显示界面;获取输入至所述密码键盘显示界面中的密码信息,并依据所述显示模式和预存储的密码对所述密码信息进行验证,若验证成功,控制所述目标设备进入与所述预存储的密码相匹配的目标状态。。One of the embodiments of the present application provides a device control system. The device control system includes: a storage device that stores a set of instructions; and one or more processors in communication with the storage device, wherein, when the instructions are executed, the one or more processors are configured to cause all The system: obtain the password keyboard display instruction; generate the password keyboard display interface on the target device according to the display mode corresponding to the display instruction; obtain the password information input into the password keyboard display interface, and according to the display mode and pre The stored password verifies the password information, and if the verification is successful, the target device is controlled to enter a target state that matches the pre-stored password. .

本实施例之一提供一种设备控制方法,包括:获取密码键盘显示指令;依据所述显示指令对应的显示模式在目标设备上生成密码键盘显示界面; 获取输入至所述密码键盘显示界面中的密码信息,并依据所述显示模式和预存储的密码对所述密码信息进行验证,若验证成功,控制所述目标设备进入与所述预存储的密码相匹配的目标状态。One of the embodiments provides a device control method, which includes: acquiring a password keyboard display instruction; generating a password keyboard display interface on a target device according to a display mode corresponding to the display instruction; acquiring an input into the password keyboard display interface Password information, and verify the password information according to the display mode and the pre-stored password, and if the verification is successful, control the target device to enter a target state that matches the pre-stored password.

本申请实施例之一提供一种计算机可读存储介质。所述存储介质存储计算机指令,当由系统的一个或以上处理器执行所述指令时,使得所述系统:获取密码键盘显示指令;依据所述显示指令对应的显示模式在目标设备上生成密码键盘显示界面;获取输入至所述密码键盘显示界面中的密码信息,并依据所述显示模式和预存储的密码对所述密码信息进行验证,若验证成功,控制所述目标设备进入与所述预存储的密码相匹配的目标状态。One of the embodiments of the present application provides a computer-readable storage medium. The storage medium stores computer instructions, and when executed by one or more processors of the system, causes the system to: obtain a password keyboard display instruction; generate a password keyboard on the target device according to the display mode corresponding to the display instruction Display interface; obtain the password information input into the password keyboard display interface, and verify the password information according to the display mode and the pre-stored password, and if the verification is successful, control the target device to enter the The stored password matches the target state.

本申请实施例之一提供一种控制方法。所述控制方法应用于智能设备,该方法包括:响应于接收到的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式;依据所述显示模式对密码键盘中的待显示标识进行显示;接收用户在显示的密码键盘中输入的密码信息,并根据所述显示模式和预设解锁密码对所述密码信息进行验证,若验证成功,则控制所述智能设备解锁。One of the embodiments of the present application provides a control method. The control method is applied to a smart device. The method includes: in response to the received password keyboard display instruction, determining a display mode corresponding to the display instruction according to the password keyboard display instruction; and matching the password keyboard according to the display mode Display the logo to be displayed in the display; receive the password information entered by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset unlock password, and if the verification is successful, control the smart device Unlock.

本申请实施例之一提供一种控制方法。应用于智能门锁,该方法包括:响应于接收到的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式;依据所述显示模式对密码键盘中的待显示标识进行显示;接收用户在显示的密码键盘中输入的密码信息,并根据所述显示模式和预设的智能门锁开锁密码对所述密码信息进行验证,若验证成功,则控制所述智能门锁开锁。One of the embodiments of the present application provides a control method. Applied to an intelligent door lock, the method includes: in response to the received password keyboard display instruction, determining the display mode corresponding to the display instruction according to the password keyboard display instruction; Display the logo for display; receive the password information entered by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset smart door lock unlock password, and if the verification is successful, control the smart The door is unlocked.

在一些实施例中,所述显示模式包括乱序显示模式,所述一个或以上处理器被进一步配置为使所述系统:In some embodiments, the display mode includes an out-of-order display mode, and the one or more processors are further configured to cause the system to:

基于所述乱序显示模式,生成所述密码键盘的目标显示界面,所述目标显示界面至少包括两个乱序显示的显示标识。Based on the out-of-order display mode, a target display interface of the password keyboard is generated, and the target display interface includes at least two display indicators displayed out of order.

在一些实施例中,所述目标设备包括具有能够显示密码键盘的智能设备;或者由密码器和智能装置组成的智能设备。In some embodiments, the target device includes a smart device having a keyboard capable of displaying a password; or a smart device composed of a cipher and a smart device.

在一些实施例中,所述一个或以上处理器被进一步配置为使所述系统:In some embodiments, the one or more processors are further configured to cause the system to:

所述显示指令对应的生成模式包括以下一种:The generation mode corresponding to the display instruction includes one of the following:

响应于所述目标设备的显示界面或密码键盘的触摸信号,生成显示指令;Generating a display instruction in response to the touch signal of the display interface of the target device or the password keyboard;

响应于与所述目标设备的密码键盘相匹配的触发区域的触发信号,生成显示指令;Generating a display instruction in response to the trigger signal of the trigger area matching the password keyboard of the target device;

依据服务端或者用户终端发送的指令,获得显示指令。Obtain the display instruction according to the instruction sent by the server or the user terminal.

在一些实施例中,所述一个或以上处理器被进一步配置为使所述系统:In some embodiments, the one or more processors are further configured to cause the system to:

查找是否存储有与所述目标设备当前用户对应的乱序显示模式匹配的目标显示模式;Searching whether there is stored a target display mode matching the out-of-order display mode corresponding to the current user of the target device;

如果存在所述匹配的目标显示模式,则按照所述目标显示模式生成所述密码键盘的目标显示界面;If there is the matching target display mode, the target display interface of the password keyboard is generated according to the target display mode;

如果不存在所述匹配的目标显示模式,则按照预设的乱序显示模式生成所述密码键盘的目标显示界面。If there is no matching target display mode, the target display interface of the password keyboard is generated according to the preset out-of-order display mode.

在一些实施例中,所述一个或以上处理器被进一步配置为使所述系统:In some embodiments, the one or more processors are further configured to cause the system to:

如果不存在所述匹配的目标显示模式,生成目标显示模式设置提示信息;所述提示信息用于提示所述目标设备的当前用于设置与所述乱序显示模式对应的目标显示模式。If the matching target display mode does not exist, the target display mode setting prompt information is generated; the prompt information is used to prompt the target device to currently set the target display mode corresponding to the out-of-order display mode.

在一些实施例中,所述一个或以上处理器被进一步配置为使所述系统:In some embodiments, the one or more processors are further configured to cause the system to:

创建与所述密码键盘中显示矩阵匹配的数组;Create an array that matches the display matrix in the password keyboard;

将各个待显示标识随机添加至所述数组中,得到待显示数组;Randomly add each identifier to be displayed to the array to obtain an array to be displayed;

将所述待显示数组在所述密码键盘中进行显示,获得所述密码键盘的目标显示界面。Displaying the array to be displayed in the password keyboard to obtain a target display interface of the password keyboard.

在一些实施例中,所述一个或以上处理器被进一步配置为使所述系统:In some embodiments, the one or more processors are further configured to cause the system to:

若验证不成功,控制所述目标设备维持原状态,并生成提示信息;所述提示信息包括提示密码错误的信息;If the verification is unsuccessful, control the target device to maintain the original state and generate prompt information; the prompt information includes information prompting the wrong password;

若验证不成功,且对应的验证次数超过次数阈值,生成警报信息,将所述警报信息发送至预设目的终端。If the verification is unsuccessful, and the corresponding verification times exceed the threshold number of times, alarm information is generated, and the alarm information is sent to the preset destination terminal.

在一些实施例中,所述一个或以上处理器被进一步配置为使所述系统:In some embodiments, the one or more processors are further configured to cause the system to:

接收所述客户端发送的密码键盘显示指令。Receiving a password keyboard display instruction sent by the client.

在一些实施例中,所述一个或以上处理器被进一步配置为使所述系统:In some embodiments, the one or more processors are further configured to cause the system to:

将所述目标显示界面在所述客户端的显示界面中进行显示,使得所述客户端通过所述目标显示界面获取所述密码信息。Displaying the target display interface in the display interface of the client, so that the client obtains the password information through the target display interface.

在一些实施例中,所述一个或以上处理器进一步配置为使所述系统:In some embodiments, the one or more processors are further configured to cause the system to:

逐一记录目标显示界面上被触发的按键的按键序号;Record the key sequence number of the key that is triggered on the target display interface one by one;

从所述显示模式对应的数组中查询获得该按键序号对应的目标标识;Querying the array corresponding to the display mode to obtain the target identifier corresponding to the key sequence number;

将所述每个目标标识与预存储的密码中对应的标识信息进行验证,若每个所述目标标识与所述预存储的密码中的标识信息完全匹配,则验证成功。Verifying each target identification and corresponding identification information in the pre-stored password, and if each target identification completely matches the identification information in the pre-stored password, the verification is successful.

在一些实施例中,所述显示模式包括乱序显示模式,其中,所述依据所述显示模式对密码键盘中的待显示标识进行显示,包括:依据乱序显示模式对密码键盘中的待显示标识进行显示。In some embodiments, the display mode includes an out-of-sequence display mode, wherein displaying the to-be-displayed identifier in the password keyboard according to the display mode includes: according to the out-of-sequence display mode, displaying the to-be-displayed in the password keyboard Logo for display.

在一些实施例中,所述依据乱序显示模式对密码键盘中的待显示标识进行显示,包括:判断是否记载有与智能设备当前用户对应的乱序显示模式匹配的目标显示方式;如果是,则按照所述目标显示方式将待显示标识在密码键盘中进行显示;如果否,则按照预设乱序显示方式将待显示标识在密码键盘中进行显示。In some embodiments, the displaying the to-be-displayed identifier in the password keyboard according to the out-of-order display mode includes: determining whether a target display mode matching the out-of-order display mode corresponding to the current user of the smart device is recorded; if so, Then, the logo to be displayed is displayed on the password keyboard according to the target display mode; if not, the logo to be displayed is displayed on the password keyboard according to the preset out-of-order display mode.

在一些实施例中,该方法还包括:若没有记载与智能设备当前用户对应的乱序显示模式匹配的目标显示方式,则生成乱序显示模式对应的提示信息,其中,所述提示信息用于提示所述智能设备的当前用户确定与乱序显示模式对应的目标显示方式。In some embodiments, the method further includes: if no target display mode matching the out-of-order display mode corresponding to the current user of the smart device is recorded, generating prompt information corresponding to the out-of-order display mode, wherein the prompt information is used to The current user of the smart device is prompted to determine the target display mode corresponding to the out-of-order display mode.

在一些实施例中,所述依据乱序显示模式对密码键盘中的待显示标识进行显示,包括:创建与所述密码键盘中显示矩阵匹配的数组;将各个待 显示标识随机添加至所述数组中,获得待显示数据;将所述待显示数组在所述密码键盘中进行显示。In some embodiments, displaying the to-be-displayed identifiers in the password keyboard according to the out-of-order display mode includes: creating an array matching the display matrix in the password keyboard; randomly adding each to-be-displayed identifier to the array To obtain the data to be displayed; display the array to be displayed in the password keyboard.

在一些实施例中,若所述智能设备与客户端进行通讯连接,其中,所述响应于接收到的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式,包括:接收所述客户端发送的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式。In some embodiments, if the smart device is in communication with the client, wherein, in response to the received password keyboard display instruction, the display mode corresponding to the display instruction is determined according to the password keyboard display instruction Includes: receiving a password keyboard display instruction sent by the client, and determining a display mode corresponding to the display instruction according to the password keyboard display instruction.

在一些实施例中,该方法还包括:依据所述显示模式对密码键盘中的待显示标识进行显示,并将显示后的密码键盘呈现在所述客户端的显示界面上;响应于所述客户端将接收到用户在所述密码键盘上输入的密码信息发送至所述智能设备,基于所述显示模式和预设解锁密码对所述密码信息进行验证,若验证成功,则控制所述智能设备解锁。In some embodiments, the method further includes: displaying the logo to be displayed in the password keyboard according to the display mode, and presenting the displayed password keyboard on the display interface of the client; responding to the client Send the received password information entered by the user on the password keyboard to the smart device, verify the password information based on the display mode and the preset unlock password, and if the verification is successful, control the smart device to unlock .

在一些实施例中,所述智能设备包括触发区域,其中,所述响应于接收到的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式,包括:通过所述触发区域接收密码键盘显示指令;依据所述显示指令确定与所述显示指令对应的显示模式。In some embodiments, the smart device includes a trigger area, wherein, in response to the received password keyboard display instruction, determining the display mode corresponding to the display instruction according to the password keyboard display instruction includes: The trigger area receives a password keyboard display instruction; the display mode corresponding to the display instruction is determined according to the display instruction.

在一些实施例中,所述根据所述显示模式和预设解锁密码对所述密码信息进行验证,包括:逐一记录用户按下密码键盘的按键序号,并从当前密码键盘对应的数组中查询获得该按键序号对应的目标标识;将每个所述目标标识与预设解锁密码中对应的标识信息进行验证,若每个目标标识与预设解码密码中的标识信息完全匹配,则验证成功。In some embodiments, the verification of the password information according to the display mode and the preset unlock password includes: recording the key sequence number of the user pressing the password keyboard one by one, and querying and obtaining from the array corresponding to the current password keyboard The target identification corresponding to the key sequence number; verifying each target identification with the corresponding identification information in the preset unlock password, and if each target identification completely matches the identification information in the preset decoding password, the verification is successful.

在一些实施例中,该方法还包括:响应于对输入的密码信息验证不成功,则控制所述智能设备维持当前状态,和/或生成预警信息。In some embodiments, the method further includes: in response to unsuccessful verification of the entered password information, controlling the smart device to maintain the current state, and/or generating warning information.

在一些实施例中,该方法还包括:若验证不成功,则控制所述智能门锁维持锁定状态,并生成提示信息,提示所述用户输入的密码信息不正确;若验证不成功对应的验证次数超过阈值次数,则生成警报信息,将所述警报信息发送至预设目的端。In some embodiments, the method further includes: if the verification is unsuccessful, controlling the smart door lock to maintain the locked state, and generating a prompt message to prompt the user that the password information entered is incorrect; if the verification is unsuccessful, the corresponding verification If the number of times exceeds the threshold number of times, alarm information is generated, and the alarm information is sent to a preset destination.

本发明实施例提供的一种设备控制方法、装置及系统,通过获取密码键盘显示指令;依据所述显示指令对应的显示模式在目标设备上生成密码键盘显示界面;获取输入至所述密码键盘显示界面中的密码信息,并依据所述显示模式和预存储的密码对所述密码信息进行验证,若验证成功,控制所述目标设备进入与所述预存储的密码相匹配的目标状态。实现了密码键盘的显示界面与显示模式相匹配,使得显示界面多样化,解决了通过固定的密码键盘窃取密码的问题,提升了对目标设备控制的安全性。An embodiment of the present invention provides a device control method, device, and system, by acquiring a password keyboard display instruction; generating a password keyboard display interface on a target device according to the display mode corresponding to the display instruction; obtaining input to the password keyboard display The password information in the interface, and verify the password information according to the display mode and the pre-stored password. If the verification is successful, the target device is controlled to enter a target state that matches the pre-stored password. The display interface of the password keyboard is matched with the display mode, which makes the display interface diversified, solves the problem of stealing the password through the fixed password keyboard, and improves the security of the control of the target device.

附图说明BRIEF DESCRIPTION

本申请将以示例性实施例的方式进一步说明,这些示例性实施例将通过附图进行详细描述。这些实施例并非限制性的,在这些实施例中相同的编号表示相同的结构,其中:The present application will be further described in terms of exemplary embodiments, which will be described in detail through the drawings. These embodiments are not limiting, and the same numbers in these embodiments indicate the same structure, where:

图1所示为根据本申请一些实施例所示的一种设备控制系统的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of a device control system according to some embodiments of the present application;

图2是根据本申请的一些实施例所示的一种设备控制方法的示例性流程图;2 is an exemplary flowchart of a device control method according to some embodiments of the present application;

图3所示为根据本申请一些实施例所示的一种智能门锁密码键盘的显示方式的示意图;3 is a schematic diagram of a display manner of a smart door lock password keyboard according to some embodiments of the present application;

图4所示为根据本申请一些实施例所示的另一种智能门锁密码键盘的显示方式的示意图;4 is a schematic diagram showing another display mode of a smart door lock password keyboard according to some embodiments of the present application;

图5所示为根据本申请一些实施例所示的目标设备控制方法的示例性流程图;FIG. 5 is an exemplary flowchart of a target device control method according to some embodiments of the present application;

图6所示为根据本申请一些实施例所示的一种密码键盘乱序显示方法的流程示意图;6 is a schematic flowchart of a method for displaying a password keyboard out of order according to some embodiments of the present application;

图7所示为根据本申请一些实施例所示的一种应用于智能设备的控制方法的流程示意图;7 is a schematic flowchart of a control method applied to a smart device according to some embodiments of the present application;

图8所示为根据本申请一些实施例所示的一种应用于智能门锁的控制 方法的流程示意图;8 is a schematic flowchart of a control method applied to an intelligent door lock according to some embodiments of the present application;

图9所示为根据本申请的一些实施例所示的一种设备控制装置的结构示意图;9 is a schematic structural diagram of a device control device according to some embodiments of the present application;

图10所示为根据本申请一些实施例所示的一种应用于智能设备的控制装置的结构示意图;10 is a schematic structural diagram of a control device applied to a smart device according to some embodiments of the present application;

图11所示为根据本申请一些实施例所示的一种智能门锁的结构示意图。FIG. 11 is a schematic structural diagram of an intelligent door lock according to some embodiments of the present application.

具体实施方式detailed description

为了更清楚地说明本申请实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单的介绍。显而易见地,下面描述中的附图仅仅是本申请的一些示例或实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图将本申请应用于其它类似情景。除非从语言环境中显而易见或另做说明,图中相同标号代表相同结构或操作。In order to more clearly explain the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings required in the description of the embodiments. Obviously, the drawings in the following description are only some examples or embodiments of the present application. For a person of ordinary skill in the art, the present application can be applied to these drawings without creative efforts Other similar scenarios. Unless obvious from the locale or otherwise stated, the same reference numerals in the figures represent the same structure or operation.

应当理解,本文使用的“系统”、“装置”、“单元”和/或“模组”是用于区分不同级别的不同组件、元件、部件、部分或装配的一种方法。然而,如果其他词语可实现相同的目的,则可通过其他表达来替换所述词语。It should be understood that the “system”, “device”, “unit” and/or “module” used herein is a method for distinguishing different components, elements, parts, parts or assemblies at different levels. However, if other words can achieve the same purpose, the words can be replaced by other expressions.

如本申请和权利要求书中所示,除非上下文明确提示例外情形,“一”、“一个”、“一种”和/或“该”等词并非特指单数,也可包括复数。一般说来,术语“包括”与“包含”仅提示包括已明确标识的步骤和元素,而这些步骤和元素不构成一个排它性的罗列,方法或者设备也可能包含其它的步骤或元素。As shown in this application and claims, unless the context clearly indicates an exception, the terms "a", "an", "an", and/or "the" are not specific to the singular but may include the plural. Generally speaking, the terms "include" and "include" only suggest that steps and elements that are clearly identified are included, and these steps and elements do not constitute an exclusive list, and the method or device may also contain other steps or elements.

本申请中使用了流程图用来说明根据本申请的实施例的系统所执行的操作。应当理解的是,前面或后面操作不一定按照顺序来精确地执行。相反,可以按照倒序或同时处理各个步骤。同时,也可以将其他操作添加到这些过程中,或从这些过程移除某一步或数步操作。This application uses a flowchart to illustrate the operations performed by the system according to the embodiments of the application. It should be understood that the preceding or following operations are not necessarily performed accurately in order. Instead, the steps can be processed in reverse order or simultaneously. At the same time, you can also add other operations to these processes, or remove a certain step or several steps from these processes.

图1所示为根据本申请一些实施例所示的一种设备控制系统的应用场景示意图。设备控制系统100可以对目标设备的信息显示状态和控制权限进行管理。在一些实施例中,目标设备可以具有一个或以上的密码键盘的显示状态,具有控制权限的实体(用户或设备)可以控制其在不同的密码键盘的显示状态之间切换,例如,可以在控制指令中携带密码键盘显示指令,在对密码键盘显示指令进行验证并匹配到对应的密码键盘显示界面时,执行密码键盘显示状态切换。所述目标设备可以包括车辆、储物柜、电器设备、智能锁具、智能开关、电子设备、调节装置等需要输入密码信息进行控制的设备等。FIG. 1 is a schematic diagram of an application scenario of a device control system according to some embodiments of the present application. The device control system 100 can manage the information display state and control authority of the target device. In some embodiments, the target device may have one or more password keyboard display states, and an entity (user or device) with control authority may control it to switch between different password keyboard display states, for example, it may The instruction carries the password keyboard display instruction, and when the password keyboard display instruction is verified and matched to the corresponding password keyboard display interface, the password keyboard display state switching is performed. The target equipment may include equipment such as vehicles, lockers, electrical equipment, smart locks, smart switches, electronic equipment, adjustment devices, etc. that require input of password information for control.

设备控制系统100可以广泛应用于居民住宅、办公楼、厂区、学校、医院、酒店、出租房屋等各类生产、生活领域。如图1所述,设备控制系统至少包括服务器110、网络120、目标设备130和用户终端140.The equipment control system 100 can be widely used in various production and living fields such as residential houses, office buildings, factories, schools, hospitals, hotels, and rental houses. As shown in FIG. 1, the device control system includes at least a server 110, a network 120, a target device 130, and a user terminal 140.

服务器110可以处理与目标设备130控制有关的数据和/或信息以执行一个或多个本申请中描述的功能。在一些实施例中,服务器110可以包括一个或以上的处理器,以处理相关数据和/或信息。例如,服务器110可以获取与具有管理权限的用户相关联的用户终端140为目标设备130设置的密码键盘显示界面信息、预存储的密码信息和/或属性信息。所述属性信息可以指示对应的密码键盘显示界面信息和/或预存储的密码信息的有效时间、冻结状态、合法输入途径等。又例如,服务器110可以将预设的密码信息及属性信息发送至对应的目标设备130。又例如,服务器110可以通过网络120获取目标设备130的状态信息,并将状态信息发送给用户终端140,以便相关用户能够及时掌握目标设备130的工作情况。又例如,服务器110可以通过网络120获取目标设备130的当前密码键盘的显示界面信息,并将该信息发送给用户终端140,以便相关用户能够及时掌握目标设备130的密码键盘的显示状态,判断是否需要更换目标设备130的当前显示状态。在一些实施例中,服务器110还可以基于与请求对相应的目标设备130发送控制指令,以控制目标设备130完成相应的状态切换,如目标设备工作状态的切换和/或目标设备的密码键盘显示界面的切换。在一些实 施例中,服务器110可以是一个单个的服务器或者一个服务器组,所述服务器可以是集中式的或分布式的(例如,服务器110可以是一个分布式系统)。在一些实施例中,服务器110可以是本地或远程的。在一些实施例中,服务器110可以在一个云平台上实现(即,云服务器)。仅仅举个例子,所述云平台可以包括私有云、公有云、混合云、社区云、分布云、云之间、多重云等或上述举例的任意组合。在一些实施例中,服务器110可以在计算设备上实现。在一些实施例中,服务器110可以在移动设备上实现。在一些实施例中,服务器可以是设置在目标设备中的处理器。The server 110 may process data and/or information related to the control of the target device 130 to perform one or more functions described in this application. In some embodiments, the server 110 may include one or more processors to process related data and/or information. For example, the server 110 may acquire password keyboard display interface information, pre-stored password information, and/or attribute information set by the user terminal 140 associated with a user with management authority for the target device 130. The attribute information may indicate the corresponding password keyboard display interface information and/or the valid time, frozen state, legal input channel, etc. of the pre-stored password information. For another example, the server 110 may send preset password information and attribute information to the corresponding target device 130. For another example, the server 110 may acquire the status information of the target device 130 through the network 120 and send the status information to the user terminal 140, so that the relevant user can grasp the working status of the target device 130 in time. For another example, the server 110 may obtain the display interface information of the current password keyboard of the target device 130 through the network 120, and send the information to the user terminal 140, so that the relevant user can timely grasp the display state of the password keyboard of the target device 130, and determine whether The current display state of the target device 130 needs to be replaced. In some embodiments, the server 110 may also send a control instruction to the corresponding target device 130 based on the request to control the target device 130 to complete the corresponding state switching, such as the switching of the working state of the target device and/or the password keyboard display of the target device Interface switching. In some embodiments, the server 110 may be a single server or a server group, and the server may be centralized or distributed (e.g., the server 110 may be a distributed system). In some embodiments, the server 110 may be local or remote. In some embodiments, the server 110 may be implemented on a cloud platform (ie, cloud server). To give just one example, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, inter-cloud, multiple clouds, etc., or any combination of the above examples. In some embodiments, the server 110 may be implemented on a computing device. In some embodiments, the server 110 may be implemented on a mobile device. In some embodiments, the server may be a processor provided in the target device.

网络120可以用于信息和/或数据的交换。系统中的一个或多个部件(服务器110、目标设备130和用户终端140)之间可以通过网络120向其他部件发送信息/数据。在一些实施例中,网络120可以是有线网络或无线网络中的任意一种或其组合。例如,网络120可以包括电缆网络、有线网络、光纤网络、远程通信网络、内联网、互联网、局域网(Local Area Network,LAN)、广域网(Wide Area Network,WAN)、无线局域网(Wireless Local Area Networks,WLAN)、城域网(Metropolitan Area Network,MAN)、公共开关电话网络(Public Switched Telephone Network,PSTN)、通用分组无线服务(General Packet Radio Service,GPRS)网络、移动电话网络、蓝牙网络、ZigBee网络、近场通讯(Near Field Communication,NFC)网络、窄带物联网NB-IoT/LoRa等或上述举例的任意组合。在一些实施例中,网络120可以包括一个或多个网络接入点。例如,网络120可能包括有线或无线网络接入点,如基站和/或互联网交换点120-1、120-2等等。通过接入点,设备控制系统100的一个或多个部件可能连接到网络120以交换数据和/或信息。The network 120 may be used for the exchange of information and/or data. One or more components (server 110, target device 130, and user terminal 140) in the system can send information/data to other components through the network 120. In some embodiments, the network 120 may be any one or combination of wired or wireless networks. For example, the network 120 may include a cable network, a wired network, an optical fiber network, a long-distance communication network, an intranet, the Internet, a local area network (LAN), a wide area network (Wide Area Network, WAN), and a wireless local area network (Wireless Local Area Area Networks, WLAN), metropolitan area network (Metropolitan Area Network, MAN), public switched telephone network (Public Switched Telephone Network, PSTN), general packet radio service (General Packet Radio Service (GPRS) network, mobile phone network, Bluetooth network, ZigBee network , Near Field Communication (NFC) network, Narrowband Internet of Things NB-IoT/LoRa, etc. or any combination of the above examples. In some embodiments, the network 120 may include one or more network access points. For example, the network 120 may include wired or wireless network access points, such as base stations and/or Internet exchange points 120-1, 120-2, and so on. Through the access point, one or more components of the device control system 100 may be connected to the network 120 to exchange data and/or information.

目标设备130可以具有一个以上状态,可以基于指令在不同状态之间切换,该状态除了包括目标设备本身的状态还包括目标设备的密码键盘的显示状态。在一些实施例中,目标设备130的状态可以包括开启状态、关闭状态、休眠状态、工作状态等。例如,智能锁具、储物柜、智能开关、智能猫眼的状态可以包括开启状态和关闭状态;车辆、电器设备、调节装 置的状态可以包括开启状态、关闭状态、休眠状态、工作状态。在一些实施例中,目标设备130的状态还可以表征其某个应用的状态,如,电子设备的状态可以包括该支付状态、浏览状态、信息存储状态等。在一些实施例中,目标设备130页可以包括一个或多个处理器,以处理相关数据和/或信息。例如,目标设备130可以验证控制指令。在一些实施例中,控制指令可以包括密码键盘显示指令、密码信息等。目标设备130可以通过其密码键盘、图像获取装置、生物特征采集设备、语音采集装置等输入设备获取控制指令,并对控制指令进行验证,例如,通过采集用户的生物特征,对指令发出用户的权限进行验证,若验证结果为合法时,接收该用户输入的控制指令,完成与控制指令对应的状态切换。在一些实施例中,目标设备130本地存储有用于验证控制指令的密码信息(如,预存储的密码,控制指令携带的待验证密码信息可以为通过密码键盘显示界面接收到的密码信息)。在一些实施例中,目标设备130本地也可以存储有该目标设备对应的密码键盘显示模式以及与各个密码键盘显示模式相对应的密码键盘显示界面。在一些实施例中,需要通过密码键盘显示界面接收的面信息与显示模式以及预存储的密码均匹配时,确定密码信息对应的控制指令时合法的,目标设备130才会进行状态切换。例如,假如目标设备130包括智能门锁,当控制指令(即预存储的密码相对应的状态)用于指示该智能门锁由关闭状态切换至开启的状态。通过生成的密码键盘显示界面接收到的密码信息与显示模式以及预存储的密码相匹配,则证明该密码信息是合法的,即该控制指令合法,该智能门锁可以由关闭状态切换为开启状态。在一些实施例中,目标设备130中具有显示模块,该显示模块用于显示密码键盘的显示界面。在一种可能的实现方式中,目标设备130内置有该显示模块;另一种可能的实现方式中,目标设备130包括通过无线或有线方式连接的密码器和智能装置。该密码器用于显示密码键盘的显示界面,并且该密码器还用于采集用户输入的密码信息。在一些实施例中,可以通过密码器完成对密码信息的验证过程。例如,智能装置接收验证结果,根据验证结果控制设备状态切换,包括但不限于设备的解锁,锁定,上电工作,生成提醒 信息,警报信息,信息推送等。The target device 130 may have more than one state, and may switch between different states based on instructions. The state includes the display state of the target device's password keyboard in addition to the state of the target device itself. In some embodiments, the state of the target device 130 may include an on state, an off state, a sleep state, a working state, and the like. For example, the state of the smart lock, locker, smart switch, and smart cat's eye can include the open state and the closed state; the state of the vehicle, electrical equipment, and adjustment device can include the open state, the closed state, the sleep state, and the working state. In some embodiments, the status of the target device 130 may also characterize the status of an application, for example, the status of the electronic device may include the payment status, browsing status, information storage status, and so on. In some embodiments, the target device 130 page may include one or more processors to process related data and/or information. For example, the target device 130 may verify the control instruction. In some embodiments, the control instructions may include password keyboard display instructions, password information, and the like. The target device 130 can obtain control instructions through its password keyboard, image acquisition device, biometric collection device, voice collection device, and other input devices, and verify the control instructions, for example, by collecting the user's biometrics, the user's authority to issue the instruction Perform verification, and if the verification result is legal, receive the control command input by the user and complete the state switching corresponding to the control command. In some embodiments, the target device 130 locally stores the password information used to verify the control instruction (eg, a pre-stored password, and the password information to be verified carried by the control instruction may be the password information received through the password keyboard display interface). In some embodiments, the target device 130 may also locally store a password keyboard display mode corresponding to the target device and a password keyboard display interface corresponding to each password keyboard display mode. In some embodiments, when the face information received through the password keyboard display interface matches the display mode and the pre-stored password, it is determined that the control command corresponding to the password information is legal, and then the target device 130 performs state switching. For example, if the target device 130 includes a smart door lock, when a control command (ie, a state corresponding to a pre-stored password) is used to instruct the smart door lock to switch from a closed state to an open state. The password information received through the generated password keyboard display interface matches the display mode and the pre-stored password, which proves that the password information is legal, that is, the control instruction is legal, and the smart door lock can be switched from the closed state to the open state . In some embodiments, the target device 130 has a display module for displaying the display interface of the password keyboard. In one possible implementation, the target device 130 has the display module built in; in another possible implementation, the target device 130 includes a cipher and a smart device connected by wireless or wired means. The cipher is used to display the display interface of the password keyboard, and the cipher is also used to collect the password information input by the user. In some embodiments, the verification process of the password information may be completed by a cipher. For example, the smart device receives the verification result, and controls the device state switching according to the verification result, including but not limited to unlocking, locking, and powering up the device, generating reminder information, alarm information, and information push.

在一些实施例中,密码键盘的显示模式和预存储的密码可以是具有管理权限的用户(例如,目标设备130的拥有者,可以简称为管理员用户)预先设置的,并保存在目标设备130内部的。在一些实施例中,密码键盘的显示模式和预存储的密码可以预先由管理员用户保存于服务器110中,目标设备130可以定时与服务器110通信以获得所述密码键盘的显示模式和预存储的密码,并保存在本地。在一些实施例中,管理员用户还可以设置密码键盘的显示模式和预存储的密码的属性信息,以便目标设备130可以基于属性信息对密码信息进行验证,使得目标设备130的管理方式能够多样,更好满足用户的需求。在一些实施例中,密码键盘的显示模式和预存储的密码均可以有多个,每个显示模式以及对应的预存储的密码可以具有不同的属性信息,所述属性信息可以包括其对应的有效时间、无效状态、预警状态以及输入途径等。以便管理员用户可以设备不同属性的密码键盘的显示模式和预存储的密码,将其分配给不同权限的使用者。在一些实施例中,目标设备130还可以基于内置的算法生成一个或多个显示模式。在一些实施例中,用户终端140或服务器110通过编号来区别不同的目标设备130。在一些实施例中,目标设备130可以具有独立的通信模块。通信模块可以实现基于以上列举的网络中的任意一种网络或以上列举的网络的任意组合的通信功能。In some embodiments, the display mode of the password keyboard and the pre-stored password may be preset by a user with administrative authority (for example, the owner of the target device 130, which may be simply referred to as an administrator user), and stored in the target device 130 Internal. In some embodiments, the display mode of the password keyboard and the pre-stored password may be stored in the server 110 by the administrator user in advance, and the target device 130 may periodically communicate with the server 110 to obtain the display mode and the pre-stored password keyboard Password and save it locally. In some embodiments, the administrator user can also set the display mode of the password keyboard and the attribute information of the pre-stored password, so that the target device 130 can verify the password information based on the attribute information, so that the target device 130 can be managed in various ways. Better meet the needs of users. In some embodiments, there may be multiple display modes and pre-stored passwords for the password keyboard, each display mode and the corresponding pre-stored password may have different attribute information, and the attribute information may include its corresponding validity Time, invalid state, early warning state, and input channels, etc. So that the administrator user can assign the display mode of the password keyboard with different attributes and the pre-stored password to assign it to users with different permissions. In some embodiments, the target device 130 may also generate one or more display modes based on a built-in algorithm. In some embodiments, the user terminal 140 or the server 110 distinguishes different target devices 130 by number. In some embodiments, the target device 130 may have an independent communication module. The communication module may implement a communication function based on any one of the networks listed above or any combination of the networks listed above.

在一些实施例中,用户终端140可以包括但不限于智能手机140-1、平板电脑140-2、笔记本电脑140-3、台式电脑、个人数码助理(Personal Digital Assistance,PDA)、掌上游戏机、智能眼镜、智能手表、可穿戴设备、虚拟显示设备、显示增强设备等或其任意组合。用户终端140可以通过网络120与设备控制系统100中的其他设备进行数据交换。在一些实施例中,用户终端140可以是管理员用户的终端设备,其可以直接或间接(如,通过服务器)的与目标设备130通信。在一些实施例中,终端设备可以存储与目标设备130上类似的算法以产生一个或多个显示模式或者预存储的密码。同时,用户终端140可以向目标设备130发送同步生成指令,以指 示目标设备130通过利用其本地算法生成一个或多个显示模式以及对应的预存储密码和密码键盘显示界面。管理员用户关联的用户终端可以将其生成的上述信息分发给目标设备使用者,从而将目标设备的使用权限高效的分发给相关人员。管理员用户生成目标设备的某个状态的控制密码,可以将该控制密码通过管理员用户关联的用户终端发送给该目标设备的其他使用者,使得其他使用者可以通过该控制密码控制该目标设备进入对应的状态,实现了将目标设备的控制权限分发给相关人员的目的。例如,管理员用户可以将某个会议室的门锁密码发送给参加会议的会议人员,进而确定具有该会议室的使用权限的用户信息。使得对应的会议人员可以通过该门锁密码进入到该会议室。In some embodiments, the user terminal 140 may include, but is not limited to, a smartphone 140-1, a tablet computer 140-2, a notebook computer 140-3, a desktop computer, a personal digital assistant (Personal Digital Assistance, PDA), a handheld game console, Smart glasses, smart watches, wearable devices, virtual display devices, display enhancement devices, etc. or any combination thereof. The user terminal 140 can exchange data with other devices in the device control system 100 through the network 120. In some embodiments, the user terminal 140 may be a terminal device of an administrator user, which may directly or indirectly (eg, through a server) communicate with the target device 130. In some embodiments, the terminal device may store an algorithm similar to that on the target device 130 to generate one or more display modes or pre-stored passwords. At the same time, the user terminal 140 may send a synchronization generation instruction to the target device 130 to instruct the target device 130 to generate one or more display modes and corresponding pre-stored passwords and password keyboard display interfaces by using its local algorithm. The user terminal associated with the administrator user can distribute the above information generated by it to the user of the target device, thereby efficiently distributing the use authority of the target device to relevant personnel. The administrator user generates a control password for a certain state of the target device, and can send the control password to other users of the target device through the user terminal associated with the administrator user, so that other users can control the target device through the control password Entering the corresponding state realizes the purpose of distributing the control authority of the target device to relevant personnel. For example, an administrator user can send the door lock password of a meeting room to the meeting participants to determine the user information that has the authority to use the meeting room. The corresponding meeting personnel can enter the conference room through the door lock code.

在一些实施例中,管理员用户关联的用户终端还可以与服务器110通信,将预设的显示模式、密码键盘显示界面、预存储的密码信息保存于服务器110上。或者,用户终端140还可以向服务器110发送管理指令,以更新一个或多个上述信息的属性信息。在一些实施例中,用户终端140还可以直接或通过服务器110接收目标设备130的状态信息,以及时掌握目标设备130的状态。例如,可以查看其当前的密码键盘显示界面,也可以获得其当前的工作状态。In some embodiments, the user terminal associated with the administrator user may also communicate with the server 110, and save the preset display mode, the password keyboard display interface, and the pre-stored password information on the server 110. Alternatively, the user terminal 140 may also send a management instruction to the server 110 to update the attribute information of one or more of the above information. In some embodiments, the user terminal 140 may also receive the status information of the target device 130 directly or through the server 110 to timely grasp the status of the target device 130. For example, you can view its current password keyboard display interface, you can also get its current working status.

在一些实施例中,服务器110、目标设备120和用户终端140中都可以分别设置存储设备,也可以在系统100内单独设置独立的存储设备用于存储数据和/或指令。例如,服务器110可以由集成的存储器,也可以由独立设置的存储设备(如大数据服务器),此时服务器110可以通过网络120访问该存储设备。在一些实施例中,存储设备可以包括大容量存储器、可移动存储器、挥发性读写存储器、只读存储器(ROM)等或上述举例的任意组合。示例性的,大容量存储器可以包括磁盘、光盘、固态硬盘等。示例性的,可移动存储器可以包括闪存盘、软盘、光盘、记忆卡、压缩硬盘、磁带等。示例性的,挥发性只读存储器可以包括随机存储器(RAM)。示例性的,随机存储器可以包括动态随机存储器(DRAM)、双数据率同步动态随机存储器(DDRSDRAM)、静态随机存储器(SRAM)、可控硅随机存 储器(T-RAM)和零电容存储器(Z-RAM)等。示例性的,只读存储器可以包括掩蔽型只读存储器(MROM)、可编程只读存储器(PROM)、可擦除可编程只读存储器(EPROM)、电可擦除可编程只读存储器(EEPROM)、压缩硬盘只读存储器(CD-ROM)和数字多功能硬盘只读存储器等。在一些实施例中,存储设备还可以在一个云平台上实现。其中,该云平台可以类似于以上举例说明的云平台,在此不再赘述。In some embodiments, the server 110, the target device 120, and the user terminal 140 may each be provided with storage devices, or an independent storage device may be separately provided in the system 100 for storing data and/or instructions. For example, the server 110 may be an integrated memory, or may be a separately provided storage device (such as a big data server). In this case, the server 110 may access the storage device through the network 120. In some embodiments, the storage device may include mass storage, removable memory, volatile read-write memory, read-only memory (ROM), etc., or any combination of the above examples. Exemplarily, the mass storage may include a magnetic disk, an optical disk, a solid-state hard disk, and so on. Exemplarily, the removable memory may include a flash disk, a floppy disk, an optical disk, a memory card, a compact hard disk, a magnetic tape, and the like. Exemplarily, the volatile read-only memory may include random access memory (RAM). Exemplarily, the random access memory may include dynamic random access memory (DRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), static random access memory (SRAM), thyristor random access memory (T-RAM), and zero capacitance memory (Z- RAM) etc. Exemplarily, the read-only memory may include masked read-only memory (MROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM) ), compact hard disk read-only memory (CD-ROM) and digital multi-function hard disk read-only memory, etc. In some embodiments, the storage device may also be implemented on a cloud platform. The cloud platform may be similar to the cloud platform exemplified above, which will not be repeated here.

图2是根据本申请的一些实施例所示的一种设备控制方法示例性流程图。在一些实施例中,流程200中的一个或以上步骤可以在图1所示的设备控制系统100中实现。例如,流程200中的一个或以上步骤可以作为指令的形式存储在存储设备中,并被一个或多个处理器调用和/或执行。在一些实施例中,该一个或多个处理器可以是目标设备130中的处理器,因而流程200可以在目标设备130上实现。FIG. 2 is an exemplary flowchart of a device control method according to some embodiments of the present application. In some embodiments, one or more steps in the process 200 may be implemented in the device control system 100 shown in FIG. 1. For example, one or more steps in the process 200 may be stored in the storage device as instructions, and be called and/or executed by one or more processors. In some embodiments, the one or more processors may be processors in the target device 130, and thus the process 200 may be implemented on the target device 130.

S201、获取密码键盘显示指令。S201. Obtain a password keyboard display instruction.

密码键盘是针对目标设备130的键盘,其可以是一种触摸键盘,即通过密码键盘的显示界面展示该密码键盘。若要对目标设备的状态进行控制时,相应的目标设备需要先对用户的权限进行验证,即需要用户输入对应的密码信息。而在本申请实施例中的密码键盘可以不是实时显示的,也可以是针对不同的用户具有不同的显示模式。因此,需要先获取密码键盘的显示指令。该显示指令可以是与目标设备130进行通信的用户终端140发送的指令,也可以是通过目标设备130的触发区域接收密码键盘显示指令。该密码键盘显示指令用于指示进行密码键盘的显示。The password keyboard is a keyboard for the target device 130, which may be a touch keyboard, that is, the password keyboard is displayed through a display interface of the password keyboard. To control the state of the target device, the corresponding target device needs to verify the user's authority, that is, the user needs to enter the corresponding password information. The password keyboard in the embodiment of the present application may not be displayed in real time, or may have different display modes for different users. Therefore, it is necessary to obtain the display instructions of the password keyboard first. The display instruction may be an instruction sent by the user terminal 140 communicating with the target device 130, or may be a password keyboard display instruction received through the trigger area of the target device 130. The password keyboard display instruction is used to instruct the display of the password keyboard.

S202、依据所述显示指令对应的显示模式在目标设备上生成密码键盘显示界面。S202. Generate a password keyboard display interface on the target device according to the display mode corresponding to the display instruction.

在本申请实施例中提供的密码键盘显示模式,主要是基于接收到的显示指令确定的。即目标设备可以有一种默认的密码键盘显示模式,当接收到显示指令可以进行显示模式的切换,也可以不存储默认显示模式,直接根据接收到的显示指令来确定显示模式。The display mode of the password keyboard provided in the embodiment of the present application is mainly determined based on the received display instruction. That is, the target device may have a default password keyboard display mode. When a display command is received, the display mode may be switched, or the default display mode may not be stored, and the display mode may be directly determined according to the received display command.

具体的,根据目标设备的功能需求和硬件结构不同,接收密码键盘的 显示指令可以有不同的方式,可以通过与目标设备连接的设备进行接收,也可以通过智能设备的相应区域进行接收。即显示指令对应的生成模式包括以下一种:Specifically, depending on the functional requirements and hardware structure of the target device, there are different ways to receive the display instructions of the password keyboard, either through the device connected to the target device or through the corresponding area of the smart device. That is, the generation mode corresponding to the display instruction includes one of the following:

响应于目标设备的显示界面或密码键盘的触摸信号,生成显示指令;In response to the touch signal of the display interface of the target device or the password keyboard, a display instruction is generated;

响应于与所述目标设备的密码键盘相匹配的触发区域的触发信号,生成显示指令;Generating a display instruction in response to the trigger signal of the trigger area matching the password keyboard of the target device;

依据服务端或者用户终端发送的指令,获得显示指令。Obtain the display instruction according to the instruction sent by the server or the user terminal.

在一些实施例中目标设备的显示界面或密码键盘是可触摸结构,即用户可以通过触摸显示界面或者密码键盘输入对应的指令或者信息,此时,在目标设备的显示界面或密码键盘接收到用户的触摸信号后,其对应的处理器会响应于该触摸信号,生成显示指令。In some embodiments, the display interface or the password keyboard of the target device is a touchable structure, that is, the user can input corresponding instructions or information by touching the display interface or the password keyboard, and at this time, the user is received on the display interface or the password keyboard of the target device After the touch signal, the corresponding processor will generate a display instruction in response to the touch signal.

在一些实施例中,目标设备的密码键盘有相匹配的触发区域,如,触发按键或者触控区域。需要说明的是该触发区域可以表征对显示指令的接收,即当用户触发该触发区域时,会在目标设备上显示对应的密码键盘,或者目标设备由智能装置和密码器组成时,则在智能装置连接的密码器上显示对应的密码键盘。即当触发区域接收到用户的触发指令后,目标设备的处理器会响应于该触发指令,生成显示指令,以使得其显示对应的密码键盘。In some embodiments, the password keyboard of the target device has a matching trigger area, such as a trigger key or a touch area. It should be noted that the trigger area can represent the reception of the display instruction, that is, when the user triggers the trigger area, the corresponding password keyboard will be displayed on the target device, or if the target device is composed of an intelligent device and a cipher, then the smart The corresponding password keyboard is displayed on the cipher connected to the device. That is, when the trigger area receives the user's trigger instruction, the processor of the target device generates a display instruction in response to the trigger instruction, so that it displays the corresponding password keyboard.

在一些实施例中,目标设备与用户终端进行通信,目标设备可以接收用户发送的指令,获得显示指令。对应的用户发送的指令可以为显示指令,也可以为能够解析出显示指令的信息。例如,用户发送开锁指令,则开锁之前为了验证用户的权限,需要其输入密码信息,即需要显示对应的密码键盘以便获得其输入信息,则可以通过该开锁指令,生成显示指令。In some embodiments, the target device communicates with the user terminal, and the target device may receive the instruction sent by the user and obtain the display instruction. The instruction sent by the corresponding user may be a display instruction, or may be information that can parse the display instruction. For example, if a user sends an unlocking instruction, in order to verify the user's authority before unlocking, he needs to input password information, that is, a corresponding password keyboard needs to be displayed to obtain his input information, and the unlocking instruction can be used to generate a display instruction.

例如,若目标设备与用户终端进行通讯连接,则接收用户终端发送的密码键盘显示指令,依据该密码键盘显示指令,确定显示指令对应的显示模式。该用户终端可以为与该目标设备进行连接的用户设备,即用户通过该用户终端与目标设备进行通讯数据的交互。For example, if the target device is in communication with the user terminal, the password keyboard display instruction sent by the user terminal is received, and the display mode corresponding to the display instruction is determined according to the password keyboard display instruction. The user terminal may be a user device connected to the target device, that is, a user performs communication data interaction with the target device through the user terminal.

若目标设备包括触发区域,则通过触发区域接收的触发信号,生成显 示指令。依据显示指令确定与显示指令对应的显示模式。其中,该触发区域可以为实体按键,即在目标设备上设置一个密码键盘显示模式切换按键,触发该按键,则可以使得密码键盘的显示模式进行切换;对应的,该触发区域也可以为一个感应区域,例如,触控区域,根据识别用户的输入轨迹来确定显示模式,可以设置一个特定的滑动轨迹来代表相应的显示模式;也可以为红外感应区域,即可以识别用户的手势,例如,用户可以通过设置一个切换手势来实现显示模式的切换。If the target device includes a trigger area, the trigger signal received in the trigger area generates a display instruction. The display mode corresponding to the display instruction is determined according to the display instruction. The trigger area can be a physical key, that is, a password keyboard display mode switching button is set on the target device, and the key can be triggered to switch the display mode of the password keyboard; correspondingly, the trigger area can also be a sensor The area, for example, the touch area, determines the display mode according to the input trajectory of the recognized user. A specific sliding trajectory can be set to represent the corresponding display mode; it can also be an infrared sensing area, which can recognize the user's gesture, for example, the user The display mode can be switched by setting a switching gesture.

在本申请实施例中的显示模式可以为用户自定义设置的多个显示模式,也可以为智能设备提供给用户的可以进行选择的多个显示模式。该显示模式可以根据密码键盘中需要显示的标识的顺序进行设置,也可以根据显示的标识的内容进行设备,其中,待显示标识表征该密码键盘中的显示内容,例如可以为数字、特殊符号,也可以为简单的图形或图标,如三角形、五角星,或者根据设定的密码键盘的显示外观皮肤生成的各种小图标等。The display mode in the embodiment of the present application may be a plurality of display modes set by the user, or a plurality of display modes that can be selected by the smart device and provided to the user. The display mode can be set according to the order of the logos to be displayed in the password keyboard, or the device can be configured according to the content of the displayed logo, where the logo to be displayed represents the display content in the password keyboard, for example, it can be numbers, special symbols, It can also be a simple figure or icon, such as a triangle, a five-pointed star, or various small icons generated according to the display appearance of the set password keyboard.

其中,所述目标显示界面至少包括两个与所述显示模式相匹配的显示标识。与普通密码键盘相似的是,在本申请实施例中依据密码键盘生成的显示界面中也会包括若干个待选择的标识,如数字1-9,或者一些字母和特殊字符。但是,与普通密码键盘不同的是,这些标识并不是按固定的显示模式或者显示顺序进行排列的,即其可以根据不同的显示指令进行不同的显示。Wherein, the target display interface includes at least two display marks matching the display mode. Similar to the ordinary password keyboard, the display interface generated according to the password keyboard in the embodiment of the present application may also include several identifiers to be selected, such as numbers 1-9, or some letters and special characters. However, unlike ordinary password keyboards, these signs are not arranged in a fixed display mode or display order, that is, they can be displayed differently according to different display instructions.

S203、获取输入至所述密码键盘显示界面中的密码信息,并依据所述显示模式和预存储的密码对所述密码信息进行验证,若验证成功,则执行S204;S203: Obtain the password information input into the display interface of the password keyboard, and verify the password information according to the display mode and the pre-stored password. If the verification is successful, execute S204;

S204、控制所述目标设备进入与所述预存储的密码相匹配的目标状态。S204. Control the target device to enter a target state that matches the pre-stored password.

当目标显示界面在目标设备的密码输入界面中进行显示时,用户可以在该目标显示界面中选择标识,即输入密码信息。当接收到用户在当前密码键盘中输入的密码信息的时候,除了根据用户预设的正确密码(即预存 储的密码)进行验证外,还需要根据对应的显示模式进行目标信息提取才能获得准确的验证结果。在一些实施例中,因为不同的显示模式对信息的验证方式可能不同,例如,在顺序显示模式中,由于在密码键盘的显示界面中每个显示标识的位置时固定的,则可以只根据密码信息的输入顺序判断其与正确密码中标识的顺序是否相同即可。而对应于乱序显示模式时,需要先根据显示模式,确定每个显示标识的顺序和代表的数字或者字母,然后接收用户输入的密码信息,按照密码信息的输入顺序,确定密码信息中对应的标识以及顺序,然后与正确密码进行验证。When the target display interface is displayed in the password input interface of the target device, the user can select an identifier in the target display interface, that is, enter the password information. When receiving the password information entered by the user in the current password keyboard, in addition to verifying the correct password preset by the user (that is, the pre-stored password), the target information needs to be extracted according to the corresponding display mode to obtain accurate Validation results. In some embodiments, because different display modes may verify information in different ways, for example, in the sequential display mode, since the position of each display logo in the display interface of the password keyboard is fixed at the time, only the password may be used. The order of inputting information can be judged whether it is the same as the order marked in the correct password. When corresponding to the out-of-order display mode, it is necessary to determine the sequence of each display logo and the number or letter represented according to the display mode, and then receive the password information input by the user, and determine the corresponding password information according to the input order of the password information. Identification and sequence, and then verify with the correct password.

只有验证成功,才会控制目标设备进入与预存储的密码相匹配的目标状态。即用户可以通过设置不同的密码来实现目标设备的不同状态,如通过设置密码1可以显示文件夹A,通过设置密码2可以显示文件夹A的具体内容。又例如,目标设备为智能锁,若密码C对应的智能锁的状态为解锁状态,密码D对应的智能锁的状态为反锁状态。则若获得的密码信息与密码C验证匹配,则控制智能锁解锁;若获得的密码信息与密码D验证匹配,则控制智能锁反锁。Only if the verification is successful, will the target device be controlled to enter the target state that matches the pre-stored password. That is, the user can set different passwords to achieve different states of the target device. For example, by setting the password 1, the folder A can be displayed, and by setting the password 2, the specific contents of the folder A can be displayed. For another example, the target device is a smart lock, if the state of the smart lock corresponding to the password C is the unlocked state, and the state of the smart lock corresponding to the password D is the anti-lock state. Then, if the obtained password information matches the verification of the password C, the smart lock is controlled to be unlocked; if the obtained password information matches the verification of the password D, the smart lock is controlled to be unlocked.

应当注意的是,上述有关流程200的描述仅仅是为了实例和说明,而不限定本申请的适用范围。对于本领域技术人员来说,在本申请的指导下可以对流程200进行各种修正和改变。然而,这些修正和改变仍在本申请的范围之内。本实施例通过生成与显示指令对应的密码键盘显示界面,然后获取输入至密码键盘显示界面中的密码信息,依据显示模式和预存储的密码对密码信息进行验证,可以实现对目标设备进入与预存储的密码相匹配的目标状态的控制,满足了用户对密码键盘不同的显示需求,对输入密码的安全性的要求。It should be noted that the above description of the process 200 is only for example and explanation, and does not limit the scope of application of the present application. For those skilled in the art, various modifications and changes can be made to the process 200 under the guidance of this application. However, these amendments and changes are still within the scope of this application. In this embodiment, the password keyboard display interface corresponding to the display instruction is generated, and then the password information input into the password keyboard display interface is obtained, and the password information is verified according to the display mode and the pre-stored password. The control of the target state that matches the stored password meets the user's different display requirements for the password keyboard and the security requirements for entering the password.

需要说明的是,在本申请实施例中显示模式可以包括顺序显示模式、倒序显示模式和乱序显示模式等。其中,顺序显示模式表征密码键盘显示界面中的标识是通过一定顺序排列的,如“1,2,3”这种数字递增的顺序;倒序显示模式可以表征密码键盘显示界面中的标识是通过倒序的排列方式进行排列的,如“3,2,1”这种数字递减的模式;乱序显示模式表征密码 键盘显示界面中的标识没有显示规律,是随机的顺序。如“1,3,2”的模式。It should be noted that, in the embodiments of the present application, the display mode may include an order display mode, a reverse order display mode, and an out-of-order display mode. Among them, the sequential display mode characterizes that the logos on the password keyboard display interface are arranged in a certain order, such as "1, 2, 3" in the order of increasing numbers; the reverse display mode can characterize the logos on the password keyboard display interface through the reverse order The arrangement mode is arranged, such as "3, 2, 1" this kind of number decreasing mode; the out-of-order display mode indicates that the logo on the display interface of the password keyboard has no display rule and is a random order. Such as "1, 3, 2" mode.

在一些实施例中,当显示模式包括乱序显示模式时,可以基于乱序显示模式,生成所述密码键盘的目标显示界面。所述目标显示界面至少包括两个乱序显示的显示标识。In some embodiments, when the display mode includes the out-of-order display mode, the target display interface of the password keyboard may be generated based on the out-of-order display mode. The target display interface includes at least two display indicators displayed out of order.

需要说明的是,乱序是指与现有技术中密码键盘的正常顺序不同的显示方式,即密码键盘中显示的标识没有一定的规律可以遵循,可以理解为其是随机显示的。例如,通常现有技术中是“1,2,3”的顺序进行显示的,而本申请中的乱序可以为“2,3,1”。It should be noted that the disordered order refers to a display mode different from the normal order of the password keyboard in the prior art, that is, the logo displayed on the password keyboard has no certain rules to follow, and it can be understood that it is displayed randomly. For example, in the prior art, the order is displayed in the order of “1,2,3”, and the disorder in the present application may be “2,3,1”.

例如,为了保护智能设备使用的安全性,通常设置目标设备开启的密码,用户需要输入该密码才能够使得目标设备开启,这时需要利用目标设备提供的密码键盘进行密码输入。以密码键盘中的待显示字符包括0-9共10个数字,再加上“*”、“#”2个功能按键,共12个按键为例,其中,这些按键的形态与智能设备的功能对应,可以为实体按键也可以虚拟按键,例如,触屏按键。这些按键的排列形式通常为一种顺序排列方式。如图3所示,在图3中展示了现有智能门锁密码键盘的方案,使用12个物理按键或者电容触摸按键组合成3*4的矩阵密码键盘,这种方案中,每个按键的位置是固定的,这样数字也只能按照固定的顺序排列。这种数字排列显示模式容易被破解,安全性较差。For example, in order to protect the security of the use of smart devices, a password for turning on the target device is usually set. The user needs to input the password to enable the target device to turn on. In this case, the password keyboard provided by the target device needs to be used for password input. Take the characters to be displayed in the password keyboard including 10 numbers from 0-9, plus 2 function keys of "*" and "#", and a total of 12 keys as an example. Among them, the shape of these keys and the function of the smart device Correspondingly, it can be a physical key or a virtual key, for example, a touch screen key. The arrangement of these buttons is usually a sequential arrangement. As shown in Fig. 3, the existing smart door lock password keyboard solution is shown in Fig. 3, which uses 12 physical keys or capacitive touch keys to form a 3*4 matrix password keyboard. In this solution, each key The position is fixed so that the numbers can only be arranged in a fixed order. This digital arrangement display mode is easy to be cracked and has poor security.

在一些实施例中,另一实施例中显示指令包括乱序显示指令,则对应的该方法中的显示步骤为:依据乱序显示模式对密码键盘中的数字进行显示,即由于目标设备默认的数字显示方式为图3中的顺序显示,当接收到乱序显示指令后,目标设备随机打乱0-9这10个数字的排列顺序,然后在密码键盘中进行显示,如图4所示。此时,用户进行密码输入时是按照该乱序显示的密码键盘输入对应的密码数字,若该智能设备为智能门锁,可以防止外人站在用户背后通过记住用户的输入位置,猜测出用户的密码。In some embodiments, in another embodiment, the display instruction includes an out-of-order display instruction, the corresponding display step in the method is: displaying the numbers in the password keyboard according to the out-of-order display mode, that is, because the target device defaults The digital display mode is the sequential display in FIG. 3. After receiving the out-of-order display instruction, the target device randomly disrupts the arrangement order of the 10 digits 0-9, and then displays it in the password keyboard, as shown in FIG. 4. At this time, when the user enters the password, the corresponding password number is entered according to the password keyboard displayed in disorder. If the smart device is a smart door lock, it can prevent outsiders from standing behind the user and guessing the user by remembering the user's input position. Password.

同时可以设置目标设备密码显示方式的周期,即多长时间换一次数字排列方式,若为了使得安全级别更高,则可以通过每次开锁时换一次数字 显示方式,这样即使密码键盘上会有汗渍残留物、物理磨损等痕迹,外人也无法通过这些进行密码破解。At the same time, you can set the period of the password display mode of the target device, that is, how often to change the number arrangement, if you want to make the security level higher, you can change the number display mode every time you unlock, so that even if there is sweat on the password keyboard Residuals, physical wear and other traces can not be used by outsiders to crack passwords.

本申请一些实施例提供了一种智能设备控制方法,以实现服务器110、目标设备130和/或用户终端140之间的数据通信。图5是根据本申请的一些实施例所示的目标设备控制方法的示例性流程图。在一些实施例中,流程300中的一个或以上步骤可以在图1所示的智能设备控制系统100中实现。例如,流程300中的一个或以上步骤可以作为指令的形式存储在存储设备中,并被一个或多个处理器调用和/或执行。在一些实施例中,该一个或多个处理器可以是智能设备130中的处理器,因而流程300可以在智能设备130上实现。Some embodiments of the present application provide an intelligent device control method to implement data communication between the server 110, the target device 130, and/or the user terminal 140. FIG. 5 is an exemplary flowchart of a target device control method according to some embodiments of the present application. In some embodiments, one or more steps in the process 300 may be implemented in the smart device control system 100 shown in FIG. 1. For example, one or more steps in the process 300 may be stored in the storage device as instructions, and be called and/or executed by one or more processors. In some embodiments, the one or more processors may be processors in the smart device 130, and thus the process 300 may be implemented on the smart device 130.

若当前显示指令为乱序显示或者自定义显示,该流程300实现时则可以先判断该目标设备是否存储有当前用户对应的目标显示模式。If the current display instruction is out-of-order display or custom display, when the process 300 is implemented, it may first be determined whether the target device stores the target display mode corresponding to the current user.

S301、获取密码键盘乱序显示指令;S301: Obtain the password keyboard out-of-order display instructions;

在一些实施例中密码键盘的乱序显示指令可以表征对密码键盘中显示的标识的乱序排列的显示指令。在一些实施例中,密码键盘乱序显示指令可以包括请求对目标设备130的状态控制指令,即该密码键盘乱序显示指令并不是获得的直接的显示指令,而是在关联的控制指令中获取的。例如,当前操作者(如,访客)在目标设备上需要进行密码信息的输入,即其会产生一个目标设备的状态控制指令,则此时对应的目标设备130会根据该状态控制指令,获取到密码键盘乱序显示指令。在一些实施例中,若智能锁的用户需要进行开锁,即其会生成一个开锁指令,将开锁指令发送至智能锁,智能锁的处理器会以及该开锁指令生成密码键盘乱序显示指令,使得后续能够基于该密码键盘显示指令,生成对应的密码键盘的显示界面。In some embodiments, the out-of-order display instructions of the password keyboard may represent the out-of-order display instructions of the identifiers displayed in the password keyboard. In some embodiments, the password keyboard out-of-order display instruction may include requesting a state control instruction to the target device 130, that is, the password keyboard out-of-order display instruction is not a direct display instruction obtained, but is obtained in an associated control instruction of. For example, if the current operator (for example, a visitor) needs to input password information on the target device, that is, it will generate a state control command of the target device, then the corresponding target device 130 will obtain The password keyboard displays the commands out of order. In some embodiments, if the user of the smart lock needs to unlock, it will generate an unlock command and send the unlock command to the smart lock, and the processor of the smart lock and the unlock command will generate a password keyboard out-of-order display command, so that Subsequently, a display interface of the corresponding password keyboard can be generated based on the password keyboard display instruction.

S302、基于所述乱序显示指令,查找是否存储有与所述目标设备当前用户对应的乱序显示模式匹配的目标显示模式,如果存在,则执行S303,否则执行S304;S302. Based on the out-of-order display instruction, find whether a target display mode matching the out-of-order display mode corresponding to the current user of the target device is stored. If it exists, execute S303, otherwise execute S304;

S303、按照所述目标显示模式生成所述密码键盘的目标显示界面;S303. Generate a target display interface of the password keyboard according to the target display mode;

S304、按照预设的乱序显示模式生成所述密码键盘的目标显示界面。S304. Generate a target display interface of the password keyboard according to a preset out-of-order display mode.

为了保证用户能够快速输入密码,允许用户按照自己预定义的显示模式进行密码键盘中待显示字符的显示,例如用户可以自行确定数字的排列方式,也可以通过目标设备提供的备选方案确定目标显示方式,然后在目标设备的密码键盘中进行显示。若用户之前并未确定目标显示方式,则目标设备会按照系统预设的显示方式进行数字显示,如目标设备随机进行数字排列后显示。In order to ensure that the user can quickly enter the password, the user is allowed to display the characters to be displayed in the password keyboard according to the predefined display mode of the user, for example, the user can determine the arrangement of the numbers by himself, or can determine the target display through the alternative provided by the target device Mode, and then displayed in the password keyboard of the target device. If the user has not determined the target display mode before, the target device will perform digital display according to the system-preset display mode, for example, the target device will randomly display the numbers and display them.

对应的,如果不存在所述匹配的目标显示模式,生成目标显示模式设置提示信息;所述提示信息用于提示所述目标设备的当前用于设置与所述乱序显示模式对应的目标显示模式。其中,所述提示信息用于提示所述智能设备的当前用户确定与乱序显示模式对应的目标显示方式。Correspondingly, if the matching target display mode does not exist, the target display mode setting prompt information is generated; the prompt information is used to prompt the current use of the target device to set the target display mode corresponding to the out-of-order display mode . The prompt information is used to prompt the current user of the smart device to determine the target display mode corresponding to the out-of-order display mode.

当目标设备接收到乱序显示指令时,目标设备会通过查找存储芯片中发现并未加载与当前用户对应的目标显示模式,则会生成提示信息,若该目标设备与客户端进行连接,可以将该提示信息发送至客户端,然后客户端的显示界面会显示该提示信息,提示该客户端的用户确定一种乱序显示方式,或者自定义一种乱序显示方式,这样该显示方式为用户与目标设备之间的显示方式;也可以将该提示信息直接显示在目标设备上来提醒当前用户设置对应的目标显示模式。当目标设备以此显示方式进行待显示显示的时候,用户可以快速找到要输入的密码位置,进一步减少他人偷窥密码输入的时间,提高密码输入的安全性。When the target device receives the out-of-order display instruction, the target device will find that the target display mode corresponding to the current user is not loaded by searching the memory chip, and then it will generate a prompt message. If the target device is connected to the client, you can use The prompt information is sent to the client, and then the display interface of the client will display the prompt information, prompting the user of the client to determine an out-of-order display mode, or customize an out-of-order display mode, so that the display mode is the user and the target The display mode between devices; the prompt information can also be displayed directly on the target device to remind the current user to set the corresponding target display mode. When the target device is to be displayed in this display mode, the user can quickly find the location of the password to be input, further reducing the time for others to peep into the password input, and improving the security of the password input.

举例说明,为了保护智能设备使用的安全性,通常设置目标设备开启的密码,用户需要输入该密码才能够使得目标设备开启,这时需要利用目标设备提供的密码键盘进行密码输入。以密码键盘中的待显示字符包括0-9共10个数字,再加上“*”、“#”2个功能按键,共12个按键为例,其中,这些按键的形态与智能设备的功能对应,可以为实体按键也可以虚拟按键,例如,触屏按键。这些按键的排列形式通常为一种顺序排列方式。如图3所示,在图3中展示了现有智能门锁密码键盘的方案,使用12个物理按键或者电容触摸按键组合成3*4的矩阵密码键盘,这种方案中,每个按键 的位置是固定的,这样数字也只能按照固定的顺序排列。For example, in order to protect the security of the smart device, a password for turning on the target device is usually set. The user needs to enter the password to enable the target device to turn on. In this case, the password keyboard provided by the target device needs to be used for password input. Take the characters to be displayed in the password keyboard including 10 numbers from 0-9, plus 2 function keys of "*" and "#", and a total of 12 keys as an example. Among them, the shape of these keys and the function of the smart device Correspondingly, it can be a physical key or a virtual key, for example, a touch screen key. The arrangement of these buttons is usually a sequential arrangement. As shown in Fig. 3, the existing smart door lock password keyboard solution is shown in Fig. 3, which uses 12 physical keys or capacitive touch keys to form a 3*4 matrix password keyboard. In this solution, each key The position is fixed so that the numbers can only be arranged in a fixed order.

而在本申请实施例中,当存储有与目标设备当前用户对应的乱序显示模式匹配的目标显示模式时,会利用如图4显示的密码键盘显示界面作为对应的目标模式的目标显示界面。若没有存储有其对应的目标显示模式,也可以依据图4的乱序显示方式自定义或者产生默认的乱序显示界面。In the embodiment of the present application, when the target display mode matching the out-of-order display mode corresponding to the current user of the target device is stored, the password keyboard display interface shown in FIG. 4 is used as the target display interface of the corresponding target mode. If the corresponding target display mode is not stored, it can also be customized according to the out-of-order display mode of FIG. 4 or generate a default out-of-order display interface.

应当注意的是,上述有关流程300的描述仅仅是为了实例和说明,而不限定本申请的适用范围。对于本领域技术人员来说,在本申请的指导下可以对流程300进行各种修正和改变。然后,这些修正和改变仍在本申请的范围之内。It should be noted that the above description of the process 300 is only for example and explanation, and does not limit the scope of application of the present application. For those skilled in the art, various modifications and changes can be made to the process 300 under the guidance of this application. However, these amendments and changes are still within the scope of this application.

在一些实施例中对于密码键盘乱序显示界面中的标识的生成方式可以有多种,例如,将标识随机添加至密码键盘中的任一标识位置,也可以按照预设的乱序方式进行添加。参见图1所述的系统,该方法可以封装成算法存储在服务器110或者目标设备130中,以使得服务器110或者目标设备130运行时能够生成对应的密码键盘的显示界面。图6位根据本申请一些实施例所示的设备控制方法的示例性流程图,其具体可以为密码键盘乱序显示方法的流程示意图;在一些实施例中图6中对应的流程中的一个或以上步骤可以在图1所示的设备控制系统100中实现。例如,图6对应的流程中的一个或以上步骤可以作为指令的形式存储在存储设备中,并被一个或多个处理器调用和/或执行。在一些实施例中,该一个或多个处理器可以是智能设备130中的处理器,因而图6对应的流程可以在目标设备130上实现。该流程:In some embodiments, there may be multiple ways to generate the logo on the out-of-order display interface of the password keyboard. For example, the logo may be randomly added to any position of the logo in the password keyboard, or may be added in a preset out-of-order manner. . Referring to the system described in FIG. 1, the method may be encapsulated as an algorithm and stored in the server 110 or the target device 130, so that the server 110 or the target device 130 can generate a corresponding password keyboard display interface when running. 6 is an exemplary flowchart of a device control method according to some embodiments of the present application, which may specifically be a schematic flowchart of a password keyboard out-of-order display method; in some embodiments, one of the corresponding processes in FIG. 6 or The above steps can be implemented in the device control system 100 shown in FIG. 1. For example, one or more steps in the process corresponding to FIG. 6 may be stored in the storage device as instructions, and be called and/or executed by one or more processors. In some embodiments, the one or more processors may be processors in the smart device 130, and thus the process corresponding to FIG. 6 may be implemented on the target device 130. The process:

S401、创建与所述密码键盘中显示矩阵匹配的数组。S401. Create an array that matches the display matrix in the password keyboard.

首先要保证创建的数组与密码键盘的显示矩阵相同,例如,密码键盘中显示矩阵为3*4矩阵,则创建的数组也应该为3*4的矩阵格式。First, make sure that the created array is the same as the display matrix of the password keyboard. For example, if the display matrix in the password keyboard is a 3*4 matrix, the created array should also be in a 3*4 matrix format.

S402、将各个待显示标识随机添加至所述数组中,得到待显示数组。S402. Randomly add each identifier to be displayed to the array to obtain an array to be displayed.

将待显示标识随机添加至生成的数组中,以待显示标识为数字对该乱序显示算法进行说明,创建数组NUM[10]用来存储生成的[0-9]数字的乱序数组;从0-9的未选中数字中随机选中一个数字N,把N填充到NUM乱 序数组中,同时把N从0-9中标识成已选中;重复上述过程,直到0-9中的所有数字都被填充到NUM乱序数组中为止。Randomly add the ID to be displayed to the generated array, and use the ID to be displayed as a number to explain the out-of-order display algorithm, and create an array NUM[10] to store the generated out-of-order array of [0-9] numbers; Randomly select a number N from 0-9 unselected numbers, fill N into the NUM out-of-order array, and mark N from 0-9 as selected; repeat the above process until all numbers in 0-9 are It is filled up to the NUM out of order array.

S403、将所述待显示数组在所述密码键盘中进行显示,获得所述密码键盘的目标显示界面。S403: Display the array to be displayed in the password keyboard to obtain a target display interface of the password keyboard.

当数组被所有待显示字符填充完整后得到待显示数组,然后将待显示数组在密码键盘中进行显示,以获得密码键盘的目标显示界面。即将上述填充完数字的数组NUM[10]对应的密码键盘作为目标显示界面在对应的显示区域进行显示。When the array is filled with all the characters to be displayed, the array to be displayed is obtained, and then the array to be displayed is displayed in the password keyboard to obtain the target display interface of the password keyboard. That is, the password keyboard corresponding to the array NUM[10] filled with numbers is displayed in the corresponding display area as the target display interface.

在本申请实施例中还包括了一种密码验证方法的流程,该流程中的一个或以上步骤可以在图1所示的智能设备控制系统100中实现。例如,该密码验证方法的流程中的一个或以上步骤可以作为指令的形式存储在存储设备中,并被一个或多个处理器调用和/或执行。在一些实施例中,该一个或多个处理器可以是目标设备130中的处理器,因而该流程可以在目标设备130上实现。具体的该流程包括:The embodiment of the present application further includes a flow of a password verification method, and one or more steps in the flow may be implemented in the intelligent device control system 100 shown in FIG. 1. For example, one or more steps in the flow of the password verification method may be stored in the storage device as instructions, and may be called and/or executed by one or more processors. In some embodiments, the one or more processors may be processors in the target device 130, and thus the process may be implemented on the target device 130. The specific process includes:

逐一记录目标显示界面上被触发的按键的按键序号;Record the key sequence number of the key that is triggered on the target display interface one by one;

从所述显示模式对应的数组中查询获得该按键序号对应的目标标识;Querying the array corresponding to the display mode to obtain the target identifier corresponding to the key sequence number;

将所述每个目标标识与预存储的密码中对应的标识信息进行验证,若每个所述目标标识与所述预存储的密码中的标识信息完全匹配,则验证成功。Verifying each target identification and corresponding identification information in the pre-stored password, and if each target identification completely matches the identification information in the pre-stored password, the verification is successful.

可以通过目标设备130逐渐记录目标显示界面上被触发的按键的按键序号,然后通过目标设备130在其存储器,或者服务器110对应的存储器上查找到预存储的密码。然后目标设备130将每个目标标识与预存储的密码进行验证,若完全匹配,则验证成功。目标设备130可以输出验证成功的信息,也可以执行与验证成功对应的控制状态。The target device 130 may gradually record the key sequence number of the triggered key on the target display interface, and then the target device 130 may find the pre-stored password on its memory, or the memory corresponding to the server 110. Then, the target device 130 verifies each target identification with the pre-stored password, and if they match completely, the verification is successful. The target device 130 can output information that the verification is successful, and can also execute the control state corresponding to the verification success.

举例说明,使用乱序算法生成数组NUM[10],并根据乱序数组的顺序生成密码键盘的界面;记录用户按下的密码键盘的按键序号[i],并从乱序数组NUM[10]中查询出该按键序号代表的真实数字NUM[i],把该真实数 字传入到密码验证模块中与预设解锁密码进行验证,该验证过程可以每次只验证一个用户输入的密码标识,若当前用户输入的密码标识验证成功,则重复上述过程对用户输入的下一个密码标识进行验证,若按输入顺序进行验证时,每个密码标识均验证成功,则获得验证成功的结果,若在验证过程中某个密码标识验证失败,则不会对该密码标识之后的密码标识再进行验证,直接输出验证失败的相关信息。For example, use the out-of-order algorithm to generate the array NUM[10], and generate the interface of the password keyboard according to the order of the out-of-order array; record the key sequence number [i] of the password keyboard pressed by the user, and select the out-of-order array NUM[10] The real number NUM[i] represented by the key sequence number is queried out, and the real number is passed into the password verification module to verify with the preset unlock password. The verification process can verify only one password ID entered by the user at a time. If the password ID entered by the current user is successfully verified, repeat the above process to verify the next password ID entered by the user. If the password is verified in the order entered, each password ID is successfully verified, and a successful verification result is obtained. If the verification of a password ID fails during the process, the password ID after the password ID will not be verified, and the relevant information about the verification failure will be output directly.

在一些实施例中,也可以将下述方法对应的流程作为指令存储在目标设备130或者服务器110中,以便目标设备或者服务器执行对应的验证过程时进行调用和/或执行。即另一种进行验证的流程包括:In some embodiments, the flow corresponding to the method described below may also be stored as an instruction in the target device 130 or the server 110, so that the target device or server can be invoked and/or executed when performing the corresponding verification process. That is, another verification process includes:

将预设解锁密码与所述显示模式对应的密码键盘上的数字进行匹配,确定所述预设解码密码中各个数字对应的目标输入顺序;Matching the preset unlock password with the number on the password keyboard corresponding to the display mode, and determining the target input sequence corresponding to each number in the preset decoding password;

判断所述密码信息中各个数字是否与预设解锁密码中各个数字相同,若相同,则逐个判断每个数字对应的输入顺序是否与该数字对应的目标输入顺序一致,若每个数字对应的输入顺序均与目标输入顺序一致,则验证成功。Judge whether each digit in the password information is the same as each digit in the preset unlock password, if it is the same, then judge one by one whether the input sequence corresponding to each digit is consistent with the target input sequence corresponding to the digit, if the input corresponding to each digit If the order is consistent with the target input order, the verification is successful.

在上述实施方式中介绍了验证成功的处理流程。对应的,在本申请的一些实施例中还提供了一种针对用户输入的密码信息进行验证时,若验证不成功对应的处理流程,该验证不成功的处理流程中的一个或以上步骤可以在图1所示的设备系统100中实现。例如,验证不成功的处理流程中的一个或以上步骤可以作为指令的形式存储在存储设备中,并被一个或多个处理器调用和/或执行。在一些实施例中,该一个或多个处理器可以是目标设备130中的处理器,因而该流程可以在目标设备130上实现。该流程可以包括以下步骤:In the above-mentioned embodiment, the process flow for successful verification is introduced. Correspondingly, in some embodiments of the present application, there is also provided a process for verifying the password information input by the user, if the verification is unsuccessful, one or more steps in the process of unsuccessful verification may be in The device system 100 shown in FIG. 1 is implemented. For example, one or more steps in a process flow that fails verification may be stored in the storage device in the form of instructions and called and/or executed by one or more processors. In some embodiments, the one or more processors may be processors in the target device 130, and thus the process may be implemented on the target device 130. The process can include the following steps:

若验证不成功,控制所述目标设备维持原状态,并生成提示信息;所述提示信息包括密码错误的信息;If the verification is unsuccessful, control the target device to maintain the original state and generate a prompt message; the prompt message includes information about a wrong password;

若验证不成功,且对应的验证次数超过次数阈值,生成警报信息,将所述警报信息发送至预设目的终端。If the verification is unsuccessful, and the corresponding verification times exceed the threshold number of times, alarm information is generated, and the alarm information is sent to the preset destination terminal.

对于验证不成功时,首先要保持目标设备的当前状态不发生改变,例 如,目标设备为智能锁,则不进行开锁的状态。When the verification is unsuccessful, the current state of the target device must be kept unchanged. For example, if the target device is a smart lock, the unlock state will not be performed.

可以是服务器110对密码信息进行验证,若验证不成功,服务器110生成设备状态维持指令,并将该指令发送给目标设备130,使得目标设备130维持原状态。同时服务器110也可以生成对应的提示信息,用于提示目标设备130当前用户其输入的密码信息错误,或者可以是无法达到对应的控制状态的信息。另一种实现方式中,也可以是目标设备130进行验证,在验证不成功时,并控制其本身保持原状态,输出对应的提示密码信息错误的提示信息。The server 110 may verify the password information. If the verification is unsuccessful, the server 110 generates a device state maintenance instruction and sends the instruction to the target device 130, so that the target device 130 maintains the original state. At the same time, the server 110 may also generate corresponding prompt information for prompting the target device 130 that the current user input password information is wrong, or may be information that the corresponding control state cannot be reached. In another implementation manner, the target device 130 may perform verification, and when verification is unsuccessful, control itself to maintain the original state, and output corresponding prompt information indicating that the password information is wrong.

对应的,若验证次数超过阈值,服务器110或者目标设备130也可以生成警报信息,来提示输入的信息不能够控制该智能设备解锁,对应的,警报信息可以发送至目的端,该目的端来表征能够对智能设备进行监控的用户或设备,进一步保证智能设备的安全性。具体的,可以在在验证不成功后生成预警信息,也可以是在验证一定次数后都不成功时,生成预警信息,可以避免用户误输入造成的预警。Correspondingly, if the number of verifications exceeds the threshold, the server 110 or the target device 130 can also generate an alarm message to prompt that the input information cannot control the unlocking of the smart device. Correspondingly, the alarm message can be sent to the destination, which characterizes Users or devices that can monitor smart devices further ensure the security of smart devices. Specifically, the warning information may be generated after the verification is unsuccessful, or the warning information may be generated when the verification is unsuccessful after a certain number of times to avoid the warning caused by the user's incorrect input.

例如,参见图1提供的设备控制系统,当用户终端140与目标设备130进行通讯连接时,可以将密码键盘按照确定的显示模式,显示在该用户终端140上。目标设备130可以调用如下流程,将密码键盘显示在用户终端上,并接收用户终端输入的密码信息,以及对密码信息的验证。该流程包括:For example, referring to the device control system provided in FIG. 1, when the user terminal 140 communicates with the target device 130, the password keyboard may be displayed on the user terminal 140 according to the determined display mode. The target device 130 may call the following process to display the password keyboard on the user terminal, and receive the password information input by the user terminal and verify the password information. The process includes:

依据所述显示模式对密码键盘中的待显示标识进行显示,并将显示后的密码键盘呈现在所述客户端的显示界面上;Displaying the logo to be displayed in the password keyboard according to the display mode, and presenting the displayed password keyboard on the display interface of the client;

响应于所述客户端将接收到用户在所述密码键盘上输入的密码信息发送至所述智能设备,基于所述显示模式和预设解锁密码对所述密码信息进行验证,若验证成功,则控制所述智能设备解锁。In response to the client sending the received password information entered by the user on the password keyboard to the smart device, the password information is verified based on the display mode and the preset unlock password, and if the verification is successful, then Controlling the smart device to unlock.

实现了用户可以基于当前使用的用户终端140进行密码键盘的显示并输入对应的密码信息,实现了用用户终端140进行目标设备130解锁控制的便捷性,从而提高了目标设备130解锁的安全性。The user can display the password keyboard based on the currently used user terminal 140 and input the corresponding password information, thereby realizing the convenience of using the user terminal 140 to unlock the target device 130, thereby improving the security of the target device 130 unlocking.

下面根据具体的应用场景对上述实施例进行说明,以目标设备对应的 智能设备为智能终端为例进行说明,该智能设备的初始状态为熄屏状态,解锁后的目标状态为可进行触控操作的状态,需要通过输入密码,且密码正确后才能从初始状态到达目标状态。The following describes the above embodiments according to specific application scenarios, taking the smart device corresponding to the target device as a smart terminal as an example for description. The initial state of the smart device is the screen off state, and the unlocked target state is that touch operation is possible State, you need to enter the password and the password is correct to reach the target state from the initial state.

该智能终端的侧面设置一个触控按键,该触控按键的功能是实现密码键盘的显示模式切换,智能终端的密码键盘的默认显示模式为对密码键盘中的数字进行顺序显示,当用户拨动该触控按键时,则指示该智能终端切换至乱序显示模式,然后智能终端在显示密码键盘的同时,对密码键盘中的数字进行乱序排列,然后接收用户输入的密码信息,并依据该乱序顺序和用户输入的密码的数字和各个输入数字的顺序进行验证,若验证成功,则解锁该智能终端,用户可以进行后续的输入。A touch button is provided on the side of the smart terminal. The function of the touch button is to switch the display mode of the password keyboard. The default display mode of the password keyboard of the smart terminal is to sequentially display the numbers in the password keyboard when the user dials When the touch button is pressed, the smart terminal is instructed to switch to the out-of-order display mode, and then the smart terminal displays the password keyboard while arranging the numbers in the password keyboard out of order, and then receives the password information input by the user, and according to the The out-of-sequence order and the number of the password input by the user and the order of each input number are verified. If the verification is successful, the smart terminal is unlocked and the user can perform subsequent input.

并且,智能终端可以提供给用户一些可以选择的乱序模式,用户可以从中确定一个目标显示模式,作为自己的乱序显示模式,从而提高输入密码的速度,并且实现了个性化的安全设置。In addition, the smart terminal can provide the user with a selectable out-of-order mode, from which the user can determine a target display mode as his own out-of-order display mode, thereby increasing the speed of entering the password and realizing personalized security settings.

应当注意的是,上述有关流程的描述仅仅是为了示例和说明,而不限定本申请的适用范围。对于本领域技术人员来说,在本申请的指导下可以对流程进行各种修正和改变。然而,这些修正和改变仍在本申请的范围之内。It should be noted that the above description of the relevant flow is only for illustration and explanation, and does not limit the scope of application of the present application. For those skilled in the art, various modifications and changes can be made to the process under the guidance of this application. However, these amendments and changes are still within the scope of this application.

图7是根据本申请的一些实施例所示的一种智能设备的控制方法的示例性流程图。该方法应用于智能设备。7 is an exemplary flowchart of a method for controlling a smart device according to some embodiments of the present application. This method is applied to smart devices.

S501、响应于接收到的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式;S501. In response to the received password keyboard display instruction, determine the display mode corresponding to the display instruction according to the password keyboard display instruction;

S502、依据所述显示模式对密码键盘中的待显示标识进行显示。S502. Display the logo to be displayed in the password keyboard according to the display mode.

在申请实施例中提供的密码键盘显示模式,主要是基于接收到的显示指令确定的。即智能设备可以有一种默认的密码键盘显示模式,当接收到显示指令可以进行显示模式的切换,也可以不存储默认显示模式,直接根据接收到的显示指令来确定显示模式。The display mode of the password keyboard provided in the embodiment of the application is mainly determined based on the received display instruction. That is, the smart device may have a default password keyboard display mode. When a display command is received, the display mode may be switched, or the default display mode may not be stored, and the display mode may be directly determined according to the received display command.

具体的,根据智能设备的功能需求和硬件结构不同,接收密码键盘的显示指令可以有不同的方式,可以通过与智能设备连接的设备进行接收, 也可以通过智能设备的相应区域进行接收。Specifically, according to the functional requirements of the smart device and the hardware structure, there are different ways to receive the display command of the password keyboard, which can be received through the device connected to the smart device or through the corresponding area of the smart device.

例如,若智能设备与客户端进行通讯连接,则接收客户端发送的密码键盘显示指令,依据该密码键盘显示指令,确定显示指令对应的显示模式。该客户端可以为与该智能设备进行连接的用户设备,即用户通过该客户端与智能设备进行通讯数据的交互。For example, if the smart device communicates with the client, the password keyboard display instruction sent by the client is received, and according to the password keyboard display instruction, the display mode corresponding to the display instruction is determined. The client may be a user device connected to the smart device, that is, the user interacts with the smart device through the client to communicate data.

若智能设备包括触发区域,则通过触发区域接收密码显示指令;依据显示指令确定与显示指令对应的显示模式。其中,该触发区域可以为实体按键,即在智能设备上设置一个密码键盘显示模式切换按键,触发该按键,则可以使得密码键盘的显示模式进行切换;对应的,该触发区域也可以为一个感应区域,例如,触控区域,根据识别用户的输入轨迹来确定显示模式,可以设置一个特定的滑动轨迹来代表相应的显示模式;也可以为红外感应区域,即可以识别用户的手势,例如,用户可以通过设置一个切换手势来实现显示模式的切换。If the smart device includes a trigger area, the password display instruction is received through the trigger area; the display mode corresponding to the display instruction is determined according to the display instruction. Among them, the trigger area can be a physical key, that is, a password keyboard display mode switching button is set on the smart device, and the key can be triggered to switch the display mode of the password keyboard; correspondingly, the trigger area can also be a sensor The area, for example, the touch area, determines the display mode according to the user’s input trajectory. A specific sliding trajectory can be set to represent the corresponding display mode; it can also be an infrared sensing area, which can recognize the user’s gesture, for example, the user The display mode can be switched by setting a switching gesture.

在本发明实施例中的显示模式可以为用户自定义设置的多个显示模式,也可以为智能设备提供给用户的可以进行选择的多个显示模式。该显示模式可以根据密码键盘中需要显示的标识的顺序进行设置,也可以根据显示的标识的内容进行设备,其中,待显示标识表征该密码键盘中的显示内容,例如可以为数字、特殊符号,也可以为简单的图形或图标,如三角形、五角星,或者根据设定的密码键盘的显示外观皮肤生成的各种小图标等。The display mode in the embodiment of the present invention may be a plurality of display modes defined by the user, or a plurality of display modes that can be selected by the smart device and provided to the user. The display mode can be set according to the order of the logos to be displayed in the password keyboard, or the device can be configured according to the content of the displayed logo, where the logo to be displayed represents the display content in the password keyboard, for example, it can be numbers, special symbols, It can also be a simple figure or icon, such as a triangle, a five-pointed star, or various small icons generated according to the display appearance of the set password keyboard.

在本发明的另一实施例中显示模式包括乱序显示模式,对应的步骤可以为:In another embodiment of the present invention, the display mode includes an out-of-order display mode, and the corresponding steps may be:

依据乱序显示模式对密码键盘中的待显示标识进行显示。Display the logo to be displayed in the password keyboard according to the out-of-order display mode.

即将待显示标识进行随机显示,而不是按默认显示模式中的顺序显示。That is, the logos to be displayed will be displayed randomly instead of being displayed in the order in the default display mode.

例如,为了保护智能设备使用的安全性,通常设置智能设备开启的密码,用户需要输入该密码才能够使得智能设备开启,这时需要利用智能设备提供的密码键盘进行密码输入。以密码键盘中的待显示字符包括0-9共 10个数字,再加上“*”、“#”2个功能按键,共12个按键为例,其中,这些按键的形态与智能设备的功能对应,可以为实体按键也可以虚拟按键,例如,触屏按键。这些按键的排列形式通常为一种顺序排列方式。如图3所示,在图3中展示了现有智能门锁密码键盘的方案,使用12个物理按键或者电容触摸按键组合成3*4的矩阵密码键盘,这种方案中,每个按键的位置是固定的,这样数字也只能按照固定的顺序排列。这种数字排列显示模式容易被破解,安全性较差。For example, in order to protect the security of the smart device, a password for turning on the smart device is usually set. The user needs to enter the password to enable the smart device to turn on. In this case, the password keyboard provided by the smart device needs to be used for password input. Take the characters to be displayed in the password keyboard including 10 numbers from 0-9, plus 2 function keys of "*" and "#", and a total of 12 keys as an example. Among them, the shape of these keys and the function of the smart device Correspondingly, it can be a physical key or a virtual key, for example, a touch screen key. The arrangement of these buttons is usually a sequential arrangement. As shown in Fig. 3, the existing smart door lock password keyboard solution is shown in Fig. 3, which uses 12 physical keys or capacitive touch keys to form a 3*4 matrix password keyboard. In this solution, each key The position is fixed so that the numbers can only be arranged in a fixed order. This digital arrangement display mode is easy to be cracked and has poor security.

对应的,在本发明另一实施例中显示指令包括乱序显示制定,则对应的该方法中的显示步骤为:依据乱序显示模式对密码键盘中的数字进行显示,即由于智能设备默认的数字显示方式为图3中的顺序显示,当接收到乱序显示指令后,智能设备随机打乱0-9这10个数字的排列顺序,然后在密码键盘中进行显示,如图4所示。此时,用户进行密码输入时是按照该乱序显示的密码键盘输入对应的密码数字,若该智能设备为智能门锁,可以防止外人站在用户背后通过记住用户的输入位置,猜测出用户的密码。Correspondingly, in another embodiment of the present invention, the display instruction includes out-of-order display formulation, and the corresponding display step in the method is: display the numbers in the password keyboard according to the out-of-order display mode, that is, due to the default of the smart device The digital display mode is the sequential display in FIG. 3. After receiving the out-of-order display instruction, the smart device randomly disrupts the arrangement order of the 10 digits 0-9, and then displays it in the password keyboard, as shown in FIG. 4. At this time, when the user enters the password, the corresponding password number is entered according to the password keyboard displayed in disorder. If the smart device is a smart door lock, it can prevent outsiders from standing behind the user and guessing the user by remembering the user's input position. Password.

同时可以设置智能设备密码显示方式的周期,即多长时间换一次数字排列方式,若为了使得安全级别更高,则可以通过每次开锁时换一次数字显示方式,这样即使密码键盘上会有汗渍残留物、物理磨损等痕迹,外人也无法通过这些进行密码破解。At the same time, you can set the period of the smart device password display mode, that is, how often to change the number arrangement, if you want to make the security level higher, you can change the number display mode every time you unlock, so that even if there is sweat on the password keyboard Residuals, physical wear and other traces can not be used by outsiders to crack passwords.

若当前显示指令为乱序显示或者自定义显示,则可以先判断该智能设备是否存储有与当前用户对应的目标显示模式。即该过程包括:If the current display instruction is out-of-order display or custom display, you can first determine whether the smart device stores the target display mode corresponding to the current user. That is, the process includes:

判断是否记载有与智能设备当前用户对应的乱序显示模式匹配的目标显示方式;Determine whether the target display mode matching the out-of-order display mode corresponding to the current user of the smart device is recorded;

如果是,则按照所述目标显示方式将待显示标识在密码键盘中进行显示;If yes, display the logo to be displayed on the password keyboard according to the target display mode;

如果否,则按照预设乱序显示方式将待显示标识在密码键盘中进行显示。If not, the logo to be displayed is displayed on the password keyboard according to the preset random display mode.

为了保证用户能够快速输入密码,允许用户按照自己预定义的显示模 式进行密码键盘中待显示字符的显示,例如用户可以自行确定数字的排列方式,也可以通过智能设备提供的备选方案确定目标显示方式,然后在智能设备的密码键盘中进行显示。若用户之前并未确定目标显示方式,则智能设备会按照系统预设的显示方式进行数字显示,即智能设备随机进行数字排列后显示。In order to ensure that the user can quickly enter the password, the user is allowed to display the characters to be displayed in the password keyboard according to the predefined display mode of the user, for example, the user can determine the arrangement of the numbers by himself, or can determine the target display through the alternative provided by the smart device Mode, and then displayed in the password keyboard of the smart device. If the user has not determined the target display mode before, the smart device will perform digital display according to the preset display mode of the system, that is, the smart device randomly arranges the numbers and displays them.

对应的,若没有记载与智能设备当前用户对应的乱序显示模式匹配的目标显示方式,则生成乱序显示模式对应的提示信息,其中,所述提示信息用于提示所述智能设备的当前用户确定与乱序显示模式对应的目标显示方式。Correspondingly, if the target display mode matching the out-of-order display mode corresponding to the current user of the smart device is not recorded, the prompt information corresponding to the out-of-order display mode is generated, wherein the prompt information is used to alert the current user of the smart device Determine the target display mode corresponding to the out-of-order display mode.

当智能设备接收到乱序显示指令时,智能设备会通过查找存储芯片中发现并未加载与当前用户对应的目标显示模式,则会生成提示信息,若该智能设备与客户端进行连接,可以将该提示信息发送至客户端,然后客户端的显示界面会显示该提示信息,提示该客户端的用户确定一种乱序显示方式,或者自定义一种乱序显示方式,这样该显示方式为用户与智能设备之间的显示方式;也可以将该提示信息直接显示在智能设备上来提醒当前用户设置对应的目标显示模式。当智能设备以此显示方式进行待显示显示的时候,用户可以快速找到要输入的密码位置,进一步减少他人偷窥密码输入的时间,提高密码输入的安全性。When the smart device receives the out-of-order display instruction, the smart device will find that the target display mode corresponding to the current user is not loaded by searching the memory chip, and it will generate a prompt message. If the smart device is connected to the client, you can use The prompt information is sent to the client, and then the display interface of the client will display the prompt information, prompting the user of the client to determine an out-of-order display mode, or customize a out-of-order display mode, so that the display mode is user and smart The display mode between devices; the prompt information can also be displayed directly on the smart device to remind the current user to set the corresponding target display mode. When the smart device performs the to-be-displayed display in this display mode, the user can quickly find the location of the password to be input, further reducing the time for others to spy on the password input, and improving the security of the password input.

对应的,在本申请明的另一实施例中还提供了一种密码键盘乱序显示方法,该方法包括:Correspondingly, in another embodiment disclosed in this application, a method for displaying the password keyboard out of order is also provided. The method includes:

创建与密码键盘中显示矩阵匹配的数组;Create an array that matches the display matrix in the password keyboard;

将各个待显示标识随机添加至数组中,获得待显示数据;Randomly add each identifier to be displayed to the array to obtain the data to be displayed;

将待显示数据在密码键盘中进行显示。Display the data to be displayed on the password keyboard.

首先要保证创建的数组与密码键盘的显示矩阵相同,然后将待显示标识随机添加至生成的数组中,以待显示标识为数字对该乱序显示算法进行说明,创建数组NUM[10]用来存储生成的[0-9]数字的乱序数组;从0-9的未选中数字中随机选中一个数字N,把N填充到NUM乱序数组中,同时 把N从0-9中标识成已选中;重复上述过程,直到0-9中的所有数字都被填充到NUM乱序数组中为止。First, make sure that the created array is the same as the display matrix of the password keyboard, then randomly add the logo to be displayed to the generated array, and use the logo to be displayed as a number to explain the out-of-order display algorithm. Create array NUM[10] to Store the generated out-of-order array of [0-9] numbers; randomly select a number N from 0-9 unselected numbers, fill N into the NUM out-of-order array, and mark N from 0-9 as already Selected; repeat the above process until all numbers in 0-9 are filled into the NUM out-of-order array.

S503、接收用户在显示的密码键盘中输入的密码信息,并根据显示模式和预设解锁密码对密码信息进行验证,若验证成功,则控制智能设备解锁。S503. Receive the password information entered by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset unlock password. If the verification is successful, the smart device is controlled to unlock.

当接收到用户在当前密码键盘中输入的密码信息的时候,除了根据用户预设的解锁密码进行验证外,还需要根据对应的显示模式进行目标信息提取才能获得准确的验证结果。When receiving the password information entered by the user in the current password keyboard, in addition to the verification according to the unlock password preset by the user, the target information needs to be extracted according to the corresponding display mode to obtain accurate verification results.

在本发明实施例中还提供了一种密码验证方法,包括:An embodiment of the present invention also provides a password verification method, including:

逐一记录用户按下密码键盘的按键序号,并从当前密码键盘对应的数组中查询获得该按键序号对应的目标标识;One by one record the key sequence number of the user pressing the password keyboard, and query from the array corresponding to the current password keyboard to obtain the target ID corresponding to the key sequence number;

将每个所述目标标识与预设解锁密码中对应的标识信息进行验证,若每个目标标识与预设解码密码中的标识信息完全匹配,则验证成功。Each of the target identification and the corresponding identification information in the preset unlock password is verified, and if each target identification completely matches the identification information in the preset decoding password, the verification is successful.

即该过程为:使用乱序算法生成数组NUM[10],并根据乱序数组的顺序生成密码键盘的界面;记录用户按下的密码键盘的按键序号[i],并从乱序数组NUM[10]中查询出该按键序号代表的真实数字NUM[i],把该真实数字传入到密码验证模块中与预设解锁密码进行验证,该验证过程可以每次只验证一个用户输入的密码标识,若当前用户输入的密码标识验证成功,则重复上述过程对用户输入的下一个密码标识进行验证,若按输入顺序进行验证时,每个密码标识均验证成功,则获得验证成功的结果,若在验证过程中某个密码标识验证失败,则不会对该密码标识之后的密码标识再进行验证,直接输出验证失败的相关信息。That is, the process is: use the out-of-order algorithm to generate the array NUM[10], and generate the interface of the password keyboard according to the order of the out-of-order array; record the key sequence number [i] of the password keyboard that the user presses, and select the array NUM[ 10] The real number NUM[i] represented by the key sequence number is queried, and the real number is passed into the password verification module to verify with the preset unlock password. The verification process can verify only one password ID entered by the user at a time If the password ID entered by the current user is successfully verified, repeat the above process to verify the next password ID entered by the user. If the password is verified in the order of input, each password ID is successfully verified, and the result of successful verification is obtained. During the verification process, if a password ID fails to be verified, the password ID after the password ID will not be verified again, and the relevant information about the verification failure is directly output.

该验证过程还可以为:The verification process can also be:

将预设解锁密码与所述显示模式对应的密码键盘上的数字进行匹配,确定所述预设解码密码中各个数字对应的目标输入顺序;Matching the preset unlock password with the number on the password keyboard corresponding to the display mode, and determining the target input sequence corresponding to each number in the preset decoding password;

判断所述密码信息中各个数字是否与预设解锁密码中各个数字相同,若相同,则逐个判断每个数字对应的输入顺序是否与该数字对应的目标输 入顺序一致,若每个数字对应的输入顺序均与目标输入顺序一致,则验证成功。Judge whether each digit in the password information is the same as each digit in the preset unlock password, if it is the same, then judge one by one whether the input sequence corresponding to each digit is consistent with the target input sequence corresponding to the digit, if the input corresponding to each digit If the order is consistent with the target input order, the verification is successful.

本申请提供的智能设备解锁方法,响应于接收到的密码键盘显示指令,可以根据该显示指令获得对应的显示模式,从而根据该显示模式对密码键盘中的待显示标识进行显示,可见在本发明实施例提供的密码键盘的显示模式可以包括多种,与用户的选择有关,最后根据用户在当前密码键盘中输入的密码信息进行验证,若验证成功,则控制对智能设备的解锁。即能够在智能设备的密码键盘实现自定义的显示模式,使得用户通过对应显示模式的密码键盘进行密码输入的时的个性化程度更高,解决了输入密码易被窃取的问题。The method for unlocking a smart device provided in this application, in response to a received password keyboard display instruction, can obtain a corresponding display mode according to the display instruction, so that the logo to be displayed in the password keyboard is displayed according to the display mode, which can be seen in the present invention The display mode of the password keyboard provided in the embodiment may include multiple types, which are related to the user's selection, and finally are verified according to the password information entered by the user in the current password keyboard. If the verification is successful, the unlocking of the smart device is controlled. That is, a custom display mode can be implemented on the password keyboard of the smart device, which makes the user more personalized when entering the password through the password keyboard corresponding to the display mode, and solves the problem that the input password is easily stolen.

在本申请的另一实施例中还提供了一种针对用户输入的密码信息进行验证时,若验证不成功对应的处理方式:In another embodiment of the present application, there is also provided a processing method for verifying the password information input by the user if the verification is unsuccessful:

响应于对输入的密码信息验证不成功,则控制所述智能设备维持当前状态,和/或生成预警信息。In response to the unsuccessful verification of the input password information, the smart device is controlled to maintain the current state and/or generate warning information.

一方面,对于验证不成功时,首先要保持智能设备的当前状态不发生改变,例如,不进行开锁等。另一方面,可以生成预警信息,来提示输入的信息不能够控制该智能设备解锁,对应的,预警信息可以发送至目的端,该目的端来表征能够对智能设备进行监控的用户或设备,进一步保证智能设备的安全性。On the one hand, when the verification is unsuccessful, the current state of the smart device must be kept unchanged, for example, without unlocking. On the other hand, warning information can be generated to prompt that the input information cannot control the unlocking of the smart device. Correspondingly, the warning information can be sent to the destination, which characterizes the user or device that can monitor the smart device. Ensure the security of smart devices.

当客户端与智能设备进行通讯连接时,可以将密码键盘按照确定的显示模式,显示在该客户端上。即:When the client communicates with the smart device, the password keyboard can be displayed on the client according to the determined display mode. which is:

依据所述显示模式对密码键盘中的待显示标识进行显示,并将显示后的密码键盘呈现在所述客户端的显示界面上;Displaying the logo to be displayed in the password keyboard according to the display mode, and presenting the displayed password keyboard on the display interface of the client;

响应于所述客户端将接收到用户在所述密码键盘上输入的密码信息发送至所述智能设备,基于所述显示模式和预设解锁密码对所述密码信息进行验证,若验证成功,则控制所述智能设备解锁。In response to the client sending the received password information entered by the user on the password keyboard to the smart device, the password information is verified based on the display mode and the preset unlock password, and if the verification is successful, then Controlling the smart device to unlock.

实现了用户可以基于当前使用的客户端进行密码键盘的显示并输入对 应的密码信息,实现了用客户端进行智能设备解锁控制的便捷性,从而提高了智能设备解锁的安全性。The user can display the password keyboard based on the currently used client and input the corresponding password information, and realize the convenience of using the client to control the unlocking of the smart device, thereby improving the security of unlocking the smart device.

下面根据具体的应用场景对上述实施例进行说明,以智能设备为智能终端为例进行说明,该智能设备的初始状态为熄屏状态,解锁后的目标状态为可进行触控操作的状态,需要通过输入密码,且密码正确后才能从初始状态到达目标状态。The following describes the above embodiments according to specific application scenarios, taking a smart device as a smart terminal as an example for description. The initial state of the smart device is the screen off state, and the unlocked target state is a state where touch operation can be performed. By entering the password, and the password is correct, you can reach the target state from the initial state.

该智能终端的侧面设置一个触控按键,该触控按键的功能是实现密码键盘的显示模式切换,智能终端的密码键盘的默认显示模式为对密码键盘中的数字进行顺序显示,当用户拨动该触控按键时,则指示该智能终端切换至乱序显示模式,然后智能终端在显示密码键盘的同时,对密码键盘中的数字进行乱序排列,然后接收用户输入的密码信息,并依据该乱序顺序和用户输入的密码的数字和各个输入数字的顺序进行验证,若验证成功,则解锁该智能终端,用户可以进行后续的输入。A touch button is provided on the side of the smart terminal. The function of the touch button is to switch the display mode of the password keyboard. The default display mode of the password keyboard of the smart terminal is to sequentially display the numbers in the password keyboard when the user dials When the touch button is pressed, the smart terminal is instructed to switch to the out-of-order display mode, and then the smart terminal displays the password keyboard while arranging the numbers in the password keyboard out of order, and then receives the password information input by the user, and according to the The out-of-sequence order and the number of the password input by the user and the order of each input number are verified. If the verification is successful, the smart terminal is unlocked and the user can perform subsequent input.

并且,智能终端可以提供给用户一些可以选择的乱序模式,用户可以从中确定一个目标显示模式,作为自己的乱序显示模式,从而提高输入密码的速度,并且实现了个性化的安全设置。In addition, the smart terminal can provide the user with a selectable out-of-order mode, from which the user can determine a target display mode as his own out-of-order display mode, thereby increasing the speed of entering the password and realizing personalized security settings.

在本申请实施例中还提供了一种控制方法,该方法应用于智能门锁,参见图8,该方法包括:A control method is also provided in an embodiment of the present application. The method is applied to an intelligent door lock. Referring to FIG. 8, the method includes:

S601、响应于接收到的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式;S601. In response to the received password keyboard display instruction, determine the display mode corresponding to the display instruction according to the password keyboard display instruction;

S602、依据所述显示模式对密码键盘中的待显示标识进行显示;S602: Display the logo to be displayed in the password keyboard according to the display mode;

S603、接收用户在显示的密码键盘中输入的密码信息,并根据所述显示模式和预设的智能门锁开锁密码对所述密码信息进行验证,若验证成功,则控制所述智能门锁开锁。S603: Receive the password information entered by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset smart door lock unlock password, and if the verification is successful, control the smart door lock to unlock .

在本发明实施例中提供的密码键盘显示模式,主要是基于智能门锁接收到的显示指令确定的。即智能门锁可以有一种默认的密码键盘显示模式, 当接收到显示指令可以进行显示模式的切换,也可以不存储默认显示模式,直接根据接收到的显示指令来确定显示模式。The display mode of the password keyboard provided in the embodiment of the present invention is mainly determined based on the display instruction received by the smart door lock. That is, the smart door lock may have a default password keyboard display mode. When a display command is received, the display mode may be switched, or the default display mode may not be stored, and the display mode may be directly determined according to the received display command.

具体的,根据智能门锁的功能需求和硬件结构不同,接收密码键盘的显示指令可以有不同的方式,可以通过与智能门锁连接的设备进行接收,也可以通过智能门锁的相应区域进行接收。Specifically, according to the functional requirements and hardware structure of the smart door lock, there are different ways to receive the display instructions of the password keyboard, which can be received through the device connected to the smart door lock, or through the corresponding area of the smart door lock .

例如,若智能门锁包括通讯单元,通过该通讯单元与客户端进行通讯连接,则依据该通讯单元接收客户端发送的密码键盘显示指令,依据该密码键盘显示指令,确定显示指令对应的显示模式。该客户端可以为与该智能设备进行连接的用户设备,即用户通过该客户端与智能设备进行通讯数据的交互,例如,客户端对应的设备可以为手机、平板电脑、或者具有通讯功能的手表等。For example, if the smart door lock includes a communication unit through which the communication unit communicates with the client, the password keyboard display instruction sent by the client is received according to the communication unit, and the display mode corresponding to the display instruction is determined according to the password keyboard display instruction . The client may be a user device connected to the smart device, that is, the user interacts with the smart device through the client to communicate data. For example, the device corresponding to the client may be a mobile phone, a tablet computer, or a watch with a communication function Wait.

若智能门锁包括触发单元,则通过触发单元设定的触发区域接收密码显示指令;依据显示指令确定与显示指令对应的显示模式。其中,该触发区域可以为实体按键,即在智能设备上设置一个密码键盘显示模式切换按键,触发该按键,则可以使得密码键盘的显示模式进行切换;对应的,该触发区域也可以为一个感应区域,例如,触控区域,根据识别用户的输入轨迹来确定显示模式,可以设置一个特定的滑动轨迹来代表相应的显示模式;也可以为红外感应区域,即可以识别用户的手势,例如,用户可以通过设置一个切换手势来实现显示模式的切换。If the smart door lock includes a trigger unit, the password display instruction is received through the trigger area set by the trigger unit; the display mode corresponding to the display instruction is determined according to the display instruction. Among them, the trigger area can be a physical key, that is, a password keyboard display mode switching button is set on the smart device, and the key can be triggered to switch the display mode of the password keyboard; correspondingly, the trigger area can also be a sensor The area, for example, the touch area, determines the display mode according to the input trajectory of the recognized user. A specific sliding trajectory can be set to represent the corresponding display mode; it can also be an infrared sensing area, which can recognize the user's gesture, for example, the user The display mode can be switched by setting a switching gesture.

在本发明实施例中的显示模式可以为用户自定义设置的多个显示模式,也可以为智能设备提供给用户的可以进行选择的多个显示模式。该显示模式可以根据密码键盘中需要显示的标识的顺序进行设置,也可以根据显示的标识的内容进行设备,其中,待显示标识表征该密码键盘中的显示内容,例如可以为数字、特殊符号,也可以为简单的图形或图标,如三角形、五角星,或者根据设定的密码键盘的显示外观皮肤生成的各种小图标等。The display mode in the embodiment of the present invention may be a plurality of display modes defined by the user, or a plurality of display modes that can be selected by the smart device and provided to the user. The display mode can be set according to the order of the logos to be displayed in the password keyboard, or the device can be configured according to the content of the displayed logo, where the logo to be displayed represents the display content in the password keyboard, for example, it can be numbers, special symbols, It can also be a simple figure or icon, such as a triangle, a five-pointed star, or various small icons generated according to the display appearance of the set password keyboard.

在本发明的另一实施例中显示模式包括乱序显示模式,对应的步骤可以为:In another embodiment of the present invention, the display mode includes an out-of-order display mode, and the corresponding steps may be:

依据乱序显示模式对密码键盘中的待显示标识进行显示。Display the logo to be displayed in the password keyboard according to the out-of-order display mode.

例如,为了保护智能门锁使用的安全性,通常设置智能门锁开锁的密码,用户需要输入该密码才能够使得智能门锁开锁,这时需要利用智能么所提供的密码键盘进行密码输入。以密码键盘中的待显示字符包括0-9共10个数字,再加上“*”、“#”2个功能按键,共12个按键为例,其中,这些按键的形态与智能设备的功能对应,可以为实体按键也可以虚拟按键,例如,触屏按键。这些按键的排列形式通常为一种顺序排列方式。如图3所示,在图3中展示了现有智能门锁密码键盘的方案,使用12个物理按键或者电容触摸按键组合成3*4的矩阵密码键盘,这种方案中,每个按键的位置是固定的,这样数字也只能按照固定的顺序排列。这种数字排列显示模式容易被破解,安全性较差。For example, in order to protect the security of the smart door lock, a password for unlocking the smart door lock is usually set. The user needs to enter the password to unlock the smart door lock. In this case, the password keyboard provided by Smart is needed to enter the password. Take the characters to be displayed in the password keyboard including 10 numbers from 0-9, plus 2 function keys of "*" and "#", and a total of 12 keys as an example. Among them, the shape of these keys and the function of the smart device Correspondingly, it can be a physical key or a virtual key, for example, a touch screen key. The arrangement of these buttons is usually a sequential arrangement. As shown in Fig. 3, the existing smart door lock password keyboard solution is shown in Fig. 3, which uses 12 physical keys or capacitive touch keys to form a 3*4 matrix password keyboard. In this solution, each key The position is fixed so that the numbers can only be arranged in a fixed order. This digital arrangement display mode is easy to be cracked and has poor security.

对应的,在本发明另一实施例中显示指令包括乱序显示制定,则对应的该方法中的显示步骤为:依据乱序显示模式对密码键盘中的数字进行显示,即由于智能门锁默认的数字显示方式为图3中的顺序显示,当接收到乱序显示指令后,智能设备随机打乱0-9这10个数字的排列顺序,然后在密码键盘中进行显示,如图4所示。此时,用户进行密码输入时是按照该乱序显示的密码键盘输入对应的密码数字,可以防止外人站在用户背后通过记住用户的输入位置,猜测出用户的密码。Correspondingly, in another embodiment of the present invention, the display instruction includes out-of-order display formulation, the corresponding display step in the method is: display the numbers in the password keyboard according to the out-of-order display mode, that is, due to the default of the smart door lock The digital display mode is the sequential display in Figure 3. After receiving the out-of-order display instruction, the smart device randomly disrupts the arrangement order of the 10 numbers 0-9, and then displays it in the password keyboard, as shown in Figure 4. . At this time, when the user enters the password, the corresponding password number is input according to the password keyboard displayed in disorder, which can prevent outsiders from standing behind the user and guessing the user's password by remembering the user's input position.

同时为了进一步提高安全性,可以设置智能门锁密码显示方式的周期,即多长时间换一次数字排列方式,若为了使得安全级别更高,则可以通过每次开锁时换一次数字显示方式,这样即使密码键盘上会有汗渍残留物、物理磨损等痕迹,外人也无法通过这些进行密码破解。At the same time, in order to further improve security, you can set the period of the smart door lock password display mode, that is, how often to change the digital arrangement, if you want to make the security level higher, you can change the digital display mode every time you unlock, this way Even if there are traces of sweat residues and physical wear on the password keyboard, outsiders cannot use these to crack the password.

若当前显示指令为乱序显示或者自定义显示,则可以先判断该智能设备是否存储有与当前用户对应的目标显示模式。即该过程包括:If the current display instruction is out-of-order display or custom display, you can first determine whether the smart device stores the target display mode corresponding to the current user. That is, the process includes:

判断是否记载有与智能设备当前用户对应的乱序显示模式匹配的目标显示方式;Determine whether the target display mode matching the out-of-order display mode corresponding to the current user of the smart device is recorded;

如果是,则按照所述目标显示方式将待显示标识在密码键盘中进行显示;If yes, display the logo to be displayed on the password keyboard according to the target display mode;

如果否,则按照预设乱序显示方式将待显示标识在密码键盘中进行显示。If not, the logo to be displayed is displayed on the password keyboard according to the preset random display mode.

为了保证用户能够快速输入密码,允许用户按照自己预定义的显示模式进行密码键盘中待显示字符的显示,例如用户可以自行确定数字的排列方式,也可以通过智能门锁提供的备选方案确定目标显示方式,然后在智能门锁的密码键盘中进行显示。若用户之前并未确定目标显示方式,则智能门锁会按照系统预设的显示方式进行数字显示,即智能设备随机进行数字排列后显示。In order to ensure that the user can quickly enter the password, the user is allowed to display the characters to be displayed in the password keyboard according to the predefined display mode of the user, for example, the user can determine the arrangement of the numbers by himself, or can determine the target through the alternative provided by the smart door lock The display mode is then displayed in the password keypad of the smart door lock. If the user has not determined the target display mode before, the smart door lock will perform digital display according to the preset display mode of the system, that is, the smart device randomly displays the numbers after digital arrangement.

对应的,若没有记载与智能设备当前用户对应的乱序显示模式匹配的目标显示方式,则生成乱序显示模式对应的提示信息,其中,所述提示信息用于提示所述智能门锁的当前用户确定与乱序显示模式对应的目标显示方式。Correspondingly, if the target display mode matching the out-of-order display mode corresponding to the current user of the smart device is not recorded, the prompt information corresponding to the out-of-order display mode is generated, wherein the prompt information is used to remind the current of the smart door lock The user determines the target display mode corresponding to the out-of-order display mode.

当智能门锁接收到乱序显示指令时,智能门锁会通过查找存储芯片中发现并未加载与当前用户对应的目标显示模式,则会生成提示信息,若该智能设备与客户端进行连接,可以将该提示信息发送至客户端,然后客户端的显示界面会显示该提示信息,提示该客户端的用户确定一种乱序显示方式,或者自定义一种乱序显示方式,这样该显示方式为用户与智能设备之间的显示方式;也可以将该提示信息直接显示在智能设备上来提醒当前用户设置对应的目标显示模式。当智能门锁以此显示方式进行待显示显示的时候,用户可以快速找到要输入的密码位置,进一步减少他人偷窥密码输入的时间,提高密码输入的安全性。When the smart door lock receives the out-of-order display instruction, the smart door lock will find that the target display mode corresponding to the current user is not loaded by searching the storage chip, and then it will generate a prompt message, if the smart device is connected to the client, You can send the prompt information to the client, and then the display interface of the client will display the prompt information, prompting the user of the client to determine an out-of-order display mode, or customize a out-of-order display mode, so that the display mode is the user The display mode with the smart device; the prompt information can also be displayed directly on the smart device to remind the current user to set the corresponding target display mode. When the smart door lock is to be displayed in this display mode, the user can quickly find the location of the password to be input, further reducing the time for others to peep into the password input, and improving the security of the password input.

对应的,在本发明的另一实施例中还提供了一种密码键盘乱序显示方法,该方法包括:Correspondingly, in another embodiment of the present invention, a password keyboard out-of-order display method is also provided. The method includes:

创建与密码键盘中显示矩阵匹配的数组;Create an array that matches the display matrix in the password keyboard;

将各个待显示标识随机添加至数组中,获得待显示数据;Randomly add each identifier to be displayed to the array to obtain the data to be displayed;

将待显示数据在密码键盘中进行显示。Display the data to be displayed on the password keyboard.

首先要保证创建的数组与密码键盘的显示矩阵相同,然后将待显示标识随机添加至生成的数组中,以待显示标识为数字对该乱序显示算法进行 说明,创建数组NUM[10]用来存储生成的[0-9]数字的乱序数组;从0-9的未选中数字中随机选中一个数字N,把N填充到NUM乱序数组中,同时把N从0-9中标识成已选中;重复上述过程,直到0-9中的所有数字都被填充到NUM乱序数组中为止。First, make sure that the created array is the same as the display matrix of the password keyboard, then randomly add the logo to be displayed to the generated array, and use the logo to be displayed as a number to explain the out-of-order display algorithm. Create array NUM[10] to Store the generated out-of-order array of [0-9] numbers; randomly select a number N from 0-9 unselected numbers, fill N into the NUM out-of-order array, and mark N from 0-9 as already Selected; repeat the above process until all numbers in 0-9 are filled into the NUM out-of-order array.

当接收到用户在当前密码键盘中输入的密码信息的时候,除了根据用户预设的解锁密码进行验证外,还需要根据对应的显示模式进行目标信息提取才能获得准确的验证结果。When receiving the password information entered by the user in the current password keyboard, in addition to the verification according to the unlock password preset by the user, the target information needs to be extracted according to the corresponding display mode to obtain accurate verification results.

在本发明实施例中还提供了一种密码验证方法,包括:An embodiment of the present invention also provides a password verification method, including:

逐一记录用户按下密码键盘的按键序号,并从当前密码键盘对应的数组中查询获得该按键序号对应的目标标识;One by one record the key sequence number of the user pressing the password keyboard, and query from the array corresponding to the current password keyboard to obtain the target ID corresponding to the key sequence number;

将每个所述目标标识与预设解锁密码中对应的标识信息进行验证,若每个目标标识与预设解码密码中的标识信息完全匹配,则验证成功。Each of the target identification and the corresponding identification information in the preset unlock password is verified, and if each target identification completely matches the identification information in the preset decoding password, the verification is successful.

即该过程为:使用乱序算法生成数组NUM[10],并根据乱序数组的顺序生成密码键盘的界面;记录用户按下的密码键盘的按键序号[i],并从乱序数组NUM[10]中查询出该按键序号代表的真实数字NUM[i],把该真实数字传入到密码验证模块中与预设解锁密码进行验证,该验证过程可以每次只验证一个用户输入的密码标识,若当前用户输入的密码标识验证成功,则重复上述过程对用户输入的下一个密码标识进行验证,若按输入顺序进行验证时,每个密码标识均验证成功,则获得验证成功的结果,若在验证过程中某个密码标识验证失败,则不会对该密码标识之后的密码标识再进行验证,直接输出验证失败的相关信息。That is, the process is: use the out-of-order algorithm to generate the array NUM[10], and generate the interface of the password keyboard according to the order of the out-of-order array; record the key sequence number [i] of the password keyboard pressed by the user, and from the out-of-order array NUM[ 10] The real number NUM[i] represented by the key sequence number is queried, and the real number is passed into the password verification module to verify with the preset unlock password. The verification process can verify only one password ID entered by the user at a time If the password ID entered by the current user is successfully verified, the above process is repeated to verify the next password ID entered by the user. If the password is verified in the order entered, each password ID is successfully verified, and the result of successful verification is obtained. During the verification process, if a password ID fails to be verified, the password ID after the password ID will not be verified again, and the relevant information about the verification failure is directly output.

该验证过程还可以为:The verification process can also be:

将预设解锁密码与所述显示模式对应的密码键盘上的数字进行匹配,确定所述预设解码密码中各个数字对应的目标输入顺序;Matching the preset unlock password with the number on the password keyboard corresponding to the display mode, and determining the target input sequence corresponding to each number in the preset decoding password;

判断所述密码信息中各个数字是否与预设解锁密码中各个数字相同,若相同,则逐个判断每个数字对应的输入顺序是否与该数字对应的目标输入顺序一致,若每个数字对应的输入顺序均与目标输入顺序一致,则验证成功。Judge whether each digit in the password information is the same as each digit in the preset unlock password, if it is the same, then judge one by one whether the input sequence corresponding to each digit is consistent with the target input sequence corresponding to the digit, if the input corresponding to each digit If the order is consistent with the target input order, the verification is successful.

本发明提供的智能门锁控制方法,响应于接收到的密码键盘显示方式,能够确定对应的密码键盘显示模式,从而按照该显示模式对密码键盘中的待显示标识进行显示,最后基于用户输入的密码信息、显示模式和预设开锁密码进行开锁验证,验证成功,则控制智能门锁开锁。由于显示模式与用户相对应,可以实现满足用户需求的多种密码键盘的显示方式,实现了密码键盘显示方式的多样性和个性化,从而提升了用户体验,并解决了采用单一显示模式下的密码易被窃取的问题。The intelligent door lock control method provided by the present invention can determine the corresponding password keyboard display mode in response to the received password keyboard display mode, so as to display the logo to be displayed in the password keyboard according to the display mode, and finally based on the user input The password information, display mode and preset unlock password are used for unlock verification. If the verification is successful, the smart door lock is controlled to unlock. Since the display mode corresponds to the user, a variety of password keyboard display methods that meet user needs can be realized, and the diversity and personalization of the password keyboard display method are realized, thereby improving the user experience and solving the problem of using a single display mode. Password is easy to be stolen.

在本发明的另一实施例中还提供了一种针对用户输入的密码信息进行验证时,若验证不成功对应的处理方式:In another embodiment of the present invention, there is also provided a processing method for verifying the password information input by the user if the verification is unsuccessful:

若验证不成功,则控制所述智能门锁维持锁定状态,并生成提示信息,提示所述用户输入的密码信息不正确。If the verification is unsuccessful, the smart door lock is controlled to maintain the locked state, and a prompt message is generated to prompt the user that the password information entered is incorrect.

若一次验证成功,考虑到有可能是用户的输入错误,则会维持智能门锁的锁定状态,并提示用户输入的密码有误。此时,响应于一次验证不成功,不会生成报警信息,是为了提升用户的体验效果,但是为了保证安全箱,响应于达到阈值次数的验证均不成功时,则会生警报信息,该警报信息可以通过报警器进行体现,例如智能门锁的蜂鸣器进行声音报警,也可以将对应的警报信息发送至目的端,例如该智能门锁的主用户提示该用户有人多次输入密码不成功,避免由于不法份子试图进入到房间造成的损失。该阈值的设置可以根据用户的具体使用进行设置。这种预警方式在提升安全性的同时,还提升了用户的体验效果。If the verification is successful once, considering that there may be a user input error, the locked state of the smart door lock will be maintained and the user will be prompted to enter the wrong password. At this time, in response to an unsuccessful verification, no alarm message is generated in order to enhance the user's experience, but in order to ensure the safety box, in response to the threshold number of verifications are not successful, an alarm message will be generated, the alarm The information can be reflected by an alarm, such as a buzzer for a smart door lock to sound the alarm, or the corresponding alarm information can be sent to the destination, for example, the main user of the smart door lock prompts that the user has failed to enter the password multiple times. To avoid losses caused by criminals trying to enter the room. The threshold can be set according to the user's specific use. This method of early warning not only improves security, but also improves the user's experience.

当客户端与智能门锁进行通讯连接时,可以将密码键盘按照确定的显示模式,显示在该客户端上。即:When the client communicates with the smart door lock, the password keyboard can be displayed on the client according to the determined display mode. which is:

依据所述显示模式对密码键盘中的待显示标识进行显示,并将显示后的密码键盘呈现在所述客户端的显示界面上;Displaying the logo to be displayed in the password keyboard according to the display mode, and presenting the displayed password keyboard on the display interface of the client;

响应于所述客户端将接收到用户在所述密码键盘上输入的密码信息发送至所述智能设备,基于所述显示模式和预设解锁密码对所述密码信息进行验证,若验证成功,则控制所述智能门锁开锁。In response to the client sending the received password information entered by the user on the password keyboard to the smart device, the password information is verified based on the display mode and the preset unlock password, and if the verification is successful, then Control the intelligent door lock to unlock.

实现了用户可以基于当前使用的客户端进行密码键盘的显示并输入对 应的密码信息,实现了用客户端进行智能门锁解锁控制的便捷性,从而提高了智能门锁解锁的安全性。The user can display the password keyboard and input the corresponding password information based on the currently used client, and realize the convenience of using the client to control the unlocking of the smart door lock, thereby improving the security of unlocking the smart door lock.

对应的,该客户端还可以设置与密码键盘对应的显示模式,即预先设备显示模式,然后将该显示模式存储到智能门锁中,在智能门锁进行标识信息显示时可以调用该显示模式进行显示。Correspondingly, the client can also set the display mode corresponding to the password keyboard, that is, the pre-device display mode, and then store the display mode in the smart door lock, which can be called when the smart door lock displays the identification information. display.

相应的,对于某些智能门锁的处理性能有限,若每个用户每次都随机生成一种显示模式发送至智能设备进行显示,会使得智能门锁的存储和处理性能随着时间的推移有所下降,则此时,会指示客户端根据预设的显示模式选择方案,来确定与密码键盘对应的显示模式。例如,客户端APP预先设定M种特定的密码排列规则,由用户通过客户端APP中挑选N(N不大于M)种,智能设备每次从N种排列方式中挑选一种来更新密码键盘中的数字显示方式。Correspondingly, the processing performance of some smart door locks is limited. If each user randomly generates a display mode and sends it to a smart device for display, the storage and processing performance of the smart door lock will have If it is lowered, then at this time, the client will be instructed to determine the display mode corresponding to the password keyboard according to the preset display mode selection scheme. For example, the client APP pre-sets M specific password arrangement rules, the user selects N (N is not greater than M) through the client APP, and the smart device selects one of the N arrangement methods to update the password keyboard each time The number display mode in.

下面根据一种智能门锁的具体设计结构对上述实施例中的智能门锁控制方法进行说明。对于整个智能门锁的系统可以包括门锁硬件、门锁软件和客户端APP三个模块,下面分模块分别介绍各自功能原理。The smart door lock control method in the above embodiment will be described below according to a specific design structure of the smart door lock. For the entire smart door lock system, it can include three modules: door lock hardware, door lock software, and client APP. The following sub-modules introduce their respective functional principles.

门锁硬件主要包括门锁主控、显示屏、触摸屏、无线模块等模块。其中,显示屏可以为LCD显示屏,触摸屏可以为电容触摸屏。门锁主控控制LCD显示屏显示密码键盘;门锁主控控制电容触摸屏接收用户输入的密码。无线模块负责与手机通讯,传输手机客户端APP指令。The door lock hardware mainly includes door lock main control, display screen, touch screen, wireless module and other modules. The display screen may be an LCD display screen, and the touch screen may be a capacitive touch screen. The door lock main control controls the LCD display to display the password keyboard; the door lock main control controls the capacitive touch screen to receive the password input by the user. The wireless module is responsible for communicating with the mobile phone and transmitting APP instructions from the mobile phone client.

门锁软件主要实现以下功能。门锁主控控制LCD显示屏显示3*4矩阵键盘,每个按键,都有对应的图标来显示该按键对应的功能。门锁主控接收电容触摸屏输入的密码,得到位置坐标,计算出用户按下哪个按键。门锁主控使用乱序算法,计算0-9这10个数字的随机排列顺序,并控制LCD显示屏按该顺序显示这10个数字。The door lock software mainly implements the following functions. The door lock master control controls the LCD display to display a 3*4 matrix keyboard. Each key has a corresponding icon to display the corresponding function of the key. The door lock master receives the password input by the capacitive touch screen, obtains the position coordinates, and calculates which button the user presses. The door lock master uses an out-of-order algorithm to calculate the random order of the 10 numbers 0-9, and controls the LCD display to display the 10 numbers in that order.

客户端APP主要功能为控制门锁打开或关闭乱序密码功能,实现如下:The main function of the client APP is to control the door lock to open or close the out-of-order password function. The implementation is as follows:

客户端APP发命令给门锁,远程控制门锁打开或者关闭乱序密码功能;The client APP sends commands to the door lock to remotely control the door lock to open or close the out-of-order password function;

门锁接收到控制命令后,马上切换密码键盘显示模式。After the door lock receives the control command, it immediately switches the password keyboard display mode.

在上述实施例中使用LCD显示屏作为智能门锁的密码键盘的输出方式,使用电容触摸屏作为输入方式。LCD显示屏显示3*4的矩阵密码键盘,其中0-9这10个数字是乱序排列的。每次输入密码前,密码键盘的数字按键会重新随机排列,且与上次的排列顺序不一样。用户可选择打开或关闭密码键盘乱序排列功能。In the above embodiments, the LCD display screen is used as the output mode of the password keypad of the smart door lock, and the capacitive touch screen is used as the input mode. The LCD display shows a 3*4 matrix password keyboard, where the 10 numbers 0-9 are arranged out of order. Before entering the password each time, the numeric keys on the password keyboard will be rearranged randomly, and the sequence is different from the previous arrangement. Users can choose to turn on or off the password keyboard random ordering function.

使用LCD显示屏与电容触摸屏作为智能门锁密码键盘的输出与输入方式,使得密码键盘的数字按键的排列顺序可变,不再局限于一种排列方式。Using the LCD display screen and the capacitive touch screen as the output and input method of the smart door lock password keyboard makes the arrangement order of the numeric keys of the password keyboard variable and is no longer limited to one arrangement method.

密码乱序显示,可防止用户在输入密码时,外人站在背后通过记住用户的输入位置,以猜测出用户的密码。The passwords are displayed out of order, which prevents outsiders from standing behind by remembering the user's input position to guess the user's password when entering the password.

用户在输入密码时,密码键盘上会有汗渍残留物、物理磨损等痕迹,外人可通过这个来猜测用户输入的是哪几个数字,并用排列组合法暴力破解出密码。密码乱序显示,可使得每个密码按键的位置都能被均匀的按到,以防止以上的风险。When the user enters the password, there will be traces of sweat residues, physical wear and other marks on the password keyboard. Outsiders can use this to guess which numbers the user enters and use the permutation and combination method to brute force crack the password. The passwords are displayed out of order, so that the position of each password key can be evenly pressed to prevent the above risks.

图9所示为根据本申请一些实施例所示的一种设备控制装置的模块图,如图9所示,该设备控制装置包括指令获取单元701、界面生成单元702和验证单元703。9 is a block diagram of a device control apparatus according to some embodiments of the present application. As shown in FIG. 9, the device control apparatus includes an instruction acquisition unit 701, an interface generation unit 702, and a verification unit 703.

指令获取单元701,用于获取密码键盘显示指令。关于获取密码键盘显示指令的更多内容可以参见步骤201的相关描述,在此不做赘述。The instruction obtaining unit 701 is used to obtain a password keyboard display instruction. For more information on obtaining the password keyboard display instruction, please refer to the relevant description of step 201, and no further description is provided here.

界面生成单元702,用于依据所述显示指令对应的显示模式在目标设备上生成密码键盘显示界面;关于依据显示指令对应的显示模式在目标设备上生成密码显示界面的更多内容,可以参见步骤202的相关描述,在此不做赘述。The interface generating unit 702 is used to generate a password keyboard display interface on the target device according to the display mode corresponding to the display instruction; for more content about generating a password display interface on the target device according to the display mode corresponding to the display instruction, please refer to the steps The relevant description of 202 will not be repeated here.

验证单元703,用于获取输入至所述密码键盘显示界面中的密码信息,并依据所述显示模式和预存储的密码对所述密码信息进行验证,若验证成功,控制所述目标设备进入与所述预存储的密码相匹配的目标状态。该过程的更多内容,可以参见步骤203和204的相关描述,在此不做赘述。The verification unit 703 is configured to obtain the password information input into the display interface of the password keyboard, and verify the password information according to the display mode and the pre-stored password. If the verification is successful, the target device is controlled to enter and The pre-stored password matches the target state. For more details of this process, please refer to the relevant descriptions of steps 203 and 204, which will not be repeated here.

应当理解,图9所示的系统及其模块可以利用各种方式来实现。例如,在一些实施例中,系统及其模块可以通过硬件、软件或者软件和硬件的结合来实现。其中,硬件部分可以利用专用逻辑来实现;软件部分则可以存储在存储器中,由适当的指令执行系统,例如微处理器或者专用设计硬件来执行。本领域技术人员可以理解上述的方法和系统可以使用计算机可执行指令和/或包含在处理器控制代码中来实现,例如在诸如磁盘、CD或DVD-ROM的载体介质、诸如只读存储器(固件)的可编程的存储器或者诸如光学或电子信号载体的数据载体上提供了这样的代码。本说明书的系统及其模块不仅可以有诸如超大规模集成电路或门阵列、诸如逻辑芯片、晶体管等的半导体、或者诸如现场可编程门阵列、可编程逻辑设备等的可编程硬件设备的硬件电路实现,也可以用例如由各种类型的处理器所执行的软件实现,还可以由上述硬件电路和软件的结合(例如,固件)来实现。It should be understood that the system and its modules shown in FIG. 9 can be implemented in various ways. For example, in some embodiments, the system and its modules may be implemented by hardware, software, or a combination of software and hardware. Among them, the hardware part can be implemented with dedicated logic; the software part can be stored in the memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. Those skilled in the art can understand that the above methods and systems can be implemented using computer-executable instructions and/or included in the processor control code, for example, on a carrier medium such as a magnetic disk, CD or DVD-ROM, such as a read-only memory (firmware Such codes are provided on programmable memories or data carriers such as optical or electronic signal carriers. The system and its modules of this specification can be implemented not only by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc. It can also be implemented by software executed by various types of processors, for example, or by a combination of the above hardware circuits and software (for example, firmware).

在本申请另一实施例中还提供了一种应用于智能设备的控制装置,参见图10该装置包括:In another embodiment of the present application, a control device applied to a smart device is also provided. Referring to FIG. 10, the device includes:

第一确定单元1001,用于响应于接收到的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式;The first determining unit 1001 is configured to determine the display mode corresponding to the display instruction according to the received password keyboard display instruction in response to the received password keyboard display instruction;

第一显示单元1002,用于依据所述显示模式对密码键盘中的待显示标识进行显示;The first display unit 1002 is configured to display the logo to be displayed in the password keyboard according to the display mode;

第一控制单元1003,用于接收用户在显示的密码键盘中输入的密码信息,并根据所述显示模式和预设解锁密码对所述密码信息进行验证,若验证成功,则控制所述智能设备解锁。The first control unit 1003 is configured to receive the password information input by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset unlock password, and if the verification is successful, control the smart device Unlock.

可以理解的是,上述各个单元中执行的具体内容可以参见步骤501-503的相关描述,在此不作赘述。It can be understood that, for the specific content executed in the above units, reference may be made to the relevant descriptions of steps 501-503, and details are not described herein.

在上述实施例的基础上,该第一显示单元1001包括:Based on the above embodiment, the first display unit 1001 includes:

乱序显示子单元,用于依据乱序显示模式对密码键盘中的待显示标识进行显示。The out-of-order display subunit is used to display the to-be-displayed identifier in the password keyboard according to the out-of-order display mode.

在上述实施例的基础上,该系统还包括:Based on the above embodiment, the system further includes:

判断单元,用于判断是否记载有与智能设备当前用户对应的乱序显示模式匹配的目标显示方式;如果是,则按照所述目标显示方式将待显示标识在密码键盘中进行显示;如果否,则按照预设乱序显示方式将待显示标识在密码键盘中进行显示。The judging unit is used to judge whether the target display mode matching the out-of-order display mode corresponding to the current user of the smart device is recorded; if it is, then display the logo to be displayed on the password keyboard according to the target display mode; if not, Then, the logo to be displayed is displayed on the password keyboard according to the preset random display mode.

在上述实施例的基础上,该装置还包括:Based on the above embodiment, the device further includes:

提示信息生成单元,用于若没有记载与智能设备当前用户对应的乱序显示模式匹配的目标显示方式,则生成乱序显示模式对应的提示信息,其中,所述提示信息用于提示所述智能设备的当前用户确定与乱序显示模式对应的目标显示方式。The prompt information generating unit is configured to generate prompt information corresponding to the out-of-order display mode if no target display mode matching the out-of-order display mode corresponding to the current user of the smart device is recorded, wherein the prompt information is used to prompt the smart The current user of the device determines the target display mode corresponding to the out-of-order display mode.

在上述实施例的基础上,所述乱序显示子单元具体用于:Based on the above embodiment, the out-of-order display subunit is specifically used for:

创建与所述密码键盘中显示矩阵匹配的数组;Create an array that matches the display matrix in the password keyboard;

将各个待显示标识随机添加至所述数组中,获得待显示数据;Randomly add each identifier to be displayed to the array to obtain data to be displayed;

将所述待显示数据在所述密码键盘中进行显示。Displaying the data to be displayed on the password keyboard.

在上述实施例的基础上,所述装置还包括连接单元,其中,所述连接单元,用于将所述智能设备与客户端进行通讯连接;On the basis of the above embodiment, the device further includes a connection unit, wherein the connection unit is used to communicate and connect the smart device with the client;

所述第一确定单元,具体用于接收所述客户端发送的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式。The first determining unit is specifically configured to receive a password keyboard display instruction sent by the client, and determine a display mode corresponding to the display instruction according to the password keyboard display instruction.

在上述实施例的基础上,该系统还包括:Based on the above embodiment, the system further includes:

客户端显示单元,用于依据所述显示模式对密码键盘中的待显示标识进行显示,并将显示后的密码键盘呈现在所述客户端的显示界面上;The client display unit is used to display the logo to be displayed in the password keyboard according to the display mode, and present the displayed password keyboard on the display interface of the client;

客户端响应单元,用于响应于所述客户端将接收到用户在所述密码键盘上输入的密码信息发送至所述智能设备,基于所述显示模式和预设解锁密码对所述密码信息进行验证,若验证成功,则控制所述智能设备解锁。A client response unit for responding to the client sending the password information received by the user on the password keyboard to the smart device, and performing the password information based on the display mode and the preset unlock password Verify, if the verification is successful, control the smart device to unlock.

在上述实施例的基础上,该装置还包括:Based on the above embodiment, the device further includes:

接收单元,用于通过智能设备的触发区域接收密码键盘显示指令,并依据所述显示指令确定与所述显示指令对应的显示模式。The receiving unit is configured to receive a password keyboard display instruction through the trigger area of the smart device, and determine a display mode corresponding to the display instruction according to the display instruction.

在上述实施例的基础上,第一控制单元1003包括:Based on the above embodiment, the first control unit 1003 includes:

记录子单元,用于逐一记录用户按下密码键盘的按键序号,并从当前密码键盘对应的数组中查询获得该按键序号对应的目标标识;The recording subunit is used to record the key sequence numbers of the password keyboard pressed by the user one by one, and to query and obtain the target identifier corresponding to the key sequence number from the array corresponding to the current password keyboard;

验证子单元,用于将每个所述目标标识与预设解锁密码中对应的标识信息进行验证,若每个目标标识与预设解码密码中的标识信息完全匹配,则验证成功。The verification subunit is used for verifying each target identification and the corresponding identification information in the preset unlock password. If each target identification completely matches the identification information in the preset decoding password, the verification is successful.

在上述实施例的基础上,该装置还包括:Based on the above embodiment, the device further includes:

预警单元,用于响应于对输入的密码信息验证不成功,则控制所述智能设备维持当前状态,和/或生成预警信息。The early warning unit is configured to control the smart device to maintain the current state and/or generate early warning information in response to the unsuccessful verification of the input password information.

在上述应用于智能设备的控制装置中,通过第一确定单元确定密码键盘的显示模式,通过第一显示单元依据显示模式对密码键盘中的待显示标识进行显示,在第一控制单元实现对用户输入的密码信息的验证。从而实现密码键盘的显示方式为根据用户的显示指令确定的显示模式,使得显示方式呈现个性化和不定性的方式,从而降低了密码输入过程中密码被窃取的风险,提高了智能设备的安全性。In the above control device applied to a smart device, the display mode of the password keyboard is determined by the first determining unit, and the logo to be displayed in the password keyboard is displayed according to the display mode by the first display unit. Verification of the entered password information. Therefore, the display mode of the password keyboard is determined according to the user's display instructions, which makes the display mode personalized and uncertain, thereby reducing the risk of password theft during the password input process and improving the security of the smart device .

应当理解,图10所示的装置及其模块可以利用各种方式来实现。例如,在一些实施例中,系统及其模块可以通过硬件、软件或者软件和硬件的结合来实现。其中,硬件部分可以利用专用逻辑来实现;软件部分则可以存储在存储器中,由适当的指令执行系统,例如微处理器或者专用设计硬件来执行。本领域技术人员可以理解上述的方法和系统可以使用计算机可执行指令和/或包含在处理器控制代码中来实现,例如在诸如磁盘、CD或DVD-ROM的载体介质、诸如只读存储器(固件)的可编程的存储器或者诸如光学或电子信号载体的数据载体上提供了这样的代码。本说明书的系统及其模块不仅可以有诸如超大规模集成电路或门阵列、诸如逻辑芯片、晶体管等的半导体、或者诸如现场可编程门阵列、可编程逻辑设备等的可编程硬件设备的硬件电路实现,也可以用例如由各种类型的处理器所执行的软件实现,还可以由上述硬件电路和软件的结合(例如,固件)来实现。It should be understood that the device and its modules shown in FIG. 10 can be implemented in various ways. For example, in some embodiments, the system and its modules may be implemented by hardware, software, or a combination of software and hardware. Among them, the hardware part can be implemented with dedicated logic; the software part can be stored in the memory and executed by an appropriate instruction execution system, such as a microprocessor or dedicated design hardware. Those skilled in the art can understand that the above methods and systems can be implemented using computer-executable instructions and/or included in the processor control code, for example, on a carrier medium such as a magnetic disk, CD or DVD-ROM, such as a read-only memory (firmware Such codes are provided on programmable memories or data carriers such as optical or electronic signal carriers. The system and its modules of this specification can be implemented not only by hardware circuits such as very large scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field programmable gate arrays, programmable logic devices, etc. It can also be implemented by software executed by various types of processors, for example, or by a combination of the above hardware circuits and software (for example, firmware).

在本申请实施例中还提供了一种智能门锁,参见图11,该装置包括:An intelligent door lock is also provided in an embodiment of the present application. Referring to FIG. 11, the device includes:

第二确定单元1101,用于响应于接收到的密码键盘显示指令,依据所 述密码键盘显示指令,确定与所述显示指令对应的显示模式;The second determining unit 1101 is configured to determine a display mode corresponding to the display instruction according to the password keyboard display instruction in response to the received password keyboard display instruction;

第二显示单元1102,用于依据所述显示模式对密码键盘中的待显示标识进行显示;The second display unit 1102 is configured to display the logo to be displayed in the password keyboard according to the display mode;

第二控制单元1103,用于接收用户在显示的密码键盘中输入的密码信息,并根据所述显示模式和预设的智能门锁开锁密码对所述密码信息进行验证,若验证成功,则控制所述智能门锁开锁。The second control unit 1103 is configured to receive the password information input by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset smart door lock unlock password, and if the verification is successful, control The intelligent door lock is unlocked.

可以理解的是,上述各个单元中执行的具体内容可以参见步骤601-603的相关描述,在此不作赘述。It can be understood that, for the specific content executed in the above units, reference may be made to the relevant descriptions of steps 601-603, and details are not described herein.

在上述实施例的基础上,该智能门锁还包括:Based on the above embodiment, the smart door lock further includes:

通讯单元,用于与客户端进行通讯连接,接收客户端发送的密码键盘显示指令;Communication unit, used for communication connection with the client, receiving the password keyboard display command sent by the client;

或者,or,

触发单元,用于接收密码键盘显示指令。The trigger unit is used to receive the password keyboard display instructions.

在上述实施例的基础上,该智能门锁还包括:Based on the above embodiment, the smart door lock further includes:

提示信息生成单元,用于若验证不成功,则控制所述智能门锁维持锁定状态,并生成提示信息,提示所述用户输入的密码信息不正确。The prompt information generating unit is configured to control the smart door lock to maintain a locked state if the verification is unsuccessful, and generate prompt information to prompt the user that the password information entered is incorrect.

在上述实施例的基础上,该智能门锁还包括:Based on the above embodiment, the smart door lock further includes:

预警信息生成单元,用于若验证不成功对应的验证次数超过阈值次数,则生成警报信息,将所述警报信息发送至预设目的端。The warning information generating unit is configured to generate alarm information if the number of verifications corresponding to unsuccessful verification exceeds a threshold number of times, and send the alarm information to a preset destination.

在上述实施例的基础上,第二显示单元21包括:Based on the above embodiment, the second display unit 21 includes:

乱序显示子单元,用于依据乱序显示模式对密码键盘中的待显示标识进行显示。The out-of-order display subunit is used to display the to-be-displayed identifier in the password keyboard according to the out-of-order display mode.

在上述实施例的基础上,该智能门锁还包括:Based on the above embodiment, the smart door lock further includes:

判断单元,用于判断是否记载有与智能门锁当前用户对应的乱序显示模式匹配的目标显示方式;如果是,则按照所述目标显示方式将待显示标识在密码键盘中进行显示;如果否,则按照预设乱序显示方式将待显示标识在密码键盘中进行显示。The judging unit is used to judge whether the target display mode matching the out-of-order display mode corresponding to the current user of the smart door lock is recorded; if it is, then the logo to be displayed is displayed on the password keyboard according to the target display mode; if not , The logo to be displayed is displayed on the password keyboard according to the preset random display mode.

在上述实施例的基础上,该智能门锁还包括:Based on the above embodiment, the smart door lock further includes:

设定信息生成单元,用于若没有记载与智能门锁当前用户对应的乱序显示模式匹配的目标显示方式,生成乱序显示模式对应的提示信息,其中,所述提示信息用于提示所述当前用户确定与乱序显示模式对应的目标显示方式。The setting information generating unit is configured to generate prompt information corresponding to the out-of-order display mode if no target display mode matching the out-of-order display mode corresponding to the current user of the smart door lock is recorded, wherein the prompt information is used to prompt the The current user determines the target display mode corresponding to the out-of-order display mode.

在上述实施例的基础上,该乱序显示子单元具体用于:Based on the above embodiment, the out-of-order display subunit is specifically used for:

创建与所述密码键盘中显示矩阵匹配的数组;Create an array that matches the display matrix in the password keyboard;

将各个待显示标识随机添加至所述数组中,获得待显示数据;Randomly add each identifier to be displayed to the array to obtain data to be displayed;

将所述待显示数据在所述密码键盘中进行显示。Displaying the data to be displayed on the password keyboard.

在上述实施例的基础上,若智能门锁通过通讯单元与客户端进行通讯连接,其中,On the basis of the above embodiment, if the smart door lock communicates with the client through the communication unit, wherein,

所述第二确定单元,具体用于接收所述客户端发送的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式。The second determining unit is specifically configured to receive a password keyboard display instruction sent by the client, and determine a display mode corresponding to the display instruction according to the password keyboard display instruction.

在上述实施例的基础上,该智能门锁还包括:Based on the above embodiment, the smart door lock further includes:

发送单元,用于依据所述显示模式对密码键盘中的待显示标识进行显示,并将显示后的密码键盘发送到所述客户端的显示界面上;A sending unit, configured to display the logo to be displayed in the password keyboard according to the display mode, and send the displayed password keyboard to the display interface of the client;

接收单元,用于接收客户端发送的密码信息,基于所述显示模式和预设解锁密码对所述密码信息进行验证,若验证成功,则控制所述智能门锁开锁。The receiving unit is configured to receive the password information sent by the client, verify the password information based on the display mode and the preset unlock password, and if the verification is successful, control the smart door lock to unlock.

在上述智能门锁中,通过模式确定单元确定密码键盘的显示模式,通过显示单元依据显示模式对密码键盘中的待显示标识进行显示,在验证单元实现对用户输入的密码信息的验证。从而实现密码键盘的显示方式为根据用户的显示指令确定的显示模式,使得显示方式呈现个性化和不定性的方式,从而降低了密码输入过程中密码被窃取的风险,提高了智能门锁的安全性。In the above smart door lock, the display mode of the password keyboard is determined by the mode determination unit, the to-be-displayed logo in the password keyboard is displayed according to the display mode by the display unit, and the password information input by the user is verified in the verification unit. Therefore, the display mode of the password keyboard is determined according to the user's display instructions, which makes the display mode personalized and uncertain, thereby reducing the risk of password theft during the password input process and improving the security of the smart door lock Sex.

所述智能门锁包括处理器和存储器,上述模式确定单元、显示单元和验证单元等均作为程序单元存储在存储器中,由处理器执行存储在存储器中的上述程序单元来实现相应的功能。The smart door lock includes a processor and a memory, and the above-mentioned mode determination unit, display unit, verification unit, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to achieve corresponding functions.

本申请实施例提供了一种计算机可读存储介质,所述存储介质存储计算机指令,当由系统的一个或以上处理器执行所述指令时,使得所述系统:An embodiment of the present application provides a computer-readable storage medium that stores computer instructions, and when the instructions are executed by one or more processors of the system, causing the system to:

获取针对目标设备的密码键盘显示指令;Obtain the password keyboard display instruction for the target device;

依据所述显示指令,确定显示模式;According to the display instructions, determine the display mode;

基于所述显示模式,生成所述密码键盘的目标显示界面,所述目标显示界面至少包括两个与所述显示模式相匹配的显示标识;Generating a target display interface of the password keyboard based on the display mode, the target display interface including at least two display identifiers matching the display mode;

获取来自所述目标显示界面接收到的密码信息,并依据所述显示模式和预存储的密码对所述密码信息进行验证;Obtain the password information received from the target display interface, and verify the password information according to the display mode and the pre-stored password;

若验证成功,控制所述目标设备进入与所述预存储的密码相匹配的目标状态。If the verification is successful, the target device is controlled to enter a target state that matches the pre-stored password.

上文已对基本概念做了描述,显然,对于本领域技术人员来说,上述详细披露仅仅作为示例,而并不构成对本申请的限定。虽然此处并没有明确说明,本领域技术人员可能会对本申请进行各种修改、改进和修正。该类修改、改进和修正在本申请中被建议,所以该类修改、改进、修正仍属于本申请示范实施例的精神和范围。The basic concept has been described above. Obviously, for those skilled in the art, the above detailed disclosure is only an example, and does not constitute a limitation on the present application. Although it is not explicitly stated here, those skilled in the art may make various modifications, improvements, and amendments to this application. Such modifications, improvements, and amendments are suggested in this application, so such modifications, improvements, and amendments still belong to the spirit and scope of the exemplary embodiments of this application.

同时,本申请使用了特定词语来描述本申请的实施例。如“一个实施例”、“一实施例”、和/或“一些实施例”意指与本申请至少一个实施例相关的某一特征、结构或特点。因此,应强调并注意的是,本说明书中在不同位置两次或多次提及的“一实施例”或“一个实施例”或“一个替代性实施例”并不一定是指同一实施例。此外,本申请的一个或多个实施例中的某些特征、结构或特点可以进行适当的组合。Meanwhile, the present application uses specific words to describe the embodiments of the present application. For example, "one embodiment", "one embodiment", and/or "some embodiments" mean a certain feature, structure, or characteristic related to at least one embodiment of the present application. Therefore, it should be emphasized and noted that the reference to "one embodiment" or "one embodiment" or "an alternative embodiment" at two or more different places in this specification does not necessarily refer to the same embodiment . In addition, certain features, structures, or characteristics in one or more embodiments of the present application may be combined as appropriate.

此外,本领域技术人员可以理解,本申请的各方面可以通过若干具有可专利性的种类或情况进行说明和描述,包括任何新的和有用的工序、机器、产品或物质的组合,或对他们的任何新的和有用的改进。相应地,本申请的各个方面可以完全由硬件执行、可以完全由软件(包括固件、常驻软件、微码等)执行、也可以由硬件和软件组合执行。以上硬件或软件均可被称为“数据块”、“模块”、“引擎”、“单元”、“组件”或“系统”。此外, 本申请的各方面可能表现为位于一个或多个计算机可读介质中的计算机产品,该产品包括计算机可读程序编码。In addition, those skilled in the art can understand that various aspects of this application can be illustrated and described through several patentable categories or situations, including any new and useful processes, machines, products, or combinations of materials, or Any new and useful improvements. Correspondingly, various aspects of the present application can be completely executed by hardware, can be completely executed by software (including firmware, resident software, microcode, etc.), or can be executed by a combination of hardware and software. The above hardware or software can be called "data blocks", "modules", "engines", "units", "components" or "systems". In addition, various aspects of this application may appear as a computer product located in one or more computer-readable media, the product including computer-readable program code.

计算机存储介质可能包含一个内含有计算机程序编码的传播数据信号,例如在基带上或作为载波的一部分。该传播信号可能有多种表现形式,包括电磁形式、光形式等,或合适的组合形式。计算机存储介质可以是除计算机可读存储介质之外的任何计算机可读介质,该介质可以通过连接至一个指令执行系统、装置或设备以实现通讯、传播或传输供使用的程序。位于计算机存储介质上的程序编码可以通过任何合适的介质进行传播,包括无线电、电缆、光纤电缆、RF、或类似介质,或任何上述介质的组合。The computer storage medium may contain a propagated data signal containing a computer program code, for example, on baseband or as part of a carrier wave. The propagated signal may have multiple manifestations, including electromagnetic, optical, etc., or a suitable combination. The computer storage medium may be any computer-readable medium other than the computer-readable storage medium, and the medium may be connected to an instruction execution system, apparatus, or device to communicate, propagate, or transmit a program for use. Program code located on a computer storage medium may be propagated through any suitable medium, including radio, cable, fiber optic cable, RF, or similar media, or any combination of the foregoing.

本申请各部分操作所需的计算机程序编码可以用任意一种或多种程序语言编写,包括面向对象编程语言如Java、Scala、Smalltalk、Eiffel、JADE、Emerald、C++、C#、VB.NET、Python等,常规程序化编程语言如C语言、Visual Basic、Fortran 2003、Perl、COBOL 2002、PHP、ABAP,动态编程语言如Python、Ruby和Groovy,或其他编程语言等。该程序编码可以完全在用户计算机上运行、或作为独立的软件包在用户计算机上运行、或部分在用户计算机上运行部分在远程计算机运行、或完全在远程计算机或服务器上运行。在后种情况下,远程计算机可以通过任何网络形式与用户计算机连接,比如局域网(LAN)或广域网(WAN),或连接至外部计算机(例如通过因特网),或在云计算环境中,或作为服务使用如软件即服务(SaaS)。The computer program codes required for the operation of each part of this application can be written in any one or more programming languages, including object-oriented programming languages such as Java, Scala, Smalltalk, Eiffel, JADE, Emerald, C++, C#, VB.NET, Python Etc., conventional programming languages such as C, Visual Basic, Fortran 2003, Perl, COBOL 2002, PHP, ABAP, dynamic programming languages such as Python, Ruby and Groovy, or other programming languages. The program code may run entirely on the user's computer, or as an independent software package on the user's computer, or partly on the user's computer, partly on a remote computer, or entirely on the remote computer or server. In the latter case, the remote computer can be connected to the user's computer through any form of network, such as a local area network (LAN) or a wide area network (WAN), or connected to an external computer (eg, via the Internet), or in a cloud computing environment, or as a service Use as software as a service (SaaS).

此外,除非权利要求中明确说明,本申请所述处理元素和序列的顺序、数字字母的使用、或其他名称的使用,并非用于限定本申请流程和方法的顺序。尽管上述披露中通过各种示例讨论了一些目前认为有用的发明实施例,但应当理解的是,该类细节仅起到说明的目的,附加的权利要求并不仅限于披露的实施例,相反,权利要求旨在覆盖所有符合本申请实施例实质和范围的修正和等价组合。例如,虽然以上所描述的系统组件可以通过硬件设备实现,但是也可以只通过软件的解决方案得以实现,如在现有的服务器或移动设备上安装所描述的系统。In addition, unless explicitly stated in the claims, the order of processing elements and sequences, the use of alphanumeric characters, or the use of other names in the present application are not intended to limit the order of the processes and methods of the present application. Although the above disclosure discusses some currently considered useful embodiments of the invention through various examples, it should be understood that such details are for illustrative purposes only, and the appended claims are not limited to the disclosed embodiments. The requirement is to cover all amendments and equivalent combinations that conform to the essence and scope of the embodiments of this application. For example, although the system components described above can be implemented by hardware devices, they can also be implemented only by software solutions, such as installing the described system on an existing server or mobile device.

同理,应当注意的是,为了简化本申请披露的表述,从而帮助对一个或多个发明实施例的理解,前文对本申请实施例的描述中,有时会将多种特征归并至一个实施例、附图或对其的描述中。但是,这种披露方法并不意味着本申请对象所需要的特征比权利要求中提及的特征多。实际上,实施例的特征要少于上述披露的单个实施例的全部特征。For the same reason, it should be noted that, in order to simplify the expression disclosed in this application and thereby help to understand one or more embodiments of the invention, in the foregoing description of the embodiments of this application, various features are sometimes merged into one embodiment, In the drawings or its description. However, this disclosure method does not mean that the object of this application requires more features than those mentioned in the claims. In fact, the features of the embodiments are less than all the features of the single embodiments disclosed above.

一些实施例中使用了描述成分、属性数量的数字,应当理解的是,此类用于实施例描述的数字,在一些示例中使用了修饰词“大约”、“近似”或“大体上”来修饰。除非另外说明,“大约”、“近似”或“大体上”表明所述数字允许有±20%的变化。相应地,在一些实施例中,说明书和权利要求中使用的数值参数均为近似值,该近似值根据个别实施例所需特点可以发生改变。在一些实施例中,数值参数应考虑规定的有效数位并采用一般位数保留的方法。尽管本申请一些实施例中用于确认其范围广度的数值域和参数为近似值,在具体实施例中,此类数值的设定在可行范围内尽可能精确。Some embodiments use numbers describing the number of components and attributes. It should be understood that such numbers used in embodiment descriptions use the modifiers "about", "approximately", or "generally" in some examples. Grooming. Unless otherwise stated, "approximately", "approximately" or "substantially" indicates that the figures allow a variation of ±20%. Correspondingly, in some embodiments, the numerical parameters used in the specification and claims are all approximate values, and the approximate values may be changed according to the characteristics required by individual embodiments. In some embodiments, the numerical parameters should consider the specified significant digits and adopt the method of general digit retention. Although the numerical fields and parameters used to confirm the breadth of their ranges in some embodiments of the present application are approximate values, in specific embodiments, the setting of such numerical values is as accurate as possible within the feasible range.

针对本申请引用的每个专利、专利申请、专利申请公开物和其他材料,如文章、书籍、说明书、出版物、文档等,特此将其全部内容并入本申请作为参考。与本申请内容不一致或产生冲突的申请历史文件除外,对本申请权利要求最广范围有限制的文件(当前或之后附加于本申请中的)也除外。需要说明的是,如果本申请附属材料中的描述、定义、和/或术语的使用与本申请所述内容有不一致或冲突的地方,以本申请的描述、定义和/或术语的使用为准。For each patent, patent application, patent application publication, and other materials cited in this application, such as articles, books, specifications, publications, documents, etc., the entire contents are hereby incorporated by reference into this application. Except for application history documents that are inconsistent with or conflict with the content of this application, except for documents that have the widest scope of claims in this application (currently or later attached to this application) are also excluded. It should be noted that if there is any inconsistency or conflict between the description, definition, and/or terminology in the accompanying materials of this application and the content described in this application, the description, definition, and/or terminology in this application shall prevail .

最后,应当理解的是,本申请中所述实施例仅用以说明本申请实施例的原则。其他的变形也可能属于本申请的范围。因此,作为示例而非限制,本申请实施例的替代配置可视为与本申请的教导一致。相应地,本申请的实施例不仅限于本申请明确介绍和描述的实施例。Finally, it should be understood that the embodiments described in this application are only used to illustrate the principles of the embodiments of this application. Other variations may also fall within the scope of this application. Therefore, as an example rather than a limitation, the alternative configuration of the embodiments of the present application can be regarded as consistent with the teachings of the present application. Accordingly, the embodiments of the present application are not limited to the embodiments explicitly introduced and described in the present application.

Claims (18)

一种设备控制系统,其特征在于,包括:An equipment control system, characterized in that it includes: 存储一组指令的存储设备;以及A storage device that stores a set of instructions; and 与所述存储设备通信的一个或以上处理器,其中,当执行所述组指令时,所述一个或以上处理器被配置为使所述系统:One or more processors in communication with the storage device, wherein, when executing the set of instructions, the one or more processors are configured to cause the system to: 获取密码键盘显示指令;Get password keyboard display instructions; 依据所述显示指令对应的显示模式在目标设备上生成密码键盘显示界面;Generating a password keyboard display interface on the target device according to the display mode corresponding to the display instruction; 获取输入至所述密码键盘显示界面中的密码信息,并依据所述显示模式和预存储的密码对所述密码信息进行验证,若验证成功,控制所述目标设备进入与所述预存储的密码相匹配的目标状态。Obtain the password information input into the display interface of the password keyboard, and verify the password information according to the display mode and the pre-stored password, and if the verification is successful, control the target device to enter the pre-stored password Match the target state. 根据权利要求1所述的系统,其特征在于,所述显示模式包括乱序显示模式,所述一个或以上处理器被进一步配置为使所述系统:The system of claim 1, wherein the display mode includes an out-of-order display mode, and the one or more processors are further configured to cause the system to: 基于所述乱序显示模式,生成所述密码键盘的目标显示界面,所述目标显示界面至少包括两个乱序显示的显示标识。Based on the out-of-order display mode, a target display interface of the password keyboard is generated, and the target display interface includes at least two display indicators displayed out of order. 根据权利要求2所述的系统,其特征在于,所述目标设备包括具有能够显示密码键盘的智能设备;或者由密码器和智能装置组成的智能设备。The system according to claim 2, wherein the target device comprises a smart device having a keyboard capable of displaying a password; or a smart device composed of a cipher and a smart device. 根据权利要求3所述的系统,其特征在于,所述一个或以上处理器被进一步配置为使所述系统:The system of claim 3, wherein the one or more processors are further configured to cause the system to: 所述显示指令对应的生成模式包括以下一种:The generation mode corresponding to the display instruction includes one of the following: 响应于所述目标设备的显示界面或密码键盘的触摸信号,生成显示指令;Generating a display instruction in response to the touch signal of the display interface of the target device or the password keyboard; 响应于与所述目标设备的密码键盘相匹配的触发区域的触发信号,生成显示指令;Generating a display instruction in response to the trigger signal of the trigger area matching the password keyboard of the target device; 依据服务端或者用户终端发送的指令,获得显示指令。Obtain the display instruction according to the instruction sent by the server or the user terminal. 根据权利要求2所述的系统,其特征在于,所述一个或以上处理器 被进一步配置为使所述系统:The system of claim 2, wherein the one or more processors are further configured to cause the system to: 查找是否存储有与所述目标设备当前用户对应的乱序显示模式匹配的目标显示模式;Searching whether there is stored a target display mode matching the out-of-order display mode corresponding to the current user of the target device; 如果存在所述匹配的目标显示模式,则按照所述目标显示模式生成所述密码键盘的目标显示界面;If there is the matching target display mode, the target display interface of the password keyboard is generated according to the target display mode; 如果不存在所述匹配的目标显示模式,则按照预设的乱序显示模式生成所述密码键盘的目标显示界面。If there is no matching target display mode, the target display interface of the password keyboard is generated according to the preset out-of-order display mode. 根据权利要求5所述的系统,其特征在于,所述一个或以上处理器被进一步配置为使所述系统:The system of claim 5, wherein the one or more processors are further configured to cause the system: 如果不存在所述匹配的目标显示模式,生成目标显示模式设置提示信息;所述提示信息用于提示所述目标设备的当前用于设置与所述乱序显示模式对应的目标显示模式。If the matching target display mode does not exist, the target display mode setting prompt information is generated; the prompt information is used to prompt the target device to currently set the target display mode corresponding to the out-of-order display mode. 根据权利要求2所述的系统,其特征在于,所述一个或以上处理器被进一步配置为使所述系统:The system of claim 2, wherein the one or more processors are further configured to cause the system: 创建与所述密码键盘中显示矩阵匹配的数组;Create an array that matches the display matrix in the password keyboard; 将各个待显示标识随机添加至所述数组中,得到待显示数组;Randomly add each identifier to be displayed to the array to obtain an array to be displayed; 将所述待显示数组在所述密码键盘中进行显示,获得所述密码键盘的目标显示界面。Displaying the array to be displayed in the password keyboard to obtain a target display interface of the password keyboard. 根据权利要求1所述的系统,其特征在于,所述一个或以上处理器被进一步配置为使所述系统:The system of claim 1, wherein the one or more processors are further configured to cause the system: 若验证不成功,控制所述目标设备维持原状态,并生成提示信息;所述提示信息包括提示密码错误的信息;If the verification is unsuccessful, control the target device to maintain the original state and generate prompt information; the prompt information includes information prompting the wrong password; 若验证不成功,且对应的验证次数超过次数阈值,生成警报信息,将所述警报信息发送至预设目的终端。If the verification is unsuccessful, and the corresponding verification times exceed the threshold number of times, alarm information is generated, and the alarm information is sent to the preset destination terminal. 根据权利要求1所述的系统,其特征在于,所述一个或以上处理器被进一步配置为使所述系统:The system of claim 1, wherein the one or more processors are further configured to cause the system: 接收所述客户端发送的密码键盘显示指令。Receiving a password keyboard display instruction sent by the client. 根据权利要求9所述的系统,其特征在于,所述一个或以上处理器被进一步配置为使所述系统:The system of claim 9, wherein the one or more processors are further configured to cause the system: 将所述目标显示界面在所述客户端的显示界面中进行显示,使得所述客户端通过所述目标显示界面获取所述密码信息。Displaying the target display interface in the display interface of the client, so that the client obtains the password information through the target display interface. 根据权利要求1所述的系统,其特征在于,所述一个或以上处理器进一步配置为使所述系统:The system of claim 1, wherein the one or more processors are further configured to cause the system to: 逐一记录目标显示界面上被触发的按键的按键序号;Record the key sequence number of the key that is triggered on the target display interface one by one; 从所述显示模式对应的数组中查询获得该按键序号对应的目标标识;Querying the array corresponding to the display mode to obtain the target identifier corresponding to the key sequence number; 将所述每个目标标识与预存储的密码中对应的标识信息进行验证,若每个所述目标标识与所述预存储的密码中的标识信息完全匹配,则验证成功。Verifying each target identification and corresponding identification information in the pre-stored password, and if each target identification completely matches the identification information in the pre-stored password, the verification is successful. 一种设备控制方法,其特征在于,包括:A device control method, characterized in that it includes: 获取密码键盘显示指令;Get password keyboard display instructions; 依据所述显示指令对应的显示模式在目标设备上生成密码键盘显示界面;Generating a password keyboard display interface on the target device according to the display mode corresponding to the display instruction; 获取输入至所述密码键盘显示界面中的密码信息,并依据所述显示模式和预存储的密码对所述密码信息进行验证,若验证成功,控制所述目标设备进入与所述预存储的密码相匹配的目标状态。Obtain the password information input into the password keyboard display interface, and verify the password information according to the display mode and the pre-stored password, and if the verification is successful, control the target device to enter the pre-stored password Match the target state. 一种计算机可读存储介质,其特征在于,所述存储介质存储计算机指令,当由系统的一个或以上处理器执行所述指令时,使得所述系统:A computer-readable storage medium, characterized in that the storage medium stores computer instructions, which when executed by one or more processors of the system, causes the system to: 获取密码键盘显示指令;Get password keyboard display instructions; 依据所述显示指令对应的显示模式在目标设备上生成密码键盘显示界面;Generating a password keyboard display interface on the target device according to the display mode corresponding to the display instruction; 获取输入至所述密码键盘显示界面中的密码信息,并依据所述显示模式和预存储的密码对所述密码信息进行验证,若验证成功,控制所述目标设备进入与所述预存储的密码相匹配的目标状态。Obtain the password information input into the password keyboard display interface, and verify the password information according to the display mode and the pre-stored password, and if the verification is successful, control the target device to enter the pre-stored password Match the target state. 一种控制方法,其特征在于,应用于智能设备,该方法包括:A control method, which is characterized in that it is applied to an intelligent device, the method includes: 响应于接收到的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式;In response to the received password keyboard display instruction, according to the password keyboard display instruction, determine the display mode corresponding to the display instruction; 依据所述显示模式对密码键盘中的待显示标识进行显示;Display the logo to be displayed in the password keyboard according to the display mode; 接收用户在显示的密码键盘中输入的密码信息,并根据所述显示模式和预设解锁密码对所述密码信息进行验证,若验证成功,则控制所述智能设备解锁。Receive the password information entered by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset unlock password, and if the verification is successful, control the smart device to unlock. 一种控制方法,其特征在于,应用于智能门锁,该方法包括:A control method characterized by being applied to an intelligent door lock, the method includes: 响应于接收到的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式;In response to the received password keyboard display instruction, according to the password keyboard display instruction, determine the display mode corresponding to the display instruction; 依据所述显示模式对密码键盘中的待显示标识进行显示;Display the logo to be displayed in the password keyboard according to the display mode; 接收用户在显示的密码键盘中输入的密码信息,并根据所述显示模式和预设的智能门锁开锁密码对所述密码信息进行验证,若验证成功,则控制所述智能门锁开锁。Receive the password information entered by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset smart door lock unlock password, and if the verification is successful, control the smart door lock to unlock. 一种设备控制装置,其特征在于,包括:An equipment control device, characterized in that it includes: 指令获取单元,用于获取密码键盘显示指令;Instruction acquisition unit, used to acquire password keyboard display instructions; 界面生成单元,用于依据所述显示指令对应的显示模式在目标设备上生成密码键盘显示界面;An interface generating unit, configured to generate a password keyboard display interface on the target device according to the display mode corresponding to the display instruction; 验证单元,用于获取输入至所述密码键盘显示界面中的密码信息,并依据所述显示模式和预存储的密码对所述密码信息进行验证,若验证成功,控制所述目标设备进入与所述预存储的密码相匹配的目标状态。The verification unit is used to obtain the password information input into the display interface of the password keyboard, and verify the password information according to the display mode and the pre-stored password. If the verification is successful, the target device is controlled to enter and Said the pre-stored password matches the target state. 一种控制装置,其特征在于,应用于智能设备,该装置包括:A control device characterized by being applied to intelligent equipment, the device comprising: 第一确定单元,用于响应于接收到的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式;A first determining unit, configured to determine a display mode corresponding to the display instruction according to the received password keyboard display instruction in response to the received password keyboard display instruction; 第一显示单元,用于依据所述显示模式对密码键盘中的待显示标识进行显示;The first display unit is used to display the logo to be displayed in the password keyboard according to the display mode; 第一控制单元,用于接收用户在显示的密码键盘中输入的密码信息,并根据所述显示模式和预设解锁密码对所述密码信息进行验证,若验证成 功,则控制所述智能设备解锁。The first control unit is configured to receive the password information input by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset unlock password, and if the verification is successful, control the smart device to unlock . 一种智能门锁,其特征在于,该智能门锁包括:An intelligent door lock, characterized in that the intelligent door lock includes: 第二确定单元,用于响应于接收到的密码键盘显示指令,依据所述密码键盘显示指令,确定与所述显示指令对应的显示模式;A second determining unit, configured to determine a display mode corresponding to the display instruction according to the received password keyboard display instruction in response to the received password keyboard display instruction; 第二显示单元,用于依据所述显示模式对密码键盘中的待显示标识进行显示;A second display unit, configured to display the logo to be displayed in the password keyboard according to the display mode; 第二控制单元,用于接收用户在显示的密码键盘中输入的密码信息,并根据所述显示模式和预设的智能门锁开锁密码对所述密码信息进行验证,若验证成功,则控制所述智能门锁开锁。The second control unit is used to receive the password information input by the user in the displayed password keyboard, and verify the password information according to the display mode and the preset smart door lock unlocking password. The smart door lock is unlocked.
PCT/CN2019/126245 2018-12-18 2019-12-18 Device control method, apparatus and system Ceased WO2020125667A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201811548185.4 2018-12-18
CN201811548185.4A CN109559415A (en) 2018-12-18 2018-12-18 A kind of intelligent door lock control method and intelligent door lock
CN201811552301.X 2018-12-18
CN201811552301.XA CN111340978B (en) 2018-12-18 2018-12-18 Intelligent device unlocking method and system

Publications (1)

Publication Number Publication Date
WO2020125667A1 true WO2020125667A1 (en) 2020-06-25

Family

ID=71100635

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/126245 Ceased WO2020125667A1 (en) 2018-12-18 2019-12-18 Device control method, apparatus and system

Country Status (1)

Country Link
WO (1) WO2020125667A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867159A (en) * 2011-07-05 2013-01-09 腾讯科技(深圳)有限公司 Method, system, client and server for inputting password by soft keyboard
WO2015078184A1 (en) * 2013-11-29 2015-06-04 天地融科技股份有限公司 Password input method and system
CN107851146A (en) * 2015-05-27 2018-03-27 利森提亚集团有限公司 Authentication method and system
CN108154055A (en) * 2018-01-10 2018-06-12 上海展扬通信技术有限公司 Cipher-code input method, mobile terminal and storage medium
CN109559415A (en) * 2018-12-18 2019-04-02 云丁网络技术(北京)有限公司 A kind of intelligent door lock control method and intelligent door lock

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102867159A (en) * 2011-07-05 2013-01-09 腾讯科技(深圳)有限公司 Method, system, client and server for inputting password by soft keyboard
WO2015078184A1 (en) * 2013-11-29 2015-06-04 天地融科技股份有限公司 Password input method and system
CN107851146A (en) * 2015-05-27 2018-03-27 利森提亚集团有限公司 Authentication method and system
CN108154055A (en) * 2018-01-10 2018-06-12 上海展扬通信技术有限公司 Cipher-code input method, mobile terminal and storage medium
CN109559415A (en) * 2018-12-18 2019-04-02 云丁网络技术(北京)有限公司 A kind of intelligent door lock control method and intelligent door lock

Similar Documents

Publication Publication Date Title
US10798090B2 (en) User authentication method, system for implementing the same, and information communication terminal used in the same
US10176312B2 (en) Fingerprint gestures
KR102013924B1 (en) User proximity control of devices
US9892357B2 (en) Method for remotely controlling a reprogrammable payment card
US10574647B2 (en) User authentication method and system for implementing same
KR101829018B1 (en) Digital doorlock system
US20130024932A1 (en) Enhanced security for bluetooth-enabled devices
AU2017276840A1 (en) Padlock device, systems including a padlock device, and methods of operating therefor
WO2017075952A1 (en) Method and device for controlling intelligent door lock, and intelligent door control system
KR101963437B1 (en) System and method for doorlock
CN104240346A (en) Intelligent anti-theft lock system based on interconnection with mobile intelligent terminal
CN109559415A (en) A kind of intelligent door lock control method and intelligent door lock
KR200478030Y1 (en) A Remote Lock System using Wireless Communications
US11868169B2 (en) Enabling access to data
KR101480131B1 (en) Authentication System of the many users using mobile device and method thereof
KR100664680B1 (en) Multiple password management methods and portable management device implementing the same
JP2025004144A (en) Facility rental system and facility rental method
WO2020125667A1 (en) Device control method, apparatus and system
US10678895B2 (en) Data input method, and electronic device and system for implementing the data input method
WO2017166359A1 (en) User domain access method, access device, and mobile terminal
KR20150039955A (en) A Remote Lock System using Wireless Communications
KR20160109899A (en) Mobile, doorlock management method using the mobile and recording media storing program performing the said method
KR101674125B1 (en) Method and apparatus for connecting multi-terminal by using authentication
JP5979431B2 (en) Information management apparatus and program
CN117275121B (en) Electronic lock, electronic lock system, display method and storage medium

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

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

Country of ref document: EP

Kind code of ref document: A1

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载