CN101620702A - Expenditure presentation processing method, device and system - Google Patents

Expenditure presentation processing method, device and system Download PDF

Info

Publication number
CN101620702A
CN101620702A CN200810115949A CN200810115949A CN101620702A CN 101620702 A CN101620702 A CN 101620702A CN 200810115949 A CN200810115949 A CN 200810115949A CN 200810115949 A CN200810115949 A CN 200810115949A CN 101620702 A CN101620702 A CN 101620702A
Authority
CN
China
Prior art keywords
expenditure
item
accounts
user
entering
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.)
Pending
Application number
CN200810115949A
Other languages
Chinese (zh)
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 CN200810115949A priority Critical patent/CN101620702A/en
Publication of CN101620702A publication Critical patent/CN101620702A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to the field of telecommunications, in particular to expenditure presentation processing technology. The invention discloses an expenditure presentation processing method, an expenditure presentation processing device and an expenditure presentation processing system, which are used for reducing pressure on an operation and account database during expenditure presentation to realize quick and accurate expenditure presentation processing. The expenditure presentation processing method comprises the following steps: storing user data information in the operation and account database into an internal storage and keeping data synchronism with the user data information in the operation and account database; receiving user service increment charges sent by a charge system in real time, calculating user financial increment charges according to the user data information in the internal storage, and accumulating the user financial increment charges to a user non-expenditure presentation bill; and performing expenditure presentation processing on users according to the user non-expenditure presentation bill.

Description

