WO2011134227A1 - 话单数据的统计处理方法及装置 - Google Patents

话单数据的统计处理方法及装置 Download PDF

Info

Publication number
WO2011134227A1
WO2011134227A1 PCT/CN2010/077027 CN2010077027W WO2011134227A1 WO 2011134227 A1 WO2011134227 A1 WO 2011134227A1 CN 2010077027 W CN2010077027 W CN 2010077027W WO 2011134227 A1 WO2011134227 A1 WO 2011134227A1
Authority
WO
WIPO (PCT)
Prior art keywords
statistical
data
bill data
bill
operation log
Prior art date
Application number
PCT/CN2010/077027
Other languages
English (en)
French (fr)
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 WO2011134227A1 publication Critical patent/WO2011134227A1/zh

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
    • 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]
    • 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/44Augmented, consolidated or itemized billing statement or bill presentation
    • 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/58Arrangements for metering, time-control or time indication ; Metering, charging or billing arrangements for voice wireline or wireless communications, e.g. VoIP based on statistics of usage or network monitoring

Definitions

  • the present invention relates to the field of CDR processing in a communication system, and in particular, to a statistic processing method and apparatus for CDR data. Background technique
  • the prior art statistical data generation process is shown in FIG. 1, and the specific processes include:
  • Step S101 the client submits a statistical request
  • Step S102 the database receives the query request, executes the query statement, and queries the bill data table.
  • Step S103 The database generates the statistics and returns the data to the client; the client displays the statistics.
  • the amount of data in the bill is huge, and the query is performed on such a large amount of data, and the result cannot be quickly returned, causing the user to wait for a long time and reducing the user experience;
  • the main object of the present invention is to provide a statistical processing method and apparatus for bill data, which can effectively count a large amount of bill data.
  • an embodiment of the present invention provides a statistical processing method for bill data, including:
  • the set statistics start time obtain the bill data to be counted; perform statistical processing on the obtained bill data according to the set statistics parameters, and generate statistical result data; fill in the statistical operation log of the record statistics processing process, which is used to obtain the bills next time. data.
  • the obtaining the bill data to be counted according to the set statistical start time further comprises: storing the bill data in the order number to the bill data table; obtaining the bill start data in the bill data table according to the set statistics start time Single data to be counted.
  • the statistical operation log includes at least the CDR number information, and the statistic operation operation is used to obtain the CDR data for the next time, further comprising: obtaining the CDR from the statistical operation log when the CDR data is acquired next time. No. information; According to the order number information, the bill data that is not counted is obtained in the bill data table.
  • the statistical operation log further includes one or the following information: performing statistical time, performing statistical time consumption, and performing statistical results.
  • the method when the user requests the statistical data, the method further includes: performing a statistical operation on the statistical result data to obtain the statistical data requested by the user.
  • an embodiment of the present invention further provides a statistical processing device for bill data, including:
  • a timing module configured to set a statistics start time
  • an acquisition module configured to follow the timing module
  • the statistics start time is used to obtain the bill data to be counted
  • the statistics module is configured to perform statistical processing on the acquired bill data according to the set statistical parameters to generate statistical result data
  • a recording module which is used to fill in the statistical operation log of the record statistical processing process.
  • the apparatus further includes: a bill data table, configured to store the bill data in the order number to the bill data table; and the obtaining module obtains the bill data to be counted in the bill data table.
  • a bill data table configured to store the bill data in the order number to the bill data table
  • the obtaining module obtains the bill data to be counted in the bill data table.
  • the statistical operation log includes at least the CDR number information
  • the obtaining module is further configured to obtain the CDR data that is not counted in the CDR data table according to the CDR number information in the statistic operation log.
  • the statistical operation log further includes one or the following information: performing statistical time, performing statistical time consumption, and performing statistical results.
  • FIG. 1 is a schematic flow chart of a statistical data generating process according to prior art
  • FIG. 2 is a schematic flowchart of a method for statistical processing of bill data according to an embodiment of the present invention
  • FIG. 3 is a schematic diagram of a preferred processing scheme for a statistical processing method for bill data according to an embodiment of the present invention
  • FIG. 4 is a schematic block diagram of a statistical processing device for bill data according to an embodiment of the present invention.
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The main idea of the present invention is that the process of statistical data is periodically executed in the background of the database. The statistical process performs statistics on new incoming bills, and statistical data is written into respective statistical result data. Finally, the final statistics required by the user are required. The data is summarized and summed by the data in the respective statistical result data. Return after the average operation.
  • a statistical processing method of bill data is provided.
  • FIG. 2 is a flowchart of a method for statistical processing of bill data according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • Step S202 Acquire the bill data to be counted according to the set statistics start time. Further, in this step, the bill data of the service is sequentially stored in the bill data table; according to the set statistics start time, in the bill data table. Obtain the bill data to be counted.
  • the statistical start time is a time when the statistical processing is started according to the actual traffic volume setting.
  • Step S204 Perform statistical processing on the acquired bill data according to the set statistical parameters to generate statistical result data.
  • the statistical parameter is a parameter for obtaining bill data, such as a delay time parameter, which can be set and adjusted according to the field traffic volume.
  • Step S206 Fill in the statistical operation log of the record statistics processing process, and use it to obtain the CDR data next time.
  • the statistic data is incrementally counted in the background dialog, and the statistical result data is generated.
  • the user can request the statistical data from the statistical result data without using the dialog data to perform statistics, avoiding processing large data volume bills, and reducing the transcript.
  • a bill data table for storing business bill data can store bill data according to the sky table, and sort the bill data according to the month and day of the generation time, that is, the bill data of the same day is saved into the same bill data table.
  • each bill record is numbered in an increasing sequence. It should be noted that the bill data is classified according to the month and the day, and the month and day parameters are used as the incoming parameters of the statistical storage process. Therefore, the report maintenance personnel can perform statistics on the bill data of any date. and Moreover, the recorded bill data is numbered, and the statistical storage process can locate the bill data according to the number, and perform incremental statistics.
  • the statistical result data is used to store the final statistical data required by the user, and is used as a data source for the user to request statistical data. Each time the user requests the statistical data, the statistical data is obtained from the statistical result data query. Preferably, one statistical result data required by the user corresponds to one statistical result data.
  • the statistical storage process performs incremental statistics according to the user-defined statistical algorithm dialog data.
  • one statistical result data corresponds to one statistical storage process.
  • the statistical storage process is responsible for all the work of statistical data generation.
  • the CDR data table and the dialog data are counted according to the statistical algorithm, the obtained statistical data is written into the statistical result data, and the statistical operation log is recorded.
  • Statistical operation log used to record the execution information of the statistical stored procedure, such as operation log information.
  • one statistical result data corresponds to one statistical operation log.
  • the statistics operation log information includes but is not limited to: CDR serial number information (recording start sequence number, end sequence number), execution statistics time, execution statistics time consumption, and execution of statistical results.
  • the number information of the bill is used for incremental statistics of the dialog box of the statistical storage process; the statistical result information is used by the report maintenance personnel to observe the statistical operation.
  • the statistical scheduling operation calls the statistical storage process periodically according to the set statistical start time. It should be noted that one statistical result data can correspond to one statistical scheduling operation, and each statistical storage process is executed concurrently; or, only one statistical scheduling operation is defined, and each statistical storage process is sequentially executed in sequence.
  • FIG. 3 is a schematic diagram of a preferred processing scheme of a method for statistical processing of bill data according to an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
  • Step S302 the statistical scheduling operation periodically calls the statistical storage process to start performing statistics.
  • the statistical scheduling operation starts the execution of the statistics by calling the statistical storage process according to the preset statistical start time.
  • the statistical scheduling job obtains the month and day information according to the system date and passes it to the statistical stored procedure.
  • the service bills are sometimes stored in a delay, and a time delay parameter can be configured.
  • the statistical schedule job reads the time delay parameter, and the month and day information in the date range is cyclically transmitted to the statistical storage process. And execute.
  • Step S304 the statistics storage process obtains the bill data, and the method mainly includes:
  • the statistical storage process obtains the starting sequence number from the statistical operation log.
  • the content information of the statistical operation log can be as shown in Table 1:
  • the statistical storage process finds the row with the highest number, that is, the most recent operation log record, and takes the end number of the row plus 1 as the starting sequence number of the statistical storage process. In the initial operation, if there is no record in the statistical operation log, the starting sequence number is 1.
  • the statistical storage process obtains the largest serial number recorded in the bill data table as the ending serial number.
  • the statistical storage process finds the corresponding CDR data table according to the incoming month date parameter and the set statistic parameter, and further finds the maximum sequence number of the record already in the CDR data table.
  • the bill data table is in the form of a bill data table, but the form of the bill data table is not limited herein.
  • Step S306 after obtaining the start sequence number and the end sequence number, the statistical storage process determines whether the start sequence number is smaller than the end sequence number. If the start sequence number is less than the end sequence number, step S308 is performed; if the start sequence number is equal to the end sequence number, then no new bill data needs to be counted. Go to step S316.
  • Step S308 the statistics of the stored procedure dialog data are counted.
  • step S310 it is determined whether the statistical execution is successful. If the statistical execution is successful, step S312 is performed; if the statistical execution is unsuccessful, then the process proceeds to step S314.
  • the statistical storage process determines whether the statistical execution is successful according to the result returned by the statistical execution. It should be noted that in a few cases, the statistical process may cause errors in the statistical process due to errors in the CDRs and illegal CDR data.
  • Step S312 the statistical storage process writes the obtained statistical data into the statistical result data.
  • the statistical result data saves the statistics of the execution of each statistical storage process. According to the data, when the user queries the statistical result data, the data is again summed, averaged, and the like, and the result of the final statistical data is returned.
  • Step S314 The statistical storage process writes operation log information such as the start and end sequence numbers of the CDR data, the execution result, and the abnormal information into the statistical operation.
  • the sequence number information and the captured exception information are written into the statistical operation log.
  • the report maintenance personnel can troubleshoot and maintain the statistics result data based on the abnormal information in the statistics operation log to avoid statistical errors.
  • a statistical result data corresponds to a statistical operation log, so that each statistical storage process does not interfere with each other when reading and writing operation log information, and avoids situations such as database locks and resource competition.
  • Step S316 the statistical process ends.
  • Embodiments of the present invention also provide a statistical processing apparatus for bill data.
  • FIG. 4 is a structural block diagram of a statistical processing apparatus for bill data according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes: a timing module 10, an obtaining module 20, a statistical module 30, and a recording module 40, wherein:
  • the timing module 10 is used to set a statistical start time.
  • the obtaining module 20 is configured to obtain the bill data to be counted according to the statistical start time set by the timing module 10.
  • the obtaining module 20 obtains the bill data to be counted in the bill data table. It should be noted that the bill data table is used to store the generated service bill data in the order number to the bill data table. The obtaining module 20 obtains the bill data that is not counted in the bill data table according to the bill number information in the statistical operation log.
  • the statistic module 30 is configured to perform statistical processing on the CDR data obtained by the obtaining module 20 according to the set statistical parameters, and generate statistical result data.
  • the recording module 40 is configured to fill in a statistical operation log of the record statistical processing process.
  • Statistical operation The log includes but is not limited to the following information: CDR serial number information, execution statistics time, execution statistics time consumption, and execution statistics results.
  • the workflow of the statistic processing device of the CDR data is similar to the statistic processing method of the CDR data, and can be referred to FIG. 2 and FIG. 3, and details are not described herein.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Debugging And Monitoring (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明公开了一种话单数据的统计处理方法及装置,其中,该方法包括:按照设置的统计开始时间获取待统计的话单数据;根据设置的统计参数对获取的话单数据进行统计处理,生成统计结果数据;填写记录统计处理过程的统计操作日志,用于下次获取话单数据。通过本发明,能够减少用户请求统计时间,从而增强用户体验。

Description

话单数据的统计处理方法及装置 技术领域
本发明涉及通信系统中话单处理领域, 尤其涉及一种话单数据的统计 处理方法及装置。 背景技术
在电信业务领域中, 随着服务供应商和使用手机上网用户的不断增长, 使得业务系统产生的话单也不断增长, 在话单量较多的业务系统中, 业务 量 TPS ( Tip-Per-Second ) 甚至已达到 5000条 /秒, 半年的数据量就达到 T ( Terabyte )级别。 同时, 供应商对监控系统性能、 用户行为分析等关键统 计数据也愈加关注。
现有技术的统计数据生成过程如图 1所示, 具体流程包括:
步骤 S101 , 客户端提交统计请求;
步骤 S102, 数据库收到查询请求, 执行查询语句, 查询话单数据表; 步骤 S103 , 数据库生成统计数据并返回给客户端; 客户端显示统计数 据。
对于业务量不大的情况, 上述方案尚能实时提供用户统计数据。 但是, 在业务量大的情况下, 上述技术方案则存在以下缺陷:
1、 话单数据量巨大, 且对如此大量数据执行查询, 通常不能快速返回 结果, 造成用户长时间等待, 降低了用户体验;
2、 多用户并发请求时, 由于返回各统计数据所执行的查询语句不同且 执行需长时间占用资源, 会对数据库造成性能影响, 具体表现为资源争抢、 锁表等, 严重时还会对话单入库造成影响;
3、 对于每个统计项, 每次用户请求查询均需重新执行查询语句、 重新 计算生成统计数据, 造成系统资源浪费。
综上所述, 由于现有技术中的话单数据统计方案存在上述缺陷, 因此 有必要提出改进的技术手段, 来解决此问题。 发明内容
有鉴于此, 本发明的主要目的在于提供一种话单数据的统计处理方法 及装置, 能有效地统计大量的话单数据。
为解决上述技术问题, 本发明的实施例提供一种话单数据的统计处理 方法, 包括:
按照设置的统计开始时间, 获取待统计的话单数据; 根据设置的统计 参数对获取的话单数据进行统计处理, 生成统计结果数据; 填写记录统计 处理过程的统计操作日志, 用于下次获取话单数据。
优选地, 所述按照设置的统计开始时间获取待统计的话单数据进一步 包括: 将所述话单数据按序编号存储至话单数据表; 按照设置的统计开始 时间, 在话单数据表中获取待统计的话单数据。
优选地, 所述统计操作日志至少包括话单序号信息, 所述统计操作曰 志用于下次获取话单数据进一步包括: 在下次获取话单数据时, 从所述统 计操作日志中获取话单序号信息; 根据所述话单序号信息, 在话单数据表 中获取未被统计的话单数据。
优选地, 统计操作日志进一步包括以下信息或其中之一: 执行统计时 间、 执行统计耗时、 执行统计结果。
优选地, 用户请求统计数据时, 该方法进一步包括: 对统计结果数据 进行统计操作, 获取用户所请求的统计数据。
为实现上述方法, 本发明的实施例还提供一种话单数据的统计处理装 置, 包括:
定时模块, 用于设置统计开始时间; 获取模块, 用于按照定时模块设 置的统计开始时间获取待统计的话单数据; 统计模块, 用于根据设置的统 计参数对获取的话单数据进行统计处理, 生成统计结果数据; 记录模块, 用于填写记录统计处理过程的统计操作日志。
优选地, 该装置进一步包括: 话单数据表, 用于将所述话单数据按序 编号存储至话单数据表; 获取模块在话单数据表中获取待统计的话单数据。
优选地, 统计操作日志至少包括话单序号信息, 获取模块进一步用于 根据统计操作日志中的话单序号信息在话单数据表中获取未被统计的话单 数据。
优选地, 统计操作日志进一步包括以下信息或其中之一: 执行统计时 间、 执行统计耗时、 执行统计结果。
与现有技术相比, 根据本发明的技术方案, 通过在后台对话单数据进 行增量统计, 生成统计结果数据, 使用户能够从统计结果数据中直接请求 统计数据, 而无需对话单数据进行统计, 避免处理大数据量话单, 减轻了 数据库负担, 同时减少了请求统计时间, 增强了用户体验。 附图说明 图 1是根据现有技术的统计数据生成过程的流程示意图;
图 2是根据本发明实施例的话单数据的统计处理方法的流程示意图; 图 3是根据本发明实施例的话单数据的统计处理方法的优选处理方案 的示意图;
图 4是根据本发明实施例的话单数据的统计处理装置的示意框图。 具体实施方式 本发明的主要思想在于, 统计数据的过程在数据库后台定时执行, 该 统计过程对新入库话单进行统计, 统计数据写入各自的统计结果数据中, 最后, 用户所需最终统计数据由对各自统计结果数据中数据进行汇总求和、 平均等操作后返回。
为使本发明的目的、 技术方案和优点更加清楚, 以下结合附图及具体 实施例, 对本发明作进一步地详细说明。
根据本发明的实施例, 提供了一种话单数据的统计处理方法。
图 2是根据本发明实施例的话单数据的统计处理方法的流程图,如图 2 所示, 该方法包括:
步骤 S202, 按照设置的统计开始时间获取待统计的话单数据; 进一步地, 本步骤将业务的话单数据按序编号存储至话单数据表; 按 照设置的统计开始时间在所述话单数据表中获取待统计的话单数据。
其中, 所述统计开始时间是根据实际业务量设置的开始执行统计处理 的时间。
步骤 S204, 根据设置的统计参数对获取的话单数据进行统计处理, 生 成统计结果数据;
需要指出的是, 所述统计参数是用于获取话单数据的参数, 如时延天 参数, 可根据现场业务量进行设置和调整。
步骤 S206, 填写记录统计处理过程的统计操作日志, 用于下次获取话 单数据。
借助上述处理, 在后台对话单数据进行增量统计, 生成统计结果数据, 如此, 用户能够从统计结果数据中请求统计数据, 而无需对话单数据进行 统计, 避免处理大数据量话单, 减轻了数据库负担, 同时减少了请求统计 时间, 增强了用户体验。
在具体描述本发明实施例之前, 首先对本文中出现的一些名词进行说 明:
话单数据表, 用于存储业务话单数据。 话单数据表可以按照天表存储 话单数据, 将话单数据按照产生时间的月、 日分类, 即同一天的话单数据 保存至同一张话单数据表中。 其中, 各话单记录按递增序列进行编号。 需 说明的是, 将话单数据按照月、 日分类, 同时将月日参数作为统计存储过 程的传入参数, 因此, 报表维护人员可对任意日期话单数据进行统计。 并 且, 将记录的话单数据进行编号, 统计存储过程可根据编号定位话单数据, 进行增量统计。
统计结果数据, 用于存储用户最终所需统计数据, 作为用户请求统计 数据的数据源, 每次用户请求统计数据时, 从该统计结果数据查询获得统 计数据。 优选地, 用户所需一个统计结果数据对应一个统计结果数据。
统计存储过程, 按照用户定义的统计算法对话单数据进行增量统计。 优选地, 一个统计结果数据对应一个统计存储过程。 统计存储过程负责统 计数据生成的所有工作, 读取话单数据表、 对话单数据按统计算法进行统 计、 将得到的统计数据写入统计结果数据中、 记录统计操作日志。
统计操作日志, 用于记录统计存储过程的执行信息, 如操作日志信息。 优选地, 一个统计结果数据对应一个统计操作日志。 统计操作日志记录的 信息包括但不限于: 话单序号信息 (记录的开始序号、 结束序号) 、 执行 统计时间、 执行统计耗时、 执行统计结果。 其中, 话单序号信息供统计存 储过程对话单进行增量统计; 统计结果信息供报表维护人员观察统计运行 情况。
统计调度作业, 按照设置的统计开始时间定时调用统计存储过程。 需 要说明的是, 一个统计结果数据可以对应一个统计调度作业, 各统计存储 过程并发执行; 或者, 只定义一个统计调度作业, 各统计存储过程按先后 顺序依次执行。
下面结合图 3详细描述本发明实施例。 图 3是根据本发明实施例的话 单数据的统计处理方法的优选处理方案的示意图, 如图 3 所示, 该方法包 括以下步骤:
步骤 S302, 统计调度作业定时调用统计存储过程, 开始执行统计。 本步骤中, 统计调度作业, 按照预先设置的统计开始时间, 通过调用 统计存储过程, 开始执行统计。 统计调度作业根据系统日期获得月、 日信 息并传入统计存储过程。 较佳的, 业务话单入库有时存在时延的情形, 可 配置一时延天参数, 统计调度作业读取该时延天参数, 循环将该日期段内 的月、 日信息传入统计存储过程并执行。 步骤 S304, 统计存储过程获取话单数据, 主要包括:
( 1 )统计存储过程从统计操作日志中获得开始序号。
例如, 统计操作日志的内容信息可以如表 1所示:
表 1
Figure imgf000008_0001
由于统计操作日志所记录的编号列为自增列, 统计存储过程找到编号 最大的行, 即为最近处理操作日志记录, 取出该行结束序号值加 1作为此 次统计存储过程的开始序号。 初始操作时, 统计操作日志中无记录, 则开 始序号为 1。
( 2 )统计存储过程获取话单数据表所记录的最大序号作为结束序号。 统计存储过程根据传入的月日参数及设置的统计参数, 找到对应的话 单数据天表, 进一步找到该话单数据天表中已有记录的最大序号。
需要说明的是, 在本实施例中, 所述话单数据表釆用话单数据天表的 形式, 但此处并不对所述话单数据表的形式进行限定。
步骤 S306, 获得开始序号、 结束序号后, 统计存储过程判断开始序号 是否小于结束序号, 若开始序号小于结束序号, 则执行步骤 S308; 若开始 序号等于结束序号, 则说明没有新的话单数据需统计, 转到步骤 S316。
步骤 S308, 统计存储过程对话单数据进行统计。
步骤 S310,判断统计执行是否成功,若统计执行成功,则执行步骤 S312; 若统计执行不成功, 则转到步骤 S314。
本步骤中, 统计存储过程根据统计执行返回的结果, 来判断统计执行 是否成功。 需要说明的是, 少数情况下, 统计过程可能因话单有错、 话单 数据非法等情况, 造成统计过程出错。
步骤 S312, 统计存储过程将得到的统计数据写入统计结果数据中。 其中, 所述统计结果数据保存了每次统计存储过程执行完毕的统计数 据, 用户查询统计结果数据时, 将这些数据再次进行求和、 求平均等聚合 操作, 返回最终统计数据的结果。
步骤 S314, 统计存储过程将话单数据开始及结束序号、 执行结果、 异 常信息等操作日志信息写入统计操作曰志。
其中, 将序号信息、 捕捉到的异常信息写入统计操作日志。 报表维护 人员可根据该统计操作日志中的异常信息对统计结果数据进行问题排查及 维护, 以避免统计出错。
优选地, 一个统计结果数据对应一个统计操作日志, 如此各统计存储 过程在读取、 写入操作日志信息时互不干扰, 避免数据库锁、 资源竟争等 情形。
步骤 S316, 统计过程结束。
至此, 本发明实施例的优选处理流程结束。 下面对本发明提出的装置 实施例进行说明。
装置实施例
本发明的实施例还提供了一种话单数据的统计处理装置。
图 4是根据本发明实施例的话单数据的统计处理装置的结构框图, 如 图 4所示, 该装置包括: 定时模块 10, 获取模块 20, 统计模块 30, 记录模 块 40, 其中:
定时模块 10, 用于设置统计开始时间。
获取模块 20,用于按照定时模块 10设置的统计开始时间获取待统计的 话单数据。
获取模块 20在话单数据表中获取待统计的话单数据。 需要说明的是, 话单数据表, 用于将产生的业务话单数据按序编号存储至话单数据表。 获 取模块 20根据统计操作日志中的话单序号信息在话单数据表中获取未被统 计的话单数据。
统计模块 30,用于根据设置的统计参数对获取模块 20获取的话单数据 进行统计处理, 生成统计结果数据。
记录模块 40, 用于填写记录统计处理过程的统计操作日志。 统计操作 日志包括但不限于以下信息: 话单序号信息、 执行统计时间、 执行统计耗 时、 执行统计结果。
在本实施例的具体实施中, 所述话单数据的统计处理装置的工作流程 与上述话单数据的统计处理方法类似, 可以参考图 2和图 3所示, 此处不 再赘述。
综上所示, 根据本发明的上述技术方案, 在后台对话单数据进行增量 统计, 生成统计结果数据, 使得用户能够从统计结果数据中请求统计数据, 而无需对话单数据统计, 避免处理大数据量话单, 减轻了数据库负担; 同 时统计结果数据中的数据供用户反复查询使用, 即使在多用户并发请求时 也能快速响应返回统计结果, 减少了用户请求时间, 增强了用户体验。
以上所述仅为本发明的实施例而已, 并不用于限制本发明, 对于本领 域的技术人员来说, 本发明可以有各种更改和变化。 凡在本发明的原则之 内, 所作的任何修改、 等同替换、 改进等, 均应包含在本发明的权利要求 范围之内。

Claims

权利要求书
1、 一种话单数据的统计处理方法, 其特征在于, 该方法包括: 按照设置的统计开始时间, 获取待统计的话单数据;
根据设置的统计参数对获取的话单数据进行统计处理, 生成统计结果 数据;
填写记录所述统计处理过程的统计操作日志。
2、 根据权利要求 1所述的方法, 其特征在于, 所述按照设置的统计开 始时间获取待统计的话单数据, 包括:
将所述话单数据按序编号存储至话单数据表;
按照设置的统计开始时间, 在所述话单数据表中获取待统计的话单数 据。
3、 根据权利要求 2所述的方法, 其特征在于, 所述统计操作日志中至 少包括话单序号信息;
所述方法进一步包括: 下次获取话单数据时, 从所述统计操作日志中 获取话单序号信息;
根据所述话单序号信息, 在所述话单数据表中获取未被统计的话单数 据。
4、 根据权利要求 3所述的方法, 其特征在于, 所述统计操作日志中进 一步包括以下信息或其中之一:
执行统计时间、 执行统计耗时、 执行统计结果。
5、 根据权利要求 1至 4任一项所述的方法, 其特征在于, 用户请求统计 数据时, 所述方法进一步包括:
对所述统计结果数据进行统计操作, 获取用户所请求的统计数据。
6、 一种话单数据的统计处理装置, 其特征在于, 该装置包括: 定时模块, 用于设置统计开始时间; 获取模块, 用于按照所述定时模块设置的统计开始时间获取待统计的 话单数据;
统计模块, 用于根据设置的统计参数对获取的话单数据进行统计处理, 生成统计结果数据;
记录模块, 用于填写记录所述统计处理过程的统计操作日志。
7、 根据权利要求 6所述的装置, 其特征在于, 该装置进一步包括: 话单数据表, 用于将所述话单数据按序编号存储至话单数据表; 所述 获取模块在所述话单数据表中获取待统计的话单数据。
8、 根据权利要求 7所述的装置, 其特征在于, 所述统计操作日志至少 包括话单序号信息;
所述获取模块, 进一步用于根据所述统计操作日志中的话单序号信息 在所述话单数据表中获取未被统计的话单数据。
9、 根据权利要求 8所述的装置, 其特征在于, 所述统计操作日志进一 步包括以下信息或其中之一:
执行统计时间、 执行统计耗时、 执行统计结果。
PCT/CN2010/077027 2010-04-29 2010-09-17 话单数据的统计处理方法及装置 WO2011134227A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201010160610A CN101815277A (zh) 2010-04-29 2010-04-29 话单数据的统计处理方法及装置
CN201010160610.X 2010-04-29

Publications (1)

Publication Number Publication Date
WO2011134227A1 true WO2011134227A1 (zh) 2011-11-03

Family

ID=42622365

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/077027 WO2011134227A1 (zh) 2010-04-29 2010-09-17 话单数据的统计处理方法及装置

Country Status (2)

Country Link
CN (1) CN101815277A (zh)
WO (1) WO2011134227A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312568A (zh) * 2013-07-09 2013-09-18 北京国双科技有限公司 数据统计方法及装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815277A (zh) * 2010-04-29 2010-08-25 中兴通讯股份有限公司 话单数据的统计处理方法及装置
CN109522285A (zh) * 2018-11-14 2019-03-26 北京首信科技股份有限公司 一种日志数据统计方法及系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761277A (zh) * 2004-10-11 2006-04-19 中兴通讯股份有限公司 一种对话单进行动态分析的装置及动态分析方法
CN101087203A (zh) * 2006-06-11 2007-12-12 上海全成通信技术有限公司 一种海量数据统计方法
CN101562664A (zh) * 2009-05-20 2009-10-21 中兴通讯股份有限公司 一种话单处理方法和系统
CN101815277A (zh) * 2010-04-29 2010-08-25 中兴通讯股份有限公司 话单数据的统计处理方法及装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859505B (zh) * 2006-03-10 2010-08-25 华为技术有限公司 话单查询系统及查询方法
CN101216821B (zh) * 2007-01-05 2010-06-16 中兴通讯股份有限公司 数据采集系统的存储管理方法
CN100589606C (zh) * 2007-10-24 2010-02-10 中兴通讯股份有限公司 一种短消息查询分析系统及方法

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761277A (zh) * 2004-10-11 2006-04-19 中兴通讯股份有限公司 一种对话单进行动态分析的装置及动态分析方法
CN101087203A (zh) * 2006-06-11 2007-12-12 上海全成通信技术有限公司 一种海量数据统计方法
CN101562664A (zh) * 2009-05-20 2009-10-21 中兴通讯股份有限公司 一种话单处理方法和系统
CN101815277A (zh) * 2010-04-29 2010-08-25 中兴通讯股份有限公司 话单数据的统计处理方法及装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103312568A (zh) * 2013-07-09 2013-09-18 北京国双科技有限公司 数据统计方法及装置

Also Published As

Publication number Publication date
CN101815277A (zh) 2010-08-25

Similar Documents

Publication Publication Date Title
CN103677752B (zh) 基于分布式数据的并发处理方法和系统
CN103116634A (zh) 支持高并发缓存任务队列的系统及其异步批量操作方法
CN108369550B (zh) 实时更改来自不同源的数据
WO2012152110A1 (zh) 清分结算子系统的拆分规则的生成方法及装置
CN102694847B (zh) 抓取第三方开放平台中用户动态的方法和装置
CN108228322B (zh) 一种分布式链路跟踪、分析方法及服务器、全局调度器
WO2011134227A1 (zh) 话单数据的统计处理方法及装置
CN108268468B (zh) 一种大数据的分析方法及系统
WO2011140759A1 (zh) 一种报表查询系统及其采集数据的方法和装置
CN107241231B (zh) 一种原始网络数据包的快速精准定位方法
CN110032578B (zh) 一种海量数据查询缓存的方法及装置
CN103034733A (zh) 一种用于呼叫中心的数据监控统计方法
CN103136315A (zh) 话单数据的入库处理方法及装置
CN109542917B (zh) 数据读取方法及计算机可读介质
CN110324211A (zh) 一种数据获取方法及装置
CN111026527B (zh) 一种处理海量定时任务的分发执行系统
CN109710623A (zh) 一种智能订单同步方法
CN108769244B (zh) 一种存储任务信息获取方法及相关装置
CN116795507A (zh) 分布式任务调度的方法、系统及调度装置
US20210406915A1 (en) Mobile wireless customer micro-care apparatus and method
CN103514180A (zh) 数据提供方法及装置
WO2021017281A1 (zh) 一种数据处理方法、系统、计算机设备及存储介质
CN107276782B (zh) 一种信息处理方法、设备和系统
CN115065647B (zh) 一种数据计算方法、装置及电子设备
CN111158870A (zh) 一种管理数据库的方法及装置

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: 10850558

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: 10850558

Country of ref document: EP

Kind code of ref document: A1