CN102916819A - Charging method and charging device on basis of electric fiber to the home business - Google Patents

Charging method and charging device on basis of electric fiber to the home business Download PDF

Info

Publication number
CN102916819A
CN102916819A CN2012103853543A CN201210385354A CN102916819A CN 102916819 A CN102916819 A CN 102916819A CN 2012103853543 A CN2012103853543 A CN 2012103853543A CN 201210385354 A CN201210385354 A CN 201210385354A CN 102916819 A CN102916819 A CN 102916819A
Authority
CN
China
Prior art keywords
charging
user
detailed
list
threshold value
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
CN2012103853543A
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.)
State Grid Corp of China SGCC
Shanghai Municipal Electric Power Co
Beijing Guodiantong Network Technology Co Ltd
Beijing Fibrlink Communications Co Ltd
Original Assignee
State Grid Corp of China SGCC
Beijing Guodiantong Network Technology Co Ltd
Beijing Fibrlink Communications 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 State Grid Corp of China SGCC, Beijing Guodiantong Network Technology Co Ltd, Beijing Fibrlink Communications Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN2012103853543A priority Critical patent/CN102916819A/en
Publication of CN102916819A publication Critical patent/CN102916819A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a charging method and a charging device on the basis of the electric fiber to the home business. The charging method includes acquiring order relation and account information of users according to user details; judging whether the users have rent charge schemes or not; acquiring a price list; charging according to the price list and the user details if the users have no rent charge schemes; acquiring a package threshold if the users have rent charge schemes; charging according to the price list and the user details if the package threshold is equal to zero; acquiring original business cumulant of the users and calculating new business cumulant if the package threshold is not equal to zero; judging the current charge to be zero if the new business cumulant is not higher than the package threshold; judging whether the original business cumulant is higher than the package threshold or not if the new business cumulant is higher than the package threshold; if so, then charging according to the details and the price list, and if not, then charging according to the excess value of threshold and the price list. By the charging method and the charging device, uniform charging for the electric fiber to the home business is realized.

Description

A kind of based on charging method and the device of power optical fiber to the family business
Technical field
The present invention relates to the telecommunication technology field, particularly relate to a kind of based on charging method and the device of power optical fiber to the family business.
Background technology
Along with the new demand construction of global energy aggravation in short supply and electricity consumption service has informationization, automation, interactive feature, the strong intelligent grid of realizing the integral fusion of flow of power, information flow, Business Stream becomes the new developing goal of power industry, power optical fiber arrives the family as an important component part of intelligent grid, to realize real-time, interactive response between electrical network and the user, strengthen the electric network synthetic service ability, satisfy the interactive marketing demand, promote the important means of service level.Power optical fiber mainly comprises intelligent power, broadband services and third party's value-added service to the family business.As a kind of emerging business, also there is not a kind of method of its multiple business being carried out unified charging in the prior art.
Summary of the invention
The invention provides a kind ofly based on charging method and the device of power optical fiber to the family business, can realize the unified charging of power optical fiber to the family business.
The invention provides following scheme:
A kind of based on the charging method of power optical fiber to the family business, comprising:
User ID and described detailed single time started in knowing clearly singly according to the user who receives are obtained described user's order relations and described user's accounts information from database;
Judge according to described order relations and described accounts information whether described user has the hire charge scheme;
Obtain price-list;
If described user does not have the hire charge scheme, then according to described price-list and detailed charging, the detailed list of generation charging of singly carrying out of described user;
If described user has the hire charge scheme, then obtain corresponding set meal threshold value according to described hire charge scheme;
When described set meal threshold value is zero, according to described price-list and detailed charging, the detailed list of generation charging of singly carrying out of described user;
When described set meal threshold value is non-vanishing, carry out following steps:
The current account phase of from database, obtaining described user according to described accounts information and described detailed single time started;
Determine described user's the former professional cumulant of using according to the described current account phase;
Obtain new business according to this professional use amount in described former professional use cumulant and the described detailed list and use cumulative amount;
If described new business uses cumulant not surpass described set meal threshold value, then this charging is zero;
If described new business uses cumulant to surpass described set meal threshold value, judge then whether the described former professional cumulant of using surpasses described set meal threshold value;
If, then carry out charging according to described detailed list and described price-list, it is detailed single to generate charging;
If not, then calculate the part that described new business use cumulant exceeds threshold value, and carry out charging according to described part and the described price-list that exceeds threshold value, it is detailed single to generate charging.
Preferably, described obtain price-list before, described method also comprises:
When described user has the hire charge scheme, judge whether described hire charge scheme has upper limit;
If do not go up limit, then this charging is zero.
Preferably, before the user ID in the detailed list according to the user who receives and described detailed single time started are obtained described user from database order relations and described user's the accounts information, described method also comprises:
Judge according to described detailed list whether charging way is metering;
If then judge in Preset Time, whether to receive similar detailed list;
If receive similar detailed list, then this time charging is zero.
Preferably, behind the detailed list of described generation charging, described method also comprises:
Judge according to described order relations and described accounts information whether described user has preference scheme;
If preference scheme is arranged, judge then whether described detailed list meets the favourable condition of described preference scheme;
If meet described favourable condition, then calculate preferential volume according to described preference scheme;
It is detailed single to upgrade described charging according to described preferential volume.
Preferably, when described preference scheme for preferential by the time, described detailed single charging way if describedly meet described favourable condition, is then calculated preferential volume according to the charging regulation of described preference scheme and is comprised when pressing the duration charging:
Judge that professional service time in the described detailed list is whether all within the introductory period of described preference scheme;
If not, then calculate the preferential volume that is in the described introductory period according to the charging regulation of described preference scheme.
It is a kind of based on the message accounting of power optical fiber to the family business that the present invention also provides, and comprising:
Order relations, accounts information acquiring unit are used for detailed single user ID and described detailed single time started obtaining described user's order relations and described user's accounts information from database according to the user who receives;
Hire charge scheme judging unit is used for judging according to described order relations and described accounts information whether described user has the hire charge scheme;
The price-list acquiring unit is used for obtaining price-list;
Charging Detail Record unit is used for when described user does not have the hire charge scheme, according to described price-list and detailed charging, the detailed list of generation charging of singly carrying out of described user;
Set meal threshold value acquiring unit is used for obtaining corresponding set meal threshold value according to described hire charge scheme when described user has the hire charge scheme;
Described Charging Detail Record unit also is used for when described set meal threshold value is zero, singly carries out charging according to described price-list and described user are detailed, generates the detailed list of charging;
When described set meal threshold value was non-vanishing, described device also comprised:
Current account phase acquiring unit is used for the current account phase of obtaining described user from database according to described accounts information and described detailed single time started;
The former professional cumulant unit that uses is for the former professional cumulant of using of determining described user according to the described current account phase;
New business is used the cumulative amount unit, is used for obtaining new business use cumulative amount according to described former professional this professional use amount of cumulant and described detailed list of using;
Described Charging Detail Record unit also is used for when described new business uses cumulant not surpass described set meal threshold value this charging being designated as zero;
Set meal threshold decision unit is used for when described new business uses cumulant to surpass described set meal threshold value, judges whether the described former professional cumulant of using surpasses described set meal threshold value;
Described Charging Detail Record unit also is used for carrying out charging according to described detailed list and described price-list when described former professional use cumulant surpasses described set meal threshold value, and it is detailed single to generate charging;
Described Charging Detail Record unit, also be used for when described former professional use cumulant surpasses described set meal threshold value, calculate the part that described new business use cumulant exceeds threshold value, and carry out charging according to described part and the described price-list that exceeds threshold value, it is detailed single to generate charging.
Preferably, described device also comprises:
Upper limit judging unit is used for judging whether described hire charge scheme has upper limit when described user has the hire charge scheme;
Described Charging Detail Record unit also is used for when described hire charge scheme does not go up limit this charging being designated as zero.
Preferably, described device also comprises:
The charging way judging unit is used for judging according to described detailed list whether charging way is metering;
Similar detailed single judging unit is used for when described charging way is metering, judges whether receive similar detailed list in Preset Time;
Described Charging Detail Record unit also is used for receiving in described Preset Time similar detailed when single, and this charging is designated as zero.
Preferably, described device also comprises:
The preference scheme judging unit is used for judging according to described order relations and described accounts information whether described user has preference scheme;
The favourable condition judging unit is used for when preference scheme is arranged, and judges whether described detailed list meets the favourable condition of described preference scheme regulation;
Preferential computing unit is used for calculating preferential volume described detailed when singly meeting described favourable condition according to described preference scheme;
Described Charging Detail Record unit, it is detailed single also to be used for upgrading described charging according to described preferential volume.
Preferably, when described preference scheme for preferential by the time, described detailed single charging way is when pressing the duration charging, described preferential computing unit comprises:
The introductory period judging unit is used for judging that the professional service time of described detailed list is whether all within the introductory period of described preference scheme;
Preferential charging subelement was used for when professional service time of described detailed list, Bush was all in the introductory period in described preference scheme, calculated the preferential volume that is in the described introductory period according to the charging regulation of described preference scheme.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
The present invention is according to detailed order relations and the accounts information that singly obtains the user of user; Judge whether the user has the hire charge scheme; Obtain price-list; If the user does not have the hire charge scheme, then singly carry out charging according to price-list and user are detailed; If the user has the hire charge scheme, then obtain the set meal threshold value; When the set meal threshold value is zero, singly carry out charging according to price-list and user are detailed; When the set meal threshold value is non-vanishing: obtain the former professional of user and use cumulant and calculate new business use cumulative amount; If new business uses cumulant not surpass the set meal threshold value, then this charging is zero; If new business uses cumulant to surpass the set meal threshold value, judge then whether the former professional cumulant of using surpasses the set meal threshold value; If then carry out charging according to detailed list and price-list; If not, then carry out charging according to the part and the price-list that exceed threshold value.By said method, the present invention has realized based on the unified charging of power optical fiber to the family business.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use among the embodiment, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram that the embodiment of the invention provides;
Fig. 2 is the schematic diagram of the device that provides of the embodiment of the invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtain belongs to the scope of protection of the invention.
Be the charging method among clearer description the present invention, at first simply introduce to the fees policy of family business based on power optical fiber existing.
The fees policy that power industry begins most is the common standard charging regulation of not distinguishing any situation, is that 5 yuan or the professional every degree electricity of intelligent power are 1 yuan such as the each charge of video traffic.
Along with the development in epoch, for satisfying user's new demand, to the business at family new fees policy has been proposed based on power optical fiber.Wherein a kind of is exactly the hire charge scheme.The hire charge scheme refers to the periodicity toll project to the user.Such as monthly collecting 10 yuan of hire charges of user.Hire charge scheme commonly used has two kinds, and is a kind of with the set meal threshold value, and its meaning refers to use with interior business in the set meal threshold value, and its charging is all returned in user's hire charge, charges not according to common standard.Such as, certain customization 10 yuan of set meals per month, the flow that it has comprised 50M show that the user will hand over 10 yuan per month, and the user is based on these 10 yuan of flows that can use 50M.Another of hire charge scheme do not have the set meal threshold value, although it refers to collect by the cycle user's expense, this expense does not comprise any business and uses.
Based on the existence of hire charge scheme, the situation of set meal threshold value is especially arranged, when charging, just need to judge that user's professional use amount is whether in the set meal threshold value.For this reason, it is a kind of based on the charging method of power optical fiber to the family business that the embodiment of the invention 1 provides, and the method comprises:
S11, from database, obtain described user's order relations and described user's accounts information detailed user ID and described detailed single time started in single according to the user who receives.
User among the present invention detailed detailed list that singly refers to record this professional use information of a certain user has comprised time started of user ID, this Xiang Dan usually, and the essential information of the business used of user.Recorded in single such as a, user is detailed: a single time started is 11:20 on February 7th, 2012, be for ID number 05 user on February 7th, 2012 11:20 used video traffic to 14:30, its flow is 15M.
The user may change in the business of different time customizings, therefore, needs among the present invention to determine that in conjunction with the detailed time that singly begins the business of the current customization of user is order relations.
Accounts information refers to user's Back ground Information, such as the zone at user place etc.User's Back ground Information difference such as the user place from different places, corresponding hire charge scheme etc. may be also can be different.Hire charge scheme such as the Beijing area may be 10 yuan of 50M, and the hire charge scheme of Shandong District may be 10 yuan of 20M.For this reason, also need in the present invention to obtain user's accounts information so that the follow-up definite information such as hire charge scheme corresponding to this user.
As stated in the Background Art, power optical fiber comprises the multiple business such as intelligent power, broadband services, third party's value-added service to the family business, and miscellaneous service has different management platforms.Different platform may define different protocol formats, and for realizing the unified charging to multiple business, in specific embodiments of the invention, it is detailed single to obtain based on the interface that the REST mode designs the user.
REST (Representational State Transfer, table pictureization state transitions) is a kind of design and development mode for network application, can reduce the complexity of exploitation, improves the scalability of system.
The characteristics of REST design are to be resource with all things on the network are abstract, and with the corresponding unique resource identification of each resource.To be undertaken by general attachment unit interface to resource operation the time.
When the interface that adopts the REST mode to design, charge system can be determined based on the uniform resource position mark URL in the detailed list of the user who obtains user's professional operation parameter.Below be a concrete URL:
http://192.168.186.185:7011/billing/billingservlet?CdrType=HOT&RecordType=HIT&RunningNum=0000000002&SubscrGuid=SCR2012071800070&ProductGuid=1&ContentGuid=2&MacAddress=macadr&IpAddress=ipadr&DatBegin=20120724103000&DatEnd=20120724103000&Duration=0&UpStream=1073741824&DownStream=1073741824
By above-mentioned URL, it is H0T that charge system can be determined the detailed single charging request type of this user, and charging way in due order, serial number is 2, Customs Assigned Number is SCR201207180007, and production code member is 1, and context number is 2, MAC Address is macad, the IP address is ipadr, and the professional time started is 10: 30 on the 24th July in 2012, and the service ending time is 10: 30 on the 24th July in 2012, the charging duration is 0, and the up-downgoing flow is 1073741824.
Certainly, in other embodiments of the invention, it is detailed single also can to adopt other modes to obtain the user, and the present invention does not do concrete restriction to this.
Need to prove that in the present invention, when inquiry was less than user's order relations or accounts information when detailed single from the user, processing can report an error.
S12, judge according to described order relations and described accounts information whether described user has the hire charge scheme.
S13, obtain price-list.
Price-list among the present invention refers to the detailed single charging way of wall scroll.The expense that should collect such as each video traffic etc.
Among the present invention, can from database, obtain pre-stored price-list.When inquiring about less than relevant price-list from database, processing can report an error.
If the described user of S14 does not have the hire charge scheme, then according to described price-list and detailed charging, the detailed list of generation charging of singly carrying out of described user.
If there is not the hire charge scheme in the user, can directly carry out charging according to the business use information in the price-list that obtains and the detailed list of user so.
If the described user of S15 has the hire charge scheme, then obtain corresponding set meal threshold value according to described hire charge scheme.
Such as, according to the hire charge scheme set meal of 10 yuan of 50M that got access to customization, its set meal threshold value is exactly 50M so.
As previously mentioned, when the hire charge scheme was arranged, possible set meal threshold value was zero.For this reason, after having obtained the set meal threshold value, can whether be zero to judge to it.
S16, when described set meal threshold value is zero, singly carry out charging according to described price-list and described user are detailed, it is detailed single to generate charging.
When described set meal threshold value is non-vanishing, carry out following steps:
S17, the current account phase of from database, obtaining described user according to described accounts information and described detailed single time started.
Charging to the user in the prior art was undertaken by the cycle, and soon the charging in the one-period is detailed singly returns together.Commonly monthly charging.Be about to the detailed unirecord of chargings all in month together.User's the account phase has just comprised the issue at user place and should the business in the phase use and corresponding charge information.Current account phase among the present invention just indicated the detailed Dan Suoying of the current charging of user the account issue.Detailed single should to be included into the account in user October interim such as, the charging in user on October 9th, 2012.
If it is unsuccessful to obtain the current account phase, processing can report an error.
S18, determine described user's the former professional cumulant of using according to the described current account phase.
S19, formerly professional use this professional use amount in cumulant and the described detailed list to obtain new business to use cumulative amount according to described.
Such as, determine user's October according to the current account phase, it is 30M that this detailed former professional before single uses cumulant.Detailed singly to obtain this professional use amount be 10M according to this user, and the new business use amount is exactly that former professional to use cumulant and this professional use amount sum be 40M so.
Wherein, be when using business first when obtain less than former professional use cumulant from the current account phase such as the user, the former professional cumulant of using is designated as zero.
If the described new business of S20 uses cumulant not surpass described set meal threshold value, then this charging is zero.
New business uses cumulant to surpass traffic carrying capacity that described set meal threshold value explanation user uses at present also in set meal, and its expense is still born by hire charge.Therefore, this charging is zero.
If the described new business of S21 uses cumulant to surpass described set meal threshold value, judge then whether the described former professional cumulant of using surpasses described set meal threshold value.
If S22 then carries out charging according to described detailed list and described price-list, it is detailed single to generate charging.
S23, if not then calculates described new business and uses cumulant to exceed the part of threshold value, and carries out charging according to described part and the described price-list that exceeds threshold value, and it is detailed single to generate charging.
New business uses cumulant to surpass two kinds of situations of set meal threshold value existence, a kind of is that the front set meal threshold value that just surpassed of this professional use is that the former professional cumulant of using has just surpassed the set meal threshold value, this professional use amount is certainly just all beyond the set meal threshold value so, therefore can carry out charging according to detailed list and described price-list, it is detailed single to generate charging.Another kind is that the former professional cumulant of using does not surpass the set meal threshold value, and this illustrates that part is in the set meal threshold value in this professional use amount, and part is beyond the set meal threshold value.
Such as, user's set meal threshold value is 50M, and former professional use cumulant is 40M, and it is 60 that new business is used cumulant.Just only has 10M beyond the set meal threshold value among this professional use amount 20M so.This charging also gets final product with regard to only carrying out charging to the part that exceeds threshold value.
In the prior art, also exist the third hire charge scheme, this hire charge scheme does not have the capping volume, and in a single day the user has ordered this hire charge scheme, just can unconfined use business.Such as, 300 yuan set meal per month, the user is can unconfined use professional.At this moment, just need not singly to carry out charging to user's single is detailed.
For this, in the embodiment of the invention 2, before obtaining price-list, whether the hire charge scheme that also needs to judge acquisition has upper limit, if nothing, then this charging is zero.
We know, existing charging have multiple charging way as in due order, by duration, by flow.When wherein carrying out charging in due order, number of times is determined according to a professional beginning and service ending time.But so definite mode is sometimes unfair to the user.Such as, sometimes, user's program request a video, watched a period of time after, busy needs suspend.Although the time of suspending may be very short, for system, from beginning to just suspending, be designated as once, and it is detailed single to have generated a user.When the user is follow-up when continuing to watch, just begin to be designated as for the second time, and it is detailed single to generate second user.For avoiding this situation, the embodiment of the invention 3 can singly detect whether receiving similar knowing clearly in the Preset Time after receiving the detailed list of user.Similar knowing clearly among the present invention singly refers to record same user to the detailed list of same professional use information.Such as, two have been recorded the detailed list that same user watches video " annular envoy ".
Among the present invention, Preset Time can be set as 24 hours.
For further satisfying user's demand, to the family business preference scheme has been proposed also based on power optical fiber.Preference scheme refers to when the user satisfies certain favourable condition to the use of business, carries out charging according to the charging regulation of preference scheme.
Existing common preference scheme is preferential for being undertaken by the time, namely carries out preferential to the business that is in the introductory period.Such as preferential by the period, preferential by festivals or holidays, preferential etc. by weekend.
The appearance of corresponding preference scheme, the embodiment of the invention 4 also comprises the steps: after finishing above-mentioned charging
Judge according to described order relations and described accounts information whether described user has preference scheme.
If preference scheme is arranged, judge then whether described detailed list meets the favourable condition of described preference scheme.
If meet described favourable condition, then calculate preferential volume according to described preference scheme.
Among the present invention, can comprise concrete charging regulation in the preference scheme, when being in the preferential period such as regulation, watch the price of video at every turn.
Certainly, when preference scheme also can only be stipulated to be in the preferential period, carry out charging according to which kind of charging regulation in the price-list, when being in the preferential period such as regulation, carry out charging according to the price of preferential period in the price-list.At this moment, just need to calculate the detailed single preferential volume of user in conjunction with preference scheme and price-list.
It is detailed single to upgrade described charging according to described preferential volume.
It is detailed single just can to upgrade accordingly charging after calculating preferential volume, obtains the result after preferential.
Need to prove, when preference scheme is to be undertaken preferentially by the time, and charging way is during by duration, can occur once knowing clearly only having the part duration to be in the introductory period in single, the part duration is in the situation of introductory period, just need to judge the detailed duration in singly of user this moment whether entirely within the introductory period.When only having part to be in the introductory period, only the part that is in the introductory period is calculated preferential volume.
For making the present invention clearer, corresponding said method, Fig. 1 show a kind of flow chart of specific embodiment.
Wherein, step is judged charging way and is judged that the charging way that whether has in 24 hours in the corresponding above-described embodiment 2 of similar detailed list is the processing method in due order the time.Get order relations from step and finish charging 1 corresponding above-described embodiment 1 correlation process method to the hire charge scheme to step.From judging whether preference scheme processing method to preference scheme to the corresponding embodiment 4 of step detailed written list table.Processing method when step judges whether that limit and step are designated as among the zero corresponding embodiment 3 charging to the supreme limit of hire charge scheme.Relevant introduction can be participated in above-described embodiment.
Need to prove, in the present invention, when judging the user and do not have the hire charge scheme, can be directly singly carry out charging according to the price-list that obtains to the user is detailed.But for saving the treatment step of computer, the set meal threshold value setting when can in advance the user not had the hire charge scheme is zero, and then the method step S28-S34 when with process user the hire charge scheme being arranged finishes charging.Because the set meal threshold value is made as zero, so knowing clearly to the user, the price-list that its last result or basis are obtained singly carries out charging.
Corresponding said method embodiment, it is a kind of based on the message accounting of power optical fiber to the family business that the present invention also provides.Referring to Fig. 2, this device comprises:
A kind of based on power optical fiber to the message accounting of family business, it is characterized in that, comprising:
Order relations, accounts information acquiring unit 11 are used for detailed single user ID and described detailed single time started obtaining described user's order relations and described user's accounts information from database according to the user who receives.
Hire charge scheme judging unit 12 is used for judging according to described order relations and described accounts information whether described user has the hire charge scheme.
Price-list acquiring unit 13 is used for obtaining price-list.
Charging Detail Record unit 14 is used for when described user does not have the hire charge scheme, according to described price-list and detailed charging, the detailed list of generation charging of singly carrying out of described user.
Set meal threshold value acquiring unit 15 is used for obtaining corresponding set meal threshold value according to described hire charge scheme when described user has the hire charge scheme.
Described Charging Detail Record unit also is used for when described set meal threshold value is zero, singly carries out charging according to described price-list and described user are detailed, generates the detailed list of charging.
When described set meal threshold value was non-vanishing, described device also comprised:
Current account phase acquiring unit 16 is used for the current account phase of obtaining described user from database according to described accounts information and described detailed single time started.
The former professional cumulant unit 17 that uses is for the former professional cumulant of using of determining described user according to the described current account phase.
New business is used cumulative amount unit 18, is used for obtaining new business use cumulative amount according to described former professional this professional use amount of cumulant and described detailed list of using.
Described Charging Detail Record unit also is used for when described new business uses cumulant not surpass described set meal threshold value this charging being designated as zero.
Set meal threshold decision unit 19 is used for when described new business uses cumulant to surpass described set meal threshold value, judges whether the described former professional cumulant of using surpasses described set meal threshold value.
Described Charging Detail Record unit also is used for carrying out charging according to described detailed list and described price-list when described former professional use cumulant surpasses described set meal threshold value, and it is detailed single to generate charging.
Described Charging Detail Record unit, also be used for when described former professional use cumulant surpasses described set meal threshold value, calculate the part that described new business use cumulant exceeds threshold value, and carry out charging according to described part and the described price-list that exceeds threshold value, it is detailed single to generate charging.
In the prior art, also exist the third hire charge scheme, this hire charge scheme does not have the capping volume, and in a single day the user has ordered this hire charge scheme, just can unconfined use business.Such as, 300 yuan set meal per month, the user is can unconfined use professional.At this moment, just need not singly to carry out charging to user's single is detailed.
For this, in the embodiment of the invention, described device also comprises:
Upper limit judging unit is used for judging whether described hire charge scheme has upper limit when described user has the hire charge scheme.
Described Charging Detail Record unit also is used for when described hire charge scheme does not go up limit this charging being designated as zero.
We know, existing charging have multiple charging way as in due order, by duration, by flow.When wherein carrying out charging in due order, number of times is determined according to a professional beginning and service ending time.But so definite mode is sometimes unfair to the user.Such as, sometimes, user's program request a video, watched a period of time after, busy needs suspend.Although the time of suspending may be very short, for system, from beginning to just suspending, be designated as once, and it is detailed single to have generated a user.When the user is follow-up when continuing to watch, just begin to be designated as for the second time, and it is detailed single to generate second user.For avoiding this situation, in the embodiment of the invention, described device also comprises: the charging way judging unit is used for judging according to described detailed list whether charging way is metering;
Similar detailed single judging unit is used for when described charging way is metering, judges whether receive similar detailed list in Preset Time;
Described Charging Detail Record unit also is used for receiving in described Preset Time similar detailed when single, and this charging is designated as zero.
Among the present invention, Preset Time can be set as 24 hours.
For further satisfying user's demand, to the family business preference scheme has been proposed also based on power optical fiber.Preference scheme refers to when the user satisfies certain favourable condition to the use of business, carries out charging according to the charging regulation of preference scheme.
Existing common preference scheme is preferential for being undertaken by the time, namely carries out preferential to the business that is in the introductory period.Such as preferential by the period, preferential by festivals or holidays, preferential etc. by weekend.
The appearance of corresponding preference scheme, in the embodiment of the invention, described device also comprises:
The preference scheme judging unit is used for judging according to described order relations and described accounts information whether described user has preference scheme;
The favourable condition judging unit is used for when preference scheme is arranged, and judges whether described detailed list meets the favourable condition of described preference scheme regulation;
Preferential computing unit is used for calculating preferential volume described detailed when singly meeting described favourable condition according to described preference scheme;
Described Charging Detail Record unit, it is detailed single also to be used for upgrading described charging according to described preferential volume.
Need to prove, when preference scheme is to be undertaken preferentially by the time, and charging way is during by duration, can occur once knowing clearly only having the part duration to be in the introductory period in single, the part duration is in the situation of introductory period, just need to judge the detailed duration in singly of user this moment whether entirely within the introductory period.When only having part to be in the introductory period, only the part that is in the introductory period is calculated preferential volume.
Corresponding, described preferential computing unit comprises:
The introductory period judging unit is used for judging that the professional service time of described detailed list is whether all within the introductory period of described preference scheme;
Preferential charging subelement was used for when professional service time of described detailed list, Bush was all in the introductory period in described preference scheme, calculated the preferential volume that is in the described introductory period according to the charging regulation of described preference scheme.
More than to provided by the present invention a kind of based on power optical fiber to charging method and the device of family business, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications.In sum, this description should not be construed as limitation of the present invention.

Claims (10)

  1. One kind based on power optical fiber to the charging method of family business, it is characterized in that, comprising:
    User ID and described detailed single time started in knowing clearly singly according to the user who receives are obtained described user's order relations and described user's accounts information from database;
    Judge according to described order relations and described accounts information whether described user has the hire charge scheme;
    Obtain price-list;
    If described user does not have the hire charge scheme, then according to described price-list and detailed charging, the detailed list of generation charging of singly carrying out of described user;
    If described user has the hire charge scheme, then obtain corresponding set meal threshold value according to described hire charge scheme;
    When described set meal threshold value is zero, according to described price-list and detailed charging, the detailed list of generation charging of singly carrying out of described user;
    When described set meal threshold value is non-vanishing, carry out following steps:
    The current account phase of from database, obtaining described user according to described accounts information and described detailed single time started;
    Determine described user's the former professional cumulant of using according to the described current account phase;
    Obtain new business according to this professional use amount in described former professional use cumulant and the described detailed list and use cumulative amount;
    If described new business uses cumulant not surpass described set meal threshold value, then this charging is zero;
    If described new business uses cumulant to surpass described set meal threshold value, judge then whether the described former professional cumulant of using surpasses described set meal threshold value;
    If, then carry out charging according to described detailed list and described price-list, it is detailed single to generate charging;
    If not, then calculate the part that described new business use cumulant exceeds threshold value, and carry out charging according to described part and the described price-list that exceeds threshold value, it is detailed single to generate charging.
  2. 2. method according to claim 1 is characterized in that, described obtain price-list before, described method also comprises:
    When described user has the hire charge scheme, judge whether described hire charge scheme has upper limit;
    If do not go up limit, then this charging is zero.
  3. 3. method according to claim 1, it is characterized in that, before user ID in the detailed list according to the user who receives and described detailed single time started are obtained described user from database order relations and described user's the accounts information, described method also comprises:
    Judge according to described detailed list whether charging way is metering;
    If then judge in Preset Time, whether to receive similar detailed list;
    If receive similar detailed list, then this time charging is zero.
  4. 4. method according to claim 1 is characterized in that, behind the detailed list of described generation charging, described method also comprises:
    Judge according to described order relations and described accounts information whether described user has preference scheme;
    If preference scheme is arranged, judge then whether described detailed list meets the favourable condition of described preference scheme;
    If meet described favourable condition, then calculate preferential volume according to described preference scheme;
    It is detailed single to upgrade described charging according to described preferential volume.
  5. 5. method according to claim 4, it is characterized in that, when described preference scheme for preferential by the time, described detailed single charging way is when pressing the duration charging, if describedly meet described favourable condition, then calculate preferential volume according to the charging regulation of described preference scheme and comprise:
    Judge that professional service time in the described detailed list is whether all within the introductory period of described preference scheme;
    If not, then calculate the preferential volume that is in the described introductory period according to the charging regulation of described preference scheme.
  6. One kind based on power optical fiber to the message accounting of family business, it is characterized in that, comprising:
    Order relations, accounts information acquiring unit are used for detailed single user ID and described detailed single time started obtaining described user's order relations and described user's accounts information from database according to the user who receives;
    Hire charge scheme judging unit is used for judging according to described order relations and described accounts information whether described user has the hire charge scheme;
    The price-list acquiring unit is used for obtaining price-list;
    Charging Detail Record unit is used for when described user does not have the hire charge scheme, according to described price-list and detailed charging, the detailed list of generation charging of singly carrying out of described user;
    Set meal threshold value acquiring unit is used for obtaining corresponding set meal threshold value according to described hire charge scheme when described user has the hire charge scheme;
    Described Charging Detail Record unit also is used for when described set meal threshold value is zero, singly carries out charging according to described price-list and described user are detailed, generates the detailed list of charging;
    When described set meal threshold value was non-vanishing, described device also comprised:
    Current account phase acquiring unit is used for the current account phase of obtaining described user from database according to described accounts information and described detailed single time started;
    The former professional cumulant unit that uses is for the former professional cumulant of using of determining described user according to the described current account phase;
    New business is used the cumulative amount unit, is used for obtaining new business use cumulative amount according to described former professional this professional use amount of cumulant and described detailed list of using;
    Described Charging Detail Record unit also is used for when described new business uses cumulant not surpass described set meal threshold value this charging being designated as zero;
    Set meal threshold decision unit is used for when described new business uses cumulant to surpass described set meal threshold value, judges whether the described former professional cumulant of using surpasses described set meal threshold value;
    Described Charging Detail Record unit also is used for carrying out charging according to described detailed list and described price-list when described former professional use cumulant surpasses described set meal threshold value, and it is detailed single to generate charging;
    Described Charging Detail Record unit, also be used for when described former professional use cumulant surpasses described set meal threshold value, calculate the part that described new business use cumulant exceeds threshold value, and carry out charging according to described part and the described price-list that exceeds threshold value, it is detailed single to generate charging.
  7. 7. device according to claim 6 is characterized in that, described device also comprises:
    Upper limit judging unit is used for judging whether described hire charge scheme has upper limit when described user has the hire charge scheme;
    Described Charging Detail Record unit also is used for when described hire charge scheme does not go up limit this charging being designated as zero.
  8. 8. device according to claim 6 is characterized in that, described device also comprises:
    The charging way judging unit is used for judging according to described detailed list whether charging way is metering;
    Similar detailed single judging unit is used for when described charging way is metering, judges whether receive similar detailed list in Preset Time;
    Described Charging Detail Record unit also is used for receiving in described Preset Time similar detailed when single, and this charging is designated as zero.
  9. 9. device according to claim 6 is characterized in that, described device also comprises:
    The preference scheme judging unit is used for judging according to described order relations and described accounts information whether described user has preference scheme;
    The favourable condition judging unit is used for when preference scheme is arranged, and judges whether described detailed list meets the favourable condition of described preference scheme regulation;
    Preferential computing unit is used for calculating preferential volume described detailed when singly meeting described favourable condition according to described preference scheme;
    Described Charging Detail Record unit, it is detailed single also to be used for upgrading described charging according to described preferential volume.
  10. 10. device according to claim 9 is characterized in that, when described preference scheme for preferential by the time, described detailed single charging way is when pressing the duration charging, described preferential computing unit comprises:
    The introductory period judging unit is used for judging that the professional service time of described detailed list is whether all within the introductory period of described preference scheme;
    Preferential charging subelement was used for when professional service time of described detailed list, Bush was all in the introductory period in described preference scheme, calculated the preferential volume that is in the described introductory period according to the charging regulation of described preference scheme.
