CN101064692B - Method, apparatus and system for publishing present information - Google Patents

Method, apparatus and system for publishing present information Download PDF

Info

Publication number
CN101064692B
CN101064692B CN2006100605584A CN200610060558A CN101064692B CN 101064692 B CN101064692 B CN 101064692B CN 2006100605584 A CN2006100605584 A CN 2006100605584A CN 200610060558 A CN200610060558 A CN 200610060558A CN 101064692 B CN101064692 B CN 101064692B
Authority
CN
China
Prior art keywords
presentation information
document
segment
xcap
synthetic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2006100605584A
Other languages
Chinese (zh)
Other versions
CN101064692A (en
Inventor
鲍洪庆
孙谦
招扬
彭程晖
田林一
宋雪飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2006100605584A priority Critical patent/CN101064692B/en
Publication of CN101064692A publication Critical patent/CN101064692A/en
Application granted granted Critical
Publication of CN101064692B publication Critical patent/CN101064692B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention fits for communication fields, and provides a distributing method, equipment and system of presenting information, said method includes said steps: receiving the first presenting information distributed by XCAP and the second presenting information distributed by SIP by the same presenter, said second presenting information possesses period of validity; said first presenting information and said second presenting information are combined to presenting file. By the invention, presenter can issue presenting information via XCAP to make the presenting information not depend on renovation of equipment. At the same time, the presenter can combine the SIP information and XCAP information to the same file to distribute to observer.

Description

A kind of dissemination method of presentation information, equipment and system
Technical field
The invention belongs to the communications field, relate in particular to a kind of dissemination method of presentation information, the delivery system of presence server and presentation information.
Background technology
(Open Mobile Alliance OMA) has defined and has presented business Open Mobile Alliance, is used to collect, the presentation information of processing and dispatch user or other entities, comprises whether the user is online, the user is current position and mood of user etc.
Presenting system can be divided into and present body, presence server and three elements of observer.Present body its presentation information is published to presence server.Presence server receives the presentation information that presents the body issue, handles presentation information, and the notification message that reception observer's subscribe request also will comprise presentation information sends to the observer.The observer subscribes to the presentation information that presents body to presence server, receives the notification message that presence server sends.
At present, presenting the body issuing and presenting information generally is to be undertaken by (Session Initiation Protocol, session initiation protocol) SIP PUBLISH mode, and use SIP PUBLISH has certain limitation and can not satisfy the needs that are provided with of presentation information.Topmost problem is that the state that SIP PUBLISH creates lost efficacy behind certain hour, must carry out refresh operation, and refreshing of the lasting dependence vehicular equipment of presentation information state is not suitable for the lasting effectively issue of presentation information, for example following two kinds of situations:
1. user's relevant information is set.When not having vehicular equipment to issue, the user often wishes to be provided with the present condition that is of one section duration, for example travelling, vacation etc.
2. be that a service of opening is provided with state, even if the online equipment that the user was not moving at that time.For example: E-mail, multi-media SMS business (Multimedia Message Service, MMS) or short message service (Short Message Service, SMS).
Summary of the invention
The object of the present invention is to provide a kind of dissemination method of presentation information, when being intended to solve the employing SIP PUBLISH issuing and presenting information that exists in the prior art, the state of establishment lost efficacy behind certain hour, was not suitable for issuing the lasting effectively problem of presentation information.
Another object of the present invention is to provide a kind of and the corresponding presence server of said method.
Another object of the present invention is to provide a kind of and the delivery system corresponding presentation information of said method.
The present invention is achieved in that a kind of dissemination method of presentation information, and described method comprises the steps:
1.1 receive the same body that presents by first presentation information of XCAP message issue and second presentation information of issuing by sip message, described second presentation information is provided with the term of validity;
1.2 described first presentation information and second presentation information synthesized present document.
Described reception is same to be presented the step of body by first presentation information of XCAP message issue and comprises the steps:
2.1 subscribe to present body present the document change information;
2.2 receive subscribing notification message, extract comprise in the message body present body present the document change information, the described document change information that presents comprises presentation information, the presentation information of modification or the presentation information of deletion that presents the body issue.
In presenting the building-up process of document, when the presentation information value of the presentation information segment that is designated first presentation information was conflicted with the presentation information value of the presentation information segment that is designated second presentation information, selection was designated the presentation information value of the presentation information segment of second presentation information.
Described step 1.2 further comprises the steps:
3.1 the record presentation information with synthesize after present the correspondence relationship information between the corresponding presentation information segment in the document;
3.2 present document according to described correspondence relationship information renewal.
Described corresponding relation comprises the synthetic point and the independent point of presentation information segment, described synthetic point is the corresponding station location marker of presentation information segment in presenting document, part the station location marker during presenting document of described independent point for not changing in the corresponding presentation information segment.
Described station location marker is by XPath expression formula sign.
The station location marker of described independent point is by the XPath expression formula sign of synthetic relatively point.
When presenting document and upgrade, if the presentation information segment is modified, and only revised the presentation information segment of independent point correspondence, then corresponding modify independent point correspondence present in the document corresponding presentation information segment, otherwise the result after will following two presentation information segments synthetic replaces the presentation information segment of synthetic some correspondence:
Presentation information segment in the presentation information segment of a. synthetic some correspondence except that the presentation information segment of described independent point correspondence, and
B. described amended presentation information segment.
Described step 1.2 further comprises the steps:
9.1 sign is stored first presentation information and second presentation information that receives respectively.
Described sign respectively is stored as first presentation information with in second presentation information is stored in different record sheets respectively, perhaps will described first presentation information and second presentation information identify by the source identification field and be stored in the same record sheet.
Described method further comprises:
When observer's distribution presents document, if present the presentation information value of the existing second presentation information correspondence of presentation information segment in the document, when having the presentation information value of the first presentation information correspondence again, then select the presentation information value of the second presentation information correspondence to be distributed to the observer.
A kind of presence server, described presence server comprises:
The presentation information receiver module is used to receive the same body that presents by first presentation information of XCAP message issue and second presentation information of issuing by sip message, and described second presentation information is provided with the term of validity;
The state-event synthesis module is used for described first presentation information and second presentation information synthesized and presents document; And
The presentation information database, be used for storing first, second presentation information of receiving, present document and presentation information with synthetic after present correspondence relationship information between the corresponding presentation information segment of document.
Described presence server further comprises:
The XCAP service module is used to receive the XCAP message that presents the body transmission, extracts the presentation information in the message, and described presentation information is sent to the presentation information receiver module.
Described presence server further comprises:
The presentation information enquiry module is used to receive the presentation information query messages that client sends, and the querying condition in the message is sent to the XCAP service module, receives the Query Result of XCAP service module, and Query Result is returned client.
Described corresponding relation comprises the synthetic point and the independent point of presentation information segment, described synthetic point is the corresponding station location marker of presentation information segment in presenting document, the station location marker of part in presenting document that does not change in the presentation information segment of described independent point correspondence.
Described station location marker is by XPath expression formula sign.
The station location marker of described independent point is by the XPath expression formula sign of synthetic relatively point.
A kind of delivery system of presentation information, described system comprises:
The XCAP server, be used to receive present body by XCAP message issue first presentation information; And
Presence server, be used to receive first presentation information that the XCAP server sends, and present second presentation information of body by sip message issue, and first presentation information and second presentation information are synthesized presenting document, described second presentation information is provided with the term of validity.
Described presence server comprises:
The presentation information receiver module is used to receive described first presentation information and second presentation information;
The state-event synthesis module is used for described first presentation information and second presentation information synthesized and presents document; And
The presentation information database, be used for storing first, second presentation information of receiving, present document and presentation information with synthetic after present correspondence relationship information between the corresponding presentation information segment of document.
Described corresponding relation comprises the synthetic point and the independent point of presentation information segment, described synthetic point is the corresponding station location marker of presentation information segment in presenting document, the station location marker of part in presenting document that does not change in the presentation information segment of described independent point correspondence.
Described station location marker is by XPath expression formula sign.
The station location marker of described independent point is by the XPath expression formula sign of synthetic relatively point.
By the present invention, present body and can pass through XCAP message issuing and presenting information, make presentation information can not rely on that equipment refreshes and effectively lasting.Simultaneously, can synthesize one and present document distribution and give the observer presenting the presentation information of body by the issue of sip message and XCAP message.
Description of drawings
Fig. 1 is the structure chart of the presentation information delivery system that provides in the first embodiment of the invention;
Fig. 2 be among the present invention the XCAP client to the signaling process figure of XCAP server issuing and presenting information;
Fig. 3 is that presence server is subscribed to the signaling process figure that presents the document change information among the present invention to the XCAP server;
Fig. 4 is the signaling process figure that the XCAP server changes to presence server notice presentation information among the present invention;
Fig. 5 is the synthetic realization flow figure of presentation information segment among the present invention;
Fig. 6 is the example flow diagram of issuing and presenting information among the present invention;
Fig. 7 is the structure chart of the presentation information delivery system that provides in the second embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
In the present invention, the same body that presents can pass through XCAP (The Extensible Markup Language (XML) Configuration Access Protocol, XML configuration access agreement) and sip message issue lasting presentation information and general presentation information respectively, presence server will present the lasting presentation information of body issue and general presentation information and synthesize and present document, be distributed to the observer.
(Hypertext Transfer Protocol HTTP), provides extend markup language (Extensible Markup Language, XML) the extra support of the operation of file the XCAP agreement based on HTML (Hypertext Markup Language).XCAP becomes the HTTP universal resource identifier with XML document tree, element and best property of attribute mapping, and (Uniform Resource Identifier URI), visits document by HTTP.More contents of relevant XCAP see also " The Extensible Markup Language (XML) Configuration AccessProtocol ", J.Rosenberg, and April22,2005, Internet-Draft, the present invention quotes at this, repeats no more.
The structure of the presentation information delivery system that provides in the first embodiment of the invention is provided Fig. 1, present body on the one hand by SIP client 100, use Session Initiation Protocol to communicate by letter with presence server 400, issue general presentation information, on the other hand by XCAP client 200, use the XCAP agreement to communicate by letter, issue lasting presentation information with XCAP server 300.SIP client 100 and XCAP client 200 can be client terminal devices independently, PC (Pesernal Computer for example, PC), personal digital assistant (Personal Digital Assistant, PDA), also can be two functions software module independently in the client terminal device.XCAP server 300 presents document for presenting one of body maintenance, wherein comprises and presents the lasting presentation information of body by the issue of XCAP message.
XCAP client 200 uses the XCAP agreement to communicate by letter with XCAP server 300, for presenting the body issuing and presenting information.When presenting body initial release presentation information, XCAP client 200 sends XCAP PUT message to XCAP server 300, comprises the presentation information that will issue in the message body.When revising presentation information later on, XCAP client 200 sends XCAP PUT message to XCAP server 300, comprises the presentation information that will revise in the message body at every turn.When the deletion presentation information, XCAP client 200 sends XCAP DELETE message to XCAP server 300, the presentation information of appointment in the request deletion message.
Fig. 2 shows the signaling process of XCAP client to XCAP server issuing and presenting information, and details are as follows:
1.XCAP client sends XCAP message (XCAP PUT or XCAPDELETE) to the XCAP server, comprises the presentation information that will issue, revise or delete in the message body;
2.XCAP server is to XCAP client return authentication challenge message (401Unauthorized);
3.XCAP client sends XCAP message to the XCAP server, carries authentication information (XCAP);
4.XCAP server returns success response (200 OK) to the XCAP client, and the presentation information of XCAP client issue is write this presents presenting in the document of body.
Presence server 400 receives general presentation information from SIP client 100 on the one hand, obtains the lasting presentation information that presents body from XCAP server 300 on the other hand, and general presentation information and lasting presentation information are synthesized the document that presents that presents body.Presence server 400 can get access to the information presented from XCAP server 300 by several different methods, for example presence server 400 can be set up subscribing relationship with XCAP server 300, obtains the presentation information that presents the body issue from the notification message that XCAP server 300 sends.
As one embodiment of the present of invention, presence server 400 use sip subscribes corresponding present body present the document change information, this moment, the XCAP server 300 will be supported the sip subscribe function, can adopt the XML document management server to realize.
When XCAP client 200 during to XCAP server 300 issuing and presenting informations, since presence server 400 subscribed in the XCAP server 300 corresponding present body present the document change information, XCAP server 300 sends a notification message to presence server 400, has comprised the information relevant with the presentation information of being issued in the message body.For example when XCAP client 200 is done the initial release operation, comprise the presentation information of being issued in the message body; When XCAP client 200 is made an amendment operation, comprise the presentation information of being revised in the message body; When XCAP client 200 is done deletion action, comprise the presentation information of being deleted in the message body.
Fig. 3 shows presence server and subscribes to the signaling process that presents the document change information to the XCAP server, and details are as follows:
1. presence server sends subscribe request (SIP SUBSCRIBE) to the XCAP server, pull subscription present body present the document change information;
2.XCAP server returns the response (202Accepted) of accepting subscribe request to presence server;
3.XCAP server sends a notification message (Notify) to presence server, comprise in the message body present body present the document change information;
4. presence server extracts and to present the document change information in the notification message, returns success response (200 OK) to the XCAP server.
After presence server 400 was subscribed to successfully, when presentation information changed, XCAP server 300 can directly send a notification message to presence server 400, and the variation of notice presentation information does not need presence server 400 to initiate again to subscribe to, as shown in Figure 4:
1.XCAP server sends a notification message (Notify) to presence server, comprise in the message body present body present the document change information;
2. presence server extracts and to present the document change information in the notification message, returns success response (200 OK) to the XCAP server.
When presence server 400 gets access to the presentation information of the presentation information that presents body issue or modification from the notification message of XCAP server 300 after, presentation information is synthesized to presents in the document, and can notify the observer.When presence server 400 obtained the presentation information that will delete from the notification message of XCAP server 300, presence server 400 deletions presented corresponding presentation information in the document, and can notify the observer.
When presence server 400 receives the notification message of SIP client 100 and 300 transmissions of XCAP server, the presentation information that presentation information receiver module 401 extracts in the message, and identify respectively.As one embodiment of the present of invention, presentation information receiver module 401 all is recorded in two kinds of presentation information in the presentation information database 403 in the same record sheet, by the source identification field presentation information is identified, for example sign source for the XCAP client be first sign, the sign source is second sign for the SIP client.As an alternative embodiment of the invention, also two kinds of presentation information can be recorded in respectively in the record sheets different in the presentation information database 403, for example will record in the table 1, and will be recorded in the table 2 from the presentation information of XCAP client from the presentation information of SIP client.
For presentation information from SIP client 100 issue, store in the record sheet of above-mentioned presentation information and also write down a message identification value of distributing by presentation information receiver module 401, be used for identifying the presentation information of being issued.Presentation information receiver module 401 returns to SIP client 100 by response message with this message identification value.When SIP client 100 needs to revise the presentation information of being issued, in message header, carry this message identification value to specify the presentation information that to revise.
The presentation information of SIP client 100 issues is carried a term of validity, and presentation information receiver module 401 distributes a suitable actual term of validity according to this term of validity, and being generally one is the integer of unit with the second.When corresponding presentation information was expired, presentation information receiver module 401 made the corresponding presentation information of preserving in the presentation information database 403 invalid, and can notify the observer.During specific implementation, presentation information receiver module 401 can be provided with a timer for each presentation information from SIP client 100, the timing of timer is set to the term of validity of this presentation information, when timer arrives this term of validity, this presentation information of storage in the presentation information receiver module 401 invalid presentation information databases 403, state-event synthesis module 402 makes the corresponding presentation information of synthesizing in presenting document invalid, sends a notification message to the observer simultaneously.To the presentation information from XCAP server 300, presentation information receiver module 401 so just can not cause the expired processing behavior of presence server 400 not for it is provided with the term of validity, has realized the lasting validity of presentation information thus.
State-event synthesis module 402 will present the presentation information of body by the issue of sip message and XCAP message and synthesize the document that presents that presents body, be saved in the presentation information database 403, and the correspondence relationship information between the presentation information of record after synthetic and synthetic preceding presentation information, this correspondence relationship information can record in the record sheet in the presentation information database 403.For the presentation information from XCAP server 300, presentation information receiver module 401 is with in the corresponding presentation information storage presentation information database 403, and state-event synthesis module 402 is synthesized to corresponding presentation information and presents in the document.
When presentation information receiver module 401 receives that SIP client 100 is revised the sip message of presentation information, extract the message identification value of carrying in the message, and in presentation information database 403, search the presentation information that to revise according to the message identification value, corresponding presentation information is made amendment, redistribute a new message identification value, replace original message identification value, and the message identification value of redistributing is carried in the response message that SIP client 100 is returned.When presentation information receiver module 401 receives the modification message of the presentation information that XCAP server 300 sends, extract corresponding presentation information, store in the presentation information database 403.State-event synthesis module 402 is according to the correspondence relationship information in the presentation information database 403, the corresponding presentation information that presents in the document is made amendment, amended presentation information is synthesized to again presents in the document, and the presentation information of revising can be notified to the observer.
When in presentation information receiver module 401 receives the notification message of XCAP server 300, comprising the operation of deleting presentation information, the appropriate section of the presentation information that writes down in the deletion record table, state-event synthesis module 402 is deleted corresponding presentation information according to corresponding relation in presenting document.
SIP client 100 sends a special sip message to presentation information receiver module 401, comprise the message identification value of the presentation information of issue last time that will delete in this message, and the term of validity in the message (Expires) parameter is zero.
When some was expired from the presentation information of SIP client 100, presentation information receiver module 401 can be deleted corresponding presentation information, and notice is subscribed to the observer of corresponding presentation information.Presentation information receiver module 401 is not checked the presentation information from XCAP server 300, when having only state-event synthesis module 402 in the notification message that XCAP server 300 sends, to obtain the presentation information of deletion, just deletion presents corresponding presentation information in the document according to corresponding relation, and notifies the observer.
Because the presentation information of SIP client 100 or 200 issues of XCAP client is views that present the complete presentation information of body, therefore, state-event synthesis module 402 view that needed these to be presented body issue before the presentation information that will present body is notified to the observer merges.State-event synthesis module 402 merges presentation information according to merging rule.Merging rule is used for specifying a plurality of presentation information to need to merge under which kind of situation.The presenting of current OMA is combined the regulation of rule in the business as described below, the relevant more contents that merge rule can be referring to OMA-TS-Presence_SIMPLE-V1_0-20060214-C " PresenceSIMPLE Specification ", the present invention quotes at this, repeats no more.
For the Service element, presence server 400 will merge from difference present body<tuple element, if satisfy following situation:
1. one<tuple〉element comprises one<contact〉element, other<tuple〉element comprises same<contact〉element;
2. one<tuple〉element comprises one<service-description〉element, other<tuple〉element comprises same<service-description〉element.For<service-description〉if element its<service-id element and<version element is identical, then think<service-description〉element is identical;
3.<tuple〉element (same element has different value) that do not conflict in the element, can not repeat to have the same element with sample value.
Under other situations, presence server 400 nonjoinders<tuple〉element.After the merging<tuple element<timestamp value get and merge before each<timestamp in the value nearest one.
For the Device element, if different present that body sends<device element<deviceID the element coupling, presence server 400 should merge<device〉non-conflict element in the element.After the merging<device〉element<timestamp〉value gets nearest one; And get of nearest issue in the element in conflict.
For<person〉element, to difference present that body sends<person element, if they do not have the element of conflict mutually, presence server 400 should merge these<person〉element, and can not repeat to have the identical element of identical value,<person〉element<timestamp〉value gets nearest one.If these<person have the conflict element in the element, presence server 400 nonjoinders these have the conflict element<person element.
As one embodiment of the present of invention, state-event synthesis module 402 can be taked synthetic respectively mode, to merge into a single document that presents from the presentation information of SIP client 100, will merge into another single document that presents from the presentation information of XCAP server 300.When needs provide when presenting document message for the observer, it is synthetic to present document with two, and carries out after the corresponding filtration presentation information being notified to the observer.
As another embodiment of the present invention, state-event synthesis module 402 also can be taked comprehensive synthetic mode, does not distinguish presentation information from SIP client 100 or from XCAP client 200, but its unification is synthesized to single presenting in the document.
In the present invention, to by presenting the presentation information that body is once issued, can be divided into some presentation information segments.For example present body issue a presentation information data format (Presence Information DataFormat, PIDF) in the document, one<tuple〉element, one<device element, or one<person element is a segment.State-event synthesis module 402 is placed on final synthetic presenting in the document after can synthesizing certain presentation information segment and other presentation information segments in building-up process, also can be placed on independently to present in the document.
In the present invention, the presentation information segment that synthetic some record is corresponding is in the final synthetic position that presents in the document.Independent point is the presentation information segment that do not change in presentation information segment and other presentation information segments presentation information segment after synthetic in the final synthetic position that presents in the document.These positional informations can be used the XML path language, and (XML Path Language, XPath) expression formula is represented.Therefore independent point in the independent set of vertices both can specify the position of independent point by specifying in the whole synthetic position that presents in the document in synthetic point, the position of XPath expression formula sign independent point that also can be by synthetic relatively point.Write down the presentation information segment number in the independent set of vertices in addition, and write down certain segment and whether carried out synthetic operation with other presentation information segments, these information can be used for the modification to presentation information.
Utilize synthetic point and independent set of vertices can determine the synthetic situation of presentation information segment, when presenting body the presentation information of issue last time is made an amendment, can also be used to effectively modification being applied to presenting in the document of finally synthesizing in addition.For this reason, state-event synthesis module 402 needs the synthetic point and the independent set of vertices of each presentation information segment in the record initial release.
For better explanation the present invention, be example with 2 segments below, the generation synthetic and the respective record table that presents document is elaborated:
Suppose that presentation information segment 1 is:
Figure S06160558420060531D000121
Presentation information segment 2 is:
Figure S06160558420060531D000122
Presentation information segment after synthetic is:
Figure S06160558420060531D000131
Above supposing after synthetic<pdm:device〉position of element in whole synthetic document be expressed as with the XPath expression formula:
/presence/pdm:device[@id=”a1234”]
So, for presentation information segment 1, its synthetic point can be expressed as :/presence/pdm:device[@id=" a1234 "]
Its independent set of vertices (element number is 1) is expressed as: and/presence/pdm:device[@id=" a1234 "]/op:network-availability};
Perhaps adopt the relative expression to be expressed as: { op:network-availability}.
For presentation information segment 2, its synthetic point is :/presence/pdm:device[@id=" a1234 "]
Its independent set of vertices (element number is 1) is: and/presence/pdm:device[@id=" a1234 "]/op:network-availability};
Perhaps adopt the relative expression to be expressed as: { op:network-availability}.
The state-event synthesis module more than 402 pairs two presentation information segments generate following record sheet:
The segment sign 001 002
Content <pdm:device?id="a1234"> <op:network-availability> <op:network?id="UMTS"/> </op:network-availability><pdm:deviceID>urn:uuid:d27459b7-8213-4395-aa77-ed859a3e5b3a</pdm:deviceID><pdm:device> <pdm:deviceid="a1234"> <op:network-availability> <op:network?id="GPRS"/> </op:network-availability><pdm:deviceID>urn:uuid:d27459b7-8213-4395-aa77-ed859a3e5b3a</pdm:deviceID><pdm:device>
Synthetic sign 1 1
Synthetic point /presence/pdm:device[@id=″a1234″] /presence/pdm:device[@id=″a1234″]
The independent point number 1 1
Independent set of vertices {/presence/pdm:device[@id=″a1234″]/op:network-availability} {/presence/pdm:device[@id=″a1234″]/op:network-availability}
Wherein, synthetic sign is whether this presentation information segment has carried out synthetic sign with other presentation information segments, and 1 expression has synthetic, and 0 expression is not synthetic.
In merging process, when the presentation information value of presentation information segment that presentation information value and the source that is designated the presentation information segment of first sign when the source is designated second sign conflict, selection was from the presentation information value of the second presentation information segment that identifies.Because a kind of often persistence presentation information of presentation information from 200 transmissions of XCAP client, there is not the term of validity, this presentation information needs direct deletion action just can lose efficacy, and the presentation information that sends from SIP client 100 a kind of presentation information of instantaneity often, there is the term of validity, after having served as the time of term of validity appointment, corresponding presentation information promptly lost efficacy.
If the presentation information segment is expired, then state-event synthesis module 402 finds synthetic point and independent point according to corresponding relation, and the presentation information segment of deletion independent point correspondence.
When presence server 400 received the notification message of revising presentation information segment 1, state-event synthesis module 402 was searched the record of relevant presentation information segment 1 in the record sheet that writes down the synthetic situation of each presentation information segment.State-event synthesis module 402 judges whether segment 1 is synthetic with other presentation information segments, get final product not if there be then directly correspondingly to revise the corresponding presentation information segment of synthetic point, if there is then state-event synthesis module 402 check further whether the modification of this presentation information segment has been revised independent point correspondence presentation information segment part in addition.If revised the part beyond the corresponding presentation information segment of independent point, the presentation information segment that then will synthesize a correspondence replaces with the synthetic result of following two presentation information segments:
1. the presentation information segment in the corresponding presentation information segment of synthetic point except that the presentation information segment of independent point correspondence;
2. amended presentation information segment 1.
After Fig. 5 showed the message that presence server 400 receives the modification segment 1 that SIP client 100 or XCAP server 300 send, state-event synthesis module 402 was revised the concrete processing procedure that presents document, and details are as follows:
In step S501, find the record sheet of the synthetic situation of each presentation information segment of record, search the record of presentation information segment 1;
In step S502, judge the synthetic sign of presentation information segment 1, be 1 execution in step S504, be 0 execution in step S503;
In step S503, directly revise the presentation information segment that presents corresponding synthetic correspondence in the document;
In step S504, judge the part that whether requires in the modification message receive to revise outside the corresponding presentation information segment of independent set of vertices, be execution in step S505 then, otherwise execution in step S506;
In step S505, revise presentation information segment 1, synthetic again presentation information segment 1 and presentation information segment 2;
In step S506, directly revise the presentation information segment that presents corresponding independent point correspondence in the document.
When the observer distributes presentation information, if detecting a presentation information segment, state-event synthesis module 402 do not have the corresponding presentation information value of second sign, there is the corresponding corresponding presentation information value of first sign, then the corresponding corresponding presentation information value of first sign is distributed to the observer.If detect a corresponding presentation information value of existing second sign of presentation information segment, there is the corresponding corresponding presentation information value of first sign again, then the corresponding corresponding presentation information value of second sign is distributed to the observer.
Fig. 6 shows the example flow of issuing and presenting information among the present invention, and details are as follows:
1. user B is by the presentation information of SIP SUBSCRIBE message subscribing user A, and subscribing to has corresponding term of validity Es;
2. presence server is accepted the subscribe request of user B, returns response message (202Accepted);
3. presence server is subscribed to the document that presents of user A in the XCAP server;
4.XCAP server is accepted the subscribe request (202Accepted) of presence server;
5. the SIP client of user A has the presentation information Ia of term of validity Ea to the presence server issue by SIP PUBLISH;
6. presence server returns the successful response message (200OK) of issue to the SIP of user A client;
7. the XCAP client of user A sends presentation information Ib by XCAP PUT message to the XCAP server.
8.XCAP server receives the presentation information Ib that the XCAP client of user A sends, and checks the document that presents whether user A correspondence is arranged.If do not have, then present document, otherwise the XCAP server upgrades the document that presents of user A according to the presentation information that receives, and return to the XCAP of user A client and to issue successful response message (200 OK) for user A creates one;
9.XCAP server will present the change information that document takes place, promptly Ib is notified to presence server, and presence server receives the corresponding presentation information of revising its storage behind the notification message.
The presence server presentation information Ia that will from the SIP PUBLISH, obtain and from the notice of XCAP server, obtain presentation information Ib be synthesized to presenting in the document of user A, behind treatment steps such as filtration, the presentation information that will comprise Ia and Ib is notified to the SIP client of user B;
11. the SIP client of user B receives the notification message that presence server sends, and obtains the presentation information of user A, and returns response message (200 OK);
12. elapsed time Ea, presentation information Ia is expired, and presence server is notified the SIP client of user B;
13. the SIP client of user B is returned response message (200 OK) to presence server;
14. elapsed time Es again, the subscribing relationship of user B is expired, and user B is the presentation information of booking reader A again;
15. presence server is accepted the subscribe request of user B, returns response message (202Accepted);
16. because the XCAP client does not send the XCAP message of deletion presentation information Ib, so presentation information Ib continuously effective, presence server is included in presentation information Ib the SIP client that is notified to user B in the notification message;
17. the SIP client of user B receives the notification message that presence server sends, and obtains the presentation information of user A, and returns response message (200 OK).
Fig. 7 shows the structure of presentation information delivery system among second embodiment provided by the invention, XCAP client 200 is directly communicated by letter with presence server 400, XCAP service module 404 is arranged in presence server 400, realize the function of XCAP server 300, different is and 400 of presence servers no longer are subscribing relationship, but correspondence.XCAP service module 404 receives the presentation information that is sent by XCAP client 200, as an input source of state-event synthesis module 402.State-event synthesis module 402 receives the presentation information that SIP clients 100 are sent, and from the presentation information that XCAP service module 404 transmits, and synthesizes to present document storage in presentation information database 403.
Simultaneously, XCAP service module 404 receives the query messages that XCAP client 200 sends, querying condition information in the query messages is sent to presentation information enquiry module 405, presentation information enquiry module 405 is done query manipulation according to querying condition, obtain qualified presentation information and return to XCAP service module 404, Query Result is sent it back XCAP client 200 by XCAP service module 404.
The function of presence server 400 other modules is identical with first embodiment, repeats no more,
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (22)

