Device control method, hub device, and apparatus

By identifying users through a central device and entering visitor mode, the system controls controllable devices to protect privacy information and restrict sensitive operations, thus solving the problem of unprotected visitors in whole-house smart control solutions and protecting user privacy and property security.

CN115879140BActive Publication Date: 2026-06-05HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2021-09-26
Publication Date
2026-06-05

AI Technical Summary

Technical Problem

Existing whole-house smart control solutions are not secure against visitors, leading to security threats such as leakage of user privacy information and unauthorized operations.

Method used

The central device identifies the user's identity, enters guest mode, controls controllable devices to protect privacy information and restrict sensitive operations, and assists silent devices in anonymizing or intercepting sensitive messages to prevent privacy leaks and unauthorized operations.

Benefits of technology

It effectively reduces the possibility of visitors viewing family members' private information and performing unauthorized operations, protecting users' privacy and personal and property security, and has strong practicality and ease of use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115879140B_ABST
    Figure CN115879140B_ABST
Patent Text Reader

Abstract

The application is suitable for the field of device control, and provides a device control method, a hub device and an apparatus. In the method provided by the application, when a user exists in a home area, the hub device can acquire a user identity of the user. If the user identity includes a visitor, the hub device can control the hub device and a controllable device to enter a visitor mode, and assist in silencing a device to protect private information and / or limit sensitive operations, so that the visitor cannot randomly view the private information and perform the sensitive operations, effectively reducing the possibility of privacy leakage and unauthorized operation, protecting the privacy safety and personal and property safety of the user, and having high practicability and ease of use.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of equipment control, and more particularly to an equipment control method, central equipment, and device. Background Technology

[0002] With the development of technology, more and more electronic devices have entered households, improving people's quality of life.

[0003] Among these electronic devices, some may record users' private information, such as smart speakers recording users' music preferences and smart screens recording messages users leave for other family members; some electronic devices may involve users' personal and property safety, such as cameras that can monitor whether someone is illegally intruding.

[0004] However, these electronic devices are usually unprotected by visitors. Therefore, when there are unfamiliar visitors in the home, they can freely view the user's private information, leading to the disclosure of the user's private information; moreover, unfamiliar visitors can also operate security equipment without authorization, posing a serious threat to the user's privacy, personal safety, and property security. Summary of the Invention

[0005] This application provides a device control method, central device, and apparatus that can solve the problems of existing whole-house smart control solutions being unprotected by visitors, easily leaking user privacy, and causing unauthorized operations.

[0006] In a first aspect, embodiments of this application provide a device control method applied to a central device, comprising:

[0007] When a user is present in the home area, obtain the user's identity; the user identity includes family members and / or visitors.

[0008] When the user identity includes the visitor, enter visitor mode and instruct the controllable device to enter visitor mode, and / or assist the silent device in protecting privacy information and / or restricting sensitive operations;

[0009] The controllable device is an electronic device that supports guest mode, which is used to protect privacy information and / or restrict sensitive operations. The silent device is an electronic device that does not support guest mode.

[0010] It should be noted that when a user is present in the home area, the central device can obtain the user's identity. The user's identity can include family members and / or visitors.

[0011] Among them, the central device can receive user characteristics sent by the detection device, process the central device characteristics, and obtain the user's identity;

[0012] And / or, the central device can also receive the detection results sent by the detection device and determine the user's identity based on the detection results.

[0013] The aforementioned user characteristics may include one or more types of characteristic data such as facial information, fingerprint data, access control passwords, sensor data, and voiceprint data.

[0014] After obtaining the user's identity, the central device can identify whether there are any visitors among the aforementioned user identities.

[0015] If the user identity mentioned above includes "visitor," it indicates that a visitor has entered the home area. In this case, to prevent the visitor from viewing family members' private information or performing sensitive operations without authorization, the central device can enter visitor mode, and instruct controllable devices to enter visitor mode as well.

[0016] Controllable devices refer to electronic devices that support guest mode. Guest mode is used to protect privacy information and / or restrict sensitive operations.

[0017] Furthermore, for silent devices that do not support guest mode, the central device can assist silent devices in protecting privacy information and / or restricting sensitive operations.

[0018] By employing the methods described above, the central device can prevent visitors from arbitrarily viewing family members' private information or performing sensitive operations without authorization. This effectively reduces the possibility of privacy leaks and unauthorized operations, protecting users' privacy, personal safety, and property security. It is highly practical and easy to use.

[0019] In one possible implementation of the first aspect, the visitor mode includes one or more of the following operations:

[0020] The privacy information is anonymized, the privacy information is hidden, the access point to the privacy information is hidden, the execution of the sensitive operation is prohibited, the access point to the sensitive operation is hidden, and identity verification is performed when the sensitive operation is detected.

[0021] It should be noted that in guest mode, electronic devices can protect privacy information and restrict sensitive operations through one or more of the following protection strategies: anonymizing privacy information, hiding privacy information, hiding access points to privacy information, blocking sensitive operations, hiding access points to sensitive operations, and performing authentication when sensitive operations are detected.

[0022] For example, in some cases, when an electronic device receives a voice message in guest mode, the device can anonymize the voice message and announce, "You have a new voice message. Please view it on your personal device," thereby hiding the details of the private information and prompting family members to check the voice message on their personal devices.

[0023] In other examples, when an electronic device enters guest mode, it can directly hide private information such as photo albums and contacts, or hide access points to this private information, thereby preventing users from arbitrarily viewing the private information of family members.

[0024] In other examples, when an electronic device enters guest mode, if the electronic device detects a sensitive operation, it can block that sensitive operation and not respond to it.

[0025] In other examples, when an electronic device enters guest mode, it can directly hide the access point for sensitive operations, thus preventing users from accessing the interface for sensitive operations and performing sensitive actions.

[0026] In other examples, when an electronic device enters guest mode, it can authenticate the user if it detects a sensitive action.

[0027] If authentication is successful, it indicates that the user performing the sensitive operation is a family member, and the electronic device can respond to the sensitive operation; if authentication fails, it indicates that the user performing the sensitive operation is not a family member, and the electronic device may not respond to the sensitive operation.

[0028] In other examples, electronic devices may employ other protection strategies to protect privacy information and restrict sensitive operations. This application does not limit the protection strategies adopted by electronic devices.

[0029] In one possible implementation of the first aspect, the auxiliary silence device protects privacy information and / or restricts sensitive operations by one or more of the following operations:

[0030] When a sensitive message is received destined for the silent device, the sensitive message is anonymized to obtain an anonymous message, and the anonymous message is forwarded to the silent device. The sensitive message includes the privacy information.

[0031] When a sensitive message is received destined for the silent device, the sensitive message is intercepted;

[0032] When a device control command is received from the silent device, the device control command is intercepted, and / or the operation corresponding to the device control command is prohibited from being executed.

[0033] It should be noted that when the central device assists the silent device in protecting privacy information and / or restricting sensitive operations, it can select an appropriate assistance method based on the actual scenario.

[0034] For example, in some cases, when the central device receives a sensitive message destined for a silent device, because the sensitive message contains private information, the central device can anonymize the message, hiding the private information within it, thus obtaining an anonymous message. The central device then forwards the anonymous message to the silent device, reducing the likelihood of the silent device leaking the private information of family members.

[0035] In other examples, when the central device receives a sensitive message destined for a silent device, the central device can also directly intercept the sensitive message and forward it to the personal device of a family member, thereby protecting the privacy information of the family member.

[0036] In other examples, when the central device receives a device control command from the silent device, if the command is intended to control other electronic devices, the central device can directly intercept it; if the command is intended to control the central device, the central device can choose not to respond. By intercepting and / or disabling the execution of device control commands, the central device can reduce the likelihood of visitors performing sensitive operations through the silent device.

[0037] In other examples, the central device may also assist the silent device in protecting privacy information and / or restricting sensitive operations through other auxiliary methods. This application does not limit the specific form of the aforementioned auxiliary methods.

[0038] In one possible implementation of the first aspect, after entering guest mode when the user identity includes the guest, and instructing the controllable device to enter guest mode, and / or assisting the silent device in protecting privacy information and / or restricting sensitive operations, the method includes:

[0039] When the preset exit conditions are met, exit the guest mode and instruct the controllable device to exit the guest mode, and / or, no longer assist the silent device in protecting privacy information and / or restricting sensitive operations.

[0040] It should be noted that when the preset exit conditions are met, the central device can control the central device and each controllable device to automatically exit the guest mode, and stop assisting the silent device in protecting privacy information and / or restricting sensitive operations. This eliminates the need for the user to operate each electronic device individually, reducing the user's workload and improving the user experience.

[0041] In one possible implementation of the first aspect, the preset exit condition includes one or more of the following conditions:

[0042] A family member's logout was detected; no users are present in the family area; no visitors are present in the family area.

[0043] It should be noted that the preset exit conditions can be set according to actual needs. For example, in some examples, the preset exit condition can be the detection of a family member's exit operation. In this case, if the central device detects the exit operation, it can authenticate the user. If authentication is successful, the central device can respond to the exit operation; if authentication fails, the central device will not respond to the exit operation.

[0044] In other examples, the preset exit condition can be the absence of users in the home area. In this case, if the central device determines that all users have left the home area, the central device can control the central device and each controllable device to automatically exit guest mode, and to stop assisting the silent devices in protecting privacy information and / or restricting sensitive operations.

[0045] In other examples, the preset exit condition can be the absence of visitors in the home area. In this case, if the central device determines that all visitors have left the home area, the central device can control the central device and each controllable device to automatically exit visitor mode, and stop assisting the silent device in protecting privacy information and / or restricting sensitive operations.

[0046] In other examples, the preset exit condition may be other than what is specified. This application does not limit the specific content of the preset exit condition in its embodiments.

[0047] In one possible implementation of the first aspect, the visitors include a first type of visitor and a second type of visitor, wherein the operation permissions of the first type of visitor are higher than those of the second type of visitor.

[0048] It should be noted that the visitor types mentioned above can be set according to actual needs. For example, in some embodiments, the administrator (equipment manufacturer or holder of the central device) can define users other than family members as visitors; in other embodiments, the administrator can divide visitors into first-class visitors and second-class visitors. First-class visitors may refer to close relatives, acquaintances, and other visitors with relatively close relationships, while second-class visitors may refer to unfamiliar friends, on-site repair personnel, property management personnel, and other temporary visitors. First-class visitors have higher operation permissions than second-class visitors; in other embodiments, the administrator can also divide visitors into first-level visitors, second-level visitors, and third-level visitors, and set corresponding operation permissions for each level of visitors; in other embodiments, the administrator can also divide visitor types in other ways. This application does not limit the specific method by which the administrator divides visitor types.

[0049] In one possible implementation of the first aspect, the visitor mode includes a first visitor mode and a second visitor mode;

[0050] The step of entering visitor mode when the user identity includes the visitor, and instructing the controllable device to enter visitor mode, includes:

[0051] When the user identity includes the first type of visitor but does not include the second type of visitor, the system enters the first visitor mode and instructs the controllable device to enter the first visitor mode.

[0052] When the user identity includes the second type of visitor, the system enters the second visitor mode and instructs the controllable device to enter the second visitor mode.

[0053] It should be noted that when the above visitors include both the first type of visitors and the second type of visitors, the above visitor patterns can include both the first visitor pattern and the second visitor pattern.

[0054] When a user's identity includes the first type of visitor but excludes the second type of visitor, the central device can control the central device and controllable devices to enter the first visitor mode with higher operating privileges.

[0055] When the user identity includes a second type of visitor, regardless of whether there is a first type of visitor in the home area, the central device can control the central device and the visitor device to enter the second visitor mode with lower operating permissions.

[0056] Using the above methods, the central device can manage different types of visitors more flexibly, provide different permissions to different types of visitors, prevent low-privilege visitors from stealing the operation permissions of high-privilege visitors, and protect the privacy, safety and property of family members.

[0057] In one possible implementation of the first aspect, after entering the second guest mode and instructing the controllable device to enter the second guest mode, the method further includes:

[0058] When a family member's exit operation is detected, the system enters family member mode and instructs the controllable device to enter family member mode.

[0059] Alternatively, when a family member's logout operation is detected, the system enters the first guest mode and instructs the controllable device to enter the first guest mode.

[0060] It should be noted that when the central device is in second visitor mode and the central device detects a family member's exit operation, the central device can control the central device and controllable devices to directly enter home mode.

[0061] However, if the central device directly controls the central device and controllable devices to enter the family member mode, the visitor may steal the family member's permissions, and unauthorizedly view the family member's private information and / or perform sensitive operations.

[0062] Therefore, when the central device is in the second visitor mode and the central device detects a family member's exit operation, the central device can also control the central device and controllable devices to enter the first visitor mode. This can satisfy the user's need to increase the visitor's privileges, and also prevent the visitor from using the family member's privileges without authorization in the family member mode, thereby protecting the privacy and personal and property safety of family members.

[0063] In one possible implementation of the first aspect, after entering visitor mode when the user includes the visitor, the method further includes:

[0064] Display the authorization code, which is used to request guest access from the target device, which is a family member's personal device.

[0065] It should be noted that in some scenarios, visitors may want to use their own personal devices to control electronic devices in the home area.

[0066] At this point, the central device can display an authorization code on the screen. This authorization code is used to request guest access from the target device, which is a family member's personal device.

[0067] After a visitor scans the authorization code using their visitor device (i.e., the visitor's personal device), the visitor device can send an authorization request to the target device.

[0068] When the target device agrees to the above authorization request, the guest device can obtain guest permissions.

[0069] When the target device rejects the above authorization request, the guest device cannot obtain guest permissions.

[0070] In one possible implementation of the first aspect, the sensitive operations include home management operations and / or control operations on electronic devices with security functions.

[0071] It should be noted that sensitive operations refer to operations that may affect the personal safety and property security of family members.

[0072] Specifically, sensitive operations may include any one or more of the following: home management operations, control operations of security equipment, etc.

[0073] Among these, family management operations refer to operations such as changing family information, sharing permissions, and changing permissions. Security equipment refers to electronic devices with security functions.

[0074] In one possible implementation of the first aspect, obtaining the user's identity includes:

[0075] The user's user characteristics are obtained, and the user characteristics are compared with pre-stored characteristics to determine the user's identity;

[0076] And / or, receive detection results sent by the detection device, and determine the user's identity based on the detection results, wherein the detection device is an electronic device with the function of detecting user identity.

[0077] It should be noted that after detecting user characteristics, the detection device can directly send those user characteristics to the central device.

[0078] After receiving user characteristics, the central device can compare the user characteristics with pre-stored characteristics to determine the user's identity.

[0079] Pre-stored features refer to pre-stored family information. This family information is used to distinguish between family members and visitors. This family information may include one or more of the following: administrator password, family member facial information, family member fingerprint data, family member voiceprint data, and the number of family members.

[0080] Alternatively, the detection device can process user characteristics locally to obtain detection results. Then, the detection device sends the detection results to the central device.

[0081] When the central device receives the detection results, it can determine the user's identity based on the detection results.

[0082] In one possible implementation of the first aspect, when the user characteristics include the number of users and the pre-stored characteristics include the number of household members, the step of obtaining the user characteristics of the user, comparing the user characteristics with the pre-stored characteristics, and determining the user's identity includes:

[0083] Compare the number of users with the number of family members;

[0084] If the number of users is greater than the number of family members, then the user's identity is determined to include a visitor.

[0085] It should be noted that the above user characteristics may include the number of users, and the above pre-stored characteristics may include the number of family members.

[0086] When the central device obtains the number of users, it can compare the number of users with the number of household members.

[0087] If the number of users is less than or equal to the number of household members, it means there may be no visitors in the household area.

[0088] If the number of users is greater than the number of people in the household, it means that there are visitors in the household area, and the central device can determine that the users mentioned above include visitors.

[0089] In one possible implementation of the first aspect, the number of family members is determined based on the number of people staying overnight in the family area each day during a historical period.

[0090] It should be noted that the above-mentioned number of family members can be determined by the central equipment based on the number of people staying overnight in the family area each day during a historical period.

[0091] For example, assuming the historical time period is the most recent week, if the central device detects that the mode of the number of people staying overnight each day during the most recent week is 3, then the central device can determine the number of family members as 3.

[0092] Secondly, embodiments of this application provide a device control apparatus applied to a central device, comprising:

[0093] The identity acquisition module is used to acquire the user's identity when a user is present in the home area; the user identity includes family members and / or visitors;

[0094] The visitor protection module is used to enter visitor mode when the user identity includes the visitor, and to instruct the controllable device to enter the visitor mode, and / or to assist the silent device in protecting privacy information and / or restricting sensitive operations;

[0095] The controllable device is an electronic device that supports guest mode, which is used to protect privacy information and / or restrict sensitive operations. The silent device is an electronic device that does not support guest mode.

[0096] In one possible implementation of the second aspect, the visitor mode includes one or more of the following operations:

[0097] The privacy information is anonymized, the privacy information is hidden, the access point to the privacy information is hidden, the execution of the sensitive operation is prohibited, the access point to the sensitive operation is hidden, and identity verification is performed when the sensitive operation is detected.

[0098] In one possible implementation of the second aspect, the auxiliary silence device protects privacy information and / or restricts sensitive operations by including one or more of the following operations:

[0099] When a sensitive message is received destined for the silent device, the sensitive message is anonymized to obtain an anonymous message, and the anonymous message is forwarded to the silent device. The sensitive message includes the privacy information.

[0100] When a sensitive message is received destined for the silent device, the sensitive message is intercepted;

[0101] When a device control command is received from the silent device, the device control command is intercepted, and / or the operation corresponding to the device control command is prohibited from being executed.

[0102] In one possible implementation of the second aspect, the apparatus further includes:

[0103] The visitor exit module is used to exit the visitor mode when preset exit conditions are met, and to instruct the controllable device to exit the visitor mode, and / or to no longer assist the silent device in protecting privacy information and / or restricting sensitive operations.

[0104] In one possible implementation of the second aspect, the preset exit condition includes one or more of the following conditions:

[0105] A family member's logout was detected; no users are present in the family area; no visitors are present in the family area.

[0106] In one possible implementation of the second aspect, the visitors include a first type of visitor and a second type of visitor, wherein the operation permissions of the first type of visitor are higher than those of the second type of visitor.

[0107] In one possible implementation of the second aspect, the visitor mode includes a first visitor mode and a second visitor mode;

[0108] The visitor protection module includes:

[0109] The first submodule is used to enter the first visitor mode when the user identity includes the first type of visitor and does not include the second type of visitor, and to instruct the controllable device to enter the first visitor mode;

[0110] The second submodule is used to enter the second visitor mode when the user identity includes the second type of visitor, and to instruct the controllable device to enter the second visitor mode.

[0111] In one possible implementation of the second aspect, the apparatus further includes:

[0112] The mode switching module is used to enter the family member mode when a family member's exit operation is detected, and to instruct the controllable device to enter the family member mode.

[0113] Alternatively, the mode switching module is used to enter the first visitor mode when a family member's exit operation is detected, and to instruct the controllable device to enter the first visitor mode.

[0114] In one possible implementation of the second aspect, the apparatus further includes:

[0115] An authorization display module is used to display an authorization code, which is used to request visitor permissions from a target device, which is a family member's personal device.

[0116] In one possible implementation of the second aspect, the sensitive operations include home management operations and / or control operations on electronic devices with security functions.

[0117] In one possible implementation of the second aspect, the identity acquisition module is used to acquire the user's user characteristics, compare the user characteristics with pre-stored characteristics, and determine the user's user identity.

[0118] And / or, the identity acquisition module is used to receive the detection result sent by the detection device and determine the user's identity based on the detection result, wherein the detection device is an electronic device with the function of detecting user identity.

[0119] In one possible implementation of the second aspect, when the user characteristics include the number of users and the pre-stored characteristics include the number of household members, the identity acquisition module includes:

[0120] The comparison submodule is used to compare the number of users with the number of family members;

[0121] The determination submodule is used to determine whether the user's identity includes a visitor if the number of users is greater than the number of family members.

[0122] In one possible implementation of the second aspect, the number of family members is determined based on the number of people staying overnight in the family area each day during a historical period.

[0123] Thirdly, embodiments of this application provide a central device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor is configured to implement the method as described in the first aspect and any of the possible implementations of the first aspect when executing the computer program.

[0124] Fourthly, embodiments of this application provide a computer-readable storage medium configured to store a computer program, characterized in that, when executed by a processor, the computer program implements the method as described in the first aspect and any of the possible implementations of the first aspect.

[0125] Fifthly, embodiments of this application provide a computer program product, characterized in that the computer program product is configured to run on a control device, causing the control device to perform the method as described in the first aspect and any of the possible implementations of the first aspect.

[0126] In a sixth aspect, embodiments of this application provide a chip system, characterized in that the chip system includes a memory and a processor, the processor being configured to execute a computer program stored in the memory to implement the method as described in the first aspect and any of the possible implementations of the first aspect.

[0127] The beneficial effects of the embodiments in this application compared with the prior art are:

[0128] In the device control method of this application, when the central device determines that a user exists in the home area, the central device can obtain the user's identity. If the user identity includes a visitor, it indicates that a visitor has entered the home area. At this time, in order to prevent the visitor from viewing the family members' private information or performing sensitive operations without authorization, the central device can control the central device and controllable devices to enter visitor mode, and assist the silent device in protecting privacy information and / or restricting sensitive operations.

[0129] Through the aforementioned device control methods, the central device can prevent visitors from arbitrarily viewing family members' private information or performing sensitive operations without authorization, effectively reducing the possibility of privacy leaks and unauthorized operations, protecting users' privacy and personal and property safety, and possessing strong practicality and ease of use. Attached Figure Description

[0130] Figure 1 A system architecture diagram of a device control system provided in this application embodiment;

[0131] Figure 2 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;

[0132] Figure 3 A scenario diagram provided for an embodiment of this application;

[0133] Figure 4 This is another scenario illustration provided for an embodiment of this application;

[0134] Figure 5 This is another scenario illustration provided for an embodiment of this application;

[0135] Figure 6 This is another scenario illustration provided for an embodiment of this application;

[0136] Figure 7 This is another scenario illustration provided for an embodiment of this application;

[0137] Figure 8 This is another scenario illustration provided for an embodiment of this application;

[0138] Figure 9 This is another scenario illustration provided for an embodiment of this application;

[0139] Figure 10 This is another scenario illustration provided for an embodiment of this application;

[0140] Figure 11 This is another scenario illustration provided for an embodiment of this application;

[0141] Figure 12 This is another scenario illustration provided for an embodiment of this application;

[0142] Figure 13 This is another scenario illustration provided for an embodiment of this application;

[0143] Figure 14 This is another scenario illustration provided for an embodiment of this application;

[0144] Figure 15 This is another scenario illustration provided for an embodiment of this application;

[0145] Figure 16 This is another scenario illustration provided for an embodiment of this application;

[0146] Figure 17 This is another scenario illustration provided for an embodiment of this application;

[0147] Figure 18 This is another scenario illustration provided for an embodiment of this application;

[0148] Figure 19 This is another scenario illustration provided for an embodiment of this application;

[0149] Figure 20 This is another scenario illustration provided for an embodiment of this application;

[0150] Figure 21 This is another scenario illustration provided for an embodiment of this application;

[0151] Figure 22 A schematic flowchart illustrating a device control method provided in an embodiment of this application;

[0152] Figure 23 This is a schematic diagram of the structure of a device control apparatus provided in an embodiment of this application. Detailed Implementation

[0153] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0154] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0155] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0156] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0157] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0158] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0159] With the development of technology, more and more electronic devices have entered households, improving people's quality of life.

[0160] Among these electronic devices, some may record users' private information, while others may involve users' personal safety and property security.

[0161] For example, smart speakers may record users' listening history, favorite artists, and favorite songs; smart screens may record users' messages, viewing history, and favorite actors; thus, smart speakers and smart screens can make personalized recommendations based on this information, suggesting songs or movies that match the user's preferences; security devices such as cameras, smart door locks, and video doorbells (i.e., electronic devices with security functions) can monitor for unauthorized intrusions.

[0162] However, the electronic devices described above are usually unprotected against visitors. Therefore, when there are unfamiliar visitors in the home, they can freely view the user's private information on these electronic devices and / or operate security equipment without authorization, posing a serious threat to the user's privacy, personal safety, and property security.

[0163] For example, in some scenarios, when unfamiliar friends visit a home and the user and friend watch on a smart screen, the smart screen may make personalized recommendations based on the user's viewing preferences, making the user feel embarrassed. In other scenarios, when repairmen come to repair a home, they may take advantage of the user's inattention to turn off security devices such as cameras and steal the user's belongings, causing the user to suffer financial losses.

[0164] In view of this, the present application provides a device control method in which the central device can control each smart home device in the local area network to enter visitor mode when a visitor is detected, thereby protecting the user's privacy and personal and property safety, and has strong ease of use and practicality.

[0165] First, please refer to Figure 1 . Figure 1 An exemplary device control system to which embodiments of this application are applicable is shown.

[0166] like Figure 1 As shown, the device control system may include: one or more smart home devices 101 ( Figure 1 Only 3 are shown in the image), and one or more central devices 102. Figure 1 Only one is shown in the image.

[0167] The aforementioned smart home device 101 may include one or more of the following types of electronic devices: desktop computer, laptop computer, tablet computer, mobile phone, smart TV, smart screen, smart speaker, smart air conditioner, robot vacuum cleaner, dishwasher, smart lamp, smart door lock, smart curtain, router, LiDAR, millimeter wave radar, smart door lock, video doorbell, etc.

[0168] Central device 102 refers to an electronic device that can control smart home device 101. Central device 102 may be located on the same local area network as smart home device 101, and / or, central device 102 may also be a cloud server.

