CN115167157A - Device control method, device, electronic device and storage medium - Google Patents

Device control method, device, electronic device and storage medium Download PDF

Info

Publication number
CN115167157A
CN115167157A CN202210532411.XA CN202210532411A CN115167157A CN 115167157 A CN115167157 A CN 115167157A CN 202210532411 A CN202210532411 A CN 202210532411A CN 115167157 A CN115167157 A CN 115167157A
Authority
CN
China
Prior art keywords
scene
configuration
target scene
equipment
action
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
CN202210532411.XA
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.)
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 CN202210532411.XA priority Critical patent/CN115167157A/en
Publication of CN115167157A publication Critical patent/CN115167157A/en
Priority to PCT/CN2023/092301 priority patent/WO2023216995A1/en
Pending legal-status Critical Current

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] or 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]

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the application provides a device control method and device, electronic equipment and a storage medium, and relates to the technical field of Internet of things. Wherein, the method comprises the following steps: acquiring equipment operation data, wherein the equipment operation data at least records the operation attribute of equipment; determining a device configuration requirement for a target scene according to the running attributes of the devices recorded in the device running data, wherein the device configuration requirement is used for indicating that at least one device needs to configure a corresponding action in the target scene; generating a scene configuration scheme for the target scene according to the device configuration requirement, so that at least one device executes a corresponding action configured according to the scene configuration scheme in the target scene under the condition that the target scene is executed. The method and the device solve the problem that the efficiency of scene configuration is low in the related technology.

Description