1. the dissemination method of a presentation information is characterized in that, described method comprises the steps:
1. 1 receive the same body that presents by first presentation information of XCAP message issue and second presentation information of issuing by sip message, described second presentation information is provided with the term of validity;
1. 2 described first presentation information and second presentation information synthesized present document.
2. the dissemination method of presentation information as claimed in claim 1 is characterized in that, described reception is same to be presented the step of body by first presentation information of XCAP message issue and comprise the steps:
1 subscribe to present body present the document change information;
2. 2 receive the subscribing notification message, extract comprise in the message body present body present the document change information, the described document change information that presents comprises presentation information, the presentation information of modification or the presentation information of deletion that presents the body issue.
3. the dissemination method of presentation information as claimed in claim 1, it is characterized in that, in presenting the building-up process of document, when the presentation information value of the presentation information segment that is designated first presentation information was conflicted with the presentation information value of the presentation information segment that is designated second presentation information, selection was designated the presentation information value of the presentation information segment of second presentation information.
4. the dissemination method of presentation information as claimed in claim 1 is characterized in that, described step 1.2 further comprises the steps:
1 record presentation information with synthesize after present the correspondence relationship information between the corresponding presentation information segment in the document;
3. 2 upgrade according to described correspondence relationship information and to present document.
5. the dissemination method of presentation information as claimed in claim 4, it is characterized in that, described corresponding relation comprises the synthetic point and the independent point of presentation information segment, described synthetic point is the corresponding station location marker of presentation information segment in presenting document, part the station location marker during presenting document of described independent point for not changing in the corresponding presentation information segment.
6. the dissemination method of presentation information as claimed in claim 5 is characterized in that, described station location marker is by XPath expression formula sign.
7. the dissemination method of presentation information as claimed in claim 6 is characterized in that, the station location marker of described independent point is by the XPath expression formula sign of synthetic relatively point.
8. the dissemination method of presentation information as claimed in claim 5, it is characterized in that, when presenting document and upgrade, if the presentation information segment is modified, and only revised the presentation information segment of independent point correspondence, then corresponding modify independent point correspondence present in the document corresponding presentation information segment, otherwise the result after will following two presentation information segments synthetic replaces the presentation information segment of synthetic some correspondence:
Presentation information segment in the presentation information segment of a. synthetic some correspondence except that the presentation information segment of described independent point correspondence, and
B. described amended presentation information segment.
9. the dissemination method of presentation information as claimed in claim 1 is characterized in that, described step 1.2 further comprises the steps:
9. 1 identify first presentation information and second presentation information that storage receives respectively.
10. the dissemination method of presentation information as claimed in claim 9, it is characterized in that, described sign respectively is stored as first presentation information with in second presentation information is stored in different record sheets respectively, perhaps will described first presentation information and second presentation information identify by the source identification field and be stored in the same record sheet.
11. the dissemination method of presentation information as claimed in claim 1 is characterized in that, described method further comprises:
When observer's distribution presents document, if present the presentation information value of the existing second presentation information correspondence of presentation information segment in the document, when having the presentation information value of the first presentation information correspondence again, then select the presentation information value of the second presentation information correspondence to be distributed to the observer.
12. a presence server is characterized in that, described presence server comprises:
The presentation information receiver module is used to receive the same body that presents by first presentation information of XCAP message issue and second presentation information of issuing by sip message, and described second presentation information is provided with the term of validity;
The state-event synthesis module is used for described first presentation information and second presentation information synthesized and presents document; And
The presentation information database, be used for storing first, second presentation information of receiving, present document and presentation information with synthetic after present correspondence relationship information between the corresponding presentation information segment of document.
13. presence server as claimed in claim 12 is characterized in that, described presence server further comprises:
The XCAP service module is used to receive the XCAP message that presents the body transmission, extracts the presentation information in the message, and described presentation information is sent to the presentation information receiver module.
14. presence server as claimed in claim 13 is characterized in that, described presence server further comprises:
The presentation information enquiry module is used to receive the presentation information query messages that client sends, and the querying condition in the message is sent to the XCAP service module, receives the Query Result of XCAP service module, and Query Result is returned client.
15. presence server as claimed in claim 12, it is characterized in that, described corresponding relation comprises the synthetic point and the independent point of presentation information segment, described synthetic point is the corresponding station location marker of presentation information segment in presenting document, part the station location marker during presenting document of described independent point for not changing in the corresponding presentation information segment.
16. presence server as claimed in claim 15 is characterized in that, described station location marker is by XPath expression formula sign.
17. presence server as claimed in claim 16 is characterized in that, the station location marker of described independent point is by the XPath expression formula sign of synthetic relatively point.
18. the delivery system of a presentation information is characterized in that, described system comprises:
The XCAP server, be used to receive present body by XCAP message issue first presentation information; And
Presence server, be used to receive first presentation information that the XCAP server sends, and present second presentation information of body by sip message issue, and first presentation information and second presentation information are synthesized presenting document, described second presentation information is provided with the term of validity.
19. the delivery system of presentation information as claimed in claim 18 is characterized in that, described presence server comprises:
The presentation information receiver module is used to receive described first presentation information and second presentation information;
The state-event synthesis module is used for described first presentation information and second presentation information synthesized and presents document; And
The presentation information database, be used for storing first, second presentation information of receiving, present document and presentation information with synthetic after present correspondence relationship information between the corresponding presentation information segment of document.
20. the delivery system of presentation information as claimed in claim 19, it is characterized in that, described corresponding relation comprises the synthetic point and the independent point of presentation information segment, described synthetic point is the corresponding station location marker of presentation information segment in presenting document, part the station location marker during presenting document of described independent point for not changing in the corresponding presentation information segment.
21. the delivery system of presentation information as claimed in claim 20 is characterized in that, described station location marker is by XPath expression formula sign.
22. the delivery system of presentation information as claimed in claim 21 is characterized in that, the station location marker of described independent point is by the XPath expression formula sign of synthetic relatively point.
CN2006100605584A 2006-04-27 2006-04-27 Method, apparatus and system for publishing present information Expired - Fee Related CN101064692B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2006100605584A CN101064692B (en) 2006-04-27 2006-04-27 Method, apparatus and system for publishing present information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2006100605584A CN101064692B (en) 2006-04-27 2006-04-27 Method, apparatus and system for publishing present information

