WO2020163976A1 - Procédé de traitement de données, système de verrouillage intelligent et support d'informations - Google Patents

Procédé de traitement de données, système de verrouillage intelligent et support d'informations Download PDF

Info

Publication number
WO2020163976A1
WO2020163976A1 PCT/CN2019/074768 CN2019074768W WO2020163976A1 WO 2020163976 A1 WO2020163976 A1 WO 2020163976A1 CN 2019074768 W CN2019074768 W CN 2019074768W WO 2020163976 A1 WO2020163976 A1 WO 2020163976A1
Authority
WO
WIPO (PCT)
Prior art keywords
fingerprint
processing
user operation
module
acquisition device
Prior art date
Application number
PCT/CN2019/074768
Other languages
English (en)
Chinese (zh)
Inventor
曾鑫澄
李庆斌
Original Assignee
深圳市汇顶科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市汇顶科技股份有限公司 filed Critical 深圳市汇顶科技股份有限公司
Priority to PCT/CN2019/074768 priority Critical patent/WO2020163976A1/fr
Priority to CN201980000280.7A priority patent/CN109983512A/zh
Publication of WO2020163976A1 publication Critical patent/WO2020163976A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/12Fingerprints or palmprints
    • G06V40/1365Matching; Classification
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C9/00Individual registration on entry or exit
    • G07C9/00174Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
    • G07C9/00563Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys using personal physical data of the operator, e.g. finger prints, retinal images, voicepatterns

