[go: up one dir, main page]

CN102348290B - Method for establishing communication connection, apparatus and system thereof - Google Patents

Method for establishing communication connection, apparatus and system thereof Download PDF

Info

Publication number
CN102348290B
CN102348290B CN201010241608.5A CN201010241608A CN102348290B CN 102348290 B CN102348290 B CN 102348290B CN 201010241608 A CN201010241608 A CN 201010241608A CN 102348290 B CN102348290 B CN 102348290B
Authority
CN
China
Prior art keywords
network element
element device
information
access code
service access
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
CN201010241608.5A
Other languages
Chinese (zh)
Other versions
CN102348290A (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 Group Guangdong Co Ltd
Original Assignee
China Mobile Group Guangdong 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 Group Guangdong Co Ltd filed Critical China Mobile Group Guangdong Co Ltd
Priority to CN201010241608.5A priority Critical patent/CN102348290B/en
Publication of CN102348290A publication Critical patent/CN102348290A/en
Application granted granted Critical
Publication of CN102348290B publication Critical patent/CN102348290B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种建立通信连接的方法、装置及系统,属于核心网技术领域,该方法包括:步骤A、与业务经过的网元设备建立通信连接,并根据不同的厂家设备,向所述网元设备发送相关信息的查询指令,获取所述网元设备的业务接入码分析结果;步骤B、根据所述业务接入码分析结果,获取所述网元设备的下一跳网元设备的全球唯一标识;步骤C、根据所述下一跳网元设备的全球唯一标识,与所述下一跳网元设备建立通信连接。由此能够排除不同厂家设备之间的差异,提高建立通信连接方法的通用性。

The present invention provides a method, device and system for establishing a communication connection, which belong to the technical field of core network. The element device sends a query command for related information to obtain the analysis result of the service access code of the network element device; Step B, according to the analysis result of the service access code, obtain the next-hop network element device of the network element device A globally unique identifier; step C, establishing a communication connection with the next-hop network element device according to the globally unique identifier of the next-hop network element device. In this way, differences between devices from different manufacturers can be eliminated, and the generality of the method for establishing a communication connection can be improved.

Description

建立通信连接的方法、装置及系统Method, device and system for establishing communication connection

技术领域 technical field

本发明涉及核心网技术领域,尤其涉及一种建立通信连接的方法、装置及系统。The present invention relates to the field of core network technology, in particular to a method, device and system for establishing a communication connection.

背景技术 Background technique

交换网话路拓扑是指某种特定的话音业务在交换网中所经历的核心网元设备的路径组合,是该话音业务在整个交换网中起止点间所经历的一条或多条路由。The voice path topology of the switching network refers to the path combination of the core network element equipment experienced by a certain voice service in the switching network, and it is one or more routes that the voice service experiences between the start and end points in the entire switching network.

了解交换网话路拓扑是电信运营中一项十分重要的基本要素,其贯穿于网络规划、工程建设、网络维护等整个网络运营架构。网络规划中的业务规划/组网方案设计、工程建设中的工程实施方案制定、网络维护中的局数据规划管理/用户投诉支撑/应急保障话务分流等等均需要快速了解现有网络的话路拓扑。Understanding the topology of the switching network is a very important basic element in telecom operations, which runs through the entire network operation architecture such as network planning, engineering construction, and network maintenance. Business planning/networking scheme design in network planning, project implementation plan formulation in engineering construction, office data planning management/user complaint support/emergency guarantee traffic diversion in network maintenance, etc. need to quickly understand the existing network traffic topology.

目前,现有的计算交换网话路拓扑的方法中的建立通信连接的方式是,采用设备厂家自身提供的工具来获取,但是这种工具都是针对某一种类型的设备专门开发的,也就是说,这种工具只能适用某一种类型的设备,不具备通用性。如果要计算经历多种厂家设备的话路拓扑,则需要购买所有厂家的这种工具,成本较高。At present, in the existing methods for calculating the topology of the switched network, the way of establishing communication connections is to use the tools provided by the equipment manufacturers to obtain them. However, these tools are specially developed for a certain type of equipment, and are That is to say, this tool can only be applied to a certain type of equipment and is not universal. If you want to calculate the topology of the traffic with equipment from multiple manufacturers, you need to purchase such tools from all manufacturers, which costs a lot.

发明内容 Contents of the invention

为了解决上述问题,本发明的目的是提供一种建立通信连接的方法、装置及系统,能够屏蔽不同厂家设备之间的差异,提高建立通信连接方法的通用性。In order to solve the above problems, the object of the present invention is to provide a method, device and system for establishing a communication connection, which can shield the differences between devices from different manufacturers and improve the versatility of the method for establishing a communication connection.

为了达到上述目的,本发明提供一种建立通信连接的方法,包括:In order to achieve the above object, the present invention provides a method for establishing a communication connection, including:

步骤A、与业务经过的网元设备建立通信连接,向所述网元设备发送查询指令,获取所述网元设备的业务接入码分析结果;Step A, establishing a communication connection with the network element device through which the service passes, sending a query instruction to the network element device, and obtaining the service access code analysis result of the network element device;

步骤B、根据所述业务接入码分析结果,获取所述网元设备的下一跳网元设备的全球唯一标识;Step B. According to the analysis result of the service access code, obtain the globally unique identifier of the next-hop network element device of the network element device;

步骤C、根据所述下一跳网元设备的全球唯一标识,与所述下一跳网元设备建立通信连接。Step C: Establish a communication connection with the next-hop network element device according to the globally unique identifier of the next-hop network element device.

优选的,所述步骤A具体包括:Preferably, said step A specifically includes:

步骤A1、与业务经过的网元设备建立通信连接,并向所述网元设备发送查询指令,获取所述网元设备的起呼信息或入局信息;Step A1. Establish a communication connection with the network element device through which the service passes, and send a query instruction to the network element device to obtain the call origination information or incoming call information of the network element device;

步骤A2、根据所述起呼信息或入局信息,以及所述业务的业务接入码,通过查询呼叫号码分析配置,获得所述网元设备的业务接入码分析结果。Step A2: Obtain the service access code analysis result of the network element device by querying the calling number analysis configuration according to the call origination information or incoming call information, and the service access code of the service.

优选的,所述步骤B具体包括:Preferably, said step B specifically includes:

步骤B1、根据所述业务接入码分析结果中的出局路由索引,从所述业务接入码分析结果中提取出局路由信息;Step B1, extracting outbound routing information from the service access code analysis result according to the outbound route index in the service access code analysis result;

步骤B2、根据所述出局路由信息,查询出局路由配置,获取所述网元设备的下一跳网元设备的全球唯一标识。Step B2. According to the outgoing routing information, query the outgoing routing configuration, and obtain the globally unique identifier of the next-hop network element device of the network element device.

优选的,所述方法还包括:Preferably, the method also includes:

循环所述步骤A~步骤C,直到找到所述业务接入码的落地网元设备,由此获得完整的所述交换网话路拓扑。Repeat steps A to C until the network element device of the service access code is found, thereby obtaining the complete voice path topology of the switching network.

优选的,所述步骤A1中还包括:Preferably, said step A1 also includes:

判断所述网元设备是否为发起所述业务的第一跳网元设备;judging whether the network element device is the first-hop network element device that initiates the service;

若所述网元设备是所述第一跳网元设备,则向所述网元设备发送查询指令,获取所述网元设备的起呼信息或入局信息;If the network element device is the first hop network element device, sending a query instruction to the network element device to obtain call origination information or incoming call information of the network element device;

若所述网元设备不是所述第一跳网元设备,则根据所述网元设备的上一跳网元设备的信息,获取所述网元设备的入局信息。If the network element device is not the first hop network element device, acquiring the incoming information of the network element device according to the information of the previous hop network element device of the network element device.

优选的,在判断出所述网元设备不是所述第一跳网元设备时,所述步骤A1还包括:Preferably, when it is determined that the network element device is not the first-hop network element device, the step A1 further includes:

判断是否存在多个入局中继群;Determine whether there are multiple incoming trunk groups;

若存在多个入局中继群,且多个入局中继群的入局信息一致时,则获取所述网元设备的入局信息;If there are multiple incoming trunk groups, and the incoming information of the multiple incoming trunk groups is consistent, acquiring the incoming information of the network element device;

若存在多个入局中继群,且多个入局中继群的入局信息不一致时,则根据所述网元设备的上一跳网元设备的电路标识码重新选取入局信息。If there are multiple incoming trunk groups, and the incoming information of the multiple incoming trunk groups is inconsistent, the incoming information is reselected according to the circuit identification code of the previous hop network element device of the network element device.

优选的,在执行完所述步骤A之后,所述步骤B之前,所述方法还包括:Preferably, after step A is performed and before step B, the method further includes:

步骤D、判断所述业务接入码分析结果是否为本局落地号码,若是,则所述网元设备为所述交换网话路拓扑的终点,结束本流程;若不是,则执行所述步骤B。Step D, judging whether the analysis result of the service access code is the landing number of the local office, if so, the network element device is the end point of the switching network voice topology, and ends this process; if not, then execute the step B .

优选的,执行完所述步骤A之后,所述步骤D之前,所述方法还包括Preferably, after step A is performed and before step D, the method further includes

判断所述业务接入码分析结果是否需要进行号码变换;Judging whether the analysis result of the service access code needs to be changed;

若需要进行号码变换,则根据所述业务接入码分析结果中的号码变换索引,通过查看号码变换配置,对所述业务接入码分析结果进行号码变换,然后执行步骤B;If number conversion is required, perform number conversion on the service access code analysis result by checking the number conversion configuration according to the number conversion index in the service access code analysis result, and then perform step B;

若不需要进行号码变换,则执行所述步骤D。If no number conversion is required, then step D is performed.

优选的,在所述方法中,对拓扑中逐条网元设备进行串行数据查询,对拓扑中同一跳的多个负荷分担的网元设备进行并行的数据查询。Preferably, in the method, the serial data query is performed on each network element device in the topology, and the parallel data query is performed on multiple load-sharing network element devices of the same hop in the topology.

本发明还提供一种建立通信连接的装置,包括:The present invention also provides a device for establishing a communication connection, including:

第一获取模块,用于与业务经过的网元设备建立通信连接,向所述网元设备发送查询指令,获取所述网元设备的业务接入码分析结果;The first acquisition module is configured to establish a communication connection with the network element device through which the service passes, send a query instruction to the network element device, and obtain the service access code analysis result of the network element device;

第二获取模块,用于根据所述业务接入码分析结果,获取所述网元设备的下一跳网元设备的全球唯一标识;The second obtaining module is configured to obtain the globally unique identifier of the next-hop network element device of the network element device according to the analysis result of the service access code;

通信建立模块,用于根据所述下一跳网元设备的全球唯一标识,与所述下一跳网元设备建立通信连接。A communication establishing module, configured to establish a communication connection with the next-hop network element device according to the globally unique identifier of the next-hop network element device.

优选的,所述第一获取模块包括:Preferably, the first acquisition module includes:

第一获取单元,用于与业务经过的网元设备建立通信连接,并向所述网元设备发送查询指令,获取所述网元设备的起呼信息或入局信息;The first acquisition unit is configured to establish a communication connection with a network element device through which the service passes, and send a query instruction to the network element device, and obtain call origination information or incoming call information of the network element device;

第二获取单元,用于根据所述起呼信息或入局信息,以及所述业务的业务接入码,通过查询呼叫号码分析配置,获得所述网元设备的业务接入码分析结果。The second obtaining unit is configured to obtain the analysis result of the service access code of the network element device by querying the call number analysis configuration according to the call origination information or incoming call information and the service access code of the service.

优选的,所述第二获取模块包括:Preferably, the second acquisition module includes:

出局路由信息提取单元,用于根据所述业务接入码分析结果中的出局路由索引,从所述业务接入码分析结果中提取出局路由信息;An outgoing routing information extraction unit, configured to extract outgoing routing information from the analysis result of the service access code according to the outgoing routing index in the analysis result of the service access code;

标识获取单元,用于根据所述出局路由信息,查询出局路由配置,获取所述网元设备的下一跳网元设备的全球唯一标识。The identification obtaining unit is configured to query the outgoing routing configuration according to the outgoing routing information, and obtain the globally unique identification of the next-hop network element device of the network element device.

优选的,所述装置还包括:Preferably, the device also includes:

拓扑生成模块,用于控制所述第一获取模块、所述第二获取模块和所述通信建立模块工作,直到在找到的所述下一跳网元设备为所述业务接入码的落地网元设备时,生成完整的所述交换网话路拓扑。A topology generation module, configured to control the work of the first acquisition module, the second acquisition module, and the communication establishment module until the found next-hop network element device is the landing network of the service access code When the meta-device is used, a complete session topology of the switching network is generated.

本发明还提供一种建立通信连接的系统,所述系统包括:建立通信连接的装置和与所述装置连接的多个网元设备,其中所述装置包括:The present invention also provides a system for establishing a communication connection. The system includes: a device for establishing a communication connection and a plurality of network element devices connected to the device, wherein the device includes:

第一获取模块,用于与业务经过的网元设备建立通信连接向所述网元设备发送查询指令,获取所述网元设备的业务接入码分析结果;The first acquisition module is configured to establish a communication connection with the network element equipment through which the service passes, send a query instruction to the network element equipment, and acquire the service access code analysis result of the network element equipment;

第二获取模块,用于根据所述业务接入码分析结果,获取所述网元设备的下一跳网元设备的全球唯一标识;The second obtaining module is configured to obtain the globally unique identifier of the next-hop network element device of the network element device according to the analysis result of the service access code;

通信建立模块,用于根据所述下一跳网元设备的全球唯一标识,与所述下一跳网元设备建立通信连接。A communication establishing module, configured to establish a communication connection with the next-hop network element device according to the globally unique identifier of the next-hop network element device.

由上述技术方案可知,首先业务经过的网元设备建立通信连接,根据不同的设备厂家,向该网元设备发送相关信息的查询指令,获取网元设备的业务接入码分析结果,根据业务接入码分析结果获取下一跳网元设备的全球唯一标识,根据该全球唯一标识再与下一跳网元设备建立通信连接,向该下一跳网元设备发送相关信息的查询指令,......,并且可以循环以上步骤,直到找到业务接入码的落地网元,由此可进一步获得一张完整的交换网话路拓扑,由于在建立通信连接的过程中使用到网元设备的全球唯一标识,可有效屏蔽不同厂家设备之间的差异,提高建立通信连接方法的通用性。It can be seen from the above technical solution that firstly, the network element equipment that the service passes through establishes a communication connection, and according to different equipment manufacturers, send relevant information query instructions to the network element equipment to obtain the analysis result of the service access code of the network element equipment, and then according to the service access code The result of code analysis obtains the globally unique identifier of the next-hop network element device, establishes a communication connection with the next-hop network element device according to the globally unique identifier, and sends a query command for relevant information to the next-hop network element device,... ..., and the above steps can be repeated until the landing network element of the service access code is found, and a complete switching network topology can be further obtained, because the network element equipment is used in the process of establishing a communication connection The global unique identification of the , can effectively shield the differences between equipment from different manufacturers, and improve the versatility of the method of establishing a communication connection.

附图说明 Description of drawings

图1为本发明的实施例中建立通信连接的方法流程图;Fig. 1 is a flow chart of a method for establishing a communication connection in an embodiment of the present invention;

图2为本发明的实施例中自动计算交换网话路拓扑的方法的原理图;Fig. 2 is a schematic diagram of a method for automatically calculating the topology of a switched network in an embodiment of the present invention;

图3A为本发明的实施例一中计算华为设备交换网话路拓扑的方法流程图;FIG. 3A is a flowchart of a method for calculating the topology of the switching network of Huawei equipment in Embodiment 1 of the present invention;

图3B为本发明的实施例一中计算华为设备交换网话路拓扑的方法流程图;Fig. 3B is a flow chart of the method for calculating the topology of the switching network of Huawei equipment in Embodiment 1 of the present invention;

图4为本发明的实施例二中计算爱立信设备交换网话路拓扑的方法流程图;Fig. 4 is the flow chart of the method for calculating the Ericsson equipment switching network voice topology in the second embodiment of the present invention;

图5为本发明的实施例三中计算中兴设备交换网话路拓扑的方法流程图;5 is a flowchart of a method for calculating the topology of the ZTE equipment switching network in Embodiment 3 of the present invention;

图6为本发明的实施例中建立通信连接的装置结构框图。Fig. 6 is a structural block diagram of a device for establishing a communication connection in an embodiment of the present invention.

具体实施方式 Detailed ways

在本实施例中,首先业务经过的网元设备建立通信连接,然后向该网元设备发送相关信息的查询指令,获取网元设备的业务接入码分析结果,从中计算出下一跳网元设备的全球唯一标识,根据该全球唯一标识再与下一跳网元设备建立通信连接,向该下一跳网元设备发送相关信息的查询指令,......,循环以上步骤,直到找到业务接入码的落地网元,由此可进一步获得一张完整的交换网话路拓扑。In this embodiment, firstly, the network element device through which the service passes establishes a communication connection, and then sends a query command for related information to the network element device, obtains the service access code analysis result of the network element device, and calculates the next-hop network element The global unique identifier of the device, according to the global unique identifier, establishes a communication connection with the next-hop network element device, sends a query command for related information to the next-hop network element device, ..., and repeats the above steps until Find the landing network element of the service access code, so as to further obtain a complete voice topology of the switching network.

为了使本发明实施例的目的、技术方案和优点更加清楚明白,下面结合实施例和附图,对本发明实施例做进一步详细地说明。在此,本发明的示意性实施例及说明用于解释本发明,但并不作为对本发明的限定。In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the embodiments and the accompanying drawings. Here, the exemplary embodiments and descriptions of the present invention are used to explain the present invention, but not to limit the present invention.

如图1所示,为本发明的实施例中建立通信连接的方法流程图,具体步骤如下:As shown in Figure 1, it is a flowchart of a method for establishing a communication connection in an embodiment of the present invention, and the specific steps are as follows:

步骤101、与业务经过的网元设备建立通信连接,并向该网元设备发送查询指令,获取该网元设备的起呼信息或入局信息;Step 101. Establish a communication connection with the network element equipment that the service passes through, and send a query command to the network element equipment to obtain the call origination information or incoming call information of the network element equipment;

上述起呼信息包括:后续查询路由信息所需的条件参数,例如呼叫源名称。该呼叫信息中包括的参数数量和参数名称,可能会因设备厂家的不同而有所差异,在本实施例中,可根据具体情况(例如不同厂家设备)来获取相应的起呼信息。The above call origination information includes: conditional parameters required for subsequent query of routing information, such as call source name. The number of parameters and parameter names included in the call information may vary due to different equipment manufacturers. In this embodiment, the corresponding call initiation information can be obtained according to specific situations (for example, equipment from different manufacturers).

上述入局信息包括:后续分析所需的条件参数,例如相邻局号、中继群名、呼叫源名称、号首集、号码分析选择子等。上述参数可能会因不同的相邻网元设备而有所不同。在本实施例中,可根据具体情况来获取相应的入局信息。The above incoming information includes: condition parameters required for subsequent analysis, such as adjacent office number, trunk group name, call source name, number prefix set, number analysis selector, etc. The above parameters may vary with different adjacent network element devices. In this embodiment, the corresponding incoming information can be obtained according to specific situations.

步骤102、根据起呼信息或入局信息,以及该业务的业务接入码,通过查询呼叫号码分析配置,获得该网元设备的业务接入码分析结果,该业务接入码分析结果包括出局路由索引;Step 102, according to the calling information or incoming information, and the service access code of the service, by querying the call number analysis configuration, the service access code analysis result of the network element device is obtained, and the service access code analysis result includes the outbound route index;

上述业务接入码分析结果是指后续计算所需的条件参数值,例如出局路由索引、号码变换索引、号码类型等。The above service access code analysis results refer to condition parameter values required for subsequent calculations, such as outbound routing index, number conversion index, number type, and the like.

步骤103、根据该出局路由索引,从该业务接入码分析结果中提取出局路由信息;Step 103, extracting outbound routing information from the analysis result of the service access code according to the outbound routing index;

也就是,根据步骤102中获取的出局路由索引,通过查询系统的出局路由配置,从业务接入码分析结果中提取出局路由信息和负荷分担比例。该出局路由信息是后续查询系统数据所需的一个索引,而负荷分担比例是指存在多个出局路由的情况时,业务被分配到各出局路由的比例。That is, according to the outbound route index obtained in step 102, the outbound route configuration of the system is queried, and the outbound route information and load sharing ratio are extracted from the service access code analysis results. The outbound route information is an index required for subsequent query of system data, and the load sharing ratio refers to the proportion of business allocated to each outbound route when there are multiple outbound routes.

步骤104、根据该出局路由信息,查询出局路由配置,获取该网元设备的下一跳网元设备的全球唯一标识;Step 104. According to the outgoing routing information, query the outgoing routing configuration, and obtain the globally unique identifier of the next-hop network element device of the network element device;

上述出局路由配置中包含了所有相邻网元设备的全球唯一标识,根据步骤103中获取的出局路由信息,通过系统查询指令,可从系统的输出结果中提取所需的标识。The above outbound routing configuration includes globally unique identifiers of all adjacent network element devices. According to the outbound routing information obtained in step 103, the required identifiers can be extracted from the output results of the system through system query instructions.

上述网元设备的全球唯一标识可以是该网元设备的7号信令点编码。The global unique identifier of the above network element equipment may be the No. 7 signaling point code of the network element equipment.

步骤105、根据该下一跳网元设备的全球唯一标识,与下一跳网元设备建立通信连接,然后返回步骤101;Step 105: Establish a communication connection with the next-hop network element device according to the globally unique identifier of the next-hop network element device, and then return to step 101;

循环以上步骤101~105,直到找到业务接入码的落地网元设备,由此可获得完整的交换网话路拓扑。The above steps 101-105 are repeated until the network element device of the service access code is found, so as to obtain the complete voice path topology of the switching network.

在本实施例中,在执行步骤101中还可判断该网元设备是否为发起业务的第一跳网元设备,若该网元设备为是第一跳网元设备,则向所述网元设备发送查询指令,获取所述网元设备的起呼信息或入局信息;In this embodiment, in step 101, it can also be judged whether the network element device is the first hop network element device that initiates the service, and if the network element device is the first hop network element device, then the network element device The device sends a query command to obtain the call origination information or incoming call information of the network element device;

若该网元设备不是第一跳网元设备,则根据网元设备的上一跳网元设备的信息,获取该网元设备的入局信息,然后再执行步骤102。If the network element device is not the first hop network element device, the incoming information of the network element device is obtained according to the information of the previous hop network element device of the network element device, and then step 102 is executed.

上述第一跳网元设备,为业务起始的网元设备,也就是发起该业务的网络位置,可由交换网系统的使用者确定。The above-mentioned first-hop network element device is the network element device that initiates the service, that is, the network location where the service is initiated, and can be determined by the user of the switching network system.

因为有些情况是为了做一些特殊的业务分析,在相同的相邻局间设置了多个中继群(即分群),入局后对这些不同中继群上的业务可能会做不同的处理,因此所配置的入局信息会不一样,因此也可判断下所选的入局信息是否准确。Because in some cases, for some special business analysis, multiple trunk groups (that is, grouping) are set up between the same adjacent offices, and the services on these different trunk groups may be handled differently after entering the office, so The configured incoming information will be different, so you can also judge whether the selected incoming information is accurate.

在本实施例中,当判断出该网元设备不是第一跳网元设备时,该步骤101中还可进一步判断是否存在多个入局中继群,如果存在多个入局中继群,且多个入局中继群的入局信息一致时,则获取所述网元设备的入局信息;In this embodiment, when it is determined that the network element device is not the first hop network element device, it may be further determined in step 101 whether there are multiple incoming trunk groups, and if there are multiple incoming trunk groups, and the When the incoming information of the two incoming trunk groups is consistent, then obtain the incoming information of the network element device;

若存在多个入局中继群,且多个入局中继群的入局信息不一致时,则可根据网元设备的上一跳网元设备的电路标识码(CIC)重新选取入局信息,然后执行步骤102;If there are multiple incoming trunk groups, and the incoming information of multiple incoming trunk groups is inconsistent, the incoming information can be reselected according to the circuit identification code (CIC) of the last hop network element device of the network element device, and then perform the steps 102;

在本实施例中,在执行步骤103之前,可判断该业务接入码分析结果是否为本局落地号码(判断是否为本局落地号码的步骤),若是,则该网元设备为该交换网话路拓扑的终点;若不是,则可执行步骤103;In this embodiment, before step 103 is executed, it can be judged whether the analysis result of the service access code is the landing number of the local office (the step of judging whether it is the landing number of the local office), if so, the network element device is the telephone line of the switching network The end point of the topology; if not, step 103 can be performed;

当然,在执行上述判断是否为本局落地号码的步骤之前,还可判断该业务接入码分析结果是否需要进行号码变换,若需要进行号码变换,则根据该业务接入码分析结果中的号码变换索引,通过查看号码变换配置,对该业务接入码分析结果进行号码变换,然后执行步骤103。Of course, before performing the above step of judging whether it is the landing number of the local office, it is also possible to judge whether the service access code analysis result needs to be changed. Index, by checking the number conversion configuration, perform number conversion on the analysis result of the service access code, and then perform step 103.

若不需要进行号码变换时,则执行判断是否为本局落地号码的步骤。If it is not necessary to change the number, then perform the step of judging whether it is the landing number of the local office.

由上述技术方案可知,首先业务经过的网元设备建立通信连接,根据不同的设备厂家,向该网元设备发送相关信息的查询指令,获取网元设备输出信息,从中计算出下一跳网元设备的全球唯一标识,根据该全球唯一标识再与下一跳网元设备建立通信连接,向该下一跳网元设备发送相关信息的查询指令......循环以上步骤,直到找到业务接入码的落地网元,由此计算出一张完整的交换网话路拓扑,由于在计算交换网话路拓扑的过程中使用到网元设备的全球唯一标识,因此可有效屏蔽不同厂家设备之间的差异,提高计算交换网话路拓扑的通用性。It can be known from the above technical solution that firstly, the network element equipment that the business passes through establishes a communication connection, and according to different equipment manufacturers, send relevant information query instructions to the network element equipment, obtain the output information of the network element equipment, and calculate the next hop network element The global unique identifier of the device, according to the global unique identifier, establishes a communication connection with the next-hop network element device, and sends a query command for relevant information to the next-hop network element device... Repeat the above steps until the service is found The landing network element of the access code can calculate a complete switching network topology. Since the global unique identifier of the network element device is used in the process of calculating the switching network topology, it can effectively shield the equipment of different manufacturers. The difference between them improves the versatility of computing the topology of the switched network.

参考图2,该图示出了自动计算交换网话路拓扑的方法的原理图。在执行以下步骤之前,可预先确定需要计算的业务接入码和发起该业务的具体网络位置,在与发起该业务的网元设备建立通信连接后,按照以下步骤进行相应的查询操作和计算操作,具体步骤如下:Referring to FIG. 2 , this figure shows a schematic diagram of a method for automatically calculating the topology of a switching network. Before performing the following steps, you can predetermine the service access code to be calculated and the specific network location where the service is initiated. After establishing a communication connection with the network element device that initiated the service, follow the steps below to perform corresponding query operations and calculation operations ,Specific steps are as follows:

步骤201、判断待查询的网元设备是否为发起该业务的第一跳网元设备,若是,执行步骤202;否则,执行步骤203;Step 201, determine whether the network element device to be queried is the first hop network element device that initiates the service, if so, perform step 202; otherwise, perform step 203;

上述第一跳网元设备,即业务的起始网元设备,也就是发起该业务的网络位置,可由交换网系统使用者预先设定。The above-mentioned first-hop network element device, that is, the initial network element device of the service, that is, the network location where the service is initiated, can be preset by the switching network system user.

步骤202、如果是第一跳网元设备,则根据预先确定的发起业务的网络位置(如某无线小区),查询系统数据配置,获取相关的起呼信息。Step 202: If it is the first hop network element device, query the system data configuration according to the predetermined network location (such as a certain wireless cell) where the service is initiated, and obtain relevant call origination information.

也就是,根据使用者输入的无线小区名或标识或编码等,通过查询系统的数据配置,得到进行后续分析所需要的条件参数(例如呼叫源名称),由于不同设备厂家使用的具体系统参数不同,所以要查询的具体配置也有所不同。That is, according to the wireless cell name or logo or code input by the user, the condition parameters (such as the name of the call source) required for subsequent analysis are obtained by querying the data configuration of the system. Since the specific system parameters used by different equipment manufacturers are different , so the specific configuration to be queried is also different.

上述起呼信息包括:后续查询路由信息所需的条件参数,例如呼叫源名称,而上述参数的数量和名称会因为设备厂家的不同而有所差异。The above call origination information includes: conditional parameters required for subsequent query of routing information, such as the name of the call source, and the number and names of the above parameters will vary due to different device manufacturers.

步骤203、如果不是第一跳网元设备,则可根据上一跳网元设备的信息,查询系统数据,获取相关的入局信息。Step 203, if it is not the first hop network element device, query system data according to the information of the previous hop network element device, and obtain relevant incoming information.

也就是,根据上一跳网元设备的全球唯一标识(如7号信令点编码),以及与本跳网元设备之间连接信息(如电路标识码CIC)等,查询系统数据,从而获取后续分析所需要的条件参数值(入局信息)。That is, according to the globally unique identifier of the previous hop network element device (such as the No. 7 signaling point code), and the connection information (such as the circuit identification code CIC) with the current hop network element device, etc., the system data is queried to obtain Condition parameter values (incoming information) required for subsequent analysis.

上述系统数据是指:相邻局间连接所需配置的数据,如局向数据、中继群数据、子路由数据、呼叫源数据等,由于不同设备厂家的系统数据结构不一样,因此所需查询的配置数据也有所不同。在本实施例中,可根据具体情况,进行预先设定该系统数据。The above system data refers to the data required for the connection between adjacent offices, such as office direction data, trunk group data, sub-routing data, call source data, etc. Since the system data structures of different equipment manufacturers are different, the required The configuration data for queries is also different. In this embodiment, the system data can be preset according to specific conditions.

上述入局信息,包括后续分析所需要的条件参数值,例如:相邻局号、中继群名、呼叫源名称、号首集、号码分析选择子等,上述参数值会因为不同的相邻网元设备而有所不同,在本实施例中,可根据具体情况来选取相应的入局信息。The above incoming information includes conditional parameter values required for subsequent analysis, such as: adjacent office number, trunk group name, call source name, number prefix set, number analysis selector, etc. The above parameter values will vary depending on different adjacent network It is different depending on the meta-device. In this embodiment, the corresponding incoming information can be selected according to the specific situation.

步骤204、若存在多个入局中继群,则比较各入局信息是否一致,若一致,则执行步骤206,若不一致,则执行步骤205;Step 204, if there are multiple incoming trunk groups, compare whether the incoming information is consistent, if consistent, execute step 206, if not, execute step 205;

因为有些情况是为了做一些特殊的业务分析,在相同的相邻局间设置了多个中继群(即分群),入局后对这些不同中继群上的业务可能会做不同的处理,因此所配置的入局信息会不一样。Because in some cases, for some special business analysis, multiple trunk groups (that is, grouping) are set up between the same adjacent offices, and the services on these different trunk groups may be handled differently after entering the office, so The configured incoming information will be different.

步骤205、若多个中继群的入局信息不一致,则可根据上一跳网元设备所选取的出局路标识码,判断应该选取哪个中继群的入局信息。Step 205 , if the incoming information of multiple trunk groups is inconsistent, it may be determined which trunk group's incoming information should be selected according to the outgoing route identification code selected by the last hop network element device.

在传统的电路传输中,是可以根据电路标识码来唯一指出相邻局间的一个电路设备。也就是,比较CIC值范围,确定所需中继群的呼叫源。In traditional circuit transmission, a circuit device between adjacent offices can be uniquely pointed out according to the circuit identification code. That is, the range of CIC values is compared to determine the call source of the desired trunk group.

步骤206、根据起呼信息或入局信息,以及业务接入码,查询系统数据,获取业务号码分析结果,然后执行步骤207;Step 206, according to the calling information or incoming information, and the service access code, query the system data, obtain the service number analysis result, and then perform step 207;

在本步骤中,查询的系统数据主要是呼叫号码分析配置,即通过查询呼叫号码分析配置的指令,系统会输出查询结果,根据上述步骤获得的起呼信息或入局信息,从系统输出的查询结果中提取出后续计算所需要的业务号码分析结果。In this step, the system data to be queried is mainly the call number analysis configuration, that is, the system will output the query result by querying the call number analysis configuration command, and the query result output from the system according to the call origination information or incoming call information obtained in the above steps Extract the business number analysis results required for subsequent calculations.

上述业务号码分析结果,是指后续计算所需要的条件参数,如出局路由索引、号码变换索引、号码类型等。The analysis result of the above business number refers to the conditional parameters required for subsequent calculations, such as outbound routing index, number conversion index, number type, etc.

步骤207、判断业务号码分析结果是否需进行号码变换,若需要变换,则执行步骤208;否则,执行步骤210;Step 207, judging whether the service number analysis result needs to be changed, if it needs to be changed, then execute step 208; otherwise, execute step 210;

在步骤206中所获取的业务号码分析结果中包含了是否需要进行号码变换的标识。The business number analysis result acquired in step 206 includes an indication of whether number conversion is required.

步骤208、若需进行号码变换,则查询号码变换配置,并进行号码变换,然后执行步骤209;Step 208, if number change is required, query the number change configuration, and perform number change, and then perform step 209;

根据步骤206中获取的业务号码分析结果中的号码变换索引,通过系统查询指令,查看号码变化配置,按系统的输出结果进行变换。According to the number change index in the business number analysis result obtained in step 206, the number change configuration is checked through the system query command, and the change is performed according to the output result of the system.

步骤209、根据号码变换配置,判断号码变换后是否需要重新进行号码分析,如果是,返回步骤206;否则,执行步骤211;Step 209, according to the number conversion configuration, determine whether the number analysis needs to be performed again after the number conversion, if yes, return to step 206; otherwise, execute step 211;

在步骤208中的系统输出结果中会显示是否需要重新进行号码分析,如果显示需要重新进行号码分析,则经过步骤209判断后,返回步骤206;否则,执行步骤211。In the output result of the system in step 208, it will be displayed whether the number analysis needs to be carried out again, if it is displayed that the number analysis needs to be carried out again, then after step 209 is judged, return to step 206; otherwise, execute step 211.

步骤210、若不需要进行号码变换,则判断业务号码分析结果是否为本局落地号码,如果是,则结束本流程;如果不是,则执行步骤211;Step 210, if it is not necessary to change the number, then judge whether the service number analysis result is the landing number of this office, if yes, then end this process; if not, then execute step 211;

上述本局落地号码,是指在本网元设备送出核心网的号码,也就表示本网元设备是所计算的交换网路拓扑的终点。The above landing number of the local office refers to the number sent from the core network by the network element device, which means that the network element device is the end point of the calculated switching network topology.

步骤211、若非本局落地号码,则继续出局路由配置,获取出局路由和负荷分担比例,然后执行步骤212;Step 211, if it is not the landing number of the local office, then continue the outbound route configuration, obtain the outbound route and the load sharing ratio, and then perform step 212;

根据步骤206中获取的出局路由索引,通过系统查询指令,从系统的输出结果中提取出局路由信息和负荷分担比例。According to the outbound route index obtained in step 206, the outbound route information and the load sharing ratio are extracted from the output result of the system through the system query command.

上述出局路由是指后续查询系统数据所需要的一个索引。上述负荷分担比例是指存在多个出局路由的情况,业务被分配到各出局路由的比例。The above outbound route refers to an index required for subsequent query of system data. The above load sharing ratio refers to the ratio of services allocated to each outgoing route when there are multiple outgoing routes.

在本实施例中,可对拓扑中逐跳网元设备可进行串行的查询,对拓扑中同一跳的多个负荷分担的网元设备进行并行的查询。In this embodiment, serial query can be performed on hop-by-hop network element devices in the topology, and parallel query can be performed on multiple load-sharing network element devices in the same hop in the topology.

步骤212、根据出局路由信息,继续查询出局路由配置或局向配置,获取下一跳网元设备的全球唯一标识(如七号信令点),然后执行步骤213;Step 212, according to the outbound routing information, continue to query the outbound routing configuration or office direction configuration, obtain the global unique identifier of the next-hop network element device (such as signaling point No. 7), and then perform step 213;

在局路由配置或局向配置中包含了所有相邻网元设备的全球唯一标识,根据步骤211中获取的出局路由,通过系统查询指令,从系统的输出结果中提取所需的下一跳网元设备的全球唯一标识。The global unique identifiers of all adjacent network element devices are included in the office route configuration or office direction configuration. According to the outbound route obtained in step 211, the required next-hop network is extracted from the output result of the system through the system query command. A globally unique identifier for the metadevice.

步骤213:继续出局中继群配置,获取相关出局信息。Step 213: Continue the configuration of the outgoing trunk group to obtain relevant outgoing information.

根据步骤211获得的出局路由,通过系统查询指令,从系统输出结果中提取如电路标识码等在下一跳网元设备在计算交换网话路拓扑中所需要的信息。According to the outbound route obtained in step 211, the system query command is used to extract information such as the circuit identification code and other information required by the next-hop network element device in calculating the topology of the switched network from the output result of the system.

重复步骤201~213,直至找到业务号码的本局落地号码对应网元设备,即业务的最终归属网元设备。该落地网元设备也就是本局落地号码对应的网元设备,即所计算的交换网路拓扑的终点。Steps 201 to 213 are repeated until the network element device corresponding to the local office landing number of the service number is found, that is, the network element device to which the service ultimately belongs. The landing network element device is the network element device corresponding to the landing number of the local office, that is, the end point of the calculated switching network topology.

本发明的实施例中,可根据所查询的设备厂家类型,进行相对应的系统数据查询操作。下面通过三个具体的实施例来介绍,实施例一、实施例二和实施例三分别列举了目前应用比较普遍的厂家——华为、爱立信、中兴设备的实例。虽然不同设备厂家的具体数据配置细节和指令不相同,但本领域技术人员可根据具体情况,进行相应的操作。因此对于以上所举实例以外的其他厂家设备,只要是符合行业标准,就能根据图2中的步骤给出相应的指令,来完成自动计算交换网话路拓扑的过程。In the embodiment of the present invention, the corresponding system data query operation can be performed according to the type of the device manufacturer being queried. The following three specific embodiments are introduced. Embodiment 1, Embodiment 2 and Embodiment 3 respectively list the examples of the manufacturers that are widely used at present——Huawei, Ericsson, and ZTE equipment. Although the specific data configuration details and instructions of different equipment manufacturers are different, those skilled in the art can perform corresponding operations according to specific situations. Therefore, for equipment from other manufacturers other than the examples mentioned above, as long as they meet industry standards, corresponding instructions can be given according to the steps in Figure 2 to complete the process of automatically calculating the topology of the switched network.

实施例一Embodiment one

参见图3A~3B,为本发明的实施例一中计算华为设备交换网话路拓扑的方法流程图,具体步骤如下:Referring to Figures 3A to 3B, it is a flow chart of a method for calculating the topology of the switching network of Huawei equipment in Embodiment 1 of the present invention, and the specific steps are as follows:

步骤301、业务发起网元设备是否为第一跳网元,若是,执行步骤302.1;否则,执行步骤303.1Step 301, whether the service originating network element device is the first hop network element, if yes, execute step 302.1; otherwise, execute step 303.1

步骤302.1、查询2G(第二代通信技术)位置区域或小区信息数据的配置信息,获取呼叫源名称、局向名称,然后执行步骤302.2;Step 302.1, query the configuration information of 2G (second generation communication technology) location area or cell information data, obtain the call source name and office route name, and then execute step 302.2;

步骤302.2、查询呼叫源数据的配置信息,获取号首集和路由选择源名称,然后执行步骤302.3;Step 302.2, query the configuration information of the call source data, obtain the prefix set and the routing source name, and then execute step 302.3;

步骤302.3、查询A接口中继群数据的配置信息,获取起呼的媒体网关,然后执行步骤306;Step 302.3, query the configuration information of the trunk group data on the A interface, obtain the media gateway for calling, and then perform step 306;

步骤303.1、判断局间是否使用BICC协议(Bearer Independent Call Controlprotoco),是ITU-TSG11小组制订的与承载无关的呼叫控制协议)?若是,执行步骤303.2;否则,执行步骤303.5;Step 303.1. Determine whether the inter-office uses the BICC protocol (Bearer Independent Call Control protocol), which is a bearer-independent call control protocol formulated by the ITU-TSG11 group)? If yes, go to step 303.2; otherwise, go to step 303.5;

