Message registration call method and equipment
Technical field
The present invention relates to the communications field, and more particularly, to message registration call method and equipment.
Background technology
Webpage real-time Communication for Power(Web Real Time Communication, WebRTC)It is one to be intended to support that network is clear
Device of looking at carries out the communication technology of real-time voice dialogue or video conversation.With traditional based on local client or browser plug-in
Multimedia communication mode is different, and WebRTC is by the way that audio frequency and video necessary to multimedia communication are handled(Collection, coding, enhancing)、
The nucleus modules such as network transmission, session control are integrated into inside browser, so that third party application developer only needs to pass through letter
Single JavaScript API Calls can obtain real-time audio/video communication ability.
Nowadays social class is applied prevailing, and WebRTC can be more convenient the exchange between user, many browser manufacturers, operation
Business, especially social network sites will release the WebRTC business of oneself.At that time, user can select any one service to provide
The WebRTC of business is applied to carry out voice or video calling, and such user will have many calls in different WebRTC applications
Record, and user can not often remember these message registrations, therefore it is that can call message registration at any time that user, which has a kind of demand,
Inquired about or managed.
But current locally applied or web application only supports local importing/export of message registration, and can not be real
Now called across the message registration of application or webpage.
The content of the invention
The embodiment of the present invention provides a kind of message registration call method and equipment, can realize the call across application or webpage
Record calls.
First aspect, there is provided a kind of message registration call method, including:The message registration that client is sent is received to call
Request, the message registration call request include:For indicating the action field of call operation and for indicating that data type is
The type field of message registration;According to the message registration call request, it is determined to provide the service end of message registration;To institute
State service end and send message registration acquisition request;Receive the response that the service end obtains request transmission according to the message registration
Message, the response message include:Meet the message registration of predefined format, or, indicate the errored response of type of error.
With reference in a first aspect, in its first implementation, the message registration call request also includes additional request
Condition, wherein the additional request condition includes following at least one:For indicating the character string of object search;For indicating to lead to
Words record returns to the numerical value of quantity limitation;For indicating the character string of search condition.
It is described to be remembered according to the call in its second of implementation with reference to first aspect and its above-mentioned implementation
Call request is recorded, is determined to provide the service end of message registration, including:Sending the message registration calling to registration center please
Ask, service is called so that the registration center is determined to offer message registration according to the action field and the type field
Service end list;Receive the service end list that the registration center sends;Described in being determined in the service end list
The service end of message registration can be provided.
It is described to be arranged in the service end in its third implementation with reference to first aspect and its above-mentioned implementation
The service end of message registration can be provided described in being determined in table, including:Determine that user is used in the service end list
Service end is the service end that can provide message registration;Or the selection according to user, in the service end list or
The service end of message registration can be provided described in being determined in the used service end of person user.
With reference to first aspect and its above-mentioned implementation, in its 4th kind of implementation, the message registration calls please
Ask and also include:The service end of message registration can be being provided described in the selected one or more of the client for instruction user
Information.
With reference to first aspect and its above-mentioned implementation, in its 5th kind of implementation, the message registration obtains please
Ask and include additional request condition, wherein the additional request condition includes following at least one:For indicating the word of object search
Symbol string;For indicating that message registration returns to the numerical value of quantity limitation;For indicating the character string of search condition.
It is described to receive the service end in its 6th kind of implementation with reference to first aspect and its above-mentioned implementation
After the response message that request is sent is obtained according to the message registration, in addition to:Sent to the client described logical
Words record, to show, import or store the message registration in the client.
With reference to first aspect and its above-mentioned implementation, in its 7th kind of implementation, the message registration makes a reservation for
Adopted form includes at least one of following:The unique mark of this message registration;The identity of calling user;Calling user shows
Show title;Call date of occurrence;Duration;Positional information during call;Annex in communication process;In communication process
Sectional drawing;The recording or video recording of communication process;Videoconference or video conference information.
Second aspect, there is provided a kind of user equipment, including:First receiving unit, for receiving the logical of client transmission
Words record call request, the message registration call request include:For indicating the action field of call operation and for indicating
Data type is the type field of message registration;Determining unit, for according to the message registration call request, being determined to carry
For the service end of message registration, wherein the client is different from the service end;Transmitting element, for being sent out to the service end
Message registration is sent to obtain request;Second receiving unit, request hair is obtained according to the message registration for receiving the service end
The response message sent, the response message include:Meet the message registration of predefined format, or, indicate type of error
Errored response.
With reference to second aspect, in its first implementation, the message registration call request also includes additional request
Condition, wherein the additional request condition includes following at least one:For indicating the character string of object search;For indicating to lead to
Words record returns to the numerical value of quantity limitation;For indicating the character string of search condition.
With reference to second aspect and its above-mentioned implementation, in its second of implementation, the transmitting element is additionally operable to
The message registration call request is sent to registration center, so that the registration center is according to the action field and the type
Field is determined to offer message registration and calls receiving unit described in the service end list of service to be additionally operable to receive in the registration
The service end list that the heart is sent;The determining unit be additionally operable in the service end list determine described in can provide it is logical
Talk about the service end of record.
With reference to second aspect and its above-mentioned implementation, in its third implementation, the determining unit is additionally operable to:
Determine the used service end of user for the service end that can provide message registration in the service end list;Or root
According to the selection of user, call note can be provided in the service end list or in the used service end of user described in determination
The service end of record.
With reference to second aspect and its above-mentioned implementation, in its 4th kind of implementation, the message registration calls please
Ask and also include:For instruction user client select one or more described in can provide message registration service end letter
Breath.
With reference to second aspect and its above-mentioned implementation, in its 5th kind of implementation, the message registration obtains please
Ask including additional request condition, wherein the additional request condition includes following at least one:For indicating the word of object search
Symbol string;For indicating that message registration returns to the numerical value of quantity limitation;For indicating the character string of search condition.
With reference to second aspect and its above-mentioned implementation, in its 6th kind of implementation, second transmitting element is also
For:The message registration is sent to the client, to show, import or store the call note in the client
Record.
With reference to second aspect and its above-mentioned implementation, in its 7th kind of implementation, the message registration makes a reservation for
Adopted form includes at least one of following:The unique mark of this message registration;The identity of calling user;Calling user shows
Show title;Call date of occurrence;Duration;Positional information during call;Annex in communication process;In communication process
Sectional drawing;The recording or video recording of communication process;Videoconference or video conference information.
The call of method provided in an embodiment of the present invention and user equipment in other service ends of any one client call
Record, enhances the operability of message registration, is easy to manage, it is possible to achieve is called across the message registration of application or webpage.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, it will make below to required in the embodiment of the present invention
Accompanying drawing is briefly described, it should be apparent that, drawings described below is only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the flow chart of the message registration call method of one embodiment of the invention.
Fig. 2 is the interaction figure of the message registration call method of one embodiment of the invention.
Fig. 3 is the interaction figure of the message registration call method of another embodiment of the present invention.
Fig. 4 is the schematic block diagram of the user equipment of one embodiment of the invention.
Fig. 5 is the schematic block diagram of the user equipment of another embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is the part of the embodiment of the present invention, rather than whole embodiments.Based on this hair
Embodiment in bright, the every other reality that those of ordinary skill in the art are obtained on the premise of creative work is not made
Example is applied, should all belong to the scope of protection of the invention.
Fig. 1 is the flow chart of the message registration call method of one embodiment of the invention.Fig. 1 method is by user agent
(User Agent, UA)Perform.
101, the message registration call request that client is sent is received, the message registration call request includes:For indicating
The action field of call operation and for indicate data type be message registration type field.
102, according to message registration call request, it is determined to provide the service end of message registration.
103, send message registration to service end and obtain request.
104, the response message that service end obtains request transmission according to message registration is received, the response message includes:Meet
The message registration of predefined format, or, indicate the errored response of type of error.
Method provided in an embodiment of the present invention is enhanced in the message registration of other service ends of any one client call
The operability of message registration, it is easy to manage, it is possible to achieve call across the message registration of application or webpage.
In embodiments of the present invention, user agent(UA)It is the general designation of browser or operating system, such as Microsoft
Internet Explorer browsers, the Google Chrome browsers or network operating system of Google(Web-based
Operating System)Etc..Client refers to initiating the application of interaction request, and wherein client can be locally applied
(Native Applications, Native Apps)Or web application(Webpage Applications, Web Apps), example
Such as it is used for webpage real-time Communication for Power(Web Real Time Communication, WebRTC)WebRTC Apps.More broadly,
Client can also only initiate the page or webpage of interaction request, such as Facebook, Renren Network, friend Wang Deng societies of Tengxun
Hand over page of class website etc..Service end refers to that the application of service is asked or provided for client at customer in response end, wherein
Service end can be Native Apps or Web Apps, such as WebRTC Apps.Similarly, service end can also be with the page
Or existing for form web page, such as page of social class website such as Facebook, Renren Network, Tengxun friend net etc..
In order to facilitate description, message registration of the embodiment of the present invention between Web Apps illustrates exemplified by calling, but
Not limited to this of the embodiment of the present invention, web application is with locally applied, web application and webpage, webpage and webpage, it is locally applied with
It is locally applied to wait combination to still fall within protection scope of the present invention.
Alternatively, can also include before as one embodiment, step 101:Receive the registration request that service end is sent;
Registration request is sent to registration center, registration request is used to that to registration center's instruction service end message registration calling clothes can be provided
Business.That is, before providing message registration and calling service, service end needs to be noted in registration center by browser
Volume, certain service end can not also directly be registered by browser in registration center.Wherein, registration request can wrap
Contain:For indicating the action field of call operation, and for indicating type field of the data type for message registration.Registration center
Can apply shop(App Store)Or third-party registration platform, such as webintents.org etc., the present invention are not done to this
Limit.
Alternatively, as another embodiment, in a step 101, message registration call request includes:For indicating to call
The action field of operation and for indicate data type be message registration type field.Wherein in message registration call request
Action field and type field need it is consistent with the action field in registration request and type field, so as to registration center according to
The registered service end that message registration can be provided and call service of message registration call request matching.Further, call note
Record call request can also include additional request condition, and wherein additional request condition can include following at least one:For referring to
Show the character string of object search;For indicating that message registration returns to the numerical value of quantity limitation;For indicating the character of search condition
String.
Alternatively, include as another embodiment, step 102:Message registration call request is sent to registration center, with
Just registration center is determined to provide the service end list of message registration calling service according to action field and type field;Receive
The service end list that registration center sends;It is determined to provide the service end of message registration in service end list.Wherein, taking
It is determined to provide the service end of message registration in business end list, including:The used clothes of user are determined in service end list
Business end is the service end that can provide message registration;Or the selection according to user, it is determined to provide in service end list
The service end of message registration.
Alternatively, as another embodiment, in step 101, message registration call request also includes:For instruction user
The information of the service end of message registration can be provided in the one or more that client is selected.That is, user can be in visitor
Some or multiple service ends are directly chosen in family end, without generating service end row to be selected by browser searches registration center
Table is for selection by the user.
Alternatively, as another embodiment, in step 103, message registration obtains request bag condition containing additional request,
Wherein additional request condition can include following at least one:For indicating the character string of object search;For indicating call note
Playback returns the numerical value of quantity limitation;For indicating the character string of search condition.That is, being determined in browser to provide
After the service end of message registration, the additional request condition obtained from above-mentioned message registration call request is sent to the service end,
Retrieved to carry out the message registration with qualifications.
Alternatively, as another embodiment, at step 104, response message includes:Match the call of predefined format
Record, or, indicate the errored response of type of error., should when service end can provide message registration according to the request of client
Message registration can be returned to browser by service end according to predefined form.If any mistake occurs, service end
A wrong information can be returned.Wherein, predefined format can include at least one of following:This message registration it is unique
Mark;The identity of calling user;The display Name of calling user;Call date of occurrence;Duration;During call
Positional information;Annex in communication process;Sectional drawing in communication process;The recording or video recording of communication process;Videoconference regards
Frequency conferencing information.
Alternatively, as another embodiment, after step 104, in addition to:Message registration is sent to client, so as to
Message registration is shown, imports or stores in client.Browser receives the call note of the predefined format of service end transmission
After record, the message registration of the predefined format can be shown on customer terminal webpage, and can be entered according to the instruction of user
The operation such as the follow-up importing of row or storage, it the behaviour such as directly can also be imported or be stored without the display of customer terminal webpage
Make.
Method provided in an embodiment of the present invention can realize the call note in other service ends of any one client call
Record, enhances the operability of message registration, is easy to manage, it is possible to achieve is called across the message registration of application or webpage.
Fig. 2 is the interaction figure of the message registration call method of one embodiment of the invention.In Fig. 2, user agent(UA)It is
The general designation of browser or operating system, such as the Internet Explorer browsers of Microsoft, the Google of Google
Chrome browsers or network operating system(Web-based Operating System)Etc..Client refers to initiating
The application of interaction request, wherein client can be Native Apps or Web Apps, such as WebRTC Apps.It is broader
Ground, client can also only initiate the page or webpage of interaction request, such as Facebook, Renren Network, Tengxun's friend's net
Page etc. social class website etc..Service end refers to that the application of service is asked or provided for client at customer in response end,
Wherein service end can be Native Apps or Web Apps, such as WebRTC Apps.Similarly, service end can also be with
Existing for the page or form web page, such as page of social class website such as Facebook, Renren Network, Tengxun friend net etc..Note
Volume center can apply shop(App Store)Or third-party registration platform, such as webintents.org etc., the present invention are right
This is not limited.
201, service end sends registration request to registration center.
Service end sends registration request to browser, and further forwards the registration please from browser to registration center
Ask, the registration request of service end transmission can also be directly received by registration center, so that the service end is by its available service
Registered in registration center.The registration request, which can include, to be used to indicate the action field of call operation and for indicating data
Type is the type field of message registration.For example, define action field action:http://webintents.org/pick;
Type field type:http://w3.org/type/callLog, wherein pick are used to indicate call operation, and callLog is used for
Indicate message registration.
For service end when being registered, the registration request of transmission can use following sentence:
Above is the message registration page of service end is registered as a kind of the logical of action/type defined above in registration center
Words record calls service, and the message registration page can pass through universal resource identifier(Uniform Resource
Identifier, URI)To identify and position.
It should be understood that message registration may be from multiple sources, including on network and user equipment is local(For example, user
Message registration in equipment),.That is the service end registered can be not only application or webpage or set
Standby upper service, such as the CallLog.Calls application programming interfaces that Android system provides(Application
Programming Interface, API).
In addition, WebRTC apps can also be registered as being used for except the service that can be registered as calling for message registration
The service of call, for example, it is call to define action, definition type is text/string.So if there is phone in client
Effective account such as number or e-mail address, click on " dialing " button can be recalled by browser and registration center it is multiple can
To provide the service end of session services, one of them is selected, is dialed number.This scene is commonly used for answering for shopping at network
With or webpage in contact seller, teammate etc. is contacted in online game or web game.
The process of the above-mentioned registration of the heart in the application can perform in application restocking, can also be performed when application updates,
Code can also manually be write to be registered, the present invention does not limit this.
202, client sends message registration call request to UA.
When user's one client of opening, it can be WebRTC App or common application, be clicked on the page of the application
, please to initiate message registration calling for triggering the button of message registration calling, such as the button such as " message registration ", " importing "
Ask.The message registration call request can be called corresponding to service comprising message registration in registration request in above-mentioned steps 201
Action/type, so that registration center has the ability to provide the service end of the service according to action/type matching search.Visitor
Family end sends the message registration call request to browser.
In addition, client can also call message registration not only by a button, client can also be by allowing
User selects qualifications during some retrieval message registrations, such as according to number, the information such as name is retrieved, or is simply requested
Partial data etc..Selection that so can be by user and restriction generation additional request condition, by message registration call request
Carrying, is sent to browser in the lump.Such as the qualifications that can be selected according to user generate following code:
Wherein, the search character strings under DOMString domains are available to the limit for being used to indicate object search of service end
Fixed condition, such as the character string can be defined as to name Alice, that is, specify search for and return to the call note related to Alice
Record.Limit can be for a selected numerical value, so that service end returns to the message registration entry no more than the numerical value, example
The numerical value can such as be defined as 10, then when qualified message registration bar number is more than 10, a return maximum 10.
sequence<DOMString>The character string dimension of search condition can be indicated under domain, for giving service in search
Hold to prompt, such as it is name to specify search for domain, then service end only scans in the column of name one.
It should be understood that the code of above-mentioned additional request condition is only an example, additional request condition in the embodiment of the present invention
Domain be not limited to three domains in above-mentioned code, what certain above three domain nor is it necessary that, the present invention is not limited this.Such as
Fruit client does not directly trigger message registration invoked procedure by setting additional qualification condition by button, then above-mentioned add please
Ask condition can be it is determined that being collected after the service end of offer message registration.
After browser receives message registration call request, the message registration call request is sent to registration center.If
The message registration call request is except comprising most basic action/type, when also including additional request condition, browser can
Action/type is only sent to by registration center with selection, and additional request condition is buffered in local, in case follow-up select carries
For being retransmited after the service end of message registration.It is of course also possible to sent in the lump together with additional request condition.
203, registration center sends service end list to UA.
After registration center receives message registration call request, action/type fields therein are obtained, according to this
Action/type fields carry out matching search to determine to be registered as energy in the action/type fields for the application registered before
Message registration is enough provided and calls the service end of service, and generates list.It is for selection that the list is returned into browser.Wherein,
The service end list that message registration calls service, which can be provided, can include the message registration page of each service end in list
URI。
204, UA are determined to provide the service end of message registration.
After the service end list that can provide message registration calling service is received, browser is it needs to be determined that can provide
The service end of message registration, i.e., the destination service end of message registration calling is really carried out, this determination process can be by a variety of realities
Apply mode:
Embodiment one, browser can directly determine in it can provide message registration and call the service end list serviced
The used service end of user can provide the service end of message registration, wherein destination service end can as destination service end
Think one or more.Specifically, user logs in browser by account, and browser is by the historical record of this account, history
Set and the user once used service end(Such as WebRTC service providers)High in the clouds be present etc. relevant information, so browse
Device directly can obtain the used service end of the user from high in the clouds.And even if user on different user equipmenies using clear
Look at device when, as long as log in browser account, equally can determine the used service end of the user.
Embodiment two, browser can determine the used service end of user in above-mentioned service end list, specific side
Method is identical with above-mentioned real-time mode one, the used service end list of the user of determination is sent into client, or ejecting
Window in or the used service end list of user is directly shown on the page, for selection by the user.According to the selection of user
Destination service end is further determined that, i.e., the service end of message registration can be provided, wherein user can select one or more
Service end is as destination service end.
Above-mentioned service end list directly can be sent to client, or the window in ejection by embodiment three, browser
Directly show in mouthful or on the page, for selection by the user.Destination service end is further determined that according to the selection of user afterwards, i.e.,
The service end of message registration can be provided, wherein user can select one or more service end as destination service end.
Certainly, browser can also list service end of the installation on a web browser with App Store recommendations so that user selects
Select.
After destination service end is determined, browser can prompt user to input account password to log in destination service end,
Browser can also preset the trusting relationship with special services end, it is not necessary to be awarded by user mutual to directly obtain to log in
Power, such as once authorized browse device remembers the account password inputted to user.Or it can also be integrated and used by all service providers
Family identifies, as long as user logs in once, then to all similar applications(Such as WebRTC App)Effectively, i.e. single sign-on
(Single Sign On, SSO).
205, UA send message registration to service end obtains request.
Browser can provide the service end of message registration determining, and after being proved to be successful, log in can provide it is logical
The service end of record is talked about, message registration acquisition request is sent to the service end.Specifically, can be by step 202, browser
The additional request condition of caching is obtained into request by message registration and is sent to the service end.Or do not cached in browser
In the case of additional request condition, can be obtained to user with the similar search condition of above-mentioned additional request condition, and should
Search condition passes to the service end by CallLogIntentExtras, specifically can refer to above-mentioned steps 202.
206, service end returns to response.
The service end of message registration can be provided after receiving message registration and obtaining request, according to additional request therein
Condition or the search condition newly obtained, satisfactory message registration is returned into browser according to predefined format.Afterwards
Browser can directly show message registration on the page of client, and this method service end provides the page fortune of message registration
Row but do not open, avoid redirecting between the page, but need the postResult times to trigger automatically, such as based on onload
Event realizes automatic triggering.It is of course also possible to the page of service end offer message registration is opened in new window or Shipping Options Page,
This method needs user to trigger postResult events manually, such as clicks on button.When said process has any mistake
During generation, browser can return to an error message error, such as return to mistake using postFailure, and indicate mistake
Type by mistake.Wherein, if user selects 0 service end or cancels operation, error handle is not done.In addition, except in client
Show outside message registration, can also be selected according to user on the page at end, directly operated in client executing importing or storage etc.,
Or after on the page showing message registration, there is provided such as import or storage operation button further to be grasped
Make.
It is predefined format by the processing of satisfactory message registration, the different-format of different application or webpage can be caused
Message registration to be handled when being called be identical form.That is, carried by predefined format come Standard Service end
Supply the uniformity of client data.For example, when calling successfully, service end can return to the array of a CallLog object, should
CallLog objects can not only include message registration, can also include the information such as text, annex, recording, picture, video, this hair
It is bright that this is not limited.For example, message registration form can be as follows:
Wherein, the id in DOMString is used for the unique mark for indicating every message registration;CallId is used to indicate to use
The mark of the webRTC business related to this message registration(Such as telephone number);DisplayName is used to indicate other side's
Display Name(The pet name);Location in Position is used to indicate positional information during call;Type in DOMString
For indicating the type of call, do not connect such as, transfer to, dial in;Date is used for the date for indicating that call occurs;Duration is used to refer to
Show the duration;Styles is used to indicate style, such as audio, audio/video, word etc.;Screenshots is used to indicate this
The related screenshot picture of bar message registration;Recordings is used to indicate one or more record related to this message registration
Sound;Attachments is used to indicate one or more annex related to this message registration;ChatLogs is used to indicate with being somebody's turn to do
The related one or more text chat record of bar message registration;It is related to this message registration that meetingLogs is used for instruction
One or more videoconference record.
As a specific example, WebRTC service ends can use predefined message registration form establishment one logical
Words record object, fills content, and use postResult () returning result:
Above-mentioned code carries a message registration, other side name Alice, telephone number 1890000000, type of call
To dial in, the time be on 2 9th, 2,013 12 points 12 minutes.And by judging that sentence is realized successfully in the case of return to message registration
(postResult), error message is returned in the case of mistake(postFailure).
Additionally as an example of client code:
Wherein, action/type fields show that client request calls message registration, and extras lists some additional conditions
Or search condition, after request is sent, response is obtained by call back function callLogOK and callLogFail, receives needs
Message registration, or return to error message.
Method provided in an embodiment of the present invention can realize the call note in other service ends of any one client call
Record, enhances the operability of message registration, is easy to manage, it is possible to achieve is called across the message registration of application or webpage.
Fig. 3 is the interaction figure of the message registration call method of another embodiment of the present invention.In Fig. 3, user agent(UA)
It is the general designation of browser or operating system, for example, the Internet Explorer browsers of Microsoft, the Google of Google
Chrome browsers or network operating system(Web-based Operating System)Etc..Client refers to initiating
The application of interaction request, wherein client can be Native Apps or Web Apps, such as WebRTC Apps.It is broader
Ground, client can also only initiate the page or webpage of interaction request, such as Facebook, Renren Network, Tengxun's friend's net
Page etc. social class website etc..Service end refers to that the application of service is asked or provided for client at customer in response end,
Wherein service end can be Native Apps or Web Apps, such as WebRTC Apps.Similarly, service end can also be with
Existing for the page or form web page, such as page of social class website such as Facebook, Renren Network, Tengxun friend net etc..Note
Volume center can apply shop(App Store)Or third-party registration platform, such as webintents.org etc., the present invention are right
This is not limited.
The service end registration process of embodiment and step 201 in above-mentioned Fig. 2 are similar in Fig. 3, and here is omitted.
301, the selected service end that message registration can be provided of client.
User directly can select the service end that can provide message registration on the page of client user.Specifically,
Can be the used service end of user that is obtained from browser of client preset multiple service ends or client with
The page shows for selection by the user, and user can choose one or more service end wherein can provide call the most
The service end of record.It should be understood that the process of user's selection is not limited only to choose, client name can also be manually entered by user
Claim or realize the methods of URI, not limited to this of the embodiment of the present invention.
302, client sends message registration call request to UA.
After client gets the selection of user, message registration call request is generated, and be sent to browser.Specifically,
User clicks on the button determined for instruction after selecting service end, then client is adjusted according to the selection of user to generate message registration
With request, the wherein action/type in message registration call request and optional additional request condition in above-mentioned Fig. 2 with walking
Similar in rapid 202, here is omitted, and difference is, the message registration call request in the present embodiment also needs to carry
The information at one or more specified services ends that user selectes, such as carry URI or the title at specified services end etc..
303, UA send message registration to service end obtains request.
Browser after message registration call request is received, according to the information at the specified services end wherein carried directly to
The specified services end sends message registration and obtains request, and it is similar with step 205 in above-mentioned Fig. 2 to obtain request for wherein message registration
Seemingly, here is omitted.
304, service end returns to response.
Specified services end is after receiving message registration and obtaining request, according to additional request condition therein or new acquisition
Search condition, satisfactory message registration is returned into browser according to predefined format.Browser can be direct afterwards
Message registration is shown on the page of client, or is selected according to user, directly in the behaviour such as client executing importing or storage
Make, or after showing message registration on the page, there is provided such as import or storage operation button it is further to carry out
Operation etc..Step 206 in above-mentioned Fig. 2 is specifically may be referred to, here is omitted.
Method provided in an embodiment of the present invention can realize the call note in other service ends of any one client call
Record, enhances the operability of message registration, is easy to manage, it is possible to achieve is called across the message registration of application or webpage.
Fig. 4 is the schematic block diagram of the user equipment of one embodiment of the invention.Fig. 4 user equipment 400 connects including first
Receive unit 401, determining unit 402, the receiving unit 404 of transmitting element 403 and second.
First receiving unit 401 receives the message registration call request that client is sent, the message registration call request bag
Contain:For indicating the action field of call operation and for indicating type field of the data type for message registration.Determining unit
The 402 message registration call requests received according to the first receiving unit 401, it is determined to provide the service end of message registration.
Transmitting element 403 sends message registration to service end and obtains request.Second receiving unit 404 receives service end according to transmitting element
403 message registrations sent obtain the response message that request is sent, and the response message includes:Meet the call note of predefined format
Record or the errored response of instruction type of error.
User equipment provided in an embodiment of the present invention can be realized to be called across the message registration of application or webpage.
Alternatively, it is additionally operable to as one embodiment, the first receiving unit 401:Receive the registration request that service end is sent;
Transmitting element 403, registration request is sent to registration center, registration request is logical for that can be provided to registration center's instruction service end
Words record calls service.That is, before providing message registration and calling service, service end needs registering by browser
Registered at center.Wherein, registration request can include:For indicating the action field of call operation;With for indicating data
Type is the type field of message registration.
Alternatively, included as another embodiment, message registration call request and registration request:For indicating to call behaviour
The action field of work;For indicating type field of the data type for message registration.Wherein message registration call request can be with
Comprising additional request condition, wherein additional request condition includes following at least one:For indicating the character string of object search;With
The numerical value of quantity limitation is returned in instruction message registration;For indicating the character string of search condition.
Alternatively, as another embodiment, transmitting element 403 is additionally operable to call to registration center's transmission message registration and asked
Ask, call the service end of service to arrange so that registration center is determined to offer message registration according to action field and type field
Table;Receiving unit 401 is additionally operable to receive the service end list that registration center sends;Determining unit 402 is additionally operable to arrange in service end
It is determined to provide the service end of message registration in table.
Alternatively, it is additionally operable to as another embodiment, determining unit 402:Determine that user uses in service end list
The service end crossed is that can provide the service end of message registration;Or the selection according to user, determine energy in service end list
The service end of message registration is enough provided.That is, user can directly choose some or multiple service ends in client, so as to
Without generating service end list to be selected by browser searches registration center for selection by the user.
Alternatively, also included as another embodiment, message registration call request:Selected for instruction user in client
Fixed one or more can provide the information of the service end of message registration.
Alternatively, request bag condition containing additional request is obtained as another embodiment, message registration.That is,
After user equipment 400 determines the service end that can provide message registration, send from above-mentioned message registration and call to the service end
The additional request condition obtained in request, to carry out the message registration information retrieval with qualifications.
Alternatively, included as another embodiment, response message:Meet the message registration of predefined format;Or refer to
Show the errored response of type of error.When service end can provide message registration according to the request of client, the service end can incite somebody to action
Message registration returns to user equipment 400 according to predefined form.If any mistake occurs, service end can return
One wrong information.Wherein, predefined format can include at least one of following:The unique mark of this message registration;It is logical
Talk about the identity of user;The display Name of calling user;Call date of occurrence;Duration;Position letter during call
Breath;Annex in communication process;Sectional drawing in communication process;The recording or video recording of communication process;Videoconference or video conference
Information.
Alternatively, it is additionally operable to as another embodiment, the second transmitting element 404:Message registration is sent to client, with
Just show, import or store message registration in client.User equipment 400 receives the predefined format of service end transmission
After message registration, it can be shown on customer terminal webpage, and can be carried out according to the instruction of user follow-up importing or
The operation such as storage, the operation such as directly can also be imported or be stored without the display of customer terminal webpage.
User equipment 400 provided in an embodiment of the present invention can be realized in any one client call other service ends
Message registration, the operability of message registration is enhanced, be easy to manage, it is possible to achieve adjusted across the message registration of application or webpage
With.
Fig. 5 is the schematic block diagram of the user equipment of another embodiment of the present invention.Fig. 5 user equipment 500 includes processor
501 and memory 502.Processor 501 is connected with memory 502 by bus system 503.
Memory 502, which is used to store, causes processor 501 to perform the instruction operated below:Receive the call that client is sent
Call request is recorded, the message registration call request includes:For indicating the action field of call operation and for indicating data
Type is the type field of message registration;According to message registration call request, it is determined to provide the service end of message registration;To
Service end sends message registration and obtains request;Receive the response message that service end obtains request transmission according to message registration, the sound
Message package is answered to contain:Meet the message registration of predefined format;Or the errored response of instruction type of error.
User equipment provided in an embodiment of the present invention increases in the message registration of other service ends of any one client call
The strong operability of message registration, is easy to manage, it is possible to achieve call across the message registration of application or webpage.
In addition, user equipment 500 can also include radiating circuit 504, receiving circuit 505 etc..Processor 501 controls user
The operation of equipment 500, processor 501 can also be referred to as CPU(Central Processing Unit, CPU).Deposit
Reservoir 502 can include read-only storage and random access memory, and provide instruction and data to processor 501.Memory
502 a part of can also include nonvolatile RAM(NVRAM).In specific application, user equipment 500
Each component is coupled by bus system 503, and wherein bus system 503 can also wrap in addition to including data/address bus
Include power bus, controlling bus and status signal bus in addition etc..But for the sake of clear explanation, various buses are all marked in figure
For bus system 503.
The method that the embodiments of the present invention disclose can apply in processor 501, or be realized by processor 501.
Processor 501 is probably a kind of IC chip, has the disposal ability of signal.In implementation process, the above method it is each
Step can be completed by the integrated logic circuit of the hardware in processor 501 or the instruction of software form.Above-mentioned processing
Device 501 can be general processor, digital signal processor(DSP), application specific integrated circuit(ASIC), ready-made programmable gate array
(FPGA)Either other PLDs, discrete gate or transistor logic, discrete hardware components.Can realize or
Person performs disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor can be microprocessor or
Person's processor can also be any conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention, can be straight
Connect and be presented as that hardware decoding processor performs completion, or performed with the hardware in decoding processor and software module combination
Into.Software module can be located at random access memory, and flash memory, read-only storage, programmable read only memory or electrically-erasable can
In the ripe storage medium in this areas such as programmable memory, register.The storage medium is located at memory 502, and processor 501 is read
Information in access to memory 502, with reference to the step of its hardware completion above method.
Alternatively, as one embodiment, the registration request sent by the reception service end of receiving circuit 505;Lead to afterwards
Cross radiating circuit 504 and send registration request to registration center, the registration request is used to carry to registration center's instruction service end
Call and service for message registration.That is, before providing message registration and calling service, service end needs to exist by browser
Registration center is registered.Wherein, registration request can include:For indicating the action field of call operation;With for indicating
Data type is the type field of message registration.
Alternatively, included as another embodiment, message registration call request and registration request:For indicating to call behaviour
The action field of work;For indicating type field of the data type for message registration.Wherein message registration call request can be with
Comprising additional request condition, wherein additional request condition includes following at least one:For indicating the character string of object search;With
The numerical value of quantity limitation is returned in instruction message registration;For indicating the character string of search condition.
Alternatively, as another embodiment, radiating circuit 504 is additionally operable to call to registration center's transmission message registration and asked
Ask, call the service end of service to arrange so that registration center is determined to offer message registration according to action field and type field
Table;Receiving circuit 505 is additionally operable to receive the service end list that registration center sends;Processor 501 is additionally operable in service end list
In be determined to provide message registration service end.
Alternatively, it is additionally operable to as another embodiment, processor 501:Determine that user used in service end list
Service end be that the service end of message registration can be provided;Or the selection according to user, it is determined in service end list
The service end of message registration is provided.That is, user can directly choose some or multiple service ends in client, so as to nothing
Service end list to be selected need to be generated by browser searches registration center for selection by the user.
Alternatively, also included as another embodiment, message registration call request:Selected for instruction user in client
Fixed one or more can provide the information of the service end of message registration.
Alternatively, request bag condition containing additional request is obtained as another embodiment, message registration.That is,
After user equipment 500 determines the service end that can provide message registration, send from above-mentioned message registration and call to the service end
The additional request condition obtained in request, to carry out the message registration information retrieval with qualifications.
Alternatively, included as another embodiment, response message:Meet the message registration of predefined format;Or refer to
Show the errored response of type of error.When service end can provide message registration according to the request of client, the service end can incite somebody to action
Message registration returns to user equipment 500 according to predefined form.If any mistake occurs, service end can return
One wrong information.Wherein, predefined format can include at least one of following:The unique mark of this message registration;It is logical
Talk about the identity of user;The display Name of calling user;Call date of occurrence;Duration;Position letter during call
Breath;Annex in communication process;Sectional drawing in communication process;The recording or video recording of communication process;Videoconference or video conference
Information.
Alternatively, as another embodiment, message registration is sent to client by radiating circuit 504, so as in visitor
Family end shows, imports or stored message registration.User equipment 500 receives the call note of the predefined format of service end transmission
After record, it can be shown on customer terminal webpage, and follow-up importing or storage etc. can be carried out according to the instruction of user
Operation, it the operation such as directly can also be imported or be stored without the display of customer terminal webpage.
Those of ordinary skill in the art with reference to each method described in the embodiments described herein it is to be appreciated that walk
Rapid and unit, it can be realized with electronic hardware, computer software or the combination of the two, in order to clearly demonstrate hardware and soft
The interchangeability of part, the step of generally describing each embodiment according to function in the above description and composition.These
Function is performed with hardware or software mode actually, application-specific and design constraint depending on technical scheme.Ability
Domain those of ordinary skill can realize described function using distinct methods to each specific application, but this reality
Now it is not considered that beyond the scope of this invention.
The method or step described with reference to the embodiments described herein can use hardware, the software journey of computing device
Sequence, or the two combination are implemented.Software program can be placed in random access memory(RAM), internal memory, read-only storage(ROM)、
Institute is public in electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technical field
In any other form of storage medium known.
Although by reference to the mode of accompanying drawing and combination preferred embodiment to the present invention have been described in detail, the present invention
It is not limited to this.Without departing from the spirit and substance of the premise in the present invention, those of ordinary skill in the art can be to the present invention
Embodiment carry out various equivalent modifications or substitutions, and these modifications or substitutions all should be in the covering scope of the present invention.