Method for Associating Operations Based on the Internet of Things, Electronic Device, and Storage Medium

JP7686669B2Active Publication Date: 2025-06-02BOE TECHNOLOGY GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
JP2022565667
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-04-26
Filing Date
2021-04-19
Publication Date
2025-06-02
Estimated Expiration
2041-04-19

AI Technical Summary

Technical Problem

Existing systems lack logical relationships between actions, leading to poor execution effects and reduced robustness and smartness due to the inability to associate actions effectively.

Method used

An Internet-of-Things-based action association method that determines feedback results of actions and associates actions with similar execution effects or results, ensuring robustness by triggering alternative actions if one fails.

Benefits of technology

Enhances system robustness and smartness by ensuring actions with the same execution effect are associated, guaranteeing desired outcomes even if one action fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000015_0000
    Figure 00000015_0000
  • Figure 00000016_0000
    Figure 00000016_0000
  • Figure 00000016_0001
    Figure 00000016_0001
Patent Text Reader

Abstract

The present disclosure provides an action association method, an electronic device, and a computer-readable storage medium based on the Internet of Things, the method including: triggering a first device to execute a first action and a second device to execute a second action, respectively; obtaining a feedback result of the first action and a feedback result of the second action; determining whether the first action and the second action can be associated based on the feedback result of the first action and the feedback result of the second action; and associating the first action and the second action if the first action and the second action can be associated, wherein the feedback result includes at least one of an execution result and an execution effect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of the Internet of Things, and particularly to a method for associating operations based on the Internet of Things, an electronic device, and a storage medium.

[0002] [Cross-reference to Related Applications] This application claims the priority of Chinese Patent Application No. 202010339968.2 filed on April 26, 2020, and incorporates all the contents of the Chinese patent application by reference.

Background Art

[0003] An operation trigger is a public service function provided by an external service platform, and service logic is implemented on the platform without the need for an application program to check each part, thereby reducing information transmission and improving efficiency and smartness. After an application arranges a service on the service platform, it can safely enter sleep or roaming.

Summary of the Invention

Problems to be Solved by the Invention

[0004] However, in related technologies, since there is no logical relationship between operations, when an operation is executed, if the execution effect of the operation is poor or the operation cannot be executed, it is impossible to achieve the desired operation effect by triggering operations with similar functions, resulting in poor robustness and insufficient smartness of the system.

Means for Solving the Problems

[0005] According to a first aspect of the embodiments of the present disclosure, Trigger a first device to execute a first operation and a second device to execute a second operation respectively, and obtain the feedback result of the first operation and the feedback result of the second operation, The process includes determining whether the first operation and the second operation can be associated based on the feedback result of the first operation and the feedback result of the second operation, and if the first operation and the second operation can be associated, associating the first operation and the second operation. The aforementioned feedback results provide an Internet of Things-based behavior association method that includes at least one of the execution result and the execution effect.

[0006] In some embodiments, based on the feedback result of the first operation and the feedback result of the second operation, it is determined whether the first operation and the second operation can be associated, and if the first operation and the second operation can be associated, the first operation and the second operation are associated. To determine whether the result of the first operation and the result of the second operation are the same, If the result of the first operation and the result of the second operation are the same, the first operation and the second operation are associated, If the result of the first operation and the result of the second operation are not the same, the effects of the first operation and the second operation are obtained, it is determined whether the effects of the first operation and the second operation are the same, and if the effects of the first operation and the second operation are the same, the first operation and the second operation are associated.

[0007] In some embodiments, obtaining the effects of performing the first operation and the effects of performing the second operation is Based on pre-determined collection intervals and collection methods, the execution results of the target of the operation corresponding to the first operation and the execution results of the target of the operation corresponding to the second operation are obtained, respectively. This includes calculating the execution effect of the first operation and the execution effect of the second operation based on the execution result of the operation result target corresponding to the first operation and the execution result of the operation result target corresponding to the second operation.

[0008] In some embodiments, the execution effect of the first operation and the execution effect of the second operation are calculated based on the execution result of the operation result target corresponding to the first operation and the execution result of the operation result target corresponding to the second operation. Based on the execution result of the target of the operation result corresponding to the first operation and the execution result of the target of the operation result corresponding to the second operation, the result data corresponding to the first operation and the result data corresponding to the second operation are calculated, respectively. This includes determining whether the result data corresponding to the first operation and the result data corresponding to the second operation satisfy pre-configured operating conditions, respectively, in order to obtain the execution effect of the first operation and the execution effect of the second operation.

[0009] In some embodiments, relating the first operation to the second operation is: Based on the pre-arranged association conditions for the first operation, it is determined whether the second operation conforms to the association conditions. If the second operation satisfies the association conditions, this includes associating the first operation with the second operation.

[0010] In some embodiments, the association condition includes at least one of the following: device location, device type, operation time, and operation priority.

[0011] In some embodiments, relating the first operation to the second operation is This includes associating the first operation with the second operation based on a pre-arranged operation association method for the first operation with the second operation.

[0012] In some embodiments, the operation association method includes sequential execution, concurrent execution, and one of which an operation anomaly triggers the execution of an associated operation.

[0013] According to a second aspect of the present disclosure, the system includes memory, a processor, and a computer program stored in memory and executable by the processor. The processor implements the operation association method when executing the program, and the memory provides an electronic device that stores data including at least one of the following: collection interval, collection method, execution result, execution effect, result data, operating conditions, association conditions, and operation association method.

[0014] A third aspect of the present disclosure provides a computer-readable storage medium in which computer instructions for causing a computer to execute the above-described operation association method are stored.

[0015] To more clearly explain the technical concepts in the embodiments of this disclosure, the following is a brief introduction of the drawings necessary for describing the embodiments. However, it is clear that the drawings in the following description represent only a few embodiments of this disclosure, and those skilled in the art can derive other drawings from these without expending much creative effort. [Brief explanation of the drawing]

[0016] [Figure 1] This is a schematic diagram of the flow of actions triggered by the service platform. [Figure 2] This is a schematic flowchart of the Internet of Things-based operation association method in the embodiments of this disclosure. [Figure 3] This is a schematic flowchart illustrating the operation triggers of the smart camera and smart cat's eye in a home security scenario according to the disclosed embodiment. [Figure 4] This is a schematic flowchart illustrating the operation triggers and associations between a smart camera and a smart cat's eye in a home security scenario according to the disclosed embodiment. [Figure 5] This is a schematic flowchart illustrating the operation triggers for the ventilation fan and window in a smart home scene according to the disclosed embodiment. [Figure 6]This is a schematic flowchart illustrating the operation triggers and associations between a ventilation fan and a window in a smart home scene according to the disclosed embodiment. [Figure 7] The disclosure embodiment <resultmode>It is a configuration schematic diagram of attributes. [Figure 8] It is a diagram showing the flow of executing the Retrieve operation in the embodiment of the present disclosure. [Figure 9] It is a flow schematic diagram of the operation triggers of multiple air conditioners in the smart home scene of the embodiment of the present disclosure. [Figure 10] It is a flow schematic diagram of the association with the operation triggers of multiple air conditioners in the smart home scene of the embodiment of the present disclosure. [Figure 11] It is a diagram showing the flow of triggering multiple operations to be executed simultaneously in the embodiment of the present disclosure. [Figure 12] It is a diagram showing the flow of triggering the execution of an operation associated with one operation abnormality in the embodiment of the present disclosure. [Figure 13] It is a configuration schematic diagram of the interior of an electronic device in the embodiment of the present disclosure.

Embodiments for Carrying Out the Invention

[0017] To make the purpose, technical solution, and advantages of the present disclosure clearer, the present disclosure will be described in more detail below with reference to specific embodiments and drawings.

[0018] Technical or scientific terms used in the embodiments of this disclosure should have the ordinary meaning understood by those skilled in the art unless otherwise defined. The terms “first,” “second,” and similar terms used in this disclosure do not imply any order, quantity, or importance, but are used solely to distinguish different components. “Includes,” “contains,” and similar terms mean that the element or object described before the term includes the element or object and its equivalent described after the term, and do not exclude other elements or objects. “Connected,” and similar terms are not limited to physical or mechanical connections, but may include electrical and communication connections, whether direct or indirect. Furthermore, positional terms such as “above” are used only to indicate relative positional relationships, and these relative positional relationships may change if the absolute position of the object changes.

[0019] The process of creating an action primarily involves the application sending a request to the service platform and creating the action and related resources on the service platform. These resources must include the action detection target, action trigger conditions, action execution content, and action execution results. After completing action creation on the service platform, the service platform triggers the action, monitoring the action detection target as shown in Figure 1, and determining whether the action trigger conditions are met. If they are met, the action is triggered, and the appropriate command is sent to the action operation target, causing the action operation target to execute the action. The action execution results are obtained and recorded by the action result target.

[0020] In related technologies, the method of associating actions between actions involves triggering an action based on one condition, which then causes other devices to operate in conjunction. For example, a smog sensor can trigger a mobile phone alarm, and simultaneously associate it with an alarm buzzer and flashing warning lights. While such actions can be combined in the action trigger mechanism to trigger multiple actions with a single trigger condition, there is no logical relationship between multiple actions whose trigger conditions are not exactly the same. In actual application scenarios, there may be multiple actions that have the same or similar functions, and when an action is executed, if the execution effect of an action is poor, triggering actions with similar functions may prevent the desired execution effect from being achieved.

[0021] The Internet of Things-based operation association method according to the embodiments of this disclosure can associate operations having the same execution effect or result, and if the execution of the first operation fails or the execution effect is poor due to other circumstances, it can activate the associated second operation, thereby guaranteeing the execution effect of the operations and improving the robustness and intelligence level of the system.

[0022] As shown in Figure 2, the present embodiment of the disclosure provides an Internet of Things-based operation association method applicable to a service platform, which may include the following steps S202 and S202.

[0023] Step S201: The first action is triggered to execute on the first device, and the second action is triggered to execute on the second device, respectively, and the feedback results of the first action and the second action are obtained.

[0024] After the application creates a first operation and a second operation on the service platform, the service platform triggers the first operation to be executed by the first device and the second operation to be executed by the second device, respectively, and obtains the feedback results of the first operation and the feedback results of the second operation. The service platform may trigger the first operation to be executed by the first device and the second operation to be executed by the second device simultaneously or sequentially, and the embodiments of this disclosure are not limited thereto.

[0025] After triggering a device to perform a corresponding action, the service platform can receive a corresponding feedback result. In embodiments of this disclosure, the feedback result may include at least one of the following: an execution result, which may be an instantaneous state condition of the action result target, such as image collection, opening a door, or an alarm; and an execution effect, which may be a duration change in state condition of the action result target, such as a decrease in room temperature, an increase in room temperature, or a decrease in indoor carbon monoxide (CO) concentration.

[0026] Step S202: Based on the feedback result of the first action and the feedback result of the second action, it is determined whether the first action and the second action can be associated. If YES, the first action and the second action are associated.

[0027] Based on the feedback results for the first operation and the second operation obtained in step S201, the service platform determines whether the feedback results are identical or similar, and whether the first operation and the second operation can be associated. If the feedback results are identical, it is determined that the first operation and the second operation can be associated; if the feedback results are different, it is determined that the first operation and the second operation cannot be associated.

[0028] In this disclosed embodiment, a logical relationship is established between operations that have the same function by determining whether the feedback result of the first operation and the feedback result of the second operation are the same or approximate. If the first device fails to perform the first operation or if the performance is unsatisfactory, the second device is triggered to perform the second operation, thereby achieving the same effect as the first operation and improving the robustness and smartness level of the system.

[0029] In some embodiments, step S202 may include determining whether the result of the first operation and the result of the second operation are the same, and if YES, associating the first operation and the second operation; or if NO, obtaining the effect of the first operation and the effect of the second operation, determining whether the effect of the first operation and the effect of the second operation are the same, and if YES, associating the first operation and the second operation. In embodiments of the present disclosure, if it can be directly determined from the execution results that the first operation and the second operation have the same function, they are associated (for example, if the execution results of the smart cat eye and the camera are to collect an image, then their functions are the same and they can be associated). If it cannot be directly determined that the first operation and the second operation have the same function, the execution effects of the first operation and the second operation are further obtained, and it is determined from the execution effects of the first operation and the second operation whether the first operation and the second operation have the same function, and if YES, associating the first operation and the second operation. For example, if the actions of turning on a ventilation fan and opening a window result in turning on the ventilation fan and opening the window, respectively, then the results of turning on the ventilation fan and opening the window are different. Therefore, it is necessary to further obtain the effects of turning on the ventilation fan and opening the window. For example, if the effect of both turning on the ventilation fan and opening the window is to lower the CO concentration, then it means that turning on the ventilation fan and opening the window have the same function, and thus the actions of turning on the ventilation fan and opening the window can be associated.

[0030] In some embodiments, obtaining the execution effect of the first operation and the execution effect of the second operation includes obtaining the execution result of the operation result target corresponding to the first operation and the execution result of the operation result target corresponding to the second operation, respectively, based on a predetermined collection interval and collection method (which may be divided into collecting once and collecting periodically), and calculating the execution effect of the first operation and the execution effect of the second operation based on the execution result of the operation result target corresponding to the first operation and the execution result of the operation result target corresponding to the second operation. Based on a predetermined collection interval and collection method, the execution results of the operation result target corresponding to the first operation and the execution result of the operation result target corresponding to the second operation are continuously collected, a set of execution result targets corresponding to the first operation and a set of execution result targets corresponding to the second operation are obtained, and each execution result in the set of execution result targets corresponding to the first operation and each execution result in the set of execution result targets corresponding to the second operation are calculated to obtain the execution effect of the first operation and the execution effect of the second operation. For example, if CO sensor data is continuously collected and calculations reveal that the CO concentration decreases as a result of both the first and second actions, it means that the functions of the first and second actions are identical.

[0031] In some embodiments, calculating the execution effect of the first operation and the execution effect of the second operation based on the execution result of the operation result target corresponding to the first operation and the execution result of the operation result target corresponding to the second operation includes calculating result data corresponding to the first operation and result data corresponding to the second operation based on the execution result of the operation result target corresponding to the first operation and the execution result of the operation result target corresponding to the second operation, respectively, and determining whether the result data corresponding to the first operation and the result data corresponding to the second operation satisfy pre-configured operating conditions, respectively, in order to obtain the execution effect of the first operation and the execution effect of the second operation. For example, the pre-configured operating conditions may be that the room temperature falls to 20°C or below within 5 minutes, or that the rate of decrease in room temperature is 5°C / minute or more, or that the temperature falls to 23°C or below. If the execution result of the operation satisfies the pre-configured operating conditions, the execution effect of the operation is effective, and if the execution result of the operation does not satisfy the pre-configured operating conditions, the execution effect of the operation is ineffective. If the execution effects of both the first and second operations are effective, it means that the first and second operations have the same function, and they can be associated with each other.

[0032] In some embodiments, associating the first operation with the second operation includes determining whether the second operation conforms to the pre-configured association conditions for the first operation, and if YES, associating the first operation with the second operation. In embodiments of this disclosure, the association results can be optimized by adding association conditions, and the association of some operations can be restricted. For example, if the commonality between the air conditioner in the first-floor bedroom and the air conditioner in the second-floor bedroom is poor, it can be restricted according to the device location, and the operations triggered by the air conditioner in the first-floor bedroom and the air conditioner in the second-floor bedroom cannot be associated. In some embodiments, the association conditions include at least one of the following: device location, device type, operation time, and operation priority.

[0033] In some embodiments, associating the first operation with the second operation includes associating the first operation with the second operation based on a pre-configured operation association scheme for the first operation with the second operation. To control the execution status of the first and second operations, the operation association scheme can be configured such that the first and second operations are executed in a single manner. In some embodiments, the operation association scheme includes sequential execution, concurrent execution, and triggering the execution of an associated operation by a single operation anomaly. In some embodiments, when triggering the execution of an associated operation by a single operation anomaly, an anomaly condition (e.g., no operation response is received within a certain time, or the execution effect does not reach a predetermined value within a certain time) can be further configured.

[0034] To realize the above embodiments of this disclosure, the oneM2M standard (Internet of Things standard) can be modified, that is, the attribute actionEffect which can show the effect of the operation can be modified. <action>In addition, by determining that the content of this attribute can identify the purpose of the action, actions with the same actionEffect can be associated, and after the actions are associated, the triggers for the actions can be controlled according to different execution policies.

[0035] In some embodiments, one or a combination thereof of the following attributes <action>It can be added to the list.

[0036] Output Resource Identifier (outputResourceID): Stores the resource identifier of the execution result.

[0037] Execution Result (actionResult): Stores the execution result corresponding to the action and the execution result of the target of the action.

[0038] ActionRelationEnable: Determines whether an action can be associated with the control buttons of other actions.

[0039] Action Effect: This attribute can be calculated using different policies.

[0040] Associated Action Identifier (relatedActionID): This is the resource identifier for the action associated with this action.

[0041] Association Criteria (actionRelationCriteria): This attribute indicates the rules by which actions can be associated, and may include association criteria such as device location, device type, operation time, and operation priority.

[0042] Related Actions Relationship: This attribute indicates how the execution of related actions is triggered. These relationships may include sequential execution, concurrent execution, or a single action anomaly triggering the execution of related actions.

[0043] Result Mode: The memory mode for operation results includes Retrieve Mode and duration, and depending on the different result mode, the action result can be stored as a series of results of the operation.

[0044] As shown in Figure 3, the home security scenario involves two devices: a smart camera and a smart cat's eye. The first action involves using an infrared sensor to detect whether a moving object has appeared, and if a moving object is detected, triggering the camera to start recording. This includes a second action, which, if it detects that someone has pressed the doorbell, triggers Smart Cat's Eye to crop the image.

[0045] In this scenario, the trigger conditions for the first and second actions are completely different, but the result of each action is multimedia image data that stores the current target resource. Therefore, the execution effect in this scenario is... <actioneffect>This is the execution result. <actionresult>Although the determination should be made based on this, since the execution results are identical, the execution effect is also identical, and the first action and the second action can be associated. After associating the first action and the second action, if a problem occurs in one of the actions, the other action can be triggered.

[0046] The action trigger and association flow in this scene is primarily as shown in Figure 4. The security management application, infrared sensor, smart camera, smart cat's eye, and doorbell each send a registration request to the security management server. After registration is complete, the security management application controls the smart camera's operation on the security management server. <action1>and the operation of Smart Cat's Eye <action2>The steps to create each of them, The security management server sends a subscription request to the doorbell, the doorbell creates a subscription resource, the doorbell sends a notification request to the security management server when someone presses the doorbell, the security management server returns a notification response and sends an action request to the smart cat's eye to trigger the smart cat's eye to capture and store an image, the smart cat's eye then returns an action response to the security management server, and the security management server processes the smart cat's eye's actions. <action2>Execution result <actionresult>Steps to obtain, The infrared sensor detects in real time whether a moving object has been detected and sends the results to the security management server. If a moving object is detected, the security management server sends an action request to the smart camera, triggering the smart camera to capture and store an image. The smart camera then returns an action response to the security management server, and the security management server then processes the smart camera's actions. <action1>Execution result <actionresult>Steps to obtain, Each security management server is: <action1>of <actionresult> 、 <action2>of <actionresult>Based on, <action1>of <actioneffect> 、 <action2>of <actioneffect>Calculate, <action1>and <action2>of <actioneffect>Determine if they are the same, and if they are the same, <action1>and <action2>The steps to associate them, After completing the motion association, the infrared sensor continues to detect whether a moving object is present in real time and sends the results to the security management server. If a moving object is detected, the security management server sends an action request to the smart camera, triggering the smart camera to capture and store an image. If the security management server does not receive an action response from the smart camera within a certain time, or if the received action response is a response failure, the smart camera's action will be terminated. <action1>This means that the execution failed, the security management server sends an action request to the smart cat's eye to trigger image capture and storage by the smart cat's eye, in response, when the doorbell is pressed, it sends a notification request to the security management server, the security management server returns a notification response and also sends an action request to the smart cat's eye to trigger image capture and storage by the smart cat's eye, if the security management server does not receive an action response returned by the smart cat's eye within a certain time, or if the received action response is a response failure, the smart cat's eye's action <action2>The execution of the following steps are included: the execution of the following means failure, the security management server sends an action request to the smart camera to trigger the smart camera to capture and store an image;

[0047] As shown in Figure 5, the smart home scene includes two devices: a ventilation fan and a window, The CO concentration sensor detects whether the CO concentration is higher than threshold A, and if YES, the first action triggers the turning on of the ventilation fan. This includes a second action, in which a CO concentration sensor detects whether the CO concentration is higher than threshold B, and if YES, triggers the opening of the window.

[0048] In such a scenario, when an action is authorized to associate actions, the service end can determine the trigger conditions and execution results of the actions to calculate the effect of the actions. If the execution effects are the same, the two actions are associated.

[0049] <action1>inside <outputresourceid>The attribute may be a CO concentration sensor, and the target of this operation is the CO concentration in the surrounding space. <actionresult>As can be seen by comparing the stored CO concentration with the threshold under the trigger condition, the purpose of this operation is to reduce the CO concentration in the surrounding space. <action1>of <actioneffect>This means obtaining the following. Approximately, <action2>of <actioneffect>Similarly, it can be obtained that this reduces the CO concentration in the space where it is located. <action1>and <action2>These are two actions <actioneffect>They are the same, <action1>and <action2>It is determined that they can be associated. <action1>and <action2>After associating them, <action1>If you encounter problems running it, <action2>This triggers the event.

[0050] The action trigger and association flowchart in this scene is mainly as shown in Figure 6. The security management application, CO concentration sensor, ventilation fan, and window each send a registration request to the security management server. After registration is complete, the security management application controls the operation of the ventilation fan on the security management server. <action1>and window operation <action2>The steps to create each of them, The CO concentration sensor detects the indoor CO concentration in real time and sends the results to the security management server. If the indoor CO concentration is greater than threshold A, the security management server sends an operation request to the ventilation fan, triggering the fan to turn on. The CO concentration sensor then continues to detect the indoor CO concentration and sends the results. <action1>of <actionresult>The system stores the data, and if the indoor CO concentration is greater than threshold B, the security management server sends an action request to the window, triggering it to open. The CO concentration sensor continues to detect the indoor CO concentration and the execution result <action2>of <actionresult>Steps to store in memory, Each security management server is: <action1>of <actionresult> 、 <action2>of <actionresult>Based <action1>of <actioneffect> 、 <action2>of <actioneffect>Calculate, <action1>and <action2>of <actioneffect>Determine if they are the same, and if they are the same, <action1>and <action2>of <relatedactionid>This is corrected to make the two actions related to each other, and in this example, <action1>and <action2>of <actioneffect>Both of these methods reduce the CO concentration in the surrounding space, <action1>and <action2>Steps that can be associated, After completing the operation association, the CO concentration sensor continues to detect the indoor CO concentration in real time and sends the results to the security management server. If the indoor CO concentration is greater than threshold A, the security management server sends an operation request to the ventilation fan, triggering the fan to turn on. If the security management server does not receive an operation response from the ventilation fan within a certain time, or if the received operation response is a response failure, the ventilation fan operation <action1>This means that the execution failed, and the security management server sends an action request to the window to trigger it to open, and in response, if the indoor CO concentration is greater than threshold B, the security management server sends an action request to the window to trigger it to open, and if the security management server does not receive an action response from the window within a certain time, or if the received action response is a response failure, the window action <action2>This means that the execution failed, and the security management server sends an action request to the ventilation fan to trigger the fan to turn on, and the steps include:

[0051] In the process of implementing this disclosure, the execution result of the operation cannot be perfectly represented at the moment of execution, and the execution result of the current operation trigger mechanism <actionresult>This only represents the content of the operation result at the time of the operation trigger, and cannot show any changes after the operation result, thus failing to show the execution effect. <actioneffect>It can be found that this also affects the calculation of, and therefore in the present disclosure embodiment, <action>We have presented methods for improving resources. In some embodiments, <action>Attributes <resultmode>By adding this attribute, the mode of the retrieve operation is determined, and the execution result <actionresult>It is possible to determine different types of operation results to be stored, and this attribute configuration is shown in Figure 7.

[0052] When Retrieve Mode is set to once (which can be indicated by "0"), the retrieve operation is performed only once, and the time interval between the execution of the retrieve operation is specified in the attribute. <duration>The result of the retrieve operation is determined by <actionresult>Remember it.

[0053] When Retrieve Mode is set to periodic (which can be represented by "1"), multiple retrieve operations are performed periodically, and the time interval between the retrieve operations is determined by the attribute. <duration>The result of each retrieve operation is determined by <actionresult>Remember it.

[0054] It is especially important to note that `duration` should not be a non-zero value, and if `duration` is set to 0, do not perform the `resultMode` selection operation.

[0055] In this scene, in Figure 5 <action1>in <actionresult>In contrast, the execution flow is as shown in Figure 8, mainly: The security management application, CO concentration sensor, and ventilation fan each send a registration request to the security management server. After registration is complete, the security management application controls the operation of the ventilation fan on the security management server. <action>The steps to create, The CO concentration sensor detects the indoor CO concentration in real time, sends the results to the security management server, and if the indoor CO concentration is greater than threshold A, the security management server sends an operation request to the ventilation fan to trigger the fan to turn on. The security management server sends a Retrieve request to the CO concentration sensor, the CO concentration sensor returns a Retrieve response (CO concentration data) to the security management server, and the security management server retrieves the CO concentration data. <actionresult>The security management server then stores the data and determines that the Retrieve Mode in resultMode is either once or periodic. If the Retrieve Mode is once, it checks the data at a pre-configured time interval. <duration>After that, the retrieve operation is performed only once, and the result of the operation (i.e., CO concentration) is obtained. <actionresult>It is stored in, and if Retrieve Mode is periodic, a pre-set time interval <duration>Each time the process is completed, the retrieve operation is performed periodically, and the result of each operation (i.e., the CO concentration) is calculated. <actionresult>This includes the step of storing in memory.

[0056] In a smart home environment, multiple actions can be created. As shown in Figure 9, four actions are used as an example, where different sensors detect temperatures in different spaces and trigger the corresponding air conditioner to turn on. This is the same as described above, so the explanation will be omitted here.

[0057] The flowchart for the action triggers and associations in this scene is shown in Figure 10. In this example, it can be seen that the trigger temperature thresholds for the four actions (32°C, 28°C, 28°C and 30°C) are all higher than the temperature (25°C). Since the attribute of all four is temperature, and as can be seen from the numerical comparison, the four actions can perform the function of lowering the temperature, and therefore the effect of executing these four actions is the same. However, since the first and second floors have little in common, associating these four actions may result in a poor association effect. In this case, the association conditions <actionrelationcriteria>By using this, the association results can be optimized by restricting the association of certain actions. For example, <action1>and <action2>Associate, <action3>and <action4>It is possible to associate them.

[0058] After associating actions, an action association method is used to control the execution status of those actions. <relatedactionsreltionship>By configuring this setting, execution methods such as simultaneous execution of operations, sequential execution, or execution of a second operation associated with the first operation failure can be realized. When configured for simultaneous execution, the execution flow after operations are associated is shown in Figure 11. When the second operation associated with the first operation failure is executed, the associated execution flow is shown in Figure 12.

[0059] As shown in Figure 11, if the operation association method is simultaneous execution, the first operation and the second operation are triggered simultaneously. As shown in Figure 12, if the operation association method is such that one operation failure triggers the execution of the associated operation, the second operation is triggered when the first operation fails to execute.

[0060] Furthermore, the methods according to the embodiments of this disclosure may be executed by a single device, such as a single computer or management server. The methods of the embodiments of this disclosure are also applicable to distributed scenes in which multiple devices cooperate with each other. In such distributed scenes, one of the multiple devices may perform only one or more steps of the methods of the embodiments of this disclosure, while the multiple devices interact with each other to complete the aforementioned methods.

[0061] Figure 13 is a schematic diagram of the hardware configuration of a more specific electronic device of this embodiment, which may include a processor 1310, memory 1320, input / output interface 1330, communication interface 1340, and bus 1350. The processor 1310, memory 1320, input / output interface 1330, and communication interface 1340 communicate with each other via the bus 1350.

[0062] The processor 1310 may be implemented in the form of a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to implement the technical proposal according to the embodiments of this disclosure by executing a related program. When the processor 1310 executes the program, the method described in the embodiments is implemented.

[0063] In some embodiments, the processor 1310 performs a load, The system can perform the following actions: trigger a first action to be performed by a first device and a second action to be performed by a second device; obtain feedback results for the first action and the second action, ensuring that the feedback results include at least one of the execution result and the execution effect; determine whether the first action and the second action can be associated based on the feedback results for the first action and the second action; and, if the first action and the second action can be associated, associate the first action and the second action.

[0064] In some embodiments, the processor 1310 performs a load, To determine whether the result of the first operation and the result of the second operation are the same, If the result of the first operation and the result of the second operation are the same, the first operation and the second operation are associated, If the result of the first operation and the result of the second operation are not the same, the effects of the first operation and the second operation can be obtained, and it can be determined whether the effects of the first operation and the second operation are the same. If the effects of the first operation and the second operation are the same, the first operation and the second operation can be associated.

[0065] In some embodiments, the processor 1310 performs a load, Based on pre-determined collection intervals and collection methods, the execution results of the target of the operation corresponding to the first operation and the execution results of the target of the operation corresponding to the second operation are obtained, respectively. The detection results of the detection target corresponding to the first operation and the detection results of the detection target corresponding to the second operation can be analyzed to obtain the effects of the first operation and the effects of the second operation.

[0066] In some embodiments, the processor 1310 performs a load, By combining pre-configured operating conditions, the detection results of the detection target corresponding to the first operation and the detection results of the detection target corresponding to the second operation can be analyzed to obtain the effects of the first operation and the effects of the second operation.

[0067] In some embodiments, the processor 1310 performs a load, Based on the pre-arranged association conditions for the first operation, it is determined whether the second operation conforms to the association conditions. If the second operation satisfies the association condition, the first operation and the second operation can be associated.

[0068] In some embodiments, the association condition includes at least one of the following: device location, device type, operation time, and operation priority.

[0069] In some embodiments, the processor 1310 performs a load, Based on the pre-arranged relationship between the first operation and the second operation, it is possible to associate the first operation with the second operation.

[0070] In some embodiments, the association relationship includes sequential execution, concurrent execution, and one in which an anomaly in an operation triggers the execution of an associated operation.

[0071] The memory 1320 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 1320 can store the operating system and other application programs, and when the technical proposal according to the embodiments of this disclosure is implemented by software or firmware, the relevant program code is stored in the memory 1320 and called and executed by the processor 1310. The memory 1320 is used to store data including at least one of the following: collection interval, collection method, execution results, execution effect, result data, operating conditions, association conditions, and operation association method.

[0072] The input / output interface 1330 is used to connect input / output modules to enable information input and output. Input / output modules may be configured as components of an electronic device (not shown) or may be externally connected to an electronic device to provide corresponding functionality. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0073] The communication interface 1340 is used to connect a communication module (not shown) to enable communication interaction between this electronic device and other devices. The communication module may communicate via a wired method (e.g., USB, network line, etc.) or a wireless method (e.g., mobile network, Wi-Fi, Bluetooth®, etc.).

[0074] Bus 1350 includes a single channel for transmitting information between each component of the electronic device (e.g., processor 1310, memory 1320, input / output interface 1330, and communication interface 1340).

[0075] Although the above-mentioned electronic device only shows the processor 1310, memory 1320, input / output interface 1330, communication interface 1340, and bus 1350, in a specific implementation, the electronic device may include other components necessary for normal operation. Furthermore, it will be understood by those skilled in the art that the above-mentioned electronic device may include only the components necessary to realize the embodiments of this disclosure, and does not necessarily have to include all the components shown in the figures.

[0076] The computer-readable media of embodiments of this disclosure include persistent and non-persistent, removable and non-removable media in which information storage can be realized by any method or technique. The information may be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random-access memory (SRAM), dynamic random-access memory (DRAM), other types of random-access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disk read-only memory (CD-ROM), digital purpose disc (DVD) or other optical storage devices, magnetic cassettes, magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information accessible by a computing device.

[0077] Those skilled in the art will understand that the above-described embodiments are merely illustrative and not intended to imply that the scope of the Disclosure, including the claims, is limited to these examples. They will also understand that, in the spirit of the Disclosure, the technical features of each of the above embodiments or different embodiments can be combined in any way, the steps can be performed in different orders, and that many other modifications exist in various aspects of the Disclosure, which are not provided for the sake of brevity.

[0078] Furthermore, to simplify the explanation and discussion and to ensure that the disclosure is not difficult to understand, well-known power / ground connections of integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, to avoid making the disclosure difficult to understand, and taking into account the fact that the details of the embodiments of the apparatus in these block diagrams are largely dependent on the platform on which the disclosure is implemented (i.e., these details should be within the understanding of those skilled in the art), the apparatus may be shown in the form of block diagrams. Where specific details (e.g., specific flows) are provided to illustrate exemplary embodiments of the disclosure, it will be obvious to those skilled in the art that the disclosure is implementable without these specific details, or with modifications to these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0079] Although this disclosure is described by combining its specific embodiments, many substitutions, modifications, and variations of these embodiments will be obvious to those skilled in the art from the foregoing description.

[0080] Embodiments of this disclosure are intended to encompass all substitutions, modifications, and variations within the broad scope of the attached claims. Accordingly, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this disclosure should be included within the scope of protection of this disclosure. [Explanation of Symbols]

[0081] 1310 Processor 1320 memory 1330 Input / Output Interface 1340 Communication Interface 1350 Bus< / relatedactionsreltionship> < / actionrelationcriteria> < / actionresult> < / duration> < / actionresult> < / duration> < / actionresult> < / action> < / actionresult> < / actionresult> < / duration> < / actionresult> < / duration> < / actionresult> < / resultmode> < / action> < / action> < / actioneffect> < / actionresult> < / actioneffect> < / relatedactionid> < / actioneffect> < / actioneffect> < / actioneffect> < / actionresult> < / actionresult> < / actionresult> < / actionresult> < / actioneffect> < / actioneffect> < / actioneffect> < / actionresult> < / outputresourceid> < / actioneffect> < / actioneffect> < / actioneffect> < / actionresult> < / actionresult> < / actionresult> < / actionresult> < / actionresult> < / actioneffect> < / action> < / action> < / resultmode>

Claims

1. triggering a first device to perform a first operation and a second device to perform a second operation, respectively, and obtaining a feedback result of the first operation and a feedback result of the second operation; determining whether the first action and the second action can be associated based on a feedback result of the first action and a feedback result of the second action, and associating the first action with the second action if the first action and the second action can be associated; The Internet of Things-based action association method, wherein the feedback result includes at least one of an execution result and an execution effect.

2. determining whether the first motion and the second motion can be associated based on a feedback result of the first motion and a feedback result of the second motion, and associating the first motion and the second motion if the first motion and the second motion can be associated; determining whether an execution result of the first operation and an execution result of the second operation are the same; If the execution result of the first operation and the execution result of the second operation are the same, associating the first operation with the second operation; 2. The method for associating actions based on the Internet of Things of claim 1, comprising: if the execution result of the first action and the execution result of the second action are not identical, acquiring an execution effect of the first action and an execution effect of the second action, determining whether the execution effect of the first action and the execution effect of the second action are identical, and if the execution effect of the first action and the execution effect of the second action are identical, associating the first action and the second action.

3. Obtaining the execution effect of the first action and the execution effect of the second action includes: Acquiring an execution result of an action result object corresponding to the first action and an execution result of an action result object corresponding to the second action based on a pre-arranged collection interval and a collection manner; 3. The Internet of Things-based action association method of claim 2, further comprising: calculating an execution effect of the first action and an execution effect of the second action based on an execution result of an action result object corresponding to the first action and an execution result of an action result object corresponding to the second action.

4. Calculating the execution effect of the first action and the execution effect of the second action based on the execution result of the action result object corresponding to the first action and the execution result of the action result object corresponding to the second action, calculating result data corresponding to the first action and result data corresponding to the second action based on an execution result of an action result object corresponding to the first action and an execution result of an action result object corresponding to the second action, respectively; 4. The Internet of Things-based action association method according to claim 3, further comprising: determining whether result data corresponding to the first action and result data corresponding to the second action satisfy pre-configured action conditions, respectively, to obtain an execution effect of the first action and an execution effect of the second action.

5. Associating the first operation with the second operation includes: determining whether the second action satisfies an association condition based on a pre-arranged association condition of the first action; and associating the first action with the second action if the second action meets the association condition.

6. The Internet of Things-based action association method according to claim 5 , wherein the association conditions include at least one of a device location, a device type, an operation time, and an operation priority.

7. Associating the first operation with the second operation includes:

2. The Internet of Things-based action association method of claim 1, comprising associating the first action and the second action based on a pre-configured action association scheme for the first action and the second action.

8. 8. The Internet of Things-based action association method of claim 7, wherein the action association scheme includes one of sequential execution, concurrent execution, and one action anomaly triggering the execution of associated actions.

9. The Internet of Things-based action association method according to claim 1 , which is applied to a service end.

10. a memory, a processor, and a computer program stored in the memory and executable by the processor; When the processor executes the program, the method according to any one of claims 1 to 9 is realized; The memory is an electronic device that stores data including at least one of a collection interval, a collection method, an execution result, an execution effect, result data, an action condition, an association condition, and an action association method.

11. A computer-readable storage medium having stored thereon computer instructions for causing a computer to carry out the method according to any one of claims 1 to 9.