WO2011131060A1 - Method and system for storing sorted call bills by catalog - Google Patents

Method and system for storing sorted call bills by catalog Download PDF

Info

Publication number
WO2011131060A1
WO2011131060A1 PCT/CN2011/071379 CN2011071379W WO2011131060A1 WO 2011131060 A1 WO2011131060 A1 WO 2011131060A1 CN 2011071379 W CN2011071379 W CN 2011071379W WO 2011131060 A1 WO2011131060 A1 WO 2011131060A1
Authority
WO
WIPO (PCT)
Prior art keywords
category
directory
field
value
classification
Prior art date
Application number
PCT/CN2011/071379
Other languages
French (fr)
Chinese (zh)
Inventor
王春
洪君景
孔鹏
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011131060A1 publication Critical patent/WO2011131060A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/43Billing software details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M15/00Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP
    • H04M15/41Billing record details, i.e. parameters, identifiers, structure of call data record [CDR]

Abstract

The present invention provides a method and a system for storing sorted call bills by catalog, wherein the method includes the following steps: acquiring classification fields (201); reading the original call bill records, and sorting and processing the original call bill records (202); and in the process of sorting and processing the original call bill records one by one, judging the value of the classification field in each call bill record one record by one record, creating the classification catalog corresponding to the classification field value in real time, and storing the call bill records with the same classification field value into a corresponding classification catalog (203). The method and the system of this present invention for sorting and classifying call bills, can write the call bill records into the real-time created catalog in real time according to the fields of the call bill records, implement that the sorted call bill records are stored by classification according to a certain characteristic of the call bills, and meanwhile finish the classification process of the call bills when finishing the sorting process of the call bills, without secondary sorting and classification, and have the characteristics that the method is simple and the processing is high-efficiency.

Description

一种话单分拣分目录存储的方法及系统 技术领域  Method and system for storing single-sorting sub-directory storage
本发明涉及通讯领域的通讯业务计费系统的话单分拣处理, 尤其涉及 一种针对分拣后的话单文件按照话单的特性做分目录存储的方法及系统。 背景技术  The present invention relates to bill sorting processing of a billing system for a communication service in the field of communication, and more particularly to a method and system for sub-directory storage of bill files after sorting according to characteristics of bills. Background technique
在通讯网络的计费系统中, 对于分拣后话单, 不同的运营支撑系统对 于这些分拣后的话单有多种多样的要求, 其中一个比较特殊和有相当意义 的功能, 就是把这些分拣后的话单记录, 按照某些条件, 写入同一个文件, 然后进行分类归类, 存入特定的目录下。  In the billing system of the communication network, for the sorted bills, different operational support systems have various requirements for these sorted bills, one of which is a special and meaningful function, which is to divide these points. After the CDR record is sorted, the same file is written according to certain conditions, and then classified and classified into a specific directory.
分拣后的话单记录, 都是由一些字段组成的, 上述所说的按照某些条 件, 就是指按照这些字段中的某一或者某些字段值来归类写入文件中, 然 后存放入特定的目录下, 此目录下的所有话单记录, 都符合同一个条件。  The sorted bill records are composed of a number of fields. According to certain conditions, the above refers to sorting into a file according to one or some of the field values, and then storing them in a specific file. Under the directory, all the CDR records in this directory meet the same conditions.
现有的一种分目录存储方法是, 先全部分拣出话单, 然后对这些分拣 后的话单做二次处理(分拣), 来达到分目录, 分类存储的目的。 这样的处 理方法, 由于先要全部分拣出话单, 之后再进行二次分拣处理, 因而具有 效率低下的问题。 因此, 如何设置出更好地方法, 来对话单记录进行分目 录存储, 以达到提高效率的目的, 成为技术人员需要考虑的问题。 发明内容  An existing sub-directory storage method is to first sort out the bills, and then perform secondary processing (sorting) on the sorted bills to achieve the purpose of sub-directories and classified storage. Such a processing method has a problem of inefficiency because the CDRs are all sorted out and then the second sorting process is performed. Therefore, how to set up a better method to dialogue single record for sub-directory storage, in order to achieve efficiency, has become a problem that technicians need to consider. Summary of the invention
本发明所要解决的技术问题是提供一种话单分拣分目录存储的方法及 系统, 实现话单分目录存储, 并达到提高处理效率的目的。  The technical problem to be solved by the present invention is to provide a method and system for storing bills and sorting sub-directories, realizing the storage of bills and sub-directories, and achieving the purpose of improving processing efficiency.
为了解决上述技术问题, 本发明提供了一种话单分拣分目录存储的方 法, 包括: 获得分类字段; In order to solve the above technical problem, the present invention provides a method for storing bill sorting sub-directories, including: Obtain a classification field;
读取原始话单记录并逐条分拣处理原始话单记录;  Reading the original bill record and sorting the original bill record one by one;
在逐条分拣处理原始话单记录的过程中, 逐条判断每条话单记录分类 字段的值, 实时创建与所述分类字段的值对应的分类目录, 将具有相同分 类字段的值的话单记录存储到相对应的分类目录中。  In the process of processing the original bill record one by one, the value of each bill record classification field is judged one by one, the category catalog corresponding to the value of the category field is created in real time, and the bill record with the value of the same category field is stored. Go to the corresponding category directory.
进一步来说, 所述实时创建与所述分类字段的值对应的分类目录, 将 具有相同分类字段的值的话单记录存储到相对应的分类目录中, 包括: 判断与所述分类字段值对应的分类目录是否存在;  Further, the realizing the categorization directory corresponding to the value of the categorization field, and storing the CDR record having the value of the same categorization field in the corresponding categorization directory, includes: determining, corresponding to the categorization field value Whether the catalogue exists;
当分类字段的值对应的分类目录存在, 则将话单记录存储到相对应的 分类目录中;  When the category directory corresponding to the value of the category field exists, the bill record is stored in the corresponding category directory;
当分类字段的值对应的分类目录不存在, 则创建与所述分类字段的值 对应的分类目录, 将话单记录存储到相对应的分类目录中。  When the category directory corresponding to the value of the category field does not exist, a category directory corresponding to the value of the category field is created, and the bill record is stored in the corresponding category directory.
进一步来说, 所述分类目录的目录名, 为所述话单记录中分类字段对 应的一类值。  Further, the directory name of the category directory is a type of value corresponding to the category field in the bill record.
进一步来说, 所述获得分类字段, 包括:  Further, the obtaining the classification field includes:
获得存储的预先设定的分类字段。  Obtain a stored pre-set categorical field.
进一步来说, 所述分类目录具有单独的状态记录, 以保证每个分类目 录下的话单记录序号独立连续。  Further, the classification directory has separate status records to ensure that the order number of the bills in each category directory is independent and continuous.
为了解决上述技术问题, 本发明还提供了一种话单分拣分目录存储的 系统, 包括话单分拣单元, 设置为读取原始话单记录并逐条分拣处理原始 话单记录, 还包括:  In order to solve the above technical problem, the present invention also provides a system for bill sorting sub-directory storage, including a bill sorting unit, configured to read the original bill record and sort the original bill records one by one, and further includes :
获取单元, 设置为获得分类字段;  Get the unit, set to get the classification field;
处理单元, 设置为读取原始话单记录并逐条分拣处理原始话单记录的 情况下, 在逐条分拣处理原始话单记录的过程中, 逐条判断每条话单记录 分类字段的值, 实时创建与所述分类字段的值对应的分类目录, 将具有相 同分类字段的值的话单记录存储到相对应的分类目录中。 The processing unit, configured to read the original bill record and sort the original bill records one by one, in the process of sorting the original bill records one by one, determining the value of each bill record classification field one by one, real time Creating a category directory corresponding to the value of the category field, which will have a phase The bill records of the same category field value are stored in the corresponding category directory.
进一步来说, 所述处理单元, 进一步设置为:  Further, the processing unit is further configured to:
判断与所述分类字段的值对应的分类目录是否存在;  Determining whether a category directory corresponding to the value of the category field exists;
当分类字段的值对应的分类目录存在, 则将话单记录存储到相对应的 分类目录中;  When the category directory corresponding to the value of the category field exists, the bill record is stored in the corresponding category directory;
当分类字段的值对应的分类目录不存在, 则创建与所述分类字段的值 对应的分类目录, 将话单记录存储到相对应的分类目录中。  When the category directory corresponding to the value of the category field does not exist, a category directory corresponding to the value of the category field is created, and the bill record is stored in the corresponding category directory.
进一步来说, 所述分类目录的目录名, 为所述话单记录中分类字段对 应的一类值。  Further, the directory name of the category directory is a type of value corresponding to the category field in the bill record.
进一步来说, 所述获取单元, 进一步设置为获得存储的预先设定的分 类字段。  Further, the obtaining unit is further configured to obtain a stored pre-set classification field.
进一步来说, 所述处理单元, 进一步设置为使分类目录具有单独的状 态记录, 以保证每个分类目录下的话单记录序号独立连续。  Further, the processing unit is further configured to make the category directory have a separate status record, so as to ensure that the order number of the bills in each category directory is independent and continuous.
本发明的话单分拣分目录存储的方法及系统, 可以实时的根据话单记 录的字段, 将其写入实时创建的目录中, 实现针对分拣后的话单记录, 按 照话单的某种特性做分类存储, 具有方法简单、 处理高效的特点。 在完成 话单分拣的过程中, 即根据分类字段, 实时创建与所述分类字段值对应的 话单分类目录, 当话单分拣完成, 同时也完成了话单的分目录存储过程, 不需要二次分拣归类。  The method and system for storing the bill sorting sub-directory of the present invention can be written into the real-time created catalog according to the field of the bill record in real time, and realize the bill record after sorting, according to a certain characteristic of the bill. As a classification storage, it has the characteristics of simple method and high efficiency. In the process of completing the bill sorting, that is, according to the category field, the bill catalogue corresponding to the category field value is created in real time, and when the bill sorting is completed, the sub-directory storage process of the bill is also completed, and Secondary sorting.
并且, 由于分类字段可以预先设定后进行存储, 因此话单记录中的分 类字段可以根据实际需要进行配置, 不拘泥于某一个字段。 附图说明  Moreover, since the classification field can be pre-set and stored, the classification field in the bill record can be configured according to actual needs, and is not limited to a certain field. DRAWINGS
图 1为本发明实施例的话单分拣分类系统框架图;  1 is a frame diagram of a bill sorting system according to an embodiment of the present invention;
图 2为本发明实施例的话单分类方法的流程图;  2 is a flowchart of a method for classifying bills according to an embodiment of the present invention;
图 3为本发明实施例的方法一应用实例的详细处理流程图。 具体实施方式 FIG. 3 is a flowchart of detailed processing of an application example of the method according to an embodiment of the present invention. detailed description
本发明的主要思想是: 在分拣话单记录的过程中, 实时创建与所述话 单记录的字段值对应的分类目录, 将话单记录的字段值作为分类条件, 将 具有某一或者某些相同字段值的话单记录分为一类, 存储到对应的分类目 录中。 从而相比于现有技术, 不用釆用二次分拣的方法, 可以提高处理效 率。  The main idea of the present invention is: in the process of sorting the bill record, real-time creating a catalogue corresponding to the field value of the bill record, and using the field value of the bill record as a sorting condition, will have a certain or some The CDR records of the same field value are divided into one class and stored in the corresponding category directory. Therefore, compared with the prior art, the processing efficiency can be improved without using the secondary sorting method.
具体来说, 首先, 确定话单分拣分类的字段条件, 所谓话单分目录存 储, 是根据话单记录中某一字段的不同值, 可称之为分类字段 Field, 来分 类这些话单记录。 然后, 在话单分拣程序, 对原始话单进行分拣的时候, 判断每条话单记录中的分类字段 Field的值, 将其写入对应分类的话单文件 中, 下一条话单记录分拣的时候, 如果 Field值对应其他分类, 就将其存放 到对应的其他分类的话单文件中。 当一个完整的原始话单文件被分拣完成 后, 其中的所有话单记录, 按照 Filed的不同值, 被分拣到对应不同分类的 分类目录中, 就完成了分拣后话单的按照分类存放。  Specifically, first, the field condition of the bill sorting classification is determined, and the so-called bill sub-directory storage is classified according to different values of a certain field in the bill record, which may be referred to as a sort field Field, to classify the bill records. . Then, in the bill sorting process, when the original bill is sorted, the value of the category field Field in each bill record is judged, and is written into the bill file of the corresponding category, and the next bill record is divided into When sorting, if the Field value corresponds to other categories, it will be stored in the corresponding bill file of other categories. When a complete original bill file is sorted, all the bill records in it are sorted into the catalogues corresponding to different categories according to the different values of Filed, and the sorting of bills after sorting is completed. Store.
其中, 分类字段 filed是可以配置的, 也就是说, 分类的规则字段是可 以改变的, 不固定于某一字段。  The classification field filed is configurable, that is, the classified rule field is changeable and is not fixed to a certain field.
对于分类字段 Filed, 根据这个字段值, 来归类话单, 所归类的分类是 实时生成的, 不用预先配置产生这个分类。  For the classification field Filed, according to this field value, the vocabulary is classified, and the classified classification is generated in real time, and this classification is generated without pre-configuration.
每个分类目录下的话单, 有自己单独的状态记录, 记载分类目录下话 单的文件序号, 产生曰期等, 以保证每个分类目录下的话单文件序号是独 立连续的。  The CDRs in each category have their own separate status records, record the file serial numbers of the CDRs in the categorization directory, generate flood periods, etc., to ensure that the CDR numbers in each category are contiguous.
下面结合附图及优选实施方式对本发明技术方案进行进一步详细说 明。  The technical solution of the present invention will be further described in detail below with reference to the accompanying drawings and preferred embodiments.
如图 1所示为本发明的话单分类系统一具体实施例的示意图。 图 1中, 分类系统包括话单分拣单元 11 , 用于读取原始话单记录并逐条分拣处理原 始话单记录, 还包括: FIG. 1 is a schematic diagram of a specific embodiment of a bill classification system according to the present invention. In Fig. 1, the classification system includes a bill sorting unit 11 for reading the original bill record and sorting the original bill by item. The initial bill record also includes:
获取单元 10, 用于获得分类字段;  The obtaining unit 10 is configured to obtain a classification field;
处理单元 12, 用于在逐条分拣处理原始话单记录的过程中, 逐条判断 每条话单记录分类字段的值, 实时创建与所述分类字段值对应的分类目录, 将具有相同分类字段值的话单记录存储到相对应的分类目录中。  The processing unit 12 is configured to determine the value of each CDR record classification field one by one in the process of processing the original CDR record one by one, and create a categorization directory corresponding to the categorical field value in real time, which will have the same categorical field value. The bill records are stored in the corresponding category directory.
在本发明系统的一个优选实施例中, 处理单元 12, 进一步用于: 判断与所述分类字段值对应的分类目录是否存在;  In a preferred embodiment of the system of the present invention, the processing unit 12 is further configured to: determine whether a category directory corresponding to the category field value exists;
当分类字段值对应的分类目录存在, 则将话单记录存储到相对应的分 类目录中;  When the category directory corresponding to the category field value exists, the bill record is stored in the corresponding category directory;
当分类字段值对应的分类目录不存在, 则创建与所述分类字段值对应 的分类目录, 将话单记录存储到相对应的分类目录中。  When the category directory corresponding to the category field value does not exist, a category directory corresponding to the category field value is created, and the bill record is stored in the corresponding category directory.
其中, 所述分类目录的目录名, 为所述话单记录中分类字段对应的一 类值。 当然, 所述分类目录的目录名, 也可以釆用其它的命名规则, 本发 明对此不加以限定。  The directory name of the category directory is a type of value corresponding to the category field in the bill record. Of course, the directory name of the category directory may also use other naming rules, which is not limited in the present invention.
在本发明系统的一个优选实施例中, 所述获取单元 10, 进一步用于获 得存储的预先设定的分类字段。  In a preferred embodiment of the system of the present invention, the obtaining unit 10 is further configured to obtain a stored predetermined classification field.
其中, 处理单元 12, 进一步用于所述分类目录具有单独的状态记录, 以保证每个分类目录下的话单记录序号独立连续。  The processing unit 12 is further configured to have separate status records in the category directory, so as to ensure that the order numbers of the bills in each category are independently and continuously.
基于上述的模块, 本发明可以实现分拣后话单可以分多个类来存储, 而分类目录都是实时创建的, 事先并不知道有多少目录, 目录是分拣过程 中动态确定的。  Based on the above modules, the present invention can realize that the CDRs can be stored in multiple categories after sorting, and the catalogues are all created in real time. It is not known in advance how many catalogs are in existence, and the catalogue is dynamically determined in the sorting process.
如图 2所示为本发明话单分类方法的流程图。 该方法流程包括以下步 骤:  FIG. 2 is a flowchart of a method for classifying a bill according to the present invention. The method flow includes the following steps:
步骤 201 : 获得分类字段。  Step 201: Obtain a classification field.
步骤 202: 读取原始话单记录并逐条分拣处理原始话单记录。 步骤 203: 在逐条分拣处理原始话单记录的过程中, 逐条判断每条话单 记录分类字段的值, 实时创建与所述分类字段值对应的分类目录, 将具有 相同分类字段值的话单记录存储到相对应的分类目录中。 Step 202: Read the original bill record and sort the original bill record one by one. Step 203: In the process of processing the original bill record one by one, the value of each bill record classification field is judged one by one, the category catalog corresponding to the category field value is created in real time, and the bill record with the same category field value is recorded. Stored in the corresponding category directory.
在本发明方法的一个优选实施例中, 所述实时创建与所述分类字段值 对应的分类目录, 将具有相同分类字段值的话单记录存储到相对应的分类 目录中, 包括:  In a preferred embodiment of the method of the present invention, the categorization directory corresponding to the categorical field value is created in real time, and the CDR record having the same categorical field value is stored in the corresponding categorization directory, including:
判断与所述分类字段值对应的分类目录是否存在;  Determining whether a category directory corresponding to the category field value exists;
当分类字段值对应的分类目录存在, 则将话单记录存储到相对应的分 类目录中;  When the category directory corresponding to the category field value exists, the bill record is stored in the corresponding category directory;
当分类字段值对应的分类目录不存在, 则创建与所述分类字段值对应 的分类目录, 将话单记录存储到相对应的分类目录中。  When the category directory corresponding to the category field value does not exist, a category directory corresponding to the category field value is created, and the bill record is stored in the corresponding category directory.
其中, 所述分类目录的目录名, 为所述话单记录中分类字段对应的一 类值。 当然, 所述分类目录的目录名, 也可以釆用其它的命名规则, 本发 明对此不加以限定。  The directory name of the category directory is a type of value corresponding to the category field in the bill record. Of course, the directory name of the category directory may also use other naming rules, which is not limited in the present invention.
在本发明方法的一个优选实施例中, 所述获得分类字段, 包括: 获得存储的预先设定的分类字段。  In a preferred embodiment of the method of the present invention, the obtaining the classification field comprises: obtaining the stored preset classification field.
其中, 所述分类目录具有单独的状态记录, 以保证每个分类目录下的 话单记录序号独立连续。  The category directory has separate status records to ensure that the order numbers of the bills in each category are independently and continuously.
基于上述的方法, 本发明可以实现分拣后话单可以分多个类来存储, 而分类目录都是实时创建的, 事先并不知道有多少目录, 目录是分拣过程 中动态确定的。  Based on the above method, the present invention can realize that the CDRs can be stored in multiple categories after sorting, and the catalogues are all created in real time. It is not known in advance how many catalogs are in existence, and the catalogue is dynamically determined in the sorting process.
再结合图 3 所示的应用实例举例说明, 以对本发明的方法深入了解, 该应用实例的流程包括以下步骤:  The application example shown in FIG. 3 is used to illustrate the method of the present invention. The process of the application example includes the following steps:
步骤 301 : 分拣程序启动。  Step 301: The sorting program starts.
步骤 302: 读入分类字段 Field是什么, 比如是话单中服务提供商( SP ) 业务的系统名称 SP— SYSID, 后续分拣处理一条原始话单记录的时候, 根据 这条话单的 SP名称 (即这条话单归属于这个 SP )来归类到对应的分类。 Step 302: Read in the category field Field, such as a service provider (SP) in the bill The system name SP-SYSID of the service, when the subsequent sorting process processes an original bill record, the SP name according to the bill (that is, the bill belongs to the SP) is classified into the corresponding category.
步骤 303: 程序读入一条原始话单记录。  Step 303: The program reads in an original bill record.
步骤 304: 按照分拣后的话单格式, 组成一条分拣后的话单记录, 查找 所述原始话单记录中的 SP— SYSID的值是属于互通网关, SP— SYSID=GW。  Step 304: According to the sorted bill format, form a sorted bill record, and find the SP_SYSID value in the original bill record belongs to the interworking gateway, SP_SYSID=GW.
步骤 305: 判断互通网关 GW分类目录是否存在, 如果是, 则执行步 骤 307, 否则, 执行步骤 306。  Step 305: Determine whether the interworking gateway GW classification directory exists. If yes, execute step 307. Otherwise, go to step 306.
步骤 306: 立即创建对应目录, 执行步骤 307。  Step 306: Create a corresponding directory immediately, and go to step 307.
步骤 307: 将这条归属于 GW的话单, 写入 GW分类目录中的话单文 件里。  Step 307: Write the CDR that belongs to the GW into the CDR file in the GW classification directory.
步骤 308: 判断一个原始话单文件是否处理完毕, 如果是, 则执行步骤 Step 308: Determine whether an original bill file is processed, and if yes, perform steps
309, 否则, 执行步骤 303。 309, otherwise, go to step 303.
步骤 309: —个原始话单被分拣到 N个不同的目录下, 结束当前流程。 这样, 一个原始话单文件被分拣处理完成后, 其分拣结果文件, 就被 分类存放到不同的分类目录了。  Step 309: - The original bill is sorted into N different directories, and the current process is ended. In this way, after the original bill file is sorted, the sort result files are sorted and stored in different categories.
举例来说, 待分拣的原始话单, 其分拣后的话单格式为:  For example, the original bill to be sorted, the sorted bill format is:
话单类型 I话单流水号 I主叫号码 I被叫号码 I ... ... |SP类型 I ... ... I消息标识 对于这样的话单记录, 需要写入到话单文件中, 一般所有文件放到一 个分类目录中。  CDR type I CDR water number I calling number I called number I ... ... SP type I ... I message identification for such CDR records, need to be written to the CDR file , generally all files are placed in a category directory.
现在, 选取 SP类型字段, 作为分类字段, 对于上面每一条记录, 根据 SP类型值的不同, 分别写入到不同的分类, 分类名称即为 SP类型值。  Now, select the SP type field as the classification field. For each of the above records, write to different categories according to the SP type value. The classification name is the SP type value.
SP_类型值可能的取值: PPS, OCS, PDSCP (—些 SP的名称标识), 在 话单分拣处理的时候, 处理到 SP类型 =PPS的话单记录, 就创建分类目录 PPS , 然后将此条记录写入 PPS分类目录下的话单文件中, 其他类似。  SP_type value possible values: PPS, OCS, PDSCP (-name identification of some SPs), in the bill sorting process, when processing the order record of SP type=PPS, create a classification directory PPS, and then This record is written in the bill file under the PPS category directory, and the others are similar.
于是, 经过上面的处理, 最终的分拣后话单, 就被写入到 PPS , OCS, PDSCP等这些分类目录中。 至于总共有多少分类, 这个不需要预先设定, 完全取决于话单分拣过程中的 SP类型值。 Therefore, after the above processing, the final sorting order is written to PPS, OCS, PDSCP and other such categories. As for how many classifications there are, this does not need to be preset, and it depends entirely on the SP type value in the bill sorting process.
类似的, 还可以选择 "话单类型" 字段作为分类字段, 根据话单类型 的值来归类分拣话单。  Similarly, you can select the "Bill Type" field as the categorical field to sort the CDRs based on the value of the CDR type.
需要指出的是, 以上所述只是本发明的优选实施方式, 并不是对本发 明技术方案的限定, 任何熟悉本领域的技术人员对本发明技术特征所做的 等同替换或者相应改进, 仍在本发明的保护范围之内, 本发明的专利保护 范围应以所附权利要求为准。  It should be noted that the above description is only a preferred embodiment of the present invention, and is not intended to limit the technical solution of the present invention. Any equivalent replacement or corresponding improvement made by those skilled in the art to the technical features of the present invention is still in the present invention. Within the scope of the protection, the patent protection scope of the invention shall be determined by the appended claims.

Claims

权利要求书 Claim
1、 一种话单分拣分目录存储的方法, 所述方法包括:  A method for storing bills by sub-directory, the method comprising:
获得分类字段;  Obtain a classification field;
读取原始话单记录并逐条分拣处理原始话单记录;  Reading the original bill record and sorting the original bill record one by one;
在逐条分拣处理原始话单记录的过程中, 逐条判断每条话单记录分类 字段的值, 实时创建与所述分类字段的值对应的分类目录, 将具有相同分 类字段的值的话单记录存储到相对应的分类目录中。  In the process of processing the original bill record one by one, the value of each bill record classification field is judged one by one, the category catalog corresponding to the value of the category field is created in real time, and the bill record with the value of the same category field is stored. Go to the corresponding category directory.
2、 根据权利要求 1所述的方法, 其特征在于, 所述实时创建与所述分 类字段的值对应的分类目录, 将具有相同分类字段的值的话单记录存储到 相对应的分类目录中, 包括:  The method according to claim 1, wherein the real-time creation of a classification directory corresponding to the value of the classification field, and the bill record having the same classification field value are stored in the corresponding classification directory, Includes:
判断与所述分类字段的值对应的分类目录是否存在;  Determining whether a category directory corresponding to the value of the category field exists;
当分类字段的值对应的分类目录存在, 则将话单记录存储到相对应的 分类目录中;  When the category directory corresponding to the value of the category field exists, the bill record is stored in the corresponding category directory;
当分类字段的值对应的分类目录不存在, 则创建与所述分类字段的值 对应的分类目录, 将话单记录存储到相对应的分类目录中。  When the category directory corresponding to the value of the category field does not exist, a category directory corresponding to the value of the category field is created, and the bill record is stored in the corresponding category directory.
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述分类目录的目 录名, 为所述话单记录中分类字段对应的一类值。  The method according to claim 1 or 2, wherein the directory name of the category directory is a type of value corresponding to the category field in the bill record.
4、根据权利要求 1或 2所述的方法,其特征在于, 所述获得分类字段, 包括:  The method according to claim 1 or 2, wherein the obtaining the classification field comprises:
获得存储的预先设定的分类字段。  Obtain a stored pre-set categorical field.
5、 根据权利要求 1或 2所述的方法, 其特征在于, 所述分类目录具有 单独的状态记录, 使每个分类目录下的话单记录序号独立连续。  The method according to claim 1 or 2, wherein the classification directory has a separate status record, so that the order number of the bills in each category directory is independently continuous.
6、 一种话单分拣分目录存储的系统, 所述系统包括话单分拣单元, 设 置为读取原始话单记录并逐条分拣处理原始话单记录, 所述系统还包括: 获取单元, 设置为获得分类字段; 处理单元, 设置为读取原始话单记录并逐条分拣处理原始话单记录的 情况下, 在逐条分拣处理原始话单记录的过程中, 逐条判断每条话单记录 分类字段的值, 实时创建与所述分类字段的值对应的分类目录, 将具有相 同分类字段的值的话单记录存储到相对应的分类目录中。 6. A system for sorting and sorting sub-directories, wherein the system includes a bill sorting unit configured to read the original bill record and sort the original bill records one by one, the system further comprising: an acquiring unit , set to get the classification field; The processing unit, configured to read the original bill record and sort the original bill records one by one, in the process of sorting the original bill records one by one, determining the value of each bill record classification field one by one, real time A category directory corresponding to the value of the category field is created, and a bill record having the value of the same category field is stored in the corresponding category directory.
7、 根据权利要求 6所述的系统, 其特征在于, 所述处理单元, 进一步 设置为:  The system according to claim 6, wherein the processing unit is further configured to:
判断与所述分类字段的值对应的分类目录是否存在;  Determining whether a category directory corresponding to the value of the category field exists;
当分类字段的值对应的分类目录存在, 则将话单记录存储到相对应的 分类目录中;  When the category directory corresponding to the value of the category field exists, the bill record is stored in the corresponding category directory;
当分类字段的值对应的分类目录不存在, 则创建与所述分类字段的值 对应的分类目录, 将话单记录存储到相对应的分类目录中。  When the category directory corresponding to the value of the category field does not exist, a category directory corresponding to the value of the category field is created, and the bill record is stored in the corresponding category directory.
8、 根据权利要求 6或 7所述的系统, 其特征在于, 所述分类目录的目 录名, 为所述话单记录中分类字段对应的一类值。  The system according to claim 6 or 7, wherein the directory name of the category directory is a type of value corresponding to the category field in the bill record.
9、 根据权利要求 6或 7所述的系统, 其特征在于, 所述获取单元, 进 一步设置为获得存储的预先设定的分类字段。  9. System according to claim 6 or 7, characterized in that the acquisition unit is further arranged to obtain a stored pre-set classification field.
10、 根据权利要求 6或 7所述的系统, 其特征在于, 所述处理单元, 进一步设置为使分类目录具有单独的状态记录, 使每个分类目录下的话单 记录序号独立连续。  The system according to claim 6 or 7, wherein the processing unit is further configured to make the category directory have separate status records, so that the order numbers of the bills in each category are independently and continuously.
PCT/CN2011/071379 2010-04-22 2011-02-28 Method and system for storing sorted call bills by catalog WO2011131060A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010154071A CN101827175A (en) 2010-04-22 2010-04-22 Method and system for storing sorted call bills by catalog
CN201010154071.9 2010-04-22

Publications (1)

Publication Number Publication Date
WO2011131060A1 true WO2011131060A1 (en) 2011-10-27

Family

ID=42690865

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/071379 WO2011131060A1 (en) 2010-04-22 2011-02-28 Method and system for storing sorted call bills by catalog

Country Status (2)

Country Link
CN (1) CN101827175A (en)
WO (1) WO2011131060A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230080164A1 (en) * 2017-12-20 2023-03-16 Alpvision S.A. Authentication machine learning from multiple digital presentations

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101827175A (en) * 2010-04-22 2010-09-08 中兴通讯股份有限公司 Method and system for storing sorted call bills by catalog
CN106412866A (en) * 2015-07-30 2017-02-15 三亚中兴软件有限责任公司 Phone bill generation method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547350A (en) * 2003-12-15 2004-11-17 中兴通讯股份有限公司 A method of call bill storage
CN1761277A (en) * 2004-10-11 2006-04-19 中兴通讯股份有限公司 Device for dynamic analyzing call ticket and dynamic analyzing method
CN101552976A (en) * 2009-04-29 2009-10-07 中兴通讯股份有限公司 Multi-service form file processing system and method
CN101827175A (en) * 2010-04-22 2010-09-08 中兴通讯股份有限公司 Method and system for storing sorted call bills by catalog

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6668046B1 (en) * 1999-05-18 2003-12-23 Motorola, Inc. Method and system for generating a user's telecommunications bill

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1547350A (en) * 2003-12-15 2004-11-17 中兴通讯股份有限公司 A method of call bill storage
CN1761277A (en) * 2004-10-11 2006-04-19 中兴通讯股份有限公司 Device for dynamic analyzing call ticket and dynamic analyzing method
CN101552976A (en) * 2009-04-29 2009-10-07 中兴通讯股份有限公司 Multi-service form file processing system and method
CN101827175A (en) * 2010-04-22 2010-09-08 中兴通讯股份有限公司 Method and system for storing sorted call bills by catalog

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230080164A1 (en) * 2017-12-20 2023-03-16 Alpvision S.A. Authentication machine learning from multiple digital presentations

Also Published As

Publication number Publication date
CN101827175A (en) 2010-09-08

Similar Documents

Publication Publication Date Title
CN107798109A (en) Method, apparatus, computer equipment and the storage medium of reconciliation clearance
CN109767237B (en) Customer service intelligent access method and system
WO2016177077A1 (en) Method and device for generating call ticket
WO2008095384A1 (en) Matching method and system for marketing campaign recommendation
CN109993417A (en) A kind of service condition mark adding method, device and storage medium
CN110233741A (en) Service charging method, device, equipment and storage medium
CN104486091A (en) Charging method and device
CN103903082A (en) Method for generating accounting documents by means of receipt data in ERP system
CN107800894A (en) A kind of phonetic prompt method and terminal device for telephony service system
CN106021048A (en) Out-of-order verification method and device of disk pack
WO2011131060A1 (en) Method and system for storing sorted call bills by catalog
CN104462096A (en) Public opinion monitoring and analysis method and device
SE514994C2 (en) Method and apparatus for extracting data from a group of data
US8250060B2 (en) File uploading method with function of abstracting index information in real time and web storage system using the same
CN105430654B (en) The recognition methods of the attaching information of number and device
CN110276672A (en) A kind of account checking method, device, equipment and computer readable storage medium
CN103634470A (en) Human-computer interaction prediction method based on terminal mobile data access network Qos
CN102231876A (en) Compatibility test method and device of billing system
CN100512270C (en) A method for implementing intelligent network service
CN104572730B (en) Digital resource importing, deriving method and device
CN108733830A (en) A kind of intelligence file classifying method and device
CN105095402A (en) Method for searching WeChat material
CN103778223B (en) Pervasive word-reciting system based on cloud platform and construction method thereof
CN101316259B (en) Method, device and system for contents filtering
CN105208534A (en) Event notification method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11771513

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11771513

Country of ref document: EP

Kind code of ref document: A1