CN107222541B - New energy power prediction file uploading method and system - Google Patents

New energy power prediction file uploading method and system Download PDF

Info

Publication number
CN107222541B
CN107222541B CN201710418809.XA CN201710418809A CN107222541B CN 107222541 B CN107222541 B CN 107222541B CN 201710418809 A CN201710418809 A CN 201710418809A CN 107222541 B CN107222541 B CN 107222541B
Authority
CN
China
Prior art keywords
file
power prediction
uploading
uploaded
time period
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
Application number
CN201710418809.XA
Other languages
Chinese (zh)
Other versions
CN107222541A (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.)
NR Electric Co Ltd
NR Engineering Co Ltd
Original Assignee
NR Electric Co Ltd
NR Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NR Electric Co Ltd, NR Engineering Co Ltd filed Critical NR Electric Co Ltd
Priority to CN201710418809.XA priority Critical patent/CN107222541B/en
Publication of CN107222541A publication Critical patent/CN107222541A/en
Application granted granted Critical
Publication of CN107222541B publication Critical patent/CN107222541B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/06Electricity, gas or water supply
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal

Abstract

The invention discloses a new energy power prediction file uploading method and a new energy power prediction file uploading system, wherein the system comprises a file management module and a communication module, wherein the file management module generates a power prediction file in each time period and sends a file uploading request; the communication module checks whether the corresponding file has been successfully uploaded based on the file upload request: if the file is successfully uploaded, sending a status signal that the file is successfully uploaded; if the file is not uploaded, the corresponding file is uploaded to a scheduling master station, a file which is successfully uploaded is generated after the file is successfully uploaded, and if the file is not successfully uploaded, a status signal that the file is unsuccessfully uploaded is sent out; and the file management module judges whether the file is still in the corresponding time period or not based on the state signal of file uploading failure, if so, the file uploading request is sent again, and the power prediction file is not uploaded until the uploading of the power prediction file is successful or the time period of the power prediction file is exceeded. The invention can greatly reduce the phenomenon of file retransmission or missing transmission of the power prediction system no matter under the normal condition or the abnormal recovery condition.

Description

New energy power prediction file uploading method and system
Technical Field
The invention relates to the technical field of data processing in a new energy power generation technology, in particular to a new energy power prediction file uploading method and system.
Background
The new energy power prediction system is one of basic systems of a grid-connected new energy electric field and is a main reference means for making a grid-connected power generation plan by a power grid dispatching management department, and the running condition of the power generation power prediction system can influence the grid-connected power generation amount of the new energy electric field and directly influence the dispatching strategy of a power grid company. In order to make a relevant plan without influencing a management department, the new energy power prediction system needs to upload power prediction files (including short-term power prediction files and ultra-short-term power prediction files) to a power grid dispatching management department in time, so that one of key indexes of the new energy power prediction system for power grid dispatching assessment is the uploading rate of the new energy prediction files. The judgment of whether a certain file is uploaded successfully is based on that the file needing to be uploaded is uploaded successfully within the specified time and cannot be uploaded repeatedly.
At present, text data are uploaded to a power grid dispatching department or a new energy centralized control center by a power prediction system at fixed time intervals (for example, the text data are uploaded once every morning or every 5 minutes or 15 minutes), each file has different uploading window periods, and the window period is different from several hours to several minutes and generally depends on the file type. The file can be tried until successful as long as the file is not successfully uploaded in the window period, but in any case the file cannot be uploaded repeatedly again after the file is successfully uploaded. This puts forward extremely high requirements to the stability, interference immunity, the abnormal recovery ability of power prediction system self, and no matter what kind of circumstances, power prediction system all needs accurate judgement: whether a file within the window period has been generated, whether the file has been successfully uploaded, if the file has not been successfully uploaded then the attempt to upload should continue, if the file has not been generated then generation should continue. Even if some modules of the system have short-term faults, the system should be quickly recovered after the faults are recovered, the uploading of files is not influenced, and the uploading cannot be repeated. However, in the prior art, there are also situations of file retransmission and missed transmission.
Disclosure of Invention
The invention aims to provide a new energy power prediction file uploading method and system, which can greatly reduce the file retransmission or missing transmission phenomenon of a power prediction system under the condition of normal condition or abnormal recovery.
The technical scheme adopted by the invention is as follows: a new energy power prediction file uploading method comprises the following steps:
s1, generating corresponding power prediction files in the time period corresponding to each time window, and sending out corresponding file uploading requests;
s2, checking whether the corresponding power prediction file has been successfully uploaded based on the file upload request: if the file is successfully uploaded, sending a status signal that the file is successfully uploaded; if the power prediction file is not uploaded and is in a corresponding time period, the corresponding power prediction file is uploaded to a scheduling master station, a successful uploading file corresponding to the uploaded power prediction file is generated and stored after successful uploading, and if the uploading is unsuccessful, a state signal of file uploading failure is sent out;
the checking whether the corresponding power prediction file has been successfully uploaded is: checking whether an uploading success file corresponding to the file of the power to be uploaded is stored;
s3, based on the status signal of file uploading failure, judging whether the current time is still in the time period of the corresponding power prediction file, if so, re-sending the file uploading request, repeating S2 to S3 until the uploading of the power prediction file of the corresponding time period is successful or exceeds the time period, and turning to S4;
s4, recording the uploading state information of the power prediction file corresponding to each time period according to the state signal of successful uploading or the state signal of failed uploading.
Preferably, assuming that the power prediction file name generated in S1 is "axxx.dat", the power prediction file is successfully uploaded to the scheduling master station in S2, and then the upload success file name corresponding to the power prediction file is generated as "axxx.dat.succ". When checking whether a certain power prediction file has been successfully uploaded, it is only necessary to search whether a "succ" suffix file of the corresponding file name exists.
Preferably, the size of the upload success file is 0 KB. The influence of file generation on system memory occupation can be reduced to the maximum extent.
Preferably, in S3, based on the status signal indicating that the file transmission fails, it is determined whether the current time is still within the time period of the corresponding power prediction file, if so, the power prediction file corresponding to the current time period is regenerated, the file transmission request is re-issued, and S2 to S3 are repeated until the transmission of the power prediction file of the corresponding time period is successful or exceeds the time period, the power prediction file of the time period is not transmitted, and the process goes to S4. The regeneration of the power prediction file can enable the data in the power prediction file to be matched with the uploading time, and the power prediction data is more referential.
The method of the invention is based on the fact that the connection between the power prediction file uploading channel and the main station is established.
The invention also discloses a new energy power prediction file uploading system, which comprises a file management module and a communication module:
the file management module generates corresponding power prediction files in the time period corresponding to each time window and sends corresponding file uploading requests to the communication module;
the communication module checks whether the corresponding power prediction file has been successfully uploaded based on the received file upload request: if the file is successfully uploaded, sending a state signal that the file is successfully uploaded to the file management module; if the power prediction file is not uploaded and is in a corresponding time period, the corresponding power prediction file is uploaded to a scheduling master station, a successful uploading file corresponding to the uploaded power prediction file is generated and stored after successful uploading, and if the uploading is unsuccessful, a state signal of file uploading failure is sent to a file management module;
the checking whether the corresponding power prediction file has been successfully uploaded is: checking whether an uploading success file corresponding to the file of the power to be uploaded is stored;
the file management module judges whether the current time is still in the time period of the corresponding power prediction file or not based on the state signal of file uploading failure, if so, the file management module sends a file uploading request to the communication module again until the power prediction file is successfully uploaded or the time period of the power prediction file is exceeded, and the power prediction file is not uploaded any more;
and the file management module records the uploading state information of the power prediction file corresponding to each time period according to the state signal that the file is successfully uploaded or the state signal that the file is unsuccessfully uploaded.
Preferably, in the system of the present invention, the file management module includes a file generation process and a file monitoring process;
the file generation process generates a power prediction file corresponding to the current time window in each time period;
the file monitoring process sends a file sending request to the communication module, receives and records a file uploading state signal sent by the communication module, judges whether the current time is still in a corresponding time period according to the received file uploading failure state signal, and then sends the file uploading request to the communication module again or abandons the uploading of the power prediction file in the corresponding time period.
Furthermore, after the file uploading fails, the file generation process regenerates the power prediction file of the corresponding time period according to the uploading state information recorded by the file monitoring process
Furthermore, the invention also comprises a history file uploading record database; the file monitoring process updates the uploading state information of the power prediction file in the corresponding time period according to the file uploading state signal received from the communication module;
and the file generation process judges whether to regenerate the power prediction file according to the uploading state information of the power prediction file in the current time period recorded in the history file uploading record database.
After each time period, the uploading state information of the corresponding power prediction file recorded by the file monitoring process is the final file uploading state information of the time period.
The history file uploading record database can only record the successfully uploaded power prediction file, and the file generation process can judge whether the file needs to be regenerated or not only by judging whether the uploading state information corresponding to the current power prediction file and successfully uploaded in the database is recorded or not, namely if the uploading state information is not recorded in the database, the file needs to be regenerated.
Preferably, assuming that the power prediction file generated by the file management module has a name "axxx.dat", after the power prediction file is successfully uploaded to the scheduling master station, the upload success file corresponding to the power prediction file generated by the communication module has a name "axxx.dat.succ". When checking whether a certain power prediction file has been successfully uploaded, it is only necessary to search whether a "succ" suffix file of the corresponding file name exists.
In the invention, the generation of the power prediction file, and the protocol and the channel when the power prediction file is uploaded are the prior art.
Advantageous effects
Compared with the prior art, the invention has the following achievable effects:
1) by generating the uploading success file, identifying whether the power prediction file corresponding to each time window is uploaded successfully or not, the power prediction system can be ensured not to repeatedly send any same file to the master station;
2) by feeding back the file uploading status signal after the file uploading is successful or failed, the system can select whether to upload the file again according to the requirement, and even if the power prediction system or a communication module therein fails, as long as the contact with the master station can be recovered within the window period of file uploading, the following can be ensured: the file uploading process is not repeated under the condition that the file is successfully uploaded, and the file uploading process is continued under the condition that the file is not successfully uploaded, so that the file missing transmission is avoided;
3) monitoring the uploading state of the file in an uploading window period by using a file monitoring process, and if the file is not successfully uploaded and does not exceed the window period, continuously sending a file uploading request to a communication module to request to be uploaded again;
4) even if the file management module fails, as long as the file management module recovers in the window period of file uploading, the file management module can continuously generate the file and send a file request to the communication module, so that the file is not generated less.
Therefore, the method can ensure that the power prediction system can not repeatedly upload files or rarely upload files to the master station under the normal condition or the abnormal recovery condition, reduces the requirements on the stability, the anti-interference performance and the abnormal recovery capability of the power prediction system, provides a reliable reference data source for a power grid dispatching management department to make a grid-connected power generation plan, can reduce the examination penalty pressure of a new energy power station, and has high practical value and popularization significance.
Drawings
FIG. 1 is a block diagram of the system of the present invention;
FIG. 2 is a flow chart of a communication module in the system of the present invention;
FIG. 3 is a flowchart illustrating a file management module in the system of the present invention.
Detailed Description
The following further description is made in conjunction with the accompanying drawings and the specific embodiments.
Example 1
A new energy power prediction file uploading method comprises the following steps:
s1, generating corresponding power prediction files in the time period corresponding to each time window, and sending out corresponding file uploading requests;
s2, checking whether the corresponding power prediction file has been successfully uploaded based on the file upload request: if the file is successfully uploaded, sending a status signal that the file is successfully uploaded; if the power prediction file is not uploaded and is in a corresponding time period, the corresponding power prediction file is uploaded to a scheduling master station, a successful uploading file corresponding to the uploaded power prediction file is generated and stored after successful uploading, and if the uploading is unsuccessful, a state signal of file uploading failure is sent out;
the checking whether the corresponding power prediction file has been successfully uploaded is: checking whether an uploading success file corresponding to the file of the power to be uploaded is stored;
s3, based on the status signal of file uploading failure, judging whether the current time is still in the time period of the corresponding power prediction file, if so, re-sending the file uploading request, repeating S2 to S3 until the uploading of the power prediction file of the corresponding time period is successful or exceeds the time period, and turning to S4;
s4, recording the uploading state information of the power prediction file corresponding to each time period according to the state signal of successful uploading or the state signal of failed uploading.
Assuming that the power prediction file name generated in S1 is "axxx.dat", the successful upload file name corresponding to the power prediction file generated after the power prediction file is successfully uploaded to the scheduling master in S2 is "axxx.dat.succ". When checking whether a certain power prediction file has been successfully uploaded, it is only necessary to search whether a "succ" suffix file of the corresponding file name exists. The size of the upload success file is 0 KB. The influence of file generation on system memory occupation can be reduced to the maximum extent.
In S3, based on the status signal indicating that the file transmission has failed, it is determined whether the current time is still within the time period of the corresponding power prediction file, if so, the power prediction file corresponding to the current time period is regenerated, the file transmission request is re-issued, and S2 to S3 are repeated until the transmission of the power prediction file of the corresponding time period is successful or exceeds the time period, the power prediction file of the time period is not transmitted, and the process goes to S4. The regeneration of the power prediction file can enable the data in the power prediction file to be matched with the uploading time, and the power prediction data is more referential.
The method of the invention is based on the fact that the connection between the power prediction file uploading channel and the main station is established.
In the invention, the generation of the power prediction file, and the protocol and the channel when the power prediction file is uploaded are the prior art.
Example 2
The new energy power prediction file uploading system of the embodiment comprises a file management module and a communication module:
the file management module generates corresponding power prediction files in the time period corresponding to each time window and sends corresponding file uploading requests to the communication module;
the communication module checks whether the corresponding power prediction file has been successfully uploaded based on the received file upload request: if the file is successfully uploaded, sending a state signal that the file is successfully uploaded to the file management module; if the power prediction file is not uploaded and is in a corresponding time period, the corresponding power prediction file is uploaded to a scheduling master station, a successful uploading file corresponding to the uploaded power prediction file is generated and stored after successful uploading, and if the uploading is unsuccessful, a state signal of file uploading failure is sent to a file management module;
the checking whether the corresponding power prediction file has been successfully uploaded is: checking whether an uploading success file corresponding to the file of the power to be uploaded is stored;
the file management module judges whether the current time is still in the time period of the corresponding power prediction file or not based on the state signal of file uploading failure, if so, the file management module sends a file uploading request to the communication module again until the power prediction file is successfully uploaded or the time period of the power prediction file is exceeded, and the power prediction file is not uploaded any more;
and the file management module records the uploading state information of the power prediction file corresponding to each time period according to the state signal that the file is successfully uploaded or the state signal that the file is unsuccessfully uploaded.
The file management module comprises a file generation process and a file monitoring process;
the file generation process generates a power prediction file corresponding to the current time window in each time period;
the file monitoring process sends a file sending request to the communication module, receives and records a file uploading state signal sent by the communication module, judges whether the current time is still in a corresponding time period according to the received file uploading failure state signal, and then sends the file uploading request to the communication module again or abandons the uploading of the power prediction file in the corresponding time period.
Furthermore, after the file uploading fails, the file generation process regenerates the power prediction file of the corresponding time period according to the uploading state information recorded by the file monitoring process
Furthermore, the invention also comprises a history file uploading record database; the file monitoring process updates the uploading state information of the power prediction file in the corresponding time period according to the file uploading state signal received from the communication module;
and the file generation process judges whether to regenerate the power prediction file according to the uploading state information of the power prediction file in the current time period recorded in the history file uploading record database.
In order to ensure that the uploading is not repeated, the uploading state information record is not stored in a memory, but is permanently stored in a database or a text file.
After each time period, the uploading state information of the corresponding power prediction file recorded by the file monitoring process is the final file uploading state information of the time period.
The history file uploading record database can only record the successfully uploaded power prediction file, and the file generation process can judge whether the file needs to be regenerated or not only by judging whether the uploading state information corresponding to the current power prediction file and successfully uploaded in the database is recorded or not, namely if the uploading state information is not recorded in the database, the file needs to be regenerated.
Example 3
With reference to fig. 1 to fig. 3, the power prediction file uploading system of the present embodiment includes a file management module and a communication module, and the relationship between the two is shown in fig. 1;
the file management module comprises two resident processes: a file generation process and a file monitoring process, wherein the work flows of the two processes are shown in FIG. 3;
the file generation process work flow is as follows:
(1-1) judging whether a prediction file needs to be generated in the current time window, if not, sleeping for a period of time T, and if so, turning to the next step; the judgment is based on whether a new time window is entered;
(1-2) supposing that the prediction file needing to be generated is Axxx.dat, retrieving a historical file and sending the historical file to a record database, checking whether Axxx.dat is successfully sent, if so, turning to the step (1), and if not, continuing the next step;
(1-3) generating an Axxx.dat file and simultaneously sending a file upload request to the communication module, and then generating a file for a sleep time T so that the communication module retransmits the power prediction file and waits for the next file to be generated.
The file monitoring process work flow is as follows:
(2-1) receiving an Axxx.dat file uploading result state signal sent by the communication module, if uploading is successful, updating an uploading record in a history file uploading record database, and in order to ensure that uploading is not repeated, the record cannot be stored in a memory but should be stored in the database or a text file permanently, and if uploading is unsuccessful, performing the next step;
(2-2) judging whether the current time is still in the uploading window period of the Axxx.dat file, if not, turning to the step (2-4), and if so, executing the step (2-3);
(2-3) requesting the communication module to upload the Axxxx.dat file again, and continuing to the next step;
and (2-4) the process sleeps for a time T and waits for a next file.
The main work flow of the communication module is shown in fig. 2, and the communication module is used for uploading files to the scheduling master station through a specific protocol and a specific channel, and sending the uploading state to the file management module:
(3-1) judging whether channel connection is established with the scheduling master station, if not, initializing a communication module, trying to connect the master station, and if connection is established, executing the next step;
(3-2) waiting for a file upload request, if the file to be uploaded is Axx.dat, judging whether an Axx.dat.succ file exists, if so, indicating that the Axx.dat.succ file has been successfully uploaded, and if not, executing the next step;
(3-3) the communication module uploads the Axxxx.dat files to a scheduling master station, judges the uploading state, generates a local file with the file name of 0 Axxxx.dat.succ if the uploading is successful, then executes the next step, and directly transfers to the next step if the uploading is unsuccessful;
and (3-4) the communication module informs the monitoring process of the file management module of the uploading result, sleeps for time T and waits for uploading of the next file.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (7)

