An identity verification method, system, device and medium of an intelligent device
By generating and verifying activation data for the front and rear lock faces of smart devices, the problem of unlocking even after the front lock face has been replaced has been solved, achieving higher security and reliability.
Patent Information
- Application Number
- CN202310453510.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-24
- Publication Date
- 2026-01-09
- Estimated Expiration
- 2043-04-24
AI Technical Summary
Existing smart locks lack effective authentication of the front lock face, which means that the lock can still be opened even after the front lock face is replaced, posing a security problem.
By activating the smart device, activation data is generated and saved to the front and rear lock faces. The rear lock face is used for preliminary verification and decryption data for secondary verification to ensure the legitimacy of the front lock face's identity.
It improves the security and reliability of smart device authentication, reducing the possibility of false detections and replacement of the front lock face.
Smart Images

Figure CN116597543B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of information processing, and in particular to an identity verification method and system for an intelligent device, an intelligent device, and a medium. BACKGROUND
[0002] With the continuous development of science and technology, more and more devices are being intelligentized, such as intelligent door locks, which have gradually been widely applied. In related technologies, an intelligent door lock is generally composed of a front lock surface and a rear lock surface. The front lock surface is used to receive a user operation to generate an unlocking request instruction, and the rear lock surface is used to receive the unlocking request instruction sent by the front lock surface to control a clutch or a motor to unlock. However, most of the intelligent door locks on the market do not verify the front lock surface. If a pre-set front lock surface is used to replace the front lock surface of a target intelligent door lock, the purpose of unlocking can also be achieved, which reduces the security of the intelligent door lock. In view of the above, the technical problems existing in related technologies need to be solved. SUMMARY
[0003] Therefore, the embodiments of the present application provide an identity verification method and system for an intelligent device, an intelligent device, and a medium to improve the security and reliability of identity verification.
[0004] In one aspect, the present application provides an identity verification method for an intelligent device, applied to an intelligent device, wherein the intelligent device includes a first device and a second device, and the method includes:
[0005] activating the intelligent device to obtain intelligent device activation data and save the intelligent device activation data to the first device and the second device respectively, and determining first device activation data and second device activation data;
[0006] verifying the identity of the first device, obtaining first device data and a user password through the second device, wherein the first device data includes a first device chip identification number and the first device activation data;
[0007] performing preliminary verification processing on the first device activation data according to the second device activation data, if the preliminary verification is passed, performing decryption processing on the second device activation data according to the user password to obtain decryption data;
[0008] performing secondary verification processing on the first device chip identification number according to the decryption data, if the secondary verification is passed, performing unlocking processing.
[0009] Optionally, the activating the intelligent device to obtain intelligent device activation data includes:
[0010] obtaining a user password;
[0011] sending the user password and the first device chip identification number to a second device by the first device;
[0012] obtaining a second device chip identification number by the second device, combining and encrypting the second device chip identification number and the first device chip identification number according to the user password to obtain smart device activation data.
[0013] Optionally, the obtaining the user password comprises:
[0014] obtaining a serial number of the smart device by a cloud server;
[0015] generating the user password according to the serial number and user information.
[0016] Optionally, the combining and encrypting the second device chip identification number and the first device chip identification number according to the user password to obtain smart device activation data comprises:
[0017] combining and processing the first device chip identification number and the second device chip identification number by the second device to obtain combined data;
[0018] encrypting the combined data according to the user password to obtain smart device activation data.
[0019] Optionally, the preliminary verifying the first device activation data according to the second device activation data comprises:
[0020] obtaining the second device activation data from a flash memory of the second device;
[0021] comparing the first device activation data with the second device activation data.
[0022] Optionally, the second verifying the first device chip identification number according to the decrypted data comprises:
[0023] the decrypted data comprises a first device decrypted chip identification number;
[0024] comparing the first device chip identification number with the first device decrypted chip identification number.
[0025] Optionally, before the authenticating the first device, the method further comprises detecting the smart device by the first device, specifically comprising:
[0026] detecting the smart device by power-off restart detection processing, and authenticating the first device when the first device is power-off restarted.
[0027] In another aspect, the embodiments of the present application also provide an identity authentication system of a smart device, for a smart device including a first device and a second device, the system including:
[0028] a first module configured to activate the smart device to obtain smart device activation data and save the smart device activation data to the first device and the second device respectively, and determine first device activation data and second device activation data;
[0029] a second module configured to authenticate the first device, and obtain first device data and a user password through the second device, the first device data including a first device chip identification number and the first device activation data;
[0030] a third module configured to preliminarily verify the first device activation data according to the second device activation data, and if the preliminary verification is passed, decrypt the second device activation data according to the user password to obtain decryption data;
[0031] a fourth module configured to secondarily verify the first device chip identification number according to the decryption data, and if the secondary verification is passed, perform an unlocking process.
[0032] Optionally, the first module configured to activate the smart device to obtain smart device activation data includes:
[0033] a first unit configured to obtain a user password;
[0034] a second unit configured to send the user password and a first device chip identification number to the second device through the first device;
[0035] a third unit configured to obtain a second device chip identification number through the second device, and combine and encrypt the second device chip identification number and the first device chip identification number according to the user password to obtain the smart device activation data.
[0036] Optionally, the first unit configured to obtain a user password includes:
[0037] obtaining a serial number of the smart device through a cloud server;
[0038] generating a password according to the serial number and user information to obtain the user password.
[0039] Optionally, the third unit configured to combine and encrypt the second device chip identification number and the first device chip identification number according to the user password to obtain the smart device activation data includes:
[0040] The first device chip identification number and the second device chip identification number are combined by the second device to obtain combined data;
[0041] The combined data is encrypted according to the user password to obtain smart device activation data.
[0042] Optionally, the third module is configured to perform preliminary verification of the first device activation data according to the second device activation data, including:
[0043] The second device activation data is obtained from a flash memory of the second device.
[0044] The first device activation data is compared with the second device activation data.
[0045] Optionally, the fourth module is configured to perform secondary verification of the first device chip identification number according to the decrypted data, including:
[0046] The decrypted data includes a first device decrypted chip identification number.
[0047] The first device chip identification number is compared with the first device decrypted chip identification number.
[0048] Optionally, before the second module performs identity verification of the first device, the method further includes first device detection of the smart device, including:
[0049] The smart device is subjected to power-off restart detection, and when the first device is powered off and restarted, identity verification of the first device is performed.
[0050] In another aspect, the embodiments of the present application further disclose an electronic device, including a processor and a memory.
[0051] The memory is configured to store a program.
[0052] The processor executes the program to implement the method as described above.
[0053] In another aspect, the embodiments of the present application further disclose a computer readable storage medium, which stores a program. The program is executed by a processor to implement the method as described above.
[0054] In another aspect, the embodiments of the present application further disclose a computer program product or a computer program, which includes computer instructions stored in a computer readable storage medium. A processor of a computer device can read the computer instructions from the computer readable storage medium, and the processor executes the computer instructions to enable the computer device to perform the method as described above.
[0055] Compared with the prior art, the technical scheme has the following technical effects: the first device of the intelligent device is authenticated, whether the first device is replaced is detected, and the security of the authentication is improved. The data is activated by the second device for preliminary authentication, and the data is decrypted for secondary authentication, the reliability of the authentication is improved, and the possibility of false detection is reduced. BRIEF DESCRIPTION OF DRAWINGS
[0056] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiment description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0057] Figure 1 is a flowchart of an authentication method of an intelligent device provided by an embodiment of the present application;
[0058] Figure 2 is a structural schematic diagram of a smart door lock device provided by an embodiment of the present application;
[0059] Figure 3 is a structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0060] In order to make the purpose, technical scheme and advantages of the present application more clear, the present application will be further described in detail below with reference to the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and are not used to limit the present application.
[0061] In the related art, most of the smart door locks on the market do not verify the front lock surface. If there are two identical smart door locks, the pre-set front lock surface can be replaced to open the target smart door lock, which has a large security risk. The verification of the front lock surface is often only a simple verification by recording the chip identification number of the front lock surface through the rear lock surface. However, by modifying the pre-set front lock surface chip identification number or impersonating the chip identification number of the front lock surface in the communication process, the front lock surface of the target smart door lock can also be replaced to open the lock. Therefore, an authentication method of an intelligent device is provided, which verifies the front lock surface of the smart door lock, thereby improving the security and reliability of the authentication.
[0062] REFERENCE Figure 1The embodiment of the present application provides a kind of identity verification method of intelligent equipment, it is applied to intelligent equipment, the intelligent equipment includes first equipment and second equipment, the method comprises:
[0063] S101, the activation processing is carried out to intelligent equipment, obtains intelligent equipment activation data and is saved to first equipment and second equipment respectively, determines first equipment activation data and second equipment activation data;
[0064] S102, the identity verification is carried out to the first equipment, obtains first equipment data and user password by the second equipment, and the first equipment data includes first equipment chip identification number and first equipment activation data;
[0065] S103, according to the second equipment activation data, the first equipment activation data is preliminarily verified, if preliminary verification is passed, according to the user password, the second equipment activation data is decrypted, and obtains decryption data;
[0066] S104, according to the decryption data, the first equipment chip identification number is verified twice, if twice verification is passed, then open lock processing is carried out.
[0067] In the embodiment of the present application, a kind of identity verification method of intelligent equipment is provided, it is applied to intelligent equipment, the intelligent equipment can be intelligent door lock, intelligent access control and the like need identity verification equipment, such intelligent equipment includes first equipment and second equipment, first equipment is used to receive user operation generation request instruction, second equipment is used to receive the request instruction sent by first equipment and carries out corresponding processing.In the embodiment, the intelligent equipment is intelligent door lock, and the intelligent door lock includes first equipment and second equipment, i.e. Figure 2 The intelligent door lock includes front lock surface and rear lock surface, and the front lock surface mainly includes front lock surface MCU chip, front lock surface flash memory, keyboard, card swiping, fingerprint module, etc.The front lock surface is used to receive user operation to generate unlocking signal, and can be connected to application program through Bluetooth, and can communicate with cloud server through wireless network through application program.The rear lock surface mainly includes rear lock surface MCU chip, rear lock surface flash memory, clutch, motor, power module, etc.The rear lock surface is used to receive unlocking signal to perform unlocking operation.
[0068] The embodiment of the application first obtains intelligent door lock activation data by activating the intelligent door lock, and saves the intelligent door lock activation data to the front lock surface and the rear lock surface respectively. The front lock surface activation data and the rear lock surface activation data are the same data stored in different lock surfaces. The front lock surface activation data is stored in the front lock surface flash memory, and the rear lock surface activation data is stored in the rear lock surface flash memory. The embodiment of the application activates the intelligent door lock, and can save the intelligent door lock data to the front lock surface and the rear lock surface respectively, so as to facilitate subsequent identity verification processing. Then, the front lock surface is subjected to identity verification. The front lock surface receives a user password input by a user through Bluetooth connection or other modules, and sends the user password and front lock surface data to the rear lock surface together. The rear lock surface receives the front lock surface data and the user password. The front lock surface data includes a front lock surface chip identification number and the front lock surface activation data stored in the front lock surface flash memory. After receiving the data sent by the front lock surface, the rear lock surface first checks whether the front lock surface activation data is consistent with the rear lock surface activation data. The front lock surface activation data is preliminarily verified by the rear lock surface activation data stored in the rear lock surface flash memory. If the preliminary verification fails, all operations are rejected. If the preliminary verification passes, the rear lock surface activation data saved in the rear lock surface memory is decrypted according to the user password, and decryption data is obtained. The front lock surface chip identification number sent by the front lock surface is secondarily verified according to the decryption data. If the secondary verification passes, the lock is opened. Otherwise, the secondary verification fails, and all operations are rejected or alarm processing is performed. The embodiment of the application verifies the front lock surface of the intelligent door lock, reduces the behavior of opening the lock by replacing the front lock surface to perform impersonation verification, improves the security of identity verification, and can be widely applied to intelligent door lock scenes, such as hotels, office places, and smart home scenes.
[0069] Further preferably, in the step S101, the activating the intelligent device to obtain intelligent device activation data comprises:
[0070] Obtaining a user password;
[0071] Sending the user password and a first device chip identification number to a second device through the first device;
[0072] Obtaining a second device chip identification number through the second device, and combining and encrypting the second device chip identification number and the first device chip identification number according to the user password to obtain intelligent device activation data.
[0073] In the embodiment of the present application, the smart door lock activation data is obtained by activating the smart door lock. First, the user password is obtained through the front lock surface. In this process, the front lock surface verifies the user password through the front lock surface MCU chip. In a feasible implementation, the user password can be input by a keyboard, a card, a fingerprint module, or transmitted to the front lock surface MCU chip through an application program in a Bluetooth manner. Then, the front lock surface sends the user password and the front lock surface chip identification number to the rear lock surface after verification. The rear lock surface chip identification number is obtained through the rear lock surface. The rear lock surface identification number and the front lock surface identification number are combined and encrypted according to the user password to obtain the smart door lock activation data. In a feasible implementation, serial communication can be used for data transmission between the front lock surface and the rear lock surface.
[0074] Further, as a preferred implementation, the user password is obtained by:
[0075] The serial number of the smart device is obtained through the cloud server.
[0076] The user password is generated according to the serial number and the user information.
[0077] In the embodiment of the present application, a way to generate the user password is to obtain the serial number of the smart door lock through the cloud server. The serial number is unique and can be obtained by scanning the code of the smart door lock or other methods. Then, the user password is generated according to the application program and the user information and the serial number. The user password is unique. It should be noted that the user information is the data input by the user, which has been authorized or agreed by the user.
[0078] Further, as a preferred implementation, the second device chip identification number and the first device chip identification number are combined and encrypted according to the user password to obtain the smart device activation data, including:
[0079] The first device chip identification number and the second device chip identification number are combined by the second device to obtain combined data.
[0080] The combined data is encrypted according to the user password to obtain the smart device activation data.
[0081] In the embodiment of the present application, the rear lock surface chip identification number and the front lock surface chip identification number are combined and encrypted according to the user password. Specifically, the rear lock surface combines the front lock surface chip identification number and the rear lock surface chip identification number according to a predetermined format to obtain combined data. Then, the combined data is encrypted according to the user password to obtain the smart door lock activation data. The encryption can be performed by a symmetric encryption algorithm, and the corresponding subsequent decryption can be performed by a symmetric decryption algorithm.
[0082] Further as a preferred implementation, the preliminary verification of the first device activation data according to the second device activation data comprises:
[0083] obtaining the second device activation data from the flash memory of the second device;
[0084] comparing the first device activation data with the second device activation data.
[0085] In the embodiment of the application, the back lock surface activation data is stored in the back lock surface flash memory, the front lock surface activation data sent by the front lock surface is received by the back lock surface, the back lock surface activation data and the front lock surface activation data are compared, if the data is consistent, the preliminary verification is passed and the subsequent operation can be performed; if the data is inconsistent, or the front lock surface does not send the front lock surface activation data, it is proved that the front lock surface is replaced, there is a risk of impersonating the lock opening, the lock opening request of the front lock surface is rejected, and the alarm operation can also be performed by the back lock surface.
[0086] Further as a preferred implementation, the secondary verification of the first device chip identification number according to the decryption data comprises:
[0087] the decryption data comprises a first device decryption chip identification number;
[0088] comparing the first device chip identification number with the first device decryption chip identification number.
[0089] In the embodiment of the application, when the preliminary verification is passed, the back lock surface activation data stored in the back lock surface flash memory is decrypted according to the user password to obtain decryption data. The decryption data comprises a front lock surface decryption chip identification number and a back lock surface decryption chip identification number, which corresponds to the back lock surface activation data obtained by encrypting the combined data according to the user password as described above. The front lock surface decryption chip identification number decrypted from the back lock surface flash memory is compared with the front lock surface chip identification number sent by the front lock surface, if the data is consistent, the secondary verification is passed, and the subsequent lock opening operation can be performed; if the secondary verification fails, it is proved that the front lock surface chip identification number sent by the front lock surface is different from the front lock surface chip identification number saved by the back lock surface, there is a risk of replacing and impersonating the front lock surface to open the lock, the lock opening request of the front lock surface is rejected, and the alarm operation can be performed.
[0090] Further as a preferred implementation, before the identity verification of the first device, the method further comprises first device detection of the smart device, specifically comprising:
[0091] The first device is subjected to power-off restart detection processing, and when the first device is subjected to power-off restart, the first device is subjected to identity authentication.
[0092] In the embodiment of the application, before the front lock surface is subjected to identity authentication, the smart door lock is also subjected to front lock surface detection, specifically, the smart door lock is subjected to power-off restart detection, and it is detected whether the front lock surface is subjected to power-off restart or reconnection, so as to reduce the risk of the front lock surface being replaced and impersonated.
[0093] In combination with the accompanying drawings, Figure 1 The flow of the application specifically includes: the smart door lock is subjected to activation processing, the user password is obtained through the front lock surface, the rear lock surface chip identification number and the front lock surface chip identification number are combined and encrypted according to the user password, the smart door lock activation data is obtained, and the smart door lock activation data is saved to the front lock surface and the rear lock surface respectively. Then, the front lock surface is subjected to identity authentication, and the front lock surface chip identification number, the front lock surface activation data and the user password sent by the front lock surface are obtained through the rear lock surface. As a feasible implementation manner, the rear lock surface can also perform secondary verification on the user password through the MCU chip, so as to improve the reliability of identity authentication. Then, the front lock surface activation data sent by the front lock surface is verified according to the rear lock surface activation data stored in the rear lock surface, and it is judged whether the two data are consistent. If they are consistent, the preliminary verification is passed; if not, all operations are rejected. Finally, after the preliminary verification is passed, the rear lock surface activation data stored in the rear lock surface is decrypted according to the user password, and decryption data including the front lock surface decryption chip identification number and the rear lock surface decryption chip identification number is obtained. The front lock surface decryption chip identification number obtained by decryption is compared with the front lock surface chip identification number sent by the front lock surface, and it is judged whether the data are consistent. If the data are consistent, the secondary verification is passed, and the lock is opened through the clutch or the motor.
[0094] On the other hand, the embodiment of the application also provides an identity authentication system of a smart device, which is used for a smart device including a first device and a second device, and the system includes:
[0095] The first module is used for activating the smart device, obtaining smart device activation data and saving the smart device activation data to the first device and the second device respectively, and determining first device activation data and second device activation data;
[0096] The second module is used for authenticating the first device, and obtaining first device data and a user password through the second device, the first device data including a first device chip identification number and first device activation data;
[0097] The third module is used to perform preliminary verification processing on the first device activation data based on the second device activation data. If the preliminary verification is successful, the second device activation data is decrypted based on the user password to obtain decrypted data.
[0098] The fourth module is used to perform secondary verification of the chip identifier of the first device based on the decrypted data. If the secondary verification is successful, the unlocking process is performed.
[0099] Reference Figure 3 The present invention also provides an electronic device, including a processor 201 and a memory 202; the memory is used to store a program; the processor executes the program to implement the method described above.
[0100] and Figure 1 Corresponding to the method described above, embodiments of the present invention also provide a computer-readable storage medium storing a program that is executed by a processor to implement the method described above.
[0101] This invention also discloses a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device can read the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, causing the computer device to perform... Figure 1 The method shown.
[0102] In related technologies, smart door locks do not verify the front lock face, making it easy for a pre-set front lock face of the same model to replace the front lock face of the target smart door lock for unlocking, posing a significant risk to identity verification.
[0103] In summary, the embodiments of the present invention have the following advantages: By verifying the front lock surface and storing the chip identification number and activation data of the front lock surface in the rear lock surface, the embodiments of the present invention can prevent unlocking or other operations from being performed by accessing the rear lock surface via serial port after the front lock surface has been damaged, because the damaged or replaced front lock surface cannot provide a valid chip identification number; it can also prevent unlocking or other operations from being performed by reading the chip identification number after disassembling the front lock surface, because this solution also requires verification of activation data; and it can further prevent unlocking by reading the chip identification number after disassembling the front lock surface and forging activation data, because the replaced or damaged front lock surface cannot obtain the chip identification number of the rear lock surface, nor can it obtain the user password. Therefore, the embodiments of the present invention further improve the security and reliability of identity verification.
[0104] In some alternative embodiments, the function / operations mentioned in the block diagrams can not occur in the order mentioned in the operational illustrations. For example, depending on the involved function / operation, two blocks shown in succession can in fact be executed substantially concurrently or the blocks can sometimes be executed in reverse order, depending upon the functionality / operations involved. Furthermore, embodiments presented and described in the flowcharts are only examples of implementing the present application. Alternative embodiments are possible where functions described as portions of independent operations are implemented as a combined operation or functions described as a combined operation are implemented as separate operations. The flowcharts can also represent code segments when executed that provide the processes described and / or illustrated therein. Alternatively, the flowcharts can also represent program steps in a procedural, object-oriented, or other programming language object- oriented programming language.
[0105] Furthermore, although the present application is described in the context of functional modules, it is understood that one or more of the functions and / or features described can be integrated in a single physical device and / or software module, or one or more functions and / or features can be implemented in separate physical devices or software modules. It is also understood that detailed discussion of the actual implementation of each module is unnecessary to an understanding of the present application. Rather, the actual implementation is within the routine skill of engineers familiar with the properties, functions and internal relationships of the various functional modules disclosed herein. Accordingly, the present application is not limited to purely hardware implementations, but also encompasses software implementations, including object-oriented programming language implementations. It is also understood that the particular concepts disclosed are merely illustrative and not intended to limit the scope of the present application, which is defined by the appended claims and their equivalents.
[0106] If the functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on such understanding, the technical solutions of the present application essentially or the part that contributes to the prior art or the part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various media that can store program codes.
[0107] The logic and / or steps represented in the flowcharts and / or described herein, for example, can be embodied in non-transitory computer-readable media, executed by one or more computing devices, and / or in any other way. The logic and / or steps represented in the flowcharts and / or described herein, for example, can be considered a list of executable instructions for implementing logic functions, and can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor- containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For purposes of this specification, a "computer-readable medium" can be any apparatus that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. The computer-readable medium can be, for example but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium include the following: an electrical connection (electronic) having one or more wires, a portable computer diskette (magnetic), a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber (optical), and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium can even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, for example via an optical scanner, then compiled, interpreted, or otherwise processed, and stored in a computer memory in a form that can be later executed by a computer. In this context, a "computer-readable medium" can be any means that can store the program for use by or in connection with the instruction execution system, apparatus, or device.
[0108] The foregoing description of various embodiments of the application has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the application to the precise form disclosed, and various modifications and variations are possible in light of the above teachings. It is intended that the scope of the application be limited not with this detailed description, but rather by the claims appended hereto.
[0109] It will be appreciated that portions of the present application can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, and in another embodiment, any of the following technologies known in the art, or a combination thereof, can be used: discrete logic circuitry having logic gates for implementing logic functions upon an application of data signals, application specific integrated circuits having appropriate combinational logic gates, programmable gate arrays (PGA), field programmable gate arrays (FPGA), and the like.
[0110] In the description of the present application, the use of the terms "one embodiment", "some embodiments", "an example", "a specific example", or "some examples" to describe certain aspects of the application, is not meant to limit or restrict the scope of the application to such embodiments, examples, or examples alone. Rather, these terms are used herein to describe a particular embodiment, example, or example in connection with which a feature, structure, material, or characteristic is being described. The use of these terms in the description is not intended to exclude from the scope of the application other embodiments or examples of the application that do not include the recited feature, structure, material, or characteristic.
[0111] While the embodiments of the application have been shown and described, it is to be understood that the embodiments described are merely exemplary and are not to be construed as limiting the scope of the application. The scope of the application is defined by the appended claims and their equivalents.
[0112] The above is a specific description of the preferred embodiment of the present application, but the present application is not limited to the described embodiment, and those skilled in the art can make various equivalent modifications or replacements without departing from the spirit of the present application, and these equivalent modifications or replacements are all included in the scope defined by the claims of the present application.
Claims
1. A method for intelligent device identity verification, the method comprising: The method is applied to a smart device, the smart device comprises a first device and a second device, and the method comprises the following steps: activating the smart device to obtain smart device activation data and save the smart device activation data to the first device and the second device respectively, and determining first device activation data and second device activation data; verifying the identity of the first device, obtaining first device data and a user password through the second device, wherein the first device data comprises a first device chip identification number and the first device activation data; performing preliminary verification on the first device activation data according to the second device activation data, if the preliminary verification is passed, performing decryption on the second device activation data according to the user password to obtain decryption data; performing secondary verification on the first device chip identification number according to the decryption data, if the secondary verification is passed, performing unlocking processing; the step of activating the smart device to obtain smart device activation data comprises the following steps: obtaining a user password through the first device and verifying the user password; sending the user password and a first device chip identification number to the second device through the first device; obtaining a second device chip identification number through the second device, combining and encrypting the second device chip identification number and the first device chip identification number according to the user password to obtain smart device activation data.
2. The method of claim 1, wherein, the step of obtaining a user password comprises the following steps: obtaining a serial number of the smart device through a cloud server; generating a user password according to the serial number and user information.
3. The method of claim 1, wherein, the step of combining and encrypting the second device chip identification number and the first device chip identification number according to the user password to obtain smart device activation data comprises the following steps: combining the first device chip identification number and the second device chip identification number through the second device to obtain combined data; encrypting the combined data according to the user password to obtain smart device activation data.
4. The method of claim 1, wherein, the step of performing preliminary verification on the first device activation data according to the second device activation data comprises the following steps: obtaining second device activation data from a flash memory of the second device; comparing the first device activation data with the second device activation data.
5. The method of claim 1, wherein, the step of performing secondary verification on the first device chip identification number according to the decryption data comprises the following steps: the decryption data comprises a first device decryption chip identification number; comparing the first device chip identification number with the first device decryption chip identification number.
6. The method of claim 1, wherein, before the step of verifying the identity of the first device, the method further comprises the following step of detecting the smart device through the first device: detecting the smart device through power-off restart detection, and when the first device is powered off and restarted, verifying the identity of the first device.
7. An intelligent device identity verification system, characterized by, The system is applied to a smart device, the smart device comprises a first device and a second device, and the system comprises the following steps: a first module is configured to activate the smart device to obtain smart device activation data and save the smart device activation data to the first device and the second device respectively, and determine first device activation data and second device activation data; A second module is configured to authenticate the first device, obtain first device data and a user password via the second device, and the first device data includes a first device chip identification number and first device activation data; A third module is configured to preliminarily verify the first device activation data according to the second device activation data, and if the preliminary verification is passed, decrypt the second device activation data according to the user password to obtain decrypted data; A fourth module is configured to secondarily verify the first device chip identification number according to the decrypted data, and if the secondary verification is passed, perform an unlocking process; The first module is configured to activate the smart device to obtain smart device activation data, including: obtaining a user password via a first device and verifying the user password; sending the user password and a first device chip identification number to a second device via the first device; obtaining a second device chip identification number via the second device, combining and encrypting the second device chip identification number and the first device chip identification number according to the user password to obtain smart device activation data.
8. An electronic device, comprising: The electronic device includes a memory and a processor; The memory is configured to store a program; The processor executes the program to implement the method in any one of claims 1 to 6.
9. A computer readable storage medium, the storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the method in any one of claims 1 to 6.
Citation Information
Patent Citations
Peripheral binding and authentication safety management method based on intelligent lock
CN112288914A