[0169] When the central device 102 is located within a local area network, the central device 102 can be a home control electronic device specifically used to control the whole house smart home devices 101; or, the central device 102 can also be a smart home device 101 with home central software installed. This home central software allows existing smart home devices 101 in the home (such as routers, smart screens, etc.) to control and make intelligent decisions on the whole house smart home devices 101 based on their existing functions.

[0170] For example, in some scenarios, the central device 102 can be a central control screen, through which users can control smart home devices 101; in other scenarios, the central device 102 can be a smart screen with home central control software installed, through which users can control other smart home devices 101; in still other scenarios, the central device 102 can be a smart speaker with home central control software installed, through which users can control other smart home devices 101; in yet another scenario, the central device 102 can be a cloud server, through which users can control smart home devices 101 within a local area network via the cloud server and a wide area network.

[0171] The aforementioned smart home device 101 and the aforementioned central device 102 can interact with each other through one or more of the following communication connections: Wi-Fi connection, Bluetooth connection, universal serial bus (USB) connection, registered jack 45 (RJ45) connection, power line communication (PLC) connection, etc.

[0172] refer to Figure 2 , Figure 2 An exemplary schematic diagram of the structure of an electronic device 200 provided in an embodiment of this application is shown. The electronic device 200 may be the aforementioned smart home device 101, and / or the electronic device 200 may also be the aforementioned central device 102.

[0173] Electronic device 200 may include processor 210, external memory interface 220, internal memory 221, universal serial bus (USB) interface 230, charging management module 240, power management module 241, battery 242, antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone jack 270D, sensor module 280, button 290, motor 291, indicator 292, camera 293, display screen 294, and subscriber identification module (SIM) card interface 295, etc. The sensor module 280 may include a pressure sensor 280A, a gyroscope sensor 280B, a barometric pressure sensor 280C, a magnetic sensor 280D, an accelerometer sensor 280E, a distance sensor 280F, a proximity sensor 280G, a fingerprint sensor 280H, a temperature sensor 280J, a touch sensor 280K, an ambient light sensor 280L, a bone conduction sensor 280M, etc.

[0174] Processor 210 may include one or more processing units, such as application processors (APs), modem processors, graphics processing units (GPUs), image signal processors (ISPs), controllers, video codecs, digital signal processors (DSPs), baseband processors, and / or neural network processing units (NPUs). These different processing units may be independent devices or integrated into one or more processors.

[0175] The controller can generate operation control signals based on the instruction opcode and timing signals to complete the control of instruction fetching and execution.

[0176] The processor 210 may also include a memory for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. This memory can store instructions or data that the processor 210 has just used or that are used repeatedly. If the processor 210 needs to use the instruction or data again, it can directly retrieve it from the memory. This avoids repeated accesses, reduces the waiting time of the processor 210, and thus improves the efficiency of the system.

[0177] In some embodiments, the processor 210 may include one or more interfaces. Interfaces may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0178] The I2C interface is a bidirectional synchronous serial bus, including a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 210 may include multiple I2C buses. The processor 210 can couple to the touch sensor 280K, charger, flash, camera 293, etc., through different I2C bus interfaces. For example, the processor 210 can couple to the touch sensor 280K through the I2C interface, enabling the processor 210 and the touch sensor 280K to communicate through the I2C bus interface, thereby realizing the touch function of the electronic device 200.

[0179] The I2S interface can be used for audio communication. In some embodiments, the processor 210 may include multiple I2S buses. The processor 210 can be coupled to the audio module 270 via the I2S bus to enable communication between the processor 210 and the audio module 270. In some embodiments, the audio module 270 can transmit audio signals to the wireless communication module 260 via the I2S interface to enable the function of answering phone calls through a Bluetooth headset.

[0180] The PCM interface can also be used for audio communication, sampling, quantizing, and encoding analog signals. In some embodiments, the audio module 270 and the wireless communication module 260 can be coupled via the PCM bus interface. In some embodiments, the audio module 270 can also transmit audio signals to the wireless communication module 260 via the PCM interface, enabling the function of answering phone calls through a Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.

[0181] The UART interface is a universal serial data bus used for asynchronous communication. This bus can be a bidirectional communication bus. It converts the data to be transmitted between serial and parallel communication. In some embodiments, the UART interface is typically used to connect the processor 210 and the wireless communication module 260. For example, the processor 210 communicates with the Bluetooth module in the wireless communication module 260 via the UART interface to implement Bluetooth functionality. In some embodiments, the audio module 270 can transmit audio signals to the wireless communication module 260 via the UART interface to enable music playback through Bluetooth headphones.

[0182] The MIPI interface can be used to connect the processor 210 to peripheral devices such as the display screen 294 and the camera 293. The MIPI interface includes a camera serial interface (CSI) and a display serial interface (DSI). In some embodiments, the processor 210 and the camera 293 communicate via the CSI interface to enable the electronic device 200 to capture images. The processor 210 and the display screen 294 communicate via the DSI interface to enable the electronic device 200 to display images.

[0183] The GPIO interface can be configured via software. It can be configured as a control signal or a data signal. In some embodiments, the GPIO interface can be used to connect the processor 210 to a camera 293, a display screen 294, a wireless communication module 260, an audio module 270, a sensor module 280, etc. The GPIO interface can also be configured as an I2C interface, an I2S interface, a UART interface, a MIPI interface, etc.

[0184] USB port 230 is a USB standard compliant interface, specifically a Mini USB port, Micro USB port, or USB Type-C port. USB port 230 can be used to connect a charger to charge electronic device 200, and can also be used for data transfer between electronic device 200 and peripheral devices. It can also be used to connect headphones for audio playback. This interface can also be used to connect other electronic devices, such as AR devices.

[0185] It is understood that the interface connection relationships between the modules illustrated in the embodiments of the present invention are merely illustrative and do not constitute a structural limitation on the electronic device 200. In other embodiments of this application, the electronic device 200 may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.

[0186] The charging management module 240 receives charging input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 240 receives charging input from the wired charger via a USB interface 230. In some wireless charging embodiments, the charging management module 240 receives wireless charging input via the wireless charging coil of the electronic device 200. While charging the battery 242, the charging management module 240 can also supply power to the electronic device via the power management module 241.

[0187] The power management module 241 connects the battery 242, the charging management module 240, and the processor 210. The power management module 241 receives input from the battery 242 and / or the charging management module 240, providing power to the processor 210, internal memory 221, display screen 294, camera 293, and wireless communication module 260, etc. The power management module 241 can also monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage current, impedance). In some other embodiments, the power management module 241 may also be located within the processor 210. In other embodiments, the power management module 241 and the charging management module 240 may be located in the same device.

[0188] The wireless communication function of electronic device 200 can be implemented through antenna 1, antenna 2, mobile communication module 250, wireless communication module 260, modem processor, and baseband processor.

[0189] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 200 can be used to cover one or more communication frequency bands. Different antennas can also be multiplexed to improve antenna utilization. For example, antenna 1 can be multiplexed as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.

[0190] The mobile communication module 250 can provide solutions for wireless communication, including 2G / 3G / 4G / 5G, applied to the electronic device 200. The mobile communication module 250 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 250 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 250 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 250 may be housed in the processor 210. In some embodiments, at least some functional modules of the mobile communication module 250 and at least some modules of the processor 210 may be housed in the same device.

[0191] The modem processor may include a modulator and a demodulator. The modulator modulates the low-frequency baseband signal to be transmitted into a mid-to-high frequency signal. The demodulator demodulates the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low-frequency baseband signal to the baseband processor for processing. After processing by the baseband processor, the low-frequency baseband signal is transmitted to the application processor. The application processor outputs sound signals through an audio device (not limited to speaker 270A, receiver 270B, etc.) or displays images or videos through the display screen 294. In some embodiments, the modem processor may be a separate device. In other embodiments, the modem processor may be independent of the processor 210 and may be housed in the same device as the mobile communication module 250 or other functional modules.

[0192] The wireless communication module 260 can provide solutions for wireless communication applications on the electronic device 200, including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), and infrared (IR) technologies. The wireless communication module 260 can be one or more devices integrating at least one communication processing module. The wireless communication module 260 receives electromagnetic waves via antenna 2, performs frequency modulation and filtering of the electromagnetic wave signals, and sends the processed signal to processor 210. The wireless communication module 260 can also receive signals to be transmitted from processor 210, perform frequency modulation and amplification, and convert them into electromagnetic waves for radiation via antenna 2.

[0193] In some embodiments, antenna 1 of electronic device 200 is coupled to mobile communication module 250, and antenna 2 is coupled to wireless communication module 260, enabling electronic device 200 to communicate with networks and other devices via wireless communication technology. The wireless communication technology may include Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and / or IR technologies, etc. The GNSS may include the Global Positioning System (GPS), the Global Navigation Satellite System (GLONASS), the BeiDou Navigation Satellite System (BDS), the Quasi-Zenith Satellite System (QZSS), and / or satellite-based augmentation systems (SBAS).

[0194] Electronic device 200 implements display functions through a GPU, a display screen 294, and an application processor. The GPU is a microprocessor for image processing, connected to the display screen 294 and the application processor. The GPU is used to perform mathematical and geometric calculations and for graphics rendering. Processor 210 may include one or more GPUs, which execute program instructions to generate or modify display information.

[0195] Display screen 294 is used to display images, videos, etc. Display screen 294 includes a display panel. The display panel may be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), a miniature LED, a microLED, a quantum dot light-emitting diode (QLED), etc. In some embodiments, electronic device 200 may include one or N displays 294, where N is a positive integer greater than 1.

[0196] Electronic device 200 can perform shooting functions through ISP, camera 293, video codec, GPU, display screen 294 and application processor.

[0197] The ISP (Image Signal Processor) is used to process data fed back from the camera 293. For example, when taking a picture, the shutter is opened, and light is transmitted through the lens to the camera's photosensitive element. The light signal is converted into an electrical signal, and the camera's photosensitive element transmits the electrical signal to the ISP for processing, transforming it into an image visible to the naked eye. The ISP can also perform algorithmic optimization on image noise, brightness, and skin tone. The ISP can also optimize parameters such as exposure and color temperature of the shooting scene. In some embodiments, the ISP can be set in the camera 293.

[0198] Camera 293 is used to capture still images or videos. An object is projected onto a photosensitive element by generating an optical image through the lens. The photosensitive element can be a charge-coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, which is then passed to an ISP for conversion into a digital image signal. The ISP outputs the digital image signal to a DSP for processing. The DSP converts the digital image signal into image signals in standard RGB, YUV, or other formats. In some embodiments, the electronic device 200 may include one or N cameras 293, where N is a positive integer greater than 1.

[0199] Digital signal processors (DSPs) are used to process digital signals. Besides digital image signals, they can also process other digital signals. For example, when electronic device 200 selects a frequency, the DSP is used to perform Fourier transforms on the frequency energy.

[0200] Video codecs are used to compress or decompress digital video. Electronic device 200 may support one or more video codecs. Thus, electronic device 200 can play or record video in various encoding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0201] An NPU (Neural Processing Unit) is a neural network (NN) computing processor that, by borrowing the structure of biological neural networks, such as the transmission patterns between neurons in the human brain, rapidly processes input information and can continuously learn on its own. NPUs enable intelligent cognitive applications in electronic devices, such as image recognition, facial recognition, speech recognition, and text understanding.

[0202] The external storage interface 220 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 200. The external memory card communicates with the processor 210 through the external storage interface 220 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.

[0203] Internal memory 221 can be used to store computer executable program code, which includes instructions. Internal memory 221 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of electronic device 200 (such as audio data, phonebook, etc.). Furthermore, internal memory 221 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 210 executes various functional applications and data processing of electronic device 200 by running instructions stored in internal memory 221 and / or instructions stored in memory disposed in the processor.

[0204] Electronic device 200 can implement audio functions such as music playback and recording through audio module 270, speaker 270A, receiver 270B, microphone 270C, headphone jack 270D, and application processor.

[0205] The audio module 270 is used to convert digital audio information into analog audio signals for output, and also to convert analog audio input into digital audio signals. The audio module 270 can also be used for encoding and decoding audio signals. In some embodiments, the audio module 270 may be located in the processor 210, or some functional modules of the audio module 270 may be located in the processor 210.

[0206] The speaker 270A, also known as a "loudspeaker," is used to convert audio electrical signals into sound signals. The electronic device 200 can listen to music or make hands-free calls through the speaker 270A.

[0207] The receiver 270B, also known as the "earpiece," is used to convert audio electrical signals into sound signals. When the electronic device 200 answers a telephone call or voice message, the receiver 270B can be brought close to the ear to listen to the voice.

[0208] Microphone 270C, also known as a "microphone" or "voice transducer," is used to convert sound signals into electrical signals. When making a phone call or sending a voice message, the user can speak by bringing their mouth close to microphone 270C, inputting the sound signal into microphone 270C. Electronic device 200 may have at least one microphone 270C. In some embodiments, electronic device 200 may have two microphones 270C, which, in addition to collecting sound signals, can also perform noise reduction. In other embodiments, electronic device 200 may also have three, four, or more microphones 270C, which can collect sound signals, reduce noise, identify the sound source, and perform directional recording, etc.

