CN102819445A - Quick transplanting method of comprehensive software of transformer substation on embedded system hardware platform - Google Patents

Quick transplanting method of comprehensive software of transformer substation on embedded system hardware platform Download PDF

Info

Publication number
CN102819445A
CN102819445A CN2012102674832A CN201210267483A CN102819445A CN 102819445 A CN102819445 A CN 102819445A CN 2012102674832 A CN2012102674832 A CN 2012102674832A CN 201210267483 A CN201210267483 A CN 201210267483A CN 102819445 A CN102819445 A CN 102819445A
Authority
CN
China
Prior art keywords
hardware platform
software
file
embedded
compiling
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2012102674832A
Other languages
Chinese (zh)
Other versions
CN102819445B (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.)
Nari Technology Co Ltd
Original Assignee
Nari Technology 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 Nari Technology Co Ltd filed Critical Nari Technology Co Ltd
Priority to CN201210267483.2A priority Critical patent/CN102819445B/en
Publication of CN102819445A publication Critical patent/CN102819445A/en
Application granted granted Critical
Publication of CN102819445B publication Critical patent/CN102819445B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses a quick transplanting method of comprehensive software of a transformer substation on an embedded system hardware platform, which comprises three steps of building a compiling condition of automatic match, generating a batch file compiler, and executing a compiling process and outputting an executing file generated by compiling. The invention provides the method for quickly transplanting the comprehensive software of the transformer substation specific to different embedded hardware platforms; for a system environment of a new hardware platform, an executable file of the transformer substation comprehensive software ran under the new hardware platform can be automatically, quickly and reliably generated, the working efficiency is improved, the producing cost of a new product is reduced, the research and development period of the new product is shortened; therefore, the method has a good application prospect.

Description

