CN1538288A - Method of constructing multiplate embedded type system - Google Patents
Method of constructing multiplate embedded type system Download PDFInfo
- Publication number
- CN1538288A CN1538288A CNA200310101743XA CN200310101743A CN1538288A CN 1538288 A CN1538288 A CN 1538288A CN A200310101743X A CNA200310101743X A CN A200310101743XA CN 200310101743 A CN200310101743 A CN 200310101743A CN 1538288 A CN1538288 A CN 1538288A
- Authority
- CN
- China
- Prior art keywords
- veneer
- service
- client
- operating system
- single board
- 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
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention improves internal operation performances of computer. Setting up a service single board to be as server of system for client single board accomplishes functional programs needed by the single board as well as supports operation of service routines for other client single board. Internal network connection is adopted in system. Embedded type operation systems running on all single board are supported by file system. Media of file system in service single board are nonvolatile storage devices such as FLASH and magnetic disks etc. File system in client single board is dependent on service provided by service single board. The invention provides features of managing and upgrading version easily and designing system flexibly.
Description
Technical field
The present invention relates to the improved method of a kind of realization computer-internal runnability, be specifically related to a kind of method that makes up many plates embedded OS, relate in particular to a kind of method that adopts Client to make up many plates embedded system.
Background technology
A typical communication system is generally the distributed system of many CPU (CPU (central processing unit)), is moving operating system separately on each veneer, carries out specific work.In existing typical application pattern, the contact between the veneer is generally undertaken by the mode of communication between plate by the application program that runs on each veneer operating system.
For such built-in applied system, the storage of necessary independent complete operation system image of each veneer cpu system and application program image file, functions such as the startup of system.In order to finish these functions, all CPU veneers must dispose the hardware device of enough finishing these functions.These equipment generally comprise FLASH (flash memory) that starts ROM (ROM (read-only memory)), enough capacity or the like.In such application system, if desired the software of total system is made amendment or upgrade, then must upgrade each CPU single board system institute saved software version again.
For an application system,, can design identical or similar CPU veneer as much as possible usually for the simplification that designs.Correspondingly, though the application program of moving on these different CPU veneers may be different, parts such as operating system nucleus often may be identical, but owing to the mutual independence of each CPU veneer, cause the repeated storage of identical content, waste veneer resource.
In traditional many plates embedded system, also can adopt the mode of on master control borad, storing the required version file of other veneer, but common veneer just connects the master control borad download version by simple communication mode in BOOT (startup) code, unless hereafter any contact no longer takes place with master control borad at the operating system level in service needed.
As seen from Figure 1, in the logical organization when the veneer operation of traditional many plates embedded OS, application program is on the operating system nucleus.In fact, generally speaking, system kernel is that compiling is joined together to form a big image file with using, and is loaded into when operation among the internal memory.
Adopt this traditional mode to make up many plates embedded OS, following problem arranged:
1., then can cause causing the complicated of each single plate hardware structure and software-driven etc. and increasing cost because system uses too much nonvolatile memory if all veneers all are stored in this locality with software version.Simultaneously, because the dispersiveness that version file is deposited in the total system causes the complexity and difficulty of this maintenance of plate.
2. if adopt the kernel+application image file consolidation of all veneers to leave master control veneer in, the mode that each veneer was downloaded to master control veneer in the BOOT stage.Though can address the above problem, to use file system and adopt kernel and the operating system (as Linux) of using separate mode for needs, this scheme can't satisfy.
3. leave at master control veneer the mode of downloading to master control veneer in each board B OOT stage concentratedly with file system reflection (comprising application program) if adopt the kernel reflection of all veneers.Though can solve above all problems, can produce the another one problem: the executable file of application program itself can reside in the outer memory headroom of occupying volume in the internal memory, and this is fatal problem for the less embedded system of memory configurations.
In the scheme of the built-in applied system that structure at present commonly used is made up of many veneers, there are above-mentioned single plate structure too complicated (hardware cost so can raise), release maintenance complexity loaded down with trivial details (later maintenance cost rising), a problem that can't shared resource (hardware cost and maintenance cost raise simultaneously) between operating system grade level plate.
Summary of the invention
The purpose of this method is to propose a kind ofly can to reduce the hardware cost of the built-in applied system that many veneers constitute and the new system constructing scheme of system's later maintenance cost.By in many veneers embedded system, adopting the constructing plan of Client, a system service plate (can be to be specifically designed to the veneer that service is provided for other veneer, also can be feature board and the combination of serving plate) is set in many plates system.By resource sharing, improve the economy and the ease for maintenance of total system.
The present invention is achieved in that
A kind of method that makes up many plates embedded system is characterized in that:
Be provided with one and be client's service single board veneer,, except the functional programs of these veneer needs is finished in operation, also will move the service routine of supporting other client's veneer as the server of system;
System adopts inner networking to interconnect, and is used to support the end-to-end interconnection of all client's veneers to the service veneer;
The embedded OS that moves on all veneers all has the file system support, and operating system nucleus will be finished the device drives of corresponding document system physical medium and the logical file system on the managing physical medium;
For the service veneer, the medium of file system is the non-volatile memory device on the service veneer, as FLASH, disk etc.;
For client's veneer, then this document system depends on the service that the service veneer provides.
Described service veneer is to be specifically designed to the veneer that service is provided for client's veneer, or the combination of feature board and service plate.
The method of described many plates of structure embedded system comprises the steps:
The first step, configuration embedded board hardware: for the function veneer that belongs to client, for non-volatile memory apparatus, dispose basic startup ROM, for the service veneer that belongs to server system, then will be according to the corresponding hardware that can satisfy service function of total system real needs configuration;
Interconnect between second step, many plates embedded system plate: adopt interconnection mode between the plate that is fit to the whole system function demand, connect each client's veneer and service veneer;
The 3rd step, configuration client single board starting ROM: client's single board starting ROM finishes the single plate hardware initialization and starts the needed client-side program of client's veneer operating system;
The 4th step, configuration service single board starting ROM: the service function that the service veneer has the independent startup operating system nucleus and provided;
The 5th step, configuration service veneer file system: the file system of service veneer resides in the non-volatile memory apparatus on this veneer, is used for serving the startup of veneer itself and is the information that each client's veneer storage operating system, application program and any needs are stored in non-volatile memory apparatus;
The 6th step, startup service veneer: the service Board Power up starts and operation service accordingly;
The 7th step, startup client veneer: client's Board Power up starts, and finishes startup by the service that the service veneer provides.
Carry out initialized single plate hardware described in the 3rd step, be meant the hardware device that is used for the service single board communication especially.
Starting the service veneer in described the 6th step further may further comprise the steps:
Carry out the start-up routine that starts among the ROM, and by external units such as start-up routine initialization FLASH;
From FLASH, read the service veneer self operating system nucleus and start the operating system;
Operating system loads the FLASH driver, and the file system that is installed on it;
Operating system is carried out corresponding initialization, the service processes of operation configuration, and enter service state.
Starting client's veneer in described the 7th step further may further comprise the steps:
Carry out to start the start-up routine among the ROM, and by the start-up routine initialization apparatus, comprising with the equipment of service single board communication;
Running client single board communication configurator, request service veneer communicates parameter configuration to this veneer, the obtaining communication parameter;
The running client file downloads, and downloads this plate operating system nucleus from the service veneer;
The kernel that starts the operating system, and finish the task of the file system that is positioned at the service veneer by kernel;
This veneer application program in the file system that operation has been installed.
Effect of the present invention:
1, because the physical equipment that client's veneer needs reduces, can reduce system cost.
2, adopted Client after, can use more flexible way to carry out system function design.For example the information that can not lose after the system's power down that need preserve for each veneer adopts in the classic method to be kept at this locality or to be delivered to master control borad by the relevant interface in the systemic-function interface and preserves; After adopting Client, not only this veneer of access and other veneer are kept at the relevant information of serving on the veneer to each veneer very easily, and the mode of access is just the same with the operation in local file system, has simplified system function design.
3, adopt Client to make up after many plates embedded system, not only system can support for traditional embedded OS, and uses the operating system of file system to support for needs.
4, save storage space.The non-volatile memory apparatus on can saving each client's veneer, this method also can reduce for the total memory space requirements of system.Adopt after the Client, the identical file for all using in a plurality of single board systems does not need repeated storage.
5, be easy to version management and upgrading.Adopt after the Client, the related data of all client's single board system operation necessary operations systems, application program all is kept in service (master control) veneer, can safeguard and upgrade job by simple version.
Description of drawings
Fig. 1 is the many plates Embedded System Structure that adopts usually;
Fig. 2 is the many plates Embedded System Structure that adopts Client;
Fig. 3 adopts client (common) board startup process in the system of Client;
Fig. 4 adopts service (master control) board startup process in the system of Client.
Embodiment
The method that the described employing Client of this method makes up embedded system is as follows:
The first step, configuration embedded board hardware: for the veneer that belongs to client, for non-volatile memory apparatus, only need the basic startup ROM of configuration, and, then to can satisfy the hardware of service function accordingly according to the configuration of total system real needs for the service veneer that belongs to server system.
Interconnect between second step, many plates embedded system plate: adopt interconnection mode between the plate that is fit to the whole system function demand, connect each function veneer and service veneer.
The 3rd step, configuration client single board starting ROM: client's single board starting ROM finish the single plate hardware initialization (especially for the hardware device of service single board communication) and start the needed client-side program of client's veneer operating system.
The 4th step, configuration service single board starting ROM: the service function that the service veneer has the independent startup operating system nucleus and provided.
The 5th step, configuration service veneer file system: in the resident non-volatile memory apparatus onboard of file system of service veneer, be used for serving the startup of veneer itself and the information that is stored in non-volatile memory apparatus for each client's veneer storage operating system, application program and any needs.
The 6th step, startup service veneer: the service Board Power up starts and operation service accordingly, may further comprise the steps:
1, carry out the start-up routine that starts among the ROM, and by external units such as start-up routine initialization FLASH;
2, from FLASH, read the service veneer self operating system nucleus and start the operating system;
3, operating system loads the FLASH driver, and the file system that is installed on it;
4, operating system is carried out corresponding initialization, the service processes of operation configuration, and enter service state.
The 7th step, startup client veneer: client's Board Power up starts, and finishes startup by the service that the service veneer provides, and may further comprise the steps:
1, carry out to start start-up routine among the ROM, and by the start-up routine initialization apparatus, comprising with the equipment of service single board communication;
2, running client single board communication configurator, request service veneer communicates parameter configuration to this veneer, the obtaining communication parameter;
3, the running client file downloads, and downloads this plate operating system nucleus from the service veneer;
4, the kernel that starts the operating system, and finish the task of the file system that is positioned at the service veneer by kernel;
5, this veneer application program in the operation file system of having installed.
Be described in further detail below in conjunction with the enforcement of accompanying drawing technical scheme:
Fig. 1 has introduced the building mode of many plates embedded system of common employing.In such system, independently of one another between each veneer on the level of operating system, without any contact.Contact between the veneer is embodied between the plate that carries out because of the demand of upper layer application in the communication.
Fig. 2 is the system architecture that adopts many plates embedded system of Client structure, compares with many plates of tradition Embedded System Structure, and system has following principal feature:
1. have one to be other service single board (master control) veneer in the system, it is the server in the client/server embedded system, except the functional programs of these veneer needs is finished in operation, also will move the service routine of supporting other client's veneer.
2. system adopts inner networking to interconnect, to support the end-to-end interconnection of all client's veneers to the service veneer.
3. the embedded OS that moves on all veneers all has the file system support, and operating system nucleus will be finished the device drives of corresponding document system physical medium and the logical file system on the managing physical medium.For the service veneer, the medium of file system is non-volatile memory device such as FLASH, the disk etc. on the service veneer; And for client's veneer, then this document system depends on the service that the service veneer provides.
Fig. 3 has introduced the start-up course of client's veneer in the many plates embedded system that adopts Client, and core process is as follows:
1. the BOOT code of client's veneer needs can drive the communication facilities on the veneer and can have simple client functionality, and the file download service of BOOT code Connection Service veneer is obtained the operating system nucleus that this single board starting needs.
2.BOOT code starts from the service operating system nucleus that veneer obtained.After operating system nucleus is finished corresponding startup flow process, will the Connection Service veneer, and the file service of using the service veneer to provide is installed the needed file system of this veneer.
3. veneer loading application programs and enter the application service flow process from the file system of installing.
Fig. 4 is the startup flow process that adopts service (master control) veneer in many plates embedded system of Client, and core process is as follows:
1. the nonvolatile memory on the BOOT driven by program veneer of service veneer, and the kernel that therefrom starts the operating system;
2. operating system nucleus provides nonvolatile memory driving on the plate, and installation position file system thereon;
3. serve the service that all systems of single board starting need;
4. serve required other function finished of this veneer of single board starting.
Generally speaking, after the application start of client's veneer, can be smaller to the dependence of service veneer, thus the unloading phase finish after, being used to of service veneer provides the system overhead of service can be very not big.
Claims (7)
1, a kind of method that makes up many plates embedded system is characterized in that:
Be provided with one and be client's service single board veneer,, except the functional programs of these veneer needs is finished in operation, also will move the service routine of supporting other client's veneer as the server of system;
System adopts inner networking to interconnect, and is used to support the end-to-end interconnection of all client's veneers to the service veneer;
The embedded OS that moves on all veneers all has the file system support, and operating system nucleus will be finished the device drives of corresponding document system physical medium and the logical file system on the managing physical medium;
For the service veneer, the medium of file system is the non-volatile memory device on the service veneer, as FLASH, disk etc.;
For client's veneer, then this document system depends on the service that the service veneer provides.
2, make up the method for many plates embedded system according to claim 1, it is characterized in that:
Described service veneer is to be specifically designed to the veneer that service is provided for client's veneer, or the combination of feature board and service plate.
3, make up the method for many plates embedded system as claimed in claim 1 or 2, comprise the steps:
The first step, configuration embedded board hardware: for the function veneer that belongs to client, for non-volatile memory apparatus, dispose basic startup ROM, for the service veneer that belongs to server system, then will be according to the corresponding hardware that can satisfy service function of total system real needs configuration;
Interconnect between second step, many plates embedded system plate: adopt interconnection mode between the plate that is fit to the whole system function demand, connect each client's veneer and service veneer;
The 3rd step, configuration client single board starting ROM: client's single board starting ROM finishes the single plate hardware initialization and starts the needed client-side program of client's veneer operating system;
The 4th step, configuration service single board starting ROM: the service function that the service veneer has the independent startup operating system nucleus and provided;
The 5th step, configuration service veneer file system: the file system of service veneer resides in the non-volatile memory apparatus on this veneer, is used for serving the startup of veneer itself and is the information that each client's veneer storage operating system, application program and any needs are stored in non-volatile memory apparatus;
The 6th step, startup service veneer: the service Board Power up starts and operation service accordingly;
The 7th step, startup client veneer: client's Board Power up starts, and finishes startup by the service that the service veneer provides.
4, as the method for many plates of structure embedded system as described in the claim 3, it is characterized in that carrying out initialized single plate hardware described in the 3rd step, be meant the hardware device that is used for the service single board communication especially.
5,, it is characterized in that starting the service veneer in described the 6th step further may further comprise the steps as the method for many plates of structure embedded system as described in the claim 3:
Carry out the start-up routine that starts among the ROM, and by external units such as start-up routine initialization FLASH;
From FLASH, read the service veneer self operating system nucleus and start the operating system;
Operating system loads the FLASH driver, and the file system that is installed on it;
Operating system is carried out corresponding initialization, the service processes of operation configuration, and enter service state.
6,, it is characterized in that starting client's veneer in described the 7th step further may further comprise the steps as the method for many plates of structure embedded system as described in the claim 3:
Carry out to start the start-up routine among the ROM, and by the start-up routine initialization apparatus, comprising with the equipment of service single board communication;
Running client single board communication configurator, request service veneer communicates parameter configuration to this veneer, the obtaining communication parameter;
The running client file downloads, and downloads this plate operating system nucleus from the service veneer;
The kernel that starts the operating system, and finish the task of the file system that is positioned at the service veneer by kernel;
This veneer application program in the file system that operation has been installed.
7, as the method for many plates of structure embedded system as described in the claim 3, may further comprise the steps:
The first step, configuration embedded board hardware: for the function veneer that belongs to client, for non-volatile memory apparatus, dispose basic startup ROM, for the service veneer that belongs to server system, then will be according to the corresponding hardware that can satisfy service function of total system real needs configuration;
Interconnect between second step, many plates embedded system plate: adopt interconnection mode between the plate that is fit to the whole system function demand, connect each client's veneer and service veneer;
The 3rd step, configuration client single board starting ROM: client's single board starting ROM finishes the single plate hardware initialization and starts the needed client-side program of client's veneer operating system;
The 4th step, configuration service single board starting ROM: the service function that the service veneer has the independent startup operating system nucleus and provided;
The 5th step, configuration service veneer file system: the file system of service veneer resides in the non-volatile memory apparatus on this veneer, is used for serving the startup of veneer itself and is the information that each client's veneer storage operating system, application program and any needs are stored in non-volatile memory apparatus;
The 6th step, startup service veneer: the service Board Power up starts and operation service accordingly, may further comprise the steps:
Carry out the start-up routine that starts among the ROM, and by external units such as start-up routine initialization FLASH,
From FLASH, read the service veneer self operating system nucleus and start the operating system,
Operating system loads the FLASH driver, and the file system that is installed on it,
Operating system is carried out corresponding initialization, the service processes of operation configuration, and enter service state;
The 7th step, startup client veneer: client's Board Power up starts, and finishes startup by the service that the service veneer provides, and may further comprise the steps:
Carry out to start the start-up routine among the ROM, and by the start-up routine initialization apparatus, comprising with the equipment of service single board communication,
Running client single board communication configurator, request service veneer communicates parameter configuration to this veneer, the obtaining communication parameter,
The running client file downloads, and downloads this plate operating system nucleus from the service veneer,
The kernel that starts the operating system, and finish the task of the file system that is positioned at the service veneer by kernel,
This veneer application program in the file system that operation has been installed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200310101743 CN1269023C (en) | 2003-10-22 | 2003-10-22 | Method of constructing multiplate embedded type system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200310101743 CN1269023C (en) | 2003-10-22 | 2003-10-22 | Method of constructing multiplate embedded type system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1538288A true CN1538288A (en) | 2004-10-20 |
CN1269023C CN1269023C (en) | 2006-08-09 |
Family
ID=34333109
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200310101743 Expired - Fee Related CN1269023C (en) | 2003-10-22 | 2003-10-22 | Method of constructing multiplate embedded type system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1269023C (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100365573C (en) * | 2005-10-24 | 2008-01-30 | 华为技术有限公司 | Frame loading method |
CN100426743C (en) * | 2005-12-06 | 2008-10-15 | 华为技术有限公司 | Internal reliable interconnect communication device |
CN101360043A (en) * | 2005-12-06 | 2009-02-04 | 华为技术有限公司 | Communication apparatus reliably connected inside |
CN1992641B (en) * | 2005-12-28 | 2010-05-05 | 华为技术有限公司 | System and method for realizing board software loading |
CN108958813A (en) * | 2018-06-13 | 2018-12-07 | 北京无线电测量研究所 | file system construction method, device and storage medium |
-
2003
- 2003-10-22 CN CN 200310101743 patent/CN1269023C/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100365573C (en) * | 2005-10-24 | 2008-01-30 | 华为技术有限公司 | Frame loading method |
CN100426743C (en) * | 2005-12-06 | 2008-10-15 | 华为技术有限公司 | Internal reliable interconnect communication device |
CN101360043A (en) * | 2005-12-06 | 2009-02-04 | 华为技术有限公司 | Communication apparatus reliably connected inside |
CN101360043B (en) * | 2005-12-06 | 2011-07-20 | 华为技术有限公司 | Communication apparatus reliably connected inside |
CN1992641B (en) * | 2005-12-28 | 2010-05-05 | 华为技术有限公司 | System and method for realizing board software loading |
CN108958813A (en) * | 2018-06-13 | 2018-12-07 | 北京无线电测量研究所 | file system construction method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN1269023C (en) | 2006-08-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1147787C (en) | Remote load executive method, system, data processing equipment, management equipment and recording medium | |
CN1191526C (en) | Method and device for mounting restorable software of computer system | |
CN100339830C (en) | Method for updating software | |
CN102132251B (en) | Systems and methods for booting a bootable virtual storage appliance on a virtualized server platform | |
CN1959640A (en) | System and method for representing user process to software package in software package management system | |
CN100345415C (en) | Method and apparatus for perfoming boot, maintenance, or install operations on a storage area network | |
CN1256668C (en) | Operating system automatically installing method applying Linux | |
CN1781091A (en) | System and method for virtualizing basic input/output system (BIOS) including BIOS run time services | |
CN102214118A (en) | Method, system and device for controlling virtual machine (VM) | |
CN101030146A (en) | Method and system for updating fastener | |
CN1655129A (en) | Universal method for dynamical management of storage resource under Windows platform | |
CN1834913A (en) | Method of managing software installation and unloading | |
CN1667574A (en) | Side-by-side drivers | |
CN1734422A (en) | Data processing apparatus and firmware update method | |
CN1749963A (en) | Upgrading method for Boot software and recovering method for Boot software | |
CN1617496A (en) | Method for automaticall updating configuration for next generation network terminal | |
CN1269023C (en) | Method of constructing multiplate embedded type system | |
CN1570863A (en) | System and method for remotely loading or upgrading program | |
CN1786910A (en) | BIOS on-line upgrading method | |
CN1581077A (en) | Method for device for improving computer furction for accessing internet | |
CN1744047A (en) | Method for realizing dynamic layout of high-performance server based on group structure | |
CN1245686C (en) | Method for loading and synchronizing of software patch for embedded system | |
CN101043529A (en) | Universal gateway interface and method for obtaining data using the same | |
CN1529848A (en) | Time-optimized replacement of software application | |
CN1251071C (en) | Method for realizing multe-function embedding 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 | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20060809 Termination date: 20171022 |
|
CF01 | Termination of patent right due to non-payment of annual fee |