WO2022222719A1 - Configuration method for internet of things device linkage, terminal, and system - Google Patents

Configuration method for internet of things device linkage, terminal, and system Download PDF

Info

Publication number
WO2022222719A1
WO2022222719A1 PCT/CN2022/084082 CN2022084082W WO2022222719A1 WO 2022222719 A1 WO2022222719 A1 WO 2022222719A1 CN 2022084082 W CN2022084082 W CN 2022084082W WO 2022222719 A1 WO2022222719 A1 WO 2022222719A1
Authority
WO
WIPO (PCT)
Prior art keywords
linkage
gateway
information
feature
feature information
Prior art date
Application number
PCT/CN2022/084082
Other languages
French (fr)
Chinese (zh)
Inventor
周荣辉
Original Assignee
杭州萤石软件有限公司
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 杭州萤石软件有限公司 filed Critical 杭州萤石软件有限公司
Publication of WO2022222719A1 publication Critical patent/WO2022222719A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • H04L12/2814Exchanging control software or macros for controlling appliance services in a home automation network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/283Processing of data at an internetworking point of a home automation network
    • H04L12/2834Switching of information between an external network and a home network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network
    • 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]

Definitions

  • the present application relates to the field of Internet of Things, and in particular, to a configuration method, terminal and system for linkage of Internet of Things devices.
  • rule configuration refers to: configuring things The rules followed to complete linkage actions/operations between networked devices.
  • the controlled devices in the smart home can complete corresponding linkage actions/operations according to the configured rules under the control of the control device.
  • the present application provides a configuration method, terminal, and system for linkage of IoT devices, so as to improve the convenience of configuration.
  • a method for configuring linkage of IoT devices includes, on the side of a terminal used for configuring and/or controlling IoT devices,
  • the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
  • the Internet of Things device includes: a first Internet of Things device for generating feature information, and a second Internet of Things device for action execution;
  • the enabling the gateway to acquire feature information in the scenario simulation process includes:
  • the receiving feature information obtained by the gateway, and generating a rule for linkage based on the feature information includes:
  • a rule used by the second Internet of Things device for linkage is generated.
  • the first IoT device is a sensor
  • the feature information is event information
  • the spatial feature is location information associated with an event
  • the time feature is time information associated with an event
  • the behavior feature is an event. associated actions
  • the event information includes trigger content, trigger parameters, trigger time interval between multiple sensors, one of trigger logic between multiple sensors, or any combination thereof;
  • the causing the gateway to record the feature information from the first IoT device includes:
  • the gateway causing the gateway to receive the event information reported by the sensor, record the reporting time of the event, and obtain the triggering time interval between multiple sensors and/or the triggering logic between multiple sensors according to the reporting time;
  • the scene model of the required scene including:
  • the method further includes:
  • the method further includes:
  • the terminal notifies the gateway to exit the feature collection mode, so that the gateway sends the acquired feature information to the terminal.
  • the method further includes:
  • the terminal pushes the scene model
  • the method further includes:
  • Receive scene simulation instruction information from the gateway and provide guidance information for scene simulation, so that the scene is simulated;
  • the method further includes:
  • the receiving feature information obtained by the gateway, and generating a rule for linkage based on the feature information includes:
  • a linkage rule is generated.
  • the receiving feature information obtained by the gateway, and generating a rule for linkage based on the feature information includes:
  • the rule is modified based on the feature information to obtain a rule for linkage.
  • Another aspect of the present application provides a method for configuring linkage of IoT devices, characterized in that the method includes, on the side of a gateway used for linkage and/or group control of IoT devices,
  • the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
  • the Internet of Things device includes: a first Internet of Things device for generating feature information, and a second Internet of Things device for action execution;
  • the acquiring feature information in the scene simulation process includes:
  • the generating a rule for linkage based on the feature information includes:
  • a rule for linkage of the second Internet of Things device is generated.
  • the first IoT device is a sensor
  • the feature information is event information
  • the spatial feature is location information associated with an event
  • the time feature is time information associated with an event
  • the behavior feature is an event. associated actions
  • the event information includes trigger content, trigger parameters, trigger time interval between multiple sensors, one of trigger logic between multiple sensors, or any combination thereof;
  • the recording feature information from the first IoT device includes:
  • the scene model of the required scene including:
  • the method before the receiving the notification sent by the terminal used for configuring and/or controlling the IoT device, and before entering the feature collection mode, the method further includes:
  • the acquiring feature information in the scene simulation process includes:
  • the method further includes:
  • the feature collection mode is exited and the configuration mode is entered.
  • the acquisition of feature information in the process of scene simulation includes:
  • the method further includes:
  • the generating a rule for linkage based on the feature information includes:
  • the required linkage information is determined according to the existing linkage corresponding to the scene model, wherein the existing linkage corresponding to the scene model is: preset linkage information applied to the simulated scene;
  • a linkage rule is generated.
  • the method further includes:
  • the generating a rule for linkage based on the feature information includes:
  • the rule In response to feedback on the determined rule from the terminal, the rule is modified according to the feedback to obtain a rule for linkage.
  • Yet another aspect of the present application provides a terminal, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of any of the above-mentioned methods for configuring an Internet of Things device on the terminal side are implemented.
  • the present application further provides a gateway device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of any of the above-mentioned methods for configuring an Internet of Things device on the gateway side are implemented.
  • Still another aspect of the present application provides an IoT system, including a terminal for configuring and/or controlling IoT devices, a gateway for linking and/or group-controlling IoT devices, and IoT devices, the terminal is used for The steps of implementing any one of the Internet of Things device configuration methods on the terminal side.
  • Yet another aspect of the present application provides an IoT system, including a terminal for configuring and/or controlling IoT devices, a gateway for linking and/or group-controlling IoT devices, and IoT devices, the gateway being used for The steps of implementing any one of the Internet of Things device configuration methods on the gateway side.
  • a configuration device for linkage of IoT devices is provided.
  • the device is arranged on a terminal side for configuring and/or controlling IoT devices, and the device includes:
  • a mode notification module configured to notify the gateway used for linkage and/or group control of IoT devices to enter the feature collection mode, so that the gateway acquires feature information during the scenario simulation process;
  • a rule generation module configured to receive the feature information obtained by the gateway, and generate a rule for linkage based on the feature information
  • a rule sending module configured to send the generated rule to the gateway
  • the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
  • Another aspect of the present application provides a configuration device for linkage of IoT devices, which is arranged on a gateway side for linkage and/or group control of IoT devices, and the device includes:
  • a notification receiving module configured to receive a notification sent by a terminal used to configure and/or control the IoT device, and enter the feature collection mode
  • a feature acquisition module configured to acquire feature information in the scene simulation process in the feature acquisition mode
  • a rule generation module for generating rules for linkage based on the feature information
  • the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
  • Yet another aspect of the present application provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, implements the steps of any of the above-mentioned methods for configuring an Internet of Things device on the terminal side.
  • Yet another aspect of the present application provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, implements the steps of any one of the aforementioned methods for configuring an Internet of Things device on the gateway side.
  • Yet another aspect of the present application provides a computer program product containing instructions, which, when run on a computer, cause the computer to execute the steps of any one of the aforementioned methods for configuring an Internet of Things device on the terminal side.
  • a computer program product containing instructions, which, when executed on a computer, causes the computer to execute the steps of any one of the aforementioned methods for configuring an Internet of Things device on the gateway side.
  • a method for configuring the linkage of IoT devices generates a linkage based on the spatial feature, temporal feature, behavior feature of the target's behavioral trajectory acquired by the gateway or the feature information of any combination thereof during the scene simulation process.
  • the rules provide users with a scene-immersive feature information input method, without the need to configure the associated IoT devices one by one, avoiding the complex configuration process, improving the convenience of configuration, meeting the user's personalized configuration needs, improving
  • the feature information is obtained through the scene presentation result formed by the scene simulation, and the linkage configuration is performed based on the above-mentioned feature information, the accuracy of the linkage configuration can be improved.
  • FIG. 1 is a schematic diagram of the regular configuration of lighting lamps and curtains.
  • FIG. 2 is a schematic flowchart of configuration on the terminal side of the present application.
  • FIG. 3 is a schematic flowchart of configuration on the gateway side of the present application.
  • FIG. 4 is a schematic diagram of a smart home system.
  • FIG. 5 is a schematic flowchart of a rule configuration method in a home application scenario according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram of the gateway performing linkage control according to rule 1.
  • FIG. 7a is a schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 2 of the present application.
  • FIG. 7b is another schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 2 of the present application.
  • FIG. 8a is a schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 3 of the present application.
  • FIG. 8b is another schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 3 of the present application.
  • FIG. 9 is a schematic diagram of a terminal implementing the rule configuration method of the present application.
  • FIG. 10 is a schematic diagram of a gateway implementing the rule configuration method of the present application.
  • FIG. 11 is a schematic diagram of a gateway or terminal implementing the rule configuration method of the present application.
  • an application scenario requires at least one linkage action/operation between IoT devices. Corresponding to at least one rule.
  • multiple linkages will form a linkage set, and multiple corresponding rules will form a rule set, which will lead to users when configuring rules for IoT devices.
  • the process of configuring the rules triggered by the combination of sensors in multiple IoT devices is complicated, and the configuration period is long, which is inconvenient for users to operate.
  • FIG. 1 is a schematic diagram of a regular configuration of the lighting lamp and the curtain.
  • the user When the user configures the linkage rules through the terminal, the user needs to configure the temperature conditions under which the infrared sensor that the controlled lighting depends on will trigger the lighting to be turned on, and the temperature conditions under which the infrared sensor will trigger the lighting to be turned off. When closed, trigger the curtain to open. This means that the user needs to determine whether there are other trigger conditions besides the temperature condition in order to configure the rules for linkage control.
  • the gateway When users configure linkage rules through the terminal, they can send the configured rules to the gateway through the terminal, and then the gateway returns the configuration result to the terminal, and the gateway issues control commands to the controlled device according to the configured rules.
  • the sensor device in the controlled device collects a trigger event that satisfies the trigger conditions, for example, when the infrared sensor detects that the set temperature is reached and the lighting is turned off, the trigger event is reported to the gateway, and the gateway responds to the trigger event, and the user configures the trigger event. Then, the controlled device will send instructions to turn off the lights and open the curtains to the controlled device. After the controlled device executes the instructions from the gateway, it will report the execution result to the gateway device. and status, the gateway feeds back the execution result and status to the terminal.
  • the present application provides a method for configuring linkage of IoT devices, which acquires feature information in the process of simulating a required scenario, and generates rules for linkage of IoT devices based on the feature information.
  • the feature information includes one or any combination of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process.
  • the above target refers to the object used to trigger the controlled device, generally the user.
  • the above behavioral trajectory refers to: the trajectory of the behavior generated by the target during the scene simulation process; the above behavioral feature refers to: the behavioral characteristic of the target reflected by the above behavioral trajectory.
  • the above required scenarios refer to simulated scenarios, which can be understood as application scenarios that require linkage of IoT devices. The following is a detailed introduction to the configuration method for the linkage of the IoT devices provided in this application.
  • the terminal can generate the rules for the linkage of the IoT devices, and the gateway can also generate the rules for the linkage of the IoT devices, which will be described in detail below.
  • FIG. 2 is a schematic flowchart of configuration on the terminal side of the present application.
  • the following steps 201-203 are performed to implement rule configuration:
  • Step 201 informing a gateway used for linkage and/or group control of IoT devices to enter a feature collection mode, so that the gateway acquires feature information in a scenario simulation process;
  • the above-mentioned scenario simulation refers to: the target simulates the trigger event of the controlled device in the actual application scenario, and simulates triggering the controlled device to execute the corresponding linkage action/operation.
  • the above feature collection mode is used to: collect feature information of the behavioral trajectory of the target during the scene simulation process.
  • the above feature information is: information extracted based on the behavior trajectory of the target during the scene simulation process.
  • the target can perform scene simulation
  • the terminal can notify the gateway to perform a feature collection mode.
  • the gateway can obtain feature information extracted based on the behavior trajectory of the target during the scene simulation process.
  • Step 202 receiving the feature information obtained by the gateway, and generating a rule for linkage based on the feature information
  • the gateway may send the above characteristic information to the terminal, so that the terminal obtains the characteristic information, and then generates a rule for linkage of the controlled device based on the characteristic information.
  • Step 203 sending the generated rule to the gateway.
  • the terminal after the terminal generates the linkage rule, it can send the above-mentioned rule to the gateway, and the gateway obtains the rule and stores it, so as to control the controlled device to perform linkage based on the rule in the future, so as to realize the configuration of the linkage rule of IoT devices.
  • FIG. 3 is a schematic flowchart of configuration on the gateway side of the present application. On the gateway side of the IoT system, the following steps 301-303 are performed to implement rule configuration:
  • Step 301 receiving a notification sent by a terminal used to configure and/or control the IoT device, and enter a feature collection mode
  • the user can send a notification to the gateway through the terminal to control the gateway to perform the feature collection mode.
  • Step 302 in the feature collection mode, obtain feature information in the scene simulation process
  • the target can perform scene simulation
  • the gateway can obtain feature information extracted based on the target's behavioral trajectory during the scene simulation process.
  • Step 303 generating a rule for linkage based on the feature information.
  • the gateway can generate and store the rules for the linkage of IoT devices based on the feature information, so as to facilitate the subsequent control of the controlled devices to conduct linkage based on the rules, so as to realize the linkage rules of IoT devices. configuration.
  • the IoT device includes a first IoT device for generating feature information, and a second IoT device for performing an action; the feature information comes from the first IoT device.
  • the method for configuring the linkage of IoT devices of the present application is to obtain one of the spatial characteristics, temporal characteristics, and behavior characteristics of the behavioral trajectory of the target during the scene simulation process, or any one or any
  • the combination enables the information input in the configuration process to be realized in a scene immersive way, which not only improves the accuracy of rule configuration, but also improves the convenience of the user to configure the rules, and improves the user experience.
  • the following takes the rule configuration of the smart home as an example to illustrate. It should be understood that this application is not limited to the rule configuration of the smart home, and is also applicable to the rule configuration of the Internet of Things devices in other Internet of Things systems. .
  • FIG. 4 is a schematic diagram of a smart home system.
  • the smart home system includes: terminals, cloud service platforms, gateways, and controlled devices, among which,
  • the terminal is used to upload configuration and/or control signaling to the cloud service platform, and the signaling is forwarded to the gateway through the cloud service platform for transmission to the gateway.
  • the terminal is a smart phone, running an application program that can be used for rule configuration.
  • the cloud service platform can carry various IoT services. It is the transmission and transmission center for configuration signaling and control signaling. It is also used to store information such as gateway network parameters and the status of controlled devices.
  • the above configuration signaling refers to signaling for configuring linkage rules
  • the control signaling refers to signaling for controlling the controlled device to perform linkage actions/operations according to linkage rules.
  • the above-mentioned gateway network parameters may include parameters such as the address and identification of the gateway, and the state of the controlled device may include: online, offline, not executing the linkage action, executing the linkage action, and the like.
  • the gateway is used to perform functions such as linkage and group control issued by the cloud service platform, parse the signaling into actions, and distribute it to each controlled device. Specifically, it can receive the control information sent by the cloud service platform. order, parse the above signaling into actions that the controlled device needs to perform, and then send the signaling representing the above actions to the corresponding controlled device, so that the controlled device completes the corresponding action according to the received signaling; and It is also used to collect the status reported by each controlled device.
  • functions such as linkage and group control issued by the cloud service platform, parse the signaling into actions, and distribute it to each controlled device. Specifically, it can receive the control information sent by the cloud service platform. order, parse the above signaling into actions that the controlled device needs to perform, and then send the signaling representing the above actions to the corresponding controlled device, so that the controlled device completes the corresponding action according to the received signaling; and It is also used to collect the status reported by each controlled device.
  • the controlled device includes routing nodes and device nodes.
  • the execution body of the action it can execute the corresponding action according to the signaling sent by the gateway, and report the execution result and device status to the gateway at the same time.
  • smart curtains, infrared sensors, switch panels (routing nodes), and door magnetic sensors are all controlled devices.
  • FIG. 5 is a schematic flowchart of a rule configuration method in a home application scenario according to an embodiment of the present application.
  • the application program in the terminal is run and enters the configuration mode.
  • the configuration method includes the following steps 501-506:
  • Step 501 the terminal provides the controlled device information to the user, so as to facilitate the user's selection.
  • the controlled device information includes information of a first controlled device used to generate trigger condition information, and information of a second controlled device used to perform an action
  • the first controlled device is usually a sensor device
  • the The second controlled device is usually a non-sensor device.
  • the user can select the controlled device according to the desired scene.
  • step 502 the terminal receives the user's input selection, and sends the selected controlled device information to the gateway in order to notify the gateway to enter the feature collection mode, so that the gateway enters the feature collection mode.
  • the terminal may The information is sent to the gateway, and the gateway is notified to enter the feature collection mode, so that the gateway can subsequently obtain feature information from the first controlled device.
  • Step 503 In response to the received controlled device information, the gateway, after entering the feature collection mode, returns an instruction to perform scene simulation to the terminal, and acquires feature information in the process of the scene being simulated.
  • the terminal can prompt the user to perform the scene simulation according to the required scene, so that the scene can be presented, and the gateway enters the feature collection mode to collect the behavior track of the target during the scene simulation process.
  • the associated feature information of the collected behavior trajectories is generated, and the gateway can complete the data collection for scene model construction by recording the generated feature information.
  • the feature information can be any information used to generate scene model data, it can be static information or dynamic information, preferably, it can be one of spatial features, temporal features and behavioral features in the behavioral trajectory of the target or any combination thereof, for example, key positions in behavior trajectories, time intervals between adjacent behaviors, characteristics of specific action behaviors, etc. A series of continuous action sets reflected by the behavioral trajectory of the target obtained by such data collection
  • the associated feature information can be used to present the simulated scene to realize the establishment of a scene model.
  • the scene model can represent the scene simulated in the scene simulation process.
  • the gateway can record the feature information from the controlled device according to the received controlled device information, for example, the gateway can record the trigger parameters and/or trigger time interval of the first controlled device selected by the user, as Feature information from the first controlled device.
  • the bedroom lighting is turned off, the bedroom curtains are turned on, and the living room lighting is turned on.
  • the user can select the second controlled device 1 used for curtain opening and closing, the second controlled device 2 of the lighting switch, the door magnetic sensor, and the infrared sensor as the controlled device through the terminal; the user simulates moving from the bedroom to the living room according to personal habits
  • the process move to the bedroom door, trigger the door sensor to open the bedroom door, within the set time threshold, the infrared sensor collects the signal.
  • the time threshold is: a threshold determined based on the time required for the user to walk from the bedroom to the living room, and the infrared sensor is used to detect whether the user reaches the living room.
  • the door sensor reports the door sensor trigger event to the gateway, and the gateway records the receiving time 1 of the door sensor trigger event; when the infrared sensor detects that the user is in the living room, it reports to the gateway The event is detected, and the gateway records the reception time 2 of the detection event, and then the time difference between the reception time 1 and the reception time 2 can be determined as a time threshold.
  • the gateway can determine the triggering time interval between each event, and then the above time interval can be used as one of the feature information to improve the correlation between each feature information in the process of scene simulation, so as to avoid and Confusion of isolated feature information, resulting in unwanted rule configurations.
  • Step 504 when the scenario simulation process ends, the terminal notifies the gateway to exit the feature collection mode, so that the gateway sends the feature information collected in the feature collection mode, such as the data (sensor data) of the first controlled device, to the terminal, so that it can be easily
  • the terminal generates linkage rules based on the recorded feature information.
  • the scene simulation usually requires the user to perform corresponding operations, when the simulated scene ends, the user can end the scene simulation process by operating the terminal.
  • Step 505 the terminal generates a rule for linkage based on the acquired feature information.
  • the terminal may generate a rule for linkage according to the recorded event information from the first controlled device.
  • the feature information may be event information
  • the above-mentioned event information refers to the information of the trigger event collected by the first controlled device during the scene simulation process
  • the above-mentioned trigger event refers to: the trigger event that triggers the controlled device to perform the linkage action/operation event.
  • the spatial feature is the location information associated with the event
  • the temporal feature is the time information associated with the event
  • the behavioral feature is the action associated with the event
  • the event information includes but is not limited to trigger content, trigger parameters, trigger time interval between multiple sensors, multiple One or any combination of trigger logic between sensors.
  • the terminal can construct a scene model of the required scene according to the received feature information, and based on the scene model, generate a rule for the linkage of the second controlled device.
  • the scene model is used to represent the scene simulated in the scene simulation process, and the above event information is the trigger event information collected during the scene simulation process, the recorded event information can be directly used as the scene model of the required scene.
  • the terminal can provide the user with the selection of the second controlled device related to the event information, so as to generate a rule for linkage.
  • the terminal may provide the user with information about multiple second controlled devices associated with the above event information, and the user selects the second controlled device for linkage, and the terminal selects the second controlled device based on the selected second controlled device and the above event. information to generate linkage rules for linkage between the selected second controlled devices.
  • the generated rule 1 can be: if the infrared sensor is triggered within the time threshold after the door sensor is triggered, the bedroom lighting is turned off, the bedroom curtains are opened, and the living room lighting is turned on.
  • the terminal can configure the execution time, frequency, and adaptive target personnel of the generated linkage rules by configuring the execution time, frequency, and target personnel of the scenario model, thereby realizing common constraints on the rules.
  • Condition configuration For example, for the application scenario that the above scenario 1 needs to be adapted to a family member such as grandma every morning, the terminal can configure the execution time of the scenario model to be morning, the frequency to be once, and the adapted target person to be grandma.
  • step 506 the terminal sends the generated rule to the gateway so that the gateway can save it, and the terminal and the gateway respectively exit the configuration mode, thereby completing the rule configuration.
  • the configuration method of this embodiment is implemented by the application program of the terminal, and the feature information in the scene simulation process obtained by the gateway is used to obtain the data of the scene model, which avoids the need for the user to understand the functions, linkage logic, linkage parameters, etc. of the Internet of Things device. It has the disadvantage that configuration can only be performed after a certain understanding, which reduces the complexity of user configuration rules and does not adversely affect the accuracy of linkage rules; moreover, it meets the user's personalized configuration requirements, making configuration easier;
  • the feature information of is formed by scene simulation, which improves the accuracy of the data used to build the scene model, thereby helping to improve the accuracy of rule configuration and improve the efficiency of configuration.
  • FIG. 6 is a schematic diagram of the gateway performing linkage control according to rule 1.
  • the door sensor reports the door sensor trigger event to the gateway.
  • the infrared sensor reports the detection event to the gateway.
  • the gateway reports the door sensor trigger event, the detection event, and the time difference between the two events.
  • match with the saved rules, and when the match is successful send a control command to the second controlled device, which specifically includes sending a command to turn off the bedroom lighting and turn on the living room lighting to the lighting controlled device, and send the curtain to the controlled device to turn on the lighting. Bedroom curtains order.
  • the controlled device After the controlled device completes the operation, it reports the execution result and current status to the gateway.
  • the gateway can send the above linkage result and the current state of the controlled device to the terminal. From the perspective of user experience, when the user moves from the bedroom to the living room, they can experience the linkage result of a series of automation of turning off the bedroom lighting, opening the bedroom curtains, and turning on the living room lighting.
  • Fig. 7a is a schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 2 of the present application.
  • the application program in the terminal is run and enters the configuration mode.
  • the configuration method includes the following steps 701-707:
  • Step 701 the terminal pushes the scene model to the user for the user to select.
  • the terminal pushes the scene model to the user.
  • the scene model may be obtained by the terminal by accessing the cloud service, or obtained from the scene model stored locally on the terminal and/or the gateway. In this way, the user When configuring, you do not need to know the parameters, functions and other information of each controlled device, but only need to pay attention to the service requirements, thereby reducing the difficulty of configuration.
  • scene models There are many types of scene models, and different scene models correspond to different services and different linkages.
  • a scene model can correspond to multiple services, and a service can also be implemented by multiple scene models.
  • scene models can be established and updated according to requirements.
  • the scene model may include: morning scene model, noon scene model, night scene model, etc.; according to the dimension of living habits, the scene model may include: learning scene model, work scene model, entertainment scene model, cooking scene model and many more.
  • a scene model with a larger granularity may also include a sub-scene model with a smaller granularity.
  • the morning scene model may include a wake-up sub-scene model, a breakfast sub-scene model, and so on. Users can make corresponding choices according to their needs.
  • Step 702 after receiving the user's selection, the terminal notifies the gateway to enter the feature collection mode;
  • Step 703 After the gateway enters the feature collection mode, it returns an instruction to perform the scenario simulation to the terminal to remind the user to start the scenario simulation and acquire feature information during the scenario simulation process.
  • the gateway can record event information during the scenario simulation process.
  • scene 2 is a wake-up scene model selected by the user.
  • the curtains are opened and the sound is turned on.
  • the feature information of the scene model is the set time information.
  • the terminal prompts the user to input the set time, so that the gateway records the input time information as event information.
  • the terminal when it receives an instruction from the gateway scene simulation, it provides guidance information that enables the user to perform scene simulation to form a scene presentation according to the scene model selected by the user, so as to guide the user to perform the scene simulation, thereby improving the collected scene. Accuracy of feature information during simulation.
  • Step 704 when the scenario simulation process ends, the terminal notifies the gateway to exit the feature collection mode.
  • Step 705 after the gateway exits the feature collection mode, it sends the acquired feature information to the terminal, so as to generate linkage rules on the terminal side.
  • Step 706 the terminal generates a linkage rule according to the scene model selected by the user.
  • the required linkage information can be determined according to the existing linkage corresponding to the scene model. Feature information and determined linkage information to generate linkage rules;
  • the existing linkage corresponding to the scene model is: preset linkage information applied to the simulated scene.
  • the existing linkage corresponding to the wake-up scene model is: open the curtains and turn on the sound.
  • the rules for generating linkage are: if the set time is reached, open the curtains and turn on the sound.
  • step 707 the terminal sends the generated rule to the gateway so that the gateway can save it, and the terminal exits the configuration mode, thereby completing the rule configuration.
  • FIG. 7b is another schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 2 of the present application.
  • the generation of the rules can also be implemented on the gateway side, therefore, another implementation manner of the above steps 702 to 707 can also be:
  • Step 702' after receiving the user's selection, the terminal sends the scene model information selected by the user to the gateway;
  • Step 703' the gateway enters the feature collection mode in response to the received scene model information, and returns an instruction to perform the scene simulation to the terminal to remind the user to start the scene simulation and obtain feature information during the scene simulation process.
  • the gateway provides guidance information for the user to simulate the scene to form the scene presentation, so as to guide the user to perform the scene simulation, thereby improving the accuracy of the collected feature information during the scene simulation process.
  • Step 704' when the scenario simulation process ends, the terminal notifies the gateway to exit the feature collection mode so as to generate a rule.
  • Step 705' the gateway exits the feature collection mode and enters the configuration mode in response to the notification sent by the terminal to exit the feature collection mode, and generates a linkage rule according to the scene model selected by the user.
  • the user does not need to determine the service function by himself. Therefore, according to the existing linkage corresponding to the scene model, the required linkage information is determined, and the linkage rule is generated according to the feature information and the determined linkage information;
  • the gateway can also interact with the terminal to configure the execution time, frequency, and adaptive target personnel of the scene model.
  • Step 706' the gateway notifies the terminal of the configuration result and exits the configuration mode. After receiving the configuration result, the terminal exits the current configuration mode.
  • the user only needs to select the scene model corresponding to the required scene and simulate the scene so that the gateway can obtain the feature information in the scene simulation process, and then the rule configuration can be completed.
  • This method greatly reduces the difficulty of the rule configuration; in addition, The way in which the linkage rules are generated by the gateway can reduce the interaction process between the gateway and the terminal, which is beneficial to improve the efficiency of configuration.
  • Fig. 8a is a schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 3 of the present application.
  • the application program in the terminal is run and enters the configuration mode.
  • the configuration method includes the following steps 801-805:
  • step 801 the terminal notifies the gateway to enter the feature collection mode, and the gateway returns an instruction to perform the scenario simulation to the terminal to remind the user to start the scenario simulation and acquire feature information during the scenario simulation process.
  • the terminal can provide the user with guidance information in the scene required by the user simulation, so that the user can simulate the scene according to the above guidance information, and then generate feature information in the scene simulation process for the gateway to record.
  • the terminal may prompt the user to trigger the door magnetic sensor, trigger the infrared sensor, and so on.
  • the scene 3 required by the user is that when the night rises, the night lights on the track are turned on along with the moving track, and the terminal can guide the user to input a time range as the execution time of the night event, and guide the user to trigger the movement on the track. In this way, when each infrared sensor on the moving track detects a target, each detection event is sent to the gateway, and the gateway can record each detection event and the reported execution time.
  • Step 802 when the scenario simulation process ends, the terminal notifies the gateway to exit the feature collection mode.
  • Step 803 After the gateway exits the feature collection mode, it sends the acquired feature information to the terminal, so as to generate rules on the terminal side.
  • Step 804 The terminal receives the feature information acquired by the gateway, and generates a rule for linkage based on the feature information.
  • the terminal determines the scene corresponding to receiving the feature information acquired by the gateway according to the preset first correspondence between the feature information set and the linkage set, and the preset second correspondence between the linkage set and the scene model set model, according to the third corresponding relationship between the preset scene model and the existing rules, to generate the linkage rules; when the determined linkage rules do not meet the requirements, modify the rules based on the feature information to obtain the linkage rules, and follow-up
  • the modified rules can be sent to the gateway.
  • the terminal may determine the linkage corresponding to the feature information from the first correspondence, and then determine the scene model corresponding to the linkage from the second correspondence, and finally obtain the scene model corresponding to the feature information.
  • the existing rule corresponding to the scene model can be determined from the third corresponding relationship as a preliminary linkage rule, and then it can be judged whether the linkage rule meets the requirements.
  • the linkage rule; otherwise, the preliminary linkage rule can be modified by using the above feature information, and the modified rule is used as the final linkage rule.
  • the terminal can determine the scene model corresponding to receiving the feature information obtained by the gateway according to the first correspondence between the event set and the linkage set preconfigured by the home system, and the second correspondence between the preset linkage set and the scene model set.
  • the table shows a schematic diagram of the linkage set constructed based on the event set, wherein the symbol ⁇ represents the corresponding event.
  • the terminal may determine the corresponding linkage according to the linkage set preconfigured by the home system, which may include: controlling when the above-mentioned events are satisfied The linkage 1 of the curtains, the linkage 2 of lighting control when the above events are met, the linkage 3 of controlling the working state of the air conditioner when the above events are met, the linkage 4 of controlling the sound when the above events are met, etc.
  • the terminal outputs corresponding to each event.
  • the linkage is for the user to choose, and further, maintenance operations such as adding, deleting, and updating the linkage corresponding to the event can be performed through the terminal.
  • the terminal determines the scene model according to the second correspondence between the linkage set preconfigured by the home system and the scene model. For example, if the user selects linkage 1 and 2, it means that the corresponding scene model exists to meet the needs of the linkage control of curtains and lighting during the event. In this way, the linkage rules can be determined according to the scene model. Preferably, the terminal can also perform maintenance operations such as adding, deleting, and updating the rules corresponding to the scene model, so as to further improve the convenience of rule configuration.
  • the terminal obtains the execution time, frequency, and adapted target personnel of the scene model, and the like.
  • step 805 the terminal sends the generated rule to the gateway so that the gateway can save it, and the terminal and the gateway respectively exit the configuration mode, thereby completing the rule configuration.
  • Fig. 8b is another schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 3 of the present application.
  • the generation of the rules can also be implemented on the gateway side, therefore, another implementation of the above steps 804 to 805 can also be:
  • Step 804' the gateway exits the feature collection mode and enters the configuration mode in response to the notification sent by the terminal to exit the feature collection mode, and in the configuration mode, generates a rule for linkage based on the feature information.
  • the gateway may determine, according to the preset first correspondence between the feature information set and the linkage set, and the preset second correspondence between the linkage set and the scene model set, the corresponding one to receive the feature information acquired by the gateway.
  • the scene model according to the third correspondence between the preset scene model and the existing rules, determines the rules of linkage; sends the determined rules to the terminal, so that the terminal returns feedback on the determined rules, and responds to the determined rules from the terminal. Feedback of the rule, modify the rule according to the feedback, and get the rule for linkage.
  • the gateway can determine the scene model corresponding to receiving the feature information obtained by the gateway according to the first correspondence between the event set and the linkage set preconfigured by the home system, and the second correspondence between the preset linkage set and the scene model set.
  • the gateway can interact with the terminal to obtain the execution time, frequency, and adaptive target personnel of the scene model.
  • Step 805' the gateway sends the generated rule to the terminal, so that the user can confirm the rule and/or modify the rule through feedback from the terminal.
  • the terminal sends an instruction to confirm the existing rule to the gateway, so that the gateway saves the existing rule.
  • the user can modify the existing rules through the terminal, and then the gateway can interact with the terminal to obtain the rules modified by the user through the terminal.
  • the terminal receives the rules from the gateway, and the user finds that in addition to the curtain control and lighting control, the water heater control is also required to control the water heater to start heating. Then the user can add a rule for turning on the water heater through the terminal, and send the modified rule to the gateway through the terminal, so that the gateway can save it.
  • the gateway can maintain the first corresponding relationship between the event and the linkage according to the rules modified by the user from the terminal. Specifically, it can add, delete, and update the linkage corresponding to the event, and can also maintain the second linkage between the linkage and the scene model.
  • the corresponding relationship is maintained, specifically, adding, deleting, and updating the scene model corresponding to the linkage, and maintaining the existing rules corresponding to the scene model, specifically, adding, deleting, and updating the rules corresponding to the scene model.
  • Step 806 ′ the gateway and the terminal exit the configuration mode respectively, and the configuration ends.
  • the linkage information is determined according to the event information
  • the corresponding scene model is determined according to the linkage information
  • the rules are determined according to the scene model. It can also be maintained according to user needs, so that both the efficiency of configuration can be taken into account, and the individual configuration requirements can be met; in addition, since the process of determining linkage based on event information, determining scene model based on linkage, and determining rules based on scene model are all It is implemented by gateways and/or terminals. For users, it is only necessary to select the linkage according to the event, without caring about the mechanism of the event, which greatly reduces the user's technical threshold and facilitates the user's operation.
  • FIG. 9 is a schematic diagram of a terminal implementing the rule configuration method of the present application.
  • the terminal includes a first rule configuration module for notifying a gateway used for linkage and/or group control of IoT devices to enter a feature collection mode, so that the gateway obtains feature information in the process of scene simulation, and receives the feature information obtained by the gateway. Based on the feature information, the rules for linkage are generated based on the feature information; the generated rules are sent to the gateway.
  • FIG. 10 is a schematic diagram of a gateway implementing the rule configuration method of the present application.
  • the gateway includes a second rule configuration module, configured to receive a notification sent by a terminal used to configure and/or control the IoT device, enter a feature collection mode, and in the feature collection mode, acquire feature information during the scenario simulation process; based on The feature information generates rules for linkage.
  • FIG. 11 is a schematic diagram of a gateway or terminal implementing the rule configuration method of the present application.
  • the gateway or terminal includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, implements the steps of the method for configuring an Internet of Things device.
  • the memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage.
  • RAM Random Access Memory
  • NVM non-Volatile Memory
  • the memory may also be at least one storage device located away from the aforementioned processor.
  • the above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (Digital Signal Processing, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • CPU Central Processing Unit
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the above method for configuring an Internet of Things device are implemented.
  • the embodiment of the present application also provides a configuration device for linkage of IoT devices, the device is set on a terminal side for configuring and/or controlling IoT devices, and the device includes:
  • a mode notification module configured to notify the gateway used for linkage and/or group control of IoT devices to enter the feature collection mode, so that the gateway acquires feature information during the scenario simulation process;
  • a rule generation module configured to receive the feature information obtained by the gateway, and generate a rule for linkage based on the feature information
  • a rule sending module configured to send the generated rule to the gateway
  • the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
  • the Internet of Things device includes: a first Internet of Things device for generating feature information, and a second Internet of Things device for action execution;
  • the mode notification module is specifically used for:
  • the rule generation module includes:
  • a model building unit configured to receive the feature information obtained by the gateway, and construct a scene model of the required scene according to the received feature information
  • a rule generation unit configured to generate a rule for linkage of the second Internet of Things device based on the scene model.
  • the first IoT device is a sensor
  • the feature information is event information
  • the spatial feature is location information associated with an event
  • the time feature is time information associated with an event
  • the behavior feature is an event. associated actions
  • the event information includes trigger content, trigger parameter, trigger time interval between multiple sensors, one of trigger logic between multiple sensors, or any combination thereof;
  • the mode notification module is specifically used for:
  • the model building unit is specifically used for:
  • the feature information acquired by the gateway is received, and the received event information is used as the scene model of the required scene.
  • the device further includes an information receiving module for:
  • the gateway for linking and/or group controlling IoT devices Before the gateway for linking and/or group controlling IoT devices enters the feature collection mode, receive the IoT device information selected by the user, and send the IoT device information to the gateway, so that the gateway records the IoT device information.
  • the apparatus also includes a mode exit module for:
  • the terminal After causing the gateway to acquire the feature information in the scenario simulation process, when the scenario simulation ends, the terminal notifies the gateway to exit the feature collection mode, so that the gateway sends the acquired feature information to the terminal.
  • the device further includes a selection receiving module for:
  • the terminal pushes the scenario model before the notification that the gateway for linkage and/or group control of IoT devices enters the feature collection mode;
  • the device also includes a guidance information receiving module for:
  • the apparatus also includes a mode exit module for:
  • the rule generation module is specifically used for:
  • the gateway Receive the feature information obtained by the gateway, and determine the required linkage information according to the existing linkage corresponding to the scene model, wherein the existing linkage corresponding to the scene model is: a preset linkage applied to the simulated scene information;
  • a linkage rule is generated.
  • the rule generation module is specifically used for:
  • the rule is modified based on the feature information to obtain a rule for linkage.
  • the embodiment of the present application also provides a configuration device for linkage of IoT devices, which is arranged on the gateway side for linkage and/or group control of IoT devices, and the device includes:
  • a notification receiving module configured to receive a notification sent by a terminal used to configure and/or control the IoT device, and enter the feature collection mode
  • a feature acquisition module configured to acquire feature information in the scene simulation process in the feature acquisition mode
  • a rule generation module for generating rules for linkage based on the feature information
  • the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
  • the Internet of Things device includes: a first Internet of Things device for generating feature information, and a second Internet of Things device for action execution;
  • the feature acquisition module is specifically used for:
  • the rule generation module includes:
  • the model building unit is used to build the scene model of the required scene according to the received feature information
  • a rule generating unit configured to generate a rule for linkage of the second Internet of Things device based on the scene model.
  • the first IoT device is a sensor
  • the feature information is event information
  • the spatial feature is location information associated with an event
  • the time feature is time information associated with an event
  • the behavior feature is an event. associated actions
  • the event information includes trigger content, trigger parameters, trigger time interval between multiple sensors, one of trigger logic between multiple sensors, or any combination thereof;
  • the feature acquisition module is specifically used for:
  • the event information reported by the sensor is received, the reporting time of the event is recorded, and the triggering time interval between multiple sensors and/or the triggering logic between multiple sensors is obtained according to the reporting time;
  • the model building unit is specifically used for:
  • the device further includes a device information receiving module for:
  • receiving the notification sent by the terminal for configuring and/or controlling the IoT device receiving the IoT device information selected by the user sent by the terminal;
  • the feature acquisition module is specifically used for:
  • the apparatus also includes a mode exit module for:
  • the feature collection mode is exited and the configuration mode is entered.
  • the feature acquisition module is specifically used for:
  • the apparatus also includes a mode exit module for:
  • the rule generation module is specifically used for:
  • the required linkage information is determined according to the existing linkage corresponding to the scene model, wherein the existing linkage corresponding to the scene model is: preset linkage information applied to the simulated scene;
  • a linkage rule is generated.
  • the device further includes a mode exit module for:
  • the rule generation module is used for:
  • the rule In response to feedback on the determined rule from the terminal, the rule is modified according to the feedback to obtain a rule for linkage.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, steps of any of the terminal-side IoT device configuration methods are implemented.
  • Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of any of the gateway-side IoT device configuration methods are implemented.
  • Embodiments of the present application also provide a computer program product containing instructions, which, when running on a computer, cause the computer to execute any of the steps of the terminal-side IoT device configuration method.
  • Embodiments of the present application also provide a computer program product containing instructions, which, when run on a computer, cause the computer to execute any of the steps of the gateway-side IoT device configuration method.
  • the description is relatively simple, and for related parts, please refer to the partial description of the method embodiment.

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

Disclosed in the present application are a configuration method for Internet of Things device linkage, a terminal, and a system. The method comprises: notifying, on a terminal side for configuring and/or controlling an Internet of Things device, a gateway, which is used for performing linkage and/or group control on the Internet of Things device, of the entering of a feature collection mode, such that the gateway acquires feature information in a scene simulation process; receiving the feature information acquired by the gateway, and generating a rule for linkage on the basis of the feature information; and sending the generated rule to the gateway, wherein the feature information comprises one or any combination of a spatial feature, a temporal feature and a behavior feature of a behavior trajectory of a target in the scene simulation process. By means of the present application, a scene immersive feature information input manner is provided for a user, so as to implement rule configuration, thereby avoiding a complex configuration process for the user, improving the convenience of configuration, and enriching personalized configuration requirements.

Description

物联网设备联动的配置方法、终端、***Configuration method, terminal and system for linkage of IoT devices
本申请要求于2021年04月23日提交中国专利局、申请号为202110442325.5、申请名称为“物联网设备联动的配置方法、终端、***”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on April 23, 2021 with the application number 202110442325.5 and the application title "Configuration method, terminal and system for linkage of Internet of Things devices", the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及物联网领域,特别地,涉及一种物联网设备联动的配置方法、终端、***。The present application relates to the field of Internet of Things, and in particular, to a configuration method, terminal and system for linkage of Internet of Things devices.
背景技术Background technique
随着物联网技术的发展,越来越多的物联网设备可以通过规则配置,来使得物联网设备之间完成联动动作/操作,从而提供用户所需的服务,上述规则配置指的是:配置物联网设备之间完成联动动作/操作所遵循的规则。例如,在智能家居***中,通过规则配置,使得智能家居中的被控设备在控制设备的控制下,按照配置的规则完成对应的联动动作/操作。With the development of IoT technology, more and more IoT devices can be configured through rules to complete linkage actions/operations between IoT devices, so as to provide services required by users. The above rule configuration refers to: configuring things The rules followed to complete linkage actions/operations between networked devices. For example, in a smart home system, through rule configuration, the controlled devices in the smart home can complete corresponding linkage actions/operations according to the configured rules under the control of the control device.
现有的物联网设备联动的配置方法,通常需要根据用户所需的服务逐一地确定所关联的物联网设备及其规则,这导致配置过程繁琐,效率低下。In the existing configuration method for the linkage of IoT devices, it is usually necessary to determine the associated IoT devices and their rules one by one according to the services required by the user, which leads to a cumbersome configuration process and low efficiency.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种物联网设备联动的配置方法、终端、***,以提高配置的便利性。The present application provides a configuration method, terminal, and system for linkage of IoT devices, so as to improve the convenience of configuration.
本申请提供的一种物联网设备联动的配置方法,该方法包括,在用于配置和/或控制物联网设备的终端侧,A method for configuring linkage of IoT devices provided by the present application includes, on the side of a terminal used for configuring and/or controlling IoT devices,
通知用于联动和/或群控物联网设备的网关进入特征采集模式,以使得所述网关获取场景模拟过程中的特征信息;Notifying the gateway used for linkage and/or group control of IoT devices to enter the feature collection mode, so that the gateway obtains feature information during the scenario simulation process;
接收所述网关获取的特征信息,基于所述特征信息生成用于联动的规则;receiving feature information obtained by the gateway, and generating a rule for linkage based on the feature information;
将生成的规则发给所述网关;sending the generated rule to the gateway;
其中,所述特征信息包括:所述场景模拟过程中目标的行为轨迹的空间特征、时间特征、行为特征之一或其任意组合。Wherein, the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
较佳地,所述物联网设备包括:用于特征信息生成的第一物联网设备、以及用于动作执行的第二物联网设备;Preferably, the Internet of Things device includes: a first Internet of Things device for generating feature information, and a second Internet of Things device for action execution;
所述使得所述网关获取场景模拟过程中的特征信息,包括:The enabling the gateway to acquire feature information in the scenario simulation process includes:
使得所述网关记录来自所述第一物联网设备的特征信息;causing the gateway to record feature information from the first IoT device;
所述接收所述网关获取的特征信息,基于所述特征信息生成用于联动的规则,包括:The receiving feature information obtained by the gateway, and generating a rule for linkage based on the feature information, includes:
接收所述网关获取的特征信息,根据接收的特征信息,构建所需场景的场景模型,receiving the feature information obtained by the gateway, and constructing a scene model of the required scene according to the received feature information,
基于所述场景模型,生成所述第二物联网设备用于联动的规则。Based on the scenario model, a rule used by the second Internet of Things device for linkage is generated.
较佳地,所述第一物联网设备为传感器,所述特征信息为事件信息,所述空间特征为事件关联的位置信息,所述时间特征为事件关联的时间信息,所述行为特征为事件关联的动作,Preferably, the first IoT device is a sensor, the feature information is event information, the spatial feature is location information associated with an event, the time feature is time information associated with an event, and the behavior feature is an event. associated actions,
其中,所述事件信息包括触发内容、触发参数、多个传感器间的触发时间间隔、多个传感器间的触发逻辑之一或其任意组合;Wherein, the event information includes trigger content, trigger parameters, trigger time interval between multiple sensors, one of trigger logic between multiple sensors, or any combination thereof;
所述使得所述网关记录来自所述第一物联网设备的特征信息,包括:The causing the gateway to record the feature information from the first IoT device includes:
使得所述网关接收所述传感器上报的事件信息,并记录事件的上报时间,根据所述上报时间获得多个传感器间的触发时间间隔、和/或多个传感器间的触发逻辑;causing the gateway to receive the event information reported by the sensor, record the reporting time of the event, and obtain the triggering time interval between multiple sensors and/or the triggering logic between multiple sensors according to the reporting time;
所述根据接收的特征信息,构建所需场景的场景模型,包括:Described according to the received characteristic information, construct the scene model of the required scene, including:
将接收的事件信息作为所需场景的场景模型。Use the received event information as a scene model for the desired scene.
较佳地,在所述通知用于联动和/或群控物联网设备的网关进入特征采集模式之前,所述方法还包括:Preferably, before the notification that the gateway used for linkage and/or group control of IoT devices enters the feature collection mode, the method further includes:
接收用户所选择的物联网设备信息,将所述物联网设备信息发送给网关,以使得所述网关记录所选择的物联网设备信息对应的物联网设备所上报的事件信息;Receive the IoT device information selected by the user, and send the IoT device information to the gateway, so that the gateway records the event information reported by the IoT device corresponding to the selected IoT device information;
在所述使得所述网关获取场景模拟过程中的特征信息之后,所述方法还包括:After causing the gateway to acquire the feature information in the scenario simulation process, the method further includes:
当场景模拟结束后,所述终端通知所述网关退出所述特征采集模式,使得所述网关将获取的特征信息发送给所述终端。When the scenario simulation ends, the terminal notifies the gateway to exit the feature collection mode, so that the gateway sends the acquired feature information to the terminal.
较佳地,在所述通知用于联动和/或群控物联网设备的网关进入特征采集模式之前,所述方法还包括:Preferably, before the notification that the gateway used for linkage and/or group control of IoT devices enters the feature collection mode, the method further includes:
所述终端推送场景模型;the terminal pushes the scene model;
接收用户选择的场景模型信息;Receive the scene model information selected by the user;
在所述通知用于联动和/或群控物联网设备的网关进入特征采集模式之后,所述方法还包括:After the notification that the gateway for linkage and/or group control of the IoT devices enters the feature collection mode, the method further includes:
接收来自所述网关的场景模拟指示信息,并提供进行场景模拟的引导信息,使得场景被模拟;Receive scene simulation instruction information from the gateway, and provide guidance information for scene simulation, so that the scene is simulated;
在所述使得所述网关获取场景模拟过程中的特征信息之后,所述方法还包括:After causing the gateway to acquire the feature information in the scenario simulation process, the method further includes:
当场景模拟结束后,通知所述网关退出特征采集模式,使得所述网关将获取的特征信息发送给所述终端;When the scenario simulation ends, notify the gateway to exit the feature collection mode, so that the gateway sends the acquired feature information to the terminal;
所述接收所述网关获取的特征信息,基于所述特征信息生成用于联动的规则,包括:The receiving feature information obtained by the gateway, and generating a rule for linkage based on the feature information, includes:
根据场景模型对应的既有联动,确定所需要的联动信息,其中,所述场景模型对应的既有联动为:预先设置的、应用于所模拟的场景的联动信息;Determine the required linkage information according to the existing linkage corresponding to the scene model, wherein the existing linkage corresponding to the scene model is: preset linkage information applied to the simulated scene;
根据接收的特征信息以及所确定的联动信息,生成联动的规则。According to the received feature information and the determined linkage information, a linkage rule is generated.
较佳地,所述接收所述网关获取的特征信息,基于所述特征信息生成用于联动的规则,包括:Preferably, the receiving feature information obtained by the gateway, and generating a rule for linkage based on the feature information, includes:
接收所述网关获取的特征信息,根据预先设置的特征信息集合与联动集合的第一对应关系、以及预先设置的联动集合与场景模型集合的第二对应关系,确定所接收的所述网关获取的特征信息对应的场景模型;Receive the feature information acquired by the gateway, and determine the received feature information acquired by the gateway according to the preset first correspondence between the feature information set and the linkage set, and the preset second correspondence between the linkage set and the scene model set. The scene model corresponding to the feature information;
根据预先设置的场景模型与既有规则的第三对应关系,确定联动的规则;Determine the linkage rules according to the third correspondence between the preset scene model and the existing rules;
当所确定的联动规则不满足要求时,基于所述特征信息修改该规则,得到用于联动的规则。When the determined linkage rule does not meet the requirements, the rule is modified based on the feature information to obtain a rule for linkage.
本申请另一方面提供一种物联网设备联动的配置方法,其特征在于,该方法包括,在用于联动和/或群控物联网设备的网关侧,Another aspect of the present application provides a method for configuring linkage of IoT devices, characterized in that the method includes, on the side of a gateway used for linkage and/or group control of IoT devices,
接收用于配置和/或控制物联网设备的终端发送的通知,进入特征采集模式;Receive notifications from terminals used to configure and/or control IoT devices, and enter feature collection mode;
在所述特征采集模式下,获取场景模拟过程中的特征信息;In the feature collection mode, obtain feature information in the scene simulation process;
基于所述特征信息生成用于联动的规则;generating a rule for linkage based on the feature information;
其中,所述特征信息包括:所述场景模拟过程中目标的行为轨迹的空间特征、时间特征、行为特征之一或其任意组合。Wherein, the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
较佳地,所述物联网设备包括:用于特征信息生成的第一物联网设备、以及用于动作执行的第二物联网设备;Preferably, the Internet of Things device includes: a first Internet of Things device for generating feature information, and a second Internet of Things device for action execution;
所述获取场景模拟过程中的特征信息,包括:The acquiring feature information in the scene simulation process includes:
记录来自所述第一物联网设备的特征信息;record feature information from the first IoT device;
所述基于所述特征信息生成用于联动的规则,包括:The generating a rule for linkage based on the feature information includes:
根据接收的特征信息,构建所需场景的场景模型;Build a scene model of the required scene according to the received feature information;
基于所述场景模型,生成用于所述第二物联网设备联动的规则。Based on the scenario model, a rule for linkage of the second Internet of Things device is generated.
较佳地,所述第一物联网设备为传感器,所述特征信息为事件信息,所述空间特征为事件关联的位置信息,所述时间特征为事件关联的时间信息,所述行为特征为事件关联的动作,Preferably, the first IoT device is a sensor, the feature information is event information, the spatial feature is location information associated with an event, the time feature is time information associated with an event, and the behavior feature is an event. associated actions,
其中,所述事件信息包括触发内容、触发参数、多个传感器间的触发时间间隔、多个传感器间的触发逻辑之一或其任意组合;Wherein, the event information includes trigger content, trigger parameters, trigger time interval between multiple sensors, one of trigger logic between multiple sensors, or any combination thereof;
所述记录来自所述第一物联网设备的特征信息,包括:The recording feature information from the first IoT device includes:
接收所述传感器上报的事件信息,并记录事件的上报时间,根据所述上报时间获得多个传感器间的触发时间间隔、和/或多个传感器间的触发逻辑;Receive the event information reported by the sensor, record the reporting time of the event, and obtain the triggering time interval between multiple sensors and/or the triggering logic between multiple sensors according to the reporting time;
所述根据接收的特征信息,构建所需场景的场景模型,包括:Described according to the received characteristic information, construct the scene model of the required scene, including:
将接收的事件信息作为所需场景的场景模型。Use the received event information as a scene model for the desired scene.
较佳地,在所述接收用于配置和/或控制物联网设备的终端发送的通知,进入特征采集模式之前,所述方法还包括,Preferably, before the receiving the notification sent by the terminal used for configuring and/or controlling the IoT device, and before entering the feature collection mode, the method further includes:
接收所述终端发送的用户所选择的物联网设备信息;Receive the IoT device information selected by the user sent by the terminal;
所述获取场景模拟过程中的特征信息,包括:The acquiring feature information in the scene simulation process includes:
根据所接收的物联网设备信息,记录来自所述物联网设备信息对应的物联网设备的特征信息;According to the received IoT device information, record feature information from the IoT device corresponding to the IoT device information;
在所述获取场景模拟过程中的特征信息之后,所述方法还包括:After the acquisition of the feature information in the scene simulation process, the method further includes:
响应于所述终端发送的退出特征采集模式的通知,退出特征采集模式,进入配置模式。In response to the notification of exiting the feature collection mode sent by the terminal, the feature collection mode is exited and the configuration mode is entered.
较佳地,所述获取场景模拟过程中的特征信息,包括:Preferably, the acquisition of feature information in the process of scene simulation includes:
接收所述终端发送的用户所选择的场景模型信息;receiving the scene model information selected by the user and sent by the terminal;
根据场景模型,向所述终端发送用于场景模拟的指示信息和引导信息,使得场景被模拟;According to the scene model, send instruction information and guidance information for the scene simulation to the terminal, so that the scene is simulated;
在所述获取场景模拟过程中的特征信息之后,所述方法还包括:After the acquisition of the feature information in the scene simulation process, the method further includes:
响应于所述终端发送的退出特征采集模式的通知,退出特征采集模式,进入配置模式;In response to the notification of exiting the feature collection mode sent by the terminal, exit the feature collection mode and enter the configuration mode;
所述基于所述特征信息生成用于联动的规则,包括,The generating a rule for linkage based on the feature information includes:
在配置模式下,根据场景模型对应的既有联动,确定所需要的联动信息,其中,所述场景模型对应的既有联动为:预先设置的、应用于所模拟的场景的联动信息;In the configuration mode, the required linkage information is determined according to the existing linkage corresponding to the scene model, wherein the existing linkage corresponding to the scene model is: preset linkage information applied to the simulated scene;
根据特征信息以及所确定的联动信息,生成联动的规则。According to the feature information and the determined linkage information, a linkage rule is generated.
较佳地,在所述获取场景模拟过程中的特征信息之后,所述方法还包括:Preferably, after the acquisition of the feature information in the scene simulation process, the method further includes:
响应于所述终端发送的退出特征采集模式的通知,退出特征采集模式,进入配置模式;In response to the notification of exiting the feature collection mode sent by the terminal, exit the feature collection mode and enter the configuration mode;
所述基于所述特征信息生成用于联动的规则,包括:The generating a rule for linkage based on the feature information includes:
在配置模式下,根据预先设置的特征信息集合与联动集合的第一对应关系、以及预先设置的联动集合与场景模型集合的第二对应关系,确定所接收的所述网关获取的特征信息对应的场景模型;In the configuration mode, according to the preset first correspondence between the feature information set and the linkage set, and the preset second correspondence between the linkage set and the scene model set, determine the received feature information corresponding to the gateway. scene model;
根据预先设置的场景模型与既有规则的第三对应关系,确定联动的规则;Determine the linkage rules according to the third correspondence between the preset scene model and the existing rules;
将确定的规则发送给所述终端,使得所述终端返回对所确定规则的反馈;sending the determined rule to the terminal, so that the terminal returns feedback on the determined rule;
响应于来自所述终端的对所确定规则的反馈,按照反馈修改该规则,得到用于联动的规则。In response to feedback on the determined rule from the terminal, the rule is modified according to the feedback to obtain a rule for linkage.
本申请又一方面提供一种终端,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被处理器执行时实现上述终端侧任一所述物联网设备配置方法的步骤。Yet another aspect of the present application provides a terminal, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of any of the above-mentioned methods for configuring an Internet of Things device on the terminal side are implemented.
本申请还提供一种网关设备,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被处理器执行时实现上述网关侧任一所述物联网设备配置方法的步骤。The present application further provides a gateway device, including a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of any of the above-mentioned methods for configuring an Internet of Things device on the gateway side are implemented.
本申请再一方面提供一种物联网***,包括用于配置和/或控制物联网设备的终端,用于联动和/或群控物联网设备的网关,以及物联网设备,所述终端用于实现终端侧任一所述物联网设备配置方法的步骤。Still another aspect of the present application provides an IoT system, including a terminal for configuring and/or controlling IoT devices, a gateway for linking and/or group-controlling IoT devices, and IoT devices, the terminal is used for The steps of implementing any one of the Internet of Things device configuration methods on the terminal side.
本申请再一方面提供一种物联网***,包括用于配置和/或控制物联网设备的终端,用于联动和/或群控物联网设备的网关,以及物联网设备,所述网关用于实现网关侧任一所述物联网设备配置方法的步骤。Yet another aspect of the present application provides an IoT system, including a terminal for configuring and/or controlling IoT devices, a gateway for linking and/or group-controlling IoT devices, and IoT devices, the gateway being used for The steps of implementing any one of the Internet of Things device configuration methods on the gateway side.
本申请再一方面提供一种物联网设备联动的配置装置,该装置设置于用于配置和/或控制物联网设备的终端侧,所述装置包括:In yet another aspect of the present application, a configuration device for linkage of IoT devices is provided. The device is arranged on a terminal side for configuring and/or controlling IoT devices, and the device includes:
模式通知模块,用于通知用于联动和/或群控物联网设备的网关进入特征采集模式,以使得所述网关获取场景模拟过程中的特征信息;a mode notification module, configured to notify the gateway used for linkage and/or group control of IoT devices to enter the feature collection mode, so that the gateway acquires feature information during the scenario simulation process;
规则生成模块,用于接收所述网关获取的特征信息,基于所述特征信息生成用于联动的规则;a rule generation module, configured to receive the feature information obtained by the gateway, and generate a rule for linkage based on the feature information;
规则发送模块,用于将生成的规则发给所述网关;a rule sending module, configured to send the generated rule to the gateway;
其中,所述特征信息包括:所述场景模拟过程中目标的行为轨迹的空间特征、时间特征、行为特征之一或其任意组合。Wherein, the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
本申请再一方面提供一种物联网设备联动的配置装置,设置于用于联动和/或群控物联网设备的网关侧,该装置包括,Another aspect of the present application provides a configuration device for linkage of IoT devices, which is arranged on a gateway side for linkage and/or group control of IoT devices, and the device includes:
通知接收模块,用于接收用于配置和/或控制物联网设备的终端发送的通知,进入特征采集模式;A notification receiving module, configured to receive a notification sent by a terminal used to configure and/or control the IoT device, and enter the feature collection mode;
特征获取模块,用于在所述特征采集模式下,获取场景模拟过程中的特征信息;a feature acquisition module, configured to acquire feature information in the scene simulation process in the feature acquisition mode;
规则生成模块,用于基于所述特征信息生成用于联动的规则;a rule generation module for generating rules for linkage based on the feature information;
其中,所述特征信息包括:所述场景模拟过程中目标的行为轨迹的空间特征、时间特征、行为特征之一或其任意组合。Wherein, the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
本申请再一方面提供一种计算机可读存储介质,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述终端侧任一所述物联网设备配置方法的步骤。Yet another aspect of the present application provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, implements the steps of any of the above-mentioned methods for configuring an Internet of Things device on the terminal side.
本申请再一方面提供一种计算机可读存储介质,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述网关侧任一所述物联网设备配置方法的步骤。Yet another aspect of the present application provides a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, implements the steps of any one of the aforementioned methods for configuring an Internet of Things device on the gateway side.
本申请再一方面提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述终端侧任一所述物联网设备配置方法的步骤。Yet another aspect of the present application provides a computer program product containing instructions, which, when run on a computer, cause the computer to execute the steps of any one of the aforementioned methods for configuring an Internet of Things device on the terminal side.
本申请再一方面提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述网关侧任一所述物联网设备配置方法的步骤。In yet another aspect of the present application, a computer program product containing instructions is provided, which, when executed on a computer, causes the computer to execute the steps of any one of the aforementioned methods for configuring an Internet of Things device on the gateway side.
本申请提供的一种物联网设备联动的配置方法,通过网关所获取的场景模拟过程中目标的行为轨迹的空间特征、时间特征、行为特征之一或其任意组合的特征信息,来生成联动的规则,为用户提供了场景沉浸式的特征信息输入方式,无需对关联的物联网设备进行逐一配置,避免了复杂的配置过程,提高了配置的便利性,满足了用户个性化的配置需求,改善了用户体验;并且,由于是通过场景模拟而形成的场景呈现结果来获取特征信息,基于上述特征信息进行联动配置,因此可以提高联动配置的精确性。A method for configuring the linkage of IoT devices provided by the present application generates a linkage based on the spatial feature, temporal feature, behavior feature of the target's behavioral trajectory acquired by the gateway or the feature information of any combination thereof during the scene simulation process. The rules provide users with a scene-immersive feature information input method, without the need to configure the associated IoT devices one by one, avoiding the complex configuration process, improving the convenience of configuration, meeting the user's personalized configuration needs, improving In addition, since the feature information is obtained through the scene presentation result formed by the scene simulation, and the linkage configuration is performed based on the above-mentioned feature information, the accuracy of the linkage configuration can be improved.
附图说明Description of drawings
为了更清楚地说明本申请实施例和现有技术的技术方案,下面对实施例和现有技术中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的实施例。In order to more clearly illustrate the embodiments of the present application and the technical solutions of the prior art, the following briefly introduces the drawings required in the embodiments and the prior art. Obviously, the drawings in the following description are only the For some embodiments of the application, for those of ordinary skill in the art, other embodiments can also be obtained according to these drawings without creative efforts.
图1为照明灯与窗帘规则配置的一种示意图。FIG. 1 is a schematic diagram of the regular configuration of lighting lamps and curtains.
图2为本申请终端侧进行配置的一种流程示意图。FIG. 2 is a schematic flowchart of configuration on the terminal side of the present application.
图3为本申请网关侧进行配置的一种流程示意图。FIG. 3 is a schematic flowchart of configuration on the gateway side of the present application.
图4为智能家居***的一种示意图。FIG. 4 is a schematic diagram of a smart home system.
图5为本申请实施例一家居应用场景下规则配置方法的一种流程示意图。FIG. 5 is a schematic flowchart of a rule configuration method in a home application scenario according to an embodiment of the present application.
图6为网关按照规则1执行联动控制的一种示意图。FIG. 6 is a schematic diagram of the gateway performing linkage control according to rule 1.
图7a为本申请实施例二家居应用场景下规则配置方法的一种流程示意图。FIG. 7a is a schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 2 of the present application.
图7b为本申请实施例二家居应用场景下规则配置方法的另一种流程示意图。FIG. 7b is another schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 2 of the present application.
图8a为本申请实施例三家居应用场景下规则配置方法的一种流程示意图。FIG. 8a is a schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 3 of the present application.
图8b为本申请实施例三家居应用场景下规则配置方法的另一种流程示意图。FIG. 8b is another schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 3 of the present application.
图9为实现本申请规则配置方法的终端的一种示意图。FIG. 9 is a schematic diagram of a terminal implementing the rule configuration method of the present application.
图10为实现本申请规则配置方法的网关的一种示意图。FIG. 10 is a schematic diagram of a gateway implementing the rule configuration method of the present application.
图11为实现本申请规则配置方法的网关或终端的一种示意图。FIG. 11 is a schematic diagram of a gateway or terminal implementing the rule configuration method of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案、及优点更加清楚明白,以下参照附图并举实施例,对本申请进一步详细说明。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions, and advantages of the present application more clearly understood, the present application will be described in further detail below with reference to the accompanying drawings and examples. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
申请人注意到,物联网设备联动应用场景中,一个应用场景至少需要物联网设备之间完成一项联动动作/操作,为便于表述,将上述一项联动动作/操作简称为一个联动,一个联动至少对应一项规则,当物联网设备种类各异、功能各异时,多个联动会形成联动集合,所对应的多个规则会形成规则集合,这导致用户在对物联网设备进行规则配置时,对多个物联网设备中的传感器进行组合触发的规则进行配置的过程较为复杂,且配置周期较长,不便于用户操作。The applicant has noticed that, in the application scenario of IoT device linkage, an application scenario requires at least one linkage action/operation between IoT devices. Corresponding to at least one rule. When there are different types of IoT devices and different functions, multiple linkages will form a linkage set, and multiple corresponding rules will form a rule set, which will lead to users when configuring rules for IoT devices. , the process of configuring the rules triggered by the combination of sensors in multiple IoT devices is complicated, and the configuration period is long, which is inconvenient for users to operate.
以一照明灯与窗帘的联动为例,参见图1所示,图1为照明灯与窗帘规则配置的一种示意图。用户通过终端配置联动规则时,用户需要配置被控制的照明灯所依赖的红外传感器在哪个温度条件下触发开启照明灯, 以及红外传感器在哪个温度条件下触发关闭照明灯,还需要配置在照明灯关闭的情况下,触发打开窗帘。这意味着,用户需要判断除了温度条件之外是否还有其他触发条件,以便配置用于联动控制的规则。用户在通过终端配置联动规则时,可以通过终端将所配置的规则发送给网关,再由网关向终端返回配置结果,并由网关根据配置的规则,向被控设备下发控制命令。当被控设备中的传感器设备采集到满足触发条件的触发事件时,例如,红外传感器检测到达到设定温度、照明灯关闭时,向网关上报触发事件,网关响应该触发事件,与用户所配置的规则进行匹配,确定被控设备所需执行的联动动作/操作,然后向被控设备发送控制关闭照明灯、打开窗帘的指令,被控设备执行来自网关的指令后,向网关设备上报执行结果和状态,网关将执行结果和状态反馈给终端。Taking the linkage between a lighting lamp and a curtain as an example, see FIG. 1 , which is a schematic diagram of a regular configuration of the lighting lamp and the curtain. When the user configures the linkage rules through the terminal, the user needs to configure the temperature conditions under which the infrared sensor that the controlled lighting depends on will trigger the lighting to be turned on, and the temperature conditions under which the infrared sensor will trigger the lighting to be turned off. When closed, trigger the curtain to open. This means that the user needs to determine whether there are other trigger conditions besides the temperature condition in order to configure the rules for linkage control. When users configure linkage rules through the terminal, they can send the configured rules to the gateway through the terminal, and then the gateway returns the configuration result to the terminal, and the gateway issues control commands to the controlled device according to the configured rules. When the sensor device in the controlled device collects a trigger event that satisfies the trigger conditions, for example, when the infrared sensor detects that the set temperature is reached and the lighting is turned off, the trigger event is reported to the gateway, and the gateway responds to the trigger event, and the user configures the trigger event. Then, the controlled device will send instructions to turn off the lights and open the curtains to the controlled device. After the controlled device executes the instructions from the gateway, it will report the execution result to the gateway device. and status, the gateway feeds back the execution result and status to the terminal.
从上述规则配置的过程可见,现有的规则配置过程中,需要用户人工确定触发条件以及通过终端将所配置的规则发给至网关,相当于一种手工配置方式,配置效率低下。It can be seen from the above rule configuration process that in the existing rule configuration process, the user is required to manually determine the trigger condition and send the configured rule to the gateway through the terminal, which is equivalent to a manual configuration method and has low configuration efficiency.
有鉴于此,本申请提供了一种物联网设备联动的配置方法,在所需场景被模拟的过程中获取该过程中的特征信息,基于特征信息生成用于物联网设备联动的规则。其中,特征信息包括,场景模拟过程中目标的行为轨迹的空间特征、时间特征、行为特征之一或其任意组合。上述目标指的是:用于触发被控设备的对象,一般是用户。上述行为轨迹指的是:目标在场景模拟过程中所产生的行为的轨迹;上述行为特征指的是:上述行为轨迹所反映的目标的行为的特征。上述所需场景指的是所模拟的场景,可以理解为需要物联网设备进行联动的应用场景。下面对本申请提供的物联网设备联动的配置方法进行详细介绍。In view of this, the present application provides a method for configuring linkage of IoT devices, which acquires feature information in the process of simulating a required scenario, and generates rules for linkage of IoT devices based on the feature information. The feature information includes one or any combination of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process. The above target refers to the object used to trigger the controlled device, generally the user. The above behavioral trajectory refers to: the trajectory of the behavior generated by the target during the scene simulation process; the above behavioral feature refers to: the behavioral characteristic of the target reflected by the above behavioral trajectory. The above required scenarios refer to simulated scenarios, which can be understood as application scenarios that require linkage of IoT devices. The following is a detailed introduction to the configuration method for the linkage of the IoT devices provided in this application.
本方案中,可以由终端生成物联网设备联动的规则,也可以由网关生成物联网设备联动的规则,下面分别进行详细介绍。In this solution, the terminal can generate the rules for the linkage of the IoT devices, and the gateway can also generate the rules for the linkage of the IoT devices, which will be described in detail below.
参见图2所示,图2为本申请终端侧进行配置的一种流程示意图。在物联网***中用于配置和/或控制物联网设备的终端侧,执行如下步骤201-步骤203实现规则配置:Referring to FIG. 2 , FIG. 2 is a schematic flowchart of configuration on the terminal side of the present application. On the terminal side of the IoT system for configuring and/or controlling IoT devices, the following steps 201-203 are performed to implement rule configuration:
步骤201,通知用于联动和/或群控物联网设备的网关进入特征采集模式,以使得所述网关获取场景模拟过程中的特征信息; Step 201, informing a gateway used for linkage and/or group control of IoT devices to enter a feature collection mode, so that the gateway acquires feature information in a scenario simulation process;
其中,上述场景模拟指的是:目标模拟实际的应用场景中被控设备的触发事件、并模拟触发被控设备执行相应的联动动作/操作。The above-mentioned scenario simulation refers to: the target simulates the trigger event of the controlled device in the actual application scenario, and simulates triggering the controlled device to execute the corresponding linkage action/operation.
上述特征采集模式用于:采集目标在场景模拟过程中的行为轨迹的特征信息。The above feature collection mode is used to: collect feature information of the behavioral trajectory of the target during the scene simulation process.
上述特征信息为:基于目标在场景模拟过程中的行为轨迹提取得到的信息。The above feature information is: information extracted based on the behavior trajectory of the target during the scene simulation process.
具体的,目标可以进行场景模拟,终端可以通知网关进行特征采集模式,该模式下,网关可以获得基于目标在场景模拟过程中的行为轨迹提取得到的特征信息。Specifically, the target can perform scene simulation, and the terminal can notify the gateway to perform a feature collection mode. In this mode, the gateway can obtain feature information extracted based on the behavior trajectory of the target during the scene simulation process.
步骤202,接收所述网关获取的特征信息,基于特征信息生成用于联动的规则; Step 202, receiving the feature information obtained by the gateway, and generating a rule for linkage based on the feature information;
具体的,网关在获取到特征信息后,可以将上述特征信息发送给终端,终端从而获得该特征信息,然后基于该特征信息生成被控设备用于联动的规则。Specifically, after acquiring the characteristic information, the gateway may send the above characteristic information to the terminal, so that the terminal obtains the characteristic information, and then generates a rule for linkage of the controlled device based on the characteristic information.
步骤203,将生成的规则发给网关。 Step 203, sending the generated rule to the gateway.
具体的,终端在生成联动的规则后,可以将上述规则发送给网关,网关获得该规则并进行存储,以便于后续基于该规则控制被控设备进行联动,从而实现物联网设备联动规则的配置。Specifically, after the terminal generates the linkage rule, it can send the above-mentioned rule to the gateway, and the gateway obtains the rule and stores it, so as to control the controlled device to perform linkage based on the rule in the future, so as to realize the configuration of the linkage rule of IoT devices.
参见图3所示,图3为本申请网关侧进行配置的一种流程示意图。在物联网***中网关侧,执行如下步骤301-步骤303实现规则配置:Referring to FIG. 3 , FIG. 3 is a schematic flowchart of configuration on the gateway side of the present application. On the gateway side of the IoT system, the following steps 301-303 are performed to implement rule configuration:
步骤301,接收用于配置和/或控制物联网设备的终端发送的通知,进入特征采集模式; Step 301, receiving a notification sent by a terminal used to configure and/or control the IoT device, and enter a feature collection mode;
具体的,在需要进行规则配置时,用户可以通过终端向网关发送通知,以控制网关进行特征采集模式。Specifically, when the rule configuration needs to be performed, the user can send a notification to the gateway through the terminal to control the gateway to perform the feature collection mode.
步骤302,在特征采集模式下,获取场景模拟过程中的特征信息; Step 302, in the feature collection mode, obtain feature information in the scene simulation process;
具体的,在特征采集模式下,目标可以进行场景模拟,网关从而可以获得基于场景模拟过程中目标的行为轨迹提取得到的特征信息。Specifically, in the feature collection mode, the target can perform scene simulation, and the gateway can obtain feature information extracted based on the target's behavioral trajectory during the scene simulation process.
步骤303,基于特征信息生成用于联动的规则。 Step 303, generating a rule for linkage based on the feature information.
具体的,网关在得到特征信息后,可以基于上述特征信息生成用于物联网设备进行联动的规则并进行存 储,以便于后续基于该规则控制被控设备进行联动,从而实现物联网设备联动规则的配置。Specifically, after obtaining the feature information, the gateway can generate and store the rules for the linkage of IoT devices based on the feature information, so as to facilitate the subsequent control of the controlled devices to conduct linkage based on the rules, so as to realize the linkage rules of IoT devices. configuration.
其中,物联网设备包括,用于特征信息生成的第一物联网设备,以及用于动作执行的第二物联网设备;所述特征信息来自于第一物联网设备。Wherein, the IoT device includes a first IoT device for generating feature information, and a second IoT device for performing an action; the feature information comes from the first IoT device.
本申请的物联网设备联动的配置方法,是以所需场景被模拟而形成的场景呈现的方式,来获取场景模拟过程中目标的行为轨迹的空间特征、时间特征、行为特征之一或其任意组合,使得配置过程中的信息输入得以以一种场景沉浸的方式实现,既提高了规则配置的精确性,又提高了用户进行规则配置的便利性,改善了用户体验。The method for configuring the linkage of IoT devices of the present application is to obtain one of the spatial characteristics, temporal characteristics, and behavior characteristics of the behavioral trajectory of the target during the scene simulation process, or any one or any The combination enables the information input in the configuration process to be realized in a scene immersive way, which not only improves the accuracy of rule configuration, but also improves the convenience of the user to configure the rules, and improves the user experience.
为便于理解本申请,以下以智能家居的规则配置为例来说明,所应理解的是,本申请不限于智能家居的规则配置,对于其他物联网***中的物联网设备的规则配置也可适用。In order to facilitate the understanding of this application, the following takes the rule configuration of the smart home as an example to illustrate. It should be understood that this application is not limited to the rule configuration of the smart home, and is also applicable to the rule configuration of the Internet of Things devices in other Internet of Things systems. .
参见图4所示,图4为智能家居***的一种示意图。智能家居***包括:终端、云服务平台、网关、以及被控设备,其中,Referring to FIG. 4 , FIG. 4 is a schematic diagram of a smart home system. The smart home system includes: terminals, cloud service platforms, gateways, and controlled devices, among which,
终端作为配置和/或控制发起者,用于上传配置和/或控制信令到云服务平台,信令经过云服务平台向网关转发,以传输到网关。较佳地,终端为智能手机,运行有可用于进行规则配置的应用程序。As a configuration and/or control initiator, the terminal is used to upload configuration and/or control signaling to the cloud service platform, and the signaling is forwarded to the gateway through the cloud service platform for transmission to the gateway. Preferably, the terminal is a smart phone, running an application program that can be used for rule configuration.
云服务平台可以承载各种物联业务,是配置信令和控制信令的下发传输中心,还用于保存网关网络参数、被控设备状态等信息。其中,上述配置信令指的是:用于配置联动规则的信令,上述控制信令指的是:用于控制被控设备按照联动规则执行联动动作/操作的信令。上述网关网络参数可以包括网关的地址、标识等参数,被控设备状态可以包括:在线、离线、未执行联动动作、已执行联动动作等状态。The cloud service platform can carry various IoT services. It is the transmission and transmission center for configuration signaling and control signaling. It is also used to store information such as gateway network parameters and the status of controlled devices. The above configuration signaling refers to signaling for configuring linkage rules, and the control signaling refers to signaling for controlling the controlled device to perform linkage actions/operations according to linkage rules. The above-mentioned gateway network parameters may include parameters such as the address and identification of the gateway, and the state of the controlled device may include: online, offline, not executing the linkage action, executing the linkage action, and the like.
网关作为智能家居***边缘的计算主体,用于执行云服务平台下发的联动、群控等功能,将信令解析成动作,分发到各个被控设备,具体可以接收云服务平台发送的控制信令,将上述信令解析成被控设备所需执行的动作,然后将表征上述动作的信令发送至对应的被控设备,以使得被控设备按照所接收的信令完成相应的动作;并且还用于收集各个被控设备上报的状态。As the computing body at the edge of the smart home system, the gateway is used to perform functions such as linkage and group control issued by the cloud service platform, parse the signaling into actions, and distribute it to each controlled device. Specifically, it can receive the control information sent by the cloud service platform. order, parse the above signaling into actions that the controlled device needs to perform, and then send the signaling representing the above actions to the corresponding controlled device, so that the controlled device completes the corresponding action according to the received signaling; and It is also used to collect the status reported by each controlled device.
被控设备作为一种物联网设备,包括路由节点和设备节点,作为动作的执行主体,可以根据网关下发的信令,执行对应的动作,同时将执行结果和设备状态上报给网关。图中,智能窗帘、红外传感器、开关面板(路由节点)、门磁传感器均为被控设备。As an IoT device, the controlled device includes routing nodes and device nodes. As the execution body of the action, it can execute the corresponding action according to the signaling sent by the gateway, and report the execution result and device status to the gateway at the same time. In the figure, smart curtains, infrared sensors, switch panels (routing nodes), and door magnetic sensors are all controlled devices.
实施例一Example 1
参见图5所示,图5为本申请实施例一家居应用场景下规则配置方法的一种流程示意图。终端中的应用程序被运行,并进入配置模式,在该模式下,配置方法包括如下步骤501-步骤506:Referring to FIG. 5 , FIG. 5 is a schematic flowchart of a rule configuration method in a home application scenario according to an embodiment of the present application. The application program in the terminal is run and enters the configuration mode. In this mode, the configuration method includes the following steps 501-506:
步骤501,终端向用户提供被控设备信息,以便于用户选择。Step 501, the terminal provides the controlled device information to the user, so as to facilitate the user's selection.
其中,被控设备信息包括用于生成触发条件信息的第一被控设备的信息、以及用于执行动作的第二被控设备的信息,所述第一被控设备通常为传感器设备,所述第二被控设备通常为非传感器设备。Wherein, the controlled device information includes information of a first controlled device used to generate trigger condition information, and information of a second controlled device used to perform an action, the first controlled device is usually a sensor device, and the The second controlled device is usually a non-sensor device.
在该步骤中,用户可根据所需场景来选择被控设备。In this step, the user can select the controlled device according to the desired scene.
步骤502,终端接收用户的输入选择,为了通知网关进入特征采集模式,将选择的被控设备信息发送给网关,以使得网关进入特征采集模式。In step 502, the terminal receives the user's input selection, and sends the selected controlled device information to the gateway in order to notify the gateway to enter the feature collection mode, so that the gateway enters the feature collection mode.
具体的,终端在确定用户所选择的用于生成触发条件信息的第一被控设备、用于执行动作的第二被控设备后,可以将上述第一被控设备、第二被控设备的信息发送至网关,并通知网关进入特征采集模式,从而便于网关后续获得来自第一被控设备的特征信息。Specifically, after determining the first controlled device for generating trigger condition information and the second controlled device for executing actions selected by the user, the terminal may The information is sent to the gateway, and the gateway is notified to enter the feature collection mode, so that the gateway can subsequently obtain feature information from the first controlled device.
步骤503,网关响应于接收的被控设备信息,进入特征采集模式后,向终端返回进行场景模拟的指示,并获取场景被模拟过程中的特征信息。Step 503: In response to the received controlled device information, the gateway, after entering the feature collection mode, returns an instruction to perform scene simulation to the terminal, and acquires feature information in the process of the scene being simulated.
在该步骤中,终端在接收到指示后,可以提示用户按照所需场景来进行场景模拟,从而使得场景得以呈现,并且网关进入特征采集模式,采集目标在场景模拟过程中的行为轨迹,由此生成关联的、所采集的行为轨迹的特征信息,网关可以通过记录所生成的特征信息,完成用于场景模型构建的数据采集。其中,特征信息可以是用于生成场景模型数据的任何信息,可以是静态的信息,也可以是动态信息,较佳地,可以是目标的行为轨迹中的空间特征、时间特征、行为特征之一或其任意组合,例如,行为轨迹中的关键位置、相邻行 为的时间间隔、特定的动作行为的特征等。这样数据采集所得到的目标的行为轨迹反映的一系列连续动作集合In this step, after receiving the instruction, the terminal can prompt the user to perform the scene simulation according to the required scene, so that the scene can be presented, and the gateway enters the feature collection mode to collect the behavior track of the target during the scene simulation process. The associated feature information of the collected behavior trajectories is generated, and the gateway can complete the data collection for scene model construction by recording the generated feature information. The feature information can be any information used to generate scene model data, it can be static information or dynamic information, preferably, it can be one of spatial features, temporal features and behavioral features in the behavioral trajectory of the target or any combination thereof, for example, key positions in behavior trajectories, time intervals between adjacent behaviors, characteristics of specific action behaviors, etc. A series of continuous action sets reflected by the behavioral trajectory of the target obtained by such data collection
在该步骤中,所关联的特征信息,可以用于呈现所模拟的场景,实现建立场景模型。其中,所述场景模型可以表征场景模拟过程中所模拟的场景。In this step, the associated feature information can be used to present the simulated scene to realize the establishment of a scene model. Wherein, the scene model can represent the scene simulated in the scene simulation process.
较佳地,网关可以根据所接收的被控设备信息,记录来自该被控设备的特征信息,例如,网关可以记录用户所选择第一被控设备的触发参数和/或触发时间间隔,以作为来自该第一被控设备的特征信息。Preferably, the gateway can record the feature information from the controlled device according to the received controlled device information, for example, the gateway can record the trigger parameters and/or trigger time interval of the first controlled device selected by the user, as Feature information from the first controlled device.
例如,所需的场景1中,用户从卧室移动到客厅时,卧室照明关闭,卧室窗帘开启,客厅照明开启。用户可以通过终端选择用于窗帘开合的第二被控设备1、照明开关的第二被控设备2、门磁传感器、红外传感器,作为被控设备;用户按照个人习惯模拟从卧室移动到客厅的过程:移动到卧室门处,触发门磁以打开卧室门,在设定的时间阈值内,红外传感器采集到信号。其中,时间阈值为:基于用户从卧室走到客厅所需的时间确定的阈值,红外传感器用于检测用户是否到达客厅。在此过程中,当门磁传感器被触发时,门磁传感器向网关上报门磁触发事件,并且,网关记录门磁触发事件的接收时间1;当红外传感器检测到用户位于客厅时,向网关上报检测事件,并且,网关记录检测事件的接收时间2,然后可以确定接收时间1和接收时间2之间的时间差作为时间阈值。For example, in the desired scenario 1, when the user moves from the bedroom to the living room, the bedroom lighting is turned off, the bedroom curtains are turned on, and the living room lighting is turned on. The user can select the second controlled device 1 used for curtain opening and closing, the second controlled device 2 of the lighting switch, the door magnetic sensor, and the infrared sensor as the controlled device through the terminal; the user simulates moving from the bedroom to the living room according to personal habits The process: move to the bedroom door, trigger the door sensor to open the bedroom door, within the set time threshold, the infrared sensor collects the signal. The time threshold is: a threshold determined based on the time required for the user to walk from the bedroom to the living room, and the infrared sensor is used to detect whether the user reaches the living room. During this process, when the door sensor is triggered, the door sensor reports the door sensor trigger event to the gateway, and the gateway records the receiving time 1 of the door sensor trigger event; when the infrared sensor detects that the user is in the living room, it reports to the gateway The event is detected, and the gateway records the reception time 2 of the detection event, and then the time difference between the reception time 1 and the reception time 2 can be determined as a time threshold.
网关根据各事件接收时间,可以确定各事件之间的触发时间间隔,进而可以将上述时间间隔作为特征信息中的一种,以提高场景模拟过程中各个特征信息之间的关联性,从而避免与孤立的特征信息混淆,导致产生不被需要的规则配置。According to the receiving time of each event, the gateway can determine the triggering time interval between each event, and then the above time interval can be used as one of the feature information to improve the correlation between each feature information in the process of scene simulation, so as to avoid and Confusion of isolated feature information, resulting in unwanted rule configurations.
步骤504,当场景模拟过程结束时,终端通知网关退出特征采集模式,使得网关将特征采集模式下所采集的特征信息,例如第一被控设备的数据(传感器数据),发送给终端,以便于终端基于所记录的特征信息,来生成联动的规则。Step 504, when the scenario simulation process ends, the terminal notifies the gateway to exit the feature collection mode, so that the gateway sends the feature information collected in the feature collection mode, such as the data (sensor data) of the first controlled device, to the terminal, so that it can be easily The terminal generates linkage rules based on the recorded feature information.
鉴于场景模拟通常需要用户进行相应的操作,因此,在模拟的场景结束时,用户可以通过操作终端来结束场景模拟过程。Since the scene simulation usually requires the user to perform corresponding operations, when the simulated scene ends, the user can end the scene simulation process by operating the terminal.
步骤505,终端基于获取的特征信息,生成用于联动的规则。Step 505, the terminal generates a rule for linkage based on the acquired feature information.
在该步骤中,终端可以根据记录的来自第一被控设备的事件信息,生成用于联动的规则。In this step, the terminal may generate a rule for linkage according to the recorded event information from the first controlled device.
具体的,特征信息可以为事件信息,上述事件信息指的是:场景模拟过程中第一被控设备采集的触发事件的信息,上述触发事件指的是:触发被控设备执行联动动作/操作的事件。空间特征为事件关联的位置信息,时间特征为事件关联的时间信息,行为特征为事件关联的动作;所述事件信息包括且不限于触发内容、触发参数、多个传感器间的触发时间间隔、多个传感器间的触发逻辑之一或其任意组合。Specifically, the feature information may be event information, and the above-mentioned event information refers to the information of the trigger event collected by the first controlled device during the scene simulation process, and the above-mentioned trigger event refers to: the trigger event that triggers the controlled device to perform the linkage action/operation event. The spatial feature is the location information associated with the event, the temporal feature is the time information associated with the event, and the behavioral feature is the action associated with the event; the event information includes but is not limited to trigger content, trigger parameters, trigger time interval between multiple sensors, multiple One or any combination of trigger logic between sensors.
较佳地,终端可以根据接收的特征信息,构建所需场景的场景模型,基于场景模型,生成第二被控设备用于联动的规则。例如,由于场景模型用于表征场景模拟过程中所模拟的场景,而上述事件信息为场景模拟过程中所采集的触发事件的信息,因此可以直接将记录的事件信息作为所需场景的场景模型。Preferably, the terminal can construct a scene model of the required scene according to the received feature information, and based on the scene model, generate a rule for the linkage of the second controlled device. For example, since the scene model is used to represent the scene simulated in the scene simulation process, and the above event information is the trigger event information collected during the scene simulation process, the recorded event information can be directly used as the scene model of the required scene.
较佳地,终端可以向用户提供与事件信息相关的第二被控设备的选择,以生成用于联动的规则。例如,空调控制、照明控制、音响控制、窗帘控制等。具体的,终端可以向用户提供上述事件信息相关联的多个第二被控设备的信息,由用户选择用于联动的第二被控设备,终端基于所选择的第二被控设备及上述事件信息,生成用于所选择的第二被控设备之间进行联动的联动规则。Preferably, the terminal can provide the user with the selection of the second controlled device related to the event information, so as to generate a rule for linkage. For example, air conditioning control, lighting control, audio control, curtain control, etc. Specifically, the terminal may provide the user with information about multiple second controlled devices associated with the above event information, and the user selects the second controlled device for linkage, and the terminal selects the second controlled device based on the selected second controlled device and the above event. information to generate linkage rules for linkage between the selected second controlled devices.
例如,对于场景1,生成的规则1可以是:若门磁传感器被触发后,在时间阈值内红外传感器被触发,则关闭卧室照明,开启卧室窗帘,开启客厅照明。For example, for scenario 1, the generated rule 1 can be: if the infrared sensor is triggered within the time threshold after the door sensor is triggered, the bedroom lighting is turned off, the bedroom curtains are opened, and the living room lighting is turned on.
较佳地,还可以通过配置场景模型的执行时间、频次、适应的目标人员等,实现对所生成的联动规则的执行时间、频次、适应的目标人员的配置,进而实现对规则具有的共性约束条件的配置。例如,对于上述场景1需要适应于某一家庭成员例如奶奶每天早上的应用场景,则终端可以配置场景模型的执行时间为早上、频次为1次、适应的目标人员为奶奶。Preferably, it is also possible to configure the execution time, frequency, and adaptive target personnel of the generated linkage rules by configuring the execution time, frequency, and target personnel of the scenario model, thereby realizing common constraints on the rules. Condition configuration. For example, for the application scenario that the above scenario 1 needs to be adapted to a family member such as grandma every morning, the terminal can configure the execution time of the scenario model to be morning, the frequency to be once, and the adapted target person to be grandma.
步骤506,终端将生成的规则发送至网关,以便于网关保存,终端和网关分别退出配置模式,从而完成规则配置。In step 506, the terminal sends the generated rule to the gateway so that the gateway can save it, and the terminal and the gateway respectively exit the configuration mode, thereby completing the rule configuration.
本实施例的配置方法由终端的应用程序来实现,通过网关获取的场景模拟过程中的特征信息,从而获取到场景模型的数据,避免了需要用户对物联网设备功能、联动逻辑、联动参数等有一定了解后方能进行配置的缺点,降低了用户配置规则的复杂度,对联动规则的精确度不产生不利的影响;并且,符合用户个性化配置需求,使得配置更为简便;由于网关所采集的特征信息是场景模拟而形成的,提高了用于建立场景模型的数据的准确性,从而有利于提高规则配置的准确度,并提高配置的效率。The configuration method of this embodiment is implemented by the application program of the terminal, and the feature information in the scene simulation process obtained by the gateway is used to obtain the data of the scene model, which avoids the need for the user to understand the functions, linkage logic, linkage parameters, etc. of the Internet of Things device. It has the disadvantage that configuration can only be performed after a certain understanding, which reduces the complexity of user configuration rules and does not adversely affect the accuracy of linkage rules; moreover, it meets the user's personalized configuration requirements, making configuration easier; The feature information of , is formed by scene simulation, which improves the accuracy of the data used to build the scene model, thereby helping to improve the accuracy of rule configuration and improve the efficiency of configuration.
当终端完成所需场景的配置之后,***便可基于配置的规则进行联动控制。参见图6所示,图6为网关按照规则1执行联动控制的一种示意图。当门磁被触发时,门磁传感器向网关上报门磁触发事件,当红外传感器被触发时,红外传感器向网关上报检测事件,网关根据门磁触发事件、检测事件、以及两事件之间的时间差,与保存的规则进行匹配,当匹配成功时,向第二被控设备发送控制命令,具体包括,向照明被控设备发送关闭卧室照明、开启客厅照明的命令,以及向窗帘被控设备发送开启卧室窗帘的命令。被控设备完成操作后,向网关上报执行结果以及当前状态。较佳地,网关可以将上述联动结果和被控设备的当前状态发送给终端。从用户的体验角度而言,当用户从卧室移动到客厅时,能够体验到卧室照明关闭、卧室窗帘开启、客厅照明开启的系列自动化的联动结果。After the terminal completes the configuration of the required scene, the system can perform linkage control based on the configured rules. Referring to FIG. 6 , FIG. 6 is a schematic diagram of the gateway performing linkage control according to rule 1. When the door sensor is triggered, the door sensor reports the door sensor trigger event to the gateway. When the infrared sensor is triggered, the infrared sensor reports the detection event to the gateway. The gateway reports the door sensor trigger event, the detection event, and the time difference between the two events. , match with the saved rules, and when the match is successful, send a control command to the second controlled device, which specifically includes sending a command to turn off the bedroom lighting and turn on the living room lighting to the lighting controlled device, and send the curtain to the controlled device to turn on the lighting. Bedroom curtains order. After the controlled device completes the operation, it reports the execution result and current status to the gateway. Preferably, the gateway can send the above linkage result and the current state of the controlled device to the terminal. From the perspective of user experience, when the user moves from the bedroom to the living room, they can experience the linkage result of a series of automation of turning off the bedroom lighting, opening the bedroom curtains, and turning on the living room lighting.
实施例二Embodiment 2
参见图7a所示,图7a为本申请实施例二家居应用场景下规则配置方法的一种流程示意图。终端中的应用程序被运行,并进入配置模式,在该模式下,配置方法包括如下步骤701-步骤707:Referring to Fig. 7a, Fig. 7a is a schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 2 of the present application. The application program in the terminal is run and enters the configuration mode. In this mode, the configuration method includes the following steps 701-707:
步骤701,终端向用户推送场景模型,以供用户选择。Step 701, the terminal pushes the scene model to the user for the user to select.
为了便于用户的配置操作,终端向用户推送场景模型,该场景模型可以是终端通过访问云服务而获得,也可以是从存储于终端、和/或网关本地的场景模型中获得的,这样,用户在配置时无需具体了解每个被控设备的参数、功能等信息,只需关注服务需求,从而降低配置的难度。In order to facilitate the user's configuration operation, the terminal pushes the scene model to the user. The scene model may be obtained by the terminal by accessing the cloud service, or obtained from the scene model stored locally on the terminal and/or the gateway. In this way, the user When configuring, you do not need to know the parameters, functions and other information of each controlled device, but only need to pay attention to the service requirements, thereby reducing the difficulty of configuration.
场景模型种类可以有多种,不同场景模型对应着不同的服务,也对应着不同的联动。一个场景模型可以对应有多个服务,一个服务也可以由多个场景模型来实现,具体可以根据需求来建立和更新场景模型。There are many types of scene models, and different scene models correspond to different services and different linkages. A scene model can correspond to multiple services, and a service can also be implemented by multiple scene models. Specifically, scene models can be established and updated according to requirements.
例如,按照时间维度,场景模型可以包括:早间场景模型、午间场景模型、夜间场景模型等;按照生活习惯维度,场景模型可以包括:学习场景模型、工作场景模型、娱乐场景模型、烹饪场景模型等等。此外,粒度较大的场景模型还可以包括粒度更小的子场景模型,例如,早间场景模型可以包括:叫醒子场景模型、早餐子场景模型等等。用户可以根据需要进行相应的选择。For example, according to the time dimension, the scene model may include: morning scene model, noon scene model, night scene model, etc.; according to the dimension of living habits, the scene model may include: learning scene model, work scene model, entertainment scene model, cooking scene model and many more. In addition, a scene model with a larger granularity may also include a sub-scene model with a smaller granularity. For example, the morning scene model may include a wake-up sub-scene model, a breakfast sub-scene model, and so on. Users can make corresponding choices according to their needs.
步骤702,终端接收用户的选择后,通知网关进入特征采集模式;Step 702, after receiving the user's selection, the terminal notifies the gateway to enter the feature collection mode;
步骤703,网关进入特征采集模式后,向终端返回进行场景模拟的指示,以提醒用户开始进行场景模拟,并获取场景模拟过程中的特征信息。Step 703: After the gateway enters the feature collection mode, it returns an instruction to perform the scenario simulation to the terminal to remind the user to start the scenario simulation and acquire feature information during the scenario simulation process.
在该步骤中,网关可以记录场景模拟过程中的事件信息。例如,场景2是用户选择的叫醒场景模型,当到达设定的时间时,开启窗帘,开启音响。在该场景中,场景模型的特征信息为设定的时间信息。终端提示用户输入设定的时间,以便网关将输入的时间信息作为事件信息予以记录。In this step, the gateway can record event information during the scenario simulation process. For example, scene 2 is a wake-up scene model selected by the user. When the set time is reached, the curtains are opened and the sound is turned on. In this scene, the feature information of the scene model is the set time information. The terminal prompts the user to input the set time, so that the gateway records the input time information as event information.
较佳地,当终端接收到来自网关场景模拟的指示时,根据用户选择的场景模型,提供使得用户进行场景模拟以形成场景呈现的引导信息,以便指导用户进行场景模拟,从而提高所采集的场景模拟过程中特征信息的准确性。Preferably, when the terminal receives an instruction from the gateway scene simulation, it provides guidance information that enables the user to perform scene simulation to form a scene presentation according to the scene model selected by the user, so as to guide the user to perform the scene simulation, thereby improving the collected scene. Accuracy of feature information during simulation.
步骤704,当场景模拟过程结束时,终端通知网关退出特征采集模式。Step 704, when the scenario simulation process ends, the terminal notifies the gateway to exit the feature collection mode.
步骤705,网关退出特征采集模式后,将获取的特征信息发送给终端,以便于在终端侧生成联动的规则。Step 705, after the gateway exits the feature collection mode, it sends the acquired feature information to the terminal, so as to generate linkage rules on the terminal side.
步骤706,终端按照用户所选择的场景模型,生成联动的规则。Step 706, the terminal generates a linkage rule according to the scene model selected by the user.
在该步骤中,鉴于场景模型对应有既有服务功能,不需要用户自行确定服务功能,故而,在生成联动的规则时,可以根据场景模型对应的既有联动,确定所需要的联动信息,根据特征信息以及所确定联动信息,生成联动的规则;In this step, since the scene model corresponds to the existing service function, the user does not need to determine the service function by himself. Therefore, when generating the linkage rule, the required linkage information can be determined according to the existing linkage corresponding to the scene model. Feature information and determined linkage information to generate linkage rules;
其中,所述场景模型对应的既有联动为:预先设置的、应用于所模拟的场景的联动信息。Wherein, the existing linkage corresponding to the scene model is: preset linkage information applied to the simulated scene.
例如,叫醒场景模型对应的既有联动是:开启窗帘,开启音响。则根据特征信息以及叫醒场景模型对应 的既有联动的联动信息,生成联动的规则是:若到达设定的时间,则开启窗帘,开启音响。For example, the existing linkage corresponding to the wake-up scene model is: open the curtains and turn on the sound. Then, according to the feature information and the existing linkage information corresponding to the wake-up scene model, the rules for generating linkage are: if the set time is reached, open the curtains and turn on the sound.
步骤707,终端将生成的规则发送至网关,以便于网关保存,终端退出配置模式,从而完成了规则配置。In step 707, the terminal sends the generated rule to the gateway so that the gateway can save it, and the terminal exits the configuration mode, thereby completing the rule configuration.
参见图7b所示,图7b为本申请实施例二家居应用场景下规则配置方法的另一种流程示意图。作为一种变换,规则的生成还可以是在网关侧来实现,故而,上述步骤702~707的另一实施方式还可以是:Referring to FIG. 7b, FIG. 7b is another schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 2 of the present application. As a conversion, the generation of the rules can also be implemented on the gateway side, therefore, another implementation manner of the above steps 702 to 707 can also be:
步骤702',终端接收用户的选择后,将用户选择的场景模型信息发送给网关;Step 702', after receiving the user's selection, the terminal sends the scene model information selected by the user to the gateway;
步骤703',网关响应于接收的场景模型信息,进入特征采集模式,向终端返回进行场景模拟的指示,以提醒用户开始进行场景模拟,并获取场景模拟过程中的特征信息。Step 703', the gateway enters the feature collection mode in response to the received scene model information, and returns an instruction to perform the scene simulation to the terminal to remind the user to start the scene simulation and obtain feature information during the scene simulation process.
较佳地,网关根据用户选择的场景模型,提供使得用户进行场景模拟以形成场景呈现的引导信息,以便指导用户进行场景模拟,从而提高所采集的场景模拟过程中特征信息的准确性。Preferably, according to the scene model selected by the user, the gateway provides guidance information for the user to simulate the scene to form the scene presentation, so as to guide the user to perform the scene simulation, thereby improving the accuracy of the collected feature information during the scene simulation process.
步骤704',当场景模拟过程结束时,终端通知网关退出特征采集模式,以便生成规则。Step 704', when the scenario simulation process ends, the terminal notifies the gateway to exit the feature collection mode so as to generate a rule.
步骤705',网关响应于终端发送的退出特征采集模式的通知,退出特征采集模式,进入配置模式,按照用户所选择的场景模型,生成联动的规则。Step 705', the gateway exits the feature collection mode and enters the configuration mode in response to the notification sent by the terminal to exit the feature collection mode, and generates a linkage rule according to the scene model selected by the user.
鉴于场景模型对应有既有服务功能,不需要用户自行确定服务功能,故而,根据场景模型对应的既有联动,确定所需要的联动信息,根据特征信息以及所确定联动信息,生成联动的规则;In view of the fact that the scene model corresponds to the existing service function, the user does not need to determine the service function by himself. Therefore, according to the existing linkage corresponding to the scene model, the required linkage information is determined, and the linkage rule is generated according to the feature information and the determined linkage information;
较佳地,网关还可以与终端进行交互,以配置场景模型的执行时间、频次、适应的目标人员等。Preferably, the gateway can also interact with the terminal to configure the execution time, frequency, and adaptive target personnel of the scene model.
步骤706',网关通知终端配置结果,并退出配置模式。终端接收到配置结果后,退出当前配置模式。Step 706', the gateway notifies the terminal of the configuration result and exits the configuration mode. After receiving the configuration result, the terminal exits the current configuration mode.
在本实施例中,用户只需选择所需的场景对应的场景模型,模拟场景以便网关获取场景模拟过程中的特征信息,即可完成规则配置,该方法大大降低了规则配置的难度;此外,由网关来生成联动的规则的方式,可减少网关与终端的交互过程,有利于提高配置的效率。In this embodiment, the user only needs to select the scene model corresponding to the required scene and simulate the scene so that the gateway can obtain the feature information in the scene simulation process, and then the rule configuration can be completed. This method greatly reduces the difficulty of the rule configuration; in addition, The way in which the linkage rules are generated by the gateway can reduce the interaction process between the gateway and the terminal, which is beneficial to improve the efficiency of configuration.
实施例三Embodiment 3
参见图8a所示,图8a为本申请实施例三家居应用场景下规则配置方法的一种流程示意图。终端中的应用程序被运行,并进入配置模式,在该模式下,配置方法包括如下步骤801-805:Referring to Fig. 8a, Fig. 8a is a schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 3 of the present application. The application program in the terminal is run and enters the configuration mode. In this mode, the configuration method includes the following steps 801-805:
步骤801,终端通知网关进入特征采集模式,网关向终端返回进行场景模拟的指示,以提醒用户开始进行场景模拟,并获取场景模拟过程中的特征信息。In step 801, the terminal notifies the gateway to enter the feature collection mode, and the gateway returns an instruction to perform the scenario simulation to the terminal to remind the user to start the scenario simulation and acquire feature information during the scenario simulation process.
在该步骤中,较佳地,终端可以向用户提供用户模拟所需要的场景中的引导信息,以便用户按照上述引导信息进行场景模拟,进而生成场景模拟过程中的特征信息供网关记录。例如,对于场景1,终端可以提示用户触发门磁传感器、触发红外传感器等。又例如,用户所需的场景3是,夜起时,随着移动轨迹打开轨迹上的夜灯照明,则终端可以引导用户输入一时间范围作为夜起事件的执行时间,引导用户触发移动轨迹上的红外传感器采集数据,这样,当移动轨迹上的各个红外传感器检测到目标时,将各个检测事件发送给网关,网关从而可以记录各个检测事件以及上报的执行时间。In this step, preferably, the terminal can provide the user with guidance information in the scene required by the user simulation, so that the user can simulate the scene according to the above guidance information, and then generate feature information in the scene simulation process for the gateway to record. For example, for scenario 1, the terminal may prompt the user to trigger the door magnetic sensor, trigger the infrared sensor, and so on. For another example, the scene 3 required by the user is that when the night rises, the night lights on the track are turned on along with the moving track, and the terminal can guide the user to input a time range as the execution time of the night event, and guide the user to trigger the movement on the track. In this way, when each infrared sensor on the moving track detects a target, each detection event is sent to the gateway, and the gateway can record each detection event and the reported execution time.
步骤802,当场景模拟过程结束时,终端通知网关退出特征采集模式。Step 802, when the scenario simulation process ends, the terminal notifies the gateway to exit the feature collection mode.
步骤803,网关退出特征采集模式后,将获取的特征信息发送给终端,以便于在终端侧生成规则。Step 803: After the gateway exits the feature collection mode, it sends the acquired feature information to the terminal, so as to generate rules on the terminal side.
步骤804,终端接收所述网关获取的特征信息,基于特征信息生成用于联动的规则。Step 804: The terminal receives the feature information acquired by the gateway, and generates a rule for linkage based on the feature information.
在该步骤中,终端根据预先设置的特征信息集合与联动集合的第一对应关系、以及预先设置的联动集合与场景模型集合的第二对应关系,确定接收所述网关获取的特征信息对应的场景模型,根据预先设置的场景模型与既有规则的第三对应关系,生成联动的规则;当所确定的联动规则不满足要求时,基于所述特征信息修改该规则,得到用于联动的规则,后续可以将修改后的规则发送给网关。In this step, the terminal determines the scene corresponding to receiving the feature information acquired by the gateway according to the preset first correspondence between the feature information set and the linkage set, and the preset second correspondence between the linkage set and the scene model set model, according to the third corresponding relationship between the preset scene model and the existing rules, to generate the linkage rules; when the determined linkage rules do not meet the requirements, modify the rules based on the feature information to obtain the linkage rules, and follow-up The modified rules can be sent to the gateway.
具体的,终端可以从上述第一对应关系中,确定所述特征信息对应的联动,然后从第二对应关系中,确定上述联动对应的场景模型,最终得到上述特征信息对应的场景模型,在得到场景模型后,可以从第三对应关系中,确定该场景模型对应的既有规则,作为初步的联动规则,然后可以判断该联动规则是否满足要求,若满足,则可以将该联动规则作为最终的联动规则;否则,可以利用上述特征信息对该初步的联动规则进行修改,将修改后的规则作为最终的联动规则。Specifically, the terminal may determine the linkage corresponding to the feature information from the first correspondence, and then determine the scene model corresponding to the linkage from the second correspondence, and finally obtain the scene model corresponding to the feature information. After the scene model, the existing rule corresponding to the scene model can be determined from the third corresponding relationship as a preliminary linkage rule, and then it can be judged whether the linkage rule meets the requirements. The linkage rule; otherwise, the preliminary linkage rule can be modified by using the above feature information, and the modified rule is used as the final linkage rule.
例如,终端可以根据家居***预先配置的事件集合与联动集合的第一对应关系,预先设置的联动集合与 场景模型集合的第二对应关系,确定接收所述网关获取的特征信息对应的场景模型。如下表所示,表中示出了基于事件集合所构建的联动集合的一种示意,其中,符号√表示对应的事件。For example, the terminal can determine the scene model corresponding to receiving the feature information obtained by the gateway according to the first correspondence between the event set and the linkage set preconfigured by the home system, and the second correspondence between the preset linkage set and the scene model set. As shown in the following table, the table shows a schematic diagram of the linkage set constructed based on the event set, wherein the symbol √ represents the corresponding event.
事件1event 1 事件2event 2 。。。. . . 事件nevent n 联动linkage
         联动1linkage 1
         联动2linkage 2
      联动3linkage 3
        
            联动mlinkage m
例如,根据采集的门磁触发事件、红外传感器的检测事件、以及该两事件之间的时间间隔,终端可以按照家居***预先配置的联动集合,确定所对应的联动可以包括:满足上述事件时控制窗帘的联动1,满足上述事件时控制照明的联动2,满足上述事件时控制空调工作状态的联动3,满足上述事件时控制音响的联动4…等等,较佳地,终端输出各个事件对应的联动,以供用户选择,进一步地,还可以通过终端对事件对应的联动进行增加、删除、更新等维护操作。For example, according to the collected door magnetic trigger event, the detection event of the infrared sensor, and the time interval between the two events, the terminal may determine the corresponding linkage according to the linkage set preconfigured by the home system, which may include: controlling when the above-mentioned events are satisfied The linkage 1 of the curtains, the linkage 2 of lighting control when the above events are met, the linkage 3 of controlling the working state of the air conditioner when the above events are met, the linkage 4 of controlling the sound when the above events are met, etc. Preferably, the terminal outputs corresponding to each event. The linkage is for the user to choose, and further, maintenance operations such as adding, deleting, and updating the linkage corresponding to the event can be performed through the terminal.
终端根据家居***预先配置的联动集合与场景模型的第二对应关系,确定场景模型。例如,用户选择了联动1和2,则意味着,对应的场景模型中存在满足事件时窗帘以及照明的联动控制的需求,这样,根据场景模型,可以确定联动的规则。较佳地,通过终端还可以对场景模型对应的规则进行增加、删除、更新等维护操作,以进一步提高规则配置的便利性。The terminal determines the scene model according to the second correspondence between the linkage set preconfigured by the home system and the scene model. For example, if the user selects linkage 1 and 2, it means that the corresponding scene model exists to meet the needs of the linkage control of curtains and lighting during the event. In this way, the linkage rules can be determined according to the scene model. Preferably, the terminal can also perform maintenance operations such as adding, deleting, and updating the rules corresponding to the scene model, so as to further improve the convenience of rule configuration.
较佳地,终端根据用户的选择,获取场景模型的执行时间、频次、适应的目标人员等。Preferably, according to the user's selection, the terminal obtains the execution time, frequency, and adapted target personnel of the scene model, and the like.
步骤805,终端将生成的规则发送至网关,以便于网关保存,终端和网关分别退出配置模式,从而完成了规则配置。In step 805, the terminal sends the generated rule to the gateway so that the gateway can save it, and the terminal and the gateway respectively exit the configuration mode, thereby completing the rule configuration.
参见图8b所示,图8b为本申请实施例三家居应用场景下规则配置方法的另一种流程示意图。作为一种变换,规则的生成还可以是在网关侧来实现,故而,上述步骤804~805的另一实施方式还可以是:Referring to Fig. 8b, Fig. 8b is another schematic flowchart of a rule configuration method in a home application scenario according to Embodiment 3 of the present application. As a conversion, the generation of the rules can also be implemented on the gateway side, therefore, another implementation of the above steps 804 to 805 can also be:
步骤804',网关响应于终端发送的退出特征采集模式的通知,退出特征采集模式,进入配置模式,在配置模式下,基于特征信息生成用于联动的规则。Step 804', the gateway exits the feature collection mode and enters the configuration mode in response to the notification sent by the terminal to exit the feature collection mode, and in the configuration mode, generates a rule for linkage based on the feature information.
在该步骤中,网关可以根据预先设置的特征信息集合与联动集合的第一对应关系、以及预先设置的联动集合与场景模型集合的第二对应关系,确定接收所述网关获取的特征信息对应的场景模型,根据预先设置的场景模型与既有规则的第三对应关系,确定联动的规则;将确定的规则发送给终端,使得终端返回对所确定规则的反馈,响应于来自终端的对所确定规则的反馈,按照反馈修改该规则,得到用于联动的规则。In this step, the gateway may determine, according to the preset first correspondence between the feature information set and the linkage set, and the preset second correspondence between the linkage set and the scene model set, the corresponding one to receive the feature information acquired by the gateway. The scene model, according to the third correspondence between the preset scene model and the existing rules, determines the rules of linkage; sends the determined rules to the terminal, so that the terminal returns feedback on the determined rules, and responds to the determined rules from the terminal. Feedback of the rule, modify the rule according to the feedback, and get the rule for linkage.
例如,网关可以根据家居***预先配置的事件集合与联动集合的第一对应关系,预先设置的联动集合与场景模型集合的第二对应关系,确定接收所述网关获取的特征信息对应的场景模型。For example, the gateway can determine the scene model corresponding to receiving the feature information obtained by the gateway according to the first correspondence between the event set and the linkage set preconfigured by the home system, and the second correspondence between the preset linkage set and the scene model set.
较佳地,网关可以和终端进行交互,以获取场景模型的执行时间、频次、适应的目标人员等。Preferably, the gateway can interact with the terminal to obtain the execution time, frequency, and adaptive target personnel of the scene model.
步骤805',网关将生成的规则发送给终端,以便用户可以通过终端反馈确认规则和/或修改规则。Step 805', the gateway sends the generated rule to the terminal, so that the user can confirm the rule and/or modify the rule through feedback from the terminal.
在该步骤中,当场景模型对应的既有规则满足用户的需求时,终端向网关发送确认该既有规则的指令,以便网关保存该既有规则。In this step, when the existing rule corresponding to the scene model meets the needs of the user, the terminal sends an instruction to confirm the existing rule to the gateway, so that the gateway saves the existing rule.
当场景模型对应的既有规则不满足用户的需求,用户可以通过终端对该既有规则进行修改,进而网关可以与终端进行交互,以获取用户通过终端修改后的规则。When the existing rules corresponding to the scene model do not meet the user's needs, the user can modify the existing rules through the terminal, and then the gateway can interact with the terminal to obtain the rules modified by the user through the terminal.
例如,在场景1中,终端接收来自网关的规则,用户发现规则中除了窗帘控制和照明控制以外,还需要进行热水器控制,以控制热水器开始加热。则用户可以通过终端增加开启热水器的规则,并通过终端将修改后的规则发送给网关,以便网关予以保存。For example, in scenario 1, the terminal receives the rules from the gateway, and the user finds that in addition to the curtain control and lighting control, the water heater control is also required to control the water heater to start heating. Then the user can add a rule for turning on the water heater through the terminal, and send the modified rule to the gateway through the terminal, so that the gateway can save it.
进一步地,网关根据来自终端的用户所修改的规则,可以对事件与联动的第一对应关系进行维护,具体可以是增加、删除、更新事件对应的联动,也可以对联动与场景模型的第二对应关系进行维护,具体可以是增加、删除、更新联动对应的场景模型,还可以对场景模型对应的既有规则进行维护,具体可以是增加、删除、更新场景模型对应的规则。Further, the gateway can maintain the first corresponding relationship between the event and the linkage according to the rules modified by the user from the terminal. Specifically, it can add, delete, and update the linkage corresponding to the event, and can also maintain the second linkage between the linkage and the scene model. The corresponding relationship is maintained, specifically, adding, deleting, and updating the scene model corresponding to the linkage, and maintaining the existing rules corresponding to the scene model, specifically, adding, deleting, and updating the rules corresponding to the scene model.
步骤806',网关和终端分别退出配置模式,配置结束。Step 806 ′, the gateway and the terminal exit the configuration mode respectively, and the configuration ends.
在本实施例中,根据事件信息确定联动信息,根据联动信息确定对应的场景模型,根据场景模型确定规则,由于事件与联动、联动与场景模型、场景模型与规则既具有既有的对应关系,又可以根据用户需求而进行维护,这样,既可以兼顾配置的效率,又可以满足个性化的配置需求;并且,由于根据事件信息确定联动、根据联动确定场景模型、根据场景模型确定规则的过程都是由网关和/或终端实现,对于用户而言只需按照事件进行联动的选择,而不必关心事件产生的机理,大大降低了用户的技术门槛,方便了用户的操作。In this embodiment, the linkage information is determined according to the event information, the corresponding scene model is determined according to the linkage information, and the rules are determined according to the scene model. It can also be maintained according to user needs, so that both the efficiency of configuration can be taken into account, and the individual configuration requirements can be met; in addition, since the process of determining linkage based on event information, determining scene model based on linkage, and determining rules based on scene model are all It is implemented by gateways and/or terminals. For users, it is only necessary to select the linkage according to the event, without caring about the mechanism of the event, which greatly reduces the user's technical threshold and facilitates the user's operation.
参见图9所示,图9为实现本申请规则配置方法的终端的一种示意图。该终端包括,第一规则配置模块,用于通知用于联动和/或群控物联网设备的网关进入特征采集模式,以使得所述网关获取场景模拟过程中的特征信息,接收所述网关获取的特征信息,基于特征信息生成用于联动的规则;将生成的规则发给网关。Referring to FIG. 9, FIG. 9 is a schematic diagram of a terminal implementing the rule configuration method of the present application. The terminal includes a first rule configuration module for notifying a gateway used for linkage and/or group control of IoT devices to enter a feature collection mode, so that the gateway obtains feature information in the process of scene simulation, and receives the feature information obtained by the gateway. Based on the feature information, the rules for linkage are generated based on the feature information; the generated rules are sent to the gateway.
参见图10所示,图10为实现本申请规则配置方法的网关的一种示意图。该网关包括,第二规则配置模块,用于接收用于配置和/或控制物联网设备的终端发送的通知,进入特征采集模式,在特征采集模式下,获取场景模拟过程中的特征信息;基于特征信息生成用于联动的规则。Referring to FIG. 10, FIG. 10 is a schematic diagram of a gateway implementing the rule configuration method of the present application. The gateway includes a second rule configuration module, configured to receive a notification sent by a terminal used to configure and/or control the IoT device, enter a feature collection mode, and in the feature collection mode, acquire feature information during the scenario simulation process; based on The feature information generates rules for linkage.
参见图11所示,图11为实现本申请规则配置方法的网关或终端的一种示意图。网关或终端包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被处理器执行时实现所述物联网设备配置方法的步骤。Referring to FIG. 11 , FIG. 11 is a schematic diagram of a gateway or terminal implementing the rule configuration method of the present application. The gateway or terminal includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, implements the steps of the method for configuring an Internet of Things device.
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM), and may also include non-volatile memory (Non-Volatile Memory, NVM), such as at least one disk storage. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The above-mentioned processor can be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; it can also be a digital signal processor (Digital Signal Processing, DSP), dedicated integrated Circuit (Application Specific Integrated Circuit, ASIC), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
本申请实施例还提供了一种计算机可读存储介质,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述物联网设备配置方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the above method for configuring an Internet of Things device are implemented.
本申请实施例还提供了一种物联网设备联动的配置装置,该装置设置于用于配置和/或控制物联网设备的终端侧,所述装置包括:The embodiment of the present application also provides a configuration device for linkage of IoT devices, the device is set on a terminal side for configuring and/or controlling IoT devices, and the device includes:
模式通知模块,用于通知用于联动和/或群控物联网设备的网关进入特征采集模式,以使得所述网关获取场景模拟过程中的特征信息;a mode notification module, configured to notify the gateway used for linkage and/or group control of IoT devices to enter the feature collection mode, so that the gateway acquires feature information during the scenario simulation process;
规则生成模块,用于接收所述网关获取的特征信息,基于所述特征信息生成用于联动的规则;a rule generation module, configured to receive the feature information obtained by the gateway, and generate a rule for linkage based on the feature information;
规则发送模块,用于将生成的规则发给所述网关;a rule sending module, configured to send the generated rule to the gateway;
其中,所述特征信息包括:所述场景模拟过程中目标的行为轨迹的空间特征、时间特征、行为特征之一或其任意组合。Wherein, the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
较佳地,所述物联网设备包括:用于特征信息生成的第一物联网设备、以及用于动作执行的第二物联网设备;Preferably, the Internet of Things device includes: a first Internet of Things device for generating feature information, and a second Internet of Things device for action execution;
所述模式通知模块,具体用于:The mode notification module is specifically used for:
通知用于联动和/或群控物联网设备的网关进入特征采集模式,使得所述网关记录来自所述第一物联网设备的特征信息;Notifying the gateway used for linkage and/or group control of IoT devices to enter the feature collection mode, so that the gateway records feature information from the first IoT device;
所述规则生成模块,包括:The rule generation module includes:
模型构建单元,用于接收所述网关获取的特征信息,根据接收的特征信息,构建所需场景的场景模型,A model building unit, configured to receive the feature information obtained by the gateway, and construct a scene model of the required scene according to the received feature information,
规则生成单元,用于基于所述场景模型,生成所述第二物联网设备用于联动的规则。A rule generation unit, configured to generate a rule for linkage of the second Internet of Things device based on the scene model.
较佳地,所述第一物联网设备为传感器,所述特征信息为事件信息,所述空间特征为事件关联的位置信息,所述时间特征为事件关联的时间信息,所述行为特征为事件关联的动作,Preferably, the first IoT device is a sensor, the feature information is event information, the spatial feature is location information associated with an event, the time feature is time information associated with an event, and the behavior feature is an event. associated actions,
其中,所述事件信息包括触发内容、触发参数、多个传感器间的触发时间间隔、多个传感器间的触发逻 辑之一或其任意组合;Wherein, the event information includes trigger content, trigger parameter, trigger time interval between multiple sensors, one of trigger logic between multiple sensors, or any combination thereof;
所述模式通知模块,具体用于:The mode notification module is specifically used for:
通知用于联动和/或群控物联网设备的网关进入特征采集模式,使得所述网关接收所述传感器上报的事件信息,并记录事件的上报时间,根据所述上报时间获得多个传感器间的触发时间间隔、和/或多个传感器间的触发逻辑;Notify the gateway used for linkage and/or group control of IoT devices to enter the feature collection mode, so that the gateway receives the event information reported by the sensor, records the reporting time of the event, and obtains the data between multiple sensors according to the reporting time. Trigger time interval, and/or trigger logic between multiple sensors;
所述模型构建单元,具体用于:The model building unit is specifically used for:
接收所述网关获取的特征信息,将接收的事件信息作为所需场景的场景模型。The feature information acquired by the gateway is received, and the received event information is used as the scene model of the required scene.
较佳地,所述装置还包括信息接收模块,用于:Preferably, the device further includes an information receiving module for:
在所述通知用于联动和/或群控物联网设备的网关进入特征采集模式之前,接收用户所选择的物联网设备信息,将所述物联网设备信息发送给网关,以使得所述网关记录所选择的物联网设备信息对应的物联网设备所上报的事件信息;Before the gateway for linking and/or group controlling IoT devices enters the feature collection mode, receive the IoT device information selected by the user, and send the IoT device information to the gateway, so that the gateway records the IoT device information. The event information reported by the IoT device corresponding to the selected IoT device information;
所述装置还包括模式退出模块,用于:The apparatus also includes a mode exit module for:
在所述使得所述网关获取场景模拟过程中的特征信息之后,当场景模拟结束后,所述终端通知所述网关退出所述特征采集模式,使得所述网关将获取的特征信息发送给所述终端。After causing the gateway to acquire the feature information in the scenario simulation process, when the scenario simulation ends, the terminal notifies the gateway to exit the feature collection mode, so that the gateway sends the acquired feature information to the terminal.
较佳地,所述装置还包括选择接收模块,用于:Preferably, the device further includes a selection receiving module for:
在所述通知用于联动和/或群控物联网设备的网关进入特征采集模式之前,所述终端推送场景模型;The terminal pushes the scenario model before the notification that the gateway for linkage and/or group control of IoT devices enters the feature collection mode;
接收用户选择的场景模型信息;Receive the scene model information selected by the user;
所述装置还包括引导信息接收模块,用于:The device also includes a guidance information receiving module for:
在所述通知用于联动和/或群控物联网设备的网关进入特征采集模式之后,接收来自所述网关的场景模拟指示信息,并提供进行场景模拟的引导信息,使得场景被模拟;After the notification that the gateway used for linkage and/or group control of IoT devices enters the feature collection mode, receiving scene simulation instruction information from the gateway, and providing guidance information for scene simulation, so that the scene is simulated;
所述装置还包括模式退出模块,用于:The apparatus also includes a mode exit module for:
在所述使得所述网关获取场景模拟过程中的特征信息之后,当场景模拟结束后,通知所述网关退出特征采集模式,使得所述网关将获取的特征信息发送给所述终端;After causing the gateway to acquire the feature information in the scenario simulation process, when the scenario simulation ends, notify the gateway to exit the feature collection mode, so that the gateway sends the acquired feature information to the terminal;
所述规则生成模块,具体用于:The rule generation module is specifically used for:
接收所述网关获取的特征信息,根据场景模型对应的既有联动,确定所需要的联动信息,其中,所述场景模型对应的既有联动为:预先设置的、应用于所模拟的场景的联动信息;Receive the feature information obtained by the gateway, and determine the required linkage information according to the existing linkage corresponding to the scene model, wherein the existing linkage corresponding to the scene model is: a preset linkage applied to the simulated scene information;
根据接收的特征信息以及所确定的联动信息,生成联动的规则。According to the received feature information and the determined linkage information, a linkage rule is generated.
较佳地,所述规则生成模块,具体用于:Preferably, the rule generation module is specifically used for:
接收所述网关获取的特征信息,根据预先设置的特征信息集合与联动集合的第一对应关系、以及预先设置的联动集合与场景模型集合的第二对应关系,确定所接收的所述网关获取的特征信息对应的场景模型;Receive the feature information acquired by the gateway, and determine the received feature information acquired by the gateway according to the preset first correspondence between the feature information set and the linkage set, and the preset second correspondence between the linkage set and the scene model set. The scene model corresponding to the feature information;
根据预先设置的场景模型与既有规则的第三对应关系,确定联动的规则;Determine the linkage rules according to the third correspondence between the preset scene model and the existing rules;
当所确定的联动规则不满足要求时,基于所述特征信息修改该规则,得到用于联动的规则。When the determined linkage rule does not meet the requirements, the rule is modified based on the feature information to obtain a rule for linkage.
本申请实施例还提供了一种物联网设备联动的配置装置,设置于用于联动和/或群控物联网设备的网关侧,该装置包括,The embodiment of the present application also provides a configuration device for linkage of IoT devices, which is arranged on the gateway side for linkage and/or group control of IoT devices, and the device includes:
通知接收模块,用于接收用于配置和/或控制物联网设备的终端发送的通知,进入特征采集模式;A notification receiving module, configured to receive a notification sent by a terminal used to configure and/or control the IoT device, and enter the feature collection mode;
特征获取模块,用于在所述特征采集模式下,获取场景模拟过程中的特征信息;a feature acquisition module, configured to acquire feature information in the scene simulation process in the feature acquisition mode;
规则生成模块,用于基于所述特征信息生成用于联动的规则;a rule generation module for generating rules for linkage based on the feature information;
其中,所述特征信息包括:所述场景模拟过程中目标的行为轨迹的空间特征、时间特征、行为特征之一或其任意组合。Wherein, the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
较佳地,所述物联网设备包括:用于特征信息生成的第一物联网设备、以及用于动作执行的第二物联网设备;Preferably, the Internet of Things device includes: a first Internet of Things device for generating feature information, and a second Internet of Things device for action execution;
所述特征获取模块,具体用于:The feature acquisition module is specifically used for:
在所述特征采集模式下,记录来自所述第一物联网设备的特征信息;In the feature collection mode, record feature information from the first IoT device;
所述规则生成模块,包括:The rule generation module includes:
模型构建单元,用于根据接收的特征信息,构建所需场景的场景模型;The model building unit is used to build the scene model of the required scene according to the received feature information;
规则生成单元,用于基于所述场景模型,生成用于所述第二物联网设备联动的规则。A rule generating unit, configured to generate a rule for linkage of the second Internet of Things device based on the scene model.
较佳地,所述第一物联网设备为传感器,所述特征信息为事件信息,所述空间特征为事件关联的位置信息,所述时间特征为事件关联的时间信息,所述行为特征为事件关联的动作,Preferably, the first IoT device is a sensor, the feature information is event information, the spatial feature is location information associated with an event, the time feature is time information associated with an event, and the behavior feature is an event. associated actions,
其中,所述事件信息包括触发内容、触发参数、多个传感器间的触发时间间隔、多个传感器间的触发逻辑之一或其任意组合;Wherein, the event information includes trigger content, trigger parameters, trigger time interval between multiple sensors, one of trigger logic between multiple sensors, or any combination thereof;
所述特征获取模块,具体用于:The feature acquisition module is specifically used for:
在所述特征采集模式下,接收所述传感器上报的事件信息,并记录事件的上报时间,根据所述上报时间获得多个传感器间的触发时间间隔、和/或多个传感器间的触发逻辑;In the feature collection mode, the event information reported by the sensor is received, the reporting time of the event is recorded, and the triggering time interval between multiple sensors and/or the triggering logic between multiple sensors is obtained according to the reporting time;
所述模型构建单元,具体用于:The model building unit is specifically used for:
将接收的事件信息作为所需场景的场景模型。Use the received event information as a scene model for the desired scene.
较佳地,所述装置还包括设备信息接收模块,用于:Preferably, the device further includes a device information receiving module for:
在所述接收用于配置和/或控制物联网设备的终端发送的通知,进入特征采集模式之前,接收所述终端发送的用户所选择的物联网设备信息;Before entering the feature collection mode, receiving the notification sent by the terminal for configuring and/or controlling the IoT device, receiving the IoT device information selected by the user sent by the terminal;
所述特征获取模块,具体用于:The feature acquisition module is specifically used for:
在所述特征采集模式下,根据所接收的物联网设备信息,记录来自所述物联网设备信息对应的物联网设备的特征信息;In the feature collection mode, according to the received IoT device information, record feature information from the IoT device corresponding to the IoT device information;
所述装置还包括模式退出模块,用于:The apparatus also includes a mode exit module for:
在所述获取场景模拟过程中的特征信息之后,响应于所述终端发送的退出特征采集模式的通知,退出特征采集模式,进入配置模式。After the acquisition of the feature information in the scenario simulation process, in response to a notification sent by the terminal to exit the feature collection mode, the feature collection mode is exited and the configuration mode is entered.
较佳地,所述特征获取模块,具体用于:Preferably, the feature acquisition module is specifically used for:
在所述特征采集模式下,接收所述终端发送的用户所选择的场景模型信息;In the feature collection mode, receiving the scene model information selected by the user and sent by the terminal;
根据场景模型,向所述终端发送用于场景模拟的指示信息和引导信息,使得场景被模拟;According to the scene model, send instruction information and guidance information for the scene simulation to the terminal, so that the scene is simulated;
所述装置还包括模式退出模块,用于:The apparatus also includes a mode exit module for:
在所述获取场景模拟过程中的特征信息之后,响应于所述终端发送的退出特征采集模式的通知,退出特征采集模式,进入配置模式;After the acquisition of the feature information in the scenario simulation process, in response to a notification sent by the terminal to exit the feature collection mode, exit the feature collection mode and enter the configuration mode;
所述规则生成模块,具体用于:The rule generation module is specifically used for:
在配置模式下,根据场景模型对应的既有联动,确定所需要的联动信息,其中,所述场景模型对应的既有联动为:预先设置的、应用于所模拟的场景的联动信息;In the configuration mode, the required linkage information is determined according to the existing linkage corresponding to the scene model, wherein the existing linkage corresponding to the scene model is: preset linkage information applied to the simulated scene;
根据特征信息以及所确定的联动信息,生成联动的规则。According to the feature information and the determined linkage information, a linkage rule is generated.
较佳地,所述装置还包括模式退出模块,用于:Preferably, the device further includes a mode exit module for:
在所述获取场景模拟过程中的特征信息之后,响应于所述终端发送的退出特征采集模式的通知,退出特征采集模式,进入配置模式;After the acquisition of the feature information in the scenario simulation process, in response to a notification sent by the terminal to exit the feature collection mode, exit the feature collection mode and enter the configuration mode;
所述规则生成模块,用于:The rule generation module is used for:
在配置模式下,根据预先设置的特征信息集合与联动集合的第一对应关系、以及预先设置的联动集合与场景模型集合的第二对应关系,确定所接收的所述网关获取的特征信息对应的场景模型;In the configuration mode, according to the preset first correspondence between the feature information set and the linkage set, and the preset second correspondence between the linkage set and the scene model set, determine the received feature information corresponding to the gateway. scene model;
根据预先设置的场景模型与既有规则的第三对应关系,确定联动的规则;Determine the linkage rules according to the third correspondence between the preset scene model and the existing rules;
将确定的规则发送给所述终端,使得所述终端返回对所确定规则的反馈;sending the determined rule to the terminal, so that the terminal returns feedback on the determined rule;
响应于来自所述终端的对所确定规则的反馈,按照反馈修改该规则,得到用于联动的规则。In response to feedback on the determined rule from the terminal, the rule is modified according to the feedback to obtain a rule for linkage.
本申请实施例还提供了一种计算机可读存储介质,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现任一所述的终端侧物联网设备配置方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, steps of any of the terminal-side IoT device configuration methods are implemented.
本申请实施例还提供了一种计算机可读存储介质,所述存储介质内存储有计算机程序,所述计算机程序 被处理器执行时实现任一所述的网关侧物联网设备配置方法的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of any of the gateway-side IoT device configuration methods are implemented.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行任一所述的终端侧物联网设备配置方法的步骤。Embodiments of the present application also provide a computer program product containing instructions, which, when running on a computer, cause the computer to execute any of the steps of the terminal-side IoT device configuration method.
本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行任一所述的网关侧物联网设备配置方法的步骤。Embodiments of the present application also provide a computer program product containing instructions, which, when run on a computer, cause the computer to execute any of the steps of the gateway-side IoT device configuration method.
对于装置/网络侧设备/存储介质实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the apparatus/network side device/storage medium embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the partial description of the method embodiment.
在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。In this document, relational terms such as first and second, etc. are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such existence between these entities or operations. The actual relationship or sequence. Moreover, the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device that includes a list of elements includes not only those elements, but also includes not explicitly listed or other elements inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.

Claims (22)

  1. 一种物联网设备联动的配置方法,其特征在于,该方法包括,在用于配置和/或控制物联网设备的终端侧,A method for configuring linkage of IoT devices, characterized in that the method includes, on the side of a terminal for configuring and/or controlling IoT devices,
    通知用于联动和/或群控物联网设备的网关进入特征采集模式,以使得所述网关获取场景模拟过程中的特征信息;Notifying the gateway used for linkage and/or group control of IoT devices to enter the feature collection mode, so that the gateway obtains feature information during the scenario simulation process;
    接收所述网关获取的特征信息,基于所述特征信息生成用于联动的规则;receiving feature information obtained by the gateway, and generating a rule for linkage based on the feature information;
    将生成的规则发给所述网关;sending the generated rule to the gateway;
    其中,所述特征信息包括:所述场景模拟过程中目标的行为轨迹的空间特征、时间特征、行为特征之一或其任意组合。Wherein, the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
  2. 如权利要求1所述的配置方法,其特征在于,所述物联网设备包括:用于特征信息生成的第一物联网设备、以及用于动作执行的第二物联网设备;The configuration method according to claim 1, wherein the IoT device comprises: a first IoT device for generating characteristic information, and a second IoT device for executing an action;
    所述使得所述网关获取场景模拟过程中的特征信息,包括:The enabling the gateway to acquire feature information in the scenario simulation process includes:
    使得所述网关记录来自所述第一物联网设备的特征信息;causing the gateway to record feature information from the first IoT device;
    所述接收所述网关获取的特征信息,基于所述特征信息生成用于联动的规则,包括:The receiving feature information obtained by the gateway, and generating a rule for linkage based on the feature information, includes:
    接收所述网关获取的特征信息,根据接收的特征信息,构建所需场景的场景模型,receiving the feature information obtained by the gateway, and constructing a scene model of the required scene according to the received feature information,
    基于所述场景模型,生成所述第二物联网设备用于联动的规则。Based on the scenario model, a rule used by the second Internet of Things device for linkage is generated.
  3. 如权利要求2所述的配置方法,其特征在于,所述第一物联网设备为传感器,所述特征信息为事件信息,所述空间特征为事件关联的位置信息,所述时间特征为事件关联的时间信息,所述行为特征为事件关联的动作,The configuration method according to claim 2, wherein the first Internet of Things device is a sensor, the feature information is event information, the spatial feature is event-related location information, and the time feature is event-related time information, the behavioral feature is the action associated with the event,
    其中,所述事件信息包括触发内容、触发参数、多个传感器间的触发时间间隔、多个传感器间的触发逻辑之一或其任意组合;Wherein, the event information includes trigger content, trigger parameters, trigger time interval between multiple sensors, one of trigger logic between multiple sensors, or any combination thereof;
    所述使得所述网关记录来自所述第一物联网设备的特征信息,包括:The causing the gateway to record the feature information from the first IoT device includes:
    使得所述网关接收所述传感器上报的事件信息,并记录事件的上报时间,根据所述上报时间获得多个传感器间的触发时间间隔、和/或多个传感器间的触发逻辑;causing the gateway to receive the event information reported by the sensor, record the reporting time of the event, and obtain the triggering time interval between multiple sensors and/or the triggering logic between multiple sensors according to the reporting time;
    所述根据接收的特征信息,构建所需场景的场景模型,包括:Described according to the received characteristic information, construct the scene model of the required scene, including:
    将接收的事件信息作为所需场景的场景模型。Use the received event information as a scene model for the desired scene.
  4. 如权利要求1所述的配置方法,其特征在于,在所述通知用于联动和/或群控物联网设备的网关进入特征采集模式之前,所述方法还包括:The configuration method according to claim 1, wherein before the notification that the gateway used for linkage and/or group control of the IoT devices enters the feature collection mode, the method further comprises:
    接收用户所选择的物联网设备信息,将所述物联网设备信息发送给网关,以使得所述网关记录所选择的物联网设备信息对应的物联网设备所上报的事件信息;Receive the IoT device information selected by the user, and send the IoT device information to the gateway, so that the gateway records the event information reported by the IoT device corresponding to the selected IoT device information;
    在所述使得所述网关获取场景模拟过程中的特征信息之后,所述方法还包括:After causing the gateway to acquire the feature information in the scenario simulation process, the method further includes:
    当场景模拟结束后,所述终端通知所述网关退出所述特征采集模式,使得所述网关将获取的特征信息发送给所述终端。When the scenario simulation ends, the terminal notifies the gateway to exit the feature collection mode, so that the gateway sends the acquired feature information to the terminal.
  5. 如权利要求1所述的配置方法,其特征在于,在所述通知用于联动和/或群控物联网设备的网关进入特征采集模式之前,所述方法还包括:The configuration method according to claim 1, wherein before the notification that the gateway used for linkage and/or group control of the IoT devices enters the feature collection mode, the method further comprises:
    所述终端推送场景模型;the terminal pushes the scene model;
    接收用户选择的场景模型信息;Receive the scene model information selected by the user;
    在所述通知用于联动和/或群控物联网设备的网关进入特征采集模式之后,所述方法还包括:After the notification that the gateway for linkage and/or group control of the IoT devices enters the feature collection mode, the method further includes:
    接收来自所述网关的场景模拟指示信息,并提供进行场景模拟的引导信息,使得场景被模拟;Receive scene simulation instruction information from the gateway, and provide guidance information for scene simulation, so that the scene is simulated;
    在所述使得所述网关获取场景模拟过程中的特征信息之后,所述方法还包括:After causing the gateway to acquire the feature information in the scenario simulation process, the method further includes:
    当场景模拟结束后,通知所述网关退出特征采集模式,使得所述网关将获取的特征信息发送给所述终端;When the scenario simulation ends, notify the gateway to exit the feature collection mode, so that the gateway sends the acquired feature information to the terminal;
    所述接收所述网关获取的特征信息,基于所述特征信息生成用于联动的规则,包括:The receiving feature information obtained by the gateway, and generating a rule for linkage based on the feature information, including:
    根据场景模型对应的既有联动,确定所需要的联动信息,其中,所述场景模型对应的既有联动为:预先 设置的、应用于所模拟的场景的联动信息;Determine the required linkage information according to the existing linkage corresponding to the scene model, wherein the existing linkage corresponding to the scene model is: preset linkage information applied to the simulated scene;
    根据接收的特征信息以及所确定的联动信息,生成联动的规则。According to the received feature information and the determined linkage information, a linkage rule is generated.
  6. 如权利要求1所述的配置方法,其特征在于,所述接收所述网关获取的特征信息,基于所述特征信息生成用于联动的规则,包括:The configuration method according to claim 1, wherein the receiving feature information obtained by the gateway, and generating a rule for linkage based on the feature information, comprises:
    接收所述网关获取的特征信息,根据预先设置的特征信息集合与联动集合的第一对应关系、以及预先设置的联动集合与场景模型集合的第二对应关系,确定所接收的所述网关获取的特征信息对应的场景模型;Receive the feature information acquired by the gateway, and determine the received feature information acquired by the gateway according to the preset first correspondence between the feature information set and the linkage set, and the preset second correspondence between the linkage set and the scene model set. The scene model corresponding to the feature information;
    根据预先设置的场景模型与既有规则的第三对应关系,确定联动的规则;Determine the linkage rules according to the third correspondence between the preset scene model and the existing rules;
    当所确定的联动规则不满足要求时,基于所述特征信息修改该规则,得到用于联动的规则。When the determined linkage rule does not meet the requirements, the rule is modified based on the feature information to obtain a rule for linkage.
  7. 一种物联网设备联动的配置方法,其特征在于,该方法包括,在用于联动和/或群控物联网设备的网关侧,A configuration method for linkage of IoT devices, characterized in that the method includes, on the side of a gateway used for linkage and/or group control of IoT devices,
    接收用于配置和/或控制物联网设备的终端发送的通知,进入特征采集模式;Receive notifications from terminals used to configure and/or control IoT devices, and enter feature collection mode;
    在所述特征采集模式下,获取场景模拟过程中的特征信息;In the feature collection mode, obtain feature information in the scene simulation process;
    基于所述特征信息生成用于联动的规则;generating a rule for linkage based on the feature information;
    其中,所述特征信息包括:所述场景模拟过程中目标的行为轨迹的空间特征、时间特征、行为特征之一或其任意组合。Wherein, the feature information includes: one of spatial features, temporal features, and behavior features of the behavioral trajectory of the target during the scene simulation process, or any combination thereof.
  8. 如权利要求7所述的配置方法,其特征在于,所述物联网设备包括:用于特征信息生成的第一物联网设备、以及用于动作执行的第二物联网设备;The configuration method according to claim 7, wherein the IoT device comprises: a first IoT device for generating characteristic information, and a second IoT device for executing an action;
    所述获取场景模拟过程中的特征信息,包括:The acquiring feature information in the scene simulation process includes:
    记录来自所述第一物联网设备的特征信息;record feature information from the first IoT device;
    所述基于所述特征信息生成用于联动的规则,包括:The generating a rule for linkage based on the feature information includes:
    根据接收的特征信息,构建所需场景的场景模型;Build a scene model of the required scene according to the received feature information;
    基于所述场景模型,生成用于所述第二物联网设备联动的规则。Based on the scenario model, a rule for linkage of the second Internet of Things device is generated.
  9. 如权利要求8所述的配置方法,其特征在于,所述第一物联网设备为传感器,所述特征信息为事件信息,所述空间特征为事件关联的位置信息,所述时间特征为事件关联的时间信息,所述行为特征为事件关联的动作,The configuration method according to claim 8, wherein the first IoT device is a sensor, the feature information is event information, the spatial feature is event-related location information, and the temporal feature is event-related time information, the behavioral feature is the action associated with the event,
    其中,所述事件信息包括触发内容、触发参数、多个传感器间的触发时间间隔、多个传感器间的触发逻辑之一或其任意组合;Wherein, the event information includes trigger content, trigger parameters, trigger time interval between multiple sensors, one of trigger logic between multiple sensors, or any combination thereof;
    所述记录来自所述第一物联网设备的特征信息,包括:The recording feature information from the first IoT device includes:
    接收所述传感器上报的事件信息,并记录事件的上报时间,根据所述上报时间获得多个传感器间的触发时间间隔、和/或多个传感器间的触发逻辑;Receive the event information reported by the sensor, record the reporting time of the event, and obtain the triggering time interval between multiple sensors and/or the triggering logic between multiple sensors according to the reporting time;
    所述根据接收的特征信息,构建所需场景的场景模型,包括:Described according to the received characteristic information, construct the scene model of the required scene, including:
    将接收的事件信息作为所需场景的场景模型。Use the received event information as a scene model for the desired scene.
  10. 如权利要求7所述的配置方法,其特征在于,在所述接收用于配置和/或控制物联网设备的终端发送的通知,进入特征采集模式之前,所述方法还包括,The configuration method according to claim 7, characterized in that, before the receiving a notification sent by the terminal for configuring and/or controlling the Internet of Things device and entering the feature collection mode, the method further comprises:
    接收所述终端发送的用户所选择的物联网设备信息;Receive the IoT device information selected by the user sent by the terminal;
    所述获取场景模拟过程中的特征信息,包括:The acquiring feature information in the scene simulation process includes:
    根据所接收的物联网设备信息,记录来自所述物联网设备信息对应的物联网设备的特征信息;According to the received IoT device information, record feature information from the IoT device corresponding to the IoT device information;
    在所述获取场景模拟过程中的特征信息之后,所述方法还包括:After the acquisition of the feature information in the scene simulation process, the method further includes:
    响应于所述终端发送的退出特征采集模式的通知,退出特征采集模式,进入配置模式。In response to the notification of exiting the feature collection mode sent by the terminal, the feature collection mode is exited and the configuration mode is entered.
  11. 如权利要求7所述的配置方法,其特征在于,所述获取场景模拟过程中的特征信息,包括:The configuration method according to claim 7, wherein the acquiring feature information in a scene simulation process comprises:
    接收所述终端发送的用户所选择的场景模型信息;receiving the scene model information selected by the user and sent by the terminal;
    根据场景模型,向所述终端发送用于场景模拟的指示信息和引导信息,使得场景被模拟;According to the scene model, send instruction information and guidance information for the scene simulation to the terminal, so that the scene is simulated;
    在所述获取场景模拟过程中的特征信息之后,所述方法还包括:After the acquisition of the feature information in the scene simulation process, the method further includes:
    响应于所述终端发送的退出特征采集模式的通知,退出特征采集模式,进入配置模式;In response to the notification of exiting the feature collection mode sent by the terminal, exit the feature collection mode and enter the configuration mode;
    所述基于所述特征信息生成用于联动的规则,包括,The generating a rule for linkage based on the feature information includes:
    在配置模式下,根据场景模型对应的既有联动,确定所需要的联动信息,其中,所述场景模型对应的既有联动为:预先设置的、应用于所模拟的场景的联动信息;In the configuration mode, the required linkage information is determined according to the existing linkage corresponding to the scene model, wherein the existing linkage corresponding to the scene model is: preset linkage information applied to the simulated scene;
    根据特征信息以及所确定的联动信息,生成联动的规则。According to the feature information and the determined linkage information, a linkage rule is generated.
  12. 如权利要求7所述的配置方法,其特征在于,在所述获取场景模拟过程中的特征信息之后,所述方法还包括:The configuration method according to claim 7, characterized in that, after the acquisition of the feature information in the scene simulation process, the method further comprises:
    响应于所述终端发送的退出特征采集模式的通知,退出特征采集模式,进入配置模式;In response to the notification of exiting the feature collection mode sent by the terminal, exit the feature collection mode and enter the configuration mode;
    所述基于所述特征信息生成用于联动的规则,包括:The generating a rule for linkage based on the feature information includes:
    在配置模式下,根据预先设置的特征信息集合与联动集合的第一对应关系、以及预先设置的联动集合与场景模型集合的第二对应关系,确定所接收的所述网关获取的特征信息对应的场景模型;In the configuration mode, according to the preset first correspondence between the feature information set and the linkage set, and the preset second correspondence between the linkage set and the scene model set, determine the received feature information corresponding to the gateway. scene model;
    根据预先设置的场景模型与既有规则的第三对应关系,确定联动的规则;Determine the linkage rules according to the third correspondence between the preset scene model and the existing rules;
    将确定的规则发送给所述终端,使得所述终端返回对所确定规则的反馈;sending the determined rule to the terminal, so that the terminal returns feedback on the determined rule;
    响应于来自所述终端的对所确定规则的反馈,按照反馈修改该规则,得到用于联动的规则。In response to feedback on the determined rule from the terminal, the rule is modified according to the feedback to obtain a rule for linkage.
  13. 一种终端,其特征在于,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6任一所述物联网设备配置方法的步骤。A terminal is characterized by comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the steps of the method for configuring an Internet of Things device according to any one of claims 1 to 6 are implemented.
  14. 一种网关设备,其特征在于,包括存储器和处理器,所述存储器存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求7至12任一所述物联网设备配置方法的步骤。A gateway device, characterized in that it includes a memory and a processor, the memory stores a computer program, and when the computer program is executed by the processor, the steps of the method for configuring an Internet of Things device according to any one of claims 7 to 12 are implemented. .
  15. 一种物联网***,包括用于配置和/或控制物联网设备的终端,用于联动和/或群控物联网设备的网关,以及物联网设备,其特征在于,An IoT system, comprising a terminal for configuring and/or controlling IoT devices, a gateway for linking and/or group-controlling IoT devices, and IoT devices, characterized in that:
    所述终端用于实现如权利要求1至6任一所述物联网设备配置方法的步骤。The terminal is used to implement the steps of the method for configuring an Internet of Things device according to any one of claims 1 to 6.
  16. 如权利要求15所述的物联网***,其特征在于,所述物联网***还包括用于提供物联业务的云平台,所述云平台通过网络与所述网关连接,用于传输配置信令和控制信令,并保存网关网络参数、以及物联网设备状态。The Internet of Things system according to claim 15, wherein the Internet of Things system further comprises a cloud platform for providing Internet of Things services, the cloud platform is connected to the gateway through a network, and is used for transmitting configuration signaling and control signaling, and save gateway network parameters and IoT device status.
  17. 一种物联网***,包括用于配置和/或控制物联网设备的终端,用于联动和/或群控物联网设备的网关,以及物联网设备,其特征在于,An IoT system, comprising a terminal for configuring and/or controlling IoT devices, a gateway for linking and/or group-controlling IoT devices, and IoT devices, characterized in that:
    所述网关用于实现如权利要求7至12任一所述物联网设备配置方法的步骤。The gateway is used to implement the steps of the method for configuring an Internet of Things device according to any one of claims 7 to 12.
  18. 如权利要求17所述的物联网***,其特征在于,所述物联网***还包括用于提供物联业务的云平台,所述云平台通过网络与所述网关连接,用于传输配置信令和控制信令,并保存网关网络参数、以及物联网设备状态。The Internet of Things system according to claim 17, wherein the Internet of Things system further comprises a cloud platform for providing Internet of Things services, the cloud platform is connected to the gateway through a network, and is used for transmitting configuration signaling and control signaling, and save gateway network parameters and IoT device status.
  19. 一种计算机可读存储介质,其特征在于,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6任一所述物联网设备配置方法的步骤。A computer-readable storage medium, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the method for configuring an Internet of Things device according to any one of claims 1 to 6 are implemented.
  20. 一种计算机可读存储介质,其特征在于,所述存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求7至12任一所述物联网设备配置方法的步骤。A computer-readable storage medium, characterized in that, a computer program is stored in the storage medium, and when the computer program is executed by a processor, the steps of the method for configuring an Internet of Things device according to any one of claims 7 to 12 are implemented.
  21. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如权利要求1至6任一所述物联网设备配置方法的步骤。A computer program product comprising instructions, when run on a computer, causes the computer to perform the steps of the method for configuring an Internet of Things device according to any one of claims 1 to 6.
  22. 一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如权利要求7至12任一所述物联网设备配置方法的步骤。A computer program product comprising instructions, when run on a computer, causes the computer to perform the steps of the method for configuring an Internet of Things device as claimed in any one of claims 7 to 12.
