CN103164389A - Method and system for processing user-defined format plane ticket files - Google Patents

Method and system for processing user-defined format plane ticket files Download PDF

Info

Publication number
CN103164389A
CN103164389A CN2011104179816A CN201110417981A CN103164389A CN 103164389 A CN103164389 A CN 103164389A CN 2011104179816 A CN2011104179816 A CN 2011104179816A CN 201110417981 A CN201110417981 A CN 201110417981A CN 103164389 A CN103164389 A CN 103164389A
Authority
CN
China
Prior art keywords
format
definition
node
verification
file
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.)
Granted
Application number
CN2011104179816A
Other languages
Chinese (zh)
Other versions
CN103164389B (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.)
Medium Shift Information Technology Co Ltd
Original Assignee
China Mobile Shenzhen 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 Shenzhen Co Ltd filed Critical China Mobile Shenzhen Co Ltd
Priority to CN201110417981.6A priority Critical patent/CN103164389B/en
Publication of CN103164389A publication Critical patent/CN103164389A/en
Application granted granted Critical
Publication of CN103164389B publication Critical patent/CN103164389B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种自定义格式平面话单文件的处理方法和系统,该处理方法包括:分别从不同的运营商提供的话单文件的格式信息中抽象出话单文件的格式定义,并使用格式定义配置文件来存储相应运营商的话单文件的格式定义;分别从不同的运营商提供的话单节点校验的规则信息中抽象出节点校验的规则定义,并使用规则定义配置文件来存储相应运营商的节点校验的规则定义;根据所获取的当前话单文件创建所对应的话单文件对象,并装载格式定义和规则定义,然后调用所述格式定义和规则定义,并为所述当前话单文件对象设置格式和设置校验规则,且对所述当前话单文件对象进行编解码和校验。实施本发明的技术方案,通用性高、扩展性好、性能好、可复用好。

The invention discloses a method and system for processing flat bill files in a self-defined format. The processing method includes: respectively abstracting the format definition of the bill file from the format information of the bill file provided by different operators, and using the format Define the configuration file to store the format definition of the bill file of the corresponding operator; abstract the rule definition of the node verification from the rule information of the bill node verification provided by different operators, and use the rule definition configuration file to store the corresponding operation The rule definition of the node verification of the supplier; create the corresponding bill file object according to the obtained current bill file, and load the format definition and rule definition, then call the format definition and rule definition, and provide the current bill file The file object sets the format and check rules, and encodes, decodes, and checks the current bill file object. The technical proposal of the present invention has high versatility, good expansibility, good performance and good reusability.

Description

一种自定义格式平面话单文件的处理方法和系统A method and system for processing flat bill files in a custom format

技术领域 technical field

本发明涉及移动通信领域,尤其涉及一种自定义格式平面话单文件的处理方法。The invention relates to the field of mobile communication, in particular to a method for processing flat bill files in a self-defined format.

背景技术 Background technique

移动通信漫游计费通常是根据GSMA标准的TAP话单文件来实施数据清算,最终达到财务结算的目的。目前,全球多数运营商的计费话单文件都符合TAP标准,这样清算中心在实施话单清算时,只需要根据相应的几种TAP文件版本(如TAP310、TAP311)实现对应的编解码和校验方案,即可应对任何运营商的符合TAP话单标准的的计费文件。Mobile communication roaming billing is usually based on the GSMA standard TAP bill file to implement data clearing, and finally achieve the purpose of financial settlement. At present, the billing bill files of most operators in the world conform to the TAP standard. In this way, when the clearing center implements bill clearing, it only needs to implement corresponding encoding, decoding and proofreading based on several corresponding TAP file versions (such as TAP310 and TAP311). It can deal with any operator's billing file that meets the TAP bill standard.

然而部分运营商仍然存在一些不符合TAP标准的话单文件,这些话单文件通常是平面文本格式,常见的如CSV格式、定长分割格式,还存在话单文件包含文件头节点、尾节点的情况,每个单独的节点还可能包含子属性,同时一个文件中可能混用多种格式,节点的数量和校验方法都不尽相同。也就是说,一个运营商的非标准平面话单文件,完全是自定义格式和校验规则的。如此复杂的情况,给清算中心带来较大的压力。However, some operators still have some bill files that do not conform to the TAP standard. These bill files are usually in flat text format, such as CSV format, fixed-length split format, and there are cases where bill files contain file header nodes and tail nodes. , each individual node may also contain sub-attributes, and multiple formats may be mixed in a file, and the number of nodes and verification methods are different. That is to say, a non-standard planar CDR file of an operator is completely customized in format and verification rules. Such a complicated situation has brought great pressure to the clearing center.

面对这种情况,常用的处理方法是根据每一种自定义格式话单文件分别实施对应的编解码和校验方案,这也是最容易理解的方案,但是这种方案给清算中心带来的较高的成本,因为实现一套编解码和校验方案并非易事,且该方案并不具有通用性,只能应用到与其对应的话单文件上。Faced with this situation, the commonly used processing method is to implement the corresponding encoding, decoding and verification schemes according to each custom format bill file. This is also the easiest to understand scheme, but this scheme brings to the clearing center High cost, because it is not easy to implement a codec and verification scheme, and this scheme is not universal, and can only be applied to the corresponding bill file.

另一种处理方法是将自定义格式话单文件转换为标准的TAP文件,然后再进行清算实施。该方案具备可行性的原因是无论哪种格式的话单文件,都需要描述通话的基本信息,因此大部分节点与TAP标准都存在功能相似性。但该方案仍然存在显著的缺点,首先,非标准话单文件和TAP话单文件之间通常也存在较大的差异性,导致在实施转换时某些节点难以匹配;其次,先进行转换再进行清算需要付出转换成本,降低了系统处理能力;最后,需要针对每一类自定义话单文件实施对应的转换方案,不具备复用性。Another processing method is to convert the self-defined format bill file into a standard TAP file, and then implement the clearing. The reason why this solution is feasible is that no matter what format the bill file is in, it is necessary to describe the basic information of the call, so most nodes have functional similarities with the TAP standard. However, this solution still has significant shortcomings. First, there are usually large differences between the non-standard bill file and the TAP bill file, which makes it difficult for some nodes to match during the conversion; secondly, the conversion is performed first and then the Clearing needs to pay conversion costs, which reduces the system processing capacity; finally, it is necessary to implement a corresponding conversion scheme for each type of custom bill file, which does not have reusability.

上文提到的两种常见方案都可以解决自定义格式平面话单文件的编解码和校验问题,但同时又具有不可避免的重要缺陷。首先是成本高,然后特别是针对新的自定义格式话单的出现,完全需要实现一套新的编解码及校验机制,或者是实现一套新的转换规则。长远看来,需要存在一种方案,既能应付现有自定义格式平面话单文件的编解码和校验,又能在出现新的自定义格式话单文件时,只需要付出较小的成本就能完成对新文件的编解码和校验。Both of the two common solutions mentioned above can solve the problem of encoding, decoding and verification of the custom-format flat bill file, but at the same time, they have inevitable and important defects. First of all, the cost is high, and especially for the emergence of new custom format bills, it is completely necessary to implement a new codec and verification mechanism, or implement a new conversion rule. In the long run, there needs to be a solution that can not only cope with the encoding, decoding and verification of the existing self-defined format flat bill files, but also only need to pay a small cost when a new custom format bill file appears The codec and verification of the new file can be completed.

本发明就是这样的方案,本方案要解决的技术问题在于,针对现有的自定义格式平面话单文件编解码及校验高成本,特别是面对新格式平面话单文件的出现而系统扩展性不足的问题,提供一种新的自定义格式平面话单文件的编解码及校验方案。该方案主要通过抽象文件格式和校验规则,通过格式定义和校验规则定义,提供一套可复用、易扩展、高效率、从而降低成本的自定义格式平面话单文件编解码和校验方法。The present invention is such a scheme, and the technical problem to be solved by this scheme is that, for the high cost of encoding, decoding and verification of the existing self-defined format flat bill file, especially in the face of the emergence of the new format flat bill file and the system expansion In order to solve the problem of lack of compatibility, a new scheme for encoding, decoding and verification of flat call list files in a custom format is provided. This solution mainly provides a set of reusable, easy-to-extend, high-efficiency, and thus cost-reducing custom-format flat bill file encoding, decoding and verification through the abstract file format and verification rules, and through the format definition and verification rule definition. method.

发明内容 Contents of the invention

本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种扩展性好的自定义格式平面话单文件的处理方法。The technical problem to be solved by the present invention is to provide a method for processing flat call list files in a self-defined format with good scalability in view of the above-mentioned defects in the prior art.

本发明解决其技术问题所采用的技术方案是:构造一种自定义格式平面话单文件的处理方法,包括:The technical solution adopted by the present invention to solve its technical problems is: construct a kind of processing method of self-defined format plane bill file, comprising:

S10.分别从不同的运营商提供的话单文件的格式信息中抽象出话单文件的格式定义,并使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义;S10. Abstract the format definition of the bill file from the format information of the bill file provided by different operators, and use the format definition configuration file related to the operator's identification to store the format definition of the bill file of the corresponding operator;

