- 2
- 0
- 约6.29万字
- 约 57页
- 2016-12-08 发布于辽宁
- 举报
摘 要
BSN(Business Support Network)计费系统的预付费入库,就是将经过拣重以后的话单文件进行解析并提取其中的信息,然后把这些信息入库,将它们以表的结构存放在数据库中,总的来说它实现的是从文件级到表级的过程。入库后产生了三张表:清单表、费用表和总帐(sd)表。清单表、费用表是给web前台查询用的,为客户提供清单级的查询;sd表的帐目数据是给以后出帐用的,可以为客户提供总帐级的查询。由于电信计费时的数据量很大,入库时,对数据库的操作会很慢,而电信计费要求是快速的实现计费,为此采取批量入库的方法,即写数据库时我们采用批量操作,当提取的记录达到一定数目时,把它们一起写入数据库,从而可以实现快速的对数据库进行写操作。
实现从文件级到表级的转换,关键是如何提取文件中的话单记录并把它放到表中相应得位置中,在这里先读取话单文件的头文件,把它属性标识ID存放到当前文件的属性ID序列ID序列ID来设置话单属性,并把它存放到计费原数据结构TCallDetailRecord)pRecordData的对应的成员变量里ID来匹配取得。
入库时,先用从话单文件中提取的信息以及其他必要信息来填写清单表、费用表和sd表,并把他们以向量的形式存放起来,处理完一个文件后,检查是否到了批量入库的记录数,到了就把这些记录写入数据库。
关键词:BSN;计费系统;预付费;话单文件;入库
ABSTRACT
BSN (Business Support Network) Billing System Prepayment is to depositing After sorting heavy billing documents, parse and extract the information, then storage the information, They will need to be stored in the structure of the database. Generally speaking, it realizes is from the document level to the table level process. After depositing have three tables : Detailed list table,expense table and general ledger (sd) table The detailed list table and the expense table are uses for the web onstage inquiry, to provide our customers with inventory level inquiry; The sd table account data is will enter in the accounts to later with, may provided to customers of the general ledger level inquiry. As the telecommunications billing tremendous volume of data and storage, the operation of the database would be very slow. but Telecom Billing demand is the fast realization of billing . Therefore, we adopt the method which the batch goes into storage, write database we use batch operations, When the extraction of a certain number of records, Put them together into the database. Therefore may realize fast carries on to the database writes theoperation.
The realization from the document level to the table leveltransformation, the key is how to extract the paper records and put it to the table in the corresponding location .. Here, first reads the head of the bill document ,puts its
您可能关注的文档
- 本科毕业论文---5000吨熟料水泥厂.doc
- 本科毕业论文---5000立方米球罐工艺设计.doc
- 本科毕业论文---6000吨近海油船设计大学.doc
- 本科毕业论文---九路红外遥控开关.doc
- 本科毕业论文---12500t多用途船破舱稳性计算.doc
- 本科毕业论文---18216吨每年苯一甲苯连续精馏装置工艺设计课程.doc
- 本科毕业论文---401014吨电动桥式起重机设计.doc
- 本科毕业论文---aceβ2肾上腺素受体基因多态性与原发性高血压和高血压性脑出血的关联研究.doc
- 本科毕业论文---acoofdm系统信道估计算法的研究.doc
- 本科毕业论文---amigo机器人路径规划研究与实现.doc
- 【银河专题】如何看待豆粕内外价差关系.pdf
- 工业5.0指数:国家如何重塑2025年的经济进步.docx
- 【蔚云科技】亚马逊【扫地机器人】行业消费者洞察报告.docx
- 青海大通县朔山中学2025-2026学年高三下学期开学考试政治+答案.docx
- 青海大通县朔山中学2025-2026学年高三下学期开学考试英语+答案.docx
- 东北师大附中2025届高三下学期期初考试-英语试题+答案.pdf
- 广东省汕头市2024-2025学年高三下学期第一次模拟考试政治试题(含答案).docx
- KPMG -欧洲数字产品护照 European Digital Product Passport.pdf
- 腾讯安全沙龙:后渗透新维度:利用Chrome插件后门实现持久化与凭据窃听.pdf
- 可持续发展报告调查:2025年结果.docx
原创力文档

文档评论(0)