CN104322034A - Method, device and system for determining geographical position of UC terminal - Google Patents

Method, device and system for determining geographical position of UC terminal Download PDF

Info

Publication number
CN104322034A
CN104322034A CN201380000488.1A CN201380000488A CN104322034A CN 104322034 A CN104322034 A CN 104322034A CN 201380000488 A CN201380000488 A CN 201380000488A CN 104322034 A CN104322034 A CN 104322034A
Authority
CN
China
Prior art keywords
address
terminal
geographical position
call
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201380000488.1A
Other languages
Chinese (zh)
Inventor
石冬雪
张凯
晏强
周轩
岳红梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN104322034A publication Critical patent/CN104322034A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the invention discloses a method, device and system for determining the geographical position of a UC terminal. The method includes: a position server in an enterprise network recording corresponding relations of IP addresses of convergence gateways of the enterprise network and geographical positions where the convergence gateways are; receiving IP addresses of gateways on a message transmission path between the UC terminal and a central server that the UC terminal logs in, the IP addresses being sent by the UC terminal; matching the recorded IP address of the convergence gateways with an IP address list to determine the IP address of the convergence gateway on the message transmission path; obtaining the geographical position corresponding to the determined IP address of the convergence gateway according to the determined IP address of the convergence gateway, and recording the geographical position as the geographical position of the UC terminal, thereby solving the problem of relatively complicated user operation in the prior art which is caused by a requirement for manual position setting and updating by an enterprise user.

Description

A kind of methods, devices and systems determining the geographical position of UC terminal
Technical field
The embodiment of the present invention relates to the communications field, and more specifically, relates to the methods, devices and systems that one determines the geographical position of UC (unified communication, Unified Communication) terminal.
Background technology
The geographical position (that is, determining the geographical position of the UC terminal of the current use of enterprise customer) determining enterprise customer is often needed, to realize the relevant business function in various position, as urgent call, position are shared in Intranet.For urgent call, when enterprise customer initiates urgent call by enterprise network calling system (as, dial 110,120), need the EC according to the geographical position of this enterprise customer, this urgent call being accurately routed to this enterprise customer region.
The geographical position that the mode manually arranged determines enterprise customer in the prior art, namely, pre-configured list of locations on the location server of enterprise network, the backward location server of corporate user registration obtains this list of locations, and therefrom select the reporting position at oneself place to this location server, this position reported of location server record for realizing the relevant business function in various position, e.g., urgent call.
According to the prior art, need enterprise customer manually to arrange the position at oneself place after login, and change in the reason such as to go on business due to strange land the position manually upgrading oneself place when position logs in, user operation is more loaded down with trivial details, experiences bad.
Summary of the invention
The embodiment of the present invention provides a kind of methods, devices and systems determining the geographical position of UC terminal, the problem that the user operation that the position need enterprise customer manually to arrange for solving in prior art, upgrading oneself place causes is more loaded down with trivial details.
First aspect, provide a kind of method determining the geographical position of UC terminal, described method comprises:
The corresponding relation in the IP address of each aggregation gateway of enterprise network and the geographical position at this aggregation gateway place described in location server record in enterprise network;
Described location server receives the IP address reporting message that UC terminal sends, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway in the message path between central server that described UC terminal and described UC terminal log in;
When described UC terminal is the UC terminal logged in by Intranet, described location server mates to the IP address of each aggregation gateway of record and described IP address list the IP address determining the aggregation gateway in described message path;
According to the geographical position corresponding to the IP address acquisition of the described aggregation gateway determined and the IP address of the described aggregation gateway determined, and described geographical position is recorded as the geographical position of described UC terminal.
In the first possible implementation of first aspect, described location server also comprises: the corresponding relation in the geographical position at the mechanism place that each public network IP address section on described location server record public network and this public network IP address section are assigned to before receiving the IP address reporting message of UC terminal transmission;
Described IP address list also comprises the IP address of described UC terminal;
IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described;
After described location server receives the IP address list of UC terminal transmission, also comprise: when described UC terminal is the UC terminal logged in by outer net, described location server puts in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, described putting in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, specifically comprise:
According to putting in order of the IP address in described IP address list, from the IP address of described UC terminal, judge whether each IP address is public network IP address successively one by one, and the public network IP address section at first the public network IP address place judged described in judge first public network IP address and each public network IP address section described being carried out mate determining; Or,
According to putting in order of the IP address in described IP address list, from the IP address of described UC terminal, judge whether each IP address is included in one of them public network IP address section of record successively one by one, and first that determines the to judge public network IP address section being included in the place, IP address of one of them public network IP address section.
In conjunction with the implementation that the first or the second of first aspect are possible, in the implementation that the third is possible, after described location server receives the IP address list of UC terminal transmission, also comprise: according to described IP address list, described location server judges that described UC terminal is the UC terminal or the UC terminal logged in by outer net that are logged in by Intranet, if described IP address list comprises public network IP address, then judge that described UC terminal is the UC terminal logged in by outer net; Otherwise, judge that described UC terminal is the UC terminal logged in by Intranet.
In conjunction with the first or the second or the third possible implementation of first aspect or first aspect, in the 4th kind of possible implementation, described IP address reporting message also comprises the mark of described UC terminal; The described geographical position described geographical position being recorded as described UC terminal, specifically comprises: record the mark of described UC terminal and the corresponding relation in described geographical position.
In conjunction with the 4th kind of possible implementation of first aspect, in the 5th kind of possible implementation, described record the mark of described UC terminal and the corresponding relation in described geographical position after, also comprise:
Described location server receives the position enquiring request that the call server in described enterprise network sends, described position enquiring request comprises the mark of described UC terminal, wherein, described position enquiring request is that described call server sends after the emergency call request receiving the transmission of described UC terminal, described emergency call request comprises calling identification and called identification, described calling identification is the mark of described UC terminal, and described called identification is urgent call cornet;
Described location server obtains the geographical position corresponding to mark of the described UC terminal of record, and returns to described geographical position to described call server;
Described call server determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
In conjunction with the 4th kind of possible implementation of first aspect, in the 6th kind of possible implementation, described record the mark of described UC terminal and the corresponding relation in described geographical position after, also comprise:
Described location server receives the urgent call trombone inquiry request that the call server in described enterprise network sends, described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal, wherein, described urgent call trombone inquiry request is that described call server sends after the emergency call request receiving the transmission of described UC terminal, described emergency call request comprises calling identification and called identification, described calling identification is the mark of described UC terminal, and described called identification is described urgent call cornet;
Described location server obtains the geographical position corresponding to mark of the described UC terminal of record, determines the urgent call trombone corresponding to described urgent call cornet, and return described urgent call trombone to described call server according to described geographical position;
Urgent call cornet in described emergency call request is replaced with described urgent call trombone by described call server, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
In conjunction with the 4th kind of possible implementation of first aspect, in the 7th kind of possible implementation, described record the mark of described UC terminal and the corresponding relation in described geographical position after, also comprise:
Described location server receives the position enquiring request that described UC terminal sends, and described position enquiring request comprises the mark of described UC terminal;
Described location server obtains the geographical position corresponding to mark of the described UC terminal of record, and returns to described geographical position to described UC terminal;
Call server in described enterprise network receives the emergency call request that described UC terminal sends, and the called identification in described emergency call request is urgent call cornet, and described emergency call request also comprises described geographical position;
Described call server determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
In conjunction with the 4th kind of possible implementation of first aspect, in the 8th kind of possible implementation, described record the mark of described UC terminal and the corresponding relation in described geographical position after, also comprise:
Described location server receives the urgent call trombone inquiry request that described UC terminal sends, and described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal;
Described location server obtains the geographical position corresponding to mark of the described UC terminal of record, determines the urgent call trombone corresponding to described urgent call cornet, and return described urgent call trombone to described UC terminal according to described geographical position;
Described UC terminal sends emergency call request to the call server in described enterprise network, called identification in described emergency call request is described urgent call trombone, to make described call server, described emergency call request is sent to the EC in described geographical position.
Second aspect, provide a kind of method determining the geographical position of Unified Communication UC terminal, described method comprises:
UC terminal obtains the IP address of each gateway in the message path between central server that described UC terminal and described UC terminal log in;
Described UC terminal sends IP address reporting message to the location server in the enterprise network of described UC terminal place, IP address list is carried in the reporting message of described IP address, described IP address list comprises the IP address of each gateway described of acquisition, to make: when described UC terminal is the UC terminal logged in by Intranet, described location server mates to the IP address of each aggregation gateway of record and described IP address list the IP address determining the aggregation gateway in described message path, according to the IP address of the described aggregation gateway determined of record and the corresponding relation in the geographical position at this aggregation gateway place, obtain the geographical position at the described aggregation gateway place determined, and described geographical position is recorded as the geographical position of described UC terminal.
In the first possible implementation of second aspect, described IP address list also comprises the IP address of described UC terminal, IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described, to make: when described UC terminal is the UC terminal logged in by outer net, described location server puts in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
In conjunction with the first possible implementation of second aspect or second aspect, in the implementation that the second is possible, described IP address reporting message also comprises the mark of described UC terminal, to make the mark of UC terminal described in described location server record and the corresponding relation in described geographical position.
In conjunction with the implementation that the second of second aspect is possible, in the implementation that the third is possible, described UC terminal, to after the location server in the enterprise network of described UC terminal place sends IP address reporting message, also comprises:
Described UC terminal sends position enquiring request to described location server, and described position enquiring request comprises the mark of described UC terminal, the geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server;
Described UC terminal receives the described geographical position that described location server returns, and send emergency call request to call server, called identification in described emergency call request is urgent call cornet, described emergency call request also comprises described geographical position, so that described call server determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
In conjunction with the implementation that the second of second aspect is possible, in the 4th kind of possible implementation, described UC terminal, to after the location server in the enterprise network of described UC terminal place sends IP address reporting message, also comprises:
Described UC terminal sends urgent call trombone inquiry request to described location server, described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal, geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server, determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position;
Described UC terminal receives the described urgent call trombone that described location server returns, and send emergency call request to call server, called identification in described emergency call request is described urgent call trombone, to make described call server, described emergency call request is sent to the EC in described geographical position.
The third aspect, provides a kind of location server, and described location server is positioned at enterprise network, and described location server comprises: record cell, receiving element and position determination unit;
Described record cell, for the corresponding relation in the geographical position of the IP address and this aggregation gateway place of recording each aggregation gateway of described enterprise network;
Described receiving element, for receiving the IP address reporting message that Unified Communication UC terminal sends, and for described IP address reporting message is transferred to described position determination unit, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway in the message path between central server that described UC terminal and described UC terminal log in;
Described position determination unit, for receiving described IP address reporting message from described receiving element; When described UC terminal is the UC terminal logged in by Intranet, also mate for the IP address of each aggregation gateway to record and described IP address list the IP address determining the aggregation gateway in described message path; According to the geographical position corresponding to the IP address acquisition of the described aggregation gateway determined and the IP address of the described aggregation gateway determined, and described geographical position is recorded as the geographical position of described UC terminal.
In the first possible implementation of the third aspect:
Described record cell, also for recording the corresponding relation in the geographical position at the mechanism place that each public network IP address section on public network and this public network IP address section are assigned to;
The described IP address list that described receiving element receives also comprises the IP address of described UC terminal, and the IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described;
When described UC terminal is the UC terminal logged in by outer net, described position determination unit, also for putting in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
In conjunction with the first possible implementation of the third aspect, in the implementation that the second is possible, described location server also comprises judging unit, for judging that according to described IP address list described UC terminal is the UC terminal or the UC terminal logged in by outer net that are logged in by Intranet, if described IP address list comprises public network IP address, then judge that described UC terminal is the UC terminal logged in by outer net; Otherwise, judge that described UC terminal is the UC terminal logged in by Intranet.
Fourth aspect, provide a kind of Unified Communication UC terminal, described UC terminal comprises: acquiring unit, message constructing unit and transmitting element;
Described acquiring unit, for obtaining the IP address of each gateway in the message path between the central server that described UC terminal and described UC terminal log in, and by the IP address transfer of each gateway described to described message constructing unit;
Described message constructing unit, for receiving the IP address of each gateway described from described acquiring unit, and for constructing IP address reporting message, IP address list is carried in the reporting message of described IP address, described IP address list comprises the IP address of each gateway described of acquisition, and described IP address reporting message is transferred to described transmitting element;
Described transmitting element, for receiving described IP address reporting message from described message constructing unit, and send described IP address reporting message to the location server in the enterprise network of described UC terminal place, to make: when described UC terminal is the UC terminal logged in by Intranet, described location server mates to the IP address of each aggregation gateway of record and described IP address list the IP address determining the aggregation gateway in described message path, according to the IP address of the described aggregation gateway determined of record and the corresponding relation in the geographical position at this aggregation gateway place, obtain the geographical position at the described aggregation gateway place determined, and described geographical position is recorded as the geographical position of described UC terminal.
In the first possible implementation of fourth aspect, described IP address list also comprises the IP address of described UC terminal, IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described, to make: when described UC terminal is the UC terminal logged in by outer net, described location server puts in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
In conjunction with the first possible implementation of fourth aspect or fourth aspect, in the implementation that the second is possible, described IP address reporting message also comprises the mark of described UC terminal, to make the mark of UC terminal described in described location server record and the corresponding relation in described geographical position.
In conjunction with the implementation that the second of fourth aspect is possible, in the implementation that the third is possible, described UC terminal also comprises the first calling unit;
Described first calling unit, for sending position enquiring request to described location server, described position enquiring request comprises the mark of described UC terminal, the geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server; Receive the described geographical position that described location server returns, and construct emergency call request, described emergency call request comprises described geographical position, and the called identification in described emergency call request is urgent call cornet; And described emergency call request is transferred to described transmitting element;
Described transmitting element, also for receiving described emergency call request from described first calling unit, and send described emergency call request to call server, so that described call server determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
In conjunction with the implementation that the second of fourth aspect is possible, in the 4th kind of possible implementation, described UC terminal also comprises the second calling unit;
Described second calling unit, for sending urgent call trombone inquiry request to described location server, described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal, geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server, determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position; Receive the described urgent call trombone that described location server returns, and construct emergency call request, the called identification in described emergency call request is described urgent call trombone; And described emergency call request is transferred to described transmitting element;
Described transmitting element, also for sending described emergency call request to call server, is sent to the EC in described geographical position to make described call server by described emergency call request.
5th aspect, provides a kind of communication system, and described communication system comprises Unified Communication UC terminal and location server, and described location server is arranged in enterprise network;
Described location server, for the corresponding relation in the geographical position of the IP address and this aggregation gateway place of recording each aggregation gateway of described enterprise network; Receive the IP address reporting message that UC terminal sends, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway in the message path between central server that described UC terminal and described UC terminal log in; When described UC terminal is the UC terminal logged in by Intranet, also mate for the IP address of each aggregation gateway to record and described IP address list the IP address determining the aggregation gateway in described message path, according to the geographical position corresponding to the IP address acquisition of the described aggregation gateway determined and the IP address of the described aggregation gateway determined, and described geographical position is recorded as the geographical position of described UC terminal;
Described UC terminal, for sending described IP address reporting message to described location server.
In the first possible implementation in the 5th, described IP address list also comprises the IP address of described UC terminal, and the IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described;
Described location server, also for recording the corresponding relation in the geographical position at the mechanism place that each public network IP address section on public network and this public network IP address section are assigned to; When described UC terminal is the UC terminal logged in by outer net, also for putting in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
In conjunction with the first possible implementation of the 5th aspect or the 5th aspect, in the implementation that the second is possible, described IP address reporting message also comprises the mark of described UC terminal; The described geographical position described geographical position being recorded as described UC terminal, specifically comprises: record the mark of described UC terminal and the corresponding relation in described geographical position.
In conjunction with the implementation that the second of the 5th aspect is possible, in the implementation that the third is possible, described communication system also comprises call server, and described call server is arranged in described enterprise network;
Described UC terminal, also for sending emergency call request to described call server, described emergency call request comprises calling identification and called identification, and described calling identification is the mark of described UC terminal, and described called identification is urgent call cornet;
Described location server, also for receiving the position enquiring request that described call server sends, described position enquiring request comprises the mark of described UC terminal; Obtain the geographical position corresponding to mark of the described UC terminal of record, and return to described geographical position to described call server;
Described call server, for receiving the described emergency call request that described UC terminal sends; Send described position enquiring request to described location server and receive the described geographical position that described location server returns; And determine the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
In conjunction with the implementation that the second of the 5th aspect is possible, in the 4th kind of possible implementation, described communication system also comprises call server, and described call server is arranged in described enterprise network;
Described UC terminal, also for sending emergency call request to described call server, described emergency call request comprises calling identification and called identification, and described calling identification is the mark of described UC terminal, and described called identification is urgent call cornet;
Described location server, also for receiving the urgent call trombone inquiry request that described call server sends, described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal; Obtain the geographical position corresponding to mark of the described UC terminal of record, determine the urgent call trombone corresponding to described urgent call cornet according to described geographical position, and return described urgent call trombone to described call server;
Described call server, for receiving the described emergency call request that described UC terminal sends; Send described urgent call trombone inquiry request to described location server and receive the described urgent call trombone that described call server returns; Urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
6th aspect, provide a kind of computer program, described computer program comprises computer program code, when described computer program code is performed by a computer time, described computer program code can make described computer perform the first step to the 8th kind of arbitrary possible implementation of first aspect or first aspect.
7th aspect, provide a kind of computer program, described computer program comprises computer program code, when described computer program code is performed by a computer time, described computer program code can make described computer perform the first step to the 4th kind of arbitrary possible implementation of second aspect or second aspect.
Eighth aspect, provide a kind of computer-readable recording medium, described computer-readable recording medium stores computer program code, when described computer program code is performed by a computer time, described computer program code can make described computer perform the first step to the 8th kind of arbitrary possible implementation of first aspect or first aspect.
9th aspect, provide a kind of computer-readable recording medium, described computer-readable recording medium stores computer program code, when described computer program code is performed by a computer time, described computer program code can make described computer perform the first step to the 4th kind of arbitrary possible implementation of second aspect or second aspect.
According to the embodiment of the present invention, when described UC terminal is the UC terminal logged in by Intranet, location server in enterprise network can from the IP address list of UC terminal to report, determine the aggregation gateway in the message path between the central server that this UC terminal and this UC terminal log in, and then obtain the geographical position at this aggregation gateway place, and the geographical position at described aggregation gateway place is recorded as the geographical position of described UC terminal, thus solve in prior art and need enterprise customer manually to arrange, the problem that the user operation that the position upgrading oneself place causes is more loaded down with trivial details.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the networking structure schematic diagram of a kind of applied environment that the embodiment of the present invention provides;
Fig. 2 is the method flow schematic diagram that the embodiment of the present invention 1 provides;
Fig. 3 is the method flow schematic diagram of a kind of execution mode that the embodiment of the present invention 1 provides;
Fig. 4-1 to 4-4 is three kinds of urgent call schematic flow sheets of the embodiment of the present invention 1;
Fig. 5-1,5-2 are the apparatus structure schematic diagrames of the location server that the embodiment of the present invention 2 provides;
Fig. 6-1 to 6-3 is the apparatus structure schematic diagram of the UC terminal that the embodiment of the present invention 3 provides;
Fig. 7 is the another kind of apparatus structure schematic diagram of the location server that the embodiment of the present invention 4 provides;
Fig. 8 is the another kind of apparatus structure schematic diagram of the UC terminal that the embodiment of the present invention 5 provides;
Fig. 9-1,9-2 are the system configuration schematic diagrames that the embodiment of the present invention 6 provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The networking structure schematic diagram of a kind of applied environment that Fig. 1 provides for the embodiment of the present invention.
This networking structure comprises the central server 101, the location server 102 that are positioned at enterprise network and signs in the UC terminal 103 of this central server, this UC terminal can be the UC terminal (i.e. the UC terminal of enterprise network branch office customer) logged in by Intranet, also can be the UC terminal (i.e. the UC terminal of external user) logged in by outer net.Wherein: the UC terminal (as the UC terminal 103-1 of Hangzhou branch office customer and the UC terminal 103-2 of Nanjing branch office customer) of enterprise network branch office customer is by VPN(Virtual Private Network, VPN (virtual private network)) access enterprise network and sign in central server 101, aggregation gateway (also known as egress router) is deployed with between this UC terminal and VPN, as the aggregation gateway 104-1 between UC terminal 103-1 and VPN, aggregation gateway 104-2 between UC terminal 103-2 and VPN, router one 05-1 can be deployed with between VPN and central server, 105-2 and core switch 106, the UC terminal (as the UC terminal 103-3 of domestic consumer, the UC terminal 103-4 of cellphone subscriber) of external user accesses enterprise network by internet and signs in central server, wherein, UC terminal 103-3 accesses internet by home router 107, disposes carrier gateway 108 and core switch 106 between this internet and central server.
Under this networking structure, location server can determine the geographical position of each UC terminal signing in central server in the following way.
The embodiment of the present invention for convenience of description, assuming that the IP address of each UC terminal and network entity is as follows:
UC terminal 103-1:192.168.1.1(private network IP address);
UC terminal 103-2:192.168.1.2(private network IP address);
UC terminal 103-3:192.168.1.3(private network IP address);
UC terminal 103-4:221.204.1.1(public network IP address);
Aggregation gateway 104-1:10.13.1.111(private network IP address);
Aggregation gateway 104-2:10.23.2.222(private network IP address);
Network router 105-1:221.204.1.11(public network IP address);
Network router 105-2:221.204.1.12(public network IP address);
Home router 107:221.204.1.21(public network IP address);
Carrier gateway 108:221.204.1.31(public network IP address).
Wherein, determine that the implementation in the geographical position of the UC terminal logged in by Intranet is as follows:
Location server records the corresponding relation in the IP address of all aggregation gateway in enterprise network and the geographical position at this aggregation gateway place, as the corresponding relation in, the record IP address of aggregation gateway 104-1 and the corresponding relation in Hangzhou, the IP address of aggregation gateway 104-2 and Nanjing.The UC terminal (the UC terminal 103-1 as Hangzhou branch office customer) of branch office customer obtains the IP address of each gateway in the message path between this UC terminal and central server (as the IP address 10.13.1.111 of aggregation gateway 104-1, the IP address 221.204.1.11 of network router 105-1 and the IP address 221.204.1.12 of network router 105-2), and report location server, location server mates the IP address (the IP address 10.13.1.111 as aggregation gateway 104-1) of the aggregation gateway drawn between described UC terminal and described UC server to the IP address of the aggregation gateway of record and the IP address that reports, draw the geographical position (as Hangzhou) corresponding to IP address of this aggregation gateway further, and this geographical position is recorded as the geographical position of this UC terminal (as UC terminal 103-1).
Wherein, determine that the implementation in the geographical position at the UC terminal place logged in by outer net is as follows:
Location server records the corresponding relation in the geographical position at the mechanism place that each public network IP address section on public network and this public network IP address section are assigned to, as, the initial address of IP address field 1 is 221.204.0.0, end address is 221.205.255.255, the location of the mechanism that IP address field 1 is assigned to is Taiyuan, then record the corresponding relation in IP address field 1 and Taiyuan.The UC terminal (the UC terminal 103-3 for domestic consumer) of external user obtains the IP address of each gateway in the message path between this UC terminal and central server (as the IP address 221.204.1.21 of home router 107, the IP address 221.204.1.31 of carrier gateway 108), and the IP address (the IP address 192.168.1.3 as UC terminal 103-3) of this UC terminal and the IP address of each gateway above-mentioned are reported location server, wherein, the all IP addresses reported are according to tactic (as arranged in the following order: 192.168.1.3 in described message path of described UC terminal and each gateway described, 221.204.1.21, 221.204.1.31).Described location server puts in order according to the IP address in described IP address list, determine the public network IP address section (as IP address field 1) at first public network IP address (the IP address 221.204.1.21 as the home router 107) place from the IP address of described UC terminal in described IP address list, and obtain the geographical position (as Taiyuan) corresponding to public network IP address section at described first public network IP address place, and then this geographical position is recorded as the geographical position of this UC terminal.
It should be noted that, in the above example, the IP address of this UC terminal is private network IP address, and first public network IP address from the IP address of described UC terminal in described IP address list is the IP address 221.204.1.21 of home router 107.If the IP address of described UC terminal is public network IP address (as UC terminal 103-4), then first public network IP address from the IP address of described UC terminal in described IP address list is the IP address (as 221.204.1.1) of this UC terminal.
Further, this networking structure can also comprise call server 109, and the UC terminal signing in central server 101 can be made a call by call server 109.Under urgent call scene, this networking structure also comprises the EC (Hangzhou 110 EC 111-1 as shown in the figure and Taiyuan 110 EC 110-2) of each department and the VOIP(Voice over Internet Protocol between call server and the EC of each department, the networking telephone) land gateway (Hangzhou VOIP as shown in the figure land gateway 110-1 and Taiyuan VOIP land gateway 110-2), wherein, each EC and VOIP land between gateway by PSTN network service.
Under this networking structure, when user utilizes UC terminal (the UC terminal 103-1 of Hangzhou branch office customer as shown in the figure) to initiate urgent call, call server 109 can according to the geographical position (as Hangzhou) of this UC terminal determined in location server 102 by as described in emergency call request route to as described in the EC (EC 111-1 as shown in the figure) of region, geographical position.
Fig. 2 is the method flow schematic diagram that the embodiment of the present invention 1 provides.
Step 210: the corresponding relation in the IP address of each aggregation gateway of enterprise network and the geographical position at this aggregation gateway place described in the location server record in enterprise network;
Particularly, the corresponding relation in the system manager IP address of the aggregation gateway of each branch of this enterprise network of typing and geographical position at this aggregation gateway place on location server.For the networking structure shown in Fig. 1, entry information is as follows:
Aggregation gateway Geographical position
10.13.1.111 Zhejiang Hangzhou
10.23.2.222 Nanjing
? ?
Table 1
Step 220:UC terminal logs in the central server in enterprise network;
Step 230: described UC terminal sends IP address reporting message to described location server, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway in the message path between described UC terminal and described central server;
Described gateway can be the router (router one 05-1,105-2 as shown in Figure 1) in aggregation gateway (aggregation gateway 104-1 as shown in Figure 1,104-2), enterprise network, home router (home router 107 as shown in Figure 1), carrier gateway (carrier gateway 108 as shown in Figure 1) etc. in embodiments of the present invention.
For the networking structure shown in Fig. 1, the IP address list that UC terminal 103-1 reports comprises the IP address of each gateway in the message path between UC terminal 103-1 and central server 101, specifically comprises: the IP address 221.204.1.12 of the IP address 10.13.1.111 of aggregation gateway 104-1, the IP address 221.204.1.11 of network router 105-1 and network router 105-2.
Also comprised before step 230, described UC terminal obtains the IP address of each gateway in the message path between described UC terminal and described central server, specifically can be obtained the IP address of each gateway described by the following two kinds mode:
Mode 1: described UC terminal sends N number of ICMP(Internet Control Message Protocol to described central server, Internet Control Message Protocol) echo request message, TTL (Time To Live, the life span) value of described N number of icmp packet is respectively 1 to N; Receive described UC terminal between described central server and the ICMP time exceeded message returned with the gateway that the jumping figure of the spacing of described UC terminal is described ttl value, described ICMP time exceeded message comprises the IP address of described gateway, wherein, N is specially the maximum hop count or 255 between described UC terminal and described central server.Particularly, particularly, it is the icmp packet of 1 to N that described UC terminal adopts the mode increased progressively to send ttl value to described central server successively, when gateway between described UC terminal and described central server receives described icmp packet, ttl value in message is successively decreased 1, if the ttl value after successively decreasing is 0, described gateway returns the ICMP time exceeded message of the IP address of carrying self to described UC terminal, otherwise, this icmp packet of down hop gateway forwards, namely described UC terminal obtains the IP address of described gateway by described ICMP time exceeded message.
Mode 2: described UC terminal is by the tracert(traceroute of call operation system) order obtain between described UC terminal and described central server message path on the IP address of each gateway, wherein, the parameter of described tracert order is host name or the IP address of described central server.
Step 240: when described UC terminal is the UC terminal logged in by Intranet, described location server mates to the IP address of each aggregation gateway of record and described IP address list the IP address determining the aggregation gateway in described message path;
For the networking structure shown in Fig. 1, IP address and the described IP address list of each aggregation gateway that described location server records according to table 1 mate, and the IP address of the aggregation gateway between the UC terminal 103-1 determined and central server 101 is the IP address of 10.13.1.111(and aggregation gateway 104-1).
Step 250: the geographical position of described location server corresponding to the IP address of the IP address acquisition of the described aggregation gateway determined and the described aggregation gateway determined, and described geographical position is recorded as the geographical position of described UC terminal.
For the networking structure shown in Fig. 1, the corresponding relation in the IP address of each aggregation gateway and the geographical position at each aggregation gateway place described in described location server records according to table 1, the geographical position (Zhejiang Hangzhou) corresponding to the IP address of the aggregation gateway that acquisition is determined (i.e. step 240 determine the IP address 10.13.1.111 of aggregation gateway 104-1).
Preferably, the IP address reporting message in step 230 also comprises the mark of described UC terminal; The described geographical position described geographical position being recorded as described UC terminal specifically comprises: record described UC terminal mark (as user103-1@abc.com) and as described in the corresponding relation in geographical position (as Zhejiang Hangzhou), as shown in table 2:
User account number Geographical position
user103-1@abc.com Zhejiang Hangzhou
? ?
Table 2
Wherein, the mark of described UC terminal can for user account used when described UC terminal signs in described central server.
If described enterprise network allows UC terminal to be logged in by outer net, the geographical position can determining by the following execution mode of the embodiment of the present invention 1 the UC terminal place logged in by Intranet and the geographical position at UC terminal place logged in by outer net, as shown in Figure 3:
Step 310: with step 210;
Step 320: the corresponding relation in the geographical position at the mechanism place that each public network IP address section of described location server record and this public network IP address section are assigned to;
Particularly, described location server is to APNIC (Asia-Pacific Network Information Center, APNIC) open website acquisition each public network IP address section described, wherein, the descriptor of each public network IP address section comprises the initial address of described public network IP address section; Then position enquiring request is sent to whois.apnic.net main frame, described position enquiring request comprises described initial address, the geographical position at the mechanism place be assigned to the public network IP address section of inquiring about described initial address place, and the geographical position receiving that described whois.apnic.net main frame returns.
The example embodiment realizing step 320 is as follows:
Step 321: send GET request to the open website of APNIC, the URL in described GET request is http:// ftp.apnic.net/stats/apnic/delegated-apnic-latest, and receive the multirow record returned;
Wherein, every line item correspondence distributes to a public network IP address section of a mechanism, and form is as follows:
apnic|CN|ipv4|221.204.0.0|131072|20030702|allocated
Wherein, the 3rd field record is the type (ipv4) of the IP address that this public network IP address section comprises; 4th field record be the initial address (221.204.0.0) of this public network IP address section, the 5th field record be this IP number of addresses (131072) included by public network IP address section.
Step 322: filter out all records that the 3rd field is " ipv4 ".
Step 323: extract the value (being 221.204.0.0 in this example) that the 3rd field is the 4th field in certain line item of " ipv4 ", No. 43 tcp ports to whois.apnic.net main frame connect, and send WHOIS inquiry string (in this example for " 221.204.0.0 r n "), obtain WHOIS data query, then disconnect, and the data query received is analyzed.
The data query example obtained is as follows:
Step 324: judge whether occur in " the descr: " row in above-mentioned data query showing 3(China province table) in province or municipality directly under the Central Government, if there is the province in table 3, perform step step 325; If there is the municipality directly under the Central Government in table 3, perform step 326 to record the corresponding relation of this public network IP address section and this municipality directly under the Central Government;
In this example, there is the province ShanXi in table 3 in " descr: " of above-mentioned data query in going;
Province or municipality directly under the Central Government's name Province or municipality directly under the Central Government's phonetic
Shanxi ShanXi
Jiangsu Jiangsu
Table 4-1
Step 325: according to the province (ShanXi) of gained, according to table 4(Chinese city table) judge the city whether occurring this province (ShanXi) subordinate in " Address: " row of above-mentioned data query, if so, perform step 326;
In this example, there is the city " TaiYuan " of ShanXi province subordinate in " Address: " row of above-mentioned data query.
Province phonetic City name City phonetic
ShanXi Taiyuan TaiYuan
ShanXi Datong District DaTong
Zhejiang Hangzhou Hangzhou
Zhejiang Ningbo NingBo
Table 4-2
Step 326: the geographical position (as Taiyuan, Shanxi) at the mechanism place this public network IP address section and this public network IP address section are assigned to is recorded.
The recording mode of public network IP address section is flexibly, can be specifically record the initial address of this IP address field and this IP number of addresses included by IP address field, also can be initial address and the end address of recording this IP address field, described end address can calculate according to described initial address and described IP number of addresses.
Example is as follows:
Record number Initial address End address Geographical position
101 221.204.0.0 221.205.255.255 Taiyuan, Shanxi
? ? ? ?
Table 5-1
Record number Initial address IP number of addresses Geographical position
101 221.204.0.0 131072 Taiyuan, Shanxi
? ? ? ?
Table 5-2
It should be noted that, location server can record the corresponding relation in the geographical position (as Taiyuan, Shanxi, Beijing) of this IP address field and City-level, and this geographical position may be used for the realization of emergency call function; Also can record this IP address field and the corresponding relation comprising the better address (BingZhou North Road YouDian Front Street NO.2ShanXi Data Communciation Bureau TaiYuan ShanXi China) in the address of this city name, this geographical position may be used for the realization of position sharing functionality.
Repeated execution of steps 323 to step 326, all types that can complete acquisition is the record of the public network IP address section of " IPV4 " and the corresponding relation with geographical position thereof.
It should be noted that, step 320 also can before step 310.
Step 330: similar with step 220, repeats no more;
Step 340: described UC terminal sends IP address reporting message to described location server, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway in the IP address of described UC terminal and message path between described UC terminal and described central server;
Wherein, the IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described.
For the networking structure shown in Fig. 1, the IP address in the IP address list that UC terminal 103-3 reports can arrange in the following order: the IP address 221.204.1.31 of the IP address 192.168.1.3 of UC terminal 103-3, the IP address 221.204.1.21 of home router 107, carrier gateway 108.
Also comprised before step 340, described UC terminal obtains the IP address of each gateway in the message path between described UC terminal and described central server, specific implementation and step 230 similar, repeat no more.
If described UC terminal is logged in by Intranet, follow-up execution step 350A to 360A, step 350A to 360A are similar to 250 with step 240, repeat no more:
If logged in by outer net during described UC terminal, follow-up execution step 350B to 360B, as described below:
Step 350B: described location server puts in order according to the IP address in described IP address list, determines the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list;
For the networking structure shown in Fig. 1, first public network IP address from the IP address of UC terminal 103-3 is the IP address 221.204.1.21 of home router 107, being numbered in the public network IP address Duan Weibiao 5-1 at this 221.204.1.21 place, IP address or table 5-2 record in the record of 101 IP address field.
Described location-based service implement body by the following two kinds mode putting in order according to the IP address in described IP address list, can determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list:
Mode 1: according to putting in order of the IP address in described IP address list, from the IP address of described UC terminal, judge whether each IP address is public network IP address one by one, and the public network IP address section at first the public network IP address place judged described in judge first public network IP address and each public network IP address section described being carried out mate determining.
It should be noted that, the scope of private network IP address comprises 10.0.0.0--10.255.255.255,172.16.0.0--172.31.255.255 and 192.168.0.0--192.168.255.255, can by judging that the scope whether this IP address belongs to private network IP address judges whether this IP address is public network IP address in mode 1, if belong to this scope, then be judged as private network IP address, otherwise be judged as public network IP address.
Mode 2: according to putting in order of the IP address in described IP address list, from the IP address of described UC terminal, judge whether each IP address is included in one of them public network IP address section of record one by one, and first that determines the to judge public network IP address section being included in the place, IP address of one of them public network IP address section.
Step 360B: described location server obtains the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
For the networking structure shown in Fig. 1, according to table 5-1 or table 5-2 obtain home router 107 221.204.1.21 place, IP address public network IP address section corresponding to geographical position be " Taiyuan, Shanxi ".
Preferably, the IP address reporting message in step 340 also comprises the mark of described UC terminal; The described geographical position described geographical position being recorded as described UC terminal specifically comprises: record described UC terminal mark (as user103-1@abc.com) and as described in the corresponding relation in geographical position (as Taiyuan, Shanxi)
It should be noted that, when described UC terminal is the UC terminal logged in by Intranet, the IP address that described IP address list comprises is private network IP address, that is, described IP address list does not comprise public network IP address; When described UC terminal is the UC terminal logged in by outer net, in described IP address list, at least comprise a public network IP address.Therefore, based on execution mode as shown in Figure 3, there is the optional implementation of the following two kinds further:
Mode 1: can also comprise after step 340: according to described IP address list, described location server judges that described UC terminal is the UC terminal or the UC terminal logged in by outer net that are logged in by Intranet, if described IP address list comprises public network IP address, then judge that described UC terminal is the UC terminal logged in by outer net, follow-up execution step 350B and 360B; Otherwise, judge that described UC terminal is the UC terminal logged in by Intranet, follow-up execution step 350A and 360A.
Mode 2: described location server also can not judge that described UC terminal is the UC terminal or the UC terminal logged in by outer net that are logged in by Intranet after step 340, but directly perform step 350B, if described first public network IP address (namely the IP address list of described UC terminal to report comprises public network IP address) can be determined in step 350B, then perform step 360B further to determine the geographical position of described UC terminal; If perform step 360B cannot determine described first public network IP address (being i.e. private network IP address in the IP address list of described UC terminal to report), then follow-up execution step 350A and 360A.
In Intranet, the geographical position at the described UC terminal place determined can be utilized to realize the relevant business function (as urgent call, friend location information sharing etc.) in various position, describe four kinds of execution modes of urgent call below in conjunction with Fig. 4-1 to Fig. 4-4.
The execution mode 1 of urgent call is described below in conjunction with Fig. 4-1:
Step 410: described UC terminal sends emergency call request to the call server of described enterprise network, and described emergency call request comprises calling identification and called identification, and described calling identification is the mark of described UC terminal, and described called identification is urgent call cornet;
If what initiate is 110 urgent calls, described urgent call cornet is 110.
For the networking structure shown in Fig. 1, assuming that be Hangzhou branch UC terminal 103-1 send emergency call request, described UC terminal be designated user103-1@abc.com.
Step 420: described call server sends position enquiring request to described location server, and described position enquiring request comprises the mark of described UC terminal;
Step 430-440: described location server obtains the geographical position corresponding to mark of the described UC terminal of record, and returns to described geographical position to described call server;
For the networking structure shown in Fig. 1, described location server question blank 2, obtains the geographical position " Zhejiang Hangzhou " that user103-1@abc.com is corresponding, and returns " Zhejiang Hangzhou " to described call server.
Step 450: described call server determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position, replaces with described urgent call trombone by the urgent call cornet in described emergency call request;
Described urgent call trombone is the urgent call trombone of the EC in this geographical position.
Described call server determines being implemented as follows of urgent call trombone corresponding to described urgent call cornet according to described geographical position:
Can pre-configured urgent call office point table on described call server.
In one implementation: the mapping relations recording the urgent call trombone in described urgent call cornet and geographical position and this geographical position in the table of described urgent call office point, as shown shown in 6-1 and 6-2, described call server obtains urgent call trombone corresponding to described urgent call cornet according to described urgent call office point table and described geographical position.
Geographical position Urgent call cornet Urgent call trombone
Zhejiang Hangzhou 110 8820110
Nanjing 110 Xxxx110
Zhejiang Hangzhou 120 7710120
? ? ?
Table 6-1 comprehensive urgent call office point table-trombone table
Geographical position Urgent call trombone
Zhejiang Hangzhou 8820110
Nanjing Xxxx110
? ?
Table 6-2110 urgent call office point table--trombone table
In another kind of implementation: the mapping relations recording the urgent call trombone prefix in described urgent call cornet and geographical position and this geographical position in the table of described urgent call office point, as shown shown in 6-3 and 6-4, described call server obtains urgent call trombone prefix corresponding to described urgent call cornet according to described urgent call office point table and described geographical position, utilizes described urgent call cornet and described urgent call trombone prefix to generate described urgent call trombone.
Geographical position Urgent call cornet Trombone prefix
Zhejiang Hangzhou 110 8820
Nanjing 110 Xxxx
Zhejiang Hangzhou 120 7710
? ? ?
Table 6-3 comprehensive urgent call office point table--prefix table
Geographical position Trombone prefix
Zhejiang Hangzhou 8820
Nanjing Xxxx
? ?
Table 6-4110 urgent call office point table--prefix table
Step 460-470: the emergency call request after number replacement is sent to the EC in described geographical position by described call server.
Particularly, described call server by described enterprise network correspond to the VOIP in this geographical position land gateway described number is replaced after emergency call request be sent to described EC.
The execution mode 2 of urgent call is described below in conjunction with Fig. 4-2:
Step 510: similar with step 410, repeats no more;
Step 520: described call server sends urgent call trombone inquiry request to described location server, and described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal;
Step 530-540: described location server obtains the geographical position corresponding to mark of the described UC terminal of record, determine the urgent call trombone corresponding to described urgent call cornet according to described geographical position, and return described urgent call trombone to described call server;
Described urgent call trombone is the urgent call trombone of the EC in this geographical position.
Described location server determines the specific implementation of the urgent call trombone corresponding to described urgent call cornet according to described geographical position, be similar to call server described in step 450 determines the urgent call trombone corresponding to described urgent call cornet specific implementation according to described geographical position, repeat no more.
Step 550: the urgent call cornet in described emergency call request is replaced with described urgent call trombone by described call server;
Step 560-570: similar with step 460-470, repeats no more.
The execution mode 3 of urgent call is described below in conjunction with Fig. 4-3:
Step 610: described UC terminal sends position enquiring request to described location server, and described position enquiring request comprises the mark of described UC terminal;
Step 620-630: described location server obtains the geographical position corresponding to mark of the described UC terminal of record, and returns to described geographical position to described UC terminal;
Step 640: described UC terminal sends emergency call request to the call server of described enterprise network, and the called identification in described emergency call request is urgent call cornet, and described emergency call request also comprises described geographical position;
Step 650 is to 670: similar to 470 with step 450, repeats no more.
The execution mode 4 of urgent call is described below in conjunction with Fig. 4-4:
Step 710: described UC terminal sends urgent call trombone inquiry request to described location server, and described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal;
Step 720-730: described location server obtains the geographical position corresponding to mark of the described UC terminal of record, determine the urgent call trombone corresponding to described urgent call cornet according to described geographical position, and return described urgent call trombone to described UC terminal;
Described urgent call trombone is the urgent call trombone of the EC in this geographical position.
Described location server determines the specific implementation of the urgent call trombone corresponding to described urgent call cornet according to described geographical position, be similar to call server described in step 450 determines the urgent call trombone corresponding to described urgent call cornet specific implementation according to described geographical position, repeat no more.
Step 740: described UC terminal sends emergency call request to the call server of described enterprise network, and the called identification in described emergency call request is described urgent call trombone;
Step 750-760: described emergency call request is sent to the EC in described geographical position by described call server.
Particularly, described call server is landed gateway by the VOIP in this geographical position of corresponding in described enterprise network described call request is sent to described EC.
For aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.
According to the embodiment of the present invention 1, the embodiment of the present invention 2 proposes a kind of location server 500, is positioned at enterprise network.
As shown in fig. 5-1, location server 500 comprises: record cell 501, receiving element 502 and position determination unit 503;
Record cell 501, for the corresponding relation in the geographical position of the IP address and this aggregation gateway place of recording each aggregation gateway of described enterprise network;
Receiving element 502, for receiving the IP address reporting message that UC terminal sends, and for described IP address reporting message is transferred to position determination unit 503, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway in the message path between central server that described UC terminal and described UC terminal log in;
Position determination unit 503, for receiving described IP address reporting message from receiving element 502; When described UC terminal is the UC terminal logged in by Intranet, also mate for the IP address of each aggregation gateway to record and described IP address list the IP address determining the aggregation gateway in described message path; According to the geographical position corresponding to the IP address acquisition of the described aggregation gateway determined and the IP address of the described aggregation gateway determined, and described geographical position is recorded as the geographical position of described UC terminal.
If described enterprise network allows UC terminal to be logged in by outer net, the geographical position at the UC terminal place logged in by outer net can be determined by the following execution mode of the embodiment of the present invention 2:
Record cell 501, also for recording the corresponding relation in the geographical position at the mechanism place that each public network IP address section on public network and this public network IP address section are assigned to;
The described IP address list that receiving element 502 receives also comprises the IP address of described UC terminal, and the IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described;
When described UC terminal is the UC terminal logged in by outer net, position determination unit 503, also for putting in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
Wherein, position determination unit 503 is for putting in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, specifically can comprise:
Position determination unit 503, for putting in order according to the IP address in described IP address list, from the IP address of described UC terminal, judge whether each IP address is public network IP address one by one, and the public network IP address section at first the public network IP address place judged described in judge first public network IP address and each public network IP address section described being carried out mate determining; Or,
Position determination unit 503, for putting in order according to the IP address in described IP address list, from the IP address of described UC terminal, judge whether each IP address is included in one of them public network IP address section of record one by one, and first that determines the to judge public network IP address section being included in the place, IP address of one of them public network IP address section.
Preferably, as shown in Fig. 5-2, described location server can also comprise acquiring unit 504;
Acquiring unit 504, for obtaining each public network IP address section described to the open website of APNIC APNIC, wherein, the descriptor of each public network IP address section comprises the initial address of described public network IP address section; And for sending position enquiring request to whois.apnic.net main frame, described position enquiring request comprises described initial address, the geographical position at the mechanism place be assigned to the public network IP address section of inquiring about described initial address place, and receive the geographical position that described whois.apnic.net main frame returns, and each public network IP address section described in obtaining and the geographical position at mechanism place that is assigned to thereof are sent to record cell 501;
Record cell 501 is also for the geographical position at mechanism place receiving each public network IP address section described from acquiring unit 504 and be assigned to; Record cell 501, for the corresponding relation in the geographical position at mechanism place recording each public network IP address section on public network and this public network IP address section and be assigned to, specifically comprises: record cell 501 for record to receive from acquiring unit 504 described in each public network IP address section and the geographical position at mechanism place that is assigned to thereof.
Described location server can also comprise judging unit 505, for judging that according to described IP address list described UC terminal is the UC terminal or the UC terminal logged in by outer net that are logged in by Intranet, if described IP address list comprises public network IP address, then judge that described UC terminal is the UC terminal logged in by outer net; Otherwise, judge that described UC terminal is the UC terminal logged in by Intranet, and judged result transferred to position determination unit 503.
The functional unit described in the embodiment of the present invention 2 can be used for implementing the method described in above-described embodiment 1.
According to the embodiment of the present invention 1 and 2, the embodiment of the present invention 3 proposes a kind of UC terminal 600.
As in Figure 6-1, UC terminal 600 comprises: acquiring unit 601, message constructing unit 602 and transmitting element 603;
Acquiring unit 601, for obtaining the IP address of each gateway in the message path between the central server that described UC terminal and described UC terminal log in, and by the IP address transfer of each gateway described to message constructing unit 602;
Message constructing unit 602, for receiving the IP address of each gateway described from acquiring unit 601, and for constructing IP address reporting message, IP address list is carried in the reporting message of described IP address, described IP address list comprises the IP address of each gateway described of acquisition, and described IP address reporting message is transferred to transmitting element 603;
Transmitting element 603, for receiving described IP address reporting message from message constructing unit 602, and send described IP address reporting message to the location server in the enterprise network of described UC terminal place, to make: when described UC terminal is the UC terminal logged in by Intranet, described location server mates to the IP address of each aggregation gateway of record and described IP address list the IP address determining the aggregation gateway in described message path, according to the IP address of described aggregation gateway of record and the corresponding relation in the geographical position at this aggregation gateway place, obtain the geographical position at described aggregation gateway place, and described geographical position is recorded as the geographical position of described UC terminal.
Preferably, described IP address list also comprises the IP address of described UC terminal, IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described, to make: when described UC terminal is the UC terminal logged in by outer net, described location server puts in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
Acquiring unit 601 can obtain the IP address of each gateway described by the following two kinds mode:
Mode one: send N number of Internet Control Message agreement ICMP echo request message to described central server, the ttl value of described N number of icmp packet is respectively 1 to N; Receive described UC terminal between described central server and the ICMP time exceeded message returned with the gateway that the jumping figure of the spacing of described UC terminal is described ttl value, described ICMP time exceeded message comprises the IP address of described gateway, wherein, N is specially the maximum hop count or 255 between described UC terminal and described central server; Or,
Mode two: the IP address of each gateway in the message path of following the tracks of between the tracert order described UC terminal of acquisition and described central server by the route of call operation system, wherein, the parameter of described tracert order is host name or the IP address of described central server.
Described IP address reporting message also comprises the mark of described UC terminal, to make the corresponding relation in the mark of UC terminal and the described geographical position of acquisition described in described location server record.
In Intranet, the geographical position at the described UC terminal place determined can be utilized to realize the relevant business function (as urgent call, friend location information sharing etc.) in various position.
If realize emergency call function, UC terminal can be realized by the following two kinds mode:
Mode one: as in fig. 6-2, described UC terminal also comprises the first calling unit 604;
First calling unit 604, for sending position enquiring request to described location server, described position enquiring request comprises the mark of described UC terminal, the geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server; Receive the described geographical position that described location server returns, and construct emergency call request, described emergency call request comprises described geographical position, and the called identification in described emergency call request is urgent call cornet; And described emergency call request is transferred to transmitting element 603;
Transmitting element 603, also for receiving described emergency call request from the first calling unit 604, and send described emergency call request to call server, so that described call server determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
Mode two: as shown in Fig. 6-3, described UC terminal also comprises the second calling unit 605;
Second calling unit 605, for sending urgent call trombone inquiry request to described location server, described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal, geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server, determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position; Receive the described urgent call trombone that described location server returns, and construct emergency call request, the called identification in described emergency call request is described urgent call trombone; And described emergency call request is transferred to transmitting element 603;
Transmitting element 603, also for sending described emergency call request to call server, is sent to the EC in described geographical position to make described call server by described emergency call request.
The functional unit described in the embodiment of the present invention 3 can be used for implementing the method described in above-described embodiment 1.
As shown in Figure 7, the embodiment of the present invention 5 provides a kind of location server 1000, comprising: processor (processor) 1010, transmitter (transmitter) 1020-1, receiver (receiver) 1020-2, memory (memory) 1030 and bus 1040.Wherein, processor 1010, transmitter 1020-1, complete mutual communication by bus 1040 between receiver 1020-2 and memory 1030.
Transmitter 1020-1 and receiver 1020-2, for net element communication, e.g., communicate with UC terminal, call server.
Memory 1030, for depositing program 1031, particularly, program 1031 can comprise program code, and described program code comprises computer-managed instruction.Memory 1030 may comprise high-speed RAM memory, still may comprise nonvolatile memory (non-volatile memory), such as at least one magnetic disc store.
Processor 1010, for the program 1031 deposited in execute store 1030.Processor 1010 can be specifically a central processing unit (CPU, central processing unit), is computer core unit.
Particularly, program 1031 can comprise: record cell 1031-1 and position determination unit 1031-2;
Record cell 1031-1, for the corresponding relation in the geographical position of the IP address and this aggregation gateway place of recording each aggregation gateway of described enterprise network;
Receiver 1020-2, for receiving the IP address reporting message that UC terminal sends, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway in the message path between central server that described UC terminal and described UC terminal log in;
Position determination unit 1031-2, when described UC terminal is the UC terminal logged in by Intranet, mates for the IP address of each aggregation gateway to record and described IP address list the IP address determining the aggregation gateway in described message path; According to the geographical position corresponding to the IP address acquisition of the described aggregation gateway determined and the IP address of the described aggregation gateway determined, and described geographical position is recorded as the geographical position of described UC terminal.
If described enterprise network allows UC terminal to be logged in by outer net, the geographical position at the UC terminal place logged in by outer net can be determined by the following execution mode of the embodiment of the present invention 4:
Record cell 1031-1, also for recording the corresponding relation in the geographical position at the mechanism place that each public network IP address section on public network and this public network IP address section are assigned to;
The described IP address list that receiver 1020-2 receives also comprises the IP address of described UC terminal, and the IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described;
When described UC terminal is the UC terminal logged in by outer net, position determination unit 1031-2, also for putting in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
Wherein, position determination unit 1031-2 is used for putting in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, specifically can comprise:
Position determination unit 1031-2, for putting in order according to the IP address in described IP address list, from the IP address of described UC terminal, judge whether each IP address is public network IP address one by one, and the public network IP address section at first the public network IP address place judged described in judge first public network IP address and each public network IP address section described being carried out mate determining; Or,
Position determination unit 1031-2, for putting in order according to the IP address in described IP address list, from the IP address of described UC terminal, judge whether each IP address is included in one of them public network IP address section of record one by one, and first that determines the to judge public network IP address section being included in the place, IP address of one of them public network IP address section.
Preferably, program 1031 can also comprise acquiring unit;
Described acquiring unit, for obtaining each public network IP address section described to the open website of APNIC APNIC, wherein, the descriptor of each public network IP address section comprises the initial address of described public network IP address section; And for sending position enquiring request to whois.apnic.net main frame, described position enquiring request comprises described initial address, the geographical position at the mechanism place be assigned to the public network IP address section of inquiring about described initial address place, and the geographical position receiving that described whois.apnic.net main frame returns.
Program 1031 can also comprise judging unit 505, for judging that according to described IP address list described UC terminal is the UC terminal or the UC terminal logged in by outer net that are logged in by Intranet, if described IP address list comprises public network IP address, then judge that described UC terminal is the UC terminal logged in by outer net; Otherwise, judge that described UC terminal is the UC terminal logged in by Intranet.
In program 1031, the specific implementation of each unit is see the corresponding units in the embodiment of the present invention 2, is not repeated herein.
The functional unit described in the embodiment of the present invention 4 can be used for implementing the method described in above-described embodiment 1.
As shown in Figure 8, the embodiment of the present invention 5 provides a kind of UC terminal 2000, comprising: processor (processor) 2010, transmitter (transmitter) 2020-1, receiver (receiver) 2020-2, memory (memory) 2030 and bus 2040.Wherein, processor 2010, transmitter 2020-1, complete mutual communication by bus 2040 between receiver 2020-2 and memory 2030.
Transmitter 2020-1 and receiver 2020-2, for net element communication, e.g., communicate with location server 1000, call server.
Memory 2030, for depositing program 2031, particularly, program 2031 can comprise program code, and described program code comprises computer-managed instruction.Memory 2030 may comprise high-speed RAM memory, still may comprise nonvolatile memory (non-volatile memory), such as at least one magnetic disc store.
Processor 2010, for performing the program 2031 deposited in described memory 2030.Processor 2010 can be specifically a central processing unit (CPU, central processing unit), is computer core unit.
Particularly, program 2031 can comprise: acquiring unit 2031-1 and message constructing unit 2031-2;
Acquiring unit 2031-1, for obtaining the IP address of each gateway in the message path between the central server that described UC terminal and described UC terminal log in;
Message constructing unit 2031-2, for constructing IP address reporting message, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway described of acquisition;
Transmitter 2020-1, for sending described IP address reporting message to the location server in the enterprise network of described UC terminal place, to make: when described UC terminal is the UC terminal logged in by Intranet, described location server mates to the IP address of each aggregation gateway of record and described IP address list the IP address determining the aggregation gateway in described message path, according to the IP address of described aggregation gateway of record and the corresponding relation in the geographical position at this aggregation gateway place, obtain the geographical position at described aggregation gateway place, and described geographical position is recorded as the geographical position of described UC terminal.
Preferably, described IP address list also comprises the IP address of described UC terminal, IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described, to make: when described UC terminal is the UC terminal logged in by outer net, described location server puts in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
Acquiring unit 2031-1 can obtain the IP address of each gateway described by the following two kinds mode:
Mode one: send N number of Internet Control Message agreement ICMP echo request message to described central server, the ttl value of described N number of icmp packet is respectively 1 to N; Receive described UC terminal between described central server and the ICMP time exceeded message returned with the gateway that the jumping figure of the spacing of described UC terminal is described ttl value, described ICMP time exceeded message comprises the IP address of described gateway, wherein, N is specially the maximum hop count or 255 between described UC terminal and described central server; Or,
Mode two: the IP address of each gateway in the message path of following the tracks of between the tracert order described UC terminal of acquisition and described central server by the route of call operation system, wherein, the parameter of described tracert order is host name or the IP address of described central server.
Described IP address reporting message also comprises the mark of described UC terminal, to make the corresponding relation in the mark of UC terminal and the described geographical position of acquisition described in described location server record.
Described IP address reporting message also comprises the mark of described UC terminal, to make the corresponding relation in the mark of UC terminal and the described geographical position of acquisition described in described location server record.
In Intranet, the geographical position at the described UC terminal place determined can be utilized to realize the relevant business function (as urgent call, friend location information sharing etc.) in various position.
If realize emergency call function, UC terminal can be realized by the following two kinds mode:
Mode one: program 2031 also comprises the first calling unit;
Described first calling unit, for sending position enquiring request to described location server, described position enquiring request comprises the mark of described UC terminal, the geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server; Receive the described geographical position that described location server returns, and construct emergency call request, described emergency call request comprises described geographical position, and the called identification in described emergency call request is urgent call cornet; And send described emergency call request by transmitter 2020-1 to the call server of described enterprise network, so that described call server determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position;
Transmitter 2020-1, also for sending described emergency call request to described call server.
Mode two: program 2031 also comprises the second calling unit;
Described second calling unit, for sending urgent call trombone inquiry request to described location server, described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal, geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server, determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position; Receive the described urgent call trombone that described location server returns, and construct emergency call request, the called identification in described emergency call request is described urgent call trombone; And send described emergency call request by transmitter 2020-1 to the call server of described enterprise network, to make described call server, described emergency call request is sent to the EC in described geographical position;
Transmitter 2020-1, also for sending described emergency call request to described call server.
In program 2031, the specific implementation of each unit is see the corresponding units in the embodiment of the present invention 3, is not repeated herein.
The functional unit described in the embodiment of the present invention 5 can be used for implementing the method described in above-described embodiment 1.
According to the embodiment of the present invention 1 to 5, the embodiment of the present invention 6 proposes a kind of communication system 4000.
As shown in fig. 9-1, described communication system comprises: UC terminal 4010 and location server 4020, and described location server is arranged in enterprise network;
Described location server, for the corresponding relation in the geographical position of the IP address and this aggregation gateway place of recording each aggregation gateway of described enterprise network; Receive the IP address reporting message that UC terminal sends, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway in the message path between central server that described UC terminal and described UC terminal log in; When described UC terminal is the UC terminal logged in by Intranet, also mate for the IP address of each aggregation gateway to record and described IP address list the IP address determining the aggregation gateway in described message path, according to the geographical position corresponding to the IP address acquisition of the described aggregation gateway determined and the IP address of the described aggregation gateway determined, and described geographical position is recorded as the geographical position of described UC terminal;
Described UC terminal, for sending described IP address reporting message to described location server.
If described enterprise network allows UC terminal to be logged in by outer net, the geographical position at the UC terminal place logged in by outer net can be determined by the following execution mode of the embodiment of the present invention 6:
Described IP address list also comprises the IP address of described UC terminal, and the IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described;
Described location server, also for recording the corresponding relation in the geographical position at the mechanism place that each public network IP address section on public network and this public network IP address section are assigned to; When described UC terminal is the UC terminal logged in by outer net, also for putting in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
Preferably, described IP address reporting message also comprises the mark of described UC terminal; The described geographical position described geographical position being recorded as described UC terminal, specifically comprises: record the mark of described UC terminal and the corresponding relation in described geographical position.
In Intranet, the geographical position at the described UC terminal place determined can be utilized to realize the relevant business function (as urgent call, friend location information sharing etc.) in various position.
When realizing emergency call function, as shown in Fig. 9-2, described communication system also comprises call server 4030, and described call server is arranged in described enterprise network, specifically can realize communication system 4000 in the following way.
Mode one:
Described UC terminal, also for sending emergency call request to described call server, described emergency call request comprises calling identification and called identification, and described calling identification is the mark of described UC terminal, and described called identification is urgent call cornet;
Described location server, also for receiving the position enquiring request that described call server sends, described position enquiring request comprises the mark of described UC terminal; Obtain the geographical position corresponding to mark of the described UC terminal of record, and return to described geographical position to described call server;
Described call server, for receiving the described emergency call request that described UC terminal sends; Send described position enquiring request to described location server and receive the described geographical position that described location server returns; And determine the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
Mode two:
Described UC terminal, also for sending emergency call request to described call server, described emergency call request comprises calling identification and called identification, and described calling identification is the mark of described UC terminal, and described called identification is urgent call cornet;
Described location server, also for receiving the urgent call trombone inquiry request that described call server sends, described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal; Obtain the geographical position corresponding to mark of the described UC terminal of record, determine the urgent call trombone corresponding to described urgent call cornet according to described geographical position, and return described urgent call trombone to described call server;
Described call server, for receiving the described emergency call request that described UC terminal sends; Send described urgent call trombone inquiry request to described location server and receive the described urgent call trombone that described call server returns; Urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
The communication system described in the embodiment of the present invention 6 can be used for implementing the method described in above-described embodiment 1.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection range of claim.

