Home switching method and system, smart home management system and electronic device

CN120871647BActive Publication Date: 2026-08-07QINGDAO HISENSE BOSCH AIR CONDITIONING SYSTEM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
QINGDAO HISENSE BOSCH AIR CONDITIONING SYSTEM CO LTD
Filing Date
2024-04-29
Publication Date
2026-08-07

AI Technical Summary

Technical Problem

[0005]本发明提出了家庭切换方法,解决了现有技术中家庭切换频繁的技术问题

Benefits of technology

[0036]本发明的技术方案相对现有技术具有如下技术效果:本发明的家庭切换方法及系统、智能家居管理系统及电子设备,通过设计在用户账号下的多个家庭中,将家庭距离未达到第一阈值的任意两个家庭组成临近家庭组;在临近家庭组中选择其中一个家庭作为默认家庭;计算用户当前位置与用户账号下任一家庭的距离;如果存在与用户当前位置的距离未达到第二阈值的家庭,则将其中距离用户当前位置最近的家庭作为备选切换家庭;当备选切换家庭与用户账号的当前家庭不在同一个临近家庭组时,则将当前家庭自动切换为备选切换家庭;当备选切换家庭与用户账号的当前家庭在同一个临近家庭组时,如果上次切换方式为自动切换,则将当前家庭自动切换为备选切换家庭所在临近家庭组的默认家庭;如果上次切换方式为手动切换,则不执行切换操作。因此,本发明通过设置临近家庭组和默认家庭,根据备选切换家庭与用户账号的当前家庭是否在同一个临近家庭组以及上次的切换方式,判断是否进行切换,避免频繁切换家庭,解决了现有技术中家庭切换频繁的技术问题,提升了用户的使用体验。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120871647B_ABST
    Figure CN120871647B_ABST
Patent Text Reader

Abstract

The application discloses a home switching method and system, a smart home management system and electronic equipment. The home switching method comprises the following steps: two families with a distance less than a first threshold are combined to form a nearby family group; one of the two families is selected as a default family; the distance between the current position of a user and any family is calculated; if there is a family with a distance less than a second threshold from the current position of the user, the family with the shortest distance is selected as a candidate switching family; when the candidate switching family and the current family of the user account are not in the same nearby family group, the current family is automatically switched to the candidate switching family; when the candidate switching family and the current family of the user account are in the same nearby family group, if the last switching mode is automatic switching, the current family is automatically switched to the default family of the nearby family group where the candidate switching family is located; and if the last switching mode is manual switching, no switching operation is performed. The application solves the technical problem of frequent home switching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent control technology, and in particular to home switching methods and systems, intelligent home management systems, and electronic devices. Background Technology

[0002] Currently, as people's requirements for home control continue to increase, they are using smart home apps to control various smart devices.

[0003] A smart home app may store multiple home locations. Based on the user's phone's location, it automatically switches to the nearest home as the current home.

[0004] In actual use, it was found that when two households are relatively close, due to the APP's location positioning error, even if the user's location remains unchanged, the household closest to the location may jump between the two households, resulting in frequent household switching. Summary of the Invention

[0005] This invention proposes a home switching method, which solves the technical problem of frequent home switching in the prior art.

[0006] To achieve the above objectives, the present invention adopts the following technical solution:

[0007] This invention provides a home switching method, including:

[0008] Among multiple families under a user account, any two families whose family distance does not reach the first threshold are grouped into a neighboring family group; one family in the neighboring family group is selected as the default family; the distance between the user's current location and any family under the user account is calculated;

[0009] If there are families whose distance from the user's current location is less than the second threshold, the family closest to the user's current location will be selected as the alternative family to switch to; if the second threshold is greater than the first threshold; if the alternative family to switch to is not in the same neighboring family group as the user's current family, the current family will be automatically switched to the alternative family to switch to.

[0010] When the candidate family to be switched and the user's current family are in the same neighboring family group, if the last switching method was automatic, the current family will be automatically switched to the default family in the neighboring family group where the candidate family to be switched is located; if the last switching method was manual, no switching operation will be performed.

[0011] In some embodiments of this application, the step of automatically switching the current household to the default household of the neighboring household group of the alternative switching household specifically includes:

[0012] When the only alternative family to switch to is in a neighboring family group, the current family will be automatically switched to the default family of that neighboring family group;

[0013] When the alternative family to be switched is in multiple neighboring family groups at the same time, the current family will be automatically switched to the family that has received the most control commands from the user account among the multiple neighboring family groups.

[0014] In some embodiments of this application, the step of selecting one family from the neighboring family group as the default family specifically includes:

[0015] Among multiple households in a neighboring household group, the household that receives the most control commands from the user account is designated as the default household for that neighboring household group.

[0016] In some embodiments of this application, manual switching specifically includes: manually switching the current household to a backup household; and setting the last switching method variable to manual switching.

[0017] Automatic switching specifically includes: automatically switching the current household to the backup household; and setting the last switching method variable to automatic switching.

[0018] Home switching systems include:

[0019] The neighboring family group creation module is configured to: group any two families whose distance does not reach a first threshold into a neighboring family group from among multiple families under a user account; and select one family from the neighboring family group as the default family.

[0020] The switching control module is configured as follows:

[0021] Calculate the distance between the user's current location and any household under the user's account;

[0022] If there are families whose distance from the user's current location is less than the second threshold, then the family closest to the user's current location will be selected as the alternative family to switch to; the second threshold is greater than the first threshold.

[0023] When the alternative family to switch to is not in the same neighboring family group as the user's current family, the current family will be automatically switched to the alternative family to switch to.

[0024] When the candidate family to be switched and the user's current family are in the same neighboring family group, if the last switching method was automatic, the current family will be automatically switched to the default family in the neighboring family group where the candidate family to be switched is located; if the last switching method was manual, no switching operation will be performed.

[0025] In some embodiments of this application, the step of automatically switching the current household to the default household of the neighboring household group of the alternative switching household specifically includes:

[0026] When the only alternative family to switch to is in a neighboring family group, the current family will be automatically switched to the default family of that neighboring family group;

[0027] When the alternative family to be switched is in multiple neighboring family groups at the same time, the current family will be automatically switched to the family that has received the most control commands from the user account among the multiple neighboring family groups.

[0028] In some embodiments of this application, the step of selecting one family from the neighboring family group as the default family specifically includes:

[0029] Among multiple households in a neighboring household group, the household that receives the most control commands from the user account is designated as the default household for that neighboring household group.

[0030] In some embodiments of this application, manual switching specifically includes: manually switching the current household to a backup household; and setting the last switching method variable to manual switching.

[0031] Automatic switching specifically includes: automatically switching the current household to the backup household; and setting the last switching method variable to automatic switching.

[0032] Based on the design of the aforementioned home switching system, this invention proposes an intelligent home management system, including the aforementioned home switching system.

[0033] Electronic devices, including:

[0034] Memory, used to store computer programs;

[0035] The processor, when executing a program stored in memory, implements the aforementioned home switching method.

[0036] The technical solution of the present invention has the following technical advantages over the prior art: The home switching method and system, smart home management system and electronic device of the present invention, by designing to form a neighboring home group by grouping any two homes whose distance does not reach a first threshold among multiple homes under a user account; selecting one home in the neighboring home group as the default home; calculating the distance between the user's current location and any home under the user account; if there is a home whose distance to the user's current location does not reach a second threshold, then the home closest to the user's current location is selected as the candidate switching home; when the candidate switching home and the user's current home are not in the same neighboring home group, then the current home is automatically switched to the candidate switching home; when the candidate switching home and the user's current home are in the same neighboring home group, if the last switching method was automatic switching, then the current home is automatically switched to the default home of the neighboring home group where the candidate switching home is located; if the last switching method was manual switching, then no switching operation is performed. Therefore, by setting up a neighboring family group and a default family, the present invention determines whether to switch families based on whether the candidate switching family and the user's current family are in the same neighboring family group and the last switching method, thereby avoiding frequent family switching, solving the technical problem of frequent family switching in the prior art, and improving the user experience.

[0037] Other features and advantages of the present invention will become clearer after reading the detailed embodiments of the invention in conjunction with the accompanying drawings. Attached Figure Description

[0038] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0039] Figure 1 A flowchart illustrating one embodiment of the home switching method of the present invention;

