CN108171887A - A kind of method and device of electric energy tariff - Google Patents

A kind of method and device of electric energy tariff Download PDF

Info

Publication number
CN108171887A
CN108171887A CN201711385723.8A CN201711385723A CN108171887A CN 108171887 A CN108171887 A CN 108171887A CN 201711385723 A CN201711385723 A CN 201711385723A CN 108171887 A CN108171887 A CN 108171887A
Authority
CN
China
Prior art keywords
discharge pattern
accounting regime
accounting
regime
electricity price
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711385723.8A
Other languages
Chinese (zh)
Other versions
CN108171887B (en
Inventor
傅嘉嘉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies 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 New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201711385723.8A priority Critical patent/CN108171887B/en
Publication of CN108171887A publication Critical patent/CN108171887A/en
Application granted granted Critical
Publication of CN108171887B publication Critical patent/CN108171887B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/08Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity with means for varying the tariff or changing the price
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/003Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level

Abstract

The embodiment of the present application provides a kind of method and device of electric energy tariff, belongs to electric energy tariff technical field.The method includes obtaining electricity consumption of the target charging object in each accounting regime, and network flow data of the target charging object in each accounting regime, pass through the network flow data in preset flow analysis strategy and each accounting regime, determine the corresponding discharge pattern of each accounting regime, according to the correspondence of pre-stored discharge pattern and electricity price, and the corresponding discharge pattern of each accounting regime, determine the corresponding electricity price of each accounting regime, according to the electricity consumption and electricity price in each accounting regime, calculate electric energy tariff information of the target charging object in each accounting regime, and charging is carried out based on target charging object described in the electric energy tariff information.Using the present invention, the flexibility of electric energy tariff can be improved.

Description

A kind of method and device of electric energy tariff
Technical field
This application involves electric energy tariff technical field, more particularly to a kind of method and device of electric energy tariff.
Background technology
At present, many schools all can carry out electric energy tariff to students' dormitory.Since the electricity consumption time of student compares concentration, because The mode of this generally use time-shared charge carries out charging.
In time-shared charge mode, common electricity consumption period and peak of power consumption period can be set.Wherein, the peak of power consumption period Corresponding electricity price is higher, and corresponding electricity price of common electricity consumption period is relatively low.For example, in one day, when 12~14 when, 18 when~22 When for the peak of power consumption period, the electricity charge in the period are 2 yuan/degree, remaining period is the common electricity consumption period, and the electricity charge are 1 yuan/degree. In practice, usually using a dormitory as a charging object in school, and pass through accounting server and electricity is carried out to each dormitory Gauge takes.In a metering period (such as in one month), accounting server can count certain dormitory in the peak of power consumption period Second electricity consumption of interior the first electricity consumption and the dormitory within the common electricity consumption period, then according to the first electricity consumption, electricity consumption Peak period corresponding electricity price, the second electricity consumption, corresponding electricity price of common electricity consumption period, calculate the dormitory in the metering period Total electricity price, to charge.
However, the charging mode of time-shared charge is relatively simple, flexibility is poor, and therefore, there is an urgent need for a kind of more careful differences Alienation electric energy tariff mode.
Invention content
The embodiment of the present application is designed to provide a kind of method and device of electric energy tariff, to improve the spirit of electric energy tariff Activity.Specific technical solution is as follows:
In a first aspect, a kind of method of electric energy tariff is provided, the method includes:
Electricity consumption and the target charging object of the target charging object in each accounting regime are obtained in each meter Network flow data in time-consuming section;
By the network flow data in preset flow analysis strategy and each accounting regime, each charging is determined Period corresponding discharge pattern;
According to pre-stored discharge pattern and the correspondence of electricity price and the corresponding flow of each accounting regime Type determines the corresponding electricity price of each accounting regime;
According to the electricity consumption and electricity price in each accounting regime, determine the target charging object in each charging Electric energy tariff information in period.
Second aspect, provides a kind of device of electric energy tariff, and described device includes:
Acquisition module, for obtaining electricity consumption and the target charging of the target charging object in each accounting regime Network flow data of the object in each accounting regime;
First determining module, for passing through the network flow number in preset flow analysis strategy and each accounting regime According to determining the corresponding discharge pattern of each accounting regime;
Second determining module, for the correspondence according to pre-stored discharge pattern and electricity price and described each The corresponding discharge pattern of accounting regime determines the corresponding electricity price of each accounting regime;
Charging module, for according to the electricity consumption and electricity price in each accounting regime, determining the target charging pair As the electric energy tariff information in each accounting regime.
The third aspect provides a kind of server, which is characterized in that including processor and machine readable storage medium, institute It states machine readable storage medium and is stored with the machine-executable instruction that can be performed by the processor, the processor is described Machine-executable instruction promotes:Realize the method and step described in first aspect.
A kind of method and device of electric energy tariff provided in an embodiment of the present invention can obtain target charging object in each meter The network flow data of electricity consumption and target charging object in each accounting regime in time-consuming section, passes through preset flow Network flow data in analysis strategy and each accounting regime determines the corresponding discharge pattern of each accounting regime, according to pre- The discharge pattern and the correspondence of electricity price and the corresponding discharge pattern of each accounting regime first stored, determines each charging Period corresponding electricity price according to the electricity consumption and electricity price in each accounting regime, determines target charging object in each accounting regime Interior electric energy tariff information.In this way, by the analysis to network flow data, different types of internet behavior can be identified, from And realize and the different electricity charge are collected to different internet behaviors, improve the flexibility of electric energy tariff.
Certainly, implementing any product of the application or method must be not necessarily required to reach all the above excellent simultaneously Point.
Description of the drawings
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or it will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application, for those of ordinary skill in the art, without creative efforts, can be with Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of system framework schematic diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of method flow diagram of electric energy tariff provided in an embodiment of the present invention;
Fig. 3 is a kind of apparatus structure schematic diagram of electric energy tariff provided in an embodiment of the present invention;
Fig. 4 is a kind of structure diagram of server provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, the technical solution in the embodiment of the present application is carried out clear, complete Site preparation describes, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on Embodiment in the application, those of ordinary skill in the art are obtained every other without making creative work Embodiment shall fall in the protection scope of this application.
An embodiment of the present invention provides a kind of method of electric energy tariff, this method applies the charging in Mr. Yu's message area domain to set It is standby.Counting equipment can be a server or the server group being made of multiple servers, and the present embodiment is with charging For equipment to be illustrated for server group, other situations are similar therewith.Wherein, server group can include electricity statistical fractals Device, Analysis server and accounting server.Charging region can be school or research institute.It usually there will be in one charging region Multiple charging objects, counting equipment can respectively to each charging object carry out electric energy tariff, so as to according to charging result to this Charging object collects the electricity charge.In a kind of application scenarios provided in an embodiment of the present invention, charging region can be school, a place House can be used as a charging object, and the intelligent socket for supporting technology of Internet of things can be provided in each dormitory and gateway is set Standby, electricity statistical server can be connect with intelligent socket, to obtain electricity consumption of the dormitory in each accounting regime, analysis Server can be connect with gateway device, to obtain the network flow data for flowing through the gateway device, and then to network flow Data are analyzed;Accounting server can be connect with electricity statistical server and Analysis server respectively, obtain electricity statistics The electricity consumption of server statistics and the analysis result of Analysis server, it is specific to handle so as to fulfill the charging to the dormitory Extended meeting is described in detail after process.As shown in Figure 1, for a kind of system framework schematic diagram provided in an embodiment of the present invention, including Electricity statistical server, Analysis server, accounting server, intelligent socket, gateway device and user terminal.
As shown in Fig. 2, for a kind of method flow schematic diagram of electric energy tariff provided in an embodiment of the present invention, including following step Suddenly:
Step 201, electricity consumption and target charging object of the target charging object in each accounting regime are obtained in each meter Network flow data in time-consuming section.
Wherein, each accounting regime can be the period divided to a metering period, and a metering period can To include one or more accounting regimes, and the duration of each accounting regime is identical;Metering period can by technical staff into Row setting, for example, metering period can be 30 days.
In force, target charging object can be provided with circuit connection equipment and network access device.Wherein, circuit connects Connect equipment and be the equipment for connecting user terminal and power supply circuit, such as wall socket or wiring board etc.;Network access device Can be gateway device or routing device etc..Electricity statistical server can connect equipment or intelligent electric meter connection with circuit, and Equipment is connected by circuit or intelligent electric meter obtains electricity consumption of the target object in each accounting regime.In the present embodiment, charging Period can be configured by technical staff, for example, when a length of 30 minutes, the initial time 0 of accounting regime can be set: 00, then accounting regime is 0:00~0:30、0:30~1:00 ... and so on.Specifically, electricity statistical server can be real-time Electricity consumption in detection circuit connection equipment, to count the electricity consumption in certain accounting regime;Alternatively, circuit connection equipment can unite The electricity consumption in the unit interval is counted, and is sent to electricity statistical server, electricity statistical server can be in certain accounting regime The electricity consumption of unit time is summed, and obtains the electricity consumption in the accounting regime.For example, accounting regime is 10:00~10: 30, intelligent socket can carry out electricity consumption statistics, and by the statistical result (electricity consumption in i.e. 5 minutes with 5 minutes for the unit time Amount) electricity statistical server is sent to, electricity statistical server can be by 10:00~10:The electricity consumption received in 30 carries out Summation, obtains the electricity consumption in the accounting regime.In this way, electricity statistical server can be received and be preserved in circuit connection equipment The electricity statistical data of report, and generate the time sharing electrical energy statistic record of specified dormitory, for example, the time sharing electrical energy statistic record can be with As shown in Table 1:
Table one
Number Time Electricity counts
1 10:00-10:30 1 degree
2 10:30-11:00 2.5 degree
3 11:00-11:30 3 degree
4 11:30-12:00 1 degree
Analysis server can be connect with network access device, and passed through network access device and obtained in each accounting regime Network flow data.Specifically, when user carries out upper net operation by user terminal, network flow data, network can be generated Data on flows can be sent to user terminal or the network equipment by network access device.When network access device receives network flow After measuring data, which can replicate the network flow data, and the network flow data of duplication is sent out Give Analysis server.Above-mentioned accounting regime can be previously provided in Analysis server, when Analysis server receives network After data on flows, the receiving time of the network flow data can be recorded, so as to count the network flow in each accounting regime Data, to analyze the corresponding discharge pattern of each accounting regime.
Step 202, it by the network flow data in preset flow analysis strategy and each accounting regime, determines each The corresponding discharge pattern of accounting regime.
In force, the flow analysis strategy for identifying discharge pattern can be prestored in Analysis server.Wherein, Discharge pattern can be as needed configured by technical staff.For example, discharge pattern can include types of entertainment and study class Type, wherein, types of entertainment can include type of play, shopping type, music type etc.;Learning type can include news type With academic type etc..Technical staff can also set flow analysis strategy, and flow analysis strategy can be based on network layer data Analysis strategy or analysis strategy based on application layer data, rear extended meeting be described in detail.Analysis server can be with By flow analysis strategy, the network flow data in each accounting regime is analyzed respectively, obtains each accounting regime The corresponding discharge pattern of interior network flow data (i.e. each accounting regime corresponding discharge pattern).Analysis server determines often The mode of the corresponding discharge pattern of a accounting regime can be diversified, present embodiments provide two kinds of feasible modes, It is specific as follows.
Mode one, for each accounting regime, determine the network flow data in each sub-period that the accounting regime includes; According to pre-stored traffic characteristics analysis algorithm, the discharge pattern to the network flow data in each sub-period is determined;Respectively Determine the number of the corresponding sub-period of each discharge pattern and the ratio of the total number of sub-period that the accounting regime is included;According to The corresponding ratio of each discharge pattern, determines the corresponding discharge pattern of the accounting regime.
In force, an accounting regime can be divided into preset number sub-period, which can be by skill Art personnel are set.Analysis server obtains the network flow data in each sub-period, then according to traffic characteristics analysis algorithm, Flow analysis is carried out to the network flow data in each sub-period.Specific analysis method can be diversified, this reality Example is applied not limit.For example, the identification of discharge pattern, tool can be carried out according to the corresponding characteristic character of preset each discharge pattern The processing procedure of body can be:The corresponding characteristic character of each discharge pattern, tagged word can be previously provided in Analysis server Symbol can be five-tuple information, and in the Analysis server with DIP detection functions, characteristic character can also be URL, using journey The application layer datas such as sequence mark.For example, the characteristic character of types of entertainment can be with the URL, game name or TV of certain game website Acute title etc.;The characteristic character of learning type can be the URL of certain academic marketplace.For each sub-period, Analysis server can According to the corresponding characteristic character of pre-stored each discharge pattern, tagged word is carried out in network flow data in the sub-period Symbol matching, by the corresponding discharge pattern of the characteristic character matched, as the corresponding stream of network flow data in the sub-period Measure type.It, can be by preset stream if not finding the characteristic character to match in the sub-period in network flow data Type is measured as the corresponding discharge pattern of the sub-period, for example, preset discharge pattern can be learning type.Alternatively, analysis Server can also carry out discharge pattern analysis by discharge model to network flow data, for example, can be according to the data son The changing rule of the transmission frequency of data message in period identifies the discharge pattern of the network flow data in the sub-period.
In this way, Analysis server can determine the corresponding discharge pattern of each sub-period in certain accounting regime, and then count The number of the corresponding sub-period of each discharge pattern, then calculates the corresponding number of each discharge pattern, with preset number respectively Ratio.Based on above-mentioned processing, Analysis server can be obtained in each accounting regime, and the corresponding ratio of each discharge pattern obtains To discharge pattern analytical table, and then can the corresponding class of traffic of the accounting regime be determined according to the corresponding ratio of each discharge pattern Type.
By taking discharge pattern includes types of entertainment and learning type as an example, discharge pattern analytical table can be as shown in Table 2:
Table two
Mode two, for each accounting regime, according to pre-stored traffic characteristics analysis algorithm, in the accounting regime Network flow data in each data message analyzed, obtain the corresponding discharge pattern of each data message;For each Discharge pattern determines the data volume and value of the corresponding each data message of the discharge pattern, obtains the corresponding number of the discharge pattern According to amount, and determine the ratio of the corresponding data volume of the discharge pattern and the total amount of data of the network flow data in the accounting regime Value;According to the corresponding ratio of each discharge pattern, the corresponding discharge pattern of the accounting regime is determined.
In force, network flow data is usually made of data message.For any accounting regime, Analysis server can With pre-stored traffic characteristics analysis algorithm to each data message that the network flow data in the accounting regime includes into Row analysis.Specific analysis method can be diversified, such as can be according to the corresponding feature of preset each discharge pattern Character carries out the identification of discharge pattern.Specifically processing procedure can be:Analysis server carries out each data message respectively Characteristic character matches, by the corresponding discharge pattern of the characteristic character matched, as the corresponding discharge pattern of the data message.Such as Do not find the characteristic character to match in the fruit data message, then it can be using preset discharge pattern as the data message pair The discharge pattern answered, for example, preset discharge pattern can be learning type.In this way, Analysis server can determine certain charging The corresponding discharge pattern of each data message in period.For each discharge pattern, Analysis server can count the class of traffic The corresponding data message of type, and then according to the data volume of the corresponding each data message of the discharge pattern, data volume and value are calculated, Obtain the corresponding data volume of the discharge pattern.Analysis server can also count the total amount of data in the accounting regime, then Respectively with the corresponding data volume of each discharge pattern divided by total amount of data, the corresponding ratio of each discharge pattern, Jin Ergen are obtained According to the corresponding ratio of each discharge pattern, the corresponding discharge pattern of the accounting regime is determined.
Optionally, according to the corresponding ratio of each discharge pattern, the processed of the corresponding discharge pattern of the accounting regime is determined Journey can be:In the corresponding ratio of each discharge pattern, the first ratio more than predetermined threshold value is determined, the first ratio is corresponding Discharge pattern is as the corresponding discharge pattern of the accounting regime;Alternatively, determine the maximum value in the corresponding ratio of each discharge pattern, Using the corresponding discharge pattern of maximum value as the corresponding discharge pattern of the accounting regime.
In force, based on above-mentioned discharge pattern analytical table, it may be determined that the corresponding discharge pattern of each accounting regime.Specifically , for any accounting regime, it can determine the first ratio more than predetermined threshold value in the corresponding ratio of each discharge pattern, Using the corresponding discharge pattern of the first ratio as the corresponding discharge pattern of the accounting regime, wherein, predetermined threshold value can be by technology Personnel are configured, for example could be provided as 50% or 60%, if in certain accounting regime, in the corresponding ratio of each discharge pattern There is no the first ratio more than predetermined threshold value, then can using preset discharge pattern as the discharge pattern of the accounting regime, Preset discharge pattern can be learning type.Alternatively, can also determine the maximum value in the corresponding ratio of each discharge pattern, it will The corresponding discharge pattern of maximum value is as the corresponding discharge pattern of the accounting regime.Wherein it is determined that the corresponding stream of each accounting regime The step of measuring type can be performed by Analysis server, correspondingly, Analysis server can also be by the corresponding stream of each accounting regime Amount type is sent to accounting server, alternatively, the step of determining each accounting regime corresponding discharge pattern can also be taken by charging Business device performs, correspondingly, Analysis server can be only to accounting server transmitted traffic type analysis table.
It should be noted that technical staff can set metering period, metering period can include multiple accounting regimes, example Such as, metering period can be 30 days.Electricity statistical server and Analysis server can be when reaching default metering period, by this Data in metering period are sent to accounting server, alternatively, accounting server can also when reaching metering period, respectively to Electricity statistical server and the request of Analysis server transmission data, to obtain corresponding data.
Step 203, it is corresponding according to the correspondence and each accounting regime of the discharge pattern of default storage and electricity price Discharge pattern determines the corresponding electricity price of each accounting regime.
In force, the correspondence of discharge pattern and electricity price can be prestored in accounting server, the correspondence It can be configured by technical staff, for example, discharge pattern is divided into types of entertainment, learning type and news type, wherein, amusement The corresponding electricity price of type is 1 yuan/degree, and the corresponding electricity price of learning type is 0.5 yuan/degree, and the corresponding electricity price of news type is 0.8 Member/degree.Accounting server can determine each meter respectively according to the corresponding discharge pattern of each accounting regime and the correspondence Time-consuming section of corresponding electricity price.
By taking discharge pattern includes types of entertainment and learning type as an example, the processing procedure of step 203 can be as follows:For every A accounting regime, will be preset if the corresponding discharge pattern of network flow data in the accounting regime is types of entertainment First electricity price is as the corresponding electricity price of the accounting regime;If the corresponding discharge pattern of network flow data in the accounting regime For learning type, then using preset second electricity price as the corresponding electricity price of the accounting regime, the first electricity price is higher than the second electricity price.
It in force, can be as follows by the correspondence setting of discharge pattern and electricity price:The first electricity price of types of entertainment correspondence, Learning type corresponds to the second electricity price and the first electricity price is higher than the second electricity price.In this way, by collecting difference to different internet behaviors The electricity charge, can the playtime of student be controlled with the learning behavior of guiding student.For each accounting regime, if the charging Corresponding discharge pattern is types of entertainment in period, then accounting server is using the first electricity price as the corresponding electricity of the accounting regime Valency;If the corresponding discharge pattern of the accounting regime is learning type, can be corresponded to the second electricity price as the accounting regime Electricity price.In this way, accounting server can generate the corresponding billing statement of target charging object, with the corresponding electricity price of types of entertainment It is that 1 yuan/degree, the corresponding electricity price of learning type are 0.5 yuan/for spending, billing statement can be as shown in Table 3:
Table three
Step 204, according to the electricity consumption and electricity price in each accounting regime, determine target charging object in each accounting regime Interior electric energy tariff information.
In force, for each accounting regime, accounting server can be according to above-mentioned billing statement, with the accounting regime Interior electricity consumption is multiplied by the corresponding electricity price of the accounting regime, obtains the corresponding electricity charge of the accounting regime, so as to obtain each charging The period corresponding electricity charge, electric energy tariff information can include the corresponding electricity charge of each accounting regime.In addition, accounting server can be with It sums to the corresponding electricity charge of each accounting regime, obtains total electricity bill of the target charging object in each accounting regime and (counting Take the total electricity bill in the period), correspondingly, electric energy tariff information can also include target charging object total electricity in metering period Take.Electric energy tariff information and above-mentioned billing statement can be sent to the equipment for collecting the electricity charge, such as electricity by accounting server Take terminal or intelligent electric meter of administrative staff etc., to collect the electricity charge to target charging object.
In the embodiment of the present invention, electricity consumption and target meter of the target charging object in each accounting regime can be obtained Take network flow data of the object in each accounting regime, pass through the net in preset flow analysis strategy and each accounting regime Network data on flows determines the corresponding discharge pattern of each accounting regime, according to pre-stored discharge pattern and the correspondence of electricity price Relationship and each corresponding discharge pattern of accounting regime, determine the corresponding electricity price of each accounting regime, during according to each charging Electricity consumption and electricity price in section, determine electric energy tariff information of the target charging object in each accounting regime.In this way, by net The analysis of network data on flows can identify different types of internet behavior, and difference is collected so as to fulfill to different internet behaviors The electricity charge, improve the flexibility of electric energy tariff.
Based on identical technical concept, the present invention applies example and additionally provides a kind of device of electric energy tariff, as shown in figure 3, should Device includes:
Acquisition module 310, by obtaining target charging object based on the electricity consumption and the target in each accounting regime Take network flow data of the object in each accounting regime;
First determining module 320, for passing through the network flow in preset flow analysis strategy and each accounting regime Data determine the corresponding discharge pattern of each accounting regime;
Second determining module 330, for the correspondence according to pre-stored discharge pattern and electricity price and described every The corresponding discharge pattern of a accounting regime, determines the corresponding electricity price of each accounting regime;
Charging module 340, for according to the electricity consumption and electricity price in each accounting regime, determining the target charging Electric energy tariff information of the object in each accounting regime.
Optionally, first determining module 320, is specifically used for:
For each accounting regime, the network flow data in each sub-period that the accounting regime includes is determined;
According to pre-stored traffic characteristics analysis algorithm, the flow of the network flow data in each sub-period is determined Type;
The sub-period that the number of the corresponding sub-period of each discharge pattern is included with the accounting regime is determined respectively The ratio of total number;
According to the corresponding ratio of each discharge pattern, the corresponding discharge pattern of the accounting regime is determined.
Optionally, first determining module 320, is specifically used for:
For each accounting regime, according to pre-stored traffic characteristics analysis algorithm, to the network in the accounting regime Each data message in data on flows is analyzed, and obtains the corresponding discharge pattern of each data message;
For each discharge pattern, determine the data volume and value of the corresponding each data message of the discharge pattern, be somebody's turn to do The corresponding data volume of discharge pattern, and determine the corresponding data volume of the discharge pattern and the network flow data in the accounting regime Total amount of data ratio;
According to the corresponding ratio of each discharge pattern, the corresponding discharge pattern of the accounting regime is determined.
Optionally, first determining module 320, is specifically used for:
In the corresponding ratio of each discharge pattern, determine the first ratio more than predetermined threshold value, described first is compared It is worth corresponding discharge pattern as the corresponding discharge pattern of the accounting regime;Alternatively,
Determine the maximum value in the corresponding ratio of each discharge pattern, using the corresponding discharge pattern of the maximum value as The corresponding discharge pattern of the accounting regime.
Optionally, the discharge pattern includes types of entertainment and learning type, and second determining module 330 is specific to use In:
For each accounting regime, if the corresponding discharge pattern of network flow data in the accounting regime is amusement class Type, then using preset first electricity price as the corresponding electricity price of the accounting regime;If the network flow data in the accounting regime Corresponding discharge pattern is learning type, then using preset second electricity price as the corresponding electricity price of the accounting regime, described first Electricity price is higher than second electricity price.
In the embodiment of the present invention, electricity consumption and target meter of the target charging object in each accounting regime can be obtained Take network flow data of the object in each accounting regime, pass through the net in preset flow analysis strategy and each accounting regime Network data on flows determines the corresponding discharge pattern of each accounting regime, according to pre-stored discharge pattern and the correspondence of electricity price Relationship and each corresponding discharge pattern of accounting regime, determine the corresponding electricity price of each accounting regime, during according to each charging Electricity consumption and electricity price in section, determine electric energy tariff information of the target charging object in each accounting regime.In this way, by net The analysis of network data on flows can identify different types of internet behavior, and difference is collected so as to fulfill to different internet behaviors The electricity charge, improve the flexibility of electric energy tariff.
The embodiment of the present invention additionally provides a kind of server, as shown in figure 4, including processor 401, communication interface 402, depositing Reservoir 403 and communication bus 404, wherein, processor 401, communication interface 402, memory 403 completed by communication bus 404 Mutual communication,
Memory 403, for storing computer program;
Processor 401, during for performing the program stored on memory 403, so that the node device performs following step Suddenly, which includes:
Electricity consumption and the target charging object of the target charging object in each accounting regime are obtained in each meter Network flow data in time-consuming section;
By the network flow data in preset flow analysis strategy and each accounting regime, each charging is determined Period corresponding discharge pattern;
According to pre-stored discharge pattern and the correspondence of electricity price and the corresponding flow of each accounting regime Type determines the corresponding electricity price of each accounting regime;
According to the electricity consumption and electricity price in each accounting regime, determine the target charging object in each charging Electric energy tariff information in period.
Optionally, the network flow data by preset flow analysis strategy and each accounting regime determines The corresponding discharge pattern of each accounting regime, including:
For each accounting regime, the network flow data in each sub-period that the accounting regime includes is determined;
According to pre-stored traffic characteristics analysis algorithm, the flow of the network flow data in each sub-period is determined Type;
The sub-period that the number of the corresponding sub-period of each discharge pattern is included with the accounting regime is determined respectively The ratio of total number;
According to the corresponding ratio of each discharge pattern, the corresponding discharge pattern of the accounting regime is determined.
Optionally, the network flow data by preset flow analysis strategy and each accounting regime determines The corresponding discharge pattern of each accounting regime, including:
For each accounting regime, according to pre-stored traffic characteristics analysis algorithm, to the network in the accounting regime Each data message in data on flows is analyzed, and obtains the corresponding discharge pattern of each data message;
For each discharge pattern, determine the data volume and value of the corresponding each data message of the discharge pattern, be somebody's turn to do The corresponding data volume of discharge pattern, and determine the corresponding data volume of the discharge pattern and the network flow data in the accounting regime Total amount of data ratio;
According to the corresponding ratio of each discharge pattern, the corresponding discharge pattern of the accounting regime is determined.
Optionally, it is described according to the corresponding ratio of each discharge pattern, determine the corresponding discharge pattern of the accounting regime, Including:
In the corresponding ratio of each discharge pattern, determine the first ratio more than predetermined threshold value, described first is compared It is worth corresponding discharge pattern as the corresponding discharge pattern of the accounting regime;Alternatively,
Determine the maximum value in the corresponding ratio of each discharge pattern, using the corresponding discharge pattern of the maximum value as The corresponding discharge pattern of the accounting regime.
Optionally, the discharge pattern includes types of entertainment and learning type, described according to pre-stored discharge pattern Discharge pattern corresponding with the correspondence of electricity price and each accounting regime determines that each accounting regime corresponds to Electricity price, including:
For each accounting regime, if the corresponding discharge pattern of network flow data in the accounting regime is amusement class Type, then using preset first electricity price as the corresponding electricity price of the accounting regime;If the network flow data in the accounting regime Corresponding discharge pattern is learning type, then using preset second electricity price as the corresponding electricity price of the accounting regime, described first Electricity price is higher than second electricity price.
Machine readable storage medium can include RAM (Random Access Memory, random access memory), also may be used To include NVM (Non-Volatile Memory, nonvolatile memory), for example, at least a magnetic disk storage.In addition, machine Device readable storage medium storing program for executing can also be at least one storage device for being located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including CPU (Central Processing Unit, central processing Device), NP (Network Processor, network processing unit) etc.;Can also be DSP (Digital Signal Processing, Digital signal processor), ASIC (Application Specific Integrated Circuit, application-specific integrated circuit), FPGA (Field-Programmable Gate Array, field programmable gate array) or other programmable logic device are divided Vertical door or transistor logic, discrete hardware components.
In the embodiment of the present invention, electricity consumption and target meter of the target charging object in each accounting regime can be obtained Take network flow data of the object in each accounting regime, pass through the net in preset flow analysis strategy and each accounting regime Network data on flows determines the corresponding discharge pattern of each accounting regime, according to pre-stored discharge pattern and the correspondence of electricity price Relationship and each corresponding discharge pattern of accounting regime, determine the corresponding electricity price of each accounting regime, during according to each charging Electricity consumption and electricity price in section, determine electric energy tariff information of the target charging object in each accounting regime.In this way, by net The analysis of network data on flows can identify different types of internet behavior, and difference is collected so as to fulfill to different internet behaviors The electricity charge, improve the flexibility of electric energy tariff.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any this practical relationship or sequence.Moreover, term " comprising ", "comprising" or its any other variant are intended to Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that Also there are other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment Point just to refer each other, and the highlights of each of the examples are difference from other examples.Especially for system reality For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method Part explanation.
The foregoing is merely the preferred embodiments of the application, are not intended to limit the protection domain of the application.It is all Any modification, equivalent replacement, improvement and so within spirit herein and principle are all contained in the protection domain of the application It is interior.

Claims (11)

  1. A kind of 1. method of electric energy tariff, which is characterized in that the method includes:
    Electricity consumption and the target charging object of the target charging object in each accounting regime are obtained in each charging Network flow data in section;
    By the network flow data in preset flow analysis strategy and each accounting regime, each accounting regime is determined Corresponding discharge pattern;
    According to pre-stored discharge pattern and the correspondence of electricity price and the corresponding class of traffic of each accounting regime Type determines the corresponding electricity price of each accounting regime;
    According to the electricity consumption and electricity price in each accounting regime, determine the target charging object in each accounting regime Interior electric energy tariff information.
  2. 2. according to the method described in claim 1, it is characterized in that, described pass through preset flow analysis strategy and each charging Network flow data in period determines the corresponding discharge pattern of each accounting regime, including:
    For each accounting regime, the network flow data in each sub-period that the accounting regime includes is determined;
    According to pre-stored traffic characteristics analysis algorithm, the class of traffic of the network flow data in each sub-period is determined Type;
    The sum of sub-period that the number of the corresponding sub-period of each discharge pattern is included with the accounting regime is determined respectively Purpose ratio;
    According to the corresponding ratio of each discharge pattern, the corresponding discharge pattern of the accounting regime is determined.
  3. 3. according to the method described in claim 1, it is characterized in that, described pass through preset flow analysis strategy and each charging Network flow data in period determines the corresponding discharge pattern of each accounting regime, including:
    For each accounting regime, according to pre-stored traffic characteristics analysis algorithm, to the network flow in the accounting regime Each data message in data is analyzed, and obtains the corresponding discharge pattern of each data message;
    For each discharge pattern, determine the data volume and value of the corresponding each data message of the discharge pattern, obtain the flow The corresponding data volume of type, and determine the total of the corresponding data volume of the discharge pattern and the network flow data in the accounting regime The ratio of data volume;
    According to the corresponding ratio of each discharge pattern, the corresponding discharge pattern of the accounting regime is determined.
  4. 4. according to the method in claim 2 or 3, which is characterized in that it is described according to the corresponding ratio of each discharge pattern, Determine the corresponding discharge pattern of the accounting regime, including:
    In the corresponding ratio of each discharge pattern, the first ratio more than predetermined threshold value is determined, by first ratio pair The discharge pattern answered is as the corresponding discharge pattern of the accounting regime;Alternatively,
    The maximum value in the corresponding ratio of each discharge pattern is determined, using the corresponding discharge pattern of the maximum value as the meter Time-consuming section of corresponding discharge pattern.
  5. 5. according to the method described in claim 1, it is characterized in that, the discharge pattern include types of entertainment and learning type, It is described according to pre-stored discharge pattern and the correspondence of electricity price and the corresponding class of traffic of each accounting regime Type determines the corresponding electricity price of each accounting regime, including:
    For each accounting regime, if the corresponding discharge pattern of network flow data in the accounting regime is types of entertainment, Then using preset first electricity price as the corresponding electricity price of the accounting regime;If the network flow data in the accounting regime corresponds to Discharge pattern for learning type, then using preset second electricity price as the corresponding electricity price of the accounting regime, first electricity price Higher than second electricity price.
  6. 6. a kind of device of electric energy tariff, which is characterized in that described device includes:
    Acquisition module, for obtaining electricity consumption and the target charging object of the target charging object in each accounting regime Network flow data in each accounting regime;
    First determining module, for by the network flow data in preset flow analysis strategy and each accounting regime, really Determine the corresponding discharge pattern of each accounting regime;
    Second determining module, for the correspondence according to pre-stored discharge pattern and electricity price and each charging Period corresponding discharge pattern determines the corresponding electricity price of each accounting regime;
    Charging module, for according to the electricity consumption and electricity price in each accounting regime, determining that the target charging object exists Electric energy tariff information in each accounting regime.
  7. 7. device according to claim 6, which is characterized in that first determining module is specifically used for:
    For each accounting regime, the network flow data in each sub-period that the accounting regime includes is determined;
    According to pre-stored traffic characteristics analysis algorithm, the class of traffic of the network flow data in each sub-period is determined Type;
    The sum of sub-period that the number of the corresponding sub-period of each discharge pattern is included with the accounting regime is determined respectively Purpose ratio;
    According to the corresponding ratio of each discharge pattern, the corresponding discharge pattern of the accounting regime is determined.
  8. 8. device according to claim 6, which is characterized in that first determining module is specifically used for:
    For each accounting regime, according to pre-stored traffic characteristics analysis algorithm, to the network flow in the accounting regime Each data message in data is analyzed, and obtains the corresponding discharge pattern of each data message;
    For each discharge pattern, determine the data volume and value of the corresponding each data message of the discharge pattern, obtain the flow The corresponding data volume of type, and determine the total of the corresponding data volume of the discharge pattern and the network flow data in the accounting regime The ratio of data volume;
    According to the corresponding ratio of each discharge pattern, the corresponding discharge pattern of the accounting regime is determined.
  9. 9. device according to claim 7 or 8, which is characterized in that first determining module is specifically used for:
    In the corresponding ratio of each discharge pattern, the first ratio more than predetermined threshold value is determined, by first ratio pair The discharge pattern answered is as the corresponding discharge pattern of the accounting regime;Alternatively,
    The maximum value in the corresponding ratio of each discharge pattern is determined, using the corresponding discharge pattern of the maximum value as the meter Time-consuming section of corresponding discharge pattern.
  10. 10. device according to claim 6, which is characterized in that the discharge pattern includes types of entertainment and learning type, Second determining module, is specifically used for:
    For each accounting regime, if the corresponding discharge pattern of network flow data in the accounting regime is types of entertainment, Then using preset first electricity price as the corresponding electricity price of the accounting regime;If the network flow data in the accounting regime corresponds to Discharge pattern for learning type, then using preset second electricity price as the corresponding electricity price of the accounting regime, first electricity price Higher than second electricity price.
  11. 11. a kind of server, which is characterized in that including processor and machine readable storage medium, the machine readable storage is situated between Matter is stored with the machine-executable instruction that can be performed by the processor, and the processor is promoted by the machine-executable instruction Make:Realize any method and steps of claim 1-5.
CN201711385723.8A 2017-12-20 2017-12-20 Method and device for charging electric quantity Active CN108171887B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711385723.8A CN108171887B (en) 2017-12-20 2017-12-20 Method and device for charging electric quantity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711385723.8A CN108171887B (en) 2017-12-20 2017-12-20 Method and device for charging electric quantity

Publications (2)

Publication Number Publication Date
CN108171887A true CN108171887A (en) 2018-06-15
CN108171887B CN108171887B (en) 2020-10-20

Family

ID=62523144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711385723.8A Active CN108171887B (en) 2017-12-20 2017-12-20 Method and device for charging electric quantity

Country Status (1)

Country Link
CN (1) CN108171887B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379197A (en) * 2018-12-14 2019-02-22 网宿科技股份有限公司 A kind of charging method and system of network acceleration service
CN116629951A (en) * 2023-07-25 2023-08-22 国网山东省电力公司滨州市滨城区供电公司 Dynamic acquisition meter code electricity charge calculation method and system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119211A (en) * 2007-09-18 2008-02-06 中兴通讯股份有限公司 Service implementing method of equal user tactics
CN101141267A (en) * 2007-10-17 2008-03-12 中兴通讯股份有限公司 Wireless communication system timing and accounting system and its implementing method
US20110029461A1 (en) * 2009-07-31 2011-02-03 Invensys Systems Inc. Dynamic Electrical Power Pricing Communication Architecture
CN103095945A (en) * 2011-11-03 2013-05-08 中国电信股份有限公司 Charging method and charging system based on bill classification and classification charging device
CN103236940A (en) * 2013-03-29 2013-08-07 北京星网锐捷网络技术有限公司 Method and device for content processing and network equipment
CN104156389A (en) * 2014-07-04 2014-11-19 重庆邮电大学 Deep packet detecting system and method based on Hadoop platform
CN105279856A (en) * 2015-10-16 2016-01-27 北京恒华伟业科技股份有限公司 Electricity billing method and system
US20160204606A1 (en) * 2014-07-04 2016-07-14 Stefan Matan Grid network gateway aggregation
CN106899604A (en) * 2017-03-14 2017-06-27 东软集团股份有限公司 The processing method and processing device of Packet Filtering rule
CN107046505A (en) * 2016-02-05 2017-08-15 华为技术有限公司 A kind of service control method and business control device

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119211A (en) * 2007-09-18 2008-02-06 中兴通讯股份有限公司 Service implementing method of equal user tactics
CN101141267A (en) * 2007-10-17 2008-03-12 中兴通讯股份有限公司 Wireless communication system timing and accounting system and its implementing method
US20110029461A1 (en) * 2009-07-31 2011-02-03 Invensys Systems Inc. Dynamic Electrical Power Pricing Communication Architecture
CN103095945A (en) * 2011-11-03 2013-05-08 中国电信股份有限公司 Charging method and charging system based on bill classification and classification charging device
CN103236940A (en) * 2013-03-29 2013-08-07 北京星网锐捷网络技术有限公司 Method and device for content processing and network equipment
CN104156389A (en) * 2014-07-04 2014-11-19 重庆邮电大学 Deep packet detecting system and method based on Hadoop platform
US20160204606A1 (en) * 2014-07-04 2016-07-14 Stefan Matan Grid network gateway aggregation
CN105279856A (en) * 2015-10-16 2016-01-27 北京恒华伟业科技股份有限公司 Electricity billing method and system
CN107046505A (en) * 2016-02-05 2017-08-15 华为技术有限公司 A kind of service control method and business control device
CN106899604A (en) * 2017-03-14 2017-06-27 东软集团股份有限公司 The processing method and processing device of Packet Filtering rule

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109379197A (en) * 2018-12-14 2019-02-22 网宿科技股份有限公司 A kind of charging method and system of network acceleration service
CN116629951A (en) * 2023-07-25 2023-08-22 国网山东省电力公司滨州市滨城区供电公司 Dynamic acquisition meter code electricity charge calculation method and system

Also Published As

Publication number Publication date
CN108171887B (en) 2020-10-20

Similar Documents

Publication Publication Date Title
CN104699710B (en) User structure judgment method and device and account state recording method and device
CN103647800B (en) Recommend the method and system of application resource
CN108550052A (en) Brush list detection method and system based on user behavior data feature
CN108416630A (en) A kind of determination method and device of target audience
CN105978753B (en) A kind of flux monitoring method and monitoring server
CN108460627A (en) Marketing activity scheme method for pushing, device, computer equipment and storage medium
CN102118711B (en) Information push method and information push device
CN108259638A (en) Personal group list intelligent sorting method, intelligent terminal and storage medium
CN107087017A (en) A kind of method and apparatus of business drainage
CN107529093A (en) A kind of detection method and system of video file playback volume
CN103605714A (en) Method and device for identifying abnormal data of websites
CN108171887A (en) A kind of method and device of electric energy tariff
CN106600303A (en) Method and device for assessment of advertisement putting rationality
CN108011740A (en) A kind of media flow data processing method and device
CN107918917A (en) Social analysis method and device, storage medium, electronic equipment
CN108876409A (en) Authentication method, system and relevant device are subsidized in a kind of colleges and universities' poverty
CN108182587A (en) A kind of electric business platform brush single act detection method and system
CN110392155A (en) It has been shown that, processing method, device and the equipment of notification message
CN107993056A (en) With reference to weekly wage and the emolument delivery system and method for monthly pay
CN108764825A (en) Job information matching process, device, computer equipment and storage medium
CN110020152A (en) Using recommended method and device
CN109146574A (en) Ad click cheating monitoring method and device
CN110348983B (en) Transaction information management method and device, electronic equipment and non-transitory storage medium
CN110866779A (en) Data processing method, device, equipment and storage medium based on different channel advertisement delivery
CN108347355A (en) A kind of detection method and its equipment of application state

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant