CN109240098B - Equipment configuration method and device, terminal equipment and storage medium - Google Patents

Equipment configuration method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN109240098B
CN109240098B CN201811051381.0A CN201811051381A CN109240098B CN 109240098 B CN109240098 B CN 109240098B CN 201811051381 A CN201811051381 A CN 201811051381A CN 109240098 B CN109240098 B CN 109240098B
Authority
CN
China
Prior art keywords
trigger event
equipment
attribute
device configuration
icon
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.)
Active
Application number
CN201811051381.0A
Other languages
Chinese (zh)
Other versions
CN109240098A (en
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.)
Lumi United Technology Co Ltd
Original Assignee
Lumi United 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 Lumi United Technology Co Ltd filed Critical Lumi United Technology Co Ltd
Priority to CN201811051381.0A priority Critical patent/CN109240098B/en
Publication of CN109240098A publication Critical patent/CN109240098A/en
Application granted granted Critical
Publication of CN109240098B publication Critical patent/CN109240098B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house
    • 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]

Abstract

The embodiment of the application provides a device configuration method, a device, a terminal device and a storage medium. The method comprises the following steps: acquiring a trigger event acting on an equipment icon; acquiring the equipment attribute corresponding to the equipment icon according to the trigger event; and according to the equipment attribute, determining whether the equipment attribute meets the trigger event or not, if so, executing the trigger event, and if not, not executing the trigger event. According to the method, automation or scene setting can be realized by dragging the equipment to the corresponding area, the interaction process of configuration automation and scenes is simplified, the operation is simpler and more convenient, and the user experience is improved.

Description

Equipment configuration method and device, terminal equipment and storage medium
Technical Field
The present application relates to the field of smart home technologies, and in particular, to a device configuration method and apparatus, a terminal device, and a storage medium.
Background
In an existing intelligent home system, automation or scene configuration of intelligent equipment is often required. The existing configuration is often performed through a mobile phone APP (APP), which is suitable for general customer families. Generally, 10-30 intelligent devices are arranged in each room in hotel industry application, automation and scenes need to be configured for each intelligent device, the automation and scenes are complex to configure at the APP end, when the APP configures the automation and scenes for each room, a plurality of interactive pages need to be skipped, and particularly when full-on full-off automation or scenes are configured, the labor and the time are wasted.
Disclosure of Invention
In view of this, embodiments of the present application provide a device configuration method, an apparatus, a terminal device, and a storage medium to achieve improvement of the above problem.
In a first aspect, an embodiment of the present application provides an apparatus configuration method, where the method includes: acquiring a trigger event acting on an equipment icon; acquiring the equipment attribute corresponding to the equipment icon according to the trigger event; and according to the equipment attribute, determining whether the equipment attribute meets the trigger event or not, if so, executing the trigger event, and if not, not executing the trigger event.
In a second aspect, an embodiment of the present application provides an apparatus for configuring a device, where the apparatus includes: the event acquisition module is used for acquiring a trigger event acting on the equipment icon; the equipment information acquisition module is used for acquiring the equipment attribute corresponding to the equipment icon according to the trigger event; and the event processing module is used for confirming whether the equipment attribute meets the trigger event or not according to the equipment attribute, executing the trigger event if the equipment attribute meets the trigger event, and not executing the trigger event if the equipment attribute does not meet the trigger event.
In a third aspect, an embodiment of the present application provides a terminal device, including a memory and a processor, where the memory is coupled to the processor, and the memory stores instructions, and when the instructions are executed by the processor, the processor performs the device configuration method proposed in the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having program code executable by a processor, where the program code causes the processor to execute the device configuration method of the first aspect.
Compared with the prior art, the device configuration method, the device, the terminal device and the storage medium provided by the embodiments of the application obtain the trigger event acting on the device icon; acquiring the equipment attribute corresponding to the equipment icon according to the trigger event; and according to the equipment attribute, determining whether the equipment attribute meets the trigger event or not, if so, executing the trigger event, and if not, not executing the trigger event. Therefore, automation or scene setting can be realized, the interaction process of configuration automation and scenes is simplified, the operation is simpler and more convenient, and the user experience is improved.
In order to make the aforementioned and other objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic diagram illustrating an application environment according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating a method of device configuration according to an embodiment of the present application;
fig. 3 is a diagram illustrating a specific example of a device configuration method according to an embodiment of the present application;
fig. 4 is a diagram illustrating another specific example of a device configuration method proposed in an embodiment of the present application;
fig. 5 is a block diagram showing a configuration of a device configuration apparatus according to an embodiment of the present application;
fig. 6 shows a block diagram of a terminal device according to an embodiment of the present application;
fig. 7 illustrates a storage medium storing or carrying program code for implementing a device configuration method according to an embodiment of the present application.
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.
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. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
The digital home system is a system which organically combines various subsystems related to home life by utilizing advanced computer technology, network communication technology, comprehensive wiring technology and wireless technology on the basis of automation and intellectualization of home products, and enables the home life to be more comfortable, safe and effective through overall management. A digital home system generally has a scene setting device that is easy to operate, and a plurality of scene modes, such as a leaving scene, a living scene, a dining scene, etc., are pre-installed in the scene setting device, and the terminal devices, such as lights, curtains, background music, and players, in the digital home system are in different predetermined operating states corresponding to each scene mode. For example: when the morning scene is started according to the preset time in the morning, the curtain in the bedroom is completely and automatically lifted, and simultaneously the background music is enjoyed; when people leave home and set as a scene of leaving home, the air conditioner, the floor heating, the light, the curtain, the household appliance and other equipment are closed, and the tail end equipment such as the gas detector, the smoke detector and the like are simultaneously opened.
In the existing intelligent home system, automation and scenes of intelligent home equipment are required to be configured, the existing configuration is realized through a mobile phone APP, for example, in the hotel industry, 10-30 intelligent equipment are generally arranged in each room, 3000-9000 intelligent equipment in a 300-room hotel is required to be set with automation and scenes, when the automation and scenes are configured for each intelligent equipment through the mobile phone APP, multiple interaction pages need to be skipped, and the configuration method is complex, labor-consuming and time-consuming.
Therefore, the inventor finds technical problems that multiple interactive pages need to be skipped when configuring automation and scenes for an intelligent device, and the configuration method is complex and brings inconvenience to a user, and provides a device configuration method, an apparatus, a terminal device and a storage medium in the embodiment of the application.
For the convenience of describing the scheme of the present application in detail, the following description will first describe an application environment in the embodiments of the present application with reference to the drawings.
As shown in fig. 1, a network system 10 according to an embodiment of the present application, the network system 10 includes: terminal device 11, gateway 12, cloud 13 and smart device 14. The terminal device 11 may be a smart phone, a desktop computer, a notebook computer, a tablet computer, or other communication devices with a network connection function, which is not limited herein, and a client capable of managing automation and scene configuration of the smart home device is stored in the terminal device 11, where the client may be an application client or a web client, which is not limited herein. The cloud 13 is a server, and may be a network access server, a database server, a cloud server, or the like. Optionally, the smart device 14 may be an entity smart device, such as a human body sensor, a door and window sensor, a temperature and humidity sensor, a water sensor, a natural gas alarm, a smoke alarm, a wall switch, a wall socket, a smart socket, a wireless switch, a wireless wall-mounted switch, a magic cube controller, a curtain motor, a multifunctional gateway, an air conditioner partner, a camera, or may be a virtual sensor device, such as a virtual human body sensor device, which is not limited herein.
In the embodiment of the present application, a network connection is established between the terminal device 11 and the cloud end 13, as an implementation manner, the network connection may be established between the terminal device 11 and the cloud end 13 through 2G/3G/4G/5G, WIFI, the smart device 14 accesses the gateway 12 through a local area network, and communicates with the gateway 12 through a communication module (such as a ZigBee module, a WI-FI module, a bluetooth communication module, etc.) configured by the smart device, where the local area network may include: ZigBee (ZigBee Technology ) Technology infrared Technology, NFC, bluetooth, or the like. Wireless communication connection can be performed between the gateway 12 and the cloud 13 through WIFI and the like, so that data issued by the cloud 13 can be acquired, automation and scenes of each type of intelligent device 14 can be configured through the terminal device 11, and the intelligent device 14 is controlled by the terminal device 11.
As an implementation manner, when a user configures automation and a scene of the smart device 14 through a client stored in the terminal device 11, the user sends a corresponding operation request to the cloud 13, the cloud 13 returns information data corresponding to the operation request to the terminal device 11, and the terminal device 11 configures the automation and the scene of the device according to the information data.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 2, a flowchart of an apparatus configuration method according to an embodiment of the present application is shown, where the present embodiment provides an apparatus configuration method, and the method includes:
step S110, a trigger event acting on the device icon is acquired.
In the embodiment of the present application, the trigger event may be an automated execution condition of the add device, an automated execution action of the add device, and/or an execution action of a scenario configuration of the add device.
In order to facilitate the setting by the user, the device configuration interface may include a device list and at least one device configuration container, that is, the device list and the at least one device configuration container are in the same interface, where different device configuration containers correspond to different type identifiers, and the type identifiers may be used to characterize corresponding trigger events. As an implementation manner, the device configuration interface includes a device configuration container capable of setting an execution condition and a device configuration container capable of setting an execution action, where the device configuration container is a DIV (Division, DIV) container, and the device configuration container (e.g., dom1) for executing the condition and the device configuration container (e.g., dom2) for executing the action may be distinguished in a manner of adding a dom identifier.
As one mode, the acquiring a trigger event acting on the device icon may specifically include: in response to a trigger operation applied to a device icon in the device list, the trigger operation may include a mouse drag or a touch drag gesture, or may be another trigger manner, which is not limited herein. Optionally, the trigger operation may be used to move the device icon into the device configuration container, and a trigger event of the device corresponding to the device icon may be acquired according to the end position of the trigger operation.
As one mode, the obtaining, according to the end position of the trigger operation, a trigger event of the device corresponding to the device icon may be specifically configured to: acquiring an end position of the trigger operation, taking a device configuration container where the end position is located as a target configuration container, determining a type identifier corresponding to the target configuration container, and then determining a trigger event of the device corresponding to the current device icon according to the trigger event corresponding to the type identifier.
Step S120: and acquiring the equipment attribute corresponding to the equipment icon according to the trigger event.
Each device icon may represent a device type; each device type includes at least one device attribute, and the at least one device attribute forms a device attribute list for the device. In one implementation, the device attributes are defined and formed according to device functions, and a wall switch is taken as an example for description: the moment of opening or closing the wall switch can be set as a condition, namely the wall switch has a condition attribute; setting the opening operation or the closing operation of the switch as action, namely the wall switch has action attribute; then the device attribute list of the wall switch includes both the condition attribute and the action attribute, and then the wall switch may be set to execute the condition device or may be set to execute the action device.
In another implementation, the cloud stores device attribute lists of different types of devices, after a trigger event acting on a device icon is acquired, a trigger operation acting on the device icon may be determined according to the acquired trigger event, optionally, a device type corresponding to the device icon may be determined according to an end position of the trigger operation, the device attribute list is searched according to the device type, whether a device attribute corresponding to the device icon exists in the device type is detected, if yes, the trigger operation may be completed, otherwise, the trigger operation cannot be completed.
As one manner, taking a lamp as an example, turning on or off of the lamp is set as an execution action, when a trigger event is determined as an automatic execution action of adding the lamp, it may be determined according to the trigger event that a trigger operation acting on the lamp may be to drag an icon of the lamp to a device configuration container of the automatic execution action, and during the dragging, if it is detected that the lamp is only used for setting the execution action of the scene and cannot be set as the automatic execution action, the icon of the lamp is dragged to the container of the automatic execution action, and the icon of the lamp does not have a device attribute set as the automatic execution action.
Step S130: and according to the equipment attribute, determining whether the equipment attribute meets the trigger event or not, if so, executing the trigger event, and if not, not executing the trigger event.
As one mode, a device attribute list corresponding to a device icon may be obtained according to a current trigger event, and according to the device attribute list, whether a device attribute meeting the current trigger event is included in the device attribute list may be searched, and if the device attribute meeting the current trigger event is included, the device attribute is considered to meet the current trigger event; if not, the device attribute is deemed not to satisfy the current trigger event.
As an embodiment, if the device attribute satisfies the current trigger event, executing the current trigger event, optionally, displaying the device icon in the device configuration container corresponding to the trigger event, and when a click operation on the device icon is detected, popping up an editing interface corresponding to the device icon, and editing or modifying the content of the trigger event through the editing interface. If the device type does not meet the current trigger event, the current trigger event is not executed, optionally, a prompt message is displayed in the device configuration container corresponding to the trigger event, and the device icon is not displayed in the device configuration container corresponding to the trigger event.
As a manner, in the embodiment of the present application, after the trigger event is processed, the processing result of the trigger event is stored and displayed.
The following takes fig. 3 and fig. 4 as an example to explain the present embodiment:
referring to fig. 3, an exemplary diagram of configuring automation in a device configuration method applicable to the embodiment of the present application is shown, and in an implementation manner, a new or edited automation interface may include a name of the automation, an allocation location, automation logic, a service scenario, a location of the automation device, a type of the automation device, a container of an execution condition, and a container of an execution action. If the devices that can be used to set the execution condition and the devices that can be used to set the execution action are located in different device configuration interfaces, when the user wants to set the execution condition and the execution action of an automation, the user also needs to repeatedly switch pages, which results in a cumbersome interaction process, so in order to improve the above problem, all device types are set on the same page in the embodiment of the present application, for example, all types of devices are included in the drop-down list of the types of automation devices in fig. 3.
When an automatic page is opened or edited, any equipment in the type drop-down list of the automatic equipment is selected, and the automatic execution condition or execution action of the equipment can be set by dragging the equipment icon of the equipment to the container where the execution condition or execution action is located.
In an editing automation interface, two DIV containers for executing conditions and actions have dom marks, and can be used for distinguishing the container for executing the conditions or the container for executing the actions on a page. When a user wants to modify the automation of the equipment, the automation stored in the cloud is selected, new establishment or editing automation is clicked, and an automatic configuration event can be triggered by dragging one or more equipment icons in an equipment list of an automatic editing page to an execution condition or a container where an execution action is located.
Optionally, the dragging action includes pressing down the mouse, moving the mouse and releasing the mouse, and the terminal coordinate of the dragging action can be obtained by obtaining the terminal coordinate when the mouse is released, wherein the browser can automatically identify and determine the real-time position coordinate of the dragged mouse, and further obtain the device type with automatic configuration. When the dragging action is completed, the client browser automatically searches whether the device attributes in all the device attributes meeting the configuration automation event in the device attribute list include the device attributes, if so, the device attributes meet the configuration automation event, and icons of the device types are displayed in the automatic execution conditions and/or the automatic execution action area. If not, the device type does not satisfy the Automation configuration event, the Automation execution conditions and/or the area for the automation execution action pops up "this device unconditional options! "and/or" no action option for this device! "etc., and the automated execution conditions and/or the automated execution action area do not display an icon for the device. When the setting of the automatic execution condition and/or the execution action is completed, the automatic edition can be stored by clicking the save button.
Referring to fig. 4, an example diagram of configuring a scene in the device configuration method applicable to the embodiment of the present application is shown, optionally, the device scene configuration can be implemented only by selecting a container in which the scene device drags to the scene page to execute an action. Optionally, the interface for creating or editing the device scene includes a scene name, an allocation location, a scene picture, a service scene, a location of the scene, a type of the scene, and a container for performing an action.
When a user needs to modify a scene of a device, the scene stored in the cloud is selected, a new or edited scene is clicked, a configuration scene event can be triggered by dragging one or more device icons in a device list of a scene editing page to a container where an execution action is located, a specific implementation process can refer to the above-mentioned modification process for automation, and details are not repeated here. And after the setting of the execution action of the scene is finished, clicking the save button to store the scene edition.
As an implementation manner, the setting of automation and/or scenes can be realized by dragging the device icon in the device list to the execution condition of the automation and/or scene and/or the area where the execution action is located, so that the interaction of the device automation and/or scene setting interface is simplified, and the user operation is more convenient.
In the method for configuring a device according to this embodiment, a trigger event acting on a device icon is obtained; acquiring the equipment attribute corresponding to the equipment icon according to the trigger event; and determining whether the equipment attribute meets the trigger event or not according to the equipment attribute, if so, executing the trigger event, and if not, not executing the trigger event, so that automation or scene setting can be realized, the interactive process of configuration automation and scenes is simplified, the operation is simpler and more convenient, and the user experience is improved.
Referring to fig. 5, a block diagram of an apparatus configuration device according to an embodiment of the present disclosure is shown, where the embodiment provides an apparatus configuration device 200, where the apparatus 200 includes: an event acquisition module 210, a device information acquisition module 220, and an event processing module 230.
An event acquiring module 210, configured to acquire a trigger event acting on the device icon.
Optionally, the event obtaining module 210 is specifically configured to respond to a drag operation applied to a device icon in the device list, and obtain a trigger event of a device corresponding to the device icon according to a terminal position of the drag operation. The device icon and the device configuration container are in the same interface, the interface comprises a device list and the device configuration container, different device configuration containers correspond to different type identifiers, and the type identifiers are used for representing trigger events corresponding to the device configuration containers.
Optionally, obtaining, according to the end point position of the drag operation, a trigger event of the device corresponding to the device icon specifically includes: acquiring the end point position of the dragging operation, taking the equipment configuration container where the end point position is located as a target configuration container, confirming the type identifier corresponding to the target configuration container, and determining the trigger event of the equipment corresponding to the equipment icon according to the trigger event corresponding to the type identifier.
And an equipment information obtaining module 220, configured to obtain, according to the trigger event, an equipment attribute corresponding to the equipment icon.
Optionally, the device information obtaining module 220 is specifically configured to determine a device attribute according to the type identifier of the configuration container where the trigger event is located, and obtain the device attribute corresponding to the device icon.
An event processing module 230, configured to determine, according to the device attribute, whether the device attribute satisfies the trigger event, if yes, execute the trigger event, and if not, do not execute the trigger event.
Optionally, the event processing module 230 is specifically configured to find whether the device attribute is included in all device attributes that satisfy the trigger event in the device attribute list, if so, the device attribute satisfies the trigger event, execute the trigger event, and display the device in a device configuration container corresponding to the trigger event.
Optionally, the event processing module 230 is further configured to, if not, determine that the device attribute does not satisfy the trigger event, cancel the trigger event, display a prompt message in a device configuration container corresponding to the trigger event, and the device is not displayed in the device configuration container. The cloud end stores the device attribute list, and the device attribute list stores device attributes meeting all corresponding trigger event types.
Optionally, the event processing module 230 further stores and displays a processing result of the trigger event.
The device configuration apparatus provided in this embodiment obtains a trigger event acting on a device icon; acquiring the equipment attribute corresponding to the equipment icon according to the trigger event; and determining whether the equipment attribute meets the trigger event or not according to the equipment attribute, if so, executing the trigger event, and if not, not executing the trigger event, so that automation or scene setting can be realized, the interactive process of configuration automation and scenes is simplified, the operation is simpler and more convenient, and the user experience is improved.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, the coupling or direct coupling or communication connection between the modules shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or modules may be in an electrical, mechanical or other form.
In addition, functional modules in the embodiments of the present application may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
Referring to fig. 6, based on the device configuration method and apparatus, the embodiment of the present application further provides a mobile terminal 11 capable of executing the device configuration method. The mobile terminal 11 may be a smart phone, a tablet computer, an e-book, etc. capable of running programs, and the mobile terminal 11 includes a memory 111 and one or more processors 113 (only one is shown) coupled to each other.
The memory 111 may be used to store software programs and modules, such as program instructions/modules corresponding to the device configuration method and apparatus in the embodiments of the present application, and the processor 113 executes various functional applications and data processing, such as the device configuration method provided in the embodiments of the present application, by executing the software programs and modules stored in the memory 111.
The memory 111 may include high speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. It will be appreciated that the configuration shown in fig. 6 is merely illustrative, and that mobile terminal 11 may include more or fewer components than shown in fig. 6, or may have a different configuration than shown in fig. 6. The components shown in fig. 6 may be implemented in hardware, software, or a combination thereof.
Referring to fig. 7, a block diagram of a computer-readable storage medium according to an embodiment of the present application is shown. The computer-readable medium 300 has stored therein a program code that can be called by a processor to execute the method described in the above-described method embodiments.
The computer-readable storage medium 300 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium 300 includes a non-transitory computer-readable storage medium. The computer readable storage medium 300 has storage space for program code 310 for performing any of the method steps of the method described above. The program code can be read from or written to one or more computer program products. The program code 310 may be compressed, for example, in a suitable form.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. A method for device configuration, the method comprising:
responding to a trigger operation of a device icon in a device list acting on a device configuration interface, wherein the device configuration interface comprises at least one device configuration container, and the trigger operation is used for moving the device icon to the device configuration container; the device configuration container comprises an automation device configuration container and/or a scene device configuration container; the automation device configuration container comprises a device configuration container for setting an automated execution action and a device configuration container for setting an automated execution condition; the scene device configuration container comprises a device configuration container for setting execution actions of a scene;
acquiring a trigger event of the equipment corresponding to the equipment icon according to the end position of the trigger operation; the trigger event comprises an automatic execution condition of the adding device, or an automatic execution action of the adding device, or an execution action of a scene configuration of the adding device;
acquiring an equipment attribute list corresponding to the equipment icon according to the trigger event; the device attribute list comprises at least one device attribute; the device attributes include a condition attribute set as an execution condition for automation, a motion attribute set as an execution motion for automation, and a motion attribute set as an execution motion for a scene;
according to the equipment attribute, determining whether the equipment attribute meets the trigger event or not, if so, executing the trigger event, and if not, not executing the trigger event;
if the device attribute list comprises the device attribute matched with the trigger event, determining that the device attribute meets the trigger event; and if the equipment attribute list does not comprise the equipment attribute matched with the trigger event, determining that the equipment attribute does not meet the trigger event.
2. The method of claim 1, wherein different device configuration containers correspond to different type identifiers, the type identifiers being used to characterize corresponding trigger events.
3. The method of claim 1, wherein the obtaining the trigger event of the device corresponding to the device icon according to the end position of the trigger operation comprises:
acquiring a terminal position of the trigger operation;
taking the equipment configuration container where the end position is located as a target configuration container;
confirming the type identification corresponding to the target configuration container;
and determining the trigger event of the equipment corresponding to the equipment icon according to the trigger event corresponding to the type identifier.
4. The method of claim 1 or 3, wherein the trigger operation comprises a mouse drag or touch drag gesture.
5. The method of claim 1 or 3, wherein performing the trigger event if satisfied and not performing the trigger event if not satisfied comprises:
if yes, displaying the equipment icon in an equipment configuration container corresponding to the trigger event;
and if not, displaying prompt information on the equipment configuration interface, and not displaying the equipment icon in the equipment configuration container.
6. The method of claim 5, wherein if so, displaying the device icon in a device configuration container corresponding to the trigger event, further comprising:
and when the clicking operation acting on the equipment icon is detected, popping up an editing interface corresponding to the equipment icon, and modifying the content of the trigger event through the editing interface.
7. An apparatus for device configuration, the apparatus comprising:
the event acquisition module is used for responding to a trigger operation of a device icon in a device list acting on a device configuration interface, the device configuration interface comprises at least one device configuration container, and the trigger operation is used for moving the device icon to the device configuration container; acquiring a trigger event of the equipment corresponding to the equipment icon according to the end position of the trigger operation; the device configuration container comprises an automation device configuration container and/or a scene device configuration container; the automation device configuration container comprises a device configuration container for setting an automated execution action and a device configuration container for setting an automated execution condition; the scene device configuration container comprises a device configuration container for setting execution actions of a scene; the trigger event comprises an automatic execution condition of the adding device, or an automatic execution action of the adding device, or an execution action of a scene configuration of the adding device;
the equipment information acquisition module is used for acquiring an equipment attribute list corresponding to the equipment icon according to the trigger event; the device attribute list comprises at least one device attribute; the device attributes include a condition attribute set as an execution condition for automation, a motion attribute set as an execution motion for automation, and a motion attribute set as an execution motion for a scene;
the event processing module is used for confirming whether the equipment attribute meets the trigger event or not according to the equipment attribute, if so, executing the trigger event, and if not, not executing the trigger event; if the device attribute list comprises the device attribute matched with the trigger event, determining that the device attribute meets the trigger event; and if the equipment attribute list does not comprise the equipment attribute matched with the trigger event, determining that the equipment attribute does not meet the trigger event.
8. A terminal device comprising a memory and a processor, the memory coupled to the processor, the memory storing instructions that, when executed by the processor, the processor performs the method of any of claims 1-6.
9. A computer-readable storage medium having program code executable by a processor, the program code causing the processor to perform the method of any of claims 1-6.
CN201811051381.0A 2018-09-10 2018-09-10 Equipment configuration method and device, terminal equipment and storage medium Active CN109240098B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811051381.0A CN109240098B (en) 2018-09-10 2018-09-10 Equipment configuration method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811051381.0A CN109240098B (en) 2018-09-10 2018-09-10 Equipment configuration method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109240098A CN109240098A (en) 2019-01-18
CN109240098B true CN109240098B (en) 2022-03-25

