Background technology
At present, personal communication more and more has been dissolved in individual's the life, is bringing into play more and more important effect.The mode of communication is also more and more, as phone, mobile phone, Short Message Service (SMS), strengthen messenger service (EMS), Multimedia Message service (MMS), E-mail, instant message (IM) as QQ or the like.The effect and the effect of various communications also are not quite similar.
The IM business originates from internet (Internet) and goes up instant chat systems such as ICQ, MSN, and it offers a kind of online connection easily of user mode.Be accompanied by the develop rapidly of Internet technology, the user that the various IM of use system gets in touch on Internet has reached several hundred million people.At present, some IM systems also provide the mode of using IM by mobile phone.
Instant message and exist attribute business (IMPS) to come from IM business on the Internet, be by the research of the IMPS working group of Open Mobile Alliance (OMA) and application framework and standard are provided, mainly comprise business functions such as having (Presence) attribute business, IM business is provided.
User's presence information is user's dynamic change, can be used for showing user oneself, shares information and service control by state and the attribute that other people know.Its essence comprises two aspects: the state that user's oneself state can be known by other people and user oneself can be known other people under the situation of obtaining the authorization.Presence information comprises individual and the availability of terminal, messaging parameter, terminal capabilities, current behavior and positional information or the like.The Presence attribute can also be expanded according to the needs of practical application.
IM is based on the individual of Presence to individual or individual information series business to group.IMPS user can transmit based on various types of information such as text, multimedia messagess immediately by IM.At present the IMPS working group of OMA pays close attention to the application of IMPS business in wireless communication field, has proposed WV 1.1 agreements that the IMPS business expands to the standard of using in the wireless communication field, guarantees the intercommunication of equipment between the different vendor.In IMPS agreements such as WV 1.1 agreements, for the mandate of Presence attribute, obtain, revise and all have special agreement to control.
Referring to Fig. 1, Fig. 1 is the networking diagram of prior art IMPS business.Wherein, portable terminal 101 links to each other with IMPS server 104 by mobile network 102, SP 103 can directly link to each other with IMPS server 104, also can link to each other with IMPS server 104 by Internet 105, and terminal 106 also links to each other with IMPS server 104 by Internet 105.
Referring to Fig. 2, Fig. 2 subscribes to the flow chart of Presence attribute to the IMPS server for the prior art communication terminal.This flow process may further comprise the steps:
At first, communication terminal user A and the communication terminal user B IMPS business of all contracting.
Step 201, communication terminal user A sends the Presence attribute request SubscribePresenceReq_C that subscribes to communication terminal user B to IMPS server 1.
Step 202, IMPS server 1 returns a status message Status who receives request to communication terminal user A.
Step 203, IMPS server 1 are the IMPS server 2 transmission subscribe request SubscribeReq_Ss of communication terminal user A to communication terminal user B place after receiving subscribe request.
Step 204, IMPS server 2 returns a status message Status who receives request to IMPS server 1.
Above-mentioned four steps are to exist attribute information to subscribe to the stage.
After step 205, IMPS server 2 are received the subscribe request of IMPS server 1 transmission, send authentication request PresenceAuthRequest_C to communication terminal B.
Step 206, communication terminal user B returns a status message Status who receives request to IMPS server 2.
Step 207, communication terminal user B sends to IMPS server 2 with authenticating result PresenceAuthUser_C.
Step 208, IMPS server 2 returns a status message Status who receives request to communication terminal user B.
Step 205-208 is an authorization phase.
After IMPS server 2 is received the authenticating result of communication terminal B, if authentication is passed through, there is attribute notice PresenceNotifi_S in step 209 to 1 transmission of IMPS server.If authentication not by do not carry out the flow process of back.
Step 210, IMPS server 1 returns a status message Status who receives request to IMPS server 2.
Step 211, IMPS server 1 receive that IMPS server 2 sends have the attribute notice after, send to communication terminal user A and to have attribute notice PresenceNotifiReq_C.
Step 212, communication terminal user A returns a status message Status who receives request to IMPS server 1.
There is the attribute message notification phase in step 209-212.
Step 213, communication terminal user B sends to IMPS server 2 and has attribute changes request UpdatePresenceReq_C.
Step 214, IMPS server 2 returns a status message Status who receives request to communication terminal user B.
Step 215, IMPS server 2 receive that there is attribute notice PresenceNotifi_S in the attribute changes request that exists of communication terminal user B to 1 transmission of IMPS server.
Step 216, IMPS server 1 returns a status message Status who receives request to IMPS server 2.
Step 217, IMPS server 1 receive that IMPS server 2 sends have the attribute notice after, send to communication terminal A and to have attribute notice PresenceNotifiReq_C.
Step 218, communication terminal user A returns a status message Status who receives request to IMPS server 1.
Step 213-218 exists attribute message to change notification phase.
As seen, the IMPS business has been the technology of comparative maturity at present.Above-mentioned flow process is the situations of two communication terminals when belonging to two IMPS servers respectively, if two communication terminals all belong to same IMPS server respectively, does not then have two protocol interactions between the IMPS server.
In current personal communication, the user adopts the mode of contacting directly.Because the user does not know that what current state by the connector is, what best contact method is, can only oneself a kind of contact method of selection, the most directly be exactly to phone with mobile telephone.And this contact method is possibly to being produced unnecessary influence by contact user and bothering.As: user in session the time, the influence of just receiving Inbound Calls through regular meeting.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of communication terminal assisting users to select the method for contact method, assisting users is selected suitable contact method, avoid because of contact method select improper cause to by the unnecessary influence of contact user with bother.
For achieving the above object, technical scheme of the present invention specifically is achieved in that
A kind of communication terminal assisting users is selected the method for contact method, and this communication terminal user's CAMEL-Subscription-Information is stored in instant message and exists in the attribute service server, and this method may further comprise the steps:
1) in communication terminal, is provided with by contact user contact method selection interface;
2) communication terminal is by instant message with exist the attribute service server to obtain to be had attribute by contact user;
3) communication terminal,, is shown the current contact method that can be selected by contact user on by contact user contact method selection interface by the attribute that exists of contact user according to current.
This method can be provided with a contact address list for each by contact user in advance in communication terminal, this contact address list comprises this by all contact methods of contact user and every kind of state whether contact method can be selected thereof;
Communication terminal according to obtain by the attribute that exists of contact user, judge whether every kind of contact method can be selected, and the state whether general can select is filled up in the contact address list;
The communication terminal user has selected current by after the contact user, communication terminal finds this earlier by the contact address list of contact user, from the current contact method that can select that found out the contact address list of contact user, the contact method that finds out is shown on by the contact method choice menus of contact user again.
Step 2) described acquisition by contact user exist attribute method can for: communication terminal to instant message with exist the attribute service server to send to obtain to be had attribute request by contact user; Instant message and exist the attribute service server to be had attribute by contact user is by obtaining to be existed property response to return to communication terminal by contact user.
Described step 2) may further include: instant message and exist the attribute service server to receive that there is attribute request in acquisition by contact user after, return authenticating result according to the active mandate that is set in advance by contact user;
Instant message and exist the attribute service server only to be had attribute request at authenticating result by contact user for what pass through returns by contact user and has attribute.
Step 2) described acquisition by contact user exist attribute method can for: communication terminal to instant message with exist the attribute service server to subscribe to be had attribute by contact user, instant message and exist the attribute service server to write down the subscribe request of all communication terminals;
In communication terminal User Status when change, is to instant message with exist the attribute service server to change to have attribute; Instant message and exist the attribute service server revise this communication terminal have attribute after, according to the subscribe request of record, exist attribute to send to all to subscribe to the communication terminal that there is attribute in this communication terminal user with amended.
Described step 2) may further include: instant message and exist the attribute service server to receive that there is attribute request in subscription by contact user after, to sent authentication request by the contact user communication terminal; By the contact user communication terminal to instant message and exist the attribute service server to return authenticating result;
Instant message is that the subscription of passing through is existed attribute request by contact user with existing the attribute service server to accept authenticating result.
Step 2) described acquisition by contact user exist the method for attribute can be for: communication terminal by SP from instant message with exist the attribute service server to obtain to be had attribute by contact user.
Described step 2) may further include: instant message and exist the attribute service server to receive that there is attribute request in acquisition by contact user after, according to the active mandate that is set in advance by contact user, return authenticating result by SP;
Instant message and exist the attribute service server only to be had attribute request at authenticating result by contact user for what pass through returns by contact user and has attribute.
The described method that the current contact method that can be selected by contact user is shown of step 3) can for: will be somebody's turn to do on the highlighted display screen that is presented at user communication terminal of the contact method that can be selected by contact user; The contact method that can not select is presented on the display screen of user communication terminal with general brightness.
Described is by the choice menus of contact user by contact user selection contact method display interface.
By technical scheme of the present invention as seen, this communication terminal assisting users of the present invention is selected the method for contact method, the user of the communication terminal IMPS business of contracting, and communication terminal is according to by the Presence attribute of contact user communication terminal, to be presented at by the contact method that contact user can be selected on the communication terminal, come assisting users to select suitable contact method with this, avoided because of contact method select improper cause to by the unnecessary influence of contact user with bother.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with three embodiment and accompanying drawing, the present invention is described in more detail.
This communication terminal assisting users of the present invention is selected the method for contact method, only need the signatory IMPS business of communication terminal user, different by on communication terminal, being provided with by contact user contact method selection interface, again according to obtain by the Presence attribute of contact user communication terminal, will be presented on the communication terminal by the contact method that contact user can be selected.The user can select the interface to select suitable contact method by this.
Referring to Fig. 3, Fig. 3 is that the present invention's first preferred embodiment is by the situation of change of the contact method choice menus of contact user.Present embodiment selected the interface by the contact user contact method, be on mobile communication terminal, show one by the contact method choice menus of contact user.Can be a kind of demonstration situation of contact method choice menus shown in Fig. 3 left side, show that wherein the current contact method that can select of user has: mobile calls (Call), IM chat (IM Chat), short message service (SMS), multimedia short message service (MMS) and five kinds of modes of Email (E-Mail).Fig. 3 the right is for after mobile communication terminal receives the Presence attribute of being changed by contact user, and according to the Presence attribute after the change that mobile calls (Call) font is anti-white, expression Call contact method quilt is forbidden by contact user.
In the present embodiment, use the mode that allows mobile calls (Call) menu become ash to forbid calling out, also can additive method.As the highlighted demonstration of menu item that will do not forbidden, will be shown by the menu item general brightness that contact user is forbidden by contact user.
In addition, can also adopt prompting mode to allow the user confirm whether will when being forbidden calling out, phone him by contact user.If adopted multiple mode, also can be by being configured of contact method choice menus selected a kind of mode.
Referring to Fig. 4, Fig. 4 selects the process schematic diagram of contact method for the present invention's second preferred embodiment facilitating communications terminal assisting users.In the present embodiment, communication terminal A and communication terminal B are the mobile communication terminals of two IMPS authorized users, they all are provided with by contact user contact method choice menus, and, comprised this in each contact address list by all contact methods of contact user and every kind of state whether contact method can be selected thereof for each all is provided with a contact address list by contact user.In addition, communication terminal user A and communication terminal user B belong to same IMPS server, the CAMEL-Subscription-Information that is to say this communication terminal user A and communication terminal user B all is stored in the same IMPS server, communication terminal A and communication terminal B sign in to the IMPS server, and have successfully subscribed to Presence attribute information each other.This process may further comprise the steps:
Step 401, communication terminal user B need participate in a meeting, when not wanting to receive calls, use communication terminal B to send to the IMPS server and upgrade the Presence attribute request, request can be unavailable (Noyt_Available) with (UserAvailability) attribute modification with the user of oneself.The UserAvailability attribute is a kind of of Presence attribute, also can utilize existing other Presence attributes here, as OnlineStatus, CommCap, StatusText etc.Can also use the Presence attribute of new establishment.The Presence attribute that each communication terminal uses also can be different.
Step 402 after the IMPS server is received this attribute request, is Not Available with the UserAvailability attribute modification of communication terminal user B, and record.Simultaneously, find out the communication terminal user that all have subscribed to the Presence attribute of communication terminal user B in the subscription of the IMPS server record, comprising communication terminal user A.
Step 403, the IMPS server is the notice of change of Not_Available to the UserAvailability attribute modification that communication terminal A sends communication terminal user B.Be actually to all and subscribed to the described notice of change that the communication terminal of communication terminal party B-subscriber's Presence attribute sends.
Step 404, communication terminal A receives behind the notice of change that the UserAvailability attribute modification with communication terminal user B is Not_Available and notes.Simultaneously, communication terminal A according to this attribute in the contact address list of communication terminal user B with communication terminal user B call function be revised as can not selecteed state.
Step 405, when communication terminal user A need get in touch communication terminal user B, for example: communication terminal user A has selected the number of communication terminal B on telephone directory, communication terminal A then finds the contact address list of communication terminal user B earlier, from this contact address list, find out the contact method that to select again, the calling Call function of finding the communication terminal party B-subscriber this moment is revised as can not be selected, the contact method of IMChat, SMS, MMS and E-Mail then shows that the Call function is under an embargo for selecting on by the contact method choice menus of contact user.Result displayed can be identical with the right figure of the described embodiment of Fig. 3.
Step 406-409, communication terminal user A have selected the B by IM message contact communication terminal user, send IM message by the IMPS server to communication terminal B; Communication terminal B returns IM message by the IMPS server to communication terminal A.Have a detailed discussion after meeting adjourned by IM message and communication terminal user B agreement etc. as communication terminal user A.
Step 410, communication terminal user B uses communication terminal B to send to the IMPS server and upgrades the Presence attribute request after meeting adjourned, and request can be available (Available) with (UserAvailability) attribute modification with the user of oneself.
Step 411 after the IMPS server is received this attribute request, is Available with the UserAvailability attribute modification of communication terminal user B, and record.Simultaneously, find out the communication terminal user that all have subscribed to communication terminal user B Presence attribute in the subscription of the IMPS server record, comprising communication terminal user A.
Step 412, the IMPS server is the notice of change of Available to the UserAvailability attribute modification that communication terminal A sends communication terminal user B.Be actually the described notice of change of having subscribed to the communication terminal transmission of communication terminal B Presence attribute to all.
Step 413, communication terminal A receives behind the notice of change that the UserAvailability attribute modification with communication terminal user B is Available and notes.Simultaneously, the call function of communication terminal B is revised as in communication terminal party B-subscriber's contact address list according to this attribute can selecteed state for communication terminal A.
Step 414, when communication terminal user A need get in touch communication terminal user B, for example: communication terminal user A has selected communication terminal user B on telephone directory, communication terminal A then finds the contact address list of communication terminal user B earlier, from this contact address list, find out the contact method that to select again, the calling Call function of finding communication terminal B this moment is revised as can be selected, the contact method of IM Chat, SMS, MMS and E-Mail then shows that above-mentioned functions can be selected for selecting on by the contact method choice menus of contact user.Result displayed can be identical with the left figure of the described embodiment of Fig. 3.
Step 415, communication terminal user A has seen the phone that can get through letter terminal use B, then directly calls communication terminal B.
In the present embodiment, communication terminal A is by subscribing to by the attribute that exists that has the logical acquisition of attribute communication terminal user B of contact user, also can obtaining to be existed attribute request to obtain the attribute that exists of communication terminal user B by contact user by directly sending to the IMPS server.Usually subscribe to by contact user have attribute before need to carry out authentication, the method for authentication is:
Instant message and exist the attribute service server to receive that there is attribute request in subscription by contact user after, to sent authentication request by the contact user communication terminal; By the contact user communication terminal to instant message and exist the attribute service server to return authenticating result;
Instant message is that the subscription of passing through is existed attribute request by contact user with existing the attribute service server to accept authenticating result.
When directly there is attribute request in the transmission acquisition by contact user, return authenticating result according to the active mandate that is set in advance by contact user by the IMPS server, if authentication is passed through, the IMPS server returns by contact user and has attribute, otherwise process ends.
Referring to Fig. 5, Fig. 5 selects the process schematic diagram of contact method for the present invention's the 3rd preferred embodiment facilitating communications terminal assisting users.In the present embodiment, communication terminal A and communication terminal B are two communication terminals, they all are provided with by contact user contact method choice menus, and, comprised this in each contact address list by all contact methods of contact user and every kind of state whether contact method can be selected thereof for each all is provided with a contact address list by contact user.In addition, communication terminal A signs in to the IMPS server by SP, and communication terminal B directly signs in to the IMPS server.This process may further comprise the steps:
Step 501, communication terminal user B need participate in a meeting, when not wanting to receive calls, use communication terminal B to send to the IMPS server and upgrade the Presence attribute request, request can be unavailable (Not_Available) with (UserAvailability) attribute modification with the user of oneself.
Step 502 after the IMPS server is received this attribute request, is Not_Available with the UserAvailability attribute modification of communication terminal user B, and record.
Step 503-505 when communication terminal user A need get in touch communication terminal user B, causes SP and calls there is attribute in acquisition by contact user api function.SP is Not_Available from the UserAvailability attribute that the IMPS server obtains communication terminal user B, and this attribute is returned to communication terminal A.
Step 506, after communication terminal A receives this attribute, then find the contact address list of communication terminal user B earlier, according to this attribute the calling Call function of communication terminal B being revised as can not be selected, from this contact address list, find out the contact method that to select again, find the contact method of IMChat, SMS, MMS and E-Mail of communication terminal user B this moment for selecting, then demonstration Call function is under an embargo on by the contact method choice menus of contact user.Result displayed can be identical with the right figure of the described embodiment of Fig. 3.
Step 507, communication terminal user A has selected by sending SMS message and communication terminal user B gets in touch.Have a detailed discussion after meeting adjourned by sending SMS message mutually to arrange to wait as communication terminal user A with communication terminal user B.
Step 508, communication terminal user B uses communication terminal B to send to the IMPS server and upgrades the Presence attribute request after meeting adjourned, and request can be available (Available) with (UserAvailability) attribute modification with the user of oneself.
Step 509 after the IMPS server is received this attribute request, is Available with the UserAvailability attribute modification of communication terminal user B, and record.
Step 510-512, when communication terminal user A need get in touch communication terminal user B, there was the api function of attribute in the acquisition that calling SP provides by contact user.SP is Available from the UserAvailability attribute that the IMPS server obtains communication terminal user B, and this attribute is returned to communication terminal A.
Step 513, after communication terminal A receives this attribute, then find the contact address list of communication terminal user B earlier, according to this attribute the calling Call function of communication terminal B being revised as can be selected, from this contact address list, find out the contact method that other can be selected again, the contact method of IM Chat, SMS, MMS and E-Mail shows that above-mentioned functions can be selected for selecting on by the contact method choice menus of contact user.Result displayed can be identical with the left figure of the described embodiment of Fig. 3.
Step 514, communication terminal user A has seen the phone that can get through letter terminal use B, then directly calls communication terminal B.
In the present embodiment,, carry out authentication, return authenticating result by SP according to the active mandate that is set in advance by contact user at instant message with after existing the attribute service server to receive that there is attribute request in acquisition by contact user; If authentication is passed through, instant message and exist the attribute service server to return to have attribute by contact user, otherwise finish to obtain to be had the attribute flow process by contact user.
Communication terminal user A also needs the relevant authentication of elder generation by SP and IMPS server before obtaining communication terminal user BPresence attribute.
When the user logins SP, must pass through the login authentication of SP earlier, as login a website, if use its various functions just must be registered as its member.This is a ground floor.In addition, if the user thinks further to use the function of IMPS server, just must be further authentication by IMPS.At this moment two kinds of situations are just arranged:
SP is unified to carry out authentication, and in this manner,, can send IM message and chat by the same user ID of the whole uses of the user of this SP login, but owing to can't distinguish user's true UserID, so the service of further personalization can't be provided.
The independent authentication of user, the user inputs own IMPS UserID and password (also can be kept at SP automatically), carries out authentication again, in this case, the user uses the UserID login of own individual character, can resemble every function of using IMPS other IMPS clients.
In addition, SP can directly obtain information from the IMPS server by internal interface.
The contact method that the communication terminal A of above-mentioned second and third embodiment can select communication terminal B and can not select shows on the contact method choice menus by different way, assisted communication terminal user A to select suitable contact method, avoided because of contact method select improper cause to the unnecessary influence of communication terminal user B and bother.Communication terminal of the present invention not only can be a mobile communication terminal, also can be other equipment with communication function, such as computer etc.
By the above embodiments as seen, this communication terminal assisting users of the present invention is selected the method for contact method, only need difference to be set on communication terminal, do not need to revise the network configuration and the agreement predetermined process flow process of IMPS business, realize simple by the menu of contact user.Use the present invention, user's selection contact method no longer blindly, but can be according to being selected optimum contact method by contact person's current state.As user just in session or when driving, use modes such as short message, Email to get in touch as far as possible.Embody a kind ofly to by contact person's respect, reduce other people are bothered the efficient of raising work and life.