CN101184132A - Memory file and real-time synchronization technique based fast fixed charges computing system - Google Patents

Memory file and real-time synchronization technique based fast fixed charges computing system Download PDF

Info

Publication number
CN101184132A
CN101184132A CNA2007101448602A CN200710144860A CN101184132A CN 101184132 A CN101184132 A CN 101184132A CN A2007101448602 A CNA2007101448602 A CN A2007101448602A CN 200710144860 A CN200710144860 A CN 200710144860A CN 101184132 A CN101184132 A CN 101184132A
Authority
CN
China
Prior art keywords
memory
data
real
file
information
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
CNA2007101448602A
Other languages
Chinese (zh)
Other versions
CN100571316C (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.)
China Mobile Group Heilongjiang Co Ltd
Original Assignee
China Mobile Group Heilongjiang 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 Group Heilongjiang Co Ltd filed Critical China Mobile Group Heilongjiang Co Ltd
Priority to CNB2007101448602A priority Critical patent/CN100571316C/en
Publication of CN101184132A publication Critical patent/CN101184132A/en
Application granted granted Critical
Publication of CN100571316C publication Critical patent/CN100571316C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention relates to a rapid fixed costs calculation system based on memory document and real-time synchronous technology, belonging to the fixed costs of computing system in telecommunications communications business. The invention solves the issues in the prior operator BOSS system, such as time-consuming in fixed fee calculation, affecting future business and other members. The invention establishes the user information memory mapping file system used for the storage of user information on the server memory; real-time synchronously changes the user information to the user information memory mapping file system utilizing the OLTP property of the billing data base, and then reads user information directly from the server system memory of user information memory mapping file system using a multi-threaded data reading admission subsystem, also, forms the fixed costs resulting information attained from the fixed costs calculation subsystem a memory files, storages to the server memory files. The invention reduces time-consuming of the fixed costs computes and also avoids the fixed costs calculation affecting future business. The invention can be used in the fixed costs calculation in existing telecommunications communications business.

Description

