Caller one number service implement device and method
Technical field
The present invention relates to the communications field, particularly relate to caller one number service implement device and method.
Background technology
In the business of unified communication; The caller one number service is one of important service of using always; Its advantage be can integrated various different terminals operational advantage, reach the purpose of easy use, generally be to use easy-operating intelligent terminal (for example computer or smart mobile phone) to dial.
At present; A kind of solution of caller one number service is to realize through the Media Resource Server on backstage; The shortcoming of this method is conspicuous, and promptly this method need take the resource of Media Resource Server, can't dispose for the network environment that does not have Media Resource Server; Even the resource of Media Resource Server is perhaps arranged, also can therefore the service deployment cost be heightened.
Summary of the invention
The objective of the invention is to propose a kind of caller one number service implement device, can improve the adaptability that the caller one number service is disposed, reduce the cost that the caller one number service is disposed.
The caller one number service implement device that the present invention proposes comprises: SIP (session initiation protocol) server, intelligent terminal, application server and IP (Internet Protocol, the agreement that interconnects between the network) phone;
Said sip server is used for said intelligent terminal, IP phone are registered; And the corresponding relation that obtains IP phone number and IP phone address;
Said intelligent terminal is used to be provided with IP phone address and the application server address that needs binding; The IP phone address that need are bound sends to said application server according to the address of application server; And the calling parameter that receives passed to said application server according to the address of application server;
Said application server is used to receive the IP phone address that need that said intelligent terminal sends are bound; Obtain the corresponding relation of IP phone number and IP phone address from said sip server, and, said intelligent terminal and IP phone are bound according to the said IP phone address of binding and the IP phone number that obtains and the corresponding relation of IP phone address of needing; And the calling parameter that said intelligent terminal transmits transmitted calling parameter according to IP phone address to said IP phone;
Said IP phone is used to receive the calling parameter that said application server transmits, and calls out according to said calling parameter.
The present invention obtains the corresponding relation of IP phone number and IP phone address through at SIP (session initiation protocol) server registration intelligent terminal and IP phone; In intelligent terminal, the IP phone address and the application server address that need binding are set; Application server obtains the corresponding relation of IP phone number and IP phone address from sip server, receive the IP phone address of the needs binding of intelligent terminal transmission, carries out the binding of IP phone and intelligent terminal then; When receiving the calling parameter that intelligent terminal transmits, transmit calling parameter according to the IP phone address of binding; The IP phone then makes a call to called according to calling parameter, realizes the caller one number service.Utilization the inventive method realizes simple, does not need to dispose specially the medium resource service resource and realizes business such as sound mixing, playback, has improved the adaptability that the caller one number service is disposed; Reduce the cost that the caller one number service is disposed.
Therein among embodiment, said application server is according to the said IP phone address of binding and the IP phone number that obtains and the corresponding relation of IP phone address of needing, during with said intelligent terminal and the binding of IP phone,
Said application server obtains the database of IP phone number and IP phone address corresponding relation from said sip server; Receive the IP phone address that need that said intelligent terminal sends are bound; The IP phone number that the IP phone address lookup of binding according to said need obtains and the database of IP phone address corresponding relation;
If do not find the IP phone address that needs binding, bind unsuccessful information then for said intelligent terminal feedback, and notify IP phone address, application server address that said intelligent terminal is reset needs binding;
If find the IP phone address that needs binding, then said intelligent terminal and IP phone are bound.
Among embodiment, said calling parameter comprises: called number, hands-free order therein.Thereby can realize hands-free IP phone, converse in the place at intelligent terminal.
Among embodiment, called therein if the IP phone in the given time, is not connected, then return the message of called access failure to intelligent terminal; After this intelligent terminal receives the message of access failure, send calling parameter from the said application server of trend.Can improve the efficient of caller one number service like this.
Therein among embodiment,, stop calling service if said intelligent terminal sends the number of times of calling parameter automatically when reaching predetermined number.Thereby can prevent that intelligent terminal from constantly sending calling parameter, reduce the waste of resource.
Another object of the present invention is to propose a kind of caller one number service implementation method, can improve the adaptability that the caller one number service is disposed, and reduces the cost that the caller one number service is disposed.
The caller one number service implementation method that the present invention proposes comprises step: intelligent terminal and IP phone registered in advance are arrived sip server, obtain the database of IP phone number and IP phone address corresponding relation;
The IP phone address, the application server address that need binding are set in intelligent terminal;
The said IP phone address that needs to bind is sent to application server;
Obtain the corresponding relation of IP phone number and IP phone address from said sip server;
In said application server,, said intelligent terminal and IP phone are bound according to the said IP phone address of binding and the IP phone number that obtains and the corresponding relation of IP phone address of needing;
Said intelligent terminal receives the calling parameter of input;
Transmit calling parameter according to application server address to application server;
Application server transmits calling parameter according to IP phone address to the IP phone;
The IP phone is called out according to calling parameter.
The inventive method is obtained the corresponding relation of IP phone number and IP phone address through at SIP (session initiation protocol) server registration intelligent terminal and IP phone; In intelligent terminal, the IP phone address and the application server address that need binding are set; Application server obtains the corresponding relation of IP phone number and IP phone address from sip server, receive the IP phone address of the needs binding of intelligent terminal transmission, carries out the binding of IP phone and intelligent terminal then; When receiving the calling parameter that intelligent terminal transmits, transmit calling parameter according to the IP phone address of binding; The IP phone then makes a call to called according to calling parameter, realizes the caller one number service.Utilization the inventive method realizes simple, does not need to dispose specially the medium resource service resource and realizes business such as sound mixing, playback, has improved the adaptability that the caller one number service is disposed, and reduces the cost that the caller one number service is disposed.
Among embodiment, said in application server therein, according to the said IP phone address of binding of needing, the step of said intelligent terminal with the binding of IP phone comprised:
Application server obtains the database of IP phone number and IP phone address corresponding relation from sip server;
The IP phone address that the need that application server reception intelligent terminal sends are bound; According to the IP phone number of the said IP phone address lookup reception that need bind and the database of IP phone address corresponding relation;
If do not find the IP phone address that needs binding, bind unsuccessful information then for said intelligent terminal feedback, and return the said IP phone address that needs binding, the step of application server address of in intelligent terminal, being provided with;
If find the IP phone address that needs binding, then said intelligent terminal and IP phone are bound.
Among embodiment, said calling parameter comprises: called number, hands-free order therein.Thereby can realize hands-free IP phone, converse in the place at intelligent terminal.
Among embodiment, called therein if the IP phone in the given time, is not connected, then return the message of called access failure to intelligent terminal; After this intelligent terminal receives the message of access failure, send calling parameter from the said application server of trend.Can when called not being switched on, redial automatically like this, improve the efficient of caller one number service.
Therein among embodiment,, stop calling service if said intelligent terminal sends the number of times of calling parameter automatically when reaching predetermined number.Thereby can prevent that intelligent terminal from constantly sending calling parameter, reduce the waste of resource.
Description of drawings
Fig. 1 is a structural representation of caller one number service device of the present invention;
Fig. 2 is an embodiment flow chart of caller one number service of the present invention;
Fig. 3 is for binding the flow chart of intelligent terminal and IP phone among the present invention.
Embodiment
For ease of understanding the present invention, will combine accompanying drawing to set forth below.
The caller one number service implement device that the present invention proposes please refer to Fig. 1, comprising: SIP (session initiation protocol) service 101, intelligent terminal 102, application server 103 and IP phone 104;
Sip server 101 is used for intelligent terminal 102, IP phone 104 are registered; And the corresponding relation that obtains IP phone number and IP phone address;
Intelligent terminal 102 is used to be provided with IP phone address and the application server address that needs binding; The IP phone address that need are bound sends to application server 103 according to the address of application server; And the calling parameter that receives passed to application server 103 according to the address of application server;
Application server 103 is used to receive the IP phone address that need that intelligent terminal 102 sends are bound; Obtain the corresponding relation of IP phone number and IP phone address from sip server 101, and, intelligent terminal 102 and IP phone 104 are bound according to IP phone address and the IP phone number that obtains and the corresponding relation of IP phone address that need are bound; And the calling parameter that intelligent terminal transmits transmitted calling parameter according to IP phone address to the IP phone;
IP phone 104 is used to receive the calling parameter that application server 102 transmits, and calls out according to calling parameter.
The present invention obtains the corresponding relation of IP phone number and IP phone address through at SIP (session initiation protocol) server registration intelligent terminal and IP phone; In intelligent terminal, the IP phone address and the application server address that need binding are set; Application server obtains the corresponding relation of IP phone number and IP phone address from sip server, receive the IP phone address of the needs binding of intelligent terminal transmission, carries out the binding of IP phone and intelligent terminal then; When receiving the calling parameter that intelligent terminal transmits, transmit calling parameter according to the IP phone address of binding; The IP phone then makes a call to called according to calling parameter, realizes the caller one number service.Utilization the inventive method realizes simple, does not need to dispose specially the medium resource service resource and realizes business such as sound mixing, playback, has improved the adaptability that the caller one number service is disposed, and reduces the cost that the caller one number service is disposed.
Therein among embodiment, IP phone address and the IP phone number that obtains and the corresponding relation of IP phone address that application server 103 is bound according to need, with intelligent terminal 102 during with 104 bindings of IP phone,
Application server 103 obtains the database of IP phone number and IP phone address corresponding relation from sip server 101; The IP phone address that the need that reception intelligent terminal 102 sends are bound; The IP phone number that the IP phone address lookup of binding according to need obtains and the database of IP phone address corresponding relation;
If do not find the IP phone address that needs binding, bind unsuccessful information then for intelligent terminal 102 feedbacks, and notice intelligent terminal 102 is reset IP phone address, the application server address that need bind;
If find the IP phone address that needs binding, then intelligent terminal 102 and IP phone 104 are bound.
Among embodiment, calling parameter comprises: called number, hands-free order therein.Thereby can realize hands-free IP phone, converse in 102 places at intelligent terminal.
Among embodiment, called therein if IP phone 104 in the given time, is not connected, then return the message of called access failure to intelligent terminal 102; After this intelligent terminal 102 receives the message of access failure, send calling parameter from trend application server 103.Can improve the efficient of caller one number service like this.
Therein among embodiment,, stop calling service if intelligent terminal 102 sends the number of times of calling parameters automatically when reaching predetermined number.Thereby can prevent that intelligent terminal 102 from constantly sending calling parameter, reduces the waste of resource.
The caller one number service implementation method that the present invention also proposes please refer to Fig. 2, comprises step:
S201, intelligent terminal and IP phone registered in advance are to sip server;
Intelligent terminal and IP phone registered in advance are arrived sip server, obtain the database of IP phone number and IP phone address corresponding relation.
S202, IP phone address, application server address that need to bind are set in intelligent terminal;
S203, the IP phone address that will bind are sent to application server;
S204, obtain the corresponding relation of IP phone number and IP phone address;
Obtain the corresponding relation of IP phone number and IP phone address from sip server.
S205, binding intelligent terminal and IP phone;
In application server,, intelligent terminal and IP phone are bound according to the IP phone address and the IP phone number that obtains and the corresponding relation of IP phone address that need are bound.
S206, intelligent terminal receive the calling parameter of input;
S207, intelligent terminal transmit calling parameter to application server;
Transmit calling parameter according to application server address to application server.
S208, application server transmit calling parameter to the IP phone;
Application server transmits calling parameter according to IP phone address to the IP phone.
S209, IP phone are called out according to calling parameter.
The inventive method is obtained the corresponding relation of IP phone number and IP phone address through at SIP (session initiation protocol) server registration intelligent terminal and IP phone; In intelligent terminal, the IP phone address and the application server address that need binding are set; Application server obtains the corresponding relation of IP phone number and IP phone address from sip server, receive the IP phone address of the needs binding of intelligent terminal transmission, carries out the binding of IP phone and intelligent terminal then; When receiving the calling parameter that intelligent terminal transmits, transmit calling parameter according to the IP phone address of binding; The IP phone then makes a call to called according to calling parameter, realizes the caller one number service.Utilization the inventive method realizes simple, does not need to dispose specially the medium resource service resource and realizes business such as sound mixing, playback, has improved the adaptability that the caller one number service is disposed, and reduces the cost that the caller one number service is disposed.
Please refer to Fig. 3, among embodiment, the step of above-mentioned S205 comprises therein:
S301, application server obtain the database of IP phone number and IP phone address corresponding relation from sip server;
The IP phone address that the need that S302, application server reception intelligent terminal send are bound;
The IP phone number that S303, inquiry receive and the database of IP phone address corresponding relation;
The IP phone number that the IP phone address lookup of binding according to need receives and the database of IP phone address corresponding relation.
S304, if do not find the IP phone address of need binding, then bind unsuccessful information, and return step S202 to the intelligent terminal feedback;
S305, if find the IP phone address of need binding, then bind intelligent terminal and IP phone.
Among embodiment, calling parameter comprises: called number, hands-free order therein.Thereby can realize hands-free IP phone, converse in the place at intelligent terminal.
Among embodiment, called therein if the IP phone in the given time, is not connected, then return the message of called access failure to intelligent terminal; After this intelligent terminal receives the message of access failure, send calling parameter from the trend application server.Can when called not being switched on, redial automatically like this, improve the efficient of caller one number service.
Therein among embodiment,, stop calling service if intelligent terminal sends the number of times of calling parameter automatically when reaching predetermined number.Thereby can prevent that intelligent terminal from constantly sending calling parameter, reduce the waste of resource.
The above embodiment has only expressed several kinds of execution modes of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art under the prerequisite that does not break away from the present invention's design, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with accompanying claims.