[go: up one dir, main page]

CN103368899B - A kind of method, system and access gateway determining non-IP fixed terminal position - Google Patents

A kind of method, system and access gateway determining non-IP fixed terminal position Download PDF

Info

Publication number
CN103368899B
CN103368899B CN201210081989.4A CN201210081989A CN103368899B CN 103368899 B CN103368899 B CN 103368899B CN 201210081989 A CN201210081989 A CN 201210081989A CN 103368899 B CN103368899 B CN 103368899B
Authority
CN
China
Prior art keywords
access gateway
request message
physical location
fixed terminal
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201210081989.4A
Other languages
Chinese (zh)
Other versions
CN103368899A (en
Inventor
孙强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201210081989.4A priority Critical patent/CN103368899B/en
Publication of CN103368899A publication Critical patent/CN103368899A/en
Application granted granted Critical
Publication of CN103368899B publication Critical patent/CN103368899B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种确定非IP固定终端位置的方法,包括:A、接入网关接收来自于该网关挂载下的一个非IP固定终端发起的请求,根据该请求形成携带所述接入网关IP地址的请求消息;B、将所述请求消息传递给网络侧设备,由网络侧设备根据所述请求消息确定所述非IP固定终端的物理位置。其中,本发明能够根据呼叫请求中携带的接入网关的IP地址信息或者IP地址信息、用户线端口号获取到对应的物理位置信息,并基于上述信息确定所述非IP固定终端的物理位置。此外,还公开了一种确定非IP固定终端物理位置的系统以及接入网关。

The invention discloses a method for determining the location of a non-IP fixed terminal, including: A. The access gateway receives a request initiated by a non-IP fixed terminal mounted on the gateway, and forms a terminal carrying the access gateway according to the request. A request message for an IP address; B. Transfer the request message to the network-side device, and the network-side device determines the physical location of the non-IP fixed terminal according to the request message. Wherein, the present invention can obtain the corresponding physical location information according to the IP address information of the access gateway carried in the call request or the IP address information, and the subscriber line port number, and determine the physical location of the non-IP fixed terminal based on the above information. In addition, a system for determining the physical location of a non-IP fixed terminal and an access gateway are also disclosed.

Description

一种确定非IP固定终端位置的方法、系统和接入网关A method, system and access gateway for determining the location of a non-IP fixed terminal

技术领域 technical field

本发明涉及一种确定用户终端的物理位置的方法和系统,属于IP多媒体子系统通信领域。The invention relates to a method and system for determining the physical location of a user terminal, belonging to the field of IP multimedia subsystem communication.

背景技术 Background technique

IMS(IP Multimedia Subsystem,IP多媒体子系统)由3GPP在Release 5中提出,是一个基于全IP网络的全新电信网络架构,是电信网络和互联网融合的产物。IMS具有接入无关性和端到端全IP化的特点,是一个开放的核心网体系架构。IMS (IP Multimedia Subsystem, IP Multimedia Subsystem), proposed by 3GPP in Release 5, is a new telecom network architecture based on an all-IP network and a product of the integration of telecom networks and the Internet. IMS has the characteristics of access independence and end-to-end all-IP, and is an open core network architecture.

其中,在IMS通信过程之中,一些业务要求获知用户终端的物理位置。例如紧急呼叫业务,无论用户身处何地,拨打的火警电话都是119,但不可能将所有的报警都交由一个火警中心处理,因为这对设备和人员的压力太大,也不符合迅速出警的需求。Among them, during the IMS communication process, some services require to know the physical location of the user terminal. For example, in the emergency call service, no matter where the user is, the fire alarm number dialed is 119, but it is impossible to hand over all alarms to a fire alarm center, because this puts too much pressure on equipment and personnel, and does not meet the requirements of rapid The needs of the police.

实际上,核心网设备(E-CSCF)需要知道用户当前的物理位置,并将119转换成离用户最近的火警中心的真正号码,从而将报警呼叫转交到这个最近的火警中心。In fact, the core network equipment (E-CSCF) needs to know the current physical location of the user, and convert 119 into the real number of the fire alarm center closest to the user, so as to transfer the alarm call to the nearest fire alarm center.

由于IMS具有端到端全IP化的特点,在3GPP标准中,用户终端的物理位置根据用户终端的IP查询得到,一般地,核心网设备维护用户终端IP和物理位置的对应表,每开通一个用户,就在该对应表中增加一条记录。对应表中的用户终端物理位置一般不会精确到经纬度的级别,通常是一个物理范围,满足业务需要即可。Because IMS has the characteristics of end-to-end all-IP, in the 3GPP standard, the physical location of the user terminal is obtained according to the IP query of the user terminal. Generally, the core network equipment maintains the correspondence table between the user terminal IP and the physical location. User, just add a record in the corresponding table. The physical location of the user terminal in the correspondence table is generally not accurate to the level of latitude and longitude, but usually a physical range, which only needs to meet business needs.

其中,根据3GPP标准要求,用户终端在发起呼叫时,必须将自身IP地址填写到SIP协议消息中,核心网设备接收到携带了用户终端IP的SIP消息,查询上述对应表,即可获知用户终端物理位置。Among them, according to the requirements of the 3GPP standard, when the user terminal initiates a call, it must fill in its own IP address in the SIP protocol message. The core network equipment receives the SIP message carrying the user terminal IP, and queries the above corresponding table to know the user terminal IP address. physical location.

但是,由于IMS具有接入无关性的特点,不支持IP的用户终端,例如传统的电话机,也有接入IMS的可能和需求。非IP固定终端没有IP,也就无法被核心网设备通过上述方法获知其物理地址,而紧急呼叫等业务又必须获知终端的物理位置,产生矛盾。However, because the IMS has access-independent characteristics, user terminals that do not support IP, such as traditional telephones, also have the possibility and demand to access the IMS. Non-IP fixed terminals do not have IP, so the core network equipment cannot know their physical addresses through the above method, and services such as emergency calls must know the physical location of the terminal, which creates a contradiction.

由于非IP固定终端不满足IMS端到端全IP化的要求,不能直接接入IMS,而是挂接在接入设备(接入网关)上,由接入设备代替终端产生IMS要求的、基于IP传输的SIP协议消息。Since non-IP fixed terminals do not meet the end-to-end all-IP requirements of IMS, they cannot directly access IMS, but are attached to access devices (access gateways), and the access devices replace terminals to generate IMS requirements. SIP protocol message transmitted by IP.

但是,接入设备的容量和部署位置差别很大,其中,对于部署在用户家里或办公区的接入设备,其物理位置和用户终端一致,可以视为一个整体,SIP协议消息中携带接入设备的IP,核心网设备通过接入设备的IP查找到接入设备的物理位置,等同于用户终端的物理位置,对紧急呼叫等业务没有影响。但对于部署位置靠近核心网的接入设备,或者说,覆盖的物理范围超过业务所能接受精度的接入设备,SIP协议消息中只携带接入设备的IP,就会影响业务的正常开展。However, the capacity and deployment locations of access devices vary greatly. For access devices deployed in users' homes or offices, their physical locations are consistent with those of user terminals and can be regarded as a whole. SIP protocol messages carry access The IP of the device, the core network device finds the physical location of the access device through the IP of the access device, which is equivalent to the physical location of the user terminal, and has no impact on services such as emergency calls. However, for access devices that are deployed close to the core network, or whose physical coverage exceeds the acceptable accuracy of the service, the SIP protocol message only carries the IP of the access device, which will affect the normal development of the service.

发明内容 Contents of the invention

本发明针对现有技术中的缺陷,提供了一种确定非IP固定终端物理位置的方法,该方法能够获取到较为精确的非IP固定终端的物理位置。此外,本发明还提供了一种系统以及接入网关。Aiming at the defects in the prior art, the present invention provides a method for determining the physical location of a non-IP fixed terminal, which can obtain a relatively accurate physical location of the non-IP fixed terminal. In addition, the invention also provides a system and an access gateway.

其中,根据本发明的第一目的,本发明提供了一种确定非IP固定终端物理位置的方法,包括:Among them, according to the first purpose of the present invention, the present invention provides a method for determining the physical location of a non-IP fixed terminal, including:

A、接入网关接收来自于该网关挂载下的一个非IP固定终端发起的请求,根据该请求形成携带所述接入网关IP地址的请求消息;A. The access gateway receives a request initiated by a non-IP fixed terminal mounted on the gateway, and forms a request message carrying the IP address of the access gateway according to the request;

B、将所述请求消息传递给网络侧设备,由网络侧设备根据所述请求消息确定所述非IP固定终端的物理位置。B. Transmitting the request message to the network side device, and the network side device determines the physical location of the non-IP fixed terminal according to the request message.

其中,优选的方法是,步骤A中,还包括:Wherein, preferred method is, in step A, also includes:

所述请求消息还携带所述非IP固定终端在所述接入网关下的用户线端口号。The request message also carries the subscriber line port number of the non-IP fixed terminal under the access gateway.

其中,优选的方法是,所述接入网关是最接近网络侧的接入网关,步骤B中,将所述请求消息传递给网络侧设备,具体包括:Wherein, the preferred method is that the access gateway is the access gateway closest to the network side, and in step B, the request message is transmitted to the network side device, specifically including:

所述接入网关以SIP格式将所述请求消息传递给网络侧设备。The access gateway transmits the request message to the network side device in SIP format.

其中,优选的方法是,步骤B中,将所述请求消息传递给网络侧设备,包括:Wherein, the preferred method is, in step B, passing the request message to the network side device, including:

所述接入网关以非SIP格式将所述请求消息层递给一个或多个上层接入网关;The access gateway passes the request message layer to one or more upper layer access gateways in a non-SIP format;

其中,当到达最接近网络侧的上层接入网关时,Among them, when reaching the upper layer access gateway closest to the network side,

所述上层接入网关对所述请求消息进行协议转换,并以SIP格式将所述请求消息传递给网络侧设备。The upper layer access gateway performs protocol conversion on the request message, and transmits the request message to the network side device in SIP format.

其中,优选的方法是,步骤B中,根据所述请求消息确定所述非IP固定终端的物理位置,具体包括:Wherein, the preferred method is, in step B, determining the physical location of the non-IP fixed terminal according to the request message, specifically including:

根据所述接入网关的IP地址查询预先存储的位置对应信息;Querying pre-stored location correspondence information according to the IP address of the access gateway;

根据所述IP地址的匹配关系获取到对应的接入网关的物理位置,将该物理位置作为所述非IP固定终端的近似物理位置。The physical location of the corresponding access gateway is obtained according to the matching relationship of the IP address, and the physical location is used as the approximate physical location of the non-IP fixed terminal.

其中,优选的方法是,步骤B中,根据所述请求消息确定所述非IP固定终端的物理位置,具体包括:Wherein, the preferred method is, in step B, determining the physical location of the non-IP fixed terminal according to the request message, specifically including:

根据所述接入网关的IP地址和所述终端的用户线端口号查询预先存储的位置对应信息;Querying pre-stored location correspondence information according to the IP address of the access gateway and the subscriber line port number of the terminal;

根据所述IP地址确定对应的接入网关;determining a corresponding access gateway according to the IP address;

根据所述用户线端口号获取到在所述接入网关下的非IP固定终端的准确物理位置。The accurate physical location of the non-IP fixed terminal under the access gateway is obtained according to the subscriber line port number.

其中,本发明采取了上述方案以后,能够支持网络侧设备对非IP固定终端的物理位置查询,并能够通过最接近非IP固定终端的接入网关的物理位置,估定用户终端的物理位置,或通过用户线端口号进一步精确查询非IP固定终端的物理位置,从而进行后续呼叫或者业务,具有较好的效果。Wherein, after adopting the above scheme, the present invention can support the network side equipment to query the physical location of the non-IP fixed terminal, and can estimate the physical location of the user terminal through the physical location of the access gateway closest to the non-IP fixed terminal, Or the physical location of the non-IP fixed terminal can be further accurately queried through the subscriber line port number, so as to perform subsequent calls or services, which has a better effect.

其中,根据本发明的又一目的,本发明提供了一种确定非IP固定终端物理位置的系统,包括:Wherein, according to another object of the present invention, the present invention provides a system for determining the physical location of a non-IP fixed terminal, including:

接入网关,包括:Access gateways, including:

消息接收单元,用于接收来自于该网关挂载下的一个非IP固定终端发起的请求;A message receiving unit, configured to receive a request initiated by a non-IP fixed terminal mounted on the gateway;

请求消息生成单元,用于根据该请求形成携带所述接入网关IP地址的请求消息;A request message generating unit, configured to form a request message carrying the IP address of the access gateway according to the request;

消息发送单元,用于将所述请求消息直接或者通过一个或多个上层接入网关传递给网络侧设备;a message sending unit, configured to transfer the request message to the network side device directly or through one or more upper layer access gateways;

所述网络侧设备,用于根据所述请求消息确定所述非IP固定终端的物理位置。The network side device is configured to determine the physical location of the non-IP fixed terminal according to the request message.

其中,优选的是,所述网络侧设备,包括:Wherein, preferably, the network side equipment includes:

地址信息获取单元,用于接收并存储接入网关的IP地址信息和接入网关的物理位置信息;The address information acquisition unit is used to receive and store the IP address information of the access gateway and the physical location information of the access gateway;

地址存储单元,用于将所述接入网关的IP地址信息和接入网关的物理位置信息和其关联关系进行存储;an address storage unit, configured to store the IP address information of the access gateway, the physical location information of the access gateway and their association;

消息接收单元,用于接收上所述携带IP地址信息的请求消息;A message receiving unit, configured to receive the above-mentioned request message carrying IP address information;

地址查询单元,用于根据所述IP地址信息在所述地址存储单元中查询并获取所述接入网关的物理位置。An address query unit, configured to query and acquire the physical location of the access gateway in the address storage unit according to the IP address information.

其中,优选的是,所述接入网关中,还包括:Wherein, preferably, the access gateway also includes:

端口号获取单元,用于获取所述非IP固定终端在该接入网关下的用户线端口号;A port number obtaining unit, configured to obtain the subscriber line port number of the non-IP fixed terminal under the access gateway;

所述请求消息生成单元,还用于将所述用户线端口加入到所述请求消息中。The request message generating unit is further configured to add the subscriber line port into the request message.

其中,优选的是,所述地址信息获取单元,还用于接收并存储非IP固定终端在接入网关下的用户线端口号信息和物理位置信息;Wherein, preferably, the address information acquisition unit is also used to receive and store the subscriber line port number information and physical location information of the non-IP fixed terminal under the access gateway;

所述地址存储单元,还用于将所述接入网关的IP地址信息、用户线端口号信息和非IP固定终端的物理位置信息及其关联关系进行存储;The address storage unit is also used to store the IP address information of the access gateway, the subscriber line port number information, the physical location information of the non-IP fixed terminal and their associations;

所述消息接收单元,用于接收上所述携带IP地址信息、用户线端口号信息的请求消息;The message receiving unit is configured to receive the above-mentioned request message carrying IP address information and subscriber line port number information;

所述地址查询单元,还用于根据所述IP地址信息和用户线端口号信息在所述地址存储单元中查询并获取所述接入网关的物理位置。The address query unit is further configured to query and obtain the physical location of the access gateway in the address storage unit according to the IP address information and the subscriber line port number information.

其中,所述系统能够对发起呼叫的非IP固定终端的物理位置进行查询,通过最接近非IP固定终端的接入网关的IP地址信息,估计用户终端的物理位置,或者,通过用户线端口号进一步精确确定所述非IP固定终端的物理位置,由此,克服了现有技术无法获取非IP固定终端位置的缺点。Wherein, the system can query the physical location of the non-IP fixed terminal that initiates the call, and estimate the physical location of the user terminal through the IP address information of the access gateway closest to the non-IP fixed terminal, or, through the user line port number The physical location of the non-IP fixed terminal is further accurately determined, thereby overcoming the disadvantage that the prior art cannot obtain the location of the non-IP fixed terminal.

根据本发明的又一目的,本发明还提供了一种接入网关,包括:According to another object of the present invention, the present invention also provides an access gateway, including:

消息接收单元,用于接收来自于该网关挂载下的一个非IP固定终端发起的请求;A message receiving unit, configured to receive a request initiated by a non-IP fixed terminal mounted on the gateway;

请求消息生成单元,用于根据所述请求生成向网络侧发起的请求消息,所述请求中携带所述接入网关的IP地址信息;a request message generating unit, configured to generate a request message to the network side according to the request, where the request carries the IP address information of the access gateway;

消息发送单元,用于将所述请求消息传递给网络侧设备或者上层的接入网关。A message sending unit, configured to transmit the request message to a network side device or an upper layer access gateway.

其中,还包括:端口号获取单元,用于获取所述非IP固定终端在该网关下的用户线端口号;Wherein, it also includes: a port number obtaining unit, which is used to obtain the subscriber line port number of the non-IP fixed terminal under the gateway;

所述请求消息生成单元,还用于将所述非IP固定终端在该网关下的用户线端口号加入到所述请求消息中。The request message generating unit is further configured to add the subscriber line port number of the non-IP fixed terminal under the gateway to the request message.

其中,所述消息接收单元,还用于接收来自于下层接入网关的请求消息;所述消息转发单元,还用于将所述请求消息转发给网络侧设备或者上层的接入网关。Wherein, the message receiving unit is further configured to receive a request message from a lower-layer access gateway; the message forwarding unit is also configured to forward the request message to a network-side device or an upper-layer access gateway.

其中,还包括:Among them, also include:

协议转换单元,用于对所述请求消息生成单元生成的或者所述消息接收单元接收到的请求消息进行协议转换;所述消息发送单元,用于将所述经过协议转换后的请求消息传递给网络侧设备或者上层的接入网关。a protocol conversion unit, configured to perform protocol conversion on the request message generated by the request message generating unit or received by the message receiving unit; the message sending unit, configured to transfer the protocol-converted request message to Network-side device or upper-layer access gateway.

本发明采取了上述方案以后,所述接入网关能够基于其挂载的非IP固定终端发起的呼叫并生成向网络侧或者上层接入网关发起的呼叫请求,并且,该接入网关还能够对其下一层的接入网关的请求进行协议转换和转发。After the above solution is adopted in the present invention, the access gateway can generate a call request to the network side or the upper layer access gateway based on the call initiated by the non-IP fixed terminal mounted on it, and the access gateway can also call The request of the access gateway of the next layer is converted and forwarded by protocol.

本发明的其它特征和优点将在随后的说明书中阐述,并且,部分地从说明书中变得显而易见,或者通过实施本发明而了解。本发明的目的和其他优点可通过在所写的说明书、权利要求书、以及附图中所特别指出的结构来实现和获得。Additional features and advantages of the invention will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.

附图说明 Description of drawings

下面结合附图对本发明进行详细的描述,以使得本发明的上述优点更加明确。The present invention will be described in detail below in conjunction with the accompanying drawings, so as to make the above-mentioned advantages of the present invention clearer.

图1是本发明确定非IP固定终端物理位置的方法流程示意图;Fig. 1 is a schematic flow chart of a method for determining the physical location of a non-IP fixed terminal in the present invention;

图2是本发明实施例确定非IP固定终端物理位置的方法流程示意图;FIG. 2 is a schematic flowchart of a method for determining the physical location of a non-IP fixed terminal according to an embodiment of the present invention;

图3是本发明实施例确定非IP固定终端物理位置的方法流程示意图;FIG. 3 is a schematic flowchart of a method for determining the physical location of a non-IP fixed terminal according to an embodiment of the present invention;

图4是本发明实施例确定非IP固定终端物理位置的方法流程示意图;4 is a schematic flowchart of a method for determining the physical location of a non-IP fixed terminal according to an embodiment of the present invention;

图5是本发明实施例确定非IP固定终端物理位置的方法流程示意图;5 is a schematic flowchart of a method for determining the physical location of a non-IP fixed terminal according to an embodiment of the present invention;

图6是本发明确定非IP固定终端物理位置的系统的示意图;Fig. 6 is a schematic diagram of a system for determining the physical location of a non-IP fixed terminal according to the present invention;

图7是本发明实施例的接入网关的结构示意图;FIG. 7 is a schematic structural diagram of an access gateway according to an embodiment of the present invention;

图8是本发明实施例的网络侧设备的结构示意图。Fig. 8 is a schematic structural diagram of a network side device according to an embodiment of the present invention.

具体实施方式 detailed description

下面结合附图和具体实施例对本发明进行详细的说明。The present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments.

方法实施例一:Method embodiment one:

其中,图1是本发明确定非IP固定终端物理位置的方法流程示意图;如图1所示,所述方法包括下列步骤:Wherein, Fig. 1 is a schematic flow chart of a method for determining the physical location of a non-IP fixed terminal in the present invention; as shown in Fig. 1, the method includes the following steps:

S101:接入网关接收来自于该接入网关下挂载的一个非IP固定终端发起的请求,其中,该请求可以是一个脉冲,也可以为其他形式。S101: The access gateway receives a request initiated by a non-IP fixed terminal mounted under the access gateway, where the request may be a pulse or other forms.

由于所述非IP固定终端是直接挂载在网关下,因此,该接入网关作为最接近所述非IP固定终端的接入网关,其位置与所述非IP固定终端的位置较近,因此,可以基于该接入网关的IP地址信息估计所述非IP固定终端的位置,因此,该方法包括:Since the non-IP fixed terminal is directly mounted under the gateway, the access gateway, as the access gateway closest to the non-IP fixed terminal, is closer to the position of the non-IP fixed terminal, so , the location of the non-IP fixed terminal may be estimated based on the IP address information of the access gateway, therefore, the method includes:

S102:接入网关根据该请求形成向网络侧设备(在本实施例中为IMS核心网)发起的一个请求消息,其中,所述请求消息中携带所述接入网关的IP地址信息;S102: The access gateway forms a request message to the network side device (IMS core network in this embodiment) according to the request, where the request message carries the IP address information of the access gateway;

S103:将所述请求消息传递给网络侧设备;S103: Deliver the request message to the network side device;

S104:网络侧设备根据所述请求消息确定所述非IP固定终端的物理位置,具体包括:S104: The network side device determines the physical location of the non-IP fixed terminal according to the request message, specifically including:

根据所述接入网关的IP地址信息查询一个预先存储的IP地址和物理位置的位置对应表并获取到所述接入网关的物理位置,并将该物理位置作为所述非IP固定终端的近似物理位置。According to the IP address information of the access gateway, query a pre-stored IP address and physical location correspondence table and obtain the physical location of the access gateway, and use the physical location as an approximation of the non-IP fixed terminal physical location.

其中,由于上述位置不是该终端的实际位置信息,因此,为了进一步地精确查询,该方法在S102中,还可以包括:Wherein, since the above-mentioned location is not the actual location information of the terminal, for further precise query, the method in S102 may also include:

将所述非IP固定终端在所述接入网关下的用户线端口号加入到所述请求消息中。Adding the subscriber line port number of the non-IP fixed terminal under the access gateway into the request message.

由此,步骤S104中,具体包括:Thus, step S104 specifically includes:

根据所述接入网关的IP地址信息和用户线端口号查询一个预先存储的位置对应表并获取到所述非IP固定终端的较为精确的物理位置。A pre-stored location correspondence table is queried according to the IP address information of the access gateway and the subscriber line port number to obtain a relatively accurate physical location of the non-IP fixed terminal.

其中,可以理解是,上述接入网关的IP地址和对应的物理位置信息或者接入网关的IP地址、用户终端在接入网关下的用户线端口号和对应的物理位置信息可以采取任何方式存储在一个位置对应表中,该位置对应表可以放入一个IMS核心网的设备中,也可以放入一个第三方存储设备中,其中,可以在每开通一个接入网关或者用户终端就将对应的IP地址、用户线端口号和物理位置信息进行记录并存储。Among them, it can be understood that the IP address of the access gateway and the corresponding physical location information or the IP address of the access gateway, the subscriber line port number of the user terminal under the access gateway and the corresponding physical location information can be stored in any manner In a location correspondence table, the location correspondence table can be put into an IMS core network device, or can be put into a third-party storage device, wherein, each time an access gateway or user terminal is opened, the corresponding IP address, subscriber line port number and physical location information are recorded and stored.

其中,本发明采取了上述方案以后,能够根接入网关根据用户请求而生成的呼叫请求中携带的接入网关的IP地址信息或者IP地址信息、用户线端口号获取到对应的物理位置信息,并基于上述信息估计或者确定非IP固定终端的物理位置,因此,该方法能够克服现有技术中非IP固定终端发起呼叫时,IMS核心网无法获知其终端的物理位置的缺陷。Wherein, after the present invention adopts the above scheme, the IP address information of the access gateway or the IP address information and the subscriber line port number carried in the call request generated by the access gateway according to the user request can obtain the corresponding physical location information, Based on the above information, the physical location of the non-IP fixed terminal is estimated or determined. Therefore, this method can overcome the defect that the IMS core network cannot know the physical location of the terminal when the non-IP fixed terminal initiates a call in the prior art.

方法实施例二:Method embodiment two:

以下结合具体实施例对上述实施例进行更详细的描述,其中,图2是本发明实施例确定非IP固定终端物理位置的方法流程示意图;The above embodiments are described in more detail below in conjunction with specific embodiments, wherein FIG. 2 is a schematic flowchart of a method for determining the physical location of a non-IP fixed terminal according to an embodiment of the present invention;

如图2所示,在该实施例中,所述确定非固定IP终端的方法,主要包括下列步骤:As shown in Figure 2, in this embodiment, the method for determining a non-fixed IP terminal mainly includes the following steps:

S201:IMS核心网获取接入网关的IP地址和对应的物理位置信息;S201: The IMS core network obtains the IP address of the access gateway and the corresponding physical location information;

S202:将所述接入网关的IP地址和对应的物理位置信息和其关联关系存储到一个位置对应表之中,其中,该对应表可以设置在网络侧设备中,也可以放置于其他第三方存储设备中。S202: Store the IP address of the access gateway and the corresponding physical location information and its association relationship in a location correspondence table, wherein the correspondence table can be set in the network side device or placed in other third parties in the storage device.

S203:非IP固定终端通过最接近该终端的接入网关向核心网发起请求;S203: The non-IP fixed terminal initiates a request to the core network through the access gateway closest to the terminal;

接入网关根据所述请求生成向IMS核心网发起的一个请求消息,该请求消息中包括所述最接近非IP固定终端的接入网关的IP地址信息;The access gateway generates a request message to the IMS core network according to the request, and the request message includes the IP address information of the access gateway closest to the non-IP fixed terminal;

S204:核心网接收并根据接入网关的IP地址查询所述位置对应表;其中,当获取到对应的匹配IP地址时,S204: The core network receives and queries the location correspondence table according to the IP address of the access gateway; wherein, when the corresponding matching IP address is obtained,

S205:根据对应的匹配关系获取到所述接入网关的物理位置,并将该物理位置作为所述非IP固定终端的近似物理位置。S205: Obtain the physical location of the access gateway according to the corresponding matching relationship, and use the physical location as the approximate physical location of the non-IP fixed terminal.

也即是说,本发明在该实施例中,将接入网关的物理位置作为所述非固定用户终端的物理位置信息,由此,核心网中的网络设备(例如,E-CSCF)能够基于该近似物理位置进行后续行为,以满足各种业务的需求。That is to say, in this embodiment of the present invention, the physical location of the access gateway is used as the physical location information of the non-fixed user terminal, so that the network equipment (for example, E-CSCF) in the core network can be based on This approximate physical location is followed by actions to meet various business needs.

其中,图3是本发明实施例确定非IP固定终端物理位置的方法流程示意图;如图3所示,所述方法包括下列步骤:Wherein, FIG. 3 is a schematic flowchart of a method for determining the physical location of a non-IP fixed terminal according to an embodiment of the present invention; as shown in FIG. 3 , the method includes the following steps:

S301:非IP固定终端通过接入网关向核心网发起请求;其中,在该实施例中,所述接入网关是接入到核心网的接入网关;S301: The non-IP fixed terminal initiates a request to the core network through the access gateway; wherein, in this embodiment, the access gateway is an access gateway connected to the core network;

S302:接入网关将其自身的IP地址信息加入并生成一个向网络侧发起的请求消息中;S302: The access gateway adds its own IP address information and generates a request message to the network side;

S303:接入网关以SIP协议格式将所述请求消息传递给IMS核心网中;S303: The access gateway transmits the request message to the IMS core network in a SIP protocol format;

S304:所述IMS核心网中的设备收到所述呼叫请求后,根据所述接入网关的IP地址信息获取到对应的物理位置信息,将接入网关的物理位置作为所述非固定用户终端的物理位置信息。S304: After receiving the call request, the device in the IMS core network obtains the corresponding physical location information according to the IP address information of the access gateway, and uses the physical location of the access gateway as the non-fixed user terminal physical location information.

其中,图4是本发明实施例确定非IP固定终端物理位置的方法流程示意图,如图4所示,所述方法包括下列步骤:Wherein, FIG. 4 is a schematic flowchart of a method for determining the physical location of a non-IP fixed terminal according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:

S401:非IP固定终端通过接入网关向IMS核心网发起呼叫,其中,该接入网关被记为第一接入网关;S401: The non-IP fixed terminal initiates a call to the IMS core network through the access gateway, where the access gateway is recorded as the first access gateway;

S402:第一接入网关将其自身的IP地址信息加入并生成一个向网络侧发起的呼叫请求中;S402: The first access gateway adds its own IP address information to generate a call request to the network side;

S403:第一接入网关以非SIP格式的消息将所述呼叫请求传递给其上层的第二接入网关;S403: The first access gateway transmits the call request to the upper-layer second access gateway in a message in a non-SIP format;

其中,S404:第二接入网关以非SIP格式的消息将所述呼叫请求传递给上层的接入网关,直至达到最接近核心网的接入网关;Wherein, S404: the second access gateway transmits the call request to the access gateway of the upper layer with a message in a non-SIP format, until reaching the access gateway closest to the core network;

其中,在该实施例中,所述最接近核心网的接入网关是接入核心网的第三接入网关;Wherein, in this embodiment, the access gateway closest to the core network is a third access gateway that accesses the core network;

S405:第三接入网关以SIP协议格式将所述呼叫请求传递给核心网;S405: The third access gateway transmits the call request to the core network in a SIP protocol format;

S406:核心网根据所述呼叫请求中的IP地址信息获取到对应的第一接入网关的物理位置信息,并根据该物理位置信息估计所述非IP固定用户中的物理位置信息。S406: The core network obtains the physical location information of the corresponding first access gateway according to the IP address information in the call request, and estimates the physical location information of the non-IP fixed user according to the physical location information.

其中,在上述实施例中,所述非IP固定终端和接入网关,接入网关和接入网关之间是通过非SIP协议进行交互的,接入网关和核心网之间是通过SIP协议格式进行信息传递的。Wherein, in the above-mentioned embodiment, the non-IP fixed terminal and the access gateway interact with each other through a non-SIP protocol, and between the access gateway and the core network through a SIP protocol format for information transfer.

其中,根据3GPP标准,用户终端的IP地址信息需要写入到SIP协议之中,为此,为了将接入网关的IP地址传入到核心网之中,需要在SIP协议的P-Access-Network-Info头域,增加一个access-info字段的子字段:agw-ip,由此,核心网能够区分其接收的呼叫请求中是接入网关的IP地址还是IP固定终端的IP地址信息。Among them, according to the 3GPP standard, the IP address information of the user terminal needs to be written into the SIP protocol. Therefore, in order to transfer the IP address of the access gateway to the core network, it is necessary to enter the P-Access-Network of the SIP protocol. -Info header field, add a subfield of the access-info field: agw-ip, so that the core network can distinguish whether the call request it receives is the IP address of the access gateway or the IP address information of the fixed IP terminal.

本发明采取了上述方案以后,能够克服现有技术中非IP固定终端发起呼叫,核心网无法获知其物理位置的缺陷,通过最接近非IP固定用户中的接入网关的物理位置估计非IP固定终端的物理位置,进而能够适用于紧急呼叫业务之中。After the present invention adopts the above scheme, it can overcome the defect that the core network cannot know its physical location when the non-IP fixed terminal initiates a call in the prior art, and estimates the non-IP fixed terminal based on the physical location closest to the access gateway among the non-IP fixed users. The physical location of the terminal can be applied to the emergency call service.

方法实施例三:Method embodiment three:

其中,上述实施例中,所述核心网设备获取到的用户终端的物理位置是一个近似估计的物理位置,这并不是非IP固定终端的精确物理位置,因此,为了获取更为精确的物理位置,如图5所示,采取下列步骤:Wherein, in the above-mentioned embodiment, the physical location of the user terminal acquired by the core network device is an approximate estimated physical location, which is not the exact physical location of the non-IP fixed terminal, therefore, in order to obtain a more accurate physical location , as shown in Figure 5, take the following steps:

S501:核心网设备获取接入网关下的非IP固定终端的用户线端口号、该终端的物理位置信息、接入网关的IP地址和接入网关的物理位置信息;S501: The core network device obtains the subscriber line port number of the non-IP fixed terminal under the access gateway, the physical location information of the terminal, the IP address of the access gateway, and the physical location information of the access gateway;

S502:将所述非IP固定终端的用户线端口号以及该终端的物理位置信息、接入网关的IP地址和接入网关的物理位置信息存储一个物理位置对应表之中。S502: Store the subscriber line port number of the non-IP fixed terminal, the terminal's physical location information, the access gateway's IP address, and the access gateway's physical location information in a physical location correspondence table.

S503:核心网接收来自于一个呼叫请求消息;S503: The core network receives a call request message;

其中,所述呼叫请求中包括最接近非IP固定终端的接入网关的IP地址信息、终端在该接入网关下的用户线端口号。Wherein, the call request includes the IP address information of the access gateway closest to the non-IP fixed terminal, and the subscriber line port number of the terminal under the access gateway.

S504:核心网根据所述接入网关的IP地址信息和用户线端口号查询所述物理位置对应表,并根据匹配关系获取到所述非IP固定终端的精确的物理位置范围信息。S504: The core network queries the physical location correspondence table according to the IP address information of the access gateway and the subscriber line port number, and obtains accurate physical location range information of the non-IP fixed terminal according to the matching relationship.

其中,为了实现上述技术方案,需要扩展3GPP定义的SIP协议的P-Access-Network-Info头域,增加access-info字段的子字段:userline-port。Wherein, in order to realize the above technical solution, it is necessary to extend the P-Access-Network-Info header field of the SIP protocol defined by 3GPP, and add a subfield of the access-info field: userline-port.

其中,在实施例中,扩展后的P-Access-Network-Info头域语法如下:Wherein, in the embodiment, the syntax of the extended P-Access-Network-Info header field is as follows:

P-Access-Network-Info=″P-Access-Network-Info″HCOLONP-Access-Network-Info="P-Access-Network-Info"HCOLON

access-net-spec*(COMMA access-net-spec)access-net-spec*(COMMA access-net-spec)

access-net-spec=(access-type/access-class)*(SEMI access-info)access-net-spec=(access-type/access-class)*(SEMI access-info)

access-type=″IEEE-802.11″/″IEEE-802.11a″/″IEEE-802.11b″/″IEEE-802.11g″/″IEEE-802.11n″/″3GPP-GERAN″/″3GPP-UTRAN-FDD″/″3GPP-UTRAN-TDD″/″3GPP-E-UTRAN-FDD″/″3GPP-E-UTRAN-TDD″/″ADSL″/″ADSL2″/″ADSL2+″/″RADSL″/″SDSL″/″HDSL″/″HDSL2″/″GSHDSL″/″VDSL″/″IDSL″/″3GPP2-1X″/″3GPP2-1X-HRPD″/″3GPP2-UMB″/″DOCSIS″/″IEEE-802.3″/″IEEE-802.3a″/″IEEE-802.3e″/″IEEE-802.3i″/″IEEE-802.3j″/″IEEE-802.3u″/″IEEE-802.3ab″/″IEEE-802.3ae″/″IEEE-802.3ak″/″IEEE-802.3aq″/″IEEE-802.3an″/″IEEE-802.3y″/″IEEE-802.3z″/tokenaccess-type="IEEE-802.11"/"IEEE-802.11a"/"IEEE-802.11b"/"IEEE-802.11g"/"IEEE-802.11n"/"3GPP-GERAN"/"3GPP-UTRAN-FDD ″/″3GPP-UTRAN-TDD″/″3GPP-E-UTRAN-FDD″/″3GPP-E-UTRAN-TDD″/″ADSL″/″ADSL2″/″ADSL2+″/″RADSL″/″SDSL″/ "HDSL"/"HDSL2"/"GSHDSL"/"VDSL"/"IDSL"/"3GPP2-1X"/"3GPP2-1X-HRPD"/"3GPP2-UMB"/"DOCSIS"/"IEEE-802.3"/ ″IEEE-802.3a″/″IEEE-802.3e″/″IEEE-802.3i″/″IEEE-802.3j″/″IEEE-802.3u″/″IEEE-802.3ab″/″IEEE-802.3ae″/″ IEEE-802.3ak″/″IEEE-802.3aq″/″IEEE-802.3an″/″IEEE-802.3y″/″IEEE-802.3z″/token

access-class=″3GPP-GERAN″/″3GPP-UTRAN″/″3GPP-E-UTRAN″/″3GPP-WLAN″/″3GPP-GAN″/″3GPP-HSPA″/tokenaccess-class="3GPP-GERAN"/"3GPP-UTRAN"/"3GPP-E-UTRAN"/"3GPP-WLAN"/"3GPP-GAN"/"3GPP-HSPA"/token

access-info=cgi-3gpp/utran-cell-id-3gpp/dsl-location/i-wlan-node-id/ci-3gpp2/eth-location/np/extension-access-info/agw-ip/userline-portaccess-info=cgi-3gpp/utran-cell-id-3gpp/dsl-location/i-wlan-node-id/ci-3gpp2/eth-location/np/extension-access-info/agw-ip/userline- port

np=″network-provided″np="network-provided"

extension-access-info=gen-valueextension-access-info=gen-value

cgi-3gpp=″cgi-3gpp″EQUAL(token/quoted-string)cgi-3gpp="cgi-3gpp" EQUAL(token/quoted-string)

utran-cell-id-3gpp=″utran-cell-id-3gpp″EQUAL(token/quoted-string)utran-cell-id-3gpp="utran-cell-id-3gpp" EQUAL(token/quoted-string)

i-wlan-node-id=″i-wlan-node-id″EQUAL(token/quoted-string)i-wlan-node-id="i-wlan-node-id" EQUAL(token/quoted-string)

dsl-location=″dsl-location″EQUAL(token/quoted-string)dsl-location="dsl-location" EQUAL(token/quoted-string)

eth-location=″eth-location″EQUAL(token/quoted-string)eth-location="eth-location" EQUAL(token/quoted-string)

ci-3gpp2=″ci-3gpp2″EQUAL(token/quoted-string)ci-3gpp2="ci-3gpp2" EQUAL(token/quoted-string)

agw-ip=″agw-ip″EQUAL(IPv4address/IPv6address)agw-ip="agw-ip" EQUAL(IPv4address/IPv6address)

userline-port=″userline-port″EQUAL portuserline-port="userline-port" EQUAL port

P-Access-Network-Info头域示例:Example of the P-Access-Network-Info header field:

P-Access-Network-Info:ADSL;agw-ip=10.0.0.1;userline-port=5060P-Access-Network-Info: ADSL; agw-ip=10.0.0.1; userline-port=5060

其中,本发明通过用户线端口号进一步精确查询非IP固定终端的物理位置,由此克服现有技术中非IP固定终端发起呼叫,核心网无法获知其物理位置的缺陷,其中,在一个或者多个网关的数据传输方式适用于图3和图4所示的流程,在此不详细描述。Among them, the present invention further accurately inquires the physical location of the non-IP fixed terminal through the subscriber line port number, thereby overcoming the defect that the core network cannot know its physical location when the non-IP fixed terminal initiates a call in the prior art. The data transmission mode of each gateway is applicable to the processes shown in FIG. 3 and FIG. 4 , and will not be described in detail here.

系统实施例一:System embodiment one:

其中,图6是本发明确定非IP固定用户中的物理位置的系统的示意图;如图6所示,所述确定非IP固定终端物理位置的系统,包括:Wherein, Fig. 6 is a schematic diagram of the system for determining the physical location of non-IP fixed users according to the present invention; as shown in Fig. 6, the system for determining the physical location of non-IP fixed terminals includes:

接入网关,包括:Access gateways, including:

消息接收单元,用于接收来自于该网关挂载下的一个非IP固定终端发起的请求;A message receiving unit, configured to receive a request initiated by a non-IP fixed terminal mounted on the gateway;

请求消息生成单元,用于根据该请求形成携带所述接入网关IP地址的请求消息;A request message generating unit, configured to form a request message carrying the IP address of the access gateway according to the request;

消息发送单元,用于将所述请求消息直接或者通过一个或多个上层接入网关传递给网络侧设备;a message sending unit, configured to transfer the request message to the network side device directly or through one or more upper layer access gateways;

其中,所述网络侧设备,用于根据所述请求消息确定所述非IP固定终端的物理位置。Wherein, the network side device is configured to determine the physical location of the non-IP fixed terminal according to the request message.

其中,图8是本发明实施例的网络侧设备的结构示意图;Wherein, FIG. 8 is a schematic structural diagram of a network side device according to an embodiment of the present invention;

更具体地说,为了实现网络侧设备根据接入网关发起的请求消息中进行位置查询,所述网络侧设备,包括:More specifically, in order to enable the network side device to perform location query according to the request message initiated by the access gateway, the network side device includes:

地址信息获取单元,用于接收并存储接入网关的IP地址信息和接入网关的物理位置信息;The address information acquisition unit is used to receive and store the IP address information of the access gateway and the physical location information of the access gateway;

地址存储单元,用于将所述接入网关的IP地址信息和接入网关的物理位置信息和其关联关系进行存储;an address storage unit, configured to store the IP address information of the access gateway, the physical location information of the access gateway and their association;

消息接收单元,用于接收上所述携带IP地址信息的请求消息;A message receiving unit, configured to receive the above-mentioned request message carrying IP address information;

地址查询单元,用于根据所述IP地址信息在所述地址存储单元中查询并获取所述接入网关的物理位置。An address query unit, configured to query and acquire the physical location of the access gateway in the address storage unit according to the IP address information.

其中,所述接入网关中,还包括:Wherein, the access gateway also includes:

端口号获取单元,用于获取所述非IP固定终端在该接入网关下的用户线端口号;所述请求消息生成单元,还用于将所述用户线端口加入到所述请求消息中。The port number obtaining unit is used to obtain the subscriber line port number of the non-IP fixed terminal under the access gateway; the request message generation unit is also used to add the subscriber line port into the request message.

并且,对应地,所述网络侧设备之中,所述地址信息获取单元,还用于接收并存储接入网关的IP地址信息、用户线端口号信息和非IP固定终端的物理位置信息;And, correspondingly, in the network side device, the address information obtaining unit is further configured to receive and store the IP address information of the access gateway, the subscriber line port number information and the physical location information of the non-IP fixed terminal;

所述地址存储单元,还用于将所述接入网关的IP地址信息、用户线端口号信息和非IP固定终端的物理位置信息及其关联关系进行存储;The address storage unit is also used to store the IP address information of the access gateway, the subscriber line port number information, the physical location information of the non-IP fixed terminal and their associations;

所述消息接收单元,用于接收上所述携带IP地址信息、用户线端口号信息的请求消息;The message receiving unit is configured to receive the above-mentioned request message carrying IP address information and subscriber line port number information;

所述地址查询单元,还用于根据所述IP地址信息和用户线端口号信息在所述地址存储单元中查询并获取所述接入网关的物理位置。The address query unit is further configured to query and obtain the physical location of the access gateway in the address storage unit according to the IP address information and the subscriber line port number information.

本系统具有前述任一实施例的优点,也就是说,该系统能够对发起呼叫的非IP固定终端的物理位置进行查询,通过最接近非IP固定终端的接入网关的IP地址信息,估定用户终端的物理位置,或者通过用户线端口号进一步精确确定所述非IP固定终端的物理位置。This system has the advantages of any of the foregoing embodiments, that is to say, the system can query the physical location of the non-IP fixed terminal that initiates the call, and estimate the IP address information of the access gateway closest to the non-IP fixed terminal. The physical location of the user terminal, or further accurately determine the physical location of the non-IP fixed terminal through the user line port number.

装置实施例一:Device embodiment one:

其中,图7是本发明实施例的接入网关的结构示意图;Wherein, FIG. 7 is a schematic structural diagram of an access gateway according to an embodiment of the present invention;

如图7所示,所述接入网关,包括:As shown in Figure 7, the access gateway includes:

消息接收单元,用于接收来自于该网关挂载下的一个非IP固定终端发起的请求;A message receiving unit, configured to receive a request initiated by a non-IP fixed terminal mounted on the gateway;

请求消息生成单元,用于根据所述请求生成向网络侧发起的请求消息,所述请求中携带所述接入网关的IP地址信息;a request message generating unit, configured to generate a request message to the network side according to the request, where the request carries the IP address information of the access gateway;

消息发送单元,用于将所述请求消息传递给网络侧设备或者上层的接入网关。A message sending unit, configured to transmit the request message to a network side device or an upper layer access gateway.

并且,在本实施例中,还包括:端口号获取单元,用于获取所述非IP固定终端在该网关下的用户线端口号;Moreover, in this embodiment, it also includes: a port number obtaining unit, configured to obtain the subscriber line port number of the non-IP fixed terminal under the gateway;

所述请求消息生成单元,还用于将所述非IP固定终端在该网关下的用户线端口号加入到所述请求消息中。The request message generating unit is further configured to add the subscriber line port number of the non-IP fixed terminal under the gateway to the request message.

其中,所述接入网关还可以接收其下一层的接入网关的相关请求信息,为此,所述消息接收单元,还用于接收来自于下层接入网关的请求消息;Wherein, the access gateway can also receive the related request information of the access gateway of the lower layer, for this reason, the message receiving unit is also used to receive the request message from the lower layer access gateway;

其中,所述消息转发单元,还用于将所述请求消息转发给网络侧设备或者上层的接入网关。Wherein, the message forwarding unit is further configured to forward the request message to a network side device or an upper layer access gateway.

此外,本实施例中,所述接入网关,还包括:协议转换单元,用于对所述请求消息生成单元生成的或者所述消息接收单元接收到的请求消息进行协议转换;In addition, in this embodiment, the access gateway further includes: a protocol conversion unit, configured to perform protocol conversion on the request message generated by the request message generating unit or received by the message receiving unit;

所述消息发送单元,用于将所述经过协议转换后的请求消息传递给网络侧设备或者上层的接入网关。The message sending unit is configured to transmit the protocol-converted request message to a network side device or an upper-layer access gateway.

其中,所述接入网关能够基于其挂载的非IP固定终端发起的呼叫并生成向网络侧或者上层接入网关发起的呼叫请求,并且,该接入网关还能够对其下一层的接入网关的请求进行协议转换和转发。Wherein, the access gateway can generate a call request initiated to the network side or the upper-layer access gateway based on the call initiated by the non-IP fixed terminal mounted on it, and the access gateway can also generate a call request to the lower-layer access gateway Protocol conversion and forwarding of incoming gateway requests.

其中,本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:只读存储器(Read Only Memory,简称ROM)、随机存取存储器(Random Acess Memory,简称RAM)、磁碟、终端手机软件或者光盘等各种可以存储程序代码的介质。Wherein, those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, , performing the steps comprising the above-mentioned method embodiment; and the aforementioned storage medium includes: a read-only memory (Read Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk, a terminal mobile phone software or an optical disk Various media that can store program codes.

最后应说明的是:以上所述仅为本发明的优选实施例而已,并不用于限制本发明,尽管参照前述实施例对本发明进行了详细的说明,对于本领域的技术人员来说,其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。Finally, it should be noted that: the above is only a preferred embodiment of the present invention, and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, it still The technical solutions recorded in the foregoing embodiments may be modified, or some technical features thereof may be equivalently replaced. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (13)

1.一种确定非IP固定终端物理位置的方法,包括:1. A method for determining the physical location of a non-IP fixed terminal, comprising: A、接入网关接收来自于该网关挂载下的一个非IP固定终端发起的请求,根据该请求形成携带所述接入网关IP地址的请求消息;A. The access gateway receives a request initiated by a non-IP fixed terminal mounted on the gateway, and forms a request message carrying the IP address of the access gateway according to the request; B、将所述请求消息传递给网络侧设备,由网络侧设备根据所述请求消息确定所述非IP固定终端的物理位置;B. Transfer the request message to the network side device, and the network side device determines the physical location of the non-IP fixed terminal according to the request message; 其中,步骤B中,将所述请求消息传递给网络侧设备,包括:Wherein, in step B, the request message is delivered to the network side device, including: 所述接入网关以非SIP格式将所述请求消息层递给一个或多个上层接入网关;其中,当到达最接近网络侧的上层接入网关时,The access gateway passes the request message layer to one or more upper-layer access gateways in a non-SIP format; wherein, when reaching the upper-layer access gateway closest to the network side, 所述上层接入网关以SIP格式将所述请求消息传递给网络侧设备。The upper layer access gateway transmits the request message to the network side device in SIP format. 2.根据权利要求1所述的确定非IP固定终端物理位置的方法,其特征在于,步骤A中,还包括:2. The method for determining the physical location of a non-IP fixed terminal according to claim 1, wherein, in step A, further comprising: 所述请求消息还携带所述非IP固定终端在所述接入网关下的用户线端口号。The request message also carries the subscriber line port number of the non-IP fixed terminal under the access gateway. 3.根据权利要求1或2所述的确定非IP固定终端物理位置的方法,其特征在于,所述接入网关是最接近网络侧的接入网关,步骤B中,将所述请求消息传递给网络侧设备,具体包括:3. The method for determining the physical location of a non-IP fixed terminal according to claim 1 or 2, wherein the access gateway is the access gateway closest to the network side, and in step B, the request message is delivered For network-side devices, including: 所述接入网关以SIP格式将所述请求消息传递给网络侧设备。The access gateway transmits the request message to the network side device in SIP format. 4.根据权利要求1所述的确定非IP固定终端物理位置的方法,其特征在于,步骤B中,根据所述请求消息确定所述非IP固定终端的物理位置,具体包括:4. The method for determining the physical location of the non-IP fixed terminal according to claim 1, wherein, in step B, determining the physical location of the non-IP fixed terminal according to the request message, specifically comprising: 网络侧设备根据所述接入网关的IP地址查询预先存储的位置对应信息;The network side device queries the pre-stored location corresponding information according to the IP address of the access gateway; 根据所述IP地址的匹配关系获取到对应的接入网关的物理位置,将该物理位置作为所述非IP固定终端的近似物理位置。The physical location of the corresponding access gateway is obtained according to the matching relationship of the IP address, and the physical location is used as the approximate physical location of the non-IP fixed terminal. 5.根据权利要求2所述的确定非IP固定终端物理位置的方法,其特征在于,步骤B中,根据所述请求消息确定所述非IP固定终端的物理位置,具体包括:5. The method for determining the physical location of the non-IP fixed terminal according to claim 2, wherein in step B, determining the physical location of the non-IP fixed terminal according to the request message, specifically includes: 网络侧设备根据所述接入网关的IP地址和所述终端的用户线端口号查询预先存储的位置对应信息;The network side device queries the pre-stored location correspondence information according to the IP address of the access gateway and the subscriber line port number of the terminal; 根据所述IP地址确定对应的接入网关;determining a corresponding access gateway according to the IP address; 根据所述用户线端口号获取到在所述接入网关下的非IP固定终端的准确物理位置。The accurate physical location of the non-IP fixed terminal under the access gateway is obtained according to the subscriber line port number. 6.一种确定非IP固定终端物理位置的系统,包括:6. A system for determining the physical location of a non-IP fixed terminal, comprising: 接入网关,包括:Access gateways, including: 消息接收单元,用于接收来自于该网关挂载下的一个非IP固定终端发起的请求;A message receiving unit, configured to receive a request initiated by a non-IP fixed terminal mounted on the gateway; 请求消息生成单元,用于根据该请求形成携带所述接入网关IP地址的请求消息;A request message generating unit, configured to form a request message carrying the IP address of the access gateway according to the request; 消息发送单元,用于以非SIP格式将所述请求消息层递给一个或多个上层接入网关;其中,当到达最接近网络侧的上层接入网关时,所述上层接入网关以SIP格式将所述请求消息传递给网络侧设备;A message sending unit, configured to deliver the request message layer to one or more upper-layer access gateways in a non-SIP format; wherein, when reaching the upper-layer access gateway closest to the network side, the upper-layer access gateway uses SIP The format transmits the request message to the network side device; 所述网络侧设备,用于根据所述请求消息确定所述非IP固定终端的物理位置。The network side device is configured to determine the physical location of the non-IP fixed terminal according to the request message. 7.根据权利要求6所述的确定非IP固定终端物理位置的系统,其特征在于,所述网络侧设备,包括:7. The system for determining the physical location of a non-IP fixed terminal according to claim 6, wherein the network side device includes: 地址信息获取单元,用于接收并存储接入网关的IP地址信息和接入网关的物理位置信息;The address information acquisition unit is used to receive and store the IP address information of the access gateway and the physical location information of the access gateway; 地址存储单元,用于将所述接入网关的IP地址信息和接入网关的物理位置信息和其关联关系进行存储;an address storage unit, configured to store the IP address information of the access gateway, the physical location information of the access gateway and their association; 消息接收单元,用于接收上所述携带IP地址信息的请求消息;A message receiving unit, configured to receive the above-mentioned request message carrying IP address information; 地址查询单元,用于根据所述IP地址信息在所述地址存储单元中查询并获取所述接入网关的物理位置。An address query unit, configured to query and acquire the physical location of the access gateway in the address storage unit according to the IP address information. 8.根据权利要求7所述的确定非IP固定终端物理位置的系统,其特征在于,所述接入网关中,还包括:8. The system for determining the physical location of a non-IP fixed terminal according to claim 7, wherein the access gateway further includes: 端口号获取单元,用于获取所述非IP固定终端在该接入网关下的用户线端口号;A port number obtaining unit, configured to obtain the subscriber line port number of the non-IP fixed terminal under the access gateway; 所述请求消息生成单元,还用于将所述用户线端口加入到所述请求消息中。The request message generating unit is further configured to add the subscriber line port into the request message. 9.根据权利要求8所述的确定非IP固定终端物理位置的系统,其特征在于,所述地址信息获取单元,还用于接收并存储非IP固定终端在接入网关下的用户线端口号信息和物理位置信息;9. The system for determining the physical location of a non-IP fixed terminal according to claim 8, wherein the address information acquisition unit is also used to receive and store the subscriber line port number of the non-IP fixed terminal under the access gateway information and physical location information; 所述地址存储单元,还用于将所述接入网关的IP地址信息、用户线端口号信息和非IP固定终端的物理位置信息及其关联关系进行存储;The address storage unit is also used to store the IP address information of the access gateway, the subscriber line port number information, the physical location information of the non-IP fixed terminal and their associations; 所述消息接收单元,用于接收上所述携带IP地址信息、用户线端口号信息的请求消息;The message receiving unit is configured to receive the above-mentioned request message carrying IP address information and subscriber line port number information; 所述地址查询单元,还用于根据所述IP地址信息和用户线端口号信息在所述地址存储单元中查询并获取所述接入网关的物理位置。The address query unit is further configured to query and obtain the physical location of the access gateway in the address storage unit according to the IP address information and the subscriber line port number information. 10.一种接入网关,包括:10. An access gateway, comprising: 消息接收单元,用于接收来自于该网关挂载下的一个非IP固定终端发起的请求;请求消息生成单元,用于根据所述请求生成向网络侧发起的请求消息,所述请求中携带所述接入网关的IP地址信息;The message receiving unit is used to receive a request from a non-IP fixed terminal mounted on the gateway; the request message generation unit is used to generate a request message to the network side according to the request, and the request carries the The IP address information of the access gateway; 消息发送单元,用于将所述请求消息传递给网络侧设备;其中,将所述请求消息传递给网络侧设备,包括:A message sending unit, configured to transmit the request message to the network-side device; wherein, transmitting the request message to the network-side device includes: 所述接入网关以非SIP格式将所述请求消息层递给一个或多个上层接入网关;其中,当到达最接近网络侧的上层接入网关时,The access gateway passes the request message layer to one or more upper-layer access gateways in a non-SIP format; wherein, when reaching the upper-layer access gateway closest to the network side, 所述上层接入网关以SIP格式将所述请求消息传递给网络侧设备。The upper layer access gateway transmits the request message to the network side device in SIP format. 11.根据权利要求10所述的接入网关,其特征在于,还包括:11. The access gateway according to claim 10, further comprising: 端口号获取单元,用于获取所述非IP固定终端在该网关下的用户线端口号;所述请求消息生成单元,还用于将所述非IP固定终端在该网关下的用户线端口号加入到所述请求消息中。The port number obtaining unit is used to obtain the subscriber line port number of the non-IP fixed terminal under the gateway; the request message generation unit is also used to obtain the subscriber line port number of the non-IP fixed terminal under the gateway added to the request message. 12.根据权利要求10或11所述的接入网关,其特征在于,所述消息接收单元,还用于接收来自于下层接入网关的请求消息;12. The access gateway according to claim 10 or 11, wherein the message receiving unit is further configured to receive a request message from a lower layer access gateway; 其中,所述消息发送单元,还用于将所述请求消息转发给网络侧设备或者上层的接入网关。Wherein, the message sending unit is further configured to forward the request message to a network side device or an upper layer access gateway. 13.根据权利要求10或11所述的接入网关,其特征在于,还包括:13. The access gateway according to claim 10 or 11, further comprising: 协议转换单元,用于对所述请求消息生成单元生成的或者所述消息接收单元接收到的请求消息进行协议转换。A protocol conversion unit, configured to perform protocol conversion on the request message generated by the request message generating unit or received by the message receiving unit.
CN201210081989.4A 2012-03-26 2012-03-26 A kind of method, system and access gateway determining non-IP fixed terminal position Active CN103368899B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210081989.4A CN103368899B (en) 2012-03-26 2012-03-26 A kind of method, system and access gateway determining non-IP fixed terminal position

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210081989.4A CN103368899B (en) 2012-03-26 2012-03-26 A kind of method, system and access gateway determining non-IP fixed terminal position

Publications (2)

Publication Number Publication Date
CN103368899A CN103368899A (en) 2013-10-23
CN103368899B true CN103368899B (en) 2016-12-14

Family

ID=49369454

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210081989.4A Active CN103368899B (en) 2012-03-26 2012-03-26 A kind of method, system and access gateway determining non-IP fixed terminal position

Country Status (1)

Country Link
CN (1) CN103368899B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109688038B (en) * 2017-10-18 2021-06-25 中国移动通信有限公司研究院 End-to-end Non-IP transmission method and device, device and storage medium
CN107800788A (en) * 2017-10-23 2018-03-13 中国人民解放军信息工程大学 A kind of calling party's area positioning method based on WMG
CN108234498B (en) * 2018-01-04 2020-09-22 广州市申迪计算机系统有限公司 Communication call tracing method and system
JP7326860B2 (en) * 2019-05-17 2023-08-16 富士フイルムビジネスイノベーション株式会社 system, program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1486027A (en) * 2002-09-28 2004-03-31 ��Ϊ�������޹�˾ A Method for Realizing User Positioning in Wireless Local Area Network
CN102014368A (en) * 2009-09-07 2011-04-13 中国移动通信集团公司 Method, system and device for acquiring position information of user equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100480713B1 (en) * 2002-07-31 2005-04-06 엘지전자 주식회사 Method for Tracing and Monitoring of Call in Mobile Communication Systems

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1486027A (en) * 2002-09-28 2004-03-31 ��Ϊ�������޹�˾ A Method for Realizing User Positioning in Wireless Local Area Network
CN102014368A (en) * 2009-09-07 2011-04-13 中国移动通信集团公司 Method, system and device for acquiring position information of user equipment

Also Published As

Publication number Publication date
CN103368899A (en) 2013-10-23

Similar Documents

Publication Publication Date Title
CA2593569C (en) A method and apparatus for handling emergency calls in a packet switched radio access network
CN100579278C (en) Emergency call method, system and call session control functional entity
US12192252B2 (en) Voice service restoration after element failure
US20070121598A1 (en) Emergency call methodology for VoIP communications
US10225722B1 (en) System and method for delivering short message service text to call centers
US8638656B2 (en) Method and apparatus for routing calls to an alternative endpoint during network disruptions
CN113329517B (en) Communication method and device
CN101132378A (en) A method and communication system for intercommunication between different networks
CN103368899B (en) A kind of method, system and access gateway determining non-IP fixed terminal position
US8605653B2 (en) Utilizing emergency procedures to determine location information of a voice over internet protocol device
WO2013082744A1 (en) Method and device for transmitting emergency call user location information to circuit switched network in ip multimedia subsystem network
CN101123822B (en) Implementation method for emergent call service in IP multimedia subsystem central service
WO2014094438A1 (en) Method and device for transmitting information under ims architecture, and communication system
EP1821458A1 (en) A method, system and access control function for testing the emergent service
CN104301450B (en) The method and device of addressing
CN102857892B (en) Urgent call cut-in method and system
CN102668487B (en) Method and system for implementing call by media gateway
US7957395B2 (en) Systems and methods for a hybrid telephony service
JP5251394B2 (en) Communication system and call control method
US8711733B2 (en) Indicating transfer in an IMS network
US8472352B2 (en) Method for achieving a call-waiting functionality in a communication network
KR101487518B1 (en) Access gateway system and call handling method thereof
CA2548943A1 (en) Method, system and apparatus for retrieving location information on behalf of a location-unaware device in a packet-switched environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant