A smart home control system based on wireless communication
By introducing mode setting, command reception, linkage control and direct control modules in the smart home control system, combined with historical data analysis, the problem that existing systems cannot achieve efficient linkage control is solved, and presets and equipment of various scenario modes are realized The efficient linkage control improves the control accuracy and user experience of the smart home system.
Patent Information
- Application Number
- CN202411016660.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-07-29
AI Technical Summary
The existing smart home control system based on wireless communications cannot achieve efficient linkage control of smart home devices, and can only control the devices separately, lacking the preset and linkage control capabilities for multiple scenario modes.
A smart home control system based on wireless communication is designed, including a mode setting module, a command receiving module, a linkage control module and a direct control module. By receiving mode setting and selection commands input by users, linkage control commands are generated and supported by a single device. The control instructions of the user can generate auxiliary control instructions by using historical data to analyze the user's habits, and realize efficient linkage control of smart home devices.
It realizes presetting and efficient linkage control of various scenario modes for smart home devices, improves the control accuracy and user experience of smart home systems, and supports direct control of a single device.
Smart Images

Figure CN118567243B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart home control, and in particular to a smart home control system based on wireless communication. Background Art
[0002] Smart home control systems based on wireless communication are innovative products that apply modern wireless communication technology to the field of home intelligence. Smart home systems can use Bluetooth technology to achieve wireless connection and data transmission between devices, or use Wi-Fi technology to achieve wireless connection and data transmission between devices. Or through ZigBee technology, smart home systems can enable various devices to achieve real-time data exchange without the need for wired connections. Smart home systems can also use Internet of Things technology to connect various devices in the home to the Internet for remote control and management.
[0003] However, the existing smart home control system based on wireless communication can only forward the smart home control instructions input by the user to the smart switch or smart home device through wireless communication, thereby realizing the control of the smart home device, and cannot realize the efficient linkage control of the smart home device.
[0004] Therefore, the present invention proposes a smart home control system based on wireless communication. Summary of the invention
[0005] The present invention provides a smart home control system based on wireless communication, which is used to preset a variety of smart home scene modes under the smart home control system based on mode setting instructions input by the user received by wireless communication, and based on the preset smart home scene modes and the mode selection instructions input by the user received by wireless communication, to realize efficient linkage control of smart home devices under the smart home control system, and the system also supports users to input a single input control instruction for a single smart home device.
[0006] The present invention provides a smart home control system based on wireless communication, comprising:
[0007] A mode setting module, used to receive mode setting instructions input by a user based on wireless communication, and generate linkage control instructions under multiple smart home scenario modes based on all received mode setting instructions;
[0008] An instruction receiving module, used for receiving a mode selection instruction or an input control instruction input by a user in real time based on a wireless communication method;
[0009] A linkage control module is used for, when receiving a mode selection instruction input by a user, determining all target control home appliances and target control instructions of each target control home appliance based on the linkage control instructions in the smart home scenario mode corresponding to the corresponding mode selection instruction, and sending all target control instructions to the corresponding target control home appliances based on a wireless communication method to obtain a smart home control result;
[0010] The direct control module is used to determine the target controlled home device corresponding to the input control instruction when receiving the input control instruction input by the user, and send the corresponding input control instruction to the corresponding target controlled home device based on wireless communication to obtain the smart home control result.
[0011] Preferably, it also includes:
[0012] A historical data acquisition module is used to acquire the indoor activity data of the user on each single day in the historical period, and at the same time, receive all home control commands input by the user on each single day in the historical period based on wireless communication;
[0013] A joint analysis module is used to jointly analyze the indoor activity data of the user on each single day in the historical period and all the home control commands input by the user on each single day in the historical period, and analyze all the control periods of the user and the control habits of each control period;
[0014] The auxiliary control analysis module is used to generate a home control plan for the day based on all control cycles of the user and the control habits of each control cycle, and determine the latest auxiliary control instructions based on the home control plan for the day and all home control instructions input by the user received on the day through wireless communication, wherein the home control instructions include: all target control instructions and input control instructions corresponding to the linkage control instructions in the smart home scenario mode corresponding to the mode selection instruction;
[0015] The intelligent control module is used to intelligently control all smart homes in the smart home control system based on the latest auxiliary control instruction to obtain a first smart home auxiliary control result.
[0016] Preferably, the historical data acquisition module includes:
[0017] The historical cycle determination submodule is used to determine whether the time interval between the current moment and the start time of the smart home control system exceeds the historical cycle threshold. If so, the time period from the start time of the smart home control system to the current moment is regarded as the historical cycle;
[0018] The historical data acquisition submodule is used to obtain the user's indoor activity data on each day during the historical period based on infrared sensors installed at multiple locations indoors, and at the same time, receive all home control commands input by the user on each day during the historical period based on wireless communication.
[0019] Preferably, it also includes:
[0020] The direct control module is used to control the corresponding smart home in the smart home control system to execute the latest received home control instruction when all home control instructions input by the user are received based on wireless communication, so as to obtain a second smart home auxiliary control result.
[0021] Preferably, the joint analysis module includes:
[0022] A first debiasing operation submodule is used to perform a debiasing operation on the indoor activity data of the user on each single day in the historical period to obtain the valid indoor activity data of the user on each single day in the historical period;
[0023] The second debiasing operation submodule is used to perform a debiasing operation on all home control commands input by the user on each single day in the historical period, and obtain all valid home control commands of the user on each single day in the historical period;
[0024] A joint debiasing operation submodule is used to perform a joint debiasing operation on the valid indoor activity data of the user in each single day in the historical period and all valid home control commands of the user in each single day in the historical period, so as to obtain the final indoor activity data of the user in each single day in the historical period and all final home control commands of the user in each single day in the historical period;
[0025] The joint analysis submodule is used to jointly analyze the user's final indoor activity data on each single day in the historical period and all the final home control instructions of the user on each single day in the historical period, and analyze all the user's control cycles and the control habits of each control cycle.
[0026] Preferably, the first debiasing operation submodule comprises:
[0027] An activity trajectory fitting unit, used to fit the indoor activity trajectory of the user on each single day in the historical period based on the indoor activity data of the user on each single day in the historical period;
[0028] A stay parameter analysis unit, used to analyze all stay locations of the user on each single day in the historical period and the continuous stay period of each stay location based on the indoor activity trajectory of the user on each single day in the historical period;
[0029] A commonality determination unit, configured to analyze the commonality of each stay location in the historical period based on all stay locations of the user on each single day in the historical period and the continuous stay period of each stay location;
[0030] A partial stop determination unit, used for treating all stop positions with a commonality less than a commonality threshold as partial stop positions;
[0031] The first debiasing operation unit is used to treat part of the activity trajectory between adjacent stay positions in each indoor activity trajectory as a sub-movement trajectory, delete the previous sub-movement trajectory of all deviated stay positions in the user's indoor activity trajectory of each single day in the historical period, and obtain the user's valid indoor activity data on each single day in the historical period.
[0032] Preferably, the commonality determination unit includes:
[0033] The stay parameter determination subunit is used to determine the start stay time and the end stay time of the continuous stay period of each stay location of the user on each single day in the historical period, and determine the ranking ordinal number of each stay location of the user on each single day in the historical period among all the stay locations on the corresponding single day;
[0034] The stay parameter sequence construction subunit is used to summarize the start stay time and the end stay time of the continuous stay period of each stay location of each single day in the historical period and the ranking sequence number of all stay locations in the corresponding single day, so as to obtain the stay parameter sequence of each stay location of each single day in the historical period;
[0035] A reference single day screening subunit is used to treat all single days containing a single stay location in a historical period as all first reference single days of the single stay location;
[0036] The commonality determination subunit is used to determine the Euclidean distance between the stay parameter sequences of each stay location between every two first reference days, and take the ratio of the total number of all first reference days of each stay location to the total number of all days in the historical period, and the product of the mean of all Euclidean distances of the corresponding stay location as the commonality of each stay location in the historical period.
[0037] Preferably, the second debiasing operation submodule comprises:
[0038] A first instruction screening unit, configured to treat, among all home control instructions input by the user on each single day in a historical period, home control instructions for which the total number of all single days of corresponding home control instructions exceeds a single-day total number threshold as first home control instructions;
[0039] An input time determination unit, used to determine the input time of each first home control instruction input by the user on each single day within a historical period;
[0040] A reference single day determination unit, used to regard all single days containing a single first home control instruction in all single days of the historical period as all second reference single days corresponding to the first home control instruction;
[0041] The second debiasing reference unit is used to determine the degree of debiasing of each first home control instruction based on all second reference days of each first home control instruction and the input time of each first home control instruction, and based on the degree of debiasing of each first home control instruction, obtain all valid home control instructions of the user on each day in the historical period.
[0042] Preferably, the second depolarization reference unit comprises:
[0043] An arbitrary division subunit is used to perform multiple arbitrary divisions on all second reference single days of each first home control instruction, and obtain the division result of each arbitrary division process of each first home control instruction, wherein the division result includes a first reference single day collection and a second reference single day collection;
[0044] The floating value calculation subunit is used to determine the floating value of the first reference single day episode and the floating value of the second reference single day episode of each division result of each first home control instruction based on the input time of each first home control instruction input by the user on each single day in the historical period, and take the sum of the floating value of the first reference single day episode and the floating value of the second reference single day episode of each division result as the total floating value of each division result;
[0045] The polarity degree calculation subunit is used to take the ratio of the larger value and the smaller value of the total number of single days included in the first reference single day set and the total number of single days included in the second reference single day set in the division result corresponding to the minimum total floating value among all the division results of each first home control instruction as the polarity degree of each first home control instruction;
[0046] The debiasing operation subunit is used to treat all the first home control instructions input by the user on each single day in the historical period, except for the first home control instructions whose bias degree is less than the bias degree threshold, as all the valid home control instructions of the user on each single day in the historical period.
[0047] Preferably, the joint debiasing operation submodule comprises:
[0048] A joint debiasing model building unit, used for building a joint debiasing model;
[0049] The joint debiasing operation unit is used to input the user's valid indoor activity data on each day in the historical period and all valid home control commands of the user on the corresponding day in the historical period into the joint debiasing model, so as to obtain the final indoor activity data of the user on each day in the historical period and all final home control commands of the user on each day in the historical period.
[0050] Preferably, the joint analysis submodule includes:
[0051] A joint analysis model building unit, used to build a joint analysis model;
[0052] The joint analysis unit is used to input the user's final indoor activity data on each single day in the historical period and all the user's final home control instructions on the corresponding single day in the historical period into the joint analysis model to obtain all the user's control cycles and the control habits of each control cycle.
[0053] The beneficial effects of the present invention compared with the prior art are as follows: based on the mode setting instructions input by the user received by wireless communication, a variety of smart home scenario modes under the smart home control system are preset, and based on the preset smart home scenario modes and the mode selection instructions input by the user received by wireless communication, efficient linkage control of smart home devices under the smart home control system is achieved, and the system also supports users to input a single input control instruction for a single smart home device.
[0054] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in this application document.
[0055] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0057] Figure 1 A smart home control system based on wireless communication in an embodiment of the present invention;
[0058] Figure 2 Schematic diagram of internal functional submodules of the historical data acquisition module in an embodiment of the present invention;
[0059] Figure 3Schematic diagram of internal functional submodules of the joint analysis module in an embodiment of the present invention. DETAILED DESCRIPTION
[0060] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0061] Embodiment 1:
[0062] The present invention provides a smart home control system based on wireless communication. Figure 1 ,include:
[0063] A mode setting module, used to receive mode setting instructions input by a user based on wireless communication, and generate linkage control instructions under multiple smart home scenario modes based on all received mode setting instructions;
[0064] An instruction receiving module, used for receiving a mode selection instruction or an input control instruction input by a user in real time based on a wireless communication method;
[0065] A linkage control module is used for, when receiving a mode selection instruction input by a user, determining all target control home appliances and target control instructions of each target control home appliance based on the linkage control instructions in the smart home scenario mode corresponding to the corresponding mode selection instruction, and sending all target control instructions to the corresponding target control home appliances based on a wireless communication method to obtain a smart home control result;
[0066] The direct control module is used to determine the target controlled home device corresponding to the input control instruction when receiving the input control instruction input by the user, and send the corresponding input control instruction to the corresponding target controlled home device based on wireless communication to obtain the smart home control result.
[0067] In this embodiment, the wireless communication method adopts the communication method of the 433 wireless communication module of low-frequency narrowband communication technology, and its operating frequency is 433MHz, which has the characteristics of long transmission distance, low power consumption, strong anti-interference ability and moderate data transmission rate. Its working principle is to realize wireless transmission of data through encoding, decoding and transmission of radio frequency signals. It has broad application prospects in smart homes.
[0068] The 433 wireless communication module of low-frequency narrowband communication technology transmits less data. The control products in the present invention do not require communication with large amounts of data, but only need to transmit relatively small control data. Therefore, this feature of the 433 wireless communication module using low-frequency narrowband communication technology matches the needs of the smart home control system based on wireless communication in the present invention. Secondly, the signal transmitted by the 433 wireless communication module using low-frequency narrowband communication technology has strong wall penetration ability, stable signal, and multi-point rapid networking capabilities that other communication methods do not have.
[0069] In this embodiment, the mode setting instruction is an instruction input by the user for setting a smart home scene mode.
[0070] In this embodiment, the smart home scenario modes include: home mode and away mode, wherein the linkage control instructions of the away mode include, for example, turning off all lamps and electrical appliances.
[0071] In this embodiment, the input control instruction is a control instruction input by the user for a single smart home device.
[0072] In this embodiment, the linkage control instruction is an instruction that can realize simultaneous control of all smart home devices in the smart home scenario mode.
[0073] In this embodiment, the target controlled home appliance is a smart home appliance controlled by the current linkage control instruction or the current input control instruction.
[0074] In this embodiment, the target control instruction is a control instruction that the target controlled home appliance currently needs to execute.
[0075] The beneficial effects of the above technology are: based on the mode setting instructions input by the user received by wireless communication, a variety of smart home scenario modes under the smart home control system are preset, and based on the preset smart home scenario modes and the mode selection instructions input by the user received by wireless communication, efficient linkage control of smart home devices under the smart home control system is achieved, and the system also supports users to input a single input control instruction for a single smart home device.
[0076] Embodiment 2:
[0077] On the basis of Example 1, it also includes:
[0078] A historical data acquisition module is used to acquire the indoor activity data of the user on each single day in the historical period, and at the same time, receive all home control commands input by the user on each single day in the historical period based on wireless communication;
[0079] A joint analysis module is used to jointly analyze the indoor activity data of the user on each single day in the historical period and all the home control commands input by the user on each single day in the historical period, and analyze all the control periods of the user and the control habits of each control period;
[0080] The auxiliary control analysis module is used to generate a home control plan for the day based on all control cycles of the user and the control habits of each control cycle, and determine the latest auxiliary control instructions based on the home control plan for the day and all home control instructions input by the user received on the day through wireless communication, wherein the home control instructions include: all target control instructions and input control instructions corresponding to the linkage control instructions in the smart home scenario mode corresponding to the mode selection instruction;
[0081] The intelligent control module is used to intelligently control all smart homes in the smart home control system based on the latest auxiliary control instruction to obtain a first smart home auxiliary control result.
[0082] In this embodiment, the users include all home users who issue home control instructions to the current home control system.
[0083] In this embodiment, a single day is formed every 24 hours from the start time of the historical period.
[0084] In this embodiment, the indoor activity data includes the time of all human infrared signals sensed by sensors at multiple locations indoors within the current day.
[0085] In this embodiment, the control period is the cycle period of each control habit of the user on the smart home system.
[0086] In this embodiment, the control habit of the control cycle is that the user will cyclically issue control instructions to the smart home system at the same time within the control cycle. For example, the user will issue a control instruction to adjust the indoor air conditioning temperature to 24 degrees in cooling mode between 12 o'clock and 3 o'clock in summer.
[0087] In this embodiment, based on all control cycles of the user and the control habits of each control cycle, a home control plan for the day is generated, including:
[0088] The control cycle of the day is determined, and all home control instructions and corresponding issuance times contained in the control habits of the control cycle of the day are regarded as the home control plan of the day.
[0089] In this embodiment, based on the home control plan of the day and all home control instructions input by the user received on the day through wireless communication, the latest auxiliary control instruction is determined, including:
[0090] The home control instruction that should be issued at the current time and is recorded in the home control plan of the day and has completely different meanings from all home control instructions input by the user received on the day through wireless communication is regarded as the latest auxiliary control instruction;
[0091] For example, if a dining room light start-up instruction is received and the home control plan records an air conditioning control instruction that should be issued at the current moment, the air conditioning control instruction that should be issued at the current moment recorded in the home control plan will be taken as a new auxiliary control instruction.
[0092] In this embodiment, all smart homes in the smart home control system are intelligently controlled based on the latest auxiliary control instruction to obtain a first smart home auxiliary control result, including:
[0093] Control the corresponding smart home in the smart home control system to execute the latest auxiliary control instruction to obtain the first smart home auxiliary control result.
[0094] The beneficial effects of the above technology are: auxiliary control of smart home is achieved through joint analysis of user's indoor activity data and home control instructions, and the impact of user's indoor activity habits on user's smart home control is taken into account, thereby improving the accuracy of all control cycles of the user and the control habits of each control cycle analyzed, thereby also improving the control accuracy of smart home control, and determining the latest auxiliary control instructions for auxiliary control of smart home through the generated home control plan for the day and all home control instructions input by the user received on the same day based on wireless communication, thereby improving user experience.
[0095] Embodiment 3:
[0096] Based on Example 2, the historical data acquisition module refers to Figure 2 ,include:
[0097] The historical cycle determination submodule is used to determine whether the time interval between the current moment and the start time of the smart home control system exceeds the historical cycle threshold. If so, the time period from the start time of the smart home control system to the current moment is regarded as the historical cycle;
[0098] The historical data acquisition submodule is used to obtain the user's indoor activity data on each day during the historical period based on infrared sensors installed at multiple locations indoors, and at the same time, receive all home control commands input by the user on each day during the historical period based on wireless communication.
[0099] In this embodiment, the historical cycle threshold is a value that the duration of a preset historical cycle must exceed.
[0100] In this embodiment, the multiple indoor locations include entrances and exits of different indoor areas (bedroom, kitchen, bathroom, living room, balcony, dining room, etc.).
[0101] In this embodiment, the indoor activity data of the user on each single day in the historical period is obtained based on the infrared sensors installed at multiple locations indoors, that is, all the times when the infrared sensors installed at multiple locations indoors detect infrared signals of the human body on each single day in the historical period are regarded as the indoor activity data of the user on each single day in the historical period.
[0102] The beneficial effect of the above technology is: the time period from the beginning of the use of the smart home control system to the current time and exceeding the historical period threshold is regarded as a historical period, which can ensure the data volume and data timeliness of the indoor activity data used to analyze all periods of the user and his control habits.
[0103] Embodiment 4:
[0104] On the basis of Example 2, the invention further includes:
[0105] The direct control module is used to control the corresponding smart home in the smart home control system to execute the latest received home control instruction when all home control instructions input by the user are received based on wireless communication, so as to obtain a second smart home auxiliary control result.
[0106] In this embodiment, the second smart home auxiliary control result is the result of the smart home executing the most recently received home control instruction.
[0107] The beneficial effect of the above technology is that the smart home system can execute the home control instructions issued by the user to the smart home system while executing the latest auxiliary control instructions.
[0108] Embodiment 5:
[0109] Based on Example 2, the joint analysis module, refer to Figure 3 ,include:
[0110] A first debiasing operation submodule is used to perform a debiasing operation on the indoor activity data of the user on each single day in the historical period to obtain the valid indoor activity data of the user on each single day in the historical period;
[0111] The second debiasing operation submodule is used to perform a debiasing operation on all home control commands input by the user on each single day in the historical period, and obtain all valid home control commands of the user on each single day in the historical period;
[0112] A joint debiasing operation submodule is used to perform a joint debiasing operation on the valid indoor activity data of the user in each single day in the historical period and all valid home control commands of the user in each single day in the historical period, so as to obtain the final indoor activity data of the user in each single day in the historical period and all final home control commands of the user in each single day in the historical period;
[0113] The joint analysis submodule is used to jointly analyze the user's final indoor activity data on each single day in the historical period and all the final home control instructions of the user on each single day in the historical period, and analyze all the user's control cycles and the control habits of each control cycle.
[0114] In this embodiment, the debiasing operation is to delete the previous sub-movement trajectory of all deviated stay positions in the user's indoor activity data on each single day in the historical period and delete all home control instructions whose deviation degree is less than the deviation degree threshold in all home control instructions input by the user on each single day in the historical period.
[0115] In this embodiment, the joint debiasing operation is to simultaneously debias the effective indoor activity data of the user on each day in the historical period and all the effective home control commands of the user on each day in the historical period based on the linkage influence relationship between the two (which can be understood as removing the noise data therein).
[0116] The beneficial effect of the above technology is: by performing a separate debiasing operation on the user's indoor activity data on each day in the historical period and all home control commands input by the user on each day in the historical period and then performing a joint debiasing process, the validity of the user's final basis indoor activity data on each day in the historical period and all final basis home control commands of the user on each day in the historical period, which are used to analyze all the user's control cycles and the control habits of each control cycle, is ensured.
[0117] Embodiment 6:
[0118] On the basis of Embodiment 5, the first debiasing operation submodule includes:
[0119] An activity trajectory fitting unit, used to fit the indoor activity trajectory of the user on each single day in the historical period based on the indoor activity data of the user on each single day in the historical period;
[0120] A stay parameter analysis unit, used to analyze all stay locations of the user on each single day in the historical period and the continuous stay period of each stay location based on the indoor activity trajectory of the user on each single day in the historical period;
[0121] A commonality determination unit, configured to analyze the commonality of each stay location in the historical period based on all stay locations of the user on each single day in the historical period and the continuous stay period of each stay location;
[0122] A partial stop determination unit, used for treating all stop positions with a commonality less than a commonality threshold as partial stop positions;
[0123] The first debiasing operation unit is used to treat part of the activity trajectory between adjacent stay positions in each indoor activity trajectory as a sub-movement trajectory, delete the previous sub-movement trajectory of all deviated stay positions in the user's indoor activity trajectory of each single day in the historical period, and obtain the user's valid indoor activity data on each single day in the historical period.
[0124] In this embodiment, the indoor activity trajectory of the user on each single day in the historical period is fitted based on the indoor activity data of the user on each single day in the historical period, that is:
[0125] According to the time sequence, all sensor positions that sense infrared human body signals in the user's indoor activity data on each single day in the historical period are connected to obtain the user's indoor activity trajectory on each single day in the historical period.
[0126] In this embodiment, the indoor activity trajectory includes the sequence and specific time of the user's appearance near each sensor.
[0127] In this embodiment, the stay location is an indoor area where the stay duration exceeds a preset duration threshold.
[0128] In this embodiment, the continuous stay period of the stay position is the period from the earlier appearance time (for example, the time of appearance at the entrance of the area or the time of appearance at the exit of the area) to the later appearance time (for example, the time of appearance at the exit of the area or the time of appearance at the entrance of the area; the entrance and exit positions of a certain area may also be the same) of the user at the entrance and exit of the corresponding area in the indoor activity trajectory.
[0129] In this embodiment, the commonality of the stay location in the historical period represents the numerical value of the consistency of the stay time characteristics of the stay location on all single days in the historical period. The greater the commonality, the greater the consistency of its appearance on all single days in the historical period, and vice versa.
[0130] In this embodiment, the commonality threshold is a preset value that the commonality of the staying position needs to be less than when determining that the staying position is a partial staying position.
[0131] In this embodiment, all previous sub-movement trajectories of the user's indoor activity trajectory of each single day in the historical period that are offset from the stay position are deleted to obtain the user's valid indoor activity data of each single day in the historical period, including:
[0132] The previous sub-movement trajectories of all deviating stay positions in the user's indoor activity trajectory of each single day in the historical period are deleted, and the time records of the two infrared human body signals sensed at the beginning and end of the deleted sub-movement trajectory in the indoor activity trajectory of the corresponding single day are deleted to obtain the valid indoor activity data of the corresponding single day.
[0133] The beneficial effects of the above technology are: based on all the user's stay locations on each single day in the historical period and the continuous stay period at each stay location, the commonality of each stay location in the historical period is analyzed, and based on the commonality, the stay locations whose stay time characteristics represented by the commonality in the historical period appear less consistently on all single days in the historical period are determined as biased stay locations and deleted, thereby achieving the first debiasing operation of the user's indoor activity data on each single day in the historical period, and ensuring the validity of the user's valid indoor activity data on each single day in the historical period for analyzing all the user's control cycles and the control habits of each control cycle.
[0134] Embodiment 7:
[0135] On the basis of Embodiment 6, the commonality determination unit includes:
[0136] The stay parameter determination subunit is used to determine the start stay time and the end stay time of the continuous stay period of each stay location of the user on each single day in the historical period, and determine the ranking ordinal number of each stay location of the user on each single day in the historical period among all the stay locations on the corresponding single day;
[0137] The stay parameter sequence construction subunit is used to summarize the start stay time and the end stay time of the continuous stay period of each stay location of each single day in the historical period and the ranking sequence number of all stay locations in the corresponding single day, so as to obtain the stay parameter sequence of each stay location of each single day in the historical period;
[0138] A reference single day screening subunit is used to treat all single days containing a single stay location in a historical period as all first reference single days of the single stay location;
[0139] The commonality determination subunit is used to determine the Euclidean distance between the stay parameter sequences of each stay location between every two first reference days, and take the ratio of the total number of all first reference days of each stay location to the total number of all days in the historical period, and the product of the mean of all Euclidean distances of the corresponding stay location as the commonality of each stay location in the historical period.
[0140] In this embodiment, the starting stay time and the ending stay time of the continuous stay period are respectively the starting time and the ending time of the continuous stay period.
[0141] In this embodiment, determining the Euclidean distance between each stay position and the stay parameter sequences of every two first reference days includes:
[0142] The square root of the sum of the differences between all values of the same ranking sequence of each stay location in the stay parameter sequence of each two first reference days is taken as the Euclidean distance between the stay parameter sequences of each stay location in each two first reference days.
[0143] The beneficial effects of the above technology are: based on the starting and ending stay times of the continuous stay period of each stay location of the user on each single day in the historical period and the sorting ordinal number among all the stay locations in the corresponding single day, the stay parameter sequence of each stay location of the user on each single day in the historical period is determined, and based on the Euclidean distance between the stay parameter sequences of each stay location on every two first reference days, the commonality of each stay location in the historical period is accurately calculated.
[0144] Embodiment 8:
[0145] On the basis of Embodiment 5, the second debiasing operation submodule includes:
[0146] A first instruction screening unit, configured to treat, among all home control instructions input by the user on each single day in a historical period, home control instructions for which the total number of all single days of corresponding home control instructions exceeds a single-day total number threshold as first home control instructions;
[0147] An input time determination unit, used to determine the input time of each first home control instruction input by the user on each single day within a historical period;
[0148] A reference single day determination unit, used to regard all single days containing a single first home control instruction in all single days of the historical period as all second reference single days corresponding to the first home control instruction;
[0149] The second debiasing reference unit is used to determine the degree of debiasing of each first home control instruction based on all second reference days of each first home control instruction and the input time of each first home control instruction, and based on the degree of debiasing of each first home control instruction, obtain all valid home control instructions of the user on each day in the historical period.
[0150] In this embodiment, the daily total threshold is a value that the total of all days containing the first home control instruction in a preset historical period must exceed.
[0151] In this embodiment, the input time of the first home control instruction is the time when the user sends the first home control instruction to the smart home system.
[0152] In this embodiment, the polarization degree of the first home control instruction is a numerical value representing the polarization degree of the input time of the first home control instruction. A greater polarization degree represents a greater polarization degree of the input time of the first home control instruction, and vice versa.
[0153] The beneficial effects of the above technology are: based on the total number of all single days containing corresponding home control instructions, a first round of screening of all home control instructions input by the user on each single day in the historical period is implemented, and based on all second reference single days of each first home control instruction and the input time of each first home control instruction, the polarity of each first home control instruction is determined, and based on the polarity of each first home control instruction, a second round of screening of all first home control instructions input by the user on each single day in the historical period is implemented, thereby ensuring the accuracy of all valid home control instructions of the user on each single day in the historical period for analyzing all control cycles of the user and the control habits of each control cycle.
[0154] Embodiment 9:
[0155] On the basis of Embodiment 8, the second depolarization reference unit includes:
[0156] An arbitrary division subunit is used to perform multiple arbitrary divisions on all second reference single days of each first home control instruction, and obtain the division result of each arbitrary division process of each first home control instruction, wherein the division result includes a first reference single day collection and a second reference single day collection;
[0157] The floating value calculation subunit is used to determine the floating value of the first reference single day episode and the floating value of the second reference single day episode of each division result of each first home control instruction based on the input time of each first home control instruction input by the user on each single day in the historical period, and take the sum of the floating value of the first reference single day episode and the floating value of the second reference single day episode of each division result as the total floating value of each division result;
[0158] The polarity degree calculation subunit is used to take the ratio of the larger value and the smaller value of the total number of single days included in the first reference single day set and the total number of single days included in the second reference single day set in the division result corresponding to the minimum total floating value among all the division results of each first home control instruction as the polarity degree of each first home control instruction;
[0159] The debiasing operation subunit is used to treat all the first home control instructions input by the user on each single day in the historical period, except for the first home control instructions whose bias degree is less than the bias degree threshold, as all the valid home control instructions of the user on each single day in the historical period.
[0160] In this embodiment, all division results of the first home control command cover all possible situations in which all second reference days of each first home control command can be divided into two sets.
[0161] In this embodiment, all the second reference days of each first home control instruction are arbitrarily divided multiple times, and the division result of each arbitrary division process of each first home control instruction is to divide all the second reference days of each first home control instruction into a first reference day collection and a second reference day collection.
[0162] In this embodiment, based on the input time of each first home control command input by the user on each single day in the historical period, the floating value of the first reference single day episode and the floating value of the second reference single day episode of each division result of each first home control command are determined, including:
[0163] The difference between the maximum and minimum values of the input time of all corresponding first home control instructions input by the user on each single day of each division result of each first home control instruction is regarded as the floating value of the first reference single day set;
[0164] The difference between the maximum and minimum values of the input times of all corresponding first home control instructions input by the user on each single day in the second reference single day set of each divided result of each first home control instruction is taken as the floating value of the second reference single day set.
[0165] In this embodiment, the floating value of the first reference single day set represents the numerical value of the floating range of input time of all corresponding first home control instructions input by the user on each single day in the first reference single day set of each divided result of each first home control instruction.
[0166] In this embodiment, the floating value of the second reference single day set represents the numerical value of the floating range of input time of all corresponding first home control instructions input by the user on each single day in the second reference single day set of each divided result of each first home control instruction.
[0167] In this embodiment, the polarity threshold is a preset value that the polarity corresponding to the first home control instruction needs to be less than when the first home control instruction is determined to be a valid home control instruction.
[0168] The beneficial effects of the above technology are: by arbitrarily dividing all the second reference days of each first home control instruction multiple times, and calculating the total floating value of the division results, and determining the polarity of each first home control instruction based on the total floating value of the division results, and then re-screening all the first home control instructions input by the user on each day in the historical period based on the polarity of each first home control instruction, thereby further ensuring the accuracy of all valid home control instructions of the user on each day in the historical period for analyzing all the user's control cycles and the control habits of each control cycle.
[0169] Embodiment 10:
[0170] On the basis of Example 5, the joint debiasing operation submodule includes:
[0171] A joint debiasing model building unit, used for building a joint debiasing model;
[0172] The joint debiasing operation unit is used to input the user's valid indoor activity data on each day in the historical period and all valid home control commands of the user on the corresponding day in the historical period into the joint debiasing model, so as to obtain the final indoor activity data of the user on each day in the historical period and all final home control commands of the user on each day in the historical period.
[0173] In this embodiment, building a joint debiasing model includes:
[0174] Obtain a large amount of valid indoor activity data of users of other smart home systems on each single day in the historical period and all valid home control commands of the corresponding users on the corresponding single day in the historical period;
[0175] Based on the preset relationship recognition model, the fixed relationship between the valid indoor activity data of some users of other smart home systems in each single day in the historical period and all the valid home control commands of the corresponding users in the corresponding single day in the historical period is identified;
[0176] And the valid indoor activity data of users of other smart home systems in each single day in the historical period and all valid home control commands of users in the corresponding single day in the historical period, which satisfy the corresponding fixed relationship, are regarded as the final basis indoor activity data of the corresponding users in each single day in the historical period, and all valid home control commands of the corresponding users in the corresponding single day in the historical period, which satisfy the corresponding fixed relationship, are regarded as all the final basis home control commands of the corresponding users in each single day in the historical period;
[0177] The effective indoor activity data of all other users of smart home systems in each single day during the historical period and all effective home control commands of the corresponding users in the corresponding single day during the historical period are used as the model input of the training samples, and the final indoor activity data of the corresponding users in each single day during the historical period and all final home control commands of the corresponding users in each single day during the historical period are used as the model output of the training samples to train the neural network model and obtain the joint debiasing model.
[0178] The beneficial effects of the above technology are: a joint debiasing model is built based on an artificial intelligence algorithm, and the user's effective indoor activity data on each day in the historical period and all valid home control commands of the user on the corresponding day in the historical period are input into the joint debiasing model, thereby realizing the joint debiasing operation of the user's effective indoor activity data on each day in the historical period and all valid home control commands of the user on each day in the historical period, and further ensuring the validity of the user's final basis indoor activity data on each day in the historical period and all final basis home control commands of the user on each day in the historical period, which are used to analyze all the user's control cycles and the control habits of each control period.
[0179] Embodiment 11:
[0180] Based on Example 5, the joint analysis submodule includes:
[0181] A joint analysis model building unit, used to build a joint analysis model;
[0182] The joint analysis unit is used to input the user's final indoor activity data on each single day in the historical period and all the user's final home control instructions on the corresponding single day in the historical period into the joint analysis model to obtain all the user's control cycles and the control habits of each control cycle.
[0183] In this embodiment, a joint analysis model is built, including:
[0184] Obtain a large number of final indoor activity data of users of other smart home control systems on each single day in the historical period and all final home control instructions of users on the corresponding single day in the historical period, and obtain all control cycles edited by users of the corresponding other smart home control systems and the control habits of each control cycle to obtain training samples;
[0185] The final indoor activity data of all users of other smart home control systems in the training sample on each single day in the historical period and all final home control instructions of the users on the corresponding single day in the historical period are used as model inputs. At the same time, all control cycles edited by users of other corresponding smart home control systems and the control habits of each control cycle are used as model outputs to train the neural network model and obtain the joint analysis model.
[0186] The beneficial effects of the above technology are: building a joint analysis model based on artificial intelligence algorithm, and inputting the user's final indoor activity data on each single day in the historical period and all the user's final home control instructions on the corresponding single day in the historical period into the joint analysis model, obtaining all the user's control cycles and the control habits of each control cycle, and realizing accurate analysis of all the user's control cycles and the control habits of each control cycle.
[0187] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A smart home control system based on wireless communication, It is characterized in that include: A mode setting module, used to receive mode setting instructions input by a user based on wireless communication, and generate linkage control instructions under multiple smart home scenario modes based on all received mode setting instructions; An instruction receiving module, used for receiving a mode selection instruction or an input control instruction input by a user in real time based on a wireless communication method; A linkage control module is used for, when receiving a mode selection instruction input by a user, determining all target control home appliances and target control instructions of each target control home appliance based on the linkage control instructions in the smart home scenario mode corresponding to the corresponding mode selection instruction, and sending all target control instructions to the corresponding target control home appliances based on a wireless communication method to obtain a smart home control result; The direct control module is used to determine the target control home device corresponding to the input control instruction when receiving the input control instruction input by the user, and send the corresponding input control instruction to the corresponding target control home device based on the wireless communication method to obtain the smart home control result; Among them, it also includes: A historical data acquisition module is used to acquire the indoor activity data of the user on each single day in the historical period, and at the same time, receive all home control commands input by the user on each single day in the historical period based on wireless communication; A joint analysis module is used to jointly analyze the indoor activity data of the user on each single day in the historical period and all the home control commands input by the user on each single day in the historical period, and analyze all the control periods of the user and the control habits of each control period; The auxiliary control analysis module is used to generate a home control plan for the day based on all control cycles of the user and the control habits of each control cycle, and determine the latest auxiliary control instructions based on the home control plan for the day and all home control instructions input by the user received on the day through wireless communication, wherein the home control instructions include: all target control instructions and input control instructions corresponding to the linkage control instructions in the smart home scenario mode corresponding to the mode selection instruction; An intelligent control module, used to intelligently control all smart homes in the smart home control system based on the latest auxiliary control instruction, and obtain a first smart home auxiliary control result; Among them, the joint analysis module includes: A first debiasing operation submodule is used to perform a debiasing operation on the indoor activity data of the user on each single day in the historical period to obtain the valid indoor activity data of the user on each single day in the historical period; The second debiasing operation submodule is used to perform a debiasing operation on all home control commands input by the user on each single day in the historical period, and obtain all valid home control commands of the user on each single day in the historical period; A joint debiasing operation submodule is used to perform a joint debiasing operation on the valid indoor activity data of the user in each single day in the historical period and all valid home control commands of the user in each single day in the historical period, so as to obtain the final indoor activity data of the user in each single day in the historical period and all final home control commands of the user in each single day in the historical period; The joint analysis submodule is used to jointly analyze the user's final indoor activity data on each single day in the historical period and all the final home control instructions of the user on each single day in the historical period, and analyze all the user's control cycles and the control habits of each control cycle.
2. The smart home control system based on wireless communication according to claim 1, It is characterized in that Historical data acquisition module, including: The historical cycle determination submodule is used to determine whether the time interval between the current moment and the start time of the smart home control system exceeds the historical cycle threshold. If so, the time period from the start time of the smart home control system to the current moment is regarded as the historical cycle; The historical data acquisition submodule is used to obtain the user's indoor activity data on each day during the historical period based on infrared sensors installed at multiple locations indoors, and at the same time, receive all home control commands input by the user on each day during the historical period based on wireless communication.
3. The smart home control system based on wireless communication according to claim 1, It is characterized in that Also includes: The direct control module is used to control the corresponding smart home in the smart home control system to execute the latest received home control instruction when all home control instructions input by the user are received based on wireless communication, so as to obtain a second smart home auxiliary control result.
4. The smart home control system based on wireless communication according to claim 1, It is characterized in that The first debiasing operation submodule includes: An activity trajectory fitting unit, used to fit the indoor activity trajectory of the user on each single day in the historical period based on the indoor activity data of the user on each single day in the historical period; A stay parameter analysis unit, used to analyze all stay locations of the user on each single day in the historical period and the continuous stay period of each stay location based on the indoor activity trajectory of the user on each single day in the historical period; A commonality determination unit, configured to analyze the commonality of each stay location in the historical period based on all stay locations of the user on each single day in the historical period and the continuous stay period of each stay location; A partial stop determination unit, used for treating all stop positions with a commonality less than a commonality threshold as partial stop positions; The first debiasing operation unit is used to treat part of the activity trajectory between adjacent stay positions in each indoor activity trajectory as a sub-movement trajectory, delete the previous sub-movement trajectory of all deviated stay positions in the user's indoor activity trajectory of each single day in the historical period, and obtain the user's valid indoor activity data on each single day in the historical period.
5. The smart home control system based on wireless communication according to claim 1, It is characterized in that The joint debiasing operation submodule includes: A joint debiasing model building unit, used for building a joint debiasing model; The joint debiasing operation unit is used to input the user's valid indoor activity data on each day in the historical period and all valid home control commands of the user on the corresponding day in the historical period into the joint debiasing model, so as to obtain the final indoor activity data of the user on each day in the historical period and all final home control commands of the user on each day in the historical period.
6. The smart home control system based on wireless communication according to claim 1, It is characterized in that Joint analysis submodule, including: A joint analysis model building unit, used to build a joint analysis model; The joint analysis unit is used to input the user's final indoor activity data on each single day in the historical period and all the user's final home control instructions on the corresponding single day in the historical period into the joint analysis model to obtain all the user's control cycles and the control habits of each control cycle.
