WO2023201587A1 - Device control method and apparatus, device, and storage medium - Google Patents

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

Info

Publication number
WO2023201587A1
WO2023201587A1 PCT/CN2022/088003 CN2022088003W WO2023201587A1 WO 2023201587 A1 WO2023201587 A1 WO 2023201587A1 CN 2022088003 W CN2022088003 W CN 2022088003W WO 2023201587 A1 WO2023201587 A1 WO 2023201587A1
Authority
WO
WIPO (PCT)
Prior art keywords
attribute
rule
target
information
instruction
Prior art date
Application number
PCT/CN2022/088003
Other languages
French (fr)
Chinese (zh)
Inventor
李永华
林兆阳
茹昭
张军
包永明
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2022/088003 priority Critical patent/WO2023201587A1/en
Publication of WO2023201587A1 publication Critical patent/WO2023201587A1/en

Links

Images

Classifications

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

Definitions

  • This application relates to the technical field of the Internet of Things, and in particular to an equipment control method, device, equipment and storage medium.
  • IoT Internet of Things
  • the Internet of Things can support the implementation of scenes. For example, if a user issues a voice command to "turn on home mode", the user's mobile phone can send start commands to lighting fixtures, air conditioners and other devices in the home Internet of Things to turn on the lighting fixtures and air conditioners.
  • Embodiments of the present application provide an equipment control method, device, equipment and storage medium.
  • the technical solutions are as follows:
  • embodiments of the present application provide a device control method, which is executed by a central node device in the Internet of Things.
  • the method includes:
  • embodiments of the present application provide a device control method, which is executed by a management device in the Internet of Things.
  • the method includes:
  • the add rule instruction includes rule information of a target rule;
  • the target rule takes the first attribute of the first device as input, and the target rule is used to indicate the third The association between the first attribute of a device, the trigger condition and the scene information of the target scene;
  • the add rule instruction is used to instruct the central node device to add the target rule in the first cluster, so that the central node device obtains the attribute information of the first attribute of the first device, and
  • a control instruction is sent to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the first attribute information of the second attribute of the two devices to achieve the target scenario.
  • embodiments of the present application provide a device control method, which is executed by a first device in the Internet of Things.
  • the method includes:
  • the central node device sends the attribute information to the central node device.
  • the second device corresponding to the target scene sends a control instruction; the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to realize the target scene.
  • embodiments of the present application provide a device control method, which is executed by a second device in the Internet of Things.
  • the method includes:
  • control instruction is that the central node device receives the attribute information of the first attribute sent by the first device, and when the attribute information of the first attribute of the first device meets the target scenario
  • the attribute information of the second attribute of the second device is adjusted according to the control instruction to realize the target scenario.
  • an equipment control device which includes:
  • a receiving module configured to receive attribute information of the first attribute sent by the first device
  • a sending module configured to send a control instruction to the second device corresponding to the target scene when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene; the control instruction is used to indicate The second device adjusts the attribute information of the second attribute of the second device to realize the target scenario.
  • an equipment control device which includes:
  • a sending module configured to send an add rule instruction to the central node device;
  • the add rule instruction includes rule information of a target rule;
  • the target rule takes the first attribute of the first device as input, and the target rule is Indicating the association between the first attribute of the first device, the trigger condition and the scene information of the target scene;
  • the add rule instruction is used to instruct the central node device to add the target rule in the first cluster, so that the central node device obtains the attribute information of the first attribute of the first device, and
  • a control instruction is sent to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the first attribute information of the second attribute of the two devices to achieve the target scenario.
  • an equipment control device which includes:
  • a sending module configured to send the attribute information of the first attribute of the first device to the central node device, so that the central node device can satisfy the triggering condition of the target scene when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene.
  • sending a control instruction to the second device corresponding to the target scene the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to realize the target scene.
  • an equipment control device which includes:
  • a receiving module configured to receive a control instruction sent by the central node device; the control instruction is that the central node device receives the attribute information of the first attribute sent by the first device, and adds the attribute information of the first attribute to the first device.
  • An adjustment module configured to adjust the attribute information of the second attribute of the second device according to the control instruction to achieve a target scenario.
  • embodiments of the present application provide a computer device, which includes a processor, a memory, and a transceiver.
  • the memory stores a computer program, and the computer program is configured to be executed by the processor, so as to Implement the above device control methods.
  • embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the above device control method.
  • the present application also provides a chip, which is used to run in a computer device, so that the computer device executes the above device control method.
  • the present application provides a computer program product including computer instructions stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above device control method.
  • the present application provides a computer program, which is executed by a processor of a computer device to implement the above device control method.
  • a central node device is set up in the Internet of Things. After the central node device obtains the attribute information of the first attribute of the first device, if the attribute information of the first attribute of the first device satisfies the trigger condition of the target scenario, it can pass Control the second device corresponding to the target scene to adjust the attribute information of the second attribute to realize the above target scene. User intervention is not required during the triggering process of the above target scene, thereby expanding the triggering method of the scene in the Internet of Things and improving the The application effect of the scene.
  • Figure 1 is a schematic diagram of the network architecture of the Internet of Things provided by an embodiment of the present application.
  • Figure 2 is a flow chart of a device control method provided by an embodiment of the present application.
  • Figure 3 is a flow chart of a device control method provided by an embodiment of the present application.
  • Figure 4 is a flow chart of a device control method provided by an embodiment of the present application.
  • Figure 5 is a system framework diagram of equipment control provided by an embodiment of the present application.
  • Figure 6 is a flow chart of a device control method provided by an embodiment of the present application.
  • Figure 7 is a flow chart of a device control method provided by an embodiment of the present application.
  • Figure 8 is a schematic diagram of a device control framework related to the embodiment shown in Figure 7;
  • Figure 9 is a schematic diagram of another device control framework related to the embodiment shown in Figure 7;
  • FIG. 10 is a block diagram of an equipment control device provided by an embodiment of the present application.
  • FIG. 11 is a block diagram of an equipment control device provided by an embodiment of the present application.
  • Figure 12 is a block diagram of an equipment control device provided by an embodiment of the present application.
  • FIG. 13 is a block diagram of an equipment control device provided by an embodiment of the present application.
  • Figure 14 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
  • the network architecture of the Internet of Things may include: an Internet of Things device 110 (shown as an Internet of Things device 110a, an Internet of Things device 110b, and an Internet of Things device 110c in Figure 1), a central node device 120, and a management device 130;
  • the Internet of Things device 110 may be a device used to provide server functions or client functions corresponding to the Internet of Things protocol in the Internet of Things.
  • the IoT device 110 may be a smart home device, such as smart lamps, smart TVs, smart air conditioners, smart refrigerators, smart microwave ovens, smart rice cookers, sweeping robots, smart speakers, smart switches, and so on.
  • a smart home device such as smart lamps, smart TVs, smart air conditioners, smart refrigerators, smart microwave ovens, smart rice cookers, sweeping robots, smart speakers, smart switches, and so on.
  • the IoT device 110 may be an industrial production equipment, such as a lathe, an industrial robot, a solar panel, a wind turbine, etc.
  • the Internet of Things device 110 may be a commercial service device, such as an unmanned vending machine or the like.
  • the IoT device 110 may be an intelligent monitoring device, such as a surveillance camera, an infrared sensor, a sound sensor, a temperature sensor, etc.
  • the above-mentioned central node device 120 may be a device installed in the Internet of Things to provide services such as information interoperability and information maintenance for various Internet of Things devices and management devices in the Internet of Things.
  • the central node device 120 may be a home gateway device or the like.
  • the above-mentioned central node device 120 can be independent of each Internet of Things device 110 in terms of hardware, or the above-mentioned central node device 120 can also be the same device as a certain Internet of Things device 110 .
  • a home network device can simultaneously implement the Internet of Things device 110 and the central node device 120 in the Internet of Things.
  • the management device 130 may be a user-side terminal device.
  • the management device 130 can be a smart phone, a tablet, a smart watch, a smart TV, etc.; or the management device 130 can also be a personal computer, such as a desktop computer, a portable computer, a personal workstation, etc.
  • the management device 130 may also be a client entity (which may be a virtual entity) running on a terminal device.
  • the management device 130 may be running on a smartphone and used to manage Internet of Things devices. 110 and the central node device 120 for management and configuration APP.
  • the above-mentioned Internet of Things device 110, central node device 120, and management device 130 may be electronic devices that meet the same or different Internet of Things protocols.
  • they may be electronic devices that meet the Connectivity Standards Alliance (CSA) ) (or known as the Matter protocol of the Zigbee Alliance) (or known as the Connected Home over IP Working Group (CHIP) project).
  • CSA Connectivity Standards Alliance
  • CHIP Connected Home over IP Working Group
  • Matter is an IP-based IoT connection standard that solves the compatibility, security and connectivity issues existing in the current smart home market.
  • a node that is, a device (Device)
  • Each cluster can have its own attributes (Attribute), methods (Command), and events (Event) and other information.
  • a Cluster named Scene can be set up in the Matter protocol, and the Cluster is used for scene implementation.
  • Scene Cluster you can change multiple Attributes of multiple Clusters in one or more devices at one time to achieve the effect of a scene.
  • the Server of Scene Cluster maintains a Scene Table that stores information about each Scene. Each piece of information includes the ID (Identity, ID), name, and all Attributes of all Clusters that need to be changed. .
  • each Scene in the Scene Table can be shown in Table 1 below.
  • the group in Table 1 above refers to another Cluster, that is, Group Cluster, which refers to a group of device information. If the value is 0, it means that the scene is only related to this device. If it is not 0, it means that the scene is related to a group of devices. Device related, this group of devices is indicated by Group ID.
  • the Client of Scene Cluster sets a certain Scene information by calling the AddScene method, calls a certain Scene by calling the RecallScene method, and then determines whether to trigger a group of devices based on the SceneGroupID of the Scene Table.
  • the cluster attributes can still trigger the cluster attributes of a single device to realize the function of the scene.
  • the Client can also call the RemoveScene function to remove the Scene.
  • the Scene Cluster shown in Table 1 above can only implement scene functions, such as using a client APP to set a home scene to control devices at home.
  • the client calls a method to invoke the scenario to implement the scenario, that is, to change multiple Attributes of multiple Clusters of the device.
  • the above solution requires user intervention to trigger the scenario, and there is a lack of joint working mechanism between devices without user operation, resulting in limited application methods of scenarios in the Internet of Things.
  • FIG 2 shows a flow chart of a device control method provided by an embodiment of the present application.
  • This method can be executed by a central node device in the Internet of Things.
  • the central node device can be the network shown in Figure 1
  • the central node device 120 in the architecture; the method may include the following steps:
  • Step 201 Receive attribute information of the first attribute sent by the first device.
  • Step 202 When the attribute information of the first attribute of the first device satisfies the trigger condition of the target scene, send a control instruction to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the Attribute information of the second attribute to achieve the target scenario.
  • the solution shown in the embodiment of the present application is to set up a central node device in the Internet of Things. After the central node device obtains the attribute information of the first attribute of the first device, if the first attribute of the first device is If the attribute information of the attribute meets the triggering conditions of the target scene, the above target scene can be realized by controlling the second device corresponding to the target scene to adjust the attribute information of the second attribute. User intervention is not required during the triggering process of the above target scene. This expands the triggering methods of scenarios in the Internet of Things and improves the application effects of scenarios.
  • Figure 3 shows a flow chart of a device control method provided by an embodiment of the present application.
  • This method can be executed by a first device in the Internet of Things.
  • the first device can be the network shown in Figure 1 IoT device 110 in the architecture; the method may include the following steps:
  • Step 301 Send the attribute information of the first attribute of the first device to the central node device, so that when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, the central node device sends the attribute information of the first attribute of the first device to the target scene.
  • the second device sends a control instruction; the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to achieve the target scenario.
  • the solution shown in the embodiment of the present application is to set up a central node device in the Internet of Things. After the central node device obtains the attribute information of the first attribute of the first device, if the first attribute of the first device is If the attribute information of the attribute meets the triggering conditions of the target scene, the above target scene can be realized by controlling the second device corresponding to the target scene to adjust the attribute information of the second attribute. User intervention is not required during the triggering process of the above target scene. This expands the triggering methods of scenarios in the Internet of Things and improves the application effects of scenarios.
  • Figure 4 shows a flow chart of a device control method provided by an embodiment of the present application.
  • This method can be executed by a second device in the Internet of Things.
  • the second device can be the network shown in Figure 1 IoT device 110 in the architecture; the method may include the following steps:
  • Step 401 Receive a control instruction sent by the central node device; the control instruction is that the central node device receives the attribute information of the first attribute sent by the first device, and when the attribute information of the first attribute of the first device satisfies The instruction is sent when the trigger condition of the target scene is the scene corresponding to the second device.
  • Step 402 Adjust the attribute information of the second attribute of the second device according to the control instruction to achieve the target scenario.
  • the solution shown in the embodiment of the present application is to set up a central node device in the Internet of Things. After the central node device obtains the attribute information of the first attribute of the first device, if the first attribute of the first device is If the attribute information of the attribute meets the triggering conditions of the target scene, the above target scene can be realized by controlling the second device corresponding to the target scene to adjust the attribute information of the second attribute. User intervention is not required during the triggering process of the above target scene. This expands the triggering methods of scenarios in the Internet of Things and improves the application effects of scenarios.
  • the central node device can be connected to the first device and the second device involved in the target scenario, and maintain the triggering rules of the scenario in the Internet of Things, thereby automatically triggering the target scenario.
  • FIG. 5 shows a system framework diagram of device control provided by an embodiment of the present application.
  • the central node device is a smart gateway 51
  • the first device is a temperature sensor 52
  • the second device is a smart air conditioner 53.
  • the target scenario is to turn on the air conditioner when the temperature is 30°, as shown in the figure.
  • the triggering rules of the target scenario are set in the smart gateway 51, and the smart gateway 51 establishes connections based on the Internet of Things protocol with the temperature sensor 52 and the smart air conditioner 53 respectively.
  • the equipment control process can be as follows:
  • the temperature sensor 52 sends the measured indoor temperature value (that is, the attribute information of the first attribute) to the intelligent gateway 51.
  • the smart gateway 51 determines whether the indoor temperature value reaches 30°.
  • the smart gateway 51 sends a control instruction to start cooling to the smart air conditioner 53.
  • the smart air conditioner 53 starts cooling according to the control instruction, for example, setting the target temperature to 18° (that is, adjusting the attribute information of the second attribute) to achieve the target scenario.
  • the central node device can trigger scenarios through a cluster (Cluster) used to manage scene rules.
  • the cluster can provide external rule configuration and management.
  • users can configure and manage scene triggering rules in the central node device through the management device.
  • FIG 6 shows a flow chart of a device control method provided by an embodiment of the present application.
  • This method can be executed by a management device in the Internet of Things.
  • the management device can be in the network architecture shown in Figure 1 management device 130; the method may include the following steps:
  • Step 601 Send an add rule instruction to the central node device; the add rule instruction includes rule information of the target rule; the target rule takes the first attribute of the first device as input, and the target rule is used to indicate the first attribute of the first device, The correlation between trigger conditions and scene information of the target scene.
  • the add rule instruction is used to instruct the central node device to add the target rule in the first cluster, so that the central node device obtains the attribute information of the first attribute of the first device, and the attribute information of the first attribute of the first device
  • a control instruction is sent to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to realize the target scene.
  • a central node device is set up in the Internet of Things
  • a first cluster can be set up in the central node device
  • the management device can set a target rule in the first cluster, and the target rule is based on
  • the first attribute of the first device is input and includes the association between the first attribute, the trigger condition and the scene information of the target scene; through the target rule in the first cluster, the central node device obtains the first After the attribute information of the first attribute of the device is obtained, if the attribute information of the first attribute of the first device meets the trigger condition of the target scene, the attribute information of the second attribute can be adjusted by controlling the second device corresponding to the target scene.
  • FIG. 7 shows a flow chart of a device control method provided by an embodiment of the present application.
  • the method can be interactively executed by a management device, a central node device, a first device, and a second device.
  • the management device and the central node device may be the management device 130 and the central node device 120 in the network architecture shown in Figure 1 respectively; the first device and the second device may be different devices in the network architecture shown in Figure 1 Internet of Things device 110; the method may include the following steps:
  • Step 701 The management device sends an add rule instruction to the central node device; accordingly, the central node device receives the add rule instruction sent by the management device.
  • the add rule instruction contains the rule information of the target rule.
  • the above target rule takes the first attribute of the first device as input, and the target rule is used to indicate the association between the first attribute of the first device, the trigger condition, and the scene information of the target scene.
  • the management device contains the client of the first cluster
  • the central node device contains the server of the first cluster
  • the client of the first cluster in the management device can send a message to the server of the first cluster in the central node device. Add rule directive.
  • the target rule corresponding to the above adding rule instruction can be set by the user in the interactive interface of the management device.
  • Step 702 The central node device adds the target rule in the first cluster according to the rule information of the target rule.
  • the central node device after receiving the above-mentioned rule-adding instruction, can add a new rule, that is, the above-mentioned target rule, in the first cluster.
  • a rule table (Rule Table) can be set up in the first cluster, which contains each set rule.
  • the management device can also send a rule enabling instruction of the target rule to the central node device; the rule enabling instruction is used to instruct the central node device to set the target rule to an enabled state.
  • the central node device can receive the rule activation instruction of the target rule sent by the management device; and set the target rule to the enabled state according to the rule activation instruction of the target rule.
  • each rule in the first cluster may have a corresponding enabled state or a non-enabled state.
  • the management device can also send a target rule deactivation instruction to the central node device; the target rule deactivation instruction is used to instruct the central node device to set the target rule to a non-enabled state.
  • the central node device can receive the target rule deactivation instruction sent by the management device; and set the target rule to a non-enabled state according to the target rule deactivation instruction.
  • the central node device When the central node device adds a new rule in the first cluster, it can set the newly added rule to the default state, for example, set it to the default enabled state, or set it to the default non-enabled state. Subsequent management devices can The rules in the first cluster are enabled through the rule enabling instruction, or the rules in the first cluster are turned off through the rule closing instruction.
  • the management device can also send information acquisition instructions to the central node device; and receive the device information of each Internet of Things device connected to the central node device sent by the central node device; wherein, in each Internet of Things device, Contains a first device and a second device.
  • the central node device can receive the information acquisition instruction sent by the management device; and according to the information acquisition instruction, send the device information of each Internet of Things device connected to the central node device to the management device.
  • the management device can obtain the device information of each Internet of Things device connected to the central node device by sending an information acquisition instruction to the central node device, so that the user of the management device can check which Internet of Things devices can construct a scenario. , that is, it is convenient for users to check which IoT devices can trigger other IoT devices to perform scene-related actions, so that users can set corresponding rules accordingly.
  • the management device can also send a rule viewing instruction to the central node device; and receive the rule information of each rule in the first cluster sent by the central node device.
  • the central node device can receive the rule viewing instruction sent by the management device; and according to the rule viewing instruction, send the rule information of each rule in the first cluster to the management device.
  • the management device can obtain the rule information of each rule that has been set in the first cluster of the central node device by sending a rule viewing instruction to the central node device, so that the user of the management device can check that the central node device has What rules are there to facilitate users to decide whether to add or delete rules.
  • the management device may also send a rule removal instruction of the first rule to the central node device; the first rule is part or all of the rules in the first cluster; the rule removal instruction of the first rule is Instructing the central node device to remove the first rule from the first cluster.
  • the central node device can receive the rule removal instruction of the first rule sent by the management device; the first rule is part or all of the rules in the first cluster; according to the rule removal instruction of the first rule, the first rule is removed from the first cluster. Remove the first rule.
  • the management device can remove some or all of the rules in the first cluster of the central node device by sending a rule deletion instruction to the central node device.
  • the above-mentioned rule removal instruction may be an instruction to remove one or more rules specified in the first cluster.
  • the management device can include the multiple rules that need to be removed in the rule removal instruction.
  • the rule removal instruction can include the rules that need to be moved. Identification information of each rule excepted.
  • the above rule removal instruction may also be an instruction to remove all rules in the first cluster.
  • the rule removal instruction can carry a complete removal identification information.
  • the central node device receives the rule removal instruction, it parses to obtain the above all removal identification information. That is, all rules in the first cluster can be removed.
  • the method (Command) corresponding to the above-mentioned first cluster may be as shown in Table 2 below.
  • V in the Access column indicates viewing permissions
  • O indicates operating permissions
  • M indicates management permissions.
  • the M in the Conformance column indicates that the corresponding method is required.
  • the Direction column indicates the direction in which instructions/responses are sent after calling the corresponding method; for example, "Client->Server" indicates that the corresponding method is called by the client to send instructions/responses to the server.
  • the Client After the Client calls this method, it will send a request to the server to obtain information about other devices configured on the server device, that is, to check which Attribute IDs of which Cluster IDs on which Node IDs can be used as the input of the rules, and can be passed
  • the situation of other device nodes subscribed by the central node device (server) determines what kind of messages the central node device can receive as the input of the rule.
  • Client needs to request this information before setting rules in order to set effective rules.
  • Server can return the corresponding information by calling the GetInfoResp method.
  • the Client After the Client calls this method, it will send a request to the server.
  • the request can carry information about a Rule in the Rule Table, which is used to add rules on the server side.
  • the Server side After receiving the call of this method, the Server side will add the corresponding rules to the Rule Table and respond through AddRuleResp.
  • the Client After the Client calls this method, it will send a request to the server to request the activation of a certain rule.
  • the request carries the Rule Id of a rule added previously to enable this rule.
  • the server After receiving the request to enable the rule, the server can subscribe to the input attributes of the enabled rule. After receiving the reported information of the corresponding attribute, it will compare the triggering conditions to determine whether to trigger the rule. If the rule is triggered, the corresponding device will be called. a scene on. This method initiates rule management so that devices can work together without user intervention. Implement the function of regular scenarios.
  • the server can feed back the result of rule activation to the client by calling EnableRuleResp.
  • the Client After the Client calls this method, it will send a request to the server, and the server will return the existing rule information in the Rule Table.
  • the returned information can be sent by calling ViewRuleResp.
  • RemoveRuleResp After the Client calls this method, it will send a request to the server to remove a certain rule. After the rule is removed, the subsequent effects will disappear. Removal results can be sent by the server by calling RemoveRuleResp.
  • RemoveAllRuleResp After the Client calls this method, it will send a request to the server to remove all rules. Removal results can be sent by the server by calling RemoveAllRuleResp.
  • the target rule includes the following information:
  • Identification information of the first device identification information of the first attribute, trigger conditions, and scene information of the target scene.
  • the identification information of the first device includes: node identification information of the first device, and endpoint identification information corresponding to the first attribute in the first device.
  • the identification information of the first attribute includes: cluster identification information of the first attribute and an attribute ID (Attribute ID) of the first attribute; the cluster identification information is used to indicate the cluster to which the first attribute belongs.
  • triggering conditions include:
  • the target attribute value corresponding to the first attribute and, when the trigger condition is established, the relationship between the target attribute value and the attribute information of the first attribute.
  • the relationship between the above-mentioned target attribute value and the attribute information of the first attribute may include a size relationship, a matching relationship, and so on.
  • Step 703 The first device sends the attribute information of the first attribute of the first device to the central node device; the central node device receives the attribute information of the first attribute sent by the first device.
  • the central node device can send a request to the first The device subscribes to the attribute information of the first attribute, and accordingly, the first device periodically/aperiodically sends its attribute information of the first attribute to the central node device.
  • Step 704 The central node device queries the first cluster for a target rule using the first attribute of the first device as input.
  • the target rule includes the first attribute of the first device, the trigger condition, and the scene information of the target scene. Therefore, in this embodiment of the present application, after the central node device receives the attribute information of the first attribute sent by the first device, it can query the above-mentioned target rule in the first cluster with the first attribute of the first device as input, and obtain the target Scenarios and their triggering conditions.
  • Step 705 If the attribute information of the first attribute of the first device satisfies the trigger condition of the target scene, send a control instruction to the second device corresponding to the target scene; the second device receives the control instruction.
  • the central node device when the central node device determines that the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, the central node device may send a message to the second device corresponding to the target scene according to the scene information of the target scene. Control instructions to trigger the target scene.
  • the control instruction is sent to the second device.
  • the central node device may also check Whether the target rule is enabled, and if the target rule is enabled, send the control instruction to the second device.
  • the central node device when the target rule is in the enabled state, subscribes to the first device for attribute information of the first attribute; conversely, when the target rule is in the non-enabled state , the central node device may stop subscribing to the first device for the attribute information of the first attribute.
  • Step 706 The second device adjusts the attribute information of the second attribute of the second device according to the control instruction to achieve the target scenario.
  • the scene information of the target scene includes at least one of scene identification information of the target scene and a scene group identification of the target scene.
  • the central node device can send a scene cluster calling instruction to the second device; the scene cluster calling instruction is used to instruct the second device to call
  • the target scene configured in the scene cluster in the second device is used to adjust the attribute information of the second attribute of the second device.
  • the central node device can combine the first cluster and the scene cluster to implement the automatic triggering function of the scene. That is to say, after the central node device determines that the target scene is triggered through the first cluster, it can trigger the second device to adjust the attribute information of the second attribute according to the target scene set in the scene cluster by calling the method of the scene cluster.
  • a RuleManager Cluster (ie, the above-mentioned first cluster) can be added to the Internet of Things on the basis of the scene cluster for rule management.
  • RuleManager Cluster represents the function of rule management.
  • the functions of this Cluster on the client side include setting rules, and the function of the server side (such as being set in the central node device) includes executing rules.
  • the functions of RuleManager Cluster are composed of the functions of RuleManager client and the functions of RuleManager server.
  • RuleManager provides attributes and methods to set rules, start rules, and implement rule operations.
  • For the method part please refer to Table 2 above.
  • Rule Table On the server side of RuleManager, a rule table (Rule Table) can be maintained.
  • the Rule Table records all the set rules.
  • the client side of RuleManager sets and starts the rules, and the server side of RuleManager implements the management of rule scenarios.
  • the hierarchy column in Table 3 above indicates that the cluster is a basic cluster, and the role column indicates that the cluster is an application cluster.
  • PICS code indicates that the abbreviation of this cluster is R.
  • the Primary Transaction column indicates that the main control direction of this cluster is from Client to Server.
  • the implementation of the above-mentioned RuleManager cluster needs to rely on the Scene cluster; that is to say, the endpoint that implements the RuleManager cluster also needs to implement the Scene cluster.
  • the server side of the above-mentioned RuleManager Cluster maintains a Rule Table.
  • the rule table stores each rule set by the Client and is executed by the Server.
  • the information contained in each rule in the rule table of the above-mentioned RuleManager Cluster cluster can be shown in Table 5 below.
  • the IsEnable information in the above Table 5 indicates whether the corresponding rule is in an enabled state;
  • the RuleInputNodeId and RuleInputEndpointId in the above Table 5 correspond to the identification information of the above first device;
  • the RuleInputClusterId in the above Table 5 corresponds to the identification information of the above first attribute;
  • RuleValue and RuleRelation in the above Table 5 correspond to the above trigger conditions;
  • SceneNodeId and SceneEndpointId in the above Table 5 correspond to the identification information of the above second device;
  • SceneId in the above Table 5 corresponds to the scene information of the above target scene.
  • RuleValue in Table 5 above can also be a type such as numerical value, Boolean, etc. that can perform threshold comparison.
  • RuleCount in Table 6 above is used to indicate how many Rules there are in the Rule Table.
  • NameSupport in Table 6 above is used to indicate whether this RuleManager Cluster supports setting RuleName.
  • Figure 8 shows a schematic diagram of a device control framework involved in the embodiment of the present application.
  • the device control process can be as follows:
  • the Server side of RuleManager Cluster can be placed on a device similar to the home hub (that is, the above-mentioned central node device), or the Server side can be placed in a mobile APP.
  • This device has information about other devices and can subscribe to and control them.
  • Other devices include reporting devices and controlled devices.
  • the reporting device is mainly responsible for sending changes to its own attributes, while the controlled devices can be controlled. Both can use one physical device or multiple physical devices.
  • the client of RuleManager Cluster can be located on the user APP. When the user wants to use the rule scenario function, the Client of the RuleManager Cluster first requests the existing device information from the RuleManager Server. Based on the received information, the Client sets and adds rules and sends them to the Server. After the Server receives the information, Add rules to the Rule Table.
  • the Server After a rule is enabled by the Client, the Server will subscribe to the device attributes input by the corresponding rule. When notification information is sent back to the Server, the Server will compare it with the Rule Table to see whether a certain rule is triggered. If If triggered, the corresponding scene on the corresponding device is called according to the rules.
  • the Scene Cluster function allows home hub devices to trigger scenes set on one or more devices, controlled by the SceneGroupID in the Scene Table. Achieve linkage between devices without user operation.
  • Matter has a mechanism for setting rules and autonomous linkage between devices. It makes up for the defect that the scene function provided by Scene Cluster can only realize scene control and cannot set rules to trigger automatically.
  • Cluster method of RuleManager devices can work autonomously and collaboratively, making them more intelligent.
  • the scene information of the target scene includes node identification information of the second device, endpoint identification information of the second device corresponding to the second attribute, attribute identification information of the second attribute, and the target attribute value;
  • the central node device may send a request to the third device based on the node identification information of the second device and the endpoint identification information of the second device corresponding to the second attribute.
  • the second device sends an attribute adjustment instruction; the attribute adjustment instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device according to the attribute identification information of the second attribute and the target attribute value.
  • RuleManager Cluster can also independently implement the functions of Scene Cluster. Make the function of RuleManager not dependent on Scene Cluster. At this time, each rule in the Rule Table of RuleManager can contain information as shown in Table 7 below.
  • Figure 9 shows a schematic diagram of a device control framework involved in the embodiment of the present application.
  • the device control process can be as follows:
  • the Server side of RuleManager Cluster can be placed on a device similar to a home hub, or the Server side can be placed in a mobile APP client.
  • This device has information about other devices and can subscribe to and control them.
  • Other devices include reporting devices or controlled devices.
  • the reporting device is mainly responsible for sending changes to its own attributes, while the controlled device can be controlled by the client. Both can use one physical device or multiple physical devices.
  • the client can be located on the user client APP.
  • the Client of the RuleManager first requests the existing device information from the Server of the RuleManager. Based on the received information, the Client sets and adds rules and sends them to the Server. After the Server receives the information, it will Rules are added to the Rule Table.
  • the Server After a rule is enabled by the Client, the Server will subscribe to the device attributes input by the corresponding rule. When notification information is sent back to the Server, the Server will compare it with the Rule Table to see whether a certain rule is triggered. If Triggered, control and change the attribute values of the corresponding device or a group of devices based on the SceneMessages information in the RuleTable. Realize automatic linkage between devices.
  • a central node device is set up in the Internet of Things
  • a first cluster can be set up in the central node device
  • the management device can set a target rule in the first cluster, and the target rule is based on
  • the first attribute of the first device is input and includes the association between the first attribute, the trigger condition and the scene information of the target scene; through the target rule in the first cluster, the central node device obtains the first After the attribute information of the first attribute of the device is obtained, if the attribute information of the first attribute of the first device meets the trigger condition of the target scene, the attribute information of the second attribute can be adjusted by controlling the second device corresponding to the target scene.
  • FIG. 10 shows a block diagram of a device control device provided by an embodiment of the present application.
  • the device has the function of being executed by the central node device in implementing the method shown in FIG. 2 or FIG. 7 .
  • the equipment control device 1000 may include:
  • the receiving module 1001 is configured to receive attribute information of the first attribute sent by the first device;
  • the sending module 1002 is configured to send a control instruction to the second device corresponding to the target scene when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene; the control instruction is used to Instruct the second device to adjust the attribute information of the second attribute of the second device to achieve the target scenario.
  • the device further includes:
  • a query module configured to query the target rule in the first cluster with the first attribute of the first device as input before the sending module sends a control instruction to the second device corresponding to the target scenario; the target The rule is used to indicate an association relationship between the first attribute of the first device, the trigger condition, and the scene information of the target scene.
  • the target rule includes the following information:
  • the identification information of the first device the identification information of the first attribute, the trigger condition, and the scene information of the target scene.
  • the identification information of the first device includes: node identification information of the first device, and endpoint identification information of the first device corresponding to the first attribute.
  • the identification information of the first attribute includes: cluster identification information of the first attribute; and the cluster identification information is used to indicate the cluster to which the first attribute belongs.
  • the triggering conditions include:
  • the target attribute value corresponding to the first attribute and, when the trigger condition is established, the relationship between the target attribute value and the attribute information of the first attribute.
  • the identification information of the second device includes:
  • the scene information of the target scene includes at least one of scene identification information of the target scene and a scene group identification of the target scene.
  • the sending module is configured to send a scene cluster calling instruction to the second device when the attribute information of the first attribute of the first device meets the triggering condition of the target scene.
  • the scene cluster calling instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device by calling the target scene configured in the scene cluster in the second device.
  • the scene information of the target scene includes node identification information of the second device, endpoint identification information of the second device corresponding to the second attribute, the second attribute attribute identification information and target attribute value;
  • the sending module 1002 is configured to: when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, the sending module 1002 is configured to: according to the node identification information of the second device, the second device and the third Send an attribute adjustment instruction to the second device based on the endpoint identification information corresponding to the two attributes; the attribute adjustment instruction is used to instruct the second device to adjust the attribute according to the attribute identification information of the second attribute and the target attribute value. Attribute information of the second attribute of the second device.
  • the receiving module is further configured to receive an add rule instruction sent by the management device before receiving the attribute information of the first attribute sent by the first device; the add rule instruction includes the Rule information of the target rule;
  • the device also includes:
  • An adding module configured to add the target rule in the first cluster according to the rule information of the target rule.
  • the receiving module is further configured to receive the target rule sent by the management device before the sending module sends a control instruction to the second device corresponding to the target scenario.
  • Rule enablement instructions
  • the device also includes:
  • a status setting module configured to set the target rule to an enabled status according to the rule enabling instruction of the target rule
  • the sending module is configured to send the control instruction to the second device when the attribute information of the first attribute of the first device meets the triggering condition of the target scenario and the target rule is in an enabled state. .
  • the receiving module is also configured to receive a rule deactivation instruction of the target rule sent by the management device;
  • the status setting module is also configured to set the target rule to a non-enabled state according to the rule deactivation instruction of the target rule.
  • the receiving module is also used to receive information acquisition instructions sent by the management device;
  • the sending module is also configured to send the device information of each Internet of Things device connected to the central node device to the management device according to the information acquisition instruction; each of the Internet of Things devices includes the first device and the second device.
  • the receiving module is also configured to receive a rule viewing instruction sent by the management device;
  • the sending module is also configured to send rule information of each rule in the first cluster to the management device according to the rule viewing instruction.
  • the receiving module is also configured to receive a rule removal instruction of the first rule sent by the management device; the first rule is part or all of the rules in the first cluster;
  • the apparatus further includes: a removal module configured to remove the first rule from the first cluster according to a rule removal instruction of the first rule.
  • FIG. 11 shows a block diagram of a device control device provided by an embodiment of the present application.
  • the device has the function of implementing the method performed by the management device in the above-mentioned method shown in FIG. 6 or FIG. 7 .
  • the equipment control device 1100 may include:
  • Sending module 1101 configured to send an add rule instruction to the central node device;
  • the add rule instruction includes rule information of a target rule;
  • the target rule takes the first attribute of the first device as input, and the target rule Used to indicate the association between the first attribute of the first device, the trigger condition and the scene information of the target scene;
  • the add rule instruction is used to instruct the central node device to add the target rule in the first cluster, so that the central node device obtains the attribute information of the first attribute of the first device, and
  • a control instruction is sent to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the first attribute information of the second attribute of the two devices to achieve the target scenario.
  • the sending module is further configured to send a rule enabling instruction of the target rule to the central node device; the rule enabling instruction is used to instruct the central node device to send the target rule to the central node device.
  • the rule is set to enabled.
  • the sending module is further configured to send a rule deactivation instruction of the target rule to the central node device; the rule deactivation instruction is used to instruct the central node device to The above target rule is set to inactive state.
  • the sending module is also configured to send an information acquisition instruction to the central node device;
  • the device further includes: a first receiving module, configured to receive the device information of each Internet of Things device connected to the central node device sent by the central node device; each of the Internet of Things devices includes the first device and said second device.
  • the sending module is also configured to send a rule viewing instruction to the central node device;
  • the device further includes: a second receiving module, configured to receive the rule information of each rule in the first cluster sent by the central node device.
  • the sending module is also configured to send a rule removal instruction of a first rule to the central node device; the first rule is part or all of the rules in the first cluster. ;
  • the rule removal instruction of the first rule is used to instruct the central node device to remove the first rule from the first cluster.
  • FIG. 12 shows a block diagram of a device control device provided by an embodiment of the present application.
  • the device has the function of realizing the function performed by the first device in the method shown in FIG. 3 or FIG. 7 .
  • the equipment control device 1200 may include:
  • the sending module 1201 is configured to send the attribute information of the first attribute of the first device to the central node device, so that the attribute information of the first attribute of the first device of the central node device satisfies the triggering condition of the target scene.
  • sending a control instruction to the second device corresponding to the target scene the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to realize the target scene.
  • Figure 13 shows a block diagram of a device control device provided by an embodiment of the present application.
  • the device has the function of realizing the function performed by the second device in the method shown in FIG. 4 or FIG. 7 .
  • the equipment control device 1300 may include:
  • the receiving module 1301 is configured to receive a control instruction sent by the central node device; the control instruction is that the central node device receives the attribute information of the first attribute sent by the first device, and adds the attribute information to the first attribute of the first device.
  • the adjustment module 1302 is configured to adjust the attribute information of the second attribute of the second device according to the control instruction to achieve the target scenario.
  • the device provided in the above embodiment implements its functions, only the division of the above functional modules is used as an example. In practical applications, the above functions can be allocated to different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
  • FIG 14 shows a schematic structural diagram of a computer device 1400 provided by an embodiment of the present application.
  • the computer device 1400 may include a processor 1401, a receiver 1402, a transmitter 1403, a memory 1404, and a bus 1405.
  • the processor 1401 includes one or more processing cores.
  • the processor 1401 executes various functional applications and information processing by running software programs and modules.
  • the receiver 1402 and the transmitter 1403 can be implemented as a communication component, and the communication component can be a communication chip.
  • This communication chip can also be called a transceiver.
  • Memory 1404 is connected to processor 1401 through bus 1405.
  • the memory 1404 can be used to store a computer program, and the processor 1401 is used to execute the computer program to implement various steps performed by the central node device, the management device, the first device or the second device in the above method embodiment.
  • memory 1404 may be implemented by any type of volatile or non-volatile storage device, or combination thereof, including but not limited to: magnetic or optical disks, electrically erasable programmable Read-only memory, erasable programmable read-only memory, static ready-access memory, read-only memory, magnetic memory, flash memory, programmable read-only memory.
  • Embodiments of the present application also provide a computer-readable storage medium.
  • a computer program is stored in the storage medium.
  • the computer program is loaded and executed by a processor to implement the above-mentioned Figure 2, Figure 3, Figure 4, Figure 6 or In the method shown in Figure 7, all or part of the steps are performed by the central node device, the management device, the first device or the second device.
  • This application also provides a chip, which is used to run in a computer device, so that the computer device executes the method shown in Figure 2, Figure 3, Figure 4, Figure 6 or Figure 7, by the central node device, All or part of the steps performed by the management device, the first device or the second device.
  • the application also provides a computer program product, which computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium.
  • the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method shown in Figure 2, Figure 3, Figure 4, Figure 6 or Figure 7, by All or part of the steps performed by the central node device, the management device, the first device or the second device.
  • This application also provides a computer program, which is executed by the processor of the computer device to implement the method shown in Figure 2, Figure 3, Figure 4, Figure 6 or Figure 7, by the central node device, management All or part of the steps performed by the device, the first device or the second device.
  • Computer-readable media includes computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another.
  • Storage media can be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

A device control method and apparatus, a device, and a storage medium, relating to the technical field of Internet of things. The method comprises: receiving attribute information of a first attribute sent by a first device (201); and when the attribute information of the first attribute of the first device satisfies a trigger condition of a target scene, sending a control instruction to a second device corresponding to the target scene (202), the control instruction being used for instructing the second device to adjust attribute information of a second attribute of the second device so as to realize the target scene. The solution expands a triggering mode for a scene in the Internet of things, and improves the application effect of the scene.

Description

设备控制方法、装置、设备及存储介质Equipment control method, device, equipment and storage medium 技术领域Technical field
本申请涉及物联网技术领域,特别涉及一种设备控制方法、装置、设备及存储介质。This application relates to the technical field of the Internet of Things, and in particular to an equipment control method, device, equipment and storage medium.
背景技术Background technique
随着物联网(Internet of Things,IoT)技术的不断发展,越来越多的物联网设备在智能家居、工业生产等诸多领域给用户的生产生活带来了极大的便利性。With the continuous development of Internet of Things (IoT) technology, more and more IoT devices have brought great convenience to users' production and life in many fields such as smart homes and industrial production.
在相关技术中,物联网可以支持场景(Scene)的实现。比如,用户发出“打开回家模式”的语音指令,用户的手机可以向家庭物联网中的灯具、空调等设备发送启动指令,以打开灯具和空调。Among related technologies, the Internet of Things can support the implementation of scenes. For example, if a user issues a voice command to "turn on home mode", the user's mobile phone can send start commands to lighting fixtures, air conditioners and other devices in the home Internet of Things to turn on the lighting fixtures and air conditioners.
发明内容Contents of the invention
本申请实施例提供了一种设备控制方法、装置、设备及存储介质。所述技术方案如下:Embodiments of the present application provide an equipment control method, device, equipment and storage medium. The technical solutions are as follows:
一方面,本申请实施例提供了一种设备控制方法,所述方法由物联网中的中心节点设备执行,所述方法包括:On the one hand, embodiments of the present application provide a device control method, which is executed by a central node device in the Internet of Things. The method includes:
接收第一设备发送的第一属性的属性信息;Receive attribute information of the first attribute sent by the first device;
在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。When the attribute information of the first attribute of the first device meets the triggering condition of the target scene, send a control instruction to the second device corresponding to the target scene; the control instruction is used to instruct the second device Adjust the attribute information of the second attribute of the second device to achieve the target scenario.
一方面,本申请实施例提供了一种设备控制方法,所述方法由物联网中的管理设备执行,所述方法包括:On the one hand, embodiments of the present application provide a device control method, which is executed by a management device in the Internet of Things. The method includes:
向中心节点设备发送添加规则指令;所述添加规则指令中包含目标规则的规则信息;所述目标规则以所述第一设备的第一属性为输入,且所述目标规则用于指示所述第一设备的第一属性、触发条件以及目标场景的场景信息之间的关联关系;Send an add rule instruction to the central node device; the add rule instruction includes rule information of a target rule; the target rule takes the first attribute of the first device as input, and the target rule is used to indicate the third The association between the first attribute of a device, the trigger condition and the scene information of the target scene;
其中,所述添加规则指令用于指示所述中心节点设备在第一集群中添加所述目标规则,以使得所述中心节点设备在获取到所述第一设备的第一属性的属性信息,且所述第一设备的第一属性的属性信息满足所述触发条件时,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。Wherein, the add rule instruction is used to instruct the central node device to add the target rule in the first cluster, so that the central node device obtains the attribute information of the first attribute of the first device, and When the attribute information of the first attribute of the first device satisfies the trigger condition, a control instruction is sent to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the first attribute information of the second attribute of the two devices to achieve the target scenario.
一方面,本申请实施例提供了一种设备控制方法,所述方法由物联网中的第一设备执行,所述方法包括:On the one hand, embodiments of the present application provide a device control method, which is executed by a first device in the Internet of Things. The method includes:
向中心节点设备发送所述第一设备的第一属性的属性信息,以使得所述中心节点设备在所述第一设备的第一属性的属性信息满足目标场景的触发条件时,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。Send the attribute information of the first attribute of the first device to the central node device, so that when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, the central node device sends the attribute information to the central node device. The second device corresponding to the target scene sends a control instruction; the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to realize the target scene.
一方面,本申请实施例提供了一种设备控制方法,所述方法由物联网中的第二设备执行,所述方法包括:On the one hand, embodiments of the present application provide a device control method, which is executed by a second device in the Internet of Things. The method includes:
接收中心节点设备发送的控制指令;所述控制指令是所述中心节点设备接收第一设备发送的第一属性的属性信息,并在所述第一设备的第一属性的属性信息满足目标场景的触发条件时发送的指令;所述目标场景是与所述第二设备对应的场景;Receive a control instruction sent by the central node device; the control instruction is that the central node device receives the attribute information of the first attribute sent by the first device, and when the attribute information of the first attribute of the first device meets the target scenario An instruction sent when a condition is triggered; the target scene is a scene corresponding to the second device;
根据所述控制指令调整所述第二设备的第二属性的属性信息,以实现目标场景。The attribute information of the second attribute of the second device is adjusted according to the control instruction to realize the target scenario.
另一方面,本申请实施例提供了一种设备控制装置,所述装置包括:On the other hand, embodiments of the present application provide an equipment control device, which includes:
接收模块,用于接收第一设备发送的第一属性的属性信息;A receiving module, configured to receive attribute information of the first attribute sent by the first device;
发送模块,用于在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。A sending module configured to send a control instruction to the second device corresponding to the target scene when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene; the control instruction is used to indicate The second device adjusts the attribute information of the second attribute of the second device to realize the target scenario.
另一方面,本申请实施例提供了一种设备控制装置,所述装置包括:On the other hand, embodiments of the present application provide an equipment control device, which includes:
发送模块,用于向中心节点设备发送添加规则指令;所述添加规则指令中包含目标规则的规则信息;所述目标规则以所述第一设备的第一属性为输入,且所述目标规则用于指示所述第一设备的第一属性、触发条件以及目标场景的场景信息之间的关联关系;A sending module, configured to send an add rule instruction to the central node device; the add rule instruction includes rule information of a target rule; the target rule takes the first attribute of the first device as input, and the target rule is Indicating the association between the first attribute of the first device, the trigger condition and the scene information of the target scene;
其中,所述添加规则指令用于指示所述中心节点设备在第一集群中添加所述目标规则,以使得所述中心节点设备在获取到所述第一设备的第一属性的属性信息,且所述第一设备的第一属性的属性信息满足所述触发条件时,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。Wherein, the add rule instruction is used to instruct the central node device to add the target rule in the first cluster, so that the central node device obtains the attribute information of the first attribute of the first device, and When the attribute information of the first attribute of the first device satisfies the trigger condition, a control instruction is sent to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the first attribute information of the second attribute of the two devices to achieve the target scenario.
另一方面,本申请实施例提供了一种设备控制装置,所述装置包括:On the other hand, embodiments of the present application provide an equipment control device, which includes:
发送模块,用于向中心节点设备发送所述第一设备的第一属性的属性信息,以使得所述中心节点设备在所述第一设备的第一属性的属性信息满足目标场景的触发条件时,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。A sending module, configured to send the attribute information of the first attribute of the first device to the central node device, so that the central node device can satisfy the triggering condition of the target scene when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene. , sending a control instruction to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to realize the target scene.
另一方面,本申请实施例提供了一种设备控制装置,所述装置包括:On the other hand, embodiments of the present application provide an equipment control device, which includes:
接收模块,用于接收中心节点设备发送的控制指令;所述控制指令是所述中心节点设备接收第一设备发送的第一属性的属性信息,并在所述第一设备的第一属性的属性信息满足目标场景的触发条件时发送的指令;所述目标场景是与所述第二设备对应的场景;A receiving module, configured to receive a control instruction sent by the central node device; the control instruction is that the central node device receives the attribute information of the first attribute sent by the first device, and adds the attribute information of the first attribute to the first device. An instruction sent when the information satisfies the trigger condition of the target scene; the target scene is the scene corresponding to the second device;
调整模块,用于根据所述控制指令调整所述第二设备的第二属性的属性信息,以实现目标场景。An adjustment module, configured to adjust the attribute information of the second attribute of the second device according to the control instruction to achieve a target scenario.
再一方面,本申请实施例提供了一种计算机设备,所述计算机设备包括处理器、存储器和收发器,所述存储器存储有计算机程序,所述计算机程序用于被所述处理器执行,以实现上述设备控制方法。In yet another aspect, embodiments of the present application provide a computer device, which includes a processor, a memory, and a transceiver. The memory stores a computer program, and the computer program is configured to be executed by the processor, so as to Implement the above device control methods.
又一方面,本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述设备控制方法。On another aspect, embodiments of the present application also provide a computer-readable storage medium, in which a computer program is stored, and the computer program is loaded and executed by a processor to implement the above device control method.
又一方面,本申请还提供了一种芯片,所述芯片用于在计算机设备中运行,以使得所述计算机设备执行上述设备控制方法。In another aspect, the present application also provides a chip, which is used to run in a computer device, so that the computer device executes the above device control method.
又一方面,本申请提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述设备控制方法。In yet another aspect, the present application provides a computer program product including computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above device control method.
又一方面,本申请提供了一种计算机程序,该计算机程序由计算机设备的处理器执行,以实现上述设备控制方法。In another aspect, the present application provides a computer program, which is executed by a processor of a computer device to implement the above device control method.
本申请实施例提供的技术方案可以带来如下有益效果:The technical solutions provided by the embodiments of this application can bring the following beneficial effects:
在物联网中设置中心节点设备,该中心节点设备在获取到第一设备的第一属性的属性信息后,若该第一设备的第一属性的属性信息满足目标场景的触发条件,则可以通过控制与目标场景对应的第二设备调整第二属性的属性信息,来实现上述目标场景,在上述目标场景的触发过程中不需要用户介入,从而扩展了物联网中的场景的触发方式,提高了场景的应用效果。A central node device is set up in the Internet of Things. After the central node device obtains the attribute information of the first attribute of the first device, if the attribute information of the first attribute of the first device satisfies the trigger condition of the target scenario, it can pass Control the second device corresponding to the target scene to adjust the attribute information of the second attribute to realize the above target scene. User intervention is not required during the triggering process of the above target scene, thereby expanding the triggering method of the scene in the Internet of Things and improving the The application effect of the scene.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings without exerting creative efforts.
图1是本申请一个实施例提供的物联网的网络架构的示意图;Figure 1 is a schematic diagram of the network architecture of the Internet of Things provided by an embodiment of the present application;
图2是本申请一个实施例提供的设备控制方法的流程图;Figure 2 is a flow chart of a device control method provided by an embodiment of the present application;
图3是本申请一个实施例提供的设备控制方法的流程图;Figure 3 is a flow chart of a device control method provided by an embodiment of the present application;
图4是本申请一个实施例提供的设备控制方法的流程图;Figure 4 is a flow chart of a device control method provided by an embodiment of the present application;
图5是本申请一个实施例提供的设备控制的***框架图;Figure 5 is a system framework diagram of equipment control provided by an embodiment of the present application;
图6是本申请一个实施例提供的设备控制方法的流程图;Figure 6 is a flow chart of a device control method provided by an embodiment of the present application;
图7是本申请一个实施例提供的设备控制方法的流程图;Figure 7 is a flow chart of a device control method provided by an embodiment of the present application;
图8是图7所示实施例涉及的一种设备控制框架示意图;Figure 8 is a schematic diagram of a device control framework related to the embodiment shown in Figure 7;
图9是图7所示实施例涉及的另一种设备控制框架示意图;Figure 9 is a schematic diagram of another device control framework related to the embodiment shown in Figure 7;
图10是本申请一个实施例提供的设备控制装置的框图;Figure 10 is a block diagram of an equipment control device provided by an embodiment of the present application;
图11是本申请一个实施例提供的设备控制装置的框图;Figure 11 is a block diagram of an equipment control device provided by an embodiment of the present application;
图12是本申请一个实施例提供的设备控制装置的框图;Figure 12 is a block diagram of an equipment control device provided by an embodiment of the present application;
图13是本申请一个实施例提供的设备控制装置的框图;Figure 13 is a block diagram of an equipment control device provided by an embodiment of the present application;
图14是本申请一个实施例提供的计算机设备的结构示意图。Figure 14 is a schematic structural diagram of a computer device provided by an embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the purpose, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
本申请实施例描述的网络架构以及业务场景是为了更加清楚地说明本申请实施例的技术方案,并不构成对本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and business scenarios described in the embodiments of this application are to more clearly explain the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those of ordinary skill in the art will know that with the network architecture evolution and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
请参考图1,其示出了本申请一个实施例提供的物联网的网络架构的示意图。该物联网的网络架构可以包括:物联网设备110(图1中示出为物联网设备110a、物联网设备110b以及物联网设备110c)、中心节点设备120、以及管理设备130;Please refer to Figure 1, which shows a schematic diagram of the network architecture of the Internet of Things provided by an embodiment of the present application. The network architecture of the Internet of Things may include: an Internet of Things device 110 (shown as an Internet of Things device 110a, an Internet of Things device 110b, and an Internet of Things device 110c in Figure 1), a central node device 120, and a management device 130;
物联网设备110可以是在物联网中,用于提供物联网协议对应的服务端功能或者客户端功能的设备。The Internet of Things device 110 may be a device used to provide server functions or client functions corresponding to the Internet of Things protocol in the Internet of Things.
比如,物联网设备110可以是智能家居设备,例如,智能灯具、智能电视、智能空调、智能冰箱、智能微波炉、智能电饭煲、扫地机器人、智能音箱、智能开关等等。For example, the IoT device 110 may be a smart home device, such as smart lamps, smart TVs, smart air conditioners, smart refrigerators, smart microwave ovens, smart rice cookers, sweeping robots, smart speakers, smart switches, and so on.
或者,物联网设备110可以是工业生产设备,例如,车床、工业机器人、太阳能面板、风力发电机等等。Alternatively, the IoT device 110 may be an industrial production equipment, such as a lathe, an industrial robot, a solar panel, a wind turbine, etc.
或者,物联网设备110可以是商业服务设备,例如,无人售货机等等。Alternatively, the Internet of Things device 110 may be a commercial service device, such as an unmanned vending machine or the like.
或者,物联网设备110可以是智能监控设备,例如,监控摄像头、红外传感器、声音传感器、温度传感器等等。Alternatively, the IoT device 110 may be an intelligent monitoring device, such as a surveillance camera, an infrared sensor, a sound sensor, a temperature sensor, etc.
上述中心节点设备120可以是设置在物联网中,为物联网中的各个物联网设备和管理设备提供信息互通、信息维护等服务的设备。比如,该中心节点设备120可以是家庭网关设备等等。The above-mentioned central node device 120 may be a device installed in the Internet of Things to provide services such as information interoperability and information maintenance for various Internet of Things devices and management devices in the Internet of Things. For example, the central node device 120 may be a home gateway device or the like.
其中,上述中心节点设备120可以在硬件上独立于各个物联网设备110,或者,上述中心节点设备120也可以与某一个物联网设备110是同一个设备。比如,家庭网络设备在物联网上中可以同时实现物联网设备110以及中心节点设备120。Among them, the above-mentioned central node device 120 can be independent of each Internet of Things device 110 in terms of hardware, or the above-mentioned central node device 120 can also be the same device as a certain Internet of Things device 110 . For example, a home network device can simultaneously implement the Internet of Things device 110 and the central node device 120 in the Internet of Things.
在一种可能的实现方式中,管理设备130可以是用户侧的终端设备。比如,管理设备130可以是智能手机、平板电脑、智能手表、智能电视等等;或者,管理设备130也可以是个人电脑,比如台式电脑、便携式计算机、个人工作站等等。In a possible implementation, the management device 130 may be a user-side terminal device. For example, the management device 130 can be a smart phone, a tablet, a smart watch, a smart TV, etc.; or the management device 130 can also be a personal computer, such as a desktop computer, a portable computer, a personal workstation, etc.
在另一种可能的实现方式中,管理设备130也可以是基于终端设备运行的客户端实体(可以是虚拟实体),例如,管理设备130可以是运行在智能手机中,用于对物联网设备110以及中心节点设备120进行管理配置的APP。In another possible implementation, the management device 130 may also be a client entity (which may be a virtual entity) running on a terminal device. For example, the management device 130 may be running on a smartphone and used to manage Internet of Things devices. 110 and the central node device 120 for management and configuration APP.
在本申请实施例中,上述物联网设备110、中心节点设备120、以及管理设备130可以是满足相同或者不同的物联网协议的电子设备,比如,可以是满足连接标准联盟(Connectivity Standards Alliance,CSA)(或称Zigbee联盟)下的Matter协议(或称通过IP(Internet Protocol,网际互联协议)连接家庭工作组(Connected Home over IP Working Group,CHIP)项目)的电子设备。In the embodiment of the present application, the above-mentioned Internet of Things device 110, central node device 120, and management device 130 may be electronic devices that meet the same or different Internet of Things protocols. For example, they may be electronic devices that meet the Connectivity Standards Alliance (CSA) ) (or known as the Matter protocol of the Zigbee Alliance) (or known as the Connected Home over IP Working Group (CHIP) project).
Matter是一种基于IP的物联网连接标准,解决当下智能家居市场存在的兼容性、安全性和连接性等问题。Matter is an IP-based IoT connection standard that solves the compatibility, security and connectivity issues existing in the current smart home market.
在Matter标准中,一个节点(Node),即一个设备(Device),可以包含一至多个端点(EndPoint);一个端点可以包含一至多个集群(Cluster);其中,集群可以被视为接口、服务或对象类,并且是数据模型中最低的独立功能元素。每个集群可以具有自己的属性(Attribute)、方法(Command)、以及事件(Event)等信息。In the Matter standard, a node (Node), that is, a device (Device), can contain one or more endpoints (EndPoint); an endpoint can contain one or more clusters (Cluster); among them, clusters can be regarded as interfaces and services. or object class, and is the lowest independent functional element in the data model. Each cluster can have its own attributes (Attribute), methods (Command), and events (Event) and other information.
在本申请涉及的一种实现方式中,可以在Matter协议中设置一个名为Scene的Cluster,该Cluster用于场景的实现。通过Scene Cluster,可以一次性更改一至多个设备中的多个Cluster的多个Attribute,达到一种场景的效果。Scene Cluster的Server(服务端)维护一个Scene Table(场景表),存储着每一条Scene的信息,每一条信息包括这个场景的ID(Identity,ID)、名称、以及需要改变的所有Cluster的所有Attribute。In an implementation method involved in this application, a Cluster named Scene can be set up in the Matter protocol, and the Cluster is used for scene implementation. Through Scene Cluster, you can change multiple Attributes of multiple Clusters in one or more devices at one time to achieve the effect of a scene. The Server of Scene Cluster maintains a Scene Table that stores information about each Scene. Each piece of information includes the ID (Identity, ID), name, and all Attributes of all Clusters that need to be changed. .
比如,Scene Table中每一条Scene包含的信息可以如下述表1所示。For example, the information contained in each Scene in the Scene Table can be shown in Table 1 below.
表1Table 1
Figure PCTCN2022088003-appb-000001
Figure PCTCN2022088003-appb-000001
Figure PCTCN2022088003-appb-000002
Figure PCTCN2022088003-appb-000002
上述表1中的组指的是另一个Cluster,即Group Cluster,指一组设备信息,如果值为0,则说明该场景只与此设备有关,如果不为0,则说明该场景与一组设备有关,这一组设备由Group ID指示。The group in Table 1 above refers to another Cluster, that is, Group Cluster, which refers to a group of device information. If the value is 0, it means that the scene is only related to this device. If it is not 0, it means that the scene is related to a group of devices. Device related, this group of devices is indicated by Group ID.
如上述表1所示,Scene Cluster的Client(客户端)通过调用AddScene方法来设置某一条Scene信息,并且通过调用方法RecallScene来调用某一条scene,再根据Scene Table的SceneGroupID来判断是触发一组设备的集群属性还是触发单一设备的集群属性来实现场景的功能。Client也可以调用RemoveScene函数来移除Scene。As shown in Table 1 above, the Client of Scene Cluster sets a certain Scene information by calling the AddScene method, calls a certain Scene by calling the RecallScene method, and then determines whether to trigger a group of devices based on the SceneGroupID of the Scene Table. The cluster attributes can still trigger the cluster attributes of a single device to realize the function of the scene. The Client can also call the RemoveScene function to remove the Scene.
然而,上述表1所示的Scene Cluster仅能实现场景功能,例如使用客户端APP设置回家场景来控制家中的设备。需要使用此场景时,客户端调用方法来调用场景来实现场景,即更改设备的多个Cluster的多个Attribute。上述方案需要用户介入来触发场景,设备间缺少在没有用户操作的情况下的联合工作机制,导致物联网中的场景的应用方式受限。However, the Scene Cluster shown in Table 1 above can only implement scene functions, such as using a client APP to set a home scene to control devices at home. When this scenario needs to be used, the client calls a method to invoke the scenario to implement the scenario, that is, to change multiple Attributes of multiple Clusters of the device. The above solution requires user intervention to trigger the scenario, and there is a lack of joint working mechanism between devices without user operation, resulting in limited application methods of scenarios in the Internet of Things.
对于上述问题,本申请后续实施例提供了一种设置配置方案,在不需要用户介入的情况,可以通过中心节点设备对物联网中的场景对应的设备进行自动控制。To address the above problems, subsequent embodiments of the present application provide a setting and configuration solution, whereby the central node device can automatically control devices corresponding to scenarios in the Internet of Things without user intervention.
请参考图2,其示出了本申请一个实施例提供的设备控制方法的流程图,该方法可以由物联网中的中心节点设备执行,比如,该中心节点设备可以是图1所示的网络架构中的中心节点设备120;该方法可以包括如下几个步骤:Please refer to Figure 2, which shows a flow chart of a device control method provided by an embodiment of the present application. This method can be executed by a central node device in the Internet of Things. For example, the central node device can be the network shown in Figure 1 The central node device 120 in the architecture; the method may include the following steps:
步骤201,接收第一设备发送的第一属性的属性信息。Step 201: Receive attribute information of the first attribute sent by the first device.
步骤202,在第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向与目标场景对应的第二设备发送控制指令;控制指令用于指示第二设备调整第二设备的第二属性的属性信息,以实现目标场景。Step 202: When the attribute information of the first attribute of the first device satisfies the trigger condition of the target scene, send a control instruction to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the Attribute information of the second attribute to achieve the target scenario.
综上所述,本申请实施例所示的方案,在物联网中设置中心节点设备,该中心节点设备在获取到第一设备的第一属性的属性信息后,若该第一设备的第一属性的属性信息满足目标场景的触发条件,则可以通过控制与目标场景对应的第二设备调整第二属性的属性信息,来实现上述目标场景,在上述目标场景的触发过程中不需要用户介入,从而扩展了物联网中的场景的触发方式,提高了场景的应用效果。To sum up, the solution shown in the embodiment of the present application is to set up a central node device in the Internet of Things. After the central node device obtains the attribute information of the first attribute of the first device, if the first attribute of the first device is If the attribute information of the attribute meets the triggering conditions of the target scene, the above target scene can be realized by controlling the second device corresponding to the target scene to adjust the attribute information of the second attribute. User intervention is not required during the triggering process of the above target scene. This expands the triggering methods of scenarios in the Internet of Things and improves the application effects of scenarios.
请参考图3,其示出了本申请一个实施例提供的设备控制方法的流程图,该方法可以由物联网中的第一设备执行,比如,该第一设备可以是图1所示的网络架构中的物联网设备110;该方法可以包括如下几个步骤:Please refer to Figure 3, which shows a flow chart of a device control method provided by an embodiment of the present application. This method can be executed by a first device in the Internet of Things. For example, the first device can be the network shown in Figure 1 IoT device 110 in the architecture; the method may include the following steps:
步骤301,向中心节点设备发送第一设备的第一属性的属性信息,以使得中心节点设备在第一设备的第一属性的属性信息满足目标场景的触发条件时,向与目标场景对应的第二设备发送控制指令;控制指令用于指示第二设备调整第二设备的第二属性的属性信息,以实现目标场景。Step 301: Send the attribute information of the first attribute of the first device to the central node device, so that when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, the central node device sends the attribute information of the first attribute of the first device to the target scene. The second device sends a control instruction; the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to achieve the target scenario.
综上所述,本申请实施例所示的方案,在物联网中设置中心节点设备,该中心节点设备在获取到第一设备的第一属性的属性信息后,若该第一设备的第一属性的属性信息满足目标场景的触发条件,则可以通过控制与目标场景对应的第二设备调整第二属性的属性信息,来实现上述目标场景,在上述目标场景的触发过程中不需要用户介入,从而扩展了物联网中的场景的触发方式,提高了场景的应用效果。To sum up, the solution shown in the embodiment of the present application is to set up a central node device in the Internet of Things. After the central node device obtains the attribute information of the first attribute of the first device, if the first attribute of the first device is If the attribute information of the attribute meets the triggering conditions of the target scene, the above target scene can be realized by controlling the second device corresponding to the target scene to adjust the attribute information of the second attribute. User intervention is not required during the triggering process of the above target scene. This expands the triggering methods of scenarios in the Internet of Things and improves the application effects of scenarios.
请参考图4,其示出了本申请一个实施例提供的设备控制方法的流程图,该方法可以由物联网中的第二设备执行,比如,该第二设备可以是图1所示的网络架构中的物联网设备110;该方法可以包括如下几个步骤:Please refer to Figure 4, which shows a flow chart of a device control method provided by an embodiment of the present application. This method can be executed by a second device in the Internet of Things. For example, the second device can be the network shown in Figure 1 IoT device 110 in the architecture; the method may include the following steps:
步骤401,接收中心节点设备发送的控制指令;所述控制指令是所述中心节点设备接收第一设备发送的第一属性的属性信息,并在所述第一设备的第一属性的属性信息满足目标场景的触发条件时发送的指令;所述目标场景是与所述第二设备对应的场景。Step 401: Receive a control instruction sent by the central node device; the control instruction is that the central node device receives the attribute information of the first attribute sent by the first device, and when the attribute information of the first attribute of the first device satisfies The instruction is sent when the trigger condition of the target scene is the scene corresponding to the second device.
步骤402,根据所述控制指令调整所述第二设备的第二属性的属性信息,以实现目标场景。Step 402: Adjust the attribute information of the second attribute of the second device according to the control instruction to achieve the target scenario.
综上所述,本申请实施例所示的方案,在物联网中设置中心节点设备,该中心节点设备在获取到第一设备的第一属性的属性信息后,若该第一设备的第一属性的属性信息满足目标场景的触发条件,则可以通过控制与目标场景对应的第二设备调整第二属性的属性信息,来实现上述目标场景,在上述目标场景的触发过程中不需要用户介入,从而扩展了物联网中的场景的触发方式,提高了场景的应用效果。To sum up, the solution shown in the embodiment of the present application is to set up a central node device in the Internet of Things. After the central node device obtains the attribute information of the first attribute of the first device, if the first attribute of the first device is If the attribute information of the attribute meets the triggering conditions of the target scene, the above target scene can be realized by controlling the second device corresponding to the target scene to adjust the attribute information of the second attribute. User intervention is not required during the triggering process of the above target scene. This expands the triggering methods of scenarios in the Internet of Things and improves the application effects of scenarios.
通过本申请上述图2至图4所示的方案,可以通过中心节点设备与目标场景涉及的第一设备和第二设备相连,并维护物联网中的场景的触发规则,从而自动触发目标场景。Through the solutions shown in Figures 2 to 4 of this application, the central node device can be connected to the first device and the second device involved in the target scenario, and maintain the triggering rules of the scenario in the Internet of Things, thereby automatically triggering the target scenario.
请参考图5,其示出了本申请一个实施例提供的设备控制的***框架图。在一种可能的应用场景中,以中心节点设备是智能网关51,第一设备是温度传感器52,第二设备是智能空调53,目标场景是温度30°时,开启空调制冷为例,如图5所示,智能网关51中设置有目标场景的触发规则,并且,智能网关51与温度传感器52和智能空调53分别建立基于物联网协议的连接。Please refer to FIG. 5 , which shows a system framework diagram of device control provided by an embodiment of the present application. In a possible application scenario, the central node device is a smart gateway 51, the first device is a temperature sensor 52, and the second device is a smart air conditioner 53. The target scenario is to turn on the air conditioner when the temperature is 30°, as shown in the figure. As shown in 5, the triggering rules of the target scenario are set in the smart gateway 51, and the smart gateway 51 establishes connections based on the Internet of Things protocol with the temperature sensor 52 and the smart air conditioner 53 respectively.
在图5所示的***框架中,设备控制过程可以如下:In the system framework shown in Figure 5, the equipment control process can be as follows:
S1,温度传感器52向智能网关51发送其测量得到的室内温度值(即第一属性的属性信息)。S1. The temperature sensor 52 sends the measured indoor temperature value (that is, the attribute information of the first attribute) to the intelligent gateway 51.
S2,智能网关51判断室内温度值是否达到30°。S2, the smart gateway 51 determines whether the indoor temperature value reaches 30°.
S3,当室内温度值是否达到30°时,智能网关51向智能空调53发送启动制冷的控制指令。S3, when the indoor temperature value reaches 30°, the smart gateway 51 sends a control instruction to start cooling to the smart air conditioner 53.
S4,智能空调53根据控制指令启动制冷,比如,将目标温度设置为18°(即调整第二属性的属性信息),以实现目标场景。S4, the smart air conditioner 53 starts cooling according to the control instruction, for example, setting the target temperature to 18° (that is, adjusting the attribute information of the second attribute) to achieve the target scenario.
在本申请上述图2至图4所示的实施例中,中心节点设备可以通过一个用于管理场景规则的集群(Cluster)进行场景的触发。并且,该集群可以对外提供规则的配置和管理。也就是说,用户可以通过管理设备,在中心节点设备中配置和管理场景的触发规则。In the embodiments shown in FIGS. 2 to 4 of the present application, the central node device can trigger scenarios through a cluster (Cluster) used to manage scene rules. In addition, the cluster can provide external rule configuration and management. In other words, users can configure and manage scene triggering rules in the central node device through the management device.
请参考图6,其示出了本申请一个实施例提供的设备控制方法的流程图,该方法可以由物联网中的管理设备执行,比如,该管理设备可以是图1所示的网络架构中的管理设备130;该方法可以包括如下几个步骤:Please refer to Figure 6, which shows a flow chart of a device control method provided by an embodiment of the present application. This method can be executed by a management device in the Internet of Things. For example, the management device can be in the network architecture shown in Figure 1 management device 130; the method may include the following steps:
步骤601,向中心节点设备发送添加规则指令;添加规则指令中包含目标规则的规则信息;目标规则以第一设备的第一属性为输入,且目标规则用于指示第一设备的第一属性、触发条件以及目标场景的场景信息之间的关联关系。Step 601: Send an add rule instruction to the central node device; the add rule instruction includes rule information of the target rule; the target rule takes the first attribute of the first device as input, and the target rule is used to indicate the first attribute of the first device, The correlation between trigger conditions and scene information of the target scene.
其中,添加规则指令用于指示中心节点设备在第一集群中添加目标规则,以使得中心节点设备在获取到第一设备的第一属性的属性信息,且第一设备的第一属性的属性信息满足触发条件时,向与目标场景对应的第二设备发送控制指令;控制指令用于指示第二设备调整第二设备的第二属性的属性信息,以实现目标场景。Wherein, the add rule instruction is used to instruct the central node device to add the target rule in the first cluster, so that the central node device obtains the attribute information of the first attribute of the first device, and the attribute information of the first attribute of the first device When the trigger condition is met, a control instruction is sent to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to realize the target scene.
综上所述,本申请实施例所示的方案,在物联网中设置中心节点设备,该中心节点设备中可以设置第一集群,管理设备可以在第一集群中设置目标规则,该目标规则以第一设备的第一属性为输入,且包含第一属性、触发条件以及目标场景的场景信息三者之间的关联关系;通过该第一集群中的目标规则,中心节点设备在获取到第一设备的第一属性的属性信息后,若该第一设备的第一属性的属性信息满足目标场景的触发条件,则可以通过控制与目标场景对应的第二设备调整第二属性的属性信息,来实现上述目标场景,在上述目标场景的触发过程中不需要用户介入,从而扩展了物联网中的场景的触发方式,提高了场景的应用效果。To sum up, according to the solution shown in the embodiment of this application, a central node device is set up in the Internet of Things, a first cluster can be set up in the central node device, and the management device can set a target rule in the first cluster, and the target rule is based on The first attribute of the first device is input and includes the association between the first attribute, the trigger condition and the scene information of the target scene; through the target rule in the first cluster, the central node device obtains the first After the attribute information of the first attribute of the device is obtained, if the attribute information of the first attribute of the first device meets the trigger condition of the target scene, the attribute information of the second attribute can be adjusted by controlling the second device corresponding to the target scene. To achieve the above target scenario, no user intervention is required during the triggering process of the above target scenario, thereby expanding the triggering method of scenarios in the Internet of Things and improving the application effect of the scenario.
请参考图7,其示出了本申请一个实施例提供的设备控制方法的流程图,该方法可以由管理设备、中心节点设备、第一设备以及第二设备交互执行。比如,该管理设备、中心节点设备可以分别是图1所示的网络架构中的管理设备130、中心节点设备120;第一设备以及第二设备可以是图1所示的网络架构中的不同的物联网设备110;该方法可以包括如下几个步骤:Please refer to FIG. 7 , which shows a flow chart of a device control method provided by an embodiment of the present application. The method can be interactively executed by a management device, a central node device, a first device, and a second device. For example, the management device and the central node device may be the management device 130 and the central node device 120 in the network architecture shown in Figure 1 respectively; the first device and the second device may be different devices in the network architecture shown in Figure 1 Internet of Things device 110; the method may include the following steps:
步骤701,管理设备向中心节点设备发送添加规则指令;相应的,中心节点设备接收管理设备发送的添加规则指令。Step 701: The management device sends an add rule instruction to the central node device; accordingly, the central node device receives the add rule instruction sent by the management device.
其中,添加规则指令中包含目标规则的规则信息。Among them, the add rule instruction contains the rule information of the target rule.
上述目标规则以第一设备的第一属性为输入,且目标规则用于指示第一设备的第一属性、触发条件以及目标场景的场景信息之间的关联关系。The above target rule takes the first attribute of the first device as input, and the target rule is used to indicate the association between the first attribute of the first device, the trigger condition, and the scene information of the target scene.
比如,管理设备中包含第一集群的客户端,中心节点设备中包含第一集群的服务端;管理设备中的第一集群的客户端,可以向中心节点设备中的第一集群的服务端发送添加规则指令。For example, the management device contains the client of the first cluster, and the central node device contains the server of the first cluster; the client of the first cluster in the management device can send a message to the server of the first cluster in the central node device. Add rule directive.
其中,上述添加规则指令对应的目标规则可以由用户在管理设备的交互界面中进行设置。The target rule corresponding to the above adding rule instruction can be set by the user in the interactive interface of the management device.
步骤702,中心节点设备根据目标规则的规则信息,在第一集群中添加目标规则。Step 702: The central node device adds the target rule in the first cluster according to the rule information of the target rule.
在本申请实施例中,中心节点设备接收到上述添加规则指令后,可以在第一集群中添加新的规则,即上述目标规则。In this embodiment of the present application, after receiving the above-mentioned rule-adding instruction, the central node device can add a new rule, that is, the above-mentioned target rule, in the first cluster.
比如,第一集群中可以设置一个规则表(Rule Table),其中包含各条已设置的规则。For example, a rule table (Rule Table) can be set up in the first cluster, which contains each set rule.
在一种可能的实现方式中,管理设备还可以向中心节点设备发送目标规则的规则启用指令;规则启用指令用于指示中心节点设备将目标规则设置为启用状态。相应的,中心节点设备可以接收管理设备发送的,目标规则的规则启用指令;根据目标规则的规则启用指令,将目标规则设置为启用状态。In a possible implementation, the management device can also send a rule enabling instruction of the target rule to the central node device; the rule enabling instruction is used to instruct the central node device to set the target rule to an enabled state. Correspondingly, the central node device can receive the rule activation instruction of the target rule sent by the management device; and set the target rule to the enabled state according to the rule activation instruction of the target rule.
在本申请实施例中,第一集群中的各条规则可以具有对应的启用状态或者非启用状态。In this embodiment of the present application, each rule in the first cluster may have a corresponding enabled state or a non-enabled state.
在另一种可能的实现方式中,管理设备还可以向中心节点设备发送目标规则停用指令;目标规则停用指令用于指示中心节点设备将目标规则设置为非启用状态。相应的,中心节点设备可以接收管理设备发送的,目标规则停用指令;根据目标规则停用指令,将目标规则设置为非启用状态。In another possible implementation, the management device can also send a target rule deactivation instruction to the central node device; the target rule deactivation instruction is used to instruct the central node device to set the target rule to a non-enabled state. Correspondingly, the central node device can receive the target rule deactivation instruction sent by the management device; and set the target rule to a non-enabled state according to the target rule deactivation instruction.
中心节点设备在第一集群中添加新的规则时,可以将该新添加的规则设置为默认的状态,比如,设置为默认的启用状态,或者,设置为默认的非启用状态,后续管理设备可以通过规则启用指令启用第一集群中的规则,或者,通过规则关闭指令关闭第一集群中的规则。When the central node device adds a new rule in the first cluster, it can set the newly added rule to the default state, for example, set it to the default enabled state, or set it to the default non-enabled state. Subsequent management devices can The rules in the first cluster are enabled through the rule enabling instruction, or the rules in the first cluster are turned off through the rule closing instruction.
在一种可能的实现方式中,管理设备还可以向中心节点设备发送信息获取指令;并接收中心节点设备发送的,中心节点设备连接的各个物联网设备的设备信息;其中,各个物联网设备中包含第一设备和第二设备。In a possible implementation, the management device can also send information acquisition instructions to the central node device; and receive the device information of each Internet of Things device connected to the central node device sent by the central node device; wherein, in each Internet of Things device, Contains a first device and a second device.
相应的,中心节点设备可以接收管理设备发送的信息获取指令;并根据信息获取指令,向管理设备发送中心节点设备连接的各个物联网设备的设备信息。Correspondingly, the central node device can receive the information acquisition instruction sent by the management device; and according to the information acquisition instruction, send the device information of each Internet of Things device connected to the central node device to the management device.
在本申请实施例中,管理设备可以通过向中心节点设备发送信息获取指令,以获取中心节点设备连接的各个物联网设备的设备信息,以便管理设备的用户查看哪些物联网设备之间可以构建场景,也就是方便用户查看哪些物联网设备可以触发其它物联网设备执行场景相关的动作,这样用户可以针对性的设置相应的规则。In the embodiment of this application, the management device can obtain the device information of each Internet of Things device connected to the central node device by sending an information acquisition instruction to the central node device, so that the user of the management device can check which Internet of Things devices can construct a scenario. , that is, it is convenient for users to check which IoT devices can trigger other IoT devices to perform scene-related actions, so that users can set corresponding rules accordingly.
在一种可能的实现方式中,管理设备还可以向中心节点设备发送规则查看指令;并接收中心节点设备发送的,第一集群中的各条规则的规则信息。In a possible implementation manner, the management device can also send a rule viewing instruction to the central node device; and receive the rule information of each rule in the first cluster sent by the central node device.
相应的,中心节点设备可以接收管理设备发送的规则查看指令;并根据规则查看指令,向管理设备发送第一集群中的各条规则的规则信息。Correspondingly, the central node device can receive the rule viewing instruction sent by the management device; and according to the rule viewing instruction, send the rule information of each rule in the first cluster to the management device.
在本申请实施例中,管理设备可以通过向中心节点设备发送规则查看指令,以获取中心节点设备的第一集群中已经设置的各条规则的规则信息,以便管理设备的用户查看中心节点设备已经具有哪些规则,方便用户决定是否增加或者删除规则。In this embodiment of the present application, the management device can obtain the rule information of each rule that has been set in the first cluster of the central node device by sending a rule viewing instruction to the central node device, so that the user of the management device can check that the central node device has What rules are there to facilitate users to decide whether to add or delete rules.
在一种可能的实现方式中,管理设备还可以向中心节点设备发送第一规则的规则移除指令;第一规则是第一集群中的部分或者全部规则;第一规则的规则移除指令用于指示中心节点设备从第一集群移除第一规则。In a possible implementation, the management device may also send a rule removal instruction of the first rule to the central node device; the first rule is part or all of the rules in the first cluster; the rule removal instruction of the first rule is Instructing the central node device to remove the first rule from the first cluster.
相应的,中心节点设备可以接收管理设备发送的,第一规则的规则移除指令;第一规则是第一集群中的部分或者全部规则;根据第一规则的规则移除指令,从第一集群移除第一规则。Correspondingly, the central node device can receive the rule removal instruction of the first rule sent by the management device; the first rule is part or all of the rules in the first cluster; according to the rule removal instruction of the first rule, the first rule is removed from the first cluster. Remove the first rule.
在本申请实施例中,管理设备可以通过向中心节点设备发送规则删除指令,以移除中心节点设备的第一集群中的部分或者全部规则。In this embodiment of the present application, the management device can remove some or all of the rules in the first cluster of the central node device by sending a rule deletion instruction to the central node device.
其中,上述规则移除指令可以是移除第一集群中指定的一条或多条规则的指令。可选的,当用户想要移除第一集群中的多条指定的规则时,管理设备可以在规则移除指令中需要移除的多条规则,比如,规则移除指令中可以包含需要移除的各条规则的标识信息。The above-mentioned rule removal instruction may be an instruction to remove one or more rules specified in the first cluster. Optionally, when the user wants to remove multiple specified rules in the first cluster, the management device can include the multiple rules that need to be removed in the rule removal instruction. For example, the rule removal instruction can include the rules that need to be moved. Identification information of each rule excepted.
可选的,上述规则移除指令也可以是移除第一集群中全部规则的指令。可选的,在这种情况下,规则移除指令中可以携带一个全部移除的标识信息,相应的,中心节点设备接收到该规则移除指令后,解析得到上述全部移除的标识信息,即可以将第一集群中的全部规则移除。Optionally, the above rule removal instruction may also be an instruction to remove all rules in the first cluster. Optionally, in this case, the rule removal instruction can carry a complete removal identification information. Correspondingly, after the central node device receives the rule removal instruction, it parses to obtain the above all removal identification information. That is, all rules in the first cluster can be removed.
例如,上述第一集群对应的方法(Command)可以如下述表2所示。For example, the method (Command) corresponding to the above-mentioned first cluster may be as shown in Table 2 below.
表2Table 2
Figure PCTCN2022088003-appb-000003
Figure PCTCN2022088003-appb-000003
Figure PCTCN2022088003-appb-000004
Figure PCTCN2022088003-appb-000004
在上述表2中,Access一列中的V标识查看权限,O标识操作权限,M表示管理权限。Conformance一列中的M表示对应的方法是必须的。Direction一列表示调用对应方法后,指令/响应的发送方向;比如,“Client->Server”表示对应的方法由客户端调用,以向服务端发送指令/响应。In the above Table 2, V in the Access column indicates viewing permissions, O indicates operating permissions, and M indicates management permissions. The M in the Conformance column indicates that the corresponding method is required. The Direction column indicates the direction in which instructions/responses are sent after calling the corresponding method; for example, "Client->Server" indicates that the corresponding method is called by the client to send instructions/responses to the server.
下面对表2中涉及的各个方法进行介绍:The various methods involved in Table 2 are introduced below:
1)GetInfo:1) GetInfo:
Client调用此方法后,会向server发送请求,用于获取server设备上所配置的其他设备的信息,即查看哪些Node id上的哪些Cluster id的哪些Attribute id可以作为规则的输入,以及,可通过中心节点设备(server)订阅的其他设备节点情况确定中心节点设备可以收到哪种消息作为规则的输入,可选的,还可以查看哪些Node id上的哪些Scene id可以作为规则所触发的场景,以及,查看中心节点设备上配置了哪些场景(Scene)。Client在设置规则前需要先请求这些信息,以便设置有效规则。Server可以通过调用GetInfoResp方法返回相应的信息。After the Client calls this method, it will send a request to the server to obtain information about other devices configured on the server device, that is, to check which Attribute IDs of which Cluster IDs on which Node IDs can be used as the input of the rules, and can be passed The situation of other device nodes subscribed by the central node device (server) determines what kind of messages the central node device can receive as the input of the rule. Optionally, you can also check which Scene id on which Node id can be used as the scene triggered by the rule. And, check which scenes are configured on the central node device. Client needs to request this information before setting rules in order to set effective rules. Server can return the corresponding information by calling the GetInfoResp method.
2)AddRule:2)AddRule:
Client调用此方法后,会向server发送请求,请求中可以携带Rule Table中的一条Rule的信息,用于在Server端添加规则。Serve端在收到此方法的调用后,会向Rule Table中添加相应的规则,并且通过AddRuleResp进行响应。After the Client calls this method, it will send a request to the server. The request can carry information about a Rule in the Rule Table, which is used to add rules on the server side. After receiving the call of this method, the Server side will add the corresponding rules to the Rule Table and respond through AddRuleResp.
3)EnableRule:3) EnableRule:
Client调用此方法后,会向server发送请求,以请求启动某一条规则,比如,该请求中携带有先前设置添加好的某一条规则的Rule Id,用于使能这条规则。Server在收到使能规则的请求后,可以对启用规则的输入的属性进行订阅,之后收到相应属性的上报信息后,会对比触发条件来判断是否触发规则,若触发规则,则调用相应设备上的一个场景。该方法启动了规则管理,使设备间可以在用户不操作的情况下协同工作。实现规则场景的功能。Server可以通过调用EnableRuleResp,将规则启用的结果反馈给client。After the Client calls this method, it will send a request to the server to request the activation of a certain rule. For example, the request carries the Rule Id of a rule added previously to enable this rule. After receiving the request to enable the rule, the server can subscribe to the input attributes of the enabled rule. After receiving the reported information of the corresponding attribute, it will compare the triggering conditions to determine whether to trigger the rule. If the rule is triggered, the corresponding device will be called. a scene on. This method initiates rule management so that devices can work together without user intervention. Implement the function of regular scenarios. The server can feed back the result of rule activation to the client by calling EnableRuleResp.
4)ViewRule:4)ViewRule:
Client调用此方法后,会向server发送请求,server会返回Rule Table中现有的规则信息。返回的信息可以通过调用ViewRuleResp来发送。After the Client calls this method, it will send a request to the server, and the server will return the existing rule information in the Rule Table. The returned information can be sent by calling ViewRuleResp.
5)RemoveRule:5)RemoveRule:
Client调用此方法后,会向server发送请求,用于移除某一条规则,规则移除后,后续作用将会消失。移除结果可以由server通过调用RemoveRuleResp来发送。After the Client calls this method, it will send a request to the server to remove a certain rule. After the rule is removed, the subsequent effects will disappear. Removal results can be sent by the server by calling RemoveRuleResp.
6)RemoveAllRule:6)RemoveAllRule:
Client调用此方法后,会向server发送请求,用于移除所有规则。移除结果可以由server通过调用RemoveAllRuleResp来发送。After the Client calls this method, it will send a request to the server to remove all rules. Removal results can be sent by the server by calling RemoveAllRuleResp.
在一种可能的实现方式中,目标规则包括以下信息:In one possible implementation, the target rule includes the following information:
第一设备的标识信息、第一属性的标识信息、触发条件、以及目标场景的场景信息。Identification information of the first device, identification information of the first attribute, trigger conditions, and scene information of the target scene.
在一种可能的实现方式中,第一设备的标识信息包括:第一设备的节点标识信息,以及第一设备中与第一属性对应的端点标识信息。In a possible implementation manner, the identification information of the first device includes: node identification information of the first device, and endpoint identification information corresponding to the first attribute in the first device.
在一种可能的实现方式中,第一属性的标识信息包括:第一属性的集群标识信息以及第一属性的属性标识(Attribute ID);集群标识信息用于指示第一属性所属的集群。In a possible implementation, the identification information of the first attribute includes: cluster identification information of the first attribute and an attribute ID (Attribute ID) of the first attribute; the cluster identification information is used to indicate the cluster to which the first attribute belongs.
在一种可能的实现方式中,触发条件包括:In a possible implementation, triggering conditions include:
与第一属性对应的目标属性值;以及,触发条件成立时,目标属性值与第一属性的属性信息之间的关系。The target attribute value corresponding to the first attribute; and, when the trigger condition is established, the relationship between the target attribute value and the attribute information of the first attribute.
比如,上述目标属性值与第一属性的属性信息之间的关系可以包括大小关系,以及匹配关系等等。For example, the relationship between the above-mentioned target attribute value and the attribute information of the first attribute may include a size relationship, a matching relationship, and so on.
步骤703,第一设备向中心节点设备发送第一设备的第一属性的属性信息;中心节点设备接收第一设备发送的第一属性的属性信息。Step 703: The first device sends the attribute information of the first attribute of the first device to the central node device; the central node device receives the attribute information of the first attribute sent by the first device.
在本申请实施例的一个示例性的方案中,管理设备在中心节点设备上配置好目标规则之后,或者,管理设备在中心节点设备上配置好目标规则并启用之后,中心节点设备可以向第一设备订阅第一属性的属性信息,相应的,第一设备周期/非周期性的将自己的第一属性的属性信息发送给中心节点设备。In an exemplary solution of the embodiment of this application, after the management device configures the target rule on the central node device, or after the management device configures the target rule on the central node device and activates it, the central node device can send a request to the first The device subscribes to the attribute information of the first attribute, and accordingly, the first device periodically/aperiodically sends its attribute information of the first attribute to the central node device.
步骤704,中心节点设备查询第一集群中以第一设备的第一属性为输入的目标规则。Step 704: The central node device queries the first cluster for a target rule using the first attribute of the first device as input.
由于目标规则中包含第一设备的第一属性、触发条件、以及目标场景的场景信息。因此,在本申请实施例中,中心节点设备接收到第一设备发送的第一属性的属性信息后,可以查询第一集群中以第一设备的第一属性为输入的上述目标规则,得到目标场景及其触发条件。Because the target rule includes the first attribute of the first device, the trigger condition, and the scene information of the target scene. Therefore, in this embodiment of the present application, after the central node device receives the attribute information of the first attribute sent by the first device, it can query the above-mentioned target rule in the first cluster with the first attribute of the first device as input, and obtain the target Scenarios and their triggering conditions.
步骤705,在第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向与目标场景对应的第二设备发送控制指令;第二设备接收该控制指令。Step 705: If the attribute information of the first attribute of the first device satisfies the trigger condition of the target scene, send a control instruction to the second device corresponding to the target scene; the second device receives the control instruction.
在本申请实施例中,中心节点设备在判断出第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,可以根据目标场景的场景信息,向目标场景对应的第二设备发送控制指令,以触发该目标场景。In this embodiment of the present application, when the central node device determines that the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, the central node device may send a message to the second device corresponding to the target scene according to the scene information of the target scene. Control instructions to trigger the target scene.
在一种可能的实现方式中,在第一设备的第一属性的属性信息满足目标场景的触发条件,且目标规则为启用状态的情况下,向第二设备发送控制指令。In a possible implementation, when the attribute information of the first attribute of the first device meets the triggering condition of the target scenario and the target rule is in an enabled state, the control instruction is sent to the second device.
在本申请实施例中,在目标规则具有启用状态/非启用状态,且中心节点设备判断出第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,中心节点设备还可以检查目标规则是否处于启用状态,在目标规则处于启用状态的情况下,向第二设备发送控制指令。In the embodiment of the present application, when the target rule has an enabled state/non-enabled state, and the central node device determines that the attribute information of the first attribute of the first device satisfies the triggering condition of the target scenario, the central node device may also check Whether the target rule is enabled, and if the target rule is enabled, send the control instruction to the second device.
或者,在另一种可能的是实现方式中,在目标规则处于启用状态的情况下,中心节点设备向第一设备订阅第一属性的属性信息;反之,在目标规则处于非启用状态的情况下,中心节点设备可以停止向第一设备订阅第一属性的属性信息。Or, in another possible implementation, when the target rule is in the enabled state, the central node device subscribes to the first device for attribute information of the first attribute; conversely, when the target rule is in the non-enabled state , the central node device may stop subscribing to the first device for the attribute information of the first attribute.
步骤706,第二设备根据控制指令调整第二设备的第二属性的属性信息,以实现目标场景。Step 706: The second device adjusts the attribute information of the second attribute of the second device according to the control instruction to achieve the target scenario.
在一种可能的实现方式中,目标场景的场景信息包括目标场景的场景标识信息以及目标场景的场景组标识中的至少一种。相应的,在第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,中心节点设备可以向第二设备发送场景集群调用指令;场景集群调用指令用于指示第二设备通过调用第二设备中的场景集群中配置的目标场景,来调整第二设备的第二属性的属性信息。In a possible implementation manner, the scene information of the target scene includes at least one of scene identification information of the target scene and a scene group identification of the target scene. Correspondingly, when the attribute information of the first attribute of the first device meets the triggering condition of the target scene, the central node device can send a scene cluster calling instruction to the second device; the scene cluster calling instruction is used to instruct the second device to call The target scene configured in the scene cluster in the second device is used to adjust the attribute information of the second attribute of the second device.
在本申请实施例的一种可能的方案中,中心节点设备可以结合第一集群和场景集群,来实现场景的自动触发功能。也就是说,中心节点设备通过第一集群确定目标场景被触发之后,可以通过调用场景集群的方法,触发第二设备根据该场景集群中设置的目标场景来调整第二属性的属性信息。In a possible solution of the embodiment of this application, the central node device can combine the first cluster and the scene cluster to implement the automatic triggering function of the scene. That is to say, after the central node device determines that the target scene is triggered through the first cluster, it can trigger the second device to adjust the attribute information of the second attribute according to the target scene set in the scene cluster by calling the method of the scene cluster.
比如,在本申请实施例的一种可能的实现方式中,物联网中可以在场景集群(Scene Cluster)的基础上,增加一个RuleManager Cluster(即上述第一集群),用于进行规则的管理。RuleManager Cluster代表的是规则管理的功能,这个Cluster在client端(比如设置在管理设备的APP中)的功能包括设置规则,server端(比如设置在中心节点设备中)的功能包括执行规则。也就是说,RuleManager Cluster的功能由RuleManager client的功能和RuleManager server的功能组成。For example, in a possible implementation of the embodiment of this application, a RuleManager Cluster (ie, the above-mentioned first cluster) can be added to the Internet of Things on the basis of the scene cluster for rule management. RuleManager Cluster represents the function of rule management. The functions of this Cluster on the client side (such as being set in the APP of the management device) include setting rules, and the function of the server side (such as being set in the central node device) includes executing rules. In other words, the functions of RuleManager Cluster are composed of the functions of RuleManager client and the functions of RuleManager server.
在本申请实施例中,上述RuleManager提供属性与方法去设置规则,启动规则,实现规则运作。其中,方法部分可以参考上述表2。In the embodiment of this application, the above-mentioned RuleManager provides attributes and methods to set rules, start rules, and implement rule operations. For the method part, please refer to Table 2 above.
在RuleManager的Server端,可以维护一个规则表(Rule Table),Rule Table记录着所有已设置的规则,RuleManager的Client端进行规则的设置与启动,RuleManager的Server端实现规则场景的管理。On the server side of RuleManager, a rule table (Rule Table) can be maintained. The Rule Table records all the set rules. The client side of RuleManager sets and starts the rules, and the server side of RuleManager implements the management of rule scenarios.
其中,上述RuleManager Cluster的分类可以如下述表3所示。Among them, the classification of the above-mentioned RuleManager Cluster can be shown in Table 3 below.
表3table 3
Hierarchy(层级)Hierarchy RoleRole PICS CodePICS Code Primary TransactionPrimary Transaction
BaseBase ApplicationApplication RR Type 1(client to server)Type 1(client to server)
上述表3中的层级一列表示这个Cluster是基本的Cluster,角色(Role)一列表示这个cluster是一个应用cluster。PICS code表示这个cluster的缩写表示为R。主要传输方向(Primary Transaction)一列表示这个cluster的主要控制方向是从Client到Server。The hierarchy column in Table 3 above indicates that the cluster is a basic cluster, and the role column indicates that the cluster is an application cluster. PICS code indicates that the abbreviation of this cluster is R. The Primary Transaction column indicates that the main control direction of this cluster is from Client to Server.
上述RuleManager Cluster的集群定义可以如下述表4所示。The cluster definition of the above RuleManager Cluster can be shown in Table 4 below.
表4Table 4
IdentifierIdentifier NameName
0x10050x1005 RuleManagerRuleManager
其中,上述RuleManager集群的实现需要依赖Scene集群;也就是说,实现RuleManager集群的端点也需要实现Scene集群。Among them, the implementation of the above-mentioned RuleManager cluster needs to rely on the Scene cluster; that is to say, the endpoint that implements the RuleManager cluster also needs to implement the Scene cluster.
上述RuleManager Cluster的Server端维护一个Rule Table,规则表存储着Client设置的每一条规则,由Server去执行。上述RuleManager Cluster的集群的规则表中每条规则包含的信息可以如下述表5所示。The server side of the above-mentioned RuleManager Cluster maintains a Rule Table. The rule table stores each rule set by the Client and is executed by the Server. The information contained in each rule in the rule table of the above-mentioned RuleManager Cluster cluster can be shown in Table 5 below.
表5table 5
Figure PCTCN2022088003-appb-000005
Figure PCTCN2022088003-appb-000005
Figure PCTCN2022088003-appb-000006
Figure PCTCN2022088003-appb-000006
其中,上述表5中的IsEnable信息表示对应的规则是否处于启用状态;上述表5中的RuleInputNodeId以及RuleInputEndpointId对应上述第一设备的标识信息;上述表5中的RuleInputClusterId对应上述第一属性的标识信息;上述表5中的RuleValue以及RuleRelation对应上述触发条件;上述表5中的SceneNodeId以及SceneEndpointId对应上述第二设备的标识信息;上述表5中的SceneId对应上述目标场景的场景信息。Among them, the IsEnable information in the above Table 5 indicates whether the corresponding rule is in an enabled state; the RuleInputNodeId and RuleInputEndpointId in the above Table 5 correspond to the identification information of the above first device; the RuleInputClusterId in the above Table 5 corresponds to the identification information of the above first attribute; RuleValue and RuleRelation in the above Table 5 correspond to the above trigger conditions; SceneNodeId and SceneEndpointId in the above Table 5 correspond to the identification information of the above second device; SceneId in the above Table 5 corresponds to the scene information of the above target scene.
此外,上述表5中的RuleValue的类型除了string之外,也可以是数值、布尔等可以进行阈值比较的类型。In addition, in addition to string, the type of RuleValue in Table 5 above can also be a type such as numerical value, Boolean, etc. that can perform threshold comparison.
上述RuleManager Cluster的集群的属性可以如下述表6所示。The attributes of the above-mentioned RuleManager Cluster cluster can be shown in Table 6 below.
表6Table 6
IDID NameName TypeType ConstraintConstraint DefaultDefault AccessAccess ConformanceConformance
0x00000x0000 RuleCountRuleCount Uint8Uint8 allall 00 RVRV MM
0x00010x0001 NameSupportNameSupport Map8Map8 descdesc 00 RVRV MM
上述表6中的RuleCount用于表明Rule Table中有多少条Rule。RuleCount in Table 6 above is used to indicate how many Rules there are in the Rule Table.
上述表6中的NameSupport用于表明此RuleManager Cluster是否支持设置RuleName。NameSupport in Table 6 above is used to indicate whether this RuleManager Cluster supports setting RuleName.
以表5包含的规则信息为例,请参考图8,其示出了本申请实施例涉及的一种设备控制框架示意图,如图8所示,该设备控制的过程可以如下:Taking the rule information contained in Table 5 as an example, please refer to Figure 8, which shows a schematic diagram of a device control framework involved in the embodiment of the present application. As shown in Figure 8, the device control process can be as follows:
RuleManager Cluster的Server端可以放置在一个类似于家庭中枢的设备上(即上述中心节点设备),也可以将Sever端放置于手机APP中。此设备拥有其他设备的信息并且可以对它们进行订阅与控制。其他设备包括上报设备以及受控设备,上报设备主要负责发送自身属性的改变,受控设备则可以被控制,两者可以使用一个实体设备,也可以是多个实体设备。RuleManager Cluster的Client端可以位于用户APP上。当用户想要使用规则场景功能的时候,RuleManager Cluster的Client先向RuleManager的Server请求现有的设备信息,根据收到的信息,Client来设置添加规则并发送到Server上,Server收到信息后,将规则添加到Rule Table中。某一条规则被Client使能后,Server就会对相应的规则输入的设备属性进行订阅,当有通知信息发回到Server之后,Server将会与Rule Table进行对比,查看是否触发某一条规则,若触发,则根据规则调用相应设备上的对应场景。Scene Cluster的功能可以使得家庭中枢设备去触发一个或多个设备上所设置的场景,由Scene Table中的SceneGroupID控制。实现设备间在没有用户操作的情况下的联动。The Server side of RuleManager Cluster can be placed on a device similar to the home hub (that is, the above-mentioned central node device), or the Server side can be placed in a mobile APP. This device has information about other devices and can subscribe to and control them. Other devices include reporting devices and controlled devices. The reporting device is mainly responsible for sending changes to its own attributes, while the controlled devices can be controlled. Both can use one physical device or multiple physical devices. The client of RuleManager Cluster can be located on the user APP. When the user wants to use the rule scenario function, the Client of the RuleManager Cluster first requests the existing device information from the RuleManager Server. Based on the received information, the Client sets and adds rules and sends them to the Server. After the Server receives the information, Add rules to the Rule Table. After a rule is enabled by the Client, the Server will subscribe to the device attributes input by the corresponding rule. When notification information is sent back to the Server, the Server will compare it with the Rule Table to see whether a certain rule is triggered. If If triggered, the corresponding scene on the corresponding device is called according to the rules. The Scene Cluster function allows home hub devices to trigger scenes set on one or more devices, controlled by the SceneGroupID in the Scene Table. Achieve linkage between devices without user operation.
例如,假设用户想要在温度大于30度的时候,自动打开空调和风扇。则可以先使用Scene Cluster的功能设置将打开空调和打开风扇设置为一个场景。然后再使用RuleManager Cluster的功能。设置好这一规则。启动这一规则之后。RuleManager Server会对温度传感器进行订阅。当温度传感器的上报度数大于30时,RuleManager Server会判定触发这一规则,则会调用Scene Client向对应的Scene Server发送指令,调用打开空调和打开风扇的场景。实现设备间的自动化联动。For example, suppose the user wants to automatically turn on the air conditioner and fan when the temperature is greater than 30 degrees. You can first use the function settings of Scene Cluster to set turning on the air conditioner and turning on the fan as a scene. Then use the RuleManager Cluster function. Set this rule. After activating this rule. RuleManager Server will subscribe to the temperature sensor. When the temperature sensor's reported degree is greater than 30, the RuleManager Server will determine that this rule is triggered, and will call the Scene Client to send instructions to the corresponding Scene Server to call the scene of turning on the air conditioner and turning on the fan. Realize automated linkage between devices.
以应用于Matter协议为例,通过上述图8所示的方案,在增加RuleManager这一Cluster后,Matter拥有了规则设置,设备间自主联动工作的机制。弥补了由Scene Cluster提供的场景功能只能实现场景控制,不能设置规则自动触发的缺陷。通过增加RuleManager这一Cluster这个方法,让设备间能够自主联动工作,更加的智能。Taking the application to the Matter protocol as an example, through the solution shown in Figure 8 above, after adding the RuleManager Cluster, Matter has a mechanism for setting rules and autonomous linkage between devices. It makes up for the defect that the scene function provided by Scene Cluster can only realize scene control and cannot set rules to trigger automatically. By adding the Cluster method of RuleManager, devices can work autonomously and collaboratively, making them more intelligent.
在另一种可能的实现方式中,目标场景的场景信息包括第二设备的节点标识信息、第二设备中与第二属性对应的端点标识信息、第二属性的属性标识信息以及目标属性值;在第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,中心节点设备可以根据第二设备的节点标识信息、第二设备中与第二属性对应的端点标识信息,向第二设备发送属性调整指令;属性调整指令用于指示第二设备根据第二属性的属性标识信息以及目标属性值,调整第二设备的第二属性的属性信息。In another possible implementation, the scene information of the target scene includes node identification information of the second device, endpoint identification information of the second device corresponding to the second attribute, attribute identification information of the second attribute, and the target attribute value; When the attribute information of the first attribute of the first device satisfies the triggering condition of the target scenario, the central node device may send a request to the third device based on the node identification information of the second device and the endpoint identification information of the second device corresponding to the second attribute. The second device sends an attribute adjustment instruction; the attribute adjustment instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device according to the attribute identification information of the second attribute and the target attribute value.
在本申请实施例的另一种可能的实现方案中,RuleManager Cluster也可以自主实现Scene Cluster的功能。使得RuleManager的功能不依赖于Scene Cluster。此时,RuleManager的Rule Table中的每条规则可以包含如下述表7所示的信息。In another possible implementation solution of the embodiment of this application, RuleManager Cluster can also independently implement the functions of Scene Cluster. Make the function of RuleManager not dependent on Scene Cluster. At this time, each rule in the Rule Table of RuleManager can contain information as shown in Table 7 below.
表7Table 7
Figure PCTCN2022088003-appb-000007
Figure PCTCN2022088003-appb-000007
以表7包含的规则信息为例,请参考图9,其示出了本申请实施例涉及的一种设备控制框架示意图, 如图9所示,该设备控制的过程可以如下:Taking the rule information contained in Table 7 as an example, please refer to Figure 9, which shows a schematic diagram of a device control framework involved in the embodiment of the present application. As shown in Figure 9, the device control process can be as follows:
RuleManager Cluster的Server端可以放置在一个类似于家庭中枢的设备上,也可以将Sever端放置于手机APP客户端中。此设备拥有其他设备的信息并且可以对它们进行订阅与控制。其他设备包括上报设备或者受控设备,上报设备主要负责发送自身属性的改变,受控设备则可以被客户端控制,两者可以是用一个实体设备,也可以是多个实体设备。Client端可以位于用户客户端APP上。当用户想要使用规则场景功能的时候,RuleManager的Client先向RuleManager的Server请求现有的设备信息,根据收到的信息,Client来设置添加规则并发送到Server上,Server收到信息后,将规则添加到Rule Table中。某一条规则被Client使能后,Server就会对相应的规则输入的设备属性进行订阅,当有通知信息发回到Server之后,Server将会与Rule Table进行对比,查看是否触发某一条规则,若触发,则根据RuleTable里的SceneMessages信息,去控制改变对应的一个设备或者一组设备的属性值。实现设备间的自动联动。The Server side of RuleManager Cluster can be placed on a device similar to a home hub, or the Server side can be placed in a mobile APP client. This device has information about other devices and can subscribe to and control them. Other devices include reporting devices or controlled devices. The reporting device is mainly responsible for sending changes to its own attributes, while the controlled device can be controlled by the client. Both can use one physical device or multiple physical devices. The client can be located on the user client APP. When the user wants to use the rule scenario function, the Client of the RuleManager first requests the existing device information from the Server of the RuleManager. Based on the received information, the Client sets and adds rules and sends them to the Server. After the Server receives the information, it will Rules are added to the Rule Table. After a rule is enabled by the Client, the Server will subscribe to the device attributes input by the corresponding rule. When notification information is sent back to the Server, the Server will compare it with the Rule Table to see whether a certain rule is triggered. If Triggered, control and change the attribute values of the corresponding device or a group of devices based on the SceneMessages information in the RuleTable. Realize automatic linkage between devices.
综上所述,本申请实施例所示的方案,在物联网中设置中心节点设备,该中心节点设备中可以设置第一集群,管理设备可以在第一集群中设置目标规则,该目标规则以第一设备的第一属性为输入,且包含第一属性、触发条件以及目标场景的场景信息三者之间的关联关系;通过该第一集群中的目标规则,中心节点设备在获取到第一设备的第一属性的属性信息后,若该第一设备的第一属性的属性信息满足目标场景的触发条件,则可以通过控制与目标场景对应的第二设备调整第二属性的属性信息,来实现上述目标场景,在上述目标场景的触发过程中不需要用户介入,从而扩展了物联网中的场景的触发方式,提高了场景的应用效果。To sum up, according to the solution shown in the embodiment of this application, a central node device is set up in the Internet of Things, a first cluster can be set up in the central node device, and the management device can set a target rule in the first cluster, and the target rule is based on The first attribute of the first device is input and includes the association between the first attribute, the trigger condition and the scene information of the target scene; through the target rule in the first cluster, the central node device obtains the first After the attribute information of the first attribute of the device is obtained, if the attribute information of the first attribute of the first device meets the trigger condition of the target scene, the attribute information of the second attribute can be adjusted by controlling the second device corresponding to the target scene. To achieve the above target scenario, no user intervention is required during the triggering process of the above target scenario, thereby expanding the triggering method of scenarios in the Internet of Things and improving the application effect of the scenario.
请参考图10,其示出了本申请一个实施例提供的设备控制装置的框图。该装置具有实现上述图2或图7所示的方法中,由中心节点设备执行的功能。如图10所示,该设备控制装置1000可以包括:Please refer to FIG. 10 , which shows a block diagram of a device control device provided by an embodiment of the present application. The device has the function of being executed by the central node device in implementing the method shown in FIG. 2 or FIG. 7 . As shown in Figure 10, the equipment control device 1000 may include:
接收模块1001,用于接收第一设备发送的第一属性的属性信息;The receiving module 1001 is configured to receive attribute information of the first attribute sent by the first device;
发送模块1002,用于在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。The sending module 1002 is configured to send a control instruction to the second device corresponding to the target scene when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene; the control instruction is used to Instruct the second device to adjust the attribute information of the second attribute of the second device to achieve the target scenario.
在一种可能的实现方式中,所述装置还包括:In a possible implementation, the device further includes:
查询模块,用于在所述发送模块向与所述目标场景对应的第二设备发送控制指令之前,查询第一集群中以所述第一设备的第一属性为输入的目标规则;所述目标规则用于指示所述第一设备的第一属性、所述触发条件以及所述目标场景的场景信息之间的关联关系。A query module configured to query the target rule in the first cluster with the first attribute of the first device as input before the sending module sends a control instruction to the second device corresponding to the target scenario; the target The rule is used to indicate an association relationship between the first attribute of the first device, the trigger condition, and the scene information of the target scene.
在一种可能的实现方式中,所述目标规则包括以下信息:In a possible implementation, the target rule includes the following information:
所述第一设备的标识信息、所述第一属性的标识信息、所述触发条件以及所述目标场景的场景信息。The identification information of the first device, the identification information of the first attribute, the trigger condition, and the scene information of the target scene.
在一种可能的实现方式中,所述第一设备的标识信息包括:所述第一设备的节点标识信息,以及所述第一设备中与所述第一属性对应的端点标识信息。In a possible implementation manner, the identification information of the first device includes: node identification information of the first device, and endpoint identification information of the first device corresponding to the first attribute.
在一种可能的实现方式中,所述第一属性的标识信息包括:所述第一属性的集群标识信息;所述集群标识信息用于指示所述第一属性所属的集群。In a possible implementation, the identification information of the first attribute includes: cluster identification information of the first attribute; and the cluster identification information is used to indicate the cluster to which the first attribute belongs.
在一种可能的实现方式中,所述触发条件包括:In a possible implementation, the triggering conditions include:
与所述第一属性对应的目标属性值;以及,所述触发条件成立时,所述目标属性值与所述第一属性的属性信息之间的关系。The target attribute value corresponding to the first attribute; and, when the trigger condition is established, the relationship between the target attribute value and the attribute information of the first attribute.
在一种可能的实现方式中,所述第二设备的标识信息包括:In a possible implementation, the identification information of the second device includes:
在一种可能的实现方式中,所述目标场景的场景信息包括所述目标场景的场景标识信息以及所述目标场景的场景组标识中的至少一种。In a possible implementation manner, the scene information of the target scene includes at least one of scene identification information of the target scene and a scene group identification of the target scene.
在一种可能的实现方式中,所述发送模块,用于在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向所述第二设备发送场景集群调用指令;所述场景集群调用指令用于指示所述第二设备通过调用所述第二设备中的场景集群中配置的所述目标场景,来调整所述第二设备的第二属性的属性信息。In a possible implementation, the sending module is configured to send a scene cluster calling instruction to the second device when the attribute information of the first attribute of the first device meets the triggering condition of the target scene. ; The scene cluster calling instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device by calling the target scene configured in the scene cluster in the second device.
在一种可能的实现方式中,所述目标场景的场景信息包括所述第二设备的节点标识信息、所述第二设备中与所述第二属性对应的端点标识信息、所述第二属性的属性标识信息以及目标属性值;In a possible implementation, the scene information of the target scene includes node identification information of the second device, endpoint identification information of the second device corresponding to the second attribute, the second attribute attribute identification information and target attribute value;
所述发送模块1002,用于在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,根据第二设备的节点标识信息、所述第二设备中与所述第二属性对应的端点标识信息,向所述第二设备发送属性调整指令;所述属性调整指令用于指示所述第二设备根据所述第二属性的属性标识信息以及所述目标属性值,调整所述第二设备的第二属性的属性信息。The sending module 1002 is configured to: when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, the sending module 1002 is configured to: according to the node identification information of the second device, the second device and the third Send an attribute adjustment instruction to the second device based on the endpoint identification information corresponding to the two attributes; the attribute adjustment instruction is used to instruct the second device to adjust the attribute according to the attribute identification information of the second attribute and the target attribute value. Attribute information of the second attribute of the second device.
在一种可能的实现方式中,所述接收模块,还用于在接收第一设备发送的第一属性的属性信息之 前,接收管理设备发送的添加规则指令;所述添加规则指令中包含所述目标规则的规则信息;In a possible implementation, the receiving module is further configured to receive an add rule instruction sent by the management device before receiving the attribute information of the first attribute sent by the first device; the add rule instruction includes the Rule information of the target rule;
所述装置还包括:The device also includes:
添加模块,用于根据所述目标规则的规则信息,在所述第一集群中添加所述目标规则。An adding module, configured to add the target rule in the first cluster according to the rule information of the target rule.
在一种可能的实现方式中,所述接收模块,还用于在所述发送模块向与所述目标场景对应的第二设备发送控制指令之前,接收所述管理设备发送的,所述目标规则的规则启用指令;In a possible implementation, the receiving module is further configured to receive the target rule sent by the management device before the sending module sends a control instruction to the second device corresponding to the target scenario. Rule enablement instructions;
所述装置还包括:The device also includes:
状态设置模块,用于根据所述目标规则的规则启用指令,将所述目标规则设置为启用状态;A status setting module, configured to set the target rule to an enabled status according to the rule enabling instruction of the target rule;
所述发送模块,用于在所述第一设备的第一属性的属性信息满足目标场景的触发条件,且所述目标规则为启用状态的情况下,向所述第二设备发送所述控制指令。The sending module is configured to send the control instruction to the second device when the attribute information of the first attribute of the first device meets the triggering condition of the target scenario and the target rule is in an enabled state. .
在一种可能的实现方式中,所述接收模块,还用于接收所述管理设备发送的,所述目标规则的规则停用指令;In a possible implementation, the receiving module is also configured to receive a rule deactivation instruction of the target rule sent by the management device;
所述状态设置模块,还用于根据所述目标规则的规则停用指令,将所述目标规则设置为非启用状态。The status setting module is also configured to set the target rule to a non-enabled state according to the rule deactivation instruction of the target rule.
在一种可能的实现方式中,所述接收模块,还用于接收管理设备发送的信息获取指令;In a possible implementation, the receiving module is also used to receive information acquisition instructions sent by the management device;
所述发送模块,还用于根据所述信息获取指令,向所述管理设备发送所述中心节点设备连接的各个物联网设备的设备信息;各个所述物联网设备中包含所述第一设备和所述第二设备。The sending module is also configured to send the device information of each Internet of Things device connected to the central node device to the management device according to the information acquisition instruction; each of the Internet of Things devices includes the first device and the second device.
在一种可能的实现方式中,所述接收模块,还用于接收管理设备发送的规则查看指令;In a possible implementation, the receiving module is also configured to receive a rule viewing instruction sent by the management device;
所述发送模块,还用于根据所述规则查看指令,向所述管理设备发送所述第一集群中的各条规则的规则信息。The sending module is also configured to send rule information of each rule in the first cluster to the management device according to the rule viewing instruction.
在一种可能的实现方式中,所述接收模块,还用于接收管理设备发送的,第一规则的规则移除指令;所述第一规则是所述第一集群中的部分或者全部规则;In a possible implementation, the receiving module is also configured to receive a rule removal instruction of the first rule sent by the management device; the first rule is part or all of the rules in the first cluster;
所述装置还包括:移除模块,用于根据所述第一规则的规则移除指令,从所述第一集群移除所述第一规则。The apparatus further includes: a removal module configured to remove the first rule from the first cluster according to a rule removal instruction of the first rule.
请参考图11,其示出了本申请一个实施例提供的设备控制装置的框图。该装置具有实现上述图6或图7所示的方法中,由管理设备执行的功能。如图11所示,该设备控制装置1100可以包括:Please refer to FIG. 11 , which shows a block diagram of a device control device provided by an embodiment of the present application. The device has the function of implementing the method performed by the management device in the above-mentioned method shown in FIG. 6 or FIG. 7 . As shown in Figure 11, the equipment control device 1100 may include:
发送模块1101,用于向中心节点设备发送添加规则指令;所述添加规则指令中包含目标规则的规则信息;所述目标规则以所述第一设备的第一属性为输入,且所述目标规则用于指示所述第一设备的第一属性、触发条件以及目标场景的场景信息之间的关联关系;Sending module 1101, configured to send an add rule instruction to the central node device; the add rule instruction includes rule information of a target rule; the target rule takes the first attribute of the first device as input, and the target rule Used to indicate the association between the first attribute of the first device, the trigger condition and the scene information of the target scene;
其中,所述添加规则指令用于指示所述中心节点设备在第一集群中添加所述目标规则,以使得所述中心节点设备在获取到所述第一设备的第一属性的属性信息,且所述第一设备的第一属性的属性信息满足所述触发条件时,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。Wherein, the add rule instruction is used to instruct the central node device to add the target rule in the first cluster, so that the central node device obtains the attribute information of the first attribute of the first device, and When the attribute information of the first attribute of the first device satisfies the trigger condition, a control instruction is sent to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the first attribute information of the second attribute of the two devices to achieve the target scenario.
在一种可能的实现方式中,所述发送模块,还用于向所述中心节点设备发送所述目标规则的规则启用指令;所述规则启用指令用于指示所述中心节点设备将所述目标规则设置为启用状态。In a possible implementation, the sending module is further configured to send a rule enabling instruction of the target rule to the central node device; the rule enabling instruction is used to instruct the central node device to send the target rule to the central node device. The rule is set to enabled.
在一种可能的实现方式中,所述发送模块,还用于向所述中心节点设备发送所述目标规则的规则停用指令;所述规则停用指令用于指示所述中心节点设备将所述目标规则设置为非启用状态。In a possible implementation, the sending module is further configured to send a rule deactivation instruction of the target rule to the central node device; the rule deactivation instruction is used to instruct the central node device to The above target rule is set to inactive state.
在一种可能的实现方式中,所述发送模块,还用于向所述中心节点设备发送信息获取指令;In a possible implementation, the sending module is also configured to send an information acquisition instruction to the central node device;
所述装置还包括:第一接收模块,用于接收所述中心节点设备发送的,所述中心节点设备连接的各个物联网设备的设备信息;各个所述物联网设备中包含所述第一设备和所述第二设备。The device further includes: a first receiving module, configured to receive the device information of each Internet of Things device connected to the central node device sent by the central node device; each of the Internet of Things devices includes the first device and said second device.
在一种可能的实现方式中,所述发送模块,还用于向所述中心节点设备发送规则查看指令;In a possible implementation, the sending module is also configured to send a rule viewing instruction to the central node device;
所述装置还包括:第二接收模块,用于接收所述中心节点设备发送的,所述第一集群中的各条规则的规则信息。The device further includes: a second receiving module, configured to receive the rule information of each rule in the first cluster sent by the central node device.
在一种可能的实现方式中,所述发送模块,还用于向所述中心节点设备发送第一规则的规则移除指令;所述第一规则是所述第一集群中的部分或者全部规则;所述第一规则的规则移除指令用于指示所述中心节点设备从所述第一集群移除所述第一规则。In a possible implementation, the sending module is also configured to send a rule removal instruction of a first rule to the central node device; the first rule is part or all of the rules in the first cluster. ; The rule removal instruction of the first rule is used to instruct the central node device to remove the first rule from the first cluster.
请参考图12,其示出了本申请一个实施例提供的设备控制装置的框图。该装置具有实现上述图3或图7所示的方法中,由第一设备执行的功能。如图12所示,该设备控制装置1200可以包括:Please refer to FIG. 12 , which shows a block diagram of a device control device provided by an embodiment of the present application. The device has the function of realizing the function performed by the first device in the method shown in FIG. 3 or FIG. 7 . As shown in Figure 12, the equipment control device 1200 may include:
发送模块1201,用于向中心节点设备发送所述第一设备的第一属性的属性信息,以使得所述中心节点设备在所述第一设备的第一属性的属性信息满足目标场景的触发条件时,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息, 以实现所述目标场景。The sending module 1201 is configured to send the attribute information of the first attribute of the first device to the central node device, so that the attribute information of the first attribute of the first device of the central node device satisfies the triggering condition of the target scene. when, sending a control instruction to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to realize the target scene.
请参考图13,其示出了本申请一个实施例提供的设备控制装置的框图。该装置具有实现上述图4或图7所示的方法中,由第二设备执行的功能。如图13所示,该设备控制装置1300可以包括:Please refer to Figure 13, which shows a block diagram of a device control device provided by an embodiment of the present application. The device has the function of realizing the function performed by the second device in the method shown in FIG. 4 or FIG. 7 . As shown in Figure 13, the equipment control device 1300 may include:
接收模块1301,用于接收中心节点设备发送的控制指令;所述控制指令是所述中心节点设备接收第一设备发送的第一属性的属性信息,并在所述第一设备的第一属性的属性信息满足目标场景的触发条件时发送的指令;所述目标场景是与所述第二设备对应的场景;The receiving module 1301 is configured to receive a control instruction sent by the central node device; the control instruction is that the central node device receives the attribute information of the first attribute sent by the first device, and adds the attribute information to the first attribute of the first device. An instruction sent when the attribute information satisfies the trigger condition of the target scene; the target scene is the scene corresponding to the second device;
调整模块1302,用于根据所述控制指令调整所述第二设备的第二属性的属性信息,以实现目标场景。The adjustment module 1302 is configured to adjust the attribute information of the second attribute of the second device according to the control instruction to achieve the target scenario.
需要说明的一点是,上述实施例提供的装置在实现其功能时,仅以上述各个功能模块的划分进行举例说明,实际应用中,可以根据实际需要而将上述功能分配由不同的功能模块完成,即将设备的内容结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。It should be noted that when the device provided in the above embodiment implements its functions, only the division of the above functional modules is used as an example. In practical applications, the above functions can be allocated to different functional modules according to actual needs. That is, the content structure of the device is divided into different functional modules to complete all or part of the functions described above.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the devices in the above embodiments, the specific manner in which each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
请参考图14,其示出了本申请一个实施例提供的计算机设备1400的结构示意图。该计算机设备1400可以包括:处理器1401、接收器1402、发射器1403、存储器1404和总线1405。Please refer to Figure 14, which shows a schematic structural diagram of a computer device 1400 provided by an embodiment of the present application. The computer device 1400 may include a processor 1401, a receiver 1402, a transmitter 1403, a memory 1404, and a bus 1405.
处理器1401包括一个或者一个以上处理核心,处理器1401通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The processor 1401 includes one or more processing cores. The processor 1401 executes various functional applications and information processing by running software programs and modules.
接收器1402和发射器1403可以实现为一个通信组件,该通信组件可以是一块通信芯片。该通信芯片也可以称为收发器。The receiver 1402 and the transmitter 1403 can be implemented as a communication component, and the communication component can be a communication chip. This communication chip can also be called a transceiver.
存储器1404通过总线1405与处理器1401相连。 Memory 1404 is connected to processor 1401 through bus 1405.
存储器1404可用于存储计算机程序,处理器1401用于执行该计算机程序,以实现上述方法实施例中,由中心节点设备、管理设备、第一设备或者第二设备执行的各个步骤。The memory 1404 can be used to store a computer program, and the processor 1401 is used to execute the computer program to implement various steps performed by the central node device, the management device, the first device or the second device in the above method embodiment.
此外,存储器1404可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,电可擦除可编程只读存储器,可擦除可编程只读存储器,静态随时存取存储器,只读存储器,磁存储器,快闪存储器,可编程只读存储器。Additionally, memory 1404 may be implemented by any type of volatile or non-volatile storage device, or combination thereof, including but not limited to: magnetic or optical disks, electrically erasable programmable Read-only memory, erasable programmable read-only memory, static ready-access memory, read-only memory, magnetic memory, flash memory, programmable read-only memory.
本申请实施例还提供了一种计算机可读存储介质,所述存储介质中存储有计算机程序,所述计算机程序由处理器加载并执行以实现上述图2、图3、图4、图6或者图7所示的方法中,由中心节点设备、管理设备、第一设备或者第二设备执行的全部或者部分步骤。Embodiments of the present application also provide a computer-readable storage medium. A computer program is stored in the storage medium. The computer program is loaded and executed by a processor to implement the above-mentioned Figure 2, Figure 3, Figure 4, Figure 6 or In the method shown in Figure 7, all or part of the steps are performed by the central node device, the management device, the first device or the second device.
本申请还提供了一种芯片,该芯片用于在计算机设备中运行,以使得计算机设备执行上述图2、图3、图4、图6或者图7所示的方法中,由中心节点设备、管理设备、第一设备或者第二设备执行的全部或者部分步骤。This application also provides a chip, which is used to run in a computer device, so that the computer device executes the method shown in Figure 2, Figure 3, Figure 4, Figure 6 or Figure 7, by the central node device, All or part of the steps performed by the management device, the first device or the second device.
本申请还提供了一种计算机程序产品,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得计算机设备执行上述图2、图3、图4、图6或者图7所示的方法中,由中心节点设备、管理设备、第一设备或者第二设备执行的全部或者部分步骤。The application also provides a computer program product, which computer program product or computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method shown in Figure 2, Figure 3, Figure 4, Figure 6 or Figure 7, by All or part of the steps performed by the central node device, the management device, the first device or the second device.
本申请还提供了一种计算机程序,该计算机程序由计算机设备的处理器执行,以实现上述图2、图3、图4、图6或者图7所示的方法中,由中心节点设备、管理设备、第一设备或者第二设备执行的全部或者部分步骤。This application also provides a computer program, which is executed by the processor of the computer device to implement the method shown in Figure 2, Figure 3, Figure 4, Figure 6 or Figure 7, by the central node device, management All or part of the steps performed by the device, the first device or the second device.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本申请实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should realize that in one or more of the above examples, the functions described in the embodiments of the present application can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. Storage media can be any available media that can be accessed by a general purpose or special purpose computer.
以上所述仅为本申请的示例性实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The above are only exemplary embodiments of the present application and are not intended to limit the present application. Any modifications, equivalent substitutions, 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 (51)

  1. 一种设备控制方法,其特征在于,所述方法由物联网中的中心节点设备执行,所述方法包括:A device control method, characterized in that the method is executed by a central node device in the Internet of Things, and the method includes:
    接收第一设备发送的第一属性的属性信息;Receive attribute information of the first attribute sent by the first device;
    在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。When the attribute information of the first attribute of the first device meets the triggering condition of the target scene, send a control instruction to the second device corresponding to the target scene; the control instruction is used to instruct the second device Adjust the attribute information of the second attribute of the second device to achieve the target scenario.
  2. 根据权利要求1所述的方法,其特征在于,所述在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向与所述目标场景对应的第二设备发送控制指令之前,还包括:The method according to claim 1, characterized in that, when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, sending the message to the second device corresponding to the target scene. Before the control instruction, it also includes:
    查询第一集群中以所述第一设备的第一属性为输入的目标规则;所述目标规则用于指示所述第一设备的第一属性、所述触发条件以及所述目标场景的场景信息之间的关联关系。Query the target rule in the first cluster that takes the first attribute of the first device as input; the target rule is used to indicate the first attribute of the first device, the trigger condition, and the scene information of the target scene. relationship between them.
  3. 根据权利要求2所述的方法,其特征在于,所述目标规则包括以下信息:The method according to claim 2, characterized in that the target rules include the following information:
    所述第一设备的标识信息、所述第一属性的标识信息、所述触发条件、以及所述目标场景的场景信息。The identification information of the first device, the identification information of the first attribute, the trigger condition, and the scene information of the target scene.
  4. 根据权利要求3所述的方法,其特征在于,所述第一设备的标识信息包括:所述第一设备的节点标识信息,以及所述第一设备中与所述第一属性对应的端点标识信息。The method of claim 3, wherein the identification information of the first device includes: node identification information of the first device, and an endpoint identification of the first device corresponding to the first attribute. information.
  5. 根据权利要求3所述的方法,其特征在于,所述第一属性的标识信息包括:所述第一属性的集群标识信息;所述集群标识信息用于指示所述第一属性所属的集群。The method according to claim 3, wherein the identification information of the first attribute includes: cluster identification information of the first attribute; and the cluster identification information is used to indicate the cluster to which the first attribute belongs.
  6. 根据权利要求3所述的方法,其特征在于,所述触发条件包括:The method according to claim 3, characterized in that the triggering condition includes:
    与所述第一属性对应的目标属性值;以及,所述触发条件成立时,所述目标属性值与所述第一属性的属性信息之间的关系。The target attribute value corresponding to the first attribute; and, when the trigger condition is established, the relationship between the target attribute value and the attribute information of the first attribute.
  7. 根据权利要求3至6任一所述的方法,其特征在于,所述目标场景的场景信息包括所述目标场景的场景标识信息以及所述目标场景的场景组标识中的至少一种。The method according to any one of claims 3 to 6, characterized in that the scene information of the target scene includes at least one of scene identification information of the target scene and a scene group identification of the target scene.
  8. 根据权利要求7所述的方法,其特征在于,所述在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向与所述目标场景对应的第二设备发送控制指令,包括:The method according to claim 7, characterized in that, when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, sending the message to the second device corresponding to the target scene. Control instructions include:
    在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向所述第二设备发送场景集群调用指令;所述场景集群调用指令用于指示所述第二设备通过调用所述第二设备中的场景集群中配置的所述目标场景,来调整所述第二设备的第二属性的属性信息。When the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, a scene cluster calling instruction is sent to the second device; the scene cluster calling instruction is used to instruct the second device to pass The target scene configured in the scene cluster in the second device is called to adjust the attribute information of the second attribute of the second device.
  9. 根据权利要求3至6任一所述的方法,其特征在于,所述目标场景的场景信息包括所述第二设备的节点标识信息、所述第二设备中与所述第二属性对应的端点标识信息、所述第二属性的属性标识信息以及目标属性值;The method according to any one of claims 3 to 6, characterized in that the scene information of the target scene includes node identification information of the second device, an endpoint in the second device corresponding to the second attribute Identification information, attribute identification information of the second attribute and target attribute value;
    所述在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向与所述目标场景对应的第二设备发送控制指令,包括:If the attribute information of the first attribute of the first device meets the triggering condition of the target scene, sending a control instruction to the second device corresponding to the target scene includes:
    在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,根据第二设备的节点标识信息、所述第二设备中与所述第二属性对应的端点标识信息,向所述第二设备发送属性调整指令;所述属性调整指令用于指示所述第二设备根据所述第二属性的属性标识信息以及所述目标属性值,调整所述第二设备的第二属性的属性信息。When the attribute information of the first attribute of the first device satisfies the triggering condition of the target scenario, based on the node identification information of the second device and the endpoint identification information of the second device corresponding to the second attribute, Send an attribute adjustment instruction to the second device; the attribute adjustment instruction is used to instruct the second device to adjust the second attribute of the second device according to the attribute identification information of the second attribute and the target attribute value. Property information for the property.
  10. 根据权利要求2至9任一所述的方法,其特征在于,所述接收第一设备发送的第一属性的属性信息之前,还包括:The method according to any one of claims 2 to 9, characterized in that before receiving the attribute information of the first attribute sent by the first device, it further includes:
    接收管理设备发送的添加规则指令;所述添加规则指令中包含所述目标规则的规则信息;Receive an add rule instruction sent by the management device; the add rule instruction includes rule information of the target rule;
    根据所述目标规则的规则信息,在所述第一集群中添加所述目标规则。Add the target rule in the first cluster according to the rule information of the target rule.
  11. 根据权利要求2至10任一所述的方法,其特征在于,所述在所述第一设备的第一属性的属性信息 满足目标场景的触发条件的情况下,向与所述目标场景对应的第二设备发送控制指令之前,还包括:The method according to any one of claims 2 to 10, characterized in that, in the case where the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, the method corresponding to the target scene is Before the second device sends the control command, it also includes:
    接收所述管理设备发送的,所述目标规则的规则启用指令;Receive the rule activation instruction of the target rule sent by the management device;
    根据所述目标规则的规则启用指令,将所述目标规则设置为启用状态;Set the target rule to an enabled state according to the rule enabling instruction of the target rule;
    所述在所述第一设备的第一属性的属性信息满足目标场景的触发条件在情况下,向与所述目标场景对应的第二设备发送控制指令,包括:If the attribute information of the first attribute of the first device meets the triggering condition of the target scene, sending a control instruction to the second device corresponding to the target scene includes:
    在所述第一设备的第一属性的属性信息满足目标场景的触发条件,且所述目标规则为启用状态的情况下,向所述第二设备发送所述控制指令。When the attribute information of the first attribute of the first device meets the triggering condition of the target scenario and the target rule is in an enabled state, the control instruction is sent to the second device.
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, characterized in that, the method further includes:
    接收所述管理设备发送的,所述目标规则的规则停用指令;Receive the rule deactivation instruction of the target rule sent by the management device;
    根据所述目标规则的规则停用指令,将所述目标规则设置为非启用状态。Set the target rule to a non-enabled state according to the rule deactivation instruction of the target rule.
  13. 根据权利要求2至12任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 2 to 12, characterized in that the method further includes:
    接收管理设备发送的信息获取指令;Receive information acquisition instructions sent by the management device;
    根据所述信息获取指令,向所述管理设备发送所述中心节点设备连接的各个物联网设备的设备信息;According to the information acquisition instruction, send the device information of each Internet of Things device connected to the central node device to the management device;
    各个所述物联网设备中包含所述第一设备和所述第二设备。Each of the Internet of Things devices includes the first device and the second device.
  14. 根据权利要求2至13任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 2 to 13, characterized in that the method further includes:
    接收管理设备发送的规则查看指令;Receive rule viewing instructions sent by the management device;
    根据所述规则查看指令,向所述管理设备发送所述第一集群中的各条规则的规则信息。According to the rule viewing instruction, the rule information of each rule in the first cluster is sent to the management device.
  15. 根据权利要求2至14任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 2 to 14, characterized in that the method further includes:
    接收管理设备发送的,第一规则的规则移除指令;所述第一规则是所述第一集群中的部分或者全部规则;Receive the rule removal instruction of the first rule sent by the management device; the first rule is part or all of the rules in the first cluster;
    根据所述第一规则的规则移除指令,从所述第一集群移除所述第一规则。The first rule is removed from the first cluster according to a rule removal instruction of the first rule.
  16. 一种设备控制方法,其特征在于,所述方法由物联网中的管理设备执行,所述方法包括:A device control method, characterized in that the method is executed by a management device in the Internet of Things, and the method includes:
    向中心节点设备发送添加规则指令;所述添加规则指令中包含目标规则的规则信息;所述目标规则以所述第一设备的第一属性为输入,且所述目标规则用于指示所述第一设备的第一属性、触发条件以及目标场景的场景信息之间的关联关系;Send an add rule instruction to the central node device; the add rule instruction includes rule information of a target rule; the target rule takes the first attribute of the first device as input, and the target rule is used to indicate the third The association between the first attribute of a device, the trigger condition and the scene information of the target scene;
    其中,所述添加规则指令用于指示所述中心节点设备在第一集群中添加所述目标规则,以使得所述中心节点设备在获取到所述第一设备的第一属性的属性信息,且所述第一设备的第一属性的属性信息满足所述触发条件时,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。Wherein, the add rule instruction is used to instruct the central node device to add the target rule in the first cluster, so that the central node device obtains the attribute information of the first attribute of the first device, and When the attribute information of the first attribute of the first device satisfies the trigger condition, a control instruction is sent to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the first attribute information of the second attribute of the two devices to achieve the target scenario.
  17. 根据权利要求16所述的方法,其特征在于,所述方法还包括:The method of claim 16, further comprising:
    向所述中心节点设备发送所述目标规则的规则启用指令;所述规则启用指令用于指示所述中心节点设备将所述目标规则设置为启用状态。Send a rule enabling instruction of the target rule to the central node device; the rule enabling instruction is used to instruct the central node device to set the target rule to an enabled state.
  18. 根据权利要求16或17所述的方法,其特征在于,所述方法还包括:The method according to claim 16 or 17, characterized in that, the method further includes:
    向所述中心节点设备发送所述目标规则的规则停用指令;所述规则停用指令用于指示所述中心节点设备将所述目标规则设置为非启用状态。Send a rule deactivation instruction of the target rule to the central node device; the rule deactivation instruction is used to instruct the central node device to set the target rule to a non-enabled state.
  19. 根据权利要求16至18任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 16 to 18, characterized in that the method further includes:
    向所述中心节点设备发送信息获取指令;Send information acquisition instructions to the central node device;
    接收所述中心节点设备发送的,所述中心节点设备连接的各个物联网设备的设备信息;各个所述物联网设备中包含所述第一设备和所述第二设备。Receive device information of each Internet of Things device connected to the central node device sent by the central node device; each of the Internet of Things devices includes the first device and the second device.
  20. 根据权利要求16至19任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 16 to 19, characterized in that the method further includes:
    向所述中心节点设备发送规则查看指令;Send a rule viewing instruction to the central node device;
    接收所述中心节点设备发送的,所述第一集群中的各条规则的规则信息。Receive rule information of each rule in the first cluster sent by the central node device.
  21. 根据权利要求16至20任一所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 16 to 20, characterized in that the method further includes:
    向所述中心节点设备发送第一规则的规则移除指令;所述第一规则是所述第一集群中的部分或者全部规则;所述第一规则的规则移除指令用于指示所述中心节点设备从所述第一集群移除所述第一规则。Send a rule removal instruction of the first rule to the central node device; the first rule is part or all of the rules in the first cluster; the rule removal instruction of the first rule is used to instruct the center A node device removes the first rule from the first cluster.
  22. 一种设备控制方法,其特征在于,所述方法由物联网中的第一设备执行,所述方法包括:A device control method, characterized in that the method is executed by a first device in the Internet of Things, and the method includes:
    向中心节点设备发送所述第一设备的第一属性的属性信息,以使得所述中心节点设备在所述第一设备的第一属性的属性信息满足目标场景的触发条件时,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。Send the attribute information of the first attribute of the first device to the central node device, so that when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, the central node device sends the attribute information to the central node device. The second device corresponding to the target scene sends a control instruction; the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to realize the target scene.
  23. 一种设备控制方法,其特征在于,所述方法由物联网中的第二设备执行,所述方法包括:A device control method, characterized in that the method is executed by a second device in the Internet of Things, and the method includes:
    接收中心节点设备发送的控制指令;所述控制指令是所述中心节点设备接收第一设备发送的第一属性的属性信息,并在所述第一设备的第一属性的属性信息满足目标场景的触发条件时发送的指令;所述目标场景是与所述第二设备对应的场景;Receive a control instruction sent by the central node device; the control instruction is that the central node device receives the attribute information of the first attribute sent by the first device, and when the attribute information of the first attribute of the first device meets the target scenario An instruction sent when a condition is triggered; the target scene is a scene corresponding to the second device;
    根据所述控制指令调整所述第二设备的第二属性的属性信息,以实现目标场景。The attribute information of the second attribute of the second device is adjusted according to the control instruction to realize the target scenario.
  24. 一种设备控制装置,其特征在于,所述装置包括:An equipment control device, characterized in that the device includes:
    接收模块,用于接收第一设备发送的第一属性的属性信息;A receiving module, configured to receive attribute information of the first attribute sent by the first device;
    发送模块,用于在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。A sending module configured to send a control instruction to the second device corresponding to the target scene when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene; the control instruction is used to indicate The second device adjusts the attribute information of the second attribute of the second device to realize the target scenario.
  25. 根据权利要求24所述的装置,其特征在于,所述装置还包括:The device according to claim 24, characterized in that the device further includes:
    查询模块,用于在所述发送模块向与所述目标场景对应的第二设备发送控制指令之前,查询第一集群以所述第一设备的第一属性为输入的目标规则;所述目标规则用于指示所述第一设备的第一属性、所述触发条件以及所述目标场景的场景信息之间的关联关系。A query module configured to query the first cluster for a target rule using the first attribute of the first device as input before the sending module sends a control instruction to the second device corresponding to the target scenario; the target rule Used to indicate the association between the first attribute of the first device, the trigger condition and the scene information of the target scene.
  26. 根据权利要求25所述的装置,其特征在于,所述目标规则包括以下信息:The device according to claim 25, wherein the target rule includes the following information:
    所述第一设备的标识信息、所述第一属性的标识信息、所述触发条件、以及所述目标场景的场景信息。The identification information of the first device, the identification information of the first attribute, the trigger condition, and the scene information of the target scene.
  27. 根据权利要求26所述的装置,其特征在于,所述第一设备的标识信息包括:所述第一设备的节点标识信息,以及所述第一设备中与所述第一属性对应的端点标识信息。The apparatus according to claim 26, wherein the identification information of the first device includes: node identification information of the first device, and an endpoint identification of the first device corresponding to the first attribute. information.
  28. 根据权利要求26所述的装置,其特征在于,所述第一属性的标识信息包括:所述第一属性的集群标识信息;所述集群标识信息用于指示所述第一属性所属的集群。The device according to claim 26, wherein the identification information of the first attribute includes: cluster identification information of the first attribute; and the cluster identification information is used to indicate the cluster to which the first attribute belongs.
  29. 根据权利要求25所述的装置,其特征在于,所述触发条件包括:The device according to claim 25, wherein the trigger condition includes:
    与所述第一属性对应的目标属性值;以及,所述触发条件成立时,所述目标属性值与所述第一属性的属性信息之间的关系。The target attribute value corresponding to the first attribute; and, when the trigger condition is established, the relationship between the target attribute value and the attribute information of the first attribute.
  30. 根据权利要求26至29任一所述的装置,其特征在于,所述目标场景的场景信息包括所述目标场景的场景标识信息以及所述目标场景的场景组标识中的至少一种。The device according to any one of claims 26 to 29, wherein the scene information of the target scene includes at least one of scene identification information of the target scene and a scene group identification of the target scene.
  31. 根据权利要求30所述的装置,其特征在于,所述发送模块,用于在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下,向所述第二设备发送场景集群调用指令;所述场景集群调用指令用于指示所述第二设备通过调用所述第二设备中的场景集群中配置的所述目标场景,来调整所述第二设备的第二属性的属性信息。The device according to claim 30, characterized in that the sending module is configured to send the attribute information of the first attribute of the first device to the second device when the attribute information satisfies the triggering condition of the target scene. Scene cluster call instruction; the scene cluster call instruction is used to instruct the second device to adjust the second attribute of the second device by calling the target scene configured in the scene cluster in the second device. attribute information.
  32. 根据权利要求26至29任一所述的装置,其特征在于,所述目标场景的场景信息包括所述第二设备的节点标识信息、所述第二设备中与所述第二属性对应的端点标识信息、所述第二属性的属性标识信息以及目标属性值;The device according to any one of claims 26 to 29, wherein the scene information of the target scene includes node identification information of the second device, an endpoint in the second device corresponding to the second attribute Identification information, attribute identification information of the second attribute and target attribute value;
    所述发送模块,还用于在所述第一设备的第一属性的属性信息满足目标场景的触发条件的情况下, 根据第二设备的节点标识信息、所述第二设备中与所述第二属性对应的端点标识信息,向所述第二设备发送属性调整指令;所述属性调整指令用于指示所述第二设备根据所述第二属性的属性标识信息以及所述目标属性值,调整所述第二设备的第二属性的属性信息。The sending module is further configured to: when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene, according to the node identification information of the second device, the second device and the third Send an attribute adjustment instruction to the second device based on the endpoint identification information corresponding to the two attributes; the attribute adjustment instruction is used to instruct the second device to adjust the attribute according to the attribute identification information of the second attribute and the target attribute value. Attribute information of the second attribute of the second device.
  33. 根据权利要求25至32任一所述的装置,其特征在于,所述接收模块,还用于在接收第一设备发送的第一属性的属性信息之前,接收管理设备发送的添加规则指令;所述添加规则指令中包含所述目标规则的规则信息;The device according to any one of claims 25 to 32, wherein the receiving module is further configured to receive an add rule instruction sent by the management device before receiving the attribute information of the first attribute sent by the first device; The add rule instruction includes rule information of the target rule;
    所述装置还包括:The device also includes:
    添加模块,用于根据所述目标规则的规则信息,在所述第一集群中添加所述目标规则。An adding module, configured to add the target rule in the first cluster according to the rule information of the target rule.
  34. 根据权利要求25至33任一所述的装置,其特征在于,所述接收模块,还用于在所述发送模块向与所述目标场景对应的第二设备发送控制指令之前,接收所述管理设备发送的,所述目标规则的规则启用指令;The device according to any one of claims 25 to 33, characterized in that the receiving module is further configured to receive the management information before the sending module sends a control instruction to the second device corresponding to the target scene. The rule activation instruction of the target rule is sent by the device;
    所述装置还包括:The device also includes:
    状态设置模块,用于根据所述目标规则的规则启用指令,将所述目标规则设置为启用状态;A status setting module, configured to set the target rule to an enabled status according to the rule enabling instruction of the target rule;
    所述发送模块,用于在所述第一设备的第一属性的属性信息满足目标场景的触发条件,且所述目标规则为启用状态的情况下,向所述第二设备发送所述控制指令。The sending module is configured to send the control instruction to the second device when the attribute information of the first attribute of the first device meets the triggering condition of the target scenario and the target rule is in an enabled state. .
  35. 根据权利要求34所述的装置,其特征在于,所述接收模块,还用于接收所述管理设备发送的,所述目标规则的规则停用指令;The device according to claim 34, wherein the receiving module is further configured to receive a rule deactivation instruction of the target rule sent by the management device;
    所述状态设置模块,还用于根据所述目标规则的规则停用指令,将所述目标规则设置为非启用状态。The status setting module is also configured to set the target rule to a non-enabled state according to the rule deactivation instruction of the target rule.
  36. 根据权利要求25至35任一所述的装置,其特征在于,The device according to any one of claims 25 to 35, characterized in that:
    所述接收模块,还用于接收管理设备发送的信息获取指令;The receiving module is also used to receive information acquisition instructions sent by the management device;
    所述发送模块,还用于根据所述信息获取指令,向所述管理设备发送所述中心节点设备连接的各个物联网设备的设备信息;各个所述物联网设备中包含所述第一设备和所述第二设备。The sending module is also configured to send the device information of each Internet of Things device connected to the central node device to the management device according to the information acquisition instruction; each of the Internet of Things devices includes the first device and the second device.
  37. 根据权利要求25至36任一所述的装置,其特征在于,The device according to any one of claims 25 to 36, characterized in that,
    所述接收模块,还用于接收管理设备发送的规则查看指令;The receiving module is also used to receive rule viewing instructions sent by the management device;
    所述发送模块,还用于根据所述规则查看指令,向所述管理设备发送所述第一集群中的各条规则的规则信息。The sending module is also configured to send rule information of each rule in the first cluster to the management device according to the rule viewing instruction.
  38. 根据权利要求25至37任一所述的装置,其特征在于,The device according to any one of claims 25 to 37, characterized in that:
    所述接收模块,还用于接收管理设备发送的,第一规则的规则移除指令;所述第一规则是所述第一集群中的部分或者全部规则;The receiving module is also configured to receive the rule removal instruction of the first rule sent by the management device; the first rule is part or all of the rules in the first cluster;
    所述装置还包括:The device also includes:
    移除模块,用于根据所述第一规则的规则移除指令,从所述第一集群移除所述第一规则。A removal module configured to remove the first rule from the first cluster according to the rule removal instruction of the first rule.
  39. 一种设备控制装置,其特征在于,所述装置包括:An equipment control device, characterized in that the device includes:
    发送模块,用于向中心节点设备发送添加规则指令;所述添加规则指令中包含目标规则的规则信息;所述目标规则以所述第一设备的第一属性为输入,且所述目标规则用于指示所述第一设备的第一属性、触发条件以及目标场景的场景信息之间的关联关系;A sending module, configured to send an add rule instruction to the central node device; the add rule instruction includes rule information of a target rule; the target rule takes the first attribute of the first device as input, and the target rule is Indicating the association between the first attribute of the first device, the trigger condition and the scene information of the target scene;
    其中,所述添加规则指令用于指示所述中心节点设备在第一集群中添加所述目标规则,以使得所述中心节点设备在获取到所述第一设备的第一属性的属性信息,且所述第一设备的第一属性的属性信息满足所述触发条件时,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。Wherein, the add rule instruction is used to instruct the central node device to add the target rule in the first cluster, so that the central node device obtains the attribute information of the first attribute of the first device, and When the attribute information of the first attribute of the first device satisfies the trigger condition, a control instruction is sent to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the first attribute information of the second attribute of the two devices to achieve the target scenario.
  40. 根据权利要求39所述的装置,其特征在于,所述发送模块,还用于向所述中心节点设备发送所述目标规则的规则启用指令;所述规则启用指令用于指示所述中心节点设备将所述目标规则设置为启用状态。The apparatus according to claim 39, wherein the sending module is further configured to send a rule activation instruction of the target rule to the central node device; the rule activation instruction is used to instruct the central node device to Set the target rule to enabled.
  41. 根据权利要求38或39所述的装置,其特征在于,所述发送模块,还用于向所述中心节点设备发 送所述目标规则的规则停用指令;所述规则停用指令用于指示所述中心节点设备将所述目标规则设置为非启用状态。The device according to claim 38 or 39, characterized in that the sending module is further configured to send a rule deactivation instruction of the target rule to the central node device; the rule deactivation instruction is used to instruct the The central node device sets the target rule to a non-enabled state.
  42. 根据权利要求39至41任一所述的装置,其特征在于,所述发送模块,还用于向所述中心节点设备发送信息获取指令;The device according to any one of claims 39 to 41, characterized in that the sending module is also used to send information acquisition instructions to the central node device;
    所述装置还包括:The device also includes:
    第一接收模块,用于接收所述中心节点设备发送的,所述中心节点设备连接的各个物联网设备的设备信息;各个所述物联网设备中包含所述第一设备和所述第二设备。The first receiving module is used to receive the device information of each Internet of Things device connected to the central node device sent by the central node device; each of the Internet of Things devices includes the first device and the second device. .
  43. 根据权利要求39至42任一所述的装置,其特征在于,所述发送模块,还用于向所述中心节点设备发送规则查看指令;The device according to any one of claims 39 to 42, characterized in that the sending module is also used to send a rule viewing instruction to the central node device;
    所述装置还包括:The device also includes:
    第二接收模块,用于接收所述中心节点设备发送的,所述第一集群中的各条规则的规则信息。The second receiving module is configured to receive the rule information of each rule in the first cluster sent by the central node device.
  44. 根据权利要求39至43任一所述的装置,其特征在于,所述发送模块,还用于向所述中心节点设备发送第一规则的规则移除指令;所述第一规则是所述第一集群中的部分或者全部规则;所述第一规则的规则移除指令用于指示所述中心节点设备从所述第一集群移除所述第一规则。The device according to any one of claims 39 to 43, wherein the sending module is further configured to send a rule removal instruction of the first rule to the central node device; the first rule is the third rule. Some or all rules in a cluster; the rule removal instruction of the first rule is used to instruct the central node device to remove the first rule from the first cluster.
  45. 一种设备控制装置,其特征在于,所述装置包括:An equipment control device, characterized in that the device includes:
    发送模块,用于向中心节点设备发送所述第一设备的第一属性的属性信息,以使得所述中心节点设备在所述第一设备的第一属性的属性信息满足目标场景的触发条件时,向与所述目标场景对应的第二设备发送控制指令;所述控制指令用于指示所述第二设备调整所述第二设备的第二属性的属性信息,以实现所述目标场景。A sending module, configured to send the attribute information of the first attribute of the first device to the central node device, so that the central node device can satisfy the triggering condition of the target scene when the attribute information of the first attribute of the first device satisfies the triggering condition of the target scene. , sending a control instruction to the second device corresponding to the target scene; the control instruction is used to instruct the second device to adjust the attribute information of the second attribute of the second device to realize the target scene.
  46. 一种设备控制装置,其特征在于,所述装置包括:An equipment control device, characterized in that the device includes:
    接收模块,用于接收中心节点设备发送的控制指令;所述控制指令是所述中心节点设备接收第一设备发送的第一属性的属性信息,并在所述第一设备的第一属性的属性信息满足目标场景的触发条件时发送的指令;所述目标场景是与所述第二设备对应的场景;A receiving module, configured to receive a control instruction sent by the central node device; the control instruction is that the central node device receives the attribute information of the first attribute sent by the first device, and adds the attribute information of the first attribute to the first device. An instruction sent when the information satisfies the trigger condition of the target scene; the target scene is the scene corresponding to the second device;
    调整模块,用于根据所述控制指令调整所述第二设备的第二属性的属性信息,以实现目标场景。An adjustment module, configured to adjust the attribute information of the second attribute of the second device according to the control instruction to achieve a target scenario.
  47. 一种计算机设备,其特征在于,所述计算机设备包括处理器、存储器和收发器;A computer device, characterized in that the computer device includes a processor, a memory and a transceiver;
    所述存储器中存储有计算机程序,所述处理器执行所述计算机程序,以使得所述计算机设备实现如上述权利要求1至23任一所示的设备控制方法。A computer program is stored in the memory, and the processor executes the computer program, so that the computer device implements the device control method as shown in any one of the above claims 1 to 23.
  48. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序,所述计算机程序用于被处理器执行,以实现如权利要求1至23任一所示的设备控制方法。A computer-readable storage medium, characterized in that a computer program is stored in the storage medium, and the computer program is used to be executed by a processor to implement the device control method as shown in any one of claims 1 to 23.
  49. 一种芯片,其特征在于,所述芯片用于在计算机设备中运行,以使得所述计算机设备执行如权利要求1至23任一所示的设备控制方法。A chip, characterized in that the chip is used to run in a computer device, so that the computer device executes the device control method as shown in any one of claims 1 to 23.
  50. 一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机指令,所述计算机指令存储在计算机可读存储介质中;计算机设备的处理器从所述计算机可读存储介质读取所述计算机指令,并执行所述计算机指令,使得所述计算机设备执行如权利要求1至23任一所示的设备控制方法。A computer program product, characterized in that the computer program product includes computer instructions, and the computer instructions are stored in a computer-readable storage medium; and a processor of a computer device reads the computer instructions from the computer-readable storage medium. instructions, and execute the computer instructions, so that the computer device executes the device control method as shown in any one of claims 1 to 23.
  51. 一种计算机程序,其特征在于,所述计算机程序由计算机设备的处理器执行,以实现如权利要求1至23任一所示的设备控制方法。A computer program, characterized in that the computer program is executed by a processor of a computer device to implement the device control method as shown in any one of claims 1 to 23.
