A home control method and system combined with wearable devices

By obtaining the posture and sign data of the wearable device, judging the action type and moving vector to generate control instructions, the problem of low utilization rate of wearable devices in the home control field is solved, and smart home control and energy-saving effects are achieved.

CN117234099BActive Publication Date: 2025-08-26深圳腾信百纳科技有限公司
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311304439.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-10-10
Publication Date
2025-08-26
Estimated Expiration
2043-10-10

AI Technical Summary

Technical Problem

Wearing devices are not very utilitarian and applicable in the field of home control, and lack deep-seated application methods.

Method used

By obtaining the posture data and sign data of the wearable device, judge the action type, posture type and movement vector, generate control commands to control the home equipment to convert it into corresponding preset modes, and realize intelligent control of the home equipment.

Benefits of technology

It improves the utilization and applicability of wearable devices in the field of home control, and can start or shut down home equipment as needed to achieve energy-saving effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117234099B_ABST
    Figure CN117234099B_ABST
Patent Text Reader

Abstract

The present application relates to a home control method and system in combination with a wearable device, the method comprising the following steps: if the action type in the posture data matches the action list, converting the action type into the corresponding home mode; if it does not match the action list, obtaining the posture type; if the posture type is a lying type, determining whether the vital sign data is lower than the vital sign threshold; if it is lower than the vital sign threshold, obtaining the duration of the vital sign data being lower than the vital sign threshold; if the duration is greater than the duration threshold, converting the device into the corresponding first home mode; if the posture type is not a lying type, obtaining the movement vector of the wearable device; if the vector value is greater than the movement threshold, obtaining the vector direction; if the detection device corresponding to the vector direction detects the wearable device, converting the device into the corresponding second home mode. The present application has the effect of improving the utilization and applicability of wearable devices in home control, and controlling the activation or deactivation of home devices on demand.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of indoor intelligent control technology, and in particular to a home control method and system combined with wearable devices. Background Art

[0002] With the rapid development of science and technology and the increasing demand for quality of life, wearable devices have gradually become part of people's lives. Wearable devices, also known as wearable devices or smart wearables, refer to portable devices that are worn directly on the body or integrated into the user's clothing or accessories. Wearable devices often take the form of portable accessories with some computing capabilities that can connect to mobile phones and various terminals. Mainstream product forms include wrist-supported watches (including watches and wristbands), foot-supported shoes (including shoes, socks, and other leg-worn products in the future), head-supported glasses (including glasses, helmets, headbands, etc.), as well as various non-mainstream product forms such as smart clothing, backpacks, crutches, and accessories.

[0003] In traditional technology, wearable devices have various application scenarios, such as smart glasses for VR games in the infotainment field, smart watches for obtaining human vital signs in the medical and healthcare field, and motion tracking sensors for capturing motion data in the sports field. However, there are currently few applications of wearable devices in home control. Even if there are, they simply implement corresponding functions through a single fixed instruction and lack deeper application methods. As a result, the utilization rate and applicability of wearable devices in the home control field are not high.

[0004] Therefore, in order to solve the above problems, it is an urgent problem to be solved by those skilled in the art to provide a home control method and system that combines wearable devices and can improve the utilization and applicability of wearable devices in the field of home control. Summary of the Invention

[0005] In order to improve the utilization and applicability of wearable devices in the field of home control, the present application provides a home control method and system combined with wearable devices.

[0006] In a first aspect, the present application provides a home control method in combination with a wearable device, comprising the following steps:

[0007] Acquire status data of the wearable device, wherein the status data includes posture data and vital sign data;

[0008] Obtaining an action type from the posture data;

[0009] If the action type matches the preset action list, then obtaining a preset control instruction according to the action type to control the home appliance to switch to the corresponding preset home mode;

[0010] If the action type does not conform to the preset action list, obtaining the posture type in the posture data;

[0011] If the posture type is a lying type, determining whether the vital sign data is lower than a preset vital sign threshold;

[0012] If the physical sign data is lower than the preset physical sign threshold, obtaining the duration of the physical sign data being lower than the preset physical sign threshold;

[0013] If the duration is longer than a preset duration threshold, a first control instruction is generated to control the home appliance to switch to the corresponding first home mode;

[0014] If the posture type is not the lying type, obtaining a movement vector of the wearable device;

[0015] If the vector value of the movement vector is greater than the preset movement threshold, obtaining the vector direction of the movement vector;

[0016] If the detection device corresponding to the vector direction detects the wearable device, a second control instruction is generated to control the home appliance to switch to the corresponding second home mode.

[0017] Optionally, if the action type matches a preset action list, obtaining a preset control instruction according to the action type to control the home appliance to switch to a corresponding preset home mode includes:

[0018] If the action type matches the preset action list, determining the number of types of the action type;

[0019] If the number of types is equal to 1, a preset control instruction is obtained according to the action type to control the home appliance to switch to the corresponding preset home mode;

[0020] If the number of types is greater than 1, obtaining the preset priority of each action type;

[0021] Selecting the action type corresponding to the preset priority that meets the preset priority condition as the selected action type;

[0022] According to the selected action type, a preset control instruction is obtained to control the home appliance to switch to the corresponding preset home mode.

[0023] Optionally, after obtaining a preset control instruction according to the action type to control the home appliance to switch to a corresponding preset home mode, the method includes:

[0024] If the action type that matches the preset action list is obtained again, the action type is used as the comparison action type;

[0025] Obtaining the interval between the comparison action type and the selection action type;

[0026] If the interval time is less than or equal to the preset interval time, determining whether the comparison action type and the selection action type are of the same type;

[0027] If they belong to the same action type, then the preset control instruction is obtained according to the compared action type, and the home appliance is controlled to switch to the corresponding preset home mode;

[0028] If the interval time is greater than the preset interval time, a preset control instruction is obtained according to the comparison action type, and the home appliance is controlled to switch to the corresponding preset home mode.

[0029] Optionally, if the posture type is a lying type, determining whether the vital sign data is lower than a preset vital sign threshold includes:

[0030] If the posture type is a lying type, determining whether the current environment meets the requirements of a resting environment;

[0031] If the rest environment is not met, an adjustment prompt is generated and outputted via the wearable device;

[0032] If the rest environment is met, it is determined whether the vital sign data is lower than the preset vital sign threshold.

[0033] Optionally, after generating an adjustment prompt and outputting it through a wearable device if the rest environment is not met, the method further includes:

[0034] determining whether a confirmation instruction corresponding to the adjustment prompt is received;

[0035] If the corresponding confirmation instruction is obtained, the home appliance is controlled to switch to the corresponding preset home mode according to the confirmation instruction;

[0036] If the corresponding confirmation instruction is not obtained, the adjustment prompt will stop being displayed after a preset display time.

[0037] Optionally, before obtaining the action type in the posture data, the method includes:

[0038] Determining whether the action type exists in the posture data;

[0039] If the action type does not exist, determining whether the wearable device obtains a voice command;

[0040] If the voice command is obtained, the home appliance is controlled to switch to the user home mode corresponding to the voice command;

[0041] If the voice command is not obtained, determining whether the wearable device obtains the user command;

[0042] If the user instruction is obtained, the home appliance is controlled to switch to the user home mode corresponding to the user instruction;

[0043] If the action type exists, the step of obtaining the action type in the posture data is entered.

[0044] Optionally, if the voice command is obtained, controlling the home appliance to switch to a user home mode corresponding to the user command includes:

[0045] Get voice data;

[0046] Determining whether the voice data contains preset keywords;

[0047] If the preset keyword is not included, it is determined that the voice command is not obtained;

[0048] If the preset keyword is included, obtaining the voice instruction corresponding to the preset keyword;

[0049] According to the voice command, the home appliance is controlled to switch to a user home mode corresponding to the user command.

[0050] Optionally, if the preset keyword is included, obtaining the voice instruction corresponding to the preset keyword includes:

[0051] Determining the keyword quantity of the preset keywords;

[0052] If the number of the keywords is greater than 1, the priority of each of the preset keywords is obtained;

[0053] Select the preset keyword corresponding to the highest priority as the target keyword;

[0054] The voice instruction corresponding to the target keyword is obtained.

[0055] Optionally, obtaining the voice instruction corresponding to the target keyword includes:

[0056] Determining the relevance between the other preset keywords and the target keyword;

[0057] taking the preset keywords whose relevance is greater than the relevance threshold as the relevance keywords;

[0058] Combining the target keyword and the associated keyword to form a control keyword according to a preset combination rule;

[0059] The voice instruction corresponding to the control keyword is acquired.

[0060] In a second aspect, the present application provides a home control system combined with a wearable device, comprising:

[0061] A first acquisition module is used to acquire status data of the wearable device, wherein the status data includes posture data and vital sign data;

[0062] A second acquisition module acquires the action type in the posture data;

[0063] a first conversion module, configured to obtain a preset control instruction according to the action type and control the home appliance to convert into a corresponding preset home mode if the action type matches the preset action list;

[0064] a third acquisition module, configured to acquire the gesture type from the gesture data if the action type does not conform to the preset action list;

[0065] a first judgment module, for judging whether the vital sign data is lower than a preset vital sign threshold if the posture type is a lying type;

[0066] a fourth acquisition module, wherein if the vital sign data is lower than the preset vital sign threshold, the fourth acquisition module is used to acquire a duration during which the vital sign data is lower than the preset vital sign threshold;

[0067] a second conversion module, configured to generate a first control instruction to control the home appliance to switch to the corresponding first home mode if the duration is greater than a preset duration threshold;

[0068] a fifth acquisition module, configured to acquire a movement vector of the wearable device if the posture type is not the lying type;

[0069] a sixth acquisition module, configured to acquire a vector direction of the motion vector if the vector value of the motion vector is greater than the preset motion threshold;

[0070] The third conversion module is used to generate a second control instruction to control the home appliance to convert into the corresponding second home mode if the detection device corresponding to the vector direction detects the wearable device.

[0071] In summary, the present application combines a home control method with a wearable device to determine whether the action type meets the preset action list. If it meets the preset action list, the home appliance is controlled to switch to the corresponding preset home mode. If it does not meet the preset action list and the posture type is lying down, the method selects whether to control the home appliance to switch to the corresponding first home mode based on whether the vital sign data is lower than the preset vital sign threshold and whether the duration of the vital sign data being lower than the preset vital sign threshold is greater than the preset duration threshold. If the posture type is not lying down, the method selects whether to control the home appliance to switch to the corresponding second home mode based on whether the vector value of the wearable device's movement vector is greater than the preset movement threshold and whether the detection device corresponding to the vector direction detects the wearable device. Thus, based on the specific judgment of posture type, vital sign data, and movement vector, various control methods for home appliances can be implemented when the wearer is in different environments, states, and rooms, thereby improving the utilization and applicability of wearable devices in the field of home control. At the same time, the wearable device can be combined with the wearable device to control home appliances to start or shut down on demand, thereby achieving energy saving effects. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 This is a flowchart of one implementation of a home control method combined with a wearable device according to an embodiment of the present application;

[0073] Figure 2 This is a flowchart of one implementation of a home control method combined with a wearable device according to an embodiment of the present application;

[0074] Figure 3 This is a flowchart of one implementation of a home control method combined with a wearable device according to an embodiment of the present application;

[0075] Figure 4 This is a flowchart of one implementation of a home control method combined with a wearable device according to an embodiment of the present application;

[0076] Figure 5 This is a flowchart of one implementation of a home control method combined with a wearable device according to an embodiment of the present application;

[0077] Figure 6 This is a flowchart of one implementation of a home control method combined with a wearable device according to an embodiment of the present application;

[0078] Figure 7 This is a flowchart of one implementation of a home control method combined with a wearable device according to an embodiment of the present application;

[0079] Figure 8 This is a flowchart of one implementation of a home control method combined with a wearable device according to an embodiment of the present application;

[0080] Figure 9 This is a flowchart of one implementation method of home control combined with a wearable device according to an embodiment of the present application;

[0081] Figure 10 This is a module block diagram of one implementation of a home control system combined with a wearable device according to an embodiment of the present application. DETAILED DESCRIPTION

[0082] In order to enable those skilled in the art to better understand the technical solutions in this application, the technical solutions in the embodiments of this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of this application.

[0083] In the first aspect, the present application provides a home control method combined with a wearable device, such as Figure 1 As shown, the following steps are included:

[0084] S101. Obtaining status data of the wearable device, including posture data and vital signs data;

[0085] S102. Obtaining the action type in the posture data;

[0086] S103. If the action type matches the preset action list, the preset control instruction is obtained according to the action type to control the home appliance to be converted into the corresponding preset home mode;

[0087] S104. If the action type does not conform to the preset action list, the posture type in the posture data is obtained;

[0088] S105. If the posture type is lying down, determine whether the vital sign data is lower than the preset vital sign threshold;

[0089] S106. If the vital sign data is lower than the preset vital sign threshold, obtain the duration of the vital sign data being lower than the preset vital sign threshold;

[0090] S107. If the duration is longer than the preset duration threshold, a first control instruction is generated to control the home appliance to switch to the corresponding first home mode;

[0091] S108. If the posture type is not lying down, obtain the movement vector of the wearable device;

[0092] S109. If the vector value of the movement vector is greater than the preset movement threshold, obtain the vector direction of the movement vector;

[0093] S110. If the detection device corresponding to the vector direction detects the wearable device, a second control instruction is generated to control the home appliance to switch to the corresponding second home mode.

[0094] It should be noted that the wearable devices involved in this application include but are not limited to smart watches, smart bracelets, smart glasses, smart headbands, motion tracking sensors, etc., as long as these wearable devices can obtain posture data and vital sign data.

