Unlocking mode determination method, device and electronic device

Determine the target part and proportion by taking flash images, and dynamically adjust the unlocking method, which solves the loopholes and security risks of access control management in office areas in the power industry, achieves keyless and keyboard-less flexible unlocking, and improves network security and operation and maintenance efficiency. .

CN115546939BActive Publication Date: 2024-09-17INFORMATION & COMM COMPANY OF QINGHAI ELECTRIC POWER +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211138347.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-19
Publication Date
2024-09-17
Estimated Expiration
2042-09-19

AI Technical Summary

Technical Problem

The existing access control management of office areas in the power industry has management loopholes and security risks. In particular, the key unlocking method is difficult to manage flexibly, and the network security protection for older employees is insufficient.

Method used

By obtaining the flash-photographed image of the target object, determine the target part and proportion, and dynamically adjust the unlocking method, including face, iris, fingerprint and password input technologies, to achieve keyless and keyboard-less flexible unlocking.

Benefits of technology

It improves network security in the office area, saves management resources, improves office efficiency and operation and maintenance quality, and reduces operation and maintenance costs. It is suitable for office terminals and mobile terminals in power private networks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115546939B
    Figure CN115546939B
Patent Text Reader

Abstract

The present invention discloses a method, device and electronic device for determining an unlocking method. The method comprises: obtaining a first target image including a target object, wherein the first target image is obtained by flash shooting from a single camera at a predetermined position to a predetermined direction; determining a target part of the target object in the first target image, and a target proportion of the target part in the first target image; when the target proportion is greater than a first predetermined threshold, determining a target unlocking method corresponding to the target part, wherein the first predetermined threshold is a threshold corresponding to the target part. The present invention solves the technical problem in the related art that the unlocking method is fixed and it is difficult to flexibly determine the unlocking method.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computers, and in particular to an unlocking mode determination method, device and electronic equipment. Background Art

[0002] At present, the design of personal access systems for office terminals in important office areas of the power industry faces many problems and difficulties, and there is a lot of room for improvement. The existing problems are mainly the following: the access to important office areas still remains in the backward access control management of key unlocking, which has large management loopholes and many changes; in order to improve network security, office terminals, mobile terminals and other office tools in the power private network need to change passwords regularly, which is a wide-ranging and labor-intensive task that not only requires a lot of time but also carries great security risks; for older employees, paper and pen records or simple passwords cannot play a real role in network security protection. For various places where daily operation and maintenance need to be reached, such as substation rooms, the centralized management of keys requires authorization to take keys at designated locations and return them regularly, which has brought great changes to the operation and maintenance work.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide a method, device and electronic device for determining an unlocking mode, so as to at least solve the technical problem in the related art that the unlocking mode is fixed and it is difficult to flexibly determine the unlocking mode.

[0005] According to one aspect of an embodiment of the present invention, a method for determining an unlocking method is provided, comprising: acquiring a first target image including a target object, wherein the first target image is obtained by flash photography of a single camera at a predetermined position toward a predetermined orientation; determining a target part of the target object in the first target image, and a target proportion of the target part in the first target image; and determining a target unlocking method corresponding to the target part when the target proportion is greater than a first predetermined threshold, wherein the first predetermined threshold is a threshold corresponding to the target part.

[0006] Optionally, it also includes: when the target proportion is less than or equal to a first predetermined threshold and greater than a second predetermined threshold, adjusting the predetermined orientation of the single camera according to the first target image, wherein the first predetermined threshold is greater than the second predetermined threshold, and the second predetermined threshold is a threshold corresponding to the target part; and acquiring a second target image including the target object.

[0007] Optionally, adjusting the predetermined position of the single camera according to the first target image includes: determining a target position of the target part in the first target image; and adjusting the predetermined position of the single camera according to the target proportion and the target position.

[0008] Optionally, it also includes: when the target proportion is less than or equal to the second predetermined threshold, determining a first predetermined unlocking method, wherein the first predetermined unlocking method includes password input unlocking.

[0009] Optionally, before determining the target part of the target object in the first target image and the target proportion of the target part in the first target image, it also includes: determining the object identity of the target object in the first target image based on the first target image; and determining a second predetermined unlocking method when the object identity is an identity of a stored unlocking method, wherein the second predetermined interpretation method is the stored unlocking method.

[0010] Optionally, the method further includes: adopting the target unlocking method to detect the first target image and obtain an unlocking result.

