CN1794717A - Automatic linking system and method for customer end and server - Google Patents
Automatic linking system and method for customer end and server Download PDFInfo
- Publication number
- CN1794717A CN1794717A CN 200410091881 CN200410091881A CN1794717A CN 1794717 A CN1794717 A CN 1794717A CN 200410091881 CN200410091881 CN 200410091881 CN 200410091881 A CN200410091881 A CN 200410091881A CN 1794717 A CN1794717 A CN 1794717A
- Authority
- CN
- China
- Prior art keywords
- http
- server
- client
- countdown
- http server
- 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
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
本发明提供一种客户端与服务器自动连线的方法,该方法提供至少一HTTP服务器及至少一HTTP客户端,管理者可通过所述HTTP客户端浏览器页面管理HTTP服务器。该方法包括步骤:HTTP客户端发送重新开机指令给HTTP服务器;于浏览器页面显示需等待时间;倒计时需等待的时间;判断倒计时是否为零;如倒计时不为零,则继续倒计时;如倒计时为零,则HTTP客户端自动与HTTP服务器连线。本发明还提供一种客户端与服务器自动连线的系统。本发明可提供方便的操作和更明确的信息给管理者,使管理者清楚知道HTTP服务器开机需等待的时间。
The invention provides a method for automatic connection between a client and a server. The method provides at least one HTTP server and at least one HTTP client. The administrator can manage the HTTP server through the browser page of the HTTP client. The method comprises the steps: the HTTP client sends a reboot command to the HTTP server; the browser page displays the waiting time; counting down the waiting time; judging whether the countdown is zero; if the countdown is not zero, then continue the countdown; Zero, the HTTP client automatically connects with the HTTP server. The invention also provides a system for automatic connection between the client and the server. The present invention can provide convenient operation and clearer information to the manager, so that the manager can clearly know the waiting time for starting the HTTP server.
Description
【技术领域】【Technical field】
本发明涉及一种客户端与服务器进行连线的系统及方法。The invention relates to a system and method for connecting a client and a server.
【背景技术】【Background technique】
HTTP客户端(HTTP Client)与HTTP服务器(HTTP Server)之间的沟通,并非一直处于连线状态,且它是一种单向的沟通模式,也即当客户端发送一个请求(Request)给服务器时,服务器在收到后才会回一个Response给客户端。而服务器无法主动对客户端送出Request。所以当服务器有信息要通知客户端时,必须要等到客户端下一次发送请求后,客户端才有可能获得此信息。The communication between the HTTP client (HTTP Client) and the HTTP server (HTTP Server) is not always connected, and it is a one-way communication mode, that is, when the client sends a request (Request) to the server , the server will return a Response to the client after receiving it. The server cannot actively send a Request to the client. Therefore, when the server has information to notify the client, it must wait until the client sends a request next time before the client can obtain this information.
在上述沟通模式下,用户经常遇到这样的问题:In the above communication mode, users often encounter such problems:
当使用HTTP做为管理系统(该类系统如NAS、SAN、DAS、NAT等)的协议(Protocol),上述系统中就可类似一般的HTTP服务器,而管理者使用HTTP客户端(HTTP Client)的浏览器来管理此类系统。例如对于上述的NAS(Network Attached Storage,网络附属储存装置)系统,其是一依附网络的储存装置,其利用网络通用的HTTP协议,将储存空间分配至网络上的服务器或是工作台,而以数据文件分享型态在网络出现。以网络应用程序而言NAS类似一般的HTTP服务器,对HTTP客户端就有如一大型档案服务器一样。当管理者在HTTP客户端通过浏览器对HTTP服务器发送重新开机的指令后,便与HTTP服务器失去了联系,不知HTTP服务器何时完成开机。因为HTTP服务器在完成重新开机后无法通过HTTP协议来通知管理者。管理者现在能做的也只是用手不断敲着鼠标让浏览器尝试去连线。When HTTP is used as the protocol (Protocol) of the management system (such systems as NAS, SAN, DAS, NAT, etc.), the above-mentioned system can be similar to a general HTTP server, and the administrator uses the HTTP client (HTTP Client) browser to manage such systems. For example, for the above-mentioned NAS (Network Attached Storage, network attached storage device) system, it is a storage device attached to the network, which uses the HTTP protocol commonly used in the network to allocate storage space to servers or workstations on the network, and Data file sharing patterns appear on the Internet. As far as network applications are concerned, NAS is similar to a general HTTP server, and it is like a large file server to HTTP clients. After the administrator sends a restart command to the HTTP server through the browser on the HTTP client, he loses contact with the HTTP server and does not know when the HTTP server will complete the startup. Because the HTTP server cannot notify the administrator through the HTTP protocol after restarting. All the administrator can do now is to keep tapping the mouse to make the browser try to connect.
因此有必要提供一种更方便的操作和更明确的信息给管理者,使得管理者清楚知道开机所需等待的时间,而不需要用手不断敲着鼠标让浏览器尝试去与HTTP服务器连线。Therefore, it is necessary to provide a more convenient operation and clearer information to the administrator, so that the administrator can clearly know the waiting time for booting, without having to keep tapping the mouse to make the browser try to connect to the HTTP server .
【发明内容】【Content of invention】
本发明的目的在于提供一种客户端与服务器自动连线的系统,该系统可提供更方便的操作和更明确的信息给管理者,使其清楚知道服务器开机所需等待的时间。The purpose of the present invention is to provide a system for automatic connection between the client and the server, which can provide more convenient operation and clearer information to the manager, so that he can clearly know the waiting time for the server to start.
本发明的另一目的在于提供一种客户端与服务器自动连线的方法,该方法可提供更方便的操作和更明确的信息给管理者,使其清楚的知道服务器开机所需等待的时间。Another object of the present invention is to provide a method for automatic connection between the client and the server, which can provide more convenient operation and clearer information to the administrator, so that he can clearly know the waiting time for the server to start.
为实现上述目的,本发明揭露一种客户端与服务器自动连线的系统,该系统包括至少一HTTP服务器及至少一HTTP客户端,管理者可通过所述HTTP客户端的浏览器页面管理HTTP服务器。所述HTTP客户端包括:一指令发送模块,用于HTTP客户端通过浏览器向HTTP服务器发送重新开机的指令以重启HTTP服务器;一显示模块,用于在HTTP客户端发送重新开机指令后,在HTTP客户端的浏览器页面上显示等待时间M秒;一倒计时模块,用于在显示等待时间的同时,开始倒数计时;一判断模块,用于在倒数计时的同时判断等待时间M是否等于零,即倒数计时是否终了。其中等待时间M秒大于HTTP服务器开机所需时间N秒。To achieve the above purpose, the present invention discloses a system for automatic connection between client and server. The system includes at least one HTTP server and at least one HTTP client. The administrator can manage the HTTP server through the browser page of the HTTP client. Described HTTP client comprises: an instruction sending module, is used for HTTP client to send the instruction of rebooting to HTTP server by browser to restart HTTP server; A display module, is used for after HTTP client sends restarting instruction, in Display waiting time M seconds on the browser page of HTTP client; A countdown module, be used for when displaying waiting time, start countdown; Whether the timer expires. The waiting time M seconds is greater than the HTTP server startup time N seconds.
本发明还揭露一种客户端与服务器自动连线的方法,该方法提供至少一HTTP服务器及至少一HTTP客户端,管理者可通过所述HTTP客户端的浏览器页面管理HTTP服务器。该方法包括如下步骤:(a)HTTP客户端发送重新开机指令给HTTP服务器;(b)于HTTP客户端浏览器页面显示需等待的时间M秒,该需等待的时间M秒大于HTTP服务器开机所需的时间N秒;(c)倒计时需等待的时间;(d)判断M是否为零;(e)如果M不为零,则返回步骤c;(f)如果M为零,则HTTP客户端自动与HTTP服务器连线。The present invention also discloses a method for automatic connection between a client and a server. The method provides at least one HTTP server and at least one HTTP client. The administrator can manage the HTTP server through the browser page of the HTTP client. The method comprises the steps: (a) the HTTP client sends a restart command to the HTTP server; (b) the HTTP client browser page displays the time M seconds to wait, and the time M seconds to wait is greater than the HTTP server startup time The required time is N seconds; (c) count down the waiting time; (d) judge whether M is zero; (e) if M is not zero, return to step c; (f) if M is zero, the HTTP client Automatically connect with HTTP server.
本发明可提供方便的操作和更明确的信息给管理者,使管理者清楚知道HTTP服务器开机需等待的时间,而不需要在HTTP服务器重新开机时用手不断敲着鼠标让浏览器尝试去连线。The present invention can provide convenient operation and clearer information to the administrator, so that the administrator can clearly know the waiting time for the HTTP server to start up, and there is no need to continuously tap the mouse to let the browser try to connect when the HTTP server is restarted. Wire.
【附图说明】【Description of drawings】
图1是本发明客户端与服务器自动连线系统的实施硬件环境示意图。Fig. 1 is a schematic diagram of the implementation hardware environment of the client and server automatic connection system of the present invention.
图2是本发明HTTP客户端的功能模块图。Fig. 2 is a functional block diagram of the HTTP client of the present invention.
图3是本发明客户端与服务器自动连线方法的流程图。Fig. 3 is a flow chart of the method for automatic connection between the client and the server of the present invention.
【具体实施方式】【Detailed ways】
参阅图1所示,是本发明客户端与服务器自动连线系统的实施硬件环境示意图。该系统包括至少一台支持JavaScript的HTTP客户端(HTTP Client)10及至少一台HTTP服务器(HTTP Server)20。其中,HTTP客户端10用于为管理者提供浏览器页面以管理HTTP服务器20,所述HTTP服务器20可以是档案服务器。当HTTP客户端10向HTTP服务器20发送一个请求信号101后,HTTP服务器20依据该请求信号101向HTTP客户端10返回一个响应信号202。Referring to FIG. 1 , it is a schematic diagram of the implementation hardware environment of the automatic connection system between the client and the server of the present invention. The system includes at least one HTTP client (HTTP Client) 10 and at least one HTTP server (HTTP Server) 20 supporting JavaScript. Wherein, the HTTP client 10 is used to provide a browser page for the administrator to manage the HTTP server 20, and the HTTP server 20 may be a file server. After the HTTP client 10 sends a request signal 101 to the HTTP server 20 , the HTTP server 20 returns a response signal 202 to the HTTP client 10 according to the request signal 101 .
参阅图2所示,是本发明HTTP客户端的功能模块图。该HTTP客户端10包括四个功能模块,分别是指令发送模块102、显示模块103、倒计时模块104及判断模块105。其中指令发送模块102用于HTTP客户端10通过浏览器向HTTP服务器20发送重新开机的指令以重启HTTP服务器;显示模块103用于在HTTP客户端10发送重新开机指令后,在HTTP客户端10的浏览器页面上显示等待时间M秒,该等待时间M秒大于HTTP服务器20重新开机的时间N秒;倒计时模块104用于在显示等待时间的同时,开始倒数计时;判断模块105用于在倒数计时的同时判断等待时间M是否等于零,即倒数计时是否终了。Referring to Fig. 2, it is a functional block diagram of the HTTP client of the present invention. The HTTP client 10 includes four functional modules, namely an instruction sending module 102 , a display module 103 , a countdown module 104 and a judging module 105 . Wherein instruction sending module 102 is used for HTTP client 10 to send the instruction of restarting to HTTP server 20 by browser to restart HTTP server; Display waiting time M seconds on the browser page, this waiting time M second is greater than the time N second of restarting of HTTP server 20; Countdown module 104 is used for when displaying waiting time, starts countdown; Judgment module 105 is used for countdown At the same time, it is judged whether the waiting time M is equal to zero, that is, whether the countdown is over.
参阅图3所示,是本发明客户端与服务器自动连线方法的流程图。假设HTTP服务器20的开机所需的时间为N秒。首先,指令发送模块102向HTTP服务器20发送重新开机指令,该HTTP服务器20执行开机的动作(步骤S300)。显示模块103开始在HTTP客户端10的界面上显示等待时间M秒,其中M秒大于N秒(步骤S302)。倒计时模块104同时开始倒计时(步骤S304)。由判断模块105判断等待时间M是否等于零(步骤S306)。如果M不等于零,则返回步骤S304;如果M等于零,则表明等待时间结束,HTTP客户端10自动与HTTP服务器20连线(步骤S308)。Referring to FIG. 3 , it is a flowchart of the automatic connection method between the client and the server of the present invention. Assume that the time required for the startup of the HTTP server 20 is N seconds. First, the instruction sending module 102 sends a restart instruction to the HTTP server 20, and the HTTP server 20 executes a restart action (step S300). The display module 103 starts to display the waiting time M seconds on the interface of the HTTP client 10, wherein M seconds is greater than N seconds (step S302). The countdown module 104 starts countdown at the same time (step S304). The judging module 105 judges whether the waiting time M is equal to zero (step S306). If M is not equal to zero, then return to step S304; if M is equal to zero, it indicates that the waiting time ends, and the HTTP client 10 automatically connects with the HTTP server 20 (step S308).
Claims (5)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200410091881 CN1794717A (en) | 2004-12-25 | 2004-12-25 | Automatic linking system and method for customer end and server |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN 200410091881 CN1794717A (en) | 2004-12-25 | 2004-12-25 | Automatic linking system and method for customer end and server |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1794717A true CN1794717A (en) | 2006-06-28 |
Family
ID=36805984
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN 200410091881 Pending CN1794717A (en) | 2004-12-25 | 2004-12-25 | Automatic linking system and method for customer end and server |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1794717A (en) |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101621421B (en) * | 2008-07-02 | 2011-10-05 | 英业达股份有限公司 | Connection test method |
| CN101621422B (en) * | 2008-07-02 | 2011-12-14 | 英业达股份有限公司 | Connection test method |
| CN102750626A (en) * | 2011-03-21 | 2012-10-24 | 微软公司 | Email-based automated recovery action in a hosted environment |
| US20130239166A1 (en) * | 2012-03-06 | 2013-09-12 | Microsoft Corporation | Operating Large Scale Systems and Cloud Services With Zero-Standing Elevated Permissions |
| US9762585B2 (en) | 2015-03-19 | 2017-09-12 | Microsoft Technology Licensing, Llc | Tenant lockbox |
| CN107179897A (en) * | 2016-03-09 | 2017-09-19 | 佛山市顺德区顺达电脑厂有限公司 | The starting-up method of Dynamic Announce countdown |
| US10931682B2 (en) | 2015-06-30 | 2021-02-23 | Microsoft Technology Licensing, Llc | Privileged identity management |
-
2004
- 2004-12-25 CN CN 200410091881 patent/CN1794717A/en active Pending
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101621421B (en) * | 2008-07-02 | 2011-10-05 | 英业达股份有限公司 | Connection test method |
| CN101621422B (en) * | 2008-07-02 | 2011-12-14 | 英业达股份有限公司 | Connection test method |
| CN102750626A (en) * | 2011-03-21 | 2012-10-24 | 微软公司 | Email-based automated recovery action in a hosted environment |
| CN102750626B (en) * | 2011-03-21 | 2017-07-18 | 微软技术许可有限责任公司 | The autonomous recovery action based on Email in hosting environment |
| US20130239166A1 (en) * | 2012-03-06 | 2013-09-12 | Microsoft Corporation | Operating Large Scale Systems and Cloud Services With Zero-Standing Elevated Permissions |
| US9460303B2 (en) * | 2012-03-06 | 2016-10-04 | Microsoft Technology Licensing, Llc | Operating large scale systems and cloud services with zero-standing elevated permissions |
| US9762585B2 (en) | 2015-03-19 | 2017-09-12 | Microsoft Technology Licensing, Llc | Tenant lockbox |
| US11075917B2 (en) | 2015-03-19 | 2021-07-27 | Microsoft Technology Licensing, Llc | Tenant lockbox |
| US10931682B2 (en) | 2015-06-30 | 2021-02-23 | Microsoft Technology Licensing, Llc | Privileged identity management |
| CN107179897A (en) * | 2016-03-09 | 2017-09-19 | 佛山市顺德区顺达电脑厂有限公司 | The starting-up method of Dynamic Announce countdown |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US9176786B2 (en) | Dynamic and automatic colocation and combining of service providers and service clients in a grid of resources for performing a data backup function | |
| US7076691B1 (en) | Robust indication processing failure mode handling | |
| KR101138491B1 (en) | Synchronizat10n methods and systems | |
| US8275892B2 (en) | Low-level remote sharing of local devices in a remote access session across a computer network | |
| US7792934B2 (en) | Loading of server-stored user profile data | |
| CN101290587B (en) | A Method for Realizing Process Startup and Monitoring | |
| KR101212858B1 (en) | Synchronizati0n methods and systems | |
| WO2009070671A2 (en) | Methods and apparatus for storing and transmitting historical configuration data associated with information technology assets | |
| CN111163278B (en) | Camera control method and device | |
| US20100205420A1 (en) | System and method for realizing remote test on computer apparatus without storage device | |
| US8190756B2 (en) | Method for automatically re-connecting customer premises equipment (CPE) web user interface (UI) | |
| CN1794717A (en) | Automatic linking system and method for customer end and server | |
| CN103067500B (en) | Web browsing method based on cloud terminal | |
| CN109462659B (en) | Embedded device remote access control system, method and storage medium | |
| US20030229694A1 (en) | Method of remotely controlling computers via network and architecture thereof | |
| TWI255408B (en) | System and method for client linking with server automatically | |
| TWI667574B (en) | Method for accessing a web server, and associated apparatus | |
| CN114443148A (en) | Method for starting disk by centralized management server and server | |
| CN115550424A (en) | Data caching method, device, equipment and storage medium | |
| CN103747275A (en) | Method to expand storage space for a smart television and device | |
| CN116149769A (en) | Virtual application system and method based on remote window | |
| CN112039941B (en) | A data transmission method, device and medium | |
| US20060200554A1 (en) | System and method for prompting unnormal statuses of an operation system | |
| CN112162868B (en) | Data communication method, device and storage medium applied to cluster processing | |
| CN112463713B (en) | Automatic seek method and device for processor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |