CN102033849A - Computer construction method based on embedded multi-CPUs - Google Patents

Computer construction method based on embedded multi-CPUs Download PDF

Info

Publication number
CN102033849A
CN102033849A CN201010618949XA CN201010618949A CN102033849A CN 102033849 A CN102033849 A CN 102033849A CN 201010618949X A CN201010618949X A CN 201010618949XA CN 201010618949 A CN201010618949 A CN 201010618949A CN 102033849 A CN102033849 A CN 102033849A
Authority
CN
China
Prior art keywords
sfs
function
afs
disposal system
service
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.)
Pending
Application number
CN201010618949XA
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201010618949XA priority Critical patent/CN102033849A/en
Publication of CN102033849A publication Critical patent/CN102033849A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a computer construction method based on embedded multi-CPUs, which is characterized in that a D-Linux operating system is constructed first, embedded CPUs of the same quantity are arranged as core processor modules to construct a hardware platform according to the total quantity of processing systems in the operating system, the bus of each embedded CPU is provided with a Flash, a memory and a hardware drive interface circuit, each embedded CPU only runs the function of the corresponding processing system, and function service requests and data exchange are accomplished via communication protocols among the processing systems. By using the invention, a computer system with a new structure can be constructed, and the system has the advantages of high efficiency, low energy consumption, and friendly software running and developing environment, which has the same feeling with a single CPU.

Description

A kind of construction method of the computing machine based on embedded many CPU
Technical field
The present invention relates to a kind of computer system.
Background technology
The embedded type CPU technology is the fast development of ARM particularly, and original industrial use computer IPC machine is progressively withdrawn from the market, and corresponding then is to be the embedded PC (being called EPC among the application) of main flow CPU with ARM.
The structure and the characteristics of existing EPC machine are :
Bus structure are simple: be system bus with the cpu bus; Operation embedded OS (winCE, embedded X P etc.) or linux operating system; Low in energy consumption---do not need heat abstractor; Application software and system software binding are solidificated in the FLASH.
Existing EPC machine major defect is:
System capability a little less than, be difficult to move fairly large application program (as the real-time on-site data gathering of high capacity system).
And existing general household PC then needs to move huge operating system software, bears very heavyly, and operational efficiency is not high.
Summary of the invention
The objective of the invention is to invent a kind of computer method that makes up novel embedded many CPU, can keep low-power consumption characteristics, can improve its performance again, strengthen expanding ability as existing EPC machine.
Method of the present invention is: at first make up a kind of D-Linux operating system, described D-Linux system is divided into main application service disposal system (AFS) and one group of standard feature association disposal system (SFS) by function, and standard feature association's disposal system (SFS) is helped the former as association's processing element of main application service disposal system (AFS) and finished using the support function of software.
Then, total quantity according to main application service disposal system and standard feature association disposal system, the embedded type CPU of arranging equivalent amount is that the processor module of core makes up hardware platform, described embedded type CPU, its bus carries Flash, internal memory and hardware driving interface circuit, and each embedded type CPU only moves the function of that disposal system of its correspondence.
Finish function services request and exchanges data by communication protocol between main application service disposal system (AFS) and the standard feature association's disposal system (SFS), come co-ordination owing to adopt communication protocol, AFS just can operate in respectively on the different embedded type CPUs with SFS, and each subsystem can have privately owned hardware resource.
Preferably: hardware platform system is made of an application service function processor assembly (H-AFS) and one group of standard feature coprocessor assembly (H-SFS); Application service function processor assembly is used to move AFS subsystem and the user application of D-Linux; Standard feature coprocessor assembly then is used to move the SFS subsystem of D-Linux; Arrange the internal communication hardware interface between the processor module.
Preferred embedded type CPU: with the processor of ARM7 as function service function processor module (H-SFS), ARM9 is as the processor of application service function processor assembly (H-AFS), and each cpu bus carries Flash, internal memory, Ethernet chip and USB interface.
Further preferred: whole computing machine of the present invention is divided into and uses main service processing part, network communication services assists processing section, file system stores service association processing section and graph window man-machine conversation to show service association processing section four major parts, and D-Linux operating system and this four part of embedded type CPU processor module correspondence are provided with four groups.
The invention has the beneficial effects as follows: adopt embedded many cpu packages, each CPU only does a job, can increase substantially system performance, keep embedded single CPU advantage of low power consumption again, the D-Linux that on the Linux basis, rebuilds particularly, can allow the user feel is exploitation and operation Linux application software on single CPU, the following mode, and the EPC of low-grade function can promote and be the powerful embedded computer of performance.
Embodiment
One, operating system D-Linux construction method of the present invention is as follows:
1, subsystem is divided:
D-Linux is made up of a main application service processing subsystem AFS and three disposal system SFS of standard feature association, three SFS systems are respectively: network communication services Net_SFS, file system stores service (comprising disk, USB flash disk) File_SFS, the graph window man-machine conversation shows service X_SFS.
2, main application service processing subsystem AFS:
The map of services function, the map of services function be with Linux in the power function code have the function of same code interface form (same title, method of calling and parameter, return results etc.), turn to mapping to guard module but difference is that the map of services function will call.
Module is guarded in mapping, and each SFS subsystem is guarded module to a mapping should be arranged, and division has three mappings and guards module according to subsystem, and the driver module that module is corresponding SFS is guarded in each mapping.
Service request response, mapping is guarded module and is obtained services request and parameter from the top service mapping function, and communication interface is transmitted to corresponding SFS internally, and the SFS result foldback that receives of communication interface is given the top service mapping function internally again.
Module event message among the SFS that receives of communication interface is internally guarded in event handling response, mapping, then to the upper strata map of services function notice that initiates a message, and gives corresponding system module by the upper strata mapping function again or the application software process is gone processing.
3, the AFS method for designing is:
The first step: design is write mapping and is guarded module and map of services function code according to the communication protocol between AFS and the SFS;
Second step: partly crop belonging to the pairing kernel module of the defined function of SFS subsystem, system call api function and correlative code among the Linux, replace the map of services function;
The 3rd step: will shine upon accordingly and guard module and incorporate linux kernel and driving together into, and so just form the AFS subsystem.
4, the processing subsystem SFS of standard feature association
SFS is made up of its monitoring demons and function service processing two parts, and this two parts merging is encapsulated in the FLASH of relevant hardware assembly H_SFS together.
The monitoring demons, the monitoring demons are master routines of SFS, be be used for receiving from the intercommunication interface corresponding to the service request response of AFS, and call inner respective service functional software module and handle, then the result is issued AFS by the intercommunication interface; Monitor demons simultaneously and will detect software and hardware incident from self inside, and event message is issued AFS by the intercommunication interface, each SFS all has the monitoring demons of oneself;
The monitoring demons are divided into two layers: the intercommunication interface drives with monitoring and handles.
Network communication services Net_SFS, the Net_SFS major function provides services such as processing of network socket and the processing of ICP/IP protocol stack, is made up of the linux kernel after network service monitoring demons and the cutting.
The first step: the network monitoring demons are write in design according to the communication protocol between AFS and the network service SFS (freely defining design);
Second step: keep the hardware device drivers function of related network among the Linux, the part cutting that has nothing to do with the operation of ICP/IP protocol stack in the linux kernel code is simplified;
The 3rd step: demons are monitored in network service be incorporated into the kernel master routine and get final product.
5, file system stores service File_SFS
The File_SFS major function provides the file system management service function, comprises services such as document creation, read-write, is made up of the linux kernel after file storage service monitoring demons and the cutting.
The first step: file storage service monitoring demons are write in design according to the communication protocol between AFS and the file storage service File_SFS (freely defining design);
Second step: keep the hardware device drivers function of relevant document system among the Linux, the irrelevant part cutting of file system operation in the linux kernel code is simplified;
The 3rd step: file storage service is monitored demons be incorporated into the kernel master routine and get final product.
6, the graph window man-machine conversation shows service X_SFS
The X_SFS major function provides window, graphic presentation service and keyboard, mouse action scanning respond services, shows that by graph window the linux after service monitoring demons and the cutting forms.
The first step: show that according to AFS and graph window the communication protocol (freely defining design) between the service X_SFS designs composer window graphic presentation service monitoring demons;
Second step: keep linux OPEN_GL, relevant other GUI built-in functions, X window system, display interface driving, keep USB keyboard and USB mouse-driven, the part cutting that the linux kernel is irrelevant is simplified;
The 3rd step: graph window is shown that the service monitoring demons are incorporated into the kernel master routine and get final product.
Two, hardware arrangement method
System architecture
SPC is made up of a H_AFS and three H_SFS nextport hardware component NextPorts and component interconnect communication hardware, and the interconnected communication interface hardware can be selected for use and be one of following manner between each assembly:
A, Ethernet exchange: each cpu package all is with a slice Ethernet chip, puts an Ethernet switching chip on the system board, and assembly is interconnected by Ethernet;
B, two or two butt joints of mixed serial bus: according to each cpu package data speed transmission requirement, respectively with PCI-ex, USB, two or two butt joints of Ethernet mode;
C, parallel data read-write butt joint: adopt FIFO, twoport internal memory or latch to finish exchanges data between each CPU, can select suitable fpga chip for use;
Preferred option is the Ethernet exchanged form.
The processor module basic configuration:
The CPU type selecting:
Can adopt various embedded type CPUs, preferred option is: ARM7 is as the processor of H_SFS, and ARM9 is as the processor of H_AFS;
Basic function hardware:
Each cpu bus carries FLASH, MEMORY, ETHNET network chip, USB interface (being used for can programming FLASH)
Preferred four functions of present embodiment:
1, application service primary processor assembly H_AFS is used for run user application software and AFS, except that basic configuration, need not add hardware in addition.
2, network communication services coprocessor assembly:
Be used for operational network service Net_SFS subsystem, except that basic configuration, need to expand one or several (Multi-netmouth communication) network chips and RJ45 interface external network interface as total system.
3, file system stores service coprocessor assembly:
Be used for moving disk (comprising USB flash disk) file storage service File_SFS subsystem, except that basic configuration, need to expand hard disk drive interface and USB flash disk driving interface circuit.
4, the graph window man-machine conversation shows service coprocessor assembly:
Being used for the man-machine conversation of human window figure shows service X_SFS, except that basic configuration, needs to expand circuit such as USB keyboard interface, USB mouse interface, display driver interface.
Certainly,, can also divide more other functions, cooperate corresponding D-Linux operating system and embedded type CPU processor module to finish according to concrete need of work.

Claims (4)

1. construction method based on the computing machine of embedded many CPU, it is characterized in that: at first make up a kind of D-Linux operating system, described D-Linux system is divided into main application service disposal system (AFS) and one group of standard feature association disposal system (SFS) by function, and standard feature association's disposal system (SFS) is helped the former as association's processing element of main application service disposal system (AFS) and finished using the support function of software;
Then, total quantity according to main application service disposal system and standard feature association disposal system, the embedded type CPU of arranging equivalent amount is that the processor module of core makes up hardware platform, described embedded type CPU, its bus carries Flash, internal memory and hardware driving interface circuit, and each embedded type CPU only moves the function of that disposal system of its correspondence;
Finish function services request and exchanges data by communication protocol between main application service disposal system (AFS) and the standard feature association's disposal system (SFS).
2. hardware platform system is made of an application service function processor assembly (H-AFS) and one group of standard feature coprocessor assembly (H-SFS); Application service function processor assembly is used to move AFS subsystem and the user application of D-linux; Standard feature coprocessor assembly then is used to move the SFS subsystem of D-linux; Arrange the internal communication hardware interface between the processor module.
3. the construction method of the computing machine based on embedded many CPU according to claim 1, it is characterized in that: with the processor of ARM7 as function service function processor module (H-SFS), ARM9 is as the processor of application service function processor assembly (H-AFS).
4. the construction method of the computing machine based on embedded many CPU according to claim 1, it is characterized in that: whole computing machine of the present invention is divided into uses main service processing part, network communication services association processing section, file system stores service association processing section and graph window man-machine conversation demonstration service association processing section four major parts, arrange corresponding this four part of D-Linux operating system and embedded type CPU processor module to be provided with four groups.
CN201010618949XA 2010-12-31 2010-12-31 Computer construction method based on embedded multi-CPUs Pending CN102033849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010618949XA CN102033849A (en) 2010-12-31 2010-12-31 Computer construction method based on embedded multi-CPUs

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010618949XA CN102033849A (en) 2010-12-31 2010-12-31 Computer construction method based on embedded multi-CPUs

Publications (1)

Publication Number Publication Date
CN102033849A true CN102033849A (en) 2011-04-27

Family

ID=43886765

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010618949XA Pending CN102033849A (en) 2010-12-31 2010-12-31 Computer construction method based on embedded multi-CPUs

Country Status (1)

Country Link
CN (1) CN102033849A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516839A (en) * 2015-01-07 2015-04-15 王建农 Embedded type application system
CN105022714A (en) * 2015-07-13 2015-11-04 刘程秀 Method for establishing a computer with more than two embedded central processing unit architectures
CN114884991A (en) * 2022-05-06 2022-08-09 常德中科多源电力融合技术研究院 Charging pile network access communication protocol self-checking test device and self-checking test method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070204271A1 (en) * 2006-02-28 2007-08-30 Andrew Gaiarsa Method and system for simulating a multi-CPU/multi-core CPU/multi-threaded CPU hardware platform
CN101118436A (en) * 2007-09-03 2008-02-06 石毅 New style open type numerical control system realizing method based on multiple CPU parallel processing technology
US20080301328A1 (en) * 2004-04-27 2008-12-04 Russ Craig F Method and system for improved communication between central processing units and input/output processors
CN101556722A (en) * 2009-05-15 2009-10-14 浪潮齐鲁软件产业有限公司 Method for constructing high-efficiency fiscal cash register under cooperation of multi-CPU

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080301328A1 (en) * 2004-04-27 2008-12-04 Russ Craig F Method and system for improved communication between central processing units and input/output processors
US20070204271A1 (en) * 2006-02-28 2007-08-30 Andrew Gaiarsa Method and system for simulating a multi-CPU/multi-core CPU/multi-threaded CPU hardware platform
CN101118436A (en) * 2007-09-03 2008-02-06 石毅 New style open type numerical control system realizing method based on multiple CPU parallel processing technology
CN101556722A (en) * 2009-05-15 2009-10-14 浪潮齐鲁软件产业有限公司 Method for constructing high-efficiency fiscal cash register under cooperation of multi-CPU

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104516839A (en) * 2015-01-07 2015-04-15 王建农 Embedded type application system
CN104516839B (en) * 2015-01-07 2017-12-08 王建农 A kind of built-in applied system
CN105022714A (en) * 2015-07-13 2015-11-04 刘程秀 Method for establishing a computer with more than two embedded central processing unit architectures
CN114884991A (en) * 2022-05-06 2022-08-09 常德中科多源电力融合技术研究院 Charging pile network access communication protocol self-checking test device and self-checking test method

Similar Documents

Publication Publication Date Title
CN102520912B (en) Core configuration discovery method and microprocessor thereof
CN102254021A (en) Method for constructing database based on virtual machine management system
CN101163133B (en) Communication system and method of implementing resource sharing under multi-machine virtual environment
CN100553214C (en) Mobile virtual environment system
CN105847088A (en) Virtual machine performance testing system based on cloud service
CN103473407A (en) Machine tool equipment service capability modeling method in cloud manufacturing environment
CN103677759A (en) Objectification parallel computing method and system for information system performance improvement
CN103051714A (en) Implementation method of water conservation cloud platform
CN112347212A (en) Railway cloud GIS platform for BIM application and building method thereof
CN102289513A (en) Method and system for obtaining internal files of virtual machine
CN102930082B (en) A kind of product design system based on distributed resource
CN102087609A (en) Dynamic binary translation method under multi-processor platform
WO2011106916A1 (en) System and method for prediction and analysis of energy consumption in building based on cloud computing
CN102033849A (en) Computer construction method based on embedded multi-CPUs
CN103207783A (en) Software development engine system based on browser/server mode and building method thereof
CN101071409A (en) Block-model computer and operating system
CN105100180A (en) Cluster node dynamic loading method, device and system
CN105045761B (en) A kind of high-speed parallel processing framework of data center
Lv et al. A WebGIS platform design and implementation based on open source GIS middleware
CN103257883A (en) Web based wireless sensing network remote stimulation system
CN103309774A (en) Construction method of virtual cluster double-layer redundancy framework
CN105022714A (en) Method for establishing a computer with more than two embedded central processing unit architectures
CN100367210C (en) Method for structuring distribution application system at stand-alone environment
CN102004667A (en) SOPC (system on programmable chip) software and hardware cooperative system based on Linux
CHEN et al. HCOS: A unified model and architecture for cloud operating 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
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110427