[0011] Optionally, the target unlocking method corresponding to the target part includes at least one of the following: when the target part is a face, the target unlocking method corresponding to the target part is iris unlocking; when the target part is a human body, the target unlocking method corresponding to the target part is face unlocking.

[0012] According to one aspect of an embodiment of the present invention, there is provided an unlocking mode determination device, comprising: an acquisition module, for acquiring a first target image including a target object, wherein the first target image is obtained by flash photography of a single camera at a predetermined position toward a predetermined orientation; a first determination module, for determining a target part of the target object in the first target image, and a target proportion of the target part in the first target image; a second determination module, for determining a target unlocking mode corresponding to the target part when the target proportion is greater than a first predetermined threshold, wherein the first predetermined threshold is a threshold corresponding to the target part.

[0013] According to one aspect of an embodiment of the present invention, an electronic device is provided, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement any one of the above-mentioned methods for determining an unlocking mode.

[0014] According to one aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned methods for determining an unlocking mode.

[0015] In an embodiment of the present invention, a first target image including a target object is acquired, wherein the first target image is acquired by a single camera at a predetermined position shooting in a flash mode in a predetermined direction, and a target part of the target object in the first target image and a target proportion of the target part in the first target image are determined through the acquired first target image, and when the target proportion is greater than a first predetermined threshold, a target unlocking method corresponding to the target part is determined so as to perform an unlocking operation. Since the unlocking method is determined based on the first target image, the technical problem that the unlocking method is fixed and difficult to flexibly determine in the related art is solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0017] Figure 1 is a flowchart of a method for determining an unlocking mode according to an embodiment of the present invention;

[0018] Figure 2 4 is a structural block diagram of an apparatus for determining an unlocking mode according to an embodiment of the present invention. DETAILED DESCRIPTION

[0019] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0020] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0021] Example 1

[0022] According to an embodiment of the present invention, an embodiment of a method for determining an unlocking mode is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0023] Figure 1 is a flowchart of a method for determining an unlocking mode according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0024] Step S102, acquiring a first target image including a target object, wherein the first target image is obtained by flash shooting from a single camera at a predetermined position to a predetermined direction;

[0025] Step S104, determining a target part of the target object in the first target image, and a target proportion of the target part in the first target image;

[0026] Step S106, when the target proportion is greater than a first predetermined threshold, determining a target unlocking method corresponding to the target part, wherein the first predetermined threshold is a threshold corresponding to the target part.

[0027] Through the above steps, a first target image including the target object is obtained, wherein the first target image is obtained by a single camera at a predetermined position shooting in a flash mode in a predetermined direction, and the target part of the target object in the first target image and the target proportion of the target part in the first target image are determined through the obtained first target image, and when the target proportion is greater than a first predetermined threshold, the target unlocking method corresponding to the target part is determined so as to perform the unlocking operation. Since the unlocking method is determined based on the first target image, the technical problem that the unlocking method is fixed and difficult to flexibly determine in the related art is solved.

[0028] It should be noted that the method of determining the unlocking method by taking a photo in this application can also be combined with other unlocking methods. For example, when the lock is fingerprint unlocking and image unlocking in one, when the lock senses the touch of a finger, the fingerprint unlocking method is directly used.

[0029] The method provided in the present application can be applied to large equipment such as doors, and can also be applied to small equipment such as office tools to achieve unlocking operations.

[0030] As an optional embodiment, a first target image including a target object is obtained, wherein the first target image is obtained by a single camera at a predetermined position performing flash photography in a predetermined orientation. The predetermined position and the predetermined orientation can be set according to the setting of the single camera. For example, when the application scene is a door and the single camera is set above the door frame, the predetermined orientation can be downward from the horizontal line. When the single camera is set on the door handle, the predetermined orientation can be upward from the horizontal line, and the specific angle can be set according to the actual scene and application. Flash photography takes into account that the scene may be darker and it is difficult to capture a clear and bright image, and then a clear image is obtained by flash photography. It should be noted that the timing of obtaining the first target image including the target object can be when a living thing is detected and photographed, thereby achieving the effect of the target object after the image is collected, saving computing resources.

[0031] As an optional embodiment, after acquiring the first target image including the target object, before determining the target part of the target object in the first target image and the target proportion of the target part in the first target image, the object identity of the target object in the first target image can also be determined based on the first target image, and when the object identity is an identity for which an unlocking method has been stored, a second predetermined unlocking method is determined, wherein the second predetermined interpretation method is the stored unlocking method. That is, if the user has stored a predetermined unlocking method, the unlocking method stored by the user is directly used, which meets the user's preference and meets the user's expectations.

[0032] Optionally, subsequent operations may be performed based on the object identity of the target object. For example, the unlocking method may be determined based on the identity, the unlocking method may be determined based on age information in the object identity, and so on.

[0033] As an optional embodiment, when determining the target part of the target object in the first target image, the target part may be a head, a body trunk, or other parts. The target unlocking method corresponding to the target part may be determined according to the target part. Optionally, when the target part is a face, the target unlocking method corresponding to the target part is iris unlocking, that is, the eye image in the first target image may be captured, and the iris unlocking method may be adopted to detect the image, obtain an unlocking result, and unlock the object. When the target part is a human body, the target unlocking method corresponding to the target part is face unlocking, that is, the face image in the first target image may be captured, and the face unlocking method may be adopted to detect the image, obtain an unlocking result, and unlock the object. By selecting different methods to unlock, the unlocking may be performed flexibly, without being limited to a single unlocking method, making the unlocking more flexible and convenient.

[0034] As an optional embodiment, the target proportion of the target part in the first target image is also determined, so as to determine the target unlocking method corresponding to the target part when the target proportion is greater than the first predetermined threshold, wherein the first predetermined threshold is the threshold corresponding to the target part. Optionally, when the target proportion is less than or equal to the first predetermined threshold and greater than the second predetermined threshold, the predetermined position of the single camera is adjusted according to the first target image, wherein the first predetermined threshold is greater than the second predetermined threshold, and the second predetermined threshold is the threshold corresponding to the target part. When the target proportion is less than or equal to the first predetermined threshold and greater than the second predetermined threshold, it is considered that the accurate and required target image is not obtained, and therefore, it is necessary to adjust the predetermined position of the single camera when shooting, so as to obtain the accurate and required target image. When the target proportion is small, the angle can be automatically adjusted to obtain a more accurate image, that is, to obtain a second target image including the target object, so as to perform accurate detection, avoiding the cumbersome operation caused by the camera being fixed in position and requiring people to aim at the camera.

[0035] As an optional embodiment, when adjusting the predetermined position of a single camera according to the first target image, the target position of the target part in the first target image can be determined, and the predetermined position of the single camera can be adjusted according to the target proportion and the target position. That is, when the target part appears at the bottom of the image in the first target image and has a low proportion, the predetermined position of the single camera will be adjusted downward to obtain the second target image, so that the proportion of the target part of the target object in the second target image increases, ensuring that the method of the present application is carried out in an orderly manner, and when the obtained target proportion and target position information are more detailed, the predetermined position of the single camera can be adjusted more accurately, and a more adaptive adjustment can be performed.

[0036] As an optional embodiment, when the target proportion is less than or equal to the second predetermined threshold, the first predetermined unlocking method is determined, wherein the first predetermined unlocking method includes password input unlocking, that is, when the predetermined position image is not captured, the conventional unlocking method of password input is determined. The password input can be voice input, etc., which is not limited here. As a backup guarantee, in order to avoid being trapped due to failure to unlock.

[0037] Through the method recorded in this application, through the application of password-free entry technology in the power private network, the entry into important office areas can be realized according to different aspects, through face, fingerprint, iris, password authorization and other technologies to achieve keyless and keyboardless entry, which greatly saves management resources; office terminals, mobile terminals and other office tools in the power private network can realize functions such as self-authorization entry at power on through face recognition or fingerprint unlocking and other technologies, which improves office efficiency, and can realize the same terminal to enter different office systems through different face recognition; for older employee groups, entering the office terminal through face recognition or fingerprint unlocking and other technologies greatly improves the network security of this group when using the private network for office work, and improves quality and efficiency. Office terminals, mobile terminals and other office tools in the power private network can realize functions such as self-authorization entry at power on through face recognition or fingerprint unlocking and other technologies, which improves office efficiency, and can realize the same terminal to enter different office systems through different face recognition. In terms of technological innovation, quality and efficiency improvement, network security and other aspects, the quality of operation and maintenance is greatly improved, the operation and maintenance costs are saved, and the operation and maintenance work of the power private network is getting closer to life, while ensuring the security of the power private network.

