CN105471107B - A kind of timesharing task acquisition method of electric power over power network metering system - Google Patents
A kind of timesharing task acquisition method of electric power over power network metering system Download PDFInfo
- Publication number
- CN105471107B CN105471107B CN201510991029.5A CN201510991029A CN105471107B CN 105471107 B CN105471107 B CN 105471107B CN 201510991029 A CN201510991029 A CN 201510991029A CN 105471107 B CN105471107 B CN 105471107B
- Authority
- CN
- China
- Prior art keywords
- collection
- acquisition tasks
- acquisition
- subtask
- time
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 26
- 238000012163 sequencing technique Methods 0.000 claims abstract description 5
- 229910017435 S2 In Inorganic materials 0.000 claims 1
- 230000002159 abnormal effect Effects 0.000 abstract description 15
- 238000005516 engineering process Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000012423 maintenance Methods 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000004907 flux Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000005065 mining Methods 0.000 description 1
- 230000011218 segmentation Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Classifications
-
- H02J13/0017—
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02E—REDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
- Y02E60/00—Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y04—INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
- Y04S—SYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
- Y04S10/00—Systems supporting electrical power generation, transmission or distribution
- Y04S10/16—Electric power substations
Abstract
The invention discloses a kind of timesharing task acquisition method of electric power over power network metering system, comprise the following steps:S1, obtain the acquisition tasks that main website issues;S2, set interval value, and time interval value is less than the corresponding acquisition time of acquisition tasks;S3, according to time interval value split acquisition tasks, obtains the collection subtask in multiple continuous times sections;S4, come most preceding collection subtask according to the time sequencing execution time started, and whether the current collection subtask of judgement succeeds;S5, current collection subtask successfully complete, then judge whether acquisition tasks are completed.This method is by establishing timesharing task; acquisition strategies are distributed in different tasks; the completion of collection is controlled by the control of task; even if there is abnormal situations such as (network interruption, substation device is abnormal) also without human intervention; only after the abnormal restoring such as need, the collection of data is continued to complete.
Description
Technical field
The present invention relates to electric network data acquisition technique field, more particularly to a kind of timesharing of electric power over power network metering system to appoint
Business acquisition method.
Background technology
Electric power over power network metering system becomes after SCADA (Supervisory Control And Data
Acquisition, data acquisition and supervisor control), AGC (Automatic Generation Control, automatic generation
Control) power network schedule automation after function another basic function, and in electric energy moves towards the process in market as commodity
Play an important role, electric power over power network metering system mainly using modern communication technology, the information processing technology, storage and
Distribution technology, realizes that measuring point data to critical point, power plant, substation, distribution transforming transformer, large user etc. realizes that remote auto is adopted
Collection.At the same time interconnect with realizations such as load control system, dispatching management information system, Electric Power Marketing System, energy managements, establish with
Data center's platform based on electric energy data, by processing and mining data on data center's platform, realizes electric flux
Programming count, examining computation, the function such as the whole network line losses management and analysis, marketing decision-making.Electric power over power network metering system is general
It is divided into main website side and substation side, main website and substation generally carry out electric quantity data transmission by various communication protocols.
Since electric power over power network metering system is generally divided into main website side and substation side (the general physical bit in main website side and substation side
Put and be not together, it is necessary to pass through network transmission), and the acquisition target of substation side include many types for example electric energy meter, collector,
RTU (Remote Terminal Unit, remote-terminal unit) etc., further includes the data access of third party system.Main website and son
The communication modes stood include a variety of national standard stipulations, self-defined stipulations etc., since main website and substation communication are electric quantity data acquisition
When, it may appear that many abnormal conditions situations such as (network interruption, substation device is abnormal), cause that charge transport is abnormal, loses.So
With regard to bringing very big problem to data integrity.Main website sends data request data frame to substation side, son by certain acquisition strategies
Lateral root of standing replies data according to request of data frame type, sends and returns to frame.If occur in transmitting procedure abnormal, it is necessary to artificially go
It is abnormal, it is necessary to which human intervention, so brings very big work to maintenance staff to check that those substations, those time datas occur
Amount and difficulty.
The content of the invention
Based on technical problem existing for background technology, the present invention proposes a kind of timesharing of electric power over power network metering system and appoints
Business acquisition method.
A kind of timesharing task acquisition method of electric power over power network metering system proposed by the present invention, comprises the following steps:
S1, obtain the acquisition tasks that main website issues;
S2, set interval value, and time interval value is less than the corresponding acquisition time of acquisition tasks;
S3, according to time interval value split acquisition tasks, obtains the collection subtask in multiple continuous times sections;
S4, come most preceding collection subtask, and the current collection subtask of judgement according to the time sequencing execution time started
Whether succeed;
S5, current collection subtask successfully complete, then judge whether acquisition tasks are completed;
S51, acquisition tasks do not complete, then update job start time, are then back to step S4;
S52, acquisition tasks are completed, then the next acquisition tasks of poll start to perform;
S6, the failure of current collection subtask, then judge that current collection subtask performs whether number reaches default collection
Number upper limit value;
S61, current collection subtask perform number and have reached default times of collection upper limit value, then judge that current collection is appointed
Business failure, the next acquisition tasks of poll start to perform;
S62, current collection subtask perform the not up to default times of collection upper limit value of number, then return to step S4.
Preferably, in step S2, time interval value is configured according to the time duration of acquisition tasks.
Preferably, in step S2, the time duration of acquisition tasks is the integral multiple of time interval value.
Preferably, in step S6, times of collection upper limit value is inversely proportional with time interval value.
Preferably, it is specially:Set interval value, and sets times of collection upper limit value according to time interval value.
Preferably, times of collection upper limit value can on section [3,5] value.
Preferably, times of collection upper limit value is 3.
Preferably, step S52 is specially:Acquisition tasks are completed, then the next acquisition tasks of poll start to perform, and delete
Current acquisition tasks.
Preferably, step S61 is specially:Current collection subtask performs number and has reached the default times of collection upper limit
Value, then judge current acquisition tasks failure, the next acquisition tasks of poll start to perform, and current acquisition tasks are preserved
Wait poll next time.
Preferably, step S7 is further included:The execution sequence of each acquisition tasks is set, and execution sequence can be adjusted.
The timesharing task acquisition method of electric power over power network metering system provided by the invention, by the value that sets interval,
Acquisition tasks are divided into multiple collection subtasks, and collection subtask is performed one by one and detects performance, so as to fulfill
Automatic detection to acquisition tasks, is conducive to find the existing exception gone out in data transmission procedure in time, avoids data appearance
When abnormal, data at the time of can only artificially going to check abnormal substation and occur abnormal, reduce the work of maintenance staff
Measure and work difficulty.
In the present invention, investigated one by one by splitting to acquisition tasks, and to collection subtask, that is, ensure that and adopt
The levels of precision that set task is completed, turn avoid acquisition tasks it is excessive when the difficulty investigated, be conducive to improve acquisition tasks and complete
Accuracy and high efficiency.In the present invention, times of collection upper limit value is set according to time interval value, that is, ensure that the fault-tolerant of system
Ability, further through the circle collection number of limitation collection subtask, ensure that the completion efficiency of collection subtask, so as to improve
The completion efficiency of whole acquisition tasks.
Needed present method solves electric power over power network metering system when occurring abnormal during charge transport by artificial
Interfere to solve the problems, such as, acquisition strategies are distributed in different tasks by establishing timesharing task, pass through task by this method
Control control the completion of collection, even if there is abnormal situations such as (network interruption, substation device is abnormal) also without artificial
Intervene, only after the abnormal restoring such as need, continue to complete the collection of data.
Brief description of the drawings
Fig. 1 is a kind of timesharing task acquisition method flow chart of electric power over power network metering system proposed by the present invention.
Embodiment
Reference Fig. 1, a kind of timesharing task acquisition method of electric power over power network metering system proposed by the present invention, including it is following
Step.
S1, obtain the acquisition tasks that main website issues.
S2, set interval value, and time interval value is less than the corresponding acquisition time of acquisition tasks;And according to time interval
Value sets times of collection upper limit value, and times of collection upper limit value is inversely proportional with time interval value.
S3, according to time interval value split acquisition tasks, obtains the collection subtask in multiple continuous times sections.
In present embodiment, for the ease of the segmentation to acquisition tasks, in step S2, time interval value is according to acquisition tasks
Time duration be configured, for example, the time duration of acquisition tasks be time interval value integral multiple, so as to will
Acquisition tasks are divided into the equal collection subtask of multiple time durations, so that more reasonably to acquisition tasks into professional etiquette
It is whole.
For example, the corresponding acquisition time of acquisition tasks is 08:00 to 09:00, i.e. acquisition tasks time duration is small for 1
When.At this time, time interval value can be arranged to half an hour, then acquisition tasks can be divided into two collection subtasks, two are adopted
It is respectively 8 to collect the corresponding acquisition time in subtask:00 to 08:30、08:30 to 09:00.
S4, come most preceding collection subtask, and the current collection subtask of judgement according to the time sequencing execution time started
Whether succeed.Between being changed between at the beginning of first collection subtask for starting to perform at the beginning of acquisition tasks, such as more than
In embodiment, at the beginning of acquisition tasks between be 8:00, then it is first carried out 8:00 to 08:Collection subtask on 30 periods.
In this step, according to time sequencing, perform a collection subtask successively, advantageously ensure that be connected between collection subtask from
So, ensure that acquisition tasks smoothly complete.
S5, current collection subtask successfully complete, then judge whether acquisition tasks are completed.In present embodiment, judge to adopt
Whether set task is completed, and can complete number according to collection subtask and be judged.For example, with reference to above example, acquisition tasks
According to time interval value and be divided into two collection subtasks, then, can be current complete by judging when completing collection subtask
Into the number of collection subtask judge whether acquisition tasks are completed, if only completing a collection subtask, illustrate to gather
Task does not complete;If having completed two collection subtasks, illustrate, acquisition tasks have been completed.When it is implemented, may be used also
Judge whether acquisition tasks are completed by gathering the subtask corresponding time started, such as in above example, last is adopted
It is 08 to collect the subtask corresponding time started:30, then, it is current gather at the beginning of subtask between earlier than 08:30, illustrate to also have surplus
Remaining unfinished collection subtask, i.e. acquisition tasks do not complete;If it is 08 between at the beginning of currently gathering subtask:30, say
Bright collection subtask has been fully completed, i.e., acquisition tasks are completed.
S51, acquisition tasks do not complete, then update job start time, are then back to step S4.With reference to above example,
When 08:00 to 08:Collection subtask on 30 is completed, then by the way that job start time is revised as 08:30, then it can perform
08:30 to 09:Collection subtask on 00 period.
S52, acquisition tasks are completed, then the next acquisition tasks of poll start to perform, and delete current acquisition tasks.
S6, the failure of current collection subtask, then judge that current collection subtask performs whether number reaches default collection
Number upper limit value.The set-up mode of times of collection upper limit value is illustrated in step S2.Specifically, the times of collection upper limit
Value can on section [3,5] value, in above example, when time interval value be half an hour, it is 3 to set times of collection upper limit value
It is secondary.
S61, current collection subtask perform number and have reached default times of collection upper limit value, then judge that current collection is appointed
Business failure, the next acquisition tasks of poll start to perform, and current acquisition tasks preserve and wait poll next time.This step
Rapid setting so that gathering the collection subtask of failure can't go on always, avoid endless loop, appoint relative to collection
Directly terminate acquisition tasks after business failure, further through the setting of times of collection upper limit value, for collection subtask provide
Multiple chance so that system has certain fault-tolerant ability, and cushion space is provided for the automatic error-correcting adjustment of system.
S62, current collection subtask perform the not up to default times of collection upper limit value of number, then return to step S4.
In present embodiment, times of collection upper limit value is set according to time interval value, that is, ensure that system survivability,
Further through the circle collection number of limitation collection subtask, the completion efficiency of collection subtask ensure that, so as to improve whole
The completion efficiency of acquisition tasks.
S7, the execution sequence that each acquisition tasks are set, and execution sequence can be adjusted.Specifically, can manually adjust
The execution sequence of each acquisition tasks, so as to improve the flexibility of collection.
The foregoing is only a preferred embodiment of the present invention, but protection scope of the present invention be not limited thereto,
Any one skilled in the art the invention discloses technical scope in, technique according to the invention scheme and its
Inventive concept is subject to equivalent substitution or change, should be covered by the protection scope of the present invention.
Claims (9)
1. the timesharing task acquisition method of a kind of electric power over power network metering system, it is characterised in that comprise the following steps:
S1, obtain the acquisition tasks that main website issues;
S2, set interval value, and time interval value is less than the corresponding acquisition time of acquisition tasks;And time interval value is according to adopting
The time duration of set task is configured;
S3, according to time interval value split acquisition tasks, obtains the collection subtask in multiple continuous times sections;
S4, perform according to time sequencing the time started and come most preceding collection subtask, and whether judges current collection subtask
Success;
S5, current collection subtask successfully complete, then judge whether acquisition tasks are completed;
S51, acquisition tasks do not complete, then update job start time, are then back to step S4;
S52, acquisition tasks are completed, then the next acquisition tasks of poll start to perform;
S6, the failure of current collection subtask, then judge that current collection subtask performs whether number reaches default times of collection
Upper limit value;
S61, current collection subtask perform number and have reached default times of collection upper limit value, then judge that current acquisition tasks are lost
Lose, the next acquisition tasks of poll start to perform;
S62, current collection subtask perform the not up to default times of collection upper limit value of number, then return to step S4.
2. the timesharing task acquisition method of electric power over power network metering system as claimed in claim 1, it is characterised in that step S2
In, the time duration of acquisition tasks is the integral multiple of time interval value.
3. the timesharing task acquisition method of electric power over power network metering system as claimed in claim 1, it is characterised in that step S6
In, times of collection upper limit value is inversely proportional with time interval value.
4. the timesharing task acquisition method of electric power over power network metering system as claimed in claim 3, it is characterised in that specific
For:Set interval value, and sets times of collection upper limit value according to time interval value.
5. the timesharing task acquisition method of electric power over power network metering system as claimed in claim 4, it is characterised in that collection time
Number upper limit values can on section [3,5] value.
6. the timesharing task acquisition method of electric power over power network metering system as claimed in claim 1, it is characterised in that collection time
Number upper limit value is 3.
7. the timesharing task acquisition method of electric power over power network metering system as claimed in claim 1, it is characterised in that step
S52 is specially:Acquisition tasks are completed, then the next acquisition tasks of poll start to perform, and delete current acquisition tasks.
8. the timesharing task acquisition method of electric power over power network metering system as claimed in claim 1, it is characterised in that step
S61 is specially:Current collection subtask performs number and has reached default times of collection upper limit value, then judges current acquisition tasks
Failure, the next acquisition tasks of poll start to perform, and current acquisition tasks preserve and wait poll next time.
9. the timesharing task acquisition method of electric power over power network metering system as claimed in claim 1, it is characterised in that further include
Step S7:The execution sequence of each acquisition tasks is set, and execution sequence can be adjusted.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510991029.5A CN105471107B (en) | 2015-12-24 | 2015-12-24 | A kind of timesharing task acquisition method of electric power over power network metering system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510991029.5A CN105471107B (en) | 2015-12-24 | 2015-12-24 | A kind of timesharing task acquisition method of electric power over power network metering system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105471107A CN105471107A (en) | 2016-04-06 |
CN105471107B true CN105471107B (en) | 2018-04-17 |
Family
ID=55608543
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510991029.5A Active CN105471107B (en) | 2015-12-24 | 2015-12-24 | A kind of timesharing task acquisition method of electric power over power network metering system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105471107B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2022500722A (en) * | 2018-06-29 | 2022-01-04 | センサーボット ピーティーイー. エルティーディー. | Task management method and its system |
CN109217474B (en) * | 2018-10-17 | 2021-11-05 | 安徽立卓智能电网科技有限公司 | New energy grid-connected data time-sharing acquisition method based on wireless channel transmission |
CN111221324B (en) * | 2020-01-09 | 2022-03-25 | 深圳市东深电子股份有限公司 | Multi-interface data acquisition method for water conservancy RTU |
CN112131280B (en) * | 2020-09-29 | 2023-10-27 | 杭州东方通信软件技术有限公司 | Data acquisition method based on time scheduling |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123134A (en) * | 2014-07-07 | 2014-10-29 | 四川中电启明星信息技术有限公司 | Intelligent electricity use data management method and system based on AMI and J2EE |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10110003B2 (en) * | 2009-11-24 | 2018-10-23 | James R. Stalker | Energy optimization system |
-
2015
- 2015-12-24 CN CN201510991029.5A patent/CN105471107B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104123134A (en) * | 2014-07-07 | 2014-10-29 | 四川中电启明星信息技术有限公司 | Intelligent electricity use data management method and system based on AMI and J2EE |
Also Published As
Publication number | Publication date |
---|---|
CN105471107A (en) | 2016-04-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105471107B (en) | A kind of timesharing task acquisition method of electric power over power network metering system | |
CN109446041B (en) | Server pressure early warning method and system and terminal equipment | |
CN112332404B (en) | Intelligent management system and method for heating service | |
CN107612045A (en) | A kind of Power Plant generated energy intelligent dispensing system and method | |
CN108099641A (en) | The energy control method and device of charging station | |
CN111563764A (en) | Electricity price calculation method and device, shared electricity utilization system and storage medium | |
CN113872228A (en) | Electric vehicle scheduling method and device applied to power grid peak shaving frequency modulation | |
CN106570585B (en) | A kind of method for scheduling task and energy management apparatus towards self-power supply system | |
CN109713679B (en) | Power grid emergency load method based on demand response participation degree | |
CN110197299A (en) | A kind of intelligent management system | |
CN102571481B (en) | Method and system for analyzing monitoring state of client | |
CN108738117A (en) | A kind of optimization method and terminal of application program consumption electricity | |
CN210640693U (en) | Digital controller device for micro-grid | |
CN114492975A (en) | Edge side intelligent decision making system of power distribution internet of things | |
CN209357108U (en) | A kind of industrial park comprehensive energy interaction systems | |
CN113570241A (en) | Power transmission line inspection robot task optimal allocation method and device | |
CN106817280A (en) | The control end clocking method and system of a kind of internet of things equipment | |
US20180324625A1 (en) | Wi-fi adoption index | |
CN111145015A (en) | Reservation-free withdrawal amount determining method and device | |
CN212780990U (en) | Meter reading system for full electric quantity data | |
CN109217380A (en) | A kind of abandonment is rationed the power supply method and device | |
CN109117262A (en) | A kind of baseband processing chip CPU dynamic frequency method and wireless terminal | |
CN109649212A (en) | The charging method and charging unit of the vehicles | |
CN109389523A (en) | A kind of management method and system of smart grid | |
CN107704948A (en) | A kind of data processing method based on demand response resource |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |