Background technology
The method of the telemanagement of present computer system, upgrading and maintenance mainly contains two kinds:
A kind of is to rely on operating system, on the operating system of client computer, carry out the operation of telemanagement and maintenance, but when operating system itself breaks down, cause and to guide, perhaps hard disk breaks down, in the time of can not guidance system, need managerial personnel to manage, upgrade and safeguard to computer field.
Another kind method is to increase a remote monitor card on computer equipment, has network function on this card, perhaps this card existing network interface card on the equipment that uses a computer; The software of telemanagement, upgrading and a maintenance is set on the firmware on this remote monitor card (FIRMWARE), when occur that operating system can not guide or hard disk badly damaged situation under, this method can independently be finished the task of telemanagement, upgrading and maintenance.But it need increase hardware device, and this hardware device need be installed on the computer equipment, has increased cost virtually.
In addition, if when the operating system of subscriber computer or hard disk break down equally, traditional network management system is just powerless, and managerial personnel will arrive the scene and debug and safeguard.Therefore, for a large amount of computer equipments that use network managements in present each enterprise, adopt a kind of system that very reliably, does not rely on remote management computer, fault diagnosis and the reparation of operating system, for improving the efficiency of management and accelerating diagnosis speed, all will play important effect.
Summary of the invention
Purpose of the present invention is for proposing a kind of method that computer remote is detected and controls, expansion firmware interface (Extensib1e Firmware Interface at computing machine, abbreviation EFI) is provided for the client-side program that client computer carries out remote detection and control in, and client-side program is set to prior to os starting, not only can be implemented in operating system can not guide, under the situation that hard disk breaks down to the telemanagement of computer system, upgrading and maintenance function, and do not need to increase any external hardware, realize that not relying on operating system just can carry out remote detection and control to computing machine.The objective of the invention is to realize by the following technical solutions:
A kind of method that computer remote is detected and controls, in the EFI of client computer, be provided for the client-side program that client computer carries out remote detection and control, and described client-side program is set to prior to os starting, after described client computer starts, carry out following steps:
Step 1: described client-side program starts, and determines whether that according to user's input and system's detection judgement needs carry out remote detection and control to client computer; If client-side program detects operating system and can not guide, need carry out remote detection and control to client computer, execution in step 2, otherwise, execution in step 3;
Step 2: described client-side program sends the network linking request to server; The network linking request of described server customer in response end program is set up and to be used for carrying out execution in step 4 behind the communication link of information interaction with client computer;
Step 3: client-side program withdraws from, and starts the operating system the normal os starting operation of object computer;
Step 4: described server carries out remote detection and control to client computer.
Adopt method of the present invention, not only can be implemented under the situation that operating system can not guide, hard disk breaks down computer system is carried out remote detection and control function, and do not need to increase any external hardware, only need in EFI, be provided for the client-side program that client computer carries out remote detection and control and get final product.Behind computer starting, when the client presses certain certain trigger key as required or the booting operating system trace routine detects that operating system can not guide or physical hard disk when damaging, client-side program on this machine just is triggered, thereby the network connection among the EFI is connected with the telemanagement center, realizes not relying on operating system and just can detect and control computer remote.
The present invention will play important effect to improving the efficiency of management and accelerating diagnosis speed.Reduce computer user's fitting operation simultaneously, improved the ease for use of computing machine, also further reduced the workload and the maintenance cost of computing machine manufacturer after sale service.
Embodiment
The present invention is described in further detail below in conjunction with accompanying drawing and specific embodiment:
Sees also Fig. 1, in the EFI of client computer, be provided for the client-side program that client computer carries out remote detection and control, and client-side program is set to prior to os starting, after client computer starts, carry out following steps:
Step 1: described client-side program starts, and determines whether that according to user's input and system's detection judgement needs carry out remote detection and control to client computer; If desired client computer is carried out remote detection and control, execution in step 2, otherwise, execution in step 3;
Step 2: described client-side program sends the network linking request to server; The network linking request of described server customer in response end program is set up and to be used for carrying out execution in step 4 behind the communication link of information interaction with client computer;
Step 3: client-side program withdraws from, and starts the operating system the normal os starting operation of object computer;
Step 4: described server carries out remote detection and control to client computer.
Performing step of the present invention is divided into four-stage: the one, and deployment phase, the 2nd, configuration phase, the 3rd, the unloading phase, the 4th, the operational administrative stage.
Deployment phase mainly was before computing machine dispatches from the factory, perhaps in the process of BIOS of upgrading computing machine, the EFI of client software, client software trigger and client computer is integrated, and can UNICOM on network the machine of client and server end, to guarantee that client software can correctly have access to server software in the process of implementation.The process of deployment phase is: use the FIRMWARE strapping tool of EFI, the FIRMWARE of client-side program and client software trigger and EFI is packaged in together, form an independently file.And use the programming instrument of BIOS ROM that this document is written among the BIOS ROM.So just finish the deployment of client software.The user need use of the present invention the time, the server that can own independent dispose a computing machine as LAN (Local Area Network) is used to detect and control the online computing machine that connects of this local, and at this build-in services device end software above computing machine; The user also can be directly the server of the site for service of computer vendors as own computer access.This method realizes that by the network ways of connecting program of client and server end is connected, and server can be simultaneously carries out remote detection and control to the computing machine of a plurality of clients.
The BIOS rom chip is the storer that is used for storing BIOS on the mainboard, and the type can adopt diversified chip, as ROM, EPROM, EEPROM, FLASH ROM etc.
Configuration phase mainly is that the user is when using this computing machine for the first time, perhaps when using client-side program and server to communicate for the first time, or server and client side's IP address need be configured server and client side's IP address when changing.Simultaneously, in client-side program the inside, the IP address that can use the IP address dynamic-configuration agreement of server end to obtain client also can be provided with the client fixed IP addresses.
Client-side program comprises client software trigger, client-side management subroutine, client renewal (upgrading) subroutine and client remote maintenance subroutine.
The unloading phase major function be to activate client-side program, and be connected with server program.During computer starting, the client software trigger moves automatically, and at first whether the client software trigger detects and to be connected required procotol with server and to load, if less than loading, then this procotol is loaded in the internal memory.
Determine whether that according to user's input and system's detection judgement needs carry out remote detection to client computer and control comprises following concrete steps then:
Step 11: described client-side program judges in a stand-by period of setting whether user key-press is arranged, if any, execution in step 2, otherwise, execution in step 12;
Step 12: if the stand-by period of setting do not arrive, execution in step 11, otherwise, execution in step 13.
The client presses particular key according to screen prompt and can enter client-side management subroutine, client renewal (upgrading) subroutine and client remote maintenance subroutine at this moment, be that the client software trigger judges in a stand-by period of setting whether user key-press is arranged, this moment, the user in time pressed this particular key, had just entered client-side management subroutine, client renewal (upgrading) subroutine and client remote maintenance subroutine.Client-side program can if connect normally, just show and can correctly use the function of remote detection and control according to the IP address that configures from the remote server that is dynamically connected.
The unloading phase another Starting mode be exactly under the situation that can not guide appears in operating system, break down as operating system itself collapse, hard disk etc., the client software trigger will call the client-side management subroutine automatically, client is upgraded (upgrading) subroutine and client remote maintenance subroutine, and concrete steps are as follows:
Step 13: whether can client-side program detecting operation system guide with physical hard disk normal;
Step 14: described client-side program detects that operating system can not guide or physical hard disk damages execution in step 2, otherwise execution in step 3.
Please refer to Fig. 2, in the start-up course of EFI, before the boot of call operation system, the client-side program that calls on the EFI triggers software; Client-side program triggers software and will press certain particular key execution client-side management subroutine, client renewal (upgrading) subroutine and client remote maintenance subroutine to user prompt on display screen then, client-side program triggers software and judges in a stand-by period (for example 2 seconds) of setting whether user key-press is arranged, if this moment, the user pressed this particular key in 2 seconds stand-by period, will start client-side management subroutine, client renewal (upgrading) subroutine and client remote maintenance subroutine; If in 2 seconds stand-by period, do not have press key message sent by user, whether can client-side program just begin the detecting operation system and guide with physical hard disk and damage.When damaging and can not guide may appear in operating system, perhaps physical fault etc. appears in hard disk, cause the operating system can't normal boot, client-side program triggering this moment software will trigger automatically and carry out the client-side management subroutine, client is upgraded (upgrading) subroutine and client remote maintenance subroutine, and gives administrative center the problem Trouble Report.
The operational administrative stage is remote detection and a control function of finishing client on client.There is dual mode operational phase: first kind of mode is the various concrete functions of the manual button operation of user.Client software will show that friendly prompting interface allows the user finish concrete remote detection and control function in this case.The second way is this computing machine nobody operation, and be after operating system can not start, to enter under the situation of client-side program, at the enterprising line operate of server, finish the function of long-range various telemanagement, upgrading and maintenance to client computer by the keeper.
The client-side management subroutine, be used for the information of computing machine is gathered and detected, the request of response server end supervisory routine, the information of gathering and detect is sent to the server end supervisory routine, and the control command that sends according to described server end supervisory routine, carry out the operation of control command indication, control command comprises the order of shutdown command, computing machine reset command and/or shielding mainboard parts.
Client is upgraded (upgrading) subroutine request server end software administration center and is started server end remote upgrade software, required upgrading software is downloaded to from server end on the hard disk of client computer or on the BIOS ROM, client is upgraded (upgrading) subroutine and is used to carry out the renewal of the renewal of described EFI, described client-side program and the renewal of other programs.
Client remote maintenance subroutine is after the remote maintenance PROGRAMMED REQUESTS order that receives server end, control computer is carried out described client remote maintenance subroutine, carry out the system diagnostics of client computer response, after executing, the result is fed back to server.
It should be noted last that, above embodiment is only unrestricted in order to technical scheme of the present invention to be described, although the present invention is had been described in detail with reference to preferred embodiment, those of ordinary skill in the art is to be understood that, can make amendment or be equal to replacement technical scheme of the present invention, and not breaking away from the spirit and scope of technical solution of the present invention, it all should be encompassed in the middle of the claim scope of the present invention.