Embodiment
The present invention is described in detail below in conjunction with accompanying drawing.
Method embodiment one
Fig. 1 is the flow chart of charging method embodiment of the present invention.As shown in Figure 1, charging method embodiment may further comprise the steps:
Step 102, convergent billing device are obtained the user's ticket on the switch;
Step 104, when user's ordering products, the data preparation device will comprise come into force and the ordering information of this product of out-of-service time synchronously to the convergent billing device, comprise in this ordering information and carry out the required whole data of wholesale price;
Step 106, the convergent billing device mates preferential data in the corresponding ordering information according to the conversation time started of user's ticket; During entering an item of expenditure in the accounts (especially between 0 o'clock to 3 o'clock), from the original bill files that switch issues, both comprised moon ticket of entering an item of expenditure in the accounts, comprise new account moon ticket again, the convergent billing device mates the ordering information in corresponding month according to the conversation time started in user's ticket for user's ticket, by distinguishing the not ticket of same month, does not stop to charge during entering an item of expenditure in the accounts, normal wholesale price during just can realizing entering an item of expenditure in the accounts realizes that the wholesale price of same month is not handled;
Step 108, the convergent billing device carries out corresponding wholesale price processing according to the preferential data in the ordering information of coupling to this user's ticket, promptly when wholesale price is handled, according to the professional favourable condition in the ordering information expense of user's ticket is carried out preferential processing;
Step 110, the convergent billing device generates the telephone expenses increment according to the wholesale price result, and according to the type of user's ticket the telephone expenses increment is merged;
Step 112, the account device adds up the telephone expenses increment of each type in real time, generates real-time bill.
The charging method of present embodiment, by coming into force with the out-of-service time for the ordering information setting and being synchronized to the convergent billing device, can preengage charges handles, the disposable convergent billing device that is synchronized to of the data that needn't when entering an item of expenditure in the accounts the end of month, all reservations be come into force, and therefore need not stopping when entering an item of expenditure in the accounts the end of month charges handles, like this during entering an item of expenditure in the accounts, after the user conversed, expense can in time add up, and the user also can inquire about the expense of generation, do not influence user's perception, and reduced the risk of arrearage.
Method embodiment two
Fig. 2 is the flow chart of another embodiment of charging method of the present invention.As shown in Figure 2, in the present embodiment, charging method also comprises the steps:
Step 202, the account device obtains the ticket increment information in real time;
Step 204, the account device generates account moon information automatically according to the temporal information of ticket increment in real time; By the telephone expenses increment of the enter an item of expenditure in the accounts moon and the new account moon is handled respectively, generate corresponding bill in real time, promptly generate account moon information automatically according to the temporal information in the telephone expenses increment, the automatic switchover of the different account moons of real-time account device be can realize, tired account and the preferential processing of two account moons finished simultaneously.
Step 206, when user's ordering products, the data preparation device will comprise come into force and the ordering information of this product of out-of-service time synchronously to account device in real time, comprise in this ordering information and tire out the required whole data of account, for example: account discount data, payment relation information, three family data etc.;
Step 208 is according to the account discount data of mating automatically by the account moon in the ordering information;
Step 210 adds up with preferential according to the telephone expenses increment of the account discount data in the ordering information to each type;
Step 212 generates the real-time bill of the corresponding account moon.
In the present embodiment, by coming into force with the out-of-service time for the ordering information setting and being synchronized to real-time account device, can shift to an earlier date the sync correlation data, the disposable account device that is synchronized to of the data that needn't when entering an item of expenditure in the accounts the end of month, all reservations be come into force, therefore need when entering an item of expenditure in the accounts the end of month, not stop accounting processing, like this during entering an item of expenditure in the accounts, after the user converses, expense can in time add up, improved the accuracy of chargeing, the user also can inquire about the expense of generation, does not influence user's perception, and has reduced the risk of arrearage.
System embodiment
Fig. 3 is the structure chart of charge system embodiment of the present invention, and as shown in Figure 3, the charge system of present embodiment comprises:
Data preparation device 32 is used for when user's ordering products the time, generates to comprise to come into force and the ordering information of this product of out-of-service time, and described ordering information is synchronized to the convergent billing device;
Convergent billing device 34 is used for carrying out corresponding wholesale price according to user's ticket of ordering information in effective time and handles;
Account device 36 is used for the telephone expenses increment of each type is added up in real time, generates real-time bill.
Preferably, in the present embodiment charge system, also when user's ordering products the time, generation comprises the ordering information that comes into force with the out-of-service time to data preparation device 32, and ordering information is synchronized to real-time account device 36; Account device 36 adds up the telephone expenses increment in each type of ordering information in effective time according to ordering information in real time, generates real-time bill.
More preferably, convergent billing device 34 also mates the ordering information of the corresponding account moon according to the air time in user's ticket, and according to this ordering information the user's ticket in effective time is carried out corresponding wholesale price and handle.
More preferably, account device 36 also generates the account moon according to the temporal information in the telephone expenses increment in real time, again according to the account moon information mate the ordering information of the corresponding account moon, this ordering information that has more coupling adds up the telephone expenses increment in each type of ordering information in effective time, generates the real-time bill of the corresponding account moon respectively.
The charging method of present embodiment, by coming into force with the out-of-service time for the ordering information setting and being synchronized to the convergent billing device and real-time account device, can preengage charges handles, disposable convergent billing device and the real-time account device of being synchronized to of the data that needn't when entering an item of expenditure in the accounts the end of month, all reservations be come into force, therefore need not stopping when entering an item of expenditure in the accounts the end of month charges handles, like this during entering an item of expenditure in the accounts, after the user converses, expense can in time add up, improved the accuracy of chargeing, the user also can inquire about the expense of generation, does not influence user's perception, and has reduced the risk of arrearage.
Fig. 4 is convergent billing device example structure figure of the present invention.As shown in Figure 4, the convergent billing device 34 in the present embodiment comprises:
First read module 342 is used to read the described ordering information that comes into force with the out-of-service time that comprises;
First matching module 344, the conversation time started that is used for according to described user's ticket is that described user's ticket mates the ordering information in corresponding month; By distinguishing the ticket of the different account moon, during entering an item of expenditure in the accounts, do not stop to charge, normal wholesale price during just can realizing entering an item of expenditure in the accounts realizes that the wholesale price of the different account moons is handled;
Wholesale price module 346 is used for carrying out corresponding wholesale price processing according to corresponding month the ordering information of air time coupling of ticket and to the user's ticket in effective time;
Telephone expenses increment generation module 348 is used for generating the telephone expenses increment according to the wholesale price result, and according to the type of described user's ticket described telephone expenses increment is merged.
Fig. 5 is the real-time account device of the present invention example structure figure.As shown in Figure 5, the real-time account device 36 in the present embodiment comprises:
Second read module 362 is used to read comprise and comes into force and ordering information and the telephone expenses increment of out-of-service time;
Second matching module 364 is used for generating the account moon according to the temporal information of telephone expenses increment, again according to the account moon information mate the ordering information of the corresponding account moon;
Accumulative total module 366 is used for adding up according to the telephone expenses increment of ordering information to each type of the same account moon;
Bill generation module 368 is used for the real-time bill according to the corresponding account of the generation moon of telephone expenses increment.
In the present embodiment, account device 36 is by handling respectively the telephone expenses increment of the enter an item of expenditure in the accounts moon and the new account moon in real time, generate corresponding bill in real time, promptly generate account moon information automatically according to the temporal information in the telephone expenses increment, the automatic switchover of the different account moons of real-time account device be can realize, tired account and the preferential processing of two account moons finished simultaneously.
It should be noted that: above embodiment is only unrestricted in order to explanation the present invention, and the present invention also is not limited in above-mentioned giving an example, and all do not break away from the technical scheme and the improvement thereof of the spirit and scope of the present invention, and it all should be encompassed in the claim scope of the present invention.