CN101431479B - Method, client and server for implementing question and answer service - Google Patents

Method, client and server for implementing question and answer service Download PDF

Info

Publication number
CN101431479B
CN101431479B CN2007101244427A CN200710124442A CN101431479B CN 101431479 B CN101431479 B CN 101431479B CN 2007101244427 A CN2007101244427 A CN 2007101244427A CN 200710124442 A CN200710124442 A CN 200710124442A CN 101431479 B CN101431479 B CN 101431479B
Authority
CN
China
Prior art keywords
client
information
answer
presentation information
instant message
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.)
Active
Application number
CN2007101244427A
Other languages
Chinese (zh)
Other versions
CN101431479A (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 CN2007101244427A priority Critical patent/CN101431479B/en
Priority to PCT/CN2008/070999 priority patent/WO2009059500A1/en
Priority to US12/266,247 priority patent/US20090125598A1/en
Publication of CN101431479A publication Critical patent/CN101431479A/en
Application granted granted Critical
Publication of CN101431479B publication Critical patent/CN101431479B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for implementing question and answer service comprising steps: the first client contains the question information in presentation information for issuing; the second client terminal acquires presentation information including question information; the second client terminal transmits the answer information to the first client by instant message; the first client displays the received answer and corresponding question. The invention fully utilizes personal network in instant messaging system, combines representation service of instant messaging and instant message to implement the question and answer service, enables the user to prompt question and acquire answer based on widely used instant messaging system.

Description

Realize method, the client and server of question and answer business
Technical field
The present invention relates to the instant messaging field, relate in particular to based on instant message and the method, the client and server that present business realizing question and answer business.
Background technology
Present online question and answer business is extensively carried out in each country, and large-scale question and answer website has that Baidu " is known ", Sina's " love is asked ", Yahoo's " knowledge hall " and learned etc.Registration integration system is often adopted in this class website, after registration becomes the member, just can participate in proposing the problem of oneself or for the question user answers a question, can also obtain integration remarkably if answer.In these question and answer websites,, can see also what others' problem and answer be except seeking other users' the answer at the problem of oneself.The question and answer business is replenished a kind of of search engine just, because some problem is difficult to directly obtain answer with search engine, manually dealing with problems is can't substitute fully with machine forever.
Yet often do not know each other mutually between the user in these question and answer websites, the power that the user furnishes an answer mainly is to obtain integration, can utilize reward on total mark that the problem of oneself is answered as soon as possible then.In fact between friend, more be ready to help each other, and the people that some problem also is more suitable for being familiar with answers as colleague, classmate etc.People become more and more popular in the mode that instant message communicates mutually at present, the functions such as presentation information that JICQ also provides the good friend to manage and show the good friend except instant message have simultaneously become the ideal tools of the modern interpersonal relationships community network of carrying.If can realize the question and answer business, will be at present based on a great lifting and additional of the question and answer business of question and answer website based on JICQ.
General JICQ can be divided into three parts, comprises instant message, presentation information, good friend's management.A lot of JICQs have also been realized the intercommunication of instant message and short message/Multimedia Message, and multimedia communications such as support voice, video, in addition can also with traditional telephone intercommunication.And the interpersonal relationships network of setting up by good friend administrative institute in the JICQ then is the information that its most worthy the most worth discovering and using.
Summary of the invention
The embodiment of the invention has proposed a kind of method that realizes the question and answer business, makes the user ask a question and to obtain based on widely used JICQ and answers.
The embodiment of the invention has also proposed a kind of instant communication client, and the user uses this client can ask a question and obtain to answer.
The technical scheme that the embodiment of the invention proposes is as follows:
A kind of method that realizes the question and answer business, the method comprising the steps of:
First client is included in problem information in the presentation information and issues, described first client person's clients corresponding that promptly do not ask a question, the presentation information that comprises problem information directly sends to second client of subscribing presence information, or is published to presence server earlier and is distributed by described presence server;
Second client obtains to comprise the presentation information of problem information;
Second client sends to first client with answer information by instant message;
First client shows received answer and corresponding problem together;
First client problem information is included in issue in the presentation information after, the 3rd client obtains the presentation information that comprises problem information that first client is issued, problem that then will be wherein is included in oneself the presentation information and issues;
Second client obtains the problem information of first client from the 3rd client.
A kind of instant communication client, described client comprises:
The problem presentation information is provided with module, be used to the input of the problem that receives, and problem information is included in the presentation information issues, the presentation information that comprises problem information directly sends to second client of subscribing presence information, or is published to presence server earlier and is distributed by described presence server;
Answer instant message sending module is used for extracting problem information from presentation information, and receives the input of answer, then answer information is sent by instant message;
Problem and answer display module are used for the answer and the corresponding problem of instant message are shown;
Problem presentation information forwarding module is used for extracting problem information from the presentation information obtained, and the problem information of extracting is included in oneself the presentation information and issues.
Beneficial effect of the present invention is as follows:
The embodiment of the invention is by RELEASE PROBLEM information in presentation information, send answer information with instant message, ingenious must utilize in the instant messaging present professional and instant message is realized the question and answer business, fully used user's established interpersonal relationships community network data message in communication network especially instantaneous communication system, and needn't pocket transmission news initiatively seek the opinion of the answer of problem to numerous good friends, avoided the user will send a large amount of message, and numerous good friend also can avoid harassing and wrecking for obtaining answer.The forwarding mechanism of problem also is provided in addition, make problem can be in user's interpersonal relationships network wide-scale distribution, the probability that problem obtains answer improves greatly, and the answer of problem can also send to initially do not ask a question person or other by instant message and also pay close attention to the forwarding person of this problem, thereby makes more people except that the quizmaster also can obtain the answer of problem.
Description of drawings
Fig. 1 realizes the method basic flow sheet of question and answer business for the embodiment of the invention;
Fig. 2 is the structural representation of embodiment of the invention instant communication client.
Embodiment
With reference to Fig. 1, this figure is the basic flow sheet that the embodiment of the invention realizes the question and answer business, comprises the steps:
Step 101, first client are issued problem information as presentation information.First client person's clients corresponding that promptly do not ask a question, the presentation information that comprises problem information can directly send to other clients of subscribing to its presentation information respectively, also can be published to presence server earlier and be distributed by it.Simple in order to implement, can in presentation information, only comprise a problem information.
Step 102, second client obtain to comprise the presentation information of problem information.Second client subscription i.e. presentation information of first client of the person of asking a question, second client is generally the user client in the first client buddy list.If the user does not wish to receive problem information, then can when subscribing presence information, the problem information filtering be fallen.
Step 103, second client send to first client with answer information by instant message.Second client is included in the answer information of user's input in the instant message body that content type is answer, sends to first client.
Step 104, first client show received answer information and corresponding problem information together.First client is after receiving instant message, and detecting its content type is answer, then instant message answer information wherein and corresponding problem information is presented to the user together.
It should be noted that, even only comprise a problem information in the presentation information, also be preferably unique problem identification in this locality of problem information setting, also be with the corresponding problem sign when second client sends the instant message that comprises answer information, such first client can realizing matching problem information and answer information.Otherwise might first client when receiving the answer information of second client, its current problem information no longer has been problem information that second client is seen, thereby produces matching error.Certainly another scheme is exactly when the transmission of second client comprises the instant message of answer information, can directly obtain problem information from presentation information, and second client sends the instant message of answer information and correspondence problem information to first client.Though it is simple like this, but message content has increased redundant problem information, and be unfavorable for that first client is done further problem information and answer information and handle automatically, after accepting answer the user, client can't be removed the problem information that has been solved automatically, needs the user manually to handle.
Among first embodiment based on the instant message of SIP (the Session Initiation Protocol) agreement of the Internet engineering group IETF (Internet Engineering Task Force) with present business norms and realize question and answer business (Question and Answer).The client of RELEASE PROBLEM presentation information can be called and present the body client, the client of subscription problem presentation information is called observer's client.Certainly user client can be have simultaneously not only been issued the presentation information of oneself but also can have been subscribed to other people presentation information in the reality.Said herein client has the client functionality that presents professional and instant messaging simultaneously.
At first expand present presentation information, increase problem information, as at present personage element<person〉in increase problem daughter element, its content is exemplified below:
Wherein<person〉element comprises a problem list daughter element<question-list 〉, this problem list daughter element comprises one or more problem elements as<question 〉, each problem element has an identity property as " id ", problem of unique identification.The value of problem element then can comprise the concrete Word message of problem.
Can also the term of validity be set correspondence to each problem in addition, its value can be an absolute time, and as " 2007-11-06T12:10:00Z ", that represents this problem ends effective time, has served as the effective time of then problem inefficacy afterwards.Server can be removed the problem information that lost efficacy in the presentation information automatically, and observer's client also can no longer show the problem presentation information of inefficacy.
Sometimes the quizmaster wishes to obtain as early as possible answer, then can in the problem presentation information, emergency sign be set, when observer's client obtains to have the problem presentation information of emergency sign, can carry out eye-catching pattern to this problem presentation information shows, as show question mark red or flicker on quizmaster's head portrait icon next door, perhaps mode such as " SOS " icon represents that the quizmaster has the problem of emergency answer.The problem presentation information that comprises the term of validity and emergency sign is below described for example:
<question?id=″q2f27h″until=″2007-11-06T12:10:00Z″urgent=″true″>
How many phones of Zhang San is</question 〉
Wherein comprise the effective time that problem is ended in the term of validity attribute " until " of problem element, emergency sign attribute " urgent " is changed to very that " true " is expressed as burning issue.
Presenting the body client is included in problem information in the presentation information incident bag and issues the concrete issue PUBLISH method that can adopt SIP.The message part content of PUBLISH is exemplified below:
Figure GSB00000612082200061
For brevity, the content of the message header of PUBLISH and message body has been done some omissions.Wherein the content issued of " presence " among field Event indication is a presentation information, and the Type C ontent-Type of presentation information content is specially " application/pidf+xml " form.Usually presentation information also comprises business and facility information in addition, and is promptly one or more<tuple〉and<device〉element.Specifically can be referring to the standard criterion of RFC 4779 IETF SIMPLE working groups such as (A Data Model for Presence).
The presentation information that presence server will comprise problem information sends to the observer by SIP Notification Method NOTIFY.Can show the problem information of receiving on observer's the client, concrete display packing can show a question mark icon on the next door of buddy list window respective user, after mouse rests on this question mark icon, can show this user's problem information with a floating frame.If an observer will answer a problem, can be with this question mark icon of mouse-click, problem identification during observer's client gets access to the information presented, and ejecting a prompt input answer information, the MESSAGE method that the answer information and the corresponding problem identification one of input are reinstated SIP sends to the user of this problem of proposition then.The part message content of MESSAGE method is exemplified below:
Wherein partial content omits, the content type is the message body of answer as " application/answer+xml " in the message of MESSAGE method, message body content can comprise an answer element as<answer 〉, this answer element can also comprise a problem identification attribute as " question-id ", and the value of answer element comprises the related text information of answer.
The content type that the client that receives this MESSAGE message detects this instant message is the answer type, corresponding problem in then getting access to the information presented according to the problem identification in the MESSAGE message body shows answer information corresponding in problem information in the presentation information and the MESSAGE message body then simultaneously together.
User client can be according to corresponding relation record problem and corresponding one or more answer of problem and answer, and a problem can corresponding a plurality of answers.These question and answer historical records can be consulted later on for the user, perhaps are transmitted to other user.
For some problems, the user wishes can notify oneself immediately when answer is arranged, but when the user is not online, can't obtain instant message.Whether the user can be provided with real-time informing to single problem, concrete can be provided with problem identification and corresponding phone number at server of instant message, when instant message server receives instant message such as MESSAGE message, set identical of problem identification wherein and user, and the active user is not online, then is that the answer content is transmitted to the set phone number of user by SMPP agreements such as (Short Message Peer to Peers) through short message service center or by the MM7 interface protocol through the Multimedia Message center with the content of text in the message.
In order to make full use of existing question and answer website, after the problem presentation information was distributed to presence server, presence server also can be submitted to the question and answer website with problem information automatically.For fear of replication problem, can forbid issuing the problem of forwarding to the question and answer website.Send to the quizmaster in the instant message and in the website answer information of this problem also is included in automatically.Presence server can also be submitted to problem information in the blog Blog website of user's correspondence in addition, can show the Shipping Options Page of similar " my problem " like this on user's the blog page, will be presented at here in the problem set that the user carried.
For the existing problem in question and answer website, if interested in a problem when user browses after website log, but current web does not also have answer, then can click a button on the problem webpage, and indication is set to this problem in the presentation information of oneself.Concrete question and answer website is receiving after user's HTML (Hypertext Markup Language) HTTP (HyperText Transfer Protocol) is provided with request, the question and answer website is published to problem information in the presence server of user attaching as user's presentation information source as presentation information, presence server synthesizes other presentation information of this problem information and user's issue, is distributed to the subscriber then.The user generally has own address designation in question and answer website registration, usually e-mail address can be simultaneously as question and answer website, instant message with present professional logon account and identify.
Consider that the buddy list that community friend-making website can provide JICQ to have in essence is the interpersonal relationships network,, also can in these websites, provide the question and answer service application as Facebook, Myspace, website such as net and predestined relationship with China in the school.Can in the personal information data of website, problem information be set, can see problem information when the user browses other users' personal information in the website.Can problem be furnished an answer by the webpage of website then.The user who asks a question can inquire about the state and the corresponding answer of own problem.This question and answer business based on the interpersonal relationships network can use complicated integration system to encourage the user to answer a question, and has made full use of the interpersonal relationships data message that the user has formed in communication network.
Certain technical scheme of the present invention also can be putd question to mechanism and answer integration mechanism etc. as commonly used putting on someone's head in conjunction with some incentive mechanisms.If virtual support currency or virtual objects in the system of realization question and answer business can also directly utilize ideal money or virtual objects to replace reward on total mark.After obtaining answer, can give the ideal money of some or virtual objects as extending appreciation as the quizmaster to the user who furnishes an answer.
Among second embodiment, the problem that provides a kind of method to make the user is propagated wider.A user's presentation information has only the good friend of oneself just can see usually, and domestic consumer does not generally have yet and surpasses 200 good friends, and with the simultaneously online good friend of user generally still less, on average can be above 100.In fact the people who knows problem is many more, and the chance that the user obtains answer is just big more, therefore preferably can allow more people see problem information.In the present embodiment, after the client of a user A has been issued the problem presentation information, after the client of having subscribed to the good friend B of its presentation information has obtained the problem presentation information, its problem presentation information can be issued as the presentation information of oneself, in the problem presentation information that the client of B is issued, except problem, also be comprised initial raiser of problem and original information such as problem identification certainly.Be exemplified below:
Figure GSB00000612082200091
Wherein in the problem list of B, comprise two problem elements, one is the problem of user A, at daughter element problem description<description〉in comprise the descriptor of problem, at the initial quizmaster<original-asker of another daughter element〉in comprise the initial user ID that asks a question as " sip:useraexample.com " and initial problem identification as " qid ".User ID generally adopts SIP URI (unified resource identifier), wherein can also comprise the display name or the pet name, as " Alice<sip:useraexample.com〉".Another one is the problem of user B oneself, only comprises one<description〉daughter element.The problem identification property value of two problem elements is to be generated by the client of B, and each problem identification guarantees unique getting final product in the problem set of B.Even identically with the initial problem identification of another user such as A also have no relations.
Client can be default be provided with automatically good friend's problem also issued as the problem of oneself.But the total upper limit that can limit own problem is as 10, to avoid the problem number too much.When Issue Totals reaches the upper limit, when the user wishes to issue the problem information of oneself, then can replace existing good friend's problem with the problem of oneself.The problem of whether automatically the good friend being transmitted can also further be set also to be issued as the problem of oneself, as above comprise in the example<original-asker the problem of information then is not the problem that user B oneself proposes, whether the client of the good friend C of user B can be provided with the problem that this user B is transmitted and proceed to transmit.When if user C proceeds to transmit, then the user ID that initially asks a question of this problem correspondence of its client issue still be the sign of user A as " sip:useraexample.com ", rather than the sign of user B.So, even through after repeatedly forwarding is propagated, finally provide the client of reply message still can in view of the above answer message directly be sent to the user there that initially asks a question.In addition<original-asker in information can also avoid the repetitive cycling of problem to transmit, relational network between the user is overlapping, if a client is a problem of oneself having issued according to user ID that initially asks a question in the problem information that will transmit and problem identification, then no longer repeat to transmit.By the method in the present embodiment, visible problem can be transmitted propagation on a large scale along user's interpersonal relationships network.
If a user has deleted problem information in the own presentation information of being issued, then presence server is that the subscriber also can remove corresponding problem information at comprising in the presentation information update notification of sending to its good friend, if good friend's client was transmitted this problem then, then can cancel forwarding this moment to this problem.
The user who asks a question at first may also wish the people's that acquisition understanding simultaneously furnishes an answer interpersonal relationships path except obtaining answer.Client can be placed on path elements<via with the user ID of transmitting in order successively with the forward-path of problem also as the presentation information issue〉in, corresponding problem identification is placed in the problem identification attribute of this element as " qid ".If when the good friend C of user B continuation was transmitted problem in for example above-mentioned example, its problem presentation information content was exemplified below:
Figure GSB00000612082200111
Path elements<via wherein〉be arranged in order uppermost path node element<via from top to bottom in comprise the problem user ID of initial proposition.Each client when transmitting a problem information, all the user ID of this problem information of previous issue to be filled into problem information<via in the element.Excessively transmitted for fear of problem, a hop count upper limit then can be set, concrete can be according to<via the quantity of element limits, as in when client or discovering server problem information<via element reached the upper limit, as reached 3, then no longer this problem information is transmitted propagation.
If the good friend D of user C will furnish an answer, then its client is included in answer information in the SIP MESSAGE request, and can comprise the propagation path information of the problem of obtaining from presentation information.This MESSAGE message can only send to the user A that initially asks a question, and also can send to all users that transmitted this problem simultaneously.Be exemplified below:
Figure GSB00000612082200112
After then the client of user A (or B, C etc.) is received this message, except basis<via〉in the element problem identification of the user ID correspondence of oneself show in corresponding the problem information and this answer message<description the answer information in the element, can also what interpersonal relationships path to obtain this problem according to by explicit user D, can show paths as the client of user A:
sip:useraexample.com->sip:userbexample.com->
sip:usercexample.com->sip:userdexample.com
Wherein the user ID of path final jump " sip:userdexample.com " is to obtain from From field of MESSAGE request.
Among the 3rd embodiment, consider that problem that the user proposes may more complicated, as inquire the information of a picture or video that perhaps seek advice from the comment to one piece of article, obviously the article of picture, video and big length all is not suitable for being placed directly in the presentation information.In the present embodiment then the hyperlink address URL (URL(uniform resource locator)) of the title by only in presentation information, placing problem and related content realize the issue of challenge.Concrete, when problem presentation information of subscription client issue, input problem title and related content (as files such as picture, videos), wherein the related content part is uploaded to server side by client, after the server stores and distribute a URL address to return to client, client is issued problem title and this URL address as the problem presentation information.Content is exemplified below:
Figure GSB00000612082200121
Title element<title wherein〉in comprise the heading message of problem, and address element<url in comprise the URL address information of corresponding contents.Observer's client then can be obtained complete problem content by the hyperlink URL address in this problem information.In the forwarding of problem was propagated, this URL information was replicated forwarding too in addition.
On the other hand, answer information also may more complicated, rather than simple short and small Word message.At this moment also can carry out similar processing equally, promptly client uploads to server with answer information earlier, and server returns the link URL address of an answer content then, and client sends to the user who asks a question with this URL address again and gets final product.
In above several embodiment,,, therefore can limit subscription to the problem presentation information because customer objective is to wish to obtain answer for the access rights of problem presentation information.Even be not the good friend, perhaps all provide user's problem presentation information at stealthy state etc.The instant message of answering this problem in addition under any circumstance also all needn't stop, as concrete server of instant message in detecting an instant message, comprise be the message body of an answer type time, non-good friend is stranger's a instant message even the user is provided with prevention, and this instant message then can not stop for this server of instant message from a stranger yet.
Also can see user's problem information during in search subscriber the stranger, get to know new friend by the problem of replying the user.As when increasing the instant message good friend, generally to verify, at this moment can obtain the problem information of user A, when B adds A for the good friend in request, the problem information that shows A in the client of B, and the answer of prompting B input problem, problem information and answer send to the client of user A with the request of plusing good friend.The client of user A can show problem and answer information simultaneously when showing this request.User A can determine whether to allow this request according to the answer situation subsequently.
There are some problems may be more suitable for being limited in certain group or some particular user and issue,, then can only in colleague group, issue as " who knows colleague Li Si's phone number ".Concrete, after client is chosen a group or some good friends, RELEASE PROBLEM information then, then the subscription authority of this problem presentation information only is limited to selected group and good friend.Authorization rule (the Presence Authorization Rules) content that presents of its correspondence is exemplified below:
Figure GSB00000612082200131
Figure GSB00000612082200141
Wherein comprise a rule (rule) in this authorization rule collection (ruleset), the home domain (domain) of having specified authorized user in condition (conditions) element is as " huawei.com ", and in action (actions) element, specify to authorize action for " permissions " (allow), and appointment in conversion element (transformations) allows the sign of the problem that provides as " q3t82z ".This presents authorization rule and can be provided with by XCAP (Extensible Markup Language Configuration Access Protocol) agreement by the client of RELEASE PROBLEM presentation information.When an observer subscribes to this user's presentation information, whether presence server detects the observer according to authorization rule and satisfies condition, and promptly whether home domain is " huawei.com ", if just provide corresponding problem information to it, be included in the notification message and send, otherwise do not provide.
If it is also interested that the good friend waits other users also to check on one's answers, then its client can send an instant message to the user who initially asks a question, and indicates and oneself pays close attention to this problem, if answer is arranged then wish also to offer oneself.The instant message partial content of this indication concerned issue is exemplified below:
MESSAGE?sip:useraexample.com?SIP/2.0
Content-Type:application/focus-question+xml
<focus?qid=″q3t82z″/>
Comprise one<focus in this message body〉element, its property value is the problem identification of being paid close attention to.After admitting meaning really through former enquirement user, generate the concerned issue record in former enquirement user client, when former enquirement user obtains answer, then answer information is sent to other users of this problem of concern by the MESSAGE method.
Client also can be issued answer information after receiving answer information as presentation information, the presentation information that comprises problem and answer simultaneously is exemplified below:
Figure GSB00000612082200151
Answer element<answer wherein〉can have one or morely, each answer unit have identity property as " id ", this is identified at father element<question〉inside is unique, answerer attribute<by in addition〉comprise the person's of furnishing an answer user ID.
Among the 4th embodiment, more for the answer content, or when wishing repeatedly to furnish an answer alternately, also can adopt MSRP (Message Session Relay Protocol) agreement, concrete agreement can be referring to the standard RFC4975 of IETF.Can be called the instant message of page-mode (page mode) based on the instant message of SIP MESSAGE, be similar to short message.The instant message that then can be called conversation modes based on the instant message of MSRP.Concrete, the customer end adopted SIP INVITE method of desiring to furnish an answer is set up the MSRP session to the person's of asking a question request, wherein comprises problem identification in the attribute of the MSRP medium correspondence in SDP (the Session Description Protocol) message body of INVITE request.
The partial content of INVITE request is exemplified below:
INVITE?sip:useraexample.com
m=message?7777?TCP/MSRP*
a=accept-types:text/plain
a=path:msrp://userbpc.example.com:7777/iau39soe2843z;tcp
a=question:p9tr3r2
Wherein the value of attribute problem " question " is that problem identification is as " p9tr3r2 ".After the subscription client that initially asks a question is received this SIP INVITE request, from SDP message body, get access to problem identification, and the problem information in the presentation information of problem identification correspondence is shown to this user, the user agrees to communicate client then and returns 200 OK and respond promoter to INVITE.After the MSRP session was set up, the client that furnishes an answer can send the message content text with the SEND order of MSRP, for big file content, can utilize its piecemeal transfer mechanism to send several times.Both sides can utilize the MSRP session of foundation to carry out alternately in addition, and all interaction message record all is associated with corresponding problem identification, promptly can be with the answer information of interaction message record as this problem.
If during a MSRP session that is associated with problem is carried out, there is an other side also to initiate the INVITE request of setting up MSRP of a same problem to the person of asking a question, be that problem identification in the problem among the SDP " question " is identical, the person's client that then do not ask a question also joins a new side in the existing MSRP session, can use path and port parameter with existing MSRP session to get final product in the SDP in the 200 OK response messages.
Problem information in the SDP medium property also can comprise problem in addition, as:
A=question:p9tr3r2; Who can borrow me 10,000 yuan?
If the user who furnishes an answer wishes to furnish an answer by the mode of voice or video, as problem is " who can demonstrate GB dance? " the subscription client that then furnishes an answer is initiated a Multimedia session request, as initiate the conversation request of a RTP voice and video with SIP INVITE, with above-mentioned MSRP conversation class seemingly, the problem indication is set in the medium property " a " of SDP gets final product.By discerning this problem indication, the client that receives this request can be recorded automatically to this Multimedia session relevant with problem.Multimedia session also can be regarded as a kind of instant message of conversation modes.
Come the RELEASE PROBLEM presentation information by employing XCAP agreement among the 5th embodiment.Because the presentation information with SIP PUBLISH issue generally all has the term of validity, client must constantly refresh just passable, if during client off-line, the presentation information that SIP PUBLISH is issued will lose efficacy, and presence server can be removed the presentation information that lost efficacy.And problem information also can provide to other users when user's off-line, can have increased access to the answer machine meeting like this, because other users may be simultaneously online with the user who asks a question.Therefore in the present embodiment, by the static relatively problem presentation information of XCAP protocol issuance, concrete issue an order is that HTTP PUT content is exemplified below:
PUT/pidf-manipulation/users/sip:someoneexample.com/index/
~~/presence/person%5bid=′x8eg92n′%5d/question?HTTP/1.1
If-Match:″xyz″
Host:xcap.example.com
Content-Type:application/xcap-el+xml
<question〉do room rate in Shenzhen begin to fall?</question 〉
Suppose presentation information<person in the present embodiment〉in comprise one<question element, this element comprises the problem description text.XCAP address in this PUT command request row comprises the node path of the problem element of user's presentation information.Comprise problem element<question in this PUT message body〉particular content.The problem presentation information of being issued by XCAP PUT owing to there is not the restriction of the term of validity, even presence server does not refresh even during off-line at subscription client, still with this problem presentation information as effective presentation information.
Realize the question and answer business based on XMPP (The Extensible Messaging and Presence Protocol) agreement among the 6th embodiment.User's RELEASE PROBLEM information at first, the partial content that gives out information of its XML form is exemplified below:
Figure GSB00000612082200171
Figure GSB00000612082200181
Wherein at<publish〉the indication issue is problem (question) node in the node node attribute of element.At project<item〉in the element with problem<question daughter element comprises concrete problem, this problem element can also comprise linguistic property in addition, indicates concrete category of language such as English or Chinese etc.Project<item〉a plurality of problem<question can be arranged in the element〉daughter element, but each problem<question〉linguistic property of daughter element must be different, i.e. project<item〉all problems<question in the element〉daughter element should be the example of the different language of a problem.Such user has only a problem at most at a moment, can simply mate with problem when having answer message to return.If when receiving answer message, no problem information in the current presentation information of user is then mated the problem in the nearest presentation information of issuing.
Then this problem information by the XMPP agreement<messag message is transmitted to all subscribers.Message content is exemplified below:
Figure GSB00000612082200182
When other subscription clients return answer information, also can with the XMPP agreement<message message sends.Be exemplified below:
Figure GSB00000612082200191
For fear of answer and problem at that time unmatched problem may appear wherein, the client that furnishes an answer can be at<body〉comprise corresponding problem in the element, being preferably in increases a prefix as " Answer: " before the problem description, and indicating this message with this is a answer to this problem.And at answer<answer〉comprise the answer text in the element.Even the current problem of this answer and user does not match like this, the user still can be from<body〉content the element sees the problem of this answer message correspondence.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, this program comprises the steps: when being positioned at the problem moving party when carrying out
Problem information is included in the presentation information issues;
Received answer and corresponding problem are shown together.
When being positioned at the answer provider, comprise the steps:
Acquisition comprises the presentation information of problem information;
Answer information is sent by instant message.
The above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
As shown in Figure 2, provide the instant communication client of question and answer business to comprise: the problem presentation information is provided with module, is used to the input of the problem that receives, and problem information is included in the presentation information issues; Answer instant message sending module is used for extracting problem information from presentation information, and receives the input of answer, then answer information is sent by instant message; Problem and answer display module are used for the answer and the corresponding problem of instant message are shown.For the relationship description of intermodule is clear, two instant communication client A and B are arranged among Fig. 2, it is the same forming structure, and the process communication network interconnects and communicates between two clients, and presence servers etc. all are arranged in communication network.The problem presentation information of instant communication client A is provided with the presentation information that module issues and is sent to instant communication client B through communication network, extracts problem information by the answer instant message sending module of customer end B from presentation information.The problem of instant communication client A and answer display module receive the answer that the answer instant message sending module from customer end B is sent.
Instant communication client can also comprise problem presentation information forwarding module, is used for extracting problem information from the presentation information obtained, and the problem information of extracting is included in oneself the presentation information and issues.Can also comprise that the static problem presentation information is provided with module, be used to the input of the problem that receives, and problem information is arrived server by the XCAP protocol issuance.Can also comprise the question-and-answer session module, be used to the session of setting up and carrying out being associated with problem.As initiating MSRP or RTP session by SIP INVITE, the foregoing description has a detailed description, repeats no more herein.Both sides' instant communication client carries out the session that is associated with problem by the question-and-answer session module, and this module can also be got off the session process record, and conversation recording is as the answer that is associated with correspondence problem.
Instant communication server can comprise: the presentation information processing module is used to receive the presentation information that comprises problem information, and it is distributed; The instant message processing module is used to receive the instant message that comprises answer information, and it is transmitted.These two modules physically also can be arranged in different servers, as lay respectively at presence server and server of instant message, to improve disposal ability.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (19)

1. method that realizes the question and answer business is characterized in that the method comprising the steps of:
First client is included in problem information in the presentation information and issues, described first client person's clients corresponding that promptly do not ask a question, the presentation information that comprises problem information directly sends to second client of subscribing presence information, or is published to presence server earlier and is distributed by described presence server;
Second client obtains to comprise the presentation information of problem information;
Second client sends to first client with answer information by instant message;
First client shows received answer and corresponding problem together;
First client problem information is included in issue in the presentation information after, the 3rd client obtains the presentation information that comprises problem information that first client is issued, problem that then will be wherein is included in oneself the presentation information and issues;
Second client obtains the problem information of first client from the 3rd client.
2. method according to claim 1 is characterized in that, the 3rd client is included in the user ID of first client, problem identification in oneself the presentation information with problem and issues;
According to described user ID second client answer and described problem identification or problem are sent to first client.
3. method according to claim 2 is characterized in that, second client also sends to first client together with the forwarding propagation path of problem.
4. method according to claim 1 is characterized in that, first client problem information is included in issue in the presentation information after, described problem has been passed through at least twice forwarding and has been propagated the back and obtained by second client;
Second client sends to the client of first client or forward-path node with answer information by instant message, also comprises the forwarding propagation path information of problem simultaneously in the instant message.
5. method according to claim 4 is characterized in that, a node client of transmitting on the propagation path sends the instant message that comprises the described problem indication of concern to first client;
First client sends to described node client with described answer after obtaining answer.
6. method according to claim 1 is characterized in that, comprises problem identification in the described problem information of first client issue;
Answer information comprises corresponding problem identification in the instant message that second client sends;
First client shows answer and corresponding problem then together according to the corresponding problem of the coupling of the problem identification in the answer information in the received instant message.
7. method according to claim 6 is characterized in that, the content type that described answer information is included in instant message is in the message body of answer;
When first client detects that the content type is the message body of answer in the received instant message, from described instant message, obtain problem identification, from the presentation information of this locality, obtain corresponding problem according to problem identification then.
8. method according to claim 1, it is characterized in that, when second client sent to first client with answer information by instant message, also the problem information of the correspondence that will obtain from presentation information also sent to first client by instant message together with answer information.
9. method according to claim 1 is characterized in that, first client is also contained in answer information in the presentation information and issues after receiving answer.
10. method according to claim 1 is characterized in that problem or answer are submitted to server, and only the address packet that server is returned is contained in described answer information or the problem information.
11. method according to claim 1 is characterized in that, first client is issued problem information as the presentation information of static state.
12. method according to claim 1 is characterized in that, second client sends to first client with the instant message of answer information by conversation modes.
13. method according to claim 12 is characterized in that, second client is included in problem information in the attribute of SDP content of session initiation protocol request.
14. method according to claim 1 is characterized in that, first client problem information is included in issue in the presentation information after, first client or presence server are published to question and answer website or blog website with problem information.
15. method according to claim 1 is characterized in that, the problem quantity that comprises in the described problem information of first client issue mostly is one most;
First client detects when content type is the answer type in the received instant message, then the problem in answer in the described instant message and the nearest presentation information of issuing of first client is shown together.
16. method according to claim 1 is characterized in that, the problem information in the presentation information that first client is issued also comprises the term of validity or emergency sign.
17. an instant communication client is characterized in that, described client comprises:
The problem presentation information is provided with module, be used to the input of the problem that receives, and problem information is included in the presentation information issues, the presentation information that comprises problem information directly sends to second client of subscribing presence information, or is published to presence server earlier and is distributed by described presence server;
Answer instant message sending module is used for extracting problem information from presentation information, and receives the input of answer, then answer information is sent by instant message;
Problem and answer display module are used for the answer and the corresponding problem of instant message are shown;
Problem presentation information forwarding module is used for extracting problem information from the presentation information obtained, and the problem information of extracting is included in oneself the presentation information and issues.
18. client according to claim 17 is characterized in that, described client also comprises:
The static problem presentation information is provided with module, is used to the input of the problem that receives, and problem information is arrived server by the XCAP protocol issuance.
19. client according to claim 17 is characterized in that, described client also comprises:
The question-and-answer session module is used to the session of setting up and carrying out being associated with problem.
CN2007101244427A 2007-11-08 2007-11-08 Method, client and server for implementing question and answer service Active CN101431479B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN2007101244427A CN101431479B (en) 2007-11-08 2007-11-08 Method, client and server for implementing question and answer service
PCT/CN2008/070999 WO2009059500A1 (en) 2007-11-08 2008-05-16 A method, client end and server for realizing question and answer service
US12/266,247 US20090125598A1 (en) 2007-11-08 2008-11-06 Method, client and server for implementing question and answer services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101244427A CN101431479B (en) 2007-11-08 2007-11-08 Method, client and server for implementing question and answer service

Publications (2)

Publication Number Publication Date
CN101431479A CN101431479A (en) 2009-05-13
CN101431479B true CN101431479B (en) 2011-12-07

Family

ID=40625373

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101244427A Active CN101431479B (en) 2007-11-08 2007-11-08 Method, client and server for implementing question and answer service

Country Status (2)

Country Link
CN (1) CN101431479B (en)
WO (1) WO2009059500A1 (en)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102256217A (en) * 2010-05-17 2011-11-23 华为技术有限公司 Method and device for submitting problem, returning answer and propelling information
CN102609500A (en) * 2012-02-01 2012-07-25 北京百度网讯科技有限公司 Question push method, question answering system using same and search engine
CN102594845B (en) * 2012-03-29 2014-12-10 东南大学 Instant message transmission method based on XMPP
CN103684977B (en) * 2012-09-12 2017-04-05 阿里巴巴集团控股有限公司 Method for sending information and device, method for information display and device
CN103685401B (en) * 2012-09-17 2019-03-29 联想(北京)有限公司 Information switching method, terminal device and Information Exchange System
CN103379451B (en) * 2013-06-21 2017-09-08 宇龙计算机通信科技(深圳)有限公司 The inspection method and its system of burn-after-reading information
CN105099859B (en) * 2014-05-16 2019-02-26 中国移动通信集团陕西有限公司 A kind of report is answerred questions method and system
CN104065564B (en) * 2014-06-10 2017-11-21 网易公司 A kind of method and device for question and answer
CN105337841B (en) * 2014-08-15 2020-04-07 腾讯科技(深圳)有限公司 Information processing method and system, client and server
CN104574089A (en) * 2015-01-13 2015-04-29 北京典精智慧科技有限公司 Questioning and answering processing method and server
CN105046571A (en) * 2015-08-26 2015-11-11 安徽农业大学 Distributed platform for agricultural information
CN105824718B (en) * 2016-04-01 2018-10-19 北京大学 Software configuration failure self-repairing method based on question and answer website knowledge and system
CN106022933A (en) * 2016-04-29 2016-10-12 颜陈煜 System and method of information transmission based on relation chain
CN105931515A (en) * 2016-05-26 2016-09-07 广东小天才科技有限公司 Online problem solving method, equipment and system
CN107480154B (en) * 2016-06-08 2021-12-17 阿里巴巴集团控股有限公司 Data processing method and device
WO2018086040A1 (en) * 2016-11-10 2018-05-17 深圳达闼科技控股有限公司 Message processing method, device, and electronic apparatus
US11586341B2 (en) * 2017-02-15 2023-02-21 Google Llc Structured response summarization of electronic messages
CN108966312A (en) * 2017-05-17 2018-12-07 北京博瑞彤芸文化传播股份有限公司 A kind of processing method of interactive information
CN109412931B (en) * 2018-09-18 2021-07-09 阿里巴巴(中国)有限公司 Method, device and terminal equipment for performing knowledge question answering by using instant messaging mode
CN112242930A (en) * 2020-10-19 2021-01-19 珠海格力电器股份有限公司 Conversation processing method, device, server and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838642A (en) * 2005-03-21 2006-09-27 华为技术有限公司 Method and system for realizing ask-answer service using instantaneous message system
CN1929454A (en) * 2005-09-05 2007-03-14 腾讯科技(深圳)有限公司 Display method for instant message in instant communication
CN101017489A (en) * 2006-02-08 2007-08-15 腾讯科技(深圳)有限公司 Knowledge searching method and system based on instant communication

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838642A (en) * 2005-03-21 2006-09-27 华为技术有限公司 Method and system for realizing ask-answer service using instantaneous message system
CN1929454A (en) * 2005-09-05 2007-03-14 腾讯科技(深圳)有限公司 Display method for instant message in instant communication
CN101017489A (en) * 2006-02-08 2007-08-15 腾讯科技(深圳)有限公司 Knowledge searching method and system based on instant communication

Also Published As

Publication number Publication date
WO2009059500A1 (en) 2009-05-14
CN101431479A (en) 2009-05-13

Similar Documents

Publication Publication Date Title
CN101431479B (en) Method, client and server for implementing question and answer service
US20090125598A1 (en) Method, client and server for implementing question and answer services
CN101155049B (en) Message system and its conversation history processing method
JP5815569B2 (en) Contact providing apparatus and method via interaction between messaging service and social network service
US8032555B2 (en) Method and apparatus for constructing a networking database and system proactively
US8332471B2 (en) System for enhanced management of social networks on mobile devices
CN101714170B (en) XDMS-based group management system and method
US20070005698A1 (en) Method and apparatuses for locating an expert during a collaboration session
US20060171380A1 (en) Method and system for integrated communications with access control list, automatic notification and telephony services
JP2004531798A (en) Realizing presence management
KR20140096485A (en) Apparatus, method and computer readable recording medium for sending contents simultaneously through a plurality of chatting windows of a messenger service
KR101839050B1 (en) System, method and computer readable recording medium for generating a group of a messenger service automatically linked to the activity of a user
CN101299829A (en) Method and message system implementing medium content management of unification storage
CN101543006A (en) Method of real-time interactive sharing of multimedia data real-time interactive server and communication network
CN103873354B (en) A kind of instant communication client and service end
CN101903880A (en) Method and agent for processing messages exchanged between terminals
CN101778056B (en) Processing method and system for meeting history record fusing message business
CN102469042A (en) Method and system for transmitting and obtaining output messages of chats and conversations
McClea et al. An analytical study towards the development of a standardized IM application
KR20030017043A (en) integrated internet communication system, integrated internet communication method, storage media where the same method written thereon, and an apparatus for integrated internet communication
CN101425067B (en) Information retrival method and system
KR20050007058A (en) Method For Providing An Online Marketing Service Using Messenger Robot
CN102469139B (en) A kind of ending chatting conversation and the method and system of obtaining chat sessions information
KR100784225B1 (en) Method for providing service based on phone book address in presence system and the system thereof
WO2002035782A2 (en) Method and device for transmitting streaming multimedia messages

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