Multi-band cooperative smart home control method
Through the multi-band jump correlation collaboration method, the correlation degree of smart homes is calculated and band correlation is performed, which solves the problem of low efficiency of smart home control in the existing technology and achieves efficient control in multiple smart home environments.
Patent Information
- Application Number
- CN202411166714.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing smart home control technology has problems with low control efficiency and long intervals caused by frequency gaps in multiple smart home environments, making it difficult to adapt to the associated control needs of a large number of smart homes.
The multi-band jump correlation collaboration method is adopted to obtain the control band and status of smart homes, calculate the correlation degree, and perform band correlation and collaborative control to ensure cooperative control of multiple smart homes at the most appropriate time and reduce time errors.
It improves the efficiency of smart home control, reduces time errors, and achieves flexible and efficient control in multiple smart home environments.
Smart Images

Figure CN118732528A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication control technology, and in particular, to a multi-band collaborative smart home control method. Background Art
[0002] As people's living standards continue to improve, residents have higher requirements for their living environment. Building intelligent digital communities and providing residents with safe, convenient and comfortable living spaces is a new life goal for modern society and families.
[0003] In recent years, the popularization and application of computer information technology, especially the rapid development of embedded technology, has made home intelligence possible; using computer technology, communication technology and multimedia technology, homes within a certain range can be managed intelligently to provide a safe, comfortable, fast and energy-saving living environment.
[0004] At present, most of the smart terminals used in domestic smart communities are based on single-chip microcomputer architecture, with 8-bit single-chip microcomputer as the core processing unit, and the software is implemented in single-chip microcomputer assembly or C language. Due to the limitations of single-chip microcomputer processing speed and data processing capabilities, the product functions are relatively simple, it is difficult to support complex network communication protocols, it is difficult to ensure the reliability of communication, it cannot meet the requirements of home intelligence, and the system maintenance and upgrade are relatively difficult. It is also not movable, which limits the flexibility and practicality of the control terminal.
[0005] In order to solve the above problems, most technicians now use a multi-protocol mobile network control method to control multi-frequency smart homes. Of course, there is also a frequency change method to control multiple smart homes. For example, the Chinese patent invention patent CN114257466A discloses a multi-frequency collaborative smart home control method, which involves the field of data processing technology, including: S1: obtaining the maximum frequency and minimum frequency in all smart homes; S2: obtaining the average intervals T1 and T2 and the greatest common factor T0 of the maximum frequency signal and the minimum frequency signal; S3: the control center receives all signals in a sinusoidal curve cycle; S4: judging whether a signal is received within any curve cycle; if so, the cycle is halved; otherwise, no operation is performed; S5: judging whether a signal is received again within the second predetermined time; if so, S6 is executed; otherwise, the curve cycle is restored; S6: the control center feeds back to the smart home for control. The above invention does not require multi-protocol mobile network control, adopts a smart home signal receiving method with sinusoidal curve changes, reduces the production cost of smart terminals, and can ensure that all smart homes are controlled and fed back once within a cycle, and the control efficiency and accuracy are guaranteed.
[0006] However, the above method still has the following problems: it is necessary to complete control and feedback for all smart homes within one cycle, and the control and feedback of multiple smart homes will inevitably be separated by a certain period of time. There are some smart homes with cooperative control, but the control frequency difference between them is large, resulting in a long control interval between the two. Especially when there are a large number of smart homes in the home and a large number of smart homes with cooperative control, it is impossible to adaptively perform home association control, which still leads to low control efficiency. Therefore, in order to solve the above problems, it is necessary for us to design a reasonable multi-band collaborative smart home control method. Summary of the invention
[0007] The purpose of the present invention is to provide a multi-band collaborative smart home control method, which adopts multi-band jumping association collaboration and is used when there are a large number of smart homes in the home and the multiple smart homes are interconnected. When any smart home is running, other smart homes associated with the smart home are jointly controlled to complete the cooperative control of multiple smart homes, so that the cooperative control of multiple smart homes is carried out at the most appropriate time, reducing time errors and achieving high control efficiency.
[0008] In order to achieve the above object, the present invention adopts the following technical solutions: A multi-band collaborative smart home control method comprises the following steps: S1: Get the control bands and control records of all smart homes, and get the status of all other smart homes when any smart home is controlled; S2: Get the control correlation of each smart home with all other smart homes at different times; S3: obtaining the smart home with the highest overall control correlation of any smart home, and the correlation time between the smart home and the smart home with the highest overall control correlation; S4: Associating control bands for each smart home, where the associated control bands include: control band P1 of the smart home and control band P2 of the smart home with the highest control association with the smart home; S5: When the control center receives any feedback microwave signal, it uses the feedback microwave signal as the control band P1 according to the control band association table and sends a control signal of the control band P2 at the association time; S6: Determine whether the control center receives the feedback microwave signals of the P1 band and the P2 band within the predetermined time. If so, return to step S5 until the feedback microwave signals of the P1 band and the P2 band cannot be received; otherwise, no operation is performed.
[0009] As a preferred embodiment of the present invention, when executing step S1, every time the control center is connected to a new smart home, the control bands and control records of all smart homes are re-acquired.
[0010] As a preferred embodiment of the present invention, when executing step S2, specifically: S21: Obtaining the running time of each smart home, where the running time starts with the time when the startup control starts to be executed and ends with the time when the running control ends; S22: Obtain the control times of all other smart homes from the time when the smart home is started to the time when it is completed; S23: Repeat steps S21 and S22 to calculate the total number of times at least n smart homes are controlled by any other smart home from the time when the smart home is started to the time when it is completed, as the control correlation between the smart home and any other smart home.
[0011] As a preferred embodiment of the present invention, before executing step S2, an error threshold is set. If the control correlation is less than the error threshold, the control correlation is invalid and is not recorded; conversely, if the control correlation is not less than the error threshold, the control correlation is valid and is recorded.
[0012] As a preferred embodiment of the present invention, when executing step S3, the smart home with the highest control correlation calculated in step S23 is obtained for each smart home, and the running time of the smart home with the highest control correlation during control in step S22 is obtained, which is recorded as the correlation time of the smart home.
[0013] As a preferred embodiment of the present invention, when executing step S4, control band association is performed for each smart home, and there are two associated control bands, namely, control band P1 of the smart home and control band P2 of the smart home with the highest control association with the smart home, and the association time of control band P1 and control band P2 is obtained.
[0014] As a preferred embodiment of the present invention, when executing step S5, when any smart home is running, a feedback microwave signal is sent to the control center at each interval unit time, and the band of the feedback microwave signal is the control band of the smart home.
[0015] As a preferred embodiment of the present invention, when executing step S5, the control center uses the feedback microwave signal as the control band P1 according to the control band association table, and sends a control signal of the control band P2 at each association time.
[0016] As a preferred embodiment of the present invention, when executing step S6, it is determined whether the control center receives the feedback microwave signals of the P1 band and the P2 band simultaneously within the predetermined time. If so, it returns to step S5 until the feedback microwave signals of the P1 band and the P2 band cannot be received simultaneously; otherwise, no operation is performed.
[0017] As a preferred embodiment of the present invention, when executing step S3, at least one smart home with the highest degree of correlation with the overall control of any smart home and at least one smart home association time with the highest degree of correlation between the smart home and the overall control are obtained; When executing step S4, control band association is performed for each smart home, and the associated control bands include: the control band P1 of the smart home and the control band P2 of at least one smart home with the highest control association with the smart home; When executing step S5, when the control center receives any feedback microwave signal, it uses the feedback microwave signal as the control band P1 according to the control band association table, sends out at least one control band P2, and sends out a control signal of the control band P2 when the control band P2 is associated with the control band P2.
[0018] The beneficial effect of the multi-band collaborative smart home control method of the present invention is that: multi-band jumping association collaboration is adopted, and it is used when there are a large number of smart homes in the home and the multiple smart homes are interconnected. When any smart home is running, other smart homes associated with the smart home are jointly controlled to complete the cooperative control of multiple smart homes, so that the cooperative control of multiple smart homes is carried out at the most appropriate time, time error is reduced, and control efficiency is high. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 The present invention is a flowchart of a multi-band collaborative smart home control method. DETAILED DESCRIPTION
[0020] The following are specific embodiments of the present invention, which further describe the technical solutions of the present invention, but the present invention is not limited to these embodiments.
[0021] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangements of modules and structures set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
[0022] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
[0023] Technologies, methods, and systems known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and systems should be considered part of the authorization specification.
[0024] Embodiment 1: Figure 1 As shown, it is only one embodiment of the present invention, a multi-band collaborative smart home control method, comprising the following steps: S1: Get the control bands and control records of all smart homes, and get the status of all other smart homes when any smart home is controlled; It should be noted that when executing step S1, every time the control center is connected to a new smart home, the control bands and control records of all smart homes are re-acquired.
[0025] S2: Get the control correlation of each smart home with all other smart homes at different times; In the present invention, when executing step S2, specifically: S21: Obtaining the running time of each smart home, where the running time starts with the time when the startup control starts to be executed and ends with the time when the running control ends; S22: Obtain the control times of all other smart homes from the time when the smart home is started to the time when it is completed; S23: Repeat steps S21 and S22 to calculate the total number of times at least n smart homes are controlled by any other smart home from the time when the smart home is started to the time when it is completed, as the control correlation between the smart home and any other smart home.
[0026] It should be noted that: before executing step S2, an error threshold is set. If the control correlation is less than the error threshold, the control correlation is invalid and is not recorded; conversely, if the control correlation is not less than the error threshold, the control correlation is valid and is recorded.
[0027] In other words, if the control relationship between two smart homes is accidental and the correlation is low, then the relationship between the two smart homes is not recognized.
[0028] S3: obtaining the smart home with the highest overall control correlation of any smart home, and the correlation time between the smart home and the smart home with the highest overall control correlation; As an embodiment of the present invention, when executing step S3, the smart home with the highest control correlation calculated in step S23 is obtained for each smart home, and the running time of the smart home with the highest control correlation during control in step S22 is obtained, which is recorded as the correlation time of the smart home.
[0029] S4: Associating control bands for each smart home, where the associated control bands include: control band P1 of the smart home and control band P2 of the smart home with the highest control association with the smart home; As an embodiment of the present invention, when executing step S4, control band association is performed for each smart home, and there are two associated control bands, namely, control band P1 of the smart home and control band P2 of the smart home with the highest control association with the smart home, and the association time of control band P1 and control band P2 is obtained.
[0030] S5: When the control center receives any feedback microwave signal, it uses the feedback microwave signal as the control band P1 according to the control band association table and sends a control signal of the control band P2 at the association time; As an embodiment of the present invention, when executing step S5, when any smart home is running, it sends a feedback microwave signal to the control center at every interval unit time, and the band of the feedback microwave signal is the control band of the smart home.
[0031] Furthermore, when executing step S5, the control center uses the feedback microwave signal as the control band P1 according to the control band association table, and sends out a control signal of the control band P2 at each association time.
[0032] S6: Determine whether the control center receives the feedback microwave signals of the P1 band and the P2 band within the predetermined time. If so, return to step S5 until the feedback microwave signals of the P1 band and the P2 band cannot be received; otherwise, no operation is performed.
[0033] As an embodiment of the present invention, when executing step S6, it is determined whether the control center receives the feedback microwave signals of the P1 band and the P2 band simultaneously within the predetermined time. If so, it returns to step S5 until the feedback microwave signals of the P1 band and the P2 band cannot be received simultaneously; otherwise, no operation is performed.
[0034] Embodiment 2: Figure 1 The figure is only one of the embodiments of the present invention, a multi-band collaborative smart home control method: When executing step S3, the n smart homes with the highest degree of correlation with the overall control of any smart home and the association time of the n smart homes with the highest degree of correlation with the overall control of any smart home are obtained; Wherein, n is a positive integer not less than 1.
[0035] That is, when executing step S3, at least one smart home with the highest degree of correlation with the overall control of any smart home and at least one smart home association time with the highest degree of correlation between the smart home and the overall control are obtained; Taking n=3 as an example, the smart homes with the highest, second highest and third highest overall control correlations are obtained, and the correlation time between the smart home with the highest overall control correlation, the second highest correlation time and the third highest correlation time are obtained.
[0036] Similarly, when executing step S4, control band association is performed for each smart home, and the associated control bands include: the control band P1 of the smart home and the control band P2 of at least one smart home with the highest control association with the smart home; When executing step S5, when the control center receives any feedback microwave signal, according to the control band association table, the control center uses the feedback microwave signal as the control band P1, sends out at least one control band P2, and sends out a control signal of the control band P2 when the control band P2 is associated with the control band P2; Here, at the association time of the smart home with the highest correlation with the overall control, the control band P2 of the smart home with the highest correlation with the overall control is emitted; at the association time of the smart home with the second highest correlation with the overall control, the control band P2 of the smart home with the second highest correlation with the overall control is emitted, and, at the association time of the smart home with the third highest correlation with the overall control, the control band P2 of the smart home with the third highest correlation with the overall control is emitted.
[0037] The present invention discloses a multi-band collaborative smart home control method, which adopts multi-band jumping association collaboration and is used when there are a large number of smart homes in the home and the multiple smart homes are interconnected. When any smart home is running, other smart homes associated with the smart home are jointly controlled to complete the cooperative control of multiple smart homes, so that the cooperative control of multiple smart homes is performed at the most appropriate time, time error is reduced, and control efficiency is high.
[0038] Embodiment 3, an electronic device provided by the embodiment of the present invention is used to implement the method described in embodiment 1. The electronic device may include: at least one central processor, at least one network interface, a control interface, a memory, and at least one communication bus.
[0039] Among them, the communication bus is used to realize the connection, communication and information exchange between various components.
[0040] The network interface may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface).
[0041] Among them, the control interface is used to output control operations according to instructions.
[0042] The central processing unit may include one or more processing cores. The central processing unit uses various interfaces and lines to connect various parts in the entire terminal, and executes various functions of the terminal and processes data according to the method described in the first embodiment by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory.
[0043] The memory may include a random access memory (RAM) or a read-only memory (ROM). Optionally, the memory includes a non-transitory computer-readable storage medium. The memory may be used to store instructions, programs, codes, code sets or instruction sets. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), and methods for implementing the above-mentioned embodiment 1 or embodiment 2, etc.; the data storage area may store data involved in each of the above method embodiments, etc.
[0044] The present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the method described in the first or second embodiment is implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.
[0045] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
[0046] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0047] In the several embodiments provided by the present invention, it should be understood that the disclosed devices can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.
[0048] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. In addition, the functional units in the various embodiments of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software functional units.
[0049] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a memory, including several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk, etc., various media that can store program codes.
[0050] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware, and the program may be stored in a computer-readable memory, which may include a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.
[0051] It should be noted that, in this article, relational terms such as first and second, etc. are only used 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 "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device comprising the elements.
[0052] The above contents are further detailed descriptions of the present invention in combination with specific preferred implementation modes, and it cannot be determined that the specific embodiments of the present invention are limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as belonging to the protection scope of the present invention.
Claims
1. A multi-band collaborative smart home control method, characterized in that: The following steps are involved: S1: Get the control bands and control records of all smart homes, and get the status of all other smart homes when any smart home is controlled; S2: Get the control correlation of each smart home with all other smart homes at different times; S3: obtaining the smart home with the highest overall control correlation of any smart home, and the correlation time between the smart home and the smart home with the highest overall control correlation; S4: Associating control bands for each smart home, where the associated control bands include: control band P1 of the smart home and control band P2 of the smart home with the highest control association with the smart home; S5: When the control center receives any feedback microwave signal, it uses the feedback microwave signal as the control band P1 according to the control band association table and sends a control signal of the control band P2 at the association time; S6: Determine whether the control center receives the feedback microwave signals of the P1 band and the P2 band within the predetermined time. If so, return to step S5 until the feedback microwave signals of the P1 band and the P2 band cannot be received; otherwise, no operation is performed.
2. A multi-band collaborative smart home control method according to claim 1, characterized in that: When executing step S1, every time the control center is connected to a new smart home, the control bands and control records of all smart homes are retrieved.
3. The multi-band collaborative smart home control method according to claim 1, characterized in that: When executing step S2, specifically: S21: Obtaining the running time of each smart home, where the running time starts with the time when the startup control starts to be executed and ends with the time when the running control ends; S22: Obtain the control times of all other smart homes from the time when the smart home is started to the time when it is completed; S23: Repeat steps S21 and S22 to calculate the total number of times at least n smart homes are controlled by any other smart home from the time when the smart home is started to the time when it is completed, as the control correlation between the smart home and any other smart home.
4. The multi-band collaborative smart home control method according to claim 3, characterized in that: Before executing step S2, an error threshold is set. If the control correlation is less than the error threshold, the control correlation is invalid and is not recorded; conversely, if the control correlation is not less than the error threshold, the control correlation is valid and is recorded.
5. The multi-band collaborative smart home control method according to claim 3, characterized in that: When executing step S3, the smart home with the highest control correlation calculated in step S23 is obtained for each smart home, and the running time of the smart home with the highest control correlation during control in step S22 is obtained, which is recorded as the correlation time of the smart home.
6. The multi-band collaborative smart home control method according to claim 1, characterized in that: When executing step S4, control band association is performed for each smart home. There are two associated control bands, namely, control band P1 of the smart home and control band P2 of the smart home with the highest control association with the smart home, and the association time of control band P1 and control band P2 is obtained.
7. The multi-band collaborative smart home control method according to claim 1, characterized in that: When executing step S5, when any smart home is running, a feedback microwave signal is sent to the control center at each time interval, and the band of the feedback microwave signal is the control band of the smart home.
8. The multi-band collaborative smart home control method according to claim 7, characterized in that: When executing step S5, the control center uses the feedback microwave signal as the control band P1 according to the control band association table, and sends out a control signal of the control band P2 at each association time.
9. The multi-band collaborative smart home control method according to claim 1, characterized in that: When executing step S6, it is determined whether the control center receives the feedback microwave signals of the P1 band and the P2 band simultaneously within the predetermined time. If so, it returns to step S5 until the feedback microwave signals of the P1 band and the P2 band cannot be received simultaneously; otherwise, no operation is performed.
10. The multi-band collaborative smart home control method according to claim 1, characterized in that: When executing step S3, at least one smart home with the highest degree of correlation with the overall control of any smart home and at least one smart home correlation time with the highest degree of correlation between the smart home and the overall control are obtained; When executing step S4, control band association is performed for each smart home, and the associated control bands include: the control band P1 of the smart home and the control band P2 of at least one smart home with the highest control association with the smart home; When executing step S5, when the control center receives any feedback microwave signal, it uses the feedback microwave signal as the control band P1 according to the control band association table, sends out at least one control band P2, and sends out a control signal of the control band P2 when the control band P2 is associated with the control band P2.