1. A new energy power prediction file uploading method is characterized by comprising the following steps:
s1, generating corresponding power prediction files in the time period corresponding to each time window, and sending out corresponding file uploading requests;
s2, checking whether the corresponding power prediction file has been successfully uploaded based on the file upload request: if the file is successfully uploaded, sending a status signal that the file is successfully uploaded; if the power prediction file is not uploaded and is in a corresponding time period, the corresponding power prediction file is uploaded to a scheduling master station, a successful uploading file corresponding to the uploaded power prediction file is generated and stored after successful uploading, and if the uploading is unsuccessful, a state signal of file uploading failure is sent out;
the checking whether the corresponding power prediction file has been successfully uploaded is: checking whether an uploading success file corresponding to the file of the power to be uploaded is stored;
s3, based on the status signal of file uploading failure, judging whether the current time is still in the time period of the corresponding power prediction file, if so, re-sending the file uploading request, repeating S2 to S3 until the uploading of the power prediction file of the corresponding time period is successful or exceeds the time period, and turning to S4;
s4, recording the uploading state information of the power prediction file corresponding to each time period according to the state signal that the file is successfully uploaded or the state signal that the file is unsuccessfully uploaded;
in S3, based on the status signal indicating that the file transmission has failed, it is determined whether the current time is still within the time period of the corresponding power prediction file, if so, the power prediction file corresponding to the current time period is regenerated, the file transmission request is re-issued, and S2 to S3 are repeated until the transmission of the power prediction file of the corresponding time period is successful or exceeds the time period, the power prediction file of the time period is not transmitted, and the process goes to S4.
2. The method as claimed in claim 1, wherein, assuming that the power prediction file name generated in S1 is "axxx.dat", the power prediction file is successfully uploaded to the scheduling master station in S2, and then the upload success file name corresponding to the power prediction file is generated as "axxx.dat.succ".
3. The method of claim 1, wherein the size of the upload success file is 0 KB.
4. A new energy power prediction file uploading system is characterized by comprising a file management module and a communication module:
the file management module generates corresponding power prediction files in the time period corresponding to each time window and sends corresponding file uploading requests to the communication module;
the communication module checks whether the corresponding power prediction file has been successfully uploaded based on the received file upload request: if the file is successfully uploaded, sending a state signal that the file is successfully uploaded to the file management module; if the power prediction file is not uploaded and is in a corresponding time period, the corresponding power prediction file is uploaded to a scheduling master station, a successful uploading file corresponding to the uploaded power prediction file is generated and stored after successful uploading, and if the uploading is unsuccessful, a state signal of file uploading failure is sent to a file management module;
the checking whether the corresponding power prediction file has been successfully uploaded is: checking whether an uploading success file corresponding to the file of the power to be uploaded is stored;
the file management module judges whether the current time is still in the time period of the corresponding power prediction file or not based on the state signal of file uploading failure, if so, the power prediction file of the corresponding time period is regenerated, and a file uploading request is sent to the communication module again until the uploading of the power prediction file is successful or exceeds the time period of the power prediction file, and the power prediction file is not uploaded any more;
and the file management module records the uploading state information of the power prediction file corresponding to each time period according to the state signal that the file is successfully uploaded or the state signal that the file is unsuccessfully uploaded.
5. The new energy power prediction file uploading system as claimed in claim 4, wherein the file management module comprises a file generation process and a file monitoring process;
the file generation process generates a power prediction file corresponding to the current time window in each time period;
the file monitoring process sends a file sending request to the communication module, receives and records a file uploading state signal sent by the communication module, judges whether the current time is still in a corresponding time period according to the received file uploading failure state signal, and then sends the file uploading request to the communication module again or abandons the uploading of the power prediction file in the corresponding time period.
6. The new energy power prediction file uploading system according to claim 5, further comprising a history file uploading record database; the file monitoring process updates the uploading state information of the power prediction file in the corresponding time period according to the file uploading state signal received from the communication module;
and the file generation process judges whether to regenerate the power prediction file according to the uploading state information of the power prediction file in the current time period recorded in the history file uploading record database.
7. The new energy power prediction file uploading system according to claim 4, wherein, assuming that the power prediction file name generated by the file management module is "axxx.dat", after the power prediction file is successfully uploaded to the scheduling master station, the uploading success file name corresponding to the power prediction file generated by the communication module is "axxx.dat.succ".
CN201710418809.XA 2017-06-06 2017-06-06 New energy power prediction file uploading method and system Active CN107222541B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710418809.XA CN107222541B (en) 2017-06-06 2017-06-06 New energy power prediction file uploading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710418809.XA CN107222541B (en) 2017-06-06 2017-06-06 New energy power prediction file uploading method and system

Publications (2)

Publication Number Publication Date
CN107222541A CN107222541A (en) 2017-09-29
CN107222541B true CN107222541B (en) 2020-10-16

Family

ID=59948027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710418809.XA Active CN107222541B (en) 2017-06-06 2017-06-06 New energy power prediction file uploading method and system

Country Status (1)

Country Link
CN (1) CN107222541B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561100A (en) * 2013-11-06 2014-02-05 乐视网信息技术(北京)股份有限公司 Cloud uploading method, cloud uploading system, dispatching device and client terminal
CN105306261A (en) * 2015-09-29 2016-02-03 北京奇艺世纪科技有限公司 Method, device and system for collecting logs
CN105610836A (en) * 2015-12-31 2016-05-25 浙江省公众信息产业有限公司 Data transmission method and system
CN106228278A (en) * 2016-08-19 2016-12-14 长园深瑞继保自动化有限公司 Photovoltaic power prognoses system
EP2432186A4 (en) * 2009-05-26 2016-12-28 Zte Corp File uploading realization method and system for web application

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2432186A4 (en) * 2009-05-26 2016-12-28 Zte Corp File uploading realization method and system for web application
CN103561100A (en) * 2013-11-06 2014-02-05 乐视网信息技术(北京)股份有限公司 Cloud uploading method, cloud uploading system, dispatching device and client terminal
CN105306261A (en) * 2015-09-29 2016-02-03 北京奇艺世纪科技有限公司 Method, device and system for collecting logs
CN105610836A (en) * 2015-12-31 2016-05-25 浙江省公众信息产业有限公司 Data transmission method and system
CN106228278A (en) * 2016-08-19 2016-12-14 长园深瑞继保自动化有限公司 Photovoltaic power prognoses system