A kind of expenditure presentation processing method, Apparatus and system
Technical field
The present invention relates to field of telecommunications, relate in particular to a kind of expenditure presentation processing technology.
Background technology
(Business Operation Support System BOSS) mainly comprises business functions such as charging and clearing, accounting processing and management, customer service, service management to the professional operation support system of telecom operators.Entering an item of expenditure in the accounts belongs to the accounting processing category, can finish by entering an item of expenditure in the accounts user's account expense collect, prestore transfer and the linking of rate comes into force etc.Can be divided into entering an item of expenditure in the accounts according to the processing time and regularly to enter an item of expenditure in the accounts and enter an item of expenditure in the accounts in real time, regularly enter an item of expenditure in the accounts be meant set enter an item of expenditure in the accounts the cycle (for example one month) and regularly enter an item of expenditure in the accounts during (for example every month No. 10 to No. 11 or the end of month), during regularly entering an item of expenditure in the accounts according to the cycle of entering an item of expenditure in the accounts processings of entering an item of expenditure in the accounts, the process of formation subscriber's account data and corresponding statistics; Entering an item of expenditure in the accounts in real time is meant according to service request, the processing of entering an item of expenditure in the accounts in real time, the process of formation subscriber's account data.
Regularly entering an item of expenditure in the accounts fast and accurately is the important indicator of weighing telecom operators' charging supporting degree.At present, the BOSS system of telecom operators adopts based on the data of database way to manage, the BOSS system is when regularly entering an item of expenditure in the accounts, calculating, the bill that writes off of writing off warehouse-in and write off to transfer all to concentrate database is carried out large batch of data manipulation, performance consumption to the BOSS system, especially increasing to battalion's account performance of database consumption, it is excessive to cause seeking account database pressure during regularly entering an item of expenditure in the accounts, and has had a strong impact on the service handling efficient and the business processing speed of BOSS system.Regularly enter an item of expenditure in the accounts and adopt the serial processing mode, at first carry out data backup, calculating, the bill that writes off of writing off then warehouse-in and writing off is transferred, carrying out group afterwards writes off, the enter an item of expenditure in the accounts accounting data in cycle of the last initialization next one, coupling is big between each task, and time availability is not high, cause the time loss of regularly entering an item of expenditure in the accounts long, treatment effeciency is very low.If the cycle of entering an item of expenditure in the accounts of regularly entering an item of expenditure in the accounts is set at one month, the time loss of then regularly entering an item of expenditure in the accounts was generally one to two day.Entering an item of expenditure in the accounts in real time promptly and accurately is the important indicator of weighing telecom operators' charging accuracy, makes that based on the data of database way to manage efficient of entering an item of expenditure in the accounts in real time is lower.And, along with the development of business, the expansion of userbase and the lifting of rate complexity, the time loss of regularly entering an item of expenditure in the accounts is the trend that almost increases, the efficient of entering an item of expenditure in the accounts in real time is also more and more lower, especially it is also increasing to seek the pressure that the account database brings for the BOSS system, and progressively has influence on user satisfaction.
Summary of the invention
The invention provides a kind of expenditure presentation processing method, Apparatus and system, the pressure that battalion's account database is caused when reducing to enter an item of expenditure in the accounts realizes entering an item of expenditure in the accounts fast and accurately processing.
The invention provides a kind of expenditure presentation processing method, comprising:
Subscriber information message in battalion's account database is deposited in the data sync of the subscriber information message in internal memory and maintenance and the accounting data storehouse;
Receive in real time the user that charge system sends and serve incremental expense, calculate user's account incremental expense, and be added to user in the internal memory bill of not entering an item of expenditure in the accounts according to the subscriber information message in the internal memory;
Do not enter an item of expenditure in the accounts bill to user's processing of entering an item of expenditure in the accounts according to the user.
The invention provides a kind for the treatment of apparatus of entering an item of expenditure in the accounts, comprising:
Subscriber information message processing module: the data sync that is used for the subscriber information message of battalion's account database is deposited in the subscriber information message in internal memory and maintenance and the accounting data storehouse;
The module of entering an item of expenditure in the accounts in real time: be used for receiving in real time the user that charge system sends and serve incremental expense, calculate user's account incremental expense according to the subscriber information message in the internal memory;
Accumulator module: be used for the bill of not entering an item of expenditure in the accounts with the user that described user's account incremental expense is added to internal memory;
First memory modules: be used to store described subscriber information message and the user bill of not entering an item of expenditure in the accounts;
Processing module: be used for not entering an item of expenditure in the accounts bill to user's processing of entering an item of expenditure in the accounts according to the user.
The invention provides a kind of disposal system of regularly entering an item of expenditure in the accounts, comprising:
Account production equipment: the data sync that is used for the subscriber information message of battalion's account database is deposited in the subscriber information message in internal memory and maintenance and the accounting data storehouse, the user who receives the charge system transmission in real time serves incremental expense, calculate user's account incremental expense according to the subscriber information message in the internal memory, and be added to user in the internal memory bill of not entering an item of expenditure in the accounts;
Account disaster tolerance equipment: be used for during regularly entering an item of expenditure in the accounts, according to the user of the cycle correspondence of originally entering an item of expenditure in the accounts do not enter an item of expenditure in the accounts bill obtain the writing off bill and the intermediate result of transferring that writes off, transfer intermediate result to the processing that writes off respectively of the account of each user's correspondence according to the bill and writing off of writing off.
Expenditure presentation processing method provided by the invention, subscriber information message in battalion's account database is deposited in internal memory and keeps data sync, receive the user in real time and serve incremental expense, calculate user's account incremental expense according to the subscriber information message in the internal memory and be added to user in the internal memory bill of not entering an item of expenditure in the accounts, and with the user basis of bill as the processing of entering an item of expenditure in the accounts of not entering an item of expenditure in the accounts.To the data processing in enormous quantities of database, the pressure that when having reduced to enter an item of expenditure in the accounts battalion's account database has been caused had been realized the processing of entering an item of expenditure in the accounts fast and accurately when this scheme had been avoided entering an item of expenditure in the accounts.
Description of drawings
Fig. 1 is the disposal system block diagram of regularly entering an item of expenditure in the accounts in the embodiment of the invention;
Fig. 2 is the treating apparatus structured flowchart of entering an item of expenditure in the accounts in the embodiment of the invention;
Fig. 3 is an incremental trigger account form synoptic diagram in the embodiment of the invention;
Fig. 4 is an expenditure presentation processing method process flow diagram in the embodiment of the invention;
Fig. 5 is the parallel schematic flow sheet of entering an item of expenditure in the accounts of regular expenditure presentation processing method in the embodiment of the invention;
Fig. 6 a is a number of users broken line graph in the embodiment of the invention;
Fig. 6 b is the histogram consuming time of regularly entering an item of expenditure in the accounts corresponding with number of users among Fig. 6 a in the embodiment of the invention.
Embodiment
At regularly entering an item of expenditure in the accounts based on the data of database way to manage, and the drawback of serial processing mode, the embodiment of the invention provides a kind of disposal system of regularly entering an item of expenditure in the accounts, data management mode based on memory file, and the parallel processing mode of multithreading, make to need not battalion's account database is operated during regularly entering an item of expenditure in the accounts, avoided taking to battalion's account database, reduced the pressure that battalion's account database is caused, realized regularly entering an item of expenditure in the accounts fast and accurately.
As shown in Figure 1, the disposal system of regularly entering an item of expenditure in the accounts that the embodiment of the invention provides comprises account production equipment 101 and account disaster tolerance equipment 102.The charge system of account production equipment 101 and BOSS system, battalion's account database are connected.In order to improve reliability, the many accounts affair production equipment and the account disaster tolerance equipment of equal number can be set, account production equipment and account disaster tolerance equipment are to occur in pairs in this system.The embodiment of the invention is that example describes with two pairs of account production equipments and account disaster tolerance equipment, as can be seen from Figure 1, all adopts bottom optical fiber simultaneous techniques between the every pair of account production equipment and the account disaster tolerance equipment, to keep data sync; Two account affair production equipments shine upon each other based on NFS (Network File System, network file system(NFS)) agreement, realize two-node cluster hot backup, and two account affair production equipments also are connected with charge system, battalion's account database respectively; Two account affair disaster tolerance equipment shine upon each other based on the NFS agreement, realize two-node cluster hot backup.Wherein, battalion's account database is consistent with function of the prior art with charge system, and battalion's account database is used to store subscriber information message; Charge system is used for calculating the user and serving incremental expense after the user obtains service, and generates user's service fee delta file.Illustrate, after user's communication finished, charge system obtained user's conversation ticket from the switch that service is provided for the user, by pre-service, pick operations such as weight list, wholesale price, can calculate the user and serve incremental expense, generate user's service fee delta file.Below, the function of account production equipment 101 and account disaster tolerance equipment 102 is introduced respectively:
Account production equipment 101: the data sync that is used for the subscriber information message of battalion's account database is deposited in the subscriber information message in internal memory and maintenance and the accounting data storehouse, the user who receives the charge system transmission in real time serves incremental expense, calculate user's account incremental expense according to the subscriber information message in the internal memory, and be added to user in the internal memory bill of not entering an item of expenditure in the accounts;
Account disaster tolerance equipment 102: be used for during regularly entering an item of expenditure in the accounts, according to the user of the cycle correspondence of originally entering an item of expenditure in the accounts do not enter an item of expenditure in the accounts bill obtain the writing off bill and the intermediate result of transferring that writes off, and transfer intermediate result to processings that write off respectively of the account of each user's correspondence according to the bill and writing off of writing off, writing off to handle comprises that specifically the calculating that writes off, the bill that writes off put in storage and write off and transfers.
Account production equipment 101 account disaster tolerance equipment 102 transfer according to the bill and writing off of writing off intermediate result the account of each user's correspondence is write off respectively handle in, revise the beginning in the next cycle of entering an item of expenditure in the accounts of sign indication of regularly entering an item of expenditure in the accounts, and the subscriber information message in the initialization internal memory, by the enter an item of expenditure in the accounts accounting data in cycle of the initialization next one, build next user during regularly the entering an item of expenditure in the accounts environment of not entering an item of expenditure in the accounts, guarantee that the periodicity of regularly entering an item of expenditure in the accounts normally carries out.
Account disaster tolerance equipment 102 also be used for non-regularly enter an item of expenditure in the accounts during, subscriber information message in the account production equipment 101 and the user bill of not entering an item of expenditure in the accounts is deposited in internal memory and keeps data sync with the account production equipment, account production equipment and account disaster tolerance equipment are synchronous at the non-retaining data during of regularly entering an item of expenditure in the accounts, and can guarantee the data accurate and effective that calculates; And during regularly entering an item of expenditure in the accounts, stop this data sync, and be convenient to account disaster tolerance equipment specified data rest point like this, the user of the cycle correspondence of originally the being entered an item of expenditure in the accounts bill of not entering an item of expenditure in the accounts is so that regularly enter an item of expenditure in the accounts processing.
Account disaster tolerance equipment 102 also is used for during regularly entering an item of expenditure in the accounts, to the account of each user's correspondence write off finish dealing with after, for this user is provided with the mark that write off, can realize the breakpoint function like this; Cause thread interrupt if during regularly entering an item of expenditure in the accounts, abnormal conditions occur, then after restarting, account disaster tolerance equipment 102 does not need once more the processing that writes off again of the account of user's correspondence of handling carrying out writing off, but can so just effectively improve controllability, stability and the reliability of regularly entering an item of expenditure in the accounts according to the mark of setting that writes off to processings (calculatings that writes off, the bill that writes off are put in storage and write off and transfer) of proceeding to write off of the account of next user's correspondence.
Wherein, subscriber information message form with memory file in internal memory is stored, all users' subscriber information message in the fixing number section (for example No. 1350451 sections) of subscriber information message memory file storage of each generation, a plurality of subscriber information message memory files get final product the subscriber information message of all users in the stores service scope;
The user do not enter an item of expenditure in the accounts bill in internal memory equally with the form storage of memory file, the user of each generation bill memory file of not entering an item of expenditure in the accounts is corresponding with the subscriber information message memory file, (for example No. 1350451 sections) all users' the user bill of not entering an item of expenditure in the accounts in the fixing number section of storage;
Similarly, bill and the writing off intermediate result of transferring that writes off is stored in the internal memory with the form of memory file equally.
In order to guarantee the reliable memory of data, the form of the memory file in the internal memory with Memory Mapping File and its backed up in hard disk, with the generation of situations such as the unexpected power down of answering system, guarantee after system restarts each memory file in the quick-recovery internal memory soon.
Each subscriber information message memory file is made up of the subscriber information message of all users in the fixing number section in the embodiment of the invention, each subscriber information message adopts list structure in the subscriber information message memory file, its storage space is divided into static zones and dynamic area, static zones space equal and opposite in direction for each subscriber information message distribution, dynamic area can dynamic change according to the data volume of each subscriber information message, has only just to start the corresponding dynamic district when the static zones space of subscriber information message is not enough.
Wherein, the form of each subscriber information message is: user ID (Identifier, identifier) Customer ID telephone number user brand user property user ascription area ownership place ID User Status the Status Change time the start time the concluding time arrearage information VPMN information way of paying area flag regional address next data address.
When subscriber information message uses static zones can finish storage, " next data address " usefulness " 1 " expression; When subscriber information message uses static zones can not finish storage (insufficient memory), with the data storage that can not store in the static zones in dynamic area, the first address of the corresponding dynamic area of " next data address " sensing.
Memory file storage mode based on number section is very flexible, when system deployment, any section can be deployed on the account affair production equipment.When this equipment performance descends, or the number of users of carrying increases when too much, by modification section configuration file, the part section can be moved out from this equipment, makes the extensibility of system improve greatly.
The disposal system of regularly entering an item of expenditure in the accounts that the embodiment of the invention provides, the main frame that comprises executive system routines such as account production equipment and account disaster tolerance equipment, the subscriber information message of all user's correspondences in the compass of competency can be stored on one or more account production equipment all corresponding account affair disaster tolerance equipment of every account affair production equipment; Adopt bottom optical fiber simultaneous techniques between account production equipment and its corresponding account disaster tolerance equipment, guarantee the consistance of data; Shine upon each other based on the NFS agreement between each account disaster tolerance equipment, realize Hot Spare; Shine upon each other based on the NFS agreement between each account production equipment, realize Hot Spare, and each account affair production equipment also is connected with charge system, battalion's account database respectively.During regularly entering an item of expenditure in the accounts, the user that account disaster tolerance equipment utilization real-time update obtains do not enter an item of expenditure in the accounts bill obtain the writing off bill and the intermediate result of transferring that writes off, and to the calculating that writes off respectively of each user's corresponding account, the bill that writes off warehouse-in with write off and transfer, on the account production equipment, carry out operations such as accounting data initialization simultaneously.
The user that account production equipment 101 obtains by real-time update does not enter an item of expenditure in the accounts bill can be for the inquiry use of entering an item of expenditure in the accounts in real time, be the query requests of entering an item of expenditure in the accounts in real time that account production equipment 101 also is used to receive the user, provide this user's user the bill of not entering an item of expenditure in the accounts according to the query requests of entering an item of expenditure in the accounts in real time.
Processing by the account production equipment, can realize entering an item of expenditure in the accounts in real time promptly and accurately,, will subscriber information message be sent to the account production equipment in real time by real-time interface if the subscriber information message in battalion's account database changes, by real-time update, guaranteed the accuracy of entering an item of expenditure in the accounts in real time; Trigger entering an item of expenditure in the accounts in real time of account production equipment by user's service fee delta file, and adopt the data management mode based on memory file, need not battalion's account database is operated, the user that just can upgrade in time the bill of not entering an item of expenditure in the accounts has improved the efficient of entering an item of expenditure in the accounts in real time.
To sum up, the embodiment of the invention provides a kind for the treatment of apparatus of entering an item of expenditure in the accounts, and as shown in Figure 2, comprising:
Subscriber information message processing module 201: the data sync that is used for the subscriber information message of battalion's account database is deposited in the subscriber information message in internal memory and maintenance and the accounting data storehouse;
Subscriber information message processing module 201 can be connected with battalion account database by real-time interface, with the form storage of subscriber information message with memory file, generate the subscriber information message memory file, and will seek in the account database data variation real-time update in the subscriber information message memory file;
The module 202 of entering an item of expenditure in the accounts in real time: be used for receiving in real time the user that charge system sends and serve incremental expense, calculate user's account incremental expense according to the subscriber information message in the internal memory;
Charge system is served incremental expense with the form transmission user of user's service fee delta file, and the module of entering an item of expenditure in the accounts in real time 202 is calculated user's account incremental expense according to the subscriber information message in the internal memory; For the ease of understanding, illustrate the difference that the user serves incremental expense and user's account incremental expense, for example, the user's communication time is 5 minutes, and charge system calculates 5 minutes telephone expenses of conversation according to air time and expenses standard, and promptly the user serves incremental expense; If the user has ordered preferential set meal, can give a discount after all accumulative total telephone expenses surpass 500 yuan, the module of then entering an item of expenditure in the accounts in real time 202 can be served incremental expense and subscriber information message (this conversation reaches term discount rate after 500 yuan in conversation accumulative total) according to the user and be calculated user's account incremental expense;
Accumulator module 203: be used for the bill of not entering an item of expenditure in the accounts with the user that user's account incremental expense is added to internal memory;
Generally, the user obtains (for example end of conversation) after the service, and its user's account incremental expense promptly may be embodied in the user and do not enter an item of expenditure in the accounts in the bill within 3 to 10 minutes, for user's inquiry of entering an item of expenditure in the accounts in real time;
First memory modules 204: be used to store subscriber information message and the user bill of not entering an item of expenditure in the accounts;
Processing module 205: be used for not entering an item of expenditure in the accounts bill to user's processing of entering an item of expenditure in the accounts according to the user.
Send users from charge system to the module 202 of entering an item of expenditure in the accounts in real time and serve incremental expense to the accumulator module 203 final users of the generation bill of not entering an item of expenditure in the accounts, intermodule all adopts the incremental trigger account form, and synoptic diagram has improved the response time as shown in Figure 3.The incremental trigger account form specifically is meant: up-stream module with result of calculation according to the rules form write in the catalogue that pre-defines, downstream module scans under this catalogue in real time, if find to have new file, then take out immediately, carry out computing, and the file that will handle shifts out this catalogue, and result is sent into downstream module again, finishes until flow process.
In order to realize regularly entering an item of expenditure in the accounts, processing module 205 comprises:
Computing module 2050: be used for during regularly entering an item of expenditure in the accounts, according to the user of the cycle correspondence of originally entering an item of expenditure in the accounts do not enter an item of expenditure in the accounts bill obtain the writing off bill and the intermediate result of transferring that writes off;
First processing module 2051: be used for transferring intermediate result to the processing that writes off respectively of the account of each user's correspondence according to the bill and writing off of writing off;
Second processing module 2052: be used for when first processing module 2051 writes off processing, revise the beginning in the next cycle of entering an item of expenditure in the accounts of sign indication of regularly entering an item of expenditure in the accounts, and the subscriber information message in initialization first memory modules 204.
For the user who first processing module 2051 is accurately determined originally enter an item of expenditure in the accounts the cycle correspondences bill of not entering an item of expenditure in the accounts, this device also comprises the synchronous processing module 206 and second memory modules 207, wherein:
Synchronous processing module 206 be used for non-regularly enter an item of expenditure in the accounts during, with the user in first memory modules 204 do not enter an item of expenditure in the accounts bill deposit second memory modules 207 in and keep with first memory modules 204 in the do not enter an item of expenditure in the accounts data sync of bill of user, during regularly entering an item of expenditure in the accounts, stop this data sync, the user of the cycle correspondence of originally the being entered an item of expenditure in the accounts bill of not entering an item of expenditure in the accounts, calculate during regularly entering an item of expenditure in the accounts for computing module 2050, the bill and the intermediate result of transferring that writes off obtain writing off.
First processing module 2051 also be used for account to each user's correspondence write off finish dealing with after, for this user is provided with the mark that write off; If interrupt during regularly entering an item of expenditure in the accounts, then first processing module 2051 also is used for according to the mark that write off the processing of proceeding to write off of the account of next user's correspondence after restarting.
In order to realize entering an item of expenditure in the accounts in real time, processing module 205 comprises:
The 3rd processing module 2053: be used to receive user's the query requests of entering an item of expenditure in the accounts in real time, provide this user's user the bill of not entering an item of expenditure in the accounts according to the query requests of entering an item of expenditure in the accounts in real time.
Wherein, subscriber information message processing module 201, second processing module 2052 and the 3rd processing module 2053 of entering an item of expenditure in the accounts in module 202, accumulator module 203, first memory modules 204 and the processing module 205 in real time are arranged in the account production equipment, the computing module 2050 in the processing module 205 and first processing module 2051, and second memory modules 207 is arranged in the account disaster tolerance equipment.
Corresponding, the embodiment of the invention provides a kind of expenditure presentation processing method, as shown in Figure 4, comprising:
S401, will seek subscriber information message in the account database deposit internal memory in and keep with the accounting data storehouse in the data sync of subscriber information message;
S402, receive the user that charge system sends in real time and serve incremental expense, calculate user's account incremental expense, and be added to user's bill of not entering an item of expenditure in the accounts according to the subscriber information message in the internal memory;
S403, do not enter an item of expenditure in the accounts bill to user's processing of entering an item of expenditure in the accounts according to the user.
In order to realize entering an item of expenditure in the accounts in real time, S403 specifically comprises:
Receive user's the query requests of entering an item of expenditure in the accounts in real time;
Provide this user's user the bill of not entering an item of expenditure in the accounts according to the query requests of entering an item of expenditure in the accounts in real time.
In order to realize regularly entering an item of expenditure in the accounts, S403 specifically comprises:
During regularly entering an item of expenditure in the accounts, according to the user of the cycle correspondence of originally entering an item of expenditure in the accounts do not enter an item of expenditure in the accounts bill obtain the writing off bill and the intermediate result of transferring that writes off;
Transfer intermediate result to the processing that writes off respectively of the account of each user's correspondence according to the bill and writing off of writing off, revise the beginning in the next cycle of entering an item of expenditure in the accounts of sign indication of regularly entering an item of expenditure in the accounts simultaneously, and the subscriber information message in the initialization internal memory, the processing that writes off specifically comprises the calculating that writes off, the bill that writes off warehouse-in and writes off transfers.
More excellent, during regularly entering an item of expenditure in the accounts, to the account of each user's correspondence write off finish dealing with after, for this user is provided with the mark that write off; If during regularly entering an item of expenditure in the accounts, interrupt, then after restarting according to the described mark that write off to the processing of proceeding to write off of the account of next user's correspondence.
The regular expenditure presentation processing method that the embodiment of the invention provides adopts the mode of operation of multithreading, and multithreading specifically comprises:
From battalion's account database, read the thread of subscriber information message;
Read the do not enter an item of expenditure in the accounts thread of bill of active user;
The subscriber information message that reads and the user bill of not entering an item of expenditure in the accounts is calculated the transfer thread of intermediate result of the bill and writing off of obtaining writing off.
The regular expenditure presentation processing method that the embodiment of the invention provides calculates the bill and writing off of writing off in the bill of not entering an item of expenditure in the accounts according to the user and transfers after the intermediate result, adopts the parallel flow process of entering an item of expenditure in the accounts, and as shown in Figure 5, the parallel flow process of entering an item of expenditure in the accounts specifically comprises:
Do not enter an item of expenditure in the accounts bill to write off the respectively flow process of processing (calculating that writes off, the bill that writes off warehouse-in and write off transfer) of the account of each user's correspondence according to the user;
Revise the sign of regularly entering an item of expenditure in the accounts, and the subscriber information message in the initialization internal memory, build the do not enter an item of expenditure in the accounts flow process of environment of user during the next one is regularly entered an item of expenditure in the accounts;
Carry out data backup, the group flow process of other task such as write off.
The regular expenditure presentation processing method that the embodiment of the invention provides has adopted the mode of operation of multithreading, and multithreading cooperatively interacts, reasonable distribution task; Adopt the parallel flow process of entering an item of expenditure in the accounts, the task of regularly entering an item of expenditure in the accounts is divided into three flow processs carries out simultaneously, shortened the time loss of regularly entering an item of expenditure in the accounts; Generate a subscriber information message memory file for each fixing number section (for example No. 1350451 sections) is corresponding, when the inquiring user data information, adopt the address offset technology, data for static zones storage can directly be inquired about by telephone number, and for the data of dynamic area storage can according to static zones end up pointer promptly " next data address " inquire about.Employing is based on the data management mode of memory file, and the accuracy rate of its data query is near 100%, and do not have any additive decrementation, makes treatment effeciency the highest greatly.Obtain subscriber information message by reading the subscriber information message memory file, generate user's bill memory file of not entering an item of expenditure in the accounts, thoroughly cast aside database, effectively avoided drawback based on the data of database way to manage.
regularly enter an item of expenditure in the accounts disposal system and method that the embodiment of the invention provides through nearly 1 year trial run, have demonstrated superiority, with the cycle of entering an item of expenditure in the accounts be one month be that example describes.See also Fig. 6 a, be number of users broken line graph during January to October, number of users has approximately increased by 24% as can be seen; See also Fig. 6 b, be the histogram consuming time of regularly entering an item of expenditure in the accounts during the January to October corresponding with Fig. 6 a, as can be seen under the ever-increasing prerequisite of number of users, the cycle of entering an item of expenditure in the accounts is between the basicly stable 280-320 of remaining on minute consuming time of one month regularly enter an item of expenditure in the accounts, and regularly enter an item of expenditure in the accounts compared to existing technology shorten greatly (prior art was generally 700-800 minute) consuming time.The time loss of regularly entering an item of expenditure in the accounts shortens and is highly stable, makes regularly to enter an item of expenditure in the accounts more and more forr a short time to user's influence, and the business support degree constantly promotes.
The processing scheme of entering an item of expenditure in the accounts that the embodiment of the invention provides has designed rationally, memory file is as the carrier of preserving subscriber information message efficiently; Adopt the incremental trigger computing method, realize user's adding up in real time of bill of not entering an item of expenditure in the accounts, guarantee entering an item of expenditure in the accounts in real time promptly and accurately; Only need when regularly entering an item of expenditure in the accounts on the user that obtains of adding up in real time enters an item of expenditure in the accounts bill, not carry out, raise the efficiency; The data processing in enormous quantities of database is changed when regularly entering an item of expenditure in the accounts into the data processing method of memory file, break away from battalion's account database fully, discharge the resource of battalion's account database; Regularly enter an item of expenditure in the accounts and adopt the parallel processing mode of multithreading, with all working task reasonable distribution of regularly entering an item of expenditure in the accounts, operation simultaneously, the speed and the time availability of entering an item of expenditure in the accounts have greatly been improved, finish the work of regularly entering an item of expenditure in the accounts fast, increased the controllability of regularly entering an item of expenditure in the accounts, alleviated during regularly entering an item of expenditure in the accounts seeking the influence of account database and customer service.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (20)