[0209] The headphone jack 270D is used to connect wired headphones. The headphone jack 270D can be a USB 230 interface or a 3.5mm Open Mobile Terminal Platform (OMTP) standard interface, a CTIA (Cellular Telecommunications Industry Association of the USA) standard interface.

[0210] Pressure sensor 280A is used to sense pressure signals and convert them into electrical signals. In some embodiments, pressure sensor 280A can be disposed on display screen 294. There are many types of pressure sensors 280A, such as resistive pressure sensors, inductive pressure sensors, and capacitive pressure sensors. A capacitive pressure sensor may include at least two parallel plates with conductive material. When force is applied to pressure sensor 280A, the capacitance between the electrodes changes. Electronic device 200 determines the pressure intensity based on the change in capacitance. When a touch operation is applied to display screen 294, electronic device 200 detects the intensity of the touch operation based on pressure sensor 280A. Electronic device 200 can also calculate the touch position based on the detection signal from pressure sensor 280A. In some embodiments, touch operations applied to the same touch position but with different touch operation intensities can correspond to different operation commands. For example, when a touch operation with an intensity less than a first pressure threshold is applied to the SMS application icon, a command to view an SMS is executed. When a touch operation with an intensity greater than or equal to the first pressure threshold is applied to the SMS application icon, a command to create a new SMS is executed.

[0211] The gyroscope sensor 280B can be used to determine the motion attitude of the electronic device 200. In some embodiments, the gyroscope sensor 280B can determine the angular velocity of the electronic device 200 around three axes (i.e., the x, y, and z axes). The gyroscope sensor 280B can be used for image stabilization. For example, when the shutter is pressed, the gyroscope sensor 280B detects the angle of the electronic device 200's shake, calculates the distance that the lens module needs to compensate based on the angle, and allows the lens to counteract the shake of the electronic device 200 through reverse movement, thus achieving image stabilization. The gyroscope sensor 280B can also be used in navigation and motion-sensing game scenarios.

[0212] The barometric pressure sensor 280C is used to measure air pressure. In some embodiments, the electronic device 200 calculates altitude using the air pressure value measured by the barometric pressure sensor 280C to assist in positioning and navigation.

[0213] The magnetic sensor 280D includes a Hall sensor. The electronic device 200 can use the magnetic sensor 280D to detect the opening and closing of the flip cover. In some embodiments, when the electronic device 200 is a flip phone, the electronic device 200 can detect the opening and closing of the flip cover using the magnetic sensor 280D. Then, based on the detected opening and closing state of the cover or the flip cover, features such as automatic flip unlocking can be set.

[0214] The accelerometer 280E can detect the magnitude of acceleration of electronic device 200 in various directions (typically three axes). When electronic device 200 is stationary, it can detect the magnitude and direction of gravity. It can also be used to identify the posture of electronic device, and can be applied to applications such as screen orientation switching and pedometers.

[0215] A distance sensor 280F is used to measure distance. Electronic device 200 can measure distance via infrared or laser. In some embodiments, during a shooting scene, electronic device 200 can utilize the distance sensor 280F to measure distance for rapid focusing.

[0216] The proximity sensor 280G may include, for example, a light-emitting diode (LED) and a light detector, such as a photodiode. The LED may be an infrared LED. The electronic device 200 emits infrared light outward through the LED. The electronic device 200 uses the photodiode to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that an object is near the electronic device 200. When insufficient reflected light is detected, the electronic device 200 can determine that no object is near the electronic device 200. The electronic device 200 may use the proximity sensor 280G to detect when a user holds the electronic device 200 close to their ear for a call, so as to automatically turn off the screen to save power. The proximity sensor 280G can also be used in holster mode and pocket mode for automatic unlocking and locking of the screen.

[0217] The ambient light sensor 280L is used to sense the brightness of ambient light. The electronic device 200 can adaptively adjust the brightness of its display screen 294 based on the sensed ambient light level. The ambient light sensor 280L can also be used to automatically adjust the white balance when taking photos. The ambient light sensor 280L can also work in conjunction with the proximity sensor 280G to detect whether the electronic device 200 is in a pocket, preventing accidental touches.

[0218] The fingerprint sensor 280H is used to collect fingerprints. The electronic device 200 can utilize the characteristics of the collected fingerprints to achieve fingerprint unlocking, accessing application locks, taking photos with fingerprints, answering calls with fingerprints, etc.

[0219] Temperature sensor 280J is used to detect temperature. In some embodiments, electronic device 200 uses the temperature detected by temperature sensor 280J to execute a temperature handling strategy. For example, when the temperature reported by temperature sensor 280J exceeds a threshold, electronic device 200 reduces the performance of a processor located near temperature sensor 280J to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is below another threshold, electronic device 200 heats battery 242 to prevent abnormal shutdown of electronic device 200 due to low temperature. In still other embodiments, when the temperature is below yet another threshold, electronic device 200 boosts the output voltage of battery 242 to prevent abnormal shutdown due to low temperature.

[0220] Touch sensor 280K, also known as a "touch device," can be located on display screen 294. The touch sensor 280K and display screen 294 together form a touchscreen, also known as a "touchscreen." Touch sensor 280K detects touch operations applied to or near it. The touch sensor can transmit the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through display screen 294. In other embodiments, touch sensor 280K may also be located on the surface of electronic device 200, in a different position than display screen 294.

[0221] The bone conduction sensor 280M can acquire vibration signals. In some embodiments, the bone conduction sensor 280M can acquire vibration signals from the vibrating bone segments of the human vocal cords. The bone conduction sensor 280M can also contact the human pulse to receive blood pressure signals. In some embodiments, the bone conduction sensor 280M can also be incorporated into headphones to form bone conduction headphones. The audio module 270 can parse the voice signals from the vibrating bone segments of the vocal cords acquired by the bone conduction sensor 280M to realize voice functionality. The application processor can parse heart rate information from the blood pressure signals acquired by the bone conduction sensor 280M to realize heart rate detection functionality.

[0222] Buttons 290 include a power button, volume buttons, etc. Buttons 290 can be mechanical buttons or touch-sensitive buttons. Electronic device 200 can receive button input and generate key signal inputs related to user settings and function control of electronic device 200.

[0223] Motor 291 can generate vibration alerts. Motor 291 can be used for incoming call vibration alerts or for touch vibration feedback. For example, different vibration feedback effects can be corresponding to touch operations applied to different applications (such as taking photos, playing audio, etc.). Motor 291 can also correspond to different vibration feedback effects for touch operations applied to different areas of the display screen 294. Different application scenarios (such as time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also be customized.

[0224] Indicator 292 can be an indicator light, which can be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0225] The SIM card interface 295 is used to connect a SIM card. The SIM card can be inserted into or removed from the SIM card interface 295 to make contact with and separate from the electronic device 200. The electronic device 200 can support one or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 can support Nano SIM cards, Micro SIM cards, SIM cards, etc. Multiple cards can be inserted into the same SIM card interface 295 simultaneously. The multiple cards can be of the same or different types. The SIM card interface 295 is also compatible with different types of SIM cards. The SIM card interface 295 is also compatible with external memory cards. The electronic device 200 interacts with the network through the SIM card to realize functions such as calls and data communication. In some embodiments, the electronic device 200 uses an eSIM, i.e., an embedded SIM card. The eSIM card can be embedded in the electronic device 200 and cannot be separated from the electronic device 200.

[0226] It is understood that the structures illustrated in the embodiments of this application do not constitute a specific limitation on the electronic device 200. In other embodiments of this application, the electronic device 200 may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0227] The following will be based on Figure 1 The equipment control system shown Figure 2 The electronic device shown is illustrated, and the device control method provided in the embodiments of this application is described in detail in conjunction with specific application scenarios.

[0228] 1. Enter family information.

[0229] During the initialization phase, the central device can respond to the user's information entry operation and enter family information.

[0230] The aforementioned family information is used to distinguish between family members and visitors. This family information may include one or more of the following: administrator password, facial information of family members, fingerprint data of family members, voiceprint data of family members, and number of family members.

[0231] In some embodiments, the aforementioned family information may be information directly recorded by the central device. For example, assuming the central device is equipped with a camera, the user can directly record the facial information of family members through the central device's camera.

[0232] In other embodiments, the aforementioned family information may also be information transmitted from other smart home devices within the local area network to the central device. For example, a user can register the fingerprint data of family members on a smart door lock. After registration, the smart door lock can send the fingerprint data to the central device via the local area network.

[0233] In other embodiments, the aforementioned family information may also be information transmitted from electronic devices outside the local area network to the central device. For example, such as... Figure 3 As shown, assuming that the user's mobile phone 31 and the central device 32 are logged into the same IoT account, after the user records the voiceprint data of a family member through the microphone on the mobile phone 31, the mobile phone 31 can synchronize the voiceprint data to the central device 32 under the same IoT account through the IoT server 33 in the cloud.

[0234] In other embodiments, the aforementioned family information may also be obtained by the central device based on historical data analysis. For example, the central device can determine the family size based on the number of people staying overnight each day within a historical time period. Taking a specific scenario as an example, assuming the historical time period is the most recent week, if the central device detects that the mode of the number of people staying overnight each day within the most recent week is 3, then the central device can determine the family size to be 3.

[0235] In other embodiments, the central device may also input family information through other means. This application does not limit the specific method by which the central device inputs family information.

[0236] 2. Identify user identity.

[0237] Among the aforementioned smart home devices and central control devices, some electronic devices possess the function of detecting user identity. In the following description, these electronic devices with detection capabilities can be defined as detection devices.

[0238] The aforementioned detection equipment may include one or more electronic devices such as cameras, video doorbells, smart door locks, millimeter-wave radar, motion sensors, presence sensors, and smart speakers.

[0239] During operation, the detection equipment can collect user characteristics of each user within a residential area.

[0240] The aforementioned user characteristics are used to identify users, and user identities may include family members and visitors. These user characteristics may include one or more types of feature data, such as facial information, fingerprint data, access control passwords, sensor data, and voiceprint data.

[0241] After collecting user characteristics, the detection device can process these characteristics locally to identify the user's identity. The detection device can then send the detection results to the central device. These results may include one or more pieces of information such as user identity and the presence of visitors in the home area. Upon receiving these results, the central device can determine whether visitors are present in the home area.

[0242] And / or, after collecting user characteristics, the detection device can also directly send the user characteristics to the central device. After receiving the user characteristics, the central device processes the user characteristics, identifies the user identity corresponding to the user characteristics, and determines whether there are visitors in the home area based on the user identity.

[0243] For example, suppose the central device is a control screen and the detection device is a camera. After the camera captures facial information, it can locally identify the user's identity corresponding to that facial information and send that user identity to the control screen.

[0244] Alternatively, after the camera captures facial information, it can directly send the facial information to the central control screen. After receiving the facial information, the central control screen can identify the user identity corresponding to the facial information.

[0245] The method by which central devices / detection devices identify users can be set according to user characteristics and actual scenarios.

[0246] For example, please refer to Table 1, which schematically lists four ways to identify a user:

[0247] Table 1

[0248]

[0249] As shown in Table 1, the central device / detection device can identify the user identity corresponding to the user characteristics through methods such as face recognition, voiceprint recognition, password recognition, and number recognition.

[0250] When the central device / detection device uses facial recognition, it can match the user's facial information with pre-recorded facial information of family members. If the user's facial information matches a family member's facial information, the user is considered a family member. If the match fails, the user is considered a visitor.

[0251] When the central device / detection device uses voiceprint recognition, it can match the voiceprint data in the user's characteristics with the pre-recorded voiceprint data of family members. If the voiceprint data in the user's characteristics matches successfully with the voiceprint data of a family member, it indicates that the user corresponding to that voiceprint data is a family member. If the voiceprint data in the user's characteristics fails to match with the voiceprint data of a family member, it indicates that the user corresponding to that voiceprint data is a visitor.

[0252] When the central / detection device uses password recognition, it compares the user-entered password with the administrator password and a temporary password. The temporary password is assigned to the visitor by the administrator and may have access limits and / or time restrictions. For example, in some scenarios, the administrator can set the access limit for a temporary password to one, meaning it can only be used once and expires automatically. In other scenarios, the administrator can set the validity period for a temporary password to 10 minutes, meaning the visitor can only use it within that time, after which it automatically expires. If the password to be verified is the administrator password, it indicates that the user may be a family member. If the password to be verified is a temporary password, it indicates that the user is a visitor, and a visitor is present in the home area.

[0253] When the central device / detection device uses people recognition, the aforementioned user characteristics include the number of users in the current household area. The central device / detection device can compare the number of users with the number of household members. If the number of users is less than or equal to the number of household members, it indicates that there may be no visitors in the household area. If the number of users is greater than the number of household members, it indicates that there are visitors in the household area.