步骤303.2、查询局向数据的配置信息,获取呼叫源名称,然后执行步骤303.3;Step 303.2, query the configuration information of the office route data, obtain the call source name, and then execute step 303.3;

步骤303.3、查询呼叫源数据的配置信息,获取号首集和路由选择名称,然后执行步骤303.4;Step 303.3, query the configuration information of the call source data, obtain the prefix set and routing name, and then execute step 303.4;

步骤303.4、查询局向数据的配置信息、路由数据的配置信息、中继群数据的配置信息,获取入局媒体网关名称,然后执行303.8;Step 303.4, query the configuration information of the office direction data, the configuration information of the routing data, and the configuration information of the trunk group data, obtain the name of the incoming media gateway, and then execute 303.8;

步骤303.5、根据上一跳网元设备的信令点和本网元的信令点,查询指定局向的中继电路的配置信息,获取入局中继群名称及CIC值范围,然后执行步骤303.6;Step 303.5. According to the signaling point of the last hop network element device and the signaling point of this network element, query the configuration information of the trunk circuit of the specified office direction, obtain the name of the incoming trunk group and the range of the CIC value, and then execute the step 303.6;

上述信令点,可以是网元设备的全球唯一标识。The above-mentioned signaling point may be a globally unique identifier of the network element device.

步骤303.6、查询中继群数据的配置信息,获取呼叫源名称,然后执行步骤303.7;Step 303.6, query the configuration information of the trunk group data, obtain the call source name, and then execute step 303.7;

步骤303.7、查询呼叫源数据的配置信息,获取号首集和路由选择源名称,然后执行步骤304;Step 303.7, query the configuration information of the call source data, obtain the prefix set and the routing source name, and then execute step 304;

步骤303.8、查询媒体网关数据的配置信息,获取入局的媒体网关(MGW),然后执行步骤306;Step 303.8, query the configuration information of the media gateway data, obtain the incoming media gateway (MGW), and then perform step 306;

步骤304、判断是否找到多个入局中继群,且呼叫源名称不相同?若是,执行步骤305;否则,执行步骤303.8;Step 304, judging whether multiple incoming trunk groups are found, and the call source names are different? If yes, go to step 305; otherwise, go to step 303.8;

步骤305、比较CIC值范围,确定所需中继群的呼叫源码,然后执行步骤303.8;Step 305, compare the CIC value range, determine the call source code of the required trunk group, and then execute step 303.8;

步骤306、查询呼叫字冠数据的配置信息,然后执行步骤307;Step 306, query the configuration information of the call prefix data, and then perform step 307;

步骤307、判断号首处理标识是否为“是”,若是,执行步骤308.1;否则,执行步骤310.1Step 307, judge whether the header processing flag is "yes", if so, execute step 308.1; otherwise, execute step 310.1