S20.分别从不同的运营商提供的话单节点校验的规则信息中抽象出节点校验的规则定义,并使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义;S20. Abstract the rule definition of node verification from the rule information of bill node verification provided by different operators, and use the rule definition configuration file related to the operator's identification to store the corresponding operator's node verification rule definition;

S30.根据所获取的当前话单文件创建所对应的话单文件对象,并根据所述当前话单文件的运营商分别从相应的格式定义配置文件和相应的规则定义配置文件中装载格式定义和规则定义,然后调用所述格式定义和规则定义,并为所述当前话单文件对象设置格式和设置校验规则,且对所述当前话单文件对象进行编解码和校验。S30. Create the corresponding bill file object according to the acquired current bill file, and load the format definition and rules from the corresponding format definition configuration file and the corresponding rule definition configuration file according to the operator of the current bill file definition, and then call the format definition and rule definition, and set the format and verification rules for the current bill file object, and perform encoding, decoding and verification on the current bill file object.

在本发明所述的自定义格式平面话单文件的处理方法中,在步骤S10中,从运营商提供的话单文件的格式信息中抽象出话单文件的格式定义,并使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义的步骤具体包括:In the processing method of the self-defined format plane bill file of the present invention, in step S10, abstract the format definition of the bill file from the format information of the bill file provided by the operator, and use the identification of the operator The relevant format definition configuration file is used to store the format definition steps of the bill file of the corresponding operator, specifically including:

S11.获取运营商提供的话单文件;S11. Obtain the bill file provided by the operator;

S12.将所述话单文件分解成多个语义单元;S12. Decomposing the bill file into multiple semantic units;

S13.逐个判断每个语义单元是否内置在预先存储的语义单元系统中,若是,则进行步骤S14;若否,则定义新的语义单元,然后执行步骤S14;S13. Determine whether each semantic unit is built in the pre-stored semantic unit system one by one, if so, then proceed to step S14; if not, then define a new semantic unit, then perform step S14;

S14.逐个判断每个节点的取值方式是否内置在预先存储的取值方式系统中,若是,则进行步骤S15;若否,则定义新的取值方式;S14. Determine whether the value-taking method of each node is built in the pre-stored value-taking method system one by one, if so, proceed to step S15; if not, define a new value-taking method;

S15.分析节点属性,并判断节点是否具备子属性,若否,则执行步骤S16;若是,则分析子属性的取值方式,然后执行步骤S16;S15. Analyze the node attributes, and judge whether the node has sub-attributes, if not, then perform step S16; if so, analyze the value-taking method of the sub-attributes, and then perform step S16;

S16.将所分析的语义单元、取值方式、节点属性组合,以确定格式定义;S16. Combining the analyzed semantic unit, value acquisition method, and node attribute to determine the format definition;

S17.使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义。S17. Use the format definition configuration file related to the operator's identifier to store the format definition of the bill file of the corresponding operator.

在本发明所述的自定义格式平面话单文件的处理方法中,在所述步骤S20中,从运营商提供的节点校验的规则信息中抽象出节点校验的规则定义,并使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义的步骤包括:In the processing method of the self-defined format plane call list file of the present invention, in the step S20, the rule definition of node verification is abstracted from the rule information of node verification provided by the operator, and used with the operator The step of storing the corresponding operator's node verification rule definition configuration file in the rule definition configuration file related to the operator's identity includes:

S21.将语义单元分解为多个节点;S21. Decomposing the semantic unit into multiple nodes;

S22.分析每个节点的校验属性,并判断所述校验属性是否内置在预先存储的校验属性系统中,若是,则执行步骤S23;若否,则定义新的校验属性,然后执行步骤S23;S22. Analyze the verification attribute of each node, and judge whether the verification attribute is built in the pre-stored verification attribute system, if so, execute step S23; if not, define a new verification attribute, and then execute Step S23;

S23.将所分析的校验属性组合,以确定节点校验的规则定义;S23. Combining the analyzed verification attributes to determine a rule definition for node verification;

S24.使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义。S24. Use the rule definition configuration file related to the operator's identifier to store the corresponding operator's node verification rule definition.

在本发明所述的自定义格式平面话单文件的处理方法中,预先存储在校验属性系统中的校验属性包括:节点名称、存在属性、存在条件、数据类型、数据长度、有效取值、存在属性错误码、非法值错误码。In the processing method of the self-defined format planar call list file of the present invention, the verification attributes pre-stored in the verification attribute system include: node name, existence attribute, existence condition, data type, data length, effective value , There are attribute error codes and illegal value error codes.

本发明还构造一种自定义格式平面话单文件的处理系统,包括:The present invention also constructs a processing system of a self-defined format plane call list file, including:

格式定义模块,用于分别从不同的运营商提供的话单文件的格式信息中抽象出话单文件的格式定义,并使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义;The format definition module is used to abstract the format definition of the bill file from the format information of the bill file provided by different operators, and use the format definition configuration file related to the identity of the operator to store the bill file of the corresponding operator format definition;

规则定义模块,用于分别从不同的运营商提供的话单节点校验的规则信息中抽象出节点校验的规则定义,并使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义;The rule definition module is used to abstract the rule definition of node verification from the rule information of bill node verification provided by different operators, and use the rule definition configuration file related to the identity of the operator to store the corresponding operator's Rule definition for node verification;

处理模块,用于根据所获取的当前话单文件创建所对应的话单文件对象,并根据所述当前话单文件的运营商分别从相应的格式定义配置文件和相应的规则定义配置文件中装载格式定义和规则定义,然后调用所述格式定义和规则定义,并为所述当前话单文件对象设置格式和设置校验规则,且对所述当前话单文件对象进行编解码和校验。A processing module, configured to create a corresponding bill file object according to the acquired current bill file, and load the format from the corresponding format definition configuration file and the corresponding rule definition configuration file according to the operator of the current bill file definition and rule definition, and then call the format definition and rule definition, and set the format and verification rules for the current bill file object, and perform encoding, decoding and verification on the current bill file object.

在本发明所述的自定义格式平面话单文件的处理系统中,所述格式定义模块包括:In the processing system of the self-defined format plane call list file of the present invention, the format definition module includes:

获取单元,用于获取运营商提供的话单文件;an acquisition unit, configured to acquire the bill file provided by the operator;

第一分解单元,用于将所述话单文件分解成多个语义单元;The first decomposing unit is used to decompose the bill file into multiple semantic units;

第一判断单元,用于逐个判断每个语义单元是否内置在预先存储的语义单元系统中;The first judging unit is used to judge whether each semantic unit is built in the pre-stored semantic unit system one by one;

第一定义单元,用于在判断语义单元无内置在预先存储的语义单元系统中时,则定义新的语义单元;The first definition unit is used to define a new semantic unit when judging that the semantic unit is not built into the pre-stored semantic unit system;

第二判断单元,用于逐个判断每个节点的取值方式是否内置在预先存储的取值方式系统中;The second judging unit is used to judge one by one whether the value-taking method of each node is built in the pre-stored value-taking method system;

第二定义单元,用于在判断节点的取值方式无内置在预先存储的取值方式系统中时,定义新的取值方式;The second definition unit is used to define a new value-taking method when it is judged that the value-taking method of the node is not built into the pre-stored value-taking method system;

第三判断单元,用于分析节点属性,并判断节点是否具备子属性;The third judging unit is used for analyzing node attributes and judging whether the node has sub-attributes;

分析单元,用于在判断节点具备子属性时,分析子属性的取值方式;The analysis unit is used to analyze the value method of the sub-attribute when judging that the node has a sub-attribute;

格式确定单元,用于将所分析的语义单元、取值方式、节点属性组合,以确定格式定义;A format determination unit is used to combine the analyzed semantic unit, value acquisition method, and node attributes to determine the format definition;

第一存储单元,用于使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义。The first storage unit is configured to use the format definition configuration file related to the operator's identifier to store the format definition of the bill file of the corresponding operator.

在本发明所述的自定义格式平面话单文件的处理系统中,所述规则定义模块包括:In the processing system of the self-defined format flat call list file of the present invention, the rule definition module includes:

第二分解单元,用于将语义单元分解为多个节点;The second decomposing unit is used to decompose the semantic unit into multiple nodes;

第四判断单元,用于分析每个节点的校验属性,并判断所述校验属性是否内置在预先存储的校验属性系统中;The fourth judging unit is used to analyze the verification attribute of each node, and judge whether the verification attribute is built in the pre-stored verification attribute system;

第三定义单元,用于在判断所述校验属性无内置在预先存储的校验属性系统中时,定义新的校验属性;The third definition unit is used to define a new check attribute when it is judged that the check attribute is not built into the pre-stored check attribute system;

规则确定单元,用于将所分析的校验属性组合,以确定节点校验的规则定义;a rule determination unit, configured to combine the analyzed verification attributes to determine a rule definition for node verification;

第二存储单元,用于使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义。The second storage unit is configured to use the rule definition configuration file related to the identifier of the operator to store the rule definition for node verification of the corresponding operator.

在本发明所述的自定义格式平面话单文件的处理系统中,预先存储在校验属性系统中的校验属性包括:节点名称、存在属性、存在条件、数据类型、数据长度、有效取值、存在属性错误码、非法值错误码。In the processing system of the self-defined format planar call list file of the present invention, the verification attributes pre-stored in the verification attribute system include: node name, existence attribute, existence condition, data type, data length, effective value , There are attribute error codes and illegal value error codes.

实施本发明的技术方案,通过将自定义格式的平面话单文件的格式和节点校验的规则抽象出来,使其组件化、可配置化,因此通用性高,对于非特殊的话单文件,只需通过简单的格式定义和规则定义,再调用相应运营商的格式定义和规则定义即可完成编解码和校验;其次,扩展性好,即使出现新的格式或校验点,只需相应的派生出新的格式和校验点并加以实现即可,并不需要付出太大的成本;再次,性能好,因为直接操作话单文件,相对于现有的方案,并没有类似转换的工作,提高了系统处理能力;最后,可复用好,每一种格式和规则都可以作为基础设施沉淀下来,最终拥有大量的组件,在处理新类型话单文件时,利用这些组件通过简单装配就能高效完成。Implement the technical scheme of the present invention, by abstracting the format of the planar call list file of self-defined format and the rule of node verification, make it componentized, configurable, so the versatility is high, for the non-special call list file, only It is necessary to use simple format definition and rule definition, and then call the format definition and rule definition of the corresponding operator to complete the codec and verification; secondly, the scalability is good, even if there is a new format or checkpoint, only the corresponding Deriving and implementing new formats and checkpoints does not require too much cost; again, the performance is good, because there is no similar conversion work compared to the existing solutions for directly operating bill files. It improves the system processing capability; finally, it is reusable, and each format and rule can be deposited as an infrastructure, and finally has a large number of components. When processing new types of bill files, these components can be easily assembled. Efficiently done.

附图说明 Description of drawings

下面将结合附图及实施例对本发明作进一步说明,附图中:The present invention will be further described below in conjunction with accompanying drawing and embodiment, in the accompanying drawing:

图1是本发明自定义格式平面话单文件的处理方法实施例一的流程图;Fig. 1 is the flow chart of embodiment one of the processing method embodiment of self-defined format planar bill file of the present invention;

图2是图1中步骤S10优选实施例的流程图;Fig. 2 is the flowchart of the preferred embodiment of step S10 in Fig. 1;

图3是图1中步骤S20优选实施例的流程图;Fig. 3 is the flowchart of the preferred embodiment of step S20 in Fig. 1;

图4是一种自定义平面话单文件的结构图;Fig. 4 is a structure diagram of a self-defined plane bill file;

图5是本发明编解码器类关系图;Fig. 5 is a relation diagram of codec classes of the present invention;

图6是本发明话单格式类关系图;Fig. 6 is the relation diagram of bill format class of the present invention;

图7是本发明校验规则类关系图;Fig. 7 is a relational diagram of verification rules of the present invention;

图8是本发明语义单元类关系图;Fig. 8 is a semantic unit class relationship diagram of the present invention;

图9是本发明话单文件与其他工作类关系图;Fig. 9 is a relation diagram between bill file and other work classes of the present invention;

图10是本发明话单格式(Schema)对象内部结构图;Fig. 10 is the internal structure diagram of the bill format (Schema) object of the present invention;

图11是本发明校验规则对象内部结构图;Fig. 11 is a diagram of the internal structure of the verification rule object of the present invention;

图12是本发明自定义格式平面话单文件的处理系统实施例一的逻辑图;Fig. 12 is the logic diagram of embodiment one of the processing system of the self-defined format planar bill file of the present invention;

图13是图12中格式定义模块优选实施例的逻辑图;Fig. 13 is a logic diagram of a preferred embodiment of the format definition module in Fig. 12;

图14是图12中规则定义模块优选实施例的逻辑图。FIG. 14 is a logic diagram of a preferred embodiment of the rule definition module in FIG. 12 .

具体实施方式 Detailed ways

首先说明的是,标准的TAP话单文件将漫游详单信息经过ASN编码为二进制后存储起来,而非TAP话单文件为了降低复杂度,通常都采用平面文件格式,由于各个运营商使用的交换机不同,或者是由于一些个性化信息的加入,再或者是由于对话单文件进行了再加工,导致这些非标准的平面话单文件格式和校验点五花八门。The first thing to explain is that the standard TAP bill file stores the roaming detailed bill information after ASN encoding into binary, and the non-TAP bill file usually adopts a flat file format in order to reduce complexity. It is different, or because of the addition of some personalized information, or because of the reprocessing of the dialogue record file, these non-standard flat record file formats and checkpoints are various.

对于非标准平面话单文件,其基本格式通常有如下类型:For non-standard flat CDR files, the basic format usually has the following types:

1)符号分隔型。如逗号分隔文件,也称为CSV格式,或者斜线分隔,例如AAA/BBB/CCC类似格式的话单记录,每两个分隔符之间的数据域称为一个节点;1) Symbol-separated type. Such as comma-separated files, also known as CSV format, or slash-separated, such as AAA/BBB/CCC similar format bill records, the data field between each two separators is called a node;

2)定长分割型。按照长度获取节点值。如存在ABCDEFG,规定第一个节点的起始位置为1,长度为2,第二个节点的起始位置为3,长度为5.那么第一个节点的值即为AB,第二个节点的值为CDEFG;2) Fixed-length split type. Get node value by length. If there is ABCDEFG, it is stipulated that the starting position of the first node is 1, the length is 2, the starting position of the second node is 3, and the length is 5. Then the value of the first node is AB, and the second node The value of CDEFG;

事实上,非标准平面话单格式的复杂性主要体现在如下方面:In fact, the complexity of the non-standard planar CDR format is mainly reflected in the following aspects:

1)话单文件存在附加信息。如部分运营商的话单包含头部文件级信息或者尾部审计信息等,或者包含多个附加信息,对于附加信息,其中的信息量及校验方式也不相同;1) There is additional information in the bill file. For example, some operators’ bills contain header file-level information or tail audit information, or contain multiple additional information. For additional information, the amount of information and verification methods are also different;

2)同一话单采用混合格式。一个话单文件中头尾附加信息、话单可能都是不同的格式,如附加信息格式是定长分割型,详单记录是符号分隔型;2) The same bill adopts mixed formats. The additional information at the beginning and end of a bill file and the bill may be in different formats, for example, the format of the additional information is a fixed-length split type, and the detailed bill record is a symbol-separated type;

3)详单节点定义不一致。话单文件中,一条语音详单和一条GPRS详单,由于要描述的信息的差异性,其节点数量和语义通常都是不一致的;3) The definition of the detailed single node is inconsistent. In the bill file, a voice bill and a GPRS bill, due to the difference in the information to be described, the number of nodes and semantics are usually inconsistent;

4)节点还存在子属性。话单文件中的节点还可能由多个子属性构成,而且某些子属性还可能是可选属性;4) The node also has sub-attributes. The nodes in the CDR file may also consist of multiple sub-attributes, and some sub-attributes may also be optional attributes;

非标准平面话单的格式还存在其他多种特点,并且随着时间推移,还会出现更多新特点。There are many other features in the format of the non-standard planar bill, and more new features will appear as time goes by.

清算中心在处理话单时,首要的操作就是将描述一条详单的各个节点信息解析出来,如IMSI(International Mobile Subscriber Identity,国际移动用户识别码)、通话起始时间、时长等,这个过程叫做解码。同理,在将这些节点信息组织起来按照一定格式输出到文件中的过程,称为编码。在进行话单文件的编解码时,必须确定的知晓话单文件的格式。When the clearing center processes bills, the primary operation is to analyze the information of each node describing a detailed bill, such as IMSI (International Mobile Subscriber Identity, International Mobile Subscriber Identity), call start time, duration, etc. This process is called decoding. Similarly, the process of organizing these node information and outputting them to a file in a certain format is called encoding. When encoding and decoding the bill file, the format of the bill file must be known for sure.

要清楚的描述一条详单记录,详单中有些节点是必须存在的,有些节点则是可选出现的,而有些又是有条件出现的。同时由于各节点都有其独立的含义,所以其值域也要求满足一定的约束条件。如何判断一条详单是否有效,以及其各节点是否有效,是通过校验来完成的。不同的节点有不同的校验规则,对于一个具体的节点,可能的校验点有是否存在、数据类型、长度、有效值等,某些节点之间还存在互相依存关系。校验的结果需要清楚的展示出来,如节点不存在,值域不合法等。To clearly describe a detailed list record, some nodes in the detailed list must exist, some nodes are optional, and some appear conditionally. At the same time, since each node has its own independent meaning, its value range is also required to meet certain constraints. How to judge whether a detailed list is valid, and whether each node is valid, is done through verification. Different nodes have different verification rules. For a specific node, the possible verification points include existence, data type, length, effective value, etc. There are also interdependence between some nodes. The verification result needs to be clearly displayed, such as the node does not exist, the value field is invalid, etc.

本发明专利针对具备上述复杂特征的平面话单文件,提供下述处理方案。如图1所示,在本发明自定义格式平面话单文件的处理方法实施例一的流程图中,该处理方法包括:The patent of the present invention provides the following processing scheme for the planar bill file with the above-mentioned complex features. As shown in Figure 1, in the flow chart of embodiment one of the processing method embodiment 1 of the self-defined format plane bill file of the present invention, the processing method includes:

S10.分别从不同的运营商提供的话单文件的格式信息中抽象出话单文件的格式定义,并使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义;S10. Abstract the format definition of the bill file from the format information of the bill file provided by different operators, and use the format definition configuration file related to the operator's identification to store the format definition of the bill file of the corresponding operator;

S20.分别从不同的运营商提供的话单节点校验的规则信息中抽象出节点校验的规则定义,并使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义;S20. Abstract the rule definition of node verification from the rule information of bill node verification provided by different operators, and use the rule definition configuration file related to the operator's identification to store the corresponding operator's node verification rule definition;

S30.根据所获取的当前话单文件创建所对应的话单文件对象,并根据所述当前话单文件的运营商分别从相应的格式定义配置文件和相应的规则定义配置文件中装载格式定义和规则定义,然后调用所述格式定义和规则定义,并为所述当前话单文件对象设置格式和设置校验规则,且对所述当前话单文件对象进行编解码和校验。S30. Create the corresponding bill file object according to the acquired current bill file, and load the format definition and rules from the corresponding format definition configuration file and the corresponding rule definition configuration file according to the operator of the current bill file definition, and then call the format definition and rule definition, and set the format and verification rules for the current bill file object, and perform encoding, decoding and verification on the current bill file object.

图2是图1中步骤S10优选实施例的流程图,步骤S10包括步骤S11~S20,应当说明的是,步骤S11~S20仅示出了一个运营商的话单文件的格式定义步骤,应当理解,其它运营商的话单文件的格式定义步骤与其类似,不再赘述。下面具体说明步骤S11~S20:Fig. 2 is the flow chart of the preferred embodiment of step S10 in Fig. 1, and step S10 includes steps S11~S20, it should be noted that steps S11~S20 only show the format definition step of a bill file of an operator, it should be understood that, The steps for defining the format of the bill file of other operators are similar and will not be repeated here. Steps S11-S20 are specifically described below:

S11.获取运营商提供的话单文件;S11. Obtain the bill file provided by the operator;

S12.将所述话单文件分解成多个语义单元;S12. Decomposing the bill file into multiple semantic units;

S13.逐个判断每个语义单元是否内置在预先存储的语义单元系统中,若是,则进行步骤S14;若否,则执行步骤S18;S13. Determine whether each semantic unit is built in the pre-stored semantic unit system one by one, if so, then perform step S14; if not, then perform step S18;

S18.定义新的语义单元,然后执行步骤S14;S18. Define a new semantic unit, and then perform step S14;

S14.逐个判断每个节点的取值方式是否内置在预先存储的取值方式系统中,若是,则进行步骤S15;若否,则执行步骤S19;S14. Determine whether the value-taking method of each node is built in the pre-stored value-taking method system one by one, if so, then proceed to step S15; if not, then perform step S19;

S19.定义新的取值方式;S19. Define a new value acquisition method;

S15.分析节点属性,并判断节点是否具备子属性,若否,则执行步骤S16;若是,则执行步骤S20;S15. Analyze the node attributes, and judge whether the node has sub-attributes, if not, then perform step S16; if so, then perform step S20;

S20.分析子属性的取值方式,然后执行步骤S16;S20. Analyzing the value-taking mode of the sub-attribute, and then performing step S16;

S16.将所分析的语义单元、取值方式、节点属性组合,以确定格式定义;S16. Combining the analyzed semantic unit, value acquisition method, and node attribute to determine the format definition;

S17.使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义。S17. Use the format definition configuration file related to the operator's identifier to store the format definition of the bill file of the corresponding operator.

图3是图1中步骤S20优选实施例的流程图,步骤S20包括步骤S21~S25,应当说明的是,步骤S21~S25仅示出了一个运营商的节点校验的规则定义步骤,应当理解,其它运营商的节点校验的规则定义步骤与其类似,不再赘述。下面具体说明步骤S21~S25:Fig. 3 is a flow chart of a preferred embodiment of step S20 in Fig. 1, step S20 includes steps S21-S25, it should be noted that steps S21-S25 only show the rule definition steps of one operator's node verification, it should be understood , the rule definition steps for node verification of other operators are similar to it and will not be repeated here. Steps S21-S25 are specifically described below:

S21.将语义单元分解为多个节点;S21. Decomposing the semantic unit into multiple nodes;

S22.分析每个节点的校验属性,并判断所述校验属性是否内置在预先存储的校验属性系统中,若是,则执行步骤S23;若否,则执行步骤S25;S22. Analyze the verification attribute of each node, and judge whether the verification attribute is built in the pre-stored verification attribute system, if so, execute step S23; if not, execute step S25;

S25.定义新的校验属性,然后执行步骤S23;S25. Define a new verification attribute, and then perform step S23;

S23.将所分析的校验属性组合,以确定节点校验的规则定义;S23. Combining the analyzed verification attributes to determine a rule definition for node verification;

S24.使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义。S24. Use the rule definition configuration file related to the operator's identifier to store the corresponding operator's node verification rule definition.

下面具体说明自定义格式平面话单文件的处理方法:The following describes in detail the processing method of the flat CDR file in the custom format:

1)抽象话单文件的格式定义,使用配置文件定义话单格式。1) The format definition of the abstract bill file, using the configuration file to define the bill format.

虽然话单文件的格式千变万化,但总体抽象起来,其最基本的取值格式是上文提到的符号分隔型和定长分割型。复杂的话单文件通常是不同的语义单元采用了不同的取值格式,并且话单文件包含多个语义单元。如果将这些特征拆分开来,一个话单文件的格式可以用如下特征描述:Although the format of the call list file is ever-changing, the most basic value format is the symbol-separated type and the fixed-length segmented type mentioned above. A complex bill file usually means that different semantic units adopt different value formats, and the bill file contains multiple semantic units. If these features are separated, the format of a bill file can be described by the following features:

Figure BDA0000120033150000111
话单文件是否存在附加信息?都有哪些附加信息?
Figure BDA0000120033150000111
Is there additional information in the CDR file? What additional information is there?

附加信息取值方式是符号分隔型还是定长分割型,还是其它未定义的特殊取值方式? Is the value method of the additional information symbol-separated, fixed-length-separated, or other undefined special value methods?

Figure BDA0000120033150000113
详单格式有几种类型?其格式分别是什么?是符号分隔型还是定长分割型,还是其它特殊取值方式?
Figure BDA0000120033150000113
How many types of detailed list formats are there? What are its formats? Is it a symbol-separated type, a fixed-length split type, or other special values?

Figure BDA0000120033150000114
各节点有子属性吗?子属性是符号分隔型还是定长分割型,还是其它特殊取值方式?
Figure BDA0000120033150000114
Does each node have sub-properties? Is the sub-attribute symbol-separated, fixed-length-separated, or other special values?

本专利方案在分析如上特征后,将话单文件的格式定义划分为三个因素,结合图4所述的话单文件的格式,具体描述如下:This patent solution divides the format definition of the call list file into three factors after analyzing the above features, and in conjunction with the format of the call list file described in Figure 4, the specific description is as follows:

●语义单元。语义单元表示话单中一个具体的信息单元,此处的语义单元处在较高级的层次,不涉及具体的节点信息。话单文件中的语义单元如头结点(HEADER)、尾节点(TRAILER)、详单(CDR)等。本方案定义了基本的语义单元,约定只要出现语义单元定义则表示具有该语义单元,否则表示不存在。如果用户需要的语义单元系统没有内置在预先存储的语义单元系统,还可以定义新的语义单元。● Semantic unit. The semantic unit represents a specific information unit in the CDR, where the semantic unit is at a higher level and does not involve specific node information. Semantic units in the bill file include head node (HEADER), tail node (TRAILER), detailed list (CDR) and so on. This scheme defines the basic semantic unit, and it is agreed that as long as the semantic unit definition appears, it means that the semantic unit exists, otherwise it means that it does not exist. If the semantic unit system required by the user is not built into the pre-stored semantic unit system, a new semantic unit can also be defined.

●取值方式。取值方式表示从一条记录中如何获取某个节点的值,包含符号分隔型(DELIMITED)和定长分割型(FIXEDLENGTH)。对于符号分隔型,只需要定义分隔符即可,如DELIMITED(,)表示逗号分隔;对于定长分隔型,需要定义各节点的长度等,如FIXEDLENGTH(1,5,9)表示第一个节点长度为1,第二个节点长度为5,依次类推。当然,用户还可以扩展新的取值方式定义。●Value method. The value method indicates how to obtain the value of a node from a record, including DELIMITED and FIXEDLENGTH. For the symbol-separated type, you only need to define the delimiter, such as DELIMITED (,) for comma separation; for the fixed-length delimited type, you need to define the length of each node, such as FIXEDLENGTH (1, 5, 9) for the first node length 1, the second node length 5, and so on. Of course, users can also expand the definition of new value methods.

●节点属性。节点属性主要表示节点是否具有子属性,如果具有子属性,还需要定义子属性的取值方式(SUBFMT)。为了简化起见,约定只要语法单元存在SUBFMT定义则表示具有子属性。● Node attributes. The node attribute mainly indicates whether the node has sub-attributes, and if it has sub-attributes, it is also necessary to define the value method of the sub-attributes (SUBFMT). For the sake of simplicity, it is agreed that as long as the syntax unit has a SUBFMT definition, it means that it has sub-attributes.

针对如上三个因素,本方案将这些因素配置化,以达到使用这些因素单元来配置话单文件格式的目的,从而将复杂格式分解化,最后再统一化。一个典型的话单格式配置如下:For the above three factors, this solution configures these factors to achieve the purpose of using these factor units to configure the bill file format, so as to decompose the complex format and finally unify it. A typical CDR format configuration is as follows:

[HEADER][HEADER]

FMT=DELIMITED(,)FMT=DELIMITED(,)

SUBFMT=FIXLENGTH(3,5,9)SUBFMT=FIXLENGTH(3,5,9)

[CDR][CDR]

FMT=FIXEDLENGTH(2,4,6,4,5,8,8)FMT=FIXEDLENGTH(2, 4, 6, 4, 5, 8, 8)

SUBFMT=DELIMITED(/)SUBFMT=DELIMITED(/)

[TRAILER][TRAILER]

FMT=FIXLENGTH(3,5)FMT=FIXLENGTH(3,5)

2)抽象节点校验规则,使用配置文件定义节点校验规则。2) Abstract node verification rules, use configuration files to define node verification rules.

有了话单的格式定义,就可以将其中的信息解析为各个语义单元,进而解析出各个节点,即解码的过程。至于相应的节点是否存在、节点值域是否正确,则依赖校验来完成分析,要提供对节点的校验,则需要知晓节点的详细特征,本方案将其特性用属性表示,各属性抽象如下:With the format definition of the CDR, the information in it can be parsed into each semantic unit, and then each node can be parsed out, that is, the decoding process. As for whether the corresponding node exists and whether the value range of the node is correct, it depends on the verification to complete the analysis. To provide the verification of the node, you need to know the detailed characteristics of the node. In this scheme, its characteristics are represented by attributes, and each attribute is abstracted as follows :

●节点名称(NAME)●Node name (NAME)

●存在属性(EXIST_TYPE,参考TAP标准,取值M/C/O,分别表示Mandatory/Conditional/Optional,如果为C型,则必须指定存在条件)Existence attribute (EXIST_TYPE, refer to the TAP standard, take the value M/C/O, respectively represent Mandatory/Conditional/Optional, if it is type C, you must specify the existence condition)

●存在条件(EXIST_CONDITION,为一个函数名称,函数调用返回成功时,节点必须存在)●Existence condition (EXIST_CONDITION, is a function name, when the function call returns successfully, the node must exist)

●数据类型(DATA_TYPE,分为string,number,datetime)●Data type (DATA_TYPE, divided into string, number, datetime)

●数据长度(DATA_LENGTH,当数据类型为string时,可选指定数据长度)●Data length (DATA_LENGTH, when the data type is string, the specified data length is optional)

●有效取值(LEGAL_VALUE,对应区间值、枚举型值在此列出,区间用“-”表示,枚举值用逗号分隔,为空表示不限制)●Valid values (LEGAL_VALUE, the corresponding interval value and enumeration type value are listed here, the interval is represented by "-", the enumeration value is separated by comma, empty means no limit)

●存在属性错误码(EXIST_ERR_CODE,节点不存在错误码)●Exist attribute error code (EXIST_ERR_CODE, node does not exist error code)

●非法值错误码(VALUE_ERR_CODE,非法取值错误码)使用如上节点属性,基本可以确定一个节点的校验规则,如果上述定义的属性还不能满足某些节点的校验,用户可以自行定义新的属性。●Illegal value error code (VALUE_ERR_CODE, illegal value error code) Using the above node attributes, you can basically determine the verification rules of a node. If the above defined attributes cannot satisfy the verification of some nodes, users can define new ones by themselves Attributes.

要完成一个话单文件的校验规则定义,首先需要将话单文件各语义单元包含的节点及顺序定义出来,此处的语义单元需要和格式定义中的语义单元保持一致;然后再定义每一个节点的校验规则。事实上,通常会将格式定义和规则定义合并在同一个配置文件中。一个典型的话单文件校验规则定义如下:To complete the definition of verification rules for a bill file, it is first necessary to define the nodes and order contained in each semantic unit of the bill file, where the semantic units need to be consistent with the semantic units in the format definition; and then define each Validation rules for nodes. In fact, it is common to combine format definitions and rule definitions in the same configuration file. A typical bill file verification rule is defined as follows:

[HEADER][HEADER]

NODE=1,2,3NODE=1, 2, 3

[CDR][CDR]

NODE=4,5,6,7NODE=4, 5, 6, 7

[TRAIIER][TRAIIER]

NODE=8,9NODE=8,9

[1][1]

NAME=MSC_TYPENAME=MSC_TYPE

EXIST_TYPE=MEXIST_TYPE=M

DATA_TYPE=NUMBERDATA_TYPE=NUMBER

LEGAL_VALUE=1-5,11,12,13LEGAL_VALUE=1-5, 11, 12, 13

EXIST_ERROR_CODE=10EXIST_ERROR_CODE = 10

FORMAT_ERROR_CODE=20FORMAT_ERROR_CODE = 20

VALUE_ERROR_CODE=30VALUE_ERROR_CODE=30

EXIST_CONDITION=EXIST_CONDITION=

[2][2]

TAG_NAME=CDR_IDTAG_NAME=CDR_ID

EXIST_TYPE=CEXIST_TYPE=C

DATA_TYPE=STRINGDATA_TYPE=STRING

DATA_LENGTH=16DATA_LENGTH=16

EXIST_ERROR_CODE=11EXIST_ERROR_CODE=11

FORMAT_ERROR_CODE=21FORMAT_ERROR_CODE = 21

VALUE_ERROR_CODE=31VALUE_ERROR_CODE=31

EXIST_CONDITION=VALCDRIDEXISTEXIST_CONDITION=VALCDRIDEXIST

3)提供编解码和校验服务框架,既能兼容已知格式和校验规则的话单,又能在低成本扩展的情况下支持新类型话单,对所获取的当前话单文件进行处理。3) Provide a codec and verification service framework, which can not only be compatible with known formats and verification rules, but also support new types of bills in the case of low-cost expansion, and process the obtained current bill files.

本方案在抽象了格式定义和校验规则的基础上,提供了一套编解码和校验服务框架,该框架采用C++语言实现,不仅能天然支持预定义的格式和校验规则,还具备灵活的扩展能力。本方案的服务框架主要包含如下工作对象:On the basis of abstracting the format definition and verification rules, this solution provides a codec and verification service framework. The framework is implemented in C++ language, which not only naturally supports predefined formats and verification rules, but also has flexible expansion capabilities. The service framework of this solution mainly includes the following work objects:

●编解码器(Codec)。针对两种基本取值方式定义,符号分隔型和定长分隔型,将其对应实现为DelimitCodec和FixedLengthCodec,结合图5所示的编解码器类关系图,二者皆从抽象基类Codec派生而来,具备Decode()和Encode()方法。● codec (Codec). For the definition of two basic value methods, symbol-separated type and fixed-length separated type, implement them as DelimitCodec and FixedLengthCodec, combined with the codec class diagram shown in Figure 5, both of which are derived from the abstract base class Codec Come, with Decode () and Encode () methods.

●话单格式(Schema)。该对象用来描述话单包含的语义单元及其格式定义。● Bill format (Schema). This object is used to describe the semantic unit contained in the CDR and its format definition.

●格式定义装载器(SchemaLoader)。结合图6所示的话单格式类关系图,当定义了话单的格式后,该对象负责从格式定义配置文件中装载格式信息,装载完成后,提供接口GetSchema()让用户获取话单格式对象。● format definition loader (SchemaLoader). Combined with the bill format class diagram shown in Figure 6, when the format of the bill is defined, the object is responsible for loading the format information from the format definition configuration file. After the loading is completed, the interface GetSchema() is provided to allow the user to obtain the bill format object .

●校验规则单元(RuleUnit)。校验规则单元是一类对象,规则定义中的每一个校验条目如EXIST_TYPE或DATA_TYPE,都对应一个校验规则单元对象。此类对象从基类Rule派生,提供Validate()方法验证该规则条目是否通过校验。● Check the rule unit (RuleUnit). The verification rule unit is a class of objects, and each verification entry in the rule definition, such as EXIST_TYPE or DATA_TYPE, corresponds to a verification rule unit object. This type of object is derived from the base class Rule, and provides the Validate() method to verify whether the rule entry passes the validation.

●节点校验规则(ValRule)。该对象定义了一个节点的校验规则,通常包含多个校验规则单元,提供Validate()方法。● Node verification rules (ValRule). This object defines the validation rules of a node, usually contains multiple validation rule units, and provides the Validate() method.

●校验规则装载器(RuleLoader)。结合图7所示的校验规则类关系图,当定义了节点校验规则后,该对象负责从校验规则文件中装载规则信息,装载完成后,提供接口GetCompList()和GetCompRule()让用户获取节点列表及其校验规则。● Validation rule loader (RuleLoader). Combined with the verification rule class relationship diagram shown in Figure 7, when the node verification rules are defined, the object is responsible for loading the rule information from the verification rule file. After the loading is completed, the interface GetCompList() and GetCompRule() are provided for the user Get a list of nodes and their validation rules.

●语义单元(Component)。结合图8所示的语义单元类关系图,语义单元是一类对象的统称,这一类对象均从Component抽象基类派生出来,主要包含字段(Field)、节点(Node)、记录(Record)。Field表示没有子属性的节点,Node表示具有子属性的节点。上文定义的语义单元均从Record对象派生,包含头结点(Header)、尾节点(Trailer)、详单(Cdr)。● Semantic unit (Component). Combined with the semantic unit class relationship diagram shown in Figure 8, a semantic unit is a general term for a class of objects, which are all derived from the abstract base class of Component, mainly including fields (Field), nodes (Node), records (Record) . Field represents a node without sub-properties, and Node represents a node with sub-properties. The semantic units defined above are all derived from the Record object, including the head node (Header), tail node (Trailer), and detail list (Cdr).

●话单文件(CDFile)。结合图9所示的话单文件与其他工作类关系图,该话单文件对象是最终的工作对象,它利用上文提到的工作对象组合起来完成对话单的Encode()、Decode()和Validate()。● bill file (CDFile). Combined with the relationship diagram between the call list file and other work classes shown in Figure 9, the call list file object is the final work object, and it uses the combination of the work objects mentioned above to complete the Encode (), Decode () and Validate of the dialogue list ().

在格式定义文件和校验规则定义文件已存在的情况下,本服务框架的核心作流程如下:In the case where the format definition file and verification rule definition file already exist, the core operation process of this service framework is as follows:

1、创建一个格式定义装载器对象,该对象从格式定义配置文件中获取当前话单文件中存在的语义单元,每个语义单元的取值方式,以及节点是否具有子属性及其取值方式,然后将这些信息存储在Schema对象里,如图10所示的Schema对象内部结构图,一个Schema对象包含了一类话单文件所有的格式信息;1. Create a format definition loader object, which obtains the semantic units existing in the current bill file from the format definition configuration file, the value acquisition method of each semantic unit, and whether the node has sub-attributes and the value acquisition method, Then these information are stored in the Schema object, as shown in Figure 10, the internal structure diagram of the Schema object, a Schema object includes all the format information of a class of bill files;

2、创建一个校验规则装载器对象,结合图11所示的校验规则对象内部结构图,该对象从规则定义配置文件中获取每一个语义单元包含的节点以及每个节点的校验规则,在其内部保存了每个语义单元,每个语义单元包含的节点,每个节点的校验规则。2. Create a verification rule loader object, combined with the internal structure diagram of the verification rule object shown in Figure 11, this object obtains the nodes contained in each semantic unit and the verification rules of each node from the rule definition configuration file, It stores each semantic unit, the nodes contained in each semantic unit, and the verification rules of each node.

3、创建一个话单文件对象,创建话单文件对象时,必须利用SetSchema()方法和SetRule()方法指定格式和校验规则,同时需要指定话单文件路径。该对象调用格式定义装载器和校验规则装载器获取话单中存在的语义单元,每个语义单元包含的节点、每个节点的校验规则,通过调用Decode()、Encode()和Validate()方法完成对整个文件的编解码和校验。3. Create a bill file object. When creating a bill file object, you must use the SetSchema() method and the SetRule() method to specify the format and verification rules, and you need to specify the bill file path. This object calls the format definition loader and verification rule loader to obtain the semantic units existing in the bill, the nodes contained in each semantic unit, and the verification rules of each node, by calling Decode(), Encode() and Validate( ) method to complete the codec and verification of the entire file.

基于上述方案,我们在处理自定义格式平面话单文件时,可采用如下处理步骤实现:Based on the above solution, we can implement the following processing steps when processing the custom format flat CDR file:

1.定义文件格式。首先分析出语义单元,再分析出各语义单元的取值方式,同时确认节点是否具有子属性,以及子属性的取值方式。然后将其定义在配置文件中。当出现一种新的语义单元时,用户也可以自定义新的语义单元,只需要在实现时从Record类派生出该语义单元,并实现其对应的接口即可。同理,当出现新的取值方式时,只需要从编解码器Codec派生出新的编解码器即可。1. Define the file format. First analyze the semantic unit, and then analyze the value-taking method of each semantic unit, and at the same time confirm whether the node has sub-attributes and the value-taking method of the sub-attributes. Then define it in the configuration file. When a new semantic unit appears, the user can also customize the new semantic unit, and only needs to derive the semantic unit from the Record class during implementation and implement its corresponding interface. In the same way, when a new value method appears, it is only necessary to derive a new codec from the codec Codec.

2.定义校验规则。按照格式定义中的语义单元,分别确定各语义单元包含的节点及其顺序,然后根据业务规则,将各个节点的校验属性表现出来。如果需要对某个节点增加新的约束,用户也可自定义一种新的属性,只需要在实现时从RuleUnit对象派生出来并实现对应的接口即可。2. Define the verification rules. According to the semantic units in the format definition, respectively determine the nodes contained in each semantic unit and their sequence, and then display the verification attributes of each node according to the business rules. If it is necessary to add a new constraint to a certain node, the user can also customize a new property, which only needs to be derived from the RuleUnit object and implement the corresponding interface during implementation.

3.创建话单文件对象。上述两个步骤完成后,即可创建话单文件对象CDFile,设置格式Schema和校验规则Rule,然后调用其对应的方法完成编解码和校验,其典型工作流程如下:3. Create a bill file object. After the above two steps are completed, you can create the bill file object CDFile, set the format Schema and verification rule Rule, and then call its corresponding method to complete encoding, decoding and verification. The typical workflow is as follows:

Figure BDA0000120033150000181
Figure BDA0000120033150000181

图12是本发明自定义格式平面话单文件的处理系统实施例一的逻辑图,该处理系统包括依次连接的格式定义模块10、规则定义模块20和处理模块30,其中,格式定义模块10用于分别从不同的运营商提供的话单文件的格式信息中抽象出话单文件的格式定义,并使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义;规则定义模块20用于分别从不同的运营商提供的话单节点校验的规则信息中抽象出节点校验的规则定义,并使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义;处理模块30用于根据所获取的当前话单文件创建所对应的话单文件对象,并根据所述当前话单文件的运营商分别从相应的格式定义配置文件和相应的规则定义配置文件中装载格式定义和规则定义,然后调用所述格式定义和规则定义,并为所述当前话单文件对象设置格式和设置校验规则,且对所述当前话单文件对象进行编解码和校验。Fig. 12 is the logic diagram of embodiment one of the processing system of the self-defined format planar bill file of the present invention, and this processing system comprises format definition module 10, rule definition module 20 and processing module 30 connected in sequence, wherein, format definition module 10 uses The purpose is to abstract the format definition of the bill file from the format information of the bill file provided by different operators, and use the format definition configuration file related to the identity of the operator to store the format definition of the bill file of the corresponding operator; the rule The definition module 20 is used to abstract the rule definition of node verification from the rule information of bill node verification provided by different operators, and use the rule definition configuration file related to the operator's identification to store the corresponding operator's node The rule definition of verification; processing module 30 is used for creating corresponding bill file object according to the current bill file obtained, and according to the operator of described current bill file, defines configuration file and corresponding rule from corresponding format respectively Load the format definition and rule definition in the definition configuration file, then call the format definition and rule definition, set the format and check rules for the current bill file object, and encode and decode the current bill file object and checksum.