Quick constant expense computing system based on memory file and real-time synchronization technique
Technical field
The present invention relates to the computing system of the constant expense in the telecommunication path business.
Background technology
Constant expense is the important charging means of telecommunications operator, and for example Monthly Fee, special clothes take, and optional rate (optional bag) month function usage charges etc., telecom operators carry out marketing by collecting certain moon function usage charges usually.So calculating the every constant expense of user timely and accurately is an important indicator weighing telecom operators' charging accuracy.
Along with the expansion of each provider customer's scale and the lifting of rate complexity, the time that constant expense is calculated is more and more longer, performance consumption to the BOSS system, especially very big to the performance consumption in accounting data storehouse, cause the foreground service handling to be affected in constant expense computing interval decreased performance because of the accounting data storehouse, the processing speed in accounting data storehouse also descends greatly.In addition, along with the development of business, the expansion of userbase, constant expense is calculated the linear trend that increases that also is consuming time, and coverage enlarges, and progressively has influence on user's satisfaction.
At present, all adopt the data of database processing mode during each BOSS of operator system-computed constant expense, the performance bottleneck of database when handling data in enormous quantities determined its treatment effeciency extremely low.
Summary of the invention
In order to solve consuming time big, the problem that influences the foreground business of the existing BOSS of operator system-computed constant expense, the present invention proposes a kind of quick constant expense computing system based on memory file and real-time synchronization technique.
Quick constant expense computing system based on memory file and real-time synchronization technique of the present invention comprises:
Accounting data storehouse 1, the BOSS system legacy data storehouse that is used to store subscriber information message;
Constant expense computing subsystem 5, the user profile and the outside cost information that are used for obtaining according to data read subsystem 4 calculate, and then obtain customer charge increment information and constant expense cumulative information;
It also comprises:
Subscriber data Memory Mapping File and its system 2, form by a plurality of subscriber data Memory Mapping File and its mmap, each subscriber data Memory Mapping File and its mmap is made up of a plurality of subscriber information messages, it is used to store subscriber data, and can be connected with accounting data storehouse 1 by real-time interface, data variation part real-time update in the accounting data storehouse 1 is arrived corresponding subscriber data Memory Mapping File and its mmap;
Scheduler subsystem 3 is used for calculating needs according to constant expense, produces and send the order of calculating customer charge;
Data read subsystem 4 is used for the order according to the calculating customer charge of scheduler subsystem 3 transmissions, reads the relative users data from subscriber data Memory Mapping File and its system 2, and the subscriber information message that reads is passed to constant expense computing subsystem 5;
Constant expense is statistics sub system 6 as a result, is used for the customer charge increment information that constant expense computing subsystem 5 obtains is updated to corresponding incremental expense Memory Mapping File and its and real-time account system respectively; Also be used for the customer charge cumulative information that constant expense computing subsystem 5 obtains is updated to corresponding aggregate expense Memory Mapping File and its; Also be used for customer charge information being write database subsequent collection table at the end of month.
Described real-time account system is an existing account system in the BOSS system, is used to store the system of customer charge information.
Quick constant expense computing system based on memory file and real-time synchronization technique of the present invention, with of the prior art when constant expense is calculated, need gather the pattern of user data information in the accounting data storehouse improves, the present invention is mapped to the accounting data library information in the original system and forms subscriber data Memory Mapping File and its system in the internal memory of server system, and employing real-time synchronization technique, the data in real time that changes in the accounting data storehouse is updated to subscriber data Memory Mapping File and its mmap of the present invention, guarantee that the user data information of subscriber data Memory Mapping File and its of the present invention system is consistent with information in the accounting data storehouse, when calculating customer charge, directly from the subscriber data Memory Mapping File and its system of server system internal memory, read subscriber information message, and will calculate the constant expense object information formation memory file that obtains and deposit in the memory file of server.It is fireballing more than what search for from the accounting data storehouse, read and write data directly to read and write data from internal memory, also avoided every day owing to calculate a large amount of read-write operations of constant expense to the accounting data storehouse, reduced operating pressure to the accounting data storehouse, discharged BOSS system resource, not only improved the computational speed of constant expense, also avoided owing to calculate the influence of constant expense to the foreground business.
Through using the quick constant expense computing system based on memory file and real-time synchronization technique of the present invention, make average consuming time being reduced in 5 minutes of constant expense calculating from original 500 minutes in China Mobile Communication Group Heilongjiang Co., Ltd..
Description of drawings
Fig. 1 is a system construction drawing of the present invention; Fig. 2 is the constant expense average consuming time statistical chart of China Mobile Communication Group Heilongjiang Co., Ltd. between year January in June, 2006 to 2007; Fig. 3 is that in May, 2007 China Mobile Communication Group Heilongjiang Co., Ltd.'s use quick constant expense computing system based on memory file and real-time synchronization technique of the present invention carries out the average statistical chart consuming time of constant expense that constant expense is calculated.
Embodiment
The quick constant expense computing system based on memory file and real-time synchronization technique of present embodiment comprises:
Accounting data storehouse 1, the BOSS system legacy data storehouse that is used to store subscriber information message;
Constant expense computing subsystem 5, the user profile and the outside cost information that are used for obtaining according to data read subsystem 4 calculate, and then obtain customer charge increment information and constant expense cumulative information;
It also comprises:
Subscriber data Memory Mapping File and its system 2, form by a plurality of subscriber data Memory Mapping File and its mmap, each subscriber data Memory Mapping File and its mmap is made up of a plurality of subscriber information messages, it is used to store subscriber data, and can be connected with accounting data storehouse 1 by real-time interface, data variation part real-time update in the accounting data storehouse 1 is arrived corresponding subscriber data Memory Mapping File and its mmap
Scheduler subsystem 3 is used for calculating needs according to constant expense, produces and send the order of calculating customer charge;
Data read subsystem 4 is used for the order according to the calculating customer charge of scheduler subsystem 3 transmissions, reads the relative users data from subscriber data Memory Mapping File and its system 2, and the subscriber information message that reads is passed to constant expense computing subsystem 5;
Constant expense is statistics sub system 6 as a result, is used for the customer charge increment information that constant expense computing subsystem 5 obtains is updated to corresponding incremental expense Memory Mapping File and its and real-time account system respectively; Also be used for the customer charge cumulative information that constant expense computing subsystem 5 obtains is updated to corresponding aggregate expense Memory Mapping File and its; Also be used for customer charge information being write database subsequent collection table at the end of month.
Described real-time account system is an existing account system in the BOSS system, is used to store the system of customer charge information.
In the described subscriber data Memory Mapping File and its of the present embodiment system 2, each No. ten thousand section (i.e. 10,000 users) form a subscriber data memory-mapped memory file, and described subscriber data memory-mapped memory file adopts the binary code record.The mapped file of this structure, on the one hand by adopting the binary code recorded information to save memory headroom, adopt each No. ten thousand section to form a file on the other hand, be convenient to addressing and search user profile, corresponding memory file is selected in the first seven position according to the user mobile phone telephone number, according to subscriber phone number back four seek user profile position hereof then, adopt that the method for this relative addressing can be once, find the relative users data information accurately, convenient, fast.
Each subscriber information message among the described subscriber data Memory Mapping File and its of the present embodiment mmap adopts list structure, the memory space of each subscriber information message is divided into static zones and dynamic area, the space equal and opposite in direction of the static zones of each subscriber information message, how many dynamic areas changes according to subscriber data, has only just to start corresponding dynamic area when the static zones space of subscriber information message is not enough.
The form of described each subscriber information message is: the user ID identifier | the Customer ID identifier | and telephone number | user brand | user property | user ascription area | the ownership place identifier | User Status | the Status Change time | the time started | the concluding time | arrearage information | VPMN information | way of paying | area flag | regional address | next data address.When user data information used static zones can store to finish, described " next data address " usefulness " 1 " was represented; When user data information was not stored with static zones, remaining storage was in dynamic area, and described " next data address " points to the first address of corresponding dynamic area.
The described real-time interface technology of present embodiment, prior art in the existing BOSS system is meant when the user carries out business handling, and the data in real time that changes is write the specified interface table, data are read in by the interface table again in subscriber data Memory Mapping File and its system 2, and then realize the real-time update of data.
Subscriber data Memory Mapping File and its system 2 in the present embodiment also adopts the mode of trigger that the spy in the subscriber data is obeyed data in real time and is updated in the consumer products information material memory file.
The data refresh mode of described real-time interface of present embodiment and trigger has made full use of OLTP (the OnLine Transaction Processing) characteristic in accounting data storehouse 1, has kept real-time and high efficiency to the single business well.
The described scheduler subsystem 3 of present embodiment is set up process according to the calculating needs of constant expense, and adopts message queue mode allocating task to give data read subsystem 4.
The described data read subsystem 4 of present embodiment adopts the mode image data of multithreading according to the order of scheduler subsystem 3, promptly adopts a plurality of threads to gather different information respectively to same subscriber data.For example: can adopt two threads to read subscriber information message and consumer products information respectively.The data acquisition modes of multithreading has improved acquisition speed.
The constant expense incremental expense Memory Mapping File and its described in the statistics sub system 6 as a result adopts and the identical structure of subscriber data Memory Mapping File and its mmap with the aggregate expense Memory Mapping File and its; described incremental expense information and accumulation cost information all adopt structure chained list mode, and concrete structure is: the user ID identifier | telephone number | and calculation date | User Status | newspaper stops sign | the bill sign | the monthly rent code | one-level accounts item | secondary accounts item | fee to be charged | shut down guarantor's expense | next data address.
China Mobile Communication Group Heilongjiang Co., Ltd. is when using original constant expense computing system, referring to Fig. 2 to the average statistical chart consuming time of constant expense between year January in June, 2006 to 2007, constant expense is calculated average increasing along with the user consuming time, promote gradually, reached 500 minutes in January, 2007.In April, 2007, China Heilungkiang Co., Ltd of mobile communication group used the quick constant expense computing system based on memory file and real-time synchronization technique of present embodiment, the average statistics consuming time of the constant expense in May, 2007, referring to Fig. 3, be stabilized in 5 minutes.

Claims (9)

1. based on the quick constant expense computing system of memory file and real-time synchronization technique, it comprises: accounting data storehouse (1), the BOSS system legacy data storehouse that is used to store subscriber information message; Constant expense computing subsystem (5), the user profile and the outside cost information that are used for obtaining according to data read subsystem (4) calculate, and then obtain customer charge increment information and constant expense cumulative information;
It is characterized in that it also comprises:
Subscriber data Memory Mapping File and its system (2), form by a plurality of subscriber data Memory Mapping File and its mmap, each subscriber data Memory Mapping File and its mmap is made up of a plurality of subscriber information messages, it is used to store subscriber data, and can be connected with accounting data storehouse (1) by real-time interface, data variation part real-time update in accounting data storehouse (1) is arrived corresponding subscriber data Memory Mapping File and its mmap;
Scheduler subsystem (3) is used for calculating needs according to constant expense, produces and send the order of calculating customer charge;
Data read subsystem (4), be used for order according to the calculating customer charge of scheduler subsystem (3) transmission, from subscriber data Memory Mapping File and its system (2), read the relative users data, and the subscriber information message that reads is passed to constant expense computing subsystem (5);
Constant expense is statistics sub system (6) as a result, is used for the customer charge increment information that constant expense computing subsystem (5) obtains is updated to corresponding incremental expense Memory Mapping File and its and real-time account system respectively; Also be used for the customer charge cumulative information that constant expense computing subsystem (5) obtains is updated to corresponding aggregate expense Memory Mapping File and its; Also be used for customer charge information being write database subsequent collection table at the end of month.
2. the quick constant expense computing system based on memory file and real-time synchronization technique according to claim 1, it is characterized in that in the described subscriber data Memory Mapping File and its system (2), each No. ten thousand section forms a subscriber data memory-mapped memory file, and described subscriber data memory-mapped memory file adopts the binary code record.
3. the quick constant expense computing system based on memory file and real-time synchronization technique according to claim 1, it is characterized in that each subscriber information message among the described subscriber data Memory Mapping File and its mmap adopts list structure, the memory space of each subscriber information message is divided into static zones and dynamic area, the space equal and opposite in direction of the static zones of each subscriber information message, how many dynamic areas changes according to subscriber data, has only just to start corresponding dynamic area when the static zones space of subscriber information message is not enough.
4. the quick constant expense computing system based on memory file and real-time synchronization technique according to claim 3 is characterized in that the structure of each subscriber information message among the described subscriber data Memory Mapping File and its mmap is: the user ID identifier | the Customer ID identifier | and telephone number | user brand | user property | user ascription area | the ownership place identifier | User Status | the Status Change time | the time started | the concluding time | arrearage information | VPMN information | way of paying | area flag | regional address | next data address.When user data information used static zones can store to finish, described " next data address " usefulness " 1 " was represented; When user data information was not stored with static zones, remaining storage was in dynamic area, and described " next data address " points to the first address of corresponding dynamic area.
5. the quick constant expense computing system based on memory file and real-time synchronization technique according to claim 1, it is characterized in that subscriber data Memory Mapping File and its system (2), also adopt the mode of trigger that the spy in the subscriber data is obeyed data in real time and be updated in the consumer products information material memory file.
6. the quick constant expense computing system based on memory file and real-time synchronization technique according to claim 1, it is characterized in that described scheduler subsystem (3), calculating needs according to constant expense are set up process, and adopt message queue mode allocating task to give data read subsystem (4).
7. the quick constant expense computing system based on memory file and real-time synchronization technique according to claim 1, it is characterized in that the order of described data read subsystem (4) according to scheduler subsystem (3), adopt the mode image data of multithreading, promptly adopt a plurality of threads to gather different information respectively same subscriber data.
8. the quick constant expense computing system based on memory file and real-time synchronization technique according to claim 1 is characterized in that constant expense the incremental expense Memory Mapping File and its described in the statistics sub system (6) and employing of aggregate expense Memory Mapping File and its and the identical structure of subscriber data Memory Mapping File and its mmap as a result.
9. the quick constant expense computing system based on memory file and real-time synchronization technique according to claim 8; it is characterized in that incremental expense information and accumulation cost information in described incremental expense Memory Mapping File and its and the aggregate expense Memory Mapping File and its all adopt structure chained list mode, concrete structure is: the user ID identifier | telephone number | and calculation date | User Status | newspaper stops sign | the bill sign | the monthly rent code | one-level accounts item | secondary accounts item | fee to be charged | shut down guarantor's expense | next data address.
CNB2007101448602A 2007-12-19 2007-12-19 Quick constant expense computing system based on memory file and real-time synchronization technique Active CN100571316C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2007101448602A CN100571316C (en) 2007-12-19 2007-12-19 Quick constant expense computing system based on memory file and real-time synchronization technique

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2007101448602A CN100571316C (en) 2007-12-19 2007-12-19 Quick constant expense computing system based on memory file and real-time synchronization technique

