Method and system for changing resource state, terminal, and storage medium
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorHai Tang
Life of this patent
Estimating the term…
Loading patent…
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorHai Tang
Estimating the term…
The present disclosure discloses a method and apparatus for changing a resource state, a terminal, and a storage medium, which belong to the field of smart home. A system for changing a resource state that includes a first collection resource, a first intermediate-level resource, and leaf node resources can be established. By making the first collection resource obtain link information of each leaf node resource whose resource state needs to be changed, a request that includes a default interface of the leaf node resource may be generated for the leaf node resource, such that a state of the leaf node resource can be changed accurately by the system. Therefore, the present disclosure enables the control request issued by a client to be recognized and executed by each leaf node resource, thereby increasing reliability and stability of system control.
A method for changing a resource state, applied in a first collection resource, wherein the first collection resource is directly linked to a first intermediate-level resource and directly linked to n1 leaf node resources, and the first intermediate-level resource is linked to m second intermediate-level resources and linked to n−n1 leaf node resources, where m is a natural number, n is a positive integer, and n1 is a natural number not greater than n, the method comprising:
A method for changing a resource state, applied in a first intermediate-level resource, wherein a first collection resource is directly linked to the first intermediate-level resource and directly linked to n1 leaf node resources, and the first intermediate-level resource is linked to m second intermediate-level resources and linked to n−n1 leaf node resources, where m is a natural number, n is a positive integer, and n1 is a natural number not greater than n, the method comprising:
An apparatus for changing a resource state, applied in a first collection resource, wherein the first collection resource is directly linked to a first intermediate-level resource and directly linked to n1 leaf node resources, and the first intermediate-level resource is linked to m second intermediate-level resources and linked to n−n1 leaf node resources, where m is a natural number, n is a positive integer, and n1 is a natural number not greater than n, the apparatus comprising a processor and a memory, wherein the memory stores at least one instruction, and the at least one instruction is loaded and executed by the processor to perform operations comprising:
Dependencies are inferred from the claim text.