Telecommunications apparatus and method, storage medium, and program
First Claim
1. An electronic device comprising:
- circuitry configured toreceive a check packet transmitted from another electronic device using Transmission Control Protocol (TCP), the check packet including a random number that is different from random numbers included in other check packets received from the another electronic device;
generate a TCP acknowledgment message to the check packet, the TCP acknowledgment message including acknowledgment information based on a hash function and shared data shared with the another electronic device before the check packet is received, the TCP acknowledgment message being used for counting time at the another device; and
output the TCP acknowledgment message to the another electronic device, whereinthe electronic device is authorized to receive data from the another electronic device when a comparison result indicates that the electronic device is connected to a local area network (LAN),the electronic device being determined to be connected to a LAN when the acknowledgment information and the expected acknowledgment information match and the TCP acknowledgment message is received at the another electronic device before a predetermined time elapsed from transmitting the check packet expires, andthe electronic device being determined to be connected to a wide area network (WAN) when the acknowledgement information and the expected acknowledgement information do not match, or when the predetermined time from transmitting the check packet expires before the another electronic device receives the TCP acknowledgement message.
0 Assignments
0 Petitions
Accused Products
Abstract
The present invention relates to a telecommunications apparatus and a method, a storage medium, and a program for determining whether or not an other side communicating apparatus is near in a network. In a transmitting apparatus, a transmitting unit transmits a sending-message, and a control unit receives a response message to the sending-message, which includes acknowledgement information based on shared data and transmission information in the sending-message. The transmitting apparatus also includes a first judging unit that judges whether a response time of the acknowledgement message is less than a predetermined time. A receiving apparatus includes a generating unit that generates the acknowledgment information and transmits the response message to the transmitting apparatus.
23 Citations
15 Claims
-
1. An electronic device comprising:
-
circuitry configured to receive a check packet transmitted from another electronic device using Transmission Control Protocol (TCP), the check packet including a random number that is different from random numbers included in other check packets received from the another electronic device; generate a TCP acknowledgment message to the check packet, the TCP acknowledgment message including acknowledgment information based on a hash function and shared data shared with the another electronic device before the check packet is received, the TCP acknowledgment message being used for counting time at the another device; and output the TCP acknowledgment message to the another electronic device, wherein the electronic device is authorized to receive data from the another electronic device when a comparison result indicates that the electronic device is connected to a local area network (LAN), the electronic device being determined to be connected to a LAN when the acknowledgment information and the expected acknowledgment information match and the TCP acknowledgment message is received at the another electronic device before a predetermined time elapsed from transmitting the check packet expires, and the electronic device being determined to be connected to a wide area network (WAN) when the acknowledgement information and the expected acknowledgement information do not match, or when the predetermined time from transmitting the check packet expires before the another electronic device receives the TCP acknowledgement message. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. An electronic device comprising:
-
receiver means for receiving a check packet transmitted from another electronic device using Transmission Control Protocol (TCP), the check packet including a random number that is different from random numbers included in other check packets received from the another electronic device; processor means for generating a TCP acknowledgment message to the check packet, the TCP acknowledgment message including acknowledgment information based on a hash function and shared data shared with the another electronic device before the check packet is received, the TCP acknowledgment message being used for counting time at the another device; and transmitter means for outputting the TCP acknowledgment message to the another electronic device, wherein the electronic device is authorized to receive data from the another electronic device when a comparison result indicates that the electronic device is connected to a local area network (LAN), the electronic device being determined to be connected to the LAN when the acknowledgment information and the expected acknowledgment information match and the TCP acknowledgement message is received at the another electronic device before a predetermined time elapsed from transmitting the check packet expires, and the electronic device being determined to be connected to a wide area network (WAN) when the acknowledgement information and the expected acknowledgement information do not match, or when the predetermined time from transmitting the check packet expires before the another electronic device receives the TCP acknowledgement message.
-
-
14. A method performed by an electronic device, the method comprising:
-
receiving a check packet transmitted from another electronic device using Transmission Control Protocol (TCP), the check packet including a random number that is different from random numbers included in other check packets received from the another electronic device; generating a TCP acknowledgment message to the check packet, the TCP acknowledgment message including acknowledgment information based on a hash function and shared data shared with the another electronic device before the check packet is received, the TCP acknowledgment message being used for counting time at the another device; and outputting the TCP acknowledgment message to the another electronic device, wherein the electronic device is authorized to receive data from the another electronic device when a comparison result indicates that the electronic device is connected to a local area network (LAN), the electronic device being determined to be connected to a LAN when the acknowledgment information and the expected acknowledgment information match and the TCP acknowledgment message is received at the another electronic device before a predetermined time elapsed from transmitting the check packet expires, and the electronic device being determined to be connected to a wide area network (WAN) when the acknowledgement information and the expected acknowledgement information do not match, or when the predetermined time from transmitting the check packet expires before the another electronic device receives the TCP acknowledgement message.
-
-
15. A non-transitory computer-readable medium including computer-program instructions, which when executed by an electronic device, cause the electronic device to:
-
receive a check packet transmitted from another electronic device using Transmission Control Protocol (TCP), the check packet including a random number that is different from random numbers included in other check packets received from the another electronic device; generate a TCP acknowledgment message to the check packet, the TCP acknowledgment message including acknowledgment information based on a hash function and shared data shared with the another electronic device before the check packet is received, the TCP acknowledgment message being used for counting time at the another device; and output the TCP acknowledgment message to the another electronic device, wherein the electronic device is authorized to receive data from the another electronic device when a comparison result indicates that the electronic device is connected to a local area network (LAN), the electronic device being determined to be connected to a LAN when the acknowledgment information and the expected acknowledgment information match and the TCP acknowledgment message is received at the another electronic device before a predetermined time elapsed from transmitting the check packet expires, and the electronic device being determined to be connected to a wide area network (WAN) when the acknowledgement information and the expected acknowledgement information do not match, or when the predetermined time from transmitting the check packet expires before the another electronic device receives the TCP acknowledgement message.
-
Specification