Method for implementing context aware service application and related apparatus
First Claim
1. A method for implementing a context aware service application, comprising a context aware service platform having at least a processor executing program codes of the context aware service application stored in a non-transitory computer readable memory to perform functions, comprising:
- receiving a first context request from a context aware client, wherein the first context request carries description information corresponding to requested context information; and
matching a released context source by using the description information, and if matching succeeds, acquiring context information provided by at least one matched context source, and sending acquired context information to the context aware client, wherein the acquiring of context information provided by the at least one matched context source, comprising;
filtering a collection of matched context sources according to a preset preference policy, and delivering, to the context aware client, information about the collection of matched context sources acquired by filtering the collection of matched context sources; and
if a first selective context request from the context aware client is received, and the first selective context request carries information about a context source selected by the context aware client from the collection of context sources, acquiring context information provided by the context source selected by the context aware client.
1 Assignment
0 Petitions
Accused Products
Abstract
Embodiments of the present disclosure disclose a method for implementing a context aware service application and a related apparatus. One method for implementing a context aware service application includes: receiving, by a context aware service platform, a first context request from a context aware client, where the first context request carries description information corresponding to requested context information; and matching released context sources by using the description information, and if matching succeeds, acquiring context information provided by at least one matched context source, and sending the acquired context information to the context aware client. The technical solutions according to the embodiments of the present disclosure help implement the context aware service application in a flexible and standard manner.
32 Citations
11 Claims
-
1. A method for implementing a context aware service application, comprising a context aware service platform having at least a processor executing program codes of the context aware service application stored in a non-transitory computer readable memory to perform functions, comprising:
-
receiving a first context request from a context aware client, wherein the first context request carries description information corresponding to requested context information; and matching a released context source by using the description information, and if matching succeeds, acquiring context information provided by at least one matched context source, and sending acquired context information to the context aware client, wherein the acquiring of context information provided by the at least one matched context source, comprising; filtering a collection of matched context sources according to a preset preference policy, and delivering, to the context aware client, information about the collection of matched context sources acquired by filtering the collection of matched context sources; and if a first selective context request from the context aware client is received, and the first selective context request carries information about a context source selected by the context aware client from the collection of context sources, acquiring context information provided by the context source selected by the context aware client. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for implementing a context aware service application, comprising a context aware service client having at least a processor executing program codes of the context aware service application stored in a non-transitory computer readable memory to perform functions, comprising:
-
when triggered by a local application, sending a first context request to a context aware service platform, wherein the first context request carries description information corresponding to requested context information; and if context information delivered by the context aware service platform is received, adapting the context information to the local application; if information about a collection of released context sources successfully matched by using the description information delivered by the context aware service platform is received, selecting a context source from the collection of the context sources according to a user instruction or a preset policy, and acquiring context information provided by the selected context source, wherein the selecting of the context source from the collection of the context sources according to a preset policy comprises; selecting according to the preset policy, from the collection of the context sources, a local context source that meets requirements; and
if the collection of the context sources does not comprise the local context source that meets requirements, selecting, from the collection of the context sources, a non-local context source that meets requirements.
-
-
10. A context aware service platform device, comprising:
-
a transceiver, a processor functionally coupled to a non-transitory computer readable storage medium which stores instruction codes of a context aware service application executable by the processor, wherein; the transceiver is configured to receive a first context request from a context aware client, wherein the first context request carries description information corresponding to requested context information; and the instruction codes of the context aware service application when executed by the processor; cause the context aware service platform device to match released context sources by using description information, and if matching succeeds, acquire context information provided by at least one matched context source, wherein the transceiver is further configured to send acquired context information to the context aware client; wherein the acquiring of the context information provided by at least one matched context source, comprising; filtering a collection of matched context sources according to a preset preference policy, and delivering, to the context aware client, information about the collection of matched context sources acquired by filtering the collection of matched context sources; and if a first selective context request from the context aware client is received, and the first selective context request carries information about a context source selected by the context aware client from the collection of context sources, acquiring context information provided by the context source selected by the context aware client.
-
-
11. A context aware client, comprising:
-
a transceiver, a processor functionally coupled to a non-transitory computer readable storage medium which stores instruction codes of a context aware service application executable by the processor , wherein; the transceiver is configured to send, a first context request to a context aware service platform when triggered by a local application, and to receive context information delivered by the context aware service platform, or to receive information about a collection of released context sources successfully matched by utilizing the description information delivered by the context aware service platform, wherein the first context request carries description information corresponding to requested context information; and the computer instruction codes of the context aware service application, when executed by the processor; cause the context aware service platform device to adapt the context information to the local application, if context information delivered by the context aware service platform is received, and select a context source from the collection of the context sources according to a user instruction or a preset policy, and acquire context information provided by the selected context source if information about a collection of released context sources successfully matched by using the description information delivered by the context aware service platform is received; wherein the selecting of the context source from the collection of the context sources according to a preset policy comprises; selecting according to the preset policy, from the collection of the context sources, a local context source that meets requirements; and if the collection of the context sources does not comprise the local context source that meets requirements, selecting from the collection of the context sources, a non-local context source that meets requirements.
-
Specification