Definitions

  • This application relates to the field of information security technology, and in particular to a data processing method, smart lock system and storage medium.
  • a smart lock system with fingerprint function mainly includes a processor and fingerprint peripherals.
  • the processor may receive operation instructions from the fingerprint peripheral and perform corresponding processing, for example, to implement functions such as fingerprint identification, fingerprint registration, and fingerprint deletion.
  • the processor can only simply interact with the fingerprint peripheral to implement corresponding operations, which has poor operability, resulting in poor system stability and poor user experience.
  • the present application provides a data processing method, a smart lock system, and a storage medium, which are used to solve the technical problems of poor system stability and poor user experience in the existing smart lock system.
  • the first aspect of the present application provides a data processing method, which is applied to a smart lock system.
  • the smart lock system includes a processing device and a fingerprint acquisition device, and the method includes:
  • the processing device receives a user operation request, the user operation request is used to indicate that the working state of the fingerprint processing module is a target working state corresponding to the user operation request, and the processing device includes a fingerprint processing module;
  • the processing device generates a user operation instruction according to the user operation request, where the user operation instruction is used to instruct the fingerprint processing module and the fingerprint acquisition device to perform an operation corresponding to the user operation instruction;
  • the processing device controls the fingerprint processing module to interact with the fingerprint acquisition device in the target working state, completes the operation corresponding to the user operation instruction, and obtains the processing result.
  • the method before the processing device generates a user operation instruction according to the user operation request, the method further includes:
  • the processing device controls the working state of the fingerprint processing module to switch to the target working state.
  • the method further includes:
  • the processing device saves the processing result, and controls the working state of the fingerprint processing module to switch to a default working state.
  • the fingerprint processing module works in the recognition state by default. It periodically sends recognition instructions to the fingerprint acquisition device, so that the fingerprint acquisition device directly performs fingerprint recognition when receiving a user recognition request, without reporting, which saves recognition time. Improve the user experience.
  • the working state of the fingerprint processing module includes: an identification state, a registration state, and an idle state;
  • the recognition state is a default working state of the fingerprint processing module, and the recognition state, the registered state, and the idle state can be switched mutually;
  • the fingerprint processing module performs a fingerprint recognition operation with the fingerprint acquisition device in the recognition state, the fingerprint processing module performs a fingerprint registration operation with the fingerprint acquisition device in the registration state, and the fingerprint processing module is
  • the operations performed with the fingerprint acquisition device in the idle state include at least one of the following: fingerprint deletion, fingerprint query, and fingerprint priority setting.
  • the user operation request is a fingerprint identification request
  • the target working state corresponding to the fingerprint identification request is the identification state
  • the processing device generates a user operation instruction according to the user operation request, including:
  • the processing device generates a fingerprint identification instruction according to the fingerprint identification request
  • the processing device controls the fingerprint processing module to interact with the fingerprint acquisition device in the target working state, completes the operation corresponding to the user operation instruction, and obtains the processing result, including:
  • the processing device controls the fingerprint processing module to interact with the fingerprint acquisition device in the recognition state, completes the fingerprint recognition operation corresponding to the fingerprint recognition instruction, and obtains the recognition result.
  • the user operation request is a fingerprint registration request
  • the target work status corresponding to the fingerprint registration request is the registration status
  • the processing device generates a user operation instruction according to the user operation request, including:
  • the processing device generates a fingerprint registration instruction according to the fingerprint registration request
  • the processing device controls the fingerprint processing module to interact with the fingerprint acquisition device in the target working state, completes the operation corresponding to the user operation instruction, and obtains the processing result, including:
  • the processing device controls the fingerprint processing module to perform at least N interactions with the fingerprint acquisition device based on the fingerprint registration instruction in the registration state, and acquire registration results including N valid fingerprint information, where N is positive Integer.
  • the method further includes:
  • the processing device detects whether the fingerprint processing module is faulty
  • the processing device If it is determined that the fingerprint processing module is faulty, the processing device performs a reset operation on the fingerprint processing module and the fingerprint acquisition device;
  • the processing device After the fingerprint processing module and the fingerprint acquisition device are re-run, the processing device acquires the fingerprint information set from the fingerprint acquisition device, and stores the fingerprint information set in the storage unit included in the processing device.
  • the processing device detecting whether the fingerprint processing module is faulty includes:
  • the processing device After sending the user operation instruction to the fingerprint acquisition device, the processing device detects whether the processing result fed back by the fingerprint acquisition device is received within a preset time limit;
  • the processing device determines that the fingerprint processing module is faulty.
  • the processing device detecting whether the fingerprint processing module is faulty includes:
  • the processing device detects whether a waiting message periodically sent by the fingerprint acquisition device is received
  • the processing device determines that the fingerprint processing module is faulty.
  • the processing device controls the fingerprint processing module to interact with the fingerprint acquisition device block in the target working state, and completes the operation corresponding to the user operation instruction to obtain Processing results, including:
  • the processing device processes the user operation instruction based on the universal asynchronous receiver transmitter UART protocol to obtain a target instruction data packet;
  • the processing device sends the target instruction data packet to the fingerprint acquisition device
  • the fingerprint acquisition device parses the received target instruction data packet to acquire the user operation instruction
  • the fingerprint acquisition device executes the operation corresponding to the user operation instruction to obtain the operation result
  • the fingerprint acquisition device processes the operation result based on the UART protocol to obtain the processing result
  • the processing device receives the processing result returned by the fingerprint acquisition device.
  • the target instruction data packet includes: a protocol header located in the first area, an encrypted random number located in the second area, an encrypted user operation instruction located in the third area, and The data packet check value of the fourth area;
  • the processing device processes the user operation instruction based on the universal asynchronous receiver transmitter UART protocol to obtain the target instruction data packet, including:
  • the processing device sends a random number acquisition request to the fingerprint acquisition device, where the random number acquisition request is used to instruct the fingerprint acquisition device to generate a first random number;
  • the processing device performs a function operation on the received first random number and the second random number generated by itself to obtain a third random number
  • the processing device performs encryption processing on the third random number to obtain the encrypted random number
  • the processing device uses the second random number to perform a cyclic redundancy check CRC check on the user operation instruction to obtain an instruction check value;
  • the processing device puts the instruction check value in front of the user operation instruction, and performs encryption processing on the instruction check value and the user operation instruction to obtain the encrypted user operation instruction;
  • the processing device performs a CRC check on the protocol header, the encrypted random number, and the encrypted user operation instruction to obtain the data packet check value.
  • the processing device receiving a user operation request includes:
  • the processing device receives the user operation request sent by the fingerprint acquisition device, where the user operation request is generated by the fingerprint acquisition device based on the acquired operation of pressing the control button by the user;
  • the processing device receiving a user operation request includes:
  • the processing device receives the user operation request sent by the terminal device, where the user operation request is generated by the terminal device based on the acquired user input operation.
  • the second aspect of the present application provides a smart lock system, including: a processing device and a fingerprint acquisition device;
  • the processing device includes: a first transceiver module, a second transceiver module, a generation module, a control module, and a fingerprint processing module;
  • the first transceiver module is configured to receive a user operation request, the user operation request is used to indicate that the working state of the fingerprint processing module is a target working state corresponding to the user operation request;
  • the generating module is configured to generate a user operation instruction according to the user operation request received by the first transceiver module, and the user operation instruction is used to instruct the fingerprint processing module and the fingerprint acquisition device to execute the user The operation corresponding to the operation instruction;
  • the control module is configured to control the fingerprint processing module to interact with the fingerprint acquisition device through the second transceiver module in the target working state, complete the operation corresponding to the user operation instruction, and obtain a processing result.
  • control module is further configured to, before the generation module generates a user operation instruction according to the user operation request, if it is determined that the current working state of the fingerprint processing module is not the The target working state is controlled to switch the working state of the fingerprint processing module to the target working state.
  • control module is further configured to save the processing result and control the working state of the fingerprint processing module to switch to the default working state.
  • the working state of the fingerprint processing module includes: an identification state, a registration state, and an idle state;
  • the recognition state is a default working state of the fingerprint processing module, and the recognition state, the registered state, and the idle state can be switched mutually;
  • the fingerprint processing module performs a fingerprint recognition operation with the fingerprint acquisition device in the recognition state, the fingerprint processing module performs a fingerprint registration operation with the fingerprint acquisition device in the registration state, and the fingerprint processing module is
  • the operations performed with the fingerprint acquisition device in the idle state include at least one of the following: fingerprint deletion, fingerprint query, and fingerprint priority setting.
  • the user operation request is a fingerprint identification request
  • the target working state corresponding to the fingerprint identification request is the identification state
  • the generating module is specifically configured to generate a fingerprint recognition instruction according to the fingerprint recognition request;
  • the control module is specifically configured to control the fingerprint processing module to interact with the fingerprint acquisition device through the second transceiver module in the recognition state, complete the fingerprint recognition operation corresponding to the fingerprint recognition instruction, and obtain recognition result.
  • the user operation request is a fingerprint registration request
  • the target work status corresponding to the fingerprint registration request is the registration status
  • the generating module is specifically configured to generate a fingerprint registration instruction according to the fingerprint registration request;
  • the control module is specifically configured to control the fingerprint processing module to perform at least N interactions with the fingerprint acquisition device through the second transceiver module based on the fingerprint registration instruction in the registration state, and acquire including N valid The registration result of fingerprint information, where N is a positive integer.
  • the processing device further includes: a detection module, a determination module, and an acquisition module;
  • the detection module is configured to detect whether the fingerprint processing module is faulty based on the interaction between the second transceiver module and the fingerprint acquisition device;
  • the control module is further configured to perform a reset operation on the fingerprint processing module and the fingerprint acquisition device when the determining module determines that the fingerprint processing module is faulty;
  • the acquiring module is configured to acquire a fingerprint information set from the fingerprint acquiring device after the fingerprint processing module and the fingerprint acquiring device are re-run;
  • the control module is further configured to store the fingerprint information set acquired by the acquisition module in a storage unit included in the processing device.
  • the detection module is specifically configured to detect whether the second transceiver module is in operation after the second transceiver module sends the user operation instruction to the fingerprint acquisition device. Receiving the processing result fed back by the fingerprint acquisition device within a preset time limit;
  • the determining module is configured to determine that the fingerprint processing module is faulty when the second transceiver module does not receive the processing result fed back by the fingerprint acquisition device within the preset time limit.
  • the detection module is specifically configured to detect whether the second transceiver module receives a waiting message periodically sent by the fingerprint acquisition device;
  • the determining module is configured to determine that the fingerprint processing module is faulty when the second transceiver module does not receive the waiting message periodically sent by the fingerprint acquisition device.
  • control module is configured to control the fingerprint processing module to interact with the fingerprint acquisition device through the second transceiver module in the target working state to complete all Describe the operation corresponding to the user operation instruction to obtain the processing result, specifically:
  • the fingerprint processing module is configured to process the user operation instruction based on the universal asynchronous receiver transmitter UART protocol to obtain a target instruction data packet;
  • the second transceiver module is configured to send the target instruction data packet to the fingerprint acquisition device
  • the fingerprint acquisition device is configured to parse the received target instruction data packet, acquire the user operation instruction, and execute the operation corresponding to the user operation instruction to obtain the operation result, and pair based on the UART protocol Processing the operation result to obtain the processing result;
  • the second transceiver module is also configured to receive the processing result returned by the fingerprint acquisition device.
  • the target instruction data packet includes: a protocol header located in the first area, an encrypted random number located in the second area, an encrypted user operation instruction located in the third area, and The data packet check value of the fourth area;
  • the transceiver module is specifically configured to send a random number acquisition request to the fingerprint acquisition device, and the random number acquisition request is used to instruct the fingerprint acquisition device to generate a first random number;
  • the fingerprint acquisition device is configured to send the generated first random number to the fingerprint processing module
  • the fingerprint processing module is configured to perform a function operation on the received first random number and a second random number generated by itself to obtain a third random number, and perform encryption processing on the third random number to obtain the
  • the encrypted random number uses the second random number to perform a cyclic redundancy check CRC check on the user operation instruction to obtain an instruction check value, and place the instruction check value in the user operation instruction And encrypt the command check value and the user operation command to obtain the encrypted user operation command, as well as the protocol header, the encrypted random number, and the encrypted
  • the CRC check is performed on the user operation instruction of, and the check value of the data packet is obtained.
  • the first transceiver module is specifically configured to receive the user operation request sent by the fingerprint acquisition device, and the user operation request is based on the fingerprint acquisition device acquiring Generated by the user pressing the control button;
  • the first transceiver module is specifically configured to receive the user operation request sent by a terminal device, where the user operation request is generated by the terminal device based on the acquired user input operation.
  • a third aspect of the present application provides a storage medium in which instructions are stored, which when run on a computer, cause the computer to execute the method described in the first aspect and the embodiments of the first aspect.
  • the data processing method, smart lock system, and storage medium provided by the embodiments of the present application receive a user operation request through the processing device, and the user operation request is used to indicate that the working state of the fingerprint processing module is the target working state, and the user is generated according to the user operation request
  • the operation instruction controls the fingerprint processing module to interact with the fingerprint acquisition device in the target working state to complete the operation corresponding to the user operation instruction.
  • the processing device can control the fingerprint processing module to interact with the fingerprint acquisition device, realize the unified management of instruction operations, improve the stability of the smart lock system, and enhance the user experience.
  • FIG. 1 is a schematic structural diagram of a smart lock system provided by an embodiment of the application
  • Embodiment 1 of a data processing method provided by an embodiment of this application;
  • Embodiment 2 is a schematic flowchart of Embodiment 2 of the data processing method provided by an embodiment of this application;
  • Embodiment 4 is a schematic flowchart of Embodiment 3 of the data processing method provided by an embodiment of the application;
  • Embodiment 4 is a schematic flowchart of Embodiment 4 of a data processing method provided by an embodiment of this application;
  • Figure 6 is a schematic diagram of the structure of the target instruction data packet
  • FIG. 7 is a schematic structural diagram of Embodiment 1 of a smart lock system provided by an embodiment of this application.
  • FIG. 8 is a schematic structural diagram of Embodiment 2 of a smart lock system provided by an embodiment of this application.
  • FIG. 1 is a schematic structural diagram of a smart lock system provided by an embodiment of the application.
  • the smart lock system may include: a processing device 11 and a fingerprint acquisition device 12 connected to each other.
  • the processing device 11 is the main control component of the smart lock system, which can not only communicate with terminal devices outside the smart lock system, but also interact with the fingerprint acquisition device 12 to complete corresponding operations.
  • the processing device 11 may include: a fingerprint processing module 111, a processor 112, and a storage unit 113.
  • the fingerprint processing module 111 can run independently of the processor 112, and perform corresponding processing with the assistance of the processor 112.
  • the fingerprint processing module 111 can also be integrated inside the processor 112, and the processor 112 can implement corresponding processing.
  • the storage unit 113 may be integrated on the processor 112, or may be a part of the fingerprint processing module 111.
  • the fingerprint processing module 111 is integrated in the processor 112, and the storage unit 113 is integrated in the fingerprint processing module 111 for illustration.
  • the specific positional relationship of the fingerprint processing module 111, the storage unit 113, and the processor 112 is not limited in the embodiment of the present application.
  • the fingerprint processing module 111 can maintain its operational working status and the data stored in the storage unit 113, and the fingerprint processing module 111 can provide external interface services for the processing device 11, such as The processing device 11 can communicate with the application on the terminal device through the interface service, as shown in FIG. 1.
  • the fingerprint processing module 111 may also provide external interface services for other modules 110 (for example, near field communication (NFC), keyboard) supported by the processing device 11, and guarantee Under the premise of compatibility, multiple extensible functions are provided, for example, extensible function 1 and extensible function 2.
  • NFC near field communication
  • the storage unit 113 may not only store the fingerprint information acquired from the fingerprint acquisition device 12, but also store the processing result of the processing device 11 and the working status information of the fingerprint processing module 111.
  • the storage unit 113 can be implemented in hardware through a random access memory RAM, and in software through a database. The specific implementation form of the storage unit 113 is not limited in the embodiment of this application. .
  • the fingerprint acquisition device 12 can be regarded as a fingerprint module peripheral located at the bottom layer.
  • the fingerprint acquisition device 12 includes a controller 121, a non-volatile (Flash) memory 122, and a fingerprint sensor 123.
  • the fingerprint sensor 123 can directly interact with the user, for example, to provide the user with a selection function and detect the user's pressing operation, and transmit the obtained user operation request to the controller 121, and the controller 121 realizes the interaction with the user.
  • the memory 122 can store firmware programs and fingerprint information. When the fingerprint acquisition device 12 is powered off or reset, the data stored in the memory 122 will not be lost.
  • the firmware program is also a solidified program that can be run on the fingerprint acquisition device 12, and the controller 122 operates based on this firmware program.
  • the controller 122 can record the firmware program from the memory 122 into the memory of the controller 121 to run.
  • the processing device 11 and the fingerprint acquisition device 12 may communicate through a first preset protocol, and the first preset protocol includes but is not limited to a universal asynchronous receiver/transmitter (UART)
  • UART universal asynchronous receiver/transmitter
  • the processing device 11 may communicate with an application program installed on the terminal device.
  • an application related to the smart lock system installed on the terminal device is called an upper layer application.
  • the upper layer application may be, for example, a Bluetooth low energy (BLE) application or It is a narrowband-internet of things (NB-IoT) application, and the upper layer application may also be other types of applications, which is not limited in this embodiment.
  • BLE Bluetooth low energy
  • NB-IoT narrowband-internet of things
  • the upper-layer application on the terminal device may call the interface service provided by the fingerprint processing module 111 to the outside, and communicate with the processing device 11 in the smart lock system through the second preset protocol.
  • the second preset protocol may be a restricted application protocol (CoAP), a message queue telemetry transmission (message queuing telemetry transport, MQTT) protocol, or other protocols. The embodiment does not limit this.
  • the embodiment of the application provides a data processing method applied to the above-mentioned smart lock system shown in FIG. 1.
  • a user operation request is received through a processing device, and the user operation request is used to indicate that the fingerprint processing module is working in accordance with the user operation request
  • the corresponding target work state generates a user operation instruction according to the user operation request, and controls the fingerprint processing module to interact with the fingerprint acquisition device in the target work state to complete the operation corresponding to the user operation instruction.
  • the processing device can control the fingerprint processing module to interact with the fingerprint acquisition device, realize the unified management of instruction operations, improve the stability of the smart lock system, and enhance the user experience.
  • FIG. 2 is a schematic flowchart of Embodiment 1 of a data processing method provided by an embodiment of this application.
  • the data processing method provided by the embodiment of the present application is applied to the smart lock system described in FIG. 1.
  • the smart lock system includes a processing device and a fingerprint acquisition device, and the processing device includes a fingerprint processing module.
  • the method may include the following steps:
  • Step 21 The processing device receives a user operation request, and the user operation request is used to indicate that the working state of the fingerprint processing module is a target working state corresponding to the user operation request.
  • the fingerprint processing module of the smart lock system may be integrated in the processor of the processing device based on the embedded real-time operating system, that is, an independent fingerprint processing thread task is established in the processor, and the The fingerprint processing module processes operations related to fingerprint processing thread tasks, maintains the working status of the fingerprint processing module, and saves the processing results of the fingerprint processing thread tasks and the fingerprint status set.
  • the processing device can not only receive the processing results returned by the fingerprint acquisition device, but also receive the user's delivery through the application on the terminal device To control the fingerprint processing module to work in a target working state corresponding to the user operation request.
  • the processing device can receive the user operation request in at least the following two ways:
  • the processing device receives the user operation request sent by the fingerprint acquisition device, and the user operation request is generated by the fingerprint acquisition device based on the acquired operation of pressing the control button by the user.
  • the fingerprint acquisition device when the user performs an operation such as pressing on the fingerprint acquisition device, the fingerprint acquisition device generates a user operation request and sends it to the processing device.
  • the fingerprint acquisition device For example, if the user presses the registration button, delete button, query button or fingerprint priority setting button on the fingerprint acquisition device, it will trigger the fingerprint acquisition device to generate a fingerprint registration request, fingerprint deletion request, fingerprint query request or fingerprint priority setting Request etc.
  • the operation of the fingerprint acquisition device to generate the above user operation request does not require the participation of the controller of the fingerprint acquisition device.
  • the control button and other operations it will directly generate the user operation request and send it to the processing device.
  • the processing apparatus receives the user operation request sent by the terminal device, where the user operation request is generated by the terminal device based on the acquired user input operation.
  • the terminal device if the user clicks the registration button, query button, delete button, or fingerprint priority setting button through the user interaction interface of the terminal device, the terminal device will be triggered to generate the corresponding fingerprint registration request, fingerprint deletion request, fingerprint query Request or fingerprint priority setting request, etc.
  • the working state of the fingerprint processing module may include: recognition state, registration state, and idle state.
  • the recognition state is the default working state of the fingerprint processing module, and the recognition state can be switched between the registered state and the idle state.
  • the fingerprint processing module performs fingerprint recognition operations with the fingerprint acquisition device in the recognition state, performs fingerprint registration operations with the fingerprint acquisition device in the registration state, and performs at least one of the following operations with the fingerprint acquisition device in the idle state: Fingerprint deletion, fingerprint query, fingerprint priority setting.
  • the aforementioned user operation request may be at least one of a fingerprint identification request, a fingerprint registration request, a fingerprint deletion request, a fingerprint query request, and a fingerprint priority setting request.
  • the fingerprint recognition request is used to indicate that the working status of the fingerprint processing module is the recognition state
  • the fingerprint registration request is used to indicate that the working state of the fingerprint processing module is the registered state, fingerprint deletion request, fingerprint query request, fingerprint priority setting request, etc. Indicates that the working state of the fingerprint processing module is idle.
  • the fingerprint processing module when it is in the default working state, it will periodically send identification instructions to the fingerprint acquisition device, so that the fingerprint acquisition device can directly perform the identification operation when receiving a user identification request without reporting the fingerprint to the processing device. Identify the request to improve the efficiency of identification.
  • the idle state is a working state of the fingerprint processing module in addition to the identification state and the registration state.
  • the fingerprint processing module can execute fingerprint deletion instructions, fingerprint query instructions, and fingerprints Priority setting instructions and other user operation instructions that do not require interaction with the user during execution.
  • the idle state does not simply mean that the fingerprint processing module is not working, but that the fingerprint processing module can complete some operations that can be processed without interacting with the user in this state. These operations are non-blocking and the processing device can control fingerprint acquisition The device directly completes the corresponding operation.
  • the user operation requests that can be received or acquired by the processing device are not limited to the foregoing ones, and can be determined according to actual conditions.
  • Step 22 Generate a user operation instruction according to the above user operation request.
  • the user operation instruction is used to instruct the fingerprint processing module and the fingerprint acquisition device to perform the operation corresponding to the user operation instruction.
  • the processing device after receiving the above-mentioned user operation request, triggers the fingerprint processing module to generate a corresponding user operation instruction. For example, generate fingerprint recognition instructions based on fingerprint recognition requests, generate fingerprint registration instructions based on fingerprint registration requests, generate fingerprint deletion instructions based on fingerprint deletion requests, generate fingerprint query instructions based on fingerprint query requests, and generate fingerprint priority setting instructions based on fingerprint priority setting requests Wait.
  • the user operation instruction can be used to instruct the fingerprint processing module and the fingerprint acquisition device to perform corresponding operations to implement various services such as fingerprint identification, fingerprint registration, fingerprint deletion, fingerprint query, etc., and perform fingerprint processing results and fingerprints Update of the state set.
  • Step 23 The processing device controls the fingerprint processing module to interact with the fingerprint acquisition device in the target working state, completes the operation corresponding to the user operation instruction, and obtains the processing result.
  • the processing device may control the fingerprint processing module to interact with the fingerprint acquiring device to perform the operation corresponding to the above-mentioned user operation instruction, Correspondingly complete the corresponding operation in the target working state, and finally get the processing result.
  • the processing result may include operation completion information, an updated fingerprint status set, and the like.
  • the processing result may be the completion information of the fingerprint registration operation and the registered fingerprint information after the fingerprint processing module and the fingerprint acquisition device interact.
  • the processing result includes N times collection results (successful collection or collection failure, if it is a collection failure, it includes collection failure The reason) and the fingerprint information collected N times.
  • the processing result includes identification completion information of successful identification or identification failure, and identification failure reason of identification failure.
  • the processing result includes deletion completion information for deletion success or deletion failure, and deletion failure reason when the deletion fails.
  • the processing result is similar to the processing result of the fingerprint deletion instruction, and will not be repeated here.
  • step 23 refers to the embodiment shown in FIG. 5 below, which will not be repeated here.
  • the processing device serves as the control core of the smart lock system and the intermediate layer between the terminal device and the fingerprint acquisition device. It can not only interact with the fingerprint acquisition device at the bottom level, but also provide external services for the upper terminal device application. Interface services, data query, status query and notification services improve the compatibility of processing devices and provide implementation conditions for the development of expandable functions of the smart lock system.
  • the processing device receives a user operation request, and the user operation request is used to indicate that the working state of the fingerprint processing module is the target working state, and the user operation instruction is generated according to the user operation request to control the fingerprint processing module to operate Interact with the fingerprint acquisition device in the target working state to complete the operation corresponding to the user operation instruction.
  • the processing device can control the fingerprint processing module to interact with the fingerprint acquisition device, realize the unified management of instruction operations, improve the stability of the smart lock system, and enhance the user experience.
  • FIG. 3 is a schematic flowchart of Embodiment 2 of a data processing method provided in an embodiment of this application. As shown in Fig. 3, before the above step 22, the method may further include the following steps:
  • Step 31 If the current working state of the fingerprint processing module is not the target working state, the processing device controls the working state of the fingerprint processing module to switch to the target working state.
  • the processing device when the processing device receives a user operation request, it first determines whether the current working state of the fingerprint processing module is the target working state indicated by the user operation request. If the current working state of the fingerprint processing module is the target working state, a user operation instruction is generated, and the fingerprint processing module and the fingerprint acquisition device are controlled to interact to perform the operation corresponding to the user operation instruction. If the current working state of the fingerprint processing module is not the target working state, it is necessary to first control the working state of the fingerprint processing module to switch to the target working state, and then perform the corresponding operation.
  • the user operation request is a fingerprint registration request
  • the current working state of the fingerprint processing module is the recognition state
  • the switching of the working state of the fingerprint processing module is similar to the operation of the above fingerprint registration instruction, and will not be repeated here.
  • the method may further include the following steps:
  • Step 32 The processing device saves the processing result, and controls the working state of the fingerprint processing module to switch to the default working state.
  • the processing device may save the processing result obtained in the foregoing steps.
  • the processing device may include a storage unit, and the storage unit may be integrated in the fingerprint processing module. Therefore, the processing device can save the obtained processing result in the storage unit, so that the processing device can increase the response speed when receiving other operation requests, thereby improving the stability of the smart lock system.
  • the main purpose of the smart lock system is fingerprint identification and unlocking.
  • the identification state of the fingerprint processing module can be set as the default working state.
  • the working state of the fingerprint processing module can be controlled to automatically switch to the default working state, that is, identification Status to improve the intelligence and user experience of the smart lock system.
  • the default working state of the fingerprint processing module in the normal working process is the recognition state, that is, the fingerprint processing module can be controlled when it has not received other requests than the fingerprint recognition request sent by the upper application or the fingerprint acquisition device
  • the fingerprint processing module will periodically send recognition instructions to the fingerprint acquisition device so that the fingerprint acquisition device is in a state of waiting to accept the user's pressing operation, so that the fingerprint acquisition device can accept the user's pressing operation at any time and send it to the fingerprint processing module Send a fingerprint identification request so that the fingerprint processing module and the fingerprint acquisition device cooperate to complete the fingerprint identification operation.
  • the processing device when the user triggers the terminal device to send a fingerprint registration request to the processing device through the application on the terminal device or the registration button on the fingerprint acquisition device, the processing device first controls the fingerprint processing module to cancel the current recognition state and switch to IDLE )status.
  • the fingerprint processing module generates a fingerprint registration instruction according to the fingerprint registration request, and sends the fingerprint registration instruction to the fingerprint acquisition device, so that the fingerprint acquisition device switches to the registration state according to the fingerprint registration instruction.
  • the user can press the fingerprint sensor to perform Fingerprint registration operation.
  • each registration operation can collect N valid fingerprint information.
  • N is a positive integer; optionally, in order to improve the accuracy of subsequent recognition, N can be equal to 8.
  • the fingerprint acquisition device will send the collection result and fingerprint information to the processing device every time it collects a valid fingerprint information. Accordingly, the processing device can save the collection result and fingerprint received each time Information, for example, save it to a storage unit. It is worth noting that in some special scenarios, the processing device can also feed back the acquired collection results and fingerprint information to the smart lock application on the terminal device in time.
  • the fingerprint processing module of the processing device when the fingerprint processing module and the fingerprint acquisition device successfully complete each registration operation (the N fingerprint information of a finger is successfully collected), or when the user cancels the registration operation, the fingerprint processing module of the processing device will Automatically switch to the default recognition state.
  • the processing device can control the fingerprint processing module to switch its working state from the recognition state to the idle state, and then the fingerprint processing module is in In idle state, it generates corresponding fingerprint deletion instruction, fingerprint inquiry instruction or fingerprint priority setting instruction according to fingerprint deletion request, fingerprint inquiry request or fingerprint priority setting request, and controls the fingerprint processing module and fingerprint acquisition device to perform corresponding processing, And switch back to the recognition state after processing.
  • the processing device can perform data communication with the fingerprint acquisition device, and the fingerprint processing module maintains the processing result of the user operation instruction during the operation of the processing device.
  • the processing device is powered on or the processing device completes corresponding operations in other working states, the working state of the fingerprint processing module can be automatically switched to the default recognition state.
  • the fingerprint processing module of the processing device can maintain the fingerprint operation and working status inside the processing device.
  • the fingerprint processing module works in the recognition state; when the fingerprint acquisition device determines that the fingerprint sensor is pressed by a finger, it performs fingerprint recognition and sends the recognition result to the processing device for storage.
  • the current recognition state will be cancelled, the idle state or the registered state will be switched to, and the corresponding command will be generated and sent to the fingerprint acquisition device for corresponding operations.
  • the processing device when the current working state of the fingerprint processing module is not the target working state indicated by the user operation instruction, the processing device can control the working state of the fingerprint processing module to switch to the target working state, and save the above processing As a result, and control the working state of the fingerprint processing module to switch to the default working state.
  • This technical solution improves the intelligence of the processing device, improves the recognition efficiency, reduces the response time of the smart lock system, and improves the user experience.
  • the aforementioned user operation request is a fingerprint identification request
  • the target working state corresponding to the fingerprint identification request is the identification state
  • step 21 can be implemented through the following steps:
  • the processing device generates a fingerprint identification instruction according to the fingerprint identification request.
  • step 23 can be achieved through the following steps:
  • the processing device controls the fingerprint processing module to interact with the fingerprint acquisition device in the recognition state, completes the fingerprint recognition operation corresponding to the fingerprint recognition instruction, and obtains the recognition result.
  • the processing device can send the fingerprint recognition instruction to the fingerprint acquisition device so that the fingerprint acquisition device performs fingerprint recognition, and receives the recognition result sent by the fingerprint acquisition device to complete the fingerprint Identification process.
  • the fingerprint processing module can periodically send identification instructions to the fingerprint acquisition device in the recognition state to make the fingerprint acquisition device work in a state of waiting for the user to recognize (for example, the user presses the fingerprint sensor), and the fingerprint acquisition device acquires After the fingerprint recognition request is received and the fingerprint recognition operation is performed, the obtained recognition result is sent to the processing device, or the fingerprint acquisition device does not detect the user's fingerprint pressing operation after a timeout, and returns the result that the finger is not pressed to the fingerprint processing module, then the processing device Then automatically send a new identification instruction to the fingerprint acquisition device so that the fingerprint acquisition device continues to wait for the user's identification request.
  • the aforementioned user operation request is a fingerprint registration request
  • the target working state corresponding to the fingerprint registration request is the registration state
  • step 21 can be implemented through the following steps:
  • the processing device generates a fingerprint registration instruction according to the fingerprint registration request.
  • step 23 can be achieved through the following steps:
  • the processing device controls the fingerprint processing module to perform at least N interactions with the fingerprint acquisition device based on the fingerprint registration instruction in the registration state, and acquire a registration result including N valid fingerprint information.
  • N is a positive integer.
  • the processing device controls the fingerprint processing module to continue to work in the registered state until the fingerprint acquisition device sends the collected N valid fingerprint information to the processing device, and the processing device determines When the N valid fingerprint information meets the preset requirements, it is determined that the registration process ends.
  • the processing device first sends the fingerprint registration instruction to the fingerprint acquisition device, and the fingerprint acquisition device collects one piece of fingerprint information, whether the collected fingerprint is valid and invalid The reason for the time is sent to the fingerprint processing module until the fingerprint acquisition device collects N valid fingerprint information.
  • FIG. 4 is a schematic flowchart of Embodiment 3 of the data processing method provided in an embodiment of this application. As shown in Figure 4, in this embodiment, the method may further include the following steps:
  • Step 41 The processing device detects whether the fingerprint processing module is faulty.
  • the processing device adds a fault detection and fault handling mechanism compared to the processor in the prior art. Therefore, the processing device can detect whether the fingerprint processing module is malfunctioning. Specifically, the detection can be performed in two ways, but the following detection methods are not limited.
  • this step 41 can be implemented in the following manner:
  • the processing device After sending a user operation instruction to the fingerprint acquiring device, the processing device detects whether the processing result fed back by the fingerprint acquiring device is received within a preset time limit; if the processing result fed back by the fingerprint acquiring device is not received within the preset time limit, the processing device It can be determined that the fingerprint processing module is faulty.
  • a preset time limit can be set in the processing device of this embodiment to determine whether the fingerprint processing module is present by using the relationship between the statistical duration and the preset duration malfunction. It should be noted that the duration of the preset time limit is greater than the aforementioned statistical duration.
  • the processing device may determine that the fingerprint processing module is faulty, otherwise, the fingerprint processing module may be determined No failure occurred.
  • the processing result may be correct response information.
  • the correct response information is the result fed back by the fingerprint acquisition device according to the received user operation instruction.
  • this step 41 can also be implemented in the following manner:
  • the processing device detects whether a waiting message periodically sent by the fingerprint acquiring device is received; if the waiting message periodically sent by the fingerprint acquiring device is not received, the processing device determines that the fingerprint processing module is faulty.
  • the fingerprint acquisition device may be configured to periodically send a waiting message to the fingerprint processing module.
  • the embodiment of the present application does not limit the time interval between two cycles, which can be determined according to actual conditions.
  • the processing device does not receive the waiting message periodically sent by the fingerprint acquisition device, that is, the processing device does not detect that the fingerprint processing module periodically receives the waiting message, then it can be determined that the fingerprint processing module is faulty, otherwise , Confirm that the fingerprint processing module is not faulty.
  • Step 42 If it is determined that the fingerprint processing module is faulty, the processing device performs a reset operation on the fingerprint processing module and the fingerprint acquisition device.
  • the processing device may reset the internal state of the fingerprint processing module and reset the fingerprint acquisition device. For example, the processing device may perform operations such as powering off and powering on the fingerprint acquiring device to reset the fingerprint acquiring device.
  • Step 43 After the fingerprint processing module and the fingerprint acquisition device are re-run, the processing device acquires the fingerprint information set from the fingerprint acquisition device, and stores the fingerprint information set in the storage unit included in the processing device.
  • the processing device resets the fingerprint processing module and the fingerprint acquisition device, the fingerprint processing module, the storage unit, and the temporary data of the fingerprint acquisition device during the previous operation are all lost, and the fingerprint acquisition device’s memory is not Volatile memory, therefore, the fingerprint set information stored in the memory will not be lost. Therefore, after the fingerprint processing module and the fingerprint acquisition device are re-run, the processing device can acquire the registered fingerprint information set from the memory of the fingerprint acquisition device, and store the fingerprint information set in the storage unit.
  • the working state of the fingerprint processing module is automatically switched to the recognition state, waiting for the user's finger pressing operation or waiting for other requests triggered by the upper layer application of the terminal device.
  • the processing device has a timeout detection and failure handling mechanism. If it is determined that the fingerprint processing module is faulty, the fingerprint processing module and the fingerprint acquisition device are reset, which improves the stability of the smart lock system.
  • the processing device detects whether the fingerprint processing module is faulty, and when it is determined that the fingerprint processing module is faulty, resets the fingerprint processing module and the fingerprint acquisition device, and performs a reset operation on the fingerprint processing module and the fingerprint After the obtaining device re-runs, the fingerprint information set is obtained from the fingerprint obtaining device, and the fingerprint information set is stored in the storage unit of the processing device.
  • the processing device has a fault detection mechanism. When it is determined that the fingerprint processing module is faulty, the fingerprint processing module and the fingerprint acquisition device can be reset to make the entire fingerprint processing module run again, avoiding jamming, and improving The adaptability and stability of the smart lock system.
  • FIG. 5 is a schematic flowchart of Embodiment 4 of the data processing method provided in an embodiment of this application. As shown in Figure 5, in this embodiment, the above step 23 can be implemented through the following steps:
  • Step 51 The processing device processes the user operation instruction based on the UART protocol to obtain the target instruction data packet.
  • the processing device and the fingerprint acquisition device may communicate based on a preset protocol.
  • the preset protocol may be a UART protocol.
  • the processing device After the processing device generates the user operation instruction, it can first obtain the target instruction data packet by encrypting the user operation instruction based on the format of the UART protocol.
  • FIG. 6 is a schematic diagram of the composition structure of the target instruction data packet.
  • the target instruction data packet generated based on the UART protocol may include: a protocol header located in the first area, an encrypted random number located in the second area, an encrypted user operation instruction located in the third area, and The data packet check value of the fourth area. Therefore, in this embodiment, step 51 can be specifically implemented through the following steps:
  • Step A1 The processing device sends a random number acquisition request to the fingerprint acquisition device.
  • the random number acquisition request is used to instruct the fingerprint acquisition device to generate the first random number.
  • upper-layer applications such as applications on the terminal device can call the service interface provided by the processing device (for example, a fingerprint registration command interface), and the processing device can first organize a random number acquisition command (that is, a random number acquisition request) , So that the controller in the fingerprint acquisition device at the bottom layer generates the first random number.
  • the processing device for example, a fingerprint registration command interface
  • the processing device can first organize a random number acquisition command (that is, a random number acquisition request) , So that the controller in the fingerprint acquisition device at the bottom layer generates the first random number.
  • the random number acquisition request is a plain text command, and the processing device does not need to perform encryption processing on it.
  • Step A2 The fingerprint acquisition device sends the generated first random number to the processing device.
  • the fingerprint acquisition device may generate a random number according to the received random number acquisition request, which is called the first random number in this embodiment, and then send the first random number to the processing device, and at the same time, the fingerprint acquisition The device will also temporarily store the first random number to lay a foundation for subsequent analysis of the received target command data packet.
  • Step A3 The processing device performs a function operation on the received first random number and the second random number generated by itself to obtain a third random number.
  • the processing device when the processing device requests the first random number from the fingerprint acquisition device, it will also generate a random number, which is called the second random number in this embodiment.
  • the processing device may perform a function operation on the first random number and the second random number to obtain the third random number.
  • the function operation may include exclusive OR and shift.
  • the specific form of the function operation can be determined according to the agreement between the processing device and the fingerprint acquisition device, which is not limited in this embodiment.
  • Step A4 The processing device performs encryption processing on the third random number to obtain an encrypted random number.
  • the processing device may perform encryption processing on the obtained third random number based on a preset encryption algorithm to obtain the encrypted random number, and fill it into the target instruction data packet shown in FIG. 6 In the second area.
  • the foregoing preset encryption algorithm may be a standard AES encryption algorithm, or other encryption algorithms, and this embodiment does not limit the specific form of the preset encryption algorithm.
  • Step A5 The processing device uses the second random number to perform a cyclic redundancy check CRC check on the user operation command to obtain the command check value.
  • the processing device may first use the second random number generated by itself to perform CRC check processing on the user operation instruction to obtain the instruction check value.
  • the specific implementation principle of the CRC check is based on the prior art, and will not be repeated here.
  • Step A6 The processing device puts the above-mentioned command check value in front of the user operation command, and encrypts the command check value and the user operation command to obtain the encrypted user operation command.
  • the processing device may first place the instruction check value obtained in step A5 before the user operation instruction; secondly, the instruction check value and the user operation instruction The entire content of is encrypted based on a preset encryption algorithm to obtain an encrypted user operation instruction; finally, the encrypted user operation instruction is filled into the third area of the target instruction data packet shown in FIG. 6.
  • the preset encryption algorithm may be the preset encryption algorithm in step A4.
  • Step A7 The processing device performs a CRC check on the protocol header, the encrypted random number, and the encrypted user operation instruction to obtain a data packet check value.
  • the processing device performs a polynomial CRC check on the contents in the first three areas of the UART protocol data packet to obtain the data packet check value, which is placed in the target shown in FIG. 6 In the fourth area of the instruction data packet, the completed target instruction data packet is obtained.
  • the processing device sends the obtained target instruction data packet to the fingerprint acquisition device, and the fingerprint acquisition device can also execute the corresponding encryption algorithm, which can ensure the correctness and integrity of the transmission of the user operation instruction.
  • Step 52 The processing device sends the target instruction data packet to the fingerprint acquiring device.
  • the processing device is a target instruction data packet generated based on the UART protocol
  • the processing device and the fingerprint acquisition device can communicate through the UART protocol bus. Therefore, the processing device will generate the target instruction data packet through the UART protocol bus. Send to the fingerprint acquisition device.
  • Step 53 The fingerprint acquisition device parses the received target instruction data packet to acquire the above-mentioned user operation instruction.
  • the fingerprint acquisition device may receive the target instruction data packet sent by the processing device through the UART protocol bus, analyze the received target instruction data packet, and parse the target instruction data packet to obtain the user operation instruction .
  • the fingerprint acquisition device may perform the decryption process reverse to step 51 based on the encryption process of the user operation instruction in step 51, and sequentially parse out the protocol header, the encrypted random number, and the encrypted user The operation instruction, and then encrypt the encrypted random number and the encrypted user operation instruction, and finally obtain the user operation instruction.
  • Step 54 The fingerprint acquisition device executes the operation corresponding to the user operation instruction to obtain the operation result.
  • the fingerprint acquisition device executes the registration operation. Specifically, during the registration operation, the fingerprint acquisition device will collect each time through the fingerprint sensor. The received fingerprint information, the collection success/failure result and the failure reason are all sent to the processing device, until the preset N valid fingerprint information are collected.
  • the fingerprint information obtained by the fingerprint acquisition device during the registration operation process of collecting N valid fingerprint information, the collection success/failure result and the failure reason are collectively referred to as the registration result.
  • the instruction acquisition device executes the aforementioned fingerprint identification instruction or fingerprint deletion instruction or fingerprint query instruction or a fingerprint priority setting instruction
  • the fingerprint priority setting instruction obtains the recognition result or the deletion result or the fingerprint priority setting result such as the recognition success/failure and the reason for the failure or the success/failure and the reason for the deletion or the success/failure and the reason for the fingerprint priority setting.
  • the registration result, recognition result, deletion result, or fingerprint priority setting result obtained by the fingerprint acquisition device performing the corresponding operation is collectively referred to as the operation result.
  • Step 55 The fingerprint acquisition device processes the operation result based on the above UART protocol to obtain the above processing result.
  • the fingerprint acquisition device also needs to feed back the obtained operation result to the processing device. Since the processing device sends the encrypted target instruction data packet to the fingerprint acquisition device based on the UART protocol, the fingerprint acquisition device also needs to process the obtained operation result based on the same protocol specification (UART protocol) to obtain the processing result to make the fingerprint The acquisition device also complies with the same encryption specification when feeding back the processing result.
  • UART protocol protocol specification
  • Step 56 The processing device receives the processing result returned by the fingerprint acquisition device.
  • the fingerprint acquisition device sends the obtained processing result to the processing device, and the processing device can parse it to obtain the operation result obtained by the interaction between the fingerprint acquisition device and the processing device, and store it in the storage unit so that the user can use the terminal device Operate as needed.
  • the processing device processes the user operation instructions based on the UART protocol to obtain the target instruction data packet, and sends it to the fingerprint acquisition device, and the fingerprint acquisition device analyzes the received target instruction data packet Obtain the above-mentioned user operation instruction, execute the operation corresponding to the user operation instruction to obtain the operation result, and process the operation result based on the UART protocol to obtain the processing result, and the processing device receives the processing result returned by the fingerprint acquisition device.
  • the processing device and the fingerprint acquisition device adopt a specific communication protocol specification for communication, which improves the security of interaction between the processing device and the fingerprint acquisition device.
  • the processing device serves as an intermediate layer between the upper-layer terminal device and the bottom-layer fingerprint acquisition device. It not only has fingerprint information and status management services, but also can be an upper-layer application (for example, BLE/NB- IOT or a series of other upper-layer applications) provide interface services to improve the scalability and compatibility of the processing device.
  • the layered design of this embodiment also provides for the different modules of the smart lock system (such as NFC/keyboard, etc.) With the characteristics of high cohesion and low coupling, the user experience is improved.
  • FIG. 7 is a schematic structural diagram of Embodiment 1 of a smart lock system provided by an embodiment of the application.
  • the system may include: a processing device 71 and a fingerprint acquisition device 72.
  • the processing device 71 includes: a first transceiver module 710, a second transceiver module 711, a generation module 712, a control module 713, and a fingerprint processing module 714 .
  • the first transceiver module 710 is configured to receive a user operation request, and the user operation request is used to indicate that the working state of the fingerprint processing module 714 is a target working state corresponding to the user operation request;
  • the generating module 712 is configured to generate a user operation instruction according to the user operation request received by the first transceiver module 710, and the user operation instruction is used to instruct the fingerprint processing module 714 and the fingerprint acquisition device 72 to perform an operation corresponding to the user operation instruction;
  • the control module 713 is configured to control the fingerprint processing module 714 to interact with the fingerprint acquisition device 72 through the second transceiver module 711 in the target working state, complete the operation corresponding to the user operation instruction, and obtain the processing result.
  • control module 713 is further configured to determine the current work of the fingerprint processing module 714 before the generation module 712 generates a user operation instruction according to the user operation request If the state is not the target working state, control the working state of the fingerprint processing module 714 to switch to the target working state.
  • control module 713 is further configured to save the processing result and control the working state of the fingerprint processing module 714 to switch to the default working state.
  • the working status of the fingerprint processing module 714 includes: recognition status, registration status, and idle status;
  • the recognition state is the default working state of the fingerprint processing module 714, and the recognition state, the registered state, and the idle state can be switched mutually;
  • the fingerprint processing module 714 performs a fingerprint recognition operation with the fingerprint acquisition device 72 in the recognition state, and the fingerprint processing module 714 performs a fingerprint registration operation with the fingerprint acquisition device 72 in the registration state.
  • the operations performed by the processing module 714 with the fingerprint acquisition device 72 in the idle state include at least one of the following: fingerprint deletion, fingerprint query, and fingerprint priority setting.
  • the user operation request is a fingerprint identification request
  • the target working state corresponding to the fingerprint identification request is the identification state
  • the generating module 712 is specifically configured to generate a fingerprint recognition instruction according to the fingerprint recognition request;
  • the control module 713 is specifically configured to control the fingerprint processing module to interact with the fingerprint acquisition device 72 through the second transceiver module 711 in the recognition state to complete the fingerprint recognition operation corresponding to the fingerprint recognition instruction, Get the recognition result.
  • the user operation request is a fingerprint registration request
  • the target work status corresponding to the fingerprint registration request is the registration status
  • the generating module 712 is specifically configured to generate a fingerprint registration instruction according to the fingerprint registration request;
  • the control module 713 is specifically configured to control the fingerprint processing module 714 to perform at least N interactions with the fingerprint acquisition device 72 through the second transceiver module 711 based on the fingerprint registration instruction in the registration state, and the acquisition includes The registration result of N valid fingerprint information, where N is a positive integer.
  • FIG. 8 is a schematic structural diagram of Embodiment 2 of a smart lock system provided by an embodiment of this application.
  • the processing device 71 further includes: a detection module 715, a determination module 716, and an acquisition module 717.
  • the detection module 715 is configured to detect whether the fingerprint processing module 714 is faulty based on the interaction between the second transceiver module 711 and the fingerprint acquisition device 72;
  • the control module 713 is also configured to perform a reset operation on the fingerprint processing module 714 and the fingerprint acquisition device 72 when the determining module 716 determines that the fingerprint processing module 714 is faulty;
  • the acquiring module 717 is configured to acquire a fingerprint information set from the fingerprint acquiring device 72 after the fingerprint processing module 714 and the fingerprint acquiring device 72 are re-run;
  • the control module 713 is also configured to store the fingerprint information set obtained by the obtaining module 717 in the storage unit of the processing device 71.
  • the detection module 715 is specifically configured to send the user operation instruction to the fingerprint acquisition device 72 in the second transceiver module 711 to detect whether the second transceiver module 711 is in advance.
  • the processing result fed back by the fingerprint acquisition device 72 is received within the set time limit;
  • the determining module 716 is configured to determine that the fingerprint processing module 714 is faulty when the second transceiver module 711 does not receive the processing result fed back by the fingerprint acquiring device 72 within the preset time limit.
  • the detection module 715 is specifically configured to detect whether the second transceiver module 711 receives a waiting message periodically sent by the fingerprint acquisition device 72;
  • the determining module 716 is configured to determine that the fingerprint processing module 714 is faulty when the second transceiver module 711 does not receive the waiting message periodically sent by the fingerprint acquiring device 72.
  • control module 713 is configured to control the fingerprint processing module 714 to acquire the fingerprint through the second transceiver module 711 in the target working state.
  • the device 72 interacts, completes the operation corresponding to the user operation instruction, and obtains the processing result, specifically:
  • the fingerprint processing module 714 is configured to process the user operation instruction based on the universal asynchronous receiver transmitter UART protocol to obtain the target instruction data packet;
  • the second transceiver module 711 is configured to send the target instruction data packet to the fingerprint acquiring device 72;
  • the fingerprint acquisition device 72 is configured to parse the received target instruction data packet, acquire the user operation instruction, complete the processing corresponding to the target work state according to the user operation instruction, obtain the operation result, and
  • the UART protocol processes the operation result to obtain the processing result;
  • the second transceiver module 711 is also configured to receive the processing result returned by the fingerprint acquiring device 72.
  • the target instruction data packet includes: a protocol header located in the first area, an encrypted random number located in the second area, an encrypted user operation instruction located in the third area, and an encrypted user operation instruction located in the third area.
  • the second transceiver module 711 is specifically configured to send a random number acquisition request to the fingerprint acquisition device 72, and the random number acquisition request is used to instruct the fingerprint acquisition device 72 to generate a first random number;
  • the fingerprint acquisition device 72 is configured to send the generated first random number to the fingerprint processing module 714;
  • the fingerprint processing module 714 is configured to perform functional operations on the received first random number and the second random number generated by itself to obtain a third random number, and perform encryption processing on the third random number to obtain the
  • the encrypted random number uses the second random number to perform a cyclic redundancy check CRC check on the user operation instruction to obtain an instruction check value, and place the instruction check value in the user operation instruction And encrypt the command check value and the user operation command to obtain the encrypted user operation command, as well as the protocol header, the encrypted random number, and the encrypted
  • the CRC check is performed on the user operation instruction of, and the check value of the data packet is obtained.
  • the first transceiver module 710 is specifically configured to receive the user operation request sent by the fingerprint acquisition device 72, and the user operation request is the fingerprint acquisition The device 72 is generated based on the acquired operation of pressing the control button by the user;
  • the first transceiver module 710 is specifically configured to receive the user operation request sent by the terminal device, where the user operation request is generated by the terminal device based on the acquired user input operation.
  • the smart lock system provided by the embodiments of the present application can be used to implement the methods in the embodiments shown in FIG. 2 to FIG. 5, and its implementation principles and technical effects are similar, and will not be repeated here.
  • the division of the various modules of the above device is only a division of logical functions, and may be fully or partially integrated into a physical entity in actual implementation, or may be physically separated.
  • these modules can all be implemented in the form of software called by processing elements; they can also be implemented in the form of hardware; some modules can be implemented in the form of calling software by processing elements, and some of the modules can be implemented in the form of hardware.
  • the determination module may be a separately established processing element, or it may be integrated into a certain chip of the above-mentioned device for implementation.
  • each step of the above method or each of the above modules can be completed by hardware integrated logic circuits in the processor element or instructions in the form of software.
  • the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuit (ASIC), or one or more microprocessors (digital signal processor, DSP), or, one or more field programmable gate arrays (FPGA), etc.
  • ASIC application specific integrated circuit
  • DSP digital signal processor
  • FPGA field programmable gate arrays
  • the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program codes.
  • CPU central processing unit
  • these modules can be integrated together and implemented in the form of a system-on-a-chip (SOC).
  • SOC system-on-a-chip
  • An embodiment of the present application also provides a storage medium, in which instructions are stored, and when the instructions are run on a computer, the computer is caused to execute the method in the embodiments shown in FIGS. 2 to 5 above.
  • At least one refers to one or more, and “multiple” refers to two or more.
  • “And/or” describes the association relationship of the associated objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, both A and B exist, and B exists alone, where A, B can be singular or plural.
  • the character "/” generally indicates that the associated objects before and after are in an “or” relationship; in the formula, the character “/” indicates that the associated objects before and after are in a “division” relationship.
  • “The following at least one item (a)” or similar expressions refers to any combination of these items, including any combination of a single item (a) or plural items (a).
  • at least one item (a) of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple One.
  • the size of the sequence numbers of the above-mentioned processes does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not be implemented in this application.
  • the implementation process of the example constitutes any limitation.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Collating Specific Patterns (AREA)
  • Image Input (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

L'invention concerne un procédé de traitement de données, un système de verrouillage intelligent et un support d'informations, le procédé comprenant : la réception par un appareil de traitement d'une demande d'opération d'utilisateur, la demande d'opération d'utilisateur étant utilisée pour indiquer que l'état de fonctionnement d'un module de traitement d'empreinte digitale est un état de travail cible correspondant à la demande d'opération d'utilisateur (21) ; en fonction de la demande d'opération d'utilisateur, la génération d'une commande d'opération d'utilisateur (22) ; et la commande par l'appareil de traitement au module de traitement d'empreinte digitale d'interagir dans l'état de travail cible avec un appareil d'acquisition d'empreinte digitale afin de mettre en œuvre l'opération correspondant à la commande d'opération d'utilisateur et d'obtenir un résultat de traitement (23). L'appareil de traitement peut commander au module de traitement d'empreinte digitale d'interagir avec l'appareil d'acquisition d'empreinte digitale et de mettre en œuvre une gestion unifiée de l'opération de commande, ce qui augmente la stabilité du système de verrouillage intelligent et améliore l'expérience d'utilisateur.
PCT/CN2019/074768 2019-02-11 2019-02-11 Procédé de traitement de données, système de verrouillage intelligent et support d'informations WO2020163976A1 (fr)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2019/074768 WO2020163976A1 (fr) 2019-02-11 2019-02-11 Procédé de traitement de données, système de verrouillage intelligent et support d'informations
CN201980000280.7A CN109983512A (zh) 2019-02-11 2019-02-11 数据处理方法、智能锁系统及存储介质

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/074768 WO2020163976A1 (fr) 2019-02-11 2019-02-11 Procédé de traitement de données, système de verrouillage intelligent et support d'informations

Publications (1)

Publication Number Publication Date
WO2020163976A1 true WO2020163976A1 (fr) 2020-08-20

Family

ID=67073957

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/074768 WO2020163976A1 (fr) 2019-02-11 2019-02-11 Procédé de traitement de données, système de verrouillage intelligent et support d'informations

Country Status (2)

Country Link
CN (1) CN109983512A (fr)
WO (1) WO2020163976A1 (fr)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115311766A (zh) * 2022-08-08 2022-11-08 广东汇泰龙科技股份有限公司 智能锁控制方法、系统及存储介质

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025048A (zh) * 2016-02-01 2017-08-08 上海思立微电子科技有限公司 基于指纹的应用启动方法、装置和终端
US20180173862A1 (en) * 2015-08-19 2018-06-21 Huawei Technologies Co., Ltd. Fingerprint Recognition Method and Mobile Terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180173862A1 (en) * 2015-08-19 2018-06-21 Huawei Technologies Co., Ltd. Fingerprint Recognition Method and Mobile Terminal
CN107025048A (zh) * 2016-02-01 2017-08-08 上海思立微电子科技有限公司 基于指纹的应用启动方法、装置和终端

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LIU, MENGMENG ET AL.: "Non-official translation: Principle and Design of Independent Fingerprint Identification System", ELECTRONIC TECHNOLOGY, no. 7, 31 July 2005 (2005-07-31), DOI: 20191030161441Y *
SHI, HUAIBIN: "Non-official translation: Design and Implementation of Fingerprint Lock System based on ADSP", ELECTRONIC TECHNOLOGY & INFORMATION SCIENCE, CHINA MASTER’S THESES FULL-TEXT DATABASE, no. 04, 15 April 2011 (2011-04-15), DOI: 20191030161343Y *

Also Published As

Publication number Publication date
CN109983512A (zh) 2019-07-05

Similar Documents

Publication Publication Date Title
CN112714193B (zh) 基于物联网平台的社区数据处理系统、方法、装置和设备
KR20220079958A (ko) 블록체인 메시지 처리 방법 및 장치, 컴퓨터 및 판독 가능한 저장 매체
CN113162848B (zh) 一种区块链网关的实现方法、装置、网关和介质
CN111258723B (zh) 分布式系统的事务处理方法、装置、系统、介质及设备
WO2012171349A1 (fr) Procédé, appareil et système pour mettre en œuvre un comptage à auto-incrémentation distribué
US20070192431A1 (en) Method and apparatus for service oriented architecture infrastructure switch
US20140254446A1 (en) Wireless personal area network device
WO2020163976A1 (fr) Procédé de traitement de données, système de verrouillage intelligent et support d'informations
WO2020098266A1 (fr) Procédé et dispositif en cas de réponse anormale
EP3701734B1 (fr) Procédés pour permettre un service de continuité de données
CN108400913B (zh) 具有定时任务功能的医疗机构智能接入系统
CN114090483A (zh) 一种基于协程的rdma通信方法、装置及存储介质
CN112532470B (zh) 一种bmc主动上报日志信息的方法和系统
CN113364857A (zh) 业务数据的处理方法、装置和服务器
CN113010498A (zh) 一种数据同步方法、装置、计算机设备及存储介质
CN116881040A (zh) 一种业务操作处理方法、装置、电子装置和存储介质
CN111756836B (zh) 一种基于事件管理模型的信息发送方法及装置
CN114661762A (zh) 嵌入式数据库的查询方法、装置、存储介质及设备
CN110677465B (zh) 一种分布式锁的控制方法及装置
CN115129708A (zh) 数据处理方法、装置和存储介质及电子设备
US20220137720A1 (en) Communication link based on activity on a keyboard
JP3776706B2 (ja) データ通信装置、データ通信方法およびデータ通信プログラムを記録したコンピュータ読み取り可能な記録媒体
CN115525935B (zh) 多安全芯片的并发数据运算方法、装置、设备及存储介质
US20240020290A1 (en) System B-Tree Change Notification System Using Lock Value Blocks
CN112016115B (zh) 基于区块链的事件订阅系统

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

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

Country of ref document: EP

Kind code of ref document: A1