图13是图12中格式定义模块优选实施例的逻辑图,该格式定义模块包括获取单元11、第一分解单元12、第一判断单元13、第一定义单元14、第二判断单元15、第二定义单元16、第三判断单元17、子属性分析单元18、格式确定单元19和第一存储单元20。其中,获取单元11用于获取运营商提供的话单文件;第一分解单元12用于将所述话单文件分解成多个语义单元;第一判断单元13用于逐个判断每个语义单元是否内置在预先存储的语义单元系统中;第一定义单元14用于在判断语音单元无内置在预先存储的语义单元系统中时,则定义新的语义单元;第二判断单元15用于逐个判断每个节点的取值方式是否内置在预先存储的取值方式系统中;第二定义单元16用于在判断节点的取值方式无内置在预先存储的取值方式系统中时,定义新的取值方式;第三判断单元17用于分析节点属性,并判断节点是否具备子属性;子属性分析单元18用于在判断节点具备子属性时,分析子属性的取值方式;格式确定单元19用于将所分析的语义单元、取值方式、节点属性组合,以确定格式定义;第一存储单元20用于使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义Fig. 13 is a logic diagram of a preferred embodiment of the format definition module in Fig. 12, and the format definition module includes an acquisition unit 11, a first decomposing unit 12, a first judging unit 13, a first defining unit 14, a second judging unit 15, a first judging unit 15, A second definition unit 16 , a third judgment unit 17 , a sub-attribute analysis unit 18 , a format determination unit 19 and a first storage unit 20 . Wherein, the acquisition unit 11 is used to obtain the bill file provided by the operator; the first decomposition unit 12 is used to decompose the bill file into a plurality of semantic units; the first judging unit 13 is used to judge whether each semantic unit is built-in In the pre-stored semantic unit system; the first definition unit 14 is used to define a new semantic unit when judging that the phonetic unit is not built into the pre-stored semantic unit system; the second judging unit 15 is used to judge each Whether the value-taking method of the node is built in the pre-stored value-taking method system; the second definition unit 16 is used to define a new value-taking method when judging that the value-taking method of the node is not built in the pre-stored value-taking method system The third judging unit 17 is used to analyze the node attribute, and judges whether the node possesses the sub-attribute; the sub-attribute analyzing unit 18 is used to analyze the value-taking mode of the sub-attribute when judging that the node possesses the sub-attribute; the format determination unit 19 is used to use The analyzed semantic unit, value mode, and node attribute combination are used to determine the format definition; the first storage unit 20 is used to use the format definition configuration file related to the operator's identification to store the format definition of the corresponding operator's bill file

图14是图12中规则定义模块优选实施例的逻辑图,规则定义模块包括:第二分解单元21、第四判断单元22、第三定义单元23、规则确定单元24和第二存储单元25。其中,第二分解单元21用于将语义单元分解为多个节点;第四判断单元22用于分析每个节点的校验属性,并判断所述校验属性是否内置在预先存储的校验属性系统中;第三定义单元23用于在判断所述校验属性无内置在预先存储的校验属性系统中时,定义新的校验属性;规则确定单元24用于将所分析的校验属性组合,以确定节点校验的规则定义;第二存储单元25用于使用与运营商的标识相关的规则定义配置文件来存储相应运营商的话单文件的规则定义。FIG. 14 is a logic diagram of a preferred embodiment of the rule definition module in FIG. 12 . The rule definition module includes: a second decomposition unit 21 , a fourth judgment unit 22 , a third definition unit 23 , a rule determination unit 24 and a second storage unit 25 . Wherein, the second decomposition unit 21 is used to decompose the semantic unit into a plurality of nodes; the fourth judging unit 22 is used to analyze the check attribute of each node, and judge whether the check attribute is built into the pre-stored check attribute In the system; the third definition unit 23 is used to define a new check attribute when it is judged that the check attribute is not built into the pre-stored check attribute system; the rule determination unit 24 is used to use the analyzed check attribute combined to determine the rule definition for node verification; the second storage unit 25 is used to use the rule definition configuration file related to the operator's identification to store the rule definition of the corresponding operator's bill file.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的权利要求范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the scope of the claims of the present invention.

Claims (8)

1.一种自定义格式平面话单文件的处理方法,其特征在于,包括: 1. A processing method of a self-defined format plane call list file, characterized in that, comprising: S10.分别从不同的运营商提供的话单文件的格式信息中抽象出话单文件的格式定义,并使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义; S10. Abstract the format definition of the bill file from the format information of the bill file provided by different operators, and use the format definition configuration file related to the operator's identification to store the format definition of the bill file of the corresponding operator; S20.分别从不同的运营商提供的话单节点校验的规则信息中抽象出节点校验的规则定义,并使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义; S20. Abstract the rule definition of node verification from the rule information of bill node verification provided by different operators, and use the rule definition configuration file related to the operator's identification to store the corresponding operator's node verification rule definition; S30.根据所获取的当前话单文件创建所对应的话单文件对象,并根据所述当前话单文件的运营商分别从相应的格式定义配置文件和相应的规则定义配置文件中装载格式定义和规则定义,然后调用所述格式定义和规则定义,并为所述当前话单文件对象设置格式和设置校验规则,且对所述当前话单文件对象进行编解码和校验。 S30. Create the corresponding bill file object according to the acquired current bill file, and load the format definition and rules from the corresponding format definition configuration file and the corresponding rule definition configuration file according to the operator of the current bill file definition, and then call the format definition and rule definition, and set the format and verification rules for the current bill file object, and perform encoding, decoding and verification on the current bill file object. 2.根据权利要求1所述的自定义格式平面话单文件的处理方法,其特征在于,在步骤S10中,从运营商提供的话单文件的格式信息中抽象出话单文件的格式定义,并使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义的步骤具体包括: 2. the processing method of self-defined format plane bill file according to claim 1 is characterized in that, in step S10, abstracts the format definition of bill file from the format information of bill file that operator provides, and The steps of using the format definition configuration file related to the operator's identification to store the format definition of the corresponding operator's bill file specifically include: S11.获取运营商提供的话单文件; S11. Obtain the bill file provided by the operator; S12.将所述话单文件分解成多个语义单元; S12. Decomposing the bill file into multiple semantic units; S13.逐个判断每个语义单元是否内置在预先存储的语义单元系统中,若是,则进行步骤S14;若否,则定义新的语义单元,然后执行步骤S14; S13. Determine whether each semantic unit is built in the pre-stored semantic unit system one by one, if so, then proceed to step S14; if not, then define a new semantic unit, then perform step S14; S14.逐个判断每个节点的取值方式是否内置在预先存储的取值方式系统中,若是,则进行步骤S15;若否,则定义新的取值方式; S14. Determine whether the value-taking method of each node is built in the pre-stored value-taking method system one by one, if so, proceed to step S15; if not, define a new value-taking method; S15.分析节点属性,并判断节点是否具备子属性,若否,则执行步骤S16;若是,则分析子属性的取值方式,然后执行步骤S16; S15. Analyze the node attributes, and judge whether the node has sub-attributes, if not, then perform step S16; if so, analyze the value-taking method of the sub-attributes, and then perform step S16; S16.将所分析的语义单元、取值方式、节点属性组合,以确定格式定义; S16. Combining the analyzed semantic unit, value acquisition method, and node attribute to determine the format definition; S17.使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义。 S17. Use the format definition configuration file related to the operator's identifier to store the format definition of the bill file of the corresponding operator. 3.根据权利要求2所述的自定义格式平面话单文件的处理方法,其特征在于,在所述步骤S20中,从运营商提供的节点校验的规则信息中抽象出节点校验的规则定义,并使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义的步骤包括: 3. the processing method of self-defined format plane bill file according to claim 2, is characterized in that, in described step S20, abstracts the rule of node verification from the rule information of node verification that operator provides Define, and use the rule definition configuration file related to the operator's identification to store the corresponding operator's node check rule definition steps include: S21.将语义单元分解为多个节点; S21. Decomposing the semantic unit into multiple nodes; S22.分析每个节点的校验属性,并判断所述校验属性是否内置在预先存储的校验属性系统中,若是,则执行步骤S23;若否,则定义新的校验属性,然后执行步骤S23; S22. Analyze the verification attribute of each node, and judge whether the verification attribute is built in the pre-stored verification attribute system, if so, execute step S23; if not, define a new verification attribute, and then execute Step S23; S23.将所分析的校验属性组合,以确定节点校验的规则定义; S23. Combining the analyzed verification attributes to determine a rule definition for node verification; S24.使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义。 S24. Use the rule definition configuration file related to the operator's identifier to store the corresponding operator's node verification rule definition. 4.根据权利要求3所述的自定义格式平面话单文件的处理方法,其特征在于,预先存储在校验属性系统中的校验属性包括:节点名称、存在属性、存在条件、数据类型、数据长度、有效取值、存在属性错误码、非法值错误码。 4. the processing method of self-defining format plane bill file according to claim 3, is characterized in that, the verification attribute that is stored in the verification attribute system in advance comprises: node name, existence attribute, existence condition, data type, Data length, valid value, exist attribute error code, illegal value error code. 5.一种自定义格式平面话单文件的处理系统,其特征在于,包括: 5. A processing system for a self-defined format plane call list file, characterized in that it comprises: 格式定义模块,用于分别从不同的运营商提供的话单文件的格式信息中抽象出话单文件的格式定义,并使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义; The format definition module is used to abstract the format definition of the bill file from the format information of the bill file provided by different operators, and use the format definition configuration file related to the identity of the operator to store the bill file of the corresponding operator format definition; 规则定义模块,用于分别从不同的运营商提供的话单节点校验的规则信息中抽象出节点校验的规则定义,并使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义; The rule definition module is used to abstract the rule definition of node verification from the rule information of bill node verification provided by different operators, and use the rule definition configuration file related to the identity of the operator to store the corresponding operator's Rule definition for node verification; 处理模块,用于根据所获取的当前话单文件创建所对应的话单文件对象,并根据所述当前话单文件的运营商分别从相应的格式定义配置文件和相应的规则定义配置文件中装载格式定义和规则定义,然后调用所述格式定义和规则定义,并为所述当前话单文件对象设置格式和设置校验规则,且对所述当前话单文件对象进行编解码和校验。 A processing module, configured to create a corresponding bill file object according to the acquired current bill file, and load the format from the corresponding format definition configuration file and the corresponding rule definition configuration file according to the operator of the current bill file definition and rule definition, and then call the format definition and rule definition, and set the format and verification rules for the current bill file object, and perform encoding, decoding and verification on the current bill file object. 6.根据权利要求5所述的自定义格式平面话单文件的处理系统,其特征在于,所述格式定义模块包括: 6. the processing system of self-defined format plane bill file according to claim 5, is characterized in that, described format definition module comprises: 获取单元,用于获取运营商提供的话单文件; an acquisition unit, configured to acquire the bill file provided by the operator; 第一分解单元,用于将所述话单文件分解成多个语义单元; The first decomposing unit is used to decompose the bill file into multiple semantic units; 第一判断单元,用于逐个判断每个语义单元是否内置在预先存储的语义单元系统中; The first judging unit is used to judge whether each semantic unit is built in the pre-stored semantic unit system one by one; 第一定义单元,用于在判断语义单元无内置在预先存储的语义单元系统中时,则定义新的语义单元; The first definition unit is used to define a new semantic unit when judging that the semantic unit is not built into the pre-stored semantic unit system; 第二判断单元,用于逐个判断每个节点的取值方式是否内置在预先存储的取值方式系统中; The second judging unit is used to judge one by one whether the value-taking method of each node is built in the pre-stored value-taking method system; 第二定义单元,用于在判断节点的取值方式无内置在预先存储的取值方式系统中时,定义新的取值方式; The second definition unit is used to define a new value-taking method when it is judged that the value-taking method of the node is not built into the pre-stored value-taking method system; 第三判断单元,用于分析节点属性,并判断节点是否具备子属性; The third judging unit is used for analyzing node attributes and judging whether the node has sub-attributes; 子属性分析单元,用于在判断节点具备子属性时,分析子属性的取值方式; The sub-attribute analysis unit is used to analyze the value-taking mode of the sub-attribute when judging that the node has a sub-attribute; 格式确定单元,用于将所分析的语义单元、取值方式、节点属性组合,以确定格式定义; A format determination unit is used to combine the analyzed semantic unit, value acquisition method, and node attributes to determine the format definition; 第一存储单元,用于使用与运营商的标识相关的格式定义配置文件来存储相应运营商的话单文件的格式定义。 The first storage unit is configured to use the format definition configuration file related to the operator's identifier to store the format definition of the bill file of the corresponding operator. 7.根据权利要求6所述的自定义格式平面话单文件的处理系统,其特征在于,所述规则定义模块包括: 7. the processing system of self-defined format plane bill file according to claim 6, is characterized in that, described rule definition module comprises: 第二分解单元,用于将语义单元分解为多个节点; The second decomposing unit is used to decompose the semantic unit into multiple nodes; 第四判断单元,用于分析每个节点的校验属性,并判断所述校验属性是否内置在预先存储的校验属性系统中; The fourth judging unit is used to analyze the verification attribute of each node, and judge whether the verification attribute is built in the pre-stored verification attribute system; 第三定义单元,用于在判断所述校验属性无内置在预先存储的校验属性系统中时,定义新的校验属性; The third definition unit is used to define a new check attribute when it is judged that the check attribute is not built into the pre-stored check attribute system; 规则确定单元,用于将所分析的校验属性组合,以确定节点校验的规则定义; a rule determination unit, configured to combine the analyzed verification attributes to determine a rule definition for node verification; 第二存储单元,用于使用与运营商的标识相关的规则定义配置文件来存储相应运营商的节点校验的规则定义。 The second storage unit is configured to use the rule definition configuration file related to the identifier of the operator to store the rule definition for node verification of the corresponding operator. 8.根据权利要求7所述的自定义格式平面话单文件的处理系统,其特征在于, 预先存储在校验属性系统中的校验属性包括:节点名称、存在属性、存在条件、数据类型、数据长度、有效取值、存在属性错误码、非法值错误码。 8. the processing system of self-defining format plane bill file according to claim 7, it is characterized in that, the checking attribute stored in the checking attribute system in advance comprises: node name, existence attribute, existence condition, data type, Data length, valid value, exist attribute error code, illegal value error code.
CN201110417981.6A 2011-12-14 2011-12-14 A kind of disposal route of user-defined format plane ticket and system Active CN103164389B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110417981.6A CN103164389B (en) 2011-12-14 2011-12-14 A kind of disposal route of user-defined format plane ticket and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110417981.6A CN103164389B (en) 2011-12-14 2011-12-14 A kind of disposal route of user-defined format plane ticket and system

