Nothing Special   »   [go: up one dir, main page]

CN109375146A - A kind of filling mining method, system and the terminal device of electricity consumption data - Google Patents

A kind of filling mining method, system and the terminal device of electricity consumption data Download PDF

Info

Publication number
CN109375146A
CN109375146A CN201811129943.9A CN201811129943A CN109375146A CN 109375146 A CN109375146 A CN 109375146A CN 201811129943 A CN201811129943 A CN 201811129943A CN 109375146 A CN109375146 A CN 109375146A
Authority
CN
China
Prior art keywords
electric energy
energy meter
value
electricity consumption
consumption data
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
CN201811129943.9A
Other languages
Chinese (zh)
Other versions
CN109375146B (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.)
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd
State Grid Hebei Energy Technology Service Co Ltd
Marketing Service Center of State Grid Hebei Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd
State Grid Hebei Energy Technology Service 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, Electric Power Research Institute of State Grid Hebei Electric Power Co Ltd, State Grid Hebei Energy Technology Service Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN201811129943.9A priority Critical patent/CN109375146B/en
Publication of CN109375146A publication Critical patent/CN109375146A/en
Application granted granted Critical
Publication of CN109375146B publication Critical patent/CN109375146B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R35/00Testing or calibrating of apparatus covered by the other groups of this subclass
    • G01R35/04Testing or calibrating of apparatus covered by the other groups of this subclass of instruments for measuring time integral of power or current

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present invention is suitable for computer application technology, provide a kind of filling mining method of electricity consumption data, system and terminal device, the described method includes: obtaining filling mining information table, filling mining information table includes several electric energy meter information, according to electric energy meter information, determine the test Connection Time of each electric energy meter, and obtain the number of the electric energy meter of test connection failure, obtain the load threshold value of terminal device, according to current time, load threshold value, the number of electric energy meter and the test Connection Time of each electric energy meter of testing connection failure calculate the weighted value of each electric energy meter, obtain the current loads value of terminal device, if current loads value is less than or equal to load threshold value, the then sequence descending according to weighted value, electricity consumption data acquisition instructions are successively sent to corresponding electric energy meter, improve the accuracy and success rate of data acquisition.

Description

A kind of filling mining method, system and the terminal device of electricity consumption data
Technical field
The invention belongs to filling mining method, system and the ends of computer application technology more particularly to a kind of electricity consumption data End equipment.
Background technique
With the propulsion of national smart grid, the manual meter reading mode of gradually abandoning tradition is adopted in the acquisition of electricity consumption data Meter reading method is controlled with remote terminal, and meter reading data is transmitted to electricity by modes such as GPRS, CDMA, 230M, optical fiber and is adopted Collecting system is analyzed and is applied.Due to some (for example, network environment is unstable), coulomb collection system can not succeed remote Journey collects the electricity consumption data of electric energy meter record, needs to carry out filling mining, that is, needs to be acquired the use of electric energy meter record again Electric data.
In the prior art, when carrying out filling mining to electric energy meter, the filling mining of finite number of time is only carried out to the electric energy meter, for example, 3 filling minings are only carried out, if also no longer carrying out filling mining, but automatic filling is false still without the electricity consumption data for collecting the electric energy meter Number, the accuracy of data acquisition and success rate are lower, therefore, exist in such a way that finite number of time carries out filling mining electricity consumption data The lower problem of the accuracy and success rate that data acquire.
Summary of the invention
In view of this, the embodiment of the invention provides filling mining method, system and the terminal device of a kind of electricity consumption data, with solution Certainly in the prior art finite number of time carry out filling mining electricity consumption data by way of there are data acquisition accuracy and success rate compared with Low problem
The first aspect of the embodiment of the present invention provides a kind of filling mining method of electricity consumption data, is applied to terminal device, packet It includes:
Filling mining information table is obtained, the filling mining information table includes several electric energy meter information.
According to the electric energy meter information, the test Connection Time of each electric energy meter is determined, and obtain test connection failure The number of electric energy meter.
Obtain the load threshold value of the terminal device.
According to current time, the load threshold value, the number of the electric energy meter for testing connection failure and each electric energy meter The test Connection Time calculate the weighted value of each electric energy meter.
Obtain the current loads value of the terminal device.
If the current loads value is less than or equal to the load threshold value, according to descending suitable of the weighted value Sequence successively sends electricity consumption data acquisition instructions to corresponding electric energy meter.
The second aspect of the embodiment of the present invention provides a kind of filling mining system of electricity consumption data, is applied to terminal device, packet It includes:
Filling mining data obtaining module, for obtaining filling mining information table, the filling mining information table is believed comprising several electric energy meters Breath.
Data obtaining module is tested, for determining the test Connection Time of each electric energy meter according to the electric energy meter information, And obtain the number of the electric energy meter of test connection failure.
Load threshold value obtains module, for obtaining the load threshold value of the terminal device.
Weight value calculation module, for according to current time, the load threshold value, the electric energy meter for testing connection failure Number and test Connection Time of each electric energy meter calculate the weighted value of each electric energy meter.
Current loads obtain module, for obtaining the current loads value of the terminal device.
Acquisition instructions sending module, if being less than or equal to the load threshold value for the current loads value, according to The descending sequence of the weighted value successively sends electricity consumption data acquisition instructions to corresponding electric energy meter.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program The step of realizing the filling mining method of electricity consumption data as described above.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the computer program realizes the filling mining of electricity consumption data as described above when being executed by processor The step of method.
Existing beneficial effect is the embodiment of the present invention compared with prior art: the embodiment of the present invention is obtained comprising electric energy meter The filling mining information table of information, and according to filling mining information table determine the corresponding electric energy meter of each electric energy meter information test connect when Between and determine test connection failure electric energy meter number, according to test the Connection Time and test connection failure electric energy meter Number and other information calculate the weighted value of each electric energy meter, by the current loads value of terminal device and load threshold value into Row compares, and when current loads value is less than or equal to load threshold value, then according to the sequence of the weighted value of electric energy meter, electricity consumption is adopted Collection instruction is sent to electric energy meter, carries out filling mining, is only the time difference that electric energy meter carries out filling mining, finally can all collect electric energy meter True electricity consumption data, there is no the limitations of filling mining number, there are no that need to fill mantissa automatically, improve the accuracy of data acquisition And success rate.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation process schematic diagram of the filling mining method of electricity consumption data provided by one embodiment of the present invention;
Fig. 2 is the specific implementation flow schematic diagram of step S102 in Fig. 1 provided by one embodiment of the present invention;
Fig. 3 is the structural schematic diagram of the filling mining system of electricity consumption data provided by one embodiment of the present invention;
Fig. 4 is the concrete structure schematic diagram of the test data obtaining module in Fig. 3 provided by one embodiment of the present invention;
Fig. 5 is the schematic diagram of terminal device provided by one embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Embodiment 1:
Fig. 1 shows the implementation process of the filling mining method of the electricity consumption data of one embodiment of the present of invention offer, this implementation The process executing subject of example is terminal device, and details are as follows for process:
In step s101, filling mining information table is taken, filling mining information table includes several electric energy meter information.
In one embodiment, before step S101, comprising:
1) electric energy meter information corresponding electric energy meter of the electricity consumption data acquisition instructions into terminal control queue is successively sent.
If 2) receive the electricity consumption data of electric energy meter feedback, the electricity consumption data of electric energy meter feedback is saved.
If 3) do not receive the electricity consumption data of electric energy meter feedback, the corresponding electric energy of electric energy meter that will not feed back electricity consumption data Table information is added to filling mining information table.
In the present embodiment, the electric energy meter information in terminal control queue is the corresponding electricity of electric energy meter of terminal device control It can table information.
In the present embodiment, the number for obtaining terminal device obtains whole electric energy meter information, if in electric energy meter information Terminal number is consistent with the number of the terminal device, then the electric energy meter information is added in terminal control queue.
In the present embodiment, terminal device daily requirement obtains the electricity consumption data for the electric energy meter record that it is controlled, terminal Equipment daily requirement sends the electric energy meter that electricity consumption data acquisition instructions are controlled to the terminal unit remote, electricity consumption data acquisition instructions It is used to indicate electric energy meter and the electricity consumption data of record is fed back into terminal device.If terminal device receives the electricity consumption of electric energy meter feedback Data then need to only record the electricity consumption data of the electric energy meter, if the electricity consumption data of electric energy meter feedback is not received, by the electric energy meter For corresponding electric energy meter information preservation to filling mining information table, the electric energy meter information that filling mining information table saves is in terminal device first time After sending electricity consumption data acquisition instructions, the information of the electric energy meter of feedback electricity consumption data is not carried out.
In the present embodiment, electric energy meter information further includes electric energy meter address and electric energy meter table number.
In the present embodiment, it is based on electric energy meter mailing address, terminal device can be established with electric energy meter and be communicated.Electric energy meter is Intelligent electric energy meter.For example, communication mode is gsm communication, then electric energy meter address is the card number of SIM card.
In the present embodiment, electric energy meter table number is for distinguishing electric energy meter.
In step s 102, it according to electric energy meter information, determines the test Connection Time of each electric energy meter, and obtains test and connect Connect the number of the electric energy meter of failure.
In the present embodiment, it obtains the test Connection Time of each electric energy meter and obtains whole test connection failures The number of electric energy meter.
In step s 103, the load threshold value of terminal device is obtained.
In one embodiment of the invention, step S103 includes:
1) corresponding peak load value every day in the continuous preset number of days before acquisition current time.
2) basisCalculated load threshold value, wherein V is load threshold value, and S is preset ratio, LiFor I-th day corresponding peak load value, t is preset number of days.
In the present embodiment, peak load value is CPU (central processing unit, the Central Processing of terminal device Unit) the maximum value of utilization rate.
By taking a concrete application scene as an example, preset number of days be 3 days, obtain current time before in 3 days daily most Big load value then obtains April 9, April 8 and corresponding terminal device on April 7 for example, current time is April 10 respectively CPU usage maximum value.
In step S104, according to current time, load threshold value, test connection failure electric energy meter number and each electricity The test Connection Time of energy table calculates the weighted value of each electric energy meter.
In one embodiment of the invention, according to W=(1-V) * [M- (T-T1)*M*N1/ n] calculate electric energy meter weight Value, wherein W is the weighted value of electric energy meter, and V is load threshold value, and M is the second default value, N1For third default value, T is to work as Preceding moment, T1For the test Connection Time of electric energy meter, n is the number for testing the electric energy meter of connection failure.
In the present embodiment, the second default value can be 10, and third default value is 60.
In the present embodiment, current time is obtained, and current time is subtracted to the test Connection Time of electric energy meter.When current It carves and the representation of test Connection Time is Hour Minute Second, for example, 1 dividing 1 second when 140101,14.
In the present embodiment, terminal device is sending default test information, and records the test connection of each electric energy meter After time, the weighted value of the corresponding electric energy meter of each electric energy meter information in filling mining information table is calculated.
In step s105, the current loads value of terminal device is obtained.
In the present embodiment, the current loads value of terminal device is the CPU usage at terminal device current time.
In step s 106, descending according to weighted value if current loads value is less than or equal to load threshold value Sequentially, electricity consumption data acquisition instructions are successively sent to corresponding electric energy meter.
In the present embodiment, if current loads value is less than or equal to load threshold value, indicate that the current CPU of terminal device is used Rate is lower, and the current speed of service of terminal device is very fast and can preferably be responded, therefore, descending according to weighted value Sequence, successively send electricity consumption data acquisition instructions to corresponding electric energy meter, that is, first send electricity consumption data acquisition instructions to weight It is worth big electric energy meter, then retransmits the electricity consumption data acquisition instructions electric energy meter small to weighted value.
In one embodiment, if current loads value be greater than load threshold value, indicate the current CPU usage of terminal device compared with Height, cpu load is excessive, leads to aggravate cpu load in order to avoid there is increase new task, makes the speed of service of terminal device more Add slowly, or even the case where crashing and new task is caused to execute failure occur, at this point, terminal device is not led to electric energy meter Letter, terminal device need to only reacquire current time, be updated to the weighted value of electric energy meter.
In the present embodiment, by the way that the current CPU usage of terminal device to be compared with load threshold value, if currently CPU usage is less than load threshold value, then can carry out filling mining, avoids the occurrence of and causes filling mining task since terminal device load is larger The case where executing failure improves the success rate of data acquisition.
In one embodiment of the invention, after step s 106, comprising:
If receiving the electricity consumption data of electric energy meter feedback, the electric energy meter of feedback electricity consumption data is deleted from filling mining information table Corresponding electric energy meter information.
In the present embodiment, if receiving the electricity consumption data of electric energy feedback, without retransmiting electricity consumption data acquisition instructions To the electric energy meter for having fed back electricity consumption data, therefore, the electric energy meter information that filling mining information table saves is deleted.
In one embodiment of the invention, after step s 106, further includes:
If 1) do not receive the electricity consumption data of electric energy meter feedback, the electric energy meter of electricity consumption data will not be fed back as target electricity Energy table, the corresponding feedback data frequency of failure of more fresh target electric energy meter;
2) connected according to current time, load threshold value, the number of electric energy meter for testing connection failure, the test of target electric energy meter The feedback data frequency of failure for connecing time and target electric energy meter recalculates the weighted value of target electric energy meter.
In one embodiment, the corresponding feedback data frequency of failure of more fresh target electric energy meter is in feedback data failure time Cumulative 1 on number.
In the present embodiment, in the filling mining stage, if terminal device has sent electricity consumption data acquisition instructions to target electric energy Table, but presetting the electricity consumption data for not receiving target electric energy meter feedback in acquisition time, it is determined that feedback data failure, target The feedback data frequency of failure of electric energy meter adds 1.
In the present embodiment, the feedback data frequency of failure for obtaining current time, target electric energy meter, recalculates electric energy meter Weighted value, and sequence again descending according to weighted value retransmits electricity consumption data acquisition instructions to corresponding electric energy Table.
In one embodiment of the invention, according to W1=(1-V) * [M- (T-T1)*M*N1/n]*(1-S/N2) count again The weighted value for calculating target electric energy meter, obtains the new weighted value of target electric energy meter, wherein W1For the new weight of target electric energy meter Value, V are load threshold value, and M is the second default value, and T is current time, T1For the test Connection Time of target electric energy meter, N1It is Three default values, n are the number for testing the electric energy meter of connection failure, and S is the feedback data frequency of failure of target electric energy meter, N2For 4th default value.
In the present embodiment, the second default value, third default value and the 4th default value are all that related personnel is preparatory The value of preservation, for example, the second default value is 10, third default value is 60, and the 4th default value is 3.
In the present embodiment, the filling mining information table comprising electric energy meter information is obtained, and is determined often according to filling mining information table The test Connection Time of the corresponding electric energy meter of a electric energy meter information and determine test connection failure electric energy meter number, root The weight of each electric energy meter is calculated according to the number and other information of test Connection Time and the electric energy meter for testing connection failure Value, the current loads value of terminal device is compared with load threshold value, when current loads value is less than or equal to load threshold value When, then according to the sequence of the weighted value of electric energy meter, electricity consumption acquisition instructions are sent to electric energy meter, filling mining is carried out, is only electric energy meter The time for carrying out filling mining is different, finally can all collect the true electricity consumption data of electric energy meter, there is no the limitations of filling mining number, more Without filling mantissa automatically, the accuracy and success rate of data acquisition are improved.
The specific implementation flow of the step S102 in Fig. 1 provided Fig. 2 shows one embodiment of the present of invention, process Details are as follows:
In step s 201, an electric energy meter information is chosen from filling mining information table, and default test information is sent to The electric energy meter of selection.
In the present embodiment, in the filling mining stage, terminal device needs before sending electricity consumption data acquisition instructions to electric energy meter Test connection is first carried out, that is, sends test information to electric energy meter, sees whether electric energy meter can be successful anti-in default receiving time The first information is presented, to judge whether the signal of electric energy meter local environment is good, if can be successfully established with terminal device Communication, realizes the detection of communication channel.
In one embodiment, since a region may be that there are multiple electric energy meters, if the region is at a time Signal it is not so good, then the region whole electric energy meters possibly can not be properly received terminal device transmission default test information or Person can not successfully feed back the first information to terminal device, cause to test connection failure, therefore, according to arbitrary width, believe from filling mining It ceases and chooses electric energy meter information in table, i.e., be spaced between the electric energy meter information currently chosen and the last electric energy meter information chosen The number of electric energy meter information is random, rather than fixed, for example, the electric energy meter information chosen for the first time is filling mining information table In the 5th electric energy meter information, the second electric energy meter information chosen is the 7th electric energy meter information in filling mining information table, that is, step-length is 2, the electric energy meter information that third time is chosen is the 10th electric energy meter information in filling mining information table, i.e. step-length is 3 again.
In step S202, if receive selection electric energy meter feedback the first information, by receive the first information when Between test Connection Time as corresponding electric energy meter.
In the present embodiment, if receiving the first information of the electric energy meter feedback of selection, table in default receiving time Show the electric energy meter test successful connection of terminal device and selection, the channel open between terminal device and the electric energy meter, record connects Receive the time of the first information of the electric energy meter feedback of selection, and the test Connection Time of the electric energy meter as selection.
In step S203, if not receiving the first information of the electric energy meter feedback of selection, the first default value is made For the test Connection Time of electric energy meter.
In the present embodiment, if not receiving the first information of electric energy meter feedback, terminal device in default receiving time Channel signal between the electric energy meter is poor, in order to avoid due to sending test information always to the electric energy meter chosen and waiting The waste that resource is caused to the electric energy meter feedback first information, when directly connecting the first default value as the test of electric energy meter Between, the first default value is 0.
In step S204, statistics does not feed back the number of the electric energy meter of the first information, obtains the electric energy of test connection failure The number of table.
In the present embodiment, the number for not feeding back the electric energy meter of the first information all is obtained, and as test connection failure Electric energy meter number.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Embodiment 2:
Fig. 3 shows the filling mining system 100 of the electricity consumption data of one embodiment of the present of invention offer, for executing Fig. 1 institute Method and step in corresponding embodiment is applied to terminal device comprising:
Filling mining data obtaining module 110, for obtaining filling mining information table, filling mining information table is believed comprising several electric energy meters Breath.
Data obtaining module 120 is tested, for determining the test Connection Time of each electric energy meter according to electric energy meter information, And obtain the number of the electric energy meter of test connection failure.
Load threshold value obtains module 130, for obtaining the load threshold value of terminal device.
Weight value calculation module 140, for according to current time, load threshold value, test connection failure electric energy meter number The test Connection Time of mesh and each electric energy meter calculates the weighted value of each electric energy meter.
Current loads obtain module 150, for obtaining the current loads value of terminal device.
Acquisition instructions sending module 160, if being less than or equal to load threshold value for current loads value, according to weighted value Descending sequence successively sends electricity consumption data acquisition instructions to corresponding electric energy meter.
In one embodiment of the invention, load threshold value acquisition module 130 includes:
Peak load value acquiring unit, it is corresponding for every day in the continuous preset number of days before obtaining current time Peak load value;
Load threshold value computing unit is used for basisCalculated load threshold value, wherein V is load threshold Value, S is preset ratio, LiFor i-th day corresponding peak load value, t was preset number of days.
In one embodiment of the invention, weight value calculation module 140 is used for:
According to W=(1-V) * [M- (T-T1)*M*N1/ n] calculate electric energy meter weighted value, wherein W be electric energy meter weight Value, V are load threshold value, and M is the second default value, and T is current time, T1For the test Connection Time of electric energy meter, N1It is pre- for third If numerical value, n is the number for testing the electric energy meter of connection failure.
In one embodiment of the invention, acquisition instructions sending module 160 further include:
First processing units are deleted anti-if the electricity consumption data for receiving electric energy meter feedback from filling mining information table Present the corresponding electric energy meter information of electric energy meter of electricity consumption data.
In one embodiment of the invention, acquisition instructions sending module 160 further include:
The second processing unit, if the electricity consumption data for not receiving electric energy meter feedback, will not feed back electricity consumption data Electric energy meter is as target electric energy meter, the corresponding feedback data frequency of failure of more fresh target electric energy meter.
Weight recalculates unit, for according to current time, load threshold value, test connection failure electric energy meter number The feedback data frequency of failure of mesh, the test Connection Time of target electric energy meter and target electric energy meter recalculates target electric energy meter Weighted value.
In one embodiment of the invention, weight recalculates unit and is used for:
According to W1=(1-V) * [M- (T-T1)*M*N1/n]*(1-S/N2) weighted value that recalculates target electric energy meter, it obtains To the new weighted value of target electric energy meter.
Wherein, W1For the new weighted value of target electric energy meter, V is load threshold value, and M is the second default value, when T is current It carves, T1For the test Connection Time of target electric energy meter, N1For third default value, n is the number for testing the electric energy meter of connection failure Mesh, S are the feedback data frequency of failure of target electric energy meter, N2For the 4th default value.
As shown in figure 4, in one embodiment of the invention, data obtaining module 120 is tested, it is right for executing Fig. 3 institute The method and step in embodiment answered comprising:
Electric energy meter selection unit 121 is believed for choosing an electric energy meter information from filling mining information table, and by default test Breath is sent to the electric energy meter of selection.
First Connection Time determination unit 122, if the first information that the electric energy meter for receiving selection is fed back, will connect Receive test Connection Time of the time of the first information as corresponding electric energy meter.
Second Connection Time determination unit 123 will if the first information that the electric energy meter for not receiving selection is fed back Test Connection Time of first default value as electric energy meter.
Failure number decision unit 124 obtains test connection for counting the number for not feeding back the electric energy meter of the first information The number of the electric energy meter of failure.
In one embodiment, the filling mining system 100 of electricity consumption data further includes other function module/unit, for realizing Method and step in embodiment 1 in each embodiment.
Embodiment 3:
Fig. 5 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in figure 5, the terminal of the embodiment is set Standby 5 include: processor 50, memory 51 and are stored in the meter that can be run in the memory 51 and on the processor 50 Calculation machine program 52.The processor 50 realizes each embodiment as described in example 1 above when executing the computer program 52 Step, such as step S101 shown in FIG. 1 to step S106.Alternatively, when the processor 50 executes the computer program 52 Realize the function of each module/unit in each system embodiment as described in example 2 above, for example, module 110 shown in Fig. 3 to 160 function.
Illustratively, the computer program 52 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 51, and are executed by the processor 50, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 52 in the terminal device 5 is described.For example, the computer program 52 can be divided It is cut into target demand data obtaining module, target demand information segmentation module, set of words fuzzy matching module and the first processing Module.Each module concrete function is as follows:
Filling mining data obtaining module, for obtaining filling mining information table, filling mining information table includes several electric energy meter information.
Data obtaining module is tested, for determining the test Connection Time of each electric energy meter, and obtain according to electric energy meter information Take the number of the electric energy meter of test connection failure.
Load threshold value obtains module, for obtaining the load threshold value of terminal device.
Weight value calculation module, for according to current time, load threshold value, test connection failure electric energy meter number and The test Connection Time of each electric energy meter calculates the weighted value of each electric energy meter.
Current loads obtain module, for obtaining the current loads value of terminal device.
Acquisition instructions sending module, if for current loads value be less than or equal to load threshold value, according to weighted value by Small sequence is arrived greatly, successively sends electricity consumption data acquisition instructions to corresponding electric energy meter.
The terminal device 5 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The terminal device 5 may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that figure 5 be only the example of terminal device 5, does not constitute the restriction to terminal device 5, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 51 can be the internal storage unit of the terminal device 5, such as the hard disk or interior of terminal device 5 It deposits.The memory 51 is also possible to the External memory equipment of the terminal device 5, such as be equipped on the terminal device 5 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 51 can also both include the storage inside list of the terminal device 5 Member also includes External memory equipment.The memory 51 is for storing needed for the computer program and the terminal device Other programs and data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
Embodiment 4:
The embodiment of the invention also provides a kind of computer readable storage medium, computer-readable recording medium storage has meter Calculation machine program is realized the step in each embodiment as described in example 1 above, such as is schemed when computer program is executed by processor Step S101 shown in 1 to step S106.Alternatively, realizing when the computer program is executed by processor such as institute in embodiment 2 The function of each module/unit in each system embodiment stated, such as the function of module 110 to 160 shown in Fig. 3.
The computer program can be stored in a computer readable storage medium, and the computer program is by processor When execution, it can be achieved that the step of above-mentioned each embodiment of the method.Wherein, the computer program includes computer program code, The computer program code can be source code form, object identification code form, executable file or certain intermediate forms etc..Institute State computer-readable medium may include: can carry the computer program code any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disk, CD, computer storage, read-only memory (ROM, Read-Only Memory), arbitrary access Memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, embodiment 1 to 4 can in any combination, group The new embodiment formed after conjunction is also within the scope of protection of this application.There is no the portion for being described in detail or recording in some embodiment Point, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed terminal device and method can pass through it Its mode is realized.For example, system described above/terminal device embodiment is only schematical, for example, the module Or the division of unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple lists Member or component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, Shown or discussed mutual coupling or direct-coupling or communication connection can be through some interfaces, device or unit INDIRECT COUPLING or communication connection, can be electrical property, mechanical or other forms.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all It is included within protection scope of the present invention.

Claims (10)

1. a kind of filling mining method of electricity consumption data, which is characterized in that be applied to terminal device, comprising:
Filling mining information table is obtained, the filling mining information table includes several electric energy meter information;
According to the electric energy meter information, the test Connection Time of each electric energy meter is determined, and obtain the electric energy of test connection failure The number of table;
Obtain the load threshold value of the terminal device;
According to current time, the survey of the load threshold value, the number of the electric energy meter for testing connection failure and each electric energy meter The examination Connection Time calculates the weighted value of each electric energy meter;
Obtain the current loads value of the terminal device;
If the current loads value is less than or equal to the load threshold value, according to the sequence that the weighted value is descending, Electricity consumption data acquisition instructions are successively sent to corresponding electric energy meter.
2. the filling mining method of electricity consumption data as described in claim 1, which is characterized in that it is described according to the electric energy meter information, It determines the test Connection Time of each electric energy meter and tests the number of the electric energy meter of connection failure, comprising:
An electric energy meter information is chosen from the filling mining information table, and default test information is sent to the electric energy meter of selection;
If receiving the first information of the electric energy meter feedback of the selection, the time of the first information will be received as the correspondence Electric energy meter the test Connection Time;
If the first information of the electric energy meter feedback of the selection is not received, using the first default value as the electric energy meter Test the Connection Time;
Statistics does not feed back the number of the electric energy meter of the first information, obtains the number of the electric energy meter of the test connection failure.
3. the filling mining method of electricity consumption data as described in claim 1, which is characterized in that described to obtain the negative of the terminal device Lotus threshold value, comprising:
Corresponding peak load value every day in continuous preset number of days before acquisition current time;
According toCalculate the load threshold value, wherein the V is the load threshold value, and the S is default Ratio, the LiFor i-th day corresponding peak load value, the t was the preset number of days.
4. the filling mining method of electricity consumption data as described in claim 1, which is characterized in that it is described according to current time, it is described negative Lotus threshold value, the number of electric energy meter of the test connection failure and the test Connection Time of each electric energy meter calculate each electric energy meter Weighted value, comprising:
According to W=(1-V) * [M- (T-T1)*M*N1/ n], calculate the weighted value of the electric energy meter, wherein the W is the electric energy The weighted value of table, the V are the load threshold value, and the M is the second default value, and the T is current time, the T1For institute State the test Connection Time of electric energy meter, the N1For third default value, the n is the electric energy meter of the test connection failure Number.
5. the filling mining method of electricity consumption data as described in claim 1, which is characterized in that adopted in the electricity consumption data that successively sends After collection instruction to corresponding electric energy meter, comprising:
If receiving the electricity consumption data of the electric energy meter feedback, the electricity of feedback electricity consumption data is deleted from the filling mining information table It can the corresponding electric energy meter information of table.
6. the filling mining method of electricity consumption data as described in claim 1, which is characterized in that adopted in the electricity consumption data that successively sends After collection instruction to corresponding electric energy meter, further includes:
If not receiving the electricity consumption data of the electric energy meter feedback, the electric energy meter of electricity consumption data will not be fed back as target electric energy Table updates the corresponding feedback data frequency of failure of the target electric energy meter;
According to current time, the test of the number, target electric energy meter of the load threshold value, the electric energy meter for testing connection failure The feedback data frequency of failure of Connection Time and target electric energy meter recalculates the weighted value of target electric energy meter.
7. the filling mining method of electricity consumption data as described in claim 1, which is characterized in that it is described according to current time, it is described negative Lotus threshold value, the number of electric energy meter of the test connection failure, the test Connection Time of target electric energy meter and target electric energy meter The feedback data frequency of failure recalculates the weighted value of target electric energy meter, comprising:
According to W1=(1-V) * [M- (T-T1)*M*N1/n]*(1-S/N2) weighted value that recalculates target electric energy meter, obtain target The new weighted value of electric energy meter;
Wherein, the W1For the new weighted value of the target electric energy meter, the V is the load threshold value, and the M is second pre- If numerical value, the T is current time, the T1For the test Connection Time of the target electric energy meter, the N1For third present count Value, the n are the number of the electric energy meter of the test connection failure, and the S is that the feedback data of the target electric energy meter fails Number, the N2For the 4th default value.
8. a kind of filling mining system of electricity consumption data, which is characterized in that be applied to terminal device, comprising:
Filling mining data obtaining module, for obtaining filling mining information table, the filling mining information table includes several electric energy meter information;
Data obtaining module is tested, for determining the test Connection Time of each electric energy meter, and obtain according to the electric energy meter information Take the number of the electric energy meter of test connection failure;
Load threshold value obtains module, for obtaining the load threshold value of the terminal device;
Weight value calculation module, for according to current time, the load threshold value, it is described test connection failure electric energy meter number The test Connection Time of mesh and each electric energy meter calculates the weighted value of each electric energy meter;
Current loads obtain module, for obtaining the current loads value of the terminal device;
Acquisition instructions sending module, if being less than or equal to the load threshold value for the current loads value, according to described The descending sequence of weighted value successively sends electricity consumption data acquisition instructions to corresponding electric energy meter.
9. a kind of terminal device, including memory, processor and storage are in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program The step of filling mining method of described in any item electricity consumption datas.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the computer program realizes the filling mining side of electricity consumption data as described in any one of claim 1 to 7 when being executed by processor The step of method.
CN201811129943.9A 2018-09-27 2018-09-27 Supplementary collection method and system for electricity consumption data and terminal equipment Active CN109375146B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811129943.9A CN109375146B (en) 2018-09-27 2018-09-27 Supplementary collection method and system for electricity consumption data and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811129943.9A CN109375146B (en) 2018-09-27 2018-09-27 Supplementary collection method and system for electricity consumption data and terminal equipment