步骤308.1、查询号首处理数据记录,获取号码变换名称,然后执行步骤308.2;Step 308.1, query the number prefix processing data record, obtain the number conversion name, and then execute step 308.2;

步骤308.2、查询号码变换数据的配置信息,获取号码变换类型,进行号码变换,然后执行步骤308.3;Step 308.2, query the configuration information of the number change data, obtain the type of number change, perform number change, and then execute step 308.3;

步骤308.3、判断号首处理方式是否为“不处理”,若是,执行步骤311.1;否则,执行步骤309;Step 308.3. Determine whether the header processing method is "no processing", if so, execute step 311.1; otherwise, execute step 309;

也就是,判断是否需要进行号码变换。That is, it is judged whether or not number conversion is necessary.

步骤309、判断号首处理方式是否为“重新号码分析”,若是,执行步骤306;否则,结束本流程。Step 309 , judging whether the number header processing method is "re-number analysis", if so, execute step 306; otherwise, end this process.

也就是,判断是否需要重新进行号码变换。That is, it is judged whether it is necessary to perform number conversion again.

步骤310.1、判断被叫号码类型是否为“MSISDN(综合业务数字网)号码”若是,执行步骤310.2;否则,执行步骤311.1;Step 310.1, determine whether the called number type is "MSISDN (Integrated Services Digital Network) number" and if so, execute step 310.2; otherwise, execute step 311.1;