Publications (2)

Publication Number Publication Date
CN103164389A true CN103164389A (en) 2013-06-19
CN103164389B CN103164389B (en) 2015-10-28

Family

ID=48587485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110417981.6A Active CN103164389B (en) 2011-12-14 2011-12-14 A kind of disposal route of user-defined format plane ticket and system

Country Status (1)

Country Link
CN (1) CN103164389B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809896A (en) * 2017-04-28 2018-11-13 阿里巴巴集团控股有限公司 A kind of information calibration method, device and electronic equipment
CN108989422A (en) * 2018-07-12 2018-12-11 中国建设银行股份有限公司 A kind of message and document handling method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889617A (en) * 2005-08-26 2007-01-03 华为技术有限公司 Charging method in mobile communication system
CN101459746A (en) * 2007-12-13 2009-06-17 华为软件技术有限公司 Phone bill decoding method and apparatus
CN101754155A (en) * 2008-12-17 2010-06-23 中国移动通信集团山东有限公司 Call bill format conversion method and device and call bill processing method and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1889617A (en) * 2005-08-26 2007-01-03 华为技术有限公司 Charging method in mobile communication system
CN101459746A (en) * 2007-12-13 2009-06-17 华为软件技术有限公司 Phone bill decoding method and apparatus
CN101754155A (en) * 2008-12-17 2010-06-23 中国移动通信集团山东有限公司 Call bill format conversion method and device and call bill processing method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
谷晓栋: "电信计费系统计费模块的设计与实现", 《中国优秀硕士学位论文全文数据库信息科技辑》, 15 March 2010 (2010-03-15) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809896A (en) * 2017-04-28 2018-11-13 阿里巴巴集团控股有限公司 A kind of information calibration method, device and electronic equipment
CN108989422A (en) * 2018-07-12 2018-12-11 中国建设银行股份有限公司 A kind of message and document handling method and system

Also Published As

Publication number Publication date
CN103164389B (en) 2015-10-28

Similar Documents

Publication Publication Date Title
CN106990952B (en) Form verification method and system based on Vue
Czarnecki et al. Cool features and tough decisions: a comparison of variability modeling approaches
US9507874B2 (en) Validation of schema and schema conformance verification
CN109379326B (en) XML message rule checking method, equipment and storage medium
CN102929680B (en) TTCN-3 script is converted to a method for Java source code, device and system
US20090083305A1 (en) System for processing and using electronic documents
US8656354B2 (en) Compound versioning and identification scheme for composite application development
CN102395950A (en) Communicating with data storage systems
CN110502478B (en) Data interaction method and system between offline systems
WO2012155643A1 (en) Method for implementing configuration console based on database, configuration console, and system
CN113467918A (en) Workflow configuration method and device of distributed real-time payment system
CN103164389B (en) A kind of disposal route of user-defined format plane ticket and system
CN112084167A (en) Authority filtering method and device and storage medium
WO2007076676A1 (en) A method for automatically producing pdu coding-decoding code based on asn.1 definition
CN110278272B (en) Universal method for simulating Socket request
CN111324645B (en) Block chain data processing method and device
CN111782882A (en) A kind of TCP message conversion method, device, system and computer storage medium
CN101459746B (en) Phone bill decoding method and apparatus
CN108243015B (en) A method for extracting bill information, a bill server and a network management server
US20140324918A1 (en) Database Generation System, Method For Generating A Database, Product Line Management System And Non-Transitory Data Carrier
CN100543720C (en) Method and system for quickly constructing business processing flow by using discrete units
CN104320454A (en) Method and system for realizing user-defined output in HTTP protocol recovery
CN101808175B (en) Ticket converting method and device
Trecka et al. Workflow completion patterns
CN114330288A (en) A log parsing system and log parsing method

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 518048 Guangdong province Futian District Shenzhen City Binhe Road, No. 9023, building 11, 41 layers of the country through the

Patentee after: Medium shift information technology Co., Ltd.

Address before: 518048 Guangdong, Shenzhen Binhe Road, No. 9023 building, state building, floor, No. 14

Patentee before: China Mobile (Shenzhen) Co., Ltd.