Transformer station combines from the quick implantation method of software on the embedded system hardware platform
Technical field
The present invention relates to the power system automation technology field, be specifically related to a kind of transformer station that is used for and combine from the quick implantation method of software on multiple embedded system hardware platform.
Background technology
In recent years, the making rapid progress of Along with computer technology, what high performance chips updated speeds up; And also constantly reduction of cost, in technical field of power systems, consider reliability of products, travelling speed and production costs such as various instrument and meters, microcomputer protecting device; All hardware platforms need ceaselessly upgrade upgrading, have higher reliability, travelling speed and lower production cost to guarantee product, and we know; The upgrading of hardware platform must cause the change of processor chips type selecting, sometimes even under the reason of factors such as cost performance market, changes chip supplier; Be replaced with the platform of arm processor like platform by the PowerPC processor; Perhaps be replaced by the platform of X 86 processor, but the upgrading of hardware platform can cause the operation platform change (the for example replacing of system environmentss such as Linux, unix, windows, Wince) of product software and the change of computerese compilation tool, to such an extent as to the software program on the original product can't be on new platform; Need the software source program under new system environments, to compile again; Generate the executable file under the new hardware platform, present business software basically all is to be accomplished by the long-term cooperation of many people collective, is spliced by a large amount of software module (dynamic base, executable file or the like); Quantity of documents is up to a hundred thousands of; Change hardware operation platform or system environments, all will the software source program made amendment one by one and carried out again compiles at every turn, and work efficiency is slow, the increase human cost; Also prolong the R&D cycle of new product, missed the preferably opportunity that new product comes into the market.
Summary of the invention
In order to solve the problem that the change of the processor chips type selecting of hardware platform exists in the electric system in the prior art.The invention provides and a kind ofly transplant transformer station to different Embedded hardware platforms and combine from software approach; System environments for new hardware platform; The executable file from software is combined by the transformer station that can be created on operation under the new hardware platform automatically, fast, reliably, increases work efficiency, and has reduced the production cost of new product; Shorten the R&D cycle of new product, have a good application prospect.
In order to solve the problems of the technologies described above, the technical scheme that the present invention adopted is:
A kind of transformer station combines from the quick implantation method of software on the embedded system hardware platform, it is characterized in that: may further comprise the steps,
(1) sets up the compiling condition of coupling automatically
Based on the operating system environment that embedded hardware platform and hardware platform are moved, the compilation tool bag corresponding in the selection operation system with the embedded hardware platform, the path from the file directory at each software module place of software is combined by the transformer station that affirmation needs to transplant;
(2) generate the autoexec compiler
Utilize the compiling condition of the automatic coupling of step (1) foundation; Generate transformer station and combine autoexec compiler from each software module of software; And the compiling of each software module arranged in proper order, the batch processing compiler of said each software module leaves under pairing each software module file directory;
(3) carry out the execute file that compilation process and output compiling generate
A plurality of autoexec compilers that operating procedure (2) generates; Select to carry out the mode of compiling; Compile, output under the file directory that the embedded hardware platform can directly call, can remove target or the intermediate file that generates in the compilation process automatically simultaneously carrying out file after the compiling.
Aforesaid transformer station combines from the quick implantation method of software on the embedded system hardware platform; It is characterized in that: the compilation tool bag corresponding in step (1) the selection operation system with the embedded hardware platform; Comprise automatic coupling and manually select dual mode; The compilation tool bag corresponding with the embedded hardware platform may further comprise the steps in the said automatic matching way selection operation system
1) be library with the corresponding relation that writes down previous hardware platform and compilation tool; Automatically retrieval; Historical record according to library; If the compilation tool bag corresponding with the embedded hardware platform in the automatic matching way selection operation system, then accomplished in retrieval to going out the compilation tool bag corresponding with the embedded hardware platform; If can not retrieve to going out the compilation tool bag corresponding, then carry out 2) with the embedded hardware platform;
2) utilize the normative document that exists in the required cross compile instrument to be benchmark, the compilation tool bag in the operating system environment is retrieved screening, filter out the compilation tool bag corresponding with the embedded hardware platform.
Aforesaid transformer station combines from the quick implantation method of software on the embedded system hardware platform, it is characterized in that: the transformer station that the said affirmation of step (1) need be transplanted combines from the path of the file directory at each software module place of software and comprises the path of automatic mapped file catalogue and the path dual mode of manual select File catalogue.
Aforesaid transformer station combines from the quick implantation method of software on the embedded system hardware platform; It is characterized in that: the path mode of said automatic mapped file catalogue is to combine the catalogue listing from each software module of software according to transformer station; Utilize script file to add the environmental variance corresponding, and script file is kept under each catalogue of each software module of correspondence and preserves with the catalogue listing of each software module.
Aforesaid transformer station combines from the quick implantation method of software on the embedded system hardware platform; It is characterized in that: the mode of compiling is carried out in the said selection of step (3), adopts and selects whole compile modes automatically or manually select any software module mode of compiling or dual mode tie compiler.
The invention has the beneficial effects as follows: provided by the inventionly transplant transformer station to different Embedded hardware platforms and combine from software approach; Comprise compiling condition, generation autoexec compiler and the execution compilation process of setting up automatic coupling and export three steps of execute file of compiling generation; Simplicity of design, for the system environments of new hardware platform, the executable file from software is combined by the transformer station that can be created on operation under the new hardware platform automatically, fast, reliably; Increase work efficiency; Reduced the production cost of new product, shortened the R&D cycle of new product, had a good application prospect.
Description of drawings
Fig. 1 is that the process flow diagram from an embodiment of the quick implantation method of software on the embedded system hardware platform is combined by transformer station of the present invention.
Embodiment
To combine Figure of description below, the present invention will be further described.
The present invention can transplant transformer station to different Embedded hardware platforms and combine from software approach; System environments for new hardware platform; The executable file from software is combined by the transformer station that can be created on operation under the new hardware platform automatically, fast, reliably, increases work efficiency, and has reduced the production cost of new product; Shorten the R&D cycle of new product, its concrete realization may further comprise the steps:
The first step is set up the compiling condition of coupling automatically
According to the operating system environment that embedded hardware platform and embedded hardware platform are moved, adopt coupling automatically or manually select any mode of dual mode, confirm and the corresponding compilation tool bag of embedded hardware platform; And the path of adopting automatic mapped file catalogue and manual any mode in the path of select File catalogue; The path from the file directory at each software module place of software is combined by the transformer station that affirmation need be transplanted; The compilation tool bag corresponding with the embedded hardware platform in the above-mentioned selection operation system comprises automatic coupling and manually selects dual mode, the compilation tool bag corresponding with the embedded hardware platform in the said automatic matching way selection operation system; May further comprise the steps
1) be library with the corresponding relation that writes down previous hardware platform and compilation tool; Automatically retrieval; Historical record according to library; If the compilation tool bag corresponding with the embedded hardware platform in the automatic matching way selection operation system, then accomplished in retrieval to going out the compilation tool bag corresponding with the embedded hardware platform; If can not retrieve to going out the compilation tool bag corresponding, then carry out 2) with the embedded hardware platform;
2) utilize the normative document that exists in the required cross compile instrument to be benchmark, the compilation tool bag in the operating system environment is retrieved screening, filter out the compilation tool bag corresponding with the embedded hardware platform.
The transformer station that said affirmation need be transplanted combines from the path of the file directory at each software module place of software and comprises the path of automatic mapped file catalogue and the path dual mode of manual select File catalogue; Wherein the path mode of mapped file catalogue is to combine the catalogue listing from each software module of software according to transformer station automatically; Utilize script file to add and the corresponding environmental variance of compilation tool bag, and script file is kept under each catalogue of each corresponding software module and preserves.
In second step, generate the autoexec compiler
Utilize the compiling condition of the automatic coupling of first step foundation; Generate transformer station and combine autoexec compiler from each software module of software; And the compiling of each software module arranged in proper order, the batch processing compiler of said each software module leaves under pairing each software module file directory;
In the 3rd step, carry out the execute file that compilation process and output compiling generate
A plurality of autoexec compilers that second step of operation generates; Select to select automatically all compilings and any mode of manually selecting any software module dual mode of compiling; The mode that perhaps combines compiles, promptly the user can to select be that whole transformer station combines and to compile from software, still select only compiling several software modules wherein; Carrying out remaining software module then compiles automatically; Can be conveniently in the software module compilation process to the investigation of mistake, output under the file directory that the embedded hardware platform can directly call carrying out file after the compiling, can remove target or the intermediate file that generates in the compilation process automatically simultaneously.
As shown in Figure 1, of the present invention to the hardware platform of Embedded ARM kernel and the comprehensive practical implementation illustration from software of transplanting transformer station of embedded Linux system, concrete implementation method is following:
(1), sets up the compiling condition of coupling automatically
Fig. 1 has listed operating system and hardware platforms such as ARM kernel, PowerPC kernel such as Linux platform, Unix platform, Windows; According to the embedded-type ARM kernel hardware platform of selecting and the environment of built-in Linux operating system; Can adopt automatic coupling or manually select any mode, confirm the compilation tool bag corresponding with the ARM kernel; And adopting any mode in path with the path of manual select File catalogue of automatic mapped file catalogue, the path from the file directory at each software module place of software is combined by the transformer station that affirmation need be transplanted; In (SuSE) Linux OS transformer station combine under each software module catalogue of software, add add corresponding environmental variance script file, script file is kept under each file directory of each corresponding software module.
(2), generate the autoexec compiler
Here utilize the coupling compiling condition of setting up; Through the script file under each file directory of calling each software module in (1); Generate the autoexec compiler and the compiling of each software module is arranged in proper order; The program acquiescence puts in order by letter, and the batch processing compiler of each software module leaves under pairing each software module file directory;
(3), carry out the execute file that compilation process and output compiling generate
A plurality of autoexec compilers that operation generates; Can select to select automatically all compilings and any mode of manually selecting any software module dual mode of compiling; Compile; Output under the file directory that embedded-type ARM kernel hardware platform can directly call carrying out file after the compiling, last, remove the target or the intermediate file that generate in the compilation process automatically; Prevent to take more storage space, accomplish transformer station and combine the transplanting under ARM kernel hardware platform and (SuSE) Linux OS from system software.
More than be in the transplanting of ARM kernel under (SuSE) Linux OS, at other hardware platforms such as X86, transplanting such as POWERPC step is identical with it.
More than show and described ultimate principle of the present invention, principal character and advantage.The technician of the industry should understand; The present invention is not restricted to the described embodiments; That describes in the foregoing description and the instructions just explains principle of the present invention; Under the prerequisite that does not break away from spirit and scope of the invention, the present invention also has various changes and modifications, and these variations and improvement all fall in the scope of the invention that requires protection.It is the boundary by appending claims and equivalence thereof that the present invention requires protection domain.

Claims (5)

1. transformer station combines from the quick implantation method of software on the embedded system hardware platform, it is characterized in that: may further comprise the steps,
(1) sets up the compiling condition of coupling automatically
Based on the operating system environment that embedded hardware platform and hardware platform are moved, the compilation tool bag corresponding in the selection operation system with the embedded hardware platform, the path from the file directory at each software module place of software is combined by the transformer station that affirmation needs to transplant;
(2) generate the autoexec compiler
Utilize the compiling condition of the automatic coupling of step (1) foundation; Generate transformer station and combine autoexec compiler from each software module of software; And the compiling of each software module arranged in proper order, the batch processing compiler of said each software module leaves under pairing each software module file directory;
(3) carry out the execute file that compilation process and output compiling generate
A plurality of autoexec compilers that operating procedure (2) generates; Select to carry out the mode of compiling; Compile, output under the file directory that the embedded hardware platform can directly call, can remove target or the intermediate file that generates in the compilation process automatically simultaneously carrying out file after the compiling.
2. transformer station according to claim 1 combines from the quick implantation method of software on the embedded system hardware platform; It is characterized in that: the compilation tool bag corresponding in step (1) the selection operation system with the embedded hardware platform; Comprise automatic coupling and manually select dual mode; The compilation tool bag corresponding with the embedded hardware platform may further comprise the steps in the said automatic matching way selection operation system
1) be library with the corresponding relation that writes down previous hardware platform and compilation tool; Automatically retrieval; Historical record according to library; If the compilation tool bag corresponding with the embedded hardware platform in the automatic matching way selection operation system, then accomplished in retrieval to going out the compilation tool bag corresponding with the embedded hardware platform; If can not retrieve to going out the compilation tool bag corresponding, then carry out 2) with the embedded hardware platform;
2) utilize the normative document that exists in the required cross compile instrument to be benchmark, the compilation tool bag in the operating system environment is retrieved screening, filter out the compilation tool bag corresponding with the embedded hardware platform.
3. transformer station according to claim 1 combines from the quick implantation method of software on the embedded system hardware platform, it is characterized in that: the transformer station that the said affirmation of step (1) need be transplanted combines from the path of the file directory at each software module place of software and comprises the path of automatic mapped file catalogue and the path dual mode of manual select File catalogue.
4. transformer station according to claim 3 combines from the quick implantation method of software on the embedded system hardware platform; It is characterized in that: the path mode of said automatic mapped file catalogue is to combine the catalogue listing from each software module of software according to transformer station; Utilize script file to add the environmental variance corresponding, and script file is kept under each catalogue of each software module of correspondence and preserves with the catalogue listing of each software module.
5. transformer station according to claim 1 combines from the quick implantation method of software on the embedded system hardware platform; It is characterized in that: the mode of compiling is carried out in the said selection of step (3), adopts and selects whole compile modes automatically or manually select any software module mode of compiling or dual mode tie compiler.
CN201210267483.2A 2012-07-30 2012-07-30 Quick transplanting method of comprehensive software of transformer substation on embedded system hardware platform Active CN102819445B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210267483.2A CN102819445B (en) 2012-07-30 2012-07-30 Quick transplanting method of comprehensive software of transformer substation on embedded system hardware platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210267483.2A CN102819445B (en) 2012-07-30 2012-07-30 Quick transplanting method of comprehensive software of transformer substation on embedded system hardware platform