PCT/CN2022/088003 2022-04-20 2022-04-20 Device control method and apparatus, device, and storage medium WO2023201587A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/088003 WO2023201587A1 (en) 2022-04-20 2022-04-20 Device control method and apparatus, device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/088003 WO2023201587A1 (en) 2022-04-20 2022-04-20 Device control method and apparatus, device, and storage medium

Publications (1)

Publication Number Publication Date
WO2023201587A1 true WO2023201587A1 (en) 2023-10-26

Family

ID=88418692

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/088003 WO2023201587A1 (en) 2022-04-20 2022-04-20 Device control method and apparatus, device, and storage medium

Country Status (1)

Country Link
WO (1) WO2023201587A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170367132A1 (en) * 2015-06-18 2017-12-21 Globus Eight Inc System and method for establishing communication between plurality of internet of things devices
CN108092861A (en) * 2017-12-13 2018-05-29 深圳绿米联创科技有限公司 Realize collocation method, the equipment linkage control method and device of equipment linkage
CN108234408A (en) * 2016-12-15 2018-06-29 中兴通讯股份有限公司 A kind of things-internet gateway inter-linked controlling method and things-internet gateway
CN111083180A (en) * 2018-10-19 2020-04-28 北京奇虎科技有限公司 Internet of things system and Internet of things equipment linkage method and device
CN111818132A (en) * 2020-06-19 2020-10-23 深圳奇迹智慧网络有限公司 Control method and device of Internet of things equipment, computer equipment and storage medium
CN112073273A (en) * 2020-08-26 2020-12-11 北京小米移动软件有限公司 Device state control method, device state control apparatus, and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170367132A1 (en) * 2015-06-18 2017-12-21 Globus Eight Inc System and method for establishing communication between plurality of internet of things devices
CN108234408A (en) * 2016-12-15 2018-06-29 中兴通讯股份有限公司 A kind of things-internet gateway inter-linked controlling method and things-internet gateway
CN108092861A (en) * 2017-12-13 2018-05-29 深圳绿米联创科技有限公司 Realize collocation method, the equipment linkage control method and device of equipment linkage
CN111083180A (en) * 2018-10-19 2020-04-28 北京奇虎科技有限公司 Internet of things system and Internet of things equipment linkage method and device
CN111818132A (en) * 2020-06-19 2020-10-23 深圳奇迹智慧网络有限公司 Control method and device of Internet of things equipment, computer equipment and storage medium
CN112073273A (en) * 2020-08-26 2020-12-11 北京小米移动软件有限公司 Device state control method, device state control apparatus, and storage medium

