CN110096289A - The quick deployment method of automatic Pilot heterogeneous platform exploitation environment - Google Patents
The quick deployment method of automatic Pilot heterogeneous platform exploitation environment Download PDFInfo
- Publication number
- CN110096289A CN110096289A CN201910570715.3A CN201910570715A CN110096289A CN 110096289 A CN110096289 A CN 110096289A CN 201910570715 A CN201910570715 A CN 201910570715A CN 110096289 A CN110096289 A CN 110096289A
- Authority
- CN
- China
- Prior art keywords
- installation
- warehouse
- file
- equipment
- server
- 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/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
- G06F8/658—Incremental updates; Differential updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The present invention provides a kind of quick deployment method of automatic Pilot heterogeneous platform exploitation environment, this method is based on GIT and script completes continuous integrating, and complicated configuration and starting work are completed by two warehouse GIT files (installation module and functional module) simple deployment.The corresponding blindness for avoiding and wasting time that updates synchronizes, but first judges network state.Before synchronization, first judge whether local and server distal end is variant, whether just determining synchronous.Corresponding installation software also avoids whole refittings, but accomplishes the installation of differentiation.When use, the installation module and functional module of deployment are all integrated into warehouse to upload onto the server, according to whether having differences after booting networking, determine to execute concrete operations, the inefficient work such as with meaningless synchronous, installation and compiling are avoided, the function of iteratively faster and continuous integrating is realized.
Description
Technical field
The present invention relates to automatic Pilot technical fields, and in particular to a kind of solution automatic Pilot heterogeneous platform quickly develops ring
The method of border deployment.
Background technique
As the rapid advances and computing platform performance of science and technology are substantially improved, forward-looking technology --- from
Dynamic driving technology, is remolding our world.
Automatic Pilot is to rely on vision module, laser radar, millimetre-wave radar, ultrasonic radar, the multisensors such as GPS,
By the acquisition and fusion of data, around core functions such as environment sensing, high accuracy positioning, decision rule, controls, collaboration is closed
Make common complete.
In the development process of automatic Pilot heterogeneous platform, it would be desirable to complete the fusions of various sensors, algorithm is realized,
The demand of object detection, PID control etc., these concrete functions is different, has height to have the calculation power demand of chip low, then can not keep away
It needs with exempting from the hardware and platform of different performance, different exploitation and running environment are built in deployment respectively, to reach phase
The purpose answered realizes the function of differentiation.
Currently used exploitation environment and code dispositions method, have using script and realize, the configuration text of with good grounds complexity
Part realizes, or realized by Docker mirror image etc..
But software development environment has the demand of iteratively faster and update, traditional method will one by one pacify equipment manually
Dress perhaps updates operation or makes different Docker mirror images.It is not only cumbersome, also error-prone.If Docker mirror image
It is excessive, it also results in load and operation duration increases.
Also have WebHook and Jekins using GIT to realize continuous integrating, but this just need it is right on code storage
The Payload URL in webhook should be configured.Playload URL needs to be public network domain name, and corresponding multiple and different deployment is set
Standby, Playload URL needs to increase one by one.Public network domain name is to need monthly to charter, and multiple and different equipment just need to configure more
A public network domain name.As the equipment that automatic driving vehicle uses increases, this part can all be included in cost.
The quick exploitation environment deployment for how solving automatic Pilot heterogeneous platform, just becomes technical problem urgently to be resolved.
Summary of the invention
Goal of the invention: inefficient and meaningless same in order to be avoided in the deployment of the exploitation environment of automatic Pilot heterogeneous platform
Work, the present invention such as step, installation and compiling provide a kind of quick deployment method.
Technical solution: in order to solve the above technical problems, the present invention provides a kind of automatic Pilot heterogeneous platform exploitation environment
Quick deployment method, comprising the following steps:
Different fixation IP is arranged for every block device in step 1
Step 2 configures starting up and virtual network controls platform startup file
Step 3 generates public key and configures at code server end
Starting up's file in step 2 is accomplished by
Step 1, functions of the equipments are judged by current device IP;
Step 2, judge whether equipment couples outer net, step 5 is leapt to if not networking;If outer net couples, jump to
Step 3;
Step 3, then judge that module warehouse is installed in equipment whether there is:
3.1 if it does, compare installation module warehouse local branch and remote server respective branches it is whether variant:
3.1.1 if variant, parsing difference and the newly-increased installation software information of extraction execute increment installation, from server sync
Module warehouse file is installed;
3.1.2 if without difference, step 4 is jumped to;
3.2 if it does not exist, then clone installation module warehouse from server, and parsing installation file information executes installation;
Step 4, judge that functional module warehouse whether there is in equipment:
4.1 if it does, whether the local branch in comparing function module warehouse and remote server respective branches are variant:
4.1.1 if it is variant, it executes from server sync compared with functional module warehouse file, compiles newest mirror image;
4.1.2 if without difference, step 5 is jumped to;
Step 5, it startup function module and runs.
This method is to complete continuous integrating based on GIT and script.Pass through two warehouse files (installation module and function mould
Block) simple deployment completion complicated configuration and starting work.
Because in automatic Pilot heterogeneous platform, multiple equipment only can just be powered in vehicle body start-up course, so
The update of server end will not be synchronized to equipment end in time.The corresponding blindness for avoiding and wasting time that updates synchronizes, but first sentences
Circuit network state.Before synchronization, first judge whether local and server distal end is variant, whether just determining synchronous.Corresponding installation
Software also avoids whole refittings, but accomplishes the installation of differentiation.It avoids configuration personnel and draws manually and remove code, software is installed
Etc. repetitive operations, realize the function of iteratively faster and continuous integrating.
It is worked by way of being superimposed hardware device module in automatic Pilot heterogeneous platform, but can not be each equipment
It is all equipped with display device, this method also introduces virtual network controls platform.
It uploads onto the server in use, the installation module and functional module of deployment are all integrated into warehouse, after booting networking
According to whether have differences, determine to execute concrete operations, avoids the inefficient work such as with meaningless synchronous, installation and compiling.
The utility model has the advantages that being realized using distributed development tool GIT more simple and efficient the present invention is based on unix environment
Dispositions method, realize low cost continuous integrating and iteratively faster function, compared with prior art, have it is following significantly into
Step:
1. iteration and continuous integrating only need to be switched on can be performed automatically, the public network domain name and installation without configuring muti-piece equipment are multiple
Miscellaneous configuration item.
2. deployed environment is uploaded onto the server, differentiation mount message is obtained automatically by simultaneously operating, without complexity
The storage of additional deployment information.
3. directly being realized by virtual network controls platform, without configuring additional display equipment.
Except it is above-described present invention solves the technical problem that, constitute technical solution technical characteristic and by these technologies
Outside advantage brought by the technical characteristic of scheme.To keep the object of the invention, technical scheme and beneficial effects clearer, below will
In conjunction with the attached drawing in the embodiment of the present invention, to other for including in the other technologies problem of the invention that can solve, technical solution
The advantages of technical characteristic and these technical characteristics are brought does apparent, complete description.
Detailed description of the invention
Fig. 1 is automatic Pilot heterogeneous platform deployed with devices distribution map;
Fig. 2 is the flow chart for disposing preparation;
Fig. 3 is the deployment expansion flow diagram of the embodiment of the present invention.
Specific embodiment
Embodiment
For the present embodiment using GITLAB Open Source Code warehouse as server, system architecture is as shown in Figure 1.
Module warehouse and operation module warehouse are installed in building respectively on server.Installing module warehouse is in a warehouse
Establish multiple Branch adaptation different function equipment;And module warehouse is run for different function, establish multiple and different target bins
Library.
When deployment facility, the corresponding function of every block device and IP are unique fixations in the local area network of automatic Pilot
Mark.
The ssh rsa key of each equipment is configured to server.
Multiple equipment uses the same configuration script file, can be run in equipment start-up course.
As shown in Fig. 2, the preparation of deployment only needs following simple three step, complicated and redundancy a variety of behaviour are avoided
Make
1. the fixed IP of equipment is arranged
2. configuring starting up and virtual network controls platform startup file
3. configuring ssh-key in code server
Starting up's file of deployment is triggered in equipment starting by Linux timed task.In starting up's file,
It will start virtual network controls platform.Configuration personnel can easily check when needed.
The detailed process for disposing expansion is as shown in Figure 3:
The starting of virtual network controls platform, can trigger the virtual network controls platform startup file of operation deployment.
Virtual network controls platform startup file completes the works such as a series of installation module, compiling source code, starting device function
Make
1. current device function judges: knowing functions of the equipments by currently fixing IP
2. not triggering deployment process if not whether judgement and outer net connection, directly initiating
3. if judging that installing module warehouse in equipment whether there is outer net couples:
1) if it is present by judging whether local and remote server have to git remote update, git diff
Difference:
If i) variant, parsing difference and the newly-increased installation software information of extraction execute increment installation, synchronize warehouse.
Ii it) if without difference, skips.
2) if it does not exist, then cloning installation module warehouse from server, parsing installation file information executes installation.
4. judging that functional module warehouse whether there is in equipment:
1) if it is present being judged whether by GIT, git diff variant:
If i) variant, execute and compile.
Ii it) if without difference, skips.
5. last startup function module.
Compared to the prior art this method, avoids the public network domain name of configuration muti-piece equipment, and the configuration item that installation is complicated,
Iteration and continuous integrating only need to be switched on automatic i.e. executable.
The storage for avoiding complicated additional deployment information, deployed environment is uploaded onto the server, certainly by simultaneously operating
It is dynamic to obtain differentiation mount message.
It avoids and configures additional display equipment, realized by virtual network controls platform.
Deployed with devices, webhook+jenkins deployment and dispositions method of the invention are compared as follows manual type one by one:
The present invention provides a kind of new method for the rapid deployment that automatic Pilot heterogeneous platform develops environment, implements the skill
There are many method and approach of art scheme, and the above is only the preferred embodiments provided in an illustrative manner.Those skilled in the art
Many changes can be expected without deviating from the invention, are changed and are substituted.It should be appreciated that practicing process of the invention
In can be using to the various alternative solutions of embodiments of the invention described herein.Appended claims are intended to limit this hair
Bright range, and therefore cover the method and structure in the range of these claims and its equivalent item.It is unknown in the present embodiment
The available prior art of true each component part is realized.
Claims (4)
1. a kind of quick deployment method of automatic Pilot heterogeneous platform exploitation environment, comprising the following steps:
Step 1, different fixation IP is set for every block device;
Step 2, starting up and virtual network controls platform startup file are configured;
Step 3, it generates public key and configures at code server end;
In step 2, starting up's file realizes that steps are as follows:
2.1, functions of the equipments are judged by current device IP;
2.2, judge whether equipment couples outer net, 2.5 are leapt to if not networking;2.3 are jumped to if outer net connection;
2.3, then judge that module warehouse is installed in equipment whether there is:
2.3.1 if it does, compare installation module warehouse local branch and remote server respective branches it is whether variant:
2.3.1.1 if variant, parsing difference and the newly-increased installation software information of extraction execute increment installation, same from server
Step installation module warehouse file;
2.3.1.2 if without difference, 2.4 are jumped to;
2.3.2 if it does not exist, then cloning installation module warehouse from server, parsing installation file information executes installation;
2.4, judge that functional module warehouse whether there is in equipment:
2.4.1 if there are functional module warehouse in equipment, local branch and distal end of the comparing function module warehouse in equipment
Whether server respective branches are variant:
2.4.1.1 if it is variant, it executes from server sync compared with functional module warehouse file, compiles newest mirror image;
2.4.1.2 if without difference, 2.5 are jumped to;
2.5, startup function module is simultaneously run.
2. the quick deployment method of automatic Pilot heterogeneous platform exploitation environment according to claim 1, it is characterised in that step
The comparison in difference of rapid 2.3.1 and step 2.4.1 are to complete continuous integrating based on GIT and script.
3. the quick deployment method of automatic Pilot heterogeneous platform exploitation environment according to claim 1, it is characterised in that: portion
The file of administration is installation module warehouse file and operation module warehouse file, and the installation module warehouse is built-in in a warehouse
Found multiple Branch adaptation different function equipment;The operation module warehouse is the multiple and different targets established for different function
Warehouse.
4. the quick deployment method of automatic Pilot heterogeneous platform exploitation environment according to claim 1, it is characterised in that: more
A equipment uses the same configuration script file, and the configuration script file is run in equipment start-up course.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910570715.3A CN110096289B (en) | 2019-06-28 | 2019-06-28 | The quick deployment method of automatic Pilot heterogeneous platform exploitation environment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910570715.3A CN110096289B (en) | 2019-06-28 | 2019-06-28 | The quick deployment method of automatic Pilot heterogeneous platform exploitation environment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110096289A true CN110096289A (en) | 2019-08-06 |
CN110096289B CN110096289B (en) | 2019-09-13 |
Family
ID=67451171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910570715.3A Active CN110096289B (en) | 2019-06-28 | 2019-06-28 | The quick deployment method of automatic Pilot heterogeneous platform exploitation environment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110096289B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111913716A (en) * | 2020-08-11 | 2020-11-10 | 上海毅博电子商务有限责任公司 | Incremental deployment method for Java Web application |
CN112148354A (en) * | 2020-09-27 | 2020-12-29 | 网易(杭州)网络有限公司 | Game starting method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317610A (en) * | 2014-10-11 | 2015-01-28 | 福建新大陆软件工程有限公司 | Method and device for automatic installation and deployment of hadoop platform |
CN106484457A (en) * | 2015-08-25 | 2017-03-08 | 福特全球技术公司 | Multistage safe vehicle software updates |
US20180039486A1 (en) * | 2016-08-02 | 2018-02-08 | Oracle International Corporation | Generation of dynamic software models using input mapping with feature definitions |
CN109144548A (en) * | 2018-08-27 | 2019-01-04 | 杭州安恒信息技术股份有限公司 | A kind of multicompartment software upgrade method, device and server realized based on git |
-
2019
- 2019-06-28 CN CN201910570715.3A patent/CN110096289B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104317610A (en) * | 2014-10-11 | 2015-01-28 | 福建新大陆软件工程有限公司 | Method and device for automatic installation and deployment of hadoop platform |
CN106484457A (en) * | 2015-08-25 | 2017-03-08 | 福特全球技术公司 | Multistage safe vehicle software updates |
US20180039486A1 (en) * | 2016-08-02 | 2018-02-08 | Oracle International Corporation | Generation of dynamic software models using input mapping with feature definitions |
CN109144548A (en) * | 2018-08-27 | 2019-01-04 | 杭州安恒信息技术股份有限公司 | A kind of multicompartment software upgrade method, device and server realized based on git |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111913716A (en) * | 2020-08-11 | 2020-11-10 | 上海毅博电子商务有限责任公司 | Incremental deployment method for Java Web application |
CN112148354A (en) * | 2020-09-27 | 2020-12-29 | 网易(杭州)网络有限公司 | Game starting method and device |
CN112148354B (en) * | 2020-09-27 | 2023-07-25 | 网易(杭州)网络有限公司 | Game starting method and device |
Also Published As
Publication number | Publication date |
---|---|
CN110096289B (en) | 2019-09-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110096289B (en) | The quick deployment method of automatic Pilot heterogeneous platform exploitation environment | |
CN111569426B (en) | Game scene editing method and device, storage medium and electronic device | |
US9883567B2 (en) | Device indication and commissioning for a lighting control system | |
CN109344214A (en) | Management map method and robot | |
CN106878385A (en) | Private clound dispositions method and device | |
CN106775816B (en) | Automatic updating method and system for application program in local area network | |
CN103823700A (en) | Method and device for upgrading application software of client | |
CN106022108B (en) | A kind of synchronization management method and terminal device | |
EP2817684A1 (en) | Automatic dynamic control of aircraft cabin systems | |
CN105912419A (en) | Backup method and device for application programs | |
CN105653335A (en) | Plug-in procedure control method and device | |
CN105512026A (en) | Automatic batch testing method | |
CN105553591B (en) | A kind of Distributed Computer System node synchronization method | |
CN107704550A (en) | File migration method, apparatus and computer-readable recording medium | |
CN113050446A (en) | Linkage control method and device for intelligent scene and storage medium | |
CN105577503A (en) | Cloud switch system based on Docker and implementation method thereof | |
CN105824624B (en) | Intelligent terminal multisystem software control method and system | |
EP4050850A1 (en) | Service upgrading method, device and system | |
US9325442B2 (en) | Externally connected time port changeover method and device | |
KR101848398B1 (en) | Producing system application driving information of remote server based and method of the same | |
CN110134486A (en) | A kind of asynchronous method and device to Load Image of ListView | |
CN106776310A (en) | A kind of adjustment method and debugging apparatus | |
Cisco | Updating Cisco ATA 186 Software | |
Cisco | Updating Cisco ATA Software | |
Cisco | Updating Cisco ATA Software |
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 | ||
CP02 | Change in the address of a patent holder |
Address after: 210012 room 401-404, building 5, chuqiaocheng, No. 57, Andemen street, Yuhuatai District, Nanjing, Jiangsu Province Patentee after: AUTOCORE INTELLIGENT TECHNOLOGY (NANJING) Co.,Ltd. Address before: 211800 building 12-289, 29 buyue Road, Qiaolin street, Pukou District, Nanjing City, Jiangsu Province Patentee before: AUTOCORE INTELLIGENT TECHNOLOGY (NANJING) Co.,Ltd. |
|
CP02 | Change in the address of a patent holder |