Privacy processing method and device, equipment and medium
By using infrared data acquisition equipment and tag identification technology on smart door locks to generate and save the target privacy area, the problem of difficult to achieve custom privacy occlusion in smart door locks is solved, the privacy processing efficiency and flexibility are improved, and the needs of efficient use are met.
Patent Information
- Application Number
- CN202510069328.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-05-09
AI Technical Summary
Existing smart door locks are difficult to achieve custom occlusion in privacy areas, resulting in low efficiency, poor flexibility and convenience in privacy processing, and it is difficult to meet the needs of efficient use.
By installing an infrared data acquisition device on the smart door lock, the privacy marking function is enabled in response to the user, infrared data is obtained for label identification, and the target privacy area is generated and saved, so that the infrared data collected by the infrared data acquisition device can be processed in the subsequent privacy.
It realizes custom occlusion in the privacy area, improves privacy processing efficiency, enhances the flexibility and convenience of sensitive location occlusion, and meets the efficient use of smart door locks.
Smart Images

Figure CN119967217A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of security monitoring technology, and in particular to a privacy processing method, device, equipment and medium. Background Art
[0002] Currently, video surveillance smart door locks are widely recognized by the market for their security monitoring properties, making their market share increasingly higher. In order to obtain a larger monitoring area and avoid or reduce blind spots, the monitoring camera angles of smart door locks are getting larger and larger, and even wide-angle fisheye lenses are used to improve the monitoring field of view.
[0003] In real life, there are a large number of apartment types where doors face the neighbor's door, such as door-to-door, two entrance doors perpendicular to each other, etc. Due to the special installation of smart door locks, that is, the camera installed on the door will face the door, for the above apartment types, the conventional installation of smart door lock video surveillance will inadvertently infringe on the personal privacy of neighbors. With the further improvement of population quality and awareness of privacy protection, the above privacy issues are becoming increasingly prominent.
[0004] Based on the above problems, the prior art proposes relevant privacy protection methods for the monitoring area of the camera. For example, through a physical switch, such as using a shielding sheet to shield the privacy / sensitive area of the camera to achieve physical isolation; or desensitizing the sensitive area, such as mosaic, privacy coding and other desensitizing processing methods. However, the above-mentioned physical shielding method is suitable for the full shielding of sensitive areas or partial shielding of designated areas, and cannot achieve flexible shielding of any position; in addition, the selection of the area corresponding to the specific shielding in the above-mentioned desensitization processing method is not so flexible, it is only a box-type selection or a line-type selection, and it is difficult to achieve a flexible custom shielding area. In summary, the prior art lacks a flexible and convenient privacy processing method that can shield any sensitive position to improve the efficiency of privacy processing. Summary of the invention
[0005] In view of this, the present invention provides a privacy processing method, device, equipment and medium to solve the problem that it is difficult for existing smart door locks to achieve customized shielding of privacy areas, which makes the privacy processing efficiency low, the flexibility and convenience poor, and it is difficult to meet the efficient use requirements of smart door locks.
[0006] In a first aspect, the present invention provides a privacy processing method, which is applied to a smart door lock, wherein the smart door lock is equipped with an infrared data acquisition device, and the method comprises:
[0007] In response to the user's operation of turning on the privacy marking function in the smart door lock, controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device;
[0008] Perform label recognition on the current infrared data to obtain label recognition results;
[0009] Generate a target privacy area based on the tag recognition result;
[0010] The target privacy area is saved so that when the smart door lock is used later, the infrared data collected by the infrared data acquisition device can be privacy processed according to the target privacy area.
[0011] After the present invention responds to the user turning on the privacy marking function of the smart door lock, the current infrared data of the infrared data acquisition device on the smart door lock is obtained and a label is identified, thereby generating and saving a target privacy area. When the smart door lock is used subsequently, privacy processing can be performed according to the recorded target privacy area, and customized shielding of the privacy area can be achieved, which helps to improve the efficiency of privacy processing, thereby enhancing the flexibility and convenience of shielding sensitive locations, and greatly meeting the needs of efficient use of smart door locks.
[0012] In an optional implementation, the tag recognition result includes at least one tag and its location information, wherein each tag is affixed in advance according to the user's privacy requirements and is used to identify the privacy area that the user wants to cover; generating the target privacy area according to the tag recognition result includes:
[0013] Read each tag and its location information in the tag identification result in sequence;
[0014] The starting tag is determined among all tags. Based on the position information of the starting tag and the position information of other remaining tags, the other remaining tags are sequentially connected starting from the starting tag to obtain a closed area and determine it as the target privacy area.
[0015] The present invention forms a target privacy area by identifying each tag in the tag recognition result and connecting other remaining tags one by one according to the determined starting tag. It can realize flexible shielding of any sensitive position, which not only improves the processing efficiency of the privacy area, but also meets the user's demand for the use of smart door locks.
[0016] In an optional implementation, after sequentially reading each tag and its position information in the tag identification result, the method further includes:
[0017] Count the current number of all tags;
[0018] Determine whether the current number is greater than a preset number threshold;
[0019] If the current number is greater than the preset number threshold, the step of determining the starting tag among all tags is executed;
[0020] If the current number is not greater than the preset number threshold, the process returns to the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device.
[0021] The present invention determines the validity of the current tag recognition result by counting the relationship between the current number of all tags and the corresponding set number threshold, and determines that the tag recognition result is abnormal when the current number is not greater than the preset number threshold, that is, the privacy marking fails and it is necessary to return to the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device. This can remind the user to further confirm whether there is a problem with the label pasting, greatly ensuring the authenticity and reliability of the tag recognition result, and improving the accuracy and efficiency of privacy processing to a certain extent.
[0022] In an optional implementation, privacy processing is performed on infrared data collected by the infrared data collection device according to the target privacy area, including:
[0023] Determine the area to be processed corresponding to the target privacy area in the infrared data;
[0024] Desensitize the area to be treated.
[0025] The present invention utilizes the recorded target privacy area to desensitize the infrared data subsequently collected by the infrared data acquisition device on the smart door lock, so as to realize effective privacy processing of the customized privacy area, which not only enhances the flexibility and convenience of shielding sensitive positions, but also improves the efficiency of privacy processing, thus meeting the demand for efficient use of smart door locks.
[0026] In an optional implementation, before performing tag recognition on the current infrared data, the method further includes:
[0027] Determine whether the current infrared data meets the preset quality requirements;
[0028] If the current infrared data meets the preset quality requirements, a label recognition step is performed on the current infrared data;
[0029] If the current infrared data does not meet the preset quality requirements, the process returns to the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device.
[0030] The present invention determines high-quality data by determining the quality of the current infrared data, that is, designing a judgment process between the current infrared data and preset quality requirements, thereby ensuring the quality of the infrared data and improving the accuracy of subsequent privacy processing.
[0031] In an optional implementation, the process of determining the privacy area that the user desires to block includes:
[0032] Produce multiple labels based on preset label requirements, where the preset label requirements include at least shape, material, and adhesiveness;
[0033] Determine the target object that the user wants to block based on the user's privacy requirements;
[0034] Each label is pasted on the target object, and the privacy area that the user wants to cover is determined based on the pasting position of each label.
[0035] The present invention pastes multiple specific labels on the target object that the user wants to cover according to the user's privacy needs, and then determines the privacy area that the user wants to cover according to the pasting position of each label, which can meet the user's customized covering needs and greatly enhance the flexibility and convenience of covering sensitive locations.
[0036] In an optional implementation, after determining the privacy area that the user desires to block, the method further includes:
[0037] Get the relative distance between the target object and the smart door lock;
[0038] When the relative distance is greater than a preset distance threshold, the labels corresponding to the privacy areas that the user wants to cover are synchronously pasted onto the preset material, and the preset material is moved until the distance between the preset material and the smart door lock is no greater than the preset distance threshold. Then, in response to the user's operation of turning on the privacy marking function in the smart door lock, the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device is executed.
[0039] The present invention takes into account the distance between the target object that the user wishes to block and the smart door lock, that is, when the target object is at a relatively far position, it will seriously affect the recognition accuracy of the label in the current infrared data, thereby causing the problem of being unable to accurately identify the label position. Based on such problems, using preset materials to assist in identifying the label position can greatly improve the accurate recognition of the label, thereby improving the efficiency of privacy processing.
[0040] In a second aspect, the present invention provides a privacy processing device, which is applied to a smart door lock, and the smart door lock is equipped with an infrared data acquisition device, and the device includes:
[0041] A data acquisition module, used to control the smart door lock to obtain the current infrared data of the infrared data acquisition device in response to the user's operation of turning on the privacy marking function in the smart door lock;
[0042] The tag recognition module is used to perform tag recognition on the current infrared data and obtain the tag recognition result;
[0043] A privacy generation module, used to generate a target privacy area according to the label recognition result;
[0044] The privacy processing module is used to save the target privacy area so that when the smart door lock is used later, the infrared data collected by the infrared data acquisition device can be privacy processed according to the target privacy area.
[0045] The privacy processing device of the present invention can perform privacy processing according to the recorded target privacy area when the smart door lock is used subsequently, which not only realizes the customized masking of the privacy area, but also helps to improve the efficiency of privacy processing, thereby enhancing the flexibility and convenience of masking sensitive positions, and meeting the needs of efficient use of smart door locks.
[0046] In a third aspect, 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 computer instructions to execute a privacy processing method of the first aspect or any corresponding embodiment thereof.
[0047] In a fourth aspect, 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 a privacy processing method according to the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] 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.
[0049] Figure 1 is a flowchart of a privacy processing method according to an embodiment of the present invention;
[0050] Figure 2 is a flowchart of another privacy processing method according to an embodiment of the present invention;
[0051] Figure 3 It is a flowchart of privacy area identification;
[0052] Figure 4 It is a schematic diagram of label pasting;
[0053] Figure 5 It is a schematic diagram of the privacy area;
[0054] Figure 6 is a structural block diagram of a privacy processing device according to an embodiment of the present invention;
[0055] Figure 7 It is a schematic diagram of the structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0056] 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.
[0057] An embodiment of the present invention provides an embodiment of a privacy processing method. 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.
[0058] In this embodiment, a privacy processing method is provided, which is applied to a smart door lock. The smart door lock is equipped with an infrared data acquisition device. Figure 1 is a flowchart of a privacy processing method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0059] Step S101, in response to the user's operation of turning on the privacy marking function in the smart door lock, the smart door lock is controlled to obtain the current infrared data of the infrared data acquisition device.
[0060] It should be noted that the privacy marking function in this embodiment essentially refers to marking the sensitive area that the user wishes to block, generating a privacy area, and desensitizing the corresponding privacy area; the specific way to enable this function is not limited here, and it can be adaptively adjusted according to actual needs, such as configuring a function button corresponding to the privacy marking function on the smart door lock, and the user can turn on the privacy marking function by pressing the function button; or the privacy marking function can be turned on and off through the APP (Application) bound to the smart door lock, which is only an exemplary explanation. In addition, the specific type of infrared data acquisition equipment in this embodiment is not limited here, and it is determined according to the adaptability of conventional equipment types in the field. For example, the infrared data acquisition equipment is an infrared camera, and the current infrared data collected includes infrared images or infrared videos.
[0061] Step S102, performing tag recognition on the current infrared data to obtain a tag recognition result.
[0062] In this embodiment, a label is pre-made and affixed to the area that the user wishes to block, so that the smart door lock can subsequently acquire infrared data from the label and identify the label to generate the corresponding target privacy area. It should be noted that each label in this embodiment is made of a material with a strong infrared light reflectivity, and an infrared data acquisition device installed on the smart door lock, such as an infrared camera, can perform infrared fill light. When encountering a label made of a strong infrared emitting material, a strong reflection point will be formed in the image, and the corresponding label can be identified through each reflection point.
[0063] Step S103: generating a target privacy area according to the tag recognition result.
[0064] It should be noted that the target privacy area in this embodiment is a closed area that needs to be shielded and is customized by the user.
[0065] Step S104, saving the target privacy area, so that when the smart door lock is used later, the infrared data collected by the infrared data collection device is privacy processed according to the target privacy area.
[0066] In this embodiment, the location information of the target privacy area is saved for privacy processing of the surveillance images subsequently obtained by the smart door lock, that is, the corresponding area is identified in the subsequent surveillance images according to the location information of the target privacy area and privacy processing is performed, such as mosaicing the area to achieve desensitization processing of sensitive information.
[0067] The privacy processing method of the embodiment of the present invention, in response to the user turning on the privacy marking function of the smart door lock, obtains the current infrared data of the infrared data acquisition device on the smart door lock and identifies the label thereof, thereby generating and saving the target privacy area. When the smart door lock is used subsequently, privacy processing can be performed according to the recorded target privacy area, and customized shielding of the privacy area can be achieved, which helps to improve the efficiency of privacy processing, thereby enhancing the flexibility and convenience of shielding sensitive locations, and greatly meeting the needs of efficient use of smart door locks.
[0068] In this embodiment, a privacy processing method is provided, which is applied to a smart door lock. The smart door lock is equipped with an infrared data acquisition device. Figure 2 is a flow chart of another privacy processing method according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0069] Step S201, in response to the user's operation of turning on the privacy marking function in the smart door lock, controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device.
[0070] It should be noted that the quality of infrared data acquired by the infrared data acquisition device is crucial to the subsequent generation and processing of privacy areas. Therefore, before performing label recognition on the current infrared data, the privacy processing method of this embodiment also includes:
[0071] Step A1, determining whether the current infrared data meets the preset quality requirements.
[0072] In this embodiment, the specific content of the preset quality requirements is not limited here, and is adaptively adjusted according to actual needs. For example, the preset quality requirements include image clarity, and the corresponding specific requirements are determined according to the image clarity, that is, when the current infrared data is an infrared image, it must meet the high resolution requirement (i.e., higher image clarity); or, the infrared image must meet the low noise level (i.e., a clearer image), which is only an example and is not limited to this.
[0073] Step A2: If the current infrared data meets the preset quality requirement, a tag recognition step is performed on the current infrared data.
[0074] Step A3: if the current infrared data does not meet the preset quality requirements, then return to the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device.
[0075] In the embodiment of the present invention, by determining the quality of the current infrared data, that is, designing a judgment process between the current infrared data and the preset quality requirements to determine high-quality data, the quality of the infrared data can be guaranteed, thereby improving the accuracy of subsequent privacy processing.
[0076] Step S202, performing tag recognition on the current infrared data to obtain a tag recognition result.
[0077] In this embodiment, the tag recognition result includes at least one tag and its location information, wherein each tag is affixed in advance according to the user's privacy requirements and is used to identify the privacy area that the user wishes to block.
[0078] It should be noted that, in this embodiment, the process of determining the privacy area that the user desires to block includes:
[0079] Step B1, making a plurality of labels based on preset label requirements, wherein the preset label requirements at least include shape, material and adhesiveness.
[0080] In this embodiment, the preset label requirements are: each label can be made of a material with strong infrared light reflectivity into a regular shape (the regular shape is convenient for distinguishing other objects in the natural state of the environment, and its specific shape is not limited here, such as an equilateral triangle); the label has a self-adhesive or magnetic property, can be pasted at will and has a small pasting area.
[0081] Step B2: determining the target object that the user wishes to block according to the user's privacy requirements.
[0082] In this embodiment, the specific content of the target object that the user wants to block is not limited here. For example, if the target object that the user wants to block is a neighbor's door or window, it is only used as an exemplary description.
[0083] Step B3, affixing each label to the target object, and determining the privacy area that the user wishes to block based on the affixed position of each label.
[0084] In this embodiment, each label is pasted at an area that needs to be shielded, such as around a door frame or a window. It should be noted that a label must be pasted before a new user privacy area is determined each time, because the installation position of the user privacy area is relatively fixed. After each privacy area is determined, if the position does not move in the middle, there is no need to paste the label again.
[0085] The embodiment of the present invention pastes multiple specific labels onto the target object that the user wants to cover according to the user's privacy needs, and then determines the privacy area that the user wants to cover according to the pasting position of each label, which can meet the user's customized covering needs and greatly enhance the flexibility and convenience of covering sensitive locations.
[0086] It should be noted that when the target object is at a relatively far distance, that is, when the privacy area that the user wants to block is relatively far from the smart door lock, the infrared fill light intensity corresponding to the infrared camera on the smart door lock will be greatly attenuated at a relatively long distance, so that no obvious reflection point can be formed on the infrared image, and the location of the label cannot be identified. Therefore, after determining the privacy area that the user wants to block, the privacy processing method of this embodiment also includes:
[0087] Step C1, obtaining the relative distance between the target object and the smart door lock.
[0088] In this embodiment, the specific method of obtaining the relative distance is not limited here, and can be adaptively determined according to conventional methods in the art. For example, the relative distance between the target object and the smart door lock is calculated by combining the infrared image collected by the infrared camera with the imaging principle, which is only an exemplary description.
[0089] Step C2, when the relative distance is greater than a preset distance threshold, the labels corresponding to the privacy areas that the user wants to block are synchronously pasted onto the preset material, and the preset material is moved until the distance from the preset material to the smart door lock is no greater than the preset distance threshold, and then the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device in response to the user's operation of turning on the privacy marking function in the smart door lock is executed.
[0090] It should be noted that the specific value of the preset distance threshold in this embodiment is adaptively adjusted based on actual needs; the specific content of the preset material is not limited here, such as the preset material is a transparent plastic sheet.
[0091] In a specific embodiment, if the privacy area is far away (i.e., the area that the user wants to block is far away from the smart door lock), for example, the monitoring screen obtained by the smart door lock is a very empty scene, and the user wants to block the privacy of people / objects that enter the specific area of the scene and are far away, it is difficult to paste the privacy label. Therefore, a small transparent material such as a film or plastic sheet can be erected in front of the camera, and each label can be pasted on the transparent material to circle the user's desired blocking area, wherein, it is noted that each individual label needs to cover the privacy area.
[0092] The embodiments of the present invention take into account the distance between the target object that the user wishes to block and the smart door lock, that is, when the target object is at a relatively far position, it will seriously affect the recognition accuracy of the label in the current infrared data, thereby causing the problem of being unable to accurately identify the label position. Based on such problems, using preset materials to assist in identifying the label position can greatly improve the accurate recognition of the label, thereby improving the efficiency of privacy processing.
[0093] Step S203: generating a target privacy area according to the tag recognition result.
[0094] Specifically, the above step 203 includes:
[0095] Step S2031, read each tag and its position information in the tag identification result in sequence.
[0096] In this embodiment, since the target privacy area is a closed occlusion area, when there are insufficient tags in the tag recognition result, that is, when there is only a single tag, the target privacy area cannot be generated. Therefore, this embodiment also needs to verify whether the number of tags meets the requirement, that is, after reading each tag and its position information in the tag recognition result in turn, the privacy processing method of this embodiment also includes:
[0097] Step D1, counting the current number of all tags.
[0098] In this embodiment, the specific statistical method of the current number is determined according to the conventional data statistical method in the art and is not limited in detail here.
[0099] Step D2, determining whether the current number is greater than a preset number threshold.
[0100] In this embodiment, the specific value of the preset number threshold is not limited here and is adaptively adjusted according to actual needs. For example, the preset number threshold is 3, which is only used as an exemplary description.
[0101] Step D3: If the current number is greater than the preset number threshold, the step of determining the starting tag among all tags is executed.
[0102] Step D4, if the current number is not greater than the preset number threshold, then return to the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device.
[0103] In the embodiment of the present invention, the validity of the current tag recognition result is determined by counting the relationship between the current number of all tags and the corresponding set number threshold, and when the current number is not greater than the preset number threshold, the tag recognition result is determined to be abnormal, that is, the privacy marking fails and it is necessary to return to the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device. This can remind the user to further confirm whether there is a problem with the label pasting, greatly ensuring the authenticity and reliability of the tag recognition result, and improving the accuracy and efficiency of privacy processing to a certain extent.
[0104] Step S2032, determining a start tag among all tags, and connecting the remaining tags in sequence with the start tag as the starting point according to the position information of the start tag and the position information of the remaining tags, to obtain a closed area and determine it as the target privacy area.
[0105] In the embodiment of the present invention, by identifying each tag in the tag recognition result and connecting the other remaining tags one by one according to the determined starting tag to form a target privacy area, flexible shielding of any sensitive position can be achieved, which not only improves the processing efficiency of the privacy area, but also meets the user's demand for the use of smart door locks.
[0106] Step S204, saving the target privacy area, so that when the smart door lock is used later, the infrared data collected by the infrared data collection device is privacy processed according to the target privacy area.
[0107] Specifically, in the above step S204, privacy processing is performed on the infrared data collected by the infrared data collection device according to the target privacy area, including:
[0108] Step E1, determining the area to be processed corresponding to the target privacy area in the infrared data.
[0109] Step E2, performing desensitization treatment on the area to be treated.
[0110] It should be noted that desensitization refers to processing data through technical means so that it no longer contains personal identity or other sensitive information while maintaining the visibility and availability of the data; the specific content of the desensitization in this embodiment is not limited here and is adaptively adjusted according to actual needs. For example, desensitization includes blurring (i.e. blurring the data so that sensitive information cannot be clearly identified), mosaicing (i.e. mosaicing the sensitive area of the data so that it cannot be identified), replacement (i.e. replacing sensitive information in the data with insensitive content), etc., to effectively protect sensitive areas in infrared data, thereby reducing the risk of leakage of sensitive information in the area.
[0111] The embodiment of the present invention utilizes the recorded target privacy area to desensitize the infrared data subsequently collected by the infrared data acquisition device on the smart door lock, so as to realize effective privacy processing of the customized privacy area, which not only enhances the flexibility and convenience of shielding sensitive positions, but also improves the efficiency of privacy processing, thus meeting the demand for efficient use of smart door locks.
[0112] In a specific embodiment, the above privacy processing method is integrated into a smart door lock to construct a door lock privacy processing system. Specifically, the system includes a tag recognition module, an infrared fill light module, and a signal processing module.
[0113] The specific functions of each module are as follows:
[0114] 1. Identification tag module: used to stick the tag (also called identification tag) on the edge of the privacy area that needs to be blocked, so that it can be identified by the infrared system equipped with the smart door lock. In this embodiment, the identification tag is made into an equilateral triangle with a single side of 1 cm. Specifically, after the infrared fill light module of the smart door lock is turned on, the infrared light hitting the identification tag will form a strong reflection, which will then appear as a bright spot in the camera and be identified. It should be noted that the tag is only used in the identification stage and can be removed or discarded after the identification stage.
[0115] 2. Infrared fill light module: used to actively emit infrared light to find the location of the identification tag. Specifically, the infrared fill light module generally uses the infrared function of the camera of the smart door lock itself, that is, the infrared camera is used to actively emit infrared light in a dark or low-light environment, and when the object emits infrared light, a black and white image will be formed in the camera system. In this embodiment, when confirming the privacy area, the infrared fill light module emits infrared light, and the highly reflective identification tag will be very eye-catching, making it easy for the camera to capture it.
[0116] 3. Image processing module (this module can be deployed locally on the device or in the cloud): used to capture infrared images or videos, identify tag locations, draw privacy areas, and record privacy areas; among them, identifying tags and drawing privacy areas are key. Specifically, after identifying the location of the identification module in the infrared image, this embodiment connects each location point one by one into a closed shielding area and records the boundary coordinates of the area, so that in subsequent monitoring images, the area can be mosaiced or completely blacked out at any time to complete the privacy shielding of the area.
[0117] In a specific embodiment, the workflow of the door lock privacy processing system can be found in Figure 3 Schematic diagram of the privacy area identification process. Specifically, the privacy processing process includes:
[0118] Step 1: Attach identification label.
[0119] In this embodiment, the identification labels are first pasted, wherein the pasting position of each identification label can be outside the privacy position with a moderate distance. Figure 4 , each identification tag (i.e. Figure 4 The equilateral triangle in the figure is pasted on door frames in sensitive areas and objects that need privacy shielding.
[0120] Step 2: Enable the privacy tagging feature.
[0121] In this embodiment, the operation of turning on the privacy marking function is generally turned on from the device side (i.e., the smart door lock) or the APP side, and the user needs to turn it on manually.
[0122] Step 3: Enter infrared mode.
[0123] In this embodiment, after the privacy marking function is started, the infrared mode is entered, that is, the black-and-white infrared mode is entered, at which time the infrared fill light is turned on, and the collected infrared image is presented in black-and-white mode. Specifically, the infrared fill light will perform infrared fill light on the object in front of the door, and form a strong reflection point on the image when encountering an identification tag of a strong infrared emitting material.
[0124] Step 4: Capture infrared images.
[0125] In this embodiment, when the smart door lock enters the infrared mode, the system's image processing module will automatically capture multiple infrared images or videos, and automatically select more stable infrared pictures or videos (that is, select clearer pictures or videos from multiple infrared data for subsequent privacy area judgment).
[0126] Step 5: Determine whether there are enough marks.
[0127] It should be noted that the mark is the identification label in this embodiment. Specifically, the image processing module analyzes the infrared image or video to identify whether there are enough identification labels, such as the total number of identification labels is greater than 3; if the number of identification labels is insufficient, the identification fails and the privacy labeling fails, requiring the user to confirm again whether there is a problem with the affixment of the identification label.
[0128] Step 6: Generate and record the privacy area.
[0129] In this embodiment, this step connects the identified identification tags one by one with straight lines to form a closed area, namely the privacy area. Specifically, the identification tag at the bottom left corner is selected as the starting point, and other identification tags are connected one by one in a clockwise manner to form a closed privacy area, and the coordinates are recorded, so that in subsequent video or image monitoring, the privacy of the area is automatically shielded according to the recorded coordinates. Figure 5 is a privacy area diagram, consisting of Figure 5 It can be seen that the door on the left is completely blocked by a regular quadrilateral to obtain a quadrilateral privacy area; the object on the right is partially blocked by an irregular shape to obtain a corresponding irregular privacy area.
[0130] In summary, the privacy processing method of the embodiment of the present invention can block any sensitive position according to the recorded target privacy area, which not only realizes the customized blocking of the privacy area, but also helps to improve the efficiency of privacy processing, thereby enhancing the flexibility and convenience of blocking sensitive positions and meeting the needs of efficient use of smart door locks.
[0131] In this embodiment, a privacy processing device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and will not be repeated here. As the term "module" is used below, it can implement a combination of software and / or hardware with a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0132] The present invention provides a privacy processing device, which is applied to a smart door lock. The smart door lock is equipped with an infrared data acquisition device, such as Figure 6 As shown, the device comprises:
[0133] The data acquisition module 601 is used to control the smart door lock to obtain the current infrared data of the infrared data acquisition device in response to the user's operation of turning on the privacy marking function in the smart door lock.
[0134] The tag recognition module 602 is used to perform tag recognition on the current infrared data to obtain a tag recognition result.
[0135] The privacy generating module 603 is used to generate a target privacy area according to the tag recognition result.
[0136] The privacy processing module 604 is used to save the target privacy area so that when the smart door lock is used later, the infrared data collected by the infrared data collection device can be privacy processed according to the target privacy area.
[0137] In some optional embodiments, the data acquisition module 601 includes: a first processing sub-module, a second processing sub-module and a third processing sub-module; wherein the first processing sub-module is used to determine whether the current infrared data meets the preset quality requirements; the second processing sub-module is used to execute the label recognition step for the current infrared data if the current infrared data meets the preset quality requirements; the third processing sub-module is used to return to the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device if the current infrared data does not meet the preset quality requirements.
[0138] In some optional embodiments, the tag identification module 602 includes: a first determination submodule, a second determination submodule, a third determination submodule, a fourth determination submodule and a fifth determination submodule; wherein the first determination submodule is used to prepare multiple tags based on preset tag requirements, and the preset tag requirements include at least shape, material and adhesiveness; the second determination submodule is used to determine the target object that the user wants to block according to the user's privacy requirements; the third determination submodule is used to stick each tag on the target object, and determine the privacy area that the user wants to block based on the sticking position of each tag; the fourth determination submodule is used to obtain the relative distance between the target object and the smart door lock; the fifth determination submodule is used to synchronously stick each tag corresponding to the privacy area that the user wants to block to the preset material when the relative distance is greater than the preset distance threshold, move the preset material until the distance from the preset material to the smart door lock is not greater than the preset distance threshold, and execute the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device in response to the user's opening operation of the privacy marking function in the smart door lock.
[0139] In some optional embodiments, the privacy generation module 603 includes: a first generation submodule and a second generation submodule; wherein the first generation submodule is used to read each tag and its position information in the tag identification result in sequence; the second generation submodule is used to determine the starting tag among all the tags, and according to the position information of the starting tag and the position information of other remaining tags, connect the other remaining tags in sequence with the starting tag as the starting point to obtain a closed area and determine it as the target privacy area.
[0140] In some optional embodiments, the first generation submodule includes: a first generation unit, a second generation unit, a third generation unit and a fourth generation unit; wherein the first generation unit is used to count the current number of all tags; the second generation unit is used to determine whether the current number is greater than a preset number threshold; the third generation unit is used to execute the step of determining the starting tag among all tags if the current number is greater than the preset number threshold; the fourth generation unit is used to return to the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device if the current number is not greater than the preset number threshold.
[0141] In some optional embodiments, the privacy processing module 604 includes: a first desensitizing submodule and a second desensitizing submodule; wherein the first desensitizing submodule is used to determine the area to be processed corresponding to the target privacy area in the infrared data; and the second desensitizing submodule is used to perform desensitization processing on the area to be processed.
[0142] The further functional description of each of the above modules is the same as that of the above corresponding embodiments and will not be repeated here.
[0143] The privacy processing device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0144] The privacy processing device of the embodiment of the present invention can not only realize customized shielding of privacy areas, thereby enhancing the flexibility and convenience of shielding sensitive locations, but also greatly improve the efficiency of privacy processing, meeting the requirements for efficient use of smart door locks.
[0145] The present invention also provides a computer device, see Figure 7 , Figure 7 is a schematic diagram of the structure of the above-mentioned computer device provided in an optional embodiment of the present invention, such as Figure 7As 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). Figure 7 A processor 10 is taken as an example.
[0146] 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.
[0147] 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.
[0148] 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 according to the use of the computer device, 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.
[0149] 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.
[0150] The computer device also includes a communication interface 30, which is used for the main control chip to communicate with other devices or a communication network.
[0151] A computer-readable storage medium is also provided in an embodiment of the present invention. 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 and downloaded through a network, 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 main control chip 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.
[0152] 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, applied to a smart door lock, wherein the smart door lock is equipped with an infrared data acquisition device, characterized in that: The method comprises: In response to a user's operation of turning on a privacy marking function in a smart door lock, controlling the smart door lock to obtain current infrared data from an infrared data acquisition device; Performing tag recognition on the current infrared data to obtain a tag recognition result; Generate a target privacy area according to the tag recognition result; The target privacy area is saved so that when the smart door lock is used subsequently, privacy processing is performed on the infrared data collected by the infrared data collection device according to the target privacy area.
2. The privacy processing method according to claim 1, characterized in that: The tag recognition result includes at least one tag and its position information, wherein each tag is affixed in advance according to the user's privacy requirements and is used to identify the privacy area that the user wants to cover; generating the target privacy area according to the tag recognition result includes: Read each tag and its position information in the tag identification result in sequence; A starting tag is determined among all tags, and based on the position information of the starting tag and the position information of other remaining tags, the other remaining tags are sequentially connected with the starting tag as the starting point to obtain a closed area and determine it as the target privacy area.
3. The privacy processing method according to claim 2, characterized in that: After sequentially reading each tag and its position information in the tag identification result, the method further includes: Count the current number of all tags; Determine whether the current number is greater than a preset number threshold; If the current number is greater than the preset number threshold, executing the step of determining the starting tag among all tags; If the current number is not greater than the preset number threshold, the process returns to the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device.
4. The privacy processing method according to claim 1, characterized in that: The performing privacy processing on the infrared data collected by the infrared data collection device according to the target privacy area includes: Determining an area to be processed corresponding to the target privacy area in the infrared data; The area to be treated is subjected to desensitization treatment.
5. The privacy processing method according to claim 1, characterized in that: Before performing tag recognition on the current infrared data, the method further includes: Determining whether the current infrared data meets preset quality requirements; If the current infrared data meets the preset quality requirement, then executing the step of performing label recognition on the current infrared data; If the current infrared data does not meet the preset quality requirement, the process returns to the step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device.
6. The privacy processing method according to claim 2, characterized in that: The process of determining the privacy area that the user desires to block includes: Making a plurality of labels based on preset label requirements, wherein the preset label requirements include at least shape, material, and adhesiveness; Determining a target object that the user desires to block according to the user's privacy requirements; Each label is pasted on the target object, and the privacy area that the user wants to cover is determined based on the pasting position of each label.
7. The privacy processing method according to claim 6, characterized in that: After determining the privacy area that the user desires to block, the method further includes: Get the relative distance between the target object and the smart door lock; When the relative distance is greater than a preset distance threshold, the labels corresponding to the privacy areas that the user wants to block are synchronously pasted onto the preset material, and the preset material is moved until the distance between the preset material and the smart door lock is no greater than the preset distance threshold. The step of controlling the smart door lock to obtain the current infrared data of the infrared data acquisition device in response to the user's operation of turning on the privacy marking function in the smart door lock is executed.
8. A privacy processing device, applied to a smart door lock, wherein the smart door lock is equipped with an infrared data acquisition device, characterized in that: The device comprises: A data acquisition module, configured to control the smart door lock to acquire current infrared data of the infrared data acquisition device in response to a user's operation of opening the privacy marking function in the smart door lock; A tag recognition module is used to perform tag recognition on the current infrared data to obtain a tag recognition result; A privacy generation module, used to generate a target privacy area according to the tag recognition result; The privacy processing module is used to save the target privacy area so that when the smart door lock is used later, the infrared data collected by the infrared data collection device is privacy processed according to the target privacy area.
9. A computer device, characterized in that: The device includes: a memory and a processor, the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the privacy processing method described in any one of claims 1 to 7 by executing the computer instructions.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the privacy processing method according to any one of claims 1 to 7.
Citation Information
Cited By
Privacy protection identification method and system
CN121982782A
A privacy preserving identification method and system
CN121982782B