[0254] The examples above illustrate four methods for identifying user identities. In practical applications, the central device / detection device may employ the identification methods described above, and / or other undescribed identification methods. This application does not limit the specific method used by the central device / detection device to identify user identities.

[0255] Furthermore, the types of visitors mentioned above can be set according to actual needs. For example, in some embodiments, the administrator (equipment manufacturer or holder of the central device) can define users other than family members as visitors; in other embodiments, the administrator can divide visitors into trusted visitors and temporary visitors, where trusted visitors are relatives, acquaintances, or other close friends, and temporary visitors are unfamiliar friends, on-site repair personnel, property management personnel, or other visitors who come temporarily; in other embodiments, the administrator can also divide visitors into level one visitors, level two visitors, and level three visitors, and set corresponding permissions for each level of visitors; in other embodiments, the administrator can also divide visitor types in other ways. This application does not limit the specific method by which the administrator divides visitor types.

[0256] It should be noted that, given the various ways visitor types can be represented, the following descriptions will use "trusted visitors" and "temporary visitors" as illustrative examples. It is understood that, unless otherwise specified, the following descriptions also apply to other methods of visitor type classification.

[0257] 3. Enter guest mode.

[0258] When the central device determines that there is a visitor in the home area, the central device can enter visitor mode and send visitor mode notifications to various smart home devices in the local area network.

[0259] When a smart home device receives a guest mode notification, it can enter guest mode.

[0260] In guest mode, electronic devices can protect the privacy of family members and / or restrict sensitive operations. Sensitive operations refer to operations that involve the personal safety and property of family members, such as controlling security devices or changing family information.

[0261] Specifically, electronic devices can protect privacy information and restrict sensitive operations through one or more of the following protection strategies: anonymizing privacy information, hiding privacy information, hiding access points to privacy information, blocking sensitive operations, hiding access points to sensitive operations, and performing authentication when sensitive operations are detected.

[0262] For example, please refer to Table 2, which lists four protection strategies for protected objects.

[0263] Table 2

[0264]

[0265] As shown in Table 2, in Family Member Mode, electronic devices can display voice messages, text messages, and other communication content normally. In Guest Mode, electronic devices can anonymize this communication content, prompting the user to view it on their personal device. Personal devices can refer to non-shared electronic devices such as mobile phones and smart wearable devices.

[0266] For example, when a smart speaker is in guest mode, if it receives a voice message, it can announce, "You have a new voice message. Please view it on your phone." This prompts family members to listen to the voice message on their phones, avoiding the smart speaker directly broadcasting the voice message in front of guests and causing embarrassment to family members.

[0267] In Family Member Mode, electronic devices can play and recommend audio and video content to family members based on their playback history, favorite music / artists, and preferred video genres / actors. In Guest Mode, playback history can be hidden, and audio and video content will not be played or recommended based on playback history or personal preferences.

[0268] For example, suppose a family member enjoys watching cartoons on the smart screen. In family member mode, the smart screen can recommend cartoons to that family member based on their viewing history and personal preferences. In guest mode, the smart screen can hide the viewing history and randomly recommend videos to avoid letting guests know that a family member enjoys watching cartoons.

[0269] For sensitive operations such as operating security devices and changing family information, in Family Member Mode, the electronic device can display the access point for sensitive operations normally. Furthermore, in some scenarios, family members can directly perform sensitive operations without authentication. In Guest Mode, the electronic device can hide the access point for sensitive operations to prevent visitors from performing them. Alternatively, the electronic device can require user authentication when a sensitive operation is detected. Authentication can include one or more methods such as facial recognition, fingerprint verification, voiceprint verification, and password verification. If authentication is successful, it indicates that a family member is performing the sensitive operation, and the electronic device can execute the sensitive operation; if authentication fails, it indicates that a non-family member is performing the sensitive operation, and the electronic device can refuse to execute the sensitive operation.

[0270] For example, please refer to Figure 4 and Figure 5 Assume the central device is the central control screen 41, and the security equipment includes cameras 42.

[0271] like Figure 5As shown in scenario (a), the camera control interface 410 of the central control screen 41 includes a monitoring display interface 411, a pan-tilt left control 412, a pan-tilt right control 413, a pan-tilt up control 414, a pan-tilt down control 415, and a switch control 416. In family member mode, when the camera 42 is on, when the central control screen 41 detects a user's click on the switch control 416, the central control screen 41 can directly send a shutdown command to the camera 42.

[0272] like Figure 5 As shown in scenario (b) in the example, in guest mode, when camera 42 is on, and the central control screen 41 detects a user's click on switch control 416, the central control screen 41 can pop up an authentication box 417 and a virtual keyboard 418. Then, in response to the user's operation on the virtual keyboard 418, the central control screen 41 can obtain the password to be verified and compare it with the administrator password. If the password to be verified matches the administrator password, authentication is successful, and the central control screen 41 can send a shutdown command to camera 42. If the password to be verified does not match the administrator password, authentication fails, and the central control screen 41 may not respond to the user's click on switch control 416.

[0273] For private information such as family photo albums, delivery addresses, and phone numbers, in family member mode, the electronic device can display access to this information normally, and users can also edit this information. In guest mode, the electronic device can still display access to this information; however, when the device detects a user editing the information, it can require user authentication. If authentication is successful, the device allows the user to edit the information; if authentication fails, the device can refuse the user's editing. Alternatively, the electronic device can hide access to this information to prevent guests from viewing family members' private information.

[0274] For example, such as Figure 6 As shown in scenario (a), assume that the homepage of the smart screen includes channel program control 601, application software control 602, cloud space control 603, and system settings control 604.

[0275] In family member mode, the smart screen can normally display four controls: channel program control 601, application software control 602, cloud space control 603, and system settings control 604. When the smart screen detects a user's selection of the cloud space control 603, the smart screen can access the cloud space interface. Figure 6 As shown in scenario (b), the smart screen can display photos, documents, videos and other content in the cloud space to users in the cloud space access interface.

[0276] like Figure 7 As shown, in guest mode, the smart screen's homepage can directly hide the cloud space control 603. At this time, users cannot access the cloud space interface or view its content.

[0277] The above schematically illustrates the protection strategies of electronic devices for the four types of protected objects. In practical application scenarios, the aforementioned privacy information and sensitive operations may include the four types of protected objects, and / or may include other protected objects not shown. Furthermore, when protecting privacy information and restricting sensitive operations, electronic devices may employ the protection strategies shown above, and / or may employ other protection strategies not shown. This application embodiment does not limit the objects protected by the electronic device in guest mode or the protection strategies adopted.

[0278] Furthermore, when different types of visitors exist, different visitor types can correspond to different visitor modes. Different visitor modes can employ different protection strategies. In this case, the central device can control the central device and smart home devices to enter the corresponding visitor mode based on the identified visitor type.

[0279] For example, such as Figure 8 As shown, assuming the central device is the central control screen, visitor types include trusted visitors and temporary visitors.

[0280] When the central control screen determines that there are trusted visitors within the home area and no temporary visitors, the central control screen can enter trusted visitor mode. For example... Figure 8 As shown in scenario (a), in trusted visitor mode, the main interface 801 of the central control screen may include basic device controls 81, security device controls 82, scenario setting controls 83, and system setting controls 84. For example... Figure 8 As shown in scenario (b), when the central control screen detects a user's click on the security device control 82, the central control screen can pop up an authentication box 85 and a virtual keyboard 86. Then, in response to the user's operation on the virtual keyboard 86, the central control screen can obtain the password to be verified and compare it with the administrator password. Figure 9 As shown, if the password to be verified matches the administrator's password, authentication is successful, and the central control screen can access the security device control interface 802. At this time, the user can control the security devices displayed on the interface, such as cameras, smoke detectors, and biometric sensors. If the password to be verified does not match the administrator's password, authentication fails, and the central control screen may not respond to user clicks on the security device controls.

[0281] like Figure 10As shown, when the central control screen determines that there is a temporary visitor in the home area, the central control screen can enter the temporary visitor mode, and the central control screen can hide the security device control 82 on the main interface 801. At this time, the main interface 801 of the central control screen can include the basic device control 81, the scene setting control 83, and the system setting control 84, but does not include the security device control 82. The user cannot find the security device control 82 and cannot enter the security device control interface 802.

[0282] In the examples described above, different visitor types correspond to different visitor modes, and the central device can determine the corresponding visitor mode based on the identified visitor type. In this way, the central device can manage different types of visitors more flexibly and provide different permissions to different types of visitors.

[0283] Furthermore, when the central device detects visitors of different visitor types within the home area, it can determine the target visitor type with the lowest privileges from among these visitor types and enter the visitor mode corresponding to that target visitor type. For example, suppose a trusted visitor has higher privileges than a temporary visitor. When the central device recognizes the presence of both trusted and temporary visitors in the home area, it can enter the temporary visitor mode instead of the trusted visitor mode. In this way, the central device can prevent visitors with lower privileges from using the privileges of other visitors to view family members' private information and / or perform sensitive operations beyond their authority, thus protecting the privacy, safety, and property security of family members.

[0284] 4. Personal device licensing.

[0285] In real-world applications, visitors may want to use their personal devices to control central devices / smart home devices within their home area.

[0286] At this point, electronic devices with displays (such as central devices and / or smart home devices) can display the authorization code on the screen. This authorization code can be displayed using any one or more forms, such as barcodes, QR codes, or RFID tags. After a visitor scans the authorization code using their personal device, the visitor device can send an authorization request to the target device. The target device refers to a personal device logged into the same IoT account as the central device, or it can be understood as a family member's personal device.

[0287] When the target device agrees to the above authorization request, the guest device can obtain guest permissions.

[0288] When the target device rejects the above authorization request, the guest device cannot obtain guest permissions.

[0289] The type of visitor permission can be related to the visitor mode currently in which the central device / smart home device is located.

[0290] For example, when the central device and smart home devices in the home area are in trusted visitor mode, the visitor device can obtain trusted visitor permissions after being authorized by the target device; when the central device and smart home devices in the home area are in temporary visitor mode, the visitor device can obtain temporary visitor permissions after being authorized by the target device.

[0291] Alternatively, the type of visitor permission mentioned above can also be set by the target device.

[0292] For example, such as Figure 11 As shown, assuming the target device is a mobile phone, when the mobile phone receives an authorization request, it can display an authorization consultation box 111. The authorization consultation box includes the text "Guest device requests guest permissions" and provides an "Agree" control 1111 and a "Deny" control 1112. When the mobile phone detects that the user clicks on the "Agree" control 1111, as shown... Figure 12 As shown, the phone can display a permission selection box 112. Permission selection box 112 includes two options: "Trusted Guest Permission" and "Temporary Guest Permission". When the phone detects a user's click on "Trusted Guest Permission", it can send a trusted guest authorization notification to the guest device. This trusted guest authorization notification is used to grant trusted guest permissions to the guest device.

[0293] Furthermore, when a guest device is granted different guest permissions, the guest device can have different operational scopes.

[0294] For example, please refer to Table 3, which schematically lists the operation scope corresponding to different permissions:

[0295] Table 3

[0296] Security control operation Privacy viewing operation Family management operation Basic equipment operation Family member permissions Fully controllable Fully controllable Fully controllable Fully controllable Trusted visitor permissions Authorization controllable Authorization controllable Completely uncontrollable Fully controllable Temporary visitor permissions Completely uncontrollable Completely uncontrollable Completely uncontrollable Authorization controllable

[0297] Among them, security control operations can include controlling security devices; privacy viewing operations can include viewing the privacy information of family members; family management operations can include changing family information, sharing permissions, changing permissions, etc.; basic device operations can include controlling low-risk smart home devices other than security control operations, privacy viewing operations, and family management operations, such as turning on the smart screen, turning on the air conditioner, controlling the robot vacuum cleaner, turning on / off smart lights, etc.

[0298] Fully controllable means that the target device / guest device can directly perform such operations; authorized controllable means that the guest device needs to request operation permission from the target device before performing such operations, and the guest device can perform such operations if the target device grants operation permission; completely uncontrollable means that the guest device is prohibited from performing such operations.

[0299] For the target device, if the target device has family member permissions, as shown in Table 3, then the target device can directly perform security control operations, privacy viewing operations, family management operations, and basic device operations.

[0300] For guest devices, if the guest device has trusted guest permissions, as shown in Table 3, the guest device can directly perform basic device operations; and, if the target device grants operation permissions, the guest device can also perform security control operations and privacy viewing operations.

[0301] For guest devices, if the guest device has temporary guest permissions, as shown in Table 3, the guest device can perform basic device operations, but is prohibited from performing security control operations and privacy viewing operations, provided that the target device grants operation permissions.

[0302] Furthermore, to prevent guest devices from stealing family members' permissions, guest devices are prohibited from performing family management operations regardless of the type of guest permissions they possess.

[0303] In addition to differences in the scope of operation, different visitor permissions may also have different usage restrictions.

