CN107294847B - Method and apparatus for GT translation - Google Patents
Method and apparatus for GT translation Download PDFInfo
- Publication number
- CN107294847B CN107294847B CN201610207912.5A CN201610207912A CN107294847B CN 107294847 B CN107294847 B CN 107294847B CN 201610207912 A CN201610207912 A CN 201610207912A CN 107294847 B CN107294847 B CN 107294847B
- Authority
- CN
- China
- Prior art keywords
- translation
- selector
- target
- signaling message
- service
- 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.)
- Expired - Fee Related
Links
- 238000013519 translation Methods 0.000 title claims abstract description 190
- 238000000034 method Methods 0.000 title claims abstract description 29
- 230000011664 signaling Effects 0.000 claims abstract description 73
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 238000004590 computer program Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000008521 reorganization Effects 0.000 description 1
- 230000026676 system process Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
- H04L45/304—Route determination for signalling traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/74—Address processing for routing
- H04L45/745—Address table lookup; Address filtering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/06—Notations for structuring of protocol data, e.g. abstract syntax notation one [ASN.1]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/02—Topology update or discovery
- H04L45/04—Interdomain routing, e.g. hierarchical routing
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Machine Translation (AREA)
Abstract
Description
技术领域technical field
本发明涉及电信技术,具体涉及7号信令系统SCCP(Signaling Connect andControl Part,信令连接控制部分)中GT(Global Title,全局码)翻译的技术,特别是涉及一种GT翻译的方法和装置。The present invention relates to telecommunication technology, in particular to the technology of GT (Global Title, global code) translation in Signaling Connect and Control Part (Signaling Connect and Control Part) of Signaling System No. 7, and in particular to a method and device for GT translation .
背景技术Background technique
SCCP协议中,GT翻译是在7号信令网络中进行路由寻址的手段,尤其是在不同的7号信令网络间需要跨网络传递信令消息时必须使用GT翻译,通过GT翻译获得消息需要送达的下一个信令网络节点信息。In the SCCP protocol, GT translation is a means of routing addressing in the No. 7 signaling network, especially when signaling messages need to be transmitted across the network between different No. 7 signaling networks, GT translation must be used, and messages are obtained through GT translation. The next signaling network node information to be delivered.
对于某些运营商,在资本重组或网络建设过程中,可能会存在维护多张移动网络,而用户数据却需要统一维护的情况。如不同的用户使用不同的网络,但用户数据存储在同一个HLR(Home Location Register,归属位置寄存器)中,用户也可以自由切换到不同的网络上。对于用户而言,可以使用同一个终端在不同移动网络中使用移动业务而无需感受到任何差异。如同一个用户终端可分别通过不同的网络到同一个HLR进行路由查询、位置更新等业务。当HLR分别从不同的信令网络中收到这些用户终端的信令时,要求按用户发起业务请求的网络中原路返回相关的业务响应到用户终端。不同的网络中,实际业务信令消息中携带的地址信息可能是相同的,导致不同网络得到的GT翻译结果是相同的的,无法确定业务响应应该回送到哪个网络。For some operators, in the process of capital reorganization or network construction, there may be situations in which multiple mobile networks are maintained, but user data needs to be maintained uniformly. For example, different users use different networks, but user data is stored in the same HLR (Home Location Register, home location register), and users can also switch to different networks freely. For users, they can use the same terminal to use mobile services in different mobile networks without feeling any difference. For example, a user terminal can perform services such as route query and location update to the same HLR through different networks. When the HLR respectively receives the signaling of these user terminals from different signaling networks, it is required to return the relevant service responses to the user terminals according to the original path in the network where the user initiated the service request. In different networks, the address information carried in the actual service signaling messages may be the same, resulting in the same GT translation results obtained by different networks, and it is impossible to determine which network the service response should be sent back to.
发明内容SUMMARY OF THE INVENTION
基于此,有必要针对上述技术问题,提供一种GT翻译的方法和装置,能实现在信令消息中路由地址信息相同的情况下翻译得到不同的结果,从而得到正确的信令路由信息。Based on this, it is necessary to provide a method and device for GT translation in view of the above technical problems, which can achieve different results in the case of the same routing address information in signaling messages, thereby obtaining correct signaling routing information.
一种GT翻译的方法,所述方法包括:A method for GT translation, the method comprising:
获取信令消息原语中携带的业务参数;Obtain the service parameters carried in the signaling message primitive;
根据所述业务参数和所述信令消息原语中的地址格式类型进行GT翻译选择子的匹配得到目标GT翻译选择子;According to the service parameter and the address format type in the signaling message primitive, the matching of the GT translation selector is performed to obtain the target GT translation selector;
获取信令消息原语中携带的GT号码,根据所述目标GT翻译选择子和GT号码进行GT翻译。Obtain the GT number carried in the primitive of the signaling message, and perform the GT translation according to the target GT translation selector and the GT number.
一种GT翻译的装置,所述装置包括:A device for GT translation, the device comprising:
获取模块,用于获取信令消息原语中携带的业务参数;an acquisition module, used to acquire the service parameters carried in the signaling message primitive;
匹配模块,用于根据所述业务参数和所述信令消息原语中的地址格式类型进行GT翻译选择子的匹配得到目标GT翻译选择子;A matching module, for carrying out matching of GT translation selectors to obtain target GT translation selectors according to the service parameters and the address format type in the signaling message primitive;
翻译模块,用于获取信令消息原语中携带的GT号码,根据所述目标GT翻译选择子和GT号码进行GT翻译。The translation module is configured to obtain the GT number carried in the primitive of the signaling message, and perform the GT translation according to the target GT translation selector and the GT number.
上述GT翻译的方法和装置,通过获取信令消息原语中携带的业务参数,根据业务参数和信令消息原语中的地址格式类型进行GT翻译选择子的匹配得到目标GT翻译选择子,获取信令消息原语中携带的GT号码,根据目标GT翻译选择子和GT号码进行GT翻译,由于目标GT翻译选择子的确定考虑了业务参数,使得在即使信令消息原语中路由地址信息相同,也能得到不同的目标GT翻译选择子,从而根据目标GT翻译选择子和GT号码得到不同的GT翻译结果,得到正确的信令路由信息。根据GT翻译结果选择路由时有了更精细的区分度,可以得到更加特定的路由。The above-mentioned method and device for GT translation, by acquiring the service parameters carried in the signaling message primitive, and performing the matching of the GT translation selectors according to the service parameters and the address format type in the signaling message primitives to obtain the target GT translation selectors, and obtaining the target GT translation selectors. The GT number carried in the signaling message primitive is translated according to the target GT translation selector and GT number. Since the determination of the target GT translation selector considers the service parameters, the routing address information is the same even in the signaling message primitive. , different target GT translation selectors can also be obtained, so that different GT translation results can be obtained according to the target GT translation selectors and the GT number, and correct signaling routing information can be obtained. There is a finer degree of discrimination when selecting a route according to the GT translation result, and a more specific route can be obtained.
附图说明Description of drawings
图1为一个实施例中GT翻译的方法的流程图;1 is a flowchart of a method for GT translation in one embodiment;
图2为一个实施例中得到目标GT翻译选择子的流程图;Fig. 2 is the flow chart of obtaining target GT translation selector in one embodiment;
图3为另一个实施例中得到目标GT翻译选择子的流程图;Fig. 3 is the flow chart of obtaining target GT translation selector in another embodiment;
图4为一个具体的实施例中GT翻译的方法的流程图;4 is a flowchart of a method for GT translation in a specific embodiment;
图5为一个实施例中GT翻译的装置的结构框图;5 is a structural block diagram of an apparatus for GT translation in one embodiment;
图6为另一个实施例中GT翻译的装置的结构框图;6 is a structural block diagram of an apparatus for GT translation in another embodiment;
图7为一个实施例中匹配模块的结构框图;7 is a structural block diagram of a matching module in one embodiment;
图8为另一个实施例中匹配模块的结构框图。FIG. 8 is a structural block diagram of a matching module in another embodiment.
具体实施方式Detailed ways
在一个实施例中,如图1所示,提供了一种GT翻译的方法,包括:In one embodiment, as shown in Figure 1, a method for GT translation is provided, comprising:
步骤S110,获取信令消息原语中携带的业务参数。In step S110, the service parameters carried in the signaling message primitive are acquired.
具体的,业务给SCCP传递的信令消息原语中,增加一个字段用于携带业务参数,增加字段的位置可根据需要自定义。SCCP负责GT翻译功能的单元根据预设的规则从信令消息原语提取业务参数。业务是指信令协议中处理具体功能的协议功能体,在协议层次上处于SCCP上层的那部分信令都称为业务。业务参数是指与业务实际情况对应的参数,对系统中的系统流程、操作方式产生重要的影响,如控制网络类型、所属区域、处理优先级等。业务参数可以为网络类型信息、号码类别等,可以用一个net类型来表示。Specifically, in the signaling message primitive transmitted by the service to the SCCP, a field is added to carry the service parameter, and the position of the added field can be customized as required. The unit of the SCCP responsible for the GT translation function extracts service parameters from the primitives of the signaling messages according to preset rules. Service refers to the protocol function body that handles specific functions in the signaling protocol. The part of the signaling at the upper layer of the SCCP at the protocol level is called service. Service parameters refer to the parameters corresponding to the actual situation of the service, which have an important impact on the system process and operation mode in the system, such as the control network type, the area to which it belongs, and the processing priority. The service parameters can be network type information, number category, etc., and can be represented by a net type.
在一个实施例中,业务参数为发给业务的上一条关联信令消息中携带的网络类型信息。In one embodiment, the service parameter is network type information carried in the last associated signaling message sent to the service.
具体的,将SCCP发给业务的上一条关联信令消息中携带的网络类型信息插入到业务给SCCP传递的信令消息原语中,后续根据网络类型信息进行GT翻译选择子的匹配,由于在匹配目标GT翻译选择子时考虑了网络类型信息,即使不同,即使信令消息原语中路由地址信息相同,也能得到不同的GT翻译选择子,得到不同的GT翻译结果。从而根据GT翻译结果选择路由时有了更精细的区分度,可以得到更加特定的路由。Specifically, the network type information carried in the last associated signaling message sent by the SCCP to the service is inserted into the signaling message primitive transmitted by the service to the SCCP, and then the GT translation selector is matched according to the network type information. The network type information is considered when matching the target GT translation selector. Even if the routing address information in the signaling message primitive is the same, different GT translation selectors and different GT translation results can be obtained. Therefore, when selecting a route according to the GT translation result, a finer degree of discrimination can be obtained, and a more specific route can be obtained.
步骤S120,根据业务参数和信令消息原语中的地址格式类型进行GT翻译选择子的匹配得到目标GT翻译选择子。In step S120, the target GT translation selector is obtained by matching the GT translation selectors according to the service parameters and the address format type in the signaling message primitive.
具体的,SCCP地址包括路由标签,子系统号,信令点码和GT。其中GT是一种7号信令网络使用的地址格式,包括一组号码以及表示号码属性的一些标志字节。它没有包含可以在信令网络中直接进行路由的信息,而是根据在处理或转发信令消息的网络节点上配置GT翻译数据,通过GT翻译功能把GT号码翻译成使SCCP和MTP(Media Transfer Protocol,媒体传输协议)可识别的地址格式。GT有4种类型,GT1、GT2、GT3、GT4。Specifically, the SCCP address includes a routing label, a subsystem number, a signaling point code and a GT. Among them, GT is an address format used by the No. 7 signaling network, including a group of numbers and some flag bytes representing the attributes of the number. It does not contain information that can be routed directly in the signaling network, but according to the configuration of GT translation data on the network node that processes or forwards signaling messages, the GT number is translated into SCCP and MTP (Media Transfer) through the GT translation function. Protocol, the media transfer protocol) recognizable address format. There are 4 types of GT, GT1, GT2, GT3, GT4.
GT1包括地址性质指示语,奇偶指示位以及GT号码。GT1 includes address property indicator, parity bit and GT number.
GT2包括翻译类型和GT号码。GT2 includes translation type and GT number.
GT3包括翻译类型,编码设计,编号计划和GT号码。GT3 includes translation types, coding designs, numbering plans and GT numbers.
GT4包括翻译类型编码设计,编号计划,地址性质指示语和GT号码。GT4 includes translation type coding design, numbering plan, address property indicator and GT number.
在根据SCCP地址进行寻址时,通过GT翻译进行寻址,如通过GT查询翻译表,获得目的信令点。在通过GT查询翻译表时,需要先根据路由的信令消息中携带的地址格式类型和业务参数进行GT翻译选择子的匹配,如根据业务参数、GT类型、地址性质指示语、编号计划、翻译类型查询GT翻译选择子表,获取目标GT翻译选择子。如果GT中对应的某一地址类型不存在,则设置为无效值,用0填充。各个参数的位置和查询步骤不作限定,如可以先通过其中的一部分参数确定候选GT翻译选择子,再根据另一部分参数从候选GT翻译选择子中确定目标GT翻译选择子。GT翻译选择子表的个数和设计不作限定,可根据查询的规则配置一至多个GT翻译选择子表。When addressing is performed according to the SCCP address, the addressing is performed through GT translation, such as querying the translation table through GT to obtain the destination signaling point. When querying the translation table through GT, it is necessary to first match the GT translation selectors according to the address format type and service parameters carried in the routed signaling messages, such as service parameters, GT type, address property indicator, numbering plan, translation Type query the GT translation selector table to obtain the target GT translation selector. If a corresponding address type in GT does not exist, it is set to an invalid value and filled with 0. The positions and query steps of each parameter are not limited. For example, a candidate GT translation selector may be determined from a part of the parameters, and then a target GT translation selector may be determined from the candidate GT translation selectors according to another part of the parameters. The number and design of GT translation selection sub-tables are not limited, and one or more GT translation selection sub-tables can be configured according to the query rules.
步骤S130,获取信令消息原语中携带的GT号码,根据目标GT翻译选择子和GT号码进行GT翻译。Step S130: Obtain the GT number carried in the primitive of the signaling message, and perform the GT translation according to the target GT translation selector and the GT number.
具体的,根据目标GT翻译选择子和GT号码查询翻译表,获取到翻译结果。由于目标GT翻译选择子的确定考虑了业务参数,使得在即使信令消息原语中路由地址信息相同,也能得到不同的目标GT翻译选择子,从而根据目标GT翻译选择子和GT号码得到不同的GT翻译结果。根据GT翻译结果选择路由时有了更精细的区分度,可以得到更加特定的路由。如业务参数为网络类型信息时,相同的路由地址信息得到的GT翻译结果,可以区分不同的网络,从而得到正确网络的目的信令点。Specifically, the translation table is queried according to the target GT translation selector and the GT number, and the translation result is obtained. Since the determination of the target GT translation selector takes into account the service parameters, even if the routing address information in the signaling message primitive is the same, different target GT translation selectors can be obtained, so that different target GT translation selectors can be obtained according to the target GT translation selector and the GT number. GT translation results of . There is a finer degree of discrimination when selecting a route according to the GT translation result, and a more specific route can be obtained. For example, when the service parameter is network type information, the GT translation result obtained from the same routing address information can distinguish different networks, thereby obtaining the destination signaling point of the correct network.
本实施例中,通过获取信令消息原语中携带的业务参数,根据业务参数和信令消息原语中的地址格式类型进行GT翻译选择子的匹配得到目标GT翻译选择子,获取信令消息原语中携带的GT号码,根据目标GT翻译选择子和GT号码进行GT翻译,由于目标GT翻译选择子的确定考虑了业务参数,使得在即使信令消息原语中路由地址信息相同,也能得到不同的目标GT翻译选择子,从而根据目标GT翻译选择子和GT号码得到不同的GT翻译结果,得到正确的信令路由信息。根据GT翻译结果选择路由时有了更精细的区分度,可以得到更加特定的路由。In this embodiment, the target GT translation selector is obtained by obtaining the service parameters carried in the signaling message primitive, and the target GT translation selector is obtained by matching the GT translation selector according to the service parameter and the address format type in the signaling message primitive, and the signaling message is obtained. The GT number carried in the primitive is translated according to the target GT translation selector and the GT number. Since the determination of the target GT translation selector considers the service parameters, even if the routing address information in the primitive of the signaling message is the same, it can be Obtain different target GT translation selectors, thereby obtaining different GT translation results according to the target GT translation selectors and the GT number, and obtaining correct signaling routing information. There is a finer degree of discrimination when selecting a route according to the GT translation result, and a more specific route can be obtained.
在一个实施例中,步骤S110之前,还包括:在GT翻译选择子表中增加业务参数配置项,为GT翻译选择子表的各项配置项配置对应的GT翻译选择子。In one embodiment, before step S110, the method further includes: adding a service parameter configuration item to the GT translation selection sub-table, and configuring corresponding GT translation selectors for each configuration item of the GT translation selection sub-table.
具体的,业务参数配置项可以设置不同的业务参数,如其中两个业务参数配置项为联通网和移动网,根据不同的业务配置项对应的业务参数和其它的配置项对应的配置参数结合得到对应的不同的GT翻译选择子。其它的配置项对应的配置参数包括:GT类型、地址性质指示语、编号计划、翻译类型等。GT翻译选择子表配置成功后,可根据具体的业务参数、GT类型、地址性质指示语、编号计划、翻译类型作为查询条件查表得到一一对应的GT翻译选择子。根据GT类型的不同,地址性质指示语、编号计划、翻译类型这些配置参数中可能存在一个或多个无效的参数,可采用预设值代表无效值,如0。Specifically, the service parameter configuration items can be set with different service parameters. For example, the two service parameter configuration items are China Unicom and China Mobile, which can be obtained by combining the service parameters corresponding to different service configuration items and the configuration parameters corresponding to other configuration items. Corresponding different GT translation selectors. Configuration parameters corresponding to other configuration items include: GT type, address property indicator, numbering plan, translation type, and the like. After the GT translation selector table is configured successfully, you can look up the table according to the specific business parameters, GT type, address property indicator, numbering plan, and translation type as query conditions to obtain one-to-one corresponding GT translation selectors. Depending on the GT type, there may be one or more invalid parameters in the configuration parameters such as address property indicator, numbering plan, and translation type, and a preset value may be used to represent an invalid value, such as 0.
在一个实施例中,如图2所示,步骤S120包括:In one embodiment, as shown in FIG. 2 , step S120 includes:
步骤S121,获取信令消息原语中携带的GT类型、地址性质指示语、编号计划、翻译类型和业务参数进行组合得到第一属性参数。Step S121: Obtain the GT type, address property indicator, numbering plan, translation type and service parameters carried in the primitive of the signaling message, and combine them to obtain the first attribute parameter.
具体的,地址性质指示语用于指明地址信息的属性,编号计划用一位数字指出地址信息采用何种方式编号,将GT类型、地址性质指示语、编号计划、翻译类型和业务参数进行组合得到第一属性参数,组合的顺序可自定义。Specifically, the address property indicator is used to indicate the attribute of the address information, and the numbering plan uses one digit to indicate how the address information is numbered. The GT type, address property indicator, numbering plan, translation type and service parameters are combined to obtain The first attribute parameter, the order of combination can be customized.
步骤S122,根据第一属性参数查询GT翻译选择子表得到对应的第一目标GT翻译选择子。Step S122, query the GT translation selector table according to the first attribute parameter to obtain the corresponding first target GT translation selector.
具体的,GT翻译选择子表中预先将不同的配置参数组成第一属性参数配置项,将在第一属性参数配置项在不同的第一属性参数值下分配了对应的GT翻译选择子。从而根据第一属性参数可快速查找得到对应的第一目标GT翻译选择子。将不同的配置项组合成一个第一属性参数,从而将多对一的对应关系转化为一对一的对应关系,可快速得到第一目标GT翻译选择子。Specifically, in the GT translation selector table, different configuration parameters are pre-composed into first attribute parameter configuration items, and corresponding GT translation selectors are assigned to the first attribute parameter configuration items under different first attribute parameter values. Therefore, the corresponding first target GT translation selector can be quickly searched according to the first attribute parameter. Combining different configuration items into one first attribute parameter, so as to convert many-to-one correspondence into one-to-one correspondence, the first target GT translation selector can be quickly obtained.
在一个实施例中,如图3所示,步骤S120包括:In one embodiment, as shown in FIG. 3 , step S120 includes:
步骤S123,如果第一属性参数在GT翻译选择子表中不存在对应的目标GT翻译选择子,则去除第一属性参数中的业务参数信息得到第二属性参数。Step S123, if the first attribute parameter does not have a corresponding target GT translation selector in the GT translation selector table, remove the service parameter information in the first attribute parameter to obtain the second attribute parameter.
具体的,如果第一属性参数在GT翻译选择子表中存在对应的目标GT翻译选择子,则根据目标GT翻译选择子和消息中的GT号码组合查询GT翻译表进行GT翻译,消息送往翻译得到的目的局向。若获取目标GT翻译选择子失败,则将第一属性参数中的业务参数去除,如设置为无效值,如0,得到第二属性参数继续查询GT翻译选择子表。通过去除第一属性参数中的业务参数信息设置为无效值,可以兼容原来的GT翻译过程,因为原来的GT翻译过程没有业务参数这个查询条件。Specifically, if the first attribute parameter has a corresponding target GT translation selector in the GT translation selector table, query the GT translation table according to the combination of the target GT translation selector and the GT number in the message to perform the GT translation, and the message is sent to the translation The destination direction obtained. If the acquisition of the target GT translation selector fails, remove the service parameter in the first attribute parameter, for example, set it to an invalid value, such as 0, obtain the second attribute parameter and continue to query the GT translation selector table. By removing the service parameter information in the first attribute parameter and setting it to an invalid value, the original GT translation process can be compatible, because the original GT translation process does not have the query condition of service parameters.
步骤S124,根据第二属性参数查询GT翻译选择子表得到对应的第二目标GT翻译选择子。Step S124, query the GT translation selector table according to the second attribute parameter to obtain the corresponding second target GT translation selector.
具体的,如果根据第二属性参数查询GT翻译选择子表得到了对应的第二目标GT翻译选择子,则可根据第二目标GT翻译选择子和消息中的GT号码组合查询GT翻译表进行GT翻译,得到翻译结果。通过去除第一属性参数中的业务参数信息,可以提高GT翻译的兼容性。使得在兼容已有配置数据的基础上实现对相同的GT类型、地址性质指示语、编号计划、翻译类型、GT号码信息通过业务参数控制得到不同的翻译结果。Specifically, if the corresponding second target GT translation selector is obtained by querying the GT translation selector table according to the second attribute parameter, the GT translation table can be queried according to the combination of the second target GT translation selector and the GT number in the message to perform the GT translation. translate, get the translation result. By removing the service parameter information in the first attribute parameter, the compatibility of GT translation can be improved. On the basis of being compatible with the existing configuration data, it is possible to obtain different translation results through service parameter control for the same GT type, address property indicator, numbering plan, translation type, and GT number information.
在一个实施例中,如图4所示,GT翻译的具体过程如下:In one embodiment, as shown in Figure 4, the specific process of GT translation is as follows:
步骤S210,获取信令消息原语中携带的业务参数,获取信令消息原语中携带的GT类型、地址性质指示语、编号计划、翻译类型和业务参数进行组合得到第一属性参数,根据第一属性参数查询GT翻译选择子表。Step S210, obtain the service parameter carried in the primitive of the signaling message, obtain the GT type, address property indicator, numbering plan, translation type and service parameter carried in the primitive of the signaling message and combine to obtain the first attribute parameter, according to the first attribute parameter. An attribute parameter queries the GT translation selection subtable.
步骤S220,判断GT翻译选择子表中是否存在与第一属性参数对应的第一目标GT翻译选择子,如果不存在,则进入步骤S230,否则进入步骤S250。Step S220, it is judged whether there is a first target GT translation selector corresponding to the first attribute parameter in the GT translation selector table, if not, go to step S230, otherwise go to step S250.
步骤S230,去除第一属性参数中的业务参数信息得到第二属性参数,根据第二属性参数查询GT翻译选择子表。Step S230, remove the service parameter information in the first attribute parameter to obtain the second attribute parameter, and query the GT translation selection sub-table according to the second attribute parameter.
步骤S240,判断GT翻译选择子表中是否存在与第二属性参数对应的第二目标GT翻译选择子,如果不存在,则GT翻译失败,如果存在,则进入步骤S250。Step S240, it is judged whether there is a second target GT translation selector corresponding to the second attribute parameter in the GT translation selector table, if not, the GT translation fails, if so, go to step S250.
步骤S250,根据查询得到的目标GT翻译选择子和GT号码进行GT翻译。In step S250, GT translation is performed according to the target GT translation selector and GT number obtained by the query.
在一个实施例中,如图5所示,提供了一种GT翻译的装置,包括:In one embodiment, as shown in Figure 5, a device for GT translation is provided, comprising:
获取模块310,用于获取信令消息原语中携带的业务参数。The obtaining
匹配模块320,用于根据业务参数和信令消息原语中的地址格式类型进行GT翻译选择子的匹配得到目标GT翻译选择子。The
翻译模块330,用于获取信令消息原语中携带的GT号码,根据目标GT翻译选择子和GT号码进行GT翻译。The
在一个实施例中,如图6所示,装置还包括:In one embodiment, as shown in Figure 6, the apparatus further includes:
配置模块340,用于在GT翻译选择子表中增加业务参数配置项,为GT翻译选择子表的各项配置项配置对应的GT翻译选择子。The
在一个实施例中,业务参数为发给业务的上一条关联信令消息中携带的网络类型信息。In one embodiment, the service parameter is network type information carried in the last associated signaling message sent to the service.
在一个实施例中,如图7所示,匹配模块320包括:In one embodiment, as shown in FIG. 7, the
组合单元321,用于获取信令消息原语中携带的GT类型、地址性质指示语、编号计划、翻译类型和业务参数进行组合得到第一属性参数。The combining
第一查询单元322,用于根据第一属性参数查询GT翻译选择子表得到对应的第一目标GT翻译选择子。The
在一个实施例中,如图8所示,匹配模块320还包括:In one embodiment, as shown in FIG. 8 , the
业务参数信息去除单元323,用于如果第一属性参数在所述GT翻译选择子表中不存在对应的目标GT翻译选择子,则去除第一属性参数中的业务参数信息得到第二属性参数。The service parameter
第二查询单元324,用于根据第二属性参数查询所述GT翻译选择子表得到对应的第二目标GT翻译选择子。The
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述程序可存储于一计算机可读取存储介质中,如本发明实施例中,该程序可存储于计算机系统的存储介质中,并被该计算机系统中的至少一个处理器执行,以实现包括如上述各方法的实施例的流程。其中,所述存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random AccessMemory,RAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, such as the present invention. In an embodiment, the program may be stored in a storage medium of a computer system, and executed by at least one processor in the computer system, so as to implement the processes of the embodiments including the foregoing methods. The storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM) or the like.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity, all possible combinations of the technical features in the above-described embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, All should be regarded as the scope described in this specification.
以上所述实施例仅表达了本发明的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本发明构思的前提下,还可以做出若干变形和改进,这些都属于本发明的保护范围。因此,本发明专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only represent several embodiments of the present invention, and the descriptions thereof are specific and detailed, but should not be construed as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present invention, several modifications and improvements can also be made, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention should be subject to the appended claims.
Claims (10)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610207912.5A CN107294847B (en) | 2016-04-05 | 2016-04-05 | Method and apparatus for GT translation |
PCT/CN2017/076625 WO2017173912A1 (en) | 2016-04-05 | 2017-03-14 | Gt translation method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610207912.5A CN107294847B (en) | 2016-04-05 | 2016-04-05 | Method and apparatus for GT translation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107294847A CN107294847A (en) | 2017-10-24 |
CN107294847B true CN107294847B (en) | 2020-07-28 |
Family
ID=60000898
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610207912.5A Expired - Fee Related CN107294847B (en) | 2016-04-05 | 2016-04-05 | Method and apparatus for GT translation |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN107294847B (en) |
WO (1) | WO2017173912A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1505321A (en) * | 2002-11-28 | 2004-06-16 | 深圳市中兴通讯股份有限公司 | A GT translation method for realizing load sharing between multiple signaling points |
CN1630383A (en) * | 2003-12-16 | 2005-06-22 | 西门子公司 | Method and device for transmitting signaling messages |
EP1794997A2 (en) * | 2004-09-13 | 2007-06-13 | Tekelec | Methods, systems, and computer program products for post-global-title-translation (gtt) load sharing |
CN101291234A (en) * | 2008-06-06 | 2008-10-22 | 中兴通讯股份有限公司 | Method for obtaining user network type information for OCS |
CN104717575A (en) * | 2013-12-11 | 2015-06-17 | 北京信威通信技术股份有限公司 | Global title (GT) translation method and device |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7693066B2 (en) * | 2004-08-12 | 2010-04-06 | Tekelec | Methods, systems, and computer program products for reducing signaling link congestion |
-
2016
- 2016-04-05 CN CN201610207912.5A patent/CN107294847B/en not_active Expired - Fee Related
-
2017
- 2017-03-14 WO PCT/CN2017/076625 patent/WO2017173912A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1505321A (en) * | 2002-11-28 | 2004-06-16 | 深圳市中兴通讯股份有限公司 | A GT translation method for realizing load sharing between multiple signaling points |
CN1630383A (en) * | 2003-12-16 | 2005-06-22 | 西门子公司 | Method and device for transmitting signaling messages |
EP1794997A2 (en) * | 2004-09-13 | 2007-06-13 | Tekelec | Methods, systems, and computer program products for post-global-title-translation (gtt) load sharing |
CN101291234A (en) * | 2008-06-06 | 2008-10-22 | 中兴通讯股份有限公司 | Method for obtaining user network type information for OCS |
CN104717575A (en) * | 2013-12-11 | 2015-06-17 | 北京信威通信技术股份有限公司 | Global title (GT) translation method and device |
Non-Patent Citations (1)
Title |
---|
《No.7信令系统中GT翻译的设计与实现》;黄桂金;《华中理工大学学报》;19980531;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN107294847A (en) | 2017-10-24 |
WO2017173912A1 (en) | 2017-10-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102124703B (en) | Switching table in an Ethernet bridge | |
CN103825976B (en) | NAT (network address translation) processing method and device in distributed system architecture | |
EP1461903B1 (en) | Technique of determining connectivity solutions for network elements | |
JP2020523700A (en) | Distributed search and index update method, system, server, and computer device | |
CN106326352A (en) | Universal interface design method and system in butt joint with plurality of service systems | |
US10834559B2 (en) | Information processing method for machine-to-machine/man (M2M) application, common services entity (CSE) and application entity (AE) | |
US20080189362A1 (en) | System, server and method for realizing individual services for subscriber | |
CN111082953B (en) | A configuration method, device and related equipment | |
US20170085673A1 (en) | Attribute Operating Method and Apparatus | |
CN111061453B (en) | Voice interaction method and device for APP ecosystem | |
CN106028311A (en) | A terminal registration method and device | |
CN105656665A (en) | Switch port configuring method and switch | |
CN107294847B (en) | Method and apparatus for GT translation | |
CN114401319B (en) | Request processing method, device, server and storage medium | |
CN106789695B (en) | Message processing method and device | |
JP2001211258A (en) | TRANSLATION PATTERN MAPPING METHOD IN No.7 GATE STATION SIGNAL NETWORK | |
CN114500374B (en) | A message routing and forwarding method adopting changing the destination address along the road | |
CN106302837B (en) | A kind of the mac address table management method and device of optical network unit | |
CN114025000A (en) | Method, device, equipment and storage medium for establishing network access relationship | |
EP4208991A1 (en) | Entities and methods for trained data model selection in 5g mobile networks | |
CN114584962A (en) | Data migration method, system, server and storage medium | |
CN106326296A (en) | Data query method and device | |
CN100407634C (en) | A GT Translation Method Achieving Load Sharing Between Multiple Signaling Points | |
CN111124866B (en) | Voice interaction method and device | |
CN107409088B (en) | Data packet forwarding method and network equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200728 |
|
CF01 | Termination of patent right due to non-payment of annual fee |