Publications (2)

Publication Number Publication Date
CN109375146A true CN109375146A (en) 2019-02-22
CN109375146B CN109375146B (en) 2021-03-16

Family

ID=65402215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811129943.9A Active CN109375146B (en) 2018-09-27 2018-09-27 Supplementary collection method and system for electricity consumption data and terminal equipment

Country Status (1)

Country Link
CN (1) CN109375146B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110648525A (en) * 2019-09-25 2020-01-03 宁波三星医疗电气股份有限公司 Data complementary reading method and device and power acquisition terminal
CN111209271A (en) * 2019-12-25 2020-05-29 深圳供电局有限公司 Electric power data complementary acquisition method and device, computer equipment and storage medium
CN114252692A (en) * 2021-12-23 2022-03-29 国网辽宁省电力有限公司沈阳供电公司 Data complementary acquisition and storage method and system for electric energy acquisition system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673457A (en) * 2009-08-14 2010-03-17 深圳市科陆电子科技股份有限公司 Method and system of data acquisition from data acquisition terminal
CN105046347A (en) * 2015-06-26 2015-11-11 中国石油化工股份有限公司胜利油田分公司 Optimizing method for oil-and-gas field condition data acquisition
CN105206010A (en) * 2014-05-29 2015-12-30 国家电网公司 Method and device for controlling communication of wireless centralized meter reading network
WO2016069942A1 (en) * 2014-10-29 2016-05-06 Solarcity Corporation Power management message bus system
CN105957321A (en) * 2016-05-20 2016-09-21 国网信通亿力科技有限责任公司 Power utilization information acquisition method based on object-oriented system architecture
CN106448110A (en) * 2016-10-26 2017-02-22 南方电网科学研究院有限责任公司 Metering automation data acquisition system and method based on Beidou satellite
CN106530672A (en) * 2016-12-29 2017-03-22 四川创能海博科技有限公司 Electricity consumption information acquisition query system, acquisition method and query method
CN106534354A (en) * 2016-12-09 2017-03-22 国网北京市电力公司 Electric meter data recording method and apparatus
CN206162859U (en) * 2016-10-26 2017-05-10 南方电网科学研究院有限责任公司 Automatic measurement data acquisition system based on Beidou satellite
CN107331140A (en) * 2017-07-17 2017-11-07 宁波三星医疗电气股份有限公司 A kind of automatic network-building formula cooperation meter register method
CN207233185U (en) * 2017-07-17 2018-04-13 宁波三星医疗电气股份有限公司 A kind of collaborative kilowatt meter reading-out system
CN107945048A (en) * 2017-11-15 2018-04-20 广东电网有限责任公司电力科学研究院 A kind of data additional collecting system based on metering automation system
WO2018074625A1 (en) * 2016-10-19 2018-04-26 옴니시스템주식회사 Wireless telemetry system capable of real-time monitoring

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101673457A (en) * 2009-08-14 2010-03-17 深圳市科陆电子科技股份有限公司 Method and system of data acquisition from data acquisition terminal
CN105206010A (en) * 2014-05-29 2015-12-30 国家电网公司 Method and device for controlling communication of wireless centralized meter reading network
WO2016069942A1 (en) * 2014-10-29 2016-05-06 Solarcity Corporation Power management message bus system
CN105046347A (en) * 2015-06-26 2015-11-11 中国石油化工股份有限公司胜利油田分公司 Optimizing method for oil-and-gas field condition data acquisition
CN105957321A (en) * 2016-05-20 2016-09-21 国网信通亿力科技有限责任公司 Power utilization information acquisition method based on object-oriented system architecture
WO2018074625A1 (en) * 2016-10-19 2018-04-26 옴니시스템주식회사 Wireless telemetry system capable of real-time monitoring
CN106448110A (en) * 2016-10-26 2017-02-22 南方电网科学研究院有限责任公司 Metering automation data acquisition system and method based on Beidou satellite
CN206162859U (en) * 2016-10-26 2017-05-10 南方电网科学研究院有限责任公司 Automatic measurement data acquisition system based on Beidou satellite
CN106534354A (en) * 2016-12-09 2017-03-22 国网北京市电力公司 Electric meter data recording method and apparatus
CN106530672A (en) * 2016-12-29 2017-03-22 四川创能海博科技有限公司 Electricity consumption information acquisition query system, acquisition method and query method
CN207233185U (en) * 2017-07-17 2018-04-13 宁波三星医疗电气股份有限公司 A kind of collaborative kilowatt meter reading-out system
CN107331140A (en) * 2017-07-17 2017-11-07 宁波三星医疗电气股份有限公司 A kind of automatic network-building formula cooperation meter register method
CN107945048A (en) * 2017-11-15 2018-04-20 广东电网有限责任公司电力科学研究院 A kind of data additional collecting system based on metering automation system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110648525A (en) * 2019-09-25 2020-01-03 宁波三星医疗电气股份有限公司 Data complementary reading method and device and power acquisition terminal
CN110648525B (en) * 2019-09-25 2020-07-28 宁波三星医疗电气股份有限公司 Data complementary reading method and device and power acquisition terminal
CN111209271A (en) * 2019-12-25 2020-05-29 深圳供电局有限公司 Electric power data complementary acquisition method and device, computer equipment and storage medium
CN114252692A (en) * 2021-12-23 2022-03-29 国网辽宁省电力有限公司沈阳供电公司 Data complementary acquisition and storage method and system for electric energy acquisition system
CN114252692B (en) * 2021-12-23 2024-02-20 国网辽宁省电力有限公司沈阳供电公司 Data complement acquisition and storage method and system for electric energy acquisition system

Also Published As

Publication number Publication date
CN109375146B (en) 2021-03-16

Similar Documents

Publication Publication Date Title
CN109375146A (en) A kind of filling mining method, system and the terminal device of electricity consumption data
CN107992367A (en) A kind of Modbus serial datas processing method
CN109739919A (en) A kind of front end processor and acquisition system for electric system
CN110471944A (en) Indicator-specific statistics method, system, equipment and storage medium
CN110414778A (en) Case work dispatching method and device
CN107844922A (en) residential electricity consumption scheduling system based on cloud computing platform
CN106597901A (en) Distributed integral energy consumption management and analysis method and system based on cloud service
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN113672500A (en) Deep learning algorithm testing method and device, electronic device and storage medium
CN114780244A (en) Container cloud resource elastic allocation method and device, computer equipment and medium
CN108234227A (en) Time-delay measuring method, device and the apparatus for network node of apparatus for network node
CN109213658A (en) A kind of method for inspecting and device
CN106130929B (en) The service message automatic processing method and system of internet insurance field based on graph-theoretical algorithm
Lavenberg et al. Introduction to regenerative simulation
CN114415691A (en) Robot scheduling method, scheduling platform and system
CN103077080A (en) Method and device for acquiring parallel program performance data based on high performance platform
CN109687592A (en) Substation information display control method, device and electronic equipment
CN109450044A (en) Charging pile electric energy management method and system
CN115907391A (en) Scheduling method and system for electric energy meter verification task
CN113626217B (en) Asynchronous message processing method, device, electronic equipment and storage medium
CN109490660A (en) Electric power facility field data monitoring method and equipment, electric operating Transmission system
CN113269478A (en) Concentrator abnormal data reminding method and system based on multiple models
CN113570241A (en) Power transmission line inspection robot task optimal allocation method and device
CN104869171A (en) Information processing method and smart home equipment
CN115001147B (en) Photovoltaic power generation data acquisition method and system and cloud platform

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210927

Address after: 050021 No. 238 South Sports street, Hebei, Shijiazhuang

Patentee after: STATE GRID HEBEI ELECTRIC POWER Research Institute

Patentee after: Marketing service center of State Grid Hebei Electric Power Co.,Ltd.

Patentee after: STATE GRID CORPORATION OF CHINA

Patentee after: STATE GRID HEBEI ENERGY TECHNOLOGY SERVICE Co.,Ltd.

Address before: 050011 no.238, TIYU South Street, Yuhua District, Shijiazhuang City, Hebei Province

Patentee before: STATE GRID HEBEI ELECTRIC POWER Research Institute

Patentee before: STATE GRID CORPORATION OF CHINA

Patentee before: STATE GRID HEBEI ENERGY TECHNOLOGY SERVICE Co.,Ltd.