[0304] For example, in some embodiments, trusted visitor permissions have no time limit, while temporary visitor permissions can only be used for a limited period of time; in other embodiments, trusted visitor permissions have no limit on the number of uses, while temporary visitor permissions can only be used a limited number of times; in still other embodiments, trusted visitor permissions have no network restrictions, and a visitor device with trusted visitor permissions can use the trusted visitor permissions to control the aforementioned smart home devices through a home LAN or WAN, while temporary visitor permissions can only be used when the visitor device is connected to the corresponding home LAN. When a visitor device with temporary visitor permissions leaves the home LAN, the visitor device cannot use the temporary visitor permissions and cannot control the aforementioned smart home devices.

[0305] Furthermore, it should be noted that the aforementioned visitor types and visitor permissions can be changed.

[0306] In some embodiments, the management device can respond to changes made by family members, modifying the visitor type and visitor permissions. A management device refers to an electronic device capable of performing family management operations, such as a central device or a family member's personal device.

[0307] In other embodiments, visitor type and visitor permissions can also be automatically changed according to pre-set change rules. These change rules can be related to factors such as the number of visits and the duration of stay. For example, as the number of visits increases, the visitor type can be automatically changed from a temporary visitor to a trusted visitor. This application does not limit the specific content of the change rules.

[0308] 5. To assist in anonymity and control.

[0309] Among the aforementioned smart home devices, some may not support guest mode. Therefore, these devices cannot respond to guest mode notifications from the central device and enter guest mode. In this application, smart home devices that do not support guest mode are referred to as "silent devices." Because silent devices cannot enter guest mode, they may potentially leak family members' privacy information and / or perform sensitive operations under the control of a visitor. To reduce the likelihood of such incidents, the central device can assist silent devices in protecting privacy information and restricting sensitive operations.

[0310] In some embodiments, if the central device detects privacy information sent to the silent device and is in guest mode at the time, the central device can anonymize the privacy information to obtain anonymous information and send the anonymous information to the silent device.

[0311] For example, such as Figure 13 As shown, assume the central device is the control screen 131 and the silent device is the smart speaker 132. At a certain moment, the IoT server 130 sends a voice message to the control screen 131, instructing the control screen 131 to forward the voice message to the smart speaker 132. At this time, the control screen 131 detects that the smart speaker 132 is a silent device and is currently in guest mode. Therefore, the control screen 131 can anonymize the voice message to obtain an anonymous message. Then, the control screen 131 can forward the anonymous message to the smart speaker 132. After receiving the anonymous message, the smart speaker 132 can directly announce the anonymous message: "You have received a new voice message. Please check it on your mobile phone." This avoids the leakage of family members' privacy information in guest mode.

[0312] In other embodiments, when the central device detects privacy information being sent to the silent device, the central device can directly intercept the privacy information.

[0313] For example, such as Figure 14As shown, assume the central device is the central control screen 141, the silent device is the smart screen 142, and the family member's personal device is the mobile phone 143. At a certain moment, family members and friends are watching a program played on the smart screen 142 together at home. At this time, the IoT server 140 sends a text message to the central control screen 141, instructing the central control screen 141 to forward the text message to the smart screen 142. After receiving the text message, the central control screen 141 detects that the smart screen 142 is a silent device, so the central control screen 141 can directly intercept the text message and forward it to the mobile phone 143. At this time, the smart screen 142 cannot receive or display the text message, but family members can view the text message through the mobile phone 143.

[0314] In other embodiments, when the central device detects a device control command sent by a silent device, the central device can directly intercept the device control command and prevent its execution. The aforementioned device control command is used to control the central device and / or smart home devices.

[0315] For example, such as Figure 15 As shown, assume the central device is the control panel 151 and the silent device is the smart speaker 152. At a certain moment, a visitor says to the smart speaker 152, "Hey, Hey, open the door." In response, the smart speaker 152 sends an open command to the control panel 151, instructing it to forward the command to the smart lock. When the control panel 151 receives the open command, it detects that the smart speaker 152 is a silent device, so it directly intercepts the command, does not forward it to the smart lock, and returns an operation failure message to the smart speaker 152. When the smart speaker 152 receives the operation failure message, it announces, "Operation failed, please try again."

[0316] In other embodiments, the central device may also assist the silent device in protecting privacy information and restricting sensitive operations in other ways. This application does not limit the specific assistance methods provided by the central device.

[0317] Through the above methods, the central device can assist the silent device in protecting privacy information and restricting sensitive operations, reducing the possibility of the silent device leaking privacy information and performing sensitive operations without authorization, thereby effectively protecting the privacy and personal and property safety of family members.

[0318] 6. Exit guest mode.

[0319] In addition to automatically controlling the entry of central devices and smart home devices into visitor mode, the central device can also control the exit of central devices and smart home devices from visitor mode. The conditions for the central device to control the exit of central devices and smart home devices from visitor mode can be set according to the actual scenario.

[0320] In some possible implementations, the central device can respond to a user's action by controlling both the central device and the smart home devices to exit guest mode after successful user authentication. For example, when the central device detects a user's exit action, it can authenticate the user. If authentication is successful (e.g., confirming the user performing the exit action is a family member), the central device can exit guest mode and send a guest mode exit notification to the smart home devices; upon receiving the notification, the smart home devices can exit guest mode. If authentication fails (e.g., confirming the user performing the exit action is a guest), the central device does not respond to the exit action.

[0321] In some embodiments, when it is determined that there are no visitors in the home area, the central device can respond to the user's operation and control the central device and smart home devices to directly exit the visitor mode and enter the family member mode.

[0322] For example, when a maintenance worker is in the home area, the central device and smart home devices are in visitor mode; after the maintenance worker leaves, the user logs out on the central device. At this time, the central device can determine whether a visitor is present in the home area through various detection devices.

[0323] When the central device determines that there are no visitors in the home area, it can respond to the above exit operation and control the central device and other smart home devices to directly exit the visitor mode and enter the family member mode.

[0324] In other embodiments, when there are still visitors in the home area, the central device can respond to the user's operation and control the central device and smart home devices to directly exit the visitor mode and enter the family member mode.

[0325] For example, suppose the central device sets the user's operation permissions to the highest priority.

[0326] At some point, the central device detects the user's logout action and determines that there are still visitors in the home area.

[0327] At this time, since the central device's operating authority is lower than the user's operating authority, even if there are visitors in the home area, the central device can respond to the user's operation and control the central device and smart home devices to directly exit the visitor mode and enter the family member mode.

[0328] In other embodiments, when there are still visitors in the home area, the central device can respond to the user's operation by controlling the central device and smart home devices to exit the current visitor mode and enter a higher-privilege visitor mode.

[0329] For example, as mentioned earlier, suppose visitor types are divided into trusted visitors and temporary visitors, where trusted visitors correspond to trusted visitor mode and temporary visitors correspond to temporary visitor mode, and the central device is currently in temporary visitor mode. At a certain moment, the central device detects a user's logout operation and determines that there are still two visitors residing in the home area, both of whom are temporary visitors. At this point, the central device can change the visitor type of these two visitors to trusted visitors, record their user characteristics in the trusted visitor feature database, exit temporary visitor mode, and enter trusted visitor mode.

[0330] It should be noted that when the central device detects an exit operation and determines that there is a visitor in the home area, if the central device directly enters the family member mode, the visitor may steal the family member's permissions and unauthorizedly view the family member's private information and / or perform sensitive operations.

[0331] Therefore, in this embodiment, when the central device detects an exit operation, if the central device determines that there is a visitor in the home area, the central device can control the central device and smart home devices to exit the current visitor mode and enter a higher-privilege visitor mode.

[0332] In this way, the central device can both meet the user's need to increase the permissions of guests and prevent guests from using the permissions of family members without authorization in the family member mode, thereby protecting the privacy and personal and property safety of family members.

[0333] In some other possible implementations, when the central device detects that every user in the home area is a family member, the central device can control the central device and smart home devices to exit guest mode.

[0334] For example, suppose at a certain moment, the central device detects that two visitors have left the home area, leaving only two users, both of whom are family members. In this case, the central device can control both the central device and the smart home devices to automatically exit visitor mode and enter family member mode.

[0335] In some other possible implementations, when the central device detects that all users have left the home area, the central device can control the central device and smart home devices to exit guest mode.

[0336] For example, suppose that at a certain moment, the central device detects that no user is present in the home area through the presence sensor. At this time, the central device can control the central device and smart home devices to automatically exit guest mode and enter family member mode.

[0337] In some other possible implementations, when the central device detects that all users have left the home area, the central device can remain in guest mode; thereafter, when the central device detects that a user has entered the home area and that user is a family member, the central device can control the central device and smart home devices to exit guest mode and enter family member mode.

[0338] For example, suppose that at a certain moment, the central device detects that no user is present in the home area using a presence sensor. At this time, the central device can remain in visitor mode. After a period of time, if the central device detects that a user has entered the home area using a camera, and the user's facial recognition results indicate that the user is a family member, then the central device can control the central device and smart home devices to automatically exit visitor mode and enter family member mode.

[0339] Using the above method, the central device can control the central device and each smart home device to exit guest mode, eliminating the need for users to operate each electronic device individually, reducing the amount of user work and improving the user experience.

[0340] To facilitate understanding, the above-mentioned device control methods will be explained in detail below in conjunction with specific application scenarios.

[0341] Please see Figure 16 Suppose that user A's home is equipped with a central control screen 161, a camera 162, a smart screen 163, and a smart speaker 164. Among them, the central control screen 161 is the central device, the camera 162, the smart screen 163, and the smart speaker 164 are smart home devices, and the smart speaker 164 is a silent device.

[0342] At the first moment, User A brings User B to his home as a guest. At this time, camera 162 captures User A's facial information 1 and User B's facial information 2, and sends facial information 1 and facial information 2 to the central control screen 161.

[0343] The central control screen 161 has pre-stored the facial information of family members and trusted visitors. Therefore, the central control screen 161 can compare facial information 1 and facial information 2 with the facial information of family members and trusted visitors to determine the user identities of user A and user B.

[0344] After determining that User A is a family member and User B is a temporary visitor, the central control screen 161 automatically enters temporary visitor mode and sends a first visitor mode notification to the camera 162 and the smart screen 163. In response to the first visitor mode notification, the camera 162 and the smart screen 163 automatically enter temporary visitor mode.

[0345] like Figure 17 As shown in scenario (a), suppose User B will be staying at User A's home for a few days. Therefore, to make it easier for User B to control various smart home devices, User A can operate the central control screen 161 and enter its settings interface 1611. The settings interface 1611 has four options: "Network Settings," "Desktop and Wallpaper," "Display and Brightness," and "Exit Current Mode." The user can click the "Exit Current Mode" option in the settings interface 1611.

[0346] At this time, as Figure 17 As shown in scenario (b), the central control screen 161 can respond to user A's operation by displaying an authentication box 1612 and a virtual keyboard 1613 on the settings interface 1611. Then, the central control screen 161 can respond to user A's operation on the virtual keyboard 1613, obtain the password to be verified, and compare the password to be verified with the administrator password.

[0347] Since the password entered by user A is the same as the administrator's password, the central control screen 161 exits the temporary visitor mode and enters the trusted visitor mode, sends a mode change notification to the camera 162 and the smart screen 163, and records user B's facial information in the trusted visitor feature database.

[0348] After receiving the mode change notification, camera 162 and smart screen 163 exit the temporary visitor mode and enter the trusted visitor mode.

[0349] And, as Figure 18 As shown in scenario (a), user A can also operate the central control screen 161 and enter the main interface 1614 of the central control screen. The main interface 1614 includes a "music" control 1615, a "device control" control 1616, a "weather" control 1617, an "authorization code" control 1618, a "building intercom" control 1619, and a "settings" control 1620.

[0350] User A can click the "Authorization Code" control 1618 on the main interface 1614.

[0351] At this time, as Figure 18 As shown in scenario (b), the central control screen 161 responds to the user's operation and enters the authorization code interface 1621, which includes authorization code 1622.

[0352] like Figure 19 As shown, after User B scans the authorization code using Mobile Phone 165 (User B's personal device), Mobile Phone 165 can send an authorization request to IoT Server 166. After receiving the authorization request, IoT Server 166 forwards the authorization request to User A's Mobile Phone 167 (User A's personal device).

[0353] like Figure 20 As shown in scenario (a), after receiving the authorization request, mobile phone 167 displays an authorization consultation box 1623 on its screen. The authorization consultation box 1623 includes the text "Mobile phone 165 requests guest permission" and provides an "Agree" control 1624 and a "Deny" control 1625. When user A clicks the "Agree" control 1624 on the screen of mobile phone 167, as shown in scenario (a),... Figure 20 As shown in scenario (b), mobile phone 167 can display a permission selection box 1626. The permission selection box 1626 includes two options: "Trusted Guest Permission" and "Temporary Guest Permission".

[0354] When user A clicks "Trusted Guest Permission" on the screen of mobile phone 167, mobile phone 167 sends a trusted guest authorization notification to IoT server 166. After receiving the trusted guest authorization notification, IoT server 166 forwards the trusted guest authorization notification to mobile phone 165 and records the device identifier of mobile phone 165 in the trusted guest permission device list.

[0355] After receiving the trusted visitor authorization notification, mobile phone 165 obtains trusted visitor permissions. At this time, user B can directly perform basic device operations on mobile phone 165. Furthermore, with authorization from mobile phone 167, user B can also perform security control operations and privacy viewing operations on mobile phone 165.

[0356] like Figure 21 As shown, at the second moment, the IoT server 166 sends a voice message to the central control screen 161, instructing the central control screen 161 to forward the voice message to the smart speaker 164. Since the central control screen 161 is in trusted guest mode and the smart speaker 164 is a silent device, the central control screen 161 intercepts the voice message and forwards it to the mobile phone 167. After receiving the voice message, the mobile phone 167 vibrates to notify user A that a voice message has been received. At this time, user A can listen to the voice message on the mobile phone 167.

[0357] At the third moment, User B left User A's home, and the central control screen 161 detected that the facial information sent by camera 162 only contained User A's facial information. Therefore, the central control screen 161 exited the trusted visitor mode, entered the family member mode, and sent a family mode notification to camera 162 and smart screen 163. After receiving the family mode notification, camera 162 and smart screen 163 exited the trusted visitor mode and entered the family member mode.

[0358] At the fourth moment, User B returned to User A's home. Camera 162 detected User B's facial information and sent it to the central control screen 161. Since the central control screen 161's trusted visitor feature database contains User B's facial information, it can determine that User B is a trusted visitor. At this point, the central control screen 161 enters trusted visitor mode and sends a second visitor mode notification to Camera 162 and the smart screen 163. Upon receiving the second visitor mode notification, Camera 162 and the smart screen 163 also enter trusted visitor mode.

[0359] As can be seen from the methods and examples described above, in the device control method provided in the embodiments of this application, the central device can automatically control the central device and smart home devices to enter visitor mode when it is confirmed that there are visitors in the home area, so as to protect the privacy information of family members and restrict sensitive operations, thereby protecting the user's privacy and personal and property safety.

[0360] Furthermore, when administrators set up multiple different visitor types, each visitor type can correspond to a different visitor mode, and each visitor mode can employ different protection strategies. The central device can flexibly manage different types of visitors and provide different permissions to different types of visitors by managing visitor modes.

[0361] Furthermore, when a visitor wishes to control the central device / smart home devices using a visitor device, the visitor device can send an authorization request by scanning an authorization code. When the target device agrees to the authorization request, the visitor device gains visitor permissions. Different visitor permissions have different operational scopes. Therefore, by managing visitor permissions, the management device can both meet the visitor's need to control the central device / smart home devices and prevent visitors from unauthorizedly viewing family members' private information or performing sensitive operations.

[0362] For silent devices that do not support guest mode, the central device can assist silent devices in protecting privacy information and restricting sensitive operations, thereby reducing the possibility of silent devices leaking privacy information and performing sensitive operations without authorization.

[0363] In addition to automatically controlling the central device and smart home devices to enter visitor mode, the central device can also control the central device and smart home devices to exit visitor mode when the conditions for exiting visitor mode are met. This eliminates the need for users to operate each electronic device individually, reducing the amount of user work and improving the user experience.

[0364] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0365] The following will describe in detail another device control method provided in the embodiments of this application from the perspective of a central device. Please refer to... Figure 22 The device control method provided in this embodiment includes:

[0366] S221. When a user is present in the home area, obtain the user's identity; the user's identity includes family members and / or visitors.

[0367] It should be noted that when a user is present in the home area, the central device can obtain the user's identity. The user's identity can include family members and / or visitors.

[0368] In the process of identifying a user, the detection device can detect the user's characteristics. These user characteristics may include one or more types of feature data such as facial information, fingerprint data, access control passwords, sensor data, and voiceprint data.

[0369] After detecting user characteristics, the detection equipment can directly send the user characteristics to the central device.

[0370] After acquiring user characteristics, the central device can compare these characteristics with pre-stored characteristics to determine the user's device.

[0371] Pre-stored features refer to pre-stored family information. This family information is used to distinguish between family members and visitors. This family information may include one or more of the following: administrator password, family member facial information, family member fingerprint data, family member voiceprint data, and the number of family members.

[0372] Alternatively, the detection device can process user characteristics locally to obtain detection results. Then, the detection device can send the detection results to the central device.

[0373] When the central device receives the detection results, it can determine the user's identity based on the detection results.

[0374] S222. When the above user identity includes the above visitor, enter visitor mode and instruct the controllable device to enter the above visitor mode, and / or assist the silent device in protecting privacy information and / or restricting sensitive operations.

[0375] The aforementioned controllable devices are electronic devices that support guest mode. The guest mode is used to protect privacy information and / or restrict sensitive operations. The aforementioned silent devices are electronic devices that do not support guest mode.

[0376] It should be noted that after obtaining the user's identity, the central device can identify whether there are any visitors among the aforementioned user identities.

[0377] If the user identity mentioned above includes "visitor," it indicates that a visitor has entered the home area. In this case, to prevent the visitor from viewing family members' private information or performing sensitive operations without authorization, the central device can enter visitor mode, and instruct controllable devices to enter visitor mode as well.

[0378] Controllable devices refer to electronic devices that support guest mode. Guest mode is used to protect privacy information and / or restrict sensitive operations.

[0379] Furthermore, for silent devices that do not support guest mode, the central device can assist silent devices in protecting privacy information and / or restricting sensitive operations.

[0380] By employing the methods described above, the central device can prevent visitors from arbitrarily viewing family members' private information or performing sensitive operations without authorization. This effectively reduces the possibility of privacy leaks and unauthorized operations, protecting users' privacy, personal safety, and property security. It is highly practical and easy to use.

[0381] Optionally, the above visitor mode includes one or more of the following operations:

[0382] The above-mentioned privacy information is anonymized, hidden, and access points to the above-mentioned privacy information are hidden. The execution of the above-mentioned sensitive operations is prohibited, access points to the above-mentioned sensitive operations are hidden, and identity verification is performed when the above-mentioned sensitive operations are detected.

[0383] It should be noted that in guest mode, electronic devices can protect privacy information and restrict sensitive operations through one or more of the following protection strategies: anonymizing privacy information, hiding privacy information, hiding access points to privacy information, blocking sensitive operations, hiding access points to sensitive operations, and performing authentication when sensitive operations are detected.

[0384] For example, in some cases, when an electronic device receives a voice message in guest mode, the device can anonymize the voice message and announce, "You have a new voice message. Please view it on your personal device," thereby hiding the details of the private information and prompting family members to check the voice message on their personal devices.

[0385] In other examples, when an electronic device enters guest mode, it can directly hide private information such as photo albums and contacts, or hide access points to this private information.

[0386] In other examples, when an electronic device enters guest mode, if the electronic device detects a sensitive operation, it can block that sensitive operation and not respond to it.

[0387] In other examples, when an electronic device enters guest mode, it can directly hide the access point for sensitive operations, thus preventing users from accessing the interface for sensitive operations and performing sensitive actions.

[0388] In other examples, when an electronic device enters guest mode, it can authenticate the user if it detects a sensitive action.

[0389] If authentication is successful, it indicates that the user performing the sensitive operation is a family member, and the electronic device can respond to the sensitive operation; if authentication fails, it indicates that the user performing the sensitive operation is not a family member, and the electronic device may not respond to the sensitive operation.

[0390] In other examples, electronic devices may employ other protection strategies to protect privacy information and restrict sensitive operations. This application does not limit the protection strategies adopted by electronic devices.

[0391] Optionally, the aforementioned auxiliary silence device protects privacy information and / or restricts sensitive operations by including one or more of the following operations:

[0392] When a sensitive message is received that is sent to the aforementioned silent device, the sensitive message is anonymized to obtain an anonymous message, and the anonymous message is forwarded to the aforementioned silent device. The sensitive message includes the aforementioned privacy information.

[0393] When a sensitive message is received destined for the aforementioned silent device, the sensitive message is intercepted.

[0394] When a device control command is received from the aforementioned silent device, the device control command is intercepted, and / or the operation corresponding to the aforementioned device control command is prohibited.

[0395] It should be noted that when the central device assists the silent device in protecting privacy information and / or restricting sensitive operations, it can select an appropriate assistance method based on the actual scenario.

[0396] For example, in some cases, when the central device receives a sensitive message destined for a silent device, because the sensitive message contains private information, the central device can anonymize the message, hiding the private information within it, thus obtaining an anonymous message. The central device then forwards the anonymous message to the silent device, reducing the likelihood of the silent device leaking the private information of family members.

[0397] In other examples, when the central device receives a sensitive message destined for a silent device, the central device can also directly intercept the sensitive message and forward it to the personal device of a family member, thereby protecting the privacy information of the family member.

[0398] In other examples, when the central device receives a device control command from the silent device, if the command is intended to control other electronic devices, the central device can directly intercept it; if the command is intended to control the central device, the central device can choose not to respond. By intercepting and / or disabling the execution of device control commands, the central device can reduce the likelihood of visitors performing sensitive operations through the silent device.

[0399] In other examples, the central device may also assist the silent device in protecting privacy information and / or restricting sensitive operations through other auxiliary methods. This application does not limit the specific form of the aforementioned auxiliary methods.

[0400] Optionally, after entering guest mode when the user identity includes the visitor, and instructing the controllable device to enter guest mode, and / or assisting the silent device in protecting privacy information and / or restricting sensitive operations, the following steps are included:

[0401] When the preset exit conditions are met, exit the above guest mode and instruct the above controllable device to exit the above guest mode, and / or, no longer assist the above silent device in protecting privacy information and / or restricting sensitive operations.

[0402] It should be noted that when the preset exit conditions are met, the central device can control the central device and controllable devices to automatically exit the guest mode, and stop assisting the aforementioned silent devices in protecting privacy information and / or restricting sensitive operations. This eliminates the need for users to operate each electronic device individually, reducing the amount of user work and improving the user experience.

[0403] Optionally, the above-mentioned preset exit conditions include one or more of the following conditions:

[0404] A family member's logout was detected; no users are present in the family area; no visitors are present in the family area.

[0405] It should be noted that the preset exit conditions can be set according to actual needs. For example, in some examples, the preset exit condition can be the detection of a family member's exit operation. In this case, when the central device detects an exit operation, it can authenticate the user. If authentication is successful, the central device can respond to the exit operation; if authentication fails, the central device will not respond to the exit operation.

[0406] In other examples, the preset exit condition can be the absence of users in the home area. In this case, when the central device determines that all users have left the home area, the central device can control the central device and each controllable device to automatically exit guest mode, and to stop assisting the aforementioned silent devices in protecting privacy information and / or restricting sensitive operations.

[0407] In other examples, the preset exit condition can be the absence of visitors in the home area. In this case, when the central device determines that all visitors have left the home area, the central device can control the central device and each controllable device to automatically exit visitor mode, and stop assisting the aforementioned silent devices in protecting privacy information and / or restricting sensitive operations.

[0408] In other examples, the preset exit condition may be other than what is specified. This application does not limit the specific content of the preset exit condition in its embodiments.

[0409] Optionally, the aforementioned visitors include a first type of visitor and a second type of visitor, with the first type of visitor having higher operating permissions than the second type of visitor.

[0410] It should be noted that the visitor types mentioned above can be set according to actual needs. For example, in some embodiments, the administrator (equipment manufacturer or holder of the central device) can define users other than family members as visitors; in other embodiments, the administrator can divide visitors into first-class visitors and second-class visitors. First-class visitors may refer to close relatives, acquaintances, and other visitors with relatively close relationships, while second-class visitors may refer to unfamiliar friends, on-site repair personnel, property management personnel, and other temporary visitors. First-class visitors have higher operation permissions than second-class visitors; in other embodiments, the administrator can also divide visitors into first-level visitors, second-level visitors, and third-level visitors, and set corresponding permissions for each level of visitors; in other embodiments, the administrator can also divide visitor types in other ways. This application does not limit the specific method by which the administrator divides visitor types.

[0411] Optionally, the above visitor modes include a first visitor mode and a second visitor mode;

[0412] When the aforementioned user identity includes the aforementioned visitor, entering visitor mode and instructing the controllable device to enter the aforementioned visitor mode includes:

[0413] When the aforementioned user identity includes the first type of visitor but does not include the second type of visitor, the system enters the first visitor mode and instructs the aforementioned controllable device to enter the first visitor mode.

[0414] When the aforementioned user identity includes the aforementioned second type of visitor, the aforementioned second visitor mode is entered, and the aforementioned controllable device is instructed to enter the aforementioned second visitor mode.

[0415] It should be noted that when the above visitors include both the first type of visitors and the second type of visitors, the above visitor patterns can include both the first visitor pattern and the second visitor pattern.

[0416] When a user's identity includes the first type of visitor but excludes the second type of visitor, the central device can control the central device and controllable devices to enter the first visitor mode with higher operating privileges.

[0417] When the user identity includes a second type of visitor, regardless of whether there is a first type of visitor in the home area, the central device can control the central device and the visitor device to enter the second visitor mode with lower operating permissions.

[0418] Using the above methods, the central device can manage different types of visitors more flexibly, provide different permissions to different types of visitors, prevent low-privilege visitors from stealing the operation permissions of high-privilege visitors, and protect the privacy, safety and property of family members.

[0419] Optionally, after entering the second guest mode and instructing the controllable device to enter the second guest mode, the method further includes:

[0420] When a family member's exit operation is detected, the system enters family member mode and instructs the aforementioned controllable devices to enter family member mode.

[0421] Alternatively, when a family member's exit operation is detected, the system enters the first visitor mode and instructs the controllable device to enter the first visitor mode.

[0422] It should be noted that when the central device is in second visitor mode and the central device detects a family member's exit operation, the central device can control the central device and controllable devices to directly enter home mode.

[0423] However, if the central device directly controls the central device and controllable devices to enter the family member mode, the visitor may steal the family member's permissions, and unauthorizedly view the family member's private information and / or perform sensitive operations.

[0424] Therefore, when the central device is in the second visitor mode and the central device detects the exit operation of a family member, the central device can also control the central device and controllable devices to enter the first visitor mode. This can satisfy the user's need to improve the visitor's permissions, and also prevent the visitor from using the family member's permissions without authorization in the family member mode, thereby protecting the privacy and personal and property safety of family members.

[0425] Optionally, after entering guest mode when the user includes the visitor, the following further applies:

[0426] The authorization code is displayed. This authorization code is used to request guest access from the target device, which is a family member's personal device.

[0427] It should be noted that in some scenarios, visitors may want to use their own personal devices to control electronic devices in the home area.

[0428] At this point, the central device can display an authorization code on the screen. The authorization code is used to request guest access from the target device, which is a family member's personal device.

[0429] Once a visitor scans the authorization code using their personal device, the visitor device can send an authorization request to the target device.

[0430] When the target device agrees to the above authorization request, the guest device can obtain guest permissions.

[0431] When the target device rejects the above authorization request, the guest device cannot obtain guest permissions.

[0432] Optionally, the aforementioned sensitive operations include home management operations and / or control operations on electronic devices with security functions.

[0433] It should be noted that sensitive operations refer to operations that may affect the personal safety and property security of family members.

[0434] Specifically, sensitive operations may include any one or more of the following: home management operations, control operations of security equipment, etc.

[0435] Among these, family management operations refer to operations such as changing family information, sharing permissions, and changing permissions. Security equipment refers to electronic devices with security functions.

[0436] Optionally, when the aforementioned user characteristics include the number of users and the aforementioned pre-stored characteristics include the number of household members, the process of obtaining the user characteristics of the aforementioned users, comparing the aforementioned user characteristics with the pre-stored characteristics, and determining the user identity of the aforementioned users includes:

[0437] Compare the number of users mentioned above with the number of family members mentioned above;

[0438] If the number of users exceeds the number of family members, then the user identity of the users is determined to include visitors.

[0439] It should be noted that the above user characteristics may include the number of users, and the above pre-stored characteristics may include the number of family members.

[0440] When the central device obtains the number of users, it can compare the number of users with the number of household members.

[0441] If the number of users is less than or equal to the number of household members, it means there may be no visitors in the household area.

[0442] If the number of users is greater than the number of people in the household, it means that there are visitors in the household area, and the central device can determine that the users mentioned above include visitors.

[0443] Optionally, the above-mentioned household population figures are determined based on the number of people staying overnight in the household area each day during a historical period.

[0444] It should be noted that the above-mentioned number of family members can be determined by the central equipment based on the number of people staying overnight in the family area each day during a historical period.

[0445] For example, assuming the historical time period is the most recent week, if the central device detects that the mode of the number of people staying overnight each day during the most recent week is 3, then the central device can determine the number of family members as 3.

[0446] Corresponding to the device control method described in the above embodiments, Figure 23 A structural block diagram of the device control apparatus provided in the embodiments of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown.

[0447] This device can be applied to central nervous system equipment, see reference. Figure 23 The device includes:

[0448] The identity acquisition module 231 is used to acquire the user identity of a user when a user is present in the home area; the user identity includes family members and / or visitors.

[0449] The visitor protection module 232 is used to enter visitor mode when the above user identity includes the above visitor, and to instruct the controllable device to enter the above visitor mode, and / or to assist the silent device in protecting privacy information and / or restricting sensitive operations;

[0450] The aforementioned controllable devices are electronic devices that support guest mode. The guest mode is used to protect privacy information and / or restrict sensitive operations. The aforementioned silent devices are electronic devices that do not support guest mode.

[0451] Optionally, the above visitor mode includes one or more of the following operations:

[0452] The above-mentioned privacy information is anonymized, hidden, and access points to the above-mentioned privacy information are hidden. The execution of the above-mentioned sensitive operations is prohibited, access points to the above-mentioned sensitive operations are hidden, and identity verification is performed when the above-mentioned sensitive operations are detected.

[0453] Optionally, the aforementioned auxiliary silence device protects privacy information and / or restricts sensitive operations by including one or more of the following operations:

[0454] When a sensitive message is received that is sent to the aforementioned silent device, the sensitive message is anonymized to obtain an anonymous message, and the anonymous message is forwarded to the aforementioned silent device. The sensitive message includes the aforementioned privacy information.

[0455] When a sensitive message is received destined for the aforementioned silent device, the sensitive message is intercepted.

[0456] When a device control command is received from the aforementioned silent device, the device control command is intercepted, and / or the operation corresponding to the aforementioned device control command is prohibited.

[0457] Optionally, the above-mentioned device further includes:

[0458] The visitor exit module is used to exit the visitor mode when the preset exit conditions are met, and to instruct the controllable device to exit the visitor mode, and / or to stop assisting the silent device in protecting privacy information and / or restricting sensitive operations.

[0459] Optionally, the above-mentioned preset exit conditions include one or more of the following conditions:

[0460] A family member's logout was detected; no users are present in the family area; no visitors are present in the family area.

[0461] Optionally, the aforementioned visitors include a first type of visitor and a second type of visitor, with the first type of visitor having higher operating permissions than the second type of visitor.

[0462] Optionally, the above visitor modes include a first visitor mode and a second visitor mode;

[0463] The aforementioned visitor protection module 232 includes:

[0464] The first submodule is used to enter the first visitor mode when the user identity includes the first type of visitor and does not include the second type of visitor, and to instruct the controllable device to enter the first visitor mode.

[0465] The second submodule is used to enter the second visitor mode when the user identity includes the second type of visitor, and to instruct the controllable device to enter the second visitor mode.

[0466] Optionally, the above-mentioned device further includes:

[0467] The mode switching module is used to enter the family member mode when a family member's exit operation is detected, and to instruct the controllable device to enter the family member mode.

[0468] Alternatively, the mode switching module is used to enter the first visitor mode when a family member's exit operation is detected, and to instruct the controllable device to enter the first visitor mode.

[0469] Optionally, the above-mentioned device further includes:

[0470] The authorization display module is used to display the authorization code, which is used to request visitor permissions from the target device, which is a family member's personal device.

[0471] Optionally, the aforementioned sensitive operations include home management operations and / or control operations on electronic devices with security functions.

[0472] Optionally, the identity acquisition module 231 is used to acquire the user characteristics of the user, compare the user characteristics with pre-stored characteristics, and determine the user identity of the user.

[0473] And / or, the aforementioned identity acquisition module 231 is used to receive the detection result sent by the detection device and determine the user's identity based on the detection result, wherein the detection device is an electronic device with the function of detecting user identity.

[0474] Optionally, when the aforementioned user characteristics include the number of users and the aforementioned pre-stored characteristics include the number of family members, the aforementioned identity acquisition module 231 includes:

[0475] The comparison submodule is used to compare the number of users mentioned above with the number of family members mentioned above;

[0476] The determination submodule is used to determine whether the user identity of the above users includes visitors if the number of the above users is greater than the number of the above household population.

[0477] Optionally, the above-mentioned household population figures are determined based on the number of people staying overnight in the household area each day during a historical period.

[0478] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0479] In the embodiments provided in this application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual couplings or direct couplings or communication connections may be through some interfaces; indirect couplings or communication connections between devices or units may be electrical, mechanical, or other forms.