Publications (2)

Publication Number Publication Date
CN101184132A true CN101184132A (en) 2008-05-21
CN100571316C CN100571316C (en) 2009-12-16

Family

ID=39449207

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2007101448602A Active CN100571316C (en) 2007-12-19 2007-12-19 Quick constant expense computing system based on memory file and real-time synchronization technique

Country Status (1)

Country Link
CN (1) CN100571316C (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102024010A (en) * 2010-06-04 2011-04-20 西本新干线股份有限公司 Data processing system and data processing method
CN101795211B (en) * 2010-01-13 2012-02-22 北京中创信测科技股份有限公司 Data storage method and system
CN102487426A (en) * 2010-12-06 2012-06-06 中国移动通信集团重庆有限公司 Method for improving charging accuracy, system thereof and apparatus thereof
CN101730028B (en) * 2008-10-29 2012-07-04 中国移动通信集团吉林有限公司 Disaster tolerant method, system and device for virtual private mobile network service
CN102547644A (en) * 2010-12-31 2012-07-04 中国移动通信集团河北有限公司 Checking method and device of bills
CN102831017A (en) * 2012-08-31 2012-12-19 河海大学 High-efficiency distributed parallel authentication system
CN107678856A (en) * 2017-09-20 2018-02-09 苏宁云商集团股份有限公司 The method and device of increment information in a kind of processing business entity
CN111125070A (en) * 2019-11-19 2020-05-08 华迪计算机集团有限公司 Data exchange method and platform

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101730028B (en) * 2008-10-29 2012-07-04 中国移动通信集团吉林有限公司 Disaster tolerant method, system and device for virtual private mobile network service
CN101795211B (en) * 2010-01-13 2012-02-22 北京中创信测科技股份有限公司 Data storage method and system
CN102024010A (en) * 2010-06-04 2011-04-20 西本新干线股份有限公司 Data processing system and data processing method
CN102487426A (en) * 2010-12-06 2012-06-06 中国移动通信集团重庆有限公司 Method for improving charging accuracy, system thereof and apparatus thereof
CN102547644A (en) * 2010-12-31 2012-07-04 中国移动通信集团河北有限公司 Checking method and device of bills
CN102547644B (en) * 2010-12-31 2015-05-20 中国移动通信集团河北有限公司 Checking method and device of bills
CN102831017A (en) * 2012-08-31 2012-12-19 河海大学 High-efficiency distributed parallel authentication system
CN102831017B (en) * 2012-08-31 2014-09-10 河海大学 High-efficiency distributed parallel authentication system
CN107678856A (en) * 2017-09-20 2018-02-09 苏宁云商集团股份有限公司 The method and device of increment information in a kind of processing business entity
CN111125070A (en) * 2019-11-19 2020-05-08 华迪计算机集团有限公司 Data exchange method and platform

Also Published As

Publication number Publication date
CN100571316C (en) 2009-12-16

Similar Documents

Publication Publication Date Title
CN100571316C (en) Quick constant expense computing system based on memory file and real-time synchronization technique
CN110418022B (en) Method and device for adjusting flow package for multiple user identifications
CN108805632B (en) Charging method and device
CN110493016B (en) Flow service charging method and device
CN103729778A (en) Omni-channel advertisement accurate delivery system and method
CN100530142C (en) Method and system for automatically distributing real memory between virtual memory page sizes
CN102387486B (en) Method and device for charging general packet radio service (GPRS) partition bill
CN101620702A (en) Expenditure presentation processing method, device and system
CN102034194A (en) Logistics billing method based on rule
CN107566133A (en) A kind of resource billing method, device and platform
CN103067185A (en) Accounting method in cloud computing system
CN107730375A (en) A kind of method, system and the terminal device of tax management map
CN101458276A (en) Electric quantity computation method and apparatus and electric meter controlling equipment
CN103337109A (en) Fuel gas billing system and method
CN113037510A (en) Charging method, charging device and computer readable storage medium
CN109327815B (en) Income calculation method and device for logic station
CN101232538A (en) Apparatus and method for merging business data
CN102958030A (en) Charging method and charging system
CN102137449B (en) Business process method and system for business support system
CN103095469A (en) Communication cost copayment method and device
CN101217385B (en) A method and system for the temporary storage and treatment of charging bill
CN101827348A (en) Control method and equipment for user credit in prepayment service and service support system
CN108205559A (en) A kind of data managing method and its equipment
CN112737796B (en) Cross-region user communication fee transfer method, device, equipment, medium and product
CN110309223A (en) Select method, system and the relevant device of back end

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