Claims (27)

1. determine the method in the geographical position of Unified Communication UC terminal, it is characterized in that, described method comprises:
The corresponding relation in the IP address of each aggregation gateway of enterprise network and the geographical position at this aggregation gateway place described in location server record in enterprise network;
Described location server receives the IP address reporting message that UC terminal sends, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway in the message path between central server that described UC terminal and described UC terminal log in;
When described UC terminal is the UC terminal logged in by Intranet, described location server mates to the IP address of each aggregation gateway of record and described IP address list the IP address determining the aggregation gateway in described message path;
According to the geographical position corresponding to the IP address acquisition of the described aggregation gateway determined and the IP address of the described aggregation gateway determined, and described geographical position is recorded as the geographical position of described UC terminal.
2. the method for claim 1, is characterized in that:
Described location server also comprises: the corresponding relation in the geographical position at the mechanism place that each public network IP address section on described location server record public network and this public network IP address section are assigned to before receiving the IP address reporting message of UC terminal transmission;
Described IP address list also comprises the IP address of described UC terminal;
IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described;
After described location server receives the IP address list of UC terminal transmission, also comprise: when described UC terminal is the UC terminal logged in by outer net, described location server puts in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
3. method as claimed in claim 2, it is characterized in that, described putting in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, specifically comprise:
According to putting in order of the IP address in described IP address list, from the IP address of described UC terminal, judge whether each IP address is public network IP address successively one by one, and the public network IP address section at first the public network IP address place judged described in judge first public network IP address and each public network IP address section described being carried out mate determining; Or,
According to putting in order of the IP address in described IP address list, from the IP address of described UC terminal, judge whether each IP address is included in one of them public network IP address section of record successively one by one, and first that determines the to judge public network IP address section being included in the place, IP address of one of them public network IP address section.
4. method as claimed in claim 2 or claim 3, it is characterized in that: after described location server receives the IP address list of UC terminal transmission, also comprise: according to described IP address list, described location server judges that described UC terminal is the UC terminal or the UC terminal logged in by outer net that are logged in by Intranet, if described IP address list comprises public network IP address, then judge that described UC terminal is the UC terminal logged in by outer net; Otherwise, judge that described UC terminal is the UC terminal logged in by Intranet.
5. the method as described in as arbitrary in claim 1-4, is characterized in that:
Described IP address reporting message also comprises the mark of described UC terminal;
The described geographical position described geographical position being recorded as described UC terminal, specifically comprises: record the mark of described UC terminal and the corresponding relation in described geographical position.
6. method as claimed in claim 5, is characterized in that, described record the mark of described UC terminal and the corresponding relation in described geographical position after, also comprise:
Described location server receives the position enquiring request that the call server in described enterprise network sends, described position enquiring request comprises the mark of described UC terminal, wherein, described position enquiring request is that described call server sends after the emergency call request receiving the transmission of described UC terminal, described emergency call request comprises calling identification and called identification, described calling identification is the mark of described UC terminal, and described called identification is urgent call cornet;
Described location server obtains the geographical position corresponding to mark of the described UC terminal of record, and returns to described geographical position to described call server;
Described call server determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
7. method as claimed in claim 5, is characterized in that, described record the mark of described UC terminal and the corresponding relation in described geographical position after, also comprise:
Described location server receives the urgent call trombone inquiry request that the call server in described enterprise network sends, described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal, wherein, described urgent call trombone inquiry request is that described call server sends after the emergency call request receiving the transmission of described UC terminal, described emergency call request comprises calling identification and called identification, described calling identification is the mark of described UC terminal, and described called identification is described urgent call cornet;
Described location server obtains the geographical position corresponding to mark of the described UC terminal of record, determines the urgent call trombone corresponding to described urgent call cornet, and return described urgent call trombone to described call server according to described geographical position;
Urgent call cornet in described emergency call request is replaced with described urgent call trombone by described call server, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
8. method as claimed in claim 5, is characterized in that, described record the mark of described UC terminal and the corresponding relation in described geographical position after, also comprise:
Described location server receives the position enquiring request that described UC terminal sends, and described position enquiring request comprises the mark of described UC terminal;
Described location server obtains the geographical position corresponding to mark of the described UC terminal of record, and returns to described geographical position to described UC terminal;
Call server in described enterprise network receives the emergency call request that described UC terminal sends, and the called identification in described emergency call request is urgent call cornet, and described emergency call request also comprises described geographical position;
Described call server determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
9. method as claimed in claim 5, is characterized in that, described record the mark of described UC terminal and the corresponding relation in described geographical position after, also comprise:
Described location server receives the urgent call trombone inquiry request that described UC terminal sends, and described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal;
Described location server obtains the geographical position corresponding to mark of the described UC terminal of record, determines the urgent call trombone corresponding to described urgent call cornet, and return described urgent call trombone to described UC terminal according to described geographical position;
Described UC terminal sends emergency call request to the call server in described enterprise network, called identification in described emergency call request is described urgent call trombone, to make described call server, described emergency call request is sent to the EC in described geographical position.
10. determine the method in the geographical position of Unified Communication UC terminal, it is characterized in that, described method comprises:
UC terminal obtains the IP address of each gateway in the message path between central server that described UC terminal and described UC terminal log in;
Described UC terminal sends IP address reporting message to the location server in the enterprise network of described UC terminal place, IP address list is carried in the reporting message of described IP address, described IP address list comprises the IP address of each gateway described of acquisition, to make: when described UC terminal is the UC terminal logged in by Intranet, described location server mates to the IP address of each aggregation gateway of record and described IP address list the IP address determining the aggregation gateway in described message path, according to the IP address of the described aggregation gateway determined of record and the corresponding relation in the geographical position at this aggregation gateway place, obtain the geographical position at the described aggregation gateway place determined, and described geographical position is recorded as the geographical position of described UC terminal.
11. methods as claimed in claim 10, is characterized in that:
Described IP address list also comprises the IP address of described UC terminal, IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described, to make: when described UC terminal is the UC terminal logged in by outer net, described location server puts in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
12. methods as described in claim 10 or 11, is characterized in that,
Described IP address reporting message also comprises the mark of described UC terminal, to make the mark of UC terminal described in described location server record and the corresponding relation in described geographical position.
13. methods as claimed in claim 12, is characterized in that, described UC terminal, to after the location server in the enterprise network of described UC terminal place sends IP address reporting message, also comprises:
Described UC terminal sends position enquiring request to described location server, and described position enquiring request comprises the mark of described UC terminal, the geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server;
Described UC terminal receives the described geographical position that described location server returns, and send emergency call request to call server, called identification in described emergency call request is urgent call cornet, described emergency call request also comprises described geographical position, so that described call server determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
14. methods as claimed in claim 12, is characterized in that, described UC terminal, to after the location server in the enterprise network of described UC terminal place sends IP address reporting message, also comprises:
Described UC terminal sends urgent call trombone inquiry request to described location server, described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal, geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server, determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position;
Described UC terminal receives the described urgent call trombone that described location server returns, and send emergency call request to call server, called identification in described emergency call request is described urgent call trombone, to make described call server, described emergency call request is sent to the EC in described geographical position.
15. 1 kinds of location servers, described location server is positioned at enterprise network, it is characterized in that, described location server comprises: record cell, receiving element and position determination unit;
Described record cell, for the corresponding relation in the geographical position of the IP address and this aggregation gateway place of recording each aggregation gateway of described enterprise network;
Described receiving element, for receiving the IP address reporting message that Unified Communication UC terminal sends, and for described IP address reporting message is transferred to described position determination unit, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway in the message path between central server that described UC terminal and described UC terminal log in;
Described position determination unit, for receiving described IP address reporting message from described receiving element; When described UC terminal is the UC terminal logged in by Intranet, also mate for the IP address of each aggregation gateway to record and described IP address list the IP address determining the aggregation gateway in described message path; According to the geographical position corresponding to the IP address acquisition of the described aggregation gateway determined and the IP address of the described aggregation gateway determined, and described geographical position is recorded as the geographical position of described UC terminal.
16. location servers as claimed in claim 15, is characterized in that:
Described record cell, also for recording the corresponding relation in the geographical position at the mechanism place that each public network IP address section on public network and this public network IP address section are assigned to;
The described IP address list that described receiving element receives also comprises the IP address of described UC terminal, and the IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described;
When described UC terminal is the UC terminal logged in by outer net, described position determination unit, also for putting in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
17. location servers as claimed in claim 16, is characterized in that:
Described location server also comprises judging unit, for judging that according to described IP address list described UC terminal is the UC terminal or the UC terminal logged in by outer net that are logged in by Intranet, if described IP address list comprises public network IP address, then judge that described UC terminal is the UC terminal logged in by outer net; Otherwise, judge that described UC terminal is the UC terminal logged in by Intranet.
18. 1 kinds of Unified Communication UC terminals, is characterized in that, described UC terminal comprises: acquiring unit, message constructing unit and transmitting element;
Described acquiring unit, for obtaining the IP address of each gateway in the message path between the central server that described UC terminal and described UC terminal log in, and by the IP address transfer of each gateway described to described message constructing unit;
Described message constructing unit, for receiving the IP address of each gateway described from described acquiring unit, and for constructing IP address reporting message, IP address list is carried in the reporting message of described IP address, described IP address list comprises the IP address of each gateway described of acquisition, and described IP address reporting message is transferred to described transmitting element;
Described transmitting element, for receiving described IP address reporting message from described message constructing unit, and send described IP address reporting message to the location server in the enterprise network of described UC terminal place, to make: when described UC terminal is the UC terminal logged in by Intranet, described location server mates to the IP address of each aggregation gateway of record and described IP address list the IP address determining the aggregation gateway in described message path, according to the IP address of the described aggregation gateway determined of record and the corresponding relation in the geographical position at this aggregation gateway place, obtain the geographical position at the described aggregation gateway place determined, and described geographical position is recorded as the geographical position of described UC terminal.
19. UC terminals as claimed in claim 18, is characterized in that:
Described IP address list also comprises the IP address of described UC terminal, IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described, to make: when described UC terminal is the UC terminal logged in by outer net, described location server puts in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
20. UC terminals as described in claim 18 or 19, is characterized in that,
Described IP address reporting message also comprises the mark of described UC terminal, to make the mark of UC terminal described in described location server record and the corresponding relation in described geographical position.
21. UC terminals as claimed in claim 20, it is characterized in that, described UC terminal also comprises the first calling unit;
Described first calling unit, for sending position enquiring request to described location server, described position enquiring request comprises the mark of described UC terminal, the geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server; Receive the described geographical position that described location server returns, and construct emergency call request, described emergency call request comprises described geographical position, and the called identification in described emergency call request is urgent call cornet; And described emergency call request is transferred to described transmitting element;
Described transmitting element, also for receiving described emergency call request from described first calling unit, and send described emergency call request to call server, so that described call server determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
22. UC terminals as claimed in claim 20, it is characterized in that, described UC terminal also comprises the second calling unit;
Described second calling unit, for sending urgent call trombone inquiry request to described location server, described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal, geographical position corresponding to the mark of the described UC terminal recorded to make the acquisition of described location server, determines the urgent call trombone corresponding to described urgent call cornet according to described geographical position; Receive the described urgent call trombone that described location server returns, and construct emergency call request, the called identification in described emergency call request is described urgent call trombone; And described emergency call request is transferred to described transmitting element;
Described transmitting element, also for sending described emergency call request to call server, is sent to the EC in described geographical position to make described call server by described emergency call request.
23. 1 kinds of communication systems, it is characterized in that, described communication system comprises Unified Communication UC terminal and location server, described location server is arranged in enterprise network;
Described location server, for the corresponding relation in the geographical position of the IP address and this aggregation gateway place of recording each aggregation gateway of described enterprise network; Receive the IP address reporting message that UC terminal sends, carry IP address list in the reporting message of described IP address, described IP address list comprises the IP address of each gateway in the message path between central server that described UC terminal and described UC terminal log in; When described UC terminal is the UC terminal logged in by Intranet, also mate for the IP address of each aggregation gateway to record and described IP address list the IP address determining the aggregation gateway in described message path, according to the geographical position corresponding to the IP address acquisition of the described aggregation gateway determined and the IP address of the described aggregation gateway determined, and described geographical position is recorded as the geographical position of described UC terminal;
Described UC terminal, for sending described IP address reporting message to described location server.
24. communication systems as claimed in claim 23, is characterized in that:
Described IP address list also comprises the IP address of described UC terminal, and the IP address in described IP address list is according to tactic in described message path of described UC terminal and each gateway described;
Described location server, also for recording the corresponding relation in the geographical position at the mechanism place that each public network IP address section on public network and this public network IP address section are assigned to; When described UC terminal is the UC terminal logged in by outer net, also for putting in order according to the IP address in described IP address list, determine the public network IP address section at first the public network IP address place from the IP address of described UC terminal in described IP address list, obtain the geographical position corresponding to public network IP address section at described first public network IP address place, and described geographical position is recorded as the geographical position of described UC terminal.
25. communication systems as described in claim 23 or 24, is characterized in that:
Described IP address reporting message also comprises the mark of described UC terminal;
The described geographical position described geographical position being recorded as described UC terminal, specifically comprises: record the mark of described UC terminal and the corresponding relation in described geographical position.
26. communication systems as claimed in claim 25, it is characterized in that, described communication system also comprises call server, and described call server is arranged in described enterprise network;
Described UC terminal, also for sending emergency call request to described call server, described emergency call request comprises calling identification and called identification, and described calling identification is the mark of described UC terminal, and described called identification is urgent call cornet;
Described location server, also for receiving the position enquiring request that described call server sends, described position enquiring request comprises the mark of described UC terminal; Obtain the geographical position corresponding to mark of the described UC terminal of record, and return to described geographical position to described call server;
Described call server, for receiving the described emergency call request that described UC terminal sends; Send described position enquiring request to described location server and receive the described geographical position that described location server returns; And determine the urgent call trombone corresponding to described urgent call cornet according to described geographical position, urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
27. communication systems as claimed in claim 25, it is characterized in that, described communication system also comprises call server, and described call server is arranged in described enterprise network;
Described UC terminal, also for sending emergency call request to described call server, described emergency call request comprises calling identification and called identification, and described calling identification is the mark of described UC terminal, and described called identification is urgent call cornet;
Described location server, also for receiving the urgent call trombone inquiry request that described call server sends, described urgent call trombone inquiry request comprises mark and the urgent call cornet of described UC terminal; Obtain the geographical position corresponding to mark of the described UC terminal of record, determine the urgent call trombone corresponding to described urgent call cornet according to described geographical position, and return described urgent call trombone to described call server;
Described call server, for receiving the described emergency call request that described UC terminal sends; Send described urgent call trombone inquiry request to described location server and receive the described urgent call trombone that described call server returns; Urgent call cornet in described emergency call request is replaced with described urgent call trombone, and the emergency call request after being replaced by number is sent to the EC in described geographical position.
CN201380000488.1A 2013-03-15 2013-03-15 Method, device and system for determining geographical position of UC terminal Pending CN104322034A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013072718 2013-03-15