[0480] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0481] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0482] If the integrated module / unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable storage medium can include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a portable hard drive, a magnetic disk, an optical disk, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium, etc. It should be noted that the content included in the computer-readable storage medium can be appropriately added or removed according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, the computer-readable storage medium does not include electrical carrier signals and telecommunication signals.

[0483] Finally, it should be noted that the above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A device control method, applied to central equipment, characterized in that, include: When a user is present in the home area, obtain the user's identity; the user identity includes family members and visitors. When the user identity includes the visitor, enter visitor mode, instruct the controllable device to enter visitor mode, and assist the silent device in protecting privacy information and / or restricting sensitive operations; The controllable device is an electronic device that supports guest mode, which is used to protect privacy information and / or restrict sensitive operations. The silent device is an electronic device that does not support guest mode.

2. The method as described in claim 1, characterized in that, The visitor mode includes one or more of the following operations: The privacy information is anonymized, the privacy information is hidden, the access point to the privacy information is hidden, the execution of the sensitive operation is prohibited, the access point to the sensitive operation is hidden, and identity verification is performed when the sensitive operation is detected.

3. The method as described in claim 1, characterized in that, The auxiliary silence device protects privacy information and / or restricts sensitive operations, including one or more of the following operations: When a sensitive message is received destined for the silent device, the sensitive message is anonymized to obtain an anonymous message, and the anonymous message is forwarded to the silent device. The sensitive message includes the privacy information. When a sensitive message is received destined for the silent device, the sensitive message is intercepted; When a device control command is received from the silent device, the device control command is intercepted, and / or the operation corresponding to the device control command is prohibited from being executed.

4. The method as described in claim 1, characterized in that, After the steps of entering guest mode when the user identity includes the guest, instructing the controllable device to enter guest mode, and assisting the silent device in protecting privacy information and / or restricting sensitive operations, include: When the preset exit conditions are met, exit the guest mode and instruct the controllable device to exit the guest mode, and / or, no longer assist the silent device in protecting privacy information and / or restricting sensitive operations.

5. The method as described in claim 4, characterized in that, The preset exit conditions include one or more of the following conditions: A family member's logout was detected; no users are present in the family area; no visitors are present in the family area.

6. The method as described in claim 1, characterized in that, The visitors include a first type of visitor and a second type of visitor, with the first type of visitor having higher operating privileges than the second type of visitor.

7. The method as described in claim 6, characterized in that, The visitor modes include a first visitor mode and a second visitor mode; The step of entering visitor mode when the user identity includes the visitor, and instructing the controllable device to enter visitor mode, includes: When the user identity includes the first type of visitor but does not include the second type of visitor, the system enters the first visitor mode and instructs the controllable device to enter the first visitor mode. When the user identity includes the second type of visitor, the system enters the second visitor mode and instructs the controllable device to enter the second visitor mode.

8. The method as described in claim 7, characterized in that, After entering the second guest mode and instructing the controllable device to enter the second guest mode, the method further includes: When a family member's exit operation is detected, the system enters family member mode and instructs the controllable device to enter family member mode. Alternatively, when a family member's logout operation is detected, the system enters the first guest mode and instructs the controllable device to enter the first guest mode.

9. The method as described in claim 1, characterized in that, After entering visitor mode when the user includes the visitor, the following is also included: Display the authorization code, which is used to request guest access from the target device, which is a family member's personal device.

10. The method as described in claim 1, characterized in that, The sensitive operations include home management operations and / or control operations on electronic devices with security functions.

11. The method as described in claim 1, characterized in that, Obtaining the user's identity includes: The user's user characteristics are obtained, and the user characteristics are compared with pre-stored characteristics to determine the user's identity; And / or, receive detection results sent by the detection device, and determine the user's identity based on the detection results, wherein the detection device is an electronic device with the function of detecting user identity.

12. The method as described in claim 11, characterized in that, When the user characteristics include the number of users and the pre-stored characteristics include the number of family members, the step of obtaining the user's user characteristics, comparing the user characteristics with the pre-stored characteristics, and determining the user's identity includes: Compare the number of users with the number of family members; If the number of users is greater than the number of family members, then the user's identity is determined to include a visitor.

13. The method as described in claim 12, characterized in that, The number of family members is determined based on the number of people staying overnight in the family area each day during a historical period.

14. A central device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor is configured to implement the method as described in any one of claims 1 to 13 when executing the computer program.

15. A computer-readable storage medium configured to store a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 13.

16. A computer program product, characterized in that, The computer program product is configured to run on a control device, causing the control device to perform the method as described in any one of claims 1 to 13.

17. A chip system, characterized in that, The chip system includes a memory and a processor, the processor being configured to execute a computer program stored in the memory to implement the method as described in any one of claims 1 to 13.