CN102014157B - Meteorological data downloading engine and method - Google Patents

Meteorological data downloading engine and method Download PDF

Info

Publication number
CN102014157B
CN102014157B CN201010554036.6A CN201010554036A CN102014157B CN 102014157 B CN102014157 B CN 102014157B CN 201010554036 A CN201010554036 A CN 201010554036A CN 102014157 B CN102014157 B CN 102014157B
Authority
CN
China
Prior art keywords
module
meteorological
download
background information
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201010554036.6A
Other languages
Chinese (zh)
Other versions
CN102014157A (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.)
Shuguang Zhisuan Information Technology Co ltd
Original Assignee
Dawning Information Industry Beijing 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 Dawning Information Industry Beijing Co Ltd filed Critical Dawning Information Industry Beijing Co Ltd
Priority to CN201010554036.6A priority Critical patent/CN102014157B/en
Publication of CN102014157A publication Critical patent/CN102014157A/en
Application granted granted Critical
Publication of CN102014157B publication Critical patent/CN102014157B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a meteorological data downloading engine, comprising a meteorological data downloading module, an information acquisition module, an integrity detection module, a management module and a storage module, wherein the meteorological data downloading module is used for acquiring meteorological background data from one or a plurality of external servers by adopting a multi-threaded downloading mode, and has a breakpoint transmission resuming function and a multi-mirror point downloading function; the information acquisition module is used for acquiring the setting information of the downloaded meteorological background data; the integrity detection module is used for detecting the integrity of the downloaded meteorological background data in accordance with the setting information acquired by the information acquisition module; the management module is used for managing the meteorological data downloading module, the information acquisition module and the integrity detection module; and the storage module is used for storing the downloaded meteorological background data. The downloading engine and method provided by the invention have the advantages of providing rich parameters, meeting different downloading demands of users, providing multiple mirror points, multithreading and support for the breakpoint transmission resuming downloading, realizing synchronous downloading by using multiple links of a file, and ensuring high downloading speed.

Description

Meteorological data downloading engine and method
Technical field
The present invention relates to weather service process field, relate in particular to a kind of meteorological data downloading engine and method.
Background technology
Meteorological service system moves required meteorological fields data and has instantaneity, conventionally online issue complete data is used this data to do real time business system to user and forecasts to only have short period interval, and ambient field data is conventionally larger and more, downloads in time complete data to user and bring certain difficulty.
The download tool that at present large multi-user adopts often be single-threaded, without the software of breakpoint transmission function, do not possess at a high speed and stable advantage, download complete file need to the more time, cannot meet real-time operation system operation demand.
It is slower, consuming time more that downloading service system is moved required ambient field data speed, cannot meet the time requirement of real time business operation.
It is very unsane that downloading service system is moved required ambient field data instrument, do not possess breakpoint transmission function, causes required information to be downloaded imperfect.
Summary of the invention
One or more problems for existing in correlation technique, the object of the present invention is to provide a kind of meteorological data downloading engine and method, with in addressing the above problem one of at least.
For achieving the above object, according to an aspect of the present invention, a kind of meteorological data downloading engine is provided, comprise: meteorological data download module, be used for adopting multithreading downloading mode to obtain meteorological background information from one or more external servers, meteorological data download module has breakpoint transmission function and many mirror points download function; Acquisition of information module, for obtaining the configuration information of downloaded meteorological background information; Integrity detection module, the integrality of the meteorological background information of downloading for the configuration information detection of obtaining according to acquisition of information module; Administration module, for managing meteorological data download module, acquisition of information module and integrity detection module; And memory module, for storing downloaded meteorological background information.
Meteorological data download module comprises: download module, for adopting multithreading downloading mode to download meteorological background information from one or more external servers, and is stored to memory module by downloaded meteorological background information; Breakpoint transmission function activation module, for starting breakpoint transmission function according to the indication of administration module; And many mirror points download function startup module, for starting many mirror points download function according to the indication of administration module.
Integrity detection module comprises: first detection module, for detect the integrality of the meteorological background information of downloading according to the configuration information of meteorological background information; The second detection module, for detecting at first detection module in the incomplete situation of meteorological background information, detects the integrality of the data in meteorological background information; And the 3rd detection module, for detecting at the second detection module in the incomplete situation of data of meteorological background information, detect data and whether be once downloaded, and notify administration module by testing result.
The configuration information of meteorological background information comprises: the download date of meteorological background information and download interval.
Administration module comprises: the first control module, starts to download or stop downloading meteorological background information for controlling meteorological downloaded data module; And second control module, the in the situation that of being once downloaded for data being detected in integrity detection module, controlling meteorological data download module and start breakpoint transmission function; The in the situation that of not being downloaded before integrity detection module detects data, controlling meteorological data download module and start many mirror points download function; And indicating module, for according to the processing of the first control module and/or the second control module, generate corresponding indication notice to download module.
In integrity detection module, meteorological background information detected complete in the situation that, the first control module is controlled download module and is stopped downloading.
For achieving the above object, according to another aspect of the present invention, provide a kind of meteorological data method for down loading, the method comprises: by meteorological data download module, adopt multithreading downloading mode to obtain meteorological background information from one or more external servers; By acquisition of information module, obtain the configuration information of downloaded meteorological background information; The configuration information of obtaining according to acquisition of information module detects the integrality of the meteorological background information of downloading by integrity detection module, and notifies control module by testing result; And according to testing result, by administration module, control meteorological data download module and carry out respective handling.
Respective handling comprises: breakpoint transmission and/or many mirror points are downloaded.
The integrality that detects the meteorological background information of downloading comprises: according to the configuration information of meteorological background information, by first detection module, detect the integrality of downloaded meteorological background information; At first detection module, detect in the incomplete situation of meteorological background information, detect the integrality of the data in meteorological background information; And detect in the incomplete situation of data in meteorological background information at the second detection module, detect data and whether be once downloaded, and notify administration module by testing result.
The configuration information of meteorological background information comprises: the download date of meteorological background information and download interval.
Controlling meteorological data download module carries out respective handling and comprises: in the situation that integrity detection module detects data and was once downloaded, by administration module, indicate meteorological data download module startup breakpoint transmission to process; And be not downloaded before integrity detection module detects data in the situation that, by administration module, indicate meteorological data download module to start many mirror points download process.
In integrity detection module, meteorological background information detected complete in the situation that, by administration module, indicate download module to stop downloading.
Download engine of the present invention and method can provide enriches parameter, meets the different download demands of user, takes into account user's debugging and practical business system operation demand, can provide many mirror points, multithreading, support breakpoint transmission to download.Implementation method is for adopting the multithreading download tool of optimizing, can utilize a plurality of links of this document to download simultaneously, there is speed of download at a high speed, file integrity detection can be provided, possess breakpoint transmission function, minimizing causes download to be interrupted because network quality is unstable so that file is downloaded incomplete.
Accompanying drawing explanation
Fig. 1 is the block diagram of meteorological data downloading engine according to an embodiment of the invention;
Fig. 2 is the block diagram of meteorological data download module according to an embodiment of the invention;
Fig. 3 is the block diagram of integrity detection module according to an embodiment of the invention;
Fig. 4 is the block diagram of administration module according to an embodiment of the invention;
Fig. 5 is the flow chart of meteorological data method for down loading according to an embodiment of the invention; And
Fig. 6 is the schematic diagram that detects according to an embodiment of the invention the integrality of downloaded meteorological background information and carry out the flow process of respective handling.
Embodiment
Fig. 1 is the block diagram of meteorological data downloading engine according to an embodiment of the invention.As shown in Figure 1, this meteorological data downloading engine comprises: meteorological data download module 102, be used for adopting multithreading downloading mode to obtain meteorological background information from one or more external servers, meteorological data download module has breakpoint transmission function and many mirror points download function; Acquisition of information module 104, for obtaining the configuration information of downloaded meteorological background information; Integrity detection module 106, the integrality of the meteorological background information of downloading for the configuration information detection of obtaining according to acquisition of information module; Administration module 108, for managing meteorological data download module, acquisition of information module and integrity detection module; And memory module 110, for storing downloaded meteorological background information.
Fig. 2 is the block diagram of meteorological data download module according to an embodiment of the invention.As shown in Figure 2, meteorological data download module comprises: download module 1022, for adopting multithreading downloading mode to download meteorological background information from one or more external servers, and is stored to memory module by downloaded meteorological background information; Breakpoint transmission function activation module 1024, for starting breakpoint transmission function according to the indication of administration module; And many mirror points download function startup module 1026, for starting many mirror points download function according to the indication of administration module.
Fig. 3 is the block diagram of integrity detection module according to an embodiment of the invention.As shown in Figure 3, this integrity detection module comprises: first detection module 1062, for detect the integrality of the meteorological background information of downloading according to the configuration information of meteorological background information; The second detection module 1064, for detecting at first detection module in the incomplete situation of meteorological background information, detects the integrality of the data in meteorological background information; And the 3rd detection module 1066, for detecting at the second detection module in the incomplete situation of data of meteorological background information, detect data and whether be once downloaded, and notify administration module by testing result.
The configuration information of meteorological background information comprises: the download date of meteorological background information and download interval.
Fig. 4 is the block diagram of administration module according to an embodiment of the invention.As shown in Figure 4, this administration module 108 comprises: the first control module 1082, starts to download or stop downloading meteorological background information for controlling meteorological downloaded data module; And second control module 1084, the in the situation that of being once downloaded for data being detected in integrity detection module, controlling meteorological data download module and start breakpoint transmission function; The in the situation that of not being downloaded before integrity detection module detects data, controlling meteorological data download module and start many mirror points download function; And indicating module 1086, for according to the processing of the first control module and/or the second control module, generate corresponding indication notice to download module.
In integrity detection module, meteorological background information detected complete in the situation that, the first control module is controlled download module and is stopped downloading.
Fig. 5 is the flow chart of meteorological data method for down loading according to an embodiment of the invention.As shown in Figure 5, meteorological data method for down loading comprises:
Step S502, adopts multithreading downloading mode to obtain meteorological background information from one or more external servers by meteorological data download module;
Step S504, obtains the configuration information of downloaded meteorological background information by acquisition of information module;
Step S506, the configuration information of obtaining according to acquisition of information module detects the integrality of the meteorological background information of downloading by integrity detection module, and notifies control module by testing result; And
Step S508, controls meteorological data download module according to testing result by administration module and carries out respective handling.
This respective handling comprises: breakpoint transmission and/or many mirror points are downloaded.
The flow process of the integrality of the meteorological background information that as shown in Figure 6, detection is downloaded according to an embodiment of the invention comprises:
Step S602, detects the integrality of downloaded whole meteorological background informations by first detection module according to the configuration information of meteorological background information;
Step S604, detects in the incomplete situation of meteorological background information at first detection module, detects the integrality of the data in meteorological background information; And
Whether step S606, detects in the incomplete situation of data in meteorological background information at the second detection module, detect data and be once downloaded, and notify administration module by testing result.
The configuration information of meteorological background information comprises: the download date of meteorological background information and download interval.
As shown in Figure 6, controlling according to an embodiment of the invention the flow process that meteorological data download module carries out respective handling comprises: step S608, in the situation that integrity detection module detects data and was once downloaded, by administration module, indicate meteorological data download module to start breakpoint transmission and process; And step S610, the in the situation that of not being downloaded before integrity detection module detects data, by administration module, indicate meteorological data download module to start many mirror points download process.
In integrity detection module, meteorological background information detected complete in the situation that, by administration module, indicate download module to stop downloading.
By the present invention, can reach following technique effect:
1, download engine of the present invention and method can provide and enrich parameter, meet the different download demands of user, take into account user's debugging and practical business system operation demand.
2, download engine of the present invention and method can provide many mirror points, multithreading, support breakpoint transmission to download.Implementation method, for adopting the multithreading download tool of optimizing, can utilize a plurality of links of this document to download simultaneously, has speed of download at a high speed.
3, download engine of the present invention and method can provide file integrity detection, possess breakpoint transmission function, and minimizing causes download to be interrupted because network quality is unstable so that file is downloaded incomplete.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (8)

1. a meteorological data download system, is characterized in that, comprising:
Meteorological data download module, for adopting multithreading downloading mode to obtain meteorological background information from one or more external servers, described meteorological data download module has breakpoint transmission function and many mirror points download function;
Acquisition of information module, for obtaining the configuration information of downloaded meteorological background information, wherein, the configuration information of described meteorological background information comprises download date and the download interval of described meteorological background information;
Integrity detection module, the integrality of the meteorological background information of downloading for the configuration information detection of obtaining according to described acquisition of information module, wherein, described integrity detection module comprises:
First detection module, for detecting the integrality of the meteorological background information of downloading according to the configuration information of described meteorological background information;
The second detection module, for detecting at described first detection module in the incomplete situation of described meteorological background information, detects the integrality of the data in described meteorological background information; And
Whether the 3rd detection module, for detecting in the incomplete situation of described data of described meteorological background information at described the second detection module, detect described data and be once downloaded, and notify administration module by testing result;
Administration module, for managing described meteorological data download module, described acquisition of information module and described integrity detection module; And
Memory module, for storing downloaded meteorological background information.
2. meteorological data download system according to claim 1, is characterized in that, described meteorological data download module comprises:
Download module, for adopting multithreading downloading mode to download described meteorological background information from one or more external servers, and is stored to described memory module by downloaded meteorological background information;
Breakpoint transmission function activation module, for starting breakpoint transmission function according to the indication of described administration module; And
Many mirror points download function starts module, for starting many mirror points download function according to the indication of described administration module.
3. meteorological data download system according to claim 1, is characterized in that, described administration module comprises:
The first control module, starts to download or stops downloading described meteorological background information for controlling described meteorological data download module; And
The second control module, the in the situation that of being once downloaded, controlling described meteorological data download module and starts breakpoint transmission function for described data being detected in described integrity detection module; The in the situation that of not being downloaded before described integrity detection module detects described data, controlling described meteorological data download module and start many mirror points download function;
Indicating module, for according to the processing of described the first control module and/or described the second control module, generates corresponding indication notice to described download module.
4. meteorological data download system according to claim 3, is characterized in that, in described integrity detection module, described meteorological background information detected complete in the situation that, and described the first control module is controlled described download module and stopped downloading.
5. a meteorological data method for down loading, is characterized in that, described method comprises:
By meteorological data download module, adopt multithreading downloading mode to obtain meteorological background information from one or more external servers;
By acquisition of information module, obtain the configuration information of downloaded meteorological background information, wherein, the configuration information of described meteorological background information comprises: the download date of described meteorological background information and download interval;
The configuration information of obtaining according to described acquisition of information module detects the integrality of the meteorological background information of downloading by integrity detection module, and notifies administration module by testing result, and wherein, the integrality of the meteorological background information that described detection is downloaded comprises:
According to the configuration information of described meteorological background information, by first detection module, detect the integrality of downloaded meteorological background information;
At described first detection module, detect in the incomplete situation of described meteorological background information, by the second detection module, detect the integrality of the data in described meteorological background information; And
At described the second detection module, detect in the incomplete situation of described data in described meteorological background information, detect described data and whether be once downloaded and obtained testing result; And
According to described testing result, by described administration module, control described meteorological data download module and carry out respective handling.
6. method according to claim 5, is characterized in that, described respective handling comprises: breakpoint transmission and/or many mirror points are downloaded.
7. method according to claim 5, is characterized in that, controls described meteorological data download module and carries out respective handling and comprise:
In the situation that described integrity detection module detects described data and was once downloaded, by described administration module, indicate described meteorological data download module to start breakpoint transmission and process; And
The in the situation that of not being downloaded before described integrity detection module detects described data, by described administration module, indicate described meteorological data download module to start many mirror points download process.
8. method according to claim 7, is characterized in that, in described integrity detection module, described meteorological background information detected complete in the situation that, by described administration module, indicates described download module to stop downloading.
CN201010554036.6A 2010-11-19 2010-11-19 Meteorological data downloading engine and method Active CN102014157B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010554036.6A CN102014157B (en) 2010-11-19 2010-11-19 Meteorological data downloading engine and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010554036.6A CN102014157B (en) 2010-11-19 2010-11-19 Meteorological data downloading engine and method

Publications (2)

Publication Number Publication Date
CN102014157A CN102014157A (en) 2011-04-13
CN102014157B true CN102014157B (en) 2014-01-15

Family

ID=43844165

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010554036.6A Active CN102014157B (en) 2010-11-19 2010-11-19 Meteorological data downloading engine and method

Country Status (1)

Country Link
CN (1) CN102014157B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102354003B (en) * 2011-08-31 2013-04-17 福建四创软件有限公司 Typhoon real-time acquisition method based on customized rule
CN103856533A (en) * 2012-12-06 2014-06-11 镇江畅远信息科技有限公司 Patent literature downloading method
CN105306532A (en) * 2015-09-17 2016-02-03 中国电建集团成都勘测设计研究院有限公司 System and method for improving data downloading reliability and speed in meteorological model system
CN106528218B (en) * 2016-10-26 2018-12-21 中国水利水电科学研究院 A kind of Global Forecast System data download method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852307A (en) * 2005-10-10 2006-10-25 华为技术有限公司 Data downloading method
CN1905697A (en) * 2006-06-08 2007-01-31 ***通信集团公司 Cell phone map mobile terminal platform embedded in mobile terminal
CN101472140A (en) * 2007-12-28 2009-07-01 上海高翔广告传播有限公司 System for distributing and requiring multimedia program and implementing method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1852307A (en) * 2005-10-10 2006-10-25 华为技术有限公司 Data downloading method
CN1905697A (en) * 2006-06-08 2007-01-31 ***通信集团公司 Cell phone map mobile terminal platform embedded in mobile terminal
CN101472140A (en) * 2007-12-28 2009-07-01 上海高翔广告传播有限公司 System for distributing and requiring multimedia program and implementing method thereof

Also Published As

Publication number Publication date
CN102014157A (en) 2011-04-13

Similar Documents

Publication Publication Date Title
CN104268055B (en) The monitoring method and device of a kind of program exception
CN107147810B (en) Information reminding method and device, storage medium and electronic equipment
CN107111632B (en) Method and system for regulating communications at a mobile communication device
EP2697711A2 (en) Push notifications for updating multiple dynamic icon panels
JP2018515871A (en) Group management method, terminal, and storage medium
CN102014157B (en) Meteorological data downloading engine and method
CN102624576A (en) Method for automatically testing webpage downloading time of browser and system thereof
CN111669717B (en) Cloud mobile phone data sending method, computer device and storage medium
CN102710665A (en) Mobile terminal, and data synchronization method of server and mobile terminal
CN107465599A (en) Schedule method to set up and device in a kind of instant messaging
CN110138573B (en) Conference state prompting method, server, intelligent terminal and storage medium
US9519537B2 (en) Apparatus, system and method for application log data processing
EP2584507A1 (en) System and methods for event attendance notification
CN105808983B (en) Method and device for limiting application service time
CN105100214A (en) Information synchronization method, device and system
CN105511847A (en) Method and device for controlling application, and terminal
KR102020358B1 (en) Terminal and method for synchronizing application thereof
CN116954873B (en) Heterogeneous computing system, and method, device, equipment and medium for selecting power nodes of heterogeneous computing system
CN103634327A (en) Remote terminal control method and remote terminal control device
CN102169534A (en) Method and device for displaying watermark
CN113535364A (en) Task scheduling method and device
CN103763181A (en) Automatic attribute setting device and method
CN106161656B (en) Interface jumping method and device
CN105100244A (en) Head portrait setting method and apparatus
CN113728346A (en) Method and system for synchronizing communications in a communication environment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100193 Beijing, Haidian District, northeast Wang West Road, building 8, No. 36

Applicant after: Dawning Information Industry (Beijing) Co.,Ltd.

Address before: 100084 Beijing Haidian District City Mill Street No. 64

Applicant before: Dawning Information Industry (Beijing) Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: 100089 building 36, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Patentee after: Dawning Information Industry (Beijing) Co.,Ltd.

Patentee after: DAWNING INFORMATION INDUSTRY Co.,Ltd.

Address before: 100193 No. 36 Building, No. 8 Hospital, Wangxi Road, Haidian District, Beijing

Patentee before: Dawning Information Industry (Beijing) Co.,Ltd.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20230914

Address after: Zone A-1, 2nd Floor, Building 36, Yard 8, Dongbei Wangxi Road, Haidian District, Beijing, 100193

Patentee after: Shuguang zhisuan Information Technology Co.,Ltd.

Address before: 100089 building 36, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Patentee before: Dawning Information Industry (Beijing) Co.,Ltd.

Patentee before: DAWNING INFORMATION INDUSTRY Co.,Ltd.