Privacy processing method, device, equipment and storage medium for smart lock lens
Acquire external images through the smart lock lens and calculate the target coordinates of the polarizer, monitor and calibrate the position of the polarizer in real time, solve the problem of the smart door lock lens being unable to maintain a broad monitoring field of view when protecting privacy, and achieve efficient privacy protection and user experience promote.
Patent Information
- Application Number
- CN202410970686.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-19
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-07-19
AI Technical Summary
The lens of a smart door lock cannot maintain a broad surveillance field of view while protecting the privacy of neighbors. Existing privacy protection technologies such as physical blocking and software desensitization processing have shortcomings.
Obtain the external image through the smart lock lens, determine the privacy area that the user desires to block, calculate the target coordinates of the polarizer based on this area, and control the movement of the polarizer to block the corresponding area, monitor and calibrate the position of the polarizer in real time, and ensure that the privacy area is effectively blocked. .
It achieves effective protection of privacy while maintaining a broad monitoring field of view, ensures accurate occlusion and real-time performance of privacy areas, and improves user experience and privacy protection capabilities.
Smart Images

Figure CN118509700B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart locks, and in particular to a privacy processing method, device, equipment and storage medium for a smart lock lens. Background Art
[0002] With the continuous advancement of technology, video surveillance smart door locks have gained wide recognition for their excellent security functions. In order to broaden the monitoring field of view and reduce blind spots, door lock lenses use wide-angle or even ultra-wide-angle fisheye lenses. However, since smart locks are usually installed flat on the door, the lens directly faces the area in front of the door, which may cause potential infringement of neighbors' privacy in some residential layouts.
[0003] Existing privacy protection technologies are mainly implemented through physical switches, but this method usually comes at the expense of blocking the entire lens or part of the lens, thereby weakening the wide monitoring field of view that the wide-angle lens is intended to provide. In addition, although software processing can desensitize sensitive areas, such as adding mosaics, the desensitization function can be turned on or off manually, so it is not applicable in the application scenario of smart locks. Summary of the invention
[0004] In view of this, the embodiments of the present invention provide a privacy processing method, device, computer equipment and storage medium for a smart lock lens to solve the problem that the lens of an existing smart door lock cannot maintain a wide monitoring field of view while protecting the privacy of neighbors.
[0005] In a first aspect, an embodiment of the present invention provides a privacy processing method for a smart lock lens, the method comprising:
[0006] Acquire a first external image captured by a target lens on the smart lock;
[0007] determining a privacy area that the user desires to block according to the first external image;
[0008] Determine the target coordinates of the polarizer on the target lens based on the privacy area, and control the polarizer on the target lens to perform a movement operation according to the target coordinates;
[0009] A second external image captured by the target lens after the moving operation is performed is acquired, and it is determined whether the blocked area on the second external image is consistent with the privacy area that the user desires to block.
[0010] In an optional implementation manner of the present application, determining the privacy area that the user desires to block according to the first external image includes:
[0011] Displaying the first external image on an interactive interface associated with the smart lock;
[0012] receiving marking information input by a user on a first external image displayed on the interactive interface;
[0013] The privacy area that the user desires to block is determined according to the marking information.
[0014] In an optional implementation manner of the present application, determining the target coordinates of the polarizer on the target lens based on the privacy area includes:
[0015] Obtaining attribute parameters of the target lens on the smart lock;
[0016] Mapping the privacy area to the field of view of the target lens according to the attribute parameters to obtain the relative position of the privacy area in the field of view;
[0017] The positioning data of the polarizer on the target lens is calculated based on the relative position, and the positioning data is converted into coordinates on the position scale on the smart lock to obtain the target coordinates.
[0018] In an optional implementation manner of the present application, the determining whether the blocked area on the second external image is consistent with the privacy area that the user desires to block includes:
[0019] identifying an occluded area on the second external image;
[0020] Comparing the blocked area with the privacy area that the user expects to block, to obtain the area blocking similarity;
[0021] If the area occlusion similarity reaches a preset similarity, it is determined that the occluded area on the second external image is consistent with the privacy area that the user expects to occlude; or, if the area occlusion similarity does not reach the preset similarity, it is determined that the occluded area on the second external image is inconsistent with the privacy area that the user expects to occlude.
[0022] In an optional implementation manner of the present application, after determining whether the blocked area on the second external image is consistent with the privacy area that the user desires to block, the method further includes:
[0023] If the blocked area on the second external image is consistent with the privacy area that the user desires to block, storing the target coordinates of the polarizer in the information library of the smart lock;
[0024] If the occluded area on the second external image is inconsistent with the privacy area that the user wants to block, the target coordinates of the polarizer are updated to obtain updated target coordinates, and the polarizer is controlled to perform a moving operation based on the updated target coordinates until the occluded area on the external image is consistent with the privacy area that the user wants to block.
[0025] In an optional embodiment of the present application, the method further includes:
[0026] Detecting real-time position information of the polarizer on the target lens;
[0027] Compare the real-time location information with the target coordinates in the information library of the smart lock to obtain a comparison result;
[0028] If the comparison result is that the real-time location information is inconsistent with the target coordinates, obtaining the environmental state of the current environment of the smart lock;
[0029] The real-time position of the polarizer is calibrated using a calibration method corresponding to the environmental state to obtain a calibration result, and the calibration result is sent to a client associated with the smart lock.
[0030] In an optional embodiment of the present application, the method further includes:
[0031] Detecting a user's request for querying the location of the polarizer on the smart lock;
[0032] Responding to the position query request, and obtaining a position state diagram of the polarizer through the position query request;
[0033] The position state diagram of the polarizer is sent to a client associated with the smart lock, and a position adjustment instruction for the polarizer in the position state diagram input by a user through the client is received, and the polarizer is controlled to perform a moving operation according to the position adjustment instruction.
[0034] In an optional implementation manner of the present application, obtaining the position state diagram of the polarizer through the position query request includes:
[0035] Reading the current coordinates of the polarizer from the information base of the smart lock through the location query request;
[0036] Based on the current coordinates of the polarizer and the position scale on the smart lock, determining the corresponding relationship between the polarizer and the position scale;
[0037] Based on the corresponding relationship, the polarizing plate, the position scale and the field of view of the target lens are visualized to generate a position state diagram.
[0038] In a second aspect, an embodiment of the present invention provides a privacy processing device for a smart lock lens, the device comprising:
[0039] An acquisition module, used to acquire a first external image captured by a target lens on the smart lock;
[0040] A determination module, configured to determine a privacy area that a user desires to block according to the first external image;
[0041] A control module, configured to determine a target coordinate of the polarizer on the target lens based on the privacy area, and control the polarizer on the target lens to perform a movement operation according to the target coordinate;
[0042] The judgment module is used to obtain a second external image captured by the target lens after the movement operation is processed, and to judge whether the blocked area on the second external image is consistent with the privacy area that the user expects to block.
[0043] In a third aspect, an embodiment of the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method of the first aspect or any corresponding embodiment thereof by executing the computer instructions.
[0044] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the method of the first aspect or any corresponding embodiment thereof.
[0045] The method provided in the embodiment of the present application has the following beneficial effects:
[0046] The method provided in the embodiment of the present application captures the external environment image through the target lens on the smart lock, provides accurate data for determining the privacy area and the positioning of the polarizer, and ensures the reliability and accuracy of privacy protection. Secondly, by receiving user tags through the interactive interface, personalized privacy settings are realized, so that the smart lock system can protect user privacy as needed, greatly improving the user experience and privacy protection capabilities.
[0047] The method provided in the embodiment of the present application combines the properties of the target lens and the privacy area mapping to accurately block the privacy area, and through real-time image acquisition and coordinate update, ensures the real-time and accuracy of the blocking effect, thereby effectively protecting the privacy security of users. At the same time, by storing the target coordinates of the polarizer in the information library, data support is provided for subsequent operations, enhancing the stability of the system and the convenience of user use.
[0048] The method provided in the embodiment of the present application has the function of real-time monitoring and calibration of the polarizer position, ensuring that the system can continuously track the state of the polarizer and calibrate in time when the position information is inconsistent, thereby ensuring the accuracy of the polarizer position and further improving the user experience and privacy protection effect.
[0049] The method provided in the embodiment of the present application can quickly respond to user location query requests, further optimize the privacy shielding effect by clearly displaying the polarizer position status diagram and allowing the user to directly adjust the polarizer position, and significantly improve user satisfaction. In short, through multiple mechanisms such as accurate capture, personalized settings, real-time monitoring and calibration, and user interaction, the privacy protection capability of the smart lock system is comprehensively improved, providing users with a safer, more convenient, and personalized user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0051] Figure 1 is a flowchart of a privacy processing method for a smart lock lens according to some embodiments of the present invention;
[0052] Figure 2 is a schematic diagram of the positional relationship between the smart lock camera and the door panel according to an embodiment of the present invention;
[0053] Figure 3 is a partial structural diagram of a smart lock lens according to an embodiment of the present invention;
[0054] Figure 4 is a schematic diagram of the working mechanism of the polarizer on the lens of a smart lock according to an embodiment of the present invention;
[0055] Figure 5 is a schematic diagram of the monitoring screen effect before adding a polarizing plate according to an embodiment of the present invention;
[0056] Figure 6 is a schematic diagram of the monitoring screen effect after adding a polarizing film according to an embodiment of the present invention;
[0057] Figure 7 is a structural block diagram of a privacy processing device of a smart lock lens according to an embodiment of the present invention;
[0058] Figure 8 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0059] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0060] According to an embodiment of the present invention, a privacy processing method, apparatus, device and storage medium for a smart lock lens are provided. It should be noted that the steps shown in the flowchart in 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 may be executed in an order different from that shown here.
[0061] In this embodiment, a privacy processing method for a smart lock lens is provided. Figure 1 is a flow chart of a privacy processing method for a smart lock lens according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0062] Step S11, obtaining a first external image captured by a target lens on the smart lock.
[0063] In the embodiment of the present application, the positional relationship between the smart lock, the target lens and the door panel is as follows: Figure 2 As shown. A real-time image of the outside is obtained from the target lens (i.e., cat's eye lens) on the smart lock. The target lens can refer to the cat's eye lens, which is a camera component on the smart lock used to observe and record the situation outside the door. It can capture the unobstructed picture outside the door in real time and provide users with security monitoring functions. The first external image refers to the picture of the scene outside the door captured by the cat's eye lens at a certain point in time in a completely unobstructed state. This first external image obtained under unobstructed conditions will be used for subsequent privacy area marking and provide a clear and unobstructed visual basis for operations such as adjusting the position of the polarizer.
[0064] Step S12: determining a privacy area that the user wishes to block according to the first external image.
[0065] It should be noted that Figure 3The figure shows the positional relationship of the target lens, polarizer, position scale and other components, and six key parts are marked in the figure. First, the lens area represented by label 1 is the core area for observation and shooting. Label 2 represents the polarizer, which is divided into horizontal polarizer and vertical polarizer, which will form a cross in the lens area. Importantly, two such cross areas are specially shown in label 3. In these cross areas, the polarization directions of the horizontal and vertical polarizers need to be perpendicular to each other to ensure that these areas are almost light-proof. Label 4 represents the manual dial track of the polarizer, which allows the user to easily move the position of the polarizer within the lens range, or even completely move it out of the lens range. Label 5 represents the manual dial protrusion of the polarizer, which is designed to be eye-catching (such as red) to facilitate user operation and confirm the position of the polarizer. The position scale represented by label 6 helps users move and position the polarizer more accurately, or confirm whether it has moved. This design is to meet specific optical needs and improve the effect of shooting or observation.
[0066] In the embodiment of the present application, step S12 includes the following steps A1-A3:
[0067] Step A1, displaying the first external image on the interactive interface associated with the smart lock.
[0068] In an embodiment of the present application, the first external image obtained (i.e., the real-time picture outside the door taken by the cat-eye lens on the smart lock) will be displayed on the interactive interface of the smart lock. This interactive interface can be the display screen of the smart lock itself, or it can be other display devices connected to the smart lock, such as mobile phones, tablet computers, etc. The purpose of displaying the first external image is to allow the user to intuitively see the scene outside the door, and perform subsequent privacy area marking operations on this basis. By observing this image, the user can clearly point out which areas are privacy areas that need to be blocked, such as neighbors' doors, windows, etc.
[0069] Step A2: receiving marking information input by the user on the first external image displayed on the interactive interface.
[0070] In the embodiment of the present application, the user observes the real-time image outside the door displayed on the interactive interface and finds that some areas (such as neighbors' doors, windows, etc.) involve personal privacy and do not want to be monitored or recorded. Therefore, the user can mark these areas, such as demarcating an area by touching the screen, or selecting the area to be blocked through the interface options provided by the smart lock. These marking information will be recorded and used to determine the position and movement direction of the polarizer later.
[0071] Step A3: determining the privacy area that the user wants to block according to the marking information.
[0072] In the embodiment of the present application, the user marks the first external image on the interactive interface, which may be to define one or more specific areas by touching the screen. These areas may include neighbors' doors, windows, paths of passers-by, etc. The user does not want these areas to be monitored or recorded. After receiving these marks, the system will define these areas as privacy areas.
[0073] Step S13, determining the target coordinates of the polarizer on the target lens based on the privacy area, and controlling the polarizer on the target lens to perform a moving operation according to the target coordinates.
[0074] In the embodiment of the present application, the position of the polarizer is precisely controlled by the privacy area defined by the user to achieve the purpose of shielding the privacy area, and after the target coordinates are calculated, the polarizer on the target lens is controlled to perform a movement operation according to these coordinate information. The polarizer can be driven to move to the correct position along its manual toggle track.
[0075] As an example, Figure 4 The internal structure of the smart lock is shown, depicting the working mechanism of the polarizer. In order to show the structure more clearly, the external panel of the smart lock has been removed. Two horizontal polarizers and three vertical polarizers are seen in the picture (the number of polarizers is not limited to this and can be adjusted according to specific needs). These polarizers can be completely moved outside the lens when not working, so as not to interfere with the normal use of the lens. When privacy shielding is required, the user can easily move the polarizer in front of the lens by turning a specific raised part to achieve the purpose of shielding and protecting privacy.
[0076] In an embodiment of the present application, the target coordinates of the polarizer on the target lens are determined based on the privacy area, including: obtaining the attribute parameters of the target lens on the smart lock; mapping the privacy area to the field of view of the target lens according to the attribute parameters, and obtaining the relative position of the privacy area in the field of view; calculating the positioning data of the polarizer on the target lens based on the relative position, and converting the positioning data into coordinates on the position scale on the smart lock to obtain the target coordinates.
[0077] Specifically, it is first necessary to obtain the attribute parameters of the target lens, where the attribute parameters may include: focal length, field of view angle, resolution, etc. of the lens. These parameters will be used to map the privacy area specified by the user to the actual field of view of the lens, and calculate the accurate positioning data of the polarizer based on this. Secondly, using the collected lens attribute data, the privacy area marked by the user is mapped back to the actual field of view of the lens, so that the exact position and coverage area of the privacy area within the capture range of the lens can be determined. Thirdly, considering factors such as the size and shape of the polarizer, the target position to which the polarizer needs to be moved can be calculated according to the relative position of the privacy area, and the positioning data of the target position can be obtained. Finally, the positioning data is converted into specific coordinate information on the preset position scale on the smart lock, that is, the target coordinates.
[0078] In the embodiment of the present application, the polarizer on the target lens is controlled to perform a movement operation according to the target coordinates. In actual operation, there are two main ways to achieve this goal:
[0079] Method 1: The user manually moves the polarizer by hand or other tools to manually adjust the position of the polarizer to the target coordinates. This method is simple and direct, but requires the user to have certain operating skills and patience to ensure that the polarizer can be accurately moved to the predetermined position.
[0080] Method 2: Use mechanical structure to move the polarizer. Mechanical devices for moving the polarizer are set around the smart door lock, such as motors, gears, slide rails, etc. These devices can automatically adjust the position of the polarizer according to the control signal. The mechanical device specifically includes: a DC motor or a stepper motor as a power source, which is connected to the main gear through a coupling. The main gear meshes with a series of slave gears to form a gear reduction system to accurately control the speed and torque output. The final output gear of the gear reduction system is connected to the driving component of the slide rail (such as a lead screw or a gear rack mechanism) through a shaft. The slide rail is installed horizontally or vertically on the housing of the smart door lock to ensure that the polarizer can move smoothly within a predetermined range. One or more sliders are installed on the slide rail, and each slider is fixed with a polarizer fixing frame. The polarizer is precisely mounted on the fixing frame to ensure that it is not deflected during movement. The control system (such as a microcontroller or a single-chip microcomputer) is connected to the motor driver through a cable to control the start, stop, direction and speed of the motor. The control system receives signals from the door lock sensor or external commands and sends control signals to the motor driver according to the preset logic. In this method, the smart lock sends a control signal to the mechanical structure, which then drives the polarizer to move to the target coordinates. The advantage of this method is that it has a high degree of automation and can quickly and accurately adjust the position of the polarizer.
[0081] Step S14, obtaining a second external image captured by the target lens after the moving operation is performed, and determining whether the shielded area on the second external image is consistent with the privacy area that the user desires to shield.
[0082] It should be noted that this process is performed after the coordinates of the polarizer are determined according to the privacy area that the user wants to block, and the polarizer is controlled to move to the corresponding position. The purpose is to obtain a new external image after the polarizer is moved, so as to verify the subsequent blocking effect.
[0083] Specifically, when the polarizer is moved to the predetermined position according to the previous calculation, the target lens on the smart lock will capture the second external image outside the door again. This image is different from the first external image and contains the effect of the polarizer blocking. The difference between the privacy area that the user wants to block in the second external image and the same area in the first external image is analyzed and compared. If the privacy area has been effectively blocked in the second external image (that is, the area becomes unclear or completely invisible in the second external image), it means that the movement of the polarizer is successful. If the privacy area is not effectively blocked, further adjustments are required, such as updating the target coordinates of the polarizer, etc., until the privacy area is effectively blocked.
[0084] As an example, Figure 5 and Figure 6 The practical application effect of the present invention on the smart lock monitoring screen is demonstrated. Figure 5 The image shows the state before the polarizing film enters the monitoring screen. It can be seen that the smart lock camera is facing the door of the two neighbors. At this time, the picture is clear and there is no obstruction. Figure 6 The effect after adding the polarizing film is shown. In this picture, it can be clearly seen that the positions of the two doorways are blocked by opaque areas. This is achieved by moving the horizontal and vertical polarizing films to specific positions. The horizontal and vertical polarizing films cross at the door position. Due to the mutual cancellation of polarized light, an opaque area is formed, thereby effectively protecting the privacy of neighbors. It is worth noting that in areas that do not need to be blocked, due to the characteristic that the polarizing film can only pass light with the same vibration direction, the picture will appear slightly dim. This is due to the filtering effect of the polarizing film. In the process of adjusting the position of the polarizing film, it is necessary to use a display device to observe the cat's eye image to accurately move the polarizing film. After the adjustment is completed, the position of the polarizing film can be confirmed by observing the eye-catching toggle protrusion and the fixed position ruler on the polarizing film.
[0085] In an embodiment of the present application, determining whether the occluded area on the second external image is consistent with the privacy area that the user expects to be occluded includes the following steps: identifying the occluded area on the second external image; comparing the occluded area with the privacy area that the user expects to be occluded to obtain a regional occlusion similarity; if the regional occlusion similarity reaches a preset similarity, determining that the occluded area on the second external image is consistent with the privacy area that the user expects to be occluded; or, if the regional occlusion similarity does not reach the preset similarity, determining that the occluded area on the second external image is inconsistent with the privacy area that the user expects to be occluded.
[0086] Specifically, first, after the polarizer moves to a predetermined position, the target lens of the smart lock will capture a second external image, and through image processing technology, identify the area blocked by the polarizer in the second external image. Secondly, compare the identified blocked area with the privacy area that the user previously specified as desired to be blocked. By calculating the similarity between the two areas (for example, using an image similarity algorithm), a numerical value is obtained, namely, the regional occlusion similarity. If the calculated regional occlusion similarity is higher than or equal to a preset similarity threshold, it is considered that the occlusion effect is satisfactory, that is, the occluded area is consistent with the privacy area expected by the user. If the calculated regional occlusion similarity is lower than the preset similarity threshold, it is considered that the occlusion effect is unsatisfactory, that is, the occluded area is inconsistent with the privacy area expected by the user.
[0087] In an embodiment of the present application, after determining whether the occluded area on the second external image is consistent with the privacy area that the user expects to block, the method also includes: if the occluded area on the second external image is consistent with the privacy area that the user expects to block, the target coordinates of the polarizer are stored in the information library of the smart lock; if the occluded area on the second external image is inconsistent with the privacy area that the user expects to block, the target coordinates of the polarizer are updated to obtain updated target coordinates, and the polarizer is controlled to perform a moving operation based on the updated target coordinates until the occluded area on the external image is consistent with the privacy area that the user expects to block.
[0088] Specifically, when the smart lock confirms through image processing technology that the polarizer has effectively blocked the user's desired privacy area, the smart lock will store the position coordinates of the polarizer at this time (i.e., the target coordinates) in its internal information library. In this way, these settings can be automatically applied in future use without the user having to adjust them manually every time. In addition, saving these coordinate information also helps with troubleshooting and problem diagnosis. If there is a problem with the position of the polarizer (such as accidental movement or misalignment), it is quickly located by comparing the stored coordinates in the information library with the real-time position of the polarizer. If the smart lock finds that the polarizer does not accurately block the user's desired privacy area, it will enter the adjustment mode, update the target coordinates of the polarizer, and calculate new coordinate values, which should enable the polarizer to block the privacy area more accurately. Based on these updated target coordinates, the smart lock controls the polarizer to perform a moving operation until the blocked area on the external image is exactly the same as the privacy area that the user expects to block. This process is a closed-loop feedback control system that continuously adjusts the position of the polarizer until the desired blocking effect is achieved.
[0089] In an embodiment of the present application, the method also includes: detecting the real-time position information of the polarizer on the target lens; comparing the real-time position information with the coordinate information in the information library of the smart lock to obtain a comparison result; if the comparison result is that the real-time position information is inconsistent with the target coordinates, obtaining the environmental state of the current environment of the smart lock; calibrating the real-time position of the polarizer using the calibration method corresponding to the environmental state to obtain the calibration result, and sending the calibration result to the client associated with the smart lock.
[0090] It should be noted that, in addition to the steps described above, the method also adds a monitoring and calibration mechanism for the real-time position of the polarizer. The purpose of this mechanism is to ensure that the polarizer always remains at the position set by the user, thereby continuously and effectively shielding the privacy area.
[0091] Specifically, first, the current position of the polarizer is continuously or periodically detected to ensure that it has not moved or misplaced due to external factors (such as vibration, temperature change, etc.). After obtaining the real-time position information of the polarizer, it is compared with the target coordinates set by the user previously saved in the information library. The purpose of this comparison is to check whether the polarizer is still in the correct position. If it is found that the real-time position of the polarizer is inconsistent with the coordinates set by the user, the environmental state of the current environment of the smart lock is obtained. If there are activities of preset users in the environmental state, it can be determined that the calibration method corresponding to the current environmental state is manual calibration; if there are no activities of preset users in the environmental state, or there are activities of strangers, it can be determined that the calibration method corresponding to the current environmental state is automatic calibration. After the calibration is completed, the results of the calibration (including whether it is successful, the new position after calibration, etc.) need to be sent to the client associated with the smart lock.
[0092] In the embodiment of the present application, the method further includes steps B1-B2:
[0093] Step B1, detecting a user's query request for the location of the polarizer on the smart lock;
[0094] In the embodiment of the present application, the smart lock has the function of detecting user requests. When the user wants to check the current position status of the polarizer, they will issue a location query request through some interface (which may be the display screen of the smart lock, mobile phone application or other remote control device).
[0095] Step B2, responding to the location query request, and obtaining a location state diagram of the polarizer through the location query request.
[0096] In an embodiment of the present application, if the smart lock detects a user's location query request, it will immediately respond to the request. The response process includes retrieving the current location information of the polarizer from the system's information library and preparing to generate corresponding data or images to display to the user. In response to the user's request, a polarizer position state diagram is generated. This diagram can intuitively show the current position of the polarizer in front of the smart lock lens, including the shape, size, and layout of the polarizer relative to the lens. Such a state diagram helps users quickly understand the configuration of the polarizer.
[0097] In the embodiment of the present application, obtaining the position state diagram of the polarizer through a position query request includes the following steps B21-B23:
[0098] Step B21, read the current coordinates of the polarizer from the information library of the smart lock through a location query request.
[0099] In the embodiment of the present application, after receiving the location query request from the user, the smart lock system responds to the request and retrieves the current coordinate information of the polarizer from its information library. This information may include the two-dimensional coordinates of the polarizer in front of the lens (such as the position of the X-axis and the Y-axis), which describe the specific position of the polarizer relative to the lens.
[0100] Step B22, based on the current coordinates of the polarizer and the position scale on the smart lock, determine the correspondence between the polarizer and the position scale.
[0101] In an embodiment of the present application, after obtaining the current coordinates of the polarizer, this information is used to compare with the position scale set on the smart lock. The position scale is a physical reference system used to mark different positions in the lens field of view. By comparing the coordinates of the polarizer and the scale on the scale, the exact position of the polarizer on the scale is determined. In this way, the user can more easily understand the layout of the polarizer in front of the lens because the position scale provides an intuitive reference frame.
[0102] Step B23, based on the corresponding relationship, the polarizer, the position scale and the field of view of the target lens are visualized to generate a position state diagram.
[0103] In the embodiment of the present application, after the correspondence between the polarizer and the position scale is determined, visualization processing is required to create a clear and easy-to-understand position status diagram. This diagram will comprehensively display the information of the polarizer, the position scale, and the lens field of view area. In the state diagram, the polarizer can be represented by a specific graphic or color, the position scale provides a spatial reference, and the lens field of view area may be presented in the form of dotted lines or frames to indicate the area being monitored or recorded.
[0104] Step B3, sending the position state diagram of the polarizer to the client associated with the smart lock, and receiving the position adjustment instruction for the polarizer in the position state diagram input by the user through the client, and controlling the polarizer to perform the movement operation according to the position adjustment instruction.
[0105] In an embodiment of the present application, after the generation of the position state diagram is completed, the state diagram is sent to the client device associated with the user's smart lock. The user views the state diagram on the client and evaluates whether the position of the polarizer needs to be adjusted as needed. If the user deems it necessary to adjust the position of the polarizer, they can enter the corresponding adjustment instructions through the client. These instructions can be commands to specify that the polarizer moves to new coordinates, or to adjust the relative size or shape of the polarizer shielding area. After receiving the user's adjustment instructions, these instructions will be parsed, and the mechanical or electronic system on the smart lock will be controlled to move the polarizer according to the user's wishes. This process may involve motor drives, slide rail systems, or other automated mechanisms to ensure that the polarizer can be moved to the new specified position accurately and quickly. In this way, users can remotely and accurately control the configuration of the polarizer on the smart lock to meet their privacy and security needs.
[0106] In this embodiment, a privacy processing device for a smart lock lens is also provided, which is used to implement the above-mentioned embodiments and preferred embodiments, and will not be repeated here. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0107] This embodiment provides a privacy processing device for a smart lock lens, such as Figure 7 As shown, including:
[0108] An acquisition module 71 is used to acquire a first external image captured by a target lens on the smart lock;
[0109] A determination module 72, configured to determine a privacy area that the user desires to block according to the first external image;
[0110] A control module 73, used to determine the target coordinates of the polarizer on the target lens based on the privacy area, and control the polarizer on the target lens to perform a movement operation according to the target coordinates;
[0111] The judgment module 74 is used to obtain a second external image captured by the target lens after the moving operation is processed, and to judge whether the blocked area on the second external image is consistent with the privacy area that the user expects to block.
[0112] In an optional embodiment of the present application, a determination module 72 is used to display the first external image on an interactive interface associated with the smart lock; receive marking information input by the user on the first external image displayed on the interactive interface; and determine a privacy area that the user wishes to block based on the marking information.
[0113] In an optional embodiment of the present application, the control module 73 is used to obtain the attribute parameters of the target lens on the smart lock; map the privacy area to the field of view of the target lens according to the attribute parameters to obtain the relative position of the privacy area in the field of view; calculate the positioning data of the polarizer on the target lens based on the relative position, and convert the positioning data into coordinates on the position scale on the smart lock to obtain the target coordinates.
[0114] In an optional embodiment of the present application, the judgment module 74 is used to identify the occluded area on the second external image; compare the occluded area with the privacy area that the user expects to be occluded to obtain the regional occlusion similarity; if the regional occlusion similarity reaches a preset similarity, it is determined that the occluded area on the second external image is consistent with the privacy area that the user expects to be occluded; or, if the regional occlusion similarity does not reach the preset similarity, it is determined that the occluded area on the second external image is inconsistent with the privacy area that the user expects to be occluded.
[0115] In an optional embodiment of the present application, the device also includes: an updating module, which is used to store the target coordinates of the polarizer in the information library of the smart lock if the occluded area on the second external image is consistent with the privacy area that the user expects to block; if the occluded area on the second external image is inconsistent with the privacy area that the user expects to block, the target coordinates of the polarizer are updated to obtain updated target coordinates, and the polarizer is controlled to perform a moving operation based on the updated target coordinates until the occluded area on the external image is consistent with the privacy area that the user expects to block.
[0116] In an optional embodiment of the present application, the device also includes: a calibration module, which is used to detect the real-time position information of the polarizer on the target lens; compare the real-time position information with the coordinate information in the information library of the smart lock to obtain a comparison result; if the comparison result is that the real-time position information is inconsistent with the target coordinates, obtain the environmental state of the current environment of the smart lock; use the calibration method corresponding to the environmental state to calibrate the real-time position of the polarizer to obtain the calibration result, and send the calibration result to the client associated with the smart lock.
[0117] In an optional embodiment of the present application, the device also includes: an execution module, used to detect a user's request for a location query of the polarizer on the smart lock; respond to the location query request, and obtain a position status map of the polarizer through the location query request; send the position status map of the polarizer to a client associated with the smart lock, and receive a position adjustment instruction for the polarizer in the position status map input by the user through the client, and control the polarizer to perform a moving operation according to the position adjustment instruction.
[0118] In an optional embodiment of the present application, an execution module is used to read the current coordinates of the polarizer from the information library of the smart lock through a location query request; determine the correspondence between the polarizer and the position scale based on the current coordinates of the polarizer and the position scale on the smart lock; and visualize the polarizer, the position scale, and the field of view of the target lens based on the correspondence to generate a position status diagram.
[0119] See also Figure 8 , Figure 8 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Figure 8 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system).
[0120] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.
[0121] The memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiment.
[0122] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created by the use of a computer device based on the presentation of a small program landing page, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0123] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.
[0124] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.
[0125] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0126] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A privacy processing method for a smart lock lens, It is characterized in that The method comprises: Acquire a first external image captured by a target lens on the smart lock; determining a privacy area that the user desires to block according to the first external image; The target coordinates of the polarizer on the target lens are determined based on the privacy area, and the polarizer on the target lens is controlled to perform a moving operation according to the target coordinates, wherein the polarizer includes a horizontal polarizer and a vertical polarizer, and the horizontal polarizer and the vertical polarizer form a vertical intersection area in the field of view of the target lens; the moving operation of the polarizer is performed by a mechanical device arranged around the target lens, wherein the mechanical device includes a motor, a gear set, and a slide rail, the motor is connected to a main gear through a coupling, the main gear is meshed with a slave gear to form the gear set, the gear set is connected to a driving component of the slide rail through a transmission shaft, the slide rail is equipped with at least one slider, each of the sliders is fixed with a fixing frame of the polarizer, and the polarizer is installed on the fixing frame; Acquire a second external image captured by the target lens after the moving operation is performed, and determine whether the blocked area on the second external image is consistent with the privacy area that the user expects to block; The determining whether the occluded area on the second external image is consistent with the privacy area that the user expects to occlude includes: identifying the occluded area on the second external image; comparing the occluded area with the privacy area that the user expects to occlude to obtain a regional occlusion similarity; if the regional occlusion similarity reaches a preset similarity, determining that the occluded area on the second external image is consistent with the privacy area that the user expects to occlude; or, if the regional occlusion similarity does not reach the preset similarity, determining that the occluded area on the second external image is inconsistent with the privacy area that the user expects to occlude.
2. The method according to claim 1, It is characterized in that The determining, according to the first external image, a privacy area that the user desires to block includes: Displaying the first external image on an interactive interface associated with the smart lock; receiving marking information input by a user on a first external image displayed on the interactive interface; The privacy area that the user desires to block is determined according to the marking information.
3. The method according to claim 1, It is characterized in that The determining the target coordinates of the polarizer on the target lens based on the privacy area includes: Obtaining attribute parameters of the target lens on the smart lock; Mapping the privacy area to the field of view of the target lens according to the attribute parameters to obtain the relative position of the privacy area in the field of view; The positioning data of the polarizer on the target lens is calculated based on the relative position, and the positioning data is converted into coordinates on the position scale on the smart lock to obtain the target coordinates.
4. The method according to claim 1, It is characterized in that After determining whether the shielded area on the second external image is consistent with the privacy area that the user desires to shield, the method further includes: If the blocked area on the second external image is consistent with the privacy area that the user desires to block, storing the target coordinates of the polarizer in the information library of the smart lock; If the occluded area on the second external image is inconsistent with the privacy area that the user wants to block, the target coordinates of the polarizer are updated to obtain updated target coordinates, and the polarizer is controlled to perform a moving operation based on the updated target coordinates until the occluded area on the external image is consistent with the privacy area that the user wants to block.
5. The method according to claim 1, It is characterized in that The method further comprises: Detecting real-time position information of the polarizer on the target lens; Compare the real-time location information with the target coordinates in the information library of the smart lock to obtain a comparison result; If the comparison result is that the real-time location information is inconsistent with the target coordinates, obtaining the environmental state of the current environment of the smart lock; The real-time position of the polarizer is calibrated using a calibration method corresponding to the environmental state to obtain a calibration result, and the calibration result is sent to a client associated with the smart lock.
6. The method according to claim 1, It is characterized in that The method further comprises: Detecting a user's request for querying the location of the polarizer on the smart lock; Responding to the position query request, and obtaining a position state diagram of the polarizer through the position query request; The position state diagram of the polarizer is sent to a client associated with the smart lock, and a position adjustment instruction for the polarizer in the position state diagram input by a user through the client is received, and the polarizer is controlled to perform a moving operation according to the position adjustment instruction.
7. The method according to claim 6, It is characterized in that The obtaining the position state diagram of the polarizer through the position query request includes: Reading the target coordinates of the polarizer from the information base of the smart lock through the location query request; Determine the correspondence between the polarizer and the position scale based on the target coordinates of the polarizer and the position scale on the smart lock; Based on the corresponding relationship, the polarizing plate, the position scale and the field of view of the target lens are visualized to generate a position state diagram.
8. A privacy processing device for a smart lock lens, It is characterized in that The device comprises: An acquisition module, used to acquire a first external image captured by a target lens on the smart lock; A determination module, configured to determine a privacy area that a user desires to block according to the first external image; A control module, used for determining the target coordinates of the polarizer on the target lens based on the privacy area, and controlling the polarizer on the target lens to perform a moving operation according to the target coordinates, wherein the polarizer includes a horizontal polarizer and a vertical polarizer, and the horizontal polarizer and the vertical polarizer form a vertical intersection area in the field of view of the target lens; the moving operation of the polarizer is performed by a mechanical device arranged around the target lens, wherein the mechanical device includes a motor, a gear set, and a slide rail, the motor is connected to a main gear through a coupling, the main gear is meshed with a slave gear to form the gear set, the gear set is connected to a driving component of the slide rail through a transmission shaft, the slide rail is equipped with at least one slider, each of the sliders is fixed with a fixing frame of the polarizer, and the polarizer is installed on the fixing frame; A judgment module is used to obtain a second external image captured by the target lens after the movement operation is processed, and to judge whether the occluded area on the second external image is consistent with the privacy area that the user expects to be occluded; the judgment whether the occluded area on the second external image is consistent with the privacy area that the user expects to be occluded includes: identifying the occluded area on the second external image; comparing the occluded area with the privacy area that the user expects to be occluded to obtain a regional occlusion similarity; if the regional occlusion similarity reaches a preset similarity, it is determined that the occluded area on the second external image is consistent with the privacy area that the user expects to be occluded; or, if the regional occlusion similarity does not reach the preset similarity, it is determined that the occluded area on the second external image is inconsistent with the privacy area that the user expects to be occluded.
9. A computer device, It is characterized in that include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Privacy protection method, device and equipment
CN113627339A
Camera stroboflash prevention device, camera and control method of camera stroboflash prevention device
CN118055332A