CN2012103853543A 2012-10-12 2012-10-12 Charging method and charging device on basis of electric fiber to the home business Pending CN102916819A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2012103853543A CN102916819A (en) 2012-10-12 2012-10-12 Charging method and charging device on basis of electric fiber to the home business

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012103853543A CN102916819A (en) 2012-10-12 2012-10-12 Charging method and charging device on basis of electric fiber to the home business

Publications (1)

Publication Number Publication Date
CN102916819A true CN102916819A (en) 2013-02-06

Family

ID=47615059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012103853543A Pending CN102916819A (en) 2012-10-12 2012-10-12 Charging method and charging device on basis of electric fiber to the home business

Country Status (1)

Country Link
CN (1) CN102916819A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375977A (en) * 2016-09-18 2017-02-01 中国联合网络通信集团有限公司 Method and apparatus for calculating income of communication cell, and server
CN108494569A (en) * 2018-03-14 2018-09-04 北京思特奇信息技术股份有限公司 A kind of charging method and system applied to telecommunications industry
CN113157751A (en) * 2020-01-07 2021-07-23 中国移动通信集团安徽有限公司 Method and device for generating detailed list and computing equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040221303A1 (en) * 2001-11-20 2004-11-04 Starz Encore Group Llc Parental controls using view limits
US20050181758A1 (en) * 2004-02-13 2005-08-18 Nokia Corporation Generating charging information in a communication system
CN1674521A (en) * 2004-03-24 2005-09-28 华为技术有限公司 Method for realizing batched communication business valuation
CN101277202A (en) * 2007-03-29 2008-10-01 华为技术有限公司 Charging method and system
CN102255734A (en) * 2010-05-19 2011-11-23 华为技术有限公司 Charging method of content business, apparatus and system thereof
CN102281302A (en) * 2011-08-24 2011-12-14 中国联合网络通信集团有限公司 resource access processing method and system
CN102291603A (en) * 2011-08-26 2011-12-21 深圳市同洲视讯传媒有限公司 Subscription relation authentication method and system of interactive television
CN102571370A (en) * 2010-12-27 2012-07-11 中国移动通信集团山西有限公司 Method and device for realizing charge under condition of coexistence of multiple charge units

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040221303A1 (en) * 2001-11-20 2004-11-04 Starz Encore Group Llc Parental controls using view limits
US20050181758A1 (en) * 2004-02-13 2005-08-18 Nokia Corporation Generating charging information in a communication system
CN1674521A (en) * 2004-03-24 2005-09-28 华为技术有限公司 Method for realizing batched communication business valuation
CN101277202A (en) * 2007-03-29 2008-10-01 华为技术有限公司 Charging method and system
CN102255734A (en) * 2010-05-19 2011-11-23 华为技术有限公司 Charging method of content business, apparatus and system thereof
CN102571370A (en) * 2010-12-27 2012-07-11 中国移动通信集团山西有限公司 Method and device for realizing charge under condition of coexistence of multiple charge units
CN102281302A (en) * 2011-08-24 2011-12-14 中国联合网络通信集团有限公司 resource access processing method and system
CN102291603A (en) * 2011-08-26 2011-12-21 深圳市同洲视讯传媒有限公司 Subscription relation authentication method and system of interactive television

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375977A (en) * 2016-09-18 2017-02-01 中国联合网络通信集团有限公司 Method and apparatus for calculating income of communication cell, and server
CN108494569A (en) * 2018-03-14 2018-09-04 北京思特奇信息技术股份有限公司 A kind of charging method and system applied to telecommunications industry
CN113157751A (en) * 2020-01-07 2021-07-23 中国移动通信集团安徽有限公司 Method and device for generating detailed list and computing equipment