[0095] The posture data in step S101 refers to the posture and movement of the wearer's body, which first includes the posture type in step S104, such as standing type, sitting type, and lying type, while the vital sign data refers to various body sign data of the wearer, such as blood pressure, heart rate, body temperature, etc. The posture type is obtained based on the position change of the wearable device corresponding to the wearer. Of course, it can also be confirmed or corrected based on other devices such as a camera. For example, if the posture type obtained by the wearable device is a sitting type, but after comparison with historical life data, it is found that it does not match the life data in the historical records of the wearer's current time period, such as falling asleep after 10 pm, or working from home at 9 am, etc., different work and rest habits or life habits, then the camera is activated to obtain the posture type as a lying type, and the current time period is 11 pm. Combined with the life data, the posture type is corrected to a lying type.

[0096] Secondly, the posture data also includes the action type in step S104, which includes the rotation, movement and mutual contact of the head, hands, legs, feet and other parts of the body. Similar to the acquisition of the posture type, the action type is obtained based on the movement changes of the wearable device corresponding to the wearer. Of course, it can also be confirmed or corrected based on other devices such as cameras.

[0097] The vital sign data can integrate the vital sign data obtained by the wearer's various wearable devices and select the vital sign data that best suits the wearer's actual condition according to preset selection rules or acquisition priorities. For example, the heart rate data obtained by smart glasses is A, and the heart rate data obtained by the smart bracelet is B. Since the smart bracelet is closer to the hand and can obtain pulse data more effectively, its priority for obtaining heart rate data is obviously higher than that of the smart glasses. Therefore, the heart rate data obtained by the smart bracelet is selected as B.

[0098] After obtaining the action type in the posture data in step S102, a determination is made as to whether the action type matches a preset action list. Based on the determination, either step S103 or step S104 is selected for subsequent execution. The preset action list is a pre-formed list of action types, including rotation, movement, and contact of the head, hands, legs, feet, and other body parts. Each action type in the preset action list corresponds to a preset control instruction. Different preset control instructions can be used to adjust or convert smart home devices in different rooms or locations within the home to corresponding preset home modes.

[0099] If the action type matches the preset action list, it means that the current action type has a corresponding record in the preset action list, and thus has a corresponding preset control instruction, then step S103 is executed to obtain the preset control instruction according to the action type to control the home appliance to convert into the corresponding preset home mode. For example, the current action type is that the hand moves upward by a predetermined amplitude, and its corresponding preset control instruction is to turn on the air conditioner closest to the current location, such as the living room. At the same time, this hand upward action occurs twice in a row, and its corresponding preset control instruction is to adjust the turned-on air conditioner to the first preset temperature, thereby forming the corresponding preset home mode.

[0100] Of course, you can also control the air conditioner to adjust to the corresponding working mode according to the current time or current indoor temperature. For example, if the current time is July or the current indoor temperature is 31 degrees Celsius, turn on the living room air conditioner and adjust it to the first preset temperature in the cooling mode.

[0101] If the action type does not match the preset action list, it means that the current action type has no corresponding record in the preset action list, and thus there is no corresponding preset control instruction. At this time, it is possible that the wearer did not perform the action corresponding to the action type, or the wearer forgot the specific action type, or the wearer forgot to perform the action corresponding to the action type before falling asleep. Then, execute step S104 to obtain the posture type in the posture data, determine whether the posture type is the lying type, and select subsequent step S105 or step S108 based on the judgment result.

[0102] If the posture type is lying down, in addition to lying down corresponding to normal sleep, it is also possible to perform other actions while lying down or lying on one's stomach, such as looking at a mobile phone or reading a book while lying down or lying on one's stomach. These other actions do not belong to normal sleep. During normal sleep, the body's vital sign data is lower than when awake. Therefore, step S105 is first performed to determine whether the vital sign data is lower than the preset vital sign threshold. Based on the judgment result, step S106 or other steps are selected. The preset vital sign threshold is pre-set and corresponds to the wearer's vital sign threshold in various environments, time periods, and different rooms. For example, the normal values ​​of the wearer's body temperature, heart rate, blood pressure, and other vital sign data for the wearer sleeping in the bedroom during the period from 11 pm to 6 am in the summer, or the normal values ​​of the wearer's vital sign data for the wearer reading in the study during the period from 6 pm to 10 pm in the winter.

[0103] If the vital sign data is higher than or equal to the preset vital sign threshold, it is possible that the person is lying or prone and performing other actions, such as covering himself with a thin blanket while lying down and watching a mobile phone. At this time, the body temperature rises to higher than the preset vital sign threshold. At this time, the corresponding control instructions are generated to control the home appliances to switch to the corresponding home mode, such as adjusting the air conditioner to maintain the working mode and comfortable temperature suitable for the current season.

[0104] If the vital sign data is lower than the preset vital sign threshold, in addition to the situation where the vital sign data drops when the human body is sleeping, the vital sign data may also be lower than the preset vital sign threshold due to other conditions. For example, when lying down and watching a mobile phone, the outer clothes are taken off. At this time, the vital sign data such as body temperature drops to below the preset vital sign threshold, but the wearer may feel cold and put on the outer clothes again in a relatively short time. Therefore, if it is necessary to more effectively determine whether the wearer has indeed entered a normal sleep, the duration of the vital sign data below the preset vital sign threshold in step S106 is executed at this time, and it is determined whether the duration is greater than the preset duration threshold. According to the determination result, it is determined whether to execute step S107 or other steps.

[0105] If the duration is less than or equal to the preset duration threshold, it means that the wearer has not entered normal sleep. At this time, the home mode currently running by the home appliance can be left unchanged. Of course, some home appliances can be individually controlled outside the preset home mode based on other factors such as current living habits, sudden weather conditions, etc. For example, within 1 hour before dark in the current season, the wearer's living habit is to read while lying down, and the sudden weather condition is dark clouds before rain, then the smart lighting devices in the home appliances can be adjusted separately to control them to form appropriate light brightness, so that the wearer can have a good reading environment experience.

[0106] If the duration is longer than the preset duration threshold, indicating that the wearer has entered normal sleep, the first control instruction generated in step S107 is executed to control the home appliances to switch to the corresponding first home mode. The first home mode includes controlling preset adjustments of multiple home appliances, such as controlling the smart air conditioner to maintain an operating mode and comfortable temperature that are consistent with the current season, and controlling the smart lighting equipment to adjust to a light brightness that is consistent with the current time.

[0107] If the posture type is not lying, it means that the wearer is sitting, squatting, standing, etc. The wearer in the sitting or squatting posture generally stays near the current position and does not move over a large range, such as moving from the bedroom to the bathroom. When the wearer is in the standing posture, in addition to being stationary or standing in a small range, it also includes standing and walking with a large range of movement, such as moving from the living room to the kitchen. In order to confirm the wearer's specific actions and actual status, the movement vector of the wearable device is obtained in step S108. The movement vector refers to the movement distance and movement direction of the wearer corresponding to the wearable device, which corresponds to the vector data and vector direction in steps S108 and S109 respectively.