Device control method, device, electronic device and storage medium
Technical Field
The application relates to the technical field of internet of things, in particular to a device control method and device, an electronic device and a storage medium.
Background
With the rapid development of the internet of things technology, smart homes have gradually deepened into each field of home life, and in order to improve the operation convenience of users on smart devices in the smart homes, device linkage can be configured, for example, if people are detected in a living room, a light is automatically turned on, various scenes can be configured, for example, if the user configures a 'scene of going home', when the user goes home, the light is automatically turned on, the brightness of the light is increased, a window is closed, a curtain is closed, an air conditioner is opened, and the like, through execution of one key of the user on the 'scene of going home'.
However, under the influence of factors such as environment, weather, season, time period, etc., the user's needs often need to be dynamically adjusted, for example, the air conditioner is not necessarily turned on due to cold weather, that is, the configured scene cannot meet the user's needs, and the user needs to manually control the smart device to meet the actual needs of the user. Therefore, the whole process is limited by the manual operation of the user, so that the efficiency of scene configuration is not high, the complexity of user operation is increased, the use cost of the user is greatly improved, and the use experience of the user is reduced.
From the above, how to improve the efficiency of scene configuration is still to be solved.
Disclosure of Invention
Embodiments of the present application provide an apparatus control method and apparatus, an electronic apparatus, and a storage medium, which can solve a problem of low efficiency of scene configuration in the related art. The technical scheme is as follows:
according to an aspect of an embodiment of the present application, an apparatus control method includes: acquiring equipment operation data, wherein the equipment operation data at least records an equipment operation attribute, and the operation attribute is used for indicating at least one of an action executed by the equipment, a state of the equipment after the action is executed and time of the equipment executing the action; determining a device configuration requirement for a target scene according to the operation attribute of the device recorded in the device operation data, wherein the device configuration requirement is used for indicating that at least one device needs to configure a corresponding action in the target scene; generating a scene configuration scheme for the target scene according to the device configuration requirement, so that at least one device executes a corresponding action configured according to the scene configuration scheme in the target scene under the condition that the target scene is executed.
According to an aspect of an embodiment of the present application, an apparatus control device includes: the log acquisition module is used for acquiring equipment operation data, wherein the equipment operation data at least records an equipment operation attribute, and the operation attribute is used for indicating at least one of an action executed by the equipment, a state of the equipment after the action is executed, and time of the equipment for executing the action; a requirement determining module, configured to determine, according to the operation attribute of the device recorded in the device operation data, a device configuration requirement for a target scene, where the device configuration requirement is used to indicate that at least one device needs to configure a corresponding action in the target scene; and the scheme generation module is used for generating a scene configuration scheme for the target scene according to the equipment configuration requirement, so that at least one piece of equipment executes corresponding actions configured according to the scene configuration scheme in the target scene under the condition that the target scene is executed.
In an exemplary embodiment, the demand determination module includes: a new action determining unit, configured to determine, according to the running attribute of the device recorded in the device running data, whether at least one device has executed a new action after the execution of the configured target scene; the new action is distinct from an action configured for the device in a configured target scenario; if so, notifying a first requirement determining unit, configured to use the new action performed by the at least one device as a device configuration requirement for a configured target scenario, so as to indicate that the at least one device needs to reconfigure a corresponding new action in the configured target scenario.
In an exemplary embodiment, the new action determination unit includes: a frequency determining subunit, configured to determine, according to the operation attribute of the device recorded in the device operation data, a frequency at which the device executes the new action within a first set duration; the first set time length refers to a time period for continuously executing the configured target scene for multiple times; if the frequency exceeds a frequency threshold, a notice device determination subunit operable to determine that there is one of the devices that performed the new action.
In an exemplary embodiment, the new action determination unit includes: a quantity determining subunit, configured to determine, according to the running attribute of the device recorded in the device running data, a quantity of the devices that execute the new action after the execution of the configured target scene; if the number exceeds a number threshold, a multi-device determination subunit configured to determine that there are multiple devices performing the new action.
In an exemplary embodiment, the demand determination module includes: a multi-action determining unit, configured to determine, according to the operation attribute of the device recorded in the device operation data, whether a plurality of devices have executed an action within a second set time period; the second set time period refers to a time period for executing actions by a plurality of continuous devices; if so, notifying a second requirement determining unit, configured to use corresponding actions respectively executed by the multiple devices as device configuration requirements for the target scene, so as to indicate that the multiple devices need to configure corresponding actions in the target scene.
In an exemplary embodiment, the scenario generation module includes: an attribute creating unit, configured to create a scene configuration attribute of the device in the target scene according to an action that the device needs to be configured in the target scene and is indicated by the device configuration requirement; the scene configuration attribute is used for indicating the action configured by the equipment in the target scene; a first scheme generating unit, configured to generate the scene configuration scheme according to a scene configuration attribute created by each device in the target scene.
In an exemplary embodiment, the scenario generation module includes: an attribute obtaining unit, configured to obtain a scene configuration attribute that has been created by the device in the target scene; an attribute adjusting unit, configured to adjust a scene configuration attribute of the device in the target scene according to an action that the device needs to be configured in the target scene and is indicated by the device configuration requirement; and a second scheme generation unit, configured to generate the scene configuration scheme according to the adjusted scene configuration attribute of each device in the target scene.
In an exemplary embodiment, the apparatus further comprises: the message pushing module is used for generating and pushing a configuration prompt message, wherein the configuration prompt message is used for prompting a user whether to confirm whether to configure the target scene according to the scene configuration scheme; a scene configuration module, configured to configure, in response to the determination operation for the scene configuration scheme, a corresponding action for at least one of the devices in the target scene according to the scene configuration scheme; a device control module, configured to control at least one of the devices to perform a corresponding action configured according to the scene configuration scheme in the target scene in response to an execution operation for the target scene.
According to an aspect of an embodiment of the present application, an electronic device includes: the system comprises at least one processor, at least one memory and at least one communication bus, wherein the memory is stored with computer programs, and the processor reads the computer programs in the memory through the communication bus; the computer program, when executed by a processor, implements the device control method as described above.
According to an aspect of an embodiment of the present application, a storage medium has a computer program stored thereon, and the computer program, when executed by a processor, implements the device control method as described above.
According to an aspect of an embodiment of the present application, a computer program product includes a computer program, the computer program is stored in a storage medium, a processor of a computer device reads the computer program from the storage medium, and the processor executes the computer program, so that the computer device realizes the device control method as described above when executing.
The beneficial effect that technical scheme that this application provided brought is:
in the above technical solution, device operation data at least recording operation attributes of devices is obtained, a device configuration requirement for a target scene is determined according to the operation attributes of the devices recorded in the device operation data, and a scene configuration scheme is generated for the target scene according to the device configuration requirement, so that at least one device can execute a corresponding action configured in the target scene according to the scene configuration scheme, that is, the device operation data actively knows the requirements of a user, and when it is determined that the requirements of the user are dynamically adjusted, a scene configuration scheme can be automatically generated for the target scene, thereby avoiding that the user manually adjusts an old configured scene or creates a new scene, and thus effectively solving the problem of low efficiency of scene configuration in the related art.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
FIG. 1 is a schematic illustration of an implementation environment according to an embodiment of the present application;
FIG. 2 is a schematic diagram of smart device and server-side interaction in the implementation environment shown in FIG. 1;
FIG. 3 is a flow chart illustrating a method of controlling a device according to an exemplary embodiment;
FIG. 4 is a flow diagram for one embodiment of step 330 in the corresponding embodiment of FIG. 3;
FIG. 5 is a flow chart of step 330 in another embodiment of the corresponding embodiment of FIG. 3;
FIG. 6 is a diagram illustrating the generation of a scenario configuration scenario according to device configuration requirements, according to an example embodiment;
FIG. 7 is a flow chart illustrating another method of device control according to an exemplary embodiment;
FIG. 8 is a diagram illustrating pushing of a configuration prompt message to a user according to the corresponding embodiment of FIG. 7;
FIGS. 9-11 are timing diagrams of a device control method in an application scenario;
FIG. 12 is a block diagram illustrating the structure of a device control apparatus according to an exemplary embodiment;
FIG. 13 is a diagram illustrating a hardware configuration of an electronic device in accordance with an exemplary embodiment;
fig. 14 is a block diagram illustrating a structure of an electronic device according to an example embodiment.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are exemplary only for explaining the present application and are not construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
The following is a description and explanation of several terms involved in the present application:
the scene is essentially a virtual scene created on the electronic equipment, and the scene corresponds to a real space environment, such as a smart home environment. For example, a real smart home environment may be a room where several devices are deployed. Then, the creation of the scene in the electronic device, that is, the configuration of the scene in the electronic device, specifically, in the scene, the mapping of the multiple devices deployed in the smart home environment is implemented through the device identifier, and the corresponding actions are configured for the multiple devices through the action identifier. It can also be understood that, in a created scene (i.e. a configured scene), at least device identifiers of a plurality of devices deployed in the smart home environment and action identifiers of corresponding actions configured for the plurality of devices are included, where the device identifiers are used to represent devices mapped in a target scene in the smart home environment, and the action identifiers are used to represent actions configured in the target scene by the devices performing device identifier mapping. Based on the method, through the execution of the scene, the corresponding action configured in the scene can be executed by each device in the intelligent household environment.
And the operation attribute of the equipment is used for indicating at least one of the action executed by the equipment, the state of the equipment after the action is executed and the time of the equipment executing the action.
A scene configuration attribute of the device for indicating an action configured by the device in the scene.
TTS, english is called Text To Speech, and chinese means Text To Speech as part of a human-computer conversation, aiming To convert Text intelligently into a voice stream so that a machine can speak.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of an implementation environment involved with a device control method. The implementation environment includes a user terminal 110, an intelligent device 130, a gateway 150, a server side 170, and a router 190.
Specifically, the user terminal 110 may also be considered as a user terminal or a terminal, and may perform deployment (also understood as installation) of a client associated with the smart device 130, and this user terminal 110 may be an electronic device such as a smart phone, a tablet computer, a notebook computer, a desktop computer, an intelligent control panel, and other devices with display and control functions, and is not limited herein.
The client is associated with the smart device 130, and is substantially that a user registers an account in the client, and configures the smart device 130 in the client, for example, the configuration includes adding a device identifier to the smart device 130, so that when the client is run in the user terminal 110, functions related to device display, device control, and the like of the smart device 130 can be provided for the user, the client may be in the form of an application program or a web page, and accordingly, an interface displayed and controlled by the client may be in the form of a program window or a web page, which is not limited herein.
The intelligent device 130 is disposed in the gateway 150, and communicates with the gateway 150 through its own configured communication module, thereby being controlled by the gateway 150. It should be understood that the smart device 130 refers to one of the plurality of smart devices 130, and the smart device 130 is only used as an example in the embodiment of the present application, that is, the number of smart devices and the device type deployed in the gateway 150 are not limited in the embodiment of the present application. In one application scenario, the smart device 130 accesses the gateway 150 through a local area network and is thus deployed in the gateway 150. The process of accessing the gateway 150 by the intelligent device 130 through the local area network includes: a local area network is first established by the gateway 150, and the intelligent device 130 joins the local area network established by the gateway 150 by connecting to the gateway 150. Such local area networks include, but are not limited to: ZIGBEE or bluetooth. The intelligent device 130 may be an intelligent printer, an intelligent fax machine, an intelligent camera, an intelligent air conditioner, an intelligent door lock, an intelligent lamp, or an electronic device equipped with a communication module, 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 wireless switch, a wireless wall switch, a magic cube controller, a curtain motor, and the like.
The interaction between the user terminal 110 and the smart device 130, for example, the user performs a one-touch operation on a scene through the user terminal 110 to control the smart device 130 to perform an action configured in the scene, may be implemented through a local area network, and may also be implemented through a wide area network. In an application scenario, the user terminal 110 establishes a wired or wireless communication connection with the gateway 150 through the router 190, for example, the wired or wireless communication connection includes but is not limited to WIFI, so that the user terminal 110 and the gateway 150 are deployed in the same local area network, and further, the user terminal 110 may implement interaction with the smart device 130 through a local area network path. In another application scenario, the user terminal 110 establishes a wired or wireless communication connection with the gateway 150 through the server 170, for example, the wired or wireless communication connection includes but is not limited to 2G, 3G, 4G, 5G, WIFI, and the like, so that the user terminal 110 and the gateway 150 are deployed in the same wide area network, and further, the user terminal 110 may implement interaction with the smart device 130 through a wide area network path.
The server 170 may also be considered as a cloud, a cloud platform, a server, and the like, and the server 170 may be one server, or may be a server cluster formed by multiple servers, or a cloud computing center formed by multiple servers, so as to better provide background services to the mass user terminals 110. For example, the background service includes a device control service.
In one possible implementation, taking the intelligent device 130 interacting with the server 170 in the wide area network as an example, the device control process is described as follows:
as shown in fig. 2, a user may configure a target scene according to actual requirements of the user through the user terminal 110, so that a plurality of devices mapped with device identifiers in the target scene may execute corresponding actions configured in the target scene through the execution of the target scene next time.
As the user's needs are dynamically adjusted, for example, the user controls at least one smart device 130 of the multiple devices, for example, after entering winter, the brightness of the smart lamp executed in the scene of going home is adjusted from 10% to 30%, then for the smart device 130, the user's control on the smart device 130 is actively recorded, the control is added to the device operation data, and the device operation data is sent to the server 170.
As for the server 170, after the intelligent device 130 sends the device operation data, the device operation data can be acquired, and a device control server is provided for the user based on the device operation data, specifically, the device configuration requirement for the target scene is determined based on the device operation data, so as to determine whether the requirement of the user is dynamically adjusted, if so, a scene configuration scheme is automatically generated for the target scene according to the device configuration requirement, so that the plurality of intelligent devices 130 performing device identifier mapping in the target scene can execute corresponding actions configured in the target scene according to the scene configuration scheme, and the target scene configuration is automatically updated along with the dynamic adjustment of the user requirement, thereby not only improving the efficiency of the scene configuration, but also avoiding the complexity of manual operation of the user, greatly reducing the use cost of the user, and being beneficial to improving the use experience of the user.
Referring to fig. 3, an embodiment of the present application provides a device control method, which is applicable to an electronic device, and the electronic device may specifically be the gateway 150 and the server 170 in the implementation environment shown in fig. 1.
In the following method embodiments, for convenience of description, the main execution body of each step of the method is taken as an electronic device as an example, but the configuration is not particularly limited.
As shown in fig. 3, the method may include the steps of:
step 310, acquiring equipment operation data.
Wherein the device operational data records at least operational attributes of the device.
First, the device operation data is substantially a record of the operation performed by the device each time, and records not only the operation performed by the device each time but also the state of the device after the operation is performed. Of course, in other embodiments, the device operational data also records the time each action is performed by the device. In one possible implementation, the device operating data is stored in the device in an oplog manner.
Based on this, the operational properties of the device may be used to indicate one or more of an action performed by the device, a state after the action was performed by the device, a time at which the action was performed by the device, and so forth. In one possible implementation, the action performed by the device is directed to the target scenario, that is, the action performed by the device is the action configured by the device in the target scenario.
For the equipment, after each action is executed by the equipment, the action executed by the equipment this time, the time of executing the action by the equipment this time and the state of the equipment after executing the action this time are correspondingly stored and added to the equipment operation data as the operation attribute of the equipment. In a possible implementation manner, the device forwards the device operation data to the server side through the gateway, specifically, the device reports the device operation data to the gateway based on the local area network, and the device operation data is forwarded to the server side by the gateway. In one possible implementation, the device reports device operation data to the server based on the wide area network.
Then, for the electronic device, regarding the acquisition of the device operation data, the device operation data may be derived from the device operation data reported by the device in real time, so as to process the device operation data in real time and improve the real-time performance of the processing, and may also be derived from the device operation data stored in a historical time period and reported by the device in real time, so as to process the device operation data in batch and improve the processing efficiency.
Step 330, determining the device configuration requirement for the target scene according to the device operation attribute recorded in the device operation data.
As mentioned above, the device operation data is a record of the action performed by the device each time, and it should be understood that the device operation data also records any action performed again by the device after the scene is performed. For example, in hot weather, when a user goes home, the execution of a scene of going home actually means that a light is automatically turned on, the brightness of light is increased, a window is closed, a curtain is closed, and an air conditioner is opened; as the day gets cooler, at least the air conditioner does not have to be turned on, that is, when the user goes home, the user also needs to turn off the air conditioner after the return scene is performed. In the above process, for the device operation data, not only the opening action configured in the home returning scene executed by the air conditioner is recorded, but also the closing action executed by the air conditioner after the home returning scene is executed is recorded.
Therefore, whether the requirements of the user are dynamically adjusted or not can be determined through the operation attributes of the equipment recorded in the equipment operation data. Continuing with the above example, after a cold day, the user turns off the air conditioner after the return scene is executed, and based on the opening action of the air conditioner execution configuration in the return scene recorded in the device operation data and the closing action of the air conditioner after the return scene is executed, it can be determined that the user's demand is dynamically adjusted, that is, for the return scene, the user's demand is adjusted from the air conditioner being turned on to the air conditioner being turned off.
In this embodiment, the device configuration requirement is used to indicate that at least one device needs to configure a corresponding action in the target scene, that is, it reflects that the user's requirement is dynamically adjusted. Still in the above example, the device configuration requirement is used to indicate that the air conditioner needs to configure a closing action in a home returning scene, where the target scene is the home returning scene, the device is the air conditioner, and the corresponding action is the closing action.
In one possible implementation, as shown in fig. 4, step 330 may include the following steps: step 331, determining whether a plurality of devices execute actions within a second set time period according to the operation attributes of the devices recorded in the device operation data, wherein the second set time period is a time period for continuously executing the actions by the plurality of devices; for example, the second set time period is 10 minutes, which indicates that a plurality of devices continuously perform actions within the 10 minutes; if yes, step 333, regarding the corresponding action executed by each of the multiple devices as a device configuration requirement for the target scene, so as to indicate that the multiple devices need to configure the corresponding action in the target scene. In this way, although the target scene is not executed, the user continuously controls the multiple devices to execute corresponding actions within a time period (for example, 10 minutes), that is, if the user desires to quickly implement one-key control on the multiple devices next time, it may take a lot of time to configure the target scene, which may be reconfiguration of the target scene or creation of the target scene, and at this time, it is considered that the user needs to dynamically adjust. The action performed by the device may be an action configured by the device in the target scene, and may also refer to a new action that is not configured by the device in the target scene, which is not limited herein.
In one possible implementation, as shown in fig. 5, step 330 may include the following steps: step 332, determining, according to the running attributes of the devices recorded in the device running data, whether at least one device executes a new action after the configured target scene is executed, where the new action is different from an action configured for the device in the configured target scene; if so, the new action executed by the at least one device is taken as a device configuration requirement for the target scenario, so as to indicate that the at least one device needs to reconfigure the corresponding new action in the configured target scenario. In this way, for the executed target scene, the user still controls the one or more devices, that is, the one or more devices are controlled to execute the new actions that are not configured in the target scene, that is, the executed target scene may not meet the user's requirements, and it is also considered that the user's requirements are dynamically adjusted.
For the executed target scene, regarding whether at least one device executes a new action that is not configured in the target scene, the following two possible confirmation manners are included:
in a possible implementation manner, according to the running attribute of the device recorded in the running data of the device, determining the frequency of the device executing a new action within a first set time period, where the first set time period is a time period during which a configured target scene is continuously executed for multiple times; for example, the first set duration is 3 days, which means that the configured target scene is continuously executed for a plurality of times within the 3 days; if the frequency exceeds the frequency threshold, it is determined that there is a device performing the new action. In this way, if the target scene is executed multiple times continuously within the first set time (e.g. 3 days), and the same device executes new actions not configured in the target scene multiple times, it is considered that the user's requirement is dynamically adjusted.
In one possible implementation manner, the number of devices executing new actions after the execution of the configured target scene is determined according to the running attributes of the devices recorded in the device running data; if the number exceeds the number threshold, it is determined that there are multiple devices performing the new action. In this way, if the target scene is executed, the multiple devices all execute new actions that are not configured in the target scene, and it can also be considered that the user's needs have been dynamically adjusted.
It should be noted that, both the first set time length and the second set time length can be flexibly adjusted according to the actual needs of the application scenario, which is not limited herein. For example, the first set period of time is 3 days. Similarly, the number threshold and the frequency threshold may be flexibly adjusted according to the actual needs of the application scenario, and are not specifically limited herein. For example, the number threshold is 3.
Therefore, the controlled execution of the action by the multiple devices in the same time period, or the controlled execution of the new action by the same device after the target scene is executed for multiple times, can be automatically summarized to belong to the category of dynamic adjustment of user requirements, and can be used as a basis for configuring the target scene to meet the actual requirements of the user.
And 350, generating a scene configuration scheme for the target scene according to the equipment configuration requirement.
After determining the device configuration requirements for the target scenario, a scenario configuration scenario can be generated for the target scenario. The target scene may refer to an old scene that has been created, and correspondingly, the scene configuration scheme refers to a scheme for adjusting a scene configuration attribute that has been created by the device in the target scene; the target scene may also refer to an unformed new scene, and correspondingly, the scene configuration scheme refers to a scheme for creating a scene configuration attribute of the device in the target scene. In one possible implementation, the scenario configuration scheme includes at least a scenario configuration attribute of the device. In a possible implementation manner, the scenario configuration scheme further includes a device identifier of the device. The scene configuration attribute of the device is used for indicating at least one of the action configured in the target scene by the device and the state after the action configured in the target scene is executed by the device.
In one possible implementation, step 350 may include the steps of: according to the action which is indicated by the equipment configuration requirement and needs to be configured in the target scene, establishing a scene configuration attribute of the equipment in the target scene; and generating a scene configuration scheme according to the created scene configuration attributes of the devices in the target scene.
In one possible implementation, step 350 may include the steps of: acquiring scene configuration attributes created by equipment in a target scene; adjusting the scene configuration attribute of the equipment in the target scene according to the action which is indicated by the equipment configuration requirement and needs to be configured in the target scene; and generating a scene configuration scheme according to the adjusted scene configuration attributes of the devices in the target scene.
That is to say, as shown in fig. 6, the action that the device indicated by the device configuration requirement needs to be configured in the target scene is converted into the scene configuration attribute of the device, and is added to the scene configuration scheme, so as to facilitate the configuration of the target scene. For example, the device configuration requirement indicates that the smart lamp needs to configure an action of adjusting the brightness to 30% in the home scene, and if the scene configuration attribute of the smart lamp indicates that the action configured in the home scene by the smart lamp is adjusting the brightness to 10% in the created target scene, the adjusted brightness to 30% is added to the scene configuration scheme as a new scene configuration attribute of the smart lamp by comparison, so that the brightness is adjusted to 30% by the smart lamp after the next target scene is executed. Of course, in other embodiments, the scene configuration attribute is also used to indicate the state of the device after performing the action configured in the target scene, and is not limited in this regard. Still by way of the foregoing example, the scene configuration attribute of the smart lamp indicates that the brightness of the smart lamp after the smart lamp performs an action in the scene of going home is 10%, and then, the brightness of the smart lamp is 30% by comparing with the brightness of the device configuration requirement indication of 30%, which is used as a new scene configuration attribute of the smart lamp, and is added to the scene configuration scheme, so that the brightness of the smart lamp is adjusted to 30% after the next target scene is performed.
After the scene configuration scheme is generated, the target scene is configured according to the scene configuration scheme. In one possible implementation, the scenario configuration scheme is sent to the user terminal, so that the user terminal configures corresponding actions for at least one device in the target scenario according to the scenario configuration scheme. Then, as the user performs one-key execution on the target scene through the user terminal, at least one device subjected to device identifier mapping in the target scene can be controlled, and a corresponding action configured according to the scene configuration scheme in the target scene is performed.
In the process, the requirements of the user can be actively known through the running attributes of the equipment recorded in the running data of the equipment, when the requirements of the user are dynamically adjusted, a scene configuration scheme meeting the requirements of the dynamically adjusted user can be automatically generated for the target scene, the situation that the configured old scene is adjusted or a new scene is created through manual operation of the user is avoided, the efficiency of scene configuration can be improved, the complexity of the manual operation of the user is avoided, the use cost of the user is greatly reduced, the use experience of the user is favorably improved, and the problem that the efficiency of the scene configuration existing in the related technology is not high can be effectively solved.
Referring to fig. 7, a possible implementation manner is provided in the embodiment of the present application, and after step 350, the method may further include the following steps:
at step 410, a configuration prompt message is generated.
And the configuration prompt message is used for prompting the user whether to configure the target scene according to the confirmed scene configuration scheme.
Step 430, pushing a configuration prompt message to the user terminal.
In order to avoid that the target scene is not applicable to the smart home environment, which may also be considered as avoiding that the user is not satisfied with the target scene, in this embodiment, before the target scene is configured according to the scene configuration scheme, a configuration prompt message is pushed to the user terminal.
In one possible implementation, a configuration prompt message is displayed. Taking the intelligent control panel as an example, as shown in fig. 8, in a display interface 601 of the intelligent control panel, a configuration prompt message 602 is displayed: is the host not wanting to adjust the "go home" scenario? If the user clicks the "confirm" control 603, it indicates that the user wants to adjust the scene of going home, and at this time, the intelligent control panel automatically reconfigures the scene of going home of the target scene according to the scene configuration scheme. In this way, an entry for quickly adjusting the target scene is provided for the user, and the user can reconfigure the target scene through the triggering operation of the entry.
In a possible implementation manner, the configuration prompt message is sent to the intelligent device so as to control the intelligent device to perform voice prompt on the user according to the configuration prompt message. For a smart device, a text-form configuration prompt message can be converted into voice and fed back to a user through TTS technology provided by a voice output module configured by the smart device, for example, "a host is not willing to create a scene? ". In this way, an efficient voice interaction mode is realized, and the user can create the target scene only by answering 'yes' without any manual operation.
Under the action of the embodiment, the user interaction mode configured about the target scene is realized, the interaction mode can be a trigger mode or a voice mode, the user can simply and efficiently realize the configuration of the target scene, the reconfiguration of the target scene can be realized, the target scene can also be created, and the user does not need to care which action should be configured to which device in the target scene, so that the complexity of manual operation of the user can be greatly reduced, the use cost of the user is greatly reduced, and the use experience of the user is finally promoted.
Fig. 9 to 11 are schematic diagrams of specific implementations of a device control method in an application scenario. This application scenario applies to the device in the implementation environment shown in fig. 1.
In the application scenario, the user terminal 110 is an intelligent control panel, so that the user can directly control the intelligent device 130 to execute a corresponding action through the intelligent control panel, or indirectly control the intelligent device 130 to execute an action configured in a target scenario by executing the created target scenario through one key of the intelligent control panel; the intelligent device 130 is disposed in the gateway 150, is controlled to perform corresponding actions by accessing the gateway 150 through the local area network, and may interact with the server 170 through the wide area network, or forward data to the server 170 through the gateway 150 through the local area network.
Now, with reference to fig. 9 to fig. 11, the following description is made on three target scenario configuration schemes involved in the device control process:
the first scenario configuration scheme is as follows:
as shown in fig. 9, in the first scenario configuration scheme, a user configures a target scenario according to actual needs of the user through the user terminal 110, and through execution of the target scenario, a plurality of intelligent devices 130 that have performed device identifier mapping in the target scenario execute corresponding actions configured in the target scenario, so that the plurality of intelligent devices 130 respectively report corresponding device operation data to the server 170.
As the user controls one of the intelligent devices 130, the intelligent device 130 is controlled to perform a corresponding action, and at the same time, the actively recorded control of the user on the intelligent device 130 is added to the device operation data of the intelligent device 130 as the operation attribute of the intelligent device 130, and the device operation data is reported to the server 170.
For the server 170, if it is determined that a target scene is continuously executed for multiple times within a first set time (3 days), the intelligent device 130 also executes new actions for multiple times, that is, the executed target scene is considered to possibly fail to meet the requirements of the user, and further, the requirements of the user are considered to be adjusted, the device configuration requirements are determined, and a scene configuration scheme is generated according to the device configuration requirements.
At this time, after receiving the scene configuration scheme, the user terminal 110 can adjust the configuration of the target scene according to the scene configuration scheme, so as to meet the requirement of the user after dynamic adjustment.
The second scenario configuration scheme is as follows:
as shown in fig. 10, in the second scenario configuration scheme, different from the first scenario configuration scheme, after the target scenario is executed, the user will control a plurality of smart devices 130 of the plurality of smart devices 130.
At this time, for the server 170, if it is determined that the target scene is executed, and then the multiple intelligent devices 130 are controlled to execute the corresponding actions, it is also considered that the executed target scene may not meet the requirement of the user, and further it is considered that the requirement of the user is adjusted, the device configuration requirement is determined, and the scene configuration scheme is generated according to the device configuration requirement.
Accordingly, in the user terminal 110, the configuration of the target scene is adjusted according to the scene configuration scheme sent by the server 170, so as to meet the requirement of the user after dynamic adjustment.
The two scene configuration schemes are implemented in the target scene, and based on that the user still controls one or more intelligent devices 130 after the target scene is implemented, the dynamic requirements of the user are actively known, and the dynamic requirements of the user are met.
The third scenario configuration scheme is as follows:
as shown in fig. 11, in the third scenario configuration scheme, unlike the first two scenario configuration schemes, a target scenario is not executed, and the target scenario may or may not have been created, and the user directly controls the plurality of smart devices 130, specifically, the user continuously controls the plurality of smart devices 130 to execute an action within the second set time period (10 minutes).
At this time, for the server 170, if it is determined that the plurality of intelligent devices 130 are respectively controlled to execute the corresponding actions within 10 minutes, it is considered that if the user desires to quickly implement one-key control on the plurality of intelligent devices 130 next time, it may take a lot of time to configure the target scene, which may be reconfiguration of the created target scene, or configuration of a target scene that is not created yet, and further, it is considered that the user needs to be adjusted, the device configuration needs are determined, and a scene configuration scheme is generated according to the device configuration needs.
Accordingly, in the user terminal 110, the target scene is created according to the scene configuration scheme sent by the server 170, that is, corresponding actions are configured for the plurality of intelligent devices 130 in the target scene, so as to meet the requirement of the user after dynamic adjustment.
As can be seen, in the third scenario configuration scheme, although the target scenario is not executed, the dynamic requirements of the user can be actively known and satisfied based on the fact that the user continuously controls the multiple devices to execute the corresponding actions in one time period (10 minutes).
In the application scene, the target scene configuration is automatically updated along with the dynamic adjustment of the user requirements, the efficiency of the scene configuration is improved, the complexity of manual operation of a user is avoided, the use cost of the user is greatly reduced, and the use experience of the user is favorably improved.
The following are embodiments of the apparatus of the present application, which may be used to implement the device control method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to method embodiments of the apparatus control method of the present application.
Referring to fig. 12, an embodiment of the present application provides an apparatus control device 900, which includes but is not limited to: a log acquisition module 910, a demand determination module 930, and a plan generation module 950.
The log obtaining module 910 is configured to obtain device operation data, where the device operation data records at least an operation attribute of a device. The operation attribute is used for indicating at least one of the action executed by the equipment, the state after the action is executed by the equipment and the time when the action is executed by the equipment.
A requirement determining module 930, configured to determine, according to the operation attribute of the device recorded in the device operation data, a device configuration requirement for the target scene, where the device configuration requirement is used to indicate that at least one device needs to configure a corresponding action in the target scene.
A scenario generating module 950, configured to generate a scenario configuration scenario for the target scenario according to the device configuration requirement, so that the at least one device executes a corresponding action configured according to the scenario configuration scenario in the target scenario when the target scenario is executed.
In an exemplary embodiment, the demand determination module includes: a new action determining unit, configured to determine, according to the running attribute of the device recorded in the device running data, whether at least one device has executed a new action after the execution of the configured target scene; the new action is distinct from an action configured for the device in the configured target scenario; if so, notifying the first requirement determining unit, so as to use the new action executed by the at least one device as a device configuration requirement for the configured target scene, so as to indicate that the at least one device needs to reconfigure the corresponding new action in the configured target scene.
In an exemplary embodiment, the new action determination unit includes: the frequency determining subunit is used for determining the frequency of the new action executed by the equipment within the first set time length according to the running attribute of the equipment recorded in the running data of the equipment; the first set time length refers to a time period for which the configured target scene is continuously executed for multiple times; if the frequency exceeds the frequency threshold, the notification sheet device determination subunit determines that there is a device performing the new action.
In an exemplary embodiment, the new action determination unit includes: the quantity determining subunit is used for determining the quantity of the equipment which executes the new action after the configured target scene is executed according to the running attribute of the equipment recorded in the equipment running data; if the number exceeds the number threshold, a multi-device determination subunit determines that there are multiple devices performing the new action.
In an exemplary embodiment, the demand determination module includes: a multi-action determining unit, configured to determine, according to the operation attribute of the device recorded in the device operation data, whether there are multiple devices executing an action within a second set time period; the second set time period refers to a time period for continuously executing the action by the plurality of devices; if yes, a second requirement determining unit is notified, which is used for regarding the corresponding actions executed by the multiple devices respectively as device configuration requirements for the target scene, so as to indicate that the multiple devices need to configure the corresponding actions in the target scene.
In an exemplary embodiment, the scenario generation module includes: the attribute creating unit is used for creating scene configuration attributes of the equipment in the target scene according to the action which is indicated by the equipment configuration requirement and needs to be configured in the target scene; the scene configuration attribute is used for indicating the action configured by the equipment in the target scene; and the first scheme generation unit is used for generating a scene configuration scheme according to the created scene configuration attributes of the devices in the target scene.
In an exemplary embodiment, the scenario generation module includes: the attribute acquisition unit is used for acquiring the scene configuration attribute created by the equipment in the target scene; the attribute adjusting unit is used for adjusting the scene configuration attribute of the equipment in the target scene according to the action which is indicated by the equipment configuration requirement and needs to be configured in the target scene; and the second scheme generating unit is used for generating a scene configuration scheme according to the adjusted scene configuration attributes of the devices in the target scene.
In an exemplary embodiment, the apparatus further comprises: the message pushing module is used for generating and pushing a configuration prompt message, and the configuration prompt message is used for prompting a user whether to confirm whether to configure a target scene according to a scene configuration scheme; a scene configuration module, configured to configure, in response to the determination operation for the scene configuration scheme, a corresponding action for the at least one device in the target scene according to the scene configuration scheme; and the device control module is used for responding to the execution operation aiming at the target scene and controlling at least one device to execute the corresponding action configured according to the scene configuration scheme in the target scene.
It should be noted that, when the device control apparatus provided in the foregoing embodiment performs device control, the division of the functional modules is merely illustrated, and in practical applications, the functions may be distributed to different functional modules according to needs, that is, the internal structure of the device control apparatus is divided into different functional modules to complete all or part of the functions described above.
In addition, the device control apparatus and the device control method provided by the above embodiments belong to the same concept, and the specific manner in which each module performs operations has been described in detail in the method embodiments, and is not described again here.
FIG. 13 shows a block diagram of an electronic device in accordance with an example embodiment. The electronic device may be suitable for use in the user terminal 110, the gateway 150, the server 170, etc. in the implementation environment shown in fig. 1.
It should be noted that the electronic device is only an example adapted to the application and should not be considered as providing any limitation to the scope of the application. The electronic device is also not to be construed as necessarily dependent upon or having one or more components of the exemplary electronic device 2000 illustrated in fig. 13.
The hardware structure of the electronic device 2000 may have large differences due to differences in configuration or performance, and as shown in fig. 13, the electronic device 2000 includes: a power supply 210, an interface 230, at least one memory 250, and at least one Central Processing Unit (CPU) 270.
Specifically, the power supply 210 is used to provide operating voltages for various hardware devices on the electronic device 2000.
The interface 230 includes at least one wired or wireless network interface for interacting with external devices. For example, the interaction between the user terminal 110 and the server 170 in the implementation environment shown in fig. 1 is performed.
Of course, in other examples of the present application, the interface 230 may further include at least one serial-to-parallel conversion interface 233, at least one input/output interface 235, at least one USB interface 237, and the like, as shown in fig. 13, which is not limited thereto.
The storage 250 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon include an operating system 251, an application 253, data 255, etc., and the storage manner may be a transient storage or a permanent storage.
The operating system 251 is used for managing and controlling hardware devices and application programs 253 on the electronic device 2000, so as to implement the operation and processing of the mass data 255 in the memory 250 by the central processing unit 270, which may be Windows server, mac OS XTM, unix, linux, freebs dtm, and the like.
The application 253 is a computer program that performs at least one specific task on the operating system 251, and may include at least one module (not shown in fig. 13), each of which may include a computer program for the electronic device 2000. For example, the device control apparatus can be regarded as an application 253 deployed in the electronic device 2000.
Data 255 may be photographs, pictures, etc. stored in disk, device operational data, scene configuration schemes, etc. stored in memory 250.
The central processor 270 may include one or more processors and is configured to communicate with the memory 250 through at least one communication bus to read the computer programs stored in the memory 250, and further implement operations and processing on the mass data 255 in the memory 250. The device control method is accomplished, for example, by the central processor 270 reading a form of a series of computer programs stored in the memory 250.
Furthermore, the present application can be implemented by hardware circuits or by hardware circuits in combination with software, and therefore, the implementation of the present application is not limited to any specific hardware circuits, software, or a combination of the two.
Referring to fig. 14, in an embodiment of the present application, an electronic device 4000 is provided, where the electronic device 400 may include: smart phones, tablets, desktop computers, laptops, smart control panels, other devices with display and control functions, servers, and the like.
In fig. 14, the electronic device 4000 includes at least one processor 4001, at least one communication bus 4002, and at least one memory 4003.
Processor 4001 is coupled to memory 4003, such as via communication bus 4002. Optionally, the electronic device 4000 may further include a transceiver 4004, and the transceiver 4004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data. It should be noted that the transceiver 4004 is not limited to one in practical applications, and the structure of the electronic device 4000 is not limited to the embodiment of the present application.
The Processor 4001 may be a CPU (Central Processing Unit), a general-purpose Processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 4001 may also be a combination that performs a computational function, including, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
Communication bus 4002 may include a path that carries information between the aforementioned components. The communication bus 4002 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The communication bus 4002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 14, but that does not indicate only one bus or one type of bus.
The Memory 4003 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic Disc storage medium or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these.
A computer program is stored in the memory 4003, and the processor 4001 reads the computer program stored in the memory 4003 through the communication bus 4002.
The computer program realizes the device control method in the above embodiments when executed by the processor 4001.
In addition, a storage medium is provided in the embodiments of the present application, and a computer program is stored on the storage medium, and when being executed by a processor, the computer program realizes the device control method in the embodiments described above.
A computer program product is provided in an embodiment of the present application, the computer program product comprising a computer program stored in a storage medium. The processor of the computer device reads the computer program from the storage medium, and the processor executes the computer program, so that the computer device executes the device control method in each of the embodiments described above.
Compared with the prior art, the method and the device have the advantages that the requirements of the user are actively known through the equipment operation data, when the dynamic adjustment of the requirements of the user is determined, the scene configuration scheme can be automatically generated for the target scene, the target scene configuration can be automatically updated along with the dynamic adjustment of the requirements of the user, the efficiency of the scene configuration is improved, the complexity of manual operation of the user is avoided, the use cost of the user is greatly reduced, and the use experience of the user is favorably improved.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless otherwise indicated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a few embodiments of the present application and it should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present application, and that these improvements and modifications should also be considered as the protection scope of the present application.

Claims (11)

1. An apparatus control method, characterized by comprising:
acquiring equipment operation data, wherein the equipment operation data at least records the operation attribute of equipment; the running attribute is used for indicating at least one of an action executed by the equipment, a state after the equipment executes the action and time for the equipment to execute the action;
determining equipment configuration requirements for a target scene according to the running attributes of the equipment recorded in the equipment running data; the device configuration requirement is used for indicating that at least one device needs to configure a corresponding action in the target scene;
generating a scene configuration scheme for the target scene according to the device configuration requirement, so that at least one device executes a corresponding action configured according to the scene configuration scheme in the target scene under the condition that the target scene is executed.
2. The method of claim 1, wherein determining device configuration requirements for a target scene from operational attributes of the device recorded in the device operational data comprises:
determining whether at least one device executes a new action after the configured target scene is executed according to the running attribute of the device recorded in the device running data; the new action is distinct from an action configured for the device in a configured target scenario;
if so, taking the new action executed by at least one device as a device configuration requirement for the configured target scene to indicate that at least one device needs to reconfigure the corresponding new action in the configured target scene.
3. The method as claimed in claim 2, wherein the determining whether there is at least one of the devices performing a new action after the configured target scene is performed according to the device operation attribute recorded in the device operation data comprises:
determining the frequency of the new action executed by the equipment within a first set time length according to the running attribute of the equipment recorded in the running data of the equipment; the first set duration refers to a time period for continuously executing the configured target scene for multiple times;
determining that there is one of the devices performing the new action if the frequency exceeds a frequency threshold.
4. The method of claim 2, wherein the determining whether there is at least one device performing a new action after the configured target scene is performed according to the operational attributes of the device recorded in the device operational data comprises:
determining the number of the devices for executing the new action after the configured target scene is executed according to the running attribute of the devices recorded in the device running data;
determining that there are a plurality of the devices performing the new action if the number exceeds a number threshold.
5. The method of claim 1, wherein determining device configuration requirements for a target scene from operational attributes of the device recorded in the device operational data comprises:
determining whether a plurality of devices execute actions within a second set time length according to the operation attributes of the devices recorded in the device operation data; the second set time period refers to a time period for executing actions by a plurality of continuous devices;
if so, taking the corresponding action executed by each of the plurality of devices as a device configuration requirement for the target scene to indicate that the plurality of devices need to configure the corresponding action in the target scene.
6. The method of claim 1, wherein generating a scenario configuration scenario for the target scenario according to the device configuration requirements comprises:
according to the action which is indicated by the equipment configuration requirement and needs to be configured in the target scene, creating a scene configuration attribute of the equipment in the target scene, wherein the scene configuration attribute at least indicates the action which is configured in the target scene by the equipment;
and generating the scene configuration scheme according to the created scene configuration attributes of the devices in the target scene.
7. The method of claim 1, wherein generating a scenario configuration scenario for the target scenario according to the device configuration requirements comprises:
acquiring scene configuration attributes created by the equipment in the target scene;
adjusting the scene configuration attribute of the equipment in the target scene according to the action which is indicated by the equipment configuration requirement and needs to be configured in the target scene by the equipment;
and generating the scene configuration scheme according to the scene configuration attribute adjusted by each device in the target scene.
8. The method of any of claims 1 to 7, wherein after generating a scenario configuration scenario for the target scenario in accordance with the device configuration requirements, the method further comprises:
generating a configuration prompt message and pushing the configuration prompt message, wherein the configuration prompt message is used for prompting a user whether to confirm that the target scene is configured according to the scene configuration scheme;
in response to a determination operation for the scenario configuration scheme, configuring a corresponding action for at least one of the devices in the target scenario according to the scenario configuration scheme;
in response to an execution operation for the target scene, controlling at least one of the devices to perform a corresponding action configured in the target scene according to the scene configuration scheme.
9. An apparatus control device, characterized by comprising:
the log acquisition module is used for acquiring equipment operation data, and the equipment operation data at least records the operation attribute of the equipment; the running attribute is used for indicating at least one of an action executed by the equipment, a state after the equipment executes the action and time for the equipment to execute the action;
a requirement determining module, configured to determine, according to the operation attribute of the device recorded in the device operation data, a device configuration requirement for a target scene, where the device configuration requirement is used to indicate that at least one device needs to configure a corresponding action in the target scene;
and the scheme generation module is used for generating a scene configuration scheme for the target scene according to the equipment configuration requirement, so that at least one piece of equipment executes corresponding actions configured according to the scene configuration scheme in the target scene under the condition that the target scene is executed.
10. An electronic device, comprising: at least one processor, at least one memory, and at least one communication bus, wherein,
the memory has a computer program stored thereon, and the processor reads the computer program in the memory through the communication bus;
the computer program, when executed by the processor, implements the device control method of any one of claims 1 to 8.
11. A storage medium on which a computer program is stored, the computer program realizing the device control method according to any one of claims 1 to 8 when executed by a processor.
CN202210532411.XA 2022-05-11 2022-05-11 Device control method, device, electronic device and storage medium Pending CN115167157A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210532411.XA CN115167157A (en) 2022-05-11 2022-05-11 Device control method, device, electronic device and storage medium
PCT/CN2023/092301 WO2023216995A1 (en) 2022-05-11 2023-05-05 Device control method and apparatus, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210532411.XA CN115167157A (en) 2022-05-11 2022-05-11 Device control method, device, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN115167157A true CN115167157A (en) 2022-10-11

Family

ID=83483865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210532411.XA Pending CN115167157A (en) 2022-05-11 2022-05-11 Device control method, device, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN115167157A (en)
WO (1) WO2023216995A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023216995A1 (en) * 2022-05-11 2023-11-16 深圳绿米联创科技有限公司 Device control method and apparatus, electronic device, and storage medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150110877A (en) * 2014-03-20 2015-10-05 한국전자통신연구원 User based home automation method, apparatus thereof, and supporting method and apparatus therefor
CN112130458A (en) * 2020-09-14 2020-12-25 青岛海尔科技有限公司 Target device control method and device, storage medium and electronic device
CN113703334A (en) * 2021-09-22 2021-11-26 深圳市欧瑞博科技股份有限公司 Intelligent scene updating method and device
CN115167157A (en) * 2022-05-11 2022-10-11 深圳绿米联创科技有限公司 Device control method, device, electronic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023216995A1 (en) * 2022-05-11 2023-11-16 深圳绿米联创科技有限公司 Device control method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
WO2023216995A1 (en) 2023-11-16

Similar Documents

Publication Publication Date Title
CN108092861B (en) Configuration method for realizing equipment linkage, equipment linkage control method and device
CN109040200B (en) Access method and device of Internet of things equipment
US10185534B2 (en) Control method, controller, and recording medium
US20160372112A1 (en) Managing Interactions between Users and Applications
CN113572799B (en) Method and device for accessing equipment to control platform and server
US20020174217A1 (en) System and method for predicting network performance
CN109617963B (en) Equipment control method and device and Internet of things system
CN111367188B (en) Control method and device for intelligent home, electronic equipment and computer storage medium
CN210168064U (en) Family internet of things system based on raspberry group
CN113341743A (en) Intelligent household equipment control method and device, electronic equipment and storage medium
WO2021043062A1 (en) Cross-network wake-up method and related device
CN104917795B (en) A kind of based reminding method and device of subscription information
WO2023216995A1 (en) Device control method and apparatus, electronic device, and storage medium
CN113168334A (en) Data processing method and device, electronic equipment and readable storage medium
CN109391508B (en) Computer-implemented method for automatically composing data center resources in a data center
WO2023202678A1 (en) Device control method and apparatus, electronic device, and storage medium
CN117075508A (en) Linkage control method and device of equipment and computer equipment
CN114167742B (en) Edge data processing method, device, computer equipment and storage medium
CN115016302A (en) Device control method, device and storage medium
CN110838973B (en) Key configuration method and device of intelligent gateway and electronic equipment
CN114900388B (en) Equipment control method, device, equipment and storage medium
CN116700067A (en) Instruction optimization method and device, electronic equipment and storage medium
CN117539174A (en) Equipment control method, device, electronic equipment and storage medium
CN116647593A (en) Intelligent service pushing method and device, electronic equipment and storage medium
US20220229702A1 (en) Method, apparatus, electronic device and storage medium for creating action resources

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