Similar Documents

Publication Publication Date Title
CN1848895B (en) Method for switchingover charge mode utilizing mobile user station in WiMAX
WO2007095864A1 (en) Charging system and charging method
CN102387486B (en) Method and device for charging general packet radio service (GPRS) partition bill
CN101110877B (en) Method and system for implementing general charging
CN101222559A (en) Service charging method and system
CN107730398A (en) The recommendation method, apparatus and storage medium of electricity consumption charging mode
CN100561928C (en) A kind of charging method of mobile digital broadcast network
CN101771546B (en) Data service charging method and device
CN102916819A (en) Charging method and charging device on basis of electric fiber to the home business
CN105550857A (en) Gas meter payment method and gas information management system
CN1968106B (en) Charging system and method for balance sharing
WO2008110123A1 (en) A method and system of charging and an account period switching module
CN103873266A (en) Method and device for establishing convergent billing model
CN106327273A (en) STS-based prepaid electricity selling system and method
CN102355650A (en) Service processing method and system thereof
CN101795302A (en) Method and system for identifying group users
US20130268436A1 (en) Common Service Platform System and Revenue Method
WO2010135881A1 (en) Realization method and system for real-time cumulative present prepaid intelligent network service
CN100442697C (en) Charging method and its system
CN111542005B (en) Charging method, device, equipment and storage medium
CN102045681A (en) Method and device for network charging
CN105515795A (en) Method and system for controlling service capability of offline charging user
CN102131174B (en) Method, device and system for charging prepayment
WO2007076724A1 (en) A method and system for processing charging data in a communication system
CN110300000B (en) Charging mode changing method and device, electronic equipment and readable 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
ASS Succession or assignment of patent right

Owner name: BEIJING FIBRLINK COMMUNICATIONS CO., LTD. STATE EL

Free format text: FORMER OWNER: BEIJING FIBRLINK COMMUNICATIONS CO., LTD. STATE ELECTRIC NET CROP.

Effective date: 20130710

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20130710

Address after: 100070 Fengtai District, Feng Feng Road, No. 1, the era of fortune World Building, floor, layer 28, Beijing

Applicant after: Beijing Guodiantong Network Technology Co., Ltd.

Applicant after: Fibrlink Networks Co., Ltd.

Applicant after: State Grid Corporation of China

Applicant after: Shanghai Electric Power Corporation

Address before: 100070 Fengtai District, Feng Feng Road, No. 1, the era of fortune World Building, floor, layer 28, Beijing

Applicant before: Beijing Guodiantong Network Technology Co., Ltd.

Applicant before: Fibrlink Networks Co., Ltd.

Applicant before: State Grid Corporation of China

C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130206