Mode switching method and apparatus for electronic device
By acquiring the fingerprint of network devices to automatically switch the operating mode of electronic devices, the problems of cumbersome manual operation and privacy leakage for users are solved, achieving safe and efficient mode switching and privacy protection.
Patent Information
- Application Number
- CN202511423159.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-29
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2045-09-29
AI Technical Summary
Existing electronic devices require manual operation from the user when switching operating modes, which is cumbersome, results in a poor user experience, and relies on establishing communication connections with target objects, posing a risk of privacy information leakage.
By acquiring the fingerprints of network devices within the network detection range, the identity of the target object is determined based on the fingerprints, and the operating mode is automatically switched. This includes acquiring the fingerprints of network devices in a non-connected state, combining them with biometric behavioral information to determine the identity, creating a management list, and waking up the wireless communication module to reduce power consumption.
It enables automatic switching of electronic device operating modes, improves user experience, avoids privacy information leakage, and enhances security, especially in security monitoring scenarios to protect the privacy of specific targets.
Smart Images

Figure CN120916150B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] One or more embodiments of the present specification relate to the technical field of security, and in particular, to a mode switching method and apparatus of an electronic device. BACKGROUND
[0002] Electronic devices used in daily scenarios are usually configured with multiple different running modes. For example, taking an electronic device such as a smart door lock as an example, its typical running modes include a regular running mode, a privacy protection running mode, and a tracking and monitoring running mode, etc. Taking an electronic device such as a mobile phone as an example, it covers typical running modes such as an airplane mode.
[0003] Currently, the process of implementing running mode switching of an electronic device often needs to rely on user manual setting operation. Specifically, in the application scenario of a smart door lock, the user needs to manually configure the trigger condition for the execution of the privacy protection running mode. In the application scenario of a mobile phone, the user needs to manually operate to adjust it to the airplane mode, and so on, which all belong to the switching mode relying on user manual setting. However, the above-mentioned running mode switching scheme relying on user manual setting has the technical problem of complicated operation process, which further leads to poor user experience in actual use.
[0004] And the general technology of identifying the identity of an object needs to establish a communication connection between the electronic device and the target object to obtain the relevant information of the target object, so as to determine the identity of the target object according to the relevant information. However, the way of establishing a communication connection with the target object has the risk of leaking the private information of the electronic device. SUMMARY
[0005] Therefore, one or more embodiments of the present specification provide technical solutions as follows:
[0006] According to a first aspect of one or more embodiments of the present specification, a mode switching method of an electronic device is provided, comprising:
[0007] obtaining a network device fingerprint within a network detection range;
[0008] determining a target object identity based on the network device fingerprint;
[0009] switching a running mode based on the target object identity.
[0010] Optionally, the obtaining a network device fingerprint within a network detection range comprises:
[0011] obtaining the network device fingerprint in a non-connected state within the network detection range;
[0012] wherein the non-connected state is that there is no any valid communication link between the electronic device and the network device.
[0013] Optionally, the determining the target object identity based on the network device fingerprint comprises:
[0014] identifying the device identity based on the network device fingerprint and determining the target object identity; or, determining the target object identity based on the network device fingerprint and in combination with the biological behavior information.
[0015] Optionally, after the determining the target object identity based on the network device fingerprint, the method further comprises:
[0016] in a case that there is a management list having a mapping relationship with the target object identity, adding the network device to the corresponding management list;
[0017] in a case that there is no management list having a mapping relationship with the target object identity, creating a management list having a mapping relationship with the target object identity and adding the network device to the corresponding management list.
[0018] Optionally, the electronic device further comprises a wireless communication module; before the acquiring the network device fingerprint within the network detection range, the method further comprises:
[0019] acquiring first historical detection information of a target object appearing within the network detection range obtained by the wireless communication module in a first historical time period;
[0020] predicting a future appearing time of the target object within the network detection range based on the first historical detection information;
[0021] in response to a current time being a time before the first preset time length of the future appearing time, waking up the wireless communication module.
[0022] Optionally, the method further comprises:
[0023] acquiring second historical detection information of a target object appearing within the network detection range obtained by the electronic device in a second historical time period;
[0024] determining a prediction result of a future behavior of the target object based on the second historical detection information;
[0025] in response to a current time being a time before the second preset time length of a future behavior occurrence time determined based on the prediction result, switching the running mode.
[0026] Optionally, after the switching the running mode based on the target object identity, the method further comprises:
[0027] in response to satisfying a closing condition of the running mode switching, restoring the running mode of the electronic device to a state before the switching; or stopping the current running mode.
[0028] Optionally, before acquiring the network device fingerprints within the network detection range, the method further comprises:
[0029] acquiring linkage information about the target object sent by a linkage device linked with the electronic device;
[0030] determining whether the identity of the target object can be confirmed based on the linkage information.
[0031] Optionally, the determining whether the identity of the target object can be confirmed based on the linkage information comprises:
[0032] in response to the initial identity information of the target object being included in the linkage information, determining that the identity of the target object can be confirmed based on the linkage information, and the identity of the target object being confirmed based on the initial identity information;
[0033] in response to the initial identity information not being included in the linkage information, determining that the identity of the target object cannot be confirmed based on the linkage information.
[0034] The method further comprises:
[0035] in a case where the identity of the target object cannot be confirmed based on the linkage information, acquiring network device fingerprints within the network detection range, and determining the identity of the target object based on the network device fingerprints.
[0036] According to a second aspect of one or more embodiments of the present specification, a mode switching apparatus of an electronic device is provided, comprising:
[0037] a fingerprint acquisition unit configured to acquire network device fingerprints within a network detection range;
[0038] an identity determination unit configured to determine the identity of a target object based on the network device fingerprints and / or device identity information sent by a linkage device;
[0039] a mode switching unit configured to switch a running mode based on the identity of the target object.
[0040] As can be seen from the above embodiments, by using the above scheme provided by the present specification, the electronic device can acquire network device fingerprints within the network detection range, and determine the identity of a target object appearing within the network detection range based on the network device fingerprints, and can switch the running mode of the electronic device based on the identity of the target object. On the one hand, it can avoid collecting biological information of a specific target object, or blurring the collected biological information, so as to avoid collecting private information of a specific target object, and thus avoid the risk of privacy leakage. On the other hand, it can also start a tracking and monitoring running mode for a dangerous target object, so as to improve the security. BRIEF DESCRIPTION OF DRAWINGS
[0041] Figure 1 is a flowchart of a mode switching method of an electronic device provided by an example embodiment.
[0042] Figure 2 is a flowchart of a list management maintenance method provided by an example embodiment.
[0043] Figure 3 is a flowchart of a wake-up method of a wireless communication module provided by an example embodiment.
[0044] Figure 4 is a flowchart of another mode switching method of an electronic device provided by an example embodiment.
[0045] Figure 5 is a schematic diagram of a mode switching scenario of an electronic device provided by an example embodiment.
[0046] Figure 6 is a structural schematic diagram of a device provided by an example embodiment.
[0047] Figure 7 is a block diagram of a mode switching apparatus of an electronic device provided by an example embodiment. DETAILED DESCRIPTION
[0048] Electronic devices such as smart door locks, mobile phones, etc. usually have different running modes, for example, a smart door lock has a regular running mode, a privacy protection running mode, a tracking and monitoring running mode, etc., and a mobile phone has a flight mode, etc.
[0049] At present, when an electronic device switches running modes, it often relies on manual settings by a user, for example, the user manually sets the conditions for the smart door lock to execute the privacy protection running mode, and the user manually adjusts the mobile phone to the flight mode, etc. However, such a manual setting method is tedious to operate and has poor user experience.
[0050] The present specification provides a mode switching scheme for an electronic device. An electronic device such as a smart door lock, a mobile phone, etc. can determine the identity of a target object based on a detected network device fingerprint, and can switch the running mode of the electronic device based on the identity of the target object, thereby realizing automatic switching of different running modes without manual operation by the user, greatly improving the user experience.
[0051] The implementation process of the present specification will be introduced below by taking an electronic device as a smart door lock, a smart doorbell, etc. as an example.
[0052] These security and monitoring devices generally integrate face recognition, wide-angle camera, remote monitoring, human body sensing, etc. Although these technologies have improved security efficiency, they may cover the access paths or indoor spaces of neighbors, visitors, etc., leading to the risk of privacy leakage.
[0053] Taking a smart door lock as an example, the smart door lock is usually provided with a camera for external shooting, which can collect images around the door to realize safety monitoring. In this process, the camera may collect the face image of the neighbor, and may also collect the indoor image of the neighbor's house when the neighbor opens the door, resulting in a risk of privacy leakage.
[0054] In the present specification, the mode switching method of the electronic device can be applied to an electronic device with a biological information collection module. The electronic device can be a smart door lock, or other monitoring devices such as a camera system, a smart doorbell, etc.
[0055] The biological information collection module can include an image collection module, a biological behavior information collection module, a biological physiological information collection module, etc. The image collection module can be a camera module such as a camera; the biological behavior information collection module can be a speed sensor capable of collecting biological motion speed, a tracking module capable of tracking biological motion, etc.; the biological physiological information collection module can be a palm print collection module, a human subcutaneous vein information collection module, a voiceprint information collection module, a gait information collection module, etc. The present specification does not make special limitations on this.
[0056] Please refer to Figure 1 , the mode switching method of the electronic device can include the following steps:
[0057] Step 102, acquiring network device fingerprints in the network detection range.
[0058] In the present specification, the detection range can be understood as the range that the electronic device can actually detect, for example, the range covered by the Bluetooth module in the electronic device, the range covered by the Wi-Fi module in the electronic device, etc.
[0059] The network device fingerprint can be the information of the network device detected by the electronic device in its detection range. This information can identify the identity of the network device. This information can be actively sent by the network device and intercepted by the electronic device; or it can be actively detected by the electronic device.
[0060] In the present specification, the electronic device can acquire the network device fingerprint in a non-connected state in the network detection range. The non-connected state means that the electronic device and the network device in the detection range do not establish any effective communication link. For example, the electronic device and the network device do not establish a Bluetooth communication link, do not establish a Wi-Fi communication link, etc.
[0061] For example, the electronic device can capture the data packet transmitted by the network device in the detection range through the BLE (Bluetooth Low Energy) sniffing function of the Bluetooth device to obtain the network device fingerprint. For example, the device identifier (Hashed MAC) in the broadcast packet, the signal strength (RSSI, Received Signal Strength Indicator), the service UUID (Universally Unique Identifier), and the transmission power are captured. The random MAC tracking technology is used to establish the radio frequency fingerprint of the broadcast packet length, the carrier frequency offset (CFO, Carrier Frequency Offset), and the same device.
[0062] For example, the electronic device can analyze the Wi-Fi signal in the vicinity through the deep analysis function of the Wi-Fi module to obtain the network device fingerprint. For example, the SSID (Service Set Identifier), the Vendor OUI (Organizationally Unique Identifier), and the supported rate are extracted from the Probe Request frame.
[0063] In the present specification, the electronic device can obtain the network device fingerprint in the detection range in a non-connected manner, and can also obtain the network device fingerprint in the detection range in multiple non-connected manners, which is not particularly limited in the present specification.
[0064] In the present specification, the network device fingerprint is obtained in a non-connected manner to determine the identity of the target object, and the electronic device and the network device do not need to establish an effective connection during the entire process. On the one hand, the application range is wider, and the network device fingerprint of a stranger can also be obtained to determine the identity. On the other hand, the risk of information leakage of the electronic device caused by establishing a connection with the network device can also be effectively avoided.
[0065] Step 104, determining the identity of the target object based on the network device fingerprint.
[0066] In the present specification, the target object can be a living being or a network device.
[0067] For example, the target object can be a person, for example, a person appearing in the detection range of the intelligent door lock. The network device is usually carried by the target object, for example, a mobile phone, a wearable device, a tablet computer, or the like carried by the target object.
[0068] Exemplarily, the target object is a network device, for example, a mobile phone, a bracelet, a watch or the like terminal device carried by a person appearing in the detection range of the smart door lock.
[0069] Based on the foregoing step 102, after obtaining the network device fingerprint, the device identity can be identified based on the network device fingerprint, and the target object identity can be determined. The target object identity can also be determined based on the network device fingerprint and the biological behavior information. The biological behavior information can include moving speed, moving direction, step length, step frequency, moving range, and stay duration in different space regions, and can also be obtained in the detection range. Of course, in other examples, the target object identity can also be determined based on the biological behavior information only, and the present specification does not make special limitations thereto.
[0070] In an embodiment, when the device identity is identified based on the network device fingerprint, at least one feature index value of at least one dimension of device features can be extracted from the network device fingerprint, and the device identity of the corresponding network device can be determined according to the at least one feature index value.
[0071] In an embodiment, the dimensions of the device features can be divided into physical dimensions, protocol dimensions and behavior dimensions, wherein the feature indexes of the physical features of the physical dimensions include but are not limited to carrier frequency offset, modulation error and signal strength fluctuation standard deviation; the feature indexes of the protocol features of the protocol dimensions include but are not limited to BLE service and Wi-Fi probe; and the feature indexes of the behavior features of the behavior dimensions include but are not limited to time period activity, stay duration and moving trajectory.
[0072] Wherein, the extraction methods of the carrier frequency offset, the modulation error and the signal strength fluctuation standard deviation are not limited in any way, the BLE service exemplarily can extract the UUID, and the Wi-Fi probe exemplarily can extract the Wi-Fi channel width or OUI.
[0073] And the time period activity, the stay duration and the moving trajectory can be indexes obtained by comprehensive calculation according to the detection results, and are used for analyzing the behavior information of the target object.
[0074] Exemplarily, the time period activity can calculate the active interval of the target object in 24 hours by -∑(p*log2(p)), so as to capture the regularity of the appearance time of the target object. Wherein, P can be the probability of appearing in a specific time interval. Wherein, the smaller the time period activity is, the more fixed the time period of the appearance of the target object is.
[0075] Exemplarily, the stay duration coefficient of variation can be represented by the ratio of the standard deviation and the average value of the stay duration of the same network device in a week. This index can be used to analyze the regularity of the stay duration of the target object.
[0076] Exemplarily, the moving track smoothness can be measured by a ratio of a straight line distance to an actual path length of the target object. The ratio is close to 1, indicating that the moving path of the target object is closer to a straight line. The ratio is close to 0, indicating that the moving path of the target object is more circuitous.
[0077] In an embodiment, when determining the device identity of the corresponding network device according to the feature index value, the at least one feature index value can be fused to obtain a first fused index value of the corresponding dimension, and the device identity of the corresponding network device is determined according to the first fused index value of the corresponding dimension.
[0078] Exemplarily, if the device features are divided into one dimension, and there is only one feature index value in the dimension, the device identity of the corresponding network device can be determined based on the feature index value.
[0079] Exemplarily, if the device features are divided into one dimension, and there are multiple feature index values in the dimension, the multiple feature index values can be fused to obtain a first fused index value, and the device identity of the corresponding network device is determined according to the first fused index value.
[0080] Exemplarily, if the device features are divided into multiple dimensions, and there is at least one feature index value in each dimension, at least part of the feature index values of at least part of the dimensions can be selected for fusion processing to obtain a first fused index value of the corresponding dimension, and the device identity of the corresponding network device is determined according to the first fused index value of the corresponding dimension.
[0081] For example, for A dimension, a1, a2 and a3 are included in the dimension; for B dimension, b1 and b2 are included in the dimension; and for C dimension, c1, c2 and c3 are included in the dimension. The first fused index value of A dimension can be determined according to a1 and a2; the first fused index value of B dimension can be determined according to b1 and b2; the first fused index value of C dimension can be determined according to c1, c2 and c3, and the device identity of the corresponding network device is determined according to the first fused index values of the respective dimensions.
[0082] In an embodiment, when determining the device identity of the corresponding network device according to the first fused index value of the corresponding dimension, the current environment scene category can be determined, the first weight of each first fused index value corresponding to the current environment scene category is obtained, or the first weight of each first fused index value is adaptively determined. Each first fused index value is fused according to the first weight to obtain a second fused index value, and the device identity of the corresponding network device is determined according to the second fused index value.
[0083] For example, the environment scenario can be divided into a night mode, a strong interference environment mode and a long-term monitoring mode. For the night mode, the physical layer weight is greater than the behavior layer weight which is greater than the protocol layer weight; for the strong interference environment mode, the physical layer weight is greater than the protocol layer weight which is greater than the behavior layer weight; for the long-term monitoring mode, the physical layer weight is less than the protocol layer weight which is less than the behavior layer weight. Among them, the environment scenario category can be set by the user on the terminal, and the electronic device can use the weight corresponding to the environment scenario category to perform fusion processing on the first fusion indicator value of each dimension according to the environment scenario category set by the user to obtain the second fusion indicator value.
[0084] In an embodiment, when weighting, confidence can also be weighted, as shown in the following formula:
[0085]
[0086] wherein Ω is the second fusion indicator value, is the weight of the kth layer dimension in the fusion processing, is the confidence of the first fusion indicator value of the kth layer dimension, is the first fusion indicator value of the kth layer dimension.
[0087] In an embodiment, when determining the device identity of the corresponding network device according to the feature indicator value, an identification result can be generated according to the feature indicator value, and the device identity of the corresponding network device is determined according to the identification result.
[0088] The identification result can be represented by any feature indicator value. For example, the size of the feature indicator value of the device feature of any dimension can be used as the identification result.
[0089] The identification result can also be represented by the first fusion indicator value or the second fusion indicator value. For example, the first fusion indicator value obtained by fusion processing of multiple feature indicator values of any dimension can be used as the identification result. For example, the second fusion indicator value obtained by fusion processing of the first fusion indicator values of different dimensions can be used as the identification result.
[0090] For example, in the exemplary monitoring scene of the family door, the identification result can be normalized in [0, 1], assuming that [0, 0.3] corresponds to the identity of the household, (0.3, 0.6] corresponds to the identity of the neighbor, and (0.6, 1] corresponds to the identity of others. Then the identity of the target object corresponding to the interval where the identification result is located can be determined. For example, if the identification result is 0.45, the identity of the target object can be determined as a neighbor. The interval size of the value is closely related to the application scenario, and a person skilled in the art can reset the identity type corresponding to the numerical interval where different identification results are located according to actual needs.
[0091] Specifically, at least one feature indicator value of the physical dimension, the protocol dimension and the behavior dimension is extracted from the network device fingerprint. Any feature indicator value can be used as an identification result for identity recognition. For example, the feature indicator value 1 of the physical dimension is 0.45, and it can be determined that the identity of the target object is a neighbor.
[0092] The fusion processing of multiple feature indicator values of any dimension can obtain a first fusion indicator value. Any fusion indicator value can be used as an identification result for identity recognition. For example, the first fusion indicator value corresponding to the physical dimension is 0.45, and it can be determined that the identity of the target object is a neighbor. Or, the first fusion indicator value corresponding to the protocol dimension is 0.45, and it can be determined that the identity of the target object is a neighbor. In the fusion processing, the multiple feature indicator values can be weighted, and higher weights are given to feature indicator values with higher importance, and lower weights are given to feature indicator values with lower importance.
[0093] The fusion processing of multiple first fusion indicator values can obtain a second fusion indicator value. The second fusion indicator value can be used as an identification result for identity recognition. For example, the second fusion indicator value is 0.45, and it can be determined that the identity of the target object is a neighbor. In the fusion processing, the multiple first fusion indicator values can be weighted, and higher weights are given to first fusion indicator values with higher importance, and lower weights are given to first fusion indicator values with lower importance.
[0094] In an embodiment, for the identification results determined at adjacent time instants in a continuous time period, if the difference between the identification result at the current time instant and the identification result at the previous time instant is greater than a preset threshold, the identification result at the current time instant is adjusted according to the identification result at the previous time instant according to a time decay strategy. The identity of the target object at the current time instant is determined according to the adjusted identification result.
[0095] The identification result at the current time instant can be adjusted according to the identification result at the previous time instant by the following formula:
[0096]
[0097] wherein, is the identification result at the time instant t, is the identification result at the time instant t-1, is the difference between t and t-1.
[0098] For example, if the network device fingerprint is obtained based on multiple detection devices, and the identification results of different devices conflict, the time decay arbitration can be introduced to prevent errors caused by conflicts.
[0099] Table 1
[0100]
[0101] In Table 1, at t=0, the decision result based on BLE, at this moment, the decision state is to be confirmed, and the target object identity is not directly determined according to the current device fingerprint; at t=2, continuous monitoring can be performed, and the decision result based on UWB is determined, and with the passage of time, the weight of the BLE decision result at the previous moment in the UWB decision is reduced, and through continuous adjustment, conflicts between each other can be prevented. At t=5, the response is terminated, and the monitoring is stopped.
[0102] In an embodiment, after obtaining the network device fingerprint in the network detection environment, the current connection state between the network device and the electronic device can also be determined based on the network device fingerprint. When the device identity of the corresponding network device is determined based on the network device fingerprint, in response to the current connection state being connected, the device identity of the network device is determined as a first type device; and in response to the current connection state being unconnected, the device identity of the network device is determined as a second type device.
[0103] In an exemplary home doorway monitoring scene, the first type device is the device of the resident, and the second type device is the device of other people.
[0104] In this embodiment, it is assumed that only the resident can establish a connection with the electronic device, and based on the current connection state between the network device and the electronic device, the device that establishes a connection with the electronic device can be accurately identified as the device of the resident.
[0105] In an embodiment, in response to the current connection state being unconnected, the historical activity of the network device can also be determined based on the network device fingerprint, and in a case where the historical activity is greater than a preset threshold, the network device is determined as a third type device, wherein the third type device is the device of the neighbor.
[0106] In combination with the above two embodiments, the device of the resident and the device of other people are distinguished by the connection state, and the neighbor device can be further identified from the device of other people by the historical activity. In this way, without establishing a connection with any network device, the device of the resident and the device of the neighbor can also be identified.
[0107] The historical activity level can be measured by the period activity level, the coefficient of variation of the stay duration, and other characteristic indexes in the foregoing embodiments. If the period activity level is used for measurement, the historical activity level is the reciprocal of the period activity level. For example, if the period activity level is less than 1.5, it can be determined that the device of the neighbor. If the coefficient of variation of the stay duration is used for measurement, the historical activity level can be the reciprocal of the coefficient of variation of the stay duration. For example, if the coefficient of variation of the stay duration is less than 0.1, it can be determined that the device of the neighbor.
[0108] Of course, the present solution is not limited to the identity of other objects determined based on the network device fingerprint. For example, the identity of a service personnel can also be determined based on the UUID in the network device fingerprint.
[0109] Step 106: switching the running mode based on the target object identity.
[0110] Based on the foregoing step 104, after the target object identity is determined, in response to the target object identity satisfying a first preset condition, it is determined that the target object is a specific target object that needs privacy protection, and the running mode is switched. For example, the running mode can be switched to a privacy protection running mode for the specific target object.
[0111] The privacy protection running mode includes one or more of the following:
[0112] The biological information collection module is closed, the angle of the biological information collection module is adjusted to misalign with the specific target object, the resolution of the biological information collection module is reduced, and the image collected by the biological information collection module is blurred.
[0113] For example, the camera is closed, the angle of the camera is adjusted to misalign with the specific target object, the resolution of the image collected by the camera is reduced, and the image collected by the camera is blurred to blur the privacy information.
[0114] For another example, the audio collection module is closed, the palmprint collection module is closed, and the like.
[0115] In an exemplary door monitoring scene, after the smart door lock detects that a person appears in the detection range, it can be determined whether the detected person is a neighbor. If the detected person is a neighbor, it can be determined that the appearing person is a specific target object, and then the external camera can be closed to not collect the image of the neighbor, thereby avoiding the collection of the privacy information such as the face of the neighbor and the indoor image of the neighbor.
[0116] In an example home indoor monitoring scenario, after the smart door lock detects a person in the detection range, it can identify whether the detected person is a family member. If the detected person is a family member, it can be determined that the detected person is a specific target object, and then the indoor camera can be turned off to avoid collecting indoor images and thus avoid collecting private information such as the face image of the family member.
[0117] In other examples, after determining the identity of the target object, in response to the identity of the target object satisfying a second preset condition, the target object is determined to be a dangerous target object that needs to be monitored, and the running mode is switched. For example, the running mode can be switched to a tracking monitoring running mode for the dangerous target object. The tracking monitoring running mode can include turning on all biological information collection modules, adjusting the angle of the biological information collection module to track the dangerous target object, and the like.
[0118] For example, adjusting the angle of the camera to track the dangerous target object in real time, increasing the resolution of the images collected by the camera, and the like.
[0119] For another example, turning on the audio collection module, turning on the palmprint collection module, and the like.
[0120] In an example doorway monitoring scenario, after the smart door lock detects a person in the detection range, if it is identified that the detected person is a dangerous person, such as a suspicious person, the tracking monitoring running mode can be turned on to control the camera to track the dangerous person to collect relevant images.
[0121] In an example doorway monitoring scenario, after the smart door lock detects a person in the detection range, if it is identified that the detected person is a dangerous person, such as a suspicious person, the alert mode can also be turned on to alert the target object that it has entered the monitoring range. For example, the loudspeaker can be controlled to play a prompt message "You have entered the monitoring range". In addition, the smart door lock can also push a prompt to the family members that someone has entered the monitoring range, for example, the homeowner's phone can be pushed a prompt message "a suspicious person has appeared" and the like.
[0122] It is worth noting that the above running modes are not all mutually exclusive running modes. In some scenarios, multiple running modes can be executed simultaneously. For example, when the smart door lock detects a dangerous person, it can switch to the tracking monitoring running mode while turning on the alert mode.
[0123] It can be seen from the above description that, by adopting the above scheme provided in the specification, the electronic device can acquire the network device fingerprint within the network detection range, determine the identity of the target object appearing within the network detection range based on the network device fingerprint, and switch the running mode of the electronic device based on the target object identity, thereby realizing automatic switching of the running mode without manual setting by the user, greatly improving the user experience. At the same time, by adopting the above scheme, the biological information of a specific target object can be avoided to be collected, or the collected biological information can be blurred, so as to avoid the collection of private information of a specific target object, thereby avoiding the risk of privacy leakage. Moreover, the tracking and monitoring running mode can be started for a dangerous target object, so as to improve the security.
[0124] Taking the privacy protection mode of security monitoring as an example, the implementation process of the specification will be described in detail from the following five aspects: maintenance of a management list, wake-up of a wireless communication module, start of a privacy protection running mode, stop of the privacy protection running mode, and cooperation with a linkage device.
[0125] I. Maintenance of a management list
[0126] In the application scenarios such as door monitoring in the specification, some fixed target objects usually appear, in order to improve the confirmation efficiency of the target object identity, some management lists having a mapping relationship with the target object identity can be maintained. After the network device fingerprint is acquired, the identity of the corresponding network device can be searched in the maintained management list. If the identity of the corresponding network device can be found in the management list, the identity of the target object can be determined based on the management list, so that the determination of the target object identity is not needed again, the identity confirmation efficiency can be improved, and the processing resources and power consumption of the device can be saved.
[0127] The management list having a mapping relationship with the target object identity can include a resident list, a neighbor list, etc. The resident list can be used to store the network device fingerprint of the member of the subject such as a family or an enterprise to which the electronic device belongs. Taking the door monitoring application scenario of a smart door lock as an example, the resident list can store the device fingerprint of the network device held by each family member of the resident, such as a family member's mobile phone identifier. The neighbor list can be used to store the network device fingerprint of the neighbor around the subject such as a family or an enterprise to which the electronic device belongs. Still taking the door monitoring application scenario of a smart door lock as an example, the neighbor list can store the device fingerprint of the network device held by each neighbor, such as a neighbor's mobile phone identifier.
[0128] Of course, the above-mentioned resident list and neighbor list are only exemplary descriptions, and in other examples, a service personnel list, a service personnel list, etc. can also be set based on needs, and the specification does not specially limit this.
[0129] In the present specification, the management list can be created and maintained by the user. For example, the user can manually add the network device fingerprint of the network device held by the family member to the resident list, and can also delete the non-resident family member from the resident list, etc.
[0130] In the present specification, the management list can also be created and maintained by the electronic device. Please refer to Figure 2 The maintenance of the management list can include the following steps:
[0131] Step 202, after determining the identity of the target object, if there is a management list having a mapping relationship with the identity of the target object, the network device is added to the corresponding management list.
[0132] In the present specification, after the electronic device determines the identity of the target object based on the network device fingerprint, it can be judged whether the management list corresponding to the identity of the target object has been created. If the management list corresponding to the identity of the target object has been created, it can be further judged whether the network device has been stored in the management list. If not, the network device can be added to the corresponding management list, for example, the network device fingerprint can be added to the management list. Of course, in other examples, other information of the network device can also be added to the management list, which is not specially limited in the present specification.
[0133] For example, assuming that the electronic device determines the identity of the target object to be a neighbor based on the network device fingerprint, it can be judged whether a neighbor list has been created. If the neighbor list has been created, it can be judged whether the corresponding network device has been stored in the list. If not, the network device fingerprint can be added to the neighbor list.
[0134] In the present specification, the identity of the target object requiring the creation of the management list can be specified in advance. On the one hand, the creation of the management list can be performed for specific target objects requiring privacy protection, such as residents, neighbors, service personnel, etc. On the other hand, the creation of the management list can be performed for dangerous target objects, such as suspicious persons, etc. When the identity of the target object belongs to the above-mentioned pre-specified identity requiring the creation of the management list, it is judged whether the management list has been created. If the identity of the target object does not belong to the above-mentioned pre-specified identity requiring the creation of the management list, it is not necessary to judge whether the management list has been created, i.e. it is not necessary to execute the management list maintenance logic provided in the present embodiment.
[0135] Of course, the above-mentioned specified identity requiring the creation of the management list is only an example for illustration, and does not limit the technical solutions of the present specification.
[0136] In step 204, if there is no management list having a mapping relationship with the target object identity, a management list having a mapping relationship with the target object identity is created, and the corresponding network device is added to the corresponding management list.
[0137] In the present specification, after determining the target object identity based on the network device fingerprint, the electronic device can determine whether a management list corresponding to the target object identity has been created. If the management list corresponding to the target object identity has not been created, the corresponding management list can be created, and the corresponding network device can be added to the created management list.
[0138] In an optional embodiment of the present specification, for the case of automatically maintaining the management list by the electronic device, before adding the network device to the corresponding management list, the number of times that the network device appears in the network detection range can be obtained. When the number of times is greater than or equal to the number threshold, the network device is added to the corresponding management list, so as to improve the accuracy of the management list maintenance.
[0139] Taking the target object 1 as an example, assuming that it is determined that the identity of the target object 1 is a neighbor, the number of times that the target object 1 appears can be updated. Specifically, the number of times that the target object 1 appears can be incremented by 1 (the initial value of the counter is 0). Then, it is determined whether the count value of the number of times that the target object 1 appears is greater than or equal to the number threshold. If the count value is greater than or equal to the number threshold, the corresponding network device can be added to the corresponding management list. If the count value is less than the number threshold, the network device is not added to the corresponding management list temporarily.
[0140] In an optional embodiment of the present specification, for the network device recorded in the created management list, the electronic device can also delete the network device from the management list when the network device does not appear in the network detection range for a long time.
[0141] Still taking the target object 1 as an example, assuming that the network device corresponding to the target object 1 is recorded in the neighbor list, if the target object 1 does not appear in the network detection range for 3 months, the network device corresponding to the target object 1 can be deleted from the neighbor list.
[0142] In the specific implementation, the last appearance time of each network device hitting the management list can be recorded. For each management list, the time length from the last appearance time of each network device recorded in the management list to the present time can be determined periodically. If the time length exceeds a preset value, it can be determined that the corresponding target object does not appear for a long time, and the corresponding network device in the management list can be deleted, so as to update the management list in time.
[0143] II. Wake-up of the wireless communication module
[0144] In the present specification, in order to ensure the real-time performance of electronic device detection, wireless communication modules such as Bluetooth and Wi-Fi are kept in an open state, while in a scene with sparse personnel activities, the wireless communication module is in an "idle" state most of the time, resulting in high energy consumption. For example, taking the application scene of monitoring the entrance of a home as an example, the number of target objects appearing near the entrance in a day is very limited, and the wireless communication module continues to detect, resulting in a large amount of unnecessary energy consumption.
[0145] To solve this problem, the present specification also provides a wireless communication module wake-up scheme to accurately grasp the wake-up opportunity on the basis of reducing the energy consumption of the wireless communication module.
[0146] Figure 3 FIG. 1 is a flowchart of a wireless communication module wake-up method provided by an exemplary embodiment.
[0147] Please refer to Figure 3 The wireless communication module wake-up method can include the following steps:
[0148] Step 302: Obtain first type of historical detection information obtained by detecting target objects appearing in the network detection range of the wireless communication module in a first historical time period.
[0149] In the present embodiment, the first historical time period can be pre-set, for example, a time period of 1 month back from the current day, a time period of 6 months back from the current day, etc. The first type of historical detection information can include network device fingerprints detected by the electronic device in the first historical time period, and can also include behavior information of the target object, which can include moving speed, moving direction, step length, step frequency, moving range, and stay duration in different spatial regions, etc.
[0150] In actual implementation, the electronic device can store the detected detection information and the corresponding time stamp in association for subsequent use.
[0151] Step 304: Predict the future appearing time of the target object in the network detection range based on the first type of historical detection information.
[0152] Based on the foregoing step 302, after obtaining the first type of historical detection information, the future appearing time of the target object can be predicted based on the first type of historical detection information.
[0153] For example, the first type of historical detection information and its corresponding time stamp can be input into a time prediction model, and the time prediction model can be used to analyze the time sequence regularity of different detection information appearing on the time line, so as to predict the appearing time of the next target object as the future appearing time.
[0154] For example, the first type of historical detection information includes detection information 1 detected at time A, detection information 2 detected at time B, and detection information 3 detected at time C. The time prediction model predicts the time of the next new detection information, i.e., the future appearance time of the target object, by analyzing the correlation of different detection information in time sequence.
[0155] Of course, the above-mentioned time prediction model is only an example. In other examples, the prediction of the future appearance time can be performed in other manners, which are not particularly limited in the present specification.
[0156] In step 306, the wireless communication module is woken up in response to the current time being a time before the future appearance time by a first preset time length.
[0157] In the present specification, the electronic device can wake up the wireless communication module in a sleep state when reaching a time before the future appearance time by a first preset time length, to perform detection of the network device fingerprint. The first preset time length is also pre-set, for example, 5 minutes, 10 minutes, etc.
[0158] For example, assuming that the future appearance time is 18:00 and the first preset time length is 5 minutes, the wireless network communication module in a sleep state can be woken up at 17:55.
[0159] Of course, the first preset time length can also be 0, i.e., the electronic device wakes up the wireless communication module when reaching the future prediction time.
[0160] As can be seen from the above description, the present embodiment can predict the future appearance time of the target object in the network detection range based on the first type of historical detection information, and wake up the wireless communication module when the current time is a time before the future appearance time by a first preset time length. In this way, the electronic device only wakes up the wireless communication module when necessary, and the wireless communication module can be in a sleep state at other times, which significantly reduces energy consumption. In addition, the wake-up time is generated according to historical data prediction, which can effectively improve the prediction accuracy of the future appearance time of the target object and significantly reduce invalid wake-up.
[0161] In an optional embodiment of the present specification, the woken-up wireless communication module can detect the network device fingerprint appearing in the network detection range to confirm the identity of the target object. Subsequently, the electronic device can put the wireless communication module into a sleep state after a certain time to save energy. For example, the electronic device can put the wireless communication module into a sleep state when the time length of the network detection range without any target object appearing reaches a certain time length, etc., which are not particularly limited in the present specification.
[0162] In an optional embodiment of the present specification, the electronic device can also determine the wakeup timing of the wireless communication module based on the linkage information sent by the linkage device, so as to realize the early wakeup of the wireless communication module.
[0163] The linkage device is usually other smart devices in the environment where the electronic device is located, and the linkage device can establish a communication link with the electronic device to communicate. For example, the electronic device is a smart door lock, and the linkage device includes smart elevators, smart access control, smart lights, and other smart devices in the surrounding environment of the smart door lock. The linkage device can also be a management device in the community / park where the smart door lock is located, and the management device can manage smart elevators, smart access control, smart lights, and other smart devices in the corresponding community / park.
[0164] The linkage information can be the time point when the target object is expected to appear in the network detection range, behavior data of the linkage device, etc.
[0165] For example, assuming that the linkage device is a smart elevator and the target object is a person, the smart elevator can predict the time point of reaching the floor pressed by the person as the time point when the target object is expected to appear in the network detection range. Assuming that the linkage device is a smart access control and the target object is a person, the smart access control can predict the time point when the person is expected to appear in the network detection range according to the time point when the person opens the door, etc.
[0166] The behavior data of the linkage device can include scheduling data, switch data, etc. of the linkage device. For example, the behavior data of the linkage device can include scheduling data of the smart elevator, which is usually related to the target object, such as the target object scheduling the smart elevator to reach the floor where the target object is located and go to the specified floor, etc. For example, the behavior data of the linkage device can include switch data of the smart access control, which is usually also related to the target object, such as the target object opening the smart access control, etc.
[0167] It is worth noting that the linkage device will send the linkage information of the target object to the electronic device that will be able to detect the target object. For example, the smart elevator can send the linkage information related to the target object to the electronic device of the floor where the target object is to arrive, instead of sending the linkage information to all electronic devices of the floors.
[0168] After receiving the linkage information sent by the linkage device, the electronic device can determine the wakeup timing of the wireless communication module based on the linkage information.
[0169] For example, when the linkage information includes a time point at which the target object is expected to appear in the network detection range, the electronic device can determine the time point as the wakeup time of the wireless communication module, or determine a time point that is a first preset time length before the time point as the wakeup time, etc. For example, the smart elevator sends the smart door lock a schedule data that the target object is expected to arrive at a relevant floor at 14:30, and the smart door lock can wake up the wireless communication module to perform detection at 14:30 or 14:25.
[0170] For example, when the linkage information includes behavior data of the linkage device, the electronic device can predict a time point at which the target object appears in the network detection range according to the behavior data, and then determine the wakeup time. For example, the smart elevator sends the smart door lock schedule data that a floor button of the smart door lock is pressed, and the smart door lock further predicts a time point at which the smart elevator arrives at the floor, and then determines the wakeup time, etc. Similarly, the wakeup time can be the predicted time point, or a time point that is a first preset time length before the time point, etc., which is not specially limited in the specification.
[0171] III. Starting of the privacy protection operation mode
[0172] In an embodiment, when it is determined based on the identity of the target object that the target object is a specific target object that needs to be protected by the privacy protection operation mode, the privacy protection operation mode can be executed for the specific target object immediately. For example, the camera is turned off, the resolution of the camera is reduced, etc.
[0173] In another embodiment, when it is determined based on the identity of the target object that the target object is a specific target object, it can be further determined whether an execution condition of the privacy protection operation mode is met, and if the execution condition is met, the privacy protection operation mode can be executed for the specific target object, i.e., the operation mode is switched. If the execution condition is not met, the privacy protection operation mode for the specific target object can not be executed temporarily.
[0174] For example, the execution condition can be that an actual distance between the specific target object and the electronic device is less than or equal to a first distance threshold, and the first distance threshold is preset. For example, after the electronic device determines that the target object is a specific target object, it can detect an actual distance between the specific target object and the electronic device, determine the size relationship between the actual distance and the first distance threshold, and execute the privacy protection operation mode for the specific target object when the actual distance is less than or equal to the first distance threshold.
[0175] The actual distance can be detected by a distance sensor, or determined by the signal strength between the network device and the electronic device, which is not specially limited in the specification.
[0176] Optionally, when the actual distance between a specific target object and an electronic device is less than or equal to a second distance threshold, the duration for which the actual distance between the specific target object and the electronic device is less than or equal to the second distance threshold can also be recorded. If the duration is greater than a first duration threshold, it indicates that the specific target object has been staying close to the electronic device for a relatively long time. To ensure security, it can be determined that the switching conditions are met, and the electronic device can be restored to the state before the privacy protection operation mode was executed, or the privacy protection operation mode for the specific target object can be stopped.
[0177] Wherein, the second distance threshold is less than or equal to the first distance threshold.
[0178] For example, suppose the actual distance between a specific target object and an electronic device is less than or equal to a first distance threshold, and the electronic device turns off its camera to stop capturing images. However, if the duration for which the actual distance between the specific target object and the electronic device is less than or equal to a second distance threshold is too long and exceeds or equal to the first duration threshold, then the camera can be turned on to resume image capture.
[0179] For example, the execution condition may be that the signal strength of the network device detected by the electronic device is greater than or equal to a first strength threshold, which is preset. For instance, after determining that the target object is a specific target object, the electronic device may continue to detect the signal strength of the network device, determine the relationship between the signal strength and the first strength threshold, and execute a privacy protection operation mode for that specific target object when the detected signal strength is greater than or equal to the first strength threshold.
[0180] Optionally, when the signal strength of the network device is greater than or equal to the second strength threshold, the duration of the signal strength being greater than or equal to the second strength threshold can also be recorded. If the duration is greater than the second duration threshold, it indicates that the specific network device has been staying close to the electronic device for a long time. To ensure security, it can be determined that the switching conditions are met, and the electronic device can be restored to the state before the privacy protection operation mode was executed, or the privacy protection operation mode for the specific target object can be stopped.
[0181] Wherein, the second intensity threshold is greater than or equal to the first intensity threshold. The second duration threshold may be equal to or different from the first duration threshold.
[0182] For example, suppose the signal strength of the network device is greater than or equal to a first strength threshold, and the electronic device turns off the camera to stop capturing images. However, if the signal strength of the network device is greater than or equal to a second distance threshold for too long, exceeding or equal to a second duration threshold, then the camera can be turned on to resume image capture.
[0183] As can be seen from the above description, in the embodiment, when the target object is determined to be a specific target object based on the identity of the target object, it is determined whether the execution condition of the privacy protection operation mode is met, and in the case where the execution condition is met, the privacy protection operation mode is executed for the specific target object, so that the execution timing of the privacy protection operation mode is more accurately controlled, the lack of monitoring caused by the too early execution of the privacy protection operation mode is avoided, and the monitoring safety is ensured.
[0184] In an optional embodiment of the present specification, a scheme for automatically switching the privacy protection operation mode is also provided, please refer to Figure 4 , comprising the following steps:
[0185] In step 402, second type of historical detection information obtained by the electronic device detecting the target object appearing in the network detection range in a second historical time period is acquired.
[0186] In the embodiment, similar to the first historical time period, the second historical time period can be pre-set, for example, a time period of 1 month back from the current day, a time period of 3 months back from the current, etc. The second historical time period can be the same as the first historical time period, or different from the first historical time period.
[0187] In the embodiment, similar to the first type of historical detection information, the second type of historical detection information can include the network device fingerprint detected by the electronic device in the first historical time period, and can also include the behavior information of the target object, the behavior information can include the moving speed, the moving direction, the step, the step frequency, the moving range, the staying time in different space regions, etc., and can also include the identity recognition result of the target object in history, etc. The second type of historical detection information can be the same as the first type of historical detection information, or different from the first type of historical detection information, or have an intersection with the first type of historical detection information, etc., which is not specially limited in the present specification.
[0188] In step 404, a prediction result of future behavior of the target object is determined based on the second type of historical detection information.
[0189] In an example, when the second type of historical detection information includes the identity recognition result of the target object appearing in the network detection range in history, it can be determined whether the corresponding historical target object is an object that needs to be protected based on the identity recognition result, and if so, the prediction result of future behavior of the target object determined based on the second type of historical detection information can only include the future appearance time of the target object.
[0190] For example, when the acquired second type of historical detection information includes the historical detection information of the neighbor, the future occurrence time of the neighbor can be predicted based on the historical detection information of the neighbor as the prediction result.
[0191] Of course, in such an implementation, the second type of historical detection information of the object requiring privacy protection can also be directly acquired in the aforementioned step 402, and the present specification does not make special limitations thereon.
[0192] In another example, when the second type of historical detection information does not include the identity recognition result of the historical target object, the identity of each historical target object can be recognized based on the second type of historical detection information, and then the second type of historical detection information of the historical target object requiring privacy protection is extracted to predict the future occurrence time of the target object as the prediction result.
[0193] In yet another example, when predicting the prediction result, the identity of the historical target object can also not be confirmed first, and the future occurrence time and the action type of the target object can be directly predicted based on the acquired second type of historical detection information as the prediction result.
[0194] The action type in the prediction result can be a probability distribution of each action type. Different action types can be used to identify target objects of different identities. For example, if the action type indicates that the target object first approaches the electronic device and then moves away from the electronic device, it can be predicted that the target object is a neighbor. For another example, if the action type indicates that the target object is gradually approaching the electronic device, it can be predicted that the target object is a resident. By determining the action type with the highest probability according to the probability distribution of the action type, the identity of the target object can be further predicted according to the action type.
[0195] In the present embodiment, the prediction result can be predicted based on a behavior analysis model. The behavior analysis model can extract the spatio-temporal features and behavior features in the second type of historical detection information, and then construct a multi-dimensional feature vector. The spatio-temporal features can include the features of time and space, and the behavior features can be the connection relationship between the target object and the electronic device determined according to the second type of historical detection information. Then the aforementioned prediction result can be predicted based on the constructed multi-dimensional feature vector.
[0196] Step 406, in response to the current time being a time point that is second preset time length before the future behavior occurrence time determined based on the prediction result, switching the running mode.
[0197] In one example, when the prediction result only includes the future appearing time of the target object, and the future appearing time is the future behavior occurrence time, the running mode can be switched at a time point that is a second preset time length before the future appearing time, for example, the running mode of the electronic device is switched to the privacy protection running mode to start the privacy protection mode in advance.
[0198] In another example, when the prediction result includes the future appearing time of the target object and the action type, the target object identity can be predicted based on the action type first, when the target object identity is a specific target object that needs privacy protection, the running mode of the electronic device can be switched to the privacy protection running mode at a time point that is a second preset time length before the future appearing time to start the privacy protection mode in advance. If the target object identity is not a specific target object that needs privacy protection, the running mode does not need to be switched based on the future appearing time.
[0199] The second preset time length can be the same as or different from the first preset time length.
[0200] As can be seen from the above description, the embodiment can determine the prediction result of the future behavior of the target object based on the second type of historical detection information, and can start the privacy protection running mode in advance for the target object that needs privacy protection based on the prediction result, which realizes the paradigm upgrade of the privacy protection mechanism, can trigger the corresponding privacy protection mechanism in advance, i.e., evolves from passive response to active defense, significantly reduces the response delay of the traditional privacy protection running mode that is started when detecting a specific target object, and greatly improves the timeliness and reliability of privacy protection.
[0201] IV. Closing of the privacy protection running mode
[0202] In this specification, in order to ensure the monitoring effectiveness of the electronic device, after a specific target object that needs privacy protection appears in the detection range of the electronic device and the privacy protection running mode is executed for the specific target object, the privacy protection running mode also needs to be closed. Specifically, the privacy protection running mode can be closed when the closing condition of the running mode switching is met, and specifically, the running mode of the electronic device can be restored to the state before switching, or the currently running privacy protection running mode can be stopped.
[0203] Specifically, after the electronic device is switched to the privacy protection running mode for the specific target object, it can be determined whether the closing condition is met, and the closing condition can be preset in advance.
[0204] Exemplarily, the closing condition comprises: a duration of performing the privacy protection operation mode for the specific target object reaches a preset duration. The preset duration can represent a duration of the specific target object leaving the detection range, and can be pre-set based on experience, for example, 5 seconds, 10 seconds, etc.
[0205] In actual implementation, after performing the privacy protection operation mode for the specific target object, a timer can be started to start timing, and when the timing reaches the preset duration, it can be determined that the closing condition is met.
[0206] Exemplarily, the closing condition comprises: no specific target object is detected in the detection range. For the electronic device, the target object appearing in the detection range can be continuously detected, and when it is determined that no specific target object appears in the detection range, it can be determined that the closing condition is met.
[0207] Wherein, no specific target object appearing in the detection range can be that no target object appears in the detection range, or that a target object appears in the detection range, but the identified target object is not the specific target object. These situations can all indicate that the specific target object requiring privacy protection has left the detection range.
[0208] Exemplarily, the closing condition comprises: a state change of other electronic devices in a preset range is sensed. The type of the other electronic devices can be the same as or different from the electronic device. Assuming that the electronic device is a smart door lock, the other electronic devices can also be smart door locks (for example, the smart door lock of a neighbor's house), can also be door monitoring devices (for example, a smart cat eye), corridor devices, etc.
[0209] The state change can comprise an information interaction state change and / or an operation action state change. In other words, the electronic device can determine that the closing condition is met when the information interaction state change of the other electronic devices is sensed; can determine that the closing condition is met when the operation action state change of the other electronic devices is sensed; and can determine that the closing condition is met when the information interaction state change of the other electronic devices is sensed and the operation action state also changes.
[0210] The information interaction state change can comprise disconnection of a connection state, network signal strength change and / or scheduling signal switching.
[0211] The disconnection of the connection state can be that the network device connected with the other electronic device is disconnected, and the disconnection of the connection state can represent that the network device previously connected with the other electronic device is away from the coverage range of the other electronic device. Assuming that the other electronic device is a neighbor door lock, the disconnection of the connection state can be that the neighbor door lock and the network device such as a mobile phone and a computer previously connected with the neighbor door lock are disconnected. Still taking the smart door lock as an example, the neighbor door lock (the other electronic device) can establish a connection with the network device (a mobile phone, a computer, a wearable device, etc.) of a neighbor (a neighbor family member), for example, the neighbor mobile phone can establish a connection with the neighbor door lock after the neighbor returns home. When the neighbor door lock and the neighbor mobile phone are disconnected, it is usually indicated that the neighbor has left home, and in this case, the neighbor has also usually left the detection range of the smart door lock, and thus it can be determined that the closing condition is met.
[0212] It is worth noting that the above connection state usually refers to a direct connection, for example, a communication connection directly established between the smart door lock and the network device, and the disconnection of the above connection state usually refers to the disconnection of the direct communication connection, for example, the smart door lock is disconnected from the direct communication connection established between the smart door lock and the network device. The disconnection of an indirect connection state through a server does not fall within the range of the disconnection of the above connection state, for example, the neighbor door lock is connected to the server through the Wi-Fi network of the neighbor's home, and the server is connected to the neighbor mobile phone through a wireless network. The disconnection of such an indirect connection state does not necessarily represent that the neighbor has left the detection range of the smart door lock, and it can also be other situations, for example, Wi-Fi network failure of the neighbor's home. Therefore, the disconnection of the connection state used to indicate that the closing condition is met usually does not include the disconnection of the indirect connection state.
[0213] The network signal strength change and then remains stable is usually the network signal strength change of the other electronic device detected by the electronic device. The network signal strength change of the other electronic device can represent the distance change between the other electronic device and the electronic device, and the network signal strength change and then remains stable can represent that the distance between the other electronic device and the electronic device becomes larger and then smaller and remains stable, or that the distance between the other electronic device and the electronic device becomes smaller and then larger and remains stable. The network signal strength change can represent the behavior of the person using the other electronic device, and thus the network signal strength change and then remains stable of the other electronic device can be determined as the closing condition.
[0214] Taking the neighbor door lock as an example, the stable change of the neighbor door lock network signal strength can represent the change of the neighbor door. For example, the neighbor door opening outwards can cause the neighbor door lock network signal to become stronger, and if the door is closed after being opened, the neighbor door lock network signal can become weaker. When the neighbor door remains closed, the neighbor door lock network signal strength remains stable. In this example, the neighbor door lock network signal strength changes as follows: stronger-weaker-stable. For the neighbor, the possible behavior is to open the door, enter the house, and close the door, and thus the closing condition can be determined after the above network signal change of the neighbor door lock is sensed.
[0215] The switching of the scheduling signal can be that the other electronic device receives the scheduling instruction and schedules the device. The other electronic device can be an elevator, a unit access control, a community access control, etc. The switching of the scheduling signal can represent that a specific target object in the detection range is about to or has left the detection range, and thus the closing condition can be determined.
[0216] Suppose that the other electronic device is an elevator, and the switching of the scheduling signal can be that the elevator receives a scheduling request. Taking the neighbor as an example, the neighbor can press the elevator button to request the elevator to arrive at the floor where the neighbor is located, or the neighbor can have entered the elevator and pressed the floor where the neighbor wants to arrive.
[0217] Suppose that the other electronic device is a unit access control, and the switching of the scheduling signal can be that the unit access control receives an opening request. Taking the neighbor as an example, the neighbor can open the unit access control to leave the unit building, etc.
[0218] In this example, the information interaction state change of the other electronic device can be determined when one of the disconnection of the connection state, the stable change of the network signal strength, and the switching of the scheduling signal is met, or when two of the three are met, or when all of the three are met. The present specification does not specially limit this.
[0219] The running action state change includes device closing and device moving away.
[0220] The device closing can be that the other electronic device is closed, such as the closing of the neighbor door lock, the closing of the elevator, the closing of the corridor light, etc. Taking the neighbor as an example, these device closings can represent that the neighbor leaves the detection range of the present electronic device, and thus the closing condition can be determined. For example, the neighbor closes the door after returning home, the neighbor takes the elevator to leave, the neighbor walks away from the corridor smart light, etc.
[0221] The device far away can be other electronic devices far away from the electronic device, such as a neighbor door lock far away, an elevator far away, and the like. Still taking the specific target object as a neighbor as an example, the device far away can represent the detection range of the neighbor leaving the electronic device, and then the closing condition can be determined. For example, when the neighbor returns home and the neighbor door lock is closed, the neighbor door lock far away occurs, when the neighbor takes the elevator, the elevator car far away from the floor where the electronic device is located occurs, and the like.
[0222] In this example, the running action state change of the other electronic device can be determined when one of the device closing and the device far away is satisfied, or the running action state change of the other electronic device can be determined when both of the device closing and the device far away are satisfied, and the present specification does not specially limit this.
[0223] It should be noted that the state change of the other electronic device sensed by the electronic device has been authorized.
[0224] In this embodiment, in a case where it is determined that the closing condition is satisfied, the privacy protection running mode for the specific target object can be stopped, and the electronic device can be restored to the running mode before the privacy protection running mode is executed, for example, the closed camera is turned on to restore the normal monitoring state, and the like. Of course, if a dangerous target object appears in the network detection range, the running mode of the electronic device can be directly switched from the privacy protection running mode to the tracking monitoring running mode, and the like.
[0225] As can be seen from the above description, after the electronic device executes the privacy protection running mode for the specific target object, the privacy protection running mode for the specific target object can be stopped when the closing condition is satisfied, so as to restore to the monitoring state in time, and prevent the security risk caused by the long-time execution of the privacy protection running mode leading to the monitoring missing.
[0226] Five, cooperation with a linkage device
[0227] In this embodiment, the electronic device can confirm the identity of the target object based on the linkage information about the target object sent by the linkage device, so as to subsequently switch the running mode.
[0228] The linkage information can include one or more of the following: a time point at which the target object is expected to appear in the network detection range, a network device fingerprint, initial identity information of the target object, behavior data of the linkage device, and abnormal floor access.
[0229] The network device fingerprint can be information of the network device obtained by the linkage device, which can identify the identity of the network device. The information can be actively sent by the network device to the linkage device and intercepted by the linkage device, or actively obtained by the linkage device through detection.
[0230] The initial identity information of the target object can be determined by the linkage device based on the acquired network device fingerprint, or can be determined based on the acquired network device fingerprint combined with the biological behavior information of the person, or can be obtained by the linkage device directly identifying the identity of the target object, and the present specification does not make special limitations thereto.
[0231] The abnormal floor access is usually the abnormal floor access behavior of the target object found by the linkage device. Taking the linkage device as a smart elevator for example, it is assumed that the target object has been identified as a resident on the 5th floor, and if the target object dispatches the smart elevator to the 8th floor (for example, presses the 8th floor button), it can be considered as abnormal floor access. Taking the linkage device as a smart access control for example, it is assumed that the target object is not an authorized user of the smart access control, and it can be considered as abnormal floor access, and the like.
[0232] Other linkage information can refer to the foregoing embodiments, which will not be described here again.
[0233] In the present embodiment, the electronic device can first determine whether the identity of the target object can be confirmed based on the linkage information before acquiring the network device fingerprint within the network detection range. If the identity of the target object can be confirmed, the acquisition of the network device fingerprint can also be omitted. If the identity of the target object cannot be confirmed based on the linkage information, the acquisition of the network device fingerprint is often required for identity confirmation.
[0234] In one example, if the initial identity information of the target object is included in the linkage information, it can be determined that the identity of the target object can be confirmed based on the linkage information, and the initial identity information can be directly used to determine the identity of the target object.
[0235] For example, if the initial identity information includes the identity of the target object determined by the linkage device, the identity of the target object in the initial identity information can be directly used, and the electronic device does not need to reconfirm the identity of the target object.
[0236] For another example, if the initial identity information includes the network device fingerprint, the electronic device can directly determine the identity of the target object based on the network device fingerprint, or jointly determine the identity of the target object combined with the biological behavior information.
[0237] In yet another example, if the initial identity information is not included in the linkage information, it can be determined that the identity of the target object cannot be confirmed based on the linkage information, and the acquisition of the network device fingerprint within the network detection range based on the linkage information can be performed, and the identity of the target object can be determined based on the acquired network device fingerprint, or jointly determined combined with the biological behavior information.
[0238] For example, the linkage information can carry an instruction for instructing the electronic device to perform target object identity confirmation. After receiving the linkage information, the electronic device can acquire network device fingerprints in a network detection range, and then determine the target object identity based on the network device fingerprints, or determine the target object identity in combination with biological behavior information.
[0239] For another example, the linkage information can not carry an instruction for instructing the electronic device to perform target object identity confirmation. After receiving the linkage information, if it is determined that the linkage information does not carry initial identity information, the electronic device can also acquire network device fingerprints in a network detection range, and then determine the target object identity based on the network device fingerprints, or determine the target object identity in combination with biological behavior information.
[0240] For example, the smart elevator can identify the identity of the person after the person enters the elevator, and send the identity identification result (i.e., initial identity information) as linkage information to the smart door lock of the floor to be reached by the person. The smart elevator can also predict the time point of reaching the corresponding floor after the person enters the elevator and presses the floor button, and then send the time point as linkage information to the smart door lock of the floor to be reached. The smart elevator can also acquire the network device fingerprint of the network device carried by the person after the person enters the elevator, and send the network device fingerprint to the smart door lock of the floor to be reached, etc.
[0241] For example, the smart elevator can identify the identity of the person after the person enters the elevator, and send the identity identification result (i.e., initial identity information) as linkage information to the smart door lock of the floor to be reached by the person. The smart elevator can also predict the time point of reaching the corresponding floor after the person enters the elevator and presses the floor button, and then send the time point as linkage information to the smart door lock of the floor to be reached. The smart elevator can also acquire the network device fingerprint of the network device carried by the person after the person enters the elevator, and send the network device fingerprint to the smart door lock of the floor to be reached, etc.
[0242] As can be seen from the above description, the electronic device of the embodiment can acquire the linkage information about the target object sent by the linkage device linked with the electronic device, then confirm the identity of the target object based on the linkage information, and can execute the privacy protection running mode for the specific target object in the case that the target object is determined to be the specific target object based on the identity of the target object, thereby avoiding collecting the biological information of the specific target object or blurring the collected biological information to avoid collecting the privacy information of the specific target object, thereby avoiding the risk of privacy leakage. At the same time, the identity of the target object is confirmed based on the linkage information sent by the linkage device, that is, the detection of the specific target object is realized by means of the linkage device, which can save the processing resources and power consumption of the electronic device to a certain extent.
[0243] In an optional embodiment of the present specification, the electronic device can also execute the switching of the running mode in advance based on the linkage information.
[0244] For example, in the case that the initial identity information of the target object is included in the linkage information, the electronic device can determine whether the switching of the running mode is needed based on the initial identity information, and if the switching of the running mode is needed, the electronic device can directly execute the switching of the running mode when the target object reaches the network detection range or execute the switching of the running mode in advance before reaching the network detection range.
[0245] The time point when the target object reaches the network detection range can be the future time carried in the linkage information, or the time predicted based on the behavior data carried in the linkage information, etc.
[0246] For example, assuming that the linkage information is the initial identity information of the target object sent by the intelligent elevator, such as a neighbor, and the future time is 18:30, the electronic device can switch the running mode to the privacy protection running mode at 18:30 or 18:25.
[0247] For another example, assuming that the linkage information is the initial identity information of the target object sent by the intelligent access control, such as a suspicious person, and the future time is 11:30, the electronic device can switch the running mode to the tracking and monitoring running mode at 11:30 or 11:25.
[0248] For example, in the case that the initial identity information of the target object is not included in the linkage information, the electronic device can identify the identity of the target object by itself, and can directly execute the switching of the running mode when the target object reaches the network detection range or execute the switching of the running mode in advance before reaching the network detection range.
[0249] The way in which the electronic device identifies the identity of the target object by itself can refer to the foregoing embodiments, which will not be described herein again.
[0250] As can be seen from the above description, the electronic device of the embodiment can acquire the linkage information about the target object sent by the linkage device linked with the electronic device, and then switch the running mode in advance based on the linkage information, thereby significantly reducing the response delay of the conventional running mode switching when the target object is detected, and greatly improving the timeliness and reliability of the running mode switching of the electronic device.
[0251] Of course, the above are exemplarily described taking the privacy protection mode of the security monitoring scene as an example, and in other examples, are also applicable to the opening logic, closing logic, linkage logic, etc. of other types of running modes such as the tracking monitoring running mode and the reminding mode, and the present specification does not specially limit this.
[0252] Figure 5 FIG. 1 is a schematic diagram of a mode switching scene of an electronic device provided by an exemplary embodiment.
[0253] Please refer to Figure 5 In this scene, the electronic device performing the running mode switching logic is a smart door lock 50, when a person 51 appears in the detection range of the smart door lock 50, the smart door lock 50 can acquire the device fingerprint of the mobile phone (not shown) carried by the person 51 in the non-connected state, and then determine the identity of the person 51 based on the device fingerprint.
[0254] Suppose the identity of the person 51 is a neighbor, then it can be determined that the person 51 is a specific target object that needs to be protected for privacy, and then the device is switched from the normal running mode to the privacy protection running mode for the person 51, for example, the camera of the smart door lock is closed to the outside, so as to avoid collecting images carrying the privacy of the neighbor, such as the face of the neighbor. When the time length of the camera being closed reaches the preset time length, it can be considered that the neighbor has returned home or left the detection range, and then the camera of the smart door lock is reopened to the outside, so as to restore the normal running mode.
[0255] Suppose again that the identity of the person 51 is a suspicious person, then it can be determined that the person 51 is a dangerous target object that needs to be tracked and monitored, and then the device is switched from the normal running mode to the tracking monitoring running mode for the person 51, for example, the camera is controlled to track the dangerous target object to collect relevant images. When the dangerous target object leaves the network detection range, the running mode of the device can be restored to the normal running mode.
[0256] Next, taking a terminal device such as a mobile phone, a tablet computer, a notebook computer, a wearable device, etc. as an example, the implementation process of the present specification is introduced.
[0257] The above electronic device usually has a flight mode, also called aviation mode or fly mode, which can cut off all communication signals after being turned on, so as to avoid the emission and reception of device signals affecting the flight of the aircraft.
[0258] With the technical solutions provided in the specification, taking a mobile phone as an example, a network device fingerprint in a network detection range of the mobile phone can be acquired, and then a target object identity is determined based on the network device fingerprint. When the target object identity indicates that the target object is a network device deployed on an airplane, it indicates that the mobile phone is located on the airplane, and a user can be about to take a flight on the airplane, and then the mobile phone can be automatically switched to a flight mode.
[0259] In the embodiment, the mobile phone can acquire the network device fingerprint in the network detection range in a non-connected state. The non-connected state refers to that no valid communication link is established between the mobile phone and the network device in the network detection range. For example, no Bluetooth communication link is established between the mobile phone and the network device, and no Wi-Fi communication link is established. In the embodiment, the network device fingerprint is acquired in the non-connected state. During the whole process, the mobile phone and the network device do not need to establish a valid connection, the application range is wider, and meanwhile, the information leakage risk of the mobile phone caused by establishing a connection with the network device can be effectively avoided.
[0260] In the embodiment, the network device fingerprint of the network device deployed on the airplane usually carries a specific identifier for representing the identity of the network device, for example, an airline identifier can be carried in an SSID. The mobile phone can identify the identity of the target object as the network device on the airplane by analyzing and identifying the detected network device fingerprint.
[0261] As can be seen from the above description, with the above technical solutions provided in the specification, the mobile phone and other terminal devices can acquire a network device fingerprint in a network detection range, and determine the identity of a target object appearing in the network detection range based on the network device fingerprint. When the target object is a network device on an airplane, the mobile phone can be automatically switched to a flight mode, without manual switching by the user, and the user experience is greatly improved.
[0262] The network detection range and the network device fingerprint can refer to the specific description of the foregoing embodiments, which will not be described herein.
[0263] Figure 6 FIG. 1 is a schematic structural diagram of a device provided in an example embodiment. Please refer to Figure 6At the hardware level, the device includes a processor 602, an internal bus 604, a network interface 606, a memory 608, and a non-volatile memory 610, and can also include other hardware required by functions. One or more embodiments of the present specification can be implemented in a software manner, such as reading a corresponding computer program from the non-volatile memory 610 into the memory 608 by the processor 602 and then running. Of course, in addition to the software implementation, one or more embodiments of the present specification do not exclude other implementation manners, such as logic devices or a combination of software and hardware, and the like, that is, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or a logic device.
[0264] Please refer to Figure 7 , the mode switching device 700 of the electronic device can be applied to the device as shown in Figure 6 , so as to realize the technical solutions of the present specification. Among them, the mode switching device 700 of the electronic device can include:
[0265] The fingerprint acquisition unit 701 acquires the network device fingerprint in the network detection range;
[0266] The identity determination unit 702 determines the target object identity based on the network device fingerprint and / or the device identity information sent by the linkage device;
[0267] The mode switching unit 703 switches the running mode based on the target object identity.
[0268] Optionally, the fingerprint acquisition unit 701 acquires the network device fingerprint in the network detection range, including:
[0269] Acquire the network device fingerprint in the network detection range in a non-connected state;
[0270] Among them, the non-connected state is that the electronic device and the network device do not establish any effective communication link.
[0271] Optionally, the identity determination unit 702 determines the target object identity based on the network device fingerprint, including:
[0272] Identify the device identity and determine the target object identity based on the network device fingerprint; or determine the target object identity based on the network device fingerprint and in combination with the biological behavior information.
[0273] Optionally, after determining the target object identity based on the network device fingerprint, it further includes:
[0274] In the case of having a management list with a mapping relationship with the target object identity, adding the network device to the corresponding management list;
[0275] In the case that there is no management list having a mapping relationship with the target object identity, a management list having a mapping relationship with the target object identity is created, and the network device is added to the corresponding management list.
[0276] Optionally, the electronic device further comprises a wireless communication module; before the network device fingerprint in the network detection range is acquired, the method further comprises:
[0277] The first type of historical detection information obtained by the wireless communication module detecting the target object appearing in the network detection range in a first historical time period is acquired;
[0278] The future appearing time of the target object in the network detection range is predicted based on the first type of historical detection information;
[0279] In response to the current time being a time point that is a first preset time length before the future appearing time, the wireless communication module is woken up.
[0280] Optionally, the method further comprises:
[0281] The second type of historical detection information obtained by the electronic device detecting the target object appearing in the network detection range in a second historical time period is acquired;
[0282] The prediction result of the future behavior of the target object is determined based on the second type of historical detection information;
[0283] In response to the current time being a time point that is a second preset time length before the time of the future behavior determined based on the prediction result, the running mode is switched.
[0284] Optionally, after the running mode is switched based on the target object identity, the method further comprises:
[0285] In response to the closing condition of the running mode switching being met, the running mode of the electronic device is restored to the state before the switching; or the current running mode is stopped.
[0286] Optionally, before the network device fingerprint in the network detection range is acquired, the method further comprises:
[0287] The linkage information about the target object sent by a linkage device linked with the electronic device is acquired;
[0288] It is judged whether the target object identity can be confirmed based on the linkage information.
[0289] Optionally, the judging whether the target object identity can be confirmed based on the linkage information comprises:
[0290] In response to the initial identity information of the target object being included in the linkage information, it is determined that the target object identity can be confirmed based on the linkage information, and the target object identity is confirmed based on the initial identity information.
[0291] In response to the initial identity information not being included in the linkage information, it is determined that the target object identity cannot be confirmed based on the linkage information.
[0292] The method further includes:
[0293] In the case that the target object identity cannot be confirmed based on the linkage information, network device fingerprints within a network probe range are acquired, and the target object identity is determined based on the network device fingerprints.
[0294] Based on the same concept as the above method, the specification also provides an electronic device, including: a processor; a memory for storing processor executable instructions; wherein the processor implements the steps of the method as described in any of the above embodiments by running the executable instructions.
[0295] Based on the same concept as the above method, the specification also provides a computer readable storage medium having computer instructions stored thereon, which are executed by a processor to implement the steps of the method as described in any of the above embodiments.
[0296] Based on the same concept as the above method, the specification also provides a computer program product, including computer program / instructions, which are executed by a processor to implement the steps of the method as described in any of the above embodiments.
Claims
1. A mode switching method for an electronic device, characterized in that, include: Obtain fingerprints of network devices within the network detection range; The identity of the target object is determined based on the fingerprint of the network device. Switch operating modes based on the identity of the target object; The acquisition of network device fingerprints within the network detection range includes: Acquire the fingerprint of the network device in a disconnected state within the network detection range; The disconnected state refers to the absence of any valid communication link between the electronic device and the network device. The step of determining the identity of the target object based on the network device fingerprint includes: The network device fingerprint is used to identify the device identity and determine the target object identity. The method of identifying device identity and determining target object identity based on the network device fingerprint also includes: The current connection status between the network device and the electronic device is determined based on the network device fingerprint; The identity of the target object is determined based on the current connection state; The current connection status includes connected and not connected.
2. The method according to claim 1, characterized in that, The step of determining the identity of the target object based on the network device fingerprint includes: The identity of the target object is determined based on the fingerprint of the network device combined with biometric behavioral information.
3. The method according to claim 1, characterized in that, After determining the identity of the target object based on the network device fingerprint, the process also includes: If there is a management list that maps to the identity of the target object, the network device is added to the corresponding management list; If there is no management list that maps to the identity of the target object, create a management list that maps to the identity of the target object and add the network device to the corresponding management list.
4. The method according to claim 1, characterized in that, The electronic device further includes a wireless communication module; prior to acquiring the network device fingerprint within the network detection range, the method further includes: The first type of historical detection information is obtained by the wireless communication module detecting target objects appearing within the network detection range during the first historical time period; Predict the future appearance time of the target object within the network's detection range based on the first type of historical detection information; The wireless communication module is woken up when the current time is a first preset time before the future occurrence time.
5. The method according to claim 1, characterized in that, Also includes: Acquire the second type of historical detection information obtained by electronic devices detecting target objects appearing within the network detection range during the second historical time period; The prediction results of the target object's future behavior are determined based on the second type of historical detection information; In response to the current time being a second preset time before the time of the future behavior determined based on the prediction results, the operating mode is switched.
6. The method according to claim 1, characterized in that, After switching the operating mode based on the target object's identity, the method further includes: In response to the fulfillment of the shutdown conditions for switching operating modes, the operating mode of the electronic device is restored to the state before the switch; or the current operating mode is stopped.
7. The method according to claim 1, characterized in that, Before acquiring the fingerprint of network devices within the network detection range, the method further includes: Obtain linkage information about the target object sent by the linkage device linked with the electronic device; Based on the aforementioned linkage information, it can be determined whether the identity of the target object can be confirmed.
8. The method according to claim 7, characterized in that, The step of determining whether the identity of the target object can be confirmed based on the linkage information includes: In response to the fact that the linkage information includes the initial identity information of the target object, it is determined that the identity of the target object can be confirmed based on the linkage information, and the identity of the target object is confirmed based on the initial identity information; Since the initial identity information is not included in the linkage information, it is determined that the identity of the target object cannot be confirmed based on the linkage information. The method further includes: If the identity of the target object cannot be confirmed based on the linkage information, obtain the fingerprint of the network device within the network detection range, and determine the identity of the target object based on the network device fingerprint.
9. A mode switching device for an electronic device, characterized in that, The device includes: The fingerprint acquisition unit acquires the fingerprints of network devices within the network detection range; The identity determination unit determines the identity of the target object based on the fingerprint of the network device and / or the device identity information sent by the linked device. The mode switching unit switches the operating mode based on the identity of the target object; The fingerprint acquisition unit acquires the fingerprints of network devices within the network detection range, including: Acquire the fingerprint of the network device in a disconnected state within the network detection range; The disconnected state refers to the absence of any valid communication link between the electronic device and the network device. The identity determination unit determines the identity of the target object based on the network device fingerprint, including: identifying the device identity and determining the identity of the target object based on the network device fingerprint; The method of identifying device identity and determining target object identity based on the network device fingerprint also includes: The current connection status between the network device and the electronic device is determined based on the network device fingerprint; The identity of the target object is determined based on the current connection state; The current connection status includes connected and not connected.
Citation Information
Patent Citations
Mobile phone fingerprint sniffing method and system
CN109302679A
Unlocking method and system of intelligent door lock
CN120071484A
Personalized illumination adjusting system based on artificial intelligence
CN120076124A
Smart doorlock
KR1020160132168A