步骤310.2、查询HLR(归属位置寄存器)获取用户当前登记的VLRADDRESS(拜访位置寄存器地址),并在后面补“123”,形成11位的MSRN(移动台漫游号)号码返回,然后执行步骤310.3;Step 310.2, query HLR (home location register) to obtain the VLRADDRESS (visitor location register address) currently registered by the user, and add "123" at the back to form 11-bit MSRN (mobile station roaming number) number and return, then perform step 310.3;

步骤310.3、查询本局的相关信息,获取网元归属的国家码,然后执行步骤310.4;Step 310.3, query the relevant information of the office, obtain the country code to which the network element belongs, and then execute step 310.4;

步骤310.4、判断MSRN号码的前缀是否为“国家码”,若是,执行步骤310.5;否则,执行步骤306;Step 310.4, determine whether the prefix of the MSRN number is "country code", if so, execute step 310.5; otherwise, execute step 306;

步骤310.5、查询移动本国接入码数据的配置信息,获取移动本国码,然后执行步骤310.5;Step 310.5, query the configuration information of the mobile home country access code data, obtain the mobile home country code, and then execute step 310.5;

步骤310.6、判断MSRN号码的第3~5位是否为“移动本国接入码”,若是,执行步骤310.7;否则,执行步骤306;Step 310.6, judging whether the 3rd to 5th digits of the MSRN number are "mobile country access code", if so, go to step 310.7; otherwise, go to step 306;