Publications (2)

Publication Number Publication Date
CN102819445A true CN102819445A (en) 2012-12-12
CN102819445B CN102819445B (en) 2015-05-20

Family

ID=47303570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210267483.2A Active CN102819445B (en) 2012-07-30 2012-07-30 Quick transplanting method of comprehensive software of transformer substation on embedded system hardware platform

Country Status (1)

Country Link
CN (1) CN102819445B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293864A (en) * 2016-08-01 2017-01-04 惠州华阳通用电子有限公司 A kind of implantation method of inter-vehicle information system development platform functional module
CN109062558A (en) * 2018-06-25 2018-12-21 烽火通信科技股份有限公司 The engineering construction method and device of software development
CN110427226A (en) * 2019-08-09 2019-11-08 杭州安恒信息技术股份有限公司 A kind of method and apparatus that quick release program relies on
CN111104163A (en) * 2019-12-23 2020-05-05 北京东方广视科技股份有限公司 Method and device for implanting EOC management software into target platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630258A (en) * 2009-07-29 2010-01-20 精伦电子股份有限公司 Embedded Linux software integration development system on Windows platform and construction method thereof
CN101963915A (en) * 2010-09-25 2011-02-02 中兴通讯股份有限公司 Building method of compilation and system thereof
CN102081547A (en) * 2011-01-26 2011-06-01 博视联(苏州)信息科技有限公司 Method for enhancing hardware universality of embedded type intelligent equipment
CN102207887A (en) * 2011-05-04 2011-10-05 中兴通讯股份有限公司 Method and device for rapidly transplanting embedded operation system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101630258A (en) * 2009-07-29 2010-01-20 精伦电子股份有限公司 Embedded Linux software integration development system on Windows platform and construction method thereof
CN101963915A (en) * 2010-09-25 2011-02-02 中兴通讯股份有限公司 Building method of compilation and system thereof
CN102081547A (en) * 2011-01-26 2011-06-01 博视联(苏州)信息科技有限公司 Method for enhancing hardware universality of embedded type intelligent equipment
CN102207887A (en) * 2011-05-04 2011-10-05 中兴通讯股份有限公司 Method and device for rapidly transplanting embedded operation system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106293864A (en) * 2016-08-01 2017-01-04 惠州华阳通用电子有限公司 A kind of implantation method of inter-vehicle information system development platform functional module
CN106293864B (en) * 2016-08-01 2019-05-14 惠州华阳通用电子有限公司 A kind of transplantation method of inter-vehicle information system development platform functional module
CN109062558A (en) * 2018-06-25 2018-12-21 烽火通信科技股份有限公司 The engineering construction method and device of software development
CN110427226A (en) * 2019-08-09 2019-11-08 杭州安恒信息技术股份有限公司 A kind of method and apparatus that quick release program relies on
CN111104163A (en) * 2019-12-23 2020-05-05 北京东方广视科技股份有限公司 Method and device for implanting EOC management software into target platform
CN111104163B (en) * 2019-12-23 2023-08-22 北京东方广视科技股份有限公司 Method and device for implanting EOC management software into target platform

Also Published As

Publication number Publication date
CN102819445B (en) 2015-05-20

Similar Documents

Publication Publication Date Title
CN103955363B (en) A kind of manufacture method of program upgrade installation package
CN101414278B (en) Method for debugging binary application program based on dynamic inverse compiling technique
CN103744709B (en) patch loading method and device
CN101706725B (en) Method and system for loading and debugging relocatable program
CN101799506B (en) Chip test method, device and system based on script control
CN105224370A (en) A kind of method and apparatus of loading ELF document
CN102819445A (en) Quick transplanting method of comprehensive software of transformer substation on embedded system hardware platform
CN104714788A (en) Method and device for automatically generating software installation package
CN103365668B (en) A kind of dynamic link library loads and the method, apparatus of link
CN101859244A (en) Multi-toolchain engineering construction method and system
CN108052314A (en) The method and device that a kind of plug-in unit based on Gradle is packaged
CN102023885A (en) Method and system for storing bytecode of JCRE (Java card run time environment)
CN102207887A (en) Method and device for rapidly transplanting embedded operation system
CN105468428A (en) Android source code compiling method and system
CN107122219A (en) The acquisition methods and device of installation file
CN109542415A (en) The code merging method and relevant device for supporting application program to research and develop parallel
CN101719074A (en) patch-realizing method and device
CN102622263B (en) Method for implementing embedded system based virtual machine on set-top box
CN105373381A (en) Method and system for making launchers of mobile terminal
CN105260169A (en) Cross-platform python program transplanting method and device
CN106569854A (en) Method and system for setting device firmware and realizing factory testing
CN104881396A (en) Graphical-program compile file forming method
CN108345451A (en) A kind of continuous function figure programmed method
CN105446789A (en) Method and apparatus for building application in android system
CN107844300A (en) Script processing method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant