Method, apparatus, and system for executing distributed transaction resources
First Claim
1. A method for executing distributed transaction resources for a machine to machine communications (M2M) system, the method comprising:
- receiving, by a first managed object device of the M2M system, a first transaction resource creation request sent by an application server of the M2M system for a first transaction, wherein the first transaction resource creation request comprises an identifier of a first to-be-operated resource, a first execution time, and a first to-be-executed operation;
receiving, by a second managed object device of the M2M system different from the first managed object device, a second transaction resource creation request sent by the application server for the first transaction, wherein the second transaction resource creation request comprises an identifier of a second to-be-operated resource, a second execution time, and a second to-be-executed operation, and the first execution time and the second execution time are the same;
successfully creating, by the first managed object device, a first transaction resource of the first transaction according to the first transaction resource creation request, and successfully creating, by the second managed object device, a second transaction resource of the first transaction according to the second transaction resource creation request, wherein the first transaction resource comprises the first execution time and the first to-be-executed operation, and the second transaction resource comprises the second execution time and the second to-be-executed operation; and
sending, by the first managed object device, a response indicative of successful creation of the first transaction resource of the first transaction to the application server, and sending, by the second managed object device, a response indicative of successful creation of the second transaction resource of the first transaction to the application server.
2 Assignments
0 Petitions
Accused Products
Abstract
The method includes: receiving, by a first managed object device, a first transaction resource creation request that is sent by an application server and includes an identifier of a first to-be-operated resource, a first execution time, and a first to-be-executed operation; receiving, by a second managed object device, a second transaction resource creation request that is sent by the application server and includes an identifier of a second to-be-operated resource, a second execution time, and a second to-be-executed operation, where the first execution time and the second execution time are the same; successfully creating, by the first managed object device, a first transaction resource according to the first transaction resource creation request, and successfully creating, by the second managed device, a second transaction resource according to the second transaction resource creation request.
10 Citations
19 Claims
-
1. A method for executing distributed transaction resources for a machine to machine communications (M2M) system, the method comprising:
-
receiving, by a first managed object device of the M2M system, a first transaction resource creation request sent by an application server of the M2M system for a first transaction, wherein the first transaction resource creation request comprises an identifier of a first to-be-operated resource, a first execution time, and a first to-be-executed operation; receiving, by a second managed object device of the M2M system different from the first managed object device, a second transaction resource creation request sent by the application server for the first transaction, wherein the second transaction resource creation request comprises an identifier of a second to-be-operated resource, a second execution time, and a second to-be-executed operation, and the first execution time and the second execution time are the same; successfully creating, by the first managed object device, a first transaction resource of the first transaction according to the first transaction resource creation request, and successfully creating, by the second managed object device, a second transaction resource of the first transaction according to the second transaction resource creation request, wherein the first transaction resource comprises the first execution time and the first to-be-executed operation, and the second transaction resource comprises the second execution time and the second to-be-executed operation; and sending, by the first managed object device, a response indicative of successful creation of the first transaction resource of the first transaction to the application server, and sending, by the second managed object device, a response indicative of successful creation of the second transaction resource of the first transaction to the application server. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. A method for executing distributed transaction resources for a machine to machine communications (M2M) system, the method comprising:
-
sending, by an application server of the M2M system, a first transaction resource creation request for a first transaction to a first managed object device of the M2M system, wherein the first transaction resource creation request comprises an identifier of a first to-be-operated resource, a first execution time, and a first to-be-executed operation; sending, by the application server, a second transaction resource creation request for the first transaction to a second managed object device of the M2M system, wherein the second transaction resource creation request comprises an identifier of a second to-be-operated resource, a second execution time, and a second to-be-executed operation, and the first execution time and the second execution time are the same; and receiving, by the application server, within a preset time, a response that is sent by the second managed object device and that is indicative of successful creation of a second transaction resource of the first transaction, and receiving, within the preset time, a response that is sent by the first managed object device and that is indicative of successful creation of a first transaction resource of the first transaction. - View Dependent Claims (11, 12)
-
-
13. An application server for a machine to machine communications (M2M) system comprising:
-
a processor; a memory storing a program to be executed in the processor, the program comprising instructions for; sending a first transaction resource creation request for a first transaction to a first managed object device of the M2M system, wherein the first transaction resource creation request comprises an identifier of a first to-be-operated resource, a first execution time, and a first to-be-executed operation; sending a second transaction resource creation request for the first transaction to a second managed object device of the M2M system, wherein the second transaction resource creation request comprises the identifier of the first to-be-operated resource, a second execution time, and a second to-be-executed operation, and the first execution time and the second execution time are the same; and receiving, within a preset time, a response that is sent by the second managed object device and that is indicative of successful creation of a second transaction resource of the first transaction; receiving a response that is sent by the first managed object device and that is indicative of successful creation of a first transaction resource of the first transaction. - View Dependent Claims (14, 15)
-
-
16. A managed object device in a machine to machine communications (M2M) system, the managed object device comprising:
-
a processor; a memory storing a program to be executed in the processor, the program comprising instructions for;
receiving a first transaction resource creation request sent by an application server of the M2M system for a first transaction, wherein the first transaction resource creation request comprises an identifier of a first to-be-operated resource, a first execution time, and a first to-be-executed operation, the first execution time is the same as a second execution time in a second transaction resource creation request for the first transaction, and the second transaction resource creation request is received by a second managed object device of the M2M system other than the managed object device in the M2M system;successfully creating a first transaction resource according to the first transaction resource creation request, wherein the first transaction resource comprises the first execution time and the first to-be-executed operation; determining, when the first execution time arrives, that a processing request sent by the application server for the first transaction resource of the first transaction is not received, wherein the processing request for the first transaction resource of the first transaction is sent after the application server receives a response that is sent by the second managed object device and that is indicative of unsuccessful creation of a second transaction resource of the first transaction; and executing the first to-be-executed operation. - View Dependent Claims (17, 18, 19)
-
Specification