×

Non-Transitory Computer-Readable Medium for Server

  • US 20170257441A1
  • Filed: 02/28/2017
  • Published: 09/07/2017
  • Est. Priority Date: 03/03/2016
  • Status: Active Grant
First Claim
Patent Images

1. A non-transitory computer-readable medium storing computer-readable instructions for a server,the computer-readable instructions, when executed by a processor of the server, causing the server to execute:

  • receiving a first registration request from a first relay device for relaying a communication via the Internet between a communication device and the server, the first registration request including a first IP address assigned to the communication device and first identification information for identifying the communication device;

    registering target information including the first IP address and the first identification information in a memory in a case where the first registration request is received;

    receiving a second registration request from a second relay device for relaying a communication via the Internet between a terminal device different from the communication device and the server after the target information has been registered in the memory, the second registration request including a second IP address assigned to the terminal device and second identification information;

    determining whether the second identification information included in the second registration request matches the first identification information included in the target information;

    determining, by using the first IP address included in the target information and the second IP address included in the second registration request, whether the communication device and the terminal device are belonging to a same local area network;

    in a case where a predetermined condition is true, registering, in association with the target information in the memory, connection information for establishing a connection via the Internet between the server and the communication device, the predetermined condition including a determination that the second identification information matches the first identification information and a determination that the communication device and the terminal device are belonging to the same local area network, wherein in a case where the predetermined condition is not true, the connection information is not registered in the memory;

    in the case where the predetermined condition is true, sending a sending request including the connection information and a specific IP address assigned to the communication device to the terminal device, the sending request being for causing the terminal device to send the connection information to the communication device with the specific IP address as a destination, wherein in the case where the predetermined condition is not true, the sending request is not sent to the terminal device;

    establishing the connection via the Internet between the server and the communication device by using the connection information; and

    performing, by using the connection, a target service which is related to the communication device identified by the first identification information included in the target information.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×