步骤310.7、删除MSRN号码的前2位,然后执行步骤306;Step 310.7, delete the first 2 digits of the MSRN number, and then execute step 306;

步骤311.1、(接步骤310.1)查询路由分析数据的配置信息,获取路由名称,然后执行步骤311.2;Step 311.1, (continued from step 310.1) query the configuration information of the routing analysis data, obtain the routing name, and then execute step 311.2;

步骤311.2、查询路由数据的配置信息,获取出局局向、子路由和负荷分担比例,然后执行步骤312;Step 311.2, query the configuration information of routing data, obtain the outgoing office direction, sub-routes and load sharing ratio, and then execute step 312;

步骤312、查询局向数据的配置信息,获取下一跳网元设备的信令点和信令点类别,然后执行步骤313.1;Step 312, query the configuration information of the office data, obtain the signaling point and signaling point category of the next-hop network element device, and then execute step 313.1;

上述网元设备的信令点可以是全球唯一标识;The signaling point of the above-mentioned network element equipment can be a globally unique identifier;

步骤313.1、查询子路由数据的配置信息,获取出局中继群名称,然后执行步骤313.2;Step 313.1, query the configuration information of the sub-routing data, obtain the name of the outgoing trunk group, and then execute step 313.2;

步骤313.2、查询中继群数据的配置信息,获取出局媒体网关及CIC范围值。Step 313.2, query the configuration information of the trunk group data, and obtain the outbound media gateway and the CIC range value.

循环以上步骤,直到找到业务接入码的落地网元设备,由此可获得完整的交换网话路拓扑Repeat the above steps until you find the landing network element device of the service access code, so that you can get the complete switching network voice topology

实施例二Embodiment two

参见图4,为本发明的实施例二中计算爱立信设备交换网话路拓扑的方法流程图,具体步骤如下:Referring to Fig. 4, it is a flow chart of the method for calculating the Ericsson equipment switching network voice topology in the second embodiment of the present invention, and the specific steps are as follows:

步骤401、判断业务发起网元设备是否为第一跳网元设备,若是,执行步骤402;否则,执行步骤413;Step 401, judging whether the service originating network element device is the first hop network element device, if so, execute step 402; otherwise, execute step 413;

步骤402、查询IMSIS分析表、本局小区信息表、获取BO(被叫号码分析源)值、BSC(基站控制器)名和RO(路由分析源)值,然后执行步骤403;Step 402, query the IMSIS analysis table, the local office cell information table, obtain BO (called number analysis source) value, BSC (base station controller) name and RO (route analysis source) value, and then perform step 403;

步骤403、查询BSC信息表,获取起呼的媒体网关组名,然后执行步骤404;Step 403, query the BSC information table, obtain the group name of the media gateway that initiates the call, and then perform step 404;

步骤404、判断是否有媒体网关组名,若是,执行步骤405;否则,执行步骤406;Step 404, judge whether there is a media gateway group name, if so, execute step 405; otherwise, execute step 406;

步骤405、查询媒体网关组信息表,获取入局媒体网关,然后执行步骤406;Step 405, query the media gateway group information table, obtain the incoming media gateway, and then execute step 406;

步骤406、查询被叫号码分析表,获取路由分析码,然后执行步骤407;Step 406, query the called number analysis table, obtain the routing analysis code, and then perform step 407;

步骤407、查询路由分析表,获取路由名,然后执行步骤408;Step 407, query the route analysis table, obtain the route name, and then perform step 408;

步骤408、查询路由表,获取对端信令点、设备类型、媒体网关组等信息,然后执行步骤409;Step 408, query the routing table, obtain information such as the peer signaling point, device type, media gateway group, and then perform step 409;

步骤409、判断设备类型是否为“GRI”,若是,执行步骤410;否则,执行步骤411;Step 409, determine whether the device type is "GRI", if so, execute step 410; otherwise, execute step 411;

步骤410、查询HLR获取用户当前登记的VLR ADDRESS,并在后面补“123”,形成11位的MSRN号码返回。BO值为GRI路由里的BO参数值,然后执行步骤406;Step 410, query the HLR to obtain the VLR ADDRESS currently registered by the user, and add "123" at the back to form an 11-digit MSRN number and return. The BO value is the BO parameter value in the GRI route, and then execute step 406;

步骤411、判断是否有媒体网关组名,若是,执行步骤412;否则,结束本流程。Step 411, judge whether there is a media gateway group name, if yes, execute step 412; otherwise, end this process.

步骤412、查询媒体网关组信息表,获取出局媒体网关,然后结束本流程。Step 412, query the media gateway group information table, obtain the outbound media gateway, and then end this process.

步骤413、(接步骤401)查询路由表,获取BO值,然后执行步骤414;Step 413, (continuing to step 401) query the routing table, obtain the BO value, and then perform step 414;

步骤414、判断是否有媒体网关组名,若是,执行步骤415;否则,执行步骤416;Step 414, judge whether there is a media gateway group name, if so, execute step 415; otherwise, execute step 416;

步骤415、查询媒体网关组信息表,获取入局媒体网关,然后执行步骤416;Step 415, query the media gateway group information table, obtain the incoming media gateway, and then execute step 416;

步骤416、判断是否找到多个入局路由,且BO值不相同,若是,执行步骤417;否则,执行步骤406;Step 416, judging whether multiple incoming routes are found, and the BO values are different, if so, execute step 417; otherwise, execute step 406;

步骤417、在上一跳网元设备查询路由设备信息表,获取CIC值范围,然后执行步骤418;Step 417, query the routing device information table on the last hop network element device, obtain the CIC value range, and then execute step 418;

步骤418、在本网元设备查询路由设备信息表,获取BO值,然后执行步骤406。Step 418 , query the routing device information table on the local network element device to obtain the BO value, and then execute step 406 .

循环以上步骤,直到找到业务接入码的落地网元设备,由此可获得完整的交换网话路拓扑。Repeat the above steps until the landing network element device of the service access code is found, so that the complete switching network voice topology can be obtained.

实施例三Embodiment Three

参见图5,为本发明的实施例中计算中兴设备交换网话路拓扑的方法流程图,具体步骤如下:Referring to Fig. 5, it is a flow chart of the method for calculating the topology of the ZTE equipment switching network in an embodiment of the present invention, and the specific steps are as follows:

步骤501、查询本局信令点的配置,获取网络类别,然后执行步骤502;Step 501, query the configuration of the signaling point of the local office, obtain the network category, and then perform step 502;

步骤502、查询邻接局的基本信息,获取邻接局号,然后执行步骤503;Step 502, query the basic information of the adjacent office, obtain the adjacent office number, and then perform step 503;

步骤503、查询中继组的配置信息,获取号码分析选择子,然后执行步骤504;Step 503, query the configuration information of the trunk group, obtain the number analysis selector, and then execute step 504;

步骤504、判断是否存在有多个中继组,且被叫号码分析选择子不相同?若是,执行步骤505;否则执行步骤508;Step 504, judging whether there are multiple trunk groups and the called number analysis selectors are different? If yes, execute step 505; otherwise execute step 508;

步骤505、在上一跳网元根据出局中继组查询PCM(脉码调制)系统配置,获取PCM系统号,然后执行步骤506;Step 505, query the PCM (pulse code modulation) system configuration according to the outgoing trunk group at the last hop network element, obtain the PCM system number, and then perform step 506;

步骤506、在本跳网元查询PCM系统配置,获取中继组编号,然后执行步骤507;Step 506, query the configuration of the PCM system at the network element of this hop, obtain the trunk group number, and then perform step 507;

步骤507、查询中继组的配置信息,获取被叫号码分析选择子,然后执行步骤508;Step 507, query the configuration information of the trunk group, obtain the called number analysis selector, and then execute step 508;

步骤508、查询号码分析选择子配置,获取分析分析器入口,然后执行步骤509;Step 508, query the number analysis selection sub-configuration, obtain the analysis analyzer entry, and then execute step 509;

步骤509、查询被叫号码分析数据,获取路由链分析索引,然后执行步骤510;Step 509, query the called number analysis data, obtain the routing chain analysis index, and then perform step 510;

步骤510、判断是否有被叫号码变换,若是,执行步骤511;否则,执行步骤514;Step 510, judging whether there is called number change, if so, execute step 511; otherwise, execute step 514;

步骤511、查询号码流变换方式,获取码流变换方式,然后执行步骤512;Step 511, query the number stream conversion method, obtain the code stream conversion method, and then perform step 512;

步骤512、进行号码变换,然后执行步骤513;Step 512, perform number conversion, and then perform step 513;

步骤513、判断跳转号码分析选择子是否为“0”,若是,执行步骤514;否则,执行步骤508;Step 513, judge whether the jump number analysis selector is "0", if so, execute step 514; otherwise, execute step 508;

步骤514、查询路由链路分析配置数据,获取路由链。然后执行步骤515;Step 514, query the routing link analysis configuration data, and obtain the routing link. Then execute step 515;

步骤515、查询出局路由链相关信息,获取路由组编号,然后执行步骤516;Step 515, query the relevant information of the outgoing routing chain, obtain the routing group number, and then execute step 516;

步骤516、查询路由组及其配置信息,获取路由号,然后执行步骤517;Step 516, query the routing group and its configuration information, obtain the routing number, and then perform step 517;

步骤517、查询路由及其配置信息,获取中继组号,然后执行步骤518;Step 517, query routing and its configuration information, obtain the trunk group number, and then execute step 518;

步骤518、查询中继组的配置信息,获取出局的局向号,然后执行步骤519;Step 518, query the configuration information of the trunk group, obtain the outgoing office route number, and then perform step 519;

步骤519、查询邻接局的基本信息,获取下一跳网元的全球唯一标识。Step 519, query the basic information of the adjacent office, and obtain the global unique identifier of the next-hop network element.

循环以上步骤,直到找到业务接入码的落地网元设备,由此可获得完整的交换网话路拓扑。Repeat the above steps until the landing network element device of the service access code is found, so that the complete switching network voice topology can be obtained.

为了实现上述的方法实施例,本发明的其他实施例还提供了一种建立通信连接的装置。另需首先说明的是,由于下述的实施例是为实现前述的方法实施例,故该装置都是为了实现前述方法的各步骤而设,但本发明并不限于下述的实施例,任何可实现上述方法的装置和模块都应包含于本发明的保护范围。并且在下面的描述中,与前述方法相同的内容在此省略,以节约篇幅。In order to implement the foregoing method embodiments, other embodiments of the present invention further provide an apparatus for establishing a communication connection. What needs to be explained first is that since the following embodiments are for realizing the aforementioned method embodiments, the devices are designed to realize the steps of the aforementioned methods, but the present invention is not limited to the following embodiments, any Devices and modules that can realize the above methods should be included in the protection scope of the present invention. And in the following description, the same content as the aforementioned method is omitted here to save space.

参见图6,为本发明的实施例中建立通信连接的装置的结构框图,该装置包括:Referring to Fig. 6, it is a structural block diagram of a device for establishing a communication connection in an embodiment of the present invention, the device includes:

第一获取模块61,用于与业务经过的网元设备建立通信连接,并根据不同的厂家设备,向所述网元设备发送相关信息的查询指令,获取所述网元设备的业务接入码分析结果;The first acquisition module 61 is configured to establish a communication connection with the network element equipment through which the service passes, and send an inquiry instruction of related information to the network element equipment according to different manufacturers' equipment, and acquire the service access code of the network element equipment analysis results;

第二获取模块62,用于根据所述业务接入码分析结果,获取所述网元设备的下一跳网元设备的全球唯一标识;The second obtaining module 62 is configured to obtain the globally unique identifier of the next-hop network element device of the network element device according to the analysis result of the service access code;

通信建立模块63,用于根据所述下一跳网元设备的全球唯一标识,与所述下一跳网元设备建立通信连接。The communication establishment module 63 is configured to establish a communication connection with the next-hop network element device according to the globally unique identifier of the next-hop network element device.

在本发明的另一实施例中,所述第一获取模块61包括:In another embodiment of the present invention, the first acquisition module 61 includes:

第一获取单元,用于与业务经过的网元设备建立通信连接,并向所述网元设备发送查询指令,获取所述网元设备的起呼信息或入局信息;The first acquisition unit is configured to establish a communication connection with a network element device through which the service passes, and send a query instruction to the network element device, and obtain call origination information or incoming call information of the network element device;

第二获取单元,用于根据所述起呼信息或入局信息,以及所述业务的业务接入码,通过查询呼叫号码分析配置,获得所述网元设备的业务接入码分析结果。The second obtaining unit is configured to obtain the analysis result of the service access code of the network element device by querying the call number analysis configuration according to the call origination information or incoming call information and the service access code of the service.

在本发明的另一实施例中,第二获取模块62包括:In another embodiment of the present invention, the second acquisition module 62 includes:

出局路由信息提取单元,用于根据所述业务接入码分析结果中的出局路由索引,从所述业务接入码分析结果中提取出局路由信息;An outgoing routing information extraction unit, configured to extract outgoing routing information from the analysis result of the service access code according to the outgoing routing index in the analysis result of the service access code;

标识获取单元,用于根据所述出局路由信息,查询出局路由配置,获取所述网元设备的下一跳网元设备的全球唯一标识。The identification obtaining unit is configured to query the outgoing routing configuration according to the outgoing routing information, and obtain the globally unique identification of the next-hop network element device of the network element device.

在本发明的另一实施例中,所述装置还包括:In another embodiment of the present invention, the device also includes:

拓扑生成模块64,用于控制所述第一获取模块、所述第二获取模块和所述通信建立模块工作,直到在找到的所述下一跳网元设备为所述业务接入码的落地网元设备时,生成完整的所述交换网话路拓扑。A topology generation module 64, configured to control the work of the first acquisition module, the second acquisition module, and the communication establishment module until the found next-hop network element device lands for the service access code When the network element device is used, a complete voice topology of the switching network is generated.

在本实施例中,该装置可通过具有计算功能的服务器或计算机来实现。In this embodiment, the device may be implemented by a server or computer with computing functions.

在本发明的实施例中还提供一种建立通信连接的系统,所述系统包括:建立通信连接的装置和与所述装置连接的多个网元设备,其中所述装置包括:In an embodiment of the present invention, a system for establishing a communication connection is also provided, and the system includes: an apparatus for establishing a communication connection and a plurality of network element devices connected to the apparatus, wherein the apparatus includes:

第一获取模块,用于与业务经过的网元设备建立通信连接,并根据不同的厂家设备,向所述网元设备发送相关信息的查询指令,获取所述网元设备的业务接入码分析结果;The first acquisition module is used to establish a communication connection with the network element equipment through which the service passes, and according to different manufacturer equipment, send a query instruction of related information to the network element equipment, and obtain the service access code analysis of the network element equipment result;

第二获取模块,用于根据所述业务接入码分析结果,获取所述网元设备的下一跳网元设备的全球唯一标识;The second obtaining module is configured to obtain the globally unique identifier of the next-hop network element device of the network element device according to the analysis result of the service access code;

通信建立模块,用于根据所述下一跳网元设备的全球唯一标识,与所述下一跳网元设备建立通信连接。A communication establishing module, configured to establish a communication connection with the next-hop network element device according to the globally unique identifier of the next-hop network element device.

在本发明的另一实施例中,该装置还可包括:拓扑生成模块,用于控制所述第一获取模块、所述第二获取模块和所述通信建立模块工作,直到在找到的所述下一跳网元设备为所述业务接入码的落地网元设备时,生成完整的所述交换网话路拓扑。In another embodiment of the present invention, the device may further include: a topology generation module, configured to control the operation of the first acquisition module, the second acquisition module, and the communication establishment module until the found When the next-hop network element device is the landing network element device of the service access code, a complete voice path topology of the switching network is generated.

以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本发明原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本发明的保护范围。The above is only a preferred embodiment of the present invention, it should be pointed out that for those of ordinary skill in the art, without departing from the principle of the present invention, some improvements and modifications can also be made, and these improvements and modifications should also be It is regarded as the protection scope of the present invention.

