CN101175129B - Projection and computing method for telecommunication charging period - Google Patents
Projection and computing method for telecommunication charging period Download PDFInfo
- Publication number
- CN101175129B CN101175129B CN2007100465333A CN200710046533A CN101175129B CN 101175129 B CN101175129 B CN 101175129B CN 2007100465333 A CN2007100465333 A CN 2007100465333A CN 200710046533 A CN200710046533 A CN 200710046533A CN 101175129 B CN101175129 B CN 101175129B
- Authority
- CN
- China
- Prior art keywords
- period
- time interval
- projection
- rate
- computer database
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Meter Arrangements (AREA)
Abstract
The present invention discloses the projection and the calculation method of telecom billing time intervals. The method includes five steps; firstly, a time interval type is set in order to perform system initialization configurations; secondly, according to different charge standards, a time interval priority is set; thirdly, according to the time interval projection of the time interval priority on a time axis, a new charge time interval is determined; fourthly, according to charge standards, the calculation method of each charge is set; fifthly, the new charge time interval determined according to the time interval projection becomes an absolute time interval, and a relative time interval configured by a database table is converted into the absolute time interval, the absolute time interval is then stored into an in-memory database. When manifold charge standards are overlapped or crossed, the present invention projects a time interval on the time axis by a priority method or a dynamic preferential method in order to mark off a new charge time interval, that is, an absolute time interval which then replaces a relative time interval configured by the database table and is stored in the in-memory database for being invoked by the system, so the method speeds up the access and the calculation of a system and resolves the bottleneck problem of a system I/O.
Description
Technical field
The present invention relates to the charging method of telecommunications industry, relate in particular to telecommunication charging period projection and computing method.
Background technology
In recent years, China telecommunications enterprise is through after the reorganization several times, and marked change has taken place the telecommunication market general layout, and telecommunications enterprise's competition is more and more fierce.In view of the above, make an issue of on tariff package in each operation commercial city, find out the whole bag of tricks and attract clients, keep the old user, released the tariff package of numerous and complicated thus, as festivals or holidays preferential set meal, busy period set meal etc., may exist overlapping between these set meals and intersection, how correctly to charge is the problem that operator faces.As: it is the standard rate that there is marketing program 7:00-21:00 every day in operator, 21:00-24:00 makes a call to 5 foldings, 00:00-7:00 makes a call to 3 foldings, simultaneously operator have in addition a marketing program for Sunday whole day make a call to 4 foldings, like this, make a phone call to carry out in certain time on Sunday by the different tariff standard, just there are different rate, two kinds of marketing program exist overlapping, therefore when rate calculate, need to judge each marketing program, mark off the different time periods according to marketing program, belong to which marketing program to distinguish this time period, the expenses standard of marketing program is calculated telecom charges in view of the above again.So this computing method operand is big, computing machine reads, computing, storage are frequent, causes the I/O of system bottleneck, influences the overall operation speed of system.
Summary of the invention
Technical matters to be solved by this invention provides a kind of telecommunication charging period projection and the computing method that can conveniently calculate under the overlapping situation of multiple expenses standard, to solve the I/O bottleneck problem, improves system running speed.
For solving the problems of the technologies described above, telecommunication charging period projection of the present invention and computing method comprise the steps:
(1) from the computer system configurations file, determines the telecom charges timeliness,, and make circular treatment by the projection fate with the start time of obtaining the period projection and effective projection fate;
(2) segment type in the time of in design and the definition Computer Database, to carry out the system initialization setting, segment table during establishment, during decision there be the correlation parameter of segment type: operator, rate, caller area type, called area type, year, month, day, which week, several, initial period in week, processing completion time used for them, priority, member job number, date created, from date and coming into force the Close Date comes into force;
(3), in Computer Database, take out all rate ID, and make circular treatment according to the time segment table that sets;
(4) according to different expenses standards, in Computer Database, obtain the account form of described rate ID, make up promptly by dynamic preferential or priority mode, and to the calling and called area type of described rate ID, and make circular treatment;
(5) according to the combination of the calling and called area type of described rate ID, from Computer Database the time take out period list of types in the term of validity the segment table;
(6) account form of the described rate ID of judgement obtains various period schemes by dynamic preferential rule from the tariff rule table of comparisons of Computer Database, does the period projection respectively on time shaft, and makes circular treatment, to obtain the period list of types;
(7) account form of the described rate ID of judgement is done the period projection as according to priority calculating the period priority that then sets according to Computer Database with the period on time shaft, determine the new rate period;
(8) determine that according to the described period projection of the 7th step the new rate period is the absolute period, and the coordinate conversion computer database the time segment table configuration the relative period be the absolute period, deposit in the Computer Database for system call.
Overlapping according to priority mode or dynamic preferential mode are carried out projection on time shaft with intersecting period of situation because telecommunication charging period projection of the present invention and computing method are with multiple expenses standard, the rate period that makes new advances with division, it is the absolute period, then this surrogate data method storehouse of absolute period is shown the relative period in the configuration and deposited memory database in for system call, therefore, this method has been accelerated system access and arithmetic speed, solved the bottleneck problem of system I/O, satisfy the requirement of the real-time wholesale price system performance of 3G, aspect dirigibility, system can define the various periods flexibly, satisfies the needs of business personnel's flexible configuration.
Description of drawings
Fig. 1 is the schematic flow sheet of telecommunication charging period projection of the present invention and computing method.
Fig. 2 is the instance graph of telecommunication charging period projection of the present invention and computing method.
Embodiment
The present invention is described in further detail below in conjunction with drawings and embodiments:
Fig. 1 is the schematic flow sheet of telecommunication charging period projection of the present invention and computing method.This method comprises the steps:
(1) from the computer system configurations file, determines the telecom charges timeliness,, and make circular treatment by the projection fate with the start time of obtaining the period projection and effective projection fate;
(2) segment type in the time of in design and the definition Computer Database, to carry out the system initialization setting, segment table during establishment, during decision there being the correlation parameter of segment type: operator, rate, caller area type, called area type, year, month, day, which week, several, initial period in week, processing completion time used for them, priority, member job number, date created, from date that comes into force, comes into force the Close Date;
(3), in Computer Database, take out all rate ID, and make circular treatment according to the time segment table that sets;
(4) according to different expenses standards, in Computer Database, obtain the account form of described rate ID, make up promptly by dynamic preferential or priority mode, and to the calling and called area type of described rate ID, and make circular treatment;
(5) according to the combination of the calling and called area type of described rate ID, from Computer Database the time take out period list of types in the term of validity the segment table;
(6) account form of the described rate ID of judgement obtains various period schemes by dynamic preferential rule from the tariff rule table of comparisons of Computer Database, does the period projection respectively on time shaft, and makes circular treatment, to obtain this group period list of types;
(7) account form of the described rate ID of judgement is done the period projection as according to priority calculating the period priority that then sets according to Computer Database with the period on time shaft, determine the new rate period;
(8) the new rate period of determining according to the described period projection of the 6th and the 7th step is the absolute period, and the relative period of coordinate conversion computer database table configuration be the absolute period, deposit in the Computer Database for system call.
Specify the flow process of the inventive method below in conjunction with an embodiment:
Fig. 2 is the instance graph of telecommunication charging period projection of the present invention and computing method, as shown in Figure 2, has two kinds of period schemes:
The first period scheme 1 is: every day, 7:00 to 21:00 was the standard rate, and 21:00 to 24:00 is 5 folding rate, and 0:00 to 7:00 is 3 folding rate.
The second period scheme 2 is: Sun., whole day was 4 folding rate.
Scheme according to priority:
At first set all kinds of periods, and carry out the system initialization setting,, on time shaft, make period projection 3 according to priority then, be by period priority projection result according to the first period scheme 1 and the priority of 2 setting periods of the second period scheme:
In this time period of 00:00-7:00, the discount rate that have two kinds of different priorities, in the first period scheme 13 folding rate (priority is 5) are higher than the folding of 4 in the second period scheme 2 rate (priority is 4), therefore this time period of 00:00-7:00 is carried out 3 folding rate, in like manner, 7:00-24:00 carries out 4 folding rate.
As a certain ticket 4 zero-times is 2005/09/11 06:33:00, concluding time is 2005/09/1107:10:12, and this ticket has been crossed over two periods of 0:00 to 7:00 in the first period scheme 1 (following with A period represent) and 7:00 to 21:00 (following with B period represent); Because September 11 be Sunday, the condition of period in the satisfied again simultaneously second period scheme 2 of this ticket (following with C period represent).But because the priority (pri=5) of A is higher than the priority (pri=4) of C, the priority of C is higher than the priority (pri=0) of B, therefore in the actual wholesale price process, ticket is dropped on the lap (2005/09/11 06:33:00 to 7:00) of A and C and get preferential rate 3 foldings of A period; And get preferential rate 4 foldings of C period for the lap (2005/09/11 07:00 to 2005/09/1107:10:12) that ticket drops on B and C, therefore obtain this ticket rate axle computing time 5 to determine this time conversation rate.
Press dynamic preference scheme:
Various period schemes are calculated respectively, and that the result gets greatly, gets is little, average.When different period schemes exist when overlapping, by different period scheme wholesale price successively, each wholesale price result relatively gets maximal value, minimum value, mean value as last wholesale price result then with ticket.At this moment when doing the period projection, can do respectively by period priority according to different period schemes and do the period projection.
Because of there being two kinds of period schemes, be to adopt dynamic preference scheme now, therefore this ticket 4 being carried out expense respectively by the first period scheme 1, the second period scheme 2 and calculate, suppose that according to the first period scheme, 1 computational costs be 4.8 yuan, is 5.6 yuan according to the second period scheme, 2 computational costs.As for dynamically preferential (get big) then ultimate cost be 5.6 yuan; As being dynamically preferential (getting little), then ultimate cost is 4.8 yuan; As being dynamically preferential (averaging), then ultimate cost is 5.2 yuan.
Claims (1)
1. professional period projection of a telecom charging and computing method, it is characterized in that: this method includes the following step:
(1) from the computer system configurations file, determines the telecom charges timeliness,, and make circular treatment by the projection fate with the start time of obtaining the period projection and effective projection fate;
(2) segment type in the time of in design and the definition Computer Database, to carry out the system initialization setting, segment table during establishment, during decision there be the correlation parameter of segment type: operator, rate, caller area type, called area type, year, month, day, which week, several, initial period in week, processing completion time used for them, priority, member job number, date created, from date and coming into force the Close Date comes into force;
(3), in Computer Database, take out all rate ID, and make circular treatment according to the time segment table that sets;
(4) according to different expenses standards, in Computer Database, obtain the account form of described rate ID, make up promptly by dynamic preferential or priority mode, and to the calling and called area type of described rate ID, and make circular treatment;
(5) according to the combination of the calling and called area type of described rate ID, from Computer Database the time take out period list of types in the term of validity the segment table;
(6) account form of the described rate ID of judgement obtains various period schemes by dynamic preferential rule from the tariff rule table of comparisons of Computer Database, does the period projection respectively on time shaft, and makes circular treatment, to obtain the period list of types;
(7) account form of the described rate ID of judgement is done the period projection as according to priority calculating the period priority that then sets according to Computer Database with the period on time shaft, determine the new rate period;
(8) determine that according to the described period projection of the 7th step the new rate period is the absolute period, and the coordinate conversion computer database the time segment table configuration the relative period be the absolute period, deposit in the Computer Database for system call.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100465333A CN101175129B (en) | 2007-09-27 | 2007-09-27 | Projection and computing method for telecommunication charging period |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2007100465333A CN101175129B (en) | 2007-09-27 | 2007-09-27 | Projection and computing method for telecommunication charging period |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101175129A CN101175129A (en) | 2008-05-07 |
CN101175129B true CN101175129B (en) | 2010-10-06 |
Family
ID=39423377
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2007100465333A Expired - Fee Related CN101175129B (en) | 2007-09-27 | 2007-09-27 | Projection and computing method for telecommunication charging period |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101175129B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102546190B (en) * | 2011-11-28 | 2014-04-09 | 上海理想信息产业(集团)有限公司 | Search method of universal fee packets of cloud computing resources |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1355647A (en) * | 2002-01-15 | 2002-06-26 | 广东省电信科学技术研究院 | Universal fee-counting method for telecommunication services |
CN1454014A (en) * | 2002-04-27 | 2003-11-05 | 华为技术有限公司 | Radio communication system charge method |
-
2007
- 2007-09-27 CN CN2007100465333A patent/CN101175129B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1355647A (en) * | 2002-01-15 | 2002-06-26 | 广东省电信科学技术研究院 | Universal fee-counting method for telecommunication services |
CN1454014A (en) * | 2002-04-27 | 2003-11-05 | 华为技术有限公司 | Radio communication system charge method |
Non-Patent Citations (1)
Title |
---|
JP特开2001-358852A 2001.12.26 |
Also Published As
Publication number | Publication date |
---|---|
CN101175129A (en) | 2008-05-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101158900B (en) | Report generation system and method based on moulding plate series | |
EP2215592A2 (en) | Telephone number-based advertising | |
CA2233730A1 (en) | Phone line aggregated billing | |
CN101110877B (en) | Method and system for implementing general charging | |
CN104125352A (en) | Voice forecasting linkage method and system based on call requirements | |
CN106227782A (en) | A kind of method being inserted into data base based on multi-data source | |
CN100571316C (en) | Quick constant expense computing system based on memory file and real-time synchronization technique | |
CN101175129B (en) | Projection and computing method for telecommunication charging period | |
CN101222559A (en) | Service charging method and system | |
CN110166641A (en) | Dynamic prediction type intelligence automatic outer call system algorithm | |
CN110647323A (en) | Code-free business application software development platform | |
CN102364889A (en) | Shared pool resource charging method and device | |
CN103873266A (en) | Method and device for establishing convergent billing model | |
CN111768174A (en) | Activity management method, apparatus, device and medium | |
CN111556205A (en) | Method and system for recommending telecommunication products to target users | |
CN101175241B (en) | Charge computing method based on charge rate curve | |
CN101668098A (en) | Value-added service charging method and charging system | |
CN111478779B (en) | Method and device for determining unlimited set meal and computing equipment | |
CN106886452A (en) | A kind of method of simplified cloud system task scheduling | |
CN101267476A (en) | A simple call control method for dispatching communication | |
CN103095469A (en) | Communication cost copayment method and device | |
CN101072275A (en) | Billing engineering method for dynamic folding-line communication charging | |
CN102075899A (en) | Method and device for checking charge of communication service | |
CN110519124A (en) | A kind of method that quick identification virtual service uses progress | |
CN101083810A (en) | Method for mobile phone intelligent time counting and charging |
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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20101006 Termination date: 20160927 |
|
CF01 | Termination of patent right due to non-payment of annual fee |