One kind being based on embedded software development method
Technical field
The present invention relates to one kind being based on embedded software development method, belongs to computer software technical field.
Background technology
At present in carrying out software program compilation operation, specific function is executed in particular for some designs, and have big
In the large software system of the novel class of spirogram text, often assembler total amount is big for these softwares, complicated, and program assembly mistake
Cheng Zhong, in particular in the program assemblies such as large-scale animated type, image-text, in addition to intensity of workers is big, work is imitated
Except rate is low, in order to solve this problem, embedded development mode is currently often used in software development, realized to software
Development structure optimizes, personnel and the adjustment of equipment focus, is convenient for managing and improve software development compilation operation effect to reach
The purpose of rate, but find in actual operation, it is often by simple soft currently when developing software using damascene structures
Carried out between part development platform mutually rely on and data link realize, it is soft although the needs used can be met to a certain degree
In part development process, poor performance is optimized to software development operation overall construction design, the distribution of software layer grade pacifies function journey with software
Easily there is contradiction in sequence compilation operating room, and lack effectively software simulation run, therefore cause currently using embedded progress
When software development, more deficiency is still remained, for this problem, is opened there is an urgent need to develop a kind of completely new software is embedded
Forwarding method, to meet the needs of actual use.
Invention content
The object of the invention, which is that, overcomes above-mentioned deficiency, provides a kind of based on embedded software development method.
To achieve the above object, the present invention is to be achieved through the following technical solutions:
One kind is included the following steps based on embedded software development method:
The first step makes up hardware platform, initially sets up software development server, software development terminal and data communication
Network, software development terminal is several, and is interconnected to constitute development platform by data communication network and software development server,
It is first that software development terminal distribution hardware address address and software are known by software development server after completing data link
Other information, hardware address address and software identification information are stored in each software development terminal and software development server respectively
It is interior, and retrieval pointer image file is generated in software development server, and realize that software is opened by retrieving pointer image file
Hair server and software development terminal room hardware address address and software identification information are mutually matched connection;
Assemble software is marked off one by second step, compilation task distribution first according to assemble software content and requirement is waited for
Running software main program framework, a data link subroutine module, at least two software operation main program framework, software are known
Other information coding module, function module call interruption subroutine module and several running software function modules;
Third walks, and collect personnel assignment, after completing the first step, according to the software compilation task of first step distribution, determines one
A software compilation posies manifold and then determining running software main program framework compilation post, data link subroutine module compilation
Post, software operation main program framework compilation post, running software function module compilation post, software identification information encode mould
Block compilation post and function module call the quantity in interruption subroutine module compilation post, wherein running software main program framework to converge
It compiles and divides in post, software operation main program framework compilation post, running software function module compilation post quantity and the first step
The software operation main program framework matched is consistent with running software function module quantity, software identification information coding module compilation hilllock
Position and function module call uniform of interruption subroutine module compilation post, and each post staff at least 2 people;
After completing second step operation, assemble software content and requirement are waited for according to basis for 4th step, host assembler typing,
Main program compilation platform of the typing for software development in software development server, at the same it is soft to the transmission of each software development terminal
The logins client of the main program compilation platform of part exploitation and the main program compilation platform image file of software development, and according to the
The compilation task of two steps respectively to the login client of the main program of the software development in each software development terminal compilation platform and
The main program compilation platform image file type of software development, realizes and carries out Classification Management to each software development terminal;
5th step sets software modeling language, is primarily based on intelligent body Unified Modeling Language model and is mutually tied with genetic algorithm
Then the basis of conjunction defines the domain model based on intelligent body Unified Modeling Language model, then by leading by the mode of meta-model
Domain model generates preliminary operation language, is then optimized by genetic algorithm to tentatively running language, obtains modeling language;
6th step, target software modeling, after completing the 4th step operation, the modeling language obtained using the 4th step, by building
Mould language is completed to treat the modelling sizing of assemble software, and the main program compilation of the software model and software development to completion
Platform linkage emulates, and after simulation run is errorless, shapes to software model spare;
7th step, software compilation complete each software development terminal and software development service first after completing the 6th step operation
Hardware address address between device and software identification information identification, and software development terminal and software are realized after completing to recognize
Then data link between exploitation server respectively distributes each post of second step according to the software model of the 5th step structure corresponding
Software collect content, when carrying out software compilation, first by software compilation manifold posies, running software main program framework compilation
Post, data link subroutine module compilation post, software operation main program framework compilation post, running software function module
Post, software identification information coding module compilation post and the function module of collecting call interruption subroutine module compilation post difference
The compilation task distributed according to second step carries out developing terminal progress software content compilation operation by corresponding software, soft in progress
Part collects in operation, on the one hand coordinates each running software main program framework compilation hilllock by software compilation manifold post unified managements
Position, software operation main program framework compilation post, running software function module compilation post software identification information coding module
Compilation post and function module call the compilation post action of interruption subroutine module, are on the other hand compiled by software identification information
It is respectively that running software main program framework converges that code module compilation post and function module, which call interruption subroutine module compilation post,
Compile post, software runs main program framework compilation post, the software content of running software function module compilation post compilation
Interruption subroutine is called with corresponding software identification information coding and function module, is then called by function module and interrupts sub- journey
Sequence is realized to be linked between running software main program framework, software operation main program framework and running software function module, to complete
At waiting for that assemble software integrally collects task in the first step;
Software Coding in each software development terminal after completing software compilation, is generated subprogram by the 8th step, software insertion
Identification coding, and subprogram identification coding is embedded into the software identification information of the first step, then by each software development terminal
Interior software generates synchronous image file in software development server, makes the software of synchronous image file and software development server
The main program compilation platform connection of exploitation, and emulated, and emulating errorless rear completion software development.
Further, the hardware address address in the first step is at least three sections of octal system or hexadecimal number
According to group, software identification information includes software version information submodule, software check value information submodule, software upgrading strategy
Message sub-module.
Further, in third step, on the one hand by software compilation manifold post unified coordination and administration running softwares
Main program framework compilation post, software operation main program framework compilation post, running software function module compilation post software
Identification information coding module compilation post and function module call interruption subroutine module compilation post, are on the other hand known by software
Other information coding module compilation post and function module call interruption subroutine module compilation post to be converged simultaneously for main program architecture
Post, software operation main program framework compilation post, the corresponding program clothes of running software function module compilation post offer are provided
Business.
Further, in the 4th step, the main program of software development compilation platform include development platform management module,
Embedded Application module, data simulation drive module, SRU driving interfaces analog module, VxWorks api interface analog module,
Subsystem manages emulation module, LRU control emulation modules and display emulation module.
Further, in the 6th step, software model uses software hierarchical structure, and using by software structural type
It accords with as node tree structure as software hierarchical structure basic framework, and sets at least three-level child level catalogue in tree structure, and
Including:
Software interface module collectively forms software interface mould with attribute symbol collection, functor collection, event symbol collection three parts structure
Part, attribute symbol collection therein includes four kinds of audio data, video data, character data and image data;Functor collection includes handing over
Mutual four function, algorithm function, flow function and escalation policy function parts;Event symbol collection includes Data Transmission Controlling, data
Three running priority grade policy control, software identification control parts;
Software transfer list module, to be based on software level module, software interface module, software transfer list module and soft
Four units of part display interface module establish at least four master data lists, and retrieval pointer corresponding with each data list information
Program;
Software display interface module, for based on the man-machine interactive interface based on software interface module interactive function,
Platform and hardware driving platform are driven including software program.
Further, the retrieval pointer program include interruption subroutine and software level module, software interface module,
Software transfer list module and the corresponding retrieval data critical word of four units of software display interface module.
Further, the retrieval data critical word is at least three sections of octal system or hexadecimal data group.
Further, it in the 8th step, when mistake occurs in simulation process, then returns to the 6th step and carries out mistake
It retrieves and changes.
The method of the present invention is simple, and operation and implementation are easy, and on the one hand effectively raises the work effect of software compilation work
The quality of rate and management coordination work, can effectively realize that software programming development matches with software configuration, improve software and compile
On the other hand journey development management work versatility and reasonability effectively raise the reasonability of software compilation operation framework layout
And reliability, while the another labor intensity for effectively reducing software compilation work and the requirement to computer hardware equipment, from
And achievees the purpose that reduce software compilation work operations cost and improve work quality.
Description of the drawings
Fig. 1 is assembly process flow diagram of the present invention;
Fig. 2 is this hair assemble system structural schematic diagram.
Specific implementation mode
As illustrated in fig. 1 and 2, a kind of to be included the following steps based on embedded software development method:
The first step makes up hardware platform, initially sets up software development server, software development terminal and data communication
Network, software development terminal is several, and is interconnected to constitute development platform by data communication network and software development server,
It is first that software development terminal distribution hardware address address and software are known by software development server after completing data link
Other information, hardware address address and software identification information are stored in each software development terminal and software development server respectively
It is interior, and retrieval pointer image file is generated in software development server, and realize that software is opened by retrieving pointer image file
Hair server and software development terminal room hardware address address and software identification information are mutually matched connection;
Assemble software is marked off one by second step, compilation task distribution first according to assemble software content and requirement is waited for
Running software main program framework, a data link subroutine module, at least two software operation main program framework, software are known
Other information coding module, function module call interruption subroutine module and several running software function modules;
Third walks, and collect personnel assignment, after completing the first step, according to the software compilation task of first step distribution, determines one
A software compilation posies manifold and then determining running software main program framework compilation post, data link subroutine module compilation
Post, software operation main program framework compilation post, running software function module compilation post, software identification information encode mould
Block compilation post and function module call the quantity in interruption subroutine module compilation post, wherein running software main program framework to converge
It compiles and divides in post, software operation main program framework compilation post, running software function module compilation post quantity and the first step
The software operation main program framework matched is consistent with running software function module quantity, software identification information coding module compilation hilllock
Position and function module call uniform of interruption subroutine module compilation post, and each post staff at least 2 people;
After completing second step operation, assemble software content and requirement are waited for according to basis for 4th step, host assembler typing,
Main program compilation platform of the typing for software development in software development server, at the same it is soft to the transmission of each software development terminal
The logins client of the main program compilation platform of part exploitation and the main program compilation platform image file of software development, and according to the
The compilation task of two steps respectively to the login client of the main program of the software development in each software development terminal compilation platform and
The main program compilation platform image file type of software development, realizes and carries out Classification Management to each software development terminal;
5th step sets software modeling language, is primarily based on intelligent body Unified Modeling Language model and is mutually tied with genetic algorithm
Then the basis of conjunction defines the domain model based on intelligent body Unified Modeling Language model, then by leading by the mode of meta-model
Domain model generates preliminary operation language, is then optimized by genetic algorithm to tentatively running language, obtains modeling language;
6th step, target software modeling, after completing the 4th step operation, the modeling language obtained using the 4th step, by building
Mould language is completed to treat the modelling sizing of assemble software, and the main program compilation of the software model and software development to completion
Platform linkage emulates, and after simulation run is errorless, shapes to software model spare;
7th step, software compilation complete each software development terminal and software development service first after completing the 6th step operation
Hardware address address between device and software identification information identification, and software development terminal and software are realized after completing to recognize
Then data link between exploitation server respectively distributes each post of second step according to the software model of the 5th step structure corresponding
Software collect content, when carrying out software compilation, first by software compilation manifold posies, running software main program framework compilation
Post, data link subroutine module compilation post, software operation main program framework compilation post, running software function module
Post, software identification information coding module compilation post and the function module of collecting call interruption subroutine module compilation post difference
The compilation task distributed according to second step carries out developing terminal progress software content compilation operation by corresponding software, soft in progress
Part collects in operation, on the one hand coordinates each running software main program framework compilation hilllock by software compilation manifold post unified managements
Position, software operation main program framework compilation post, running software function module compilation post software identification information coding module
Compilation post and function module call the compilation post action of interruption subroutine module, are on the other hand compiled by software identification information
It is respectively that running software main program framework converges that code module compilation post and function module, which call interruption subroutine module compilation post,
Compile post, software runs main program framework compilation post, the software content of running software function module compilation post compilation
Interruption subroutine is called with corresponding software identification information coding and function module, is then called by function module and interrupts sub- journey
Sequence is realized to be linked between running software main program framework, software operation main program framework and running software function module, to complete
At waiting for that assemble software integrally collects task in the first step;
Software Coding in each software development terminal after completing software compilation, is generated subprogram by the 8th step, software insertion
Identification coding, and subprogram identification coding is embedded into the software identification information of the first step, then by each software development terminal
Interior software generates synchronous image file in software development server, makes the software of synchronous image file and software development server
The main program compilation platform connection of exploitation, and emulated, and emulating errorless rear completion software development.
In the present embodiment, the hardware address address in the first step is at least three sections of octal system or hexadecimal
Data group, software identification information include software version information submodule, software check value information submodule, software upgrading plan
Slightly message sub-module.
In the present embodiment, in third step, on the one hand by software compilation manifold post unified coordination and administration softwares fortune
Row main program framework compilation post, software operation main program framework compilation post, running software function module compilation post are soft
Part identification information coding module compilation post and function module call interruption subroutine module compilation post, on the other hand by software
It is main program architecture simultaneously that identification information coding module compilation post and function module, which call interruption subroutine module compilation post,
Collect post, software operation main program framework compilation post, the corresponding program of running software function module compilation post offer
Service.
In the present embodiment, in the 4th step, the main program compilation platform of software development includes development platform management mould
Block, Embedded Application module, data simulation drive module, SRU driving interfaces analog module, VxWorks api interface simulate mould
Block, subsystem management emulation module, LRU control emulation modules and display emulation module.
In the present embodiment, in the 6th step, software model uses software hierarchical structure, and constructs class using by software
Type accords with as node tree structure as software hierarchical structure basic framework, and at least three-level child level catalogue is set in tree structure,
And include:
Software interface module collectively forms software interface mould with attribute symbol collection, functor collection, event symbol collection three parts structure
Part, attribute symbol collection therein includes four kinds of audio data, video data, character data and image data;Functor collection includes handing over
Mutual four function, algorithm function, flow function and escalation policy function parts;Event symbol collection includes Data Transmission Controlling, data
Three running priority grade policy control, software identification control parts;
Software transfer list module, to be based on software level module, software interface module, software transfer list module and soft
Four units of part display interface module establish at least four master data lists, and retrieval pointer corresponding with each data list information
Program;
Software display interface module, for based on the man-machine interactive interface based on software interface module interactive function,
Platform and hardware driving platform are driven including software program.
In the present embodiment, the retrieval pointer program includes interruption subroutine and software level module, software interface mould
Part, software transfer list module and the corresponding retrieval data critical word of four units of software display interface module.
In the present embodiment, the retrieval data critical word is at least three sections of octal system or hexadecimal data group.
In the present embodiment, in the 8th step, when mistake occurs in simulation process, then returns to the 6th step and carry out mistake
False retrieval is simultaneously changed.
The method of the present invention is simple, and operation and implementation are easy, and on the one hand effectively raises the work effect of software compilation work
The quality of rate and management coordination work, can effectively realize that software programming development matches with software configuration, improve software and compile
On the other hand journey development management work versatility and reasonability effectively raise the reasonability of software compilation operation framework layout
And reliability, while the another labor intensity for effectively reducing software compilation work and the requirement to computer hardware equipment, from
And achievees the purpose that reduce software compilation work operations cost and improve work quality.
The above shows and describes the basic principles and main features of the present invention and the advantages of the present invention.The technology of the industry
Personnel are it should be appreciated that the present invention is not limited to the above embodiments, and the above embodiments and description only describe this
The principle of invention, without departing from the spirit and scope of the present invention, various changes and improvements may be made to the invention, these changes
Change and improvement all fall within the protetion scope of the claimed invention.The claimed scope of the invention by appended claims and its
Equivalent thereof.