Publications (1)

Publication Number Publication Date
CN104322034A true CN104322034A (en) 2015-01-28

Family

ID=52376125

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380000488.1A Pending CN104322034A (en) 2013-03-15 2013-03-15 Method, device and system for determining geographical position of UC terminal

Country Status (1)

Country Link
CN (1) CN104322034A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303946A (en) * 2015-06-09 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107071728A (en) * 2017-03-22 2017-08-18 北京安博通科技股份有限公司 A kind of method of locating terminal and device
CN108055361A (en) * 2017-11-21 2018-05-18 中国科学院信息工程研究所 A kind of virtual machine localization method using public service
CN113068125A (en) * 2019-12-16 2021-07-02 成都鼎桥通信技术有限公司 Calling method and device of terminal equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1227688A4 (en) * 2000-09-06 2002-11-04 Ntt Docomo Inc Position registration method, information distribution method, mobile communication network, and mobile communication terminal
CN1838631A (en) * 2005-03-22 2006-09-27 华为技术有限公司 Media proxy selecting method
CN1889606A (en) * 2005-06-30 2007-01-03 华为技术有限公司 Group domain geographic location information query method
CN101198149A (en) * 2006-12-06 2008-06-11 华为技术有限公司 Positional information determining method, resource uploading management method and applied server
CN101374249A (en) * 2007-08-21 2009-02-25 彭亮 Method for obtaining terminal real time accurate geographic position based on the mobile terminal IP address
CN101383855A (en) * 2007-09-04 2009-03-11 沈阳 Method for obtaining computer accurate geological position information based on IP address information
CN102223369A (en) * 2011-06-16 2011-10-19 江苏省莱科信息技术有限公司 Emergent call location method of VoIP (Voice over Internet Protocol) user and system
CN102413195A (en) * 2010-09-19 2012-04-11 中兴通讯股份有限公司 Emergency positioning method based on IP, server and system thereof

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1227688A4 (en) * 2000-09-06 2002-11-04 Ntt Docomo Inc Position registration method, information distribution method, mobile communication network, and mobile communication terminal
CN1838631A (en) * 2005-03-22 2006-09-27 华为技术有限公司 Media proxy selecting method
CN1889606A (en) * 2005-06-30 2007-01-03 华为技术有限公司 Group domain geographic location information query method
CN101198149A (en) * 2006-12-06 2008-06-11 华为技术有限公司 Positional information determining method, resource uploading management method and applied server
CN101374249A (en) * 2007-08-21 2009-02-25 彭亮 Method for obtaining terminal real time accurate geographic position based on the mobile terminal IP address
CN101383855A (en) * 2007-09-04 2009-03-11 沈阳 Method for obtaining computer accurate geological position information based on IP address information
CN102413195A (en) * 2010-09-19 2012-04-11 中兴通讯股份有限公司 Emergency positioning method based on IP, server and system thereof
CN102223369A (en) * 2011-06-16 2011-10-19 江苏省莱科信息技术有限公司 Emergent call location method of VoIP (Voice over Internet Protocol) user and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303946A (en) * 2015-06-09 2017-01-04 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN107071728A (en) * 2017-03-22 2017-08-18 北京安博通科技股份有限公司 A kind of method of locating terminal and device
CN108055361A (en) * 2017-11-21 2018-05-18 中国科学院信息工程研究所 A kind of virtual machine localization method using public service
CN108055361B (en) * 2017-11-21 2020-05-22 中国科学院信息工程研究所 Virtual machine positioning method using public service
CN113068125A (en) * 2019-12-16 2021-07-02 成都鼎桥通信技术有限公司 Calling method and device of terminal equipment

Similar Documents

Publication Publication Date Title
US11528226B2 (en) Network validation with dynamic tunneling
CN100525237C (en) Data transferring system, method and network transferring apparatus
CN101616029B (en) Method and system for realizing network topology discovery
CN103650424A (en) Implementation method and server of home gateway service function
CN102792651B (en) At the device of MAC layer application service path Route Selection
US9467374B2 (en) Supporting multiple IEC-101/IEC-104 masters on an IEC-101/IEC-104 translation gateway
CN107547346B (en) Message transmission method and device
CN104322034A (en) Method, device and system for determining geographical position of UC terminal
CN103973569A (en) Data message forwarding method, customer premises equipment and system
CN104320499A (en) Business transmission link building method and device
CN105743687B (en) Method and device for judging node fault
CN104506549A (en) Method, device and system for establishing online game connection
WO2021169291A1 (en) Route advertising method, network elements, system, and device
CN110113260A (en) A kind of forwarding table updating method and device
CN111182022A (en) Data transmission method and device, storage medium and electronic device
CN102571575A (en) Session information creation method, device and system
CN102201996B (en) Method and equipment for forwarding message in network address translation (NAT) environment
CN104734869A (en) Intelligent DNS domain name system and method based on dynamic detection
CN105337860A (en) Method and system for determining transmission path of data packet, and apparatuses
CN106027354A (en) Backflow method and device for VPN (Virtual Private Network) client
CN104969521A (en) Data sending and processing method and router
CN106330783A (en) Method and device for reporting OpenFlow switch capabilities
CN103036757B (en) A kind of network architecture and collocation method thereof
US10142177B2 (en) Mechanisms to identify mismatches in layer 3 configuration in a network
CN106790609A (en) Data transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150128

WD01 Invention patent application deemed withdrawn after publication