# US 2014/0211248 A1 · Web server apparatus, control method, and program therefor

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

- Number: US 2014/0211248 A1
- Document ID: US20140211248A1
- Status: Published application
- Kind: A1
- Application number: 14/160,411
- Filed: 2014-01-21
- Published: 2014-07-31
- Earliest claimed: 2013-01-28
- Assignees: Canon Kabushiki Kaisha
- Applicants: Canon Kabushiki Kaisha
- Inventors: Shinichi Uchikawa
- Web page: https://patentgrep.com/patent/US20140211248A1

## CPC

- G06F 3/1287: {via internet}
- H04L 67/02: based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L 67/51: Discovery or management thereof, e.g. service location protocol [SLP] or web services
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

If a web service transmits a registration request to a web server apparatus, and if the same URL as the URL received from the web service is already registered in a web service management table of the web server apparatus, the web server apparatus registers the web server in the web service management table after determining that the extension determination condition received from the web service is not the same as an extension determination condition registered in the web service management table.

## Claims

### Claim 1

A web server apparatus comprising:
a reception unit configured to receive a registration request from a web service and receive a URL and an extension determination condition used to identify the web service;
a registration unit configured to, if the same URL as the received URL is already registered in a web service management table, register in the web service management table a correspondence between the received URL and the received extension determination condition and a function for calling the web service in association with each other as information of the web service that has transmitted the registration request, after determining that the received extension determination condition is not the same as an extension determination condition registered in the web service management table; and
a request unit configured to, if a request is received and if the same correspondence as a correspondence between a URL and an extension determination condition included in the request is registered in the web service management table, call a web service for processing the request by using a function registered in association with the correspondence.

### Claim 2 (depends on 1)

The web server apparatus according to claim 1, wherein the registration unit does not register the web service that has transmitted the registration request, if the registration unit determines that the received extension determination condition is the same as the extension determination condition registered in the web service management table.

### Claim 3 (depends on 1)

The web server apparatus according to claim 1, wherein when the registration unit registers the web service that has transmitted the registration request, the registration unit determines a priority level of the web service and registers the web service in the web service management table according to the priority level.

### Claim 4 (depends on 1)

The web server apparatus according to claim 1, wherein when the registration unit registers the web service that has transmitted the registration request, the registration unit compares the number of the extension determination conditions registered corresponding to the same URL as the received URL registered in the web service management table with the number of the received extension determination conditions, and if the number of the received extension determination conditions is greater, the registration unit registers the web service that has transmitted the registration request in the web service management table with a higher priority.

### Claim 5 (depends on 1)

The web server apparatus according to claim 1, wherein the web service management table is stored for each port number, and
wherein the registration unit identifies a port number of the web service based on the received URL, and registers the web service in the web service management table for the identified port number.

### Claim 6 (depends on 1)

The web server apparatus according to claim 1, wherein the web service that has transmitted the registration request is an Internet printing protocol (IPP) service.

### Claim 7 (depends on 1)

The web server apparatus according to claim 1, wherein the web server apparatus is a printer.

### Claim 8

A method for controlling a web server apparatus, the method comprising:
receiving a registration request from a web service, and receiving a URL and an extension determination condition used to identify the web service;
registering in a web service management table, if the same URL as the received URL is already registered therein, a correspondence between the received URL and the received extension determination condition and a function for calling the web service in association with each other as information of the web service that has transmitted the registration request, after determining that the received extension determination condition is not the same as an extension determination condition registered in the web service management table; and
calling, if a request is received and if the same correspondence as a correspondence between a URL and an extension determination condition included in the request is registered in the web service management table, a web service for processing the request by using a function registered in association with the correspondence.

### Claim 9 (depends on 8)

The method according to claim 8, further comprising not registering the web service that has transmitted the registration request, if the received extension determination condition is the same as the extension determination condition registered in the web service management table.

### Claim 10 (depends on 8)

The method according to claim 8, further comprising, when registering the web service that has transmitted the registration request, determining a priority level of the web service and registering the web service in the web service management table according to the priority level.

### Claim 11 (depends on 8)

The method according to claim 8, further comprising, when registering the web service that has transmitted the registration request, comparing the number of the extension determination conditions registered corresponding to the same URL as the received URL registered in the web service management table with the number of the received extension determination conditions, and if the number of the received extension determination conditions is greater, registering the web service that has transmitted the registration request in the web service management table with a higher priority.

### Claim 12 (depends on 8)

The method according to claim 8,
wherein the web service management table is stored for each port number, and
wherein the method further comprises identifying a port number of the web service based on the received URL, and registering the web service in the web service management table for the identified port number.

### Claim 13 (depends on 8)

The method according to claim 8, wherein the web service that has transmitted the registration request is an Internet printing protocol (IPP) service.

### Claim 14 (depends on 8)

The method according to claim 8, wherein the web server apparatus is a printer.

### Claim 15 (depends on 8)

A storage medium storing a program that causes a web server apparatus to execute the method according to claim 8.
