Method and system for querying parameter information, and apparatus for returning parameter information
AssigneeHuawei Technologies Co., Ltd.
InventorGuiming Shu
Life of this patent
Estimating the term…
Abstract
The present invention provides a method and system for querying parameter information, and an apparatus for returning parameter information. The protocol layer that receives a query request establishes a correspondence between an acquired parameter value and a parameter name and returns the parameter value and the corresponding parameter name to the protocol layer that sends the query result. This can decrease the complexity of implementing the query mechanism. In addition, with the present invention, the MIH layer can also notify the upper layer/MIH users/NMS entity of the query result when returning the queried state information to the upper layer/MIH users/NMS entity.
Claims6
A method for querying parameter information, comprising:
- receiving, by a first protocol layer of a terminal, a query request for a plurality of parameters from a second protocol layer of the terminal;
- obtaining, by the first protocol layer of the terminal, parameter values of the plurality of parameters according to the query request;
- establishing, by the first protocol layer of the terminal, a first correspondence between a parameter value and a parameter name corresponding to each parameter of the plurality of parameters;
- and
- returning, by the first protocol layer of the terminal, the parameter value and the parameter name corresponding to each parameter of the plurality of parameters to the second protocol layer of the terminal according to the first correspondence;
- returning, by the first protocol layer of the terminal, status of query result of each parameter of the plurality of parameters to the second protocol layer of the terminal,
- wherein the second protocol layer of the terminal, after receiving the parameter value and the parameter name corresponding to each parameter of the plurality of parameters sent from the first protocol layer of the terminal according to the query request of the second protocol layer of the terminal, acquiring a state value according to the status of query result of each parameter of the plurality of parameters;
- establishing a second correspondence between the state value and the parameter name corresponding to each parameter of the plurality of parameters;
- and returning the state value and the parameter name corresponding to each parameter of the plurality of parameters to a third protocol layer of the terminal according to the second correspondence, wherein the third protocol layer of the terminal is any one of:
- an upper layer, MIH users, or a network management system (NMS) entity.
A system having memory and processor for querying parameter information, comprising:
- a first protocol layer of a terminal, adapted to receive a query request for a plurality of parameters from a second protocol layer of the terminal,
- obtain parameter values of the plurality of parameters according to the query request,
- establish a first correspondence between a parameter value and a parameter name corresponding to each parameter of the plurality of parameters, send the parameter value and the parameter name corresponding to each
- parameter of the plurality of parameters according to the first correspondence, and
- send status of query result of each parameter of the plurality of parameters;
- and
- a second protocol layer of the terminal, adapted to receive the parameter value and the parameter name according to the first correspondence and receive status of query result of each parameter of the plurality of parameters;
- the second protocol layer is further adapted to acquiring a state value according to the status of query result of each parameter of the plurality of parameters after receiving the parameter value and the parameter name corresponding to each parameter of the plurality of parameters sent from the first protocol layer of the terminal according to the query request of the second protocol layer of the terminal, establish a second correspondence between the state value and the parameter name corresponding to each parameter of the plurality of parameters, and return the state value and the parameter name corresponding to each parameter of the plurality of parameters to the third protocol layer according to the second correspondence.
An apparatus having memory and processor for returning parameter information, comprising:
- a first relation establishing unit of a terminal, adapted to obtain a link parameter value of each parameter of a plurality of parameters according to a query request, and establish a correspondence between the link parameter value and a link parameter name of the link parameter;
- and
- an first information transmitting unit of the terminal, adapted to return the link parameter value and the link parameter name to a MIH layer according to the correspondence;
- wherein the first relation establishing unit of the terminal is further adapted to establish a first correspondence between status of query result of each link parameter of the query request and the link parameter name or the link parameter value;
- and
- the first information transmitting unit of the terminal is further adapted to return the status of the query result of each link parameter value to the MIH layer according to the first correspondence;
- and
- a second relation establishing unit of a terminal, adapted to acquire state values of a plurality of states according to a query result sent from a protocol layer that receives a query request and establish a second correspondence between a state value of each state of the plurality of states and a parameter name corresponding to each parameter of the plurality of parameters;
- and
- an second information transmitting unit of the terminal, adapted to return the state value and the parameter name to a protocol layer according to the second correspondence;
- wherein the protocol layer is any one of:
- an upper layer, MIH users, or a NMS entity.
Dependencies are inferred from the claim text.