[0108] If the vector value of the movement vector is less than or equal to the preset movement threshold, it means that the wearer is in a sitting or squatting type, or a stationary or small-range standing state. At this time, the home mode currently running the home appliance can be left unchanged. Of course, it is also possible to control some home appliances separately outside the preset home mode based on other factors such as current living habits, climate emergencies, etc., which will not be repeated here.

[0109] If the vector value of the movement vector is greater than the preset movement threshold, it means that the wearer is not in a sitting or squatting type, nor is he or she in a stationary or small-range standing state, but is standing and walking with a large range of movement. At this time, it is necessary to determine the movement direction of the wearer, and then execute step S109 to obtain the vector direction of the movement vector, and determine whether the detection device corresponding to the vector direction detects the wearable device. According to the judgment result, select the subsequent step S110 or other steps.

[0110] It should be noted that the detection device corresponding to the vector direction refers to the detection device in a room other than the wearer's current room. For example, if the current location is the living room, the corresponding detection device is based on whether the smart detection devices installed in other rooms such as the kitchen, bathroom, bedroom, and study have obtained the device signal of the wearable device corresponding to the wearer. In actual use, the smart detection device can be a smart switch with wireless sensing or detection, or a smart access control with ID sensing or detection. The above-mentioned smart detection devices determine whether the wearable device is detected by determining whether the wireless signal or ID data of the wearable device is obtained.

[0111] If the detection device corresponding to the vector direction detects the wearable device, it means that the wearer has moved to another room corresponding to the movement vector. At this time, a second control instruction is generated to control the home appliance to switch to the corresponding second home mode. For example, if it is determined that the wearer moves from the living room to the kitchen, a second control instruction is generated to control the home appliance to switch to the corresponding second home mode, such as controlling the lighting and ventilation equipment in the kitchen to turn on.

[0112] If the detection device corresponding to the vector direction does not detect the wearable device, it means that the wearer has not moved to other rooms corresponding to the movement vector. At this time, you can choose to continue to determine whether the detection device corresponding to the vector direction detects the wearable device, or you can choose to stop the judgment operation of the corresponding detection device after the preset judgment time.

[0113] It should be noted that since this application can realize various control methods of home appliances when the wearer is in different environments, states, and rooms based on specific judgments of posture type, vital sign data and movement vectors, it can not only improve the utilization and applicability of wearable devices in the field of home control, but also combine wearable devices to control home appliances to start or shut down on demand, thereby achieving energy-saving effects.

[0114] The home control method provided in conjunction with a wearable device in this embodiment determines whether the action type meets the preset action list. If so, the home appliance is controlled to switch to the corresponding preset home mode. If the action type does not meet the preset action list and the posture type is lying down, the method selects whether to control the home appliance to switch to the corresponding first home mode based on whether the vital sign data is below the preset vital sign threshold and whether the duration of the vital sign data below the preset vital sign threshold is greater than the preset duration threshold. If the posture type is not lying down, the method selects whether to control the home appliance to switch to the corresponding second home mode based on whether the vector value of the wearable device's movement vector is greater than the preset movement threshold and whether the detection device corresponding to the vector direction detects the wearable device. This allows various home appliance control methods to be implemented when the wearer is in different environments, states, and rooms based on specific judgments of posture type, vital sign data, and movement vector, thereby improving the utilization and applicability of wearable devices in the field of home control. Furthermore, the wearable device can be used to control home appliances to start or shut down on demand, thereby achieving energy saving effects.

[0115] In one embodiment of the present application, Figure 2 As shown, step S103, that is, if the action type matches the preset action list, obtaining the preset control instruction according to the action type to control the home appliance to switch to the corresponding preset home mode includes:

[0116] S201. If the action type matches the preset action list, the number of action types is determined;

[0117] S202. If the number of types is equal to 1, then the preset control instruction is obtained according to the action type to control the home appliance to be converted into the corresponding preset home mode;

[0118] S203. If the number of types is greater than 1, obtain the preset priority of each action type;

[0119] S204. Select the action type corresponding to the preset priority that meets the preset priority conditions as the selected action type;

[0120] S205. Obtain preset control instructions according to the selected action type to control the home appliance to switch to the corresponding preset home mode.

[0121] The number of types in step S201 refers to the specific number of each type of action included in the action type that matches the preset action list. For example, if the action types acquired within a certain time period include turning the head to the right more than 15 degrees, raising the hands 10 centimeters, and turning the feet inward more than 10 degrees, the number of action types in this case is 3. In actual use, if the wearer performs multiple action types within a certain time period, the final action type will be determined based on the preset priority. Therefore, the number of action types determined in step S201 will be determined, and the subsequent step S202 or step S203 will be selected based on the determination result.

[0122] If the number of types is equal to 1, it means that a unique control method can be directly determined according to this action type, and then step S202 is executed to obtain a preset control instruction according to the action type to control the home appliance to switch to the corresponding preset home mode.

[0123] If the number of types is greater than 1, it means that the only control method cannot be directly determined based on this action type, then execute step S203 to obtain the preset priority of each action type. This preset priority is the priority set in advance for each action type in the preset action list, and different action types have different corresponding priorities.

[0124] The preset priority condition in step S204 refers to a pre-set conditional rule for selecting one or more specific priorities from among multiple priorities, such as selecting the highest priority one or selecting a preset number of priorities that are ranked first. In actual operation, to avoid control conflicts, the action type corresponding to the highest priority is usually selected as the final selected action type.

[0125] After the selected action type is determined in step S204, step S205 is executed to obtain a preset control instruction based on the selected action type to control the home appliance to switch to the corresponding preset home mode. Of course, after the adjustment is completed, especially when the time interval between two acquisitions of status data is short, other unselected action types can be retained and combined with the action type acquired next time, and the action type corresponding to the preset priority that meets the preset priority conditions is again selected as the next selected action type.

[0126] The home control method combined with wearable devices provided in this embodiment, after determining the number of action types, obtains the preset priority of each action type, selects the action type corresponding to the preset priority that meets the preset priority condition as the selected action type, and then obtains the preset control instruction based on the selected action type to control the home appliance to convert into the corresponding preset home mode. In this way, regardless of the specific number of action types that meet the preset action list, a unique action type can be selected, thereby improving the accuracy of obtaining the preset control instruction to control the home appliance to convert into the corresponding preset home mode.

[0127] In one embodiment of the present application, Figure 3 As shown, in step S103, if the action type matches the preset action list, obtaining the preset control instruction according to the action type to control the home appliance to switch to the corresponding preset home mode includes:

[0128] S301. If an action type that matches the preset action list is obtained again, this action type is used as the comparison action type;

[0129] S302. Get the interval time between the comparison action type and the selection action type;

[0130] S303. If the interval is less than or equal to the preset interval, it is determined whether the comparison action type and the selection action type are of the same type;

[0131] S304. If they are of the same action type, then the preset control instructions are obtained based on the comparison action type, and the home appliance is controlled to be converted into the corresponding preset home mode;

[0132] S305. If the interval time is greater than the preset interval time, a preset control instruction is obtained according to the comparison action type, and the home appliance is controlled to switch to the corresponding preset home mode.

[0133] In actual use, after the home appliance is controlled to switch to the corresponding preset home mode according to the previously selected action type, it is still possible to continue to obtain the action type. At this time, it is necessary to determine whether to switch the mode of the home appliance according to the action type obtained again.

[0134] The action type obtained again in step S301 is used as the comparison action type, its acquisition time is recorded, and this acquisition time is compared or calculated with the acquisition time of the selected action type, that is, the interval time between obtaining the comparison action type and the selected action type in step S302 is realized. For example, if the acquisition time of the comparison action type is 18:05, and the acquisition time of the selected action type is 18:07, then the interval time between the two is 2 minutes.

[0135] The interval time obtained above is compared with the preset interval time, and step S303 or step S305 is selected based on the comparison result. The preset interval time is a preset interval time threshold between the comparison action type and the selection action type, for example, the preset interval time is 1 minute. Of course, it can be adjusted accordingly according to actual needs, which will not be repeated here.

[0136] If the interval time is less than or equal to the preset interval time, it means that the interval time between the acquisition time of the comparison action type and the acquisition time of the selection action type is short. Under normal circumstances, the wearer will not consciously form a strong intention to adjust the home appliances or his own movements in such a short time. It is also possible that the wearer believes that the previous action type has not achieved the corresponding effect and continues the action. Therefore, step S303 is executed to determine whether the comparison action type and the selection action type are of the same type, and step S304 or other steps are selected according to the judgment result.

[0137] If they belong to the same action type, it means that the action corresponding to the compared action type is a continuation action performed because the wearer believes that the previous action type, that is, the selected action type, did not achieve the corresponding effect. For example, the selected action type is to adjust the air conditioner to lower the temperature by 5 degrees Celsius, but the wearer believes that the air conditioner temperature should be further lowered. The resulting compared action type is a valid continuation action, and step S304 is executed to obtain the preset control instruction according to the compared action type, and control the home appliance to switch to the corresponding preset home mode.

[0138] If they do not belong to the same action type, it means that the action corresponding to the compared action type is another action type made unconsciously by the wearer. At this time, there is no need to make other adjustments to the home appliance. Of course, the number of times this different action type is formed or obtained can also be judged. If the number threshold is reached, it is possible that the wearer has a definite desire to make other adjustments to the home appliance. The specific settings or selection methods will not be repeated here.

[0139] Similarly, if the interval time is greater than the preset interval time, it means that there is a high probability that the wearer has a definite desire to make other adjustments to the home appliance, then step S305 is executed to obtain the preset control instruction according to the comparison action type, and the home appliance is controlled to switch to the corresponding preset home mode.

[0140] The home control method combined with wearable devices provided in this embodiment uses the action type that is acquired again and meets the preset action list as the comparison action type, and obtains the interval time between the comparison action type and the selected action type. According to the size relationship between the interval time and the preset interval time, and whether the two belong to the same action type, it is selected whether to obtain the preset control instruction according to the comparison action type, and control the home appliance to switch to the corresponding preset home mode. Therefore, when the action type that meets the preset action list is acquired again, the specific control selection of the home appliance is realized, thereby realizing the sustainability of the home control method provided by this application and further improving the utilization rate and applicability of wearable devices in the field of home control.

[0141] In one embodiment of the present application, Figure 4 As shown, step S105, i.e., if the posture type is the lying type, determining whether the vital sign data is lower than the preset vital sign threshold includes:

[0142] S401. If the posture type is lying type, determine whether the current environment meets the rest environment;

[0143] S402. If the rest environment is not met, an adjustment prompt is generated and outputted via the wearable device;

[0144] S403. If the rest environment is met, determine whether the vital sign data is lower than the preset vital sign threshold.

[0145] The resting environment in step S401 refers to the sleeping environment corresponding to the wearer's resting habits in different seasons, times, and locations. For example, in the fall, sleeping in the bedroom after 11:00 PM with a humidifier on, or taking a nap on the living room sofa from 12:30 PM to 1:30 PM in the summer with the air conditioner turned on to 28 degrees Celsius, etc. Since the sleeping state generally meets the reclining type, but the reclining type does not necessarily mean sleeping, it is necessary to determine whether the current environment meets the resting environment. Based on the determination result, the subsequent execution of step S402 or step S403 is determined.

[0146] If the resting environment does not meet the requirements, indicating that the current environment does not meet the wearer's sleeping environment, then step S402 is executed to generate an adjustment prompt and output it through the wearable device. For example, it is 11:05 pm in autumn, the wearer's posture type is lying down, but the location is the living room, and the resting environment corresponds to the bedroom as described above. Therefore, an adjustment prompt such as "It's sleep time now, do I need to turn on the bedroom humidifier?" is generated. The adjustment prompt can be a text prompt and displayed on the visual interface of the wearable device, or it can be a voice prompt and output through the wearable device so that the wearer can hear it.

[0147] If it meets the resting environment, it means that the current environment meets the wearer's sleeping environment, then step S403 is executed to determine whether the vital sign data is lower than the preset vital sign threshold. The subsequent description of S105 and its subsequent steps can be referred to, and will not be repeated here.

[0148] The home control method combined with a wearable device provided in this embodiment determines whether the current environment meets the resting environment when the posture type is a lying type, and chooses whether to generate an adjustment prompt or determine whether the vital sign data is lower than a preset vital sign threshold to execute subsequent steps based on the judgment result, thereby further improving the correspondence accuracy between the lying type and the wearer's sleep state, and improving the control accuracy of the home control method.

[0149] In one embodiment of the present application, Figure 5 As shown, in step S402, if the rest environment is not met, an adjustment prompt is generated and outputted through the wearable device, which includes:

[0150] S501. Determine whether a confirmation instruction corresponding to the adjustment prompt is received;

[0151] S502. If the corresponding confirmation instruction is obtained, the home appliance is controlled to convert into the corresponding preset home mode according to the confirmation instruction;

[0152] S503. If the corresponding confirmation instruction is not obtained, stop displaying the adjustment prompt after a preset display time.

[0153] The confirmation instruction in step S501 refers to the relevant instruction provided by the wearer in response to the adjustment prompt, including confirmation of the adjustment. Depending on whether the corresponding confirmation instruction is obtained, the wearer will select to proceed to step S502 or step S503. For example, if the adjustment prompt is "It's time to sleep now, do you want to turn on the bedroom humidifier?", the corresponding confirmation instruction can be a voice confirmation instruction such as "Confirm to turn on the bedroom humidifier" or a physical confirmation instruction such as nodding twice in a row. The confirmation instructions corresponding to each adjustment prompt can be pre-set.

[0154] If the corresponding confirmation instruction is obtained, it means that the wearer has accepted and agreed to the adjustment prompt, and then step S502 is executed to control the home appliance to convert into the corresponding preset home mode according to the confirmation instruction, thereby adjusting to the corresponding preset home mode. In addition to the adjustment corresponding to the adjustment prompt, other home appliances can be adjusted or controlled synchronously according to the preset adjustment association.

[0155] If no corresponding confirmation instruction is obtained, it means that the wearer may not have received or agreed to the adjustment prompt. In order to reduce the wearer's missed adjustment prompt due to temporary failure to receive the adjustment prompt, the adjustment prompt will remain displayed within the preset interval time, and the adjustment prompt will be stopped after the preset display time interval in step S503 is executed, thereby reducing the resource usage of the wearable device and the impact on the wearer's experience caused by unnecessary adjustment prompts.

[0156] The home control method combined with a wearable device provided in this embodiment determines whether a confirmation instruction corresponding to an adjustment prompt is received, and selects whether to control the home appliance to switch to the corresponding preset home mode or to stop displaying the adjustment prompt after a preset display time based on the judgment result. This can realize different processing methods for the wearer's feedback on the adjustment prompt, thereby improving the user experience of this home control method.

[0157] In one embodiment of the present application, Figure 6 As shown, before step S102, i.e., obtaining the action type in the posture data, the following steps are included:

[0158] S601. Determine whether there is an action type in the posture data;

[0159] S602. If the action type does not exist, determine whether the wearable device receives the voice command;

[0160] S603. If a voice command is obtained, the home appliance is controlled to be converted into the user home mode corresponding to the voice command;

[0161] S604. If no voice command is obtained, it is determined whether the wearable device obtains the user command;

[0162] S605. If a user instruction is obtained, the home appliance is controlled to switch to the user home mode corresponding to the user instruction;

[0163] S606. If the action type exists, enter the step of obtaining the action type in the posture data.

[0164] In actual use, there may be situations where the posture data does not contain an action type. For example, the wearer is currently unable to perform an action related to the action type, or the wearable device cannot currently correctly obtain the action type. In this case, in order to continue to control the home appliance to switch between various modes, corresponding control or switching can be performed based on whether there is a voice command or user instruction. Therefore, in step S601, it is determined whether the posture data contains an action type, and the subsequent step S602 or step S606 is selected based on the determination result.

[0165] If the action type exists, the step of obtaining the action type in the posture data in step S606 is executed, that is, step S102.

[0166] If the action type does not exist, it is necessary to determine whether a voice command or a user command is obtained. However, compared with user commands, voice commands are more convenient and accurate. In order to improve efficiency or verify whether the information acquisition and recognition functions of the wearable device are normal, step S602 is first executed to determine whether the wearable device has obtained a voice command, and then step S603 or step S604 is selected according to the judgment result.

[0167] If a voice command is received, indicating that the wearable device's information acquisition and recognition functions are functioning normally, and that the wearer has clearly issued a voice command, i.e., an adjustment requirement, step S603 is executed to control the home appliances to switch to the user home mode corresponding to the voice command. The voice commands are pre-set, and each voice command has a corresponding user home mode for the adjustment instructions for the home appliances corresponding to the corresponding keywords in the voice.

[0168] If no voice command is received, it is necessary to determine whether the wearer has issued a user command requiring adjustment. Step S604 is then executed to determine whether the wearable device has received the user command. Step S605 or other steps are then executed based on the judgment result. User commands are pre-set and correspond to user actions on the wearable device, such as operating the wearable device through options on the touch screen. Each user command has a corresponding user home mode.

[0169] If a user instruction is obtained, the control of the home device in step S605 is executed to switch to the user home mode corresponding to the user instruction; if no user instruction is obtained, no other operation may be performed in this embodiment, and the wearable device may be adjusted to standby mode to reduce power consumption.

[0170] The home control method combined with a wearable device provided in this embodiment determines whether there is an action type in the posture data. When there is no action type, it determines whether voice instructions and user instructions are obtained one by one. In this way, when the wearer is unable to perform the action type, the voice instructions and user instructions obtained by the wearable device are combined to adjust and control the home in a specific way, thereby improving the scope of application of the home control method of this application.

[0171] In one embodiment of the present application, Figure 7 As shown, step S603, that is, if a voice command is obtained, controlling the home appliance to switch to the user home mode corresponding to the user command includes:

[0172] S701. Get voice data;

[0173] S702. Determine whether the voice data contains preset keywords;

[0174] S703. If the preset keyword is not included, it is determined that the voice command is not obtained;

[0175] S704. If the preset keyword is included, obtain the voice command corresponding to the preset keyword;

[0176] S705. Control the home appliances according to the voice command to switch to the user home mode corresponding to the user command.

[0177] In actual use, due to differences in region and living habits, the voice commands given by different wearers may be different. Therefore, it is necessary to extract keywords based on the wearer's voice data in order to reduce the misjudgment caused by different words to a certain extent.

[0178] In step S702, it is determined whether the voice data acquired in step S701 contains a preset keyword. Depending on the determination result, step S703 or step S704 is subsequently executed. Preset keywords are pre-set words, such as "air conditioner," "humidifier," "bedroom," "living room," "off," "on," "increase," "lower," "5 degrees," etc. Each preset keyword has a pre-set corresponding voice command.

[0179] If the preset keyword is not included, it means that the corresponding preset keyword is not obtained in the voice data. It may be other voices of the wearer that are not related to the control of home appliances. Then, the determination in step S703 is executed and no voice command is obtained. At this time, you can choose to execute step S604 subsequently, or you can choose not to perform other operations subsequently.

[0180] If the preset keyword is included, it means that the corresponding preset keyword is obtained in this voice data, which is a valid voice related to the wearer's control of home appliances. Then, step S704 is executed to obtain the voice instruction corresponding to the preset keyword, and then it is brought into step S705, that is, the home appliance is controlled according to the voice instruction to convert into the user home mode corresponding to the user instruction.

[0181] It should be noted that in order to further reduce the differences in voice or words caused by regions, before setting or obtaining preset keywords, some different voices or words that are easy to cause misunderstandings or ambiguities can be processed accordingly in the preset keywords according to the current region, such as translating dialects or setting them into corresponding common words. The specific settings will not be repeated here.

[0182] The home control method combined with a wearable device provided in this embodiment determines whether the acquired voice data contains preset keywords, selects whether to obtain a voice instruction corresponding to the preset keyword based on the judgment result, and controls the home appliance to switch to the user home mode corresponding to the user instruction through this voice instruction, thereby realizing keyword extraction based on the wearer's voice data, so as to reduce the triggering of erroneous voice instructions caused by different words to a certain extent.

[0183] In one embodiment of the present application, Figure 8 As shown, step S704, if a preset keyword is included, obtaining a voice instruction corresponding to the preset keyword includes:

[0184] S801. Determine the number of keywords of the preset keywords;

[0185] S802. If the number of keywords is greater than 1, obtain the priority of each preset keyword;

[0186] S803. Select the preset keyword corresponding to the highest priority as the target keyword;

[0187] S804. Obtain the voice instruction corresponding to the target keyword.

[0188] In actual use, since the voice data generated by the wearer may include multiple preset keywords, in order to determine how to effectively and orderly adjust or control the home appliances based on the multiple preset keywords, it is necessary to determine the number of preset keywords in step S801 and select the subsequent step S802 or other steps based on the determination result. The number of keywords refers to the number of preset keywords included in the voice data, not the number of all pre-set preset keywords.

[0189] If the number of keywords is greater than 1, it means that the voice data includes multiple preset keywords, then execute step S802 to obtain the priority of each preset keyword, arrange them in order of priority, and select the preset keyword corresponding to the highest priority as the target keyword in step S803, and introduce it into step S804 to obtain the voice instruction corresponding to the target keyword, and use this voice instruction as the voice instruction corresponding to the aforementioned voice data.

[0190] It should be noted that in other optional implementations, different from the method of selecting the highest priority in step S803, other selection rules can also be used. For example, the priority of the preset keyword and the historical number of times the preset keyword is used at the current location and time are considered at the same time, and the preset keyword corresponding to the largest product of the two is taken as the target keyword, which can better fit the current wearer's usage habits.

[0191] If the number of keywords is equal to 1, it means that there is only one preset keyword in the voice data, and the voice instruction corresponding to the preset keyword can be directly used as the voice instruction corresponding to this voice data.

[0192] The home control method combined with a wearable device provided in this embodiment determines the number of keywords of the preset keywords. If the number of keywords is greater than 1, the voice instruction corresponding to the preset keyword with the highest priority is selected, thereby realizing a specific method of obtaining the voice instruction when the voice data includes multiple preset keywords, thereby improving the user experience of the home control method of this application.

[0193] In one embodiment of the present application, Figure 9 As shown, step S804, i.e., obtaining the voice instruction corresponding to the target keyword, includes:

[0194] S901. Determine the relevance of other preset keywords to the target keyword;

[0195] S902. The preset keywords with a relevance greater than the relevance threshold are used as associated keywords;

[0196] S903. According to the preset combination rules, the target keyword and the associated keyword are combined to form a control keyword;

[0197] S904. Acquire the voice instruction corresponding to the control keyword.

[0198] The correlation degree in step S901 refers to the correlation degree between other preset keywords and the target keyword. For example, the target keyword is "air conditioning", and the other preset keywords are "bedroom", "bathroom", "cooling mode", and "humidification mode". Obviously, "bedroom" and "cooling mode" have a higher correlation with "air conditioning". Therefore, "bedroom" and "cooling mode" can be identified as associated keywords in step S903, and then form the control keyword "bedroom + air conditioning + cooling mode" with the target keyword. Combined with the preset combination rules, that is, the sequence or voice order of the preset keywords, the voice command finally obtained to control the home appliance is "control the bedroom air conditioner to switch to cooling mode".

[0199] In actual use, the voice data may contain multiple highly correlated preset keywords, which can easily cause the control keyword generated in step S903 to contain too much information, ultimately resulting in redundant control in the voice command obtained in step S904. To reduce this, this embodiment adds step S902 before step S903, which treats preset keywords with a correlation greater than a correlation threshold as correlated keywords. Thus, only those preset keywords with a correlation greater than the correlation threshold are selected as the control keywords on which the voice command in step S904 depends. The correlation threshold is a pre-set threshold corresponding to the correlation of each preset keyword.

[0200] The home control method combined with a wearable device provided in this embodiment determines the correlation between other preset keywords and the target keyword, takes the preset keywords with a correlation greater than the correlation threshold as the associated keywords, and combines them with the target keyword to form a control keyword, thereby reducing the probability of the final voice instructions caused by a large number of preset keywords, and the control range formed by them not matching the control range required by the wearer, thereby improving the accuracy of the home control method of this application.

[0201] In the second aspect, the present application provides a home control system combined with a wearable device, such as Figure 10 Shown, including:

[0202] The first acquisition module 1 is used to obtain status data of the wearable device, the status data including posture data and vital sign data;

[0203] The second acquisition module 2 acquires the action type in the posture data;

[0204] The first conversion module 3 is used to obtain a preset control instruction according to the action type to control the home appliance to convert into the corresponding preset home mode if the action type matches the preset action list;

[0205] A third acquisition module 4 is used to acquire the gesture type in the gesture data if the action type does not conform to the preset action list;

[0206] A first judgment module 5 is used to judge whether the vital sign data is lower than a preset vital sign threshold if the posture type is a lying type;

[0207] The fourth acquisition module 6 is used to obtain the duration of the vital sign data being lower than the preset vital sign threshold if the vital sign data is lower than the preset vital sign threshold;

[0208] The second conversion module 7 is configured to generate a first control instruction to control the home appliance to switch to the corresponding first home mode if the duration is greater than a preset duration threshold;

[0209] A fifth acquisition module 8 is used to acquire a movement vector of the wearable device if the posture type is not a lying type;

[0210] The sixth acquisition module 9 is configured to acquire the vector direction of the motion vector if the vector value of the motion vector is greater than a preset motion threshold;

[0211] The third conversion module 10 is used to generate a second control instruction to control the home appliance to convert into the corresponding second home mode if the detection device corresponding to the vector direction detects the wearable device.

[0212] It should be noted that the data transmission relationship or logical connection relationship between the above-mentioned functional modules can be determined according to the corresponding steps in the home control method of the wearable device, and will not be repeated here. Figure 10 The data transmission relationship or logical connection relationship of each functional module shown is only used for understanding the home control system combined with wearable devices and is not specifically limited.

[0213] The home control system provided in conjunction with a wearable device in this embodiment determines whether the action type meets the preset action list. If so, the home appliance is controlled to switch to the corresponding preset home mode. If the action type does not meet the preset action list and the posture type is lying down, the system selects whether to control the home appliance to switch to the corresponding first home mode based on whether the vital sign data is below a preset vital sign threshold and whether the duration of the vital sign data below the preset vital sign threshold is greater than a preset duration threshold. If the posture type is not lying down, the system selects whether to control the home appliance to switch to the corresponding second home mode based on whether the vector value of the wearable device's movement vector is greater than a preset movement threshold and whether the detection device corresponding to the vector direction detects the wearable device. This allows various control modes for home appliances to be implemented based on the specific judgment of posture type, vital sign data, and movement vector when the wearer is in different environments, states, and rooms, thereby improving the utilization and applicability of wearable devices in the field of home control. Furthermore, the system can also control home appliances to start or shut down on demand in conjunction with the wearable device, thereby achieving energy saving effects.

[0214] Furthermore, the home control system combined with wearable devices provided in this embodiment can also set other functional modules as needed, or divide the above functional modules into multiple functional units, so as to achieve the technical effect corresponding to any of the aforementioned home control methods combined with wearable devices.

[0215] On the third aspect, the present application provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are loaded and executed by a processor, a home control method combined with a wearable device as described above is adopted, which can achieve the technical effect corresponding to any of the above-mentioned home control methods combined with wearable devices.

[0216] It should be understood that although the steps in the flowcharts of the accompanying drawings are shown in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders, that is, the order of execution between each other can be reasonably arranged according to actual needs. Moreover, at least some of the steps in the flowcharts of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0217] It should also be noted that, in this specification, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variants thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those factors, but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.

[0218] The above description of the disclosed embodiments is intended to enable one skilled in the art to implement or use the present application. Various modifications to these embodiments will be readily apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application is not limited to the embodiments shown herein, but is intended to conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A home control method combined with a wearable device, characterized in that: The following steps are involved: Acquire status data of the wearable device, wherein the status data includes posture data and vital sign data; Obtaining an action type from the posture data; If the action type matches the preset action list, then obtaining a preset control instruction according to the action type to control the home appliance to switch to the corresponding preset home mode; If the action type does not conform to the preset action list, obtaining the posture type in the posture data; If the posture type is a lying type, determining whether the vital sign data is lower than a preset vital sign threshold; If the physical sign data is lower than the preset physical sign threshold, obtaining the duration of the physical sign data being lower than the preset physical sign threshold; If the duration is longer than a preset duration threshold, a first control instruction is generated to control the home appliance to switch to the corresponding first home mode; If the posture type is not the lying type, obtaining a movement vector of the wearable device; If the vector value of the movement vector is greater than a preset movement threshold, obtaining the vector direction of the movement vector; If the detection device corresponding to the vector direction detects the wearable device, a second control instruction is generated to control the home appliance to switch to the corresponding second home mode; Wherein, if the action type matches the preset action list, obtaining a preset control instruction according to the action type to control the home appliance to switch to the corresponding preset home mode includes: If the action type matches the preset action list, determining the number of types of the action type; If the number of types is equal to 1, a preset control instruction is obtained according to the action type to control the home appliance to switch to the corresponding preset home mode; If the number of types is greater than 1, obtaining the preset priority of each action type; Selecting the action type corresponding to the preset priority that meets the preset priority condition as the selected action type; According to the selected action type, a preset control instruction is obtained to control the home appliance to switch to the corresponding preset home mode.

2. The home control method according to claim 1, characterized in that: After obtaining the preset control instruction according to the action type to control the home appliance to switch to the corresponding preset home mode, the method includes: If the action type that matches the preset action list is obtained again, the action type is used as the comparison action type; Obtaining the interval between the comparison action type and the selection action type; If the interval time is less than or equal to the preset interval time, determining whether the comparison action type and the selection action type are of the same type; If they belong to the same action type, then the preset control instruction is obtained according to the compared action type, and the home appliance is controlled to switch to the corresponding preset home mode; If the interval time is greater than the preset interval time, a preset control instruction is obtained according to the comparison action type, and the home appliance is controlled to switch to the corresponding preset home mode.

3. The home control method according to claim 1, characterized in that: If the posture type is the lying type, determining whether the vital sign data is lower than a preset vital sign threshold includes: If the posture type is a lying type, determining whether the current environment meets the requirements of a resting environment; If the rest environment is not met, an adjustment prompt is generated and outputted via the wearable device; If the rest environment is met, it is determined whether the vital sign data is lower than the preset vital sign threshold.

4. The home control method according to claim 3, characterized in that: After generating an adjustment prompt and outputting it through the wearable device if the rest environment is not met, the method further includes: determining whether a confirmation instruction corresponding to the adjustment prompt is received; If the corresponding confirmation instruction is obtained, the home appliance is controlled to switch to the corresponding preset home mode according to the confirmation instruction; If the corresponding confirmation instruction is not obtained, the adjustment prompt will stop being displayed after a preset display time.

5. The home control method according to claim 1, characterized in that: Before obtaining the action type in the posture data, the method includes: Determining whether the action type exists in the posture data; If the action type does not exist, determining whether the wearable device obtains a voice command; If the voice command is obtained, the home appliance is controlled to switch to the user home mode corresponding to the voice command; If the voice command is not obtained, determining whether the wearable device obtains the user command; If the user instruction is obtained, the home appliance is controlled to switch to the user home mode corresponding to the user instruction; If the action type exists, the step of obtaining the action type in the posture data is entered.

6. The home control method according to claim 5, characterized in that: If the voice command is obtained, controlling the home appliance to switch to the user home mode corresponding to the user command includes: Get voice data; Determining whether the voice data contains preset keywords; If the preset keyword is not included, it is determined that the voice command is not obtained; If the preset keyword is included, obtaining the voice instruction corresponding to the preset keyword; According to the voice command, the home appliance is controlled to switch to a user home mode corresponding to the user command.

7. The home control method according to claim 6, characterized in that: If the preset keyword is included, obtaining the voice instruction corresponding to the preset keyword includes: Determining the keyword quantity of the preset keywords; If the number of the keywords is greater than 1, the priority of each of the preset keywords is obtained; Select the preset keyword corresponding to the highest priority as the target keyword; The voice instruction corresponding to the target keyword is obtained.

8. The home control method according to claim 7, characterized in that: The acquiring the voice instruction corresponding to the target keyword includes: Determining the relevance between the other preset keywords and the target keyword; taking the preset keywords whose relevance is greater than the relevance threshold as the relevance keywords; Combining the target keyword and the associated keyword to form a control keyword according to a preset combination rule; The voice instruction corresponding to the control keyword is acquired.

9. A home control system combined with a wearable device, characterized in that: include: A first acquisition module is used to acquire status data of the wearable device, wherein the status data includes posture data and vital sign data; A second acquisition module acquires the action type in the posture data; a first conversion module, configured to obtain a preset control instruction according to the action type and control the home appliance to convert into a corresponding preset home mode if the action type matches the preset action list; a third acquisition module, configured to acquire the gesture type from the gesture data if the action type does not conform to the preset action list; a first judgment module, for judging whether the vital sign data is lower than a preset vital sign threshold if the posture type is a lying type; a fourth acquisition module, wherein if the vital sign data is lower than the preset vital sign threshold, the fourth acquisition module is used to acquire a duration during which the vital sign data is lower than the preset vital sign threshold; a second conversion module, configured to generate a first control instruction to control the home appliance to switch to the corresponding first home mode if the duration is greater than a preset duration threshold; a fifth acquisition module, configured to acquire a movement vector of the wearable device if the posture type is not the lying type; a sixth acquisition module, configured to acquire a vector direction of the motion vector if the vector value of the motion vector is greater than a preset motion threshold; a third conversion module, configured to generate a second control instruction to control the home appliance to switch to a corresponding second home mode if the detection device corresponding to the vector direction detects the wearable device; Wherein, if the action type matches the preset action list, obtaining a preset control instruction according to the action type to control the home appliance to switch to the corresponding preset home mode includes: If the action type matches the preset action list, determining the number of types of the action type; If the number of types is equal to 1, a preset control instruction is obtained according to the action type to control the home appliance to switch to the corresponding preset home mode; If the number of types is greater than 1, obtaining the preset priority of each action type; Selecting the action type corresponding to the preset priority that meets the preset priority condition as the selected action type; According to the selected action type, a preset control instruction is obtained to control the home appliance to switch to the corresponding preset home mode.

Citation Information

Patent Citations

  • Intelligent control method and system used in intelligent home environment

    CN114007310A