[0040] Figure 2 A flowchart illustrating one embodiment of some steps of the home switching method of the present invention;

[0041] Figure 3 This is a flowchart illustrating another embodiment of the home switching method of the present invention;

[0042] Figure 4 A flowchart illustrating one embodiment of some steps of the home switching method of the present invention;

[0043] Figure 5 A flowchart illustrating one embodiment of some steps of the home switching method of the present invention;

[0044] Figure 6 A flowchart illustrating one embodiment of some steps of the home switching method of the present invention;

[0045] Figure 7 A flowchart illustrating one embodiment of the process for creating a list of neighboring homes in the home switching method of the present invention;

[0046] Figure 8 This is a flowchart illustrating another embodiment of the home switching method of the present invention;

[0047] Figure 9 This is a structural block diagram of one embodiment of the home switching system of the present invention;

[0048] Figure 10 This is a structural block diagram of one embodiment of the smart home management system of the present invention;

[0049] Figure 11 This is a structural block diagram of one embodiment of the electronic device of the present invention. Detailed Implementation

[0050] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0051] In the description of this application, it should be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.

[0052] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, unless otherwise stated, "multiple" means two or more.

[0053] In the description of this application, it should be noted that, unless otherwise expressly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.

[0054] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can include direct contact between the first and second features, or contact between the first and second features through another feature between them. Furthermore, "above," "over," and "on top" the second feature includes the first feature directly above or diagonally above the second feature, or simply indicates that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature includes the first feature directly below or diagonally below the second feature, or simply indicates that the first feature is at a lower horizontal level than the second feature.

[0055] The following disclosure provides many different embodiments or examples for implementing various structures of the invention. To simplify the disclosure, specific examples of components and arrangements are described below. These are merely examples and are not intended to limit the invention. Furthermore, reference numerals and / or letters may be repeated in different examples; such repetition is for simplification and clarity and does not in itself indicate a relationship between the various embodiments and / or arrangements discussed. In addition, examples of various specific processes and materials are provided in this invention, but those skilled in the art will recognize the application of other processes and / or the use of other materials.

[0056] Example 1

[0057] When a user owns multiple properties, multiple families will be stored under the user's account, and each family will include family name, family address, etc.

[0058] For example, a smart home management app can be installed on an electronic device (smart mobile terminal). After logging into a user account on the app, there are multiple households under that user account.

[0059] The home switching method in this embodiment mainly includes the following steps, see below. Figure 1 As shown.

[0060] Step S1: Among multiple families under a user account, any two families whose family distance does not reach the first threshold are grouped into a neighboring family group.

[0061] That is, two families whose distance is less than a first threshold are grouped into a neighboring family group.

[0062] Step S2: Select one of the neighboring family groups as the default family.

[0063] In some embodiments of this application, among multiple families in a neighboring family group, the family that receives the most control commands from the user account is designated as the default family for that neighboring family group.

[0064] That is, in a neighboring family group, the family that executes the most control commands from the user account is designated as the default family.

[0065] Specifically, the steps include the following: See Figure 2 As shown.

[0066] Step S2-1: In each neighboring family group, iterate through the number of control commands received by each family from the user account.

[0067] Step S2-2: Select the family that receives the most control commands from the user account as the default family for that neighboring family group.

[0068] Therefore, the default family is the family that executes control commands the most times among neighboring family groups.

[0069] The family that receives the most control commands from users is generally the family where users spend the most time. Using this family as the default family for that neighboring family group is more accurate.

[0070] The number of control commands can be obtained by querying the cloud platform.

[0071] Step S3: Calculate the distance between the user's current location and any household under the user's account.

[0072] The user's current location is obtained through the positioning of the user's smart mobile terminal.

[0073] Each user account contains the address of each household, and the address of each household can be obtained directly.

[0074] Step S4: Determine whether there are any households whose distance from the user's current location does not reach the second threshold.

[0075] That is, determining whether there are any families whose distance from the user's current location is less than the second threshold.

[0076] The second threshold is greater than the first threshold. For example, the second threshold is 200 meters and the first threshold is 100 meters.

[0077] If none of the above exist, meaning the distance between the user's family and the user's current location is greater than the second threshold, then proceed to step S5: Do not perform the switching operation.

[0078] If there are families whose distance from the user's current location does not reach the second threshold, then proceed to step S6.

[0079] Step S6: Among the families whose distance from the user's current location has not reached the second threshold, select the family closest to the user's current location as the alternative family to switch to.

[0080] Under a user account, there may be multiple households whose distance from the user's current location is less than a second threshold. Among these households, the one closest to the user's current location is selected as the alternative household to switch to.

[0081] Step S7: Obtain the current family information for the user account.

[0082] Current family refers to the family currently displayed under the user's account.

[0083] Step S8: Determine whether the candidate switching family and the user account's current family are in the same neighboring family group.

[0084] If not, that is, when the alternative family to switch to is not in the same neighboring family group as the user's current family, then proceed to step S9: automatically switch the current family to the alternative family to switch to. That is, the user's current screen will automatically switch to the alternative family to switch to.

[0085] If so, that is, when the alternative family to be switched and the current family of the user account are in the same neighboring family group, then proceed to step S10.

[0086] Step S10: Determine whether the last switching method was manual switching.

[0087] If not, meaning the last switching method was automatic, then proceed to step S11: automatically switch the current household to the default household of the neighboring household group of the candidate switching household. That is, the user account's current interface will automatically switch to the default household of the neighboring household group of the candidate switching household.

[0088] If so, i.e. the last switching method was manual switching, then proceed to step S12: do not perform the switching operation.

[0089] Therefore, if the candidate family to switch to is not in the same neighboring family group as the user's current family, it means that the candidate family to switch to is far away from the current family. In this case, the current family will be automatically switched to the candidate family to switch to. The candidate family to switch to will be displayed on the user's current screen.

[0090] When the candidate family to switch and the user's current family are in the same neighboring family group, it means that the candidate family to switch and the current family are close to each other. If the last switching method was automatic, the current family will be automatically switched to the default family in the neighboring family group where the candidate family to switch is located, and the current screen of the user's account will display the default family in the neighboring family group where the candidate family to switch is located. If the last switching method was manual, no switching operation will be performed to avoid frequent switching.

[0091] The family switching method in this embodiment is designed to group any two families whose distance to each other does not reach a first threshold into a neighboring family group. One family in this group is selected as the default family. The distance between the user's current location and any family under the user's account is calculated. If there is a family whose distance to the user's current location does not reach a second threshold, the family closest to the user's current location is selected as a candidate family to switch to. If the candidate family and the user's current family are not in the same neighboring family group, the current family is automatically switched to the candidate family. If the candidate family and the user's current family are in the same neighboring family group, and the last switching method was automatic, the current family is automatically switched to the default family in the neighboring family group of the candidate family. If the last switching method was manual, no switching operation is performed. Therefore, this family switching method, by setting neighboring family groups and a default family, and determining whether to switch based on whether the candidate family and the user's current family are in the same neighboring family group and the last switching method, avoids frequent family switching, solves the technical problem of frequent family switching in the prior art, and improves the user experience.

[0092] If the alternative family to switch to is the same family as the user's current family, the switching operation will not be performed.

[0093] In some embodiments of this application, step S11 automatically switches the current household to the default household of the neighboring household group where the alternative switching household is located. This specifically includes the following steps, see below. Figure 3 As shown.

[0094] Step S11-1: Determine whether the alternative switching family is in multiple neighboring family groups at the same time.

[0095] If not, i.e., when the alternative switching family is only in a neighboring family group, then proceed to step S11-2: automatically switch the current family to the default family of that neighboring family group.

[0096] If so, that is, when the candidate switching family is in multiple neighboring family groups at the same time, then step S11-3 is executed: the current family is automatically switched to the family that has received the most control commands from the user account among the multiple neighboring family groups. That is, the current family is automatically switched to the family that has executed the most control commands from the user account among the multiple neighboring family groups.

[0097] The default family in each neighboring family group is the family that executes the most control commands from the user account within that family group.

[0098] Multiple neighboring home groups have multiple default homes. Therefore, the current home will be automatically switched to the default home that receives the most control commands from the user account among the multiple default homes.