Family

ID=65067300

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811051381.0A Active CN109240098B (en) 2018-09-10 2018-09-10 Equipment configuration method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109240098B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897898A (en) * 2020-06-19 2020-11-06 深圳奇迹智慧网络有限公司 Configuration method and device for position of Internet of things equipment and computer equipment
CN112558832B (en) * 2020-12-16 2022-08-16 珠海格力电器股份有限公司 Scene setting method and device, electronic equipment and storage medium
CN114169111B (en) * 2022-02-11 2022-04-26 杭州杰牌传动科技有限公司 Interactive speed reducer personalized configuration system and method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618441A (en) * 2014-12-30 2015-05-13 广东美的制冷设备有限公司 Control method and device of controlled device, server, and control terminal of internet of things
CN104898505A (en) * 2015-04-29 2015-09-09 小米科技有限责任公司 Smart scene configuration method and device
CN105897527A (en) * 2016-05-30 2016-08-24 海信集团有限公司 Method and device for setting running parameter of smart home device in smart scene
CN106411662A (en) * 2015-07-17 2017-02-15 小米科技有限责任公司 Method and device of configuring electronic equipment scenes
CN106452989A (en) * 2016-08-31 2017-02-22 北京小米移动软件有限公司 Method and device for establishing intelligent scene
CN106469009A (en) * 2015-08-19 2017-03-01 从兴技术有限公司 A kind of intelligence control system collocation method and device
CN106814716A (en) * 2017-01-03 2017-06-09 芜湖美智空调设备有限公司 The reserving method and system linked between a kind of household electrical appliances
CN107991892A (en) * 2017-11-02 2018-05-04 珠海格力电器股份有限公司 The methods, devices and systems of control device
CN108092861A (en) * 2017-12-13 2018-05-29 深圳绿米联创科技有限公司 Realize collocation method, the equipment linkage control method and device of equipment linkage
CN108303901A (en) * 2018-01-08 2018-07-20 杭州古北电子科技有限公司 A kind of smart machine automatic control system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104618441A (en) * 2014-12-30 2015-05-13 广东美的制冷设备有限公司 Control method and device of controlled device, server, and control terminal of internet of things
CN104898505A (en) * 2015-04-29 2015-09-09 小米科技有限责任公司 Smart scene configuration method and device
CN106411662A (en) * 2015-07-17 2017-02-15 小米科技有限责任公司 Method and device of configuring electronic equipment scenes
CN106469009A (en) * 2015-08-19 2017-03-01 从兴技术有限公司 A kind of intelligence control system collocation method and device
CN105897527A (en) * 2016-05-30 2016-08-24 海信集团有限公司 Method and device for setting running parameter of smart home device in smart scene
CN106452989A (en) * 2016-08-31 2017-02-22 北京小米移动软件有限公司 Method and device for establishing intelligent scene
CN106814716A (en) * 2017-01-03 2017-06-09 芜湖美智空调设备有限公司 The reserving method and system linked between a kind of household electrical appliances
CN107991892A (en) * 2017-11-02 2018-05-04 珠海格力电器股份有限公司 The methods, devices and systems of control device
CN108092861A (en) * 2017-12-13 2018-05-29 深圳绿米联创科技有限公司 Realize collocation method, the equipment linkage control method and device of equipment linkage
CN108303901A (en) * 2018-01-08 2018-07-20 杭州古北电子科技有限公司 A kind of smart machine automatic control system

