IP Library › Granted Patent US 9,467,499
Granted Patent B2
US 9,467,499 · App. 13/784,328 · Granted Oct 11, 2016

Method and management apparatus for performing operation on device resource

Inventors: Yonggang Bian (Nanjing, CN); Yongjing Zhang (Nanjing, CN); Lunjian Mu (Shenzhen, CN); Jue Wang (Nanjing, CN); Lei Jin (Nanjing, CN); Ke Xu (Nanjing, CN)
Assignee: Huawei Technologies Co., Ltd.
H04L67/10H04L41/00H04L41/0293H04W4/005H04L47/70H04L47/78
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,467,499
App. No.
13/784,328
Granted
Oct 11, 2016
Kind
B2
Abstract

A method for performing an operation on a device resource includes: receiving a first request, which is requests an operation on a device resource, where a destination address of the first request is a mapped address of the device resource on a management apparatus; determining, that the device resource is created on a device corresponding to the device resource; generating a second request for performing an operation on the device resource on the device; and transmitting the second request to the device. A management apparatus for performing an operation on a device resource is also provided. By using the present invention, the complexity for the network application to perform an operation on the device resource can be reduced, and the convenience for the network application to perform an operation on the device resource can be improved. Therefore, extensive application of M2M can further be promoted.

Claims (52)

1. A method for performing, by a management apparatus comprising a processor configured to execute programs stored on a non-transitory computer readable medium, an operation on a device resource, comprising:

receiving, by the management apparatus, a first request, from a network application that requests the operation on the device resource, wherein the first request includes a destination address that is a mapped address of the device resource on the management apparatus;

determining, by the management apparatus according to the mapped address, that the device resource is located on a device corresponding to the device resource;

generating, by the management apparatus based on receipt of the first request and a description resource of the device resource, a second request for performing the operation on the device resource on the device, wherein the second request includes a destination address that is an address of the device resource on the device;

transmitting, by the management apparatus, the second request to the device;

determining, according to the mapped address, that the device resource is located on the management apparatus;

performing a corresponding operation on the device resource according to the first request; and

transmitting, to the network application, a first response for responding to the first request.

2. The method according to claim 1 , wherein before receiving the first request from the network application that requests the operation on the device resource, the method further comprises:

receiving a description resource creating request transmitted by the device; and

creating, based on the description resource creating request, the description resource, wherein the description resource comprises the address of the device resource on the device and an identifier of the device resource.

3. The method according to claim 2 , further comprising:

transmitting, to the device, a description resource creation success reply for replying to the description resource creating request, wherein the description resource creation success reply comprises an address of the description resource.

4. The method according to claim 1 , further comprising:

after receiving the first request from the network application that requests the operation on the device resource, performing an authorization check to determine that the first request is allowed.

5. The method according to claim 1 , wherein generating the second request for performing the operation on the device resource on the device comprises:

generating, based on a protocol for communication between the management apparatus and the device, the second request.

6. The method according to claim 1 , further comprising:

receiving a second response, which is transmitted by the device and responds to the second request; and

transmitting, to the network application based on the second response, the first response for responding to the first request.

7. The method according to claim 6 , wherein when the second response indicates that the device resource is successfully acquired, the method further comprises:

updating an application data instance that corresponds to the device and is in a logic model of a device resource interface of the management apparatus.

8. The method according to claim 7 , wherein receiving the first request from the network application that requests the operation on the device resource comprises:

receiving the first request from the network application, wherein the first request requests transmitting a control command to the device resource.

9. The method according to claim 8 , wherein when the second response indicates that the control command is successfully transmitted to the device resource, the method further comprises:

recording the control command on the management apparatus.

10. The method according to claim 1 , wherein receiving the first request from the network application that requests the operation on the device resource comprises:

receiving the first request from the network application that requests acquiring the device resource.

11. A non-transitory computer readable medium including computer-executable instructions for execution on a management apparatus for performing an operation on a device resource, such that when the computer-executable instructions are executed by the management apparatus a method is carried out comprising:

receiving a first request, from a network application that requests the operation on the device resource, wherein the first request includes a destination address that is a mapped address of the device resource on the management apparatus;

determining according to the mapped address, that the device resource is located on a device corresponding to the device resource;

generating based on receipt of the first request and a description resource of the device resource, a second request for performing the operation on the device resource on the device, wherein the second request includes a destination address that is an address of the device resource on the device;

transmitting the second request to the device;

determining, according to the mapped address, that the device resource is created on the management apparatus;

performing a corresponding operation on the device resource according to the first request; and

transmitting, to the network application, a first response for responding to the first request.

12. The computer readable medium according to claim 11 , further comprising instructions for:

receiving a description resource creating request transmitted by the device; and

creating based on the description resource creating request, the description resource, wherein the description resource comprises the address of the device resource on the device and an identifier of the device resource.

13. The computer readable medium according to claim 12 , further comprising instructions for:

transmitting to the device, a description resource creation success reply for replying to the description resource creating request, wherein the description resource creation success reply comprises an address of the description resource.

14. The computer readable medium according to claim 11 , further comprising instructions for:

performing an authorization check to determine that the first request is allowed.

15. The computer readable medium according to claim 11 , wherein the generating the second request for performing the operation on the device resource on the device instructions further included instructions for

generating, based on a protocol for communication between the management apparatus and the device, the second request.

16. The computer readable medium according to claim 11 , further comprising instructions for:

receiving a second response, which is transmitted by the device and responds to the second request; and

transmitting, based on the second response, the first response for responding to the first request to the network application.

17. The computer readable medium according to claim 16 , further comprising instructions for:

updating an application data instance that corresponds to the device and is in a logic model of a device resource interface of the management apparatus when the first request comprises a request to acquire the device resource and the second response indicates that the device resource is successfully acquired.

18. The computer readable medium according to claim 17 , further comprising instructions for:

recording, when the first request comprises a request to transmit a control command to the device resource and the second response indicates that the control command is successfully transmitted to the device resource, the control command on the management apparatus.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 1, 2022
From: HUAWEI TECHNOLOGIES CO., LTD.
To: HUAWEI CLOUD COMPUTING TECHNOLOGIES CO., LTD.
Reel/Frame 059267/0088 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 7, 2013
From: BIAN, YONGGANG; ZHANG, YONGJING; MU, LUNJIAN; WANG, JUE; JIN, LEI; XU, KE
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 029943/0260 →
Priority Claims (1)
CN 2011 1 0040791 · Feb 18, 2011 · national
Continuity (2)
Continuation PCTCN2011078898 · Aug 25, 2011
Related Publication 20130179557A1 · Jul 11, 2013