Method and apparatus for managing aspect and aspect trigger
Abstract
The present invention discloses a method and an apparatus for managing an aspect and an aspect trigger. The method for managing an aspect and an aspect trigger includes the following steps: the apparatus for managing an aspect and an aspect trigger receives a request message that carries a definition and a storage path of an aspect and/or aspect trigger, where the aspect is an abstraction of one or more information elements or represents one or more types of information elements needed to be obtained, and the aspect trigger represents to perform a corresponding trigger action when a specific aspect fulfills a preset condition; and the apparatus for managing an aspect and an aspect trigger parses the request message, and creates, according to the storage path, a document that includes the definition of the aspect and/or aspect trigger.
Claims
exact text as granted — not AI-modified1 . A method for managing an aspect and an aspect trigger, comprising:
receiving a request message that carries a definition and a storage path of an aspect or aspect trigger, wherein the aspect is an abstraction of one or more information elements or represents one or more types of information elements needed to be obtained, and the aspect trigger represents to perform a corresponding trigger action when a specific aspect fulfills a preset condition; and parsing the request message, and creating, according to the storage path, a document that comprises the definition of the aspect or aspect trigger.
2 . The method according to claim 1 , wherein:
the definition of the aspect supports aspect nesting.
3 . The method according to claim 1 , further comprising at least one of the following steps:
receiving a MODIFY request, and modifying, according to the MODIFY request, the definition of the aspect or aspect trigger included in the document; receiving a DELETE request, and deleting, according to the DELETE request, the definition of the aspect or aspect trigger included in the document; receiving a GET request, and sending, according to the GET request, the definition of the aspect or aspect trigger included in the document to a requester; and receiving a CREATE request that carries a new element or new attribute of the aspect or aspect trigger, and adding, according to the CREATE request, the new element or new attribute to the document.
4 . The method according to claim 1 , further comprising:
receiving a sharing request that carries sharing setting information of the aspect or aspect trigger needed to be shared; and adding, according to the sharing request, an element indicating the sharing setting information to the document that comprises the definition of the aspect or aspect trigger, or creating a document that comprises the sharing setting information of the aspect or aspect trigger.
5 . The method according to claim 1 , further comprising:
receiving a search request that comprises a search condition; searching for information about the aspect or aspect trigger meeting the search condition, and returning the information to a requester.
6 . An apparatus for managing an aspect and an aspect trigger, comprising:
a receiving unit, configured to receive a request message that carries a definition and a storage path of an aspect or aspect trigger, wherein the aspect is an abstraction of one or more information elements or represents one or more types of information elements needed to be obtained, and the aspect trigger represents to perform a corresponding trigger action when a specific aspect fulfills a preset condition; and a processing unit, configured to parse the request message, and create, according to the storage path, a document that comprises the definition of the aspect or aspect trigger.
7 . The apparatus according to claim 6 , wherein:
the receiving unit is further configured to receive a MODIFY request, and the processing unit is further configured to find a corresponding document according to the MODIFY request, and modify the definition of the aspect or aspect trigger in the document; or the receiving unit is further configured to receive a DELETE request, and the processing unit is further configured to find a corresponding document according to the DELETE request, and delete the definition of the aspect or aspect trigger in the document; or the receiving unit is further configured to receive a GET request, and the processing unit is further configured to find a corresponding document according to the GET request, and send the definition of the aspect or aspect trigger in the document to a requester; or the receiving unit is further configured to receive a CREATE request that carries a new element or new attribute of the aspect or aspect trigger, and the processing unit is further configured to add the new element or new attribute to the document according to the CREATE request.
8 . The apparatus according to claim 6 , wherein:
the receiving unit is further configured to receive a sharing request that comprises sharing setting information of the aspect or aspect trigger needed to be shared; and the processing unit is further configured to: add, according to the sharing request, an element indicating the sharing setting information to the document that comprises the definition of the aspect or aspect trigger; or create a document that comprises the sharing setting information of the aspect or aspect trigger.
9 . The apparatus according to claim 6 , wherein:
the receiving unit is further configured to receive a search request; and the processing unit is further configured to search for information about the aspect or aspect trigger meeting the search condition, and return the information to a requester.
10 . The apparatus according to claim 6 , further comprising:
a responding unit, configured to return a response message to a sender of the request message.
11 . A method for managing an aspect and an aspect trigger, comprising:
generating a request message that carries a definition and a storage path of an aspect or aspect trigger; and sending the request message to an apparatus for managing an aspect and an aspect trigger on a network side so that the apparatus for managing an aspect and an aspect trigger stores, according to the storage path, the definition of the aspect or aspect trigger.
12 . The method according to claim 11 , further comprising:
requesting the apparatus for managing an aspect and an aspect trigger to delete or modify the definition of the aspect or aspect trigger, or to add a new element or new attribute to the definition of the aspect or aspect trigger.
13 . The method according to claim 11 , wherein:
the request message is sent in the form of an XML Configuration Access Protocol (XCAP) PUT request, wherein XML stands for Extensible Markup Language.
14 . The method according to claim 12 , wherein:
an XML Configuration Access Protocol (XCAP) DELETE request is sent to the apparatus for managing an aspect and an aspect trigger to delete the stored definition of the aspect or aspect trigger, wherein XML stands for Extensible Markup Language; and an XCAP PUT request is sent to the apparatus for managing an aspect and an aspect trigger to modify the stored definition of the aspect or aspect trigger, or add a new element or new attribute to the definition of the aspect or aspect trigger.
15 . The method according to claim 11 , further comprising:
when it is necessary to use the definition of the aspect or aspect trigger, sending an XML Configuration Access Protocol (XCAP) GET request to obtain the definition of the aspect or aspect trigger stored in the apparatus for managing an aspect and an aspect trigger, wherein XML stands for Extensible Markup Language.
16 . The method according to claim 11 , wherein before generating the request message, the method further comprises:
receiving the definition of the aspect or aspect trigger; or creating the definition of the aspect or aspect trigger.
17 . An apparatus for processing an aspect and an aspect trigger, comprising:
a request generating unit, configured to generate a request message that carries a definition and a storage path of an aspect or aspect trigger; and a sending unit, configured to send the request message to an apparatus for managing an aspect and an aspect trigger on a network side so that the apparatus for managing an aspect and an aspect trigger stores, according to the storage path, the definition of the aspect or aspect trigger.
18 . The apparatus according to claim 17 , further comprising:
a receiving unit, configured to receive a service request that carries the definition of the aspect or aspect trigger; or a creating unit, configured to create the definition of the aspect or aspect trigger.
19 . The apparatus according to claim 17 , wherein:
the request generating unit is further configured to generate a DELETE request, requesting the apparatus for managing an aspect and an aspect trigger to delete the definition of the aspect or aspect trigger; and the sending unit is further configured to send the DELETE request; or the request generating unit is further configured to generate a MODIFY request, requesting the apparatus for managing an aspect and an aspect trigger to modify the definition of the aspect or aspect trigger; and the sending unit is further configured to send the MODIFY request; or the request generating unit is further configured to generate a CREATE request, requesting the apparatus for managing an aspect and an aspect trigger to add a new element or new attribute to the definition of the aspect and/or aspect trigger; and the sending unit is further configured to send the CREATE request; or the request generating unit is further configured to generate a GET request, requesting to obtain the definition of the aspect or aspect trigger from the apparatus for managing an aspect and an aspect trigger; and the sending unit is further configured to send the GET request.Cited by (0)
No later patents cite this yet.
References (0)
No backward citations on record.