CN107766047A - A kind of Meteorological Models cloud disposes device - Google Patents
A kind of Meteorological Models cloud disposes device Download PDFInfo
- Publication number
- CN107766047A CN107766047A CN201710845131.3A CN201710845131A CN107766047A CN 107766047 A CN107766047 A CN 107766047A CN 201710845131 A CN201710845131 A CN 201710845131A CN 107766047 A CN107766047 A CN 107766047A
- Authority
- CN
- China
- Prior art keywords
- subsystem
- dependence
- bag
- meteorological models
- client
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/40—Transformation of program code
- G06F8/41—Compilation
- G06F8/42—Syntactic analysis
- G06F8/427—Parsing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of Meteorological Models cloud to dispose device, first, it is according to the software environment of destination server, analyze the dependent software package required for Meteorological Models, by installing automatically, simplify the installation of Meteorological Models, realize Meteorological Models Fast Installation, and in compilation process, occur without any localization source code.It is an advantage of the current invention that it while to be user install Meteorological Models and substantially reduce the lower deployment cost of user automatically, reduces the resolved possibility of localization source code, ensures the knowledge privacy of scientific research personnel.
Description
Technical field
The present invention relates to a kind of Meteorological Models cloud to dispose device, belongs to Meteorological Models Applied research fields.
Background technology
Meteorological Models are used for weather forecast.Meteorological Models are based on the exploitation of third party's bottom storehouse, and are deployed in linux systems
System so that when forecaster installs Meteorological Models, through being commonly encountered many difficulties.Current solution is from behaviour according to forefathers' experience
Make system all oneself to install one time to miscellaneous bottom storehouse.Take a significant amount of time for finding third party library, differentiating not
Same storehouse version etc..Meanwhile the non-domestic-developed of conventional Meteorological Models, many modules are not suitable for domestic weather bars in pattern
Part is, it is necessary to which scientific research personnel is localized to the part of module in pattern, so as to adapt to China's actual conditions.Needed during due to Installation Modes
The source code of all modules is compiled, therefore, ambitious people can parse scientific research by way of searching and localizing source code
The localization thinking of personnel, scientific research personnel's knowledge privacy can not be ensured.
The content of the invention
The technical problems to be solved by the invention are to provide a kind of Meteorological Models cloud deployment device, simple and convenient providing
While Meteorological Models deployment scheme, the development of scientific research personnel is effectively protected.First, it is according to the software of destination server
Environment, the dependent software package required for Meteorological Models is analyzed, by installing automatically, simplify the installation of Meteorological Models, realize gas
As pattern Fast Installation, and in compilation process, any localization source code is occurred without.It is an advantage of the current invention that it can be
While user installs Meteorological Models and substantially reduces the lower deployment cost of user automatically, the resolved possibility of localization source code is reduced,
Ensure the knowledge privacy of scientific research personnel.
The present invention uses following technical scheme to solve above-mentioned technical problem:
The present invention provides a kind of Meteorological Models cloud deployment device, is made up of client and high in the clouds two parts, wherein, client according to
The home environment information of collection, generation rely on list and are committed to high in the clouds, and installation is specific after the download index in high in the clouds is obtained
Meteorological Models;Index is downloaded in the dependence list that high in the clouds is submitted according to client, generation.
As the further technical scheme of the present invention, client include relying under Packet analyzing subsystem, cloud subsystems and
Servo-drive subsystem is installed, wherein, rely on Packet analyzing subsystem and be used to generate dependence list simultaneously according to the home environment information of collection
High in the clouds is committed to, relying on list includes environmental information with relying on package informatin;Subsystems are used to monitor high in the clouds under cloud, and are obtaining
Related dependant bag and SO files are downloaded according to its content after downloading index, activation installation servo subsystem after download
System;After installation servo-drive subsystem gets out required dependence bag and corresponding SO files for subsystems below clouds, to Meteorological Models
It is compiled, generates the executable file of Meteorological Models.
As the further technical scheme of the present invention, the calculating for relying on the scanning of Packet analyzing subsystem and being connected with client
The operating system configuring condition of machine, according to the dependence bag needed for Meteorological Models, confirm that Meteorological Models lack dependence bag, and will missing
Dependence bag be identified, generation rely on list;The environmental information relied in list includes client id, IP, operating system version
This number, relying on package informatin includes bag title and bag version.
As the further technical scheme of the present invention, the download link that index is related dependant bag and SO files is downloaded
Location.
As the further technical scheme of the present invention, high in the clouds includes communications subsystem, software storage, index generation
System and chained library generation subsystem, wherein, communications subsystem, for receive client submission dependence list and to
Client issues download index;Software storage, including for depositing the mirror site and storage gas of various operating system image files
As the dependence parcel of the various dependence bags of pattern;Index generation subsystem, for according to communications subsystem receive according to
Rely list, prepare required rely on and wrap, and generate download address for client downloads, meanwhile, generated for chained library in subsystem
The SO file generated download address of Docker containers generation is for client downloads;Chained library generates subsystem, for local
Change source code to be compiled, the dependence list that package informatin is received by communications subsystem is relied on needed for compilation process and is provided.
As the further technical scheme of the present invention, chained library generation subsystem, parse, obtain to relying on list first
After taking environmental information, the system image file same or like with client operating system is retrieved in mirror site;Then obtain
All dependence package informatins are taken, and retrieval copies to dependence bag catalogue in parcel is relied on, and passes through the plug-in storage of Docker containers
Ability, the dependence bag catalogue is made into single mirror image, covered on startup using the-volume-from parameters of Docker containers
Lid falls to run the respective directories of container, the operation of Docker containers, calls localization source code bag to be compiled, generates SO files.
As the further technical scheme of the present invention, localization source code bag refers to by scientific research personnel itself to Meteorological Models
Change, be not desired to disclosed source code.
The present invention compared with prior art, has following technique effect using above technical scheme:The present invention is providing letter
While single easily Meteorological Models deployment scheme, for user gas can be installed automatically actively according to destination server software environment
As pattern substantially reduces the lower deployment cost of user.
Brief description of the drawings
Fig. 1 is the high in the clouds structured flowchart of the present invention.
Embodiment
Technical scheme is described in further detail below in conjunction with the accompanying drawings:
The present invention proposes a kind of Meteorological Models cloud deployment device, is made up of client and high in the clouds two parts.Client is responsible for receiving
Collect local environmental information, generation relies on list and is committed to high in the clouds, and after " the downloading index " in high in the clouds is obtained, is responsible for installation
Specific Meteorological Models.The dependence list submitted according to client is responsible in high in the clouds, and generation " downloads index ".
Client mainly includes:Rely on three compositions of subsystems and installation servo-drive subsystem under Packet analyzing subsystem, cloud
Part, wherein:
Packet analyzing subsystem is relied on, it is main to be responsible for generation dependence list, and the inventory is sent to high in the clouds.Concrete function is main
Have:
1)The operating system configuring condition of computer being connected with client is scanned, according to the dependence bag needed for Meteorological Models, really
Recognize Meteorological Models and lack dependence bag, and the dependence bag of missing is identified, generation relies on list.List is relied on including environment to believe
Breath includes with relying on package informatin two parts, environmental information:Client id, IP, operating system version number etc.;Rely on package informatin bag
Include:Bag title and bag version;
2)List will be relied on to send to high in the clouds;
Subsystems under cloud, it is responsible for monitoring high in the clouds, after obtaining " downloading index ", according to its content to related dependant bag and SO files
It is downloaded, after download, activation installation servo-drive subsystem carries out installation process.Wherein, " download is drawn " refers to by correlation
Rely on the download link address of bag and SO files;
Servo-drive subsystem is installed, after " subsystems under cloud " get out required dependence bag and corresponding SO files, to Meteorological Models
It is compiled, generates the executable file of Meteorological Models.
As shown in figure 1, high in the clouds mainly includes:Communications subsystem, software storage, index generation subsystem and chained library
Four parts of subsystem are generated, wherein:
Communications subsystem, it is responsible for receiving the dependence list that client is sent, and is issued " download and index " to client;
Software storage, including for depositing various operating system image files(That is OS system images)OS mirror sites and storage gas
As the dependence parcel of the various dependence bags of pattern;
Index generation subsystem, it is responsible for the dependence list sent according to client, relies on bag needed for preparation, and generate download address
For client downloads.Meanwhile the SO file generateds generated for " Docker containers " in " chained library generation subsystem " download ground
Location, for client downloads;
Chained library generates subsystem, is responsible for being compiled localization source code, package informatin is relied on needed for compilation process by " communication
The dependence list that transmission subsystem " obtains provides.Specifically, subsystem dependence list first first is parsed, and obtains ring
After environment information, the OS image file same or like with client operating system is retrieved in " OS mirror sites ";Then obtain
All dependence package informatins, and retrieval copies to " relying on bag catalogue " in " dependence parcel ", passes through Docker plug-in storage energy
Power, the catalogue is made into single mirror image, overriding operation on startup using Docker "-volume-from " parameter holds
The respective directories of device.Such benefit is to provide clean translation and compiling environment, reduces the service processing time in high in the clouds and reduce storing
Space waste." Docker containers " is run, and is called " localization source code bag " to be compiled, is generated SO files.Wherein, " localization
Source code bag " refers to, by modification of the scientific research personnel oneself to Meteorological Models, be not desired to disclosed source code.
It is described above, it is only the embodiment in the present invention, but protection scope of the present invention is not limited thereto, and is appointed
What be familiar with the people of the technology disclosed herein technical scope in, it will be appreciated that the conversion or replacement expected, should all cover
Within the scope of the present invention, therefore, protection scope of the present invention should be defined by the protection domain of claims.
Claims (7)
1. a kind of Meteorological Models cloud disposes device, it is characterised in that it is made up of client and high in the clouds two parts, wherein, client
According to the home environment information of collection, generation relies on list and is committed to high in the clouds, and is installed after the download index in high in the clouds is obtained
Specific Meteorological Models;Index is downloaded in the dependence list that high in the clouds is submitted according to client, generation.
2. a kind of Meteorological Models cloud deployment device according to claim 1, it is characterised in that client includes relying on bag solution
Subsystems and installation servo-drive subsystem under subsystem, cloud are analysed, wherein, Packet analyzing subsystem is relied on for the local according to collection
Environmental information generation relies on list and is committed to high in the clouds, and relying on list includes environmental information with relying on package informatin;Cloud downloads subsystem
Unite for monitoring high in the clouds, and related dependant bag and SO files are downloaded according to its content after download index is obtained, download
After activation installation servo-drive subsystem;Installation servo-drive subsystem is used for subsystems below clouds and gets out required dependence bag and phase
After answering SO files, Meteorological Models are compiled, generate the executable file of Meteorological Models.
A kind of 3. Meteorological Models cloud deployment device according to claim 2, it is characterised in that the dependence Packet analyzing subsystem
The operating system configuring condition for the computer that system scanning is connected with client, according to the dependence bag needed for Meteorological Models, confirm gas
Wrapped as pattern lacks dependence, and the dependence bag of missing is identified, generation relies on list;Rely on the environmental information bag in list
Client id, IP, operating system version number are included, relying on package informatin includes bag title and bag version.
4. a kind of Meteorological Models cloud deployment device according to claim 2, it is characterised in that it is related dependant to download index
The download link address of bag and SO files.
5. a kind of Meteorological Models cloud deployment device according to claim 1, it is characterised in that high in the clouds includes communications
System, software storage, index generation subsystem and chained library generation subsystem, wherein, communications subsystem, for receiving visitor
The dependence list and issue download index to client that family end is submitted;Software storage, including for depositing various operating systems
The dependence parcel of the mirror site of image file and the various dependence bags of storage Meteorological Models;Index generation subsystem, for basis
The dependence list that communications subsystem receives, prepare needed for rely on bag, and generate download address for client downloads, together
When, the SO file generated download address of Docker containers generation in subsystem is generated for client downloads for chained library;Link
Storehouse generates subsystem, and for being compiled to localization source code, package informatin is relied on needed for compilation process by communications subsystem
The dependence list received of uniting provides.
A kind of 6. Meteorological Models cloud deployment device according to claim 5, it is characterised in that chained library generates subsystem,
First to rely on list parse, obtain environmental information after, retrieved in mirror site it is identical with client operating system or
Similar system image file;Then all dependence package informatins are obtained, and retrieval copies to dependence bag catalogue in parcel is relied on,
By the plug-in storage capacity of Docker containers, the dependence bag catalogue is made into single mirror image, using Docker containers-
Volume-from parameters override the respective directories of operation container on startup, the operation of Docker containers, call localization source code
Bag is compiled, and generates SO files.
A kind of 7. Meteorological Models cloud deployment device according to claim 6, it is characterised in that localization source code bag refer to by
Modification of the scientific research personnel itself to Meteorological Models, it is not desired to disclosed source code.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710845131.3A CN107766047B (en) | 2017-09-19 | 2017-09-19 | Meteorological mode cloud deployment device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710845131.3A CN107766047B (en) | 2017-09-19 | 2017-09-19 | Meteorological mode cloud deployment device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107766047A true CN107766047A (en) | 2018-03-06 |
CN107766047B CN107766047B (en) | 2020-09-08 |
Family
ID=61265518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710845131.3A Active CN107766047B (en) | 2017-09-19 | 2017-09-19 | Meteorological mode cloud deployment device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107766047B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109725909A (en) * | 2018-05-07 | 2019-05-07 | 中国平安人寿保险股份有限公司 | Code file is packaged dispositions method, continuous integrating server and system |
CN110851143A (en) * | 2018-08-21 | 2020-02-28 | 阿里巴巴集团控股有限公司 | Source code deployment method, device, equipment and storage medium |
CN111552010A (en) * | 2020-04-28 | 2020-08-18 | 杨军 | Satellite remote sensing quick response and visualization service platform for global meteorological disasters |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7076781B2 (en) * | 2002-05-31 | 2006-07-11 | International Business Machines Corporation | Resource reservation for large-scale job scheduling |
CN102404381A (en) * | 2011-09-02 | 2012-04-04 | 西安交通大学 | Software deployment system and deployment method based on workflow in cloud computing environment |
CN103677907A (en) * | 2013-12-03 | 2014-03-26 | 曙光信息产业(北京)有限公司 | Installation method and installation device for environmental forecast type application components |
CN105721423A (en) * | 2014-12-19 | 2016-06-29 | 三星电子株式会社 | Electronic Apparatus, Cloud Server, Game Service Providing System And Game Service Providing Method Thereof |
CN105760201A (en) * | 2016-02-29 | 2016-07-13 | 华为技术有限公司 | Starting method and starting device of embedded type device |
WO2016188560A1 (en) * | 2015-05-26 | 2016-12-01 | Telefonaktiebolaget Lm Ericsson (Publ) | Data protection control |
CN107168742A (en) * | 2017-05-19 | 2017-09-15 | 中南大学 | Application quick deployment method based on customization Android platform |
-
2017
- 2017-09-19 CN CN201710845131.3A patent/CN107766047B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7076781B2 (en) * | 2002-05-31 | 2006-07-11 | International Business Machines Corporation | Resource reservation for large-scale job scheduling |
CN102404381A (en) * | 2011-09-02 | 2012-04-04 | 西安交通大学 | Software deployment system and deployment method based on workflow in cloud computing environment |
CN103677907A (en) * | 2013-12-03 | 2014-03-26 | 曙光信息产业(北京)有限公司 | Installation method and installation device for environmental forecast type application components |
CN105721423A (en) * | 2014-12-19 | 2016-06-29 | 三星电子株式会社 | Electronic Apparatus, Cloud Server, Game Service Providing System And Game Service Providing Method Thereof |
WO2016188560A1 (en) * | 2015-05-26 | 2016-12-01 | Telefonaktiebolaget Lm Ericsson (Publ) | Data protection control |
CN105760201A (en) * | 2016-02-29 | 2016-07-13 | 华为技术有限公司 | Starting method and starting device of embedded type device |
CN107168742A (en) * | 2017-05-19 | 2017-09-15 | 中南大学 | Application quick deployment method based on customization Android platform |
Non-Patent Citations (1)
Title |
---|
王然: "基于云计算的ERP系统的设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109725909A (en) * | 2018-05-07 | 2019-05-07 | 中国平安人寿保险股份有限公司 | Code file is packaged dispositions method, continuous integrating server and system |
CN109725909B (en) * | 2018-05-07 | 2023-07-21 | 中国平安人寿保险股份有限公司 | Code file packaging deployment method, continuous integrated server and system |
CN110851143A (en) * | 2018-08-21 | 2020-02-28 | 阿里巴巴集团控股有限公司 | Source code deployment method, device, equipment and storage medium |
CN110851143B (en) * | 2018-08-21 | 2024-04-05 | 阿里巴巴集团控股有限公司 | Source code deployment method, device, equipment and storage medium |
CN111552010A (en) * | 2020-04-28 | 2020-08-18 | 杨军 | Satellite remote sensing quick response and visualization service platform for global meteorological disasters |
Also Published As
Publication number | Publication date |
---|---|
CN107766047B (en) | 2020-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107426023B (en) | Cloud platform log collection and forwarding method, system, equipment and storage medium | |
CN103106205B (en) | In the method and apparatus that mobile terminal browses file | |
CN107766047A (en) | A kind of Meteorological Models cloud disposes device | |
CA2604899C (en) | System and method for discovering component applications | |
CN102694861B (en) | A kind of terminal application software sorting technique, Apparatus and system based on cloud | |
CN103177116B (en) | A kind of distributed information log based on two-stage index is processed and querying method | |
CN102855152B (en) | The method and system of resource file in upgrade applications | |
CN110908703B (en) | Software package warehouse on-demand mirroring method, device and system | |
CN106612188A (en) | Method and device for extending software function based on micro service architecture | |
US10063669B2 (en) | Communication device, management device, processing method, and computer-readable recording medium having processing program stored therein | |
CN105049532A (en) | Method and device for packaging SDK package, and method and device for downloading SDK package | |
CN109495433A (en) | Data download method and device, storage medium and electronic device | |
CN104660678A (en) | Application data sharing method and device | |
CN107211232A (en) | The interworking of lightweight Machine To Machine agreement and device management agreement | |
CN103176769A (en) | Customizable software deployment, installation method and system | |
CN104092792A (en) | Method, system and client-side for achieving flow optimization based on domain name resolution request | |
Faschang et al. | Provisioning, deployment, and operation of smart grid applications on substation level: bringing future smart grid functionality to power distribution grids | |
CN103685543A (en) | Method and system for data synchronism between heterogeneous databases | |
US20140096237A1 (en) | Information processing system, access right management method, information processing apparatus and control method and control program therefor | |
CN102662712B (en) | The method, apparatus and system of acquisition, pushing application program | |
CN107463657A (en) | File operation method and terminal | |
CN102497436A (en) | Networked file storing method and system based on HTTP (Hyper Text Transport Protocol) | |
EP2897053A1 (en) | Device management method and apparatus | |
CN110333874A (en) | A kind of iOS system installation kit collecting method, device, equipment and medium | |
Vasconcelos et al. | An adaptive middleware for opportunistic mobile sensing |
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 |