CN110009147A - A kind of meteorological data collection strategy adaptive regulation method and device - Google Patents

A kind of meteorological data collection strategy adaptive regulation method and device Download PDF

Info

Publication number
CN110009147A
CN110009147A CN201910255904.1A CN201910255904A CN110009147A CN 110009147 A CN110009147 A CN 110009147A CN 201910255904 A CN201910255904 A CN 201910255904A CN 110009147 A CN110009147 A CN 110009147A
Authority
CN
China
Prior art keywords
acquisition
day
meteorological data
strategies
initial
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
CN201910255904.1A
Other languages
Chinese (zh)
Other versions
CN110009147B (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.)
China Three Gorges University CTGU
Original Assignee
China Three Gorges University CTGU
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 China Three Gorges University CTGU filed Critical China Three Gorges University CTGU
Priority to CN201910255904.1A priority Critical patent/CN110009147B/en
Publication of CN110009147A publication Critical patent/CN110009147A/en
Application granted granted Critical
Publication of CN110009147B publication Critical patent/CN110009147B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/12Computing arrangements based on biological models using genetic models
    • G06N3/126Evolutionary algorithms, e.g. genetic algorithms or genetic programming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/04Forecasting or optimisation specially adapted for administrative or management purposes, e.g. linear programming or "cutting stock problem"
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • G06Q10/06312Adjustment or analysis of established resource schedule, e.g. resource or task levelling, or dynamic rescheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Physics & Mathematics (AREA)
  • Economics (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Biophysics (AREA)
  • General Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Evolutionary Biology (AREA)
  • Game Theory and Decision Science (AREA)
  • Development Economics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Genetics & Genomics (AREA)
  • Data Mining & Analysis (AREA)
  • Primary Health Care (AREA)
  • Water Supply & Treatment (AREA)
  • Physiology (AREA)
  • Public Health (AREA)
  • Artificial Intelligence (AREA)
  • Biomedical Technology (AREA)
  • Computational Linguistics (AREA)
  • Educational Administration (AREA)
  • Evolutionary Computation (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the present invention provides a kind of meteorological data collection strategy adaptive regulation method and device, for any current acquisition day, by the way that initial acquisition number is arranged, and multiple acquisition strategies are generated according to initial acquisition number at random, self-adapted genetic algorithm is recycled to be iterated adjustment to all acquisition strategies, and the acquisition strategies for meeting fitness requirement are filtered out in all acquisition strategies after the adjustment as target acquisition strategies, so that currently acquisition day uses target acquisition strategies to carry out meteorological data collection, daily meteorological data can effectively be restored, it is advantageously ensured that the accuracy of meteorological data monitoring result;Daily meteorological data collection number can also be reduced to a great extent simultaneously, to advantageously reduce the power consumption of weather station system, can effectively ensure that weather station system is run steadily in the long term.

Description

A kind of meteorological data collection strategy adaptive regulation method and device
Technical field
The present embodiments relate to weather monitoring technical fields, certainly more particularly, to a kind of meteorological data collection strategy Adapt to adjusting method and device.
Background technique
Weather station be it is a kind of can carry out ground meteorological data observation, storage, transmission automatically, and will can observe number as needed According to the surface weather observation equipment for being converted into meteorologic telegraph or meteorological report form.Weather station be generally operational in spacious, remote, power grid without The region that method is directly powered, most of weather station use solar energy mode for system electric power storage and power supply.However, continuous rainy days Gas, which will lead to solar panel, to be the electric power storage of battery abundance, to influence the normal operation of weather station system.
Currently, for the normal operation for ensuring weather station system, the main battery by selection large capacity and the system of reduction Power consumption two ways realized, but as the promotion of accumulator capacity, cost and volume can also increase accordingly, and weather bureau Capacity and specification to battery are also distinctly claimed.Therefore, for the battery of certain capacity, it is whole to reduce weather station system Power consumption is of crucial importance for the normal operation for ensuring weather station system.
However, weather station system generally uses the acquisition of high frequency acquisition strategies progress meteorological data at present.For example, daily every It is spaced the acquisition for carrying out a meteorological data in ten minutes, then daily corresponding times of collection is (24*60)/10=144 times.It is this Although high frequency acquisition strategies can effectively ensure the accuracy of daily weather monitoring result, high degree increases weather station The power consumption of system causes to be difficult to ensure that weather station system is run steadily in the long term.
In view of this, not influencing gas it is urgent to provide a kind of meteorological data collection strategy adaptive regulation method and device On the basis of image data monitoring result accuracy, daily meteorological data collection number is reduced to a great extent, to play drop The purpose of low weather station system power consumption.
Summary of the invention
The embodiment of the present invention in order to overcome in the prior art weather station system using high frequency acquisition strategies carry out meteorological data Acquisition, high degree increase the power consumption of weather station system, cause to be difficult to ensure the problem of weather station system is run steadily in the long term, A kind of meteorological data collection strategy adaptive regulation method and device are provided.
In a first aspect, the embodiment of the present invention provides a kind of meteorological data collection strategy adaptive regulation method, comprising:
For any current acquisition day, judge whether the current acquisition day is correction day, if the current acquisition day is Non- correction day, then multiple acquisition strategies are generated according to initial acquisition number at random, using each acquisition strategies of generation as first Initial acquisition strategy;
Adjustment is iterated to all first initial acquisition strategies using self-adapted genetic algorithm, and in each iteration adjustment Afterwards, all first initial acquisition strategies adjusted are calculated according to the meteorological data of the acquisition in first three day of the current acquisition day Fitness, and filter out maximum adaptation degree;
If current iteration number is in default the number of iterations, and the maximum adaptation degree is not less than fitness threshold value, then obtains The corresponding acquisition strategies of the maximum adaptation degree are taken, as target acquisition strategies, the target acquisition strategies are determined as described The meteorological data collection strategy of current acquisition day;
It wherein, include multiple acquisition times in each first initial acquisition strategy, and in each first initial acquisition strategy The total quantity for the acquisition time for including is identical as the initial acquisition number.
Second aspect, the embodiment of the present invention provide a kind of meteorological data collection strategy self-adaptive regulating, comprising:
Acquisition strategies generation module, for judging whether the current acquisition day is correction for any current acquisition day Day, if the current acquisition day is non-correction day, multiple acquisition strategies are generated according to initial acquisition number at random, by generation Each acquisition strategies are as the first initial acquisition strategy;
Acquisition strategies adjust module, for being iterated using self-adapted genetic algorithm to all first initial acquisition strategies Adjustment, and after each iteration adjustment, it is calculated according to the meteorological data of the acquisition in first three day of the current acquisition day adjusted The fitness of all first initial acquisition strategies, and filter out maximum adaptation degree;
Acquisition strategies determining module, if for current iteration number in default the number of iterations, and the maximum adaptation degree Not less than fitness threshold value, then the corresponding acquisition strategies of the maximum adaptation degree are obtained, as target acquisition strategies, by the mesh Mark acquisition strategies are determined as the meteorological data collection strategy of the current acquisition day;
It wherein, include multiple acquisition times in each first initial acquisition strategy, and in each first initial acquisition strategy The total quantity for the acquisition time for including is identical as the initial acquisition number.
The third aspect, the embodiment of the present invention provides a kind of electronic equipment, including memory, processor and is stored in memory Computer program that is upper and can running on a processor, is realized when the processor executes described program as first aspect provides Method the step of.
Fourth aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, are stored thereon with calculating Machine program is realized as provided by first aspect when the computer program is executed by processor the step of method.
Meteorological data collection strategy adaptive regulation method and device provided in an embodiment of the present invention, for arbitrarily currently adopting Market day generates multiple acquisition strategies by the way that initial acquisition number is arranged, and according to initial acquisition number at random, recycles adaptive Genetic algorithm is iterated adjustment to all acquisition strategies, and filters out in all acquisition strategies after the adjustment and meet fitness It is required that acquisition strategies as target acquisition strategies so that currently acquisition day using target acquisition strategies carry out meteorological data adopt Collection carries out meteorological data collection using target acquisition strategies since target acquisition strategies can satisfy the requirement of fitness Daily meteorological data can be effectively restored, it is advantageously ensured that the accuracy of meteorological data monitoring result;Target is used simultaneously The times of collection that acquisition strategies carry out meteorological data collection, which is far smaller than, uses high frequency acquisition strategies to carry out meteorological data collection Daily meteorological data collection number has been reduced to a great extent in times of collection, to advantageously reduce the function of weather station system Consumption, can effectively ensure that weather station system is run steadily in the long term.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of meteorological data collection strategy adaptive regulation method provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram of meteorological data collection strategy self-adaptive regulating provided in an embodiment of the present invention;
Fig. 3 is the entity structure schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
It should be noted that needing to carry out the acquisition of meteorological data daily, to meteorological number for weather station system According to being monitored.Wherein, meteorological data includes temperature, humidity etc..Currently, in order to ensure the accuracy of weather monitoring result, gas The acquisition of meteorological data is carried out using high frequency acquisition strategies as station.For example, being carried out daily at interval of ten minutes primary meteorological The acquisition of data, then daily corresponding times of collection is (24*60)/10=144 times.Although this high frequency acquisition strategies can have Effect ensures the accuracy of daily weather monitoring result, but high degree increases the power consumption of weather station system, causes to be difficult to really Weather station system is protected to run steadily in the long term.In view of this, to provide a kind of meteorological data collection strategy adaptive for the embodiment of the present invention Adjusting method and device are answered, on the basis of not influencing meteorological data monitoring result accuracy, passes through the meteorology of acquisition in first three day Data adaptive adjusts the meteorological data collection strategy on the same day, weather station system power consumption is effectively reduced and ensures weather station to reach The purpose that system is run steadily in the long term.Specific implementation process refers to following embodiment.
Fig. 1 is the flow diagram of meteorological data collection strategy adaptive regulation method provided in an embodiment of the present invention, such as Shown in Fig. 1, the embodiment of the present invention provides a kind of meteorological data collection strategy adaptive regulation method, comprising:
S1 judges whether current acquisition day is correction day, if the current acquisition day is non-for any current acquisition day It rectifies a deviation day, then multiple acquisition strategies is generated according to initial acquisition number at random, using each acquisition strategies of generation as at the beginning of first Beginning acquisition strategies;
Specifically, weather station system need to be acquired daily meteorological data, in the embodiment of the present invention, by meteorological data The same day of acquisition is as current acquisition day.For any one current acquisition day, first determine whether currently to acquire whether day is correction Day, wherein correction day is pre-set, for example, can be set at interval of certain number of days one correction day, it can also will be each The fixation of the moon is set as correction day some day, can be configured, be not specifically limited according to actual needs herein.If judging Current acquisition day is not correction day, i.e., currently acquisition day is non-correction day, then generates multiple adopt at random according to initial acquisition number Collection strategy, using each acquisition strategies of generation as the first initial acquisition strategy.
It should be noted that in the embodiment of the present invention, initial acquisition number be it is pre-set, due in the prior art The daily times of collection of high frequency acquisition strategies may be up to 144 times, in order to reduce the power consumption of weather station system, in the embodiment of the present invention Initial acquisition number be generally much smaller than 144 times, for example, initial acquisition number can be set to 20 times, may be set to be 30 It is secondary, it can be configured, be not specifically limited herein according to actual needs.
In addition, it should be noted that, when including multiple acquisitions in the embodiment of the present invention, in each first initial acquisition strategy Between, and the total quantity for the acquisition time for including in each first initial acquisition strategy is identical as initial acquisition number.Wherein, it acquires Time refers to some time point between 00:00-24:00.For example, if initial acquisition number is 20 times, according to just Beginning times of collection each of is generated in the first initial acquisition strategy at random comprising 20 acquisition times.At this point, according to some One initial acquisition strategy carries out meteorological data collection, then showing need to be according to 20 acquisition time in the first initial acquisition strategy Carry out meteorological data collection, that is, show that 20 meteorological data collections need to be carried out.
S2 is iterated adjustment to all first initial acquisition strategies using self-adapted genetic algorithm, and in each iteration After adjustment, all first initial acquisition strategies adjusted are calculated according to the meteorological data of the acquisition in first three day of current acquisition day Fitness, and filter out maximum adaptation degree;
It specifically, based on the above technical solution, can be initial using each first for currently acquiring day Acquisition strategies carry out meteorological data collection.It is understood that according to some the first collected gas of initial acquisition strategy institute The matched curve of image data to using high frequency acquisition strategies the matched curve of collected meteorological data it is more similar, then show to adopt The error for carrying out meteorological data collection with the first initial acquisition strategy is smaller, and the first initial acquisition strategy is also more excellent.By It is to be generated at random according to initial acquisition number, therefore each first initial acquisition strategy is simultaneously in each first initial acquisition strategy Non- is optimal.
In view of this, being carried out using self-adapted genetic algorithm to all first initial acquisition strategies in the embodiment of the present invention Iteration adjustment, to be optimized to all first initial acquisition strategies.After each iteration adjustment, before current acquisition day The meteorological data of acquisition on the three calculates the fitness of all first initial acquisition strategies adjusted.Wherein, currently acquisition day it The meteorological data of acquisition in first three day includes the meteorological data of the proxima luce (prox. luc) acquisition of current acquisition day, the meteorological data of acquisition in first two days With the meteorological data of acquisition in first three day.For example, if currently acquiring day is on March 13rd, 2019, before current acquisition day The meteorological data of acquisition on the three includes the meteorological data of the meteorological data of acquisition on March 10th, 2019, acquisition on March 11st, 2019 With the meteorological data of acquisition on March 12nd, 2019.Wherein, the fitness of each first initial acquisition strategy is for characterizing each the The excellent degree of one initial acquisition strategy, it is first initial using this if the fitness of some the first initial acquisition strategy is bigger Acquisition strategies collected meteorological data matched curve and using high frequency acquisition strategies institute collected meteorological data intend It is more similar to close curve, that is, shows that the first initial acquisition strategy is more excellent.Finally, from the adaptation of all first initial acquisition strategies Maximum adaptation degree is filtered out in degree.
S3, if current iteration number is being preset in the number of iterations, and maximum adaptation degree is not less than fitness threshold value, then obtains Target acquisition strategies are determined as currently acquiring the gas of day by the corresponding acquisition strategies of maximum adaptation degree as target acquisition strategies Image data acquisition strategies.
Specifically, after each iteration adjustment, the number of current iteration is judged, if current iteration number is in default iteration time In number, and the above-mentioned maximum adaptation degree filtered out is not less than fitness threshold value, then obtains the corresponding acquisition strategies of maximum adaptation degree, As target acquisition strategies.Finally, target acquisition strategies are determined as currently acquiring the meteorological data collection strategy of day, that is, Current acquisition day, meteorological data collection was carried out according to the multiple acquisition times for including in target acquisition strategies.Wherein, iteration is preset Number and fitness threshold value be it is pre-set, can be configured, be not specifically limited herein according to actual needs.
It should be noted that, by above method step, for currently acquiring day, being not necessarily in the embodiment of the present invention Meteorological data collection is carried out using high frequency acquisition strategies in the prior art, and only needs to carry out meteorological number using target acquisition strategies According to acquisition, i.e., meteorological data collection is carried out according to the multiple acquisition times for including in target acquisition strategies.Since target acquires plan Fitness slightly is maximum adaptation degree and is not less than fitness threshold value, therefore uses the collected meteorological number of target acquisition strategies institute According to matched curve to using high frequency acquisition strategies collected meteorological data matched curve it is the most similar, that is to say, that It carries out meteorological data collection using target acquisition strategies still to be able to effectively restore daily meteorological data, so as to effective Ensure the accuracy of meteorological data monitoring result.
Further, since the total quantity for the acquisition time for including in target acquisition strategies is identical as initial acquisition number, therefore The times of collection for carrying out meteorological data collection using target acquisition strategies is also identical as initial acquisition number;Simultaneously because initially adopting Collection number is far smaller than the times of collection for using high frequency acquisition strategies to carry out meteorological data collection, therefore uses target acquisition strategies The times of collection for carrying out meteorological data collection is far smaller than the times of collection for using high frequency acquisition strategies to carry out meteorological data collection, Daily meteorological data collection number is reduced to a great extent, to advantageously reduce the power consumption of weather station system, Neng Gouyou Effect ensures that weather station system is run steadily in the long term.
Meteorological data collection strategy adaptive regulation method provided in an embodiment of the present invention currently acquires day for any, Multiple acquisition strategies are generated at random by the way that initial acquisition number is arranged, and according to initial acquisition number, recycle Adaptive Genetic Algorithm is iterated adjustment to all acquisition strategies, and filters out in all acquisition strategies after the adjustment and meet fitness requirement Acquisition strategies as target acquisition strategies so that currently acquisition day using target acquisition strategies carry out meteorological data collection, Since target acquisition strategies can satisfy the requirement of fitness, carrying out meteorological data collection using target acquisition strategies can Daily meteorological data is effectively restored, it is advantageously ensured that the accuracy of meteorological data monitoring result;It is acquired simultaneously using target The times of collection that strategy carries out meteorological data collection is far smaller than the acquisition for using high frequency acquisition strategies to carry out meteorological data collection Daily meteorological data collection number has been reduced to a great extent in number, to advantageously reduce the power consumption of weather station system, energy It is enough effectively to ensure that weather station system is run steadily in the long term.
Based on any of the above-described embodiment, a kind of meteorological data collection strategy adaptive regulation method is provided, if current iteration Number reaches default the number of iterations, and maximum adaptation degree is less than fitness threshold value, then initial acquisition number is adjusted, after adjustment Initial acquisition number generate multiple acquisition strategies at random, using each acquisition strategies of generation as the second initial acquisition strategy; Adjustment is iterated to all second initial acquisition strategies using self-adapted genetic algorithm, and after each iteration adjustment, according to The meteorological data of the acquisition in first three day of current acquisition day calculates the fitness of all second initial acquisition strategies adjusted, and sieves Select maximum adaptation degree;If current iteration number is in default the number of iterations, and maximum adaptation degree is not less than fitness threshold value, then The corresponding acquisition strategies of maximum adaptation degree are obtained to be determined as target acquisition strategies currently to acquire day as target acquisition strategies Meteorological data collection strategy.
Specifically, in the process that using self-adapted genetic algorithm all first initial acquisition strategies are iterated with adjustment In, if current iteration number reaches default the number of iterations, and the maximum adaptation degree filtered out then shows less than fitness threshold value All first initial acquisition strategies and all first initial acquisition strategies adjusted generated according to initial acquisition number are difficult It to meet the requirement of fitness, then needs to be adjusted initial acquisition number at this time, it is appropriate initial acquisition number can be carried out Increase to degree, generate multiple acquisition strategies at random further according to initial acquisition number adjusted, by each acquisition plan of generation It is slightly the second initial acquisition strategy.It wherein, include multiple acquisition times in each second initial acquisition strategy, and each second The total quantity for the acquisition time for including in initial acquisition strategy is identical as initial acquisition number adjusted.
Based on the above technical solution, it is changed using self-adapted genetic algorithm to all second initial acquisition strategies Generation adjustment, and after each iteration adjustment, institute adjusted is calculated according to the meteorological data of the acquisition in first three day of current acquisition day There is the fitness of the second initial acquisition strategy, and filters out maximum adaptation degree;If current iteration number is being preset in the number of iterations, And maximum adaptation degree is not less than fitness threshold value, then obtains the corresponding acquisition strategies of maximum adaptation degree, as target acquisition strategies, Target acquisition strategies are determined as currently to acquire the meteorological data collection strategy of day.To the second initial acquisition in the embodiment of the present invention The specific steps that the first initial acquisition strategy is handled in the specific steps and above method embodiment that strategy is handled It is identical, it specifically may refer to above method embodiment, details are not described herein again.
It should be noted that in the embodiment of the present invention, after the initial acquisition number to current acquisition day is adjusted, It can be using initial acquisition number adjusted as the initial acquisition number of next acquisition day, so that next acquisition day energy It is enough that target acquisition strategies are determined in less the number of iterations, be conducive to the computing resource for saving whole system.
Meteorological data collection strategy adaptive regulation method provided in an embodiment of the present invention is utilizing self-adapted genetic algorithm During being iterated adjustment to all first initial acquisition strategies, if all equal nothings of first initial acquisition strategy adjusted Method meets the requirement of fitness, then adjusts initial acquisition number, generates multiple adopt at random according to initial acquisition number adjusted Collection strategy, using each acquisition strategies of generation as the second initial acquisition strategy;Recycle self-adapted genetic algorithm to all the Two initial acquisition strategies are iterated adjustment, enable to filter out from all second initial acquisition strategies adjusted full The acquisition strategies that sufficient fitness requires finally may make as target acquisition strategies and carry out meteorological number using target acquisition strategies According to acquisition, while ensuring meteorological data monitoring result accuracy, additionally it is possible to daily meteorological data be reduced to a great extent Times of collection advantageously reduces the power consumption of weather station system, and then it is advantageously ensured that weather station system is run steadily in the long term.
Based on any of the above-described embodiment, a kind of meteorological data collection strategy adaptive regulation method is provided, using adaptive Genetic algorithm is iterated adjustment to all first initial acquisition strategies, specifically: all first initial acquisition strategies are distinguished It is encoded, obtains all corresponding coded sequences of first initial acquisition strategy;It is each to all first initial acquisition strategies Self-corresponding coded sequence carries out selection operation, crossover operation and mutation operation respectively, generates multiple new coded sequences;According to Multiple new coded sequences obtain multiple acquisition strategies, as the first initial acquisition strategy adjusted.
Specifically, it in the embodiment of the present invention, is changed using self-adapted genetic algorithm to all first initial acquisition strategies Generation adjustment the specific implementation process is as follows:
Firstly, encoding respectively to all first initial acquisition strategies, all first initial acquisition strategies are obtained respectively All first initial acquisition strategies can specifically be separately encoded as binary sequence, binary sequence by corresponding coded sequence In 1 represent and carry out meteorological data collection, 0 in binary sequence is represented without meteorological data collection.For example, existing High frequency acquisition strategies in technology then need to carry out altogether 144 gas in one day at interval of the meteorological data collection of progress in ten minutes Image data acquisition, therefore high frequency acquisition strategies can be encoded toSimilarly, for each first initial acquisition plan Slightly, equally it can be encoded to according to the acquisition time in each first initial acquisition strategy by binary system sequence in the manner described above Column, such as can be expressed asWherein n indicates the total quantity of acquisition time in the first initial acquisition strategy.
It can be obtained all corresponding coded sequences of first initial acquisition strategy by above method step, in this base On plinth, using the corresponding coded sequence of each first initial acquisition strategy as an individual, and by all first initial acquisition plans Slightly corresponding coded sequence divides as a group, then to all corresponding coded sequences of first initial acquisition strategy Not carry out selection operation, crossover operation and mutation operation, generate multiple new coded sequences.Selection behaviour in the embodiment of the present invention Make, crossover operation and mutation operation refer to selection operation, crossover operation and mutation operation in self-adapted genetic algorithm.
It should be noted that selection operation refers to selecting winning individual from group, the operation of worst individual is eliminated, The purpose of selection operation is that the individual of optimization is genetic directly to the next generation.In the embodiment of the present invention, initial to all first Before the corresponding coded sequence of acquisition strategies carries out selection operation, the adaptation of each first initial acquisition strategy is calculated first Degree calculates the selected probability of each first initial acquisition strategy further according to the fitness of each first initial acquisition strategy, most The probability for combining each first initial acquisition strategy to be selected using roulette wheel selection eventually is to all first initial acquisition strategies Corresponding coded sequence carries out selection operation.
It should be noted that crossover operation refers to that the part-structure two parent individualities is replaced recombination and generated The operation of new individual.In the embodiment of the present invention, 0/1 gene-ratio to guarantee each individual is constant, therefore only when two individuals are handed over Crossover operation occurs when 0/1 gene dosage is identical at left and right sides of crunode.Mutation operation refers to will be in individual chromosome coded strings Certain locus on genic value replaced with other allele on the locus, to form new individual.This hair In bright embodiment, 0/1 gene-ratio to guarantee each individual is constant, therefore generates two change points, only when two change point bases Because it is different when, morph, do not morph then if they are the same simultaneously, population diversity can be maintained by mutation operation, to prevent There is immature oils phenomenon.
In addition, it should be noted that, refer to due to selection operation, crossover operation and the mutation operation in the embodiment of the present invention It is selection operation, crossover operation and the mutation operation in self-adapted genetic algorithm, therefore is carrying out crossover operation and mutation operation When, it also needs to consider crossover probability PcWith mutation probability Pm.Crossover probability PcWith mutation probability PmHave to performance of genetic algorithms very big It influences, directly affects Algorithm Convergence.Although PcPopulation is more prone to produce new individual when larger, but when it becomes larger, Defect individual retention rate in population also reduces.To PmFor, this algorithm is equivalent to common random algorithm if its is excessive, loses The meaning of genetic algorithm is gone.In the embodiment of the present invention, crossover probability PcWith mutation probability PmSpecific formula for calculation it is as follows:
Wherein, fmaxIndicate maximum fitness value in group;favgIndicate the average fitness value of per generation group;F ' expression Biggish fitness value in two individuals to be intersected;F indicates the fitness value for the individual to be made a variation;Pc1、Pc2、Pm1And Pm2? For constant, in the embodiment of the present invention, Pc1=0.9;Pc2=0.6;Pm1=0.1;Pm2=0.001.
Based on the above technical solution, according to selection operation, crossover operation and the variation in self-adapted genetic algorithm The specific processing step of operation it is found that carry out selection behaviour to all corresponding coded sequences of first initial acquisition strategy respectively The quantity and the quantity phase of the coded sequence before operation of the new coded sequence make, generated after crossover operation and mutation operation Together.Finally, multiple acquisition strategies are obtained according to multiple new coded sequences, as the first initial acquisition strategy adjusted.It can With understanding, for acquisition strategies, corresponding coded sequence can be obtained by coding, correspondingly, for code sequence For column, corresponding acquisition strategies can also be obtained by decoding.
Meteorological data collection strategy adaptive regulation method provided in an embodiment of the present invention, to all first initial acquisition plans It is slightly encoded respectively, obtains all corresponding coded sequences of first initial acquisition strategy;To all first initial acquisitions The corresponding coded sequence of strategy carries out selection operation, crossover operation and mutation operation respectively, generates multiple new code sequences Column;Multiple acquisition strategies are obtained according to multiple new coded sequences, as the first initial acquisition strategy adjusted.This method benefit Adjustment is iterated to all first initial acquisition strategies with self-adapted genetic algorithm, with to all first initial acquisition strategies into Row effectively optimization, so that the first initial acquisition strategy adjusted can effectively meet the requirement of fitness.
Based on any of the above-described embodiment, a kind of meteorological data collection strategy adaptive regulation method is provided, according to currently adopting The meteorological data of the acquisition in first three day of market day calculates the fitness of all first initial acquisition strategies adjusted, specifically: it is right In any one the first initial acquisition strategy adjusted, obtains and adjust from the meteorological data that the proxima luce (prox. luc) of current acquisition day acquires The corresponding meteorological data of the first initial acquisition strategy after whole calculates the fitting of the first meteorological data as the first meteorological data Residual sum of squares (RSS) between curve and the matched curve of the meteorological data of proxima luce (prox. luc) acquisition, as the first residual sum of squares (RSS);From working as The corresponding meteorological data of the first initial acquisition strategy adjusted is obtained in the meteorological data of the acquisition in first two days of preceding acquisition day, is made For the second meteorological data, between the matched curve for calculating the meteorological data of matched curve and the acquisition in first two days of the second meteorological data Residual sum of squares (RSS), as the second residual sum of squares (RSS);Adjustment is obtained from the meteorological data of the acquisition in first three day of current acquisition day The corresponding meteorological data of the first initial acquisition strategy afterwards, as third meteorological data, the fitting for calculating third meteorological data is bent Residual sum of squares (RSS) between line and the matched curve of the meteorological data of acquisition in first three day, as third residual sum of squares (RSS);According to One residual sum of squares (RSS), the second residual sum of squares (RSS) and third residual sum of squares (RSS) calculate the adaptation of the first initial acquisition strategy adjusted Degree.
Specifically, in the embodiment of the present invention, after calculating adjustment according to the meteorological data of the acquisition in first three day of current acquisition day All first initial acquisition strategies fitness the specific implementation process is as follows:
For any one the first initial acquisition strategy adjusted, from the meteorological number of the proxima luce (prox. luc) acquisition of current acquisition day The corresponding meteorological data of the first initial acquisition strategy adjusted is obtained according to middle, as the first meteorological data.For example, if working as Preceding acquisition day is on March 13rd, 2019, then currently the proxima luce (prox. luc) of acquisition day refers on March 12nd, 2019, if adjusted the The acquisition time for including in one initial acquisition strategy is respectively 00:00,04:00,07:00,12:00,14:00,16:00,18: 00,20:00,22:00,24:00 totally 10 acquisition times, then need to be from obtaining in the meteorological data that on March 12nd, 2019 acquires The corresponding meteorological data of 10 acquisition times is stated, as the first meteorological data.On this basis, respectively to the first meteorological data and The meteorological data of proxima luce (prox. luc) acquisition is fitted, and obtains the meteorological data of matched curve and the proxima luce (prox. luc) acquisition of the first meteorological data Matched curve, then calculate the first meteorological data matched curve and proxima luce (prox. luc) acquisition meteorological data matched curve between Residual sum of squares (RSS), as the first residual sum of squares (RSS).Wherein, residual sum of squares (RSS) indicates the effect of random error, the first residuals squares With it is smaller, then it represents that it is similar between the matched curve of the first meteorological data and the matched curve for the meteorological data that proxima luce (prox. luc) acquires It spends higher.If the matched curve of the meteorological data of proxima luce (prox. luc) acquisition is expressed asBy the quasi- of the first meteorological data It closes curve and is expressed as y2=fXi(x), then the specific formula for calculation of the residual sum of squares (RSS) SSE between two matched curves is
Further, the first initial acquisition adjusted is obtained from the meteorological data of the acquisition in first two days of current acquisition day The corresponding meteorological data of strategy calculates the matched curve and acquisition in first two days of the second meteorological data as the second meteorological data Residual sum of squares (RSS) between the matched curve of meteorological data, as the second residual sum of squares (RSS);From adopting first three day for current acquisition day The corresponding meteorological data of the first initial acquisition strategy adjusted is obtained in the meteorological data of collection, as third meteorological data, meter The residual sum of squares (RSS) between the matched curve of the meteorological data of matched curve and the acquisition in first three day of third meteorological data is calculated, as Third residual sum of squares (RSS).It should be noted that the specific acquisition modes of the second residual sum of squares (RSS) and third residual sum of squares (RSS) can be with Referring to the specific acquisition modes of above-mentioned first residual sum of squares (RSS), details are not described herein again.
Further, after calculating adjustment according to the first residual sum of squares (RSS), the second residual sum of squares (RSS) and third residual sum of squares (RSS) The first initial acquisition strategy fitness, specific formula for calculation are as follows:
Wherein, fit is the fitness of the first initial acquisition strategy adjusted;SSE1For the first residual sum of squares (RSS);SSE2For Second residual sum of squares (RSS);SSE3For third residual sum of squares (RSS).
Meteorological data collection strategy adaptive regulation method provided in an embodiment of the present invention, according to first three of current acquisition day The meteorological data of day acquisition calculates the fitness of all first initial acquisition strategies adjusted, is conducive to combine institute adjusted There is the fitness of the first initial acquisition strategy to filter out target acquisition strategies, so that carrying out meteorological number using target acquisition strategies Daily meteorological data can be effectively restored according to acquisition, it is advantageously ensured that the accuracy of meteorological data monitoring result.
Based on any of the above-described embodiment, a kind of meteorological data collection strategy adaptive regulation method is provided, judgement is currently adopted Whether market day is correction day, specifically: the interval number of days between current acquisition day and a upper correction day was calculated, if interval number of days Not up to default correction interval number of days, it is determined that current acquisition day is non-correction day;If interval number of days reaches default correction interval Number of days, it is determined that current acquisition day is correction day.
Specifically, by above method embodiment it is found that the fitness of acquisition strategies is according to first three current for acquiring day What the meteorological data of day calculated, and the maximum acquisition strategies of fitness will be targeted acquisition strategies, therefore target acquires The determination of strategy and the meteorological data of first three day of current acquisition day are closely related.Therefore, gas is carried out using target acquisition strategies Image data acquisition is easy to produce accumulated error, in view of this, in order to eliminate accumulated error, presetting in the embodiment of the present invention Correction interval number of days, i.e., be arranged a correction day at interval of certain number of days, and the elimination of accumulated error is carried out in correction day.Herein On the basis of, when whether judgement current acquisition day is correction day, calculated the interval between current acquisition day and a upper correction day Number of days, if the not up to default correction interval number of days of interval number of days, it is determined that current acquisition day is non-correction day;If interval number of days reaches Number of days is spaced to default correction, it is determined that current acquisition day is correction day.It in other embodiments, can also consolidating every month Determine to be set as correction day some day, can be configured, be not specifically limited herein according to actual needs.
Based on the above technical solution, if currently acquisition day is correction day, it is determined that the meteorological number of current acquisition day It is default high frequency acquisition strategies according to acquisition strategies, i.e., carries out meteorological data collection using high frequency acquisition strategies in currently acquisition day. It should be noted that often more using the times of collection that default high frequency acquisition strategies carry out meteorological data collection.The present invention is real It applies in example, carries out meteorological data collection using default high frequency acquisition strategies in currently acquisition day and refer in currently acquisition day every The acquisition of a meteorological data was carried out every ten minutes, then need to carry out 144 meteorological data collection operations altogether.In other embodiments In, default high frequency acquisition strategies can be configured according to actual needs, be not specifically limited herein.It is understood that The times of collection that day carries out meteorological data collection using default high frequency acquisition strategies of rectifying a deviation is more, therefore can effectively ensure meteorology The accuracy of data is conducive to eliminate accumulated error.
Meteorological data collection strategy adaptive regulation method provided in an embodiment of the present invention calculates current acquisition day and upper one Interval number of days between a correction day, if interval number of days reaches default correction interval number of days, it is determined that current acquisition day is correction Day, and meteorological data collection is carried out using default high frequency acquisition strategies in correction day, to disappear to accumulated error day in correction It removes, it is advantageously ensured that the accuracy of daily meteorological data collected.
Fig. 2 is the structural schematic diagram of meteorological data collection strategy self-adaptive regulating provided in an embodiment of the present invention, such as Shown in Fig. 2, which includes: acquisition strategies generation module 21, acquisition strategies adjustment module 22 and acquisition strategies determining module 23, Wherein:
Acquisition strategies generation module 21 is used for judging whether current acquisition day is correction day for any current acquisition day, If the current acquisition day is non-correction day, multiple acquisition strategies are generated according to initial acquisition number at random, by the every of generation A acquisition strategies are as the first initial acquisition strategy.
Specifically, weather station system need to be acquired daily meteorological data, in the embodiment of the present invention, by meteorological data The same day of acquisition is as current acquisition day.For any one current acquisition day, acquisition strategies generation module 21 first determines whether to work as Whether preceding acquisition day is correction day, wherein correction day is pre-set, for example, can be arranged one at interval of certain number of days It rectifies a deviation day, correction day can also be set for the fixation of every month some day, can be configured according to actual needs, herein not It is specifically limited.If judging currently to acquire day not to be correction day, i.e., currently acquisition day is non-correction day, then according to initial acquisition Number generates multiple acquisition strategies at random, using each acquisition strategies of generation as the first initial acquisition strategy.Wherein, Mei Ge It include multiple acquisition times, and the sum for the acquisition time for including in one initial acquisition strategy in each first initial acquisition strategy It measures identical as initial acquisition number.
Acquisition strategies adjustment module 22 is for changing to all first initial acquisition strategies using self-adapted genetic algorithm Generation adjustment, and after each iteration adjustment, institute adjusted is calculated according to the meteorological data of the acquisition in first three day of current acquisition day There is the fitness of the first initial acquisition strategy, and filters out maximum adaptation degree.
Specifically, based on the above technical solution, acquisition strategies adjustment module 22 utilizes self-adapted genetic algorithm pair All first initial acquisition strategies are iterated adjustment, to optimize to all first initial acquisition strategies.In each iteration After adjustment, all first initial acquisition strategies adjusted are calculated according to the meteorological data of the acquisition in first three day of current acquisition day Fitness.Wherein, currently the meteorological data of the acquisition in first three day of acquisition day includes currently acquiring the meteorology of the proxima luce (prox. luc) acquisition of day The meteorological data of data, the meteorological data of acquisition in first two days and acquisition in first three day.For example, if currently acquisition day is 2019 March 13, then currently acquisition day first three day acquisition meteorological data include on March 10th, 2019 acquisition meteorological data, The meteorological data of acquisition on March 11st, 2019 and the meteorological data of acquisition on March 12nd, 2019.Wherein, it each first initially adopts The fitness of collection strategy is used to characterize the excellent degree of each first initial acquisition strategy, if some the first initial acquisition strategy Fitness is bigger, then using the first initial acquisition strategy institute collected meteorological data matched curve and using high frequency acquisition Strategy collected meteorological data matched curve it is more similar, that is, show that the first initial acquisition strategy is more excellent.Finally, it adopts Collection Developing Tactics module 22 filters out maximum adaptation degree from the fitness of all first initial acquisition strategies.
Acquisition strategies determining module 23, if for current iteration number in default the number of iterations, and maximum adaptation degree is not Less than fitness threshold value, then the corresponding acquisition strategies of maximum adaptation degree are obtained, as target acquisition strategies, by target acquisition strategies It is determined as currently acquiring the meteorological data collection strategy of day.
Specifically, after each iteration adjustment, acquisition strategies determining module 23 judges the number of current iteration, if current change Generation number is in default the number of iterations, and the above-mentioned maximum adaptation degree filtered out is not less than fitness threshold value, then obtains maximum suitable The corresponding acquisition strategies of response, as target acquisition strategies.Finally, acquisition strategies determining module 23 determines target acquisition strategies For the meteorological data collection strategy for currently acquiring day, that is, in currently acquisition day, multiple adopted according to include in target acquisition strategies Collect time progress meteorological data collection.Wherein, default the number of iterations and fitness threshold value are pre-set, can be according to reality Demand is configured, and is not specifically limited herein.
It is real specifically to execute above-mentioned each method for meteorological data collection strategy self-adaptive regulating provided in an embodiment of the present invention A process is applied, please specifically be detailed in the content of above-mentioned each method embodiment, details are not described herein.
Meteorological data collection strategy self-adaptive regulating provided in an embodiment of the present invention currently acquires day for any, Multiple acquisition strategies are generated at random by the way that initial acquisition number is arranged, and according to initial acquisition number, recycle Adaptive Genetic Algorithm is iterated adjustment to all acquisition strategies, and filters out in all acquisition strategies after the adjustment and meet fitness requirement Acquisition strategies as target acquisition strategies so that currently acquisition day using target acquisition strategies carry out meteorological data collection, Since target acquisition strategies can satisfy the requirement of fitness, carrying out meteorological data collection using target acquisition strategies can Daily meteorological data is effectively restored, it is advantageously ensured that the accuracy of meteorological data monitoring result;It is acquired simultaneously using target The times of collection that strategy carries out meteorological data collection is far smaller than the acquisition for using high frequency acquisition strategies to carry out meteorological data collection Daily meteorological data collection number has been reduced to a great extent in number, to advantageously reduce the power consumption of weather station system, energy It is enough effectively to ensure that weather station system is run steadily in the long term.
Fig. 3 is the entity structure schematic diagram of electronic equipment provided in an embodiment of the present invention.Reference Fig. 3, the electronic equipment, It include: processor (processor) 31, memory (memory) 32 and bus 33;Wherein, the processor 31 and memory 32 Mutual communication is completed by the bus 33;The processor 31 is used to call the program instruction in the memory 32, To execute method provided by above-mentioned each method embodiment, for example, for any current acquisition day, judge current acquisition day Whether it is correction day, if currently acquiring day is non-correction day, multiple acquisition strategies is generated according to initial acquisition number at random, it will The each acquisition strategies generated are as the first initial acquisition strategy;Using self-adapted genetic algorithm to all first initial acquisition plans It is slightly iterated adjustment, and after each iteration adjustment, is calculated and adjusted according to the meteorological data of the acquisition in first three day of current acquisition day The fitness of all first initial acquisition strategies after whole, and filter out maximum adaptation degree;If current iteration number changes default In generation number, and maximum adaptation degree is not less than fitness threshold value, then the corresponding acquisition strategies of maximum adaptation degree is obtained, as target Target acquisition strategies are determined as currently acquiring the meteorological data collection strategy of day by acquisition strategies.
In addition, the logical order in above-mentioned memory 32 can be realized and as only by way of SFU software functional unit Vertical product when selling or using, can store in a computer readable storage medium.Based on this understanding, this hair Substantially the part of the part that contributes to existing technology or the technical solution can in other words for the technical solution of bright embodiment To be expressed in the form of software products, which is stored in a storage medium, including some instructions With so that computer equipment (can be personal computer, server or the network equipment an etc.) execution present invention is each The all or part of the steps of embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk Etc. the various media that can store program code.
The embodiment of the present invention also provides a kind of non-transient computer readable storage medium, is stored thereon with computer program, The computer program is implemented to carry out the various embodiments described above offer method when being executed by processor, for example, for any Whether current acquisition day, judgement current acquisition day are correction day, if currently acquiring day is non-correction day, according to initial acquisition time Number generates multiple acquisition strategies at random, using each acquisition strategies of generation as the first initial acquisition strategy;It is lost using adaptive Propagation algorithm is iterated adjustment to all first initial acquisition strategies, and after each iteration adjustment, according to current acquisition day it The meteorological data of acquisition in first three day calculates the fitness of all first initial acquisition strategies adjusted, and filters out maximum adaptation Degree;If current iteration number is in default the number of iterations, and maximum adaptation degree is not less than fitness threshold value, then obtains maximum adaptation Corresponding acquisition strategies are spent, as target acquisition strategies, the meteorological data that target acquisition strategies are determined as currently acquisition day is adopted Collection strategy.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of meteorological data collection strategy adaptive regulation method characterized by comprising
For any current acquisition day, judge whether the current acquisition day is correction day, if the current acquisition day is non-entangles Inclined day multiple acquisition strategies are then generated according to initial acquisition number at random, it is initial using each acquisition strategies of generation as first Acquisition strategies;
Adjustment is iterated to all first initial acquisition strategies using self-adapted genetic algorithm, and after each iteration adjustment, The suitable of all first initial acquisition strategies adjusted is calculated according to the meteorological data of the acquisition in first three day of the current acquisition day Response, and filter out maximum adaptation degree;
If current iteration number is in default the number of iterations, and the maximum adaptation degree is not less than fitness threshold value, then obtains institute The corresponding acquisition strategies of maximum adaptation degree are stated, as target acquisition strategies, the target acquisition strategies are determined as described current Acquire the meteorological data collection strategy of day;
Wherein, include multiple acquisition times in each first initial acquisition strategy, and include in each first initial acquisition strategy Acquisition time total quantity it is identical as the initial acquisition number.
2. the method according to claim 1, wherein if current iteration number reaches the default the number of iterations, And the maximum adaptation degree is less than the fitness threshold value, then adjusts the initial acquisition number, initially adopted according to adjusted Collection number generates multiple acquisition strategies at random, using each acquisition strategies of generation as the second initial acquisition strategy;
Adjustment is iterated to all second initial acquisition strategies using self-adapted genetic algorithm, and after each iteration adjustment, The suitable of all second initial acquisition strategies adjusted is calculated according to the meteorological data of the acquisition in first three day of the current acquisition day Response, and filter out maximum adaptation degree;
If current iteration number is in default the number of iterations, and the maximum adaptation degree is not less than the fitness threshold value, then obtains The corresponding acquisition strategies of the maximum adaptation degree are taken, as target acquisition strategies, the target acquisition strategies are determined as described The meteorological data collection strategy of current acquisition day;
Wherein, include multiple acquisition times in each second initial acquisition strategy, and include in each second initial acquisition strategy Acquisition time total quantity it is identical as initial acquisition number adjusted.
3. the method according to claim 1, wherein using self-adapted genetic algorithm to all first initial acquisitions Strategy is iterated adjustment, specifically:
All first initial acquisition strategies are encoded respectively, obtain all corresponding codings of first initial acquisition strategy Sequence;
Selection operation, crossover operation and variation behaviour are carried out respectively to all corresponding coded sequences of first initial acquisition strategy Make, generates multiple new coded sequences;
Multiple acquisition strategies are obtained according to multiple new coded sequences, as the first initial acquisition strategy adjusted.
4. the method according to claim 1, wherein according to the meteorology of the acquisition in first three day of the current acquisition day Data calculate the fitness of all first initial acquisition strategies adjusted, specifically:
For any one the first initial acquisition strategy adjusted, from the meteorological number of the proxima luce (prox. luc) acquisition of the current acquisition day The corresponding meteorological data of the first initial acquisition strategy adjusted is obtained according to middle, as the first meteorological data, described in calculating Residual sum of squares (RSS) between the matched curve of the meteorological data of the matched curve of first meteorological data and proxima luce (prox. luc) acquisition, makees For the first residual sum of squares (RSS);
The first initial acquisition strategy adjusted is obtained from the meteorological data of the acquisition in first two days of the current acquisition day Corresponding meteorological data, as the second meteorological data, the matched curve for calculating second meteorological data was adopted with described first two days Residual sum of squares (RSS) between the matched curve of the meteorological data of collection, as the second residual sum of squares (RSS);
The first initial acquisition strategy adjusted is obtained from the meteorological data of the acquisition in first three day of the current acquisition day Corresponding meteorological data, as third meteorological data, the matched curve and first three described day for calculating the third meteorological data are adopted Residual sum of squares (RSS) between the matched curve of the meteorological data of collection, as third residual sum of squares (RSS);
It is initial that described adjusted first is calculated according to the first residual sum of squares (RSS), the second residual sum of squares (RSS) and third residual sum of squares (RSS) The fitness of acquisition strategies.
5. according to the method described in claim 4, it is characterized in that, according to the first residual sum of squares (RSS), the second residual sum of squares (RSS) with Third residual sum of squares (RSS) calculates the fitness of the first initial acquisition strategy adjusted, specific formula for calculation are as follows:
Wherein, fit is the fitness of the first initial acquisition strategy adjusted;SSE1For first residual sum of squares (RSS); SSE2For second residual sum of squares (RSS);SSE3For the third residual sum of squares (RSS).
6. the method according to claim 1, wherein judging whether the current acquisition day is correction day, specifically Are as follows:
The interval number of days between the current acquisition day and a upper correction day was calculated, is entangled if the interval number of days is not up to default Interval number of days partially, it is determined that the current acquisition day is non-correction day;
If the interval number of days reaches default correction interval number of days, it is determined that the current acquisition day is correction day.
7. the method according to claim 1, wherein judging whether the current acquisition day is correction day, later Further include:
If the current acquisition day is correction day, it is determined that the meteorological data collection strategy of the current acquisition day is default high frequency Acquisition strategies.
8. a kind of meteorological data collection strategy self-adaptive regulating characterized by comprising
Acquisition strategies generation module, for judging whether the current acquisition day is correction day for any current acquisition day, if The current acquisition day is non-correction day, then multiple acquisition strategies is generated at random according to initial acquisition number, by each of generation Acquisition strategies are as the first initial acquisition strategy;
Acquisition strategies adjust module, for being iterated tune to all first initial acquisition strategies using self-adapted genetic algorithm It is whole, and after each iteration adjustment, institute adjusted is calculated according to the meteorological data of the acquisition in first three day of the current acquisition day There is the fitness of the first initial acquisition strategy, and filters out maximum adaptation degree;
Acquisition strategies determining module, if for current iteration number in default the number of iterations, and the maximum adaptation degree is not small In fitness threshold value, then obtains the corresponding acquisition strategies of the maximum adaptation degree and adopt the target as target acquisition strategies Collection strategy is determined as the meteorological data collection strategy of the current acquisition day;
Wherein, include multiple acquisition times in each first initial acquisition strategy, and include in each first initial acquisition strategy Acquisition time total quantity it is identical as the initial acquisition number.
9. a kind of electronic equipment characterized by comprising
At least one processor;And
At least one processor being connect with the processor communication, in which:
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to instruct energy Enough methods executed as described in claim 1 to 7 is any.
10. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited Computer instruction is stored up, the computer instruction makes the computer execute the method as described in claim 1 to 7 is any.
CN201910255904.1A 2019-04-01 2019-04-01 Meteorological data acquisition strategy self-adaptive adjustment method and device Active CN110009147B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910255904.1A CN110009147B (en) 2019-04-01 2019-04-01 Meteorological data acquisition strategy self-adaptive adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910255904.1A CN110009147B (en) 2019-04-01 2019-04-01 Meteorological data acquisition strategy self-adaptive adjustment method and device

Publications (2)

Publication Number Publication Date
CN110009147A true CN110009147A (en) 2019-07-12
CN110009147B CN110009147B (en) 2021-08-10

Family

ID=67169297

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910255904.1A Active CN110009147B (en) 2019-04-01 2019-04-01 Meteorological data acquisition strategy self-adaptive adjustment method and device

Country Status (1)

Country Link
CN (1) CN110009147B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111964674A (en) * 2020-10-23 2020-11-20 四川写正智能科技有限公司 Method for judging read-write state by combining acceleration sensor and mobile terminal
CN112653588A (en) * 2020-07-10 2021-04-13 深圳市唯特视科技有限公司 Adaptive network traffic collection method, system, electronic device and storage medium
CN113721529A (en) * 2021-09-03 2021-11-30 成都理工大学 Data acquisition system based on FPGA
CN117217828A (en) * 2023-08-18 2023-12-12 上海数禾信息科技有限公司 Method, device, computer equipment and storage medium for verifying conversion return data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106022501A (en) * 2015-10-13 2016-10-12 中国水产科学研究院渔业机械仪器研究所 Freshwater aquaculture water quality prediction system based on meteorological data
CN106372731B (en) * 2016-11-14 2017-07-28 中南大学 A kind of high wind line of high-speed railway wind speed spatial network structure forecast method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112653588A (en) * 2020-07-10 2021-04-13 深圳市唯特视科技有限公司 Adaptive network traffic collection method, system, electronic device and storage medium
CN111964674A (en) * 2020-10-23 2020-11-20 四川写正智能科技有限公司 Method for judging read-write state by combining acceleration sensor and mobile terminal
CN113721529A (en) * 2021-09-03 2021-11-30 成都理工大学 Data acquisition system based on FPGA
CN117217828A (en) * 2023-08-18 2023-12-12 上海数禾信息科技有限公司 Method, device, computer equipment and storage medium for verifying conversion return data
CN117217828B (en) * 2023-08-18 2024-05-10 上海数禾信息科技有限公司 Method, device, computer equipment and storage medium for verifying conversion return data

Also Published As

Publication number Publication date
CN110009147B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN110009147A (en) A kind of meteorological data collection strategy adaptive regulation method and device
US20220210028A1 (en) Cloud software service resource allocation method based on qos model self-correctio
CN102945200B (en) Charging remaining time estimation method and device and mobile equipment
CN109543890B (en) Power grid cost control optimization scheduling method, device and system based on load prediction balance
CN101118611A (en) Business process model resource configuring optimizing method based on inheritance algorithm
CN103972905A (en) Reactive compensation optimization method of 400V distribution network areas per transformer
CN103150629A (en) Dependent-chance two-layer programming model-based transmission network programming method
CN108494678A (en) Alternate routing configuration method based on genetic algorithm and system
CN109066728B (en) Online damping coordination control method for multiple interval oscillation modes of extra-high voltage power grid
CN103810538A (en) Electricity sale quantity distribution method and device
CN109976901A (en) A kind of resource regulating method, device, server and readable storage medium storing program for executing
CN115276047A (en) Electric energy scheduling method and device and computer readable storage medium
CN107706938B (en) A kind of wind power waving interval analysis method returned based on quantile
CN117254464A (en) Control method and system of energy storage system
CN110135627B (en) Water resource optimization method and device
CN114118845B (en) Unmanned aerial vehicle task matching method and device and intelligent cabinet
CN114723217B (en) Comprehensive energy supply side configuration method and system under carbon neutralization target
CN111628528B (en) Method and device for eliminating power flow out-of-limit during wind power participation system recovery
CN108539799A (en) The dispatching method and device of wind-powered electricity generation in a kind of power grid
CN110571791B (en) Optimal configuration method for power transmission network planning under new energy access
CN112950033A (en) Reservoir dispatching decision method and system based on reservoir dispatching rule synthesis
CN108418203B (en) Rotary standby optimization method for gradually aggregating scenes by using risks
CN115169754B (en) Energy scheduling method and device, electronic equipment and storage medium
CN116436037A (en) Power distribution method and device of composite energy storage system and electronic equipment
CN111654031B (en) Intelligent soft switch operation control strategy selection method and device

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
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20190712

Assignee: Yichang Shiwei Technology Co.,Ltd.

Assignor: CHINA THREE GORGES University

Contract record no.: X2023980051111

Denomination of invention: A method and device for adaptive adjustment of meteorological data collection strategy

Granted publication date: 20210810

License type: Common License

Record date: 20231213