CN114280953A - Scene mode creating method and device, electronic equipment and storage medium - Google Patents

Scene mode creating method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN114280953A
CN114280953A CN202111637565.7A CN202111637565A CN114280953A CN 114280953 A CN114280953 A CN 114280953A CN 202111637565 A CN202111637565 A CN 202111637565A CN 114280953 A CN114280953 A CN 114280953A
Authority
CN
China
Prior art keywords
scene mode
household
home
equipment
control sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111637565.7A
Other languages
Chinese (zh)
Inventor
叶龙
马涛
姜红梅
田涵朴
王文科
赵庆旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Super Wisdom Shanghai Internet Of Things Technology Co ltd
Henan Zilian Internet Of Things Technology Co ltd
Original Assignee
Super Wisdom Shanghai Internet Of Things Technology Co ltd
Henan Zilian Internet Of Things Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Super Wisdom Shanghai Internet Of Things Technology Co ltd, Henan Zilian Internet Of Things Technology Co ltd filed Critical Super Wisdom Shanghai Internet Of Things Technology Co ltd
Priority to CN202111637565.7A priority Critical patent/CN114280953A/en
Publication of CN114280953A publication Critical patent/CN114280953A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Telephonic Communication Services (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application provides a scene mode creating method and device, electronic equipment and a storage medium, and relates to the technical field of smart home. The scene mode creating method comprises the following steps: responding to a creation instruction aiming at a target scene mode input through a management interface, and sending a data acquisition request aiming at each household device in the target scene mode to a household server; each household device is adjusted to an expected state by a user in advance; receiving state parameters of each piece of home equipment returned by the home server according to the data acquisition request; according to the state parameters of the home devices, a target scene mode is generated, and the target scene mode is used for controlling the states of the home devices in the target scene mode through the home server according to the state parameters of the home devices, so that the target scene mode expected by a user can be rapidly configured, and the configuration efficiency of the scene mode is improved.

Description

Scene mode creating method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to a method and an apparatus for creating a scene mode, an electronic device, and a storage medium.
Background
The intelligent home is characterized in that a home is used as a platform, facilities related to home life are 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, an efficient management system of home facilities and family schedule affairs is constructed, home safety, convenience, comfortableness and artistry are improved, and an environment-friendly and energy-saving living environment is realized.
When an existing intelligent home scene is created, a user generally needs to create a scene display effect desired by the user by adjusting control parameters of home devices for multiple times through a terminal.
It can be seen that the existing intelligent home scene is relatively simple to create, the ideal scene state of a user cannot be configured quickly, and the problem of low configuration efficiency exists.
Disclosure of Invention
An object of the present application is to provide a method and an apparatus for creating a scene mode, an electronic device, and a storage medium, which can improve efficiency of configuring a scene mode, in view of the above-mentioned deficiencies in the prior art.
In order to achieve the above purpose, the technical solutions adopted in the embodiments of the present application are as follows:
in a first aspect, the present invention provides a scene mode creating method, applied to a terminal in an intelligent home system, where the terminal is in communication connection with a home server in the intelligent home system, the home server is in communication connection with at least one home device, and the terminal displays a management interface of the home device, and the scene mode creating method includes:
responding to a creation instruction aiming at a target scene mode input through the management interface, and sending a data acquisition request aiming at each household device in the target scene mode to a household server; each household device is adjusted to an expected state by a user in advance;
receiving the state parameters of the household equipment returned by the household server according to the data acquisition request;
and generating the target scene mode according to the state parameters of the household equipment, wherein the target scene mode is used for controlling the state of the household equipment in the target scene mode through the household server according to the state parameters of the household equipment.
In an optional implementation manner, the generating the target scene mode according to the state parameter of each piece of home equipment includes:
sequencing the household equipment according to a preset arrangement rule to obtain a household equipment control sequence, wherein the household equipment control sequence is used for indicating the sequence control sequence of the household equipment;
acquiring a device action control sequence of each household device according to a preset device action arrangement rule, wherein the device action control sequence is used for indicating the sequence of the device action corresponding to each household device;
and generating the target scene mode according to the household equipment control sequence, the equipment action control sequence of each household equipment and the state parameters of each household equipment.
In an optional implementation manner, before generating the target scene mode according to the home device control order, the device action control order of each home device, and the state parameter of each home device, the method further includes:
respectively displaying the household equipment control sequence and the equipment action control sequence of each household equipment;
and responding to the adjustment operation aiming at the household equipment control sequence and/or the equipment action control sequence of each household equipment, and adjusting the object aimed at by the adjustment operation.
In an optional implementation manner, the generating the target scene mode according to the state parameter of each piece of home equipment includes:
and generating the target scene mode according to the preset scene identification of the target scene mode, or the scene identification input by the user and the state parameters of the household equipment.
In an alternative embodiment, the management interface comprises: the method for quickly creating the at least one room identifier and the scene mode includes the steps that a creation instruction for a target scene mode input through the management interface is responded, and a data acquisition request for each household device in the target scene mode is sent to a household server, and the steps include:
responding to a selection instruction of a target room identifier input through the management interface and a creation instruction aiming at a target scene mode, and acquiring equipment identifiers of home equipment in the target room;
and sending a data acquisition request corresponding to the target room to the home server according to the equipment identifier of each home equipment in the target room.
In an optional embodiment, before the sorting the home devices according to the preset arrangement rule to obtain the home device control sequence, the method further includes:
and filtering the household equipment which does not meet the preset requirement in the household equipment according to a preset filtering rule.
In an optional implementation manner, before generating the target scene mode according to the home device control sequence, the device action control sequence, and the state parameter of each home device, the method further includes:
and if the acquired state parameters of the target household equipment in the household equipment control sequence indicate that the target household equipment is in a closed state, determining that only closing action exists in the equipment action control sequence of the target household equipment.
In a second aspect, the present invention provides a scene mode creating device, which is applied to a terminal in an intelligent home system, where the terminal is in communication connection with a home server in the intelligent home system, the home server is in communication connection with at least one home device, and the terminal displays a management interface of the home device, and the scene mode creating device includes:
the sending module is used for responding to a creation instruction aiming at a target scene mode input through the management interface and sending a data acquisition request aiming at each household device in the target scene mode to a household server; each household device is adjusted to an expected state by a user in advance;
the receiving module is used for receiving the state parameters of the home equipment returned by the home server according to the data acquisition request;
and the generating module is used for generating the target scene mode according to the state parameters of the household equipment, and the target scene mode is used for controlling the state of the household equipment through the household server according to the state parameters of the household equipment.
In an optional embodiment, the generating module is specifically configured to sort the home devices according to a preset arrangement rule to obtain a home device control sequence, where the home device control sequence is used to indicate a sequence control sequence of the home devices;
acquiring a device action control sequence of each household device according to a preset device action arrangement rule, wherein the device action control sequence is used for indicating the sequence of the device action corresponding to each household device;
and generating the target scene mode according to the household equipment control sequence, the equipment action control sequence of each household equipment and the state parameters of each household equipment.
In an optional embodiment, the generating module is further configured to display the home device control order and a device action control order of each home device, respectively;
and responding to the adjustment operation aiming at the household equipment control sequence and/or the equipment action control sequence of each household equipment, and adjusting the object aimed at by the adjustment operation.
In an optional embodiment, the generating module is specifically configured to generate the target scene mode according to a preset scene identifier of the target scene mode, or a scene identifier input by a user, and a state parameter of each piece of home equipment.
In an alternative embodiment, the management interface comprises: the sending module is specifically used for responding to a selection instruction of a target room identifier input through the management interface and a creation instruction aiming at the target scene mode, and acquiring equipment identifiers of home equipment in the target room;
and sending a data acquisition request corresponding to the target room to the home server according to the equipment identifier of each home equipment in the target room.
In an optional embodiment, the generating module is further configured to filter, according to a preset filtering rule, home devices that do not meet a preset requirement in the home devices.
In an optional embodiment, the generating module is further configured to determine that only a closing action exists in the device action control sequence of the target home device if the acquired state parameter of the target home device in the home device control sequence indicates that the target home device is in a closed state.
In a third aspect, the present invention provides an electronic device comprising: the scene mode creating method comprises a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, when an electronic device runs, the processor is communicated with the storage medium through the bus, and the processor executes the machine-readable instructions to execute the steps of the scene mode creating method according to any one of the preceding embodiments.
In a fourth aspect, the present invention provides a computer-readable storage medium, having a computer program stored thereon, where the computer program is executed by a processor to perform the steps of the scene mode creating method according to any one of the preceding embodiments.
The beneficial effect of this application is:
the method, the device, the electronic device and the storage medium for creating the scene mode provided by the embodiment of the application can be applied to a terminal in an intelligent home system, the terminal is in communication connection with a home server in the intelligent home system, the home server is in communication connection with at least one home device, the terminal displays a management interface of the home device, and the method for creating the scene mode comprises the following steps: responding to a creation instruction aiming at a target scene mode input through a management interface, and sending a data acquisition request aiming at each household device in the target scene mode to a household server; each household device is adjusted to an expected state by a user in advance; receiving state parameters of each piece of home equipment returned by the home server according to the data acquisition request; according to the state parameters of the home devices, a target scene mode is generated, and the target scene mode is used for controlling the states of the home devices in the target scene mode through the home server according to the state parameters of the home devices, so that the target scene mode expected by a user can be rapidly configured, and the configuration efficiency of the scene mode is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a schematic flowchart of a scene mode creating method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another scene mode creating method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another scene mode creating method according to an embodiment of the present application;
fig. 4 is a schematic flowchart of another scene mode creating method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another scene mode creating method according to an embodiment of the present application;
fig. 6 is a schematic flowchart of another scene mode creating method according to an embodiment of the present application;
fig. 7 is a schematic functional module diagram of a scene mode creating device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, 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 some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. 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.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
Fig. 1 is a flowchart of a scene mode creating method according to an embodiment of the present application, where the scene mode creating method may be applied to a terminal in an intelligent home system, the terminal may be in communication connection with a home server in the intelligent home system, the home server is in communication connection with at least one home device, and a management interface of the home device is displayed on the terminal. Alternatively, the terminal may be a mobile phone, a tablet computer, a wearable device, and the like, which is not limited herein. As shown in fig. 1, the scene mode creation method may include:
s101, responding to a creation instruction aiming at a target scene mode input through a management interface, and sending a data acquisition request aiming at each household device in the target scene mode to a household server.
And each household device is adjusted to a desired state by a user in advance. Optionally, the household device may include, but is not limited to: lamps and lanterns, socket, (window) curtain, air conditioner, ware, projecting apparatus, water heater, air purifier, security protection class equipment of windowing.
Optionally, the management interface of the home devices may include a scene creation control, the user may act on the scene creation control by clicking, long-pressing, sliding, dragging, and the like based on the touch display screen to generate a creation instruction for the target scene mode, and in response to the creation instruction, the terminal may send a data acquisition request to the home server to request to acquire the state parameters of each home device in the target scene mode.
And S102, receiving the state parameters of the home equipment returned by the home server according to the data acquisition request.
For the home server, after receiving the data acquisition request sent by the terminal, the home server may acquire the state parameters from each home device, and return the acquired state parameters of each home device to the terminal.
And S103, generating a target scene mode according to the state parameters of the household equipment.
The target scene mode is used for controlling the state of each household device in the target scene mode through the household server according to the state parameters of each household device.
After the terminal acquires the state parameters of the home devices, a target scene mode can be generated accordingly, and it can be understood that the state parameters of the home devices in the target scene mode, that is, the state parameters of the user adjusted to the desired state in advance. Optionally, the generated target scene mode may be displayed on a management interface of the home device in a manner of a target scene control, further, the user may act on the target scene control through touch operations such as clicking, long-time pressing, sliding, dragging and the like based on the touch screen, and in response to the touch operations, the terminal may control each home device to adjust to a state corresponding to the target scene mode, that is, an expected state, through the home server. Compared with the mode that the user needs to adjust to the expected scene mode through the terminal for multiple times in the prior art, the method and the device for configuring the target scene mode can configure the target scene mode expected by the user quickly, are high in configuration efficiency, and can achieve 'what you see is what you get'.
To sum up, an embodiment of the present application provides a scene mode creating method, which may be applied to a terminal in an intelligent home system, where the terminal is in communication connection with a home server in the intelligent home system, the home server is in communication connection with at least one home device, and the terminal displays a management interface of the home device, and the scene mode creating method includes: responding to a creation instruction aiming at a target scene mode input through a management interface, and sending a data acquisition request aiming at each household device in the target scene mode to a household server; each household device is adjusted to an expected state by a user in advance; receiving state parameters of each piece of home equipment returned by the home server according to the data acquisition request; according to the state parameters of the home devices, a target scene mode is generated, and the target scene mode is used for controlling the states of the home devices in the target scene mode through the home server according to the state parameters of the home devices, so that the target scene mode expected by a user can be rapidly configured, and the configuration efficiency of the scene mode is improved.
Fig. 2 is a schematic flowchart of another scene mode creating method according to an embodiment of the present application. Optionally, as shown in fig. 2, the generating a target scene mode according to the state parameter of each household device includes:
s201, sequencing the household equipment according to a preset arrangement rule to obtain a household equipment control sequence.
The household equipment control sequence is used for indicating the sequence control sequence of each household equipment.
It can be understood that the smart home system may include a plurality of home devices, a plurality of device types of home devices may exist in the plurality of home devices, and each device type of home device may include a plurality of home devices. Optionally, when the household devices are sorted, the household devices may be sorted according to a preset sorting rule. Wherein, the preset arrangement rule may include: the first preset arrangement rule may be an arrangement rule of home devices of different device types, which may be set according to a user habit, or may be a default arrangement rule, which is not limited herein, and the second preset arrangement rule may be an arrangement rule corresponding to each home device of the same device type, and optionally, may be sorted according to an identifier of each home device, which is not limited herein.
S202, acquiring a device action control sequence of each household device according to a preset device action arrangement rule.
The equipment action control sequence is used for indicating the sequence of the equipment actions corresponding to the household equipment. Optionally, the preset device action arrangement rule may include an arrangement order of device actions corresponding to each home device, where each home device may correspond to one or more device actions. For each piece of home equipment, it can be understood that, when the home server controls each piece of home equipment to adjust to the state parameter corresponding to the target scene mode, multiple times of control may be required, for example, the home equipment is used as a lamp for description, and optionally, the equipment action control sequence corresponding to the lamp may sequentially include: opening, adjusting brightness, adjusting color temperature and adjusting color. Therefore, for each household device, it is necessary to obtain a device action control sequence of each household device according to a preset device action arrangement rule, so that the device action control sequence can embody a sequence of device actions corresponding to each household device.
And S203, generating a target scene mode according to the household equipment control sequence, the equipment action control sequence of each household equipment and the state parameters of each household equipment.
Based on the above description, it can be understood that the control sequence of each household device in the target scene mode can be determined according to the control sequence of the household devices; according to the equipment action control sequence, the control sequence of the equipment action of each household equipment in the target scene mode can be determined; according to the state parameters of the home devices, specific control parameters of device actions of the home devices in the target scene mode can be determined, so that at this time, according to the home device control sequence, the device action control sequence and the state parameters of the home devices, scene mode parameters corresponding to the target scene mode can be determined, and the target scene mode is generated.
Further explained based on the above examples, according to the brightness parameter of the lamp in the target scene mode, the specific control parameter of the brightness control action of the lamp in the target scene mode can be determined; according to the color temperature parameter of the lamp in the target scene mode, the specific control parameter of the color temperature control action of the lamp in the target scene mode can be determined; according to the color parameters of the lamp in the target scene mode, specific control parameters of the color control action of the lamp in the target scene mode can be determined. For specific control parameters of device actions of other types of home devices, reference may be made to this part of the content, and details are not described here.
Fig. 3 is a schematic flowchart of another scene mode creating method according to an embodiment of the present application. Optionally, as shown in fig. 3, before generating the target scene mode according to the home device control sequence, the device action control sequence of each home device, and the state parameter of each home device, the method further includes:
and S301, respectively displaying the household equipment control sequence and the equipment action control sequence of each household equipment.
S302, responding to the adjustment operation aiming at the household equipment control sequence and/or the equipment action control sequence of each household equipment, and adjusting the object aimed at by the adjustment operation.
Optionally, based on the above steps S201 and S202, the terminal may respectively display an automatically generated home device control sequence and a device action control sequence of each home device in a management interface of the home device, optionally, the user may act on the home device control sequence through touch operations such as clicking, long pressing, sliding, dragging and the like based on the touch screen, and/or the device action control sequence of each home device is used to generate an adjustment operation, and in response to the adjustment operation, an object targeted by the adjustment operation may be adjusted, so that the home device control sequence may be flexibly adjusted according to the control requirements of different users, and/or the device action control sequence of each home device is used to improve the applicability of the present application.
Optionally, the object for which the adjustment operation is directed may include: controlling a sequence of the household equipment; or, the method may include a device action control sequence of each household device; further alternatively, the control sequence of the home devices and the control sequence of the device actions of the home devices may be included, which is not limited herein.
Optionally, the generating a target scene mode according to the state parameter of each piece of home equipment includes:
and generating the target scene mode according to the preset scene identification of the target scene mode, or the scene identification input by the user and the state parameters of the household equipment.
In some embodiments, the management interface of the home device may include a plurality of selectable scene identifiers, and optionally, the user may select any scene identifier from the plurality of selectable scene identifiers as a preset scene identifier of the target scene mode through a touch operation such as clicking, long-pressing, sliding, and dragging on the touch screen, and then the target scene mode may be generated according to the preset scene identifier and the state parameters of each home device.
Certainly, in some embodiments, the management interface of the home devices may further include a scene identifier editing interface, where a user may input a scene identifier through the scene identifier editing interface, and a target scene mode may also be generated according to the scene identifier input by the user and the state parameter of each home device.
Optionally, the scene identification input by the user may include, but is not limited to: characters, icons, pictures, etc., without limitation. By applying the method and the device, the scene identification of the target scene mode can be flexibly edited by the user, and the applicability of the method and the device can be improved.
Optionally, after the target scene mode is generated, the scene identifier corresponding to the target scene mode may be displayed in a management interface of the home equipment, so that a user may quickly switch to the target scene mode through the scene identifier corresponding to the target scene mode.
Fig. 4 is a flowchart illustrating another scene mode creating method according to an embodiment of the present application. Alternatively, as shown in fig. 4, the management interface may include: the step of sending a data acquisition request for each home device in the target scene mode to the home server in response to a creation instruction for the target scene mode input through the management interface includes:
s401, responding to a selection instruction of the target room identification input through the management interface and a creation instruction aiming at the target scene mode, and acquiring the equipment identification of each household equipment in the target room.
The method comprises the steps that a selection instruction of a target room identifier can be generated by acting on one or more room identifiers displayed on a management interface through a touch mode such as clicking, long-time pressing and sliding on a touch screen, and in response to the selection instruction, the room identifier corresponding to the selection instruction can be determined to be the target room identifier; after the target room identifier is determined, the shortcut creation control of the scene mode can be acted by clicking, long-pressing, sliding and other touch modes based on the touch screen to generate a creation instruction for the target scene mode, and in response to the creation instruction, the device identifier of each household device in the target room corresponding to the target room identifier can be obtained.
S402, sending a data acquisition request corresponding to the target room to the home server according to the equipment identification of each home equipment in the target room.
When the device identifier of each household device in the target room is obtained, at this time, a data obtaining request corresponding to the target room may be sent to the household server, where the data obtaining request may include the device identifier of each household device in the target room, so that the target scene mode may be flexibly created by using the target room as a minimum control unit, and the applicability of the application is improved.
Fig. 5 is a flowchart illustrating a further scene mode creating method according to an embodiment of the present application. Optionally, as shown in fig. 5, before the sorting the home devices according to the preset arrangement rule to obtain the home device control sequence, the method further includes:
s501, according to a preset filtering rule, filtering home equipment which does not meet the preset requirement in the home equipment.
In some embodiments, it is considered that a part of home devices which are not supported by the intelligent control function may be included in the intelligent home system, for example, the alarm device may not be controlled by the home server to alarm, and may only trigger the alarm through the external environment, in this case, in order to avoid some invalid scene configurations, the configuration process is simplified, and the configuration efficiency is improved, the home devices which do not meet the preset requirement in the home devices may be filtered according to the preset filtering rule, so that the configuration efficiency may be improved when the target scene mode is generated based on the filtered home devices.
Fig. 6 is a flowchart illustrating another scene mode creating method according to an embodiment of the present application. Optionally, as shown in fig. 6, before generating the target scene mode according to the home device control sequence, the device action control sequence, and the state parameters of the home devices, the method further includes:
s601, if the acquired state parameters of the target household equipment in the household equipment control sequence indicate that the target household equipment is in a closed state, determining that only closing action exists in the equipment action control sequence of the target household equipment.
In some embodiments, considering that the home device in the closed state may be included in the home device control sequence, in this case, in order to avoid including some invalid device actions in the device action control sequence of the home device, it may be set that only the closing action exists in the device action control sequence of the home device. Whether the household equipment is started in the household equipment control sequence is determined through the state parameters of the household equipment.
In addition, it can be understood that, if the state parameter of the home device indicates that the home device is in the on state, the state parameter may specifically indicate a specific control parameter of a device action corresponding to the home device.
Fig. 7 is a schematic functional module diagram of a scene mode creating device according to an embodiment of the present application, where the scene mode creating device may be applied to a terminal in an intelligent home system, the terminal is in communication connection with a home server in the intelligent home system, the home server is in communication connection with at least one home device, and the terminal displays a management interface of the home device. As shown in fig. 7, the scene-mode creating apparatus 100 may include:
a sending module 110, configured to send, to a home server, a data acquisition request for each home device in a target scene mode in response to a creation instruction for the target scene mode input through the management interface; each household device is adjusted to an expected state by a user in advance;
a receiving module 120, configured to receive a status parameter of each piece of home equipment returned by the home server according to the data acquisition request;
a generating module 130, configured to generate the target scene mode according to the state parameter of each piece of home equipment, where the target scene mode is used to control the state of each piece of home equipment through the home server according to the state parameter of each piece of home equipment.
In an optional embodiment, the generating module 130 is specifically configured to sort the home devices according to a preset arrangement rule to obtain a home device control sequence, where the home device control sequence is used to indicate a sequence control sequence of the home devices;
acquiring a device action control sequence of each household device according to a preset device action arrangement rule, wherein the device action control sequence is used for indicating the sequence of the device action corresponding to each household device;
and generating the target scene mode according to the household equipment control sequence, the equipment action control sequence of each household equipment and the state parameters of each household equipment.
In an optional embodiment, the generating module 130 is further configured to display the home device control sequence and a device action control sequence of each home device respectively;
and responding to the adjustment operation aiming at the household equipment control sequence and/or the equipment action control sequence of each household equipment, and adjusting the object aimed at by the adjustment operation.
In an optional implementation manner, the generating module 130 is specifically configured to generate the target scene mode according to a preset scene identifier of the target scene mode, or a scene identifier input by a user, and a state parameter of each piece of home equipment.
In an alternative embodiment, the management interface comprises: the sending module 110 is specifically configured to respond to a selection instruction of a target room identifier input through the management interface and a creation instruction for the target scene mode, and acquire an equipment identifier of each piece of home equipment in the target room;
and sending a data acquisition request corresponding to the target room to the home server according to the equipment identifier of each home equipment in the target room.
In an optional embodiment, the generating module 130 is further configured to filter, according to a preset filtering rule, home devices that do not meet a preset requirement in the home devices.
In an optional embodiment, the generating module 130 is further configured to determine that only a closing action exists in the device action control sequence of the target home device if the acquired state parameter of the target home device in the home device control sequence indicates that the target home device is in a closed state.
The above-mentioned apparatus is used for executing the method provided by the foregoing embodiment, and the implementation principle and technical effect are similar, which are not described herein again.
These above modules may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs), etc. For another example, when one of the above modules is implemented in the form of a Processing element scheduler code, the Processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device may be integrated in a scene mode creating apparatus. As shown in fig. 8, the electronic device may include: a processor 210, a storage medium 220, and a bus 230, wherein the storage medium 220 stores machine-readable instructions executable by the processor 210, and when the electronic device is operated, the processor 210 communicates with the storage medium 220 via the bus 230, and the processor 210 executes the machine-readable instructions to perform the steps of the above-mentioned method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
Optionally, the present application further provides a storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program performs the steps of the above method embodiments. The specific implementation and technical effects are similar, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A scene mode creating method is applied to a terminal in an intelligent home system, the terminal is in communication connection with a home server in the intelligent home system, the home server is in communication connection with at least one home device, a management interface of the home device is displayed on the terminal, and the scene mode creating method comprises the following steps:
responding to a creation instruction aiming at a target scene mode input through the management interface, and sending a data acquisition request aiming at each household device in the target scene mode to a household server; each household device is adjusted to an expected state by a user in advance;
receiving the state parameters of the household equipment returned by the household server according to the data acquisition request;
and generating the target scene mode according to the state parameters of the household equipment, wherein the target scene mode is used for controlling the state of the household equipment in the target scene mode through the household server according to the state parameters of the household equipment.
2. The method according to claim 1, wherein the generating the target scene mode according to the state parameters of the home devices comprises:
sequencing the household equipment according to a preset arrangement rule to obtain a household equipment control sequence, wherein the household equipment control sequence is used for indicating the sequence control sequence of the household equipment;
acquiring a device action control sequence of each household device according to a preset device action arrangement rule, wherein the device action control sequence is used for indicating the sequence of the device action corresponding to each household device;
and generating the target scene mode according to the household equipment control sequence, the equipment action control sequence of each household equipment and the state parameters of each household equipment.
3. The method according to claim 2, wherein before generating the target scene mode according to the household device control sequence, the device action control sequence of each household device, and the state parameter of each household device, the method further comprises:
respectively displaying the household equipment control sequence and the equipment action control sequence of each household equipment;
and responding to the adjustment operation aiming at the household equipment control sequence and/or the equipment action control sequence of each household equipment, and adjusting the object aimed at by the adjustment operation.
4. The method according to claim 1, wherein the generating the target scene mode according to the state parameters of the home devices comprises:
and generating the target scene mode according to the preset scene identification of the target scene mode, or the scene identification input by the user and the state parameters of the household equipment.
5. The method of claim 1, wherein the management interface comprises: the method for quickly creating the at least one room identifier and the scene mode includes the steps that a creation instruction for a target scene mode input through the management interface is responded, and a data acquisition request for each household device in the target scene mode is sent to a household server, and the steps include:
responding to a selection instruction of a target room identifier input through the management interface and a creation instruction aiming at a target scene mode, and acquiring equipment identifiers of home equipment in the target room;
and sending a data acquisition request corresponding to the target room to the home server according to the equipment identifier of each home equipment in the target room.
6. The method according to claim 2, wherein before the step of sequencing the home devices according to a preset sequencing rule to obtain a home device control sequence, the method further comprises:
and filtering the household equipment which does not meet the preset requirement in the household equipment according to a preset filtering rule.
7. The method according to claim 2, wherein before generating the target scene mode according to the household device control sequence, the device action control sequence, and the state parameters of each household device, the method further comprises:
and if the acquired state parameters of the target household equipment in the household equipment control sequence indicate that the target household equipment is in a closed state, determining that only closing action exists in the equipment action control sequence of the target household equipment.
8. The utility model provides a scene mode establishes device which characterized in that is applied to the terminal in the intelligent home systems, the terminal with house server communication connection in the intelligent home systems, just house server and at least one house equipment communication connection, the terminal shows the management interface that has house equipment, scene mode establishes the device and includes:
the sending module is used for responding to a creation instruction aiming at a target scene mode input through the management interface and sending a data acquisition request aiming at each household device in the target scene mode to a household server; each household device is adjusted to an expected state by a user in advance;
the receiving module is used for receiving the state parameters of the home equipment returned by the home server according to the data acquisition request;
and the generating module is used for generating the target scene mode according to the state parameters of the household equipment, and the target scene mode is used for controlling the state of the household equipment through the household server according to the state parameters of the household equipment.
9. An electronic device, comprising: a processor, a storage medium and a bus, the storage medium storing machine-readable instructions executable by the processor, the processor and the storage medium communicating via the bus when the electronic device is running, the processor executing the machine-readable instructions to perform the steps of the scene mode creation method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having stored thereon a computer program for performing, when being executed by a processor, the steps of the scene-pattern creating method as set forth in any one of claims 1 to 7.
CN202111637565.7A 2021-12-29 2021-12-29 Scene mode creating method and device, electronic equipment and storage medium Pending CN114280953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111637565.7A CN114280953A (en) 2021-12-29 2021-12-29 Scene mode creating method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111637565.7A CN114280953A (en) 2021-12-29 2021-12-29 Scene mode creating method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114280953A true CN114280953A (en) 2022-04-05