Also Published As

Publication number Publication date
CN107222541A (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN106708653B (en) Mixed tax big data security protection method based on erasure code and multiple copies
US8719232B2 (en) Systems and methods for data integrity checking
CN102929220B (en) Distributed monitoring system and database server, fault processing device and fault processing method thereof
CN107453889A (en) The method for uploading and device of a kind of journal file
CN110554930A (en) Data storage method and related equipment
CN104601668B (en) Data push method, device and system based on condition managing
CN103488546A (en) Backup and recovery method capable of supporting online concurrency of multi-level data and database
JP2012108642A (en) Data collection system, and abnormality factor determination method of data collection system
CN104750596A (en) Warning information processing method and service subsystem
CN104486438A (en) Disaster-tolerant method and disaster-tolerant device of distributed storage system
CN107222541B (en) New energy power prediction file uploading method and system
CN108762118B (en) Fault processing method and device between communication devices
CN113297009B (en) Information backup method, equipment, platform and storage medium
CN107943567A (en) A kind of high reliability method for scheduling task and system based on AMQP agreements
CN104158843A (en) Storage unit invalidation detecting method and device for distributed file storage system
WO2017016130A1 (en) Message processing method and device
CN105630626A (en) Transaction backup processing method and device
CN102984160B (en) Distributed network scan task processing method and system
CN116416085A (en) Cloud management method, system, server and storage medium of battery exchange station
CN111090698B (en) Alarm synchronization method and device for centralized monitoring of distribution network 1+ N system
CN109088705B (en) Data retransmission method, retransmission equipment and gateway
CN111669389A (en) Data transmission method and device of industrial control system and related equipment
CN101971562A (en) Method, device and system for controlling automatic running process performance
CN110780134B (en) System optimization method for improving reliability of industrial control data acquisition system
CN105095248A (en) Database cluster system, restoring method for same and management node of same

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