Publications (2)

Publication Number Publication Date
CN101064692A CN101064692A (en) 2007-10-31
CN101064692B true CN101064692B (en) 2011-02-16

Family

ID=38965406

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2006100605584A Expired - Fee Related CN101064692B (en) 2006-04-27 2006-04-27 Method, apparatus and system for publishing present information

Country Status (1)

Country Link
CN (1) CN101064692B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101453426B (en) * 2007-11-29 2016-01-06 中国电信股份有限公司 The system and method that a kind of Obj State information presents
CN101547213B (en) * 2008-03-29 2012-11-21 华为技术有限公司 Method for realizing presence service and interconnecting gateway
CN102209081B (en) * 2010-03-29 2013-11-06 华为技术有限公司 Method for realizing stealth state of user and apparatus thereof
WO2012053145A1 (en) * 2010-10-21 2012-04-26 日本電気株式会社 Configuration system, server, terminal apparatus, configuration method, and configuration program
EP2485457A1 (en) * 2011-02-04 2012-08-08 Siemens Aktiengesellschaft A method for keeping a web session alive in a web application
CN102171994A (en) * 2011-04-14 2011-08-31 华为技术有限公司 Method and device for transmitting and receiving notification message for presence service
KR20220155307A (en) * 2020-03-17 2022-11-22 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Internet of Things communication method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Network Working Group.A Model for Presence and Instant Messaging.《RFC2778》.2000,第1-13页. *

