CN100442229C - Non-disk workstation computer system for automatically recognizing CPU construction - Google Patents

Non-disk workstation computer system for automatically recognizing CPU construction Download PDF

Info

Publication number
CN100442229C
CN100442229C CNB2006100242256A CN200610024225A CN100442229C CN 100442229 C CN100442229 C CN 100442229C CN B2006100242256 A CNB2006100242256 A CN B2006100242256A CN 200610024225 A CN200610024225 A CN 200610024225A CN 100442229 C CN100442229 C CN 100442229C
Authority
CN
China
Prior art keywords
cpu
disk workstation
mentioned
module
operating system
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.)
Expired - Fee Related
Application number
CNB2006100242256A
Other languages
Chinese (zh)
Other versions
CN101030141A (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.)
Huanda Computer Shanghai Co Ltd
Mitac International Corp
Original Assignee
Mitac International Corp
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 Mitac International Corp filed Critical Mitac International Corp
Priority to CNB2006100242256A priority Critical patent/CN100442229C/en
Publication of CN101030141A publication Critical patent/CN101030141A/en
Application granted granted Critical
Publication of CN100442229C publication Critical patent/CN100442229C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A disc-free operation station computer system being able to automatically identify CPU structure is prepared as using network start-up module to make start-up from network, downloading and operating automatic identification CPU structure module from disc-free operation station server to detect CPU type of disc-free operation station, loading and operating relevant operation system on disc-free operation station to start up file so as to load operation system on disc-free operation station by load operation module according to detected CPU type.

Description

A kind of non-disk workstation computer system of automatic identification CPU framework
Technical field
Content of the present invention relates to non-disk workstation computer system, especially can discern the computer system of CPU (CPU (central processing unit), the Central Process Unit) framework of non-disk workstation automatically.
Background technology
The operating system that the CPU figure place difference of computing machine, decision operate on these computer systems is also different.For example, at present the figure place of CPU has 32 and 64 s' branch, so, operating system, for example form (Windows) system of Microsoft's exploitation is also inequality, has 32 operating system and 64 operating system to operate in respectively on 32 bit CPUs and 64 bit CPUs respectively.Trend in the future is, the more CPU of seniority may occur, and for example 128 CPU so also will have corresponding operating system to adapt with it.If the figure place of operating system and CPU is not complementary, problem such as may generation systems can't normally move.
For the non-disk workstation, exist above-mentioned problem equally.The processor that present non-disk workstation can't be discerned different frameworks automatically moves different operating system respectively.It can only be selected by artificial the participation, and for example the operator selects the figure place of CPU by keyboard or other input tool before starting, 32 bit CPUs for example, and the non-disk workstation just loads corresponding operating system according to conventional method then, i.e. 32 operating system.Such non-disk workstation exists a lot of shortcomings, and for example to the having relatively high expectations of user, the user must know the type of own used CPU, so just can know and select any operating system.If do not know, just can't select.And for example, manually-operated makes mistakes easily.If the user has selected wrong operating system,, will cause serious consequences such as system crash or non-disk workstation deadlock such as having selected 64 bit manipulation systems on 32 CPU, to move.These problems have not only caused burden to the user, and have influenced the operational efficiency of system, even have quickened the ageing process of hardware.
Summary of the invention
In order to address the above problem, the inventor provides a kind of non-disk workstation computer system that can discern the CPU framework automatically.
A kind of non-disk workstation computer system that can discern the CPU framework automatically, comprise a non-disk workstation server and some non-disk workstations, these non-disk workstations are connected with described server by network, described non-disk workstation server comprises network initiation module and load operating operating system module, it is characterized in that, described non-disk workstation server also comprises automatic identification CPU structure module, automatically identification CPU structure module is downloaded and runs in the non-disk workstation, it can read the information among the CPU, standard according to CPU is judged cpu type, and give described load operating operating system module with the information transmission of the cpu type discerned, and described load operating operating system module can load corresponding operating system according to the cpu type that above-mentioned automatic identification CPU structure module is discerned.
Above-mentioned network initiation module is used for by the network startup non-disk workstation, and above-mentioned load operating operating system module is used for downloading the os starting file from the non-disk workstation server, and and then on the non-disk workstation load operation system.
After the start of above-mentioned non-disk workstation, thereby pass through network startup from above-mentioned server download and operational network startup module, download above-mentioned automatic identification CPU structure module and load operating operating system module from above-mentioned server, move above-mentioned automatic identification CPU structure module and detect the cpu type of above-mentioned non-disk workstation, and on above-mentioned non-disk workstation, load corresponding operating system according to this cpu type that detects by above-mentioned load operating operating system module.
Above-mentioned automatic identification CPU structure module, it comprises the instruction of calling cpuid instruction or near order at least, judges cpu type by this cpuid instruction or similar instruction.
The CPU framework of a kind of automatic identification non-disk workstation is also put down in writing the method for operating system, comprises the steps:
Step 1, non-disk workstation start is downloaded network initiation module from the non-disk workstation server, thereby and operational network start module and pass through network startup;
Step 2, identification CPU structure module and load operating operating system module are automatically downloaded from above-mentioned non-disk workstation server in above-mentioned non-disk workstation, move the type of the CPU of described automatic identification CPU structure module detecting non-disk workstation, and give described load operating operating system module the information transmission of cpu type;
Step 3, the load operating operating system module is stored in corresponding os starting file on the server of above-mentioned non-disk workstation according to the above-mentioned cpu type load operating that detects, and this startup file pilot operationp system loads is on the non-disk workstation.
In above-mentioned steps two, discern the CPU structure module is detected the CPU of non-disk workstation by cpuid instruction or similar instruction type automatically.
In above-mentioned steps three, the load operating operating system module comes the corresponding os starting file of load operating according to the figure place of the CPU that detects in the step 2, if promptly the figure place of CPU be 32 the operation 32-bit operating system, if the figure place of CPU be 64 operation 64 bit manipulation systems, if the figure place of CPU be other also move corresponding operating system.Concrete way is after obtaining cpu type, above-mentioned load operating operating system module finds the title and the path of the startup file of the corresponding operating system that will load in the respective profiles of non-disk workstation, then this os starting file is passed through tftp (TFTP from server, Trivial File TransferProtocol) instrument or similarly other instruments download to the internal memory and the operation of non-disk workstation, thereby finish loading procedure to the corresponding operating system.
The technical scheme that content of the present invention provides has solved the problem that the non-disk workstation can't be discerned the CPU framework automatically well.The present invention has lot of advantages, for example possesses the characteristics of high automation, and it does not need artificial participation.Because added the module of automatic identification CPU framework, the non-disk workstation system will move corresponding operating system according to the type of CPU, does not need artificial participation.And the extendability of content of the present invention is fine, and when the CPU of new framework occurring, content of the present invention still can be suitable for.
Description of drawings
Fig. 1 is the connection diagram of one embodiment of the present of invention.
Fig. 2 is the process flow diagram of one embodiment of the present of invention.
Label declaration
1, non-disk workstation server
2, non-disk workstation
Embodiment
With reference to figure 1, it has described the synoptic diagram of one embodiment of the present of invention.With reference to figure 1, non-disk workstation server 1 is connected with one or more non-disk workstation 2 by network.In the present embodiment, above-mentioned network is a LAN (Local Area Network).
With reference to figure 2, it has described the process flow diagram of the also corresponding load operation of the CPU framework system that discerns the non-disk workstation in one embodiment of the present of invention automatically.Concrete steps are as follows:
The non-disk workstation start, and from download of non-disk workstation server and operational network startup module, step 31;
Identification CPU structure module and load operating operating system module are automatically downloaded from above-mentioned server in above-mentioned non-disk workstation, and move the type that described automatic identification CPU structure module is detected the CPU of above-mentioned non-disk workstation, step 32;
Automatically identification CPU structure module judges that the CPU of above-mentioned non-disk workstation is 32 CPU or 64 CPU, and step 33 is if 32 bit CPUs, then load and move 32-bit operating system, step 34 is if 64 CPU, then load and move 64 bit manipulation systems, step 35.
In the present embodiment, in above-mentioned steps 32, discern the CPU structure module automatically and detect the cpu type of above-mentioned non-disk workstation by cpuid instruction, its detailed process can be illustrated by following false code:
11 EAX=80000001H
12 CPUID
13 value=EBX
14 if(value==51H)
15 cputype=32bit
16 else?if(value==83H)
17 cputype=64bit
Wherein, above-mentioned false code 11 is to specify the value of register for carrying out cpuid instruction; False code 12 is used to carry out cpuid instruction, and this instruction will be read the type of CPU; False code 13 composes the value of the cpu type that read to variable value; False code 14 judges whether the value of the cpu type that is read is the 51H of 16 systems, if the figure place of this CPU is 32 so, promptly shown in false code 15; False code 16 judges whether the value of the cpu type that is read is the 83H of 16 systems, if the figure place of this CPU is 64 so, promptly shown in false code 17.Just can obtain the figure place of the CPU of current non-disk workstation easily by above-mentioned false code.About the implementation of this part, except foregoing is described, the reference book of the relevant compilation of all right reference and the service manual of various CPU or instructions etc.It will be appreciated by those skilled in the art that above-mentioned false code and in concrete non-disk workstation computer system, be achieved, do not give unnecessary details at this.
Detect the particular type of CPU by above-mentioned steps 32 after, just can load corresponding operating system targetedly, as above-mentioned step 33 and 34, or step 33 and 35 described.In concrete implementation procedure, the load operating operating system module of non-disk workstation can download to corresponding operating system with the tftp instrument the internal memory of this non-disk workstation and operation from server, the concrete practice is that download earlier and operation are stored in the os starting file on the server of above-mentioned non-disk workstation, and guides corresponding operating system to be carried on this non-disk workstation by this startup file.Can be about this part content with reference to the related known technology, for example can be with reference to the listed content of webpage http://syslinux.zytor.com/pxe.php.It will be appreciated by those skilled in the art that above-mentioned false code and in concrete non-disk workstation computer system, be achieved, do not give unnecessary details at this.
In the present embodiment, after step 32 is finished, described automatic identification CPU structure module detects the cpu type of its non-disk workstation that operates in 2, information with this cpu type sends described load operating operating system module to as parameter then, and the load operating operating system module then loads relative operation system according to cpu type according to above-mentioned steps.
Although the present invention with aforesaid preferred embodiment with explanation, but the foregoing description is not to be used for limiting the present invention, any technician that this field is familiar with, enlightenment according to design philosophy of the present invention, concrete summary of the invention and embodiment, should various changes and adjustment, and by these changes with adjust resulting new content and should be contained by content of the present invention.

Claims (4)

1. automatic non-disk workstation computer system of identification CPU framework, comprise a non-disk workstation server and some non-disk workstations, described non-disk workstation is connected with described non-disk workstation server by network, described non-disk workstation server comprises a network initiation module and a load operating operating system module, it is characterized in that described non-disk workstation server also comprises:
One automatic identification CPU structure module is downloaded and runs in the non-disk workstation, is used to detect the cpu type of its non-disk workstation of moving, and gives described load operating operating system module with the information transmission of the cpu type discerned,
The cpu type that above-mentioned load operating operating system module is discerned according to above-mentioned automatic identification CPU structure module is that described non-disk workstation loads corresponding operating system,
After the start of above-mentioned non-disk workstation, thereby pass through network startup from above-mentioned server download and operational network startup module, download above-mentioned automatic identification CPU structure module and load operating operating system module from above-mentioned server, move above-mentioned automatic identification CPU structure module and detect the cpu type of above-mentioned non-disk workstation, and on above-mentioned non-disk workstation, load corresponding operating system according to this cpu type that detects by above-mentioned load operating operating system module.
2. the non-disk workstation computer system of a kind of automatic identification CPU framework as claimed in claim 1, it is characterized in that, at least comprise the instruction of calling cpuid instruction in the described automatic identification CPU structure module, by the cpu type of the cpuid instruction detecting identification non-disk workstation that it operated in.
3. discern the CPU framework of non-disk workstation and the method for load operation system automatically for one kind, comprise the steps:
Step 1, non-disk workstation start is downloaded network initiation module from the non-disk workstation server, thereby and operational network start module and pass through network startup;
Step 2, identification CPU structure module and load operating operating system module are automatically downloaded from above-mentioned non-disk workstation server in above-mentioned non-disk workstation, move described automatic identification CPU structure module and detect the cpu type of above-mentioned non-disk workstation, and give described load operating operating system module the information transmission of cpu type;
Step 3, the load operating operating system module is stored in corresponding os starting file on the server of above-mentioned non-disk workstation according to the above-mentioned cpu type load operating that detects, and this startup file guides corresponding operating system to be loaded into above-mentioned non-disk workstation.
4. the CPU framework of a kind of automatic identification as claimed in claim 3 non-disk workstation and the method for load operation system, it is characterized in that, in described step 2, described automatic identification CPU structure module is detected the type of the CPU of above-mentioned non-disk workstation by cpuid instruction.
CNB2006100242256A 2006-02-28 2006-02-28 Non-disk workstation computer system for automatically recognizing CPU construction Expired - Fee Related CN100442229C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006100242256A CN100442229C (en) 2006-02-28 2006-02-28 Non-disk workstation computer system for automatically recognizing CPU construction

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006100242256A CN100442229C (en) 2006-02-28 2006-02-28 Non-disk workstation computer system for automatically recognizing CPU construction

Publications (2)

Publication Number Publication Date
CN101030141A CN101030141A (en) 2007-09-05
CN100442229C true CN100442229C (en) 2008-12-10

Family

ID=38715514

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006100242256A Expired - Fee Related CN100442229C (en) 2006-02-28 2006-02-28 Non-disk workstation computer system for automatically recognizing CPU construction

Country Status (1)

Country Link
CN (1) CN100442229C (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010048759A1 (en) * 2008-10-31 2010-05-06 Zhang Weiming “one host with multiple workstations” computer system, its configuring method and usb hub box
CN101794235B (en) * 2010-03-05 2013-01-09 中国人民解放军国防科学技术大学 Diskless computer starting method based on operating system network drive
CN103677873A (en) * 2012-09-10 2014-03-26 联想(北京)有限公司 Operating system installation method, operating system switching method and electronic equipment
CN103034719B (en) * 2012-12-12 2016-04-13 北京奇虎科技有限公司 CPU type identifier method, equipment and hardware detection system
CN103020225B (en) * 2012-12-12 2016-03-23 北京奇虎科技有限公司 A kind of CPU type identifier method and hardware detection system
CN103581297A (en) * 2013-09-29 2014-02-12 苏州中联互通信息科技有限公司 Non-disk network system
CN104657154A (en) * 2013-11-18 2015-05-27 中兴通讯股份有限公司 Method, device and terminal for loading application program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5349643A (en) * 1993-05-10 1994-09-20 International Business Machines Corporation System and method for secure initial program load for diskless workstations
CN1302023A (en) * 1999-12-29 2001-07-04 上海龙林通讯技术开发有限公司 Method for memoryless equipment in IP network to obtain configuration information
CN1534473A (en) * 2003-04-01 2004-10-06 上海盈博电子科技发展有限公司 Starting system for diskless operating station and its method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5349643A (en) * 1993-05-10 1994-09-20 International Business Machines Corporation System and method for secure initial program load for diskless workstations
CN1302023A (en) * 1999-12-29 2001-07-04 上海龙林通讯技术开发有限公司 Method for memoryless equipment in IP network to obtain configuration information
CN1534473A (en) * 2003-04-01 2004-10-06 上海盈博电子科技发展有限公司 Starting system for diskless operating station and its method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
即插即用无盘工作站设置软件得设计与实现. 张裕飞,张勇,贺宏伟,张西学.计算机工程与设计,第26卷第10期. 2005
即插即用无盘工作站设置软件得设计与实现. 张裕飞,张勇,贺宏伟,张西学.计算机工程与设计,第26卷第10期. 2005 *

Also Published As

Publication number Publication date
CN101030141A (en) 2007-09-05

Similar Documents

Publication Publication Date Title
CN100442229C (en) Non-disk workstation computer system for automatically recognizing CPU construction
US7886285B2 (en) Combining software executable libraries
US7925877B2 (en) Method, system and apparatus for providing a boot loader of an embedded system
US6049668A (en) Method and apparatus for supporting multiple processor-specific code segments in a single executable
CN110287122B (en) Automatic test method, device, terminal and storage medium
US20020083216A1 (en) Multi-platform command line interpretation
US20080077915A1 (en) Personalized installation files
CN106648826A (en) Method and device for live migration of virtual machine
US20170262263A1 (en) Process and system for the generation of an operating program in the form of a mobile application that is capable of operating on a mobile device
CN102455941B (en) Multitask scheduling method and device based on normal form
CN100410879C (en) Application programme detecting and installing method
CN116700809B (en) Self-adaptive support method and device for server pre-starting function
CN106708569B (en) Hot loading method and device for VOBC configuration file in over-the-line train
US20040205730A1 (en) System and method for building libraries and groups of computer programs
US8136101B2 (en) Threshold search failure analysis
Cisco Bootstrap Diagnostic Tests
JP5757167B2 (en) Judgment work support system, judgment work support method, and program
Cisco Bootstrap Diagnostic Tests
Cisco Bootstrap Diagnostic Tests
Cisco Bootstrap Diagnostic Tests
Cisco Bootstrap Diagnostic Tests
Cisco Bootstrap Diagnostic Tests
Cisco Bootstrap Diagnostic Tests
Cisco Bootstrap Diagnostic Tests
CN106610834A (en) Method and system for loading remote control drive

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081210

Termination date: 20110228