[0038] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0039] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of various embodiments of the present invention.

[0040] Example 2

[0041] According to an embodiment of the present invention, a device for implementing the above unlocking mode determination method is also provided. Figure 2 is a structural block diagram of an unlocking mode determination device according to an embodiment of the present invention. Figure 2 As shown, the device includes: an acquisition module 202, a first determination module 204 and a second determination module 206. The device is described in detail below.

[0042] An acquisition module 202 is used to acquire a first target image including a target object, wherein the first target image is obtained by a single camera at a predetermined position performing flash photography in a predetermined direction; a first determination module 204 is connected to the above-mentioned acquisition module 202, and is used to determine a target part of the target object in the first target image, and a target proportion of the target part in the first target image; a second determination module 206 is connected to the above-mentioned first determination module 204, and is used to determine a target unlocking method corresponding to the target part when the target proportion is greater than a first predetermined threshold, wherein the first predetermined threshold is a threshold corresponding to the target part.

[0043] It should be noted here that the above-mentioned acquisition module 202, the first determination module 204 and the second determination module 206 correspond to steps S102 to S106 in the method for implementing the unlocking mode determination, and the instances and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above-mentioned embodiment 1.

[0044] Example 3

[0045] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, including: a processor; and a memory for storing instructions executable by the processor, wherein the processor is configured to execute the instructions to implement any of the above unlocking mode determination methods.

[0046] Example 4

[0047] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device can execute any of the above-mentioned methods for determining an unlocking mode.

[0048] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0049] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0050] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0051] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0052] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0053] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0054] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for determining an unlocking mode, characterized in that: include: Acquire a first target image including a target object, wherein the first target image is obtained by flash shooting from a single camera at a predetermined position to a predetermined direction; Determining a target part of the target object in the first target image, and a target proportion of the target part in the first target image; When the target proportion is greater than a first predetermined threshold, determining a target unlocking mode corresponding to the target part, wherein the first predetermined threshold is a threshold corresponding to the target part; The target unlocking method corresponding to the target part includes at least one of the following: When the target part is a human face, the target unlocking method corresponding to the target part is iris unlocking; When the target part is a human body, the target unlocking method corresponding to the target part is face unlocking.

2. The method according to claim 1, characterized in that Also includes: When the target proportion is less than or equal to a first predetermined threshold and greater than a second predetermined threshold, adjusting the predetermined position of the single camera according to the first target image, wherein the first predetermined threshold is greater than the second predetermined threshold, and the second predetermined threshold is a threshold corresponding to the target part; A second target image including the target object is acquired.

3. The method according to claim 2, characterized in that Adjusting the predetermined position of the single camera according to the first target image includes: Determining a target position of the target part in the first target image; The predetermined position of the single camera is adjusted according to the target proportion and the target position.

4. The method according to claim 2, characterized in that: Also includes: When the target proportion is less than or equal to the second predetermined threshold, a first predetermined unlocking method is determined, wherein the first predetermined unlocking method includes password input unlocking.

5. The method according to claim 1, characterized in that Before determining the target part of the target object in the first target image and the target proportion of the target part in the first target image, the method further includes: Determining, based on the first target image, an object identity of the target object in the first target image; In a case where the object identity is an identity for which an unlocking method has been stored, a second predetermined unlocking method is determined, wherein the second predetermined unlocking method is the stored unlocking method.

6. The method according to claim 1, characterized in that Also includes: The target unlocking method is adopted to detect the first target image and obtain an unlocking result.

7. An unlocking mode determination device, characterized in that: include: An acquisition module, used for acquiring a first target image including a target object, wherein the first target image is obtained by flash shooting in a predetermined direction by a single camera at a predetermined position; A first determination module, configured to determine a target part of the target object in the first target image, and a target proportion of the target part in the first target image; A second determination module is used to determine a target unlocking mode corresponding to the target part when the target proportion is greater than a first predetermined threshold, wherein the first predetermined threshold is a threshold corresponding to the target part; The target unlocking method corresponding to the target part includes at least one of the following: When the target part is a human face, the target unlocking method corresponding to the target part is iris unlocking; When the target part is a human body, the target unlocking method corresponding to the target part is face unlocking.

8. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the unlocking mode determination method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the unlocking mode determination method as described in any one of claims 1 to 6.