Disclosure of Invention
Aiming at the problems in the prior art, the invention aims to provide the big data management system of the Internet of things for the intelligent home, which can reasonably control and manage the aspects of illumination, temperature control, access control and the like in the intelligent home.
The technical scheme includes that the Internet of things big data management system for intelligent home comprises a parameter acquisition module, a comparison response module and a control change module, wherein the parameter acquisition module acquires main categories of cloud controlled systems, namely an intelligent lighting system, an intelligent entrance guard system, an intelligent curtain system and an intelligent home appliance system, when the controlled systems are controlled simultaneously, bandwidth occupied by the controlled systems and total bandwidth of families are acquired, a bandwidth threshold is set according to the self definition of the total bandwidth of the families, the comparison response module compares the bandwidth occupied by the controlled systems with the bandwidth threshold, different responses are made according to comparison results, when the occupied bandwidth is smaller than the bandwidth threshold, the system normally operates, when the occupied bandwidth is larger than or equal to the bandwidth threshold, the intelligent home management system changes a control mode of the controlled systems to dynamically control the controlled systems, and the control change module ranks priorities of all the controlled systems, and when the occupied bandwidth is larger than or equal to the bandwidth threshold, the intelligent home management system controls the controlled systems according to the priority order of the controlled systems.
In some embodiments, the priority order sequencing method of the managed and controlled systems is to customize a service period of the managed and controlled systems, acquire frequencies used by the intelligent lighting system, the intelligent entrance guard system, the intelligent curtain system and the intelligent household electrical appliance system in the previous period based on the period duration, and sequence the intelligent lighting system, the intelligent entrance guard system, the intelligent curtain system and the intelligent household electrical appliance system according to the service frequency from high to low.
In some embodiments, another method for ordering the priority order of the managed and controlled systems divides the managed and controlled time of the managed and controlled systems according to time periods, and orders the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system according to the use requirement degree of each managed and controlled system in different time periods.
In some embodiments, the controlled time period of the controlled system is divided into two time periods of day and night, the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system are ordered according to the daytime use demand degree of the controlled system in the day time period, and the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system are ordered according to the night use demand degree of the controlled system in the night time period.
In some embodiments, after the managed systems are ordered according to the priority order, the number of the managed systems is obtained, bandwidths occupied by two of the managed systems are compared with a bandwidth threshold value, and different countermeasures are obtained according to the comparison result.
In some embodiments, when the bandwidth occupied by two of the managed systems is greater than or equal to the bandwidth threshold, the smart home management system can only perform separate management and control on all of the managed systems and cannot perform simultaneous management and control, and when the bandwidth occupied by two of the managed systems is less than the bandwidth threshold, the smart home management system can at least perform simultaneous management and control on two of the managed systems.
In some embodiments, when the bandwidth occupied by two of the managed systems is less than the bandwidth threshold, the number of the managed systems is increased to three, when the bandwidth occupied by three of the managed systems is greater than or equal to the bandwidth threshold, the intelligent home management system can only manage two of the managed systems at the same time under the bandwidth threshold, and when the bandwidth occupied by three of the managed systems is less than the bandwidth threshold, the intelligent home management system can only manage three of the managed systems at the same time under the bandwidth threshold.
In some embodiments, when the smart home management system can manage two systems at most, the two managed systems with the front priority order are selected to perform simultaneous management, and the two managed systems with the rear priority order perform management and sorting according to the priority order.
In some embodiments, when the smart home management system can manage at most three of the systems simultaneously, the three managed systems with the first priority order are selected for simultaneous management.
The invention also provides the following technical scheme:
The invention further provides a computer readable storage medium storing a computer program, the computer program being executed by a processor to implement the above-mentioned big data management system of the internet of things for smart home.
Compared with the prior art, the technical scheme provided by the invention has the following beneficial effects:
In the invention, the intelligent household management and control system is mainly divided into four major categories, namely an intelligent lighting system, an intelligent access control system, an intelligent curtain system and an intelligent household appliance system. When the four types of controlled systems are controlled simultaneously, the commonly occupied bandwidth is obtained, the commonly occupied bandwidth is compared with a bandwidth threshold, and when the occupied bandwidth is smaller than the bandwidth threshold, the intelligent home system can well operate under the current configuration without additional adjustment when the four types of controlled systems are controlled simultaneously. When the occupied bandwidth is greater than or equal to the bandwidth threshold, it is indicated that the occupied bandwidth of the management and control system is relatively large, and adjustment of the management and control mode is needed so as not to influence the operation of other devices.
Secondly, in the invention, the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system are subjected to priority ranking, and when the bandwidth occupied by the four systems is larger than or equal to the bandwidth threshold value, the four systems are managed and controlled according to the priority ranking order, so that the key equipment can be preferentially responded when the bandwidth is short. While there are two ways of ordering the priority order. The method comprises the steps of setting the service cycle of a controlled system, obtaining the frequency of the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system in the last cycle, and sequencing the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system according to the service frequency from high to low. And secondly, sequencing according to time periods, wherein the time periods are divided into the daytime and the night, and sequencing is performed on the intelligent light system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system according to different degrees of use requirements under the two time periods of the daytime and the night.
Thirdly, in the invention, after the priority order of the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system is ordered, the number of systems which can be controlled by the intelligent household management system at the same time is judged. The bandwidth occupied by two of the managed and controlled systems is compared with the bandwidth threshold, and if the bandwidth occupied by the two managed and controlled systems is larger than or equal to the bandwidth threshold, the intelligent home management system can not manage and control the two managed and controlled systems at the same time, and only each managed and controlled system can be managed and controlled independently. If the occupied bandwidth is smaller than the bandwidth threshold, the intelligent home management system can manage and control two systems at least. On this premise, the bandwidth occupied by three of the managed systems is reused and compared with the bandwidth threshold. If the occupied bandwidth is larger than or equal to the bandwidth threshold, the intelligent home management system can only manage and control two systems at most. If the occupied bandwidth is smaller than the bandwidth threshold, it means that the intelligent home management system can simultaneously manage three systems at most, because the intelligent home management system is performed on the premise that the four bandwidths occupied by the management system are larger than or equal to the bandwidth threshold, and cannot simultaneously control the four systems. Thus, after the number of systems that can be controlled at most simultaneously is obtained, the priority order of the controlled systems can be combined for control. And the management and control of the intelligent home management system are more reasonable.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It will be understood that the terms "a" and "an" should be interpreted as referring to "at least one" or "one or more," i.e., in one embodiment, the number of elements may be one, while in another embodiment, the number of elements may be plural, and the term "a" should not be interpreted as limiting the number.
The big data management system of the internet of things for intelligent home provided by the invention, as shown in fig. 1 and 2, comprises:
The parameter acquisition module acquires main control categories in the intelligent home management system through the cloud, wherein the main control categories comprise an intelligent light system, an intelligent access control system, an intelligent curtain system and an intelligent home appliance system. The intelligent household management system is set to simultaneously manage and control the intelligent light system, the intelligent access control system, the intelligent curtain system and the intelligent household electrical appliance system, and at the moment, the total occupied bandwidth of the intelligent light system, the intelligent access control system, the intelligent curtain system and the intelligent household electrical appliance system (hereinafter referred to as the managed and controlled systems) and the total bandwidth in the household are acquired through the cloud. According to the total bandwidth in the home, the user self-defines a threshold value of the bandwidth occupied by the managed systems, and the threshold value of the bandwidth is at least larger than the bandwidth occupied by one of the managed systems. In general, the total bandwidth in a home is typically limited by the quota of the internet service provider, and thus in some cases this may be one of the uncertainty factors in the operation of the entire smart home system. Based on the above, the user can self-define and set a bandwidth threshold of the managed system according to the actual requirement of the user's home. Ensuring that the bandwidth threshold is greater than the bandwidth occupied by any one of the management and control systems alone leaves the necessary adjustment space for the subsequent.
And the comparison response module is used for comparing the bandwidth occupied by the management and control system with a bandwidth threshold value and obtaining different responses according to the comparison result. When the bandwidth occupied by the management and control system is smaller than the bandwidth threshold, the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system are simultaneously managed and controlled, the occupied bandwidth is smaller than the total bandwidth, the bandwidth allocation of other devices is not affected, and under the condition, the intelligent household appliance management system operates normally. When the bandwidth occupied by the management and control system is larger than or equal to the bandwidth threshold, the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system are simultaneously managed and controlled, the occupied proportion in the total bandwidth is large, the residual bandwidth proportion of the total bandwidth is insufficient for supporting other equipment to normally operate, and under the condition, the intelligent household appliance management system changes the management and control mode of the managed and control system, and dynamically manages and controls the managed and control system. Because the intelligent home management system simultaneously manages and controls the bandwidth occupied by all the managed and controlled systems in this case, only one of the managed and controlled systems can be managed and controlled respectively. In general, the module compares the bandwidth usage (i.e., occupied bandwidth) of the managed system with a preset bandwidth threshold, thereby identifying possible problems in time and taking corresponding measures to maintain the overall balance of the home network. When the system obtains that the bandwidth occupied by the overall management and control system is lower than the set threshold value, the whole intelligent home system can well operate under the current configuration without additional adjustment. Stability in this scenario eliminates the user from having to worry about the normal network usage of the remaining non-smart home devices being impacted. But the module functions immediately if it detects that the total bandwidth usage of the managed system meets or exceeds a set threshold. The efficient and timely intervention mechanism can dynamically analyze to judge whether bandwidth optimization measures need to be taken or not, and ensure that the equipment with higher priority can continuously operate.
And the control change module is used for carrying out priority control according to the priority of the controlled system. The user orders the controlled systems according to the priority degrees of the intelligent light system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system, and when the bandwidth occupied by the controlled systems is larger than or equal to the bandwidth threshold value, the controlled systems are controlled according to the order of the ordered priority degrees. The priority order sequencing method is that the service period of the controlled system is set, the frequency of the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household electrical appliance system in the last period is obtained, and the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household electrical appliance system are sequenced from high to low according to the service frequency. It is assumed that the intelligent lighting system, the intelligent entrance guard system, the intelligent curtain system and the intelligent household electrical appliance system are arranged according to the use frequency from high to low, and the intelligent household electrical appliance system, the intelligent lighting system, the intelligent entrance guard system and the intelligent curtain system are arranged. According to the priority order, when the bandwidth occupied by the management and control system is larger than or equal to the bandwidth threshold, the intelligent home management system manages and controls the intelligent home system preferentially, then the intelligent lighting system, the intelligent access control system again and finally the intelligent curtain system. In general, users can target bandwidth-consuming systems such as smart home appliances as high-priority processing targets, because they may be directly related to convenience and comfort of daily life. Devices such as smart curtains, which may be relatively low in demand, are queued at the end of the queue, ensuring that critical devices respond preferentially when resources are scarce.
In addition to the above, the method of sorting the priority order may be sorting by time period. The method comprises the following steps of dividing the managed time of the managed system into the daytime and the night, and sequencing the priority orders of the managed system according to the use requirement degree of each managed system in the two time periods of the daytime and the night. When in daytime, the user has no need for light, so the intelligent light system is arranged at the tail position. The intelligent curtain system is not required to be used in high, and the number of times is also flexible, for example, the intelligent curtain system can be used only when sunlight is dazzling or afternoon nap is required, and therefore the intelligent curtain system is arranged at the penultimate position. For intelligent home appliances and intelligent access control systems, the number of times of the needs of the intelligent access control system is usually far less than the number of times of the needs of the intelligent home appliances, so that the intelligent home appliances are arranged first, and the intelligent access control coefficients are arranged second. When the intelligent household appliance system is at night, the activity frequency of the user is also reduced, so that the use requirement times of the intelligent household appliance system are relatively low, and in this case, the intelligent household appliance system is arranged at the first place and the intelligent household appliance system is arranged at the second place. For the intelligent access control system and the intelligent curtain system, the required times for the access of the intelligent access control system at night are not determined, but for the intelligent curtain system, the curtain is usually only required to be closed by the intelligent curtain system before sleeping, so that the intelligent curtain system is arranged at the tail position, and the intelligent access control system is arranged at the third position.
After the managed systems are ordered through the priority order, when the bandwidth occupied by the managed systems is greater than or equal to a bandwidth threshold, the intelligent home management system prioritizes and manages the systems with the previous order. But this is when all the systems being managed occupy a larger bandwidth at the same time, i.e. the number of systems that can be managed at the same time cannot contain all the systems, i.e. below the bandwidth threshold. That is, under the bandwidth threshold, the intelligent lighting system, the intelligent entrance guard system, the intelligent window covering system, and the intelligent home appliance system cannot be simultaneously controlled. But some of these several systems are possible to be managed simultaneously. Therefore, the intelligent home management system can detect that the intelligent home management system can manage and control a plurality of systems at most under the bandwidth threshold, and then the intelligent home management system can manage and control the plurality of systems according to the priority order.
Since the smart home management system only manages the managed systems, and not operates on behalf of the managed systems, the bandwidth occupied by each managed system can be considered substantially uniform. Under the premise, the number of the managed systems is obtained, the number of the managed systems is increased one by one from the bandwidths occupied by the two managed systems, then the bandwidths occupied by the managed systems are compared with the bandwidth threshold value, and the intelligent home management system can manage and control a plurality of managed systems at most. When the bandwidth occupied by two managed and controlled systems is larger than or equal to the bandwidth threshold, the intelligent home management system can only respectively manage and control all the managed and controlled systems under the bandwidth threshold, and cannot manage and control all the managed and controlled systems at the same time. When the bandwidth occupied by two of the managed systems is less than the bandwidth threshold, it is indicated that at the bandwidth threshold, the smart home management system can manage at least two of the managed systems simultaneously. At this time, the number of the managed and controlled systems is increased to three, and when the bandwidth occupied by three of the managed and controlled systems is greater than or equal to the bandwidth threshold, it is indicated that the smart home management system can only manage two of the managed and controlled systems at most at the same time under the bandwidth threshold. When the bandwidth occupied by three of the managed systems is smaller than the bandwidth threshold, the intelligent home management system can simultaneously manage the three of the managed systems at most under the bandwidth threshold. Based on the above, if the smart home management system can manage at most two of the systems at the same time, in this case, the two managed systems with the front priority order are selected to perform simultaneous management, and the two managed systems with the rear priority order perform management and sorting according to the priority order. For example, under the priority order based on the frequency of use, select intelligent household electrical appliances system and intelligent lighting system to manage simultaneously, manage intelligent access control system and intelligent curtain system in proper order after having accomplished the management of these two systems. Under the priority order based on time periods, during daytime, the intelligent household appliance system and the intelligent access control system are selected for simultaneous control, and the intelligent curtain system and the intelligent light system are controlled according to the order. At night, the intelligent lighting system and the intelligent household appliance system are selected for simultaneous control, and the intelligent access control system and the intelligent curtain system are controlled according to the sequence. If the intelligent home management system can manage three systems at most, under the condition that the intelligent home system, the intelligent lighting system and the intelligent access control system are selected to be managed and controlled simultaneously under the priority order based on the use frequency, the intelligent curtain system is independently managed and controlled. Under the priority order based on time periods, during daytime, the intelligent household appliance system, the intelligent access control system and the intelligent curtain system are selected for simultaneous control, and the intelligent light system is independently controlled. And selecting the intelligent light system, the intelligent household appliance system and the intelligent access control system to conduct simultaneous control at night, and independently controlling the intelligent curtain system.
In summary, the intelligent household management and control system is mainly divided into four categories, namely an intelligent light system, an intelligent access control system, an intelligent curtain system and an intelligent household appliance system. When the four types of controlled systems are controlled simultaneously, the commonly occupied bandwidth is obtained, the commonly occupied bandwidth is compared with a bandwidth threshold, and when the occupied bandwidth is smaller than the bandwidth threshold, the intelligent home system can well operate under the current configuration without additional adjustment when the four types of controlled systems are controlled simultaneously. When the occupied bandwidth is greater than or equal to the bandwidth threshold, it is indicated that the occupied bandwidth of the management and control system is relatively large, and adjustment of the management and control mode is needed so as not to influence the operation of other devices. Secondly, the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system are subjected to priority ranking, and when the bandwidth occupied by the four systems is larger than or equal to a bandwidth threshold value, the four systems are controlled according to the priority ranking order, so that key equipment can be preferentially responded when the bandwidth is short. While there are two ways of ordering the priority order. The method comprises the steps of setting the service cycle of a controlled system, obtaining the frequency of the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system in the last cycle, and sequencing the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system according to the service frequency from high to low. And secondly, sequencing according to time periods, wherein the time periods are divided into the daytime and the night, and sequencing is performed on the intelligent light system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system according to different degrees of use requirements under the two time periods of the daytime and the night. Finally, after the priority order of the intelligent lighting system, the intelligent access control system, the intelligent curtain system and the intelligent household appliance system is ordered, the number of systems which can be controlled at the same time by the intelligent household management system is judged. The bandwidth occupied by two of the managed and controlled systems is compared with the bandwidth threshold, and if the bandwidth occupied by the two managed and controlled systems is larger than or equal to the bandwidth threshold, the intelligent home management system can not manage and control the two managed and controlled systems at the same time, and only each managed and controlled system can be managed and controlled independently. If the occupied bandwidth is smaller than the bandwidth threshold, the intelligent home management system can manage and control two systems at least. On this premise, the bandwidth occupied by three of the managed systems is reused and compared with the bandwidth threshold. If the occupied bandwidth is larger than or equal to the bandwidth threshold, the intelligent home management system can only manage and control two systems at most. If the occupied bandwidth is smaller than the bandwidth threshold, it means that the intelligent home management system can simultaneously manage three systems at most, because the intelligent home management system is performed on the premise that the four bandwidths occupied by the management system are larger than or equal to the bandwidth threshold, and cannot simultaneously control the four systems. Thus, after the number of systems that can be controlled at most simultaneously is obtained, the priority order of the controlled systems can be combined for control. And the management and control of the intelligent home management system are more reasonable.
In addition to the above, it is worth mentioning that when it is determined that the smart home system can manage several systems simultaneously, when it is found that the smart home system can only manage one device or system simultaneously, this often means that the resource allocation of the network bandwidth is insufficient, which results in that the control function cannot be fully exerted. In this case, then, analysis is required according to the actual situation to improve the performance of the system and ensure stable operation. First, the bandwidth threshold settings in the smart home system are checked. If the bandwidth threshold is too low, it may result in insufficient available network resources, thereby limiting the management capabilities of the system. Therefore, a direct optimization scheme is to properly raise the bandwidth threshold, so that the smart home system can acquire more bandwidth resources. Such adjustments may typically be made through a setup interface of the smart home system, with the purpose of allowing the system to have greater data transfer capabilities, thereby supporting more devices or more complex collaborative tasks.
However, the adjustment of the bandwidth threshold is not always a universal solution, since the upper limit of the bandwidth threshold is limited by the total available bandwidth of the home network. If the user has set the bandwidth threshold to a theoretical maximum, but still fails to meet the need for multiple intelligent systems to operate simultaneously, the root cause of the problem is likely to be that the total bandwidth of the home network is too limited. In this case, it is futile to attempt to continue to increase the bandwidth threshold because the network resources "available" to the system have reached an upper limit. At this point, a more efficient approach is to upgrade to an internet service with a higher transmission rate.
The processes described above with reference to flowcharts may be implemented as computer software programs in accordance with the disclosed embodiments of the application. Embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via a communication portion, and/or installed from a removable medium. The above-described functions defined in the method of the application are performed when the computer program is executed by a central processing unit. The computer readable medium of the present application may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wire segments, a portable computer diskette, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical fiber, a portable compact disc read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present application, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless segments, radio lines, fiber optic cables, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
It should be understood by those skilled in the art that the foregoing is merely a specific embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the scope of the present application.