CN101063941A - Automatic total remote controlling method - Google Patents
Automatic total remote controlling method Download PDFInfo
- Publication number
- CN101063941A CN101063941A CN 200610074951 CN200610074951A CN101063941A CN 101063941 A CN101063941 A CN 101063941A CN 200610074951 CN200610074951 CN 200610074951 CN 200610074951 A CN200610074951 A CN 200610074951A CN 101063941 A CN101063941 A CN 101063941A
- Authority
- CN
- China
- Prior art keywords
- server
- control mode
- client
- distance control
- pattern
- 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
Abstract
This invention relates to one automatic total remote process control method to realize automatic remote control, which comprises the following steps: electrifying servo and customer end starts operation system through first remote control mode; if servo starts pattern interface and to switch to second remote control mode; if servo starts text interface, then its uses one first remote control mode; customer end and servo status detection service keeps communication; when customer end re-start servo, if current control mode is for second remote control mode, it switches to first remote control mode to control and re-start operation system.
Description
Technical field
The present invention relates to a kind of long-range control method, relate in particular to a kind of automatic total remote controlling method.
Background technology
At present, a lot of softwares can be realized Long-distance Control, wherein character pattern (for example Serial OverLine is called for short the SOL pattern) and remote console pattern (for example Console Redirect is called for short the Console pattern) are two kinds of more representative long-range prosecutor cases.The SOL pattern is to power up under the state that does not but start at remote server to be controlled, and can control Basic Input or Output System (BIOS) (BIOS) setting, startup of system or the like, the i.e. control model of order line; Console (remote console) pattern is controlled when server enters graphical interfaces.
Yet, two kinds of ways of this of prior art still have many defectives, particularly the SOL pattern is understood ability out of hand when server enters Windows system or Linux graphics system, and the Console pattern also can't be grasped under the non-graphics environment of server, and this can cause so-called long-range control all is incomplete in fact.
It seems that from the situation of present industry the SOL pattern is a standard, support the software of SOL pattern to have much, but neither one supports the software of SOL control model can support figure control simultaneously; Similarly, support the software of graphic interface control remote server also to have a lot, such as famous virtual network computing (Virtual Network Computing, VNC) software, powerless to graphics system control outward also.
At present the long-range control software of market can not reach real Basic Input or Output System (BIOS) setting, start shooting, enter command line interface, enter graphic interface from system, from the control fully that graphic interface withdraws from and restarts the such overall process of machine, make the tomography that present long-range control software is connected in the middle of occurring.
Summary of the invention
In order to solve above-mentioned the problems of the prior art and defective, the object of the present invention is to provide a kind of automatic total remote controlling method, realization by the SOL pattern to the Console pattern, and, be used to remedy the tomography shortcoming of industry in long-range control by the intelligent circulation process of Console pattern to the SOL pattern.
A kind of automatic total remote controlling method provided by the present invention comprises following steps: for server powers up, and client terminal start-up first distance control mode (SOL pattern), and the primary control program of client is connected with the state detecting service of server; Client starts the operating system by the first distance control mode Control Server; If startup of server, then switches to second distance control mode (Console pattern) to graphic interface, if startup of server to the text interface, then uses first distance control mode; The state detecting service of client and server is kept in communication; And client if current control model is second distance control mode, then switches to first distance control mode when restarting server, and the Control Server restarting operating systems.
The present invention can start the SOL pattern and control when server is not logined graphic interface, when operating system enters graphic interface, then carry out the control of graphic interface to the Console pattern from the SOL mode switch, corresponding, when server withdraws from graphics system, then automatically jump to the SOL pattern from the Console pattern.In addition, the present invention also supports cross-platform operation, and promptly no matter server is Windows system or linux system, no matter is 32 or 64 can both reach above-mentioned effect.
In sum, the invention has the advantages that:
1, the present invention combines two kinds of representative control models effectively, and can smoothly between two kinds of patterns, carry out transition intelligently, realized the process of start, self check, Basic Input or Output System (BIOS) setting and os starting and the whole-process automatic Long-distance Control that operating system restarts to server.
2, the present invention is easy to use, it adopts a software that possesses the various control pattern, make the user not need to be concerned about the state of server, whenever can carry out Long-distance Control by a software, avoid closely use, truly realize the non-blind area of remote server is controlled fully server.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 is the method flow diagram of a kind of automatic total remote controlling method of the present invention; And
Fig. 2 adopts the synoptic diagram of the server of a kind of automatic total remote controlling method of the present invention at the distance control mode in each stage of operation.
Wherein, Reference numeral
If step 103 startup of server to graphic interface, then switches to second distance control mode, if startup of server to the text interface, then uses first distance control mode
The state detecting service of step 104 client and server is kept in communication
When step 105 restarts server,, then switch to first distance control mode if current control model is second distance control mode, and the Control Server restarting operating systems
Embodiment
Below, will elaborate to better embodiment of the present invention in conjunction with the accompanying drawings.
Please refer to Fig. 1, represented the method flow diagram of a kind of automatic total remote controlling method of the present invention among the figure.As shown in the figure, a kind of automatic total remote controlling method provided by the present invention comprises following steps:
For server powers up, client terminal start-up first distance control mode, and the primary control program of client is connected (step 101) with the state detecting service of server;
Client is by the first distance control mode Control Server start the operating system (step 102);
If startup of server to graphic interface, then switches to second distance control mode, if startup of server, then uses first distance control mode (step 103) to the text interface;
The state detecting service of client and server keep in communication (step 104); And
When restarting server, if current control model is first control model, then continue to keep, if current control model is second distance control mode, then this primary control program is closed second distance control mode, and switch to first distance control mode, and Control Server restarting operating systems (step 105).
In addition, the state detecting service disruption that also comprises primary control program and server when client restarts server, and judge whether server enters the step of text interface, in addition, under linux system, also comprise primary control program and judge the current step of which kind of control model that is.
Please refer to Fig. 2 now, this figure adopts the synoptic diagram of the server of a kind of automatic total remote controlling method of the present invention at the distance control mode in each stage of operation.Represented among the figure server from start, self check, start the operating system to the distance control mode that restarts each stage of overall process.In start-up course, can start to Windows or (SuSE) Linux OS by the control of SOL pattern.
Service end as server is equipped with Windows operating system or (SuSE) Linux OS, according to the type of operating system corresponding software Console Server and a service routine are installed, with the running status of supervision Console Server, and and client communication.
Wherein service routine can start with different patterns according to different operating system, and according to the different different effects of operating system performance.
Why this service routine adopts independently mode operation, based on following 2 reasons: the one, avoid the client circulation to connect and influence during the inquiry state operation of Console Server itself, to reduce the generation of graunch as far as possible to Console Server; The 2nd, consider that under the linux system environment, this service routine can play the function of restarting Console Server behind the X process initiation.Because linux system is different from the Windows system, there is the control of graphic interface and two kinds of patterns of text interface in it, and can under the situation that does not restart machine, freely switch mutually, Console Server can close because can't correctly use display in handoff procedure, at this moment service routine can be transmitted to client to current state, attempts starting Console Server simultaneously.
In a word, under Windows operating system, in a single day this service routine enters window scheme and just can start.And under the linux system environment, this service routine starts under Run Level3 and Run Level5.Judge currently whether started the X process, and search Console Server program and whether move, thereby whether decision starts Console Server.
At first, server power up and start the operating system (step 201).The primary control program of client is at first selected the Internet protocol address of the server that will connect, and after the user selects to finish, then attempts connecting the service routine of specified machine earlier.If Connection Service procedure failure, primary control program then start the page of SOL pattern, with SOL pattern Control Server.
Primary control program starts a Thread then, if enter Windows system (step 202), then can calls application interface (API): CreatThread (perhaps _ beginthread) finishes the establishment of Thread.If enter linux system (step 203), then use application programming interfaces: pthread_create to create Thread.When creating Thread, the parameter of application programming interfaces itself can be specified the function of an incident, in case call the application programming interfaces of establishment Thread when that is to say program run, will begin to carry out the incident function of this appointment.The main implementation of this function of the present invention is to create for example While function that circulates, in the circulation in make repeated attempts and service routine carry out communication, the situation of inquiry Console Server withdraws from up to the client primary control program, otherwise will move this circulation always.
Wherein Windows system environments and linux system environment can be different, only there is graphics system in the Windows environment, call remote console pattern (Console pattern) with Long-distance Control (step 207), and the Linux environment may enter graphic interface (step 204), enter graphics system and then call remote console pattern (Console pattern) with Long-distance Control (step 207), also may enter text interface (step 205), not enter graphics system then with character pattern (SOL pattern) Long-distance Control (step 209).No matter be Windows environment or Linux environment, enter graphics system when restarting, all close the Console interface, call word meta schema (SOL pattern) is with Long-distance Control (step 208).
Wherein, because linux system may exist still under the text state of a control, and service routine has started, and the situation that the X process is not activated, service routine can return the state of Console Server this moment and start and give client this moment.The primary control program of client is learning that Console Server correctly starts, and the present state that still is in the control of SOL pattern, then close the SOL pattern automatically, switch to the Console pattern simultaneously, promptly call remote console pattern (Console pattern) with Long-distance Control (step 207).Similarly, when client can't be connected with service routine, perhaps learn when Console Server and graphics environment all are not activated, then automatically close the Console interface, get back to the SOL pattern, promptly call word meta schema (SOL pattern) is with Long-distance Control (step 208).
Because there is not the problem of text interface in Windows operating system, as long as machine restarts and will closeallly serve, and (SuSE) Linux OS can be withdrawn into text environments from graphics environment and operates.So Windows system environments and linux system environment can be different slightly, but the base conditioning pattern is identical.The different situations that are in Windows system environments and linux system environment according to server elaborate for example below.
The situation that server is in the Windows system environments is as follows:
At first power up for server.The client primary control program starts, and creates communication terminal (socket) according to given Internet protocol, attempts being connected with the state detecting service of server.After the connection failure, start the SOL pattern, create a Thread (CreateThread) simultaneously, and create a while circulation in the execution function of Thread, repeated attempt is connected with state detecting service on the server.
Bring into use the SOL pattern, also can be provided with activities such as Basic Input or Output System (BIOS) (BIOS) by Control Server this moment, can also start the operating system by Control Server.After server received the order of startup, beginning formally started the operating system, and can select to start Windows operating system this moment according to the display menu above the server.
When startup of server in the graphic interface, Console Server service and state detecting service be startup simultaneously all.The While circulation Thread of client with detecting service successful connection, and learn and entered graphics environment at present, so primary control program is closed the SOL pattern, enter the Console pattern, promptly can realize the long-range control operation under the graphic interface.The state of still keeping in communication at any time of the state detecting service on the client and server simultaneously.
When client is selected to restart remote server, server can be closed service routine (this is by the control of Windows system) earlier, client while circulation detecting this moment Thread will find that client is connected interruption with the state detecting service of server, just determine to have entered the text interface this moment, so close the Console pattern, switch to the SOL pattern and control, continue to get back to the above-mentioned SOL pattern of using.
The situation that server is in the linux system environment is as follows:
At first power up for server.The client primary control program starts, and creates communication terminal according to given Internet protocol, attempts being connected with the state detecting service of server.After the connection failure, start the SOL pattern, create a Thread simultaneously, and create a while circulation in the execution function of Thread, repeated attempt is connected with state detecting service on the server.
Bring into use the SOL pattern, also can be provided with activities such as Basic Input or Output System (BIOS) (BIOS) by Control Server this moment, can also start the operating system by Control Server.After server received the order of startup, beginning formally started the operating system, and can select to start (SuSE) Linux OS this moment according to the display menu above the server.The user can select to start to text environments or graphics environment in the process that linux system starts, in case enter corresponding environment after the user selects, then starting state detecting service.
If the user selects text environments, under this pattern, though the state detecting service starts, but because can't detect the X process, can't start Console Server, giving the rreturn value of client simultaneously also is Text Mode, so client keeps with the control of SOL pattern.If the user selects to use the remote console pattern, then the state detecting service can be judged the running status of current C onsole Server, if be not activated, then start Console Server behind the X process initiation, guarantee that it has correct context relation, the state that return to client this moment has been exactly the remote console pattern, so, primary control program is closed the SOL pattern, enters the Console pattern, promptly can realize the remote control operation under the graphic interface.
If user's Control Server is the character pattern from the remote console mode switch, then the while of client circulation detecting Thread will obtain this message from the state detecting service on the server, primary control program will be closed the Console pattern, switch to the SOL pattern and control.If user's Control Server is the remote console pattern from the character mode switch, select the method for remote console pattern identical with the user.
When client is selected to restart remote server, server can be closed service routine earlier, client while circulation detecting this moment Thread will find that client is connected interruption with the state detecting service of server, just determine this moment to have entered the text interface, so primary control program can be judged current control model, if not the SOL pattern, then close the Console pattern, switch to the SOL pattern and control, and continue to get back to the above-mentioned SOL pattern of using.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.
Claims (8)
1, a kind of automatic total remote controlling method in order to a server is realized the whole-process automatic Long-distance Control, is characterized in that the method includes the steps of:
For this server powers up, a client terminal start-up one first distance control mode, and a primary control program of this client is connected with a state detecting service of this server;
This client is controlled this startup of server one operating system by this first distance control mode;
If this startup of server to one graphic interface then switches to one second distance control mode, if this startup of server to one text interface then uses this first distance control mode;
This state detecting service of this client and this server is kept in communication; And
When restarting this server, if current control model is this first control model, then continue to keep, if current control model is this second distance control mode, then this primary control program is closed this second distance control mode, and switch to this first distance control mode, and control this server and restart this operating system.
2, automatic total remote controlling method according to claim 1 is characterized in that, this state detecting service of this server is independently provided by a service routine.
3, automatic total remote controlling method according to claim 1 is characterized in that, this operating system is Windows operating system.
4, automatic total remote controlling method according to claim 1 is characterized in that, this operating system is (SuSE) Linux OS.
5, automatic total remote controlling method according to claim 1 is characterized in that, also comprises this primary control program when this client restarts this server and judges the current step of which kind of control model that is.
6, automatic total remote controlling method according to claim 1 is characterized in that, this first distance control mode is a SOL character pattern.
7, automatic total remote controlling method according to claim 1 is characterized in that, this second distance control mode is a Console remote console pattern.
8, automatic total remote controlling method according to claim 1, it is characterized in that, also comprise this state detecting service disruption of this primary control program and this server when this client restarts this server, and judge whether this server enters the step of text interface.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100749519A CN100458695C (en) | 2006-04-25 | 2006-04-25 | Automatic total remote controlling method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2006100749519A CN100458695C (en) | 2006-04-25 | 2006-04-25 | Automatic total remote controlling method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101063941A true CN101063941A (en) | 2007-10-31 |
CN100458695C CN100458695C (en) | 2009-02-04 |
Family
ID=38964977
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2006100749519A Expired - Fee Related CN100458695C (en) | 2006-04-25 | 2006-04-25 | Automatic total remote controlling method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100458695C (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183972B (en) * | 2007-11-16 | 2010-09-01 | 中兴通讯股份有限公司 | Method for remote control startup of server |
CN102571953A (en) * | 2010-12-31 | 2012-07-11 | 宏正自动科技股份有限公司 | Remote management method and device thereof |
CN103051695A (en) * | 2012-12-13 | 2013-04-17 | 广东好帮手电子科技股份有限公司 | Method and system for inputting information to vehicle-mounted application software by utilizing mobile phone |
CN106681469A (en) * | 2017-01-12 | 2017-05-17 | 浪潮(苏州)金融技术服务有限公司 | Power state managing method, device and system |
CN107332926A (en) * | 2017-07-28 | 2017-11-07 | 郑州云海信息技术有限公司 | A kind of application server cluster starts method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI253567B (en) * | 2002-08-06 | 2006-04-21 | Quanta Comp Inc | Method of remote controlling computers via network and architecture thereof |
CN1642101A (en) * | 2004-01-15 | 2005-07-20 | 英业达股份有限公司 | Omnirange remote control system and method |
CN1305268C (en) * | 2004-01-19 | 2007-03-14 | 英业达股份有限公司 | SOL realizing method accorded with IPMI standard |
-
2006
- 2006-04-25 CN CNB2006100749519A patent/CN100458695C/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183972B (en) * | 2007-11-16 | 2010-09-01 | 中兴通讯股份有限公司 | Method for remote control startup of server |
CN102571953A (en) * | 2010-12-31 | 2012-07-11 | 宏正自动科技股份有限公司 | Remote management method and device thereof |
CN103051695A (en) * | 2012-12-13 | 2013-04-17 | 广东好帮手电子科技股份有限公司 | Method and system for inputting information to vehicle-mounted application software by utilizing mobile phone |
CN103051695B (en) * | 2012-12-13 | 2015-12-02 | 广东好帮手电子科技股份有限公司 | A kind of mobile phone that utilizes carries out the method and system of information input to vehicular applications software |
CN106681469A (en) * | 2017-01-12 | 2017-05-17 | 浪潮(苏州)金融技术服务有限公司 | Power state managing method, device and system |
CN107332926A (en) * | 2017-07-28 | 2017-11-07 | 郑州云海信息技术有限公司 | A kind of application server cluster starts method and device |
Also Published As
Publication number | Publication date |
---|---|
CN100458695C (en) | 2009-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20150309843A1 (en) | Resource optimization method and apparatus | |
CN101038551A (en) | Method for implementing the start of Linux operation system in mobile hard disk | |
CN101063941A (en) | Automatic total remote controlling method | |
CN104199723B (en) | Camera mapping method based on virtual equipment | |
US8914623B2 (en) | Utilization of the screen image information of a primary environment for reproduction and user-interaction in a secondary environment | |
CN103345405A (en) | Application program starting method and device and client | |
CN105242973A (en) | Internal memory optimization method of Android system | |
US9219339B2 (en) | Computer host power management system having extension cord sockets | |
CN102693136A (en) | Quick starting method and system for computer and starting system of computer | |
CN1993676A (en) | Method and apparatus for discovering hardware in a data processing system | |
CN104809400A (en) | Process protection method and device | |
CN101989204A (en) | Method of computer remote network diagnosis and user support | |
CN102780578A (en) | Updating system and updating method for operating system for network equipment | |
CN103019809B (en) | Business processing device and method, and business processing control device | |
CN105279011A (en) | Method for performing system restoring on virtual machine according to mirror image | |
CN1991746A (en) | Method and device for displaying a plurality of objects in single window | |
CN1308817C (en) | Starting method and device for multiple mode computer system | |
CN1863185A (en) | Conversation managing method for multi-node intelligent network application service system | |
CN1512337A (en) | Method for computer starting and multiple operation system switching | |
WO2023019736A1 (en) | Cloud host-based qga service management method and apparatus, device and medium | |
WO2022142716A1 (en) | Information processing method and apparatus regarding wireless hotspot | |
CN111722888B (en) | Operation execution method, device, equipment and readable storage medium | |
CN1933492A (en) | Automation setting method and system | |
CN1851679A (en) | USB device automatic initialization method and device | |
CN1896952A (en) | Method for realizing graphic user interface during period of turn-on and computer 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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200331 Address after: No. 680 Zhujiang Road, Xuanwu District, Nanjing City, Jiangsu Province Patentee after: Nanjing Shijia Software Technology Co., Ltd Address before: Taipei City, Taiwan, China Patentee before: Inventec Corp. |
|
TR01 | Transfer of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090204 Termination date: 20200425 |
|
CF01 | Termination of patent right due to non-payment of annual fee |