Also Published As

Publication number Publication date
CN109240098A (en) 2019-01-18

Similar Documents

Publication Publication Date Title
US11595781B2 (en) Electronic apparatus and IoT device controlling method thereof
CN109660387B (en) Method and device for managing equipment configuration data, server and storage medium
EP3016083A1 (en) Scenario mode recommending method and apparatus for smart device
US10001976B2 (en) Generation of a device application
CN109240098B (en) Equipment configuration method and device, terminal equipment and storage medium
US10489221B2 (en) Method for creating context aware application and user terminal
CN109413515B (en) Equipment control method and device, mobile terminal and server
CN109725541A (en) Generation method, device, electronic equipment and the storage medium of automation
US11782590B2 (en) Scene-operation method, electronic device, and non-transitory computer readable medium
CN109765793B (en) Equipment state display method and device, terminal and storage medium
EP3010246A1 (en) Home appliance, mobile device, and control system for home appliance
EP4191354A1 (en) Interactive method for establishing device linkage scene, and storage medium and electronic device
US10895863B2 (en) Electronic device and method for controlling the same
EP3654118B1 (en) Electronic device and method for controlling the same
CN109218085B (en) Equipment automation and scene configuration management method and device and mobile terminal
EP3104553B1 (en) Method for controlling multiple devices connected via network
US10627789B2 (en) User device, driving method of user device, apparatus for providing service and driving method of apparatus for providing service
CN110794773A (en) Click-type scene creating method and device
CN110324217B (en) Equipment triggering control method and device, electronic equipment and storage medium
CN110471298A (en) A kind of intelligent electrical appliance control, equipment and computer-readable medium
CN114675928A (en) Container mirror image construction method and device, storage medium and electronic device
CN114280953A (en) Scene mode creating method and device, electronic equipment and storage medium
WO2023221995A1 (en) Intelligent device control method and electronic device
CN114911556B (en) Interface display method, device, equipment and storage medium
CN116974644A (en) Configuration method of control page, equipment control method and related equipment

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
GR01 Patent grant
GR01 Patent grant