# US 2018/0026831 A1 · Method and associated apparatus for accessing web server

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0026831 A1
- Document ID: US20180026831A1
- Status: Published application
- Kind: A1
- Application number: 15/263,384
- Filed: 2016-09-13
- Published: 2018-01-25
- Earliest claimed: 2016-07-19
- Assignees: Synology Incorporated
- Applicants: Synology Incorporated
- Inventors: Kan-Yueh Chen; Ping-Che Hsiao; Jia-Yu Liu
- Web page: https://patentgrep.com/patent/US20180026831A1

## CPC

- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 12/2801: {Broadband local area networks}
- H04L 41/046: comprising network management agents or mobile agents therefor
- H04L 67/56: Provisioning of proxy services (store-and-forward switching systems in data switching networks H04L12/54)
- H04L 67/5683: Storage of data provided by user terminals, i.e. reverse caching
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for accessing a web server and an associated apparatus are provided, where the web server is in a local area network (LAN). The method includes: utilizing a wake-on-LAN (WOL) agent device to obtain web server information of the web server and send the web server information to a reverse proxy server. When the reverse proxy server receives a request from a client device, the method utilizes the reverse proxy server to determine whether to assign a WOL task to the WOL agent device according to at least one state of the web server, in which the WOL task includes waking the web server. The client device then sends the request to the reverse proxy server, in order to access the web server through the reverse proxy server.

## Claims

### Claim 1

A method for accessing a web server, where the web server is in a local area network (LAN), the method comprising:
utilizing a wake-on-LAN (WOL) agent device to obtain web server information of the web server and send the web server information to a reverse proxy server, wherein the WOL agent device is in the LAN, and the web server information comprises at least one state of the web server; and
when the reverse proxy server receives a request from a client device, utilizing the reverse proxy server to determine whether to assign a WOL task to the WOL agent device according to the at least one state of the web server, wherein the client device is external to the LAN, and the WOL task comprises waking up the web server;
wherein the client device sends the request to the reverse proxy server, in order to access the web server through the reverse proxy server.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
creating a notification channel between the WOL agent device and the reverse proxy server for performing a web server information updating operation through the notification channel, wherein the web server information updating operation comprises updating the web server information.

### Claim 3 (depends on 1)

The method of claim 1, wherein the request is arranged to access a target web page of the web server; and the method further comprises:
when a latest state of the web server indicates that the web server is ready, utilizing the reverse proxy server to forward the request to the web server in order to obtain a response corresponding to the request, and providing the response to the client device for the client device to display the target web page.

### Claim 4 (depends on 1)

The method of claim 1, wherein at least one state of the web server comprises a non-operating state; and the method further comprises:
when the web server information indicates that the web server is in the non-operating state, utilizing the reverse proxy server to assign the WOL task to the WOL agent device.

### Claim 5 (depends on 4)

The method of claim 4, wherein the request is arranged to access a target web page of the web server, and the method further comprises:
after the reverse proxy server assigns the WOL task to the WOL agent device, when the latest state of the web server indicates that the web server is ready, utilizing the reverse proxy server to forward the request to the web server in order to obtain a response corresponding to the request, and providing the response to the client device for the client device to display the target web page.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
creating a notification channel between the WOL agent device and the reverse proxy server to allow the reverse proxy server to assign the WOL task to the WOL agent device through the notification channel.

### Claim 7 (depends on 6)

The method of claim 6, wherein the web server information further comprises a media access control address of the web server, and the method further comprises:
when the reverse proxy server assigns the WOL task assign to the WOL agent device, utilizing the reverse proxy server to inform the WOL agent device of the media access control address of the web server through the notification channel in order to indicate that the WOL agent device needs to wake up the web server in the WOL task.

### Claim 8 (depends on 1)

The method of claim 1, wherein the web server information further comprises an Internet protocol (IP) address of the web server, and the method further comprises:
when the client device accesses the web server through the reverse proxy server, the reverse proxy server sends the request to the web server according to the IP address of the web server.

### Claim 9 (depends on 1)

The method of claim 1, wherein the request is a HyperText Transfer Protocol (HTTP) request, and a browser executed on the client device sends the HTTP request to the reverse proxy server in order to access the web server through the reverse proxy server.

### Claim 10 (depends on 1)

The method of claim 1, wherein the client device does not perform any portion of the WOL task.

### Claim 11 (depends on 1)

An apparatus operating according to claim 1, wherein the apparatus comprises at least one portion of a subsystem of a network system, wherein the network system comprises the client device, the reverse proxy server and the LAN, and the subsystem comprises the WOL agent device and the reverse proxy server.

### Claim 12 (depends on 11)

The apparatus of claim 11, wherein the portion of the subsystem comprises at least one of the WOL agent device and the reverse proxy server.

### Claim 13 (depends on 11)

The apparatus of claim 11, wherein the portion of the subsystem comprises at least one control circuit for controlling operations of the subsystem.

### Claim 14

An apparatus for accessing a web server, the web server being in a local area network (LAN), the apparatus comprising:
at least one control circuit, positioned in a subsystem of a network system, wherein the subsystem comprises a wake-on-LAN (WOL) agent device and a reverse proxy server, the WOL agent device is in the LAN, and the control circuit is arranged to control operations of at least one of the WOL agent device and the reverse proxy server;
wherein the WOL agent device obtains web server information of the web server, and sends the web server information to the reverse proxy server, the web server information comprises at least one state of the web server, and when the reverse proxy server receives a request from a client device, the reverse proxy server refers to the state of the web server to decide whether to assign a WOL task to the WOL agent device, wherein the client device is external to the LAN, the WOL task comprises waking up the web server, and the client device sends the request to the reverse proxy server in order to access the web server through the reverse proxy server.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the apparatus comprises at least one portion of the subsystem, and the control circuit is positioned in the portion of the subsystem.

### Claim 16 (depends on 15)

The apparatus of claim 15, wherein the portion of the subsystem comprises at least one of the WOL agent device and the reverse proxy server.

### Claim 17 (depends on 14)

The apparatus of claim 14, wherein under the control of the control circuit, the WOL agent device and the reverse proxy server create a notification channel between the WOL agent device and the reverse proxy server, for performing a web server information updating operation through the notification channel, wherein the web server information updating operation comprises updating the web server information.

### Claim 18 (depends on 14)

The apparatus of claim 14, wherein the request is arranged to access a target web page of the web server, and when a latest state of the web server indicates that the web server is ready, the reverse proxy server forwards the request to the web server in order to obtain a response corresponding to the request, and provides the response to the client device for the client device to display the target web page.

### Claim 19 (depends on 14)

The apparatus of claim 14, wherein at least one state of the web server comprises a non-operating state, and when the web server information indicates that the web server is in the non-operating state, the reverse proxy server assigns the WOL task to the WOL agent device.

### Claim 20 (depends on 19)

The apparatus of claim 19, wherein the request is arranged to access a target web page of the web server, and after the reverse proxy server assigns the WOL task to the WOL agent device, when the latest state of the web server indicates that the web server is ready, the reverse proxy server forwards the request to the web server in order to obtain a response corresponding to the request, and provides the response to the client device for the client device to display the target web page.
