Disclosure of Invention
An object of the embodiments of the present application is to provide an intelligent scene control method, system, device and storage medium, which solve the problem that a scene formed by an existing control method is single and cannot provide good experience for a user.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention provides an intelligent scene control method in a first aspect, which comprises the following steps:
monitoring an intelligent scene key message of an intelligent scene panel;
when the intelligent scene key message is monitored, acquiring an intelligent scene key identification and monitoring time corresponding to the monitored intelligent scene key message, and acquiring a corresponding scene mode control parameter list according to the intelligent scene key identification and the monitoring time, wherein the scene mode control parameter list records parameters of states of a plurality of intelligent household devices;
and adjusting the current states of the plurality of pieces of intelligent household equipment according to the scene mode control parameter list.
According to an implementation manner of the first aspect of the present invention, adjusting the current states of the plurality of smart home devices according to the scene mode control parameter list includes:
and simultaneously adjusting the current states of the plurality of intelligent household devices according to the scene mode control parameter list.
According to a manner that can be implemented by the first aspect of the present invention, the adjusting time sequence list corresponding to the plurality of smart home devices is further recorded in the scene mode control parameter list, and adjusting the current states of the plurality of smart home devices according to the scene mode control parameter list includes:
and adjusting the current states of the plurality of pieces of intelligent household equipment according to the sequence of the time sequence adjusting list.
According to a manner in which the first aspect of the present invention can be implemented, the smart scene key identifier is an address and/or an identification number of a physical area of the smart scene key.
According to an enabling aspect of the first aspect of the invention, the method further comprises:
receiving a first instruction for updating a scene mode control parameter list;
and updating the corresponding parameter of the state of the intelligent household equipment according to the first instruction.
According to an enabling aspect of the first aspect of the invention, the method further comprises:
receiving a second instruction for updating the attribute of the intelligent scene key, wherein the attribute comprises a scene trigger time range corresponding to a scene mode control parameter list;
and updating the corresponding scene trigger time range according to the second instruction.
According to an enabling aspect of the first aspect of the invention, the method further comprises:
starting timing when the key message of the intelligent scene is monitored, and acquiring linkage intelligent scene key identification and monitoring time corresponding to the key message of the same intelligent scene when the key message of the same intelligent scene is monitored again before the timing time reaches a first preset time threshold value, so as to acquire a scene mode control parameter list corresponding to the linkage intelligent scene key identification and the monitoring time;
triggering a linkage scene, specifically, controlling the current state of the corresponding intelligent household equipment according to a scene mode control parameter list corresponding to the linkage intelligent scene key identification and the monitoring time
According to an enabling aspect of the first aspect of the invention, the method further comprises:
and starting timing when the key message of the same intelligent scene is monitored again, and canceling the step of triggering the linkage scene when the key message of the same intelligent scene is monitored again before the timing time reaches a second preset time threshold.
A second aspect of the present invention provides an intelligent scene control system, comprising:
the monitoring module is used for monitoring the intelligent scene key messages of the intelligent scene panel;
the first acquisition module is used for acquiring an intelligent scene key identifier and monitoring time corresponding to the monitored intelligent scene key message when the intelligent scene key message is monitored, and acquiring a corresponding scene mode control parameter list according to the intelligent scene key identifier and the monitoring time, wherein the scene mode control parameter list records parameters of states of a plurality of intelligent home devices;
and the first control module is used for adjusting the current states of the plurality of intelligent household equipment according to the scene mode control parameter list.
According to a manner that can be realized in the second aspect of the present invention, the first control module simultaneously adjusts the current states of the plurality of smart home devices according to the scene mode control parameter list.
According to a manner that can be realized in the second aspect of the present invention, the scene mode control parameter list further records an adjustment time sequence list corresponding to the plurality of smart home devices, and the first control module adjusts the current states of the plurality of smart home devices according to the adjustment time sequence list.
According to a manner of implementation of the second aspect of the present invention, the smart scene key identifier is an address and/or an identification number of a physical area of the smart scene key.
According to an enabling manner of the second aspect of the invention, the system further comprises:
the first receiving module is used for receiving a first instruction for updating the scene mode control parameter list;
and the first updating module is used for updating the corresponding parameter of the state of the intelligent household equipment according to the first instruction.
According to an enabling manner of the second aspect of the invention, the system further comprises:
the second receiving module is used for receiving a second instruction for updating the intelligent scene key attribute, wherein the attribute comprises a scene trigger time range corresponding to a scene mode control parameter list;
and the second updating module is used for updating the corresponding scene triggering time range according to the second instruction.
According to an enabling manner of the second aspect of the invention, the system further comprises:
the timing module is used for starting timing when the intelligent scene key message is monitored;
the second acquisition module is used for acquiring linkage intelligent scene key identification and monitoring time corresponding to the same intelligent scene key message when the monitoring module monitors the same intelligent scene key message again before the timing time reaches a first preset time threshold value, and further acquiring a scene mode control parameter list corresponding to the linkage intelligent scene key identification and the monitoring time;
and the second control module is used for triggering a linkage scene, and specifically, controlling the current state of the corresponding intelligent home equipment according to a scene mode control parameter list corresponding to the linkage intelligent scene key identification and the monitoring time.
According to an implementation manner of the second aspect of the present invention, the timing module is further configured to start timing when the same smart scene key message is monitored again, and when the monitoring module monitors the same smart scene key message again before the timing time reaches a second predetermined time threshold, the second control module cancels the step of executing the triggering linkage scene.
An embodiment of a third aspect of the present invention provides an intelligent scene control apparatus, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the processor implements the intelligent scene control method according to any one of the above embodiments.
A fourth aspect of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed, implements the intelligent scene control method according to any one of the above embodiments.
According to the invention, the smart home is extremely simple, and a user can call the scene mode corresponding to the key pressing time and the smart scene key identification when the smart scene key is pressed at different times, so that the corresponding scene can be obtained, the scene controlled by one key can be changed according to the key pressing time, and the user experience is improved.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Fig. 1 is a schematic flow chart of an intelligent scene control method according to a preferred embodiment of the present invention.
As shown in fig. 1, the method includes:
s1 listens for smart scene key messages for the smart scene panel.
S2, when the intelligent scene key message is monitored, acquiring an intelligent scene key identification and monitoring time corresponding to the monitored intelligent scene key message, and acquiring a corresponding scene mode control parameter list according to the intelligent scene key identification and the monitoring time, wherein the scene mode control parameter list records parameters of states of a plurality of intelligent household devices.
S3, adjusting the current states of the intelligent household devices according to the scene mode control parameter list.
And acquiring a corresponding scene mode control parameter list according to the intelligent scene key identification and the monitoring time, wherein the control parameter list can trigger a scene corresponding to the intelligent scene key identification and the monitoring time. When the corresponding scene mode control parameter list is acquired, the corresponding scene trigger time range is matched according to the monitoring time, and thus, corresponding to the monitoring time, means that the scene trigger time range matched with the monitoring time is corresponded.
The intelligent scene panel is an important component of an intelligent home control system, intelligent home equipment is a main control object, and facilities related to home life are highly integrated by utilizing a comprehensive wiring technology, a network communication technology, a safety precaution technology, an automatic control technology and an audio and video technology. The intelligent scene panel is a central control system integrating a plurality of subsystems such as lighting, sound, curtains, temperature controllers and sensors, and can realize intelligent control management of residential space light, electric curtains, humiture, household appliances and the like in various intelligent control modes such as remote control, mobile phone remote control, touch interaction, voice interaction and the like, so that intelligent and comfortable high-quality life is provided for people.
The intelligent scene panel and the intelligent scene keys can be solid panels and keys on the wall surface, and can also be buttons in UI interfaces such as a central control screen, a tablet personal computer, a mobile phone and an intelligent remote controller.
The intelligent household equipment can be intelligent lighting equipment, an intelligent television, an intelligent curtain, an intelligent window, an intelligent lock, an intelligent refrigerator, an intelligent air purifier, an intelligent air conditioner and the like, and the embodiment of the application does not limit the intelligent window. The intelligent household equipment has an on state and an off state, and in addition, the intelligent household equipment also has corresponding parameter adjustment requirements according to respective functions, for example, the intelligent lighting equipment also has the adjustment and control of parameters such as brightness, color temperature and the like.
The scene mode control parameter list in the embodiments of the present disclosure may include: the on-state and off-state of the smart home devices and states (for example, brightness adjustment, color temperature, on-time and the like of the smart lighting devices) represented by some functional parameters corresponding to the smart home devices can be set uniformly by the parameter list when setting a scene.
One or more intelligent scene panels can be arranged in each area, for example, a room, each intelligent scene panel can include one or more intelligent scene keys, the intelligent scene keys are different from conventional scene keys, and the scenes corresponding to the intelligent scene keys are called when the scenes corresponding to the intelligent scene keys are pressed at different times, that is, when a user presses the intelligent scene key at a certain time, the timely scenes are called specifically. The user can preset the scene mode of each different intelligent scene key called at different time according to the life rhythm.
According to the embodiment of the invention, the smart home is extremely simple, and a user can call the scene mode corresponding to the key pressing time and the key identification of the smart scene through the key pressing of the smart scene at different times, so that the corresponding scene can be obtained, the scene controlled by one key can be changed according to the key pressing time, and the user experience is improved.
In an implementation manner, adjusting the current states of the plurality of smart home devices according to the scene mode control parameter list includes:
and simultaneously adjusting the current states of the plurality of intelligent household devices according to the scene mode control parameter list.
In another implementation manner, the adjusting time sequence list corresponding to the multiple smart home devices is further recorded in the scene mode control parameter list, and adjusting the current states of the multiple smart home devices according to the scene mode control parameter list includes:
and adjusting the current states of the plurality of pieces of intelligent household equipment according to the sequence of the time sequence adjusting list.
The above embodiment of the present invention provides two implementation manners for adjusting the current states of multiple smart home devices according to a scene mode control parameter list, where one implementation manner is to simultaneously issue command control, and the other implementation manner is to control the devices according to a time sequence order. The invention can meet the requirements of some equipment needing accurate control of the starting time or achieve better scene effect by controlling the equipment according to a time sequence.
In one implementation, the smart scene key identifier is a physical area address and/or an identification number of the smart scene key.
The physical area address of the intelligent scene key can be the actual area address of the intelligent scene key or the user-defined physical area address.
For example, when the physical area address of the intelligent scene key is in the entrance gateway, a user normally goes home at 7:00 night, the user clicks the intelligent scene key at the entrance gateway, the monitoring time is 7:00, the intelligent scene key is in the conventional home-returning triggering time range, the conventional home-returning scene mode control parameter list is retrieved, the state of the intelligent household equipment is correspondingly adjusted, and the light enters the conventional home-returning scene and is brighter.
For another example, when the user returns home at 11:00 night, the user clicks an intelligent scene key at the entrance, the monitoring time is 11:00, the user is in the night returning triggering time range, the night returning scene mode control parameter list is called, the state of the intelligent household equipment is correspondingly adjusted, the light enters the night returning scene, the light of the entrance corridor lamp public area is dim, the brightness of walking and article identification is met, and other rooms are not interfered.
For another example, when the physical area address of the intelligent scene key is a toilet, the user enters the toilet at 9:00 night, the intelligent scene key is clicked, the monitoring time is 9:00, the normal washing scene mode control parameter list is called and the state of the intelligent household equipment is correspondingly adjusted, the light enters a bright scene for the user to wash, the user enters the toilet at 12:00 night, the intelligent scene key is clicked, the monitoring time is 12:00, the night mode control parameter list is called and the state of the intelligent household equipment is correspondingly adjusted, and the light enters a night light mode, so that the user cannot be stimulated by bright light turning off.
In one implementation, the method further comprises:
receiving a first instruction for updating a scene mode control parameter list;
and updating the corresponding parameter of the state of the intelligent household equipment according to the first instruction.
The embodiment of the invention realizes the updating of the scene mode control parameter list corresponding to the monitoring time and the intelligent scene key, and further improves the user experience.
In one implementation, the method further comprises:
receiving a second instruction for updating the attribute of the intelligent scene key, wherein the attribute comprises a scene trigger time range corresponding to a scene mode control parameter list;
and updating the corresponding scene trigger time range according to the second instruction.
The scene mode control parameter list set in the embodiment of the invention is associated with the corresponding scene trigger time range, and the time range for triggering the scene corresponding to the scene mode control parameter list can be changed under the condition of not changing the scene mode control parameter list through updating the attribute. Therefore, the scene originally generated by clicking the button at a certain listening time can be changed to be generated by clicking at another listening time. The embodiment of the invention enables the user to conveniently change the scene triggering time according to the change of own habits, and greatly facilitates the user to edit the scene triggering time.
In one implementation, the method further comprises:
starting timing when the key message of the intelligent scene is monitored, and acquiring linkage intelligent scene key identification and monitoring time corresponding to the key message of the same intelligent scene when the key message of the same intelligent scene is monitored again before the timing time reaches a first preset time threshold value, so as to acquire a scene mode control parameter list corresponding to the linkage intelligent scene key identification and the monitoring time;
and triggering a linkage scene, specifically, controlling the current state of the corresponding intelligent household equipment according to a scene mode control parameter list corresponding to the linkage intelligent scene key identification and the monitoring time.
In the embodiment of the invention, the user can trigger the linkage scene corresponding to the key by pressing the same intelligent scene key again within a fixed time range, so that the operation of the linkage scene is simplified.
In one implementation, the method further comprises:
and starting timing when the key message of the same intelligent scene is monitored again, and canceling the step of triggering the linkage scene when the key message of the same intelligent scene is monitored again before the timing time reaches a second preset time threshold.
According to the embodiment of the invention, when the linkage scene is triggered by mistake, the user can cancel the pre-triggered linkage scene corresponding to the key by pressing the same intelligent scene key again within a fixed time range, so that the recovery operation of the linkage scene false triggering is simplified.
The execution main body of the method can be a cloud end, a local intelligent host, or a mixture of the cloud end and the local intelligent host, and the method can be executed under the condition of network disconnection.
The embodiment of the second aspect of the invention provides an intelligent scene control system.
Fig. 2 is a schematic structural diagram of a preferred embodiment of the intelligent scene control system according to the present invention, which is capable of implementing all the processes of the intelligent scene control method according to any of the above embodiments.
As shown in fig. 2, the system includes:
the monitoring module 1 is used for monitoring the intelligent scene key messages of the intelligent scene panel;
the first obtaining module 2 is configured to obtain an intelligent scene key identifier and monitoring time corresponding to the monitored intelligent scene key message when the intelligent scene key message is monitored, and obtain a corresponding scene mode control parameter list according to the intelligent scene key identifier and the monitoring time, where the scene mode control parameter list records parameters of states of multiple pieces of intelligent home equipment;
and the first control module 3 is configured to adjust current states of the plurality of smart home devices according to the scene mode control parameter list.
According to a manner that can be achieved by the embodiment of the second aspect of the present invention, the first control module simultaneously adjusts the current states of the plurality of smart home devices according to the scene mode control parameter list.
According to a manner that can be achieved by the embodiment of the second aspect of the present invention, the scene mode control parameter list further records an adjustment time sequence list corresponding to the plurality of smart home devices, and the first control module adjusts the current states of the plurality of smart home devices according to the adjustment time sequence list.
According to a manner that can be realized by the embodiment of the second aspect of the present invention, the smart scene key identifier is an address and/or an identification number of a physical area of the smart scene key.
According to an implementable manner of the embodiment of the second aspect of the present invention, the system further comprises:
the first receiving module is used for receiving a first instruction for updating the scene mode control parameter list;
and the first updating module is used for updating the corresponding parameter of the state of the intelligent household equipment according to the first instruction.
According to an implementable manner of the embodiment of the second aspect of the present invention, the system further comprises:
the second receiving module is used for receiving a second instruction for updating the intelligent scene key attribute, wherein the attribute comprises a scene trigger time range corresponding to a scene mode control parameter list;
and the second updating module is used for updating the corresponding scene triggering time range according to the second instruction.
According to an implementable manner of the embodiment of the second aspect of the present invention, the system further comprises:
the timing module is used for starting timing when the intelligent scene key message is monitored;
the second acquisition module is used for acquiring linkage intelligent scene key identification and monitoring time corresponding to the same intelligent scene key message when the monitoring module monitors the same intelligent scene key message again before the timing time reaches a first preset time threshold value, and further acquiring a scene mode control parameter list corresponding to the linkage intelligent scene key identification and the monitoring time;
and the second control module is used for triggering a linkage scene, and specifically, controlling the current state of the corresponding intelligent home equipment according to a scene mode control parameter list corresponding to the linkage intelligent scene key identification and the monitoring time.
According to a manner that can be implemented in the embodiment of the second aspect of the present invention, the timing module is further configured to start timing when the same smart scene key message is monitored again, and when the monitoring module monitors the same smart scene key message again before the timing time reaches a second predetermined time threshold, the second control module cancels the step of executing the trigger linkage scene.
The functions and implementation manners of the modules in the above embodiment of the system of the present invention are the same as those in the above embodiment of the intelligent scene control method, and specific analysis may refer to the above embodiment of the intelligent scene control method, and are not described herein again in order to avoid repetition.
The invention also provides an intelligent scene control device, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor executes the computer program to realize the intelligent scene control method according to any one of the embodiments.
The present invention also provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed, the method for controlling an intelligent scene according to any one of the above embodiments is implemented.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. The general purpose processor may be a microprocessor or the processor may be any conventional processor, etc., the processor is a control center of the intelligent scene control device and various interfaces and lines are used to connect various parts of the whole intelligent scene control device.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the intelligent scene control apparatus by running or executing the computer programs and/or modules stored in the memory and calling data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
Wherein, the module/unit integrated by the intelligent scene control device can be stored in a computer readable storage medium if being implemented in the form of software functional unit and sold or used as an independent product. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like.
The foregoing is a preferred embodiment of the present application, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations are also regarded as the protection scope of the present application.