PCT/CN2022/084082 2021-04-23 2022-03-30 Configuration method for internet of things device linkage, terminal, and system WO2022222719A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110442325.5A CN113114779B (en) 2021-04-23 2021-04-23 Configuration method, terminal and system for linkage of Internet of things equipment
CN202110442325.5 2021-04-23

Publications (1)

Publication Number Publication Date
WO2022222719A1 true WO2022222719A1 (en) 2022-10-27

Family

ID=76719838

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/084082 WO2022222719A1 (en) 2021-04-23 2022-03-30 Configuration method for internet of things device linkage, terminal, and system

Country Status (2)

Country Link
CN (1) CN113114779B (en)
WO (1) WO2022222719A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499265A (en) * 2022-11-18 2022-12-20 杭州涂鸦信息技术有限公司 Equipment control method, device, equipment and storage medium of Internet of things

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113114779B (en) * 2021-04-23 2022-09-02 杭州萤石软件有限公司 Configuration method, terminal and system for linkage of Internet of things equipment
CN114137842A (en) * 2021-11-01 2022-03-04 青岛海尔科技有限公司 Scene configuration method and device, electronic equipment and storage medium
CN114168166B (en) * 2022-02-11 2022-05-24 杭州斯诺康技术有限公司 Installation configuration method and system of indoor intelligent wireless access equipment
CN114466259B (en) * 2022-04-13 2022-07-01 大唐融合通信股份有限公司 Data processing method, device and equipment of Internet of things gateway and Internet of things gateway
CN117130284A (en) * 2022-05-19 2023-11-28 华为技术有限公司 Intelligent device control method and electronic device
CN115065713B (en) * 2022-08-16 2023-09-29 深圳市虎一科技有限公司 Information interaction method and system for intelligent kitchen electric equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216379A (en) * 2014-09-09 2014-12-17 联想(北京)有限公司 Information processing method and electronic device
CN108092861A (en) * 2017-12-13 2018-05-29 深圳绿米联创科技有限公司 Realize collocation method, the equipment linkage control method and device of equipment linkage
WO2018177121A1 (en) * 2017-03-27 2018-10-04 华为技术有限公司 Sensing device linkage method, apparatus and system
CN111464577A (en) * 2019-01-21 2020-07-28 阿里巴巴集团控股有限公司 Equipment control method and device
CN112180752A (en) * 2020-10-14 2021-01-05 四川长虹电器股份有限公司 System and method for automatically generating intelligent household scene linkage setting
CN113114779A (en) * 2021-04-23 2021-07-13 杭州萤石软件有限公司 Configuration method, terminal and system for linkage of Internet of things equipment

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104967560B (en) * 2015-04-29 2020-09-01 海尔优家智能科技(北京)有限公司 Method and device for realizing linkage with gateway management equipment
CN106993040A (en) * 2017-03-31 2017-07-28 浙江风向标科技有限公司 The linkage collocation method and device of internet of things equipment
CN107315810B (en) * 2017-06-27 2020-04-21 浪潮集团有限公司 Internet of things equipment behavior portrait method
CN108809747B (en) * 2018-03-22 2020-11-06 苏州德姆斯信息技术有限公司 Simulation data test system and test method of system platform
US10904258B2 (en) * 2019-02-25 2021-01-26 International Business Machines Corporation Intelligent cluster learning in an internet of things (IoT) computing environment
CN112448989A (en) * 2019-09-05 2021-03-05 中兴通讯股份有限公司 Internet of things equipment control method and system, configuration terminal, equipment and storage medium
CN110856133A (en) * 2019-09-29 2020-02-28 上海上实龙创智慧能源科技股份有限公司 Internet of things gateway based on lightweight rule engine
CN111447123B (en) * 2020-03-24 2021-11-05 北京金山云网络技术有限公司 Smart home configuration method and device, electronic equipment and medium
CN111787064B (en) * 2020-06-04 2023-08-01 深圳市酷开网络科技股份有限公司 Expert system-based Internet of things linkage control method and system
CN111835582B (en) * 2020-06-19 2022-04-15 深圳奇迹智慧网络有限公司 Configuration method and device of Internet of things inspection equipment and computer equipment
CN112153137B (en) * 2020-09-21 2023-04-07 三星电子(中国)研发中心 Multi-device linkage method and system
CN112350907A (en) * 2020-11-05 2021-02-09 深圳Tcl新技术有限公司 Scene linkage control method, terminal and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104216379A (en) * 2014-09-09 2014-12-17 联想(北京)有限公司 Information processing method and electronic device
WO2018177121A1 (en) * 2017-03-27 2018-10-04 华为技术有限公司 Sensing device linkage method, apparatus and system
CN108092861A (en) * 2017-12-13 2018-05-29 深圳绿米联创科技有限公司 Realize collocation method, the equipment linkage control method and device of equipment linkage
CN111464577A (en) * 2019-01-21 2020-07-28 阿里巴巴集团控股有限公司 Equipment control method and device
CN112180752A (en) * 2020-10-14 2021-01-05 四川长虹电器股份有限公司 System and method for automatically generating intelligent household scene linkage setting
CN113114779A (en) * 2021-04-23 2021-07-13 杭州萤石软件有限公司 Configuration method, terminal and system for linkage of Internet of things equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115499265A (en) * 2022-11-18 2022-12-20 杭州涂鸦信息技术有限公司 Equipment control method, device, equipment and storage medium of Internet of things
CN115499265B (en) * 2022-11-18 2023-03-10 杭州涂鸦信息技术有限公司 Equipment control method, device, equipment and storage medium of Internet of things

Also Published As

Publication number Publication date
CN113114779B (en) 2022-09-02
CN113114779A (en) 2021-07-13

Similar Documents

Publication Publication Date Title
WO2022222719A1 (en) Configuration method for internet of things device linkage, terminal, and system
US11050577B2 (en) Automatically learning and controlling connected devices
US10535349B2 (en) Controlling connected devices using a relationship graph
US11830333B2 (en) Systems, methods, and devices for activity monitoring via a home assistant
US20210160326A1 (en) Utilizing context information of environment component regions for event/activity prediction
US11243502B2 (en) Interactive environmental controller
US11734345B2 (en) Systems and methods for monitoring objects and their states by using acoustic signals
CN105659179B (en) Device and method for interacting with HVAC controller
US10209690B2 (en) Systems and methods for provisioning devices using acoustic signals
US10605470B1 (en) Controlling connected devices using an optimization function
US20140128994A1 (en) Logical sensor server for logical sensor platforms
EP2846328A1 (en) Method and apparatus of detection of events
WO2017119159A1 (en) Control apparatus, control method, and program
JP6918215B2 (en) Equipment control system and equipment control method
JP2021518004A (en) Use of contextual information in the environment component area for event / activity prediction
CN114821236A (en) Smart home environment sensing method, system, storage medium and electronic device
CN113032267B (en) Intelligent scene test method and device, electronic equipment and storage medium
KR102261198B1 (en) Apparatus for providing smart service and method therefor
WO2023077835A1 (en) Household appliance control method, control apparatus, electronic device, and storage medium
US20230208672A1 (en) Movement path detection for anomalies and patterns from sensors in a home or other environment
WO2023224622A1 (en) Privacy-preserving methods, systems, and media for personalized sound discovery within an environment
CN116132209A (en) Scene construction method and device, storage medium and electronic device
CN116346901A (en) Push content determining method and device, storage medium and electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22790828

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22790828

Country of ref document: EP

Kind code of ref document: A1