Also Published As

Publication number Publication date
CN101064692A (en) 2007-10-31

Similar Documents

Publication Publication Date Title
CN100563196C (en) Communication system and in communication system the method for Query Information
CN101426017B (en) Address book processing method and system
CN101064692B (en) Method, apparatus and system for publishing present information
US8291067B2 (en) Providing access to presence information using multiple presence objects
CN101106498B (en) Content management method and apparatus
CN100505704C (en) Method for searching user&#39;s information
US7680910B2 (en) System and method for efficient transfer of applications and data during device swap
CN101243641B (en) System and method for managing XDM service information
CN101299829B (en) Method and message system implementing medium content management of unification storage
CN101557409B (en) Method and device for syncretic management of address book information
RU2467386C2 (en) Method and apparatus for updating address books
US20050160088A1 (en) System and method for metadata-based distribution of content
CN101188465B (en) A method for getting electronic service guidance in multimedia/multicast service
RU2366099C2 (en) Updating presence information
CN103314558A (en) Policy management
CN101821991B (en) Method and system for managing user preference profiles in network
JP2010502088A (en) Content synchronization method and apparatus
CN103119911A (en) System and method for synchronizing the profile of a user in social networks and the user&#39;s personal contact card (PCC)
KR20100019215A (en) Method and system for submiting user content in dynamic contents delivery service
US20090125803A1 (en) Method, system, client and server for managing xml document
CN101075266B (en) Searching system and method
CN101179572B (en) Method, device and system for copying content
CN103460681B (en) The management method of the thin ability of fuse address
CN101345740B (en) Numerical recognition registration, processing method and system for multimedia data
CN101087205A (en) Method, system and terminal device for reporting user agent archive information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20110216

Termination date: 20170427

CF01 Termination of patent right due to non-payment of annual fee