Similar Documents

Publication Publication Date Title
US10775753B2 (en) Distributed building control system
WO2020206693A1 (en) Smart home scheduling method, apparatus and system, server and storage medium
EP3493485B1 (en) Method, apparatus and system for notification
CN113572799B (en) Method and device for accessing equipment to control platform and server
CN105471686A (en) Terminal control method, terminal control apparatus and system
WO2018024121A1 (en) Network function (nf) management method and nf management device
US10495336B2 (en) Energy operations across domains
WO2017101050A1 (en) Control method, control panel and control system for a smart home device
US20220022022A1 (en) Device discovery method and apparatus, control terminal, and internet of things auxiliary device
US20230045914A1 (en) Method and apparatus for controlling device in internet of things, and gateway device and storage medium
WO2019019991A1 (en) Creation of aggregation group
WO2020177020A1 (en) Internet of things device discovery method, apparatus, and terminal device
CN108259605B (en) Data calling system and method based on multiple data centers
WO2023201587A1 (en) Device control method and apparatus, device, and storage medium
WO2018113184A1 (en) Intelligent device control and management method based on forces protocol
WO2024016539A1 (en) Device control method and apparatus, and storage medium and electronic apparatus
WO2024031681A1 (en) Device binding method and apparatus, and device, storage medium and program product
CN107807619A (en) Intelligent home control system and its method of work based on virtual server module
WO2024031682A1 (en) Device control method and apparatus, and device, storage medium and program product
WO2024103374A1 (en) Processing method and apparatus for proxy subscription, and computer device and storage medium
WO2021134252A1 (en) Inter-device communication method and apparatus, and storage medium
WO2023108653A1 (en) Subscription access information processing method and apparatus, computer device and storage medium
WO2023216042A1 (en) Event management method and apparatus, device, storage medium, and program product
WO2023092504A1 (en) Subscription control method and apparatus, and computer device and storage medium
WO2023216035A1 (en) Security domain management method and apparatus, device, storage medium and program product

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: 22937824

Country of ref document: EP

Kind code of ref document: A1