Family

ID=80878082

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111637565.7A Pending CN114280953A (en) 2021-12-29 2021-12-29 Scene mode creating method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114280953A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114740748A (en) * 2022-04-29 2022-07-12 青岛海尔科技有限公司 Smart home scene creation method and device, storage medium and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105577495A (en) * 2016-01-04 2016-05-11 青岛海信电器股份有限公司 Control method and device of smart home devices
WO2017107521A1 (en) * 2015-12-23 2017-06-29 乐视控股(北京)有限公司 Method and apparatus for controlling smart home devices
CN107705171A (en) * 2017-08-31 2018-02-16 北京小米移动软件有限公司 Method for information display, device and terminal
CN108449241A (en) * 2018-02-09 2018-08-24 深圳绿米联创科技有限公司 Configuration method and device, the terminal of Intelligent household scene
CN111143061A (en) * 2019-12-18 2020-05-12 海尔优家智能科技(北京)有限公司 Multi-device linkage control method and device and storage medium
CN111650840A (en) * 2019-03-04 2020-09-11 华为技术有限公司 Intelligent household scene arranging method and terminal
CN113568717A (en) * 2020-04-28 2021-10-29 北京金山云网络技术有限公司 Equipment control method, device, server and medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107521A1 (en) * 2015-12-23 2017-06-29 乐视控股(北京)有限公司 Method and apparatus for controlling smart home devices
CN105577495A (en) * 2016-01-04 2016-05-11 青岛海信电器股份有限公司 Control method and device of smart home devices
CN107705171A (en) * 2017-08-31 2018-02-16 北京小米移动软件有限公司 Method for information display, device and terminal
CN108449241A (en) * 2018-02-09 2018-08-24 深圳绿米联创科技有限公司 Configuration method and device, the terminal of Intelligent household scene
CN111650840A (en) * 2019-03-04 2020-09-11 华为技术有限公司 Intelligent household scene arranging method and terminal
CN111143061A (en) * 2019-12-18 2020-05-12 海尔优家智能科技(北京)有限公司 Multi-device linkage control method and device and storage medium
CN113568717A (en) * 2020-04-28 2021-10-29 北京金山云网络技术有限公司 Equipment control method, device, server and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114740748A (en) * 2022-04-29 2022-07-12 青岛海尔科技有限公司 Smart home scene creation method and device, storage medium and electronic device

Similar Documents

Publication Publication Date Title
US11782590B2 (en) Scene-operation method, electronic device, and non-transitory computer readable medium
EP3016318B1 (en) Method and apparatus for customizing scene mode of intelligent device
US9652976B2 (en) Mobile user interface for event notifications arising from smart-home hazard detection devices
EP3016083A1 (en) Scenario mode recommending method and apparatus for smart device
CN111897462B (en) Intelligent display control method and device in intelligent household APP
CN107948231B (en) Scene-based service providing method, system and operating system
CN105892418A (en) Smart home device control method and device
CN105577492A (en) Smart home device state pushing method and device
CN107870571B (en) Method and device for controlling intelligent equipment and intelligent equipment
CN104182232A (en) Method for establishing context-aware applications and user terminal
CN107634887B (en) Message processing method and device and intelligent control system
CN109240098B (en) Equipment configuration method and device, terminal equipment and storage medium
WO2014185174A1 (en) Energy management controller, energy management system, energy management method, and program
CN111399459A (en) Intelligent household equipment control method, device, equipment and storage medium
CN114374602A (en) Master control equipment configuration method and device, cloud server and storage medium
CN115167164A (en) Method and device for determining equipment scene, storage medium and electronic device
CN109218085B (en) Equipment automation and scene configuration management method and device and mobile terminal
CN114280953A (en) Scene mode creating method and device, electronic equipment and storage medium
CN110794773A (en) Click-type scene creating method and device
CN114415530A (en) Control method, control device, electronic equipment and storage medium
CN105208085B (en) A kind of authority configuring method and device of the smart machine based on instant messaging
CN114826805A (en) Computer readable storage medium, mobile terminal and intelligent home control method
KR20160052032A (en) Control map providing method and apparatus
WO2013083656A2 (en) Systems and methods for configuring and using automated systems in buildings
CN114114936A (en) Grouping method and grouping device for intelligent lamps, intelligent equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination