Method, apparatus, electronic device and storage medium for creating action resources
Abstract
A method, an apparatus, an electronic device, and a storage medium for creating action resources are disclosed. The method for creating action resources includes: receiving a creation request for a first action resource, wherein the creation request includes a first target resource and a first criterion, the first criterion being used to trigger a first operation for the first target resource according to a first condition; creating the first action resource according to the first criterion and the first target resource; and creating a second action resource, wherein the second action resource includes the first target resource and a second criterion, the second criterion being used to trigger a second operation for the first target resource according to a second condition, and wherein the second operation is different from the first operation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 0.
Claims (8 — 2 Independent, 6 Dependent)
- Claim 1Independent Claim
A method for controlling smart home devices performed by a server in Internet of Things, comprising: receiving, by the server, a creation request for a first action resource from an application device in the Internet of Things, wherein the creation request includes a first target resource for a first smart home device, a second target resource for a second smart home device and a first criterion, the first criterion being used to trigger, by the server, a first operation for the first target resource and a second operation for the second target resource according to a first condition; determining, by the server, a third action resource having higher priority based on the first target resource, wherein the third action resource is used to perform a third operation for the first target resource in a case that a third condition is satisfied, and the third operation is a reverse of the first operation; creating, by the server and in response to the creation request, the first action resour
- Claim 2Depends on #1
The method according to claim 1, wherein the first condition and the second condition are different.
- Claim 3Depends on #1
The method according to claim 1, wherein the first condition is that a value of an environment variable is greater than a first threshold, and the second condition is that the value of the environment variable is less than or equal to the first threshold.
- Claim 4Depends on #1
The method according to claim 1, wherein the first condition is that a value of an environment variable is greater than a first threshold, and the second condition is that the value of the environment variable is less than or equal to a second threshold, wherein the second threshold is less than the first threshold.
- Claim 5Depends on #1
The method according to claim 1, wherein the creating a second action resource includes: creating the second action resource in a case that there is no action resource for the second target resource before the first action resource is created.
- Claim 6Depends on #1
The method according to claim 1, wherein the creating a second action resource includes: creating the second action resource in a case that there is no action resource that triggers the fourth operation for the second target resource before the first action resource is created.
- Claim 7Independent Claim
A server in Internet of Things for controlling smart home devices, comprising at least one processor configured to: receive a creation request for a first action resource from an application device in the Internet of Things, wherein the creation request includes a first target resource for a first smart home device, a second target resource for a second smart home device and a first criterion, the first criterion being used to trigger, by the server, a first operation for the first target resource and a second operation for the second target resource according to a first condition; determine a third action resource having higher priority based on the first target resource, wherein the third action resource is used to perform a third operation for the first target resource in a case that a third condition is satisfied, and the third operation is a reverse of the first operation; create, in response to the creation request, the first action resource according to the first criterion, the
- Claim 8Depends on #1
An electronic device comprising a memory and a processor, wherein the memory has instructions stored thereon, which, when performed by the processor, cause the processor to perform the method according to claim 1.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS This application is a U.S. National Phase Entry of International Application No. PCT/CN2020/090190, filed on May 14, 2020, designating the United States of America and claiming priority to Chinese Patent Application No. 201910420257.5, filed on May 20, 2019. The present application claims priority to and the benefit of the above-identified applications and the above-identified applications are incorporated by reference herein in their entirety. TECHNICAL FIELD The present disclosure relates to a field of Internet of Things, and in particular, to a method, an apparatus, an electronic device, and a storage medium for creating action resources. BACKGROUND In an Internet of Things system, an application entity as an application program may deploy services on a common service entity as a service platform. After the service is deployed on the service platform, the application program may realize operations of the service directly on the service platform without participating in a process of realizing the service. For example, the service platform may provide common service functions for a plurality of different application programs. SUMMARY OF THE DISCLOSURE To this end, the present disclosure provides a method, an apparatus, an electronic device, and a storage medium for creating action resources. According to one aspect of the present disclosure, a method for creating action resources is provided, comprising: receiving a creation request for a first action resource, wherein the creation request includes a first target resource and a first criterion, the first criterion being used to trigger a first operation for the first target resource according to a first condition; creating the first action resource according to the first criterion and the first target resource; and creating a second action resource, wherein the second action resource includes the first target resource and a second criterion, the second criterion being used to
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (17)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- T. Perumal, M. N. Sulaiman, S. K. Datta, T. Ramachandran and C. Y. Leong,
- “
- Rule-based conflict resolution framework for Internet of Things device management in smart home environment,
- ”
- 2016 IEEE 5th Global Conference on Consumer Electronics, Kyoto, Japan, 2016, pp. 1-2. (Year: 2016).
- 3GPP,
- “
- 3rd Generation Partnership Project: Technical Specification Group Services and System Aspects; Service Requirement for Machine-Type Communications, Stage 1 (Release 13)
- ”
- Dec. 31, 2016; 3GPP TS 22.368 V13.2.0 (Dec. 2016).