1, a kind of expenditure presentation processing method is characterized in that, comprising:
Subscriber information message in battalion's account database is deposited in the data sync of the subscriber information message in internal memory and maintenance and the accounting data storehouse;
Receive in real time the user that charge system sends and serve incremental expense, calculate user's account incremental expense, and be added to user in the internal memory bill of not entering an item of expenditure in the accounts according to the subscriber information message in the internal memory;
Do not enter an item of expenditure in the accounts bill to user's processing of entering an item of expenditure in the accounts according to the user.
2, the method for claim 1 is characterized in that, does not describedly enter an item of expenditure in the accounts bill to user's processing of entering an item of expenditure in the accounts according to the user, comprising:
During regularly entering an item of expenditure in the accounts, according to the user of the cycle correspondence of originally entering an item of expenditure in the accounts do not enter an item of expenditure in the accounts bill obtain the writing off bill and the intermediate result of transferring that writes off;
Transfer intermediate result to processings that write off respectively of the account of each user's correspondence according to the bill and writing off of writing off, revise the sign indication next one of regularly entering an item of expenditure in the accounts the enter an item of expenditure in the accounts beginning in cycle and the subscriber information message in the initialization internal memory simultaneously.
3, method as claimed in claim 2 is characterized in that, the described processing that writes off comprises the calculating that writes off, the bill that writes off warehouse-in and writes off transfers.
4, method as claimed in claim 2 is characterized in that, also comprises:
To the account of each user's correspondence write off finish dealing with after, for this user is provided with the mark that write off.
5, method as claimed in claim 4 is characterized in that, if during regularly entering an item of expenditure in the accounts, interrupt, then after restarting according to the described mark that write off to the processing of proceeding to write off of the account of next user's correspondence.
6, the method for claim 1 is characterized in that, does not describedly enter an item of expenditure in the accounts bill to user's processing of entering an item of expenditure in the accounts according to the user, comprising:
Receive user's the query requests of entering an item of expenditure in the accounts in real time;
Provide described user's user the bill of not entering an item of expenditure in the accounts according to the query requests of entering an item of expenditure in the accounts in real time.
7, as the arbitrary described method of claim 1 to 6, it is characterized in that, described subscriber information message and user do not enter an item of expenditure in the accounts bill in internal memory with the storage of the form of memory file.
8, method as claimed in claim 7 is characterized in that, all users' subscriber information message in the fixing number section of each subscriber information message memory file storage; Each user all users' user bill of not entering an item of expenditure in the accounts of not entering an item of expenditure in the accounts in the fixing number section of bill memory file storage.
9, a kind for the treatment of apparatus of entering an item of expenditure in the accounts is characterized in that, comprising:
Subscriber information message processing module: the data sync that is used for the subscriber information message of battalion's account database is deposited in the subscriber information message in internal memory and maintenance and the accounting data storehouse;
The module of entering an item of expenditure in the accounts in real time: be used for receiving in real time the user that charge system sends and serve incremental expense, calculate user's account incremental expense according to the subscriber information message in the internal memory;
Accumulator module: be used for the bill of not entering an item of expenditure in the accounts with the user that described user's account incremental expense is added to internal memory;
First memory modules: be used to store described subscriber information message and the user bill of not entering an item of expenditure in the accounts;
Processing module: be used for not entering an item of expenditure in the accounts bill to user's processing of entering an item of expenditure in the accounts according to the user.
10, device as claimed in claim 9 is characterized in that, described processing module comprises:
Computing module: be used for during regularly entering an item of expenditure in the accounts, according to the user of the cycle correspondence of originally entering an item of expenditure in the accounts do not enter an item of expenditure in the accounts bill obtain the writing off bill and the intermediate result of transferring that writes off;
First processing module: be used for transferring intermediate result to the processing that writes off respectively of the account of each user's correspondence according to the bill and writing off of writing off;
Second processing module: be used for when described first processing module writes off processing, revise the beginning in the next cycle of entering an item of expenditure in the accounts of sign indication of regularly entering an item of expenditure in the accounts, and the subscriber information message in initialization first memory modules.
11, device as claimed in claim 10 is characterized in that, described device also comprises the synchronous processing module and second memory modules, wherein:
Described synchronous processing module be used for non-regularly enter an item of expenditure in the accounts during, with the user in first memory modules do not enter an item of expenditure in the accounts bill deposit second memory modules in and keep with first memory modules in the do not enter an item of expenditure in the accounts data sync of bill of user, during regularly entering an item of expenditure in the accounts, stop this data sync, the user who obtains described the cycle correspondence of the entering an item of expenditure in the accounts bill of not entering an item of expenditure in the accounts.
12, device as claimed in claim 11 is characterized in that, described first processing module also be used for account to each user's correspondence write off finish dealing with after, for this user is provided with the mark that write off.
13, device as claimed in claim 12, it is characterized in that, if interrupt during regularly entering an item of expenditure in the accounts, then described first processing module also is used for according to the described mark that write off the processing of proceeding to write off of the account of next user's correspondence after restarting.
14, device as claimed in claim 9 is characterized in that, described processing module comprises:
The 3rd processing module: be used to receive user's the query requests of entering an item of expenditure in the accounts in real time, provide described user's user the bill of not entering an item of expenditure in the accounts according to the query requests of entering an item of expenditure in the accounts in real time.
15, a kind of disposal system of regularly entering an item of expenditure in the accounts is characterized in that, comprising:
Account production equipment: the data sync that is used for the subscriber information message of battalion's account database is deposited in the subscriber information message in internal memory and maintenance and the accounting data storehouse, the user who receives the charge system transmission in real time serves incremental expense, calculate user's account incremental expense according to the subscriber information message in the internal memory, and be added to user in the internal memory bill of not entering an item of expenditure in the accounts;
Account disaster tolerance equipment: be used for during regularly entering an item of expenditure in the accounts, according to the user of the cycle correspondence of originally entering an item of expenditure in the accounts do not enter an item of expenditure in the accounts bill obtain the writing off bill and the intermediate result of transferring that writes off, transfer intermediate result to the processing that writes off respectively of the account of each user's correspondence according to the bill and writing off of writing off.
16, system as claimed in claim 15, it is characterized in that, described account production equipment also is used for when account disaster tolerance equipment writes off processing, revises the beginning in the next cycle of entering an item of expenditure in the accounts of sign indication of regularly entering an item of expenditure in the accounts, and the subscriber information message in the initialization internal memory.
17, as claim 15 or 16 described systems, it is characterized in that, described account disaster tolerance equipment also be used for non-regularly enter an item of expenditure in the accounts during, with the user in the account production equipment do not enter an item of expenditure in the accounts bill deposit internal memory in and keep with the account production equipment in the do not enter an item of expenditure in the accounts data sync of bill of user, during regularly entering an item of expenditure in the accounts, stop this data sync, the user who obtains described the cycle correspondence of the entering an item of expenditure in the accounts bill of not entering an item of expenditure in the accounts.
18, system as claimed in claim 17 is characterized in that, described account disaster tolerance equipment also be used for account to each user's correspondence write off finish dealing with after, for this user is provided with the mark that write off.
19, system as claimed in claim 18, it is characterized in that, if interrupt during regularly entering an item of expenditure in the accounts, then after restarting, described account disaster tolerance equipment also is used for according to the described mark that write off the processing of proceeding to write off of the account of next user's correspondence.
20, system as claimed in claim 15 is characterized in that, described account production equipment also is used to receive user's the query requests of entering an item of expenditure in the accounts in real time, provides described user's user the bill of not entering an item of expenditure in the accounts according to the query requests of entering an item of expenditure in the accounts in real time.
CN200810115949A 2008-06-30 2008-06-30 Expenditure presentation processing method, device and system Pending CN101620702A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810115949A CN101620702A (en) 2008-06-30 2008-06-30 Expenditure presentation processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810115949A CN101620702A (en) 2008-06-30 2008-06-30 Expenditure presentation processing method, device and system

Publications (1)

Publication Number Publication Date
CN101620702A true CN101620702A (en) 2010-01-06

Family

ID=41513926

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810115949A Pending CN101620702A (en) 2008-06-30 2008-06-30 Expenditure presentation processing method, device and system

Country Status (1)

Country Link
CN (1) CN101620702A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841612A (en) * 2010-04-21 2010-09-22 中兴通讯股份有限公司 Rent deduction method and accounting system
CN102332026A (en) * 2011-10-10 2012-01-25 深圳中兴网信科技有限公司 Inquiring statistical method for service database
CN102547644A (en) * 2010-12-31 2012-07-04 中国移动通信集团河北有限公司 Checking method and device of bills
CN103885887A (en) * 2012-12-21 2014-06-25 腾讯科技(北京)有限公司 User data storage method, reading method and system
CN106209392A (en) * 2015-04-30 2016-12-07 华为软件技术有限公司 The online method and device paid
CN107886424A (en) * 2017-11-28 2018-04-06 腾讯科技(深圳)有限公司 Settlement data treating method and apparatus, computer equipment and storage medium
CN108319521A (en) * 2018-01-29 2018-07-24 中国工商银行股份有限公司 It is automatic to mend account processing method and processing device
CN109542915A (en) * 2018-10-11 2019-03-29 广州珠江数码集团股份有限公司 A method of the business that do not stop doing business of entering an item of expenditure in the accounts based on BOSS system
CN111539707A (en) * 2020-04-20 2020-08-14 深圳乐信软件技术有限公司 Bill inquiry method, device, equipment and medium
CN112182505A (en) * 2020-09-09 2021-01-05 支付宝(杭州)信息技术有限公司 Account compliance processing method and device
CN112926962A (en) * 2021-01-20 2021-06-08 北京思特奇信息技术股份有限公司 Method and system for repairing abnormal business handling according to change of expenses
CN113765681A (en) * 2021-09-08 2021-12-07 中国电信股份有限公司 Expenditure presentation processing method, device, medium and equipment

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841612A (en) * 2010-04-21 2010-09-22 中兴通讯股份有限公司 Rent deduction method and accounting system
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
CN102332026A (en) * 2011-10-10 2012-01-25 深圳中兴网信科技有限公司 Inquiring statistical method for service database
CN103885887B (en) * 2012-12-21 2018-07-27 腾讯科技(北京)有限公司 User data storage method, read method and system
CN103885887A (en) * 2012-12-21 2014-06-25 腾讯科技(北京)有限公司 User data storage method, reading method and system
CN106209392A (en) * 2015-04-30 2016-12-07 华为软件技术有限公司 The online method and device paid
CN107886424A (en) * 2017-11-28 2018-04-06 腾讯科技(深圳)有限公司 Settlement data treating method and apparatus, computer equipment and storage medium
CN108319521A (en) * 2018-01-29 2018-07-24 中国工商银行股份有限公司 It is automatic to mend account processing method and processing device
CN109542915A (en) * 2018-10-11 2019-03-29 广州珠江数码集团股份有限公司 A method of the business that do not stop doing business of entering an item of expenditure in the accounts based on BOSS system
CN111539707A (en) * 2020-04-20 2020-08-14 深圳乐信软件技术有限公司 Bill inquiry method, device, equipment and medium
CN112182505A (en) * 2020-09-09 2021-01-05 支付宝(杭州)信息技术有限公司 Account compliance processing method and device
CN112926962A (en) * 2021-01-20 2021-06-08 北京思特奇信息技术股份有限公司 Method and system for repairing abnormal business handling according to change of expenses
CN113765681A (en) * 2021-09-08 2021-12-07 中国电信股份有限公司 Expenditure presentation processing method, device, medium and equipment
CN113765681B (en) * 2021-09-08 2023-02-28 中国电信股份有限公司 Expenditure presentation processing method, device, medium and equipment

Similar Documents

Publication Publication Date Title
CN101620702A (en) Expenditure presentation processing method, device and system
CN101233497B (en) Revenue management system and method
CN101364217B (en) Data maintenance method, equipment and system thereof in data-base
CN101071434B (en) User distributing method, device and system for distributed database system
CN102571370B (en) Many charge units the implementation method of charging when depositing and device
CN100571316C (en) Quick constant expense computing system based on memory file and real-time synchronization technique
CN101101651A (en) Conversion processing method, system and conversion rule engine for electronic worksheet data
CN102117340A (en) Dynamic data storage method
CN111026769B (en) Working method of dual-core front-end system and related equipment thereof
CN102819914A (en) Invoice distribution system and method of invoice distribution system
CN103020135A (en) Simplification method and simplification system for charging and accounting of detailed communication list
CN103021167A (en) Method and system for taxi information interaction
CN101159972B (en) Traffic processing method and system and traffic control point
CN105975614A (en) Cluster configuration device and data updating method and device
CN110689386B (en) Electronic bill issuing method and system
CN102054229A (en) Distributed member information management system and method for member information management
CN101833585A (en) Database server operation control system, method and device
CN103955854B (en) A kind of account management device and method
CN103095469A (en) Communication cost copayment method and device
CN101699783A (en) On-line charging data backing-up method, system and charging platforms
CN1984354B (en) Method and device for managing user account resource
CN106462421A (en) Telecommunication device and method for updating software in a telecommunication device
CN112737796A (en) Cross-region user communication charge transfer method, device, equipment, medium and product
CN100557611C (en) A kind of disposal route of file and device
CN113095784B (en) Electronic handover list automatic issuing method, device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20100106