[0099] By designing the above steps S11-1 to S11-3, when the alternative switching family is in multiple adjacent family groups at the same time, a default family can be accurately selected and the current family can be switched to the default family.

[0100] In some embodiments of this application, manual switching specifically includes the following steps, see [link to relevant documentation]. Figure 4 As shown.

[0101] Step S41: Manually switch the current household to the backup household.

[0102] Step S42: Set the last switching mode variable P to manual switching.

[0103] Therefore, after manually switching the current household to the backup household, it is also necessary to set the value of variable P so that the previous switching method can be obtained during the next switching.

[0104] In some embodiments of this application, automatic switching specifically includes the following steps, see [link to relevant documentation]. Figure 5 As shown.

[0105] Step S51: Automatically switch the current household to the backup household.

[0106] Step S52: Set the previous switching mode variable P to automatic switching.

[0107] Therefore, after automatically switching the current household to the backup household, it is also necessary to set the value of variable P so that the previous switching method can be obtained during the next switching.

[0108] The variable P, representing the last switching mode, indicates the last switching mode. For example, P=1 indicates manual switching, and P=0 indicates automatic switching. Alternatively, P="manual switching" or P="automatic switching".

[0109] To determine whether the last switching method was a manual switch, the following steps are involved; see [link / reference]. Figure 6 As shown.

[0110] Step S61: Read the variable P from the last switching mode.

[0111] Step S62: Based on the read value of P, determine whether the last switching method was manual or automatic.

[0112] In some embodiments of this application, multiple neighboring family groups are set up in a list for ease of management.

[0113] During app runtime (including app execution and app switching from background to foreground), the process of creating a list of nearby families is automatically executed once. The following section combines this with... Figure 7 This section details the process of creating a list of neighboring families.

[0114] (1) Iterate through the distance Di between each pair of families under the APP user account.

[0115] (2) If Di < threshold 1 (i.e., the first threshold, such as 100 meters), then the two neighboring families are set as a neighboring family group.

[0116] (3) Query the number of times devices in each household of the neighboring household group are powered on using the current APP account (control operations initiated by the APP user account are sent to devices such as central air conditioning indoor units through the cloud platform, and the cloud platform will count the total number of different control commands issued by the APP user account to devices in different households). The household with the most executions is set as the default household of the neighboring household group. The neighboring household group stores the household name, household address, and default household name.

[0117] (4) Create a list of neighboring families and add eligible neighboring family groups to the list of neighboring families.

[0118] When the app is running (including app execution and app switching from background to foreground), after completing the process of creating the nearby family list, it will automatically execute a family switching process once. When the app is running in the foreground, the app needs to execute the family switching process periodically (e.g., every 5 minutes). The following section combines... Figure 8 The specific switching process is explained below.

[0119] (1) Calculate the distance information Di between the mobile phone's location and all families under the APP account.

[0120] (2) Determine whether the family with the smallest Di value (the family with the smallest distance from the mobile phone location) among families with Di < threshold 2 (i.e., the second threshold, such as 200 meters) is in the list of nearby families. If not, the current interface of the APP account will automatically switch to the family with the smallest Di value. If it is, it is necessary to further determine whether the family with the smallest Di value and the current family are in the same nearby family group.

[0121] (3) If not in the same neighboring family group, the current interface of the APP account will be switched to the family with the smallest Di value.

[0122] If they are in the same neighboring family group, then determine whether the last switching method was manual.

[0123] (4) If it is a manual switch, the home switch operation will not be performed.

[0124] If automatic switching is enabled, it is necessary to determine whether the family with the smallest Di value is simultaneously in multiple neighboring family groups.

[0125] (5) If the family with the smallest Di value is in only one neighboring family group, the current interface of the APP account will automatically switch to the default family of the neighboring family group where the family with the smallest Di value is located, that is, the current family will be automatically switched to the default family of the neighboring family group.

[0126] If the family with the smallest Di value is in multiple neighboring family groups, the current interface of the APP account will automatically switch to the default family that has executed the control commands the most times. That is, the current family will be automatically switched to the default family that has executed the control commands the most times among multiple default families.

[0127] The family switching method in this embodiment automatically traverses and calculates the distance between all families under the user's APP account and the mobile phone location based on the user's mobile phone location, and switches based on whether the nearest family and the current family are in the same neighboring family group.

[0128] The family switching method in this embodiment proposes a neighboring family group and a default family for the neighboring family group. When the candidate family to be switched and the current family of the user account are not in the same neighboring family group, the current family is automatically switched to the candidate family to be switched. When the candidate family to be switched and the current family of the user account are in the same neighboring family group, if the last switching method was manual, no switching operation is performed. If the last switching method was automatic, and the candidate family to be switched is only in one neighboring family group, the current family is automatically switched to the default family of that neighboring family group. When the candidate family to be switched is in multiple neighboring family groups, the current family is automatically switched to the family that has received the most control commands from the user account among the multiple neighboring family groups.

[0129] Example 2

[0130] Based on the design of the home switching method in Embodiment 1, Embodiment 2 proposes a home switching system, including: a neighboring home group creation module, a switching control module, etc. (See [link]). Figure 9 As shown.

[0131] The neighboring family group creation module is configured to: group any two families whose distance does not reach a first threshold into a neighboring family group from among multiple families under a user account; and select one family from the neighboring family group as the default family.

[0132] The switching control module is configured as follows:

[0133] Calculate the distance between the user's current location and any household under the user's account;

[0134] If there are families whose distance from the user's current location is less than the second threshold, then the family closest to the user's current location will be selected as the alternative family to switch to; the second threshold is greater than the first threshold.

[0135] When the alternative family to switch to is not in the same neighboring family group as the user's current family, the current family will be automatically switched to the alternative family to switch to.

[0136] When the candidate family to be switched and the user's current family are in the same neighboring family group, if the last switching method was automatic, the current family will be automatically switched to the default family in the neighboring family group where the candidate family to be switched is located; if the last switching method was manual, no switching operation will be performed.

[0137] In some embodiments of this application, the current household is automatically switched to the default household of the neighboring household group of the candidate switching household, specifically including:

[0138] When the only alternative family to switch to is in a neighboring family group, the current family will be automatically switched to the default family of that neighboring family group;

[0139] When the alternative family to be switched is in multiple neighboring family groups at the same time, the current family will be automatically switched to the family that has received the most control commands from the user account among the multiple neighboring family groups.

[0140] In some embodiments of this application, selecting one family from a neighboring family group as the default family specifically includes:

[0141] Among multiple households in a neighboring household group, the household that receives the most control commands from the user account is designated as the default household for that neighboring household group.

[0142] In some embodiments of this application, manual switching specifically includes: manually switching the current household to a backup household; and setting the last switching method variable to manual switching.

[0143] Automatic switching specifically includes: automatically switching the current household to the backup household; and setting the last switching method variable to automatic switching.

[0144] The specific working process of the home switching system has been detailed in the above home switching methods and will not be repeated here.

[0145] The family switching system in this embodiment is designed to group any two families whose distance to each other does not reach a first threshold into a neighboring family group. One family in this group is selected as the default family. The distance between the user's current location and any family under the user's account is calculated. If there is a family whose distance to the user's current location does not reach a second threshold, the family closest to the user's current location is selected as a candidate family for switching. If the candidate family and the user's current family are not in the same neighboring family group, the current family is automatically switched to the candidate family. If the candidate family and the user's current family are in the same neighboring family group, and the last switching method was automatic, the current family is automatically switched to the default family in the neighboring family group of the candidate family. If the last switching method was manual, no switching operation is performed. Therefore, the family switching method in this embodiment, by setting neighboring family groups and a default family, and determining whether to switch based on whether the candidate family and the user's current family are in the same neighboring family group and the last switching method, avoids frequent family switching, solves the technical problem of frequent family switching in the prior art, and improves the user experience.

[0146] Example 3

[0147] Based on the design of the home switching system in Embodiment 2, this Embodiment 3 proposes an intelligent home management system, including the aforementioned home switching system.

[0148] Smart home management systems include home switching systems and device control systems; see [link / reference]. Figure 10 As shown.

[0149] The home switching system is used to switch the current home based on the user's location.

[0150] Equipment control systems are used to control various devices in a home.

[0151] The smart home management system in this embodiment, by designing a home switching system, avoids frequent home switching, solves the technical problem of frequent home switching in the prior art, and improves the user experience.

[0152] Example 4

[0153] This fourth embodiment proposes an electronic device, including a memory and a processor, etc. See [link to previous document]. Figure 11 As shown.

[0154] Memory is used to store computer programs.

[0155] When the processor executes the program stored in the memory, it implements the home switching method described in Embodiment 1 and achieves the technical effects of the corresponding embodiment.

[0156] In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.

[0157] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A home switching method, characterized in that: include: Among multiple families under a user account, any two families whose family distance does not reach the first threshold are grouped into a neighboring family group; Select one of the neighboring family groups as the default family; Calculate the distance between the user's current location and any household under the user's account; If there are families whose distance from the user's current location does not reach the second threshold, then the family closest to the user's current location will be selected as the alternative family to switch to. The second threshold is greater than the first threshold; When the alternative family to switch to is not in the same neighboring family group as the user's current family, the current family will be automatically switched to the alternative family to switch to. When the candidate family to be switched and the user's current family are in the same neighboring family group, if the last switching method was automatic, the current family will be automatically switched to the default family in the neighboring family group where the candidate family to be switched is located; if the last switching method was manual, no switching operation will be performed.

2. The home switching method according to claim 1, characterized in that: The automatic switching of the current household to the default household in the neighboring household group of the alternative switching household specifically includes: When the only alternative family to switch to is in a neighboring family group, the current family will be automatically switched to the default family of that neighboring family group; When the alternative family to be switched is in multiple neighboring family groups at the same time, the current family will be automatically switched to the family that has received the most control commands from the user account among the multiple neighboring family groups.

3. The home switching method according to claim 1, characterized in that: The step of selecting one family from the neighboring family group as the default family specifically includes: Among multiple households in a neighboring household group, the household that receives the most control commands from the user account is designated as the default household for that neighboring household group.

4. The home switching method according to claim 1, characterized in that: Manual switching specifically includes: manually switching the current household to the backup household; setting the last switching method variable to manual switching. Automatic switching specifically includes: automatically switching the current household to the backup household; and setting the last switching method variable to automatic switching.

5. A home switching system, characterized in that: include: The neighboring family group creation module is configured to: group any two families whose distance does not reach a first threshold into a neighboring family group from among multiple families under a user account; and select one family from the neighboring family group as the default family. The switching control module is configured as follows: Calculate the distance between the user's current location and any household under the user's account; If there are families whose distance from the user's current location does not reach the second threshold, then the family closest to the user's current location will be selected as the alternative family to switch to. The second threshold is greater than the first threshold; When the alternative family to switch to is not in the same neighboring family group as the user's current family, the current family will be automatically switched to the alternative family to switch to. When the candidate family to be switched and the user's current family are in the same neighboring family group, if the last switching method was automatic, the current family will be automatically switched to the default family in the neighboring family group where the candidate family to be switched is located; if the last switching method was manual, no switching operation will be performed.

6. The home switching system according to claim 5, characterized in that: The automatic switching of the current household to the default household in the neighboring household group of the alternative switching household specifically includes: When the only alternative family to switch to is in a neighboring family group, the current family will be automatically switched to the default family of that neighboring family group; When the alternative family to be switched is in multiple neighboring family groups at the same time, the current family will be automatically switched to the family that has received the most control commands from the user account among the multiple neighboring family groups.

7. The home switching system according to claim 5, characterized in that: The step of selecting one family from the neighboring family group as the default family specifically includes: Among multiple households in a neighboring household group, the household that receives the most control commands from the user account is designated as the default household for that neighboring household group.

8. The home switching system according to claim 5, characterized in that: Manual switching specifically includes: manually switching the current household to the backup household; setting the last switching method variable to manual switching. Automatic switching specifically includes: automatically switching the current household to the backup household; and setting the last switching method variable to automatic switching.

9. A smart home management system, characterized in that: Including the home switching system as described in any one of claims 5 to 8.

10. An electronic device, characterized in that: include: Memory, used to store computer programs; The processor, when executing a program stored in memory, implements the home switching method as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Intelligent equipment control method and device based on position information

    CN116414041A

  • Vehicle switching method based on vehicle networking application program, electronic equipment and storage medium

    CN117311917A