Claims (12)

1. the method established a communications link, is characterized in that, comprising:
Steps A, to establish a communications link with the network element device of business process, send query statement to described network element device, obtain the service access code analysis result of described network element device; Step B, according to described service access code analysis result, obtain the global unique identification of the down hop network element device of described network element device;
Step C, global unique identification according to described down hop network element device, establish a communications link with described down hop network element device;
Wherein, described steps A specifically comprises:
Steps A 1, to establish a communications link with the network element device of business process, judge whether described network element device is initiate first of described business to jump network element device; If described network element device is described first jumping network element device, then send query statement to described network element device, obtain rising of described network element device and exhale information or incoming information; If described network element device is not described first jumping network element device, then according to the information of the upper hop network element device of described network element device, obtain the incoming information of described network element device;
Steps A 2, exhale information or incoming information according to described, and the service access code of described business, configured by query call number analysis, obtain the service access code analysis result of described network element device.
2. method according to claim 1, is characterized in that, described step B specifically comprises:
Step B1, according to the outgoing route index in described service access code analysis result, from described service access code analysis result, extract out routing iinformation;
Step B2, according to described outgoing route information, inquire about out routing configuration, obtain the global unique identification of the down hop network element device of described network element device.
3. method according to claim 2, is characterized in that, described method also comprises:
Circulate described steps A ~ step C, until find the network element device that lands of described service access code, obtains complete switching network speech channel topology thus.
4. method according to claim 1, is characterized in that, when judging that described network element device is not described first jumping network element device, described steps A 1 also comprises:
Judge whether to there is multiple Incoming trunk group;
If there is multiple Incoming trunk group, and when the incoming information of multiple Incoming trunk group is consistent, then obtain the incoming information of described network element device;
If there is multiple Incoming trunk group, and when the incoming information of multiple Incoming trunk group is inconsistent, then again choose incoming information according to the circuit identification code of the upper hop network element device of described network element device.
5. method according to claim 1, is characterized in that, after executing described steps A, before described step B, described method also comprises:
Step D, judge that whether described service access code analysis result is that local exchange lands number, if so, then described network element device is the terminal of switching network speech channel topology, process ends; If not, then perform described step B.
6. method according to claim 5, is characterized in that, after executing described steps A, before described step D, described method also comprises
Judge that described service access code analysis result is the need of carrying out FH-number transform;
If desired carry out FH-number transform, then according to the FH-number transform index in described service access code analysis result, by checking that FH-number transform configures, FH-number transform is carried out to described service access code analysis result, then perform step B;
Carry out FH-number transform if do not need, then perform described step D.
7. method according to claim 1, is characterized in that, in the process, carries out serial data inquiry to hop-by-hop network element device in topology, to the data query that the network element device of multiple load sharings of jumping same in topology walks abreast.
8. the device established a communications link, is characterized in that, comprising:
First acquisition module, for establishing a communications link with the network element device of business process, sending query statement to described network element device, obtaining the service access code analysis result of described network element device;
Second acquisition module, for according to described service access code analysis result, obtains the global unique identification of the down hop network element device of described network element device;
Communication building block, for the global unique identification according to described down hop network element device, establishes a communications link with described down hop network element device;
Wherein, described first acquisition module specifically for:
Establish a communications link with the network element device of business process, judge whether described network element device is initiate first of described business to jump network element device; If described network element device is described first jumping network element device, then send query statement to described network element device, obtain rising of described network element device and exhale information or incoming information; If described network element device is not described first jumping network element device, then according to the information of the upper hop network element device of described network element device, obtain the incoming information of described network element device;
Information or incoming information is exhaled according to described, and the service access code of described business, configured by query call number analysis, obtain the service access code analysis result of described network element device.
9. device according to claim 8, is characterized in that, described first acquisition module comprises:
First acquiring unit, for establishing a communications link with the network element device of business process, and sends query statement to described network element device, obtains rising of described network element device and exhales information or incoming information;
Second acquisition unit, for exhaling information or incoming information according to described, and the service access code of described business, configured by query call number analysis, obtain the service access code analysis result of described network element device.
10. device according to claim 9, is characterized in that, described second acquisition module comprises:
Outgoing route information extraction unit, for according to the outgoing route index in described service access code analysis result, extracts out routing iinformation from described service access code analysis result;
Mark acquiring unit, for according to described outgoing route information, inquires about out routing configuration, obtains the global unique identification of the down hop network element device of described network element device.
11. devices according to claim 10, is characterized in that, described device also comprises:
Topology g eneration module, for controlling described first acquisition module, described second acquisition module and described communication building block work, until the described down hop network element device found be described service access code land network element device time, generate complete switching network speech channel topology.
12. 1 kinds of systems established a communications link, is characterized in that, described system comprises: the device established a communications link and the multiple network element devices be connected with described device, and wherein said device comprises:
First acquisition module, for establishing a communications link with the network element device of business process, sending query statement to described network element device, obtaining the service access code analysis result of described network element device;
Second acquisition module, for according to described service access code analysis result, obtains the global unique identification of the down hop network element device of described network element device;
Communication building block, for the global unique identification according to described down hop network element device, establishes a communications link with described down hop network element device;
Wherein, described first acquisition module specifically for:
Establish a communications link with the network element device of business process, judge whether described network element device is initiate first of described business to jump network element device; If described network element device is described first jumping network element device, then send query statement to described network element device, obtain rising of described network element device and exhale information or incoming information; If described network element device is not described first jumping network element device, then according to the information of the upper hop network element device of described network element device, obtain the incoming information of described network element device;
Information or incoming information is exhaled according to described, and the service access code of described business, configured by query call number analysis, obtain the service access code analysis result of described network element device.
CN201010241608.5A 2010-07-30 2010-07-30 Method for establishing communication connection, apparatus and system thereof Active CN102348290B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010241608.5A CN102348290B (en) 2010-07-30 2010-07-30 Method for establishing communication connection, apparatus and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010241608.5A CN102348290B (en) 2010-07-30 2010-07-30 Method for establishing communication connection, apparatus and system thereof

Publications (2)

Publication Number Publication Date
CN102348290A CN102348290A (en) 2012-02-08
CN102348290B true CN102348290B (en) 2015-03-11

Family

ID=45546461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010241608.5A Active CN102348290B (en) 2010-07-30 2010-07-30 Method for establishing communication connection, apparatus and system thereof

Country Status (1)

Country Link
CN (1) CN102348290B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1694477A (en) * 2005-06-15 2005-11-09 福建省电信有限公司 Method for carrying number between different network
CN1756424A (en) * 2004-09-27 2006-04-05 华为技术有限公司 Method for realizing telephone channel resource optimization
CN1809205A (en) * 2005-01-18 2006-07-26 中兴通讯股份有限公司 Routing method based on segmentation on multiple media gateways by roaming number

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1756424A (en) * 2004-09-27 2006-04-05 华为技术有限公司 Method for realizing telephone channel resource optimization
CN1809205A (en) * 2005-01-18 2006-07-26 中兴通讯股份有限公司 Routing method based on segmentation on multiple media gateways by roaming number
CN1694477A (en) * 2005-06-15 2005-11-09 福建省电信有限公司 Method for carrying number between different network

Also Published As

Publication number Publication date
CN102348290A (en) 2012-02-08

Similar Documents

Publication Publication Date Title
CN111512650B (en) Emergency network slice and method for handling emergency communication in a packet-switched communication network
CN104883736B (en) The localization method and device of terminal
EP3500053A1 (en) Selecting an address of a device
US20180183717A1 (en) System and method for low-overhead interoperability between 4g and 5g networks
KR20110039564A (en) Communication control system, communication system, and communication control method
CN106488504A (en) Network system and the method for network service
CN107241755A (en) Communication means, the webserver and computer-readable recording medium
CN106488512A (en) Bandwidth management method and system for base station and backhaul network thereof
CN107113799A (en) The formulating method and equipment of a kind of business chain strategy
CN110072257B (en) Method for user intercommunication under MEC
US20180049010A1 (en) Method for improved handling of emergency calls in a roaming scenario, telecommunications network, program and computer program product
WO2008155621A3 (en) A system and method for enhancing ims centralized services
CN105682140B (en) Method and system for uplink and downlink judgment and distribution of mobile core network user data
CN103796246A (en) Data distribution method, data distribution device and data distribution system
CN105009673B (en) Business continuance judgment method and equipment
CN101213848A (en) System and method for implementing Internet mobile number portability
CN102348290B (en) Method for establishing communication connection, apparatus and system thereof
CN105100300B (en) Method and device for converting network address into NAT
CN109286536B (en) Interface testing method and device
CN111405680B (en) Call tracing method, device and storage medium
CN104022935A (en) Mobile communication network isolation method based on business property
CN106559838B (en) business processing optimization method and device
CN104811986A (en) Method and device for associating data of interfaces in packet domain of network
KR101406974B1 (en) Method and apparatus for processing bill
CN103096501B (en) Based on the calling system of femto base station system architecture, 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
C14 Grant of patent or utility model
GR01 Patent grant