Method for acquiring node information, and client and server
First Claim
1. A method for acquiring node information, which is adapted to optimize a Get command, which contains a plurality of items, in a device management protocol, comprising:
- receiving, by a Client, the Get command sent from a server, attempting to acquire by the Client values of nodes of the plurality of items in the Get command, and determining by the Client that acquirement of values of nodes in a subset of the plurality of items fails; and
sending, by the Client, to the server a response message which carries a new status value, which indicates that acquirement of values of nodes in a subset of the plurality of items fails when a Get command is executed, and the response message also carries a predetermined tag, wherein the predetermined tag which packets the information of the nodes in items in which acquirement of values is successful.
2 Assignments
0 Petitions
Accused Products
Abstract
The present invention discloses a method for acquiring node information, and a Client and a server, wherein the method includes: a Client receiving a Get command sent from a server, acquiring values of nodes in all items in the Get command, and determining that acquirement of values of nodes in partial items fails; and the Client sending to the server a response message which carries a new status value, wherein the new status value is adapted to indicate that acquirement of values of nodes in partial items fails when a Get command is executed, and the response message also carries a predetermined tag, wherein the predetermined tag is adapted to packet information of nodes in items in which acquirement of values is successful. By the above technical solution of the present invention, useful nodes can be acquired more effectively, nodes which can not be acquired can be located.
-
Citations
10 Claims
-
1. A method for acquiring node information, which is adapted to optimize a Get command, which contains a plurality of items, in a device management protocol, comprising:
-
receiving, by a Client, the Get command sent from a server, attempting to acquire by the Client values of nodes of the plurality of items in the Get command, and determining by the Client that acquirement of values of nodes in a subset of the plurality of items fails; and sending, by the Client, to the server a response message which carries a new status value, which indicates that acquirement of values of nodes in a subset of the plurality of items fails when a Get command is executed, and the response message also carries a predetermined tag, wherein the predetermined tag which packets the information of the nodes in items in which acquirement of values is successful. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A Client, which is adapted to optimize a Get command, which contains a plurality of items, in a device management protocol, wherein the Client comprises a hardware processor, which executes a receiving module, an acquirement module, a first determination module and a sending module, wherein:
-
the receiving module is adapted to receive the Get command sent from a server; the acquirement module is adapted to attempt to acquire values of nodes of the plurality of items in the Get command; the first determination module is adapted to determine that acquirement of values of nodes in a subset of the plurality of items fails; and the sending module is adapted to send to the server a response message which carries a new status value indicating that acquirement of values of nodes in a subset of the plurality of items fails when a Get command is executed, wherein the response message also carries a predetermined tag, wherein the predetermined tag which packets the information of nodes in items in which acquirement of values is successful. - View Dependent Claims (7)
-
-
8. A server, which is adapted to optimize a Get command, which contains a plurality of items, in a device management protocol, wherein the server comprises a hardware processor, which executes a sending module, a receiving module, wherein:
-
the sending module is adapted to send the Get command to a Client; and the receiving module is adapted to receive, from the Client, a response message which carries a new status value indicating that attempt to acquire values of nodes of a subset of the plurality of items fails when a Get command is executed;
wherein the response message also carries a predetermined tag, wherein the predetermined tag which packets the information of nodes in items in which acquirement of values